_ZN7shaderc8CompilerC2Ev:
  391|    139|  Compiler() : compiler_(shaderc_compiler_initialize()) {}
_ZN7shaderc14CompileOptionsC2Ev:
  142|    139|  CompileOptions() { options_ = shaderc_compile_options_initialize(); }
_ZN7shaderc14CompileOptions20SetOptimizationLevelE26shaderc_optimization_level:
  177|    139|  void SetOptimizationLevel(shaderc_optimization_level level) {
  178|    139|    shaderc_compile_options_set_optimization_level(options_, level);
  179|    139|  }
_ZN7shaderc14CompileOptions21SetHlslFunctionality1Eb:
  351|    139|  void SetHlslFunctionality1(bool enable) {
  352|    139|    shaderc_compile_options_set_hlsl_functionality1(options_, enable);
  353|    139|  }
_ZN7shaderc14CompileOptions17SetHlsl16BitTypesEb:
  356|    139|  void SetHlsl16BitTypes(bool enable) {
  357|    139|    shaderc_compile_options_set_hlsl_16bit_types(options_, enable);
  358|    139|  }
_ZN7shaderc14CompileOptions10SetInvertYEb:
  368|    139|  void SetInvertY(bool enable) {
  369|    139|    shaderc_compile_options_set_invert_y(options_, enable);
  370|    139|  }
_ZN7shaderc14CompileOptions11SetNanClampEb:
  376|    139|  void SetNanClamp(bool enable) {
  377|    139|    shaderc_compile_options_set_nan_clamp(options_, enable);
  378|    139|  }
_ZN7shaderc14CompileOptions19SetPreserveBindingsEb:
  316|    139|  void SetPreserveBindings(bool preserve_bindings) {
  317|    139|    shaderc_compile_options_set_preserve_bindings(options_, preserve_bindings);
  318|    139|  }
_ZN7shaderc14CompileOptions19SetAutoMapLocationsEb:
  326|    139|  void SetAutoMapLocations(bool auto_map) {
  327|    139|    shaderc_compile_options_set_auto_map_locations(options_, auto_map);
  328|    139|  }
_ZN7shaderc14CompileOptions14SetHlslOffsetsEb:
  293|    139|  void SetHlslOffsets(bool hlsl_offsets) {
  294|    139|    shaderc_compile_options_set_hlsl_offsets(options_, hlsl_offsets);
  295|    139|  }
_ZN7shaderc14CompileOptions19SetAutoBindUniformsEb:
  273|    139|  void SetAutoBindUniforms(bool auto_bind) {
  274|    139|    shaderc_compile_options_set_auto_bind_uniforms(options_, auto_bind);
  275|    139|  }
_ZN7shaderc14CompileOptions17SetSourceLanguageE23shaderc_source_language:
  236|    139|  void SetSourceLanguage(shaderc_source_language lang) {
  237|    139|    shaderc_compile_options_set_source_language(options_, lang);
  238|    139|  }
_ZNK7shaderc8Compiler14PreprocessGlslERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE19shaderc_shader_kindPKcRKNS_14CompileOptionsE:
  611|    139|      const char* input_file_name, const CompileOptions& options) const {
  612|    139|    return PreprocessGlsl(source_text.data(), source_text.size(), shader_kind,
  613|    139|                          input_file_name, options);
  614|    139|  }
_ZNK7shaderc8Compiler14PreprocessGlslEPKcm19shaderc_shader_kindS2_RKNS_14CompileOptionsE:
  598|    139|      const CompileOptions& options) const {
  599|    139|    shaderc_compilation_result_t compilation_result =
  600|    139|        shaderc_compile_into_preprocessed_text(
  601|    139|            compiler_, source_text, source_text_size, shader_kind,
  602|    139|            input_file_name, "main", options.options_);
  603|    139|    return PreprocessedSourceCompilationResult(compilation_result);
  604|    139|  }
_ZN7shaderc17CompilationResultIcEC2EP26shaderc_compilation_result:
   49|    164|      : compilation_result_(compilation_result) {}
_ZNK7shaderc8Compiler16CompileGlslToSpvERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE19shaderc_shader_kindPKcRKNS_14CompileOptionsE:
  471|     25|                                        const CompileOptions& options) const {
  472|     25|    return CompileGlslToSpv(source_text.data(), source_text.size(), shader_kind,
  473|     25|                            input_file_name, options);
  474|     25|  }
_ZNK7shaderc8Compiler16CompileGlslToSpvEPKcm19shaderc_shader_kindS2_RKNS_14CompileOptionsE:
  446|     25|                                        const CompileOptions& options) const {
  447|     25|    return CompileGlslToSpv(source_text, source_text_size, shader_kind,
  448|     25|                            input_file_name, "main", options);
  449|     25|  }
_ZNK7shaderc8Compiler16CompileGlslToSpvEPKcm19shaderc_shader_kindS2_S2_RKNS_14CompileOptionsE:
  431|     25|                                        const CompileOptions& options) const {
  432|     25|    shaderc_compilation_result_t compilation_result = shaderc_compile_into_spv(
  433|     25|        compiler_, source_text, source_text_size, shader_kind, input_file_name,
  434|     25|        entry_point_name, options.options_);
  435|     25|    return SpvCompilationResult(compilation_result);
  436|     25|  }
_ZN7shaderc17CompilationResultIjEC2EP26shaderc_compilation_result:
   49|     25|      : compilation_result_(compilation_result) {}
_ZNK7shaderc8Compiler24CompileGlslToSpvAssemblyERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE19shaderc_shader_kindPKcRKNS_14CompileOptionsE:
  587|     25|      const char* input_file_name, const CompileOptions& options) const {
  588|     25|    return CompileGlslToSpvAssembly(source_text, shader_kind, input_file_name,
  589|     25|                                    "main", options);
  590|     25|  }
_ZNK7shaderc8Compiler24CompileGlslToSpvAssemblyERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE19shaderc_shader_kindPKcSC_RKNS_14CompileOptionsE:
  576|     25|      const CompileOptions& options) const {
  577|     25|    return CompileGlslToSpvAssembly(source_text.data(), source_text.size(),
  578|     25|                                    shader_kind, input_file_name,
  579|     25|                                    entry_point_name, options);
  580|     25|  }
_ZNK7shaderc8Compiler24CompileGlslToSpvAssemblyEPKcm19shaderc_shader_kindS2_S2_RKNS_14CompileOptionsE:
  550|     25|      const char* entry_point_name, const CompileOptions& options) const {
  551|     25|    shaderc_compilation_result_t compilation_result =
  552|     25|        shaderc_compile_into_spv_assembly(
  553|     25|            compiler_, source_text, source_text_size, shader_kind,
  554|     25|            input_file_name, entry_point_name, options.options_);
  555|     25|    return AssemblyCompilationResult(compilation_result);
  556|     25|  }
_ZN7shaderc14CompileOptionsD2Ev:
  143|    139|  ~CompileOptions() { shaderc_compile_options_release(options_); }
_ZN7shaderc8CompilerD2Ev:
  392|    139|  ~Compiler() { shaderc_compiler_release(compiler_); }
_ZN7shaderc17CompilationResultIjED2Ev:
   51|     25|  ~CompilationResult() { shaderc_result_release(compilation_result_); }
_ZN7shaderc17CompilationResultIcED2Ev:
   51|    164|  ~CompilationResult() { shaderc_result_release(compilation_result_); }
_ZNK7shaderc17CompilationResultIcE20GetCompilationStatusEv:
   77|    164|  shaderc_compilation_status GetCompilationStatus() const {
   78|    164|    if (!compilation_result_) {
  ------------------
  |  Branch (78:9): [True: 0, False: 164]
  ------------------
   79|      0|      return shaderc_compilation_status_null_result_object;
   80|      0|    }
   81|    164|    return shaderc_result_get_compilation_status(compilation_result_);
   82|    164|  }
_ZNK7shaderc17CompilationResultIcE6cbeginEv:
   87|     50|  const_iterator cbegin() const {
   88|     50|    if (!compilation_result_) return nullptr;
  ------------------
  |  Branch (88:9): [True: 0, False: 50]
  ------------------
   89|     50|    return reinterpret_cast<const_iterator>(
   90|     50|        shaderc_result_get_bytes(compilation_result_));
   91|     50|  }
_ZNK7shaderc17CompilationResultIcE4cendEv:
   96|     25|  const_iterator cend() const {
   97|     25|    if (!compilation_result_) return nullptr;
  ------------------
  |  Branch (97:9): [True: 0, False: 25]
  ------------------
   98|     25|    return cbegin() +
   99|     25|           shaderc_result_get_length(compilation_result_) /
  100|     25|               sizeof(OutputElementType);
  101|     25|  }
_ZNK7shaderc17CompilationResultIjE20GetCompilationStatusEv:
   77|     25|  shaderc_compilation_status GetCompilationStatus() const {
   78|     25|    if (!compilation_result_) {
  ------------------
  |  Branch (78:9): [True: 0, False: 25]
  ------------------
   79|      0|      return shaderc_compilation_status_null_result_object;
   80|      0|    }
   81|     25|    return shaderc_result_get_compilation_status(compilation_result_);
   82|     25|  }

shaderc_compile_options_initialize:
  394|    139|shaderc_compile_options_t shaderc_compile_options_initialize() {
  395|    139|  return new (std::nothrow) shaderc_compile_options;
  396|    139|}
shaderc_compile_options_release:
  406|    139|void shaderc_compile_options_release(shaderc_compile_options_t options) {
  407|    139|  delete options;
  408|    139|}
shaderc_compile_options_set_source_language:
  417|    139|    shaderc_compile_options_t options, shaderc_source_language set_lang) {
  418|    139|  auto lang = shaderc_util::Compiler::SourceLanguage::GLSL;
  419|    139|  if (set_lang == shaderc_source_language_hlsl)
  ------------------
  |  Branch (419:7): [True: 47, False: 92]
  ------------------
  420|     47|    lang = shaderc_util::Compiler::SourceLanguage::HLSL;
  421|    139|  options->compiler.SetSourceLanguage(lang);
  422|    139|}
shaderc_compile_options_set_optimization_level:
  430|    139|    shaderc_compile_options_t options, shaderc_optimization_level level) {
  431|    139|  auto opt_level = shaderc_util::Compiler::OptimizationLevel::Zero;
  432|    139|  switch (level) {
  433|     49|    case shaderc_optimization_level_size:
  ------------------
  |  Branch (433:5): [True: 49, False: 90]
  ------------------
  434|     49|      opt_level = shaderc_util::Compiler::OptimizationLevel::Size;
  435|     49|      break;
  436|     31|    case shaderc_optimization_level_performance:
  ------------------
  |  Branch (436:5): [True: 31, False: 108]
  ------------------
  437|     31|      opt_level = shaderc_util::Compiler::OptimizationLevel::Performance;
  438|     31|      break;
  439|     59|    default:
  ------------------
  |  Branch (439:5): [True: 59, False: 80]
  ------------------
  440|     59|      break;
  441|    139|  }
  442|       |
  443|    139|  options->compiler.SetOptimizationLevel(opt_level);
  444|    139|}
shaderc_compile_options_set_auto_bind_uniforms:
  506|    139|    shaderc_compile_options_t options, bool auto_bind) {
  507|    139|  options->compiler.SetAutoBindUniforms(auto_bind);
  508|    139|}
shaderc_compile_options_set_hlsl_offsets:
  521|    139|                                              bool hlsl_offsets) {
  522|    139|  options->compiler.SetHlslOffsets(hlsl_offsets);
  523|    139|}
shaderc_compile_options_set_preserve_bindings:
  539|    139|    shaderc_compile_options_t options, bool preserve_bindings) {
  540|    139|  options->compiler.SetPreserveBindings(preserve_bindings);
  541|    139|}
shaderc_compile_options_set_auto_map_locations:
  549|    139|    shaderc_compile_options_t options, bool auto_map) {
  550|    139|  options->compiler.SetAutoMapLocations(auto_map);
  551|    139|}
shaderc_compile_options_set_hlsl_functionality1:
  567|    139|    shaderc_compile_options_t options, bool enable) {
  568|    139|  options->compiler.EnableHlslFunctionality1(enable);
  569|    139|}
shaderc_compile_options_set_hlsl_16bit_types:
  572|    139|    shaderc_compile_options_t options, bool enable) {
  573|    139|  options->compiler.EnableHlsl16BitTypes(enable);
  574|    139|}
shaderc_compile_options_set_invert_y:
  582|    139|                                          bool enable) {
  583|    139|  options->compiler.EnableInvertY(enable);
  584|    139|}
shaderc_compile_options_set_nan_clamp:
  587|    139|                                           bool enable) {
  588|    139|  options->compiler.SetNanClamp(enable);
  589|    139|}
shaderc_compiler_initialize:
  591|    164|shaderc_compiler_t shaderc_compiler_initialize() {
  592|    164|  shaderc_compiler_t compiler = new (std::nothrow) shaderc_compiler;
  593|    164|  if (compiler) {
  ------------------
  |  Branch (593:7): [True: 164, False: 0]
  ------------------
  594|    164|    compiler->initializer.reset(new shaderc_util::GlslangInitializer);
  595|    164|  }
  596|    164|  return compiler;
  597|    164|}
shaderc_compiler_release:
  599|    164|void shaderc_compiler_release(shaderc_compiler_t compiler) { delete compiler; }
shaderc_compile_into_spv:
  684|     50|    const shaderc_compile_options_t additional_options) {
  685|     50|  return CompileToSpecifiedOutputType(
  686|     50|      compiler, source_text, source_text_size, shader_kind, input_file_name,
  687|     50|      entry_point_name, additional_options,
  688|     50|      shaderc_util::Compiler::OutputType::SpirvBinary);
  689|     50|}
shaderc_compile_into_spv_assembly:
  695|     25|    const shaderc_compile_options_t additional_options) {
  696|     25|  return CompileToSpecifiedOutputType(
  697|     25|      compiler, source_text, source_text_size, shader_kind, input_file_name,
  698|     25|      entry_point_name, additional_options,
  699|     25|      shaderc_util::Compiler::OutputType::SpirvAssemblyText);
  700|     25|}
shaderc_compile_into_preprocessed_text:
  706|    139|    const shaderc_compile_options_t additional_options) {
  707|    139|  return CompileToSpecifiedOutputType(
  708|    139|      compiler, source_text, source_text_size, shader_kind, input_file_name,
  709|    139|      entry_point_name, additional_options,
  710|    139|      shaderc_util::Compiler::OutputType::PreprocessedText);
  711|    139|}
shaderc_result_get_length:
  753|     25|size_t shaderc_result_get_length(const shaderc_compilation_result_t result) {
  754|     25|  return result->output_data_size;
  755|     25|}
shaderc_result_get_bytes:
  768|     50|    const shaderc_compilation_result_t result) {
  769|     50|  return result->GetBytes();
  770|     50|}
shaderc_result_release:
  772|    214|void shaderc_result_release(shaderc_compilation_result_t result) {
  773|    214|  delete result;
  774|    214|}
shaderc_result_get_compilation_status:
  782|    214|    const shaderc_compilation_result_t result) {
  783|    214|  return result->compilation_status;
  784|    214|}
shaderc.cc:_ZN12_GLOBAL__N_128CompileToSpecifiedOutputTypeEP16shaderc_compilerPKcm19shaderc_shader_kindS3_S3_P23shaderc_compile_optionsN12shaderc_util8Compiler10OutputTypeE:
  607|    214|    shaderc_util::Compiler::OutputType output_type) {
  608|    214|  auto* result = new (std::nothrow) shaderc_compilation_result_vector;
  609|    214|  if (!result) return nullptr;
  ------------------
  |  Branch (609:7): [True: 0, False: 214]
  ------------------
  610|       |
  611|    214|  if (!input_file_name) {
  ------------------
  |  Branch (611:7): [True: 0, False: 214]
  ------------------
  612|      0|    result->messages = "Input file name string was null.";
  613|      0|    result->num_errors = 1;
  614|      0|    result->compilation_status = shaderc_compilation_status_compilation_error;
  615|      0|    return result;
  616|      0|  }
  617|    214|  result->compilation_status = shaderc_compilation_status_invalid_stage;
  618|    214|  bool compilation_succeeded = false;  // In case we exit early.
  619|    214|  std::vector<uint32_t> compilation_output_data;
  620|    214|  size_t compilation_output_data_size_in_bytes = 0u;
  621|    214|  if (!compiler->initializer) return result;
  ------------------
  |  Branch (621:7): [True: 0, False: 214]
  ------------------
  622|    214|  TRY_IF_EXCEPTIONS_ENABLED {
  ------------------
  |  |   36|    214|#define TRY_IF_EXCEPTIONS_ENABLED try
  ------------------
  623|    214|    std::stringstream errors;
  624|    214|    size_t total_warnings = 0;
  625|    214|    size_t total_errors = 0;
  626|    214|    std::string input_file_name_str(input_file_name);
  627|    214|    EShLanguage forced_stage = GetForcedStage(shader_kind);
  628|    214|    shaderc_util::string_piece source_string =
  629|    214|        shaderc_util::string_piece(source_text, source_text + source_text_size);
  630|    214|    StageDeducer stage_deducer(shader_kind);
  631|    214|    if (additional_options) {
  ------------------
  |  Branch (631:9): [True: 189, False: 25]
  ------------------
  632|    189|      InternalFileIncluder includer(additional_options->include_resolver,
  633|    189|                                    additional_options->include_result_releaser,
  634|    189|                                    additional_options->include_user_data);
  635|       |      // Depends on return value optimization to avoid extra copy.
  636|    189|      std::tie(compilation_succeeded, compilation_output_data,
  637|    189|               compilation_output_data_size_in_bytes) =
  638|    189|          additional_options->compiler.Compile(
  639|    189|              source_string, forced_stage, input_file_name_str,
  640|    189|              entry_point_name,
  641|       |              // stage_deducer has a flag: error_, which we need to check later.
  642|       |              // We need to make this a reference wrapper, so that std::function
  643|       |              // won't make a copy for this callable object.
  644|    189|              std::ref(stage_deducer), includer, output_type, &errors,
  645|    189|              &total_warnings, &total_errors);
  646|    189|    } else {
  647|       |      // Compile with default options.
  648|     25|      InternalFileIncluder includer;
  649|     25|      std::tie(compilation_succeeded, compilation_output_data,
  650|     25|               compilation_output_data_size_in_bytes) =
  651|     25|          shaderc_util::Compiler().Compile(
  652|     25|              source_string, forced_stage, input_file_name_str,
  653|     25|              entry_point_name, std::ref(stage_deducer), includer, output_type,
  654|     25|              &errors, &total_warnings, &total_errors);
  655|     25|    }
  656|       |
  657|    214|    result->messages = errors.str();
  658|    214|    result->SetOutputData(std::move(compilation_output_data));
  659|    214|    result->output_data_size = compilation_output_data_size_in_bytes;
  660|    214|    result->num_warnings = total_warnings;
  661|    214|    result->num_errors = total_errors;
  662|    214|    if (compilation_succeeded) {
  ------------------
  |  Branch (662:9): [True: 25, False: 189]
  ------------------
  663|     25|      result->compilation_status = shaderc_compilation_status_success;
  664|    189|    } else {
  665|       |      // Check whether the error is caused by failing to deduce the shader
  666|       |      // stage. If it is the case, set the error type to shader kind error.
  667|       |      // Otherwise, set it to compilation error.
  668|    189|      result->compilation_status =
  669|    189|          stage_deducer.error() ? shaderc_compilation_status_invalid_stage
  ------------------
  |  Branch (669:11): [True: 0, False: 189]
  ------------------
  670|    189|                                : shaderc_compilation_status_compilation_error;
  671|    189|    }
  672|    214|  }
  673|    214|  CATCH_IF_EXCEPTIONS_ENABLED(...) {
  674|      0|    result->compilation_status = shaderc_compilation_status_internal_error;
  675|      0|  }
  676|    214|  return result;
  677|    214|}
shaderc.cc:_ZN12_GLOBAL__N_114GetForcedStageE19shaderc_shader_kind:
   46|    214|EShLanguage GetForcedStage(shaderc_shader_kind kind) {
   47|    214|  switch (kind) {
  ------------------
  |  Branch (47:11): [True: 214, False: 0]
  ------------------
   48|     30|    case shaderc_glsl_vertex_shader:
  ------------------
  |  Branch (48:5): [True: 30, False: 184]
  ------------------
   49|     30|      return EShLangVertex;
   50|      6|    case shaderc_glsl_fragment_shader:
  ------------------
  |  Branch (50:5): [True: 6, False: 208]
  ------------------
   51|      6|      return EShLangFragment;
   52|      4|    case shaderc_glsl_compute_shader:
  ------------------
  |  Branch (52:5): [True: 4, False: 210]
  ------------------
   53|      4|      return EShLangCompute;
   54|      9|    case shaderc_glsl_geometry_shader:
  ------------------
  |  Branch (54:5): [True: 9, False: 205]
  ------------------
   55|      9|      return EShLangGeometry;
   56|     47|    case shaderc_glsl_tess_control_shader:
  ------------------
  |  Branch (56:5): [True: 47, False: 167]
  ------------------
   57|     47|      return EShLangTessControl;
   58|     16|    case shaderc_glsl_tess_evaluation_shader:
  ------------------
  |  Branch (58:5): [True: 16, False: 198]
  ------------------
   59|     16|      return EShLangTessEvaluation;
   60|       |
   61|      2|    case shaderc_glsl_raygen_shader:
  ------------------
  |  Branch (61:5): [True: 2, False: 212]
  ------------------
   62|      2|      return EShLangRayGenNV;
   63|      0|    case shaderc_glsl_anyhit_shader:
  ------------------
  |  Branch (63:5): [True: 0, False: 214]
  ------------------
   64|      0|      return EShLangAnyHitNV;
   65|      3|    case shaderc_glsl_closesthit_shader:
  ------------------
  |  Branch (65:5): [True: 3, False: 211]
  ------------------
   66|      3|      return EShLangClosestHitNV;
   67|      1|    case shaderc_glsl_miss_shader:
  ------------------
  |  Branch (67:5): [True: 1, False: 213]
  ------------------
   68|      1|      return EShLangMissNV;
   69|      2|    case shaderc_glsl_intersection_shader:
  ------------------
  |  Branch (69:5): [True: 2, False: 212]
  ------------------
   70|      2|      return EShLangIntersectNV;
   71|      3|    case shaderc_glsl_callable_shader:
  ------------------
  |  Branch (71:5): [True: 3, False: 211]
  ------------------
   72|      3|      return EShLangCallableNV;
   73|      2|    case shaderc_glsl_task_shader:
  ------------------
  |  Branch (73:5): [True: 2, False: 212]
  ------------------
   74|      2|      return EShLangTaskNV;
   75|     26|    case shaderc_glsl_mesh_shader:
  ------------------
  |  Branch (75:5): [True: 26, False: 188]
  ------------------
   76|     26|      return EShLangMeshNV;
   77|       |
   78|      1|    case shaderc_glsl_infer_from_source:
  ------------------
  |  Branch (78:5): [True: 1, False: 213]
  ------------------
   79|     11|    case shaderc_glsl_default_vertex_shader:
  ------------------
  |  Branch (79:5): [True: 10, False: 204]
  ------------------
   80|     16|    case shaderc_glsl_default_fragment_shader:
  ------------------
  |  Branch (80:5): [True: 5, False: 209]
  ------------------
   81|     16|    case shaderc_glsl_default_compute_shader:
  ------------------
  |  Branch (81:5): [True: 0, False: 214]
  ------------------
   82|     19|    case shaderc_glsl_default_geometry_shader:
  ------------------
  |  Branch (82:5): [True: 3, False: 211]
  ------------------
   83|     24|    case shaderc_glsl_default_tess_control_shader:
  ------------------
  |  Branch (83:5): [True: 5, False: 209]
  ------------------
   84|     26|    case shaderc_glsl_default_tess_evaluation_shader:
  ------------------
  |  Branch (84:5): [True: 2, False: 212]
  ------------------
   85|     26|    case shaderc_glsl_default_raygen_shader:
  ------------------
  |  Branch (85:5): [True: 0, False: 214]
  ------------------
   86|     29|    case shaderc_glsl_default_anyhit_shader:
  ------------------
  |  Branch (86:5): [True: 3, False: 211]
  ------------------
   87|     32|    case shaderc_glsl_default_closesthit_shader:
  ------------------
  |  Branch (87:5): [True: 3, False: 211]
  ------------------
   88|     57|    case shaderc_glsl_default_miss_shader:
  ------------------
  |  Branch (88:5): [True: 25, False: 189]
  ------------------
   89|     57|    case shaderc_glsl_default_intersection_shader:
  ------------------
  |  Branch (89:5): [True: 0, False: 214]
  ------------------
   90|     61|    case shaderc_glsl_default_callable_shader:
  ------------------
  |  Branch (90:5): [True: 4, False: 210]
  ------------------
   91|     63|    case shaderc_glsl_default_task_shader:
  ------------------
  |  Branch (91:5): [True: 2, False: 212]
  ------------------
   92|     63|    case shaderc_glsl_default_mesh_shader:
  ------------------
  |  Branch (92:5): [True: 0, False: 214]
  ------------------
   93|     63|    case shaderc_spirv_assembly:
  ------------------
  |  Branch (93:5): [True: 0, False: 214]
  ------------------
   94|     63|      return EShLangCount;
   95|    214|  }
   96|    214|  assert(0 && "Unhandled shaderc_shader_kind");
   97|      0|  return EShLangCount;
   98|    214|}
shaderc.cc:_ZN12_GLOBAL__N_112StageDeducerC2E19shaderc_shader_kind:
  113|    214|      : kind_(kind), error_(false) {}
shaderc.cc:_ZN12_GLOBAL__N_120InternalFileIncluderC2EPFP22shaderc_include_resultPvPKciS5_mEPFvS3_S2_ES3_:
  204|    189|      : resolver_(resolver),
  205|    189|        result_releaser_(result_releaser),
  206|    189|        user_data_(user_data) {}
shaderc.cc:_ZN12_GLOBAL__N_112StageDeducerclEPNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEERKN12shaderc_util12string_pieceE:
  125|     18|                         const shaderc_util::string_piece& /*error_tag*/) {
  126|     18|    EShLanguage stage = GetDefaultStage(kind_);
  127|     18|    if (stage == EShLangCount) {
  ------------------
  |  Branch (127:9): [True: 0, False: 18]
  ------------------
  128|      0|      error_ = true;
  129|     18|    } else {
  130|     18|      error_ = false;
  131|     18|    }
  132|     18|    return stage;
  133|     18|  }
shaderc.cc:_ZNK12_GLOBAL__N_112StageDeducer15GetDefaultStageE19shaderc_shader_kind:
  141|     18|  EShLanguage GetDefaultStage(shaderc_shader_kind kind) const {
  142|     18|    switch (kind) {
  ------------------
  |  Branch (142:13): [True: 18, False: 0]
  ------------------
  143|      0|      case shaderc_glsl_vertex_shader:
  ------------------
  |  Branch (143:7): [True: 0, False: 18]
  ------------------
  144|      0|      case shaderc_glsl_fragment_shader:
  ------------------
  |  Branch (144:7): [True: 0, False: 18]
  ------------------
  145|      0|      case shaderc_glsl_compute_shader:
  ------------------
  |  Branch (145:7): [True: 0, False: 18]
  ------------------
  146|      0|      case shaderc_glsl_geometry_shader:
  ------------------
  |  Branch (146:7): [True: 0, False: 18]
  ------------------
  147|      0|      case shaderc_glsl_tess_control_shader:
  ------------------
  |  Branch (147:7): [True: 0, False: 18]
  ------------------
  148|      0|      case shaderc_glsl_tess_evaluation_shader:
  ------------------
  |  Branch (148:7): [True: 0, False: 18]
  ------------------
  149|      0|      case shaderc_glsl_infer_from_source:
  ------------------
  |  Branch (149:7): [True: 0, False: 18]
  ------------------
  150|      0|      case shaderc_glsl_raygen_shader:
  ------------------
  |  Branch (150:7): [True: 0, False: 18]
  ------------------
  151|      0|      case shaderc_glsl_anyhit_shader:
  ------------------
  |  Branch (151:7): [True: 0, False: 18]
  ------------------
  152|      0|      case shaderc_glsl_closesthit_shader:
  ------------------
  |  Branch (152:7): [True: 0, False: 18]
  ------------------
  153|      0|      case shaderc_glsl_miss_shader:
  ------------------
  |  Branch (153:7): [True: 0, False: 18]
  ------------------
  154|      0|      case shaderc_glsl_intersection_shader:
  ------------------
  |  Branch (154:7): [True: 0, False: 18]
  ------------------
  155|      0|      case shaderc_glsl_callable_shader:
  ------------------
  |  Branch (155:7): [True: 0, False: 18]
  ------------------
  156|      0|      case shaderc_glsl_task_shader:
  ------------------
  |  Branch (156:7): [True: 0, False: 18]
  ------------------
  157|      0|      case shaderc_glsl_mesh_shader:
  ------------------
  |  Branch (157:7): [True: 0, False: 18]
  ------------------
  158|      0|        return EShLangCount;
  159|      4|      case shaderc_glsl_default_vertex_shader:
  ------------------
  |  Branch (159:7): [True: 4, False: 14]
  ------------------
  160|      4|        return EShLangVertex;
  161|      0|      case shaderc_glsl_default_fragment_shader:
  ------------------
  |  Branch (161:7): [True: 0, False: 18]
  ------------------
  162|      0|        return EShLangFragment;
  163|      0|      case shaderc_glsl_default_compute_shader:
  ------------------
  |  Branch (163:7): [True: 0, False: 18]
  ------------------
  164|      0|        return EShLangCompute;
  165|      0|      case shaderc_glsl_default_geometry_shader:
  ------------------
  |  Branch (165:7): [True: 0, False: 18]
  ------------------
  166|      0|        return EShLangGeometry;
  167|      2|      case shaderc_glsl_default_tess_control_shader:
  ------------------
  |  Branch (167:7): [True: 2, False: 16]
  ------------------
  168|      2|        return EShLangTessControl;
  169|      0|      case shaderc_glsl_default_tess_evaluation_shader:
  ------------------
  |  Branch (169:7): [True: 0, False: 18]
  ------------------
  170|      0|        return EShLangTessEvaluation;
  171|      0|      case shaderc_glsl_default_raygen_shader:
  ------------------
  |  Branch (171:7): [True: 0, False: 18]
  ------------------
  172|      0|        return EShLangRayGenNV;
  173|      0|      case shaderc_glsl_default_anyhit_shader:
  ------------------
  |  Branch (173:7): [True: 0, False: 18]
  ------------------
  174|      0|        return EShLangAnyHitNV;
  175|      0|      case shaderc_glsl_default_closesthit_shader:
  ------------------
  |  Branch (175:7): [True: 0, False: 18]
  ------------------
  176|      0|        return EShLangClosestHitNV;
  177|     12|      case shaderc_glsl_default_miss_shader:
  ------------------
  |  Branch (177:7): [True: 12, False: 6]
  ------------------
  178|     12|        return EShLangMissNV;
  179|      0|      case shaderc_glsl_default_intersection_shader:
  ------------------
  |  Branch (179:7): [True: 0, False: 18]
  ------------------
  180|      0|        return EShLangIntersectNV;
  181|      0|      case shaderc_glsl_default_callable_shader:
  ------------------
  |  Branch (181:7): [True: 0, False: 18]
  ------------------
  182|      0|        return EShLangCallableNV;
  183|      0|      case shaderc_glsl_default_task_shader:
  ------------------
  |  Branch (183:7): [True: 0, False: 18]
  ------------------
  184|      0|        return EShLangTaskNV;
  185|      0|      case shaderc_glsl_default_mesh_shader:
  ------------------
  |  Branch (185:7): [True: 0, False: 18]
  ------------------
  186|      0|        return EShLangMeshNV;
  187|      0|      case shaderc_spirv_assembly:
  ------------------
  |  Branch (187:7): [True: 0, False: 18]
  ------------------
  188|      0|        return EShLangCount;
  189|     18|    }
  190|     18|    assert(0 && "Unhandled shaderc_shader_kind");
  191|      0|    return EShLangCount;
  192|     18|  }
shaderc.cc:_ZN12_GLOBAL__N_120InternalFileIncluderC2Ev:
  208|     25|      : resolver_(nullptr), result_releaser_(nullptr), user_data_(nullptr) {}
shaderc.cc:_ZNK12_GLOBAL__N_112StageDeducer5errorEv:
  136|    189|  bool error() const { return error_; }

_ZN26shaderc_compilation_resultD2Ev:
   31|    214|  virtual ~shaderc_compilation_result() {}
_ZN33shaderc_compilation_result_vectorD2Ev:
   53|    214|  ~shaderc_compilation_result_vector() = default;
_ZNK33shaderc_compilation_result_vector8GetBytesEv:
   59|     50|  const char* GetBytes() const override {
   60|     50|    return reinterpret_cast<const char*>(output_data_.data());
   61|     50|  }
_ZN33shaderc_compilation_result_vector13SetOutputDataEONSt3__16vectorIjNS0_9allocatorIjEEEE:
   55|    214|  void SetOutputData(std::vector<uint32_t>&& data) {
   56|    214|    output_data_ = std::move(data);
   57|    214|  }

_ZN12shaderc_util8CompilerC2Ev:
  192|    164|      : default_version_(110),
  193|    164|        default_profile_(ENoProfile),
  194|    164|        force_version_profile_(false),
  195|    164|        warnings_as_errors_(false),
  196|    164|        suppress_warnings_(false),
  197|    164|        generate_debug_info_(false),
  198|    164|        enabled_opt_passes_(),
  199|    164|        target_env_(TargetEnv::Vulkan),
  200|    164|        target_env_version_(TargetEnvVersion::Default),
  201|    164|        target_spirv_version_(SpirvVersion::v1_0),
  202|    164|        target_spirv_version_is_forced_(false),
  203|    164|        source_language_(SourceLanguage::GLSL),
  204|    164|        limits_(kDefaultTBuiltInResource),
  205|    164|        auto_bind_uniforms_(false),
  206|    164|        auto_combined_image_sampler_(false),
  207|       |        auto_binding_base_(),
  208|    164|        auto_map_locations_(false),
  209|    164|        preserve_bindings_(false),
  210|    164|        hlsl_iomap_(false),
  211|    164|        hlsl_offsets_(false),
  212|    164|        hlsl_legalization_enabled_(true),
  213|    164|        hlsl_functionality1_enabled_(false),
  214|    164|        hlsl_16bit_types_enabled_(false),
  215|    164|        invert_y_enabled_(false),
  216|    164|        nan_clamp_(false),
  217|    164|        hlsl_explicit_bindings_() {}
_ZN12shaderc_util8Compiler19SetAutoBindUniformsEb:
  291|    139|  void SetAutoBindUniforms(bool auto_bind) { auto_bind_uniforms_ = auto_bind; }
_ZN12shaderc_util8Compiler14SetHlslOffsetsEb:
  333|    139|  void SetHlslOffsets(bool hlsl_offsets) { hlsl_offsets_ = hlsl_offsets; }
_ZN12shaderc_util8Compiler19SetPreserveBindingsEb:
  318|    139|  void SetPreserveBindings(bool preserve_bindings) {
  319|    139|    preserve_bindings_ = preserve_bindings;
  320|    139|  }
_ZN12shaderc_util8Compiler19SetAutoMapLocationsEb:
  326|    139|  void SetAutoMapLocations(bool auto_map) { auto_map_locations_ = auto_map; }
_ZN12shaderc_util17GlslangClientInfoC2Ev:
  624|    380|  GlslangClientInfo() {}

_ZN12shaderc_util16CountingIncluderC2Ev:
   36|    214|  CountingIncluder() {
   37|    214|    num_include_directives_.store(0);
   38|    214|  }
_ZNK12shaderc_util16CountingIncluder22num_include_directivesEv:
   78|     43|  int num_include_directives() const { return num_include_directives_.load(); }

_ZN12shaderc_util6formatINSt3__113unordered_mapINS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEES8_NS1_4hashIS8_EENS1_8equal_toIS8_EENS6_INS1_4pairIKS8_S8_EEEEEEEES8_RKT_RSE_SL_SL_:
   26|    214|                   const std::string& infix, const std::string& postfix) {
   27|    214|  std::stringstream s;
   28|    214|  for (const auto& pair : map) {
  ------------------
  |  Branch (28:25): [True: 0, False: 214]
  ------------------
   29|      0|    s << prefix << pair.first << infix << pair.second << postfix;
   30|      0|  }
   31|    214|  return s.str();
   32|    214|}

_ZN12shaderc_util11posix_mutexC2Ev:
   81|    214|  posix_mutex() { pthread_mutex_init(&mutex_, nullptr); }
_ZN12shaderc_util11posix_mutexD2Ev:
   83|    214|  ~posix_mutex() { pthread_mutex_destroy(&mutex_); }

_ZN12shaderc_util12string_pieceC2EPKcS2_:
   38|   186M|      : begin_(begin), end_(end) {
   39|       |    assert((begin == nullptr) == (end == nullptr) &&
   40|   186M|           "either both begin and end must be nullptr or neither must be");
   41|   186M|  }
_ZN12shaderc_util12string_pieceC2Ev:
   35|  8.49M|  constexpr string_piece() {}
_ZN12shaderc_util12string_pieceC2EPKc:
   43|  54.8M|  string_piece(const char* string) : begin_(string), end_(string) {
   44|  54.8M|    if (string) {
  ------------------
  |  Branch (44:9): [True: 54.8M, False: 0]
  ------------------
   45|  54.8M|      end_ += strlen(string);
   46|  54.8M|    }
   47|  54.8M|  }
_ZN12shaderc_util12string_pieceC2ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
   49|    642|  string_piece(const std::string& str) {
   50|    642|    if (!str.empty()) {
  ------------------
  |  Branch (50:9): [True: 642, False: 0]
  ------------------
   51|    642|      begin_ = &(str.front());
   52|    642|      end_ = &(str.back()) + 1;
   53|    642|    }
   54|    642|  }
_ZN12shaderc_util12string_pieceC2ERKS0_:
   56|  57.8M|  string_piece(const string_piece& other) {
   57|  57.8M|    begin_ = other.begin_;
   58|  57.8M|    end_ = other.end_;
   59|  57.8M|  }
_ZN12shaderc_util12string_piece5clearEv:
   64|  8.49M|  void clear() {
   65|  8.49M|    begin_ = nullptr;
   66|  8.49M|    end_ = nullptr;
   67|  8.49M|  }
_ZNK12shaderc_util12string_piece4dataEv:
   71|  2.71M|  const char* data() const { return begin_; }
_ZNK12shaderc_util12string_piece6substrEmm:
   77|  14.9M|  string_piece substr(size_t pos, size_t len = npos) const {
   78|  14.9M|    assert(pos <= size());
   79|  14.9M|    assert(len == npos || pos + len <= size());
   80|  14.9M|    return string_piece(begin_ + pos, len == npos ? end_ : begin_ + pos + len);
  ------------------
  |  Branch (80:39): [True: 5.43M, False: 9.49M]
  ------------------
   81|  14.9M|  }
_ZNK12shaderc_util12string_piece17find_first_not_ofERKS0_m:
  103|  2.71M|                           size_t pos = 0) const {
  104|  2.71M|    if (pos >= size()) {
  ------------------
  |  Branch (104:9): [True: 0, False: 2.71M]
  ------------------
  105|      0|      return npos;
  106|      0|    }
  107|  5.79M|    for (auto it = begin_ + pos; it != end_; ++it) {
  ------------------
  |  Branch (107:34): [True: 5.79M, False: 0]
  ------------------
  108|  5.79M|      if (to_search.find_first_of(*it) == npos) {
  ------------------
  |  Branch (108:11): [True: 2.71M, False: 3.08M]
  ------------------
  109|  2.71M|        return it - begin_;
  110|  2.71M|      }
  111|  5.79M|    }
  112|      0|    return npos;
  113|  2.71M|  }
_ZNK12shaderc_util12string_piece13find_first_ofERKS0_m:
  125|  28.9M|  size_t find_first_of(const string_piece& to_search, size_t pos = 0) const {
  126|  28.9M|    if (pos >= size()) {
  ------------------
  |  Branch (126:9): [True: 293, False: 28.9M]
  ------------------
  127|    293|      return npos;
  128|    293|    }
  129|   434M|    for (auto it = begin_ + pos; it != end_; ++it) {
  ------------------
  |  Branch (129:34): [True: 420M, False: 13.5M]
  ------------------
  130|   420M|      for (char c : to_search) {
  ------------------
  |  Branch (130:19): [True: 420M, False: 405M]
  ------------------
  131|   420M|        if (c == *it) {
  ------------------
  |  Branch (131:13): [True: 15.3M, False: 405M]
  ------------------
  132|  15.3M|          return it - begin_;
  133|  15.3M|        }
  134|   420M|      }
  135|   420M|    }
  136|  13.5M|    return npos;
  137|  28.9M|  }
_ZNK12shaderc_util12string_piece13find_first_ofEcm:
  141|  28.9M|  size_t find_first_of(char to_search, size_t pos = 0) const {
  142|  28.9M|    return find_first_of(string_piece(&to_search, &to_search + 1), pos);
  143|  28.9M|  }
_ZNK12shaderc_util12string_piece6lstripERKS0_:
  197|  5.43M|  string_piece lstrip(const string_piece& chars_to_strip) const {
  198|  5.43M|    iterator begin = begin_;
  199|  5.49M|    for (; begin < end_; ++begin)
  ------------------
  |  Branch (199:12): [True: 5.49M, False: 0]
  ------------------
  200|  5.49M|      if (chars_to_strip.find_first_of(*begin) == npos) break;
  ------------------
  |  Branch (200:11): [True: 5.43M, False: 55.7k]
  ------------------
  201|  5.43M|    if (begin >= end_) return string_piece();
  ------------------
  |  Branch (201:9): [True: 0, False: 5.43M]
  ------------------
  202|  5.43M|    return string_piece(begin, end_);
  203|  5.43M|  }
_ZNK12shaderc_util12string_piece6rstripERKS0_:
  206|  5.43M|  string_piece rstrip(const string_piece& chars_to_strip) const {
  207|  5.43M|    iterator end = end_;
  208|  8.15M|    for (; begin_ < end; --end)
  ------------------
  |  Branch (208:12): [True: 8.15M, False: 0]
  ------------------
  209|  8.15M|      if (chars_to_strip.find_first_of(*(end - 1)) == npos) break;
  ------------------
  |  Branch (209:11): [True: 5.43M, False: 2.71M]
  ------------------
  210|  5.43M|    if (begin_ >= end) return string_piece();
  ------------------
  |  Branch (210:9): [True: 0, False: 5.43M]
  ------------------
  211|  5.43M|    return string_piece(begin_, end);
  212|  5.43M|  }
_ZNK12shaderc_util12string_piece5stripERKS0_:
  216|  5.43M|  string_piece strip(const string_piece& chars_to_strip) const {
  217|  5.43M|    return lstrip(chars_to_strip).rstrip(chars_to_strip);
  218|  5.43M|  }
_ZNK12shaderc_util12string_piece16strip_whitespaceEv:
  220|  5.43M|  string_piece strip_whitespace() const { return strip(" \t\n\r\f\v"); }
_ZNK12shaderc_util12string_pieceeqERKS0_:
  226|  43.6M|  bool operator==(const string_piece& other) const {
  227|       |    // Either end_ and _begin_ are nullptr or neither of them are.
  228|  43.6M|    assert(((end_ == nullptr) == (begin_ == nullptr)));
  229|  43.6M|    assert(((other.end_ == nullptr) == (other.begin_ == nullptr)));
  230|  43.6M|    if (size() != other.size()) {
  ------------------
  |  Branch (230:9): [True: 43.6M, False: 1.55k]
  ------------------
  231|  43.6M|      return false;
  232|  43.6M|    }
  233|  1.55k|    return (memcmp(begin_, other.begin_, end_ - begin_) == 0);
  234|  43.6M|  }
_ZNK12shaderc_util12string_piece5beginEv:
  241|   556M|  iterator begin() const { return begin_; }
_ZNK12shaderc_util12string_piece3endEv:
  244|   842M|  iterator end() const { return end_; }
_ZNK12shaderc_util12string_piece11starts_withERKS0_:
  258|   136M|  bool starts_with(const string_piece& other) const {
  259|   136M|    const char* iter = begin_;
  260|   136M|    const char* other_iter = other.begin();
  261|   155M|    while (iter != end_ && other_iter != other.end()) {
  ------------------
  |  Branch (261:12): [True: 155M, False: 0]
  |  Branch (261:28): [True: 152M, False: 2.71M]
  ------------------
  262|   152M|      if (*iter++ != *other_iter++) {
  ------------------
  |  Branch (262:11): [True: 133M, False: 19.0M]
  ------------------
  263|   133M|        return false;
  264|   133M|      }
  265|   152M|    }
  266|  2.71M|    return other_iter == other.end();
  267|   136M|  }
_ZNK12shaderc_util12string_piece4findERKS0_m:
  273|     61|  size_t find(const string_piece& substr, size_t pos = 0) const {
  274|     61|    if (empty()) return npos;
  ------------------
  |  Branch (274:9): [True: 0, False: 61]
  ------------------
  275|     61|    if (pos >= size()) return npos;
  ------------------
  |  Branch (275:9): [True: 0, False: 61]
  ------------------
  276|     61|    if (substr.empty()) return 0;
  ------------------
  |  Branch (276:9): [True: 0, False: 61]
  ------------------
  277|     61|    for (auto it = begin_ + pos;
  278|   131M|         end() - it >= static_cast<decltype(end() - it)>(substr.size()); ++it) {
  ------------------
  |  Branch (278:10): [True: 131M, False: 59]
  ------------------
  279|   131M|      if (string_piece(it, end()).starts_with(substr)) return it - begin_;
  ------------------
  |  Branch (279:11): [True: 2, False: 131M]
  ------------------
  280|   131M|    }
  281|     59|    return npos;
  282|     61|  }
_ZNK12shaderc_util12string_piece5emptyEv:
  293|  8.27M|  bool empty() const { return begin_ == end_; }
_ZNK12shaderc_util12string_piece4sizeEv:
  296|   253M|  size_t size() const { return end_ - begin_; }
_ZNK12shaderc_util12string_piece10get_fieldsEcb:
  302|    293|                                       bool keep_delimiter = false) const {
  303|    293|    std::vector<string_piece> fields;
  304|    293|    size_t first = 0;
  305|    293|    size_t field_break = find_first_of(delimiter);
  306|  4.05M|    while (field_break != npos) {
  ------------------
  |  Branch (306:12): [True: 4.05M, False: 293]
  ------------------
  307|  4.05M|      fields.push_back(substr(first, field_break - first + keep_delimiter));
  308|  4.05M|      first = field_break + 1;
  309|  4.05M|      field_break = find_first_of(delimiter, first);
  310|  4.05M|    }
  311|    293|    if (size() - first > 0) {
  ------------------
  |  Branch (311:9): [True: 0, False: 293]
  ------------------
  312|      0|      fields.push_back(substr(first, size() - first));
  313|      0|    }
  314|    293|    return fields;
  315|    293|  }
_ZN12shaderc_utillsERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEERKNS_12string_pieceE:
  327|  9.60M|inline std::ostream& operator<<(std::ostream& os, const string_piece& piece) {
  328|       |  // Either end_ and _begin_ are nullptr or neither of them are.
  329|  9.60M|  assert(((piece.end_ == nullptr) == (piece.begin_ == nullptr)));
  330|  9.60M|  if (piece.end_ != piece.begin_) {
  ------------------
  |  Branch (330:7): [True: 9.60M, False: 0]
  ------------------
  331|  9.60M|    os.write(piece.begin_, piece.end_ - piece.begin_);
  332|  9.60M|  }
  333|  9.60M|  return os;
  334|  9.60M|}
_ZN12shaderc_utileqEPKcNS_12string_pieceE:
  336|  39.6M|inline bool operator==(const char* first, const string_piece second) {
  337|  39.6M|  return second == string_piece(first);
  338|  39.6M|}

_ZN12shaderc_util14IsKnownVersionEi:
   25|      2|inline bool IsKnownVersion(int version) {
   26|      2|  switch (version) {
   27|      0|    case 100:
  ------------------
  |  Branch (27:5): [True: 0, False: 2]
  ------------------
   28|      0|    case 110:
  ------------------
  |  Branch (28:5): [True: 0, False: 2]
  ------------------
   29|      0|    case 120:
  ------------------
  |  Branch (29:5): [True: 0, False: 2]
  ------------------
   30|      0|    case 130:
  ------------------
  |  Branch (30:5): [True: 0, False: 2]
  ------------------
   31|      0|    case 140:
  ------------------
  |  Branch (31:5): [True: 0, False: 2]
  ------------------
   32|      0|    case 150:
  ------------------
  |  Branch (32:5): [True: 0, False: 2]
  ------------------
   33|      0|    case 300:
  ------------------
  |  Branch (33:5): [True: 0, False: 2]
  ------------------
   34|      0|    case 310:
  ------------------
  |  Branch (34:5): [True: 0, False: 2]
  ------------------
   35|      0|    case 320:
  ------------------
  |  Branch (35:5): [True: 0, False: 2]
  ------------------
   36|      0|    case 330:
  ------------------
  |  Branch (36:5): [True: 0, False: 2]
  ------------------
   37|      0|    case 400:
  ------------------
  |  Branch (37:5): [True: 0, False: 2]
  ------------------
   38|      0|    case 410:
  ------------------
  |  Branch (38:5): [True: 0, False: 2]
  ------------------
   39|      0|    case 420:
  ------------------
  |  Branch (39:5): [True: 0, False: 2]
  ------------------
   40|      0|    case 430:
  ------------------
  |  Branch (40:5): [True: 0, False: 2]
  ------------------
   41|      0|    case 440:
  ------------------
  |  Branch (41:5): [True: 0, False: 2]
  ------------------
   42|      2|    case 450:
  ------------------
  |  Branch (42:5): [True: 2, False: 0]
  ------------------
   43|      2|    case 460:
  ------------------
  |  Branch (43:5): [True: 0, False: 2]
  ------------------
   44|      2|      return true;
   45|      0|    default:
  ------------------
  |  Branch (45:5): [True: 0, False: 2]
  ------------------
   46|      0|      break;
   47|      2|  }
   48|      0|  return false;
   49|      2|}

_ZN12shaderc_util18GlslangInitializerC2Ev:
  119|    164|GlslangInitializer::GlslangInitializer() {
  120|    164|  static std::mutex first_call_mutex;
  121|       |
  122|       |  // If this is the first call, glslang_mutex_ needs to be created, but in
  123|       |  // thread safe manner.
  124|    164|  {
  125|    164|    const std::lock_guard<std::mutex> first_call_lock(first_call_mutex);
  126|    164|    if (glslang_mutex_ == nullptr) {
  ------------------
  |  Branch (126:9): [True: 1, False: 163]
  ------------------
  127|      1|      glslang_mutex_ = new std::mutex();
  128|      1|    }
  129|    164|  }
  130|       |
  131|    164|  const std::lock_guard<std::mutex> glslang_lock(*glslang_mutex_);
  132|       |
  133|    164|  if (initialize_count_ == 0) {
  ------------------
  |  Branch (133:7): [True: 139, False: 25]
  ------------------
  134|    139|    glslang::InitializeProcess();
  135|    139|  }
  136|       |
  137|    164|  initialize_count_++;
  138|    164|}
_ZN12shaderc_util18GlslangInitializerD2Ev:
  140|    164|GlslangInitializer::~GlslangInitializer() {
  141|    164|  const std::lock_guard<std::mutex> glslang_lock(*glslang_mutex_);
  142|       |
  143|    164|  initialize_count_--;
  144|       |
  145|    164|  if (initialize_count_ == 0) {
  ------------------
  |  Branch (145:7): [True: 139, False: 25]
  ------------------
  146|    139|    glslang::FinalizeProcess();
  147|       |    // There is no delete for glslang_mutex_ here, because we cannot guarantee
  148|       |    // there isn't a caller waiting for glslang_mutex_ in GlslangInitializer().
  149|       |    //
  150|       |    // This means that this class does leak one std::mutex worth of memory after
  151|       |    // the final instance is destroyed, but this allows us to defer allocating
  152|       |    // and constructing until we are sure we need to.
  153|    139|  }
  154|    164|}
_ZNK12shaderc_util8Compiler7CompileERKNS_12string_pieceE11EShLanguageRKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEPKcRKNS5_8functionIFS4_PNS5_13basic_ostreamIcS8_EES3_EEERNS_16CountingIncluderENS0_10OutputTypeESJ_PmSR_:
  186|    214|    size_t* total_errors) const {
  187|       |  // Compilation results to be returned:
  188|       |  // Initialize the result tuple as a failed compilation. In error cases, we
  189|       |  // should return result_tuple directly without setting its members.
  190|    214|  auto result_tuple =
  191|    214|      std::make_tuple(false, std::vector<uint32_t>(), (size_t)0u);
  192|       |  // Get the reference of the members of the result tuple. We should set their
  193|       |  // values for succeeded compilation before returning the result tuple.
  194|    214|  bool& succeeded = std::get<0>(result_tuple);
  195|    214|  std::vector<uint32_t>& compilation_output_data = std::get<1>(result_tuple);
  196|    214|  size_t& compilation_output_data_size_in_bytes = std::get<2>(result_tuple);
  197|       |
  198|       |  // Check target environment.
  199|    214|  const auto target_client_info = GetGlslangClientInfo(
  200|    214|      error_tag, target_env_, target_env_version_, target_spirv_version_,
  201|    214|      target_spirv_version_is_forced_);
  202|    214|  if (!target_client_info.error.empty()) {
  ------------------
  |  Branch (202:7): [True: 0, False: 214]
  ------------------
  203|      0|    *error_stream << target_client_info.error;
  204|      0|    *total_warnings = 0;
  205|      0|    *total_errors = 1;
  206|      0|    return result_tuple;
  207|      0|  }
  208|       |
  209|       |#if !SHADERC_ENABLE_HLSL
  210|       |  if (source_language_ == SourceLanguage::HLSL) {
  211|       |    std::string err =
  212|       |        "Shaderc was built without HLSL support. See "
  213|       |        "https://github.com/KhronosGroup/glslang/issues/4210";
  214|       |    *error_stream << err << '\n';
  215|       |    succeeded = false;
  216|       |    compilation_output_data = ConvertStringToVector(err);
  217|       |    compilation_output_data_size_in_bytes = err.size();
  218|       |    return result_tuple;
  219|       |  }
  220|       |#endif
  221|       |
  222|    214|  EShLanguage used_shader_stage = forced_shader_stage;
  223|    214|  const std::string macro_definitions =
  224|    214|      shaderc_util::format(predefined_macros_, "#define ", " ", "\n");
  225|    214|  const std::string pound_extension =
  226|    214|      "#extension GL_GOOGLE_include_directive : enable\n";
  227|    214|  const std::string preamble = macro_definitions + pound_extension;
  228|       |
  229|    214|  std::string preprocessed_shader;
  230|       |
  231|       |  // If only preprocessing, we definitely need to preprocess. Otherwise, if
  232|       |  // we don't know the stage until now, we need the preprocessed shader to
  233|       |  // deduce the shader stage.
  234|    214|  if (output_type == OutputType::PreprocessedText ||
  ------------------
  |  Branch (234:7): [True: 139, False: 75]
  ------------------
  235|    166|      used_shader_stage == EShLangCount) {
  ------------------
  |  Branch (235:7): [True: 27, False: 48]
  ------------------
  236|    166|    bool success;
  237|    166|    std::string glslang_errors;
  238|    166|    std::tie(success, preprocessed_shader, glslang_errors) =
  239|    166|        PreprocessShader(error_tag, input_source_string, preamble, includer);
  240|       |
  241|    166|    success &= PrintFilteredErrors(error_tag, error_stream, warnings_as_errors_,
  242|    166|                                   /* suppress_warnings = */ true,
  243|    166|                                   glslang_errors.c_str(), total_warnings,
  244|    166|                                   total_errors);
  245|    166|    if (!success) return result_tuple;
  ------------------
  |  Branch (245:9): [True: 123, False: 43]
  ------------------
  246|       |    // Because of the behavior change of the #line directive, the #line
  247|       |    // directive introducing each file's content must use the syntax for the
  248|       |    // specified version. So we need to probe this shader's version and
  249|       |    // profile.
  250|     43|    int version;
  251|     43|    EProfile profile;
  252|     43|    std::tie(version, profile) = DeduceVersionProfile(preprocessed_shader);
  253|     43|    const bool is_for_next_line = LineDirectiveIsForNextLine(version, profile);
  254|       |
  255|     43|    preprocessed_shader =
  256|     43|        CleanupPreamble(preprocessed_shader, error_tag, pound_extension,
  257|     43|                        includer.num_include_directives(), is_for_next_line);
  258|       |
  259|     43|    if (output_type == OutputType::PreprocessedText) {
  ------------------
  |  Branch (259:9): [True: 25, False: 18]
  ------------------
  260|       |      // Set the values of the result tuple.
  261|     25|      succeeded = true;
  262|     25|      compilation_output_data = ConvertStringToVector(preprocessed_shader);
  263|     25|      compilation_output_data_size_in_bytes = preprocessed_shader.size();
  264|     25|      return result_tuple;
  265|     25|    } else if (used_shader_stage == EShLangCount) {
  ------------------
  |  Branch (265:16): [True: 18, False: 0]
  ------------------
  266|     18|      std::string errors;
  267|     18|      std::tie(used_shader_stage, errors) =
  268|     18|          GetShaderStageFromSourceCode(error_tag, preprocessed_shader);
  269|     18|      if (!errors.empty()) {
  ------------------
  |  Branch (269:11): [True: 0, False: 18]
  ------------------
  270|      0|        *error_stream << errors;
  271|      0|        return result_tuple;
  272|      0|      }
  273|     18|      if (used_shader_stage == EShLangCount) {
  ------------------
  |  Branch (273:11): [True: 18, False: 0]
  ------------------
  274|     18|        if ((used_shader_stage = stage_callback(error_stream, error_tag)) ==
  ------------------
  |  Branch (274:13): [True: 0, False: 18]
  ------------------
  275|     18|            EShLangCount) {
  276|      0|          return result_tuple;
  277|      0|        }
  278|     18|      }
  279|     18|    }
  280|     43|  }
  281|       |
  282|       |  // Parsing requires its own Glslang symbol tables.
  283|     66|  glslang::TShader shader(used_shader_stage);
  284|     66|  const char* shader_strings = input_source_string.data();
  285|     66|  const int shader_lengths = static_cast<int>(input_source_string.size());
  286|     66|  const char* string_names = error_tag.c_str();
  287|     66|  shader.setStringsWithLengthsAndNames(&shader_strings, &shader_lengths,
  288|     66|                                       &string_names, 1);
  289|     66|  shader.setPreamble(preamble.c_str());
  290|     66|  shader.setEntryPoint(entry_point_name);
  291|     66|  shader.setAutoMapBindings(auto_bind_uniforms_);
  292|     66|  if (auto_combined_image_sampler_) {
  ------------------
  |  Branch (292:7): [True: 0, False: 66]
  ------------------
  293|      0|    shader.setTextureSamplerTransformMode(
  294|      0|        EShTexSampTransUpgradeTextureRemoveSampler);
  295|      0|  }
  296|     66|  shader.setAutoMapLocations(auto_map_locations_);
  297|     66|  const auto& bases = auto_binding_base_[static_cast<int>(used_shader_stage)];
  298|     66|  shader.setShiftImageBinding(bases[static_cast<int>(UniformKind::Image)]);
  299|     66|  shader.setShiftSamplerBinding(bases[static_cast<int>(UniformKind::Sampler)]);
  300|     66|  shader.setShiftTextureBinding(bases[static_cast<int>(UniformKind::Texture)]);
  301|     66|  shader.setShiftUboBinding(bases[static_cast<int>(UniformKind::Buffer)]);
  302|     66|  shader.setShiftSsboBinding(
  303|     66|      bases[static_cast<int>(UniformKind::StorageBuffer)]);
  304|     66|  shader.setShiftUavBinding(
  305|     66|      bases[static_cast<int>(UniformKind::UnorderedAccessView)]);
  306|     66|#if SHADERC_ENABLE_HLSL
  307|     66|  shader.setHlslIoMapping(hlsl_iomap_);
  308|     66|#endif
  309|     66|  shader.setResourceSetBinding(
  310|     66|      hlsl_explicit_bindings_[static_cast<int>(used_shader_stage)]);
  311|     66|  shader.setEnvClient(target_client_info.client,
  312|     66|                      target_client_info.client_version);
  313|     66|  shader.setEnvTarget(target_client_info.target_language,
  314|     66|                      target_client_info.target_language_version);
  315|     66|#if SHADERC_ENABLE_HLSL
  316|     66|  if (hlsl_functionality1_enabled_) {
  ------------------
  |  Branch (316:7): [True: 40, False: 26]
  ------------------
  317|     40|    shader.setEnvTargetHlslFunctionality1();
  318|     40|  }
  319|     66|#endif
  320|     66|  if (vulkan_rules_relaxed_) {
  ------------------
  |  Branch (320:7): [True: 0, False: 66]
  ------------------
  321|      0|    glslang::EShSource language = glslang::EShSourceNone;
  322|      0|    switch (source_language_) {
  ------------------
  |  Branch (322:13): [True: 0, False: 0]
  ------------------
  323|      0|      case SourceLanguage::GLSL:
  ------------------
  |  Branch (323:7): [True: 0, False: 0]
  ------------------
  324|      0|        language = glslang::EShSourceGlsl;
  325|      0|        break;
  326|      0|      case SourceLanguage::HLSL:
  ------------------
  |  Branch (326:7): [True: 0, False: 0]
  ------------------
  327|      0|        language = glslang::EShSourceHlsl;
  328|      0|        break;
  329|      0|    }
  330|       |    // This option will only be used if the Vulkan client is used.
  331|       |    // If new versions of GL_KHR_vulkan_glsl come out, it would make sense to
  332|       |    // let callers specify which version to use. For now, just use 100.
  333|      0|    shader.setEnvInput(language, used_shader_stage, glslang::EShClientVulkan,
  334|      0|                       100);
  335|      0|    shader.setEnvInputVulkanRulesRelaxed();
  336|      0|  }
  337|     66|  shader.setInvertY(invert_y_enabled_);
  338|     66|  shader.setNanMinMaxClamp(nan_clamp_);
  339|       |
  340|     66|  const EShMessages rules =
  341|     66|      GetMessageRules(target_env_, source_language_, hlsl_offsets_,
  342|     66|                      hlsl_16bit_types_enabled_, generate_debug_info_);
  343|       |
  344|     66|  bool success = shader.parse(&limits_, default_version_, default_profile_,
  345|     66|                              force_version_profile_, kNotForwardCompatible,
  346|     66|                              rules, includer);
  347|       |
  348|     66|  success &= PrintFilteredErrors(error_tag, error_stream, warnings_as_errors_,
  349|     66|                                 suppress_warnings_, shader.getInfoLog(),
  350|     66|                                 total_warnings, total_errors);
  351|     66|  if (!success) return result_tuple;
  ------------------
  |  Branch (351:7): [True: 66, False: 0]
  ------------------
  352|       |
  353|      0|  glslang::TProgram program;
  354|      0|  program.addShader(&shader);
  355|      0|  success = program.link(EShMsgDefault) && program.mapIO();
  ------------------
  |  Branch (355:13): [True: 0, False: 0]
  |  Branch (355:44): [True: 0, False: 0]
  ------------------
  356|      0|  success &= PrintFilteredErrors(error_tag, error_stream, warnings_as_errors_,
  357|      0|                                 suppress_warnings_, program.getInfoLog(),
  358|      0|                                 total_warnings, total_errors);
  359|      0|  if (!success) return result_tuple;
  ------------------
  |  Branch (359:7): [True: 0, False: 0]
  ------------------
  360|       |
  361|       |  // 'spirv' is an alias for the compilation_output_data. This alias is added
  362|       |  // to serve as an input for the call to DissassemblyBinary.
  363|      0|  std::vector<uint32_t>& spirv = compilation_output_data;
  364|      0|  glslang::SpvOptions options;
  365|      0|  options.generateDebugInfo = generate_debug_info_;
  366|      0|  options.disableOptimizer = true;
  367|      0|  options.optimizeSize = false;
  368|       |  // Note the call to GlslangToSpv also populates compilation_output_data.
  369|      0|  glslang::GlslangToSpv(*program.getIntermediate(used_shader_stage), spirv,
  370|      0|                        &options);
  371|       |
  372|       |  // Set the tool field (the top 16-bits) in the generator word to
  373|       |  // 'Shaderc over Glslang'.
  374|      0|  const uint32_t shaderc_generator_word = 13;  // From SPIR-V XML Registry
  375|      0|  const uint32_t generator_word_index = 2;     // SPIR-V 2.3: Physical layout
  376|      0|  assert(spirv.size() > generator_word_index);
  377|      0|  spirv[generator_word_index] =
  378|      0|      (spirv[generator_word_index] & 0xffff) | (shaderc_generator_word << 16);
  379|       |
  380|      0|  std::vector<PassId> opt_passes;
  381|       |
  382|      0|  if (hlsl_legalization_enabled_ && source_language_ == SourceLanguage::HLSL) {
  ------------------
  |  Branch (382:7): [True: 0, False: 0]
  |  Branch (382:37): [True: 0, False: 0]
  ------------------
  383|       |    // If from HLSL, run this passes to "legalize" the SPIR-V for Vulkan
  384|       |    // eg. forward and remove memory writes of opaque types.
  385|      0|    opt_passes.push_back(PassId::kLegalizationPasses);
  386|      0|  }
  387|       |
  388|      0|  opt_passes.insert(opt_passes.end(), enabled_opt_passes_.begin(),
  389|      0|                    enabled_opt_passes_.end());
  390|       |
  391|      0|  if (!opt_passes.empty()) {
  ------------------
  |  Branch (391:7): [True: 0, False: 0]
  ------------------
  392|      0|    spvtools::OptimizerOptions opt_options;
  393|      0|    opt_options.set_preserve_bindings(preserve_bindings_);
  394|      0|    opt_options.set_max_id_bound(max_id_bound_);
  395|       |
  396|      0|    std::string opt_errors;
  397|      0|    if (!SpirvToolsOptimize(target_env_, target_env_version_, opt_passes,
  ------------------
  |  Branch (397:9): [True: 0, False: 0]
  ------------------
  398|      0|                            opt_options, &spirv, &opt_errors)) {
  399|      0|      *error_stream << "shaderc: internal error: compilation succeeded but "
  400|      0|                       "failed to optimize: "
  401|      0|                    << opt_errors << "\n";
  402|      0|      return result_tuple;
  403|      0|    }
  404|      0|  }
  405|       |
  406|      0|  if (output_type == OutputType::SpirvAssemblyText) {
  ------------------
  |  Branch (406:7): [True: 0, False: 0]
  ------------------
  407|      0|    std::string text_or_error;
  408|      0|    if (!SpirvToolsDisassemble(target_env_, target_env_version_, spirv,
  ------------------
  |  Branch (408:9): [True: 0, False: 0]
  ------------------
  409|      0|                               &text_or_error)) {
  410|      0|      *error_stream << "shaderc: internal error: compilation succeeded but "
  411|      0|                       "failed to disassemble: "
  412|      0|                    << text_or_error << "\n";
  413|      0|      return result_tuple;
  414|      0|    }
  415|      0|    succeeded = true;
  416|      0|    compilation_output_data = ConvertStringToVector(text_or_error);
  417|      0|    compilation_output_data_size_in_bytes = text_or_error.size();
  418|      0|    return result_tuple;
  419|      0|  } else {
  420|      0|    succeeded = true;
  421|       |    // Note compilation_output_data is already populated in GlslangToSpv().
  422|      0|    compilation_output_data_size_in_bytes = spirv.size() * sizeof(spirv[0]);
  423|      0|    return result_tuple;
  424|      0|  }
  425|      0|}
_ZN12shaderc_util8Compiler17SetSourceLanguageENS0_14SourceLanguageE:
  445|    139|void Compiler::SetSourceLanguage(Compiler::SourceLanguage lang) {
  446|    139|  source_language_ = lang;
  447|    139|}
_ZN12shaderc_util8Compiler20SetOptimizationLevelENS0_17OptimizationLevelE:
  466|    139|void Compiler::SetOptimizationLevel(Compiler::OptimizationLevel level) {
  467|       |  // Clear previous settings first.
  468|    139|  enabled_opt_passes_.clear();
  469|       |
  470|    139|  switch (level) {
  471|     49|    case OptimizationLevel::Size:
  ------------------
  |  Branch (471:5): [True: 49, False: 90]
  ------------------
  472|     49|      if (!generate_debug_info_) {
  ------------------
  |  Branch (472:11): [True: 49, False: 0]
  ------------------
  473|     49|        enabled_opt_passes_.push_back(PassId::kStripDebugInfo);
  474|     49|      }
  475|     49|      enabled_opt_passes_.push_back(PassId::kSizePasses);
  476|     49|      break;
  477|     31|    case OptimizationLevel::Performance:
  ------------------
  |  Branch (477:5): [True: 31, False: 108]
  ------------------
  478|     31|      if (!generate_debug_info_) {
  ------------------
  |  Branch (478:11): [True: 31, False: 0]
  ------------------
  479|     31|        enabled_opt_passes_.push_back(PassId::kStripDebugInfo);
  480|     31|      }
  481|     31|      enabled_opt_passes_.push_back(PassId::kPerformancePasses);
  482|     31|      break;
  483|     59|    default:
  ------------------
  |  Branch (483:5): [True: 59, False: 80]
  ------------------
  484|     59|      break;
  485|    139|  }
  486|    139|}
_ZN12shaderc_util8Compiler24EnableHlslFunctionality1Eb:
  492|    139|void Compiler::EnableHlslFunctionality1(bool enable) {
  493|    139|  hlsl_functionality1_enabled_ = enable;
  494|    139|}
_ZN12shaderc_util8Compiler20EnableHlsl16BitTypesEb:
  500|    139|void Compiler::EnableHlsl16BitTypes(bool enable) {
  501|    139|  hlsl_16bit_types_enabled_ = enable;
  502|    139|}
_ZN12shaderc_util8Compiler13EnableInvertYEb:
  504|    139|void Compiler::EnableInvertY(bool enable) { invert_y_enabled_ = enable; }
_ZN12shaderc_util8Compiler11SetNanClampEb:
  506|    139|void Compiler::SetNanClamp(bool enable) { nan_clamp_ = enable; }
_ZNK12shaderc_util8Compiler16PreprocessShaderERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERKNS_12string_pieceESC_RNS_16CountingIncluderE:
  512|    166|    const string_piece& shader_preamble, CountingIncluder& includer) const {
  513|       |  // The stage does not matter for preprocessing.
  514|    166|  glslang::TShader shader(EShLangVertex);
  515|    166|  const char* shader_strings = shader_source.data();
  516|    166|  const int shader_lengths = static_cast<int>(shader_source.size());
  517|    166|  const char* string_names = error_tag.c_str();
  518|    166|  shader.setStringsWithLengthsAndNames(&shader_strings, &shader_lengths,
  519|    166|                                       &string_names, 1);
  520|    166|  shader.setPreamble(shader_preamble.data());
  521|    166|  auto target_client_info = GetGlslangClientInfo(
  522|    166|      error_tag, target_env_, target_env_version_, target_spirv_version_,
  523|    166|      target_spirv_version_is_forced_);
  524|    166|  if (!target_client_info.error.empty()) {
  ------------------
  |  Branch (524:7): [True: 0, False: 166]
  ------------------
  525|      0|    return std::make_tuple(false, "", target_client_info.error);
  526|      0|  }
  527|    166|  shader.setEnvClient(target_client_info.client,
  528|    166|                      target_client_info.client_version);
  529|    166|#if SHADERC_ENABLE_HLSL
  530|    166|  if (hlsl_functionality1_enabled_) {
  ------------------
  |  Branch (530:7): [True: 69, False: 97]
  ------------------
  531|     69|    shader.setEnvTargetHlslFunctionality1();
  532|     69|  }
  533|    166|#endif
  534|    166|  shader.setInvertY(invert_y_enabled_);
  535|    166|  shader.setNanMinMaxClamp(nan_clamp_);
  536|       |
  537|       |  // The preprocessor might be sensitive to the target environment.
  538|       |  // So combine the existing rules with the just-give-me-preprocessor-output
  539|       |  // flag.
  540|    166|  const auto rules = static_cast<EShMessages>(
  541|    166|      EShMsgOnlyPreprocessor |
  542|    166|      GetMessageRules(target_env_, source_language_, hlsl_offsets_,
  543|    166|                      hlsl_16bit_types_enabled_, false));
  544|       |
  545|    166|  std::string preprocessed_shader;
  546|    166|  const bool success = shader.preprocess(
  547|    166|      &limits_, default_version_, default_profile_, force_version_profile_,
  548|    166|      kNotForwardCompatible, rules, &preprocessed_shader, includer);
  549|       |
  550|    166|  if (success) {
  ------------------
  |  Branch (550:7): [True: 43, False: 123]
  ------------------
  551|     43|    return std::make_tuple(true, preprocessed_shader, shader.getInfoLog());
  552|     43|  }
  553|    123|  return std::make_tuple(false, "", shader.getInfoLog());
  554|    166|}
_ZNK12shaderc_util8Compiler15CleanupPreambleERKNS_12string_pieceES3_S3_ib:
  560|     43|                                      bool is_for_next_line) const {
  561|       |  // Those #define directives in preamble will become empty lines after
  562|       |  // preprocessing. We also injected an #extension directive to turn on #include
  563|       |  // directive support. In the original preprocessing output from glslang, it
  564|       |  // appears before the user source string. We need to do proper adjustment:
  565|       |  // * Remove empty lines generated from #define directives in preamble.
  566|       |  // * If there is no #include directive in the source code, we do not need to
  567|       |  //   output the injected #extension directive. Otherwise,
  568|       |  // * If there exists a #version directive in the source code, it should be
  569|       |  //   placed at the first line. Its original line will be filled with an empty
  570|       |  //   line as placeholder to maintain the code structure.
  571|       |
  572|     43|  const std::vector<string_piece> lines =
  573|     43|      preprocessed_shader.get_fields('\n', /* keep_delimiter = */ true);
  574|       |
  575|     43|  std::ostringstream output_stream;
  576|       |
  577|     43|  size_t pound_extension_index = lines.size();
  578|     43|  size_t pound_version_index = lines.size();
  579|  1.22M|  for (size_t i = 0; i < lines.size(); ++i) {
  ------------------
  |  Branch (579:22): [True: 1.22M, False: 41]
  ------------------
  580|  1.22M|    if (lines[i] == pound_extension) {
  ------------------
  |  Branch (580:9): [True: 43, False: 1.22M]
  ------------------
  581|     43|      pound_extension_index = std::min(i, pound_extension_index);
  582|  1.22M|    } else if (lines[i].starts_with("#version")) {
  ------------------
  |  Branch (582:16): [True: 2, False: 1.22M]
  ------------------
  583|       |      // In a preprocessed shader, directives are in a canonical format, so we
  584|       |      // can confidently compare to '#version' verbatim, without worrying about
  585|       |      // whitespace.
  586|      2|      pound_version_index = i;
  587|      2|      if (num_include_directives > 0) output_stream << lines[i];
  ------------------
  |  Branch (587:11): [True: 0, False: 2]
  ------------------
  588|      2|      break;
  589|      2|    }
  590|  1.22M|  }
  591|       |  // We know that #extension directive exists and appears before #version
  592|       |  // directive (if any).
  593|     43|  assert(pound_extension_index < lines.size());
  594|       |
  595|     43|  for (size_t i = 0; i < pound_extension_index; ++i) {
  ------------------
  |  Branch (595:22): [True: 0, False: 43]
  ------------------
  596|       |    // All empty lines before the #line directive we injected are generated by
  597|       |    // preprocessing preamble. Do not output them.
  598|      0|    if (lines[i].strip_whitespace().empty()) continue;
  ------------------
  |  Branch (598:9): [True: 0, False: 0]
  ------------------
  599|      0|    output_stream << lines[i];
  600|      0|  }
  601|       |
  602|     43|  if (num_include_directives > 0) {
  ------------------
  |  Branch (602:7): [True: 0, False: 43]
  ------------------
  603|      0|    output_stream << pound_extension;
  604|       |    // Also output a #line directive for the main file.
  605|      0|    output_stream << GetLineDirective(is_for_next_line, error_tag);
  606|      0|  }
  607|       |
  608|  1.22M|  for (size_t i = pound_extension_index + 1; i < lines.size(); ++i) {
  ------------------
  |  Branch (608:46): [True: 1.22M, False: 43]
  ------------------
  609|  1.22M|    if (i == pound_version_index) {
  ------------------
  |  Branch (609:9): [True: 2, False: 1.22M]
  ------------------
  610|      2|      if (num_include_directives > 0) {
  ------------------
  |  Branch (610:11): [True: 0, False: 2]
  ------------------
  611|      0|        output_stream << "\n";
  612|      2|      } else {
  613|      2|        output_stream << lines[i];
  614|      2|      }
  615|  1.22M|    } else {
  616|  1.22M|      output_stream << lines[i];
  617|  1.22M|    }
  618|  1.22M|  }
  619|       |
  620|     43|  return output_stream.str();
  621|     43|}
_ZNK12shaderc_util8Compiler28GetShaderStageFromSourceCodeENS_12string_pieceERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE:
  624|     18|    string_piece filename, const std::string& preprocessed_shader) const {
  625|     18|  const string_piece kPragmaShaderStageDirective = "#pragma shader_stage";
  626|       |
  627|     18|  int version;
  628|     18|  EProfile profile;
  629|     18|  std::tie(version, profile) = DeduceVersionProfile(preprocessed_shader);
  630|     18|  const bool is_for_next_line = LineDirectiveIsForNextLine(version, profile);
  631|       |
  632|     18|  std::vector<string_piece> lines =
  633|     18|      string_piece(preprocessed_shader).get_fields('\n');
  634|       |  // The filename, logical line number (which starts from 1 and is sensitive to
  635|       |  // #line directives), and stage value for #pragma shader_stage() directives.
  636|     18|  std::vector<std::tuple<string_piece, size_t, string_piece>> stages;
  637|       |  // The physical line numbers of the first #pragma shader_stage() line and
  638|       |  // first non-preprocessing line in the preprocessed shader text.
  639|     18|  size_t first_pragma_physical_line = lines.size() + 1;
  640|     18|  size_t first_non_pp_line = lines.size() + 1;
  641|       |
  642|    768|  for (size_t i = 0, logical_line_no = 1; i < lines.size(); ++i) {
  ------------------
  |  Branch (642:43): [True: 750, False: 18]
  ------------------
  643|    750|    const string_piece current_line = lines[i].strip_whitespace();
  644|    750|    if (current_line.starts_with(kPragmaShaderStageDirective)) {
  ------------------
  |  Branch (644:9): [True: 0, False: 750]
  ------------------
  645|      0|      const string_piece stage_value =
  646|      0|          current_line.substr(kPragmaShaderStageDirective.size()).strip("()");
  647|      0|      stages.emplace_back(filename, logical_line_no, stage_value);
  648|      0|      first_pragma_physical_line = std::min(first_pragma_physical_line, i + 1);
  649|    750|    } else if (!current_line.empty() && !current_line.starts_with("#")) {
  ------------------
  |  Branch (649:16): [True: 750, False: 0]
  |  Branch (649:16): [True: 750, False: 0]
  |  Branch (649:41): [True: 750, False: 0]
  ------------------
  650|    750|      first_non_pp_line = std::min(first_non_pp_line, i + 1);
  651|    750|    }
  652|       |
  653|       |    // Update logical line number for the next line.
  654|    750|    if (current_line.starts_with(kLineDirectivePrefix)) {
  ------------------
  |  Branch (654:9): [True: 0, False: 750]
  ------------------
  655|      0|      string_piece name;
  656|      0|      std::tie(logical_line_no, name) = DecodeLineDirective(current_line);
  657|      0|      if (!name.empty()) filename = name;
  ------------------
  |  Branch (657:11): [True: 0, False: 0]
  ------------------
  658|       |      // Note that for core profile, the meaning of #line changed since version
  659|       |      // 330. The line number given by #line used to mean the logical line
  660|       |      // number of the #line line. Now it means the logical line number of the
  661|       |      // next line after the #line line.
  662|      0|      if (!is_for_next_line) ++logical_line_no;
  ------------------
  |  Branch (662:11): [True: 0, False: 0]
  ------------------
  663|    750|    } else {
  664|    750|      ++logical_line_no;
  665|    750|    }
  666|    750|  }
  667|     18|  if (stages.empty()) return std::make_pair(EShLangCount, "");
  ------------------
  |  Branch (667:7): [True: 18, False: 0]
  ------------------
  668|       |
  669|      0|  std::string error_message;
  670|       |
  671|      0|  const string_piece& first_pragma_filename = std::get<0>(stages[0]);
  672|      0|  const std::string first_pragma_line = std::to_string(std::get<1>(stages[0]));
  673|      0|  const string_piece& first_pragma_stage = std::get<2>(stages[0]);
  674|       |
  675|      0|  if (first_pragma_physical_line > first_non_pp_line) {
  ------------------
  |  Branch (675:7): [True: 0, False: 0]
  ------------------
  676|      0|    error_message += first_pragma_filename.str() + ":" + first_pragma_line +
  677|      0|                     ": error: '#pragma': the first 'shader_stage' #pragma "
  678|      0|                     "must appear before any non-preprocessing code\n";
  679|      0|  }
  680|       |
  681|      0|  EShLanguage stage = MapStageNameToLanguage(first_pragma_stage);
  682|      0|  if (stage == EShLangCount) {
  ------------------
  |  Branch (682:7): [True: 0, False: 0]
  ------------------
  683|      0|    error_message +=
  684|      0|        first_pragma_filename.str() + ":" + first_pragma_line +
  685|      0|        ": error: '#pragma': invalid stage for 'shader_stage' #pragma: '" +
  686|      0|        first_pragma_stage.str() + "'\n";
  687|      0|  }
  688|       |
  689|      0|  for (size_t i = 1; i < stages.size(); ++i) {
  ------------------
  |  Branch (689:22): [True: 0, False: 0]
  ------------------
  690|      0|    const string_piece& current_stage = std::get<2>(stages[i]);
  691|      0|    if (current_stage != first_pragma_stage) {
  ------------------
  |  Branch (691:9): [True: 0, False: 0]
  ------------------
  692|      0|      const string_piece& current_filename = std::get<0>(stages[i]);
  693|      0|      const std::string current_line = std::to_string(std::get<1>(stages[i]));
  694|      0|      error_message += current_filename.str() + ":" + current_line +
  695|      0|                       ": error: '#pragma': conflicting stages for "
  696|      0|                       "'shader_stage' #pragma: '" +
  697|      0|                       current_stage.str() + "' (was '" +
  698|      0|                       first_pragma_stage.str() + "' at " +
  699|      0|                       first_pragma_filename.str() + ":" + first_pragma_line +
  700|      0|                       ")\n";
  701|      0|    }
  702|      0|  }
  703|       |
  704|      0|  return std::make_pair(error_message.empty() ? stage : EShLangCount,
  ------------------
  |  Branch (704:25): [True: 0, False: 0]
  ------------------
  705|      0|                        error_message);
  706|     18|}
_ZNK12shaderc_util8Compiler20DeduceVersionProfileERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
  709|     61|    const std::string& preprocessed_shader) const {
  710|     61|  int version = default_version_;
  711|     61|  EProfile profile = default_profile_;
  712|     61|  if (!force_version_profile_) {
  ------------------
  |  Branch (712:7): [True: 61, False: 0]
  ------------------
  713|     61|    std::tie(version, profile) =
  714|     61|        GetVersionProfileFromSourceCode(preprocessed_shader);
  715|     61|    if (version == 0 && profile == ENoProfile) {
  ------------------
  |  Branch (715:9): [True: 59, False: 2]
  |  Branch (715:25): [True: 59, False: 0]
  ------------------
  716|     59|      version = default_version_;
  717|     59|      profile = default_profile_;
  718|     59|    }
  719|     61|  }
  720|     61|  return std::make_pair(version, profile);
  721|     61|}
_ZNK12shaderc_util8Compiler31GetVersionProfileFromSourceCodeERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
  724|     61|    const std::string& preprocessed_shader) const {
  725|     61|  string_piece pound_version = preprocessed_shader;
  726|     61|  const size_t pound_version_loc = pound_version.find("#version");
  727|     61|  if (pound_version_loc == string_piece::npos) {
  ------------------
  |  Branch (727:7): [True: 59, False: 2]
  ------------------
  728|     59|    return std::make_pair(0, ENoProfile);
  729|     59|  }
  730|      2|  pound_version =
  731|      2|      pound_version.substr(pound_version_loc + std::strlen("#version"));
  732|      2|  pound_version = pound_version.substr(0, pound_version.find_first_of("\n"));
  733|       |
  734|      2|  std::string version_profile;
  735|     18|  for (const auto character : pound_version) {
  ------------------
  |  Branch (735:29): [True: 18, False: 2]
  ------------------
  736|     18|    if (character != ' ') version_profile += character;
  ------------------
  |  Branch (736:9): [True: 14, False: 4]
  ------------------
  737|     18|  }
  738|       |
  739|      2|  int version;
  740|      2|  EProfile profile;
  741|      2|  if (!ParseVersionProfile(version_profile, &version, &profile)) {
  ------------------
  |  Branch (741:7): [True: 0, False: 2]
  ------------------
  742|      0|    return std::make_pair(0, ENoProfile);
  743|      0|  }
  744|      2|  return std::make_pair(version, profile);
  745|      2|}
_ZN12shaderc_util21ConvertStringToVectorERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE:
  750|     25|std::vector<uint32_t> ConvertStringToVector(const std::string& str) {
  751|     25|  size_t num_bytes_str = str.size() + 1u;
  752|     25|  size_t vector_length =
  753|     25|      (num_bytes_str + sizeof(uint32_t) - 1) / sizeof(uint32_t);
  754|     25|  std::vector<uint32_t> result_vec(vector_length, 0);
  755|     25|  std::strncpy(reinterpret_cast<char*>(result_vec.data()), str.c_str(),
  756|     25|               str.size());
  757|     25|  return result_vec;
  758|     25|}
_ZN12shaderc_util20GetGlslangClientInfoERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEENS_8Compiler9TargetEnvENS9_16TargetEnvVersionENS9_12SpirvVersionEb:
  764|    380|    bool spv_version_is_forced) {
  765|    380|  GlslangClientInfo result;
  766|    380|  std::ostringstream errs;
  767|       |
  768|    380|  using shaderc_util::Compiler;
  769|    380|  switch (env) {
  770|    380|    case Compiler::TargetEnv::Vulkan:
  ------------------
  |  Branch (770:5): [True: 380, False: 0]
  ------------------
  771|    380|      result.client = glslang::EShClientVulkan;
  772|    380|      if (env_version == Compiler::TargetEnvVersion::Default ||
  ------------------
  |  Branch (772:11): [True: 380, False: 0]
  ------------------
  773|    380|          env_version == Compiler::TargetEnvVersion::Vulkan_1_0) {
  ------------------
  |  Branch (773:11): [True: 0, False: 0]
  ------------------
  774|    380|        result.client_version = glslang::EShTargetVulkan_1_0;
  775|    380|      } else if (env_version == Compiler::TargetEnvVersion::Vulkan_1_1) {
  ------------------
  |  Branch (775:18): [True: 0, False: 0]
  ------------------
  776|      0|        result.client_version = glslang::EShTargetVulkan_1_1;
  777|      0|        result.target_language_version = glslang::EShTargetSpv_1_3;
  778|      0|      } else if (env_version == Compiler::TargetEnvVersion::Vulkan_1_2) {
  ------------------
  |  Branch (778:18): [True: 0, False: 0]
  ------------------
  779|      0|        result.client_version = glslang::EShTargetVulkan_1_2;
  780|      0|        result.target_language_version = glslang::EShTargetSpv_1_5;
  781|      0|      } else if (env_version == Compiler::TargetEnvVersion::Vulkan_1_3) {
  ------------------
  |  Branch (781:18): [True: 0, False: 0]
  ------------------
  782|      0|        result.client_version = glslang::EShTargetVulkan_1_3;
  783|      0|        result.target_language_version = glslang::EShTargetSpv_1_6;
  784|      0|      } else if (env_version == Compiler::TargetEnvVersion::Vulkan_1_4) {
  ------------------
  |  Branch (784:18): [True: 0, False: 0]
  ------------------
  785|      0|        result.client_version = glslang::EShTargetVulkan_1_4;
  786|      0|        result.target_language_version = glslang::EShTargetSpv_1_6;
  787|      0|      } else {
  788|      0|        errs << "error:" << error_tag << ": Invalid target client version "
  789|      0|             << static_cast<uint32_t>(env_version) << " for Vulkan environment "
  790|      0|             << int(env);
  791|      0|      }
  792|    380|      break;
  793|      0|    case Compiler::TargetEnv::OpenGLCompat:
  ------------------
  |  Branch (793:5): [True: 0, False: 380]
  ------------------
  794|      0|      errs << "error: OpenGL compatibility profile is not supported";
  795|      0|      break;
  796|      0|    case Compiler::TargetEnv::OpenGL:
  ------------------
  |  Branch (796:5): [True: 0, False: 380]
  ------------------
  797|      0|      result.client = glslang::EShClientOpenGL;
  798|      0|      if (env_version == Compiler::TargetEnvVersion::Default ||
  ------------------
  |  Branch (798:11): [True: 0, False: 0]
  ------------------
  799|      0|          env_version == Compiler::TargetEnvVersion::OpenGL_4_5) {
  ------------------
  |  Branch (799:11): [True: 0, False: 0]
  ------------------
  800|      0|        result.client_version = glslang::EShTargetOpenGL_450;
  801|      0|      } else {
  802|      0|        errs << "error:" << error_tag << ": Invalid target client version "
  803|      0|             << static_cast<uint32_t>(env_version) << " for OpenGL environment "
  804|      0|             << int(env);
  805|      0|      }
  806|      0|      break;
  807|      0|    default:
  ------------------
  |  Branch (807:5): [True: 0, False: 380]
  ------------------
  808|      0|      errs << "error:" << error_tag << ": Invalid target client environment "
  809|      0|           << int(env);
  810|      0|      break;
  811|    380|  }
  812|       |
  813|    380|  if (spv_version_is_forced && errs.str().empty()) {
  ------------------
  |  Branch (813:7): [True: 0, False: 380]
  |  Branch (813:7): [True: 0, False: 380]
  |  Branch (813:32): [True: 0, False: 0]
  ------------------
  814|      0|    switch (spv_version) {
  815|      0|      case Compiler::SpirvVersion::v1_0:
  ------------------
  |  Branch (815:7): [True: 0, False: 0]
  ------------------
  816|      0|        result.target_language_version = glslang::EShTargetSpv_1_0;
  817|      0|        break;
  818|      0|      case Compiler::SpirvVersion::v1_1:
  ------------------
  |  Branch (818:7): [True: 0, False: 0]
  ------------------
  819|      0|        result.target_language_version = glslang::EShTargetSpv_1_1;
  820|      0|        break;
  821|      0|      case Compiler::SpirvVersion::v1_2:
  ------------------
  |  Branch (821:7): [True: 0, False: 0]
  ------------------
  822|      0|        result.target_language_version = glslang::EShTargetSpv_1_2;
  823|      0|        break;
  824|      0|      case Compiler::SpirvVersion::v1_3:
  ------------------
  |  Branch (824:7): [True: 0, False: 0]
  ------------------
  825|      0|        result.target_language_version = glslang::EShTargetSpv_1_3;
  826|      0|        break;
  827|      0|      case Compiler::SpirvVersion::v1_4:
  ------------------
  |  Branch (827:7): [True: 0, False: 0]
  ------------------
  828|      0|        result.target_language_version = glslang::EShTargetSpv_1_4;
  829|      0|        break;
  830|      0|      case Compiler::SpirvVersion::v1_5:
  ------------------
  |  Branch (830:7): [True: 0, False: 0]
  ------------------
  831|      0|        result.target_language_version = glslang::EShTargetSpv_1_5;
  832|      0|        break;
  833|      0|      case Compiler::SpirvVersion::v1_6:
  ------------------
  |  Branch (833:7): [True: 0, False: 0]
  ------------------
  834|      0|        result.target_language_version = glslang::EShTargetSpv_1_6;
  835|      0|        break;
  836|      0|      default:
  ------------------
  |  Branch (836:7): [True: 0, False: 0]
  ------------------
  837|      0|        errs << "error:" << error_tag << ": Unknown SPIR-V version " << std::hex
  838|      0|             << uint32_t(spv_version);
  839|      0|        break;
  840|      0|    }
  841|      0|  }
  842|    380|  result.error = errs.str();
  843|    380|  return result;
  844|    380|}
compiler.cc:_ZN12_GLOBAL__N_126LineDirectiveIsForNextLineEi8EProfile:
   46|     61|inline bool LineDirectiveIsForNextLine(int version, EProfile profile) {
   47|     61|  return profile == EEsProfile || version >= 330;
  ------------------
  |  Branch (47:10): [True: 0, False: 61]
  |  Branch (47:35): [True: 2, False: 59]
  ------------------
   48|     61|}
compiler.cc:_ZN12_GLOBAL__N_115GetMessageRulesEN12shaderc_util8Compiler9TargetEnvENS1_14SourceLanguageEbbb:
   81|    232|                            bool debug_info) {
   82|    232|  using shaderc_util::Compiler;
   83|    232|  EShMessages result = EShMsgCascadingErrors;
   84|    232|  if (lang == Compiler::SourceLanguage::HLSL) {
  ------------------
  |  Branch (84:7): [True: 111, False: 121]
  ------------------
   85|    111|    result = static_cast<EShMessages>(result | EShMsgReadHlsl);
   86|    111|  }
   87|    232|  switch (env) {
  ------------------
  |  Branch (87:11): [True: 232, False: 0]
  ------------------
   88|      0|    case Compiler::TargetEnv::OpenGLCompat:
  ------------------
  |  Branch (88:5): [True: 0, False: 232]
  ------------------
   89|       |      // The compiler will have already errored out before now.
   90|       |      // But we need to handle this enum.
   91|      0|      break;
   92|      0|    case Compiler::TargetEnv::OpenGL:
  ------------------
  |  Branch (92:5): [True: 0, False: 232]
  ------------------
   93|      0|      result = static_cast<EShMessages>(result | EShMsgSpvRules);
   94|      0|      break;
   95|    232|    case Compiler::TargetEnv::Vulkan:
  ------------------
  |  Branch (95:5): [True: 232, False: 0]
  ------------------
   96|    232|      result =
   97|    232|          static_cast<EShMessages>(result | EShMsgSpvRules | EShMsgVulkanRules);
   98|    232|      break;
   99|    232|  }
  100|    232|  if (hlsl_offsets) {
  ------------------
  |  Branch (100:7): [True: 118, False: 114]
  ------------------
  101|    118|    result = static_cast<EShMessages>(result | EShMsgHlslOffsets);
  102|    118|  }
  103|    232|  if (hlsl_16bit_types) {
  ------------------
  |  Branch (103:7): [True: 117, False: 115]
  ------------------
  104|    117|    result = static_cast<EShMessages>(result | EShMsgHlslEnable16BitTypes);
  105|    117|  }
  106|    232|  if (debug_info) {
  ------------------
  |  Branch (106:7): [True: 0, False: 232]
  ------------------
  107|      0|    result = static_cast<EShMessages>(result | EShMsgDebugInfo);
  108|      0|  }
  109|    232|  return result;
  110|    232|}

_ZN12shaderc_util18ParseGlslangOutputERKNS_12string_pieceEbbPS0_S3_S3_:
  132|  2.83M|                               string_piece* line_number, string_piece* rest) {
  133|  2.83M|  string_piece rest_of_message(message);
  134|  2.83M|  source_name->clear();
  135|  2.83M|  line_number->clear();
  136|  2.83M|  rest->clear();
  137|       |
  138|       |  // The glslang warning/error messages are typically of the following form:
  139|       |  //   <message-type> <location-specification> <message-body>
  140|       |  //
  141|       |  // <message-type> can be "WARNING:", "ERROR:", or "Warning, ". "WARNING:"
  142|       |  // means a warning message for a certain line, while "Warning, " means a
  143|       |  // global one.
  144|       |  //
  145|       |  // <location-specification> is of the form:
  146|       |  //   <filename-or-string-number>:<line-number>:
  147|       |  // It doesn't exist if the warning/error message is a global one.
  148|       |  //
  149|       |  // See Glslang's TInfoSink class implementation for details.
  150|       |
  151|  2.83M|  bool is_error = false;
  152|       |
  153|       |  // Handle <message-type>.
  154|  2.83M|  switch (DeduceMessageType(&rest_of_message)) {
  155|      0|    case MessageType::Warning:
  ------------------
  |  Branch (155:5): [True: 0, False: 2.83M]
  ------------------
  156|      0|      if (suppress_warnings) return MessageType::Ignored;
  ------------------
  |  Branch (156:11): [True: 0, False: 0]
  ------------------
  157|      0|      break;
  158|  2.71M|    case MessageType::Error:
  ------------------
  |  Branch (158:5): [True: 2.71M, False: 114k]
  ------------------
  159|  2.71M|      is_error = true;
  160|  2.71M|      break;
  161|      0|    case MessageType::GlobalWarning:
  ------------------
  |  Branch (161:5): [True: 0, False: 2.83M]
  ------------------
  162|      0|      if (suppress_warnings) return MessageType::Ignored;
  ------------------
  |  Branch (162:11): [True: 0, False: 0]
  ------------------
  163|      0|      *rest = rest_of_message;
  164|      0|      return warnings_as_errors ? MessageType::GlobalError
  ------------------
  |  Branch (164:14): [True: 0, False: 0]
  ------------------
  165|      0|                                : MessageType::GlobalWarning;
  166|   114k|    case MessageType::Unknown:
  ------------------
  |  Branch (166:5): [True: 114k, False: 2.71M]
  ------------------
  167|   114k|      *rest = rest_of_message;
  168|   114k|      return MessageType::Unknown;
  169|      0|    default:
  ------------------
  |  Branch (169:5): [True: 0, False: 2.83M]
  ------------------
  170|      0|      break;
  171|  2.83M|  }
  172|       |
  173|  2.71M|  rest_of_message = rest_of_message.strip_whitespace();
  174|  2.71M|  if (rest_of_message.empty()) return MessageType::Unknown;
  ------------------
  |  Branch (174:7): [True: 0, False: 2.71M]
  ------------------
  175|       |
  176|       |  // Now we have stripped the <message-type>. Try to see if we can find
  177|       |  // a <location-specification>.
  178|  2.71M|  if (DeduceLocationSpec(&rest_of_message, source_name, line_number)) {
  ------------------
  |  Branch (178:7): [True: 2.71M, False: 293]
  ------------------
  179|  2.71M|    *rest = rest_of_message;
  180|  2.71M|    return (is_error || warnings_as_errors) ? MessageType::Error
  ------------------
  |  Branch (180:13): [True: 2.71M, False: 0]
  |  Branch (180:25): [True: 0, False: 0]
  ------------------
  181|  2.71M|                                            : MessageType::Warning;
  182|  2.71M|  } else {
  183|       |    // No <location-specification>. This is a global warning/error message.
  184|       |    // A special kind of global message is summary message, which should
  185|       |    // start with a number.
  186|    293|    *rest = rest_of_message;
  187|    293|    if (IsSummaryMessage(rest_of_message)) {
  ------------------
  |  Branch (187:9): [True: 183, False: 110]
  ------------------
  188|    183|      return (is_error || warnings_as_errors) ? MessageType::ErrorSummary
  ------------------
  |  Branch (188:15): [True: 183, False: 0]
  |  Branch (188:27): [True: 0, False: 0]
  ------------------
  189|    183|                                              : MessageType::WarningSummary;
  190|    183|    }
  191|    110|    return (is_error || warnings_as_errors) ? MessageType::GlobalError
  ------------------
  |  Branch (191:13): [True: 110, False: 0]
  |  Branch (191:25): [True: 0, False: 0]
  ------------------
  192|    110|                                            : MessageType::GlobalWarning;
  193|    293|  }
  194|      0|  return MessageType::Unknown;
  195|  2.71M|}
_ZN12shaderc_util19PrintFilteredErrorsERKNS_12string_pieceEPNSt3__113basic_ostreamIcNS3_11char_traitsIcEEEEbbPKcPmSB_:
  200|    232|                         size_t* total_warnings, size_t* total_errors) {
  201|    232|  const char* ignored_error_strings[] = {
  202|    232|      "Warning, version 310 is not yet complete; most version-specific "
  203|    232|      "features are present, but some are missing.",
  204|    232|      "Warning, version 400 is not yet complete; most version-specific "
  205|    232|      "features are present, but some are missing.",
  206|    232|      "Warning, version 410 is not yet complete; most version-specific "
  207|    232|      "features are present, but some are missing.",
  208|    232|      "Warning, version 420 is not yet complete; most version-specific "
  209|    232|      "features are present, but some are missing.",
  210|    232|      "Warning, version 430 is not yet complete; most version-specific "
  211|    232|      "features are present, but some are missing.",
  212|    232|      "Warning, version 440 is not yet complete; most version-specific "
  213|    232|      "features are present, but some are missing.",
  214|    232|      "Warning, version 450 is not yet complete; most version-specific "
  215|    232|      "features are present, but some are missing.",
  216|    232|      "Linked vertex stage:", "Linked fragment stage:",
  217|    232|      "Linked tessellation control stage:",
  218|    232|      "Linked tessellation evaluation stage:", "Linked geometry stage:",
  219|    232|      "Linked compute stage:", ""};
  220|    232|  size_t existing_total_errors = *total_errors;
  221|    232|  string_piece error_messages(error_list);
  222|  2.83M|  for (const string_piece& message : error_messages.get_fields('\n')) {
  ------------------
  |  Branch (222:36): [True: 2.83M, False: 232]
  ------------------
  223|  2.83M|    if (std::find(std::begin(ignored_error_strings),
  ------------------
  |  Branch (223:9): [True: 2.83M, False: 183]
  ------------------
  224|  2.83M|                  std::end(ignored_error_strings),
  225|  2.83M|                  message) == std::end(ignored_error_strings)) {
  226|  2.83M|      string_piece source_name;
  227|  2.83M|      string_piece line_number;
  228|  2.83M|      string_piece rest;
  229|  2.83M|      const MessageType type =
  230|  2.83M|          ParseGlslangOutput(message, warnings_as_errors, suppress_warnings,
  231|  2.83M|                             &source_name, &line_number, &rest);
  232|  2.83M|      string_piece name = file_name;
  233|  2.83M|      if (!source_name.empty()) {
  ------------------
  |  Branch (233:11): [True: 2.71M, False: 115k]
  ------------------
  234|       |        // -1 is the string number for the preamble injected by us.
  235|  2.71M|        name = source_name == "-1" ? "<command line>" : source_name;
  ------------------
  |  Branch (235:16): [True: 0, False: 2.71M]
  ------------------
  236|  2.71M|      }
  237|  2.83M|      switch (type) {
  ------------------
  |  Branch (237:15): [True: 2.83M, False: 0]
  ------------------
  238|  2.71M|        case MessageType::Error:
  ------------------
  |  Branch (238:9): [True: 2.71M, False: 115k]
  ------------------
  239|  2.71M|        case MessageType::Warning:
  ------------------
  |  Branch (239:9): [True: 0, False: 2.83M]
  ------------------
  240|  2.71M|          assert(!name.empty() && !line_number.empty() && !rest.empty());
  241|  2.71M|          *error_stream << name << ":" << line_number << ": "
  242|  2.71M|                        << (type == MessageType::Error ? "error: "
  ------------------
  |  Branch (242:29): [True: 2.71M, False: 0]
  ------------------
  243|  2.71M|                                                       : "warning: ")
  244|  2.71M|                        << rest.strip_whitespace() << std::endl;
  245|  2.71M|          *total_errors += type == MessageType::Error;
  246|  2.71M|          *total_warnings += type == MessageType::Warning;
  247|  2.71M|          break;
  248|    183|        case MessageType::ErrorSummary:
  ------------------
  |  Branch (248:9): [True: 183, False: 2.83M]
  ------------------
  249|    183|        case MessageType::WarningSummary:
  ------------------
  |  Branch (249:9): [True: 0, False: 2.83M]
  ------------------
  250|    183|          break;
  251|    110|        case MessageType::GlobalError:
  ------------------
  |  Branch (251:9): [True: 110, False: 2.83M]
  ------------------
  252|    110|        case MessageType::GlobalWarning:
  ------------------
  |  Branch (252:9): [True: 0, False: 2.83M]
  ------------------
  253|    110|          assert(!rest.empty());
  254|    110|          *total_errors += type == MessageType::GlobalError;
  255|    110|          *total_warnings += type == MessageType::GlobalWarning;
  256|    110|          *error_stream << name << ": "
  257|    110|                        << (type == MessageType::GlobalError ? "error"
  ------------------
  |  Branch (257:29): [True: 110, False: 0]
  ------------------
  258|    110|                                                             : "warning")
  259|    110|                        << ": " << rest.strip_whitespace() << std::endl;
  260|    110|          break;
  261|   114k|        case MessageType::Unknown:
  ------------------
  |  Branch (261:9): [True: 114k, False: 2.71M]
  ------------------
  262|   114k|          *error_stream << name << ":";
  263|   114k|          *error_stream << " " << message << std::endl;
  264|   114k|          break;
  265|      0|        case MessageType::Ignored:
  ------------------
  |  Branch (265:9): [True: 0, False: 2.83M]
  ------------------
  266|      0|          break;
  267|  2.83M|      }
  268|  2.83M|    }
  269|  2.83M|  }
  270|    232|  return (existing_total_errors == *total_errors);
  271|    232|}
message.cc:_ZN12shaderc_util12_GLOBAL__N_117DeduceMessageTypeEPNS_12string_pieceE:
   29|  2.83M|MessageType DeduceMessageType(string_piece* message) {
   30|  2.83M|  static const char kErrorMessage[] = "ERROR: ";
   31|  2.83M|  static const char kWarningMessage[] = "WARNING: ";
   32|  2.83M|  static const char kGlobalWarningMessage[] = "Warning, ";
   33|       |
   34|  2.83M|  if (message->starts_with(kErrorMessage)) {
  ------------------
  |  Branch (34:7): [True: 2.71M, False: 114k]
  ------------------
   35|  2.71M|    *message = message->substr(::strlen(kErrorMessage));
   36|  2.71M|    return MessageType::Error;
   37|  2.71M|  } else if (message->starts_with(kWarningMessage)) {
  ------------------
  |  Branch (37:14): [True: 0, False: 114k]
  ------------------
   38|      0|    *message = message->substr(::strlen(kWarningMessage));
   39|      0|    return MessageType::Warning;
   40|   114k|  } else if (message->starts_with(kGlobalWarningMessage)) {
  ------------------
  |  Branch (40:14): [True: 0, False: 114k]
  ------------------
   41|      0|    *message = message->substr(::strlen(kGlobalWarningMessage));
   42|      0|    return MessageType::GlobalWarning;
   43|      0|  }
   44|   114k|  return MessageType::Unknown;
   45|  2.83M|}
message.cc:_ZN12shaderc_util12_GLOBAL__N_118DeduceLocationSpecEPNS_12string_pieceES2_S2_:
   54|  2.71M|                        string_piece* line_number) {
   55|  2.71M|  if (!message || message->empty()) {
  ------------------
  |  Branch (55:7): [True: 0, False: 2.71M]
  |  Branch (55:19): [True: 0, False: 2.71M]
  ------------------
   56|      0|    return false;
   57|      0|  }
   58|       |
   59|       |  // When we find a pattern like this:
   60|       |  //     colon
   61|       |  //     digits
   62|       |  //     colon
   63|       |  //     space
   64|       |  // Then deduce that the source_name is the text before the first colon,
   65|       |  // the line number is the digits, and the message is the text after the
   66|       |  // second colon.
   67|       |
   68|  2.71M|  const size_t size = message->size();
   69|  2.71M|  if (size <= 4) {
  ------------------
  |  Branch (69:7): [True: 0, False: 2.71M]
  ------------------
   70|       |    // A valid message must have a colon, a digit, a colon, and a space.
   71|      0|    return false;
   72|      0|  }
   73|       |  // The last possible position of the first colon.
   74|  2.71M|  const size_t first_colon_cutoff = size - 4;
   75|       |  // The last possible position of the second colon.
   76|  2.71M|  const size_t next_colon_cutoff = size - 2;
   77|       |
   78|  2.71M|  for (size_t first_colon_pos = message->find_first_of(':'), next_colon_pos = 0;
   79|       |
   80|       |       // There is a first colon, and it's not too close to the end
   81|  2.71M|       (first_colon_pos != string_piece::npos) &&
  ------------------
  |  Branch (81:8): [True: 2.71M, False: 183]
  ------------------
   82|  2.71M|       (first_colon_pos <= first_colon_cutoff);
  ------------------
  |  Branch (82:8): [True: 2.71M, False: 0]
  ------------------
   83|       |
   84|       |       // Try the next pair of colons.
   85|  2.71M|       first_colon_pos = next_colon_pos) {
   86|       |    // We're guaranteed to have at least 3 more characters.
   87|       |    // Guarantee progress toward the end of the string.
   88|  2.71M|    next_colon_pos = message->find_first_of(':', first_colon_pos + 1);
   89|  2.71M|    if ((next_colon_pos == string_piece::npos) ||
  ------------------
  |  Branch (89:9): [True: 110, False: 2.71M]
  ------------------
   90|  2.71M|        (next_colon_pos > next_colon_cutoff)) {
  ------------------
  |  Branch (90:9): [True: 0, False: 2.71M]
  ------------------
   91|       |      // No valid solution.
   92|    110|      return false;
   93|    110|    }
   94|  2.71M|    if (first_colon_pos + 1 == next_colon_pos) {
  ------------------
  |  Branch (94:9): [True: 0, False: 2.71M]
  ------------------
   95|       |      // There is no room for digits.
   96|      0|      continue;
   97|      0|    }
   98|  2.71M|    if ((message->data()[next_colon_pos + 1] != ' ')) {
  ------------------
  |  Branch (98:9): [True: 0, False: 2.71M]
  ------------------
   99|       |      // There is no space character after the second colon.
  100|      0|      continue;
  101|      0|    }
  102|  2.71M|    if (message->find_first_not_of("0123456789", first_colon_pos + 1) ==
  ------------------
  |  Branch (102:9): [True: 2.71M, False: 0]
  ------------------
  103|  2.71M|        next_colon_pos) {
  104|       |      // We found the first solution.
  105|  2.71M|      *source_name = message->substr(0, first_colon_pos);
  106|  2.71M|      *line_number = message->substr(first_colon_pos + 1,
  107|  2.71M|                                     next_colon_pos - 1 - first_colon_pos);
  108|  2.71M|      *message = message->substr(next_colon_pos + 2);
  109|  2.71M|      return true;
  110|  2.71M|    }
  111|  2.71M|  }
  112|       |
  113|    183|  return false;
  114|  2.71M|}
message.cc:_ZN12shaderc_util12_GLOBAL__N_116IsSummaryMessageERKNS_12string_pieceE:
  117|    293|bool IsSummaryMessage(const string_piece& message) {
  118|    293|  const size_t space_loc = message.find_first_of(' ');
  119|    293|  if (space_loc == string_piece::npos) return false;
  ------------------
  |  Branch (119:7): [True: 0, False: 293]
  ------------------
  120|    293|  const string_piece number = message.substr(0, space_loc);
  121|    293|  const string_piece rest = message.substr(space_loc + 1);
  122|    293|  if (!std::all_of(number.begin(), number.end(), ::isdigit)) return false;
  ------------------
  |  Branch (122:7): [True: 110, False: 183]
  ------------------
  123|    183|  if (!rest.starts_with("compilation errors.")) return false;
  ------------------
  |  Branch (123:7): [True: 0, False: 183]
  ------------------
  124|    183|  return true;
  125|    183|}

_ZN12shaderc_util19ParseVersionProfileERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPiP8EProfile:
   32|      2|                         EProfile* profile) {
   33|      2|  if (version_profile.size() < kMinVersionProfileLength ||
  ------------------
  |  Branch (33:7): [True: 0, False: 2]
  ------------------
   34|      2|      version_profile.size() > kMaxVersionProfileLength ||
  ------------------
  |  Branch (34:7): [True: 0, False: 2]
  ------------------
   35|      2|      !::isdigit(version_profile.front()))
  ------------------
  |  Branch (35:7): [True: 0, False: 2]
  ------------------
   36|      0|    return false;
   37|       |
   38|      2|  std::string profile_string;
   39|      2|  std::istringstream(version_profile) >> *version >> profile_string;
   40|       |
   41|      2|  if (!IsKnownVersion(*version)) {
  ------------------
  |  Branch (41:7): [True: 0, False: 2]
  ------------------
   42|      0|    return false;
   43|      0|  }
   44|      2|  if (profile_string.empty()) {
  ------------------
  |  Branch (44:7): [True: 0, False: 2]
  ------------------
   45|      0|    *profile = ENoProfile;
   46|      2|  } else if (profile_string == "core") {
  ------------------
  |  Branch (46:14): [True: 2, False: 0]
  ------------------
   47|      2|    *profile = ECoreProfile;
   48|      2|  } else if (profile_string == "es") {
  ------------------
  |  Branch (48:14): [True: 0, False: 0]
  ------------------
   49|      0|    *profile = EEsProfile;
   50|      0|  } else if (profile_string == "compatibility") {
  ------------------
  |  Branch (50:14): [True: 0, False: 0]
  ------------------
   51|      0|    *profile = ECompatibilityProfile;
   52|      0|  } else {
   53|      0|    return false;
   54|      0|  }
   55|       |
   56|      2|  return true;
   57|      2|}

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

_ZN7glslang11HlslGrammar5parseEv:
   65|     93|{
   66|     93|    advanceToken();
   67|     93|    return acceptCompilationUnit();
   68|     93|}
_ZN7glslang11HlslGrammar8expectedEPKc:
   71|     38|{
   72|     38|    parseContext.error(token.loc, "Expected", syntax, "");
   73|     38|}
_ZN7glslang11HlslGrammar16acceptIdentifierERNS_9HlslTokenE:
   87|   799k|{
   88|       |    // IDENTIFIER
   89|   799k|    if (peekTokenClass(EHTokIdentifier)) {
  ------------------
  |  Branch (89:9): [True: 188k, False: 610k]
  ------------------
   90|   188k|        idToken = token;
   91|   188k|        advanceToken();
   92|   188k|        return true;
   93|   188k|    }
   94|       |
   95|       |    // THIS
   96|       |    // -> maps to the IDENTIFIER spelled with the internal special name for 'this'
   97|   610k|    if (peekTokenClass(EHTokThis)) {
  ------------------
  |  Branch (97:9): [True: 0, False: 610k]
  ------------------
   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|   610k|    const char* idString = getTypeString(peek());
  113|   610k|    if (idString == nullptr)
  ------------------
  |  Branch (113:9): [True: 610k, False: 0]
  ------------------
  114|   610k|        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|   610k|}
_ZN7glslang11HlslGrammar21acceptCompilationUnitEv:
  130|     93|{
  131|     93|    if (! acceptDeclarationList(unitNode))
  ------------------
  |  Branch (131:9): [True: 38, False: 55]
  ------------------
  132|     38|        return false;
  133|       |
  134|     55|    if (! peekTokenClass(EHTokNone))
  ------------------
  |  Branch (134:9): [True: 0, False: 55]
  ------------------
  135|      0|        return false;
  136|       |
  137|       |    // set root of AST
  138|     55|    if (unitNode && !unitNode->getAsAggregate())
  ------------------
  |  Branch (138:9): [True: 0, False: 55]
  |  Branch (138:21): [True: 0, False: 0]
  ------------------
  139|      0|        unitNode = intermediate.growAggregate(nullptr, unitNode);
  140|     55|    intermediate.setTreeRoot(unitNode);
  141|       |
  142|     55|    return true;
  143|     55|}
_ZN7glslang11HlslGrammar21acceptDeclarationListERP11TIntermNode:
  156|     93|{
  157|   188k|    do {
  158|       |        // HLSL allows extra semicolons between global declarations
  159|   188k|        do { } while (acceptTokenClass(EHTokSemicolon));
  ------------------
  |  Branch (159:23): [True: 0, False: 188k]
  ------------------
  160|       |
  161|       |        // EOF or RIGHT_BRACE
  162|   188k|        if (peekTokenClass(EHTokNone) || peekTokenClass(EHTokRightBrace))
  ------------------
  |  Branch (162:13): [True: 55, False: 188k]
  |  Branch (162:42): [True: 0, False: 188k]
  ------------------
  163|     55|            return true;
  164|       |
  165|       |        // declaration
  166|   188k|        if (! acceptDeclaration(nodeList)) {
  ------------------
  |  Branch (166:13): [True: 38, False: 188k]
  ------------------
  167|     38|            expected("declaration");
  168|     38|            return false;
  169|     38|        }
  170|   188k|    } while (true);
  ------------------
  |  Branch (170:14): [True: 188k, Folded]
  ------------------
  171|       |
  172|      0|    return true;
  173|     93|}
_ZN7glslang11HlslGrammar17acceptDeclarationERP11TIntermNode:
  334|   188k|{
  335|       |    // NAMESPACE IDENTIFIER LEFT_BRACE declaration_list RIGHT_BRACE
  336|   188k|    if (acceptTokenClass(EHTokNamespace)) {
  ------------------
  |  Branch (336:9): [True: 0, False: 188k]
  ------------------
  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|   188k|    bool declarator_list = false; // true when processing comma separation
  360|       |
  361|       |    // attributes
  362|   188k|    TFunctionDeclarator declarator;
  363|   188k|    acceptAttributes(declarator.attributes);
  364|       |
  365|       |    // typedef
  366|   188k|    bool typedefDecl = acceptTokenClass(EHTokTypedef);
  367|       |
  368|   188k|    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|   188k|    bool forbidDeclarators = (peekTokenClass(EHTokCBuffer) || peekTokenClass(EHTokTBuffer));
  ------------------
  |  Branch (379:31): [True: 0, False: 188k]
  |  Branch (379:63): [True: 0, False: 188k]
  ------------------
  380|       |    // fully_specified_type
  381|   188k|    if (! acceptFullySpecifiedType(declaredType, nodeList, declarator.attributes, forbidDeclarators))
  ------------------
  |  Branch (381:9): [True: 38, False: 188k]
  ------------------
  382|     38|        return false;
  383|       |
  384|       |    // cbuffer and tbuffer end with the closing '}'.
  385|       |    // No semicolon is included.
  386|   188k|    if (forbidDeclarators)
  ------------------
  |  Branch (386:9): [True: 0, False: 188k]
  ------------------
  387|      0|        return true;
  388|       |
  389|       |    // Check if there are invalid in/out qualifiers
  390|   188k|    switch (declaredType.getQualifier().storage) {
  391|      0|    case EvqIn:
  ------------------
  |  Branch (391:5): [True: 0, False: 188k]
  ------------------
  392|      0|    case EvqOut:
  ------------------
  |  Branch (392:5): [True: 0, False: 188k]
  ------------------
  393|      0|    case EvqInOut:
  ------------------
  |  Branch (393:5): [True: 0, False: 188k]
  ------------------
  394|      0|        parseContext.error(token.loc, "in/out qualifiers are only valid on parameters", token.getCStrOrEmpty(), "");
  395|      0|        break;
  396|   188k|    default:
  ------------------
  |  Branch (396:5): [True: 188k, False: 0]
  ------------------
  397|   188k|        break;
  398|   188k|    }
  399|       |
  400|       |    // declarator_list
  401|       |    //    : declarator
  402|       |    //         : identifier
  403|   188k|    HlslToken idToken;
  404|   188k|    TIntermAggregate* initializers = nullptr;
  405|   376k|    while (acceptIdentifier(idToken)) {
  ------------------
  |  Branch (405:12): [True: 188k, False: 188k]
  ------------------
  406|   188k|        TString *fullName = idToken.string;
  407|   188k|        if (parseContext.symbolTable.atGlobalLevel())
  ------------------
  |  Branch (407:13): [True: 188k, False: 0]
  ------------------
  408|   188k|            parseContext.getFullNamespaceName(fullName);
  409|   188k|        if (peekTokenClass(EHTokLeftParen)) {
  ------------------
  |  Branch (409:13): [True: 188k, False: 0]
  ------------------
  410|       |            // looks like function parameters
  411|       |
  412|       |            // merge in the attributes into the return type
  413|   188k|            parseContext.transferTypeAttributes(token.loc, declarator.attributes, declaredType, true);
  414|       |
  415|       |            // Potentially rename shader entry point function.  No-op most of the time.
  416|   188k|            parseContext.renameShaderFunction(fullName);
  417|       |
  418|       |            // function_parameters
  419|   188k|            declarator.function = new TFunction(fullName, declaredType);
  420|   188k|            if (!acceptFunctionParameters(*declarator.function)) {
  ------------------
  |  Branch (420:17): [True: 0, False: 188k]
  ------------------
  421|      0|                expected("function parameter list");
  422|      0|                return false;
  423|      0|            }
  424|       |
  425|       |            // post_decls
  426|   188k|            acceptPostDecls(declarator.function->getWritableType().getQualifier());
  427|       |
  428|       |            // compound_statement (function body definition) or just a prototype?
  429|   188k|            declarator.loc = token.loc;
  430|   188k|            if (peekTokenClass(EHTokLeftBrace)) {
  ------------------
  |  Branch (430:17): [True: 0, False: 188k]
  ------------------
  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|   188k|            } else {
  437|   188k|                if (typedefDecl)
  ------------------
  |  Branch (437:21): [True: 0, False: 188k]
  ------------------
  438|      0|                    parseContext.error(idToken.loc, "function typedefs not implemented", "{", "");
  439|   188k|                parseContext.handleFunctionDeclarator(declarator.loc, *declarator.function, true);
  440|   188k|            }
  441|   188k|        } 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|   188k|        if (acceptTokenClass(EHTokComma))
  ------------------
  |  Branch (515:13): [True: 0, False: 188k]
  ------------------
  516|      0|            declarator_list = true;
  517|   188k|    }
  518|       |
  519|       |    // The top-level initializer node is a sequence.
  520|   188k|    if (initializers != nullptr)
  ------------------
  |  Branch (520:9): [True: 0, False: 188k]
  ------------------
  521|      0|        initializers->setOperator(EOpSequence);
  522|       |
  523|       |    // if we have a locally scoped static, it needs a globally scoped initializer
  524|   188k|    if (declaredType.getQualifier().storage == EvqGlobal && !parseContext.symbolTable.atGlobalLevel()) {
  ------------------
  |  Branch (524:9): [True: 0, False: 188k]
  |  Branch (524:61): [True: 0, False: 0]
  ------------------
  525|      0|        unitNode = intermediate.growAggregate(unitNode, initializers, idToken.loc);
  526|   188k|    } else {
  527|       |        // Add the initializers' aggregate to the nodeList we were handed.
  528|   188k|        if (nodeList)
  ------------------
  |  Branch (528:13): [True: 0, False: 188k]
  ------------------
  529|      0|            nodeList = intermediate.growAggregate(nodeList, initializers);
  530|   188k|        else
  531|   188k|            nodeList = initializers;
  532|   188k|    }
  533|       |
  534|       |    // SEMICOLON
  535|   188k|    if (! acceptTokenClass(EHTokSemicolon)) {
  ------------------
  |  Branch (535:9): [True: 0, False: 188k]
  ------------------
  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|   188k|    return true;
  548|   188k|}
_ZN7glslang11HlslGrammar24acceptFullySpecifiedTypeERNS_5TTypeERKNS_5TListINS_14TAttributeArgsEEE:
  603|   422k|{
  604|   422k|    TIntermNode* nodeList = nullptr;
  605|   422k|    return acceptFullySpecifiedType(type, nodeList, attributes);
  606|   422k|}
_ZN7glslang11HlslGrammar24acceptFullySpecifiedTypeERNS_5TTypeERP11TIntermNodeRKNS_5TListINS_14TAttributeArgsEEEb:
  608|   610k|{
  609|       |    // type_qualifier
  610|   610k|    TQualifier qualifier;
  611|   610k|    qualifier.clear();
  612|   610k|    if (! acceptPreQualifier(qualifier))
  ------------------
  |  Branch (612:9): [True: 0, False: 610k]
  ------------------
  613|      0|        return false;
  614|   610k|    TSourceLoc loc = token.loc;
  615|       |
  616|       |    // type_specifier
  617|   610k|    if (! acceptType(type, nodeList)) {
  ------------------
  |  Branch (617:9): [True: 38, False: 610k]
  ------------------
  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|     38|        if (qualifier.sample)
  ------------------
  |  Branch (621:13): [True: 0, False: 38]
  ------------------
  622|      0|            recedeToken();
  623|       |
  624|     38|        return false;
  625|     38|    }
  626|       |
  627|       |    // type_qualifier
  628|   610k|    if (! acceptPostQualifier(qualifier))
  ------------------
  |  Branch (628:9): [True: 0, False: 610k]
  ------------------
  629|      0|       return false;
  630|       |
  631|   610k|    if (type.getBasicType() == EbtBlock) {
  ------------------
  |  Branch (631:9): [True: 0, False: 610k]
  ------------------
  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|   610k|    } else {
  644|       |        // Some qualifiers are set when parsing the type.  Merge those with
  645|       |        // whatever comes from acceptPreQualifier and acceptPostQualifier.
  646|   610k|        assert(qualifier.layoutFormat == ElfNone);
  647|       |
  648|   610k|        qualifier.layoutFormat = type.getQualifier().layoutFormat;
  649|   610k|        qualifier.precision    = type.getQualifier().precision;
  650|       |
  651|   610k|        if (type.getQualifier().storage == EvqOut ||
  ------------------
  |  Branch (651:13): [True: 0, False: 610k]
  ------------------
  652|   610k|            type.getQualifier().storage == EvqBuffer) {
  ------------------
  |  Branch (652:13): [True: 0, False: 610k]
  ------------------
  653|      0|            qualifier.storage      = type.getQualifier().storage;
  654|      0|            qualifier.readonly     = type.getQualifier().readonly;
  655|      0|        }
  656|       |
  657|   610k|        if (type.isBuiltIn())
  ------------------
  |  Branch (657:13): [True: 0, False: 610k]
  ------------------
  658|      0|            qualifier.builtIn = type.getQualifier().builtIn;
  659|       |
  660|   610k|        type.getQualifier() = qualifier;
  661|   610k|    }
  662|       |
  663|   610k|    return true;
  664|   610k|}
_ZN7glslang11HlslGrammar18acceptPreQualifierERNS_10TQualifierE:
  672|   610k|{
  673|   651k|    do {
  674|   651k|        switch (peek()) {
  675|      0|        case EHTokStatic:
  ------------------
  |  Branch (675:9): [True: 0, False: 651k]
  ------------------
  676|      0|            qualifier.storage = EvqGlobal;
  677|      0|            break;
  678|      0|        case EHTokExtern:
  ------------------
  |  Branch (678:9): [True: 0, False: 651k]
  ------------------
  679|       |            // TODO: no meaning in glslang?
  680|      0|            break;
  681|      0|        case EHTokShared:
  ------------------
  |  Branch (681:9): [True: 0, False: 651k]
  ------------------
  682|       |            // TODO: hint
  683|      0|            break;
  684|      0|        case EHTokGroupShared:
  ------------------
  |  Branch (684:9): [True: 0, False: 651k]
  ------------------
  685|      0|            qualifier.storage = EvqShared;
  686|      0|            break;
  687|      0|        case EHTokUniform:
  ------------------
  |  Branch (687:9): [True: 0, False: 651k]
  ------------------
  688|      0|            qualifier.storage = EvqUniform;
  689|      0|            break;
  690|      0|        case EHTokConst:
  ------------------
  |  Branch (690:9): [True: 0, False: 651k]
  ------------------
  691|      0|            qualifier.storage = EvqConst;
  692|      0|            break;
  693|      0|        case EHTokVolatile:
  ------------------
  |  Branch (693:9): [True: 0, False: 651k]
  ------------------
  694|      0|            qualifier.volatil = true;
  695|      0|            break;
  696|      0|        case EHTokLinear:
  ------------------
  |  Branch (696:9): [True: 0, False: 651k]
  ------------------
  697|      0|            qualifier.smooth = true;
  698|      0|            break;
  699|      0|        case EHTokCentroid:
  ------------------
  |  Branch (699:9): [True: 0, False: 651k]
  ------------------
  700|      0|            qualifier.centroid = true;
  701|      0|            break;
  702|      0|        case EHTokNointerpolation:
  ------------------
  |  Branch (702:9): [True: 0, False: 651k]
  ------------------
  703|      0|            qualifier.flat = true;
  704|      0|            break;
  705|      0|        case EHTokNoperspective:
  ------------------
  |  Branch (705:9): [True: 0, False: 651k]
  ------------------
  706|      0|            qualifier.nopersp = true;
  707|      0|            break;
  708|      0|        case EHTokSample:
  ------------------
  |  Branch (708:9): [True: 0, False: 651k]
  ------------------
  709|      0|            qualifier.sample = true;
  710|      0|            break;
  711|      0|        case EHTokRowMajor:
  ------------------
  |  Branch (711:9): [True: 0, False: 651k]
  ------------------
  712|      0|            qualifier.layoutMatrix = ElmColumnMajor;
  713|      0|            break;
  714|      0|        case EHTokColumnMajor:
  ------------------
  |  Branch (714:9): [True: 0, False: 651k]
  ------------------
  715|      0|            qualifier.layoutMatrix = ElmRowMajor;
  716|      0|            break;
  717|      0|        case EHTokPrecise:
  ------------------
  |  Branch (717:9): [True: 0, False: 651k]
  ------------------
  718|      0|            qualifier.noContraction = true;
  719|      0|            break;
  720|      0|        case EHTokIn:
  ------------------
  |  Branch (720:9): [True: 0, False: 651k]
  ------------------
  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|  40.9k|        case EHTokOut:
  ------------------
  |  Branch (725:9): [True: 40.9k, False: 610k]
  ------------------
  726|  40.9k|            qualifier.storage = (qualifier.storage == EvqIn) ? EvqInOut : EvqOut;
  ------------------
  |  Branch (726:33): [True: 0, False: 40.9k]
  ------------------
  727|  40.9k|            break;
  728|      0|        case EHTokInOut:
  ------------------
  |  Branch (728:9): [True: 0, False: 651k]
  ------------------
  729|      0|            qualifier.storage = EvqInOut;
  730|      0|            break;
  731|      0|        case EHTokLayout:
  ------------------
  |  Branch (731:9): [True: 0, False: 651k]
  ------------------
  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: 651k]
  ------------------
  736|      0|            qualifier.coherent = true;
  737|      0|            break;
  738|      0|        case EHTokInline:
  ------------------
  |  Branch (738:9): [True: 0, False: 651k]
  ------------------
  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: 651k]
  ------------------
  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: 651k]
  ------------------
  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: 651k]
  ------------------
  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: 651k]
  ------------------
  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: 651k]
  ------------------
  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|   610k|        default:
  ------------------
  |  Branch (770:9): [True: 610k, False: 40.9k]
  ------------------
  771|   610k|            return true;
  772|   651k|        }
  773|  40.9k|        advanceToken();
  774|  40.9k|    } while (true);
  ------------------
  |  Branch (774:14): [True: 40.9k, Folded]
  ------------------
  775|   610k|}
_ZN7glslang11HlslGrammar19acceptPostQualifierERNS_10TQualifierE:
  783|   610k|{
  784|   610k|    do {
  785|   610k|        switch (peek()) {
  786|      0|        case EHTokConst:
  ------------------
  |  Branch (786:9): [True: 0, False: 610k]
  ------------------
  787|      0|            qualifier.storage = EvqConst;
  788|      0|            break;
  789|   610k|        default:
  ------------------
  |  Branch (789:9): [True: 610k, False: 0]
  ------------------
  790|   610k|            return true;
  791|   610k|        }
  792|      0|        advanceToken();
  793|      0|    } while (true);
  ------------------
  |  Branch (793:14): [True: 0, Folded]
  ------------------
  794|   610k|}
_ZN7glslang11HlslGrammar22acceptSubpassInputTypeERNS_5TTypeE:
 1172|  1.12k|{
 1173|       |    // read subpass type
 1174|  1.12k|    const EHlslTokenClass subpassInputType = peek();
 1175|       |
 1176|  1.12k|    bool multisample;
 1177|       |
 1178|  1.12k|    switch (subpassInputType) {
 1179|    564|    case EHTokSubpassInput:   multisample = false; break;
  ------------------
  |  Branch (1179:5): [True: 564, False: 564]
  ------------------
 1180|    564|    case EHTokSubpassInputMS: multisample = true;  break;
  ------------------
  |  Branch (1180:5): [True: 564, False: 564]
  ------------------
 1181|      0|    default:
  ------------------
  |  Branch (1181:5): [True: 0, False: 1.12k]
  ------------------
 1182|      0|        return false;  // not a subpass input declaration
 1183|  1.12k|    }
 1184|       |
 1185|  1.12k|    advanceToken();  // consume the sampler type keyword
 1186|       |
 1187|  1.12k|    TType subpassType(EbtFloat, EvqUniform, 4); // default type is float4
 1188|       |
 1189|  1.12k|    if (acceptTokenClass(EHTokLeftAngle)) {
  ------------------
  |  Branch (1189:9): [True: 1.12k, False: 0]
  ------------------
 1190|  1.12k|        if (! acceptType(subpassType)) {
  ------------------
  |  Branch (1190:13): [True: 0, False: 1.12k]
  ------------------
 1191|      0|            expected("scalar or vector type");
 1192|      0|            return false;
 1193|      0|        }
 1194|       |
 1195|  1.12k|        const TBasicType basicRetType = subpassType.getBasicType() ;
 1196|       |
 1197|  1.12k|        switch (basicRetType) {
 1198|    376|        case EbtFloat:
  ------------------
  |  Branch (1198:9): [True: 376, False: 752]
  ------------------
 1199|    752|        case EbtUint:
  ------------------
  |  Branch (1199:9): [True: 376, False: 752]
  ------------------
 1200|  1.12k|        case EbtInt:
  ------------------
  |  Branch (1200:9): [True: 376, False: 752]
  ------------------
 1201|  1.12k|        case EbtStruct:
  ------------------
  |  Branch (1201:9): [True: 0, False: 1.12k]
  ------------------
 1202|  1.12k|            break;
 1203|      0|        default:
  ------------------
  |  Branch (1203:9): [True: 0, False: 1.12k]
  ------------------
 1204|      0|            unimplemented("basic type in subpass input");
 1205|      0|            return false;
 1206|  1.12k|        }
 1207|       |
 1208|  1.12k|        if (! acceptTokenClass(EHTokRightAngle)) {
  ------------------
  |  Branch (1208:13): [True: 0, False: 1.12k]
  ------------------
 1209|      0|            expected("right angle bracket");
 1210|      0|            return false;
 1211|      0|        }
 1212|  1.12k|    }
 1213|       |
 1214|  1.12k|    const TBasicType subpassBasicType = (subpassType.isStruct() && !subpassType.getStruct()->empty())
  ------------------
  |  Branch (1214:42): [True: 0, False: 1.12k]
  |  Branch (1214:68): [True: 0, False: 0]
  ------------------
 1215|  1.12k|        ? (*subpassType.getStruct())[0].type->getBasicType()
 1216|  1.12k|        : subpassType.getBasicType();
 1217|       |
 1218|  1.12k|    TSampler sampler;
 1219|  1.12k|    sampler.setSubpass(subpassBasicType, multisample);
 1220|       |
 1221|       |    // Remember the declared return type.  Function returns false on error.
 1222|  1.12k|    if (!parseContext.setTextureReturnType(sampler, subpassType, token.loc))
  ------------------
  |  Branch (1222:9): [True: 0, False: 1.12k]
  ------------------
 1223|      0|        return false;
 1224|       |
 1225|  1.12k|    type.shallowCopy(TType(sampler, EvqUniform));
 1226|       |
 1227|  1.12k|    return true;
 1228|  1.12k|}
_ZN7glslang11HlslGrammar17acceptSamplerTypeERNS_5TTypeE:
 1282|  29.3k|{
 1283|       |    // read sampler type
 1284|  29.3k|    const EHlslTokenClass samplerType = peek();
 1285|       |
 1286|       |    // TODO: for DX9
 1287|       |    // TSamplerDim dim = EsdNone;
 1288|       |
 1289|  29.3k|    bool isShadow = false;
 1290|       |
 1291|  29.3k|    switch (samplerType) {
 1292|  17.2k|    case EHTokSampler:      break;
  ------------------
  |  Branch (1292:5): [True: 17.2k, False: 12.1k]
  ------------------
 1293|      0|    case EHTokSampler1d:    /*dim = Esd1D*/; break;
  ------------------
  |  Branch (1293:5): [True: 0, False: 29.3k]
  ------------------
 1294|    282|    case EHTokSampler2d:    /*dim = Esd2D*/; break;
  ------------------
  |  Branch (1294:5): [True: 282, False: 29.0k]
  ------------------
 1295|    282|    case EHTokSampler3d:    /*dim = Esd3D*/; break;
  ------------------
  |  Branch (1295:5): [True: 282, False: 29.0k]
  ------------------
 1296|    282|    case EHTokSamplerCube:  /*dim = EsdCube*/; break;
  ------------------
  |  Branch (1296:5): [True: 282, False: 29.0k]
  ------------------
 1297|      0|    case EHTokSamplerState: break;
  ------------------
  |  Branch (1297:5): [True: 0, False: 29.3k]
  ------------------
 1298|  11.2k|    case EHTokSamplerComparisonState: isShadow = true; break;
  ------------------
  |  Branch (1298:5): [True: 11.2k, False: 18.0k]
  ------------------
 1299|      0|    default:
  ------------------
  |  Branch (1299:5): [True: 0, False: 29.3k]
  ------------------
 1300|      0|        return false;  // not a sampler declaration
 1301|  29.3k|    }
 1302|       |
 1303|  29.3k|    advanceToken();  // consume the sampler type keyword
 1304|       |
 1305|  29.3k|    TArraySizes* arraySizes = nullptr; // TODO: array
 1306|       |
 1307|  29.3k|    TSampler sampler;
 1308|  29.3k|    sampler.setPureSampler(isShadow);
 1309|       |
 1310|  29.3k|    type.shallowCopy(TType(sampler, EvqUniform, arraySizes));
 1311|       |
 1312|  29.3k|    return true;
 1313|  29.3k|}
_ZN7glslang11HlslGrammar17acceptTextureTypeERNS_5TTypeE:
 1334|  37.0k|{
 1335|  37.0k|    const EHlslTokenClass textureType = peek();
 1336|       |
 1337|  37.0k|    TSamplerDim dim = EsdNone;
 1338|  37.0k|    bool array = false;
 1339|  37.0k|    bool ms    = false;
 1340|  37.0k|    bool image = false;
 1341|  37.0k|    bool combined = true;
 1342|       |
 1343|  37.0k|    switch (textureType) {
 1344|    141|    case EHTokBuffer:            dim = EsdBuffer; combined = false;    break;
  ------------------
  |  Branch (1344:5): [True: 141, False: 36.9k]
  ------------------
 1345|  2.82k|    case EHTokTexture1d:         dim = Esd1D;                          break;
  ------------------
  |  Branch (1345:5): [True: 2.82k, False: 34.2k]
  ------------------
 1346|  2.82k|    case EHTokTexture1darray:    dim = Esd1D; array = true;            break;
  ------------------
  |  Branch (1346:5): [True: 2.82k, False: 34.2k]
  ------------------
 1347|  9.44k|    case EHTokTexture2d:         dim = Esd2D;                          break;
  ------------------
  |  Branch (1347:5): [True: 9.44k, False: 27.6k]
  ------------------
 1348|  9.44k|    case EHTokTexture2darray:    dim = Esd2D; array = true;            break;
  ------------------
  |  Branch (1348:5): [True: 9.44k, False: 27.6k]
  ------------------
 1349|  2.25k|    case EHTokTexture3d:         dim = Esd3D;                          break;
  ------------------
  |  Branch (1349:5): [True: 2.25k, False: 34.8k]
  ------------------
 1350|  3.10k|    case EHTokTextureCube:       dim = EsdCube;                        break;
  ------------------
  |  Branch (1350:5): [True: 3.10k, False: 33.9k]
  ------------------
 1351|  3.10k|    case EHTokTextureCubearray:  dim = EsdCube; array = true;          break;
  ------------------
  |  Branch (1351:5): [True: 3.10k, False: 33.9k]
  ------------------
 1352|    705|    case EHTokTexture2DMS:       dim = Esd2D; ms = true;               break;
  ------------------
  |  Branch (1352:5): [True: 705, False: 36.3k]
  ------------------
 1353|    705|    case EHTokTexture2DMSarray:  dim = Esd2D; array = true; ms = true; break;
  ------------------
  |  Branch (1353:5): [True: 705, False: 36.3k]
  ------------------
 1354|    423|    case EHTokRWBuffer:          dim = EsdBuffer; image=true;          break;
  ------------------
  |  Branch (1354:5): [True: 423, False: 36.6k]
  ------------------
 1355|    423|    case EHTokRWTexture1d:       dim = Esd1D; array=false; image=true; break;
  ------------------
  |  Branch (1355:5): [True: 423, False: 36.6k]
  ------------------
 1356|    423|    case EHTokRWTexture1darray:  dim = Esd1D; array=true;  image=true; break;
  ------------------
  |  Branch (1356:5): [True: 423, False: 36.6k]
  ------------------
 1357|    423|    case EHTokRWTexture2d:       dim = Esd2D; array=false; image=true; break;
  ------------------
  |  Branch (1357:5): [True: 423, False: 36.6k]
  ------------------
 1358|    423|    case EHTokRWTexture2darray:  dim = Esd2D; array=true;  image=true; break;
  ------------------
  |  Branch (1358:5): [True: 423, False: 36.6k]
  ------------------
 1359|    423|    case EHTokRWTexture3d:       dim = Esd3D; array=false; image=true; break;
  ------------------
  |  Branch (1359:5): [True: 423, False: 36.6k]
  ------------------
 1360|      0|    default:
  ------------------
  |  Branch (1360:5): [True: 0, False: 37.0k]
  ------------------
 1361|      0|        return false;  // not a texture declaration
 1362|  37.0k|    }
 1363|       |
 1364|  37.0k|    advanceToken();  // consume the texture object keyword
 1365|       |
 1366|  37.0k|    TType txType(EbtFloat, EvqUniform, 4); // default type is float4
 1367|       |
 1368|  37.0k|    TIntermTyped* msCount = nullptr;
 1369|       |
 1370|       |    // texture type: required for multisample types and RWBuffer/RWTextures!
 1371|  37.0k|    if (acceptTokenClass(EHTokLeftAngle)) {
  ------------------
  |  Branch (1371:9): [True: 37.0k, False: 0]
  ------------------
 1372|  37.0k|        if (! acceptType(txType)) {
  ------------------
  |  Branch (1372:13): [True: 0, False: 37.0k]
  ------------------
 1373|      0|            expected("scalar or vector type");
 1374|      0|            return false;
 1375|      0|        }
 1376|       |
 1377|  37.0k|        const TBasicType basicRetType = txType.getBasicType() ;
 1378|       |
 1379|  37.0k|        switch (basicRetType) {
 1380|  12.3k|        case EbtFloat:
  ------------------
  |  Branch (1380:9): [True: 12.3k, False: 24.7k]
  ------------------
 1381|  24.7k|        case EbtUint:
  ------------------
  |  Branch (1381:9): [True: 12.3k, False: 24.7k]
  ------------------
 1382|  37.0k|        case EbtInt:
  ------------------
  |  Branch (1382:9): [True: 12.3k, False: 24.7k]
  ------------------
 1383|  37.0k|        case EbtStruct:
  ------------------
  |  Branch (1383:9): [True: 0, False: 37.0k]
  ------------------
 1384|  37.0k|            break;
 1385|      0|        default:
  ------------------
  |  Branch (1385:9): [True: 0, False: 37.0k]
  ------------------
 1386|      0|            unimplemented("basic type in texture");
 1387|      0|            return false;
 1388|  37.0k|        }
 1389|       |
 1390|       |        // Buffers can handle small mats if they fit in 4 components
 1391|  37.0k|        if (dim == EsdBuffer && txType.isMatrix()) {
  ------------------
  |  Branch (1391:13): [True: 564, False: 36.5k]
  |  Branch (1391:33): [True: 0, False: 564]
  ------------------
 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|  37.0k|        if (!txType.isScalar() && !txType.isVector() && !txType.isStruct()) {
  ------------------
  |  Branch (1402:13): [True: 37.0k, False: 0]
  |  Branch (1402:35): [True: 0, False: 37.0k]
  |  Branch (1402:57): [True: 0, False: 0]
  ------------------
 1403|      0|            expected("scalar, vector, or struct type");
 1404|      0|            return false;
 1405|      0|        }
 1406|       |
 1407|  37.0k|        if (ms && acceptTokenClass(EHTokComma)) {
  ------------------
  |  Branch (1407:13): [True: 1.41k, False: 35.6k]
  |  Branch (1407:19): [True: 0, False: 1.41k]
  ------------------
 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|  37.0k|        if (! acceptTokenClass(EHTokRightAngle)) {
  ------------------
  |  Branch (1418:13): [True: 0, False: 37.0k]
  ------------------
 1419|      0|            expected("right angle bracket");
 1420|      0|            return false;
 1421|      0|        }
 1422|  37.0k|    } 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|  37.0k|    TArraySizes* arraySizes = nullptr;
 1431|  37.0k|    const bool shadow = false; // declared on the sampler
 1432|       |
 1433|  37.0k|    TSampler sampler;
 1434|  37.0k|    TLayoutFormat format = ElfNone;
 1435|       |
 1436|       |    // Buffer, RWBuffer and RWTexture (images) require a TLayoutFormat.  We handle only a limit set.
 1437|  37.0k|    if (image || dim == EsdBuffer)
  ------------------
  |  Branch (1437:9): [True: 2.53k, False: 34.5k]
  |  Branch (1437:18): [True: 141, False: 34.4k]
  ------------------
 1438|  2.67k|        format = parseContext.getLayoutFromTxType(token.loc, txType);
 1439|       |
 1440|  37.0k|    const TBasicType txBasicType = (txType.isStruct() && !txType.getStruct()->empty())
  ------------------
  |  Branch (1440:37): [True: 0, False: 37.0k]
  |  Branch (1440:58): [True: 0, False: 0]
  ------------------
 1441|  37.0k|        ? (*txType.getStruct())[0].type->getBasicType()
 1442|  37.0k|        : txType.getBasicType();
 1443|       |
 1444|       |    // Non-image Buffers are combined
 1445|  37.0k|    if (dim == EsdBuffer && !image) {
  ------------------
  |  Branch (1445:9): [True: 564, False: 36.5k]
  |  Branch (1445:29): [True: 141, False: 423]
  ------------------
 1446|    141|        sampler.set(txType.getBasicType(), dim, array);
 1447|  36.9k|    } else {
 1448|       |        // DX10 textures are separated.  TODO: DX9.
 1449|  36.9k|        if (image) {
  ------------------
  |  Branch (1449:13): [True: 2.53k, False: 34.4k]
  ------------------
 1450|  2.53k|            sampler.setImage(txBasicType, dim, array, shadow, ms);
 1451|  34.4k|        } else {
 1452|  34.4k|            sampler.setTexture(txBasicType, dim, array, shadow, ms);
 1453|  34.4k|        }
 1454|  36.9k|    }
 1455|       |
 1456|       |    // Remember the declared return type.  Function returns false on error.
 1457|  37.0k|    if (!parseContext.setTextureReturnType(sampler, txType, token.loc))
  ------------------
  |  Branch (1457:9): [True: 0, False: 37.0k]
  ------------------
 1458|      0|        return false;
 1459|       |
 1460|       |    // Force uncombined, if necessary
 1461|  37.0k|    if (!combined)
  ------------------
  |  Branch (1461:9): [True: 141, False: 36.9k]
  ------------------
 1462|    141|        sampler.combined = false;
 1463|       |
 1464|  37.0k|    type.shallowCopy(TType(sampler, EvqUniform, arraySizes));
 1465|  37.0k|    type.getQualifier().layoutFormat = format;
 1466|       |
 1467|  37.0k|    return true;
 1468|  37.0k|}
_ZN7glslang11HlslGrammar10acceptTypeERNS_5TTypeE:
 1474|  38.2k|{
 1475|  38.2k|    TIntermNode* nodeList = nullptr;
 1476|  38.2k|    return acceptType(type, nodeList);
 1477|  38.2k|}
_ZN7glslang11HlslGrammar10acceptTypeERNS_5TTypeERP11TIntermNode:
 1479|   649k|{
 1480|       |    // Basic types for min* types, use native halfs if the option allows them.
 1481|   649k|    bool enable16BitTypes = parseContext.hlslEnable16BitTypes();
 1482|       |
 1483|   649k|    const TBasicType min16float_bt = enable16BitTypes ? EbtFloat16 : EbtFloat;
  ------------------
  |  Branch (1483:38): [True: 38, False: 649k]
  ------------------
 1484|   649k|    const TBasicType min10float_bt = enable16BitTypes ? EbtFloat16 : EbtFloat;
  ------------------
  |  Branch (1484:38): [True: 38, False: 649k]
  ------------------
 1485|   649k|    const TBasicType half_bt       = enable16BitTypes ? EbtFloat16 : EbtFloat;
  ------------------
  |  Branch (1485:38): [True: 38, False: 649k]
  ------------------
 1486|   649k|    const TBasicType min16int_bt   = enable16BitTypes ? EbtInt16   : EbtInt;
  ------------------
  |  Branch (1486:38): [True: 38, False: 649k]
  ------------------
 1487|   649k|    const TBasicType min12int_bt   = enable16BitTypes ? EbtInt16   : EbtInt;
  ------------------
  |  Branch (1487:38): [True: 38, False: 649k]
  ------------------
 1488|   649k|    const TBasicType min16uint_bt  = enable16BitTypes ? EbtUint16  : EbtUint;
  ------------------
  |  Branch (1488:38): [True: 38, False: 649k]
  ------------------
 1489|       |
 1490|       |    // Some types might have turned into identifiers. Take the hit for checking
 1491|       |    // when this has happened.
 1492|   649k|    if (typeIdentifiers) {
  ------------------
  |  Branch (1492:9): [True: 0, False: 649k]
  ------------------
 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|   649k|    bool isUnorm = false;
 1503|   649k|    bool isSnorm = false;
 1504|       |
 1505|       |    // Accept snorm and unorm.  Presently, this is ignored, save for an error check below.
 1506|   649k|    switch (peek()) {
 1507|      0|    case EHTokUnorm:
  ------------------
  |  Branch (1507:5): [True: 0, False: 649k]
  ------------------
 1508|      0|        isUnorm = true;
 1509|      0|        advanceToken();  // eat the token
 1510|      0|        break;
 1511|      0|    case EHTokSNorm:
  ------------------
  |  Branch (1511:5): [True: 0, False: 649k]
  ------------------
 1512|      0|        isSnorm = true;
 1513|      0|        advanceToken();  // eat the token
 1514|      0|        break;
 1515|   649k|    default:
  ------------------
  |  Branch (1515:5): [True: 649k, False: 0]
  ------------------
 1516|   649k|        break;
 1517|   649k|    }
 1518|       |
 1519|   649k|    switch (peek()) {
 1520|      0|    case EHTokVector:
  ------------------
  |  Branch (1520:5): [True: 0, False: 649k]
  ------------------
 1521|      0|        return acceptVectorTemplateType(type);
 1522|      0|        break;
 1523|       |
 1524|      0|    case EHTokMatrix:
  ------------------
  |  Branch (1524:5): [True: 0, False: 649k]
  ------------------
 1525|      0|        return acceptMatrixTemplateType(type);
 1526|      0|        break;
 1527|       |
 1528|      0|    case EHTokPointStream:            // fall through
  ------------------
  |  Branch (1528:5): [True: 0, False: 649k]
  ------------------
 1529|      0|    case EHTokLineStream:             // ...
  ------------------
  |  Branch (1529:5): [True: 0, False: 649k]
  ------------------
 1530|      0|    case EHTokTriangleStream:         // ...
  ------------------
  |  Branch (1530:5): [True: 0, False: 649k]
  ------------------
 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: 649k]
  ------------------
 1543|      0|    case EHTokOutputPatch:            // ...
  ------------------
  |  Branch (1543:5): [True: 0, False: 649k]
  ------------------
 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|  17.2k|    case EHTokSampler:                // fall through
  ------------------
  |  Branch (1551:5): [True: 17.2k, False: 631k]
  ------------------
 1552|  17.2k|    case EHTokSampler1d:              // ...
  ------------------
  |  Branch (1552:5): [True: 0, False: 649k]
  ------------------
 1553|  17.4k|    case EHTokSampler2d:              // ...
  ------------------
  |  Branch (1553:5): [True: 282, False: 648k]
  ------------------
 1554|  17.7k|    case EHTokSampler3d:              // ...
  ------------------
  |  Branch (1554:5): [True: 282, False: 648k]
  ------------------
 1555|  18.0k|    case EHTokSamplerCube:            // ...
  ------------------
  |  Branch (1555:5): [True: 282, False: 648k]
  ------------------
 1556|  18.0k|        if (parseContext.hlslDX9Compatible())
  ------------------
  |  Branch (1556:13): [True: 0, False: 18.0k]
  ------------------
 1557|      0|            return acceptSamplerTypeDX9(type);
 1558|  18.0k|        else
 1559|  18.0k|            return acceptSamplerType(type);
 1560|      0|        break;
 1561|       |
 1562|      0|    case EHTokSamplerState:           // fall through
  ------------------
  |  Branch (1562:5): [True: 0, False: 649k]
  ------------------
 1563|  11.2k|    case EHTokSamplerComparisonState: // ...
  ------------------
  |  Branch (1563:5): [True: 11.2k, False: 637k]
  ------------------
 1564|  11.2k|        return acceptSamplerType(type);
 1565|      0|        break;
 1566|       |
 1567|    564|    case EHTokSubpassInput:           // fall through
  ------------------
  |  Branch (1567:5): [True: 564, False: 648k]
  ------------------
 1568|  1.12k|    case EHTokSubpassInputMS:         // ...
  ------------------
  |  Branch (1568:5): [True: 564, False: 648k]
  ------------------
 1569|  1.12k|        return acceptSubpassInputType(type);
 1570|      0|        break;
 1571|       |
 1572|    141|    case EHTokBuffer:                 // fall through
  ------------------
  |  Branch (1572:5): [True: 141, False: 649k]
  ------------------
 1573|  2.96k|    case EHTokTexture1d:              // ...
  ------------------
  |  Branch (1573:5): [True: 2.82k, False: 646k]
  ------------------
 1574|  5.78k|    case EHTokTexture1darray:         // ...
  ------------------
  |  Branch (1574:5): [True: 2.82k, False: 646k]
  ------------------
 1575|  15.2k|    case EHTokTexture2d:              // ...
  ------------------
  |  Branch (1575:5): [True: 9.44k, False: 639k]
  ------------------
 1576|  24.6k|    case EHTokTexture2darray:         // ...
  ------------------
  |  Branch (1576:5): [True: 9.44k, False: 639k]
  ------------------
 1577|  26.9k|    case EHTokTexture3d:              // ...
  ------------------
  |  Branch (1577:5): [True: 2.25k, False: 646k]
  ------------------
 1578|  30.0k|    case EHTokTextureCube:            // ...
  ------------------
  |  Branch (1578:5): [True: 3.10k, False: 646k]
  ------------------
 1579|  33.1k|    case EHTokTextureCubearray:       // ...
  ------------------
  |  Branch (1579:5): [True: 3.10k, False: 646k]
  ------------------
 1580|  33.8k|    case EHTokTexture2DMS:            // ...
  ------------------
  |  Branch (1580:5): [True: 705, False: 648k]
  ------------------
 1581|  34.5k|    case EHTokTexture2DMSarray:       // ...
  ------------------
  |  Branch (1581:5): [True: 705, False: 648k]
  ------------------
 1582|  34.9k|    case EHTokRWTexture1d:            // ...
  ------------------
  |  Branch (1582:5): [True: 423, False: 648k]
  ------------------
 1583|  35.3k|    case EHTokRWTexture1darray:       // ...
  ------------------
  |  Branch (1583:5): [True: 423, False: 648k]
  ------------------
 1584|  35.8k|    case EHTokRWTexture2d:            // ...
  ------------------
  |  Branch (1584:5): [True: 423, False: 648k]
  ------------------
 1585|  36.2k|    case EHTokRWTexture2darray:       // ...
  ------------------
  |  Branch (1585:5): [True: 423, False: 648k]
  ------------------
 1586|  36.6k|    case EHTokRWTexture3d:            // ...
  ------------------
  |  Branch (1586:5): [True: 423, False: 648k]
  ------------------
 1587|  37.0k|    case EHTokRWBuffer:               // ...
  ------------------
  |  Branch (1587:5): [True: 423, False: 648k]
  ------------------
 1588|  37.0k|        return acceptTextureType(type);
 1589|      0|        break;
 1590|       |
 1591|      0|    case EHTokAppendStructuredBuffer:
  ------------------
  |  Branch (1591:5): [True: 0, False: 649k]
  ------------------
 1592|      0|    case EHTokByteAddressBuffer:
  ------------------
  |  Branch (1592:5): [True: 0, False: 649k]
  ------------------
 1593|      0|    case EHTokConsumeStructuredBuffer:
  ------------------
  |  Branch (1593:5): [True: 0, False: 649k]
  ------------------
 1594|      0|    case EHTokRWByteAddressBuffer:
  ------------------
  |  Branch (1594:5): [True: 0, False: 649k]
  ------------------
 1595|      0|    case EHTokRWStructuredBuffer:
  ------------------
  |  Branch (1595:5): [True: 0, False: 649k]
  ------------------
 1596|      0|    case EHTokStructuredBuffer:
  ------------------
  |  Branch (1596:5): [True: 0, False: 649k]
  ------------------
 1597|      0|        return acceptStructBufferType(type);
 1598|      0|        break;
 1599|       |
 1600|      0|    case EHTokTextureBuffer:
  ------------------
  |  Branch (1600:5): [True: 0, False: 649k]
  ------------------
 1601|      0|        return acceptTextureBufferType(type);
 1602|      0|        break;
 1603|       |
 1604|      0|    case EHTokConstantBuffer:
  ------------------
  |  Branch (1604:5): [True: 0, False: 649k]
  ------------------
 1605|      0|        return acceptConstantBufferType(type);
 1606|       |
 1607|      0|    case EHTokClass:
  ------------------
  |  Branch (1607:5): [True: 0, False: 649k]
  ------------------
 1608|      0|    case EHTokStruct:
  ------------------
  |  Branch (1608:5): [True: 0, False: 649k]
  ------------------
 1609|      0|    case EHTokCBuffer:
  ------------------
  |  Branch (1609:5): [True: 0, False: 649k]
  ------------------
 1610|      0|    case EHTokTBuffer:
  ------------------
  |  Branch (1610:5): [True: 0, False: 649k]
  ------------------
 1611|      0|        return acceptStruct(type, nodeList);
 1612|       |
 1613|     22|    case EHTokIdentifier:
  ------------------
  |  Branch (1613:5): [True: 22, False: 649k]
  ------------------
 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|     22|        if (parseContext.lookupUserType(*token.string, type) != nullptr) {
  ------------------
  |  Branch (1617:13): [True: 0, False: 22]
  ------------------
 1618|      0|            advanceToken();
 1619|      0|            return true;
 1620|      0|        } else
 1621|     22|            return false;
 1622|       |
 1623|  41.9k|    case EHTokVoid:
  ------------------
  |  Branch (1623:5): [True: 41.9k, False: 607k]
  ------------------
 1624|  41.9k|        new(&type) TType(EbtVoid);
 1625|  41.9k|        break;
 1626|       |
 1627|      0|    case EHTokString:
  ------------------
  |  Branch (1627:5): [True: 0, False: 649k]
  ------------------
 1628|      0|        new(&type) TType(EbtString);
 1629|      0|        break;
 1630|       |
 1631|  44.4k|    case EHTokFloat:
  ------------------
  |  Branch (1631:5): [True: 44.4k, False: 604k]
  ------------------
 1632|  44.4k|        new(&type) TType(EbtFloat);
 1633|  44.4k|        break;
 1634|  3.66k|    case EHTokFloat1:
  ------------------
  |  Branch (1634:5): [True: 3.66k, False: 645k]
  ------------------
 1635|  3.66k|        new(&type) TType(EbtFloat);
 1636|  3.66k|        type.makeVector();
 1637|  3.66k|        break;
 1638|  30.2k|    case EHTokFloat2:
  ------------------
  |  Branch (1638:5): [True: 30.2k, False: 618k]
  ------------------
 1639|  30.2k|        new(&type) TType(EbtFloat, EvqTemporary, 2);
 1640|  30.2k|        break;
 1641|  25.8k|    case EHTokFloat3:
  ------------------
  |  Branch (1641:5): [True: 25.8k, False: 623k]
  ------------------
 1642|  25.8k|        new(&type) TType(EbtFloat, EvqTemporary, 3);
 1643|  25.8k|        break;
 1644|  26.9k|    case EHTokFloat4:
  ------------------
  |  Branch (1644:5): [True: 26.9k, False: 622k]
  ------------------
 1645|  26.9k|        new(&type) TType(EbtFloat, EvqTemporary, 4);
 1646|  26.9k|        break;
 1647|       |
 1648|  2.11k|    case EHTokDouble:
  ------------------
  |  Branch (1648:5): [True: 2.11k, False: 647k]
  ------------------
 1649|  2.11k|        new(&type) TType(EbtDouble);
 1650|  2.11k|        break;
 1651|      0|    case EHTokDouble1:
  ------------------
  |  Branch (1651:5): [True: 0, False: 649k]
  ------------------
 1652|      0|        new(&type) TType(EbtDouble);
 1653|      0|        type.makeVector();
 1654|      0|        break;
 1655|  2.11k|    case EHTokDouble2:
  ------------------
  |  Branch (1655:5): [True: 2.11k, False: 647k]
  ------------------
 1656|  2.11k|        new(&type) TType(EbtDouble, EvqTemporary, 2);
 1657|  2.11k|        break;
 1658|  2.02k|    case EHTokDouble3:
  ------------------
  |  Branch (1658:5): [True: 2.02k, False: 647k]
  ------------------
 1659|  2.02k|        new(&type) TType(EbtDouble, EvqTemporary, 3);
 1660|  2.02k|        break;
 1661|  2.02k|    case EHTokDouble4:
  ------------------
  |  Branch (1661:5): [True: 2.02k, False: 647k]
  ------------------
 1662|  2.02k|        new(&type) TType(EbtDouble, EvqTemporary, 4);
 1663|  2.02k|        break;
 1664|       |
 1665|  11.9k|    case EHTokInt:
  ------------------
  |  Branch (1665:5): [True: 11.9k, False: 637k]
  ------------------
 1666|  11.9k|    case EHTokDword:
  ------------------
  |  Branch (1666:5): [True: 0, False: 649k]
  ------------------
 1667|  11.9k|        new(&type) TType(EbtInt);
 1668|  11.9k|        break;
 1669|  2.53k|    case EHTokInt1:
  ------------------
  |  Branch (1669:5): [True: 2.53k, False: 646k]
  ------------------
 1670|  2.53k|        new(&type) TType(EbtInt);
 1671|  2.53k|        type.makeVector();
 1672|  2.53k|        break;
 1673|  42.0k|    case EHTokInt2:
  ------------------
  |  Branch (1673:5): [True: 42.0k, False: 607k]
  ------------------
 1674|  42.0k|        new(&type) TType(EbtInt, EvqTemporary, 2);
 1675|  42.0k|        break;
 1676|  8.31k|    case EHTokInt3:
  ------------------
  |  Branch (1676:5): [True: 8.31k, False: 640k]
  ------------------
 1677|  8.31k|        new(&type) TType(EbtInt, EvqTemporary, 3);
 1678|  8.31k|        break;
 1679|  17.2k|    case EHTokInt4:
  ------------------
  |  Branch (1679:5): [True: 17.2k, False: 631k]
  ------------------
 1680|  17.2k|        new(&type) TType(EbtInt, EvqTemporary, 4);
 1681|  17.2k|        break;
 1682|       |
 1683|  23.7k|    case EHTokUint:
  ------------------
  |  Branch (1683:5): [True: 23.7k, False: 625k]
  ------------------
 1684|  23.7k|        new(&type) TType(EbtUint);
 1685|  23.7k|        break;
 1686|  2.44k|    case EHTokUint1:
  ------------------
  |  Branch (1686:5): [True: 2.44k, False: 646k]
  ------------------
 1687|  2.44k|        new(&type) TType(EbtUint);
 1688|  2.44k|        type.makeVector();
 1689|  2.44k|        break;
 1690|  12.5k|    case EHTokUint2:
  ------------------
  |  Branch (1690:5): [True: 12.5k, False: 636k]
  ------------------
 1691|  12.5k|        new(&type) TType(EbtUint, EvqTemporary, 2);
 1692|  12.5k|        break;
 1693|  6.11k|    case EHTokUint3:
  ------------------
  |  Branch (1693:5): [True: 6.11k, False: 643k]
  ------------------
 1694|  6.11k|        new(&type) TType(EbtUint, EvqTemporary, 3);
 1695|  6.11k|        break;
 1696|  16.6k|    case EHTokUint4:
  ------------------
  |  Branch (1696:5): [True: 16.6k, False: 632k]
  ------------------
 1697|  16.6k|        new(&type) TType(EbtUint, EvqTemporary, 4);
 1698|  16.6k|        break;
 1699|       |
 1700|      0|    case EHTokUint64:
  ------------------
  |  Branch (1700:5): [True: 0, False: 649k]
  ------------------
 1701|      0|        new(&type) TType(EbtUint64);
 1702|      0|        break;
 1703|       |
 1704|  9.07k|    case EHTokBool:
  ------------------
  |  Branch (1704:5): [True: 9.07k, False: 640k]
  ------------------
 1705|  9.07k|        new(&type) TType(EbtBool);
 1706|  9.07k|        break;
 1707|      0|    case EHTokBool1:
  ------------------
  |  Branch (1707:5): [True: 0, False: 649k]
  ------------------
 1708|      0|        new(&type) TType(EbtBool);
 1709|      0|        type.makeVector();
 1710|      0|        break;
 1711|    282|    case EHTokBool2:
  ------------------
  |  Branch (1711:5): [True: 282, False: 648k]
  ------------------
 1712|    282|        new(&type) TType(EbtBool, EvqTemporary, 2);
 1713|    282|        break;
 1714|    282|    case EHTokBool3:
  ------------------
  |  Branch (1714:5): [True: 282, False: 648k]
  ------------------
 1715|    282|        new(&type) TType(EbtBool, EvqTemporary, 3);
 1716|    282|        break;
 1717|    282|    case EHTokBool4:
  ------------------
  |  Branch (1717:5): [True: 282, False: 648k]
  ------------------
 1718|    282|        new(&type) TType(EbtBool, EvqTemporary, 4);
 1719|    282|        break;
 1720|       |
 1721|      0|    case EHTokHalf:
  ------------------
  |  Branch (1721:5): [True: 0, False: 649k]
  ------------------
 1722|      0|        new(&type) TType(half_bt, EvqTemporary);
 1723|      0|        break;
 1724|      0|    case EHTokHalf1:
  ------------------
  |  Branch (1724:5): [True: 0, False: 649k]
  ------------------
 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: 649k]
  ------------------
 1729|      0|        new(&type) TType(half_bt, EvqTemporary, 2);
 1730|      0|        break;
 1731|      0|    case EHTokHalf3:
  ------------------
  |  Branch (1731:5): [True: 0, False: 649k]
  ------------------
 1732|      0|        new(&type) TType(half_bt, EvqTemporary, 3);
 1733|      0|        break;
 1734|      0|    case EHTokHalf4:
  ------------------
  |  Branch (1734:5): [True: 0, False: 649k]
  ------------------
 1735|      0|        new(&type) TType(half_bt, EvqTemporary, 4);
 1736|      0|        break;
 1737|       |
 1738|      0|    case EHTokMin16float:
  ------------------
  |  Branch (1738:5): [True: 0, False: 649k]
  ------------------
 1739|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium);
 1740|      0|        break;
 1741|      0|    case EHTokMin16float1:
  ------------------
  |  Branch (1741:5): [True: 0, False: 649k]
  ------------------
 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: 649k]
  ------------------
 1746|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 2);
 1747|      0|        break;
 1748|      0|    case EHTokMin16float3:
  ------------------
  |  Branch (1748:5): [True: 0, False: 649k]
  ------------------
 1749|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 3);
 1750|      0|        break;
 1751|      0|    case EHTokMin16float4:
  ------------------
  |  Branch (1751:5): [True: 0, False: 649k]
  ------------------
 1752|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 4);
 1753|      0|        break;
 1754|       |
 1755|      0|    case EHTokMin10float:
  ------------------
  |  Branch (1755:5): [True: 0, False: 649k]
  ------------------
 1756|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium);
 1757|      0|        break;
 1758|      0|    case EHTokMin10float1:
  ------------------
  |  Branch (1758:5): [True: 0, False: 649k]
  ------------------
 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: 649k]
  ------------------
 1763|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 2);
 1764|      0|        break;
 1765|      0|    case EHTokMin10float3:
  ------------------
  |  Branch (1765:5): [True: 0, False: 649k]
  ------------------
 1766|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 3);
 1767|      0|        break;
 1768|      0|    case EHTokMin10float4:
  ------------------
  |  Branch (1768:5): [True: 0, False: 649k]
  ------------------
 1769|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 4);
 1770|      0|        break;
 1771|       |
 1772|      0|    case EHTokMin16int:
  ------------------
  |  Branch (1772:5): [True: 0, False: 649k]
  ------------------
 1773|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium);
 1774|      0|        break;
 1775|      0|    case EHTokMin16int1:
  ------------------
  |  Branch (1775:5): [True: 0, False: 649k]
  ------------------
 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: 649k]
  ------------------
 1780|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 2);
 1781|      0|        break;
 1782|      0|    case EHTokMin16int3:
  ------------------
  |  Branch (1782:5): [True: 0, False: 649k]
  ------------------
 1783|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 3);
 1784|      0|        break;
 1785|      0|    case EHTokMin16int4:
  ------------------
  |  Branch (1785:5): [True: 0, False: 649k]
  ------------------
 1786|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 4);
 1787|      0|        break;
 1788|       |
 1789|      0|    case EHTokMin12int:
  ------------------
  |  Branch (1789:5): [True: 0, False: 649k]
  ------------------
 1790|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium);
 1791|      0|        break;
 1792|      0|    case EHTokMin12int1:
  ------------------
  |  Branch (1792:5): [True: 0, False: 649k]
  ------------------
 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: 649k]
  ------------------
 1797|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 2);
 1798|      0|        break;
 1799|      0|    case EHTokMin12int3:
  ------------------
  |  Branch (1799:5): [True: 0, False: 649k]
  ------------------
 1800|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 3);
 1801|      0|        break;
 1802|      0|    case EHTokMin12int4:
  ------------------
  |  Branch (1802:5): [True: 0, False: 649k]
  ------------------
 1803|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 4);
 1804|      0|        break;
 1805|       |
 1806|      0|    case EHTokMin16uint:
  ------------------
  |  Branch (1806:5): [True: 0, False: 649k]
  ------------------
 1807|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium);
 1808|      0|        break;
 1809|      0|    case EHTokMin16uint1:
  ------------------
  |  Branch (1809:5): [True: 0, False: 649k]
  ------------------
 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: 649k]
  ------------------
 1814|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 2);
 1815|      0|        break;
 1816|      0|    case EHTokMin16uint3:
  ------------------
  |  Branch (1816:5): [True: 0, False: 649k]
  ------------------
 1817|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 3);
 1818|      0|        break;
 1819|      0|    case EHTokMin16uint4:
  ------------------
  |  Branch (1819:5): [True: 0, False: 649k]
  ------------------
 1820|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 4);
 1821|      0|        break;
 1822|       |
 1823|  3.57k|    case EHTokInt1x1:
  ------------------
  |  Branch (1823:5): [True: 3.57k, False: 645k]
  ------------------
 1824|  3.57k|        new(&type) TType(EbtInt, EvqTemporary, 0, 1, 1);
 1825|  3.57k|        break;
 1826|  3.57k|    case EHTokInt1x2:
  ------------------
  |  Branch (1826:5): [True: 3.57k, False: 645k]
  ------------------
 1827|  3.57k|        new(&type) TType(EbtInt, EvqTemporary, 0, 1, 2);
 1828|  3.57k|        break;
 1829|  3.57k|    case EHTokInt1x3:
  ------------------
  |  Branch (1829:5): [True: 3.57k, False: 645k]
  ------------------
 1830|  3.57k|        new(&type) TType(EbtInt, EvqTemporary, 0, 1, 3);
 1831|  3.57k|        break;
 1832|  3.57k|    case EHTokInt1x4:
  ------------------
  |  Branch (1832:5): [True: 3.57k, False: 645k]
  ------------------
 1833|  3.57k|        new(&type) TType(EbtInt, EvqTemporary, 0, 1, 4);
 1834|  3.57k|        break;
 1835|  3.57k|    case EHTokInt2x1:
  ------------------
  |  Branch (1835:5): [True: 3.57k, False: 645k]
  ------------------
 1836|  3.57k|        new(&type) TType(EbtInt, EvqTemporary, 0, 2, 1);
 1837|  3.57k|        break;
 1838|  3.57k|    case EHTokInt2x2:
  ------------------
  |  Branch (1838:5): [True: 3.57k, False: 645k]
  ------------------
 1839|  3.57k|        new(&type) TType(EbtInt, EvqTemporary, 0, 2, 2);
 1840|  3.57k|        break;
 1841|  3.57k|    case EHTokInt2x3:
  ------------------
  |  Branch (1841:5): [True: 3.57k, False: 645k]
  ------------------
 1842|  3.57k|        new(&type) TType(EbtInt, EvqTemporary, 0, 2, 3);
 1843|  3.57k|        break;
 1844|  3.57k|    case EHTokInt2x4:
  ------------------
  |  Branch (1844:5): [True: 3.57k, False: 645k]
  ------------------
 1845|  3.57k|        new(&type) TType(EbtInt, EvqTemporary, 0, 2, 4);
 1846|  3.57k|        break;
 1847|  3.57k|    case EHTokInt3x1:
  ------------------
  |  Branch (1847:5): [True: 3.57k, False: 645k]
  ------------------
 1848|  3.57k|        new(&type) TType(EbtInt, EvqTemporary, 0, 3, 1);
 1849|  3.57k|        break;
 1850|  3.57k|    case EHTokInt3x2:
  ------------------
  |  Branch (1850:5): [True: 3.57k, False: 645k]
  ------------------
 1851|  3.57k|        new(&type) TType(EbtInt, EvqTemporary, 0, 3, 2);
 1852|  3.57k|        break;
 1853|  3.57k|    case EHTokInt3x3:
  ------------------
  |  Branch (1853:5): [True: 3.57k, False: 645k]
  ------------------
 1854|  3.57k|        new(&type) TType(EbtInt, EvqTemporary, 0, 3, 3);
 1855|  3.57k|        break;
 1856|  3.57k|    case EHTokInt3x4:
  ------------------
  |  Branch (1856:5): [True: 3.57k, False: 645k]
  ------------------
 1857|  3.57k|        new(&type) TType(EbtInt, EvqTemporary, 0, 3, 4);
 1858|  3.57k|        break;
 1859|  3.57k|    case EHTokInt4x1:
  ------------------
  |  Branch (1859:5): [True: 3.57k, False: 645k]
  ------------------
 1860|  3.57k|        new(&type) TType(EbtInt, EvqTemporary, 0, 4, 1);
 1861|  3.57k|        break;
 1862|  3.57k|    case EHTokInt4x2:
  ------------------
  |  Branch (1862:5): [True: 3.57k, False: 645k]
  ------------------
 1863|  3.57k|        new(&type) TType(EbtInt, EvqTemporary, 0, 4, 2);
 1864|  3.57k|        break;
 1865|  3.57k|    case EHTokInt4x3:
  ------------------
  |  Branch (1865:5): [True: 3.57k, False: 645k]
  ------------------
 1866|  3.57k|        new(&type) TType(EbtInt, EvqTemporary, 0, 4, 3);
 1867|  3.57k|        break;
 1868|  3.57k|    case EHTokInt4x4:
  ------------------
  |  Branch (1868:5): [True: 3.57k, False: 645k]
  ------------------
 1869|  3.57k|        new(&type) TType(EbtInt, EvqTemporary, 0, 4, 4);
 1870|  3.57k|        break;
 1871|       |
 1872|  3.29k|    case EHTokUint1x1:
  ------------------
  |  Branch (1872:5): [True: 3.29k, False: 645k]
  ------------------
 1873|  3.29k|        new(&type) TType(EbtUint, EvqTemporary, 0, 1, 1);
 1874|  3.29k|        break;
 1875|  3.29k|    case EHTokUint1x2:
  ------------------
  |  Branch (1875:5): [True: 3.29k, False: 645k]
  ------------------
 1876|  3.29k|        new(&type) TType(EbtUint, EvqTemporary, 0, 1, 2);
 1877|  3.29k|        break;
 1878|  3.29k|    case EHTokUint1x3:
  ------------------
  |  Branch (1878:5): [True: 3.29k, False: 645k]
  ------------------
 1879|  3.29k|        new(&type) TType(EbtUint, EvqTemporary, 0, 1, 3);
 1880|  3.29k|        break;
 1881|  3.29k|    case EHTokUint1x4:
  ------------------
  |  Branch (1881:5): [True: 3.29k, False: 645k]
  ------------------
 1882|  3.29k|        new(&type) TType(EbtUint, EvqTemporary, 0, 1, 4);
 1883|  3.29k|        break;
 1884|  3.29k|    case EHTokUint2x1:
  ------------------
  |  Branch (1884:5): [True: 3.29k, False: 645k]
  ------------------
 1885|  3.29k|        new(&type) TType(EbtUint, EvqTemporary, 0, 2, 1);
 1886|  3.29k|        break;
 1887|  3.29k|    case EHTokUint2x2:
  ------------------
  |  Branch (1887:5): [True: 3.29k, False: 645k]
  ------------------
 1888|  3.29k|        new(&type) TType(EbtUint, EvqTemporary, 0, 2, 2);
 1889|  3.29k|        break;
 1890|  3.29k|    case EHTokUint2x3:
  ------------------
  |  Branch (1890:5): [True: 3.29k, False: 645k]
  ------------------
 1891|  3.29k|        new(&type) TType(EbtUint, EvqTemporary, 0, 2, 3);
 1892|  3.29k|        break;
 1893|  3.29k|    case EHTokUint2x4:
  ------------------
  |  Branch (1893:5): [True: 3.29k, False: 645k]
  ------------------
 1894|  3.29k|        new(&type) TType(EbtUint, EvqTemporary, 0, 2, 4);
 1895|  3.29k|        break;
 1896|  3.29k|    case EHTokUint3x1:
  ------------------
  |  Branch (1896:5): [True: 3.29k, False: 645k]
  ------------------
 1897|  3.29k|        new(&type) TType(EbtUint, EvqTemporary, 0, 3, 1);
 1898|  3.29k|        break;
 1899|  3.29k|    case EHTokUint3x2:
  ------------------
  |  Branch (1899:5): [True: 3.29k, False: 645k]
  ------------------
 1900|  3.29k|        new(&type) TType(EbtUint, EvqTemporary, 0, 3, 2);
 1901|  3.29k|        break;
 1902|  3.29k|    case EHTokUint3x3:
  ------------------
  |  Branch (1902:5): [True: 3.29k, False: 645k]
  ------------------
 1903|  3.29k|        new(&type) TType(EbtUint, EvqTemporary, 0, 3, 3);
 1904|  3.29k|        break;
 1905|  3.29k|    case EHTokUint3x4:
  ------------------
  |  Branch (1905:5): [True: 3.29k, False: 645k]
  ------------------
 1906|  3.29k|        new(&type) TType(EbtUint, EvqTemporary, 0, 3, 4);
 1907|  3.29k|        break;
 1908|  3.29k|    case EHTokUint4x1:
  ------------------
  |  Branch (1908:5): [True: 3.29k, False: 645k]
  ------------------
 1909|  3.29k|        new(&type) TType(EbtUint, EvqTemporary, 0, 4, 1);
 1910|  3.29k|        break;
 1911|  3.29k|    case EHTokUint4x2:
  ------------------
  |  Branch (1911:5): [True: 3.29k, False: 645k]
  ------------------
 1912|  3.29k|        new(&type) TType(EbtUint, EvqTemporary, 0, 4, 2);
 1913|  3.29k|        break;
 1914|  3.29k|    case EHTokUint4x3:
  ------------------
  |  Branch (1914:5): [True: 3.29k, False: 645k]
  ------------------
 1915|  3.29k|        new(&type) TType(EbtUint, EvqTemporary, 0, 4, 3);
 1916|  3.29k|        break;
 1917|  3.29k|    case EHTokUint4x4:
  ------------------
  |  Branch (1917:5): [True: 3.29k, False: 645k]
  ------------------
 1918|  3.29k|        new(&type) TType(EbtUint, EvqTemporary, 0, 4, 4);
 1919|  3.29k|        break;
 1920|       |
 1921|    376|    case EHTokBool1x1:
  ------------------
  |  Branch (1921:5): [True: 376, False: 648k]
  ------------------
 1922|    376|        new(&type) TType(EbtBool, EvqTemporary, 0, 1, 1);
 1923|    376|        break;
 1924|    376|    case EHTokBool1x2:
  ------------------
  |  Branch (1924:5): [True: 376, False: 648k]
  ------------------
 1925|    376|        new(&type) TType(EbtBool, EvqTemporary, 0, 1, 2);
 1926|    376|        break;
 1927|    376|    case EHTokBool1x3:
  ------------------
  |  Branch (1927:5): [True: 376, False: 648k]
  ------------------
 1928|    376|        new(&type) TType(EbtBool, EvqTemporary, 0, 1, 3);
 1929|    376|        break;
 1930|    376|    case EHTokBool1x4:
  ------------------
  |  Branch (1930:5): [True: 376, False: 648k]
  ------------------
 1931|    376|        new(&type) TType(EbtBool, EvqTemporary, 0, 1, 4);
 1932|    376|        break;
 1933|    376|    case EHTokBool2x1:
  ------------------
  |  Branch (1933:5): [True: 376, False: 648k]
  ------------------
 1934|    376|        new(&type) TType(EbtBool, EvqTemporary, 0, 2, 1);
 1935|    376|        break;
 1936|    376|    case EHTokBool2x2:
  ------------------
  |  Branch (1936:5): [True: 376, False: 648k]
  ------------------
 1937|    376|        new(&type) TType(EbtBool, EvqTemporary, 0, 2, 2);
 1938|    376|        break;
 1939|    376|    case EHTokBool2x3:
  ------------------
  |  Branch (1939:5): [True: 376, False: 648k]
  ------------------
 1940|    376|        new(&type) TType(EbtBool, EvqTemporary, 0, 2, 3);
 1941|    376|        break;
 1942|    376|    case EHTokBool2x4:
  ------------------
  |  Branch (1942:5): [True: 376, False: 648k]
  ------------------
 1943|    376|        new(&type) TType(EbtBool, EvqTemporary, 0, 2, 4);
 1944|    376|        break;
 1945|    376|    case EHTokBool3x1:
  ------------------
  |  Branch (1945:5): [True: 376, False: 648k]
  ------------------
 1946|    376|        new(&type) TType(EbtBool, EvqTemporary, 0, 3, 1);
 1947|    376|        break;
 1948|    376|    case EHTokBool3x2:
  ------------------
  |  Branch (1948:5): [True: 376, False: 648k]
  ------------------
 1949|    376|        new(&type) TType(EbtBool, EvqTemporary, 0, 3, 2);
 1950|    376|        break;
 1951|    376|    case EHTokBool3x3:
  ------------------
  |  Branch (1951:5): [True: 376, False: 648k]
  ------------------
 1952|    376|        new(&type) TType(EbtBool, EvqTemporary, 0, 3, 3);
 1953|    376|        break;
 1954|    376|    case EHTokBool3x4:
  ------------------
  |  Branch (1954:5): [True: 376, False: 648k]
  ------------------
 1955|    376|        new(&type) TType(EbtBool, EvqTemporary, 0, 3, 4);
 1956|    376|        break;
 1957|    376|    case EHTokBool4x1:
  ------------------
  |  Branch (1957:5): [True: 376, False: 648k]
  ------------------
 1958|    376|        new(&type) TType(EbtBool, EvqTemporary, 0, 4, 1);
 1959|    376|        break;
 1960|    376|    case EHTokBool4x2:
  ------------------
  |  Branch (1960:5): [True: 376, False: 648k]
  ------------------
 1961|    376|        new(&type) TType(EbtBool, EvqTemporary, 0, 4, 2);
 1962|    376|        break;
 1963|    376|    case EHTokBool4x3:
  ------------------
  |  Branch (1963:5): [True: 376, False: 648k]
  ------------------
 1964|    376|        new(&type) TType(EbtBool, EvqTemporary, 0, 4, 3);
 1965|    376|        break;
 1966|    376|    case EHTokBool4x4:
  ------------------
  |  Branch (1966:5): [True: 376, False: 648k]
  ------------------
 1967|    376|        new(&type) TType(EbtBool, EvqTemporary, 0, 4, 4);
 1968|    376|        break;
 1969|       |
 1970|  7.61k|    case EHTokFloat1x1:
  ------------------
  |  Branch (1970:5): [True: 7.61k, False: 641k]
  ------------------
 1971|  7.61k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 1, 1);
 1972|  7.61k|        break;
 1973|  7.61k|    case EHTokFloat1x2:
  ------------------
  |  Branch (1973:5): [True: 7.61k, False: 641k]
  ------------------
 1974|  7.61k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 1, 2);
 1975|  7.61k|        break;
 1976|  7.61k|    case EHTokFloat1x3:
  ------------------
  |  Branch (1976:5): [True: 7.61k, False: 641k]
  ------------------
 1977|  7.61k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 1, 3);
 1978|  7.61k|        break;
 1979|  7.61k|    case EHTokFloat1x4:
  ------------------
  |  Branch (1979:5): [True: 7.61k, False: 641k]
  ------------------
 1980|  7.61k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 1, 4);
 1981|  7.61k|        break;
 1982|  7.61k|    case EHTokFloat2x1:
  ------------------
  |  Branch (1982:5): [True: 7.61k, False: 641k]
  ------------------
 1983|  7.61k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 2, 1);
 1984|  7.61k|        break;
 1985|  7.61k|    case EHTokFloat2x2:
  ------------------
  |  Branch (1985:5): [True: 7.61k, False: 641k]
  ------------------
 1986|  7.61k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 2, 2);
 1987|  7.61k|        break;
 1988|  7.61k|    case EHTokFloat2x3:
  ------------------
  |  Branch (1988:5): [True: 7.61k, False: 641k]
  ------------------
 1989|  7.61k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 2, 3);
 1990|  7.61k|        break;
 1991|  7.61k|    case EHTokFloat2x4:
  ------------------
  |  Branch (1991:5): [True: 7.61k, False: 641k]
  ------------------
 1992|  7.61k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 2, 4);
 1993|  7.61k|        break;
 1994|  7.61k|    case EHTokFloat3x1:
  ------------------
  |  Branch (1994:5): [True: 7.61k, False: 641k]
  ------------------
 1995|  7.61k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 3, 1);
 1996|  7.61k|        break;
 1997|  7.61k|    case EHTokFloat3x2:
  ------------------
  |  Branch (1997:5): [True: 7.61k, False: 641k]
  ------------------
 1998|  7.61k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 3, 2);
 1999|  7.61k|        break;
 2000|  7.61k|    case EHTokFloat3x3:
  ------------------
  |  Branch (2000:5): [True: 7.61k, False: 641k]
  ------------------
 2001|  7.61k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 3, 3);
 2002|  7.61k|        break;
 2003|  7.61k|    case EHTokFloat3x4:
  ------------------
  |  Branch (2003:5): [True: 7.61k, False: 641k]
  ------------------
 2004|  7.61k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 3, 4);
 2005|  7.61k|        break;
 2006|  7.61k|    case EHTokFloat4x1:
  ------------------
  |  Branch (2006:5): [True: 7.61k, False: 641k]
  ------------------
 2007|  7.61k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 4, 1);
 2008|  7.61k|        break;
 2009|  7.61k|    case EHTokFloat4x2:
  ------------------
  |  Branch (2009:5): [True: 7.61k, False: 641k]
  ------------------
 2010|  7.61k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 4, 2);
 2011|  7.61k|        break;
 2012|  7.61k|    case EHTokFloat4x3:
  ------------------
  |  Branch (2012:5): [True: 7.61k, False: 641k]
  ------------------
 2013|  7.61k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 4, 3);
 2014|  7.61k|        break;
 2015|  7.61k|    case EHTokFloat4x4:
  ------------------
  |  Branch (2015:5): [True: 7.61k, False: 641k]
  ------------------
 2016|  7.61k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 4, 4);
 2017|  7.61k|        break;
 2018|       |
 2019|      0|    case EHTokHalf1x1:
  ------------------
  |  Branch (2019:5): [True: 0, False: 649k]
  ------------------
 2020|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 1, 1);
 2021|      0|        break;
 2022|      0|    case EHTokHalf1x2:
  ------------------
  |  Branch (2022:5): [True: 0, False: 649k]
  ------------------
 2023|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 1, 2);
 2024|      0|        break;
 2025|      0|    case EHTokHalf1x3:
  ------------------
  |  Branch (2025:5): [True: 0, False: 649k]
  ------------------
 2026|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 1, 3);
 2027|      0|        break;
 2028|      0|    case EHTokHalf1x4:
  ------------------
  |  Branch (2028:5): [True: 0, False: 649k]
  ------------------
 2029|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 1, 4);
 2030|      0|        break;
 2031|      0|    case EHTokHalf2x1:
  ------------------
  |  Branch (2031:5): [True: 0, False: 649k]
  ------------------
 2032|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 2, 1);
 2033|      0|        break;
 2034|      0|    case EHTokHalf2x2:
  ------------------
  |  Branch (2034:5): [True: 0, False: 649k]
  ------------------
 2035|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 2, 2);
 2036|      0|        break;
 2037|      0|    case EHTokHalf2x3:
  ------------------
  |  Branch (2037:5): [True: 0, False: 649k]
  ------------------
 2038|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 2, 3);
 2039|      0|        break;
 2040|      0|    case EHTokHalf2x4:
  ------------------
  |  Branch (2040:5): [True: 0, False: 649k]
  ------------------
 2041|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 2, 4);
 2042|      0|        break;
 2043|      0|    case EHTokHalf3x1:
  ------------------
  |  Branch (2043:5): [True: 0, False: 649k]
  ------------------
 2044|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 3, 1);
 2045|      0|        break;
 2046|      0|    case EHTokHalf3x2:
  ------------------
  |  Branch (2046:5): [True: 0, False: 649k]
  ------------------
 2047|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 3, 2);
 2048|      0|        break;
 2049|      0|    case EHTokHalf3x3:
  ------------------
  |  Branch (2049:5): [True: 0, False: 649k]
  ------------------
 2050|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 3, 3);
 2051|      0|        break;
 2052|      0|    case EHTokHalf3x4:
  ------------------
  |  Branch (2052:5): [True: 0, False: 649k]
  ------------------
 2053|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 3, 4);
 2054|      0|        break;
 2055|      0|    case EHTokHalf4x1:
  ------------------
  |  Branch (2055:5): [True: 0, False: 649k]
  ------------------
 2056|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 4, 1);
 2057|      0|        break;
 2058|      0|    case EHTokHalf4x2:
  ------------------
  |  Branch (2058:5): [True: 0, False: 649k]
  ------------------
 2059|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 4, 2);
 2060|      0|        break;
 2061|      0|    case EHTokHalf4x3:
  ------------------
  |  Branch (2061:5): [True: 0, False: 649k]
  ------------------
 2062|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 4, 3);
 2063|      0|        break;
 2064|      0|    case EHTokHalf4x4:
  ------------------
  |  Branch (2064:5): [True: 0, False: 649k]
  ------------------
 2065|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 4, 4);
 2066|      0|        break;
 2067|       |
 2068|    564|    case EHTokDouble1x1:
  ------------------
  |  Branch (2068:5): [True: 564, False: 648k]
  ------------------
 2069|    564|        new(&type) TType(EbtDouble, EvqTemporary, 0, 1, 1);
 2070|    564|        break;
 2071|    564|    case EHTokDouble1x2:
  ------------------
  |  Branch (2071:5): [True: 564, False: 648k]
  ------------------
 2072|    564|        new(&type) TType(EbtDouble, EvqTemporary, 0, 1, 2);
 2073|    564|        break;
 2074|    564|    case EHTokDouble1x3:
  ------------------
  |  Branch (2074:5): [True: 564, False: 648k]
  ------------------
 2075|    564|        new(&type) TType(EbtDouble, EvqTemporary, 0, 1, 3);
 2076|    564|        break;
 2077|    564|    case EHTokDouble1x4:
  ------------------
  |  Branch (2077:5): [True: 564, False: 648k]
  ------------------
 2078|    564|        new(&type) TType(EbtDouble, EvqTemporary, 0, 1, 4);
 2079|    564|        break;
 2080|    564|    case EHTokDouble2x1:
  ------------------
  |  Branch (2080:5): [True: 564, False: 648k]
  ------------------
 2081|    564|        new(&type) TType(EbtDouble, EvqTemporary, 0, 2, 1);
 2082|    564|        break;
 2083|    564|    case EHTokDouble2x2:
  ------------------
  |  Branch (2083:5): [True: 564, False: 648k]
  ------------------
 2084|    564|        new(&type) TType(EbtDouble, EvqTemporary, 0, 2, 2);
 2085|    564|        break;
 2086|    564|    case EHTokDouble2x3:
  ------------------
  |  Branch (2086:5): [True: 564, False: 648k]
  ------------------
 2087|    564|        new(&type) TType(EbtDouble, EvqTemporary, 0, 2, 3);
 2088|    564|        break;
 2089|    564|    case EHTokDouble2x4:
  ------------------
  |  Branch (2089:5): [True: 564, False: 648k]
  ------------------
 2090|    564|        new(&type) TType(EbtDouble, EvqTemporary, 0, 2, 4);
 2091|    564|        break;
 2092|    564|    case EHTokDouble3x1:
  ------------------
  |  Branch (2092:5): [True: 564, False: 648k]
  ------------------
 2093|    564|        new(&type) TType(EbtDouble, EvqTemporary, 0, 3, 1);
 2094|    564|        break;
 2095|    564|    case EHTokDouble3x2:
  ------------------
  |  Branch (2095:5): [True: 564, False: 648k]
  ------------------
 2096|    564|        new(&type) TType(EbtDouble, EvqTemporary, 0, 3, 2);
 2097|    564|        break;
 2098|    564|    case EHTokDouble3x3:
  ------------------
  |  Branch (2098:5): [True: 564, False: 648k]
  ------------------
 2099|    564|        new(&type) TType(EbtDouble, EvqTemporary, 0, 3, 3);
 2100|    564|        break;
 2101|    564|    case EHTokDouble3x4:
  ------------------
  |  Branch (2101:5): [True: 564, False: 648k]
  ------------------
 2102|    564|        new(&type) TType(EbtDouble, EvqTemporary, 0, 3, 4);
 2103|    564|        break;
 2104|    564|    case EHTokDouble4x1:
  ------------------
  |  Branch (2104:5): [True: 564, False: 648k]
  ------------------
 2105|    564|        new(&type) TType(EbtDouble, EvqTemporary, 0, 4, 1);
 2106|    564|        break;
 2107|    564|    case EHTokDouble4x2:
  ------------------
  |  Branch (2107:5): [True: 564, False: 648k]
  ------------------
 2108|    564|        new(&type) TType(EbtDouble, EvqTemporary, 0, 4, 2);
 2109|    564|        break;
 2110|    564|    case EHTokDouble4x3:
  ------------------
  |  Branch (2110:5): [True: 564, False: 648k]
  ------------------
 2111|    564|        new(&type) TType(EbtDouble, EvqTemporary, 0, 4, 3);
 2112|    564|        break;
 2113|    564|    case EHTokDouble4x4:
  ------------------
  |  Branch (2113:5): [True: 564, False: 648k]
  ------------------
 2114|    564|        new(&type) TType(EbtDouble, EvqTemporary, 0, 4, 4);
 2115|    564|        break;
 2116|       |
 2117|      0|    case EHTokMin16float1x1:
  ------------------
  |  Branch (2117:5): [True: 0, False: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 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: 649k]
  ------------------
 2359|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 0, 4, 4);
 2360|      0|        break;
 2361|       |
 2362|     16|    default:
  ------------------
  |  Branch (2362:5): [True: 16, False: 649k]
  ------------------
 2363|     16|        return false;
 2364|   649k|    }
 2365|       |
 2366|   581k|    advanceToken();
 2367|       |
 2368|   581k|    if ((isUnorm || isSnorm) && !type.isFloatingDomain()) {
  ------------------
  |  Branch (2368:10): [True: 0, False: 581k]
  |  Branch (2368:21): [True: 0, False: 581k]
  |  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|   581k|    return true;
 2374|   581k|}
_ZN7glslang11HlslGrammar24acceptFunctionParametersERNS_9TFunctionE:
 2828|   188k|{
 2829|   188k|    parseContext.beginParameterParsing(function);
 2830|       |
 2831|       |    // LEFT_PAREN
 2832|   188k|    if (! acceptTokenClass(EHTokLeftParen))
  ------------------
  |  Branch (2832:9): [True: 0, False: 188k]
  ------------------
 2833|      0|        return false;
 2834|       |
 2835|       |    // VOID RIGHT_PAREN
 2836|   188k|    if (! acceptTokenClass(EHTokVoid)) {
  ------------------
  |  Branch (2836:9): [True: 186k, False: 1.64k]
  ------------------
 2837|   422k|        do {
 2838|       |            // parameter_declaration
 2839|   422k|            if (! acceptParameterDeclaration(function))
  ------------------
  |  Branch (2839:17): [True: 0, False: 422k]
  ------------------
 2840|      0|                break;
 2841|       |
 2842|       |            // COMMA
 2843|   422k|            if (! acceptTokenClass(EHTokComma))
  ------------------
  |  Branch (2843:17): [True: 186k, False: 236k]
  ------------------
 2844|   186k|                break;
 2845|   422k|        } while (true);
  ------------------
  |  Branch (2845:18): [True: 236k, Folded]
  ------------------
 2846|   186k|    }
 2847|       |
 2848|       |    // RIGHT_PAREN
 2849|   188k|    if (! acceptTokenClass(EHTokRightParen)) {
  ------------------
  |  Branch (2849:9): [True: 0, False: 188k]
  ------------------
 2850|      0|        expected(")");
 2851|      0|        return false;
 2852|      0|    }
 2853|       |
 2854|   188k|    return true;
 2855|   188k|}
_ZN7glslang11HlslGrammar33acceptDefaultParameterDeclarationERKNS_5TTypeERPNS_12TIntermTypedE:
 2861|   422k|{
 2862|   422k|    node = nullptr;
 2863|       |
 2864|       |    // Valid not to have a default_parameter_declaration
 2865|   422k|    if (!acceptTokenClass(EHTokAssign))
  ------------------
  |  Branch (2865:9): [True: 422k, False: 0]
  ------------------
 2866|   422k|        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|   422k|{
 2914|       |    // attributes
 2915|   422k|    TAttributes attributes;
 2916|   422k|    acceptAttributes(attributes);
 2917|       |
 2918|       |    // fully_specified_type
 2919|   422k|    TType* type = new TType;
 2920|   422k|    if (! acceptFullySpecifiedType(*type, attributes))
  ------------------
  |  Branch (2920:9): [True: 0, False: 422k]
  ------------------
 2921|      0|        return false;
 2922|       |
 2923|       |    // merge in the attributes
 2924|   422k|    parseContext.transferTypeAttributes(token.loc, attributes, *type);
 2925|       |
 2926|       |    // identifier
 2927|   422k|    HlslToken idToken;
 2928|   422k|    acceptIdentifier(idToken);
 2929|       |
 2930|       |    // array_specifier
 2931|   422k|    TArraySizes* arraySizes = nullptr;
 2932|   422k|    acceptArraySpecifier(arraySizes);
 2933|   422k|    if (arraySizes) {
  ------------------
  |  Branch (2933:9): [True: 0, False: 422k]
  ------------------
 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|   422k|    acceptPostDecls(type->getQualifier());
 2944|       |
 2945|   422k|    TIntermTyped* defaultValue;
 2946|   422k|    if (!acceptDefaultParameterDeclaration(*type, defaultValue))
  ------------------
  |  Branch (2946:9): [True: 0, False: 422k]
  ------------------
 2947|      0|        return false;
 2948|       |
 2949|   422k|    parseContext.paramFix(*type);
 2950|       |
 2951|       |    // If any prior parameters have default values, all the parameters after that must as well.
 2952|   422k|    if (defaultValue == nullptr && function.getDefaultParamCount() > 0) {
  ------------------
  |  Branch (2952:9): [True: 422k, False: 0]
  |  Branch (2952:36): [True: 0, False: 422k]
  ------------------
 2953|      0|        parseContext.error(idToken.loc, "invalid parameter after default value parameters", idToken.getCStrOrEmpty(), "");
 2954|      0|        return false;
 2955|      0|    }
 2956|       |
 2957|   422k|    TParameter param = { idToken.string, type, defaultValue };
 2958|   422k|    function.addParameter(param);
 2959|       |
 2960|   422k|    return true;
 2961|   422k|}
_ZN7glslang11HlslGrammar16acceptAttributesERNS_5TListINS_14TAttributeArgsEEE:
 3849|   610k|{
 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|   610k|    do {
 3854|   610k|        HlslToken attributeToken;
 3855|       |
 3856|       |        // LEFT_BRACKET?
 3857|   610k|        if (! acceptTokenClass(EHTokLeftBracket))
  ------------------
  |  Branch (3857:13): [True: 610k, False: 0]
  ------------------
 3858|   610k|            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|   610k|}
_ZN7glslang11HlslGrammar20acceptArraySpecifierERPNS_11TArraySizesE:
 4280|   422k|{
 4281|   422k|    arraySizes = nullptr;
 4282|       |
 4283|       |    // Early-out if there aren't any array dimensions
 4284|   422k|    if (!peekTokenClass(EHTokLeftBracket))
  ------------------
  |  Branch (4284:9): [True: 422k, False: 0]
  ------------------
 4285|   422k|        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|   610k|{
 4326|   610k|    bool found = false;
 4327|       |
 4328|   610k|    do {
 4329|       |        // COLON
 4330|   610k|        if (acceptTokenClass(EHTokColon)) {
  ------------------
  |  Branch (4330:13): [True: 0, False: 610k]
  ------------------
 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|   610k|        } else if (peekTokenClass(EHTokLeftAngle)) {
  ------------------
  |  Branch (4418:20): [True: 0, False: 610k]
  ------------------
 4419|      0|            found = true;
 4420|      0|            acceptAnnotations(qualifier);
 4421|      0|        } else
 4422|   610k|            break;
 4423|       |
 4424|   610k|    } while (true);
  ------------------
  |  Branch (4424:14): [True: 0, Folded]
  ------------------
 4425|       |
 4426|   610k|    return found;
 4427|   610k|}
_ZNK7glslang11HlslGrammar13getTypeStringENS_15EHlslTokenClassE:
 4464|   610k|{
 4465|   610k|    switch (tokenClass) {
 4466|      0|    case EHTokSample:     return "sample";
  ------------------
  |  Branch (4466:5): [True: 0, False: 610k]
  ------------------
 4467|      0|    case EHTokHalf:       return "half";
  ------------------
  |  Branch (4467:5): [True: 0, False: 610k]
  ------------------
 4468|      0|    case EHTokHalf1x1:    return "half1x1";
  ------------------
  |  Branch (4468:5): [True: 0, False: 610k]
  ------------------
 4469|      0|    case EHTokHalf1x2:    return "half1x2";
  ------------------
  |  Branch (4469:5): [True: 0, False: 610k]
  ------------------
 4470|      0|    case EHTokHalf1x3:    return "half1x3";
  ------------------
  |  Branch (4470:5): [True: 0, False: 610k]
  ------------------
 4471|      0|    case EHTokHalf1x4:    return "half1x4";
  ------------------
  |  Branch (4471:5): [True: 0, False: 610k]
  ------------------
 4472|      0|    case EHTokHalf2x1:    return "half2x1";
  ------------------
  |  Branch (4472:5): [True: 0, False: 610k]
  ------------------
 4473|      0|    case EHTokHalf2x2:    return "half2x2";
  ------------------
  |  Branch (4473:5): [True: 0, False: 610k]
  ------------------
 4474|      0|    case EHTokHalf2x3:    return "half2x3";
  ------------------
  |  Branch (4474:5): [True: 0, False: 610k]
  ------------------
 4475|      0|    case EHTokHalf2x4:    return "half2x4";
  ------------------
  |  Branch (4475:5): [True: 0, False: 610k]
  ------------------
 4476|      0|    case EHTokHalf3x1:    return "half3x1";
  ------------------
  |  Branch (4476:5): [True: 0, False: 610k]
  ------------------
 4477|      0|    case EHTokHalf3x2:    return "half3x2";
  ------------------
  |  Branch (4477:5): [True: 0, False: 610k]
  ------------------
 4478|      0|    case EHTokHalf3x3:    return "half3x3";
  ------------------
  |  Branch (4478:5): [True: 0, False: 610k]
  ------------------
 4479|      0|    case EHTokHalf3x4:    return "half3x4";
  ------------------
  |  Branch (4479:5): [True: 0, False: 610k]
  ------------------
 4480|      0|    case EHTokHalf4x1:    return "half4x1";
  ------------------
  |  Branch (4480:5): [True: 0, False: 610k]
  ------------------
 4481|      0|    case EHTokHalf4x2:    return "half4x2";
  ------------------
  |  Branch (4481:5): [True: 0, False: 610k]
  ------------------
 4482|      0|    case EHTokHalf4x3:    return "half4x3";
  ------------------
  |  Branch (4482:5): [True: 0, False: 610k]
  ------------------
 4483|      0|    case EHTokHalf4x4:    return "half4x4";
  ------------------
  |  Branch (4483:5): [True: 0, False: 610k]
  ------------------
 4484|      0|    case EHTokBool:       return "bool";
  ------------------
  |  Branch (4484:5): [True: 0, False: 610k]
  ------------------
 4485|      0|    case EHTokFloat:      return "float";
  ------------------
  |  Branch (4485:5): [True: 0, False: 610k]
  ------------------
 4486|      0|    case EHTokDouble:     return "double";
  ------------------
  |  Branch (4486:5): [True: 0, False: 610k]
  ------------------
 4487|      0|    case EHTokInt:        return "int";
  ------------------
  |  Branch (4487:5): [True: 0, False: 610k]
  ------------------
 4488|      0|    case EHTokUint:       return "uint";
  ------------------
  |  Branch (4488:5): [True: 0, False: 610k]
  ------------------
 4489|      0|    case EHTokMin16float: return "min16float";
  ------------------
  |  Branch (4489:5): [True: 0, False: 610k]
  ------------------
 4490|      0|    case EHTokMin10float: return "min10float";
  ------------------
  |  Branch (4490:5): [True: 0, False: 610k]
  ------------------
 4491|      0|    case EHTokMin16int:   return "min16int";
  ------------------
  |  Branch (4491:5): [True: 0, False: 610k]
  ------------------
 4492|      0|    case EHTokMin12int:   return "min12int";
  ------------------
  |  Branch (4492:5): [True: 0, False: 610k]
  ------------------
 4493|      0|    case EHTokConstantBuffer: return "ConstantBuffer";
  ------------------
  |  Branch (4493:5): [True: 0, False: 610k]
  ------------------
 4494|      0|    case EHTokLayout:     return "layout";
  ------------------
  |  Branch (4494:5): [True: 0, False: 610k]
  ------------------
 4495|   610k|    default:
  ------------------
  |  Branch (4495:5): [True: 610k, False: 0]
  ------------------
 4496|   610k|        return nullptr;
 4497|   610k|    }
 4498|   610k|}

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

_ZN7glslang16HlslParseContextC2ERNS_12TSymbolTableERNS_13TIntermediateEbi8EProfileRKNS_10SpvVersionE11EShLanguageR9TInfoSinkNSt3__112basic_stringIcNSC_11char_traitsIcEENS_14pool_allocatorIcEEEEb11EShMessages:
   69|    927|    TParseContextBase(symbolTable, interm, parsingBuiltins, version, profile, spvVersion, language, infoSink,
   70|    927|                      forwardCompatible, messages, &sourceEntryPointName),
   71|    927|    annotationNestingLevel(0),
   72|    927|    inputPatch(nullptr),
   73|    927|    nextInLocation(0), nextOutLocation(0),
   74|    927|    entryPointFunction(nullptr),
   75|    927|    entryPointFunctionBody(nullptr),
   76|    927|    gsStreamOutput(nullptr),
   77|    927|    clipDistanceOutput(nullptr),
   78|    927|    cullDistanceOutput(nullptr),
   79|    927|    clipDistanceInput(nullptr),
   80|    927|    cullDistanceInput(nullptr),
   81|    927|    parsingEntrypointParameters(false)
   82|    927|{
   83|    927|    globalUniformDefaults.clear();
   84|    927|    globalUniformDefaults.layoutMatrix = ElmRowMajor;
   85|    927|    globalUniformDefaults.layoutPacking = ElpStd140;
   86|       |
   87|    927|    globalBufferDefaults.clear();
   88|    927|    globalBufferDefaults.layoutMatrix = ElmRowMajor;
   89|    927|    globalBufferDefaults.layoutPacking = ElpStd430;
   90|       |
   91|    927|    globalInputDefaults.clear();
   92|    927|    globalOutputDefaults.clear();
   93|       |
   94|    927|    clipSemanticNSizeIn.fill(0);
   95|    927|    cullSemanticNSizeIn.fill(0);
   96|    927|    clipSemanticNSizeOut.fill(0);
   97|    927|    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|    927|    if (language == EShLangVertex ||
  ------------------
  |  Branch (102:9): [True: 244, False: 683]
  ------------------
  103|    683|        language == EShLangTessControl ||
  ------------------
  |  Branch (103:9): [True: 59, False: 624]
  ------------------
  104|    624|        language == EShLangTessEvaluation ||
  ------------------
  |  Branch (104:9): [True: 55, False: 569]
  ------------------
  105|    569|        language == EShLangGeometry)
  ------------------
  |  Branch (105:9): [True: 51, False: 518]
  ------------------
  106|    409|        globalOutputDefaults.layoutXfbBuffer = 0;
  107|       |
  108|    927|    if (language == EShLangGeometry)
  ------------------
  |  Branch (108:9): [True: 51, False: 876]
  ------------------
  109|     51|        globalOutputDefaults.layoutStream = 0;
  110|    927|}
_ZN7glslang16HlslParseContextD2Ev:
  113|    927|{
  114|    927|}
_ZN7glslang16HlslParseContext27initializeExtensionBehaviorEv:
  117|    111|{
  118|    111|    TParseContextBase::initializeExtensionBehavior();
  119|       |
  120|       |    // HLSL allows #line by default.
  121|    111|    extensionBehavior[E_GL_GOOGLE_cpp_style_line_directive] = EBhEnable;
  122|    111|}
_ZN7glslang16HlslParseContext9setLimitsERK16TBuiltInResource:
  125|    111|{
  126|    111|    resources = r;
  127|    111|    intermediate.setLimits(resources);
  128|    111|}
_ZN7glslang16HlslParseContext18parseShaderStringsERNS_10TPpContextERNS_13TInputScannerEb:
  136|     93|{
  137|     93|    currentScanner = &input;
  138|     93|    ppContext.setInput(input, versionWillBeError);
  139|       |
  140|     93|    HlslScanContext scanContext(*this, ppContext);
  141|     93|    HlslGrammar grammar(scanContext, *this);
  142|     93|    if (!grammar.parse()) {
  ------------------
  |  Branch (142:9): [True: 38, False: 55]
  ------------------
  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|     38|        const glslang::TSourceLoc& sourceLoc = input.getSourceLoc();
  146|     38|        infoSink.info << sourceLoc.getFilenameStr() << "(" << sourceLoc.line << "): error at column " << sourceLoc.column
  147|     38|                      << ", HLSL parsing failed.\n";
  148|     38|        ++numErrors;
  149|     38|        return false;
  150|     38|    }
  151|       |
  152|     55|    finish();
  153|       |
  154|     55|    return numErrors == 0;
  155|     93|}
_ZN7glslang16HlslParseContext19getLayoutFromTxTypeERKNS_10TSourceLocERKNS_5TTypeE:
  196|  2.67k|{
  197|  2.67k|    if (txType.isStruct()) {
  ------------------
  |  Branch (197:9): [True: 0, False: 2.67k]
  ------------------
  198|       |        // TODO: implement.
  199|      0|        error(loc, "unimplemented: structure type in image or buffer", "", "");
  200|      0|        return ElfNone;
  201|      0|    }
  202|       |
  203|  2.67k|    const int components = txType.getVectorSize();
  204|  2.67k|    const TBasicType txBasicType = txType.getBasicType();
  205|       |
  206|  2.67k|    const auto selectFormat = [this,&components](TLayoutFormat v1, TLayoutFormat v2, TLayoutFormat v4) -> TLayoutFormat {
  207|  2.67k|        if (intermediate.getNoStorageFormat())
  208|  2.67k|            return ElfNone;
  209|       |
  210|  2.67k|        return components == 1 ? v1 :
  211|  2.67k|               components == 2 ? v2 : v4;
  212|  2.67k|    };
  213|       |
  214|  2.67k|    switch (txBasicType) {
  215|    893|    case EbtFloat: return selectFormat(ElfR32f,  ElfRg32f,  ElfRgba32f);
  ------------------
  |  Branch (215:5): [True: 893, False: 1.78k]
  ------------------
  216|    893|    case EbtInt:   return selectFormat(ElfR32i,  ElfRg32i,  ElfRgba32i);
  ------------------
  |  Branch (216:5): [True: 893, False: 1.78k]
  ------------------
  217|    893|    case EbtUint:  return selectFormat(ElfR32ui, ElfRg32ui, ElfRgba32ui);
  ------------------
  |  Branch (217:5): [True: 893, False: 1.78k]
  ------------------
  218|      0|    default:
  ------------------
  |  Branch (218:5): [True: 0, False: 2.67k]
  ------------------
  219|      0|        error(loc, "unknown basic type in image format", "", "");
  220|      0|        return ElfNone;
  221|  2.67k|    }
  222|  2.67k|}
_ZN7glslang16HlslParseContext24handleFunctionDeclaratorERKNS_10TSourceLocERNS_9TFunctionEb:
 1605|   188k|{
 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|   188k|    bool builtIn;
 1613|   188k|    TSymbol* symbol = symbolTable.find(function.getMangledName(), &builtIn);
 1614|   188k|    const TFunction* prevDec = symbol ? symbol->getAsFunction() : nullptr;
  ------------------
  |  Branch (1614:32): [True: 1.12k, False: 187k]
  ------------------
 1615|       |
 1616|   188k|    if (prototype) {
  ------------------
  |  Branch (1616:9): [True: 188k, 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|   188k|        if (symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (1619:13): [True: 188k, False: 0]
  ------------------
 1620|   188k|            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|   188k|    }
 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|   188k|    if (! symbolTable.insert(function))
  ------------------
  |  Branch (1630:9): [True: 0, False: 188k]
  ------------------
 1631|      0|        error(loc, "function name is redeclaration of existing name", function.getName().c_str(), "");
 1632|   188k|}
_ZN7glslang16HlslParseContext22transferTypeAttributesERKNS_10TSourceLocERKNS_5TListINS_14TAttributeArgsEEERNS_5TTypeEb:
 1933|   610k|{
 1934|   610k|    if (attributes.size() == 0)
  ------------------
  |  Branch (1934:9): [True: 610k, False: 0]
  ------------------
 1935|   610k|        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|   422k|{
 7149|   422k|    switch (type.getQualifier().storage) {
 7150|      0|    case EvqConst:
  ------------------
  |  Branch (7150:5): [True: 0, False: 422k]
  ------------------
 7151|      0|        type.getQualifier().storage = EvqConstReadOnly;
 7152|      0|        break;
 7153|      0|    case EvqGlobal:
  ------------------
  |  Branch (7153:5): [True: 0, False: 422k]
  ------------------
 7154|   381k|    case EvqTemporary:
  ------------------
  |  Branch (7154:5): [True: 381k, False: 40.9k]
  ------------------
 7155|   381k|        type.getQualifier().storage = EvqIn;
 7156|   381k|        break;
 7157|      0|    case EvqBuffer:
  ------------------
  |  Branch (7157:5): [True: 0, False: 422k]
  ------------------
 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|  40.9k|    default:
  ------------------
  |  Branch (7170:5): [True: 40.9k, False: 381k]
  ------------------
 7171|  40.9k|        break;
 7172|   422k|    }
 7173|   422k|}
_ZN7glslang16HlslParseContext14lookupUserTypeERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERNS_5TTypeE:
 8031|     22|{
 8032|     22|    TSymbol* symbol = symbolTable.find(typeName);
 8033|     22|    if (symbol && symbol->getAsVariable() && symbol->getAsVariable()->isUserType()) {
  ------------------
  |  Branch (8033:9): [True: 0, False: 22]
  |  Branch (8033:19): [True: 0, False: 0]
  |  Branch (8033:46): [True: 0, False: 0]
  ------------------
 8034|      0|        type.shallowCopy(symbol->getType());
 8035|      0|        return symbol;
 8036|      0|    } else
 8037|     22|        return nullptr;
 8038|     22|}
_ZNK7glslang16HlslParseContext20getFullNamespaceNameERPNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 9555|   188k|{
 9556|   188k|    if (currentTypePrefix.size() == 0)
  ------------------
  |  Branch (9556:9): [True: 188k, False: 0]
  ------------------
 9557|   188k|        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|  38.2k|{
 9785|       |    // Seed the output with an invalid index.  We will set it to a valid one if we can.
 9786|  38.2k|    sampler.structReturnIndex = TSampler::noReturnStruct;
 9787|       |
 9788|       |    // Arrays aren't supported.
 9789|  38.2k|    if (retType.isArray()) {
  ------------------
  |  Branch (9789:9): [True: 0, False: 38.2k]
  ------------------
 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|  38.2k|    if (retType.isVector() || retType.isScalar()) {
  ------------------
  |  Branch (9795:9): [True: 38.2k, False: 0]
  |  Branch (9795:31): [True: 0, False: 0]
  ------------------
 9796|  38.2k|        sampler.vectorSize = retType.getVectorSize();
 9797|  38.2k|        return true;
 9798|  38.2k|    }
 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|     55|{
 9934|     55|    TSourceLoc loc;
 9935|     55|    loc.init();
 9936|       |
 9937|       |    // If there's no patch constant function, or we're not a HS, do nothing.
 9938|     55|    if (patchConstantFunctionName.empty() || language != EShLangTessControl)
  ------------------
  |  Branch (9938:9): [True: 55, False: 0]
  |  Branch (9938:46): [True: 0, False: 0]
  ------------------
 9939|     55|        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|     55|{
10290|     55|    const auto endIt = std::remove_if(linkageSymbols.begin(), linkageSymbols.end(),
10291|     55|                                      [this](const TSymbol* sym) {
10292|     55|                                          const auto sbcIt = structBufferCounter.find(sym->getName());
10293|     55|                                          return sbcIt != structBufferCounter.end() && !sbcIt->second;
10294|     55|                                      });
10295|       |
10296|     55|    linkageSymbols.erase(endIt, linkageSymbols.end());
10297|     55|}
_ZN7glslang16HlslParseContext21fixTextureShadowModesEv:
10301|     55|{
10302|     55|    for (auto symbol = linkageSymbols.begin(); symbol != linkageSymbols.end(); ++symbol) {
  ------------------
  |  Branch (10302:48): [True: 0, False: 55]
  ------------------
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|     55|}
_ZN7glslang16HlslParseContext21finalizeAppendMethodsEv:
10322|     55|{
10323|     55|    TSourceLoc loc;
10324|     55|    loc.init();
10325|       |
10326|       |    // Nothing to do: bypass test for valid stream output.
10327|     55|    if (gsAppends.empty())
  ------------------
  |  Branch (10327:9): [True: 55, False: 0]
  ------------------
10328|     55|        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|     55|{
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|     55|    if (! mipsOperatorMipArg.empty()) {
  ------------------
  |  Branch (10349:9): [True: 0, False: 55]
  ------------------
10350|      0|        error(mipsOperatorMipArg.back().loc, "unterminated mips operator:", "", "");
10351|      0|    }
10352|       |
10353|     55|    removeUnusedStructBufferCounters();
10354|     55|    addPatchConstantInvocation();
10355|     55|    fixTextureShadowModes();
10356|     55|    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|     55|    if (intermediate.needsLegalization() && (messages & EShMsgHlslLegalization))
  ------------------
  |  Branch (10360:9): [True: 0, False: 55]
  |  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|     55|    TParseContextBase::finish();
10364|     55|}
hlslParseHelper.cpp:_ZZN7glslang16HlslParseContext19getLayoutFromTxTypeERKNS_10TSourceLocERKNS_5TTypeEENK3$_0clENS_13TLayoutFormatES8_S8_:
  206|  2.67k|    const auto selectFormat = [this,&components](TLayoutFormat v1, TLayoutFormat v2, TLayoutFormat v4) -> TLayoutFormat {
  207|  2.67k|        if (intermediate.getNoStorageFormat())
  ------------------
  |  Branch (207:13): [True: 0, False: 2.67k]
  ------------------
  208|      0|            return ElfNone;
  209|       |
  210|  2.67k|        return components == 1 ? v1 :
  ------------------
  |  Branch (210:16): [True: 1.41k, False: 1.26k]
  ------------------
  211|  2.67k|               components == 2 ? v2 : v4;
  ------------------
  |  Branch (211:16): [True: 846, False: 423]
  ------------------
  212|  2.67k|    };

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

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

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

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

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

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

_ZNK7glslang20TIntermConstantUnion4foldENS_9TOperatorEPKNS_12TIntermTypedE:
   86|      3|{
   87|       |    // For most cases, the return type matches the argument type, so set that
   88|       |    // up and just code to exceptions below.
   89|      3|    TType returnType;
   90|      3|    returnType.shallowCopy(getType());
   91|       |
   92|       |    //
   93|       |    // A pair of nodes is to be folded together
   94|       |    //
   95|       |
   96|      3|    const TIntermConstantUnion *rightNode = rightConstantNode->getAsConstantUnion();
   97|      3|    TConstUnionArray leftUnionArray = getConstArray();
   98|      3|    TConstUnionArray rightUnionArray = rightNode->getConstArray();
   99|       |
  100|       |    // Figure out the size of the result
  101|      3|    int newComps;
  102|      3|    int constComps;
  103|      3|    switch(op) {
  104|      0|    case EOpMatrixTimesMatrix:
  ------------------
  |  Branch (104:5): [True: 0, False: 3]
  ------------------
  105|      0|        newComps = rightNode->getMatrixCols() * getMatrixRows();
  106|      0|        break;
  107|      0|    case EOpMatrixTimesVector:
  ------------------
  |  Branch (107:5): [True: 0, False: 3]
  ------------------
  108|      0|        newComps = getMatrixRows();
  109|      0|        break;
  110|      0|    case EOpVectorTimesMatrix:
  ------------------
  |  Branch (110:5): [True: 0, False: 3]
  ------------------
  111|      0|        newComps = rightNode->getMatrixCols();
  112|      0|        break;
  113|      3|    default:
  ------------------
  |  Branch (113:5): [True: 3, False: 0]
  ------------------
  114|      3|        newComps = getType().computeNumComponents();
  115|      3|        constComps = rightConstantNode->getType().computeNumComponents();
  116|      3|        if (constComps == 1 && newComps > 1) {
  ------------------
  |  Branch (116:13): [True: 3, False: 0]
  |  Branch (116:32): [True: 0, False: 3]
  ------------------
  117|       |            // for a case like vec4 f = vec4(2,3,4,5) + 1.2;
  118|      0|            TConstUnionArray smearedArray(newComps, rightNode->getConstArray()[0]);
  119|      0|            rightUnionArray = smearedArray;
  120|      3|        } else if (constComps > 1 && newComps == 1) {
  ------------------
  |  Branch (120:20): [True: 0, False: 3]
  |  Branch (120:38): [True: 0, False: 0]
  ------------------
  121|       |            // for a case like vec4 f = 1.2 + vec4(2,3,4,5);
  122|      0|            newComps = constComps;
  123|      0|            rightUnionArray = rightNode->getConstArray();
  124|      0|            TConstUnionArray smearedArray(newComps, getConstArray()[0]);
  125|      0|            leftUnionArray = smearedArray;
  126|      0|            returnType.shallowCopy(rightNode->getType());
  127|      0|        }
  128|      3|        break;
  129|      3|    }
  130|       |
  131|      3|    TConstUnionArray newConstArray(newComps);
  132|      3|    TType constBool(EbtBool, EvqConst);
  133|       |
  134|      3|    switch(op) {
  135|      3|    case EOpAdd:
  ------------------
  |  Branch (135:5): [True: 3, False: 0]
  ------------------
  136|      6|        for (int i = 0; i < newComps; i++)
  ------------------
  |  Branch (136:25): [True: 3, False: 3]
  ------------------
  137|      3|            newConstArray[i] = leftUnionArray[i] + rightUnionArray[i];
  138|      3|        break;
  139|      0|    case EOpSub:
  ------------------
  |  Branch (139:5): [True: 0, False: 3]
  ------------------
  140|      0|        for (int i = 0; i < newComps; i++)
  ------------------
  |  Branch (140:25): [True: 0, False: 0]
  ------------------
  141|      0|            newConstArray[i] = leftUnionArray[i] - rightUnionArray[i];
  142|      0|        break;
  143|       |
  144|      0|    case EOpMul:
  ------------------
  |  Branch (144:5): [True: 0, False: 3]
  ------------------
  145|      0|    case EOpVectorTimesScalar:
  ------------------
  |  Branch (145:5): [True: 0, False: 3]
  ------------------
  146|      0|    case EOpMatrixTimesScalar:
  ------------------
  |  Branch (146:5): [True: 0, False: 3]
  ------------------
  147|      0|        for (int i = 0; i < newComps; i++)
  ------------------
  |  Branch (147:25): [True: 0, False: 0]
  ------------------
  148|      0|            newConstArray[i] = leftUnionArray[i] * rightUnionArray[i];
  149|      0|        break;
  150|      0|    case EOpMatrixTimesMatrix:
  ------------------
  |  Branch (150:5): [True: 0, False: 3]
  ------------------
  151|      0|        for (int row = 0; row < getMatrixRows(); row++) {
  ------------------
  |  Branch (151:27): [True: 0, False: 0]
  ------------------
  152|      0|            for (int column = 0; column < rightNode->getMatrixCols(); column++) {
  ------------------
  |  Branch (152:34): [True: 0, False: 0]
  ------------------
  153|      0|                double sum = 0.0f;
  154|      0|                for (int i = 0; i < rightNode->getMatrixRows(); i++)
  ------------------
  |  Branch (154:33): [True: 0, False: 0]
  ------------------
  155|      0|                    sum += leftUnionArray[i * getMatrixRows() + row].getDConst() * rightUnionArray[column * rightNode->getMatrixRows() + i].getDConst();
  156|      0|                newConstArray[column * getMatrixRows() + row].setDConst(sum);
  157|      0|            }
  158|      0|        }
  159|      0|        returnType.shallowCopy(TType(getType().getBasicType(), EvqConst, 0, rightNode->getMatrixCols(), getMatrixRows()));
  160|      0|        break;
  161|      0|    case EOpDiv:
  ------------------
  |  Branch (161:5): [True: 0, False: 3]
  ------------------
  162|      0|        for (int i = 0; i < newComps; i++) {
  ------------------
  |  Branch (162:25): [True: 0, False: 0]
  ------------------
  163|      0|            switch (getType().getBasicType()) {
  164|      0|            case EbtDouble:
  ------------------
  |  Branch (164:13): [True: 0, False: 0]
  ------------------
  165|      0|            case EbtFloat:
  ------------------
  |  Branch (165:13): [True: 0, False: 0]
  ------------------
  166|      0|            case EbtFloat16:
  ------------------
  |  Branch (166:13): [True: 0, False: 0]
  ------------------
  167|      0|            case EbtBFloat16:
  ------------------
  |  Branch (167:13): [True: 0, False: 0]
  ------------------
  168|      0|            case EbtFloatE5M2:
  ------------------
  |  Branch (168:13): [True: 0, False: 0]
  ------------------
  169|      0|            case EbtFloatE4M3:
  ------------------
  |  Branch (169:13): [True: 0, False: 0]
  ------------------
  170|      0|            case EbtFloatE2M1:
  ------------------
  |  Branch (170:13): [True: 0, False: 0]
  ------------------
  171|      0|            case EbtFloatE3M2:
  ------------------
  |  Branch (171:13): [True: 0, False: 0]
  ------------------
  172|      0|            case EbtFloatE2M3:
  ------------------
  |  Branch (172:13): [True: 0, False: 0]
  ------------------
  173|      0|            case EbtFloatUE8M0:
  ------------------
  |  Branch (173:13): [True: 0, False: 0]
  ------------------
  174|      0|            case EbtFloatMXINT8:
  ------------------
  |  Branch (174:13): [True: 0, False: 0]
  ------------------
  175|      0|                if (rightUnionArray[i].getDConst() != 0.0)
  ------------------
  |  Branch (175:21): [True: 0, False: 0]
  ------------------
  176|      0|                    newConstArray[i].setDConst(leftUnionArray[i].getDConst() / rightUnionArray[i].getDConst());
  177|      0|                else if (leftUnionArray[i].getDConst() > 0.0)
  ------------------
  |  Branch (177:26): [True: 0, False: 0]
  ------------------
  178|      0|                    newConstArray[i].setDConst((double)INFINITY);
  179|      0|                else if (leftUnionArray[i].getDConst() < 0.0)
  ------------------
  |  Branch (179:26): [True: 0, False: 0]
  ------------------
  180|      0|                    newConstArray[i].setDConst(-(double)INFINITY);
  181|      0|                else
  182|      0|                    newConstArray[i].setDConst((double)NAN);
  183|      0|                break;
  184|       |
  185|      0|            case EbtInt:
  ------------------
  |  Branch (185:13): [True: 0, False: 0]
  ------------------
  186|      0|                if (rightUnionArray[i] == 0)
  ------------------
  |  Branch (186:21): [True: 0, False: 0]
  ------------------
  187|      0|                    newConstArray[i].setIConst(0x7FFFFFFF);
  188|      0|                else if (rightUnionArray[i].getIConst() == -1 && leftUnionArray[i].getIConst() == (int)-0x80000000ll)
  ------------------
  |  Branch (188:26): [True: 0, False: 0]
  |  Branch (188:66): [True: 0, False: 0]
  ------------------
  189|      0|                    newConstArray[i].setIConst((int)-0x80000000ll);
  190|      0|                else
  191|      0|                    newConstArray[i].setIConst(leftUnionArray[i].getIConst() / rightUnionArray[i].getIConst());
  192|      0|                break;
  193|       |
  194|      0|            case EbtUint:
  ------------------
  |  Branch (194:13): [True: 0, False: 0]
  ------------------
  195|      0|                if (rightUnionArray[i] == 0u)
  ------------------
  |  Branch (195:21): [True: 0, False: 0]
  ------------------
  196|      0|                    newConstArray[i].setUConst(0xFFFFFFFFu);
  197|      0|                else
  198|      0|                    newConstArray[i].setUConst(leftUnionArray[i].getUConst() / rightUnionArray[i].getUConst());
  199|      0|                break;
  200|       |
  201|      0|            case EbtInt8:
  ------------------
  |  Branch (201:13): [True: 0, False: 0]
  ------------------
  202|      0|                if (rightUnionArray[i] == (signed char)0)
  ------------------
  |  Branch (202:21): [True: 0, False: 0]
  ------------------
  203|      0|                    newConstArray[i].setI8Const((signed char)0x7F);
  204|      0|                else if (rightUnionArray[i].getI8Const() == (signed char)-1 && leftUnionArray[i].getI8Const() == (signed char)-0x80)
  ------------------
  |  Branch (204:26): [True: 0, False: 0]
  |  Branch (204:80): [True: 0, False: 0]
  ------------------
  205|      0|                    newConstArray[i].setI8Const((signed char)-0x80);
  206|      0|                else
  207|      0|                    newConstArray[i].setI8Const(leftUnionArray[i].getI8Const() / rightUnionArray[i].getI8Const());
  208|      0|                break;
  209|       |
  210|      0|            case EbtUint8:
  ------------------
  |  Branch (210:13): [True: 0, False: 0]
  ------------------
  211|      0|                if (rightUnionArray[i] == (unsigned char)0u)
  ------------------
  |  Branch (211:21): [True: 0, False: 0]
  ------------------
  212|      0|                    newConstArray[i].setU8Const((unsigned char)0xFFu);
  213|      0|                else
  214|      0|                    newConstArray[i].setU8Const(leftUnionArray[i].getU8Const() / rightUnionArray[i].getU8Const());
  215|      0|                break;
  216|       |
  217|      0|           case EbtInt16:
  ------------------
  |  Branch (217:12): [True: 0, False: 0]
  ------------------
  218|      0|                if (rightUnionArray[i] == (signed short)0)
  ------------------
  |  Branch (218:21): [True: 0, False: 0]
  ------------------
  219|      0|                    newConstArray[i].setI16Const((signed short)0x7FFF);
  220|      0|                else if (rightUnionArray[i].getI16Const() == (signed short)-1 && leftUnionArray[i].getI16Const() == (signed short)-0x8000)
  ------------------
  |  Branch (220:26): [True: 0, False: 0]
  |  Branch (220:82): [True: 0, False: 0]
  ------------------
  221|      0|                    newConstArray[i].setI16Const((signed short)-0x8000);
  222|      0|                else
  223|      0|                    newConstArray[i].setI16Const(leftUnionArray[i].getI16Const() / rightUnionArray[i].getI16Const());
  224|      0|                break;
  225|       |
  226|      0|            case EbtUint16:
  ------------------
  |  Branch (226:13): [True: 0, False: 0]
  ------------------
  227|      0|                if (rightUnionArray[i] == (unsigned short)0u)
  ------------------
  |  Branch (227:21): [True: 0, False: 0]
  ------------------
  228|      0|                    newConstArray[i].setU16Const((unsigned short)0xFFFFu);
  229|      0|                else
  230|      0|                    newConstArray[i].setU16Const(leftUnionArray[i].getU16Const() / rightUnionArray[i].getU16Const());
  231|      0|                break;
  232|       |
  233|      0|            case EbtInt64:
  ------------------
  |  Branch (233:13): [True: 0, False: 0]
  ------------------
  234|      0|                if (rightUnionArray[i] == 0ll)
  ------------------
  |  Branch (234:21): [True: 0, False: 0]
  ------------------
  235|      0|                    newConstArray[i].setI64Const(LLONG_MAX);
  236|      0|                else if (rightUnionArray[i].getI64Const() == -1 && leftUnionArray[i].getI64Const() == LLONG_MIN)
  ------------------
  |  Branch (236:26): [True: 0, False: 0]
  |  Branch (236:68): [True: 0, False: 0]
  ------------------
  237|      0|                    newConstArray[i].setI64Const(LLONG_MIN);
  238|      0|                else
  239|      0|                    newConstArray[i].setI64Const(leftUnionArray[i].getI64Const() / rightUnionArray[i].getI64Const());
  240|      0|                break;
  241|       |
  242|      0|            case EbtUint64:
  ------------------
  |  Branch (242:13): [True: 0, False: 0]
  ------------------
  243|      0|                if (rightUnionArray[i] == 0ull)
  ------------------
  |  Branch (243:21): [True: 0, False: 0]
  ------------------
  244|      0|                    newConstArray[i].setU64Const(0xFFFFFFFFFFFFFFFFull);
  245|      0|                else
  246|      0|                    newConstArray[i].setU64Const(leftUnionArray[i].getU64Const() / rightUnionArray[i].getU64Const());
  247|      0|                break;
  248|      0|            default:
  ------------------
  |  Branch (248:13): [True: 0, False: 0]
  ------------------
  249|      0|                return nullptr;
  250|      0|            }
  251|      0|        }
  252|      0|        break;
  253|       |
  254|      0|    case EOpMatrixTimesVector:
  ------------------
  |  Branch (254:5): [True: 0, False: 3]
  ------------------
  255|      0|        for (int i = 0; i < getMatrixRows(); i++) {
  ------------------
  |  Branch (255:25): [True: 0, False: 0]
  ------------------
  256|      0|            double sum = 0.0f;
  257|      0|            for (int j = 0; j < rightNode->getVectorSize(); j++) {
  ------------------
  |  Branch (257:29): [True: 0, False: 0]
  ------------------
  258|      0|                sum += leftUnionArray[j*getMatrixRows() + i].getDConst() * rightUnionArray[j].getDConst();
  259|      0|            }
  260|      0|            newConstArray[i].setDConst(sum);
  261|      0|        }
  262|       |
  263|      0|        returnType.shallowCopy(TType(getBasicType(), EvqConst, getMatrixRows()));
  264|      0|        break;
  265|       |
  266|      0|    case EOpVectorTimesMatrix:
  ------------------
  |  Branch (266:5): [True: 0, False: 3]
  ------------------
  267|      0|        for (int i = 0; i < rightNode->getMatrixCols(); i++) {
  ------------------
  |  Branch (267:25): [True: 0, False: 0]
  ------------------
  268|      0|            double sum = 0.0f;
  269|      0|            for (int j = 0; j < getVectorSize(); j++)
  ------------------
  |  Branch (269:29): [True: 0, False: 0]
  ------------------
  270|      0|                sum += leftUnionArray[j].getDConst() * rightUnionArray[i*rightNode->getMatrixRows() + j].getDConst();
  271|      0|            newConstArray[i].setDConst(sum);
  272|      0|        }
  273|       |
  274|      0|        returnType.shallowCopy(TType(getBasicType(), EvqConst, rightNode->getMatrixCols()));
  275|      0|        break;
  276|       |
  277|      0|    case EOpMod:
  ------------------
  |  Branch (277:5): [True: 0, False: 3]
  ------------------
  278|      0|        for (int i = 0; i < newComps; i++) {
  ------------------
  |  Branch (278:25): [True: 0, False: 0]
  ------------------
  279|      0|            if (rightUnionArray[i] == 0)
  ------------------
  |  Branch (279:17): [True: 0, False: 0]
  ------------------
  280|      0|                newConstArray[i] = leftUnionArray[i];
  281|      0|            else {
  282|      0|                switch (getType().getBasicType()) {
  283|      0|                case EbtInt:
  ------------------
  |  Branch (283:17): [True: 0, False: 0]
  ------------------
  284|      0|                    if (rightUnionArray[i].getIConst() == -1 && leftUnionArray[i].getIConst() == INT_MIN) {
  ------------------
  |  Branch (284:25): [True: 0, False: 0]
  |  Branch (284:65): [True: 0, False: 0]
  ------------------
  285|      0|                        newConstArray[i].setIConst(0);
  286|      0|                        break;
  287|      0|                    } else goto modulo_default;
  288|      0|                case EbtInt64:
  ------------------
  |  Branch (288:17): [True: 0, False: 0]
  ------------------
  289|      0|                    if (rightUnionArray[i].getI64Const() == -1 && leftUnionArray[i].getI64Const() == LLONG_MIN) {
  ------------------
  |  Branch (289:25): [True: 0, False: 0]
  |  Branch (289:67): [True: 0, False: 0]
  ------------------
  290|      0|                        newConstArray[i].setI64Const(0);
  291|      0|                        break;
  292|      0|                    } else goto modulo_default;
  293|      0|                case EbtInt16:
  ------------------
  |  Branch (293:17): [True: 0, False: 0]
  ------------------
  294|      0|                    if (rightUnionArray[i].getIConst() == -1 && leftUnionArray[i].getIConst() == SHRT_MIN) {
  ------------------
  |  Branch (294:25): [True: 0, False: 0]
  |  Branch (294:65): [True: 0, False: 0]
  ------------------
  295|      0|                        newConstArray[i].setIConst(0);
  296|      0|                        break;
  297|      0|                    } else goto modulo_default;
  298|      0|                default:
  ------------------
  |  Branch (298:17): [True: 0, False: 0]
  ------------------
  299|      0|                modulo_default:
  300|      0|                    newConstArray[i] = leftUnionArray[i] % rightUnionArray[i];
  301|      0|                }
  302|      0|            }
  303|      0|        }
  304|      0|        break;
  305|       |
  306|      0|    case EOpRightShift:
  ------------------
  |  Branch (306:5): [True: 0, False: 3]
  ------------------
  307|      0|        for (int i = 0; i < newComps; i++)
  ------------------
  |  Branch (307:25): [True: 0, False: 0]
  ------------------
  308|      0|            newConstArray[i] = leftUnionArray[i] >> rightUnionArray[i];
  309|      0|        break;
  310|       |
  311|      0|    case EOpLeftShift:
  ------------------
  |  Branch (311:5): [True: 0, False: 3]
  ------------------
  312|      0|        for (int i = 0; i < newComps; i++)
  ------------------
  |  Branch (312:25): [True: 0, False: 0]
  ------------------
  313|      0|            newConstArray[i] = leftUnionArray[i] << rightUnionArray[i];
  314|      0|        break;
  315|       |
  316|      0|    case EOpAnd:
  ------------------
  |  Branch (316:5): [True: 0, False: 3]
  ------------------
  317|      0|        for (int i = 0; i < newComps; i++)
  ------------------
  |  Branch (317:25): [True: 0, False: 0]
  ------------------
  318|      0|            newConstArray[i] = leftUnionArray[i] & rightUnionArray[i];
  319|      0|        break;
  320|      0|    case EOpInclusiveOr:
  ------------------
  |  Branch (320:5): [True: 0, False: 3]
  ------------------
  321|      0|        for (int i = 0; i < newComps; i++)
  ------------------
  |  Branch (321:25): [True: 0, False: 0]
  ------------------
  322|      0|            newConstArray[i] = leftUnionArray[i] | rightUnionArray[i];
  323|      0|        break;
  324|      0|    case EOpExclusiveOr:
  ------------------
  |  Branch (324:5): [True: 0, False: 3]
  ------------------
  325|      0|        for (int i = 0; i < newComps; i++)
  ------------------
  |  Branch (325:25): [True: 0, False: 0]
  ------------------
  326|      0|            newConstArray[i] = leftUnionArray[i] ^ rightUnionArray[i];
  327|      0|        break;
  328|       |
  329|      0|    case EOpLogicalAnd: // this code is written for possible future use, will not get executed currently
  ------------------
  |  Branch (329:5): [True: 0, False: 3]
  ------------------
  330|      0|        for (int i = 0; i < newComps; i++)
  ------------------
  |  Branch (330:25): [True: 0, False: 0]
  ------------------
  331|      0|            newConstArray[i] = leftUnionArray[i] && rightUnionArray[i];
  332|      0|        break;
  333|       |
  334|      0|    case EOpLogicalOr: // this code is written for possible future use, will not get executed currently
  ------------------
  |  Branch (334:5): [True: 0, False: 3]
  ------------------
  335|      0|        for (int i = 0; i < newComps; i++)
  ------------------
  |  Branch (335:25): [True: 0, False: 0]
  ------------------
  336|      0|            newConstArray[i] = leftUnionArray[i] || rightUnionArray[i];
  337|      0|        break;
  338|       |
  339|      0|    case EOpLogicalXor:
  ------------------
  |  Branch (339:5): [True: 0, False: 3]
  ------------------
  340|      0|        for (int i = 0; i < newComps; i++) {
  ------------------
  |  Branch (340:25): [True: 0, False: 0]
  ------------------
  341|      0|            switch (getType().getBasicType()) {
  342|      0|            case EbtBool: newConstArray[i].setBConst((leftUnionArray[i] == rightUnionArray[i]) ? false : true); break;
  ------------------
  |  Branch (342:13): [True: 0, False: 0]
  |  Branch (342:54): [True: 0, False: 0]
  ------------------
  343|      0|            default: assert(false && "Default missing");
  ------------------
  |  Branch (343:13): [True: 0, False: 0]
  ------------------
  344|      0|            }
  345|      0|        }
  346|      0|        break;
  347|       |
  348|      0|    case EOpLessThan:
  ------------------
  |  Branch (348:5): [True: 0, False: 3]
  ------------------
  349|      0|        newConstArray[0].setBConst(leftUnionArray[0] < rightUnionArray[0]);
  350|      0|        returnType.shallowCopy(constBool);
  351|      0|        break;
  352|      0|    case EOpGreaterThan:
  ------------------
  |  Branch (352:5): [True: 0, False: 3]
  ------------------
  353|      0|        newConstArray[0].setBConst(leftUnionArray[0] > rightUnionArray[0]);
  354|      0|        returnType.shallowCopy(constBool);
  355|      0|        break;
  356|      0|    case EOpLessThanEqual:
  ------------------
  |  Branch (356:5): [True: 0, False: 3]
  ------------------
  357|      0|        newConstArray[0].setBConst(! (leftUnionArray[0] > rightUnionArray[0]));
  358|      0|        returnType.shallowCopy(constBool);
  359|      0|        break;
  360|      0|    case EOpGreaterThanEqual:
  ------------------
  |  Branch (360:5): [True: 0, False: 3]
  ------------------
  361|      0|        newConstArray[0].setBConst(! (leftUnionArray[0] < rightUnionArray[0]));
  362|      0|        returnType.shallowCopy(constBool);
  363|      0|        break;
  364|      0|    case EOpEqual:
  ------------------
  |  Branch (364:5): [True: 0, False: 3]
  ------------------
  365|      0|        newConstArray[0].setBConst(rightNode->getConstArray() == leftUnionArray);
  366|      0|        returnType.shallowCopy(constBool);
  367|      0|        break;
  368|      0|    case EOpNotEqual:
  ------------------
  |  Branch (368:5): [True: 0, False: 3]
  ------------------
  369|      0|        newConstArray[0].setBConst(rightNode->getConstArray() != leftUnionArray);
  370|      0|        returnType.shallowCopy(constBool);
  371|      0|        break;
  372|       |
  373|      0|    default:
  ------------------
  |  Branch (373:5): [True: 0, False: 3]
  ------------------
  374|      0|        return nullptr;
  375|      3|    }
  376|       |
  377|      3|    TIntermConstantUnion *newNode = new TIntermConstantUnion(newConstArray, returnType);
  378|      3|    newNode->setLoc(getLoc());
  379|       |
  380|      3|    return newNode;
  381|      3|}
_ZNK7glslang20TIntermConstantUnion4foldENS_9TOperatorERKNS_5TTypeE:
  389|    118|{
  390|       |    // First, size the result, which is mostly the same as the argument's size,
  391|       |    // but not always, and classify what is componentwise.
  392|       |    // Also, eliminate cases that can't be compile-time constant.
  393|    118|    int resultSize;
  394|    118|    bool componentWise = true;
  395|       |
  396|    118|    int objectSize = getType().computeNumComponents();
  397|    118|    switch (op) {
  398|      0|    case EOpDeterminant:
  ------------------
  |  Branch (398:5): [True: 0, False: 118]
  ------------------
  399|      0|    case EOpAny:
  ------------------
  |  Branch (399:5): [True: 0, False: 118]
  ------------------
  400|      0|    case EOpAll:
  ------------------
  |  Branch (400:5): [True: 0, False: 118]
  ------------------
  401|      0|    case EOpLength:
  ------------------
  |  Branch (401:5): [True: 0, False: 118]
  ------------------
  402|      0|        componentWise = false;
  403|      0|        resultSize = 1;
  404|      0|        break;
  405|       |
  406|      0|    case EOpEmitStreamVertex:
  ------------------
  |  Branch (406:5): [True: 0, False: 118]
  ------------------
  407|      0|    case EOpEndStreamPrimitive:
  ------------------
  |  Branch (407:5): [True: 0, False: 118]
  ------------------
  408|       |        // These don't fold
  409|      0|        return nullptr;
  410|       |
  411|      0|    case EOpPackSnorm2x16:
  ------------------
  |  Branch (411:5): [True: 0, False: 118]
  ------------------
  412|      0|    case EOpPackUnorm2x16:
  ------------------
  |  Branch (412:5): [True: 0, False: 118]
  ------------------
  413|      0|    case EOpPackHalf2x16:
  ------------------
  |  Branch (413:5): [True: 0, False: 118]
  ------------------
  414|      0|        componentWise = false;
  415|      0|        resultSize = 1;
  416|      0|        break;
  417|       |
  418|      0|    case EOpUnpackSnorm2x16:
  ------------------
  |  Branch (418:5): [True: 0, False: 118]
  ------------------
  419|      0|    case EOpUnpackUnorm2x16:
  ------------------
  |  Branch (419:5): [True: 0, False: 118]
  ------------------
  420|      0|    case EOpUnpackHalf2x16:
  ------------------
  |  Branch (420:5): [True: 0, False: 118]
  ------------------
  421|      0|        componentWise = false;
  422|      0|        resultSize = 2;
  423|      0|        break;
  424|       |
  425|      0|    case EOpPack16:
  ------------------
  |  Branch (425:5): [True: 0, False: 118]
  ------------------
  426|      0|    case EOpPack32:
  ------------------
  |  Branch (426:5): [True: 0, False: 118]
  ------------------
  427|      0|    case EOpPack64:
  ------------------
  |  Branch (427:5): [True: 0, False: 118]
  ------------------
  428|      0|    case EOpUnpack32:
  ------------------
  |  Branch (428:5): [True: 0, False: 118]
  ------------------
  429|      0|    case EOpUnpack16:
  ------------------
  |  Branch (429:5): [True: 0, False: 118]
  ------------------
  430|      0|    case EOpUnpack8:
  ------------------
  |  Branch (430:5): [True: 0, False: 118]
  ------------------
  431|      0|    case EOpNormalize:
  ------------------
  |  Branch (431:5): [True: 0, False: 118]
  ------------------
  432|      0|        componentWise = false;
  433|      0|        resultSize = objectSize;
  434|      0|        break;
  435|       |
  436|    118|    default:
  ------------------
  |  Branch (436:5): [True: 118, False: 0]
  ------------------
  437|    118|        resultSize = objectSize;
  438|    118|        break;
  439|    118|    }
  440|       |
  441|       |    // Set up for processing
  442|    118|    TConstUnionArray newConstArray(resultSize);
  443|    118|    const TConstUnionArray& unionArray = getConstArray();
  444|       |
  445|       |    // Process non-component-wise operations
  446|    118|    switch (op) {
  447|      0|    case EOpLength:
  ------------------
  |  Branch (447:5): [True: 0, False: 118]
  ------------------
  448|      0|    case EOpNormalize:
  ------------------
  |  Branch (448:5): [True: 0, False: 118]
  ------------------
  449|      0|    {
  450|      0|        double sum = 0;
  451|      0|        for (int i = 0; i < objectSize; i++)
  ------------------
  |  Branch (451:25): [True: 0, False: 0]
  ------------------
  452|      0|            sum += unionArray[i].getDConst() * unionArray[i].getDConst();
  453|      0|        double length = sqrt(sum);
  454|      0|        if (op == EOpLength)
  ------------------
  |  Branch (454:13): [True: 0, False: 0]
  ------------------
  455|      0|            newConstArray[0].setDConst(length);
  456|      0|        else {
  457|      0|            for (int i = 0; i < objectSize; i++)
  ------------------
  |  Branch (457:29): [True: 0, False: 0]
  ------------------
  458|      0|                newConstArray[i].setDConst(unionArray[i].getDConst() / length);
  459|      0|        }
  460|      0|        break;
  461|      0|    }
  462|       |
  463|      0|    case EOpAny:
  ------------------
  |  Branch (463:5): [True: 0, False: 118]
  ------------------
  464|      0|    {
  465|      0|        bool result = false;
  466|      0|        for (int i = 0; i < objectSize; i++) {
  ------------------
  |  Branch (466:25): [True: 0, False: 0]
  ------------------
  467|      0|            if (unionArray[i].getBConst())
  ------------------
  |  Branch (467:17): [True: 0, False: 0]
  ------------------
  468|      0|                result = true;
  469|      0|        }
  470|      0|        newConstArray[0].setBConst(result);
  471|      0|        break;
  472|      0|    }
  473|      0|    case EOpAll:
  ------------------
  |  Branch (473:5): [True: 0, False: 118]
  ------------------
  474|      0|    {
  475|      0|        bool result = true;
  476|      0|        for (int i = 0; i < objectSize; i++) {
  ------------------
  |  Branch (476:25): [True: 0, False: 0]
  ------------------
  477|      0|            if (! unionArray[i].getBConst())
  ------------------
  |  Branch (477:17): [True: 0, False: 0]
  ------------------
  478|      0|                result = false;
  479|      0|        }
  480|      0|        newConstArray[0].setBConst(result);
  481|      0|        break;
  482|      0|    }
  483|       |
  484|      0|    case EOpPackSnorm2x16:
  ------------------
  |  Branch (484:5): [True: 0, False: 118]
  ------------------
  485|      0|    case EOpPackUnorm2x16:
  ------------------
  |  Branch (485:5): [True: 0, False: 118]
  ------------------
  486|      0|    case EOpPackHalf2x16:
  ------------------
  |  Branch (486:5): [True: 0, False: 118]
  ------------------
  487|      0|    case EOpPack16:
  ------------------
  |  Branch (487:5): [True: 0, False: 118]
  ------------------
  488|      0|    case EOpPack32:
  ------------------
  |  Branch (488:5): [True: 0, False: 118]
  ------------------
  489|      0|    case EOpPack64:
  ------------------
  |  Branch (489:5): [True: 0, False: 118]
  ------------------
  490|      0|    case EOpUnpack32:
  ------------------
  |  Branch (490:5): [True: 0, False: 118]
  ------------------
  491|      0|    case EOpUnpack16:
  ------------------
  |  Branch (491:5): [True: 0, False: 118]
  ------------------
  492|      0|    case EOpUnpack8:
  ------------------
  |  Branch (492:5): [True: 0, False: 118]
  ------------------
  493|       |
  494|      0|    case EOpUnpackSnorm2x16:
  ------------------
  |  Branch (494:5): [True: 0, False: 118]
  ------------------
  495|      0|    case EOpUnpackUnorm2x16:
  ------------------
  |  Branch (495:5): [True: 0, False: 118]
  ------------------
  496|      0|    case EOpUnpackHalf2x16:
  ------------------
  |  Branch (496:5): [True: 0, False: 118]
  ------------------
  497|       |
  498|      0|    case EOpDeterminant:
  ------------------
  |  Branch (498:5): [True: 0, False: 118]
  ------------------
  499|      0|    case EOpMatrixInverse:
  ------------------
  |  Branch (499:5): [True: 0, False: 118]
  ------------------
  500|      0|    case EOpTranspose:
  ------------------
  |  Branch (500:5): [True: 0, False: 118]
  ------------------
  501|      0|        return nullptr;
  502|       |
  503|    118|    default:
  ------------------
  |  Branch (503:5): [True: 118, False: 0]
  ------------------
  504|    118|        assert(componentWise);
  505|    118|        break;
  506|    118|    }
  507|       |
  508|       |    // Turn off the componentwise loop
  509|    118|    if (! componentWise)
  ------------------
  |  Branch (509:9): [True: 0, False: 118]
  ------------------
  510|      0|        objectSize = 0;
  511|       |
  512|       |    // Process component-wise operations
  513|    236|    for (int i = 0; i < objectSize; i++) {
  ------------------
  |  Branch (513:21): [True: 118, False: 118]
  ------------------
  514|       |        // First read the value and convert to i64/u64/f64/bool, then convert
  515|       |        // to the destination type (still 64b), then convert down to the
  516|       |        // destination size.
  517|    118|        if (IsOpNumericConv(op)) {
  ------------------
  |  Branch (517:13): [True: 0, False: 118]
  ------------------
  518|      0|            enum ConvType { CONV_FLOAT, CONV_INT, CONV_UINT, CONV_BOOL };
  519|      0|            ConvType srcType = CONV_UINT, dstType = CONV_UINT;
  520|      0|            double valf = 0.0;
  521|      0|            uint64_t valu = 0;
  522|      0|            int64_t vali = 0;
  523|      0|            bool valb = false;
  524|      0|            switch (getType().getBasicType()) {
  525|      0|            case EbtDouble:
  ------------------
  |  Branch (525:13): [True: 0, False: 0]
  ------------------
  526|      0|            case EbtFloat16:
  ------------------
  |  Branch (526:13): [True: 0, False: 0]
  ------------------
  527|      0|            case EbtBFloat16:
  ------------------
  |  Branch (527:13): [True: 0, False: 0]
  ------------------
  528|      0|            case EbtFloatE5M2:
  ------------------
  |  Branch (528:13): [True: 0, False: 0]
  ------------------
  529|      0|            case EbtFloatE4M3:
  ------------------
  |  Branch (529:13): [True: 0, False: 0]
  ------------------
  530|      0|            case EbtFloatE2M1:
  ------------------
  |  Branch (530:13): [True: 0, False: 0]
  ------------------
  531|      0|            case EbtFloatE3M2:
  ------------------
  |  Branch (531:13): [True: 0, False: 0]
  ------------------
  532|      0|            case EbtFloatE2M3:
  ------------------
  |  Branch (532:13): [True: 0, False: 0]
  ------------------
  533|      0|            case EbtFloatUE8M0:
  ------------------
  |  Branch (533:13): [True: 0, False: 0]
  ------------------
  534|      0|            case EbtFloatMXINT8:
  ------------------
  |  Branch (534:13): [True: 0, False: 0]
  ------------------
  535|      0|            case EbtFloat:
  ------------------
  |  Branch (535:13): [True: 0, False: 0]
  ------------------
  536|      0|                valf = unionArray[i].getDConst();
  537|      0|                srcType = CONV_FLOAT;
  538|      0|                break;
  539|      0|            case EbtInt8:
  ------------------
  |  Branch (539:13): [True: 0, False: 0]
  ------------------
  540|      0|                vali = unionArray[i].getI8Const();
  541|      0|                srcType = CONV_INT;
  542|      0|                break;
  543|      0|            case EbtInt16:
  ------------------
  |  Branch (543:13): [True: 0, False: 0]
  ------------------
  544|      0|                vali = unionArray[i].getI16Const();
  545|      0|                srcType = CONV_INT;
  546|      0|                break;
  547|      0|            case EbtInt:
  ------------------
  |  Branch (547:13): [True: 0, False: 0]
  ------------------
  548|      0|                vali = unionArray[i].getIConst();
  549|      0|                srcType = CONV_INT;
  550|      0|                break;
  551|      0|            case EbtInt64:
  ------------------
  |  Branch (551:13): [True: 0, False: 0]
  ------------------
  552|      0|                vali = unionArray[i].getI64Const();
  553|      0|                srcType = CONV_INT;
  554|      0|                break;
  555|      0|            case EbtUint8:
  ------------------
  |  Branch (555:13): [True: 0, False: 0]
  ------------------
  556|      0|                valu = unionArray[i].getU8Const();
  557|      0|                srcType = CONV_UINT;
  558|      0|                break;
  559|      0|            case EbtUint16:
  ------------------
  |  Branch (559:13): [True: 0, False: 0]
  ------------------
  560|      0|                valu = unionArray[i].getU16Const();
  561|      0|                srcType = CONV_UINT;
  562|      0|                break;
  563|      0|            case EbtUint:
  ------------------
  |  Branch (563:13): [True: 0, False: 0]
  ------------------
  564|      0|                valu = unionArray[i].getUConst();
  565|      0|                srcType = CONV_UINT;
  566|      0|                break;
  567|      0|            case EbtUint64:
  ------------------
  |  Branch (567:13): [True: 0, False: 0]
  ------------------
  568|      0|                valu = unionArray[i].getU64Const();
  569|      0|                srcType = CONV_UINT;
  570|      0|                break;
  571|      0|            case EbtBool:
  ------------------
  |  Branch (571:13): [True: 0, False: 0]
  ------------------
  572|      0|                valb = unionArray[i].getBConst();
  573|      0|                srcType = CONV_BOOL;
  574|      0|                break;
  575|      0|            default:
  ------------------
  |  Branch (575:13): [True: 0, False: 0]
  ------------------
  576|      0|                assert(0);
  577|      0|                break;
  578|      0|            }
  579|       |
  580|      0|            switch (returnType.getBasicType()) {
  581|      0|            case EbtDouble:
  ------------------
  |  Branch (581:13): [True: 0, False: 0]
  ------------------
  582|      0|            case EbtFloat16:
  ------------------
  |  Branch (582:13): [True: 0, False: 0]
  ------------------
  583|      0|            case EbtBFloat16:
  ------------------
  |  Branch (583:13): [True: 0, False: 0]
  ------------------
  584|      0|            case EbtFloatE5M2:
  ------------------
  |  Branch (584:13): [True: 0, False: 0]
  ------------------
  585|      0|            case EbtFloatE4M3:
  ------------------
  |  Branch (585:13): [True: 0, False: 0]
  ------------------
  586|      0|            case EbtFloatE2M1:
  ------------------
  |  Branch (586:13): [True: 0, False: 0]
  ------------------
  587|      0|            case EbtFloatE3M2:
  ------------------
  |  Branch (587:13): [True: 0, False: 0]
  ------------------
  588|      0|            case EbtFloatE2M3:
  ------------------
  |  Branch (588:13): [True: 0, False: 0]
  ------------------
  589|      0|            case EbtFloatUE8M0:
  ------------------
  |  Branch (589:13): [True: 0, False: 0]
  ------------------
  590|      0|            case EbtFloatMXINT8:
  ------------------
  |  Branch (590:13): [True: 0, False: 0]
  ------------------
  591|      0|            case EbtFloat:
  ------------------
  |  Branch (591:13): [True: 0, False: 0]
  ------------------
  592|      0|                dstType = CONV_FLOAT;
  593|      0|                break;
  594|      0|            case EbtInt8:
  ------------------
  |  Branch (594:13): [True: 0, False: 0]
  ------------------
  595|      0|            case EbtInt16:
  ------------------
  |  Branch (595:13): [True: 0, False: 0]
  ------------------
  596|      0|            case EbtInt:
  ------------------
  |  Branch (596:13): [True: 0, False: 0]
  ------------------
  597|      0|            case EbtInt64:
  ------------------
  |  Branch (597:13): [True: 0, False: 0]
  ------------------
  598|      0|                dstType = CONV_INT;
  599|      0|                break;
  600|      0|            case EbtUint8:
  ------------------
  |  Branch (600:13): [True: 0, False: 0]
  ------------------
  601|      0|            case EbtUint16:
  ------------------
  |  Branch (601:13): [True: 0, False: 0]
  ------------------
  602|      0|            case EbtUint:
  ------------------
  |  Branch (602:13): [True: 0, False: 0]
  ------------------
  603|      0|            case EbtUint64:
  ------------------
  |  Branch (603:13): [True: 0, False: 0]
  ------------------
  604|      0|                dstType = CONV_UINT;
  605|      0|                break;
  606|      0|            case EbtBool:
  ------------------
  |  Branch (606:13): [True: 0, False: 0]
  ------------------
  607|      0|                dstType = CONV_BOOL;
  608|      0|                break;
  609|      0|            default:
  ------------------
  |  Branch (609:13): [True: 0, False: 0]
  ------------------
  610|      0|                assert(0);
  611|      0|                break;
  612|      0|            }
  613|      0|            if (dstType == CONV_BOOL) {
  ------------------
  |  Branch (613:17): [True: 0, False: 0]
  ------------------
  614|      0|                switch (srcType) {
  615|      0|                case CONV_FLOAT:
  ------------------
  |  Branch (615:17): [True: 0, False: 0]
  ------------------
  616|      0|                    valb = (valf != 0.0); break;
  617|      0|                case CONV_INT:
  ------------------
  |  Branch (617:17): [True: 0, False: 0]
  ------------------
  618|      0|                    valb = (vali != 0.0); break;
  619|      0|                case CONV_UINT:
  ------------------
  |  Branch (619:17): [True: 0, False: 0]
  ------------------
  620|      0|                    valb = (valu != 0.0); break;
  621|      0|                default:
  ------------------
  |  Branch (621:17): [True: 0, False: 0]
  ------------------
  622|      0|                    break;
  623|      0|                }
  624|      0|            } else if (dstType == CONV_FLOAT) {
  ------------------
  |  Branch (624:24): [True: 0, False: 0]
  ------------------
  625|      0|                switch (srcType) {
  626|      0|                case CONV_BOOL:
  ------------------
  |  Branch (626:17): [True: 0, False: 0]
  ------------------
  627|      0|                    valf = (double)valb; break;
  628|      0|                case CONV_INT:
  ------------------
  |  Branch (628:17): [True: 0, False: 0]
  ------------------
  629|      0|                    valf = (double)vali; break;
  630|      0|                case CONV_UINT:
  ------------------
  |  Branch (630:17): [True: 0, False: 0]
  ------------------
  631|      0|                    valf = (double)valu; break;
  632|      0|                default:
  ------------------
  |  Branch (632:17): [True: 0, False: 0]
  ------------------
  633|      0|                    break;
  634|      0|                }
  635|      0|            } else if (dstType == CONV_INT) {
  ------------------
  |  Branch (635:24): [True: 0, False: 0]
  ------------------
  636|      0|                switch (srcType) {
  637|      0|                case CONV_BOOL:
  ------------------
  |  Branch (637:17): [True: 0, False: 0]
  ------------------
  638|      0|                    vali = (int64_t)valb; break;
  639|      0|                case CONV_FLOAT:
  ------------------
  |  Branch (639:17): [True: 0, False: 0]
  ------------------
  640|      0|                    vali = (int64_t)valf; break;
  641|      0|                case CONV_UINT:
  ------------------
  |  Branch (641:17): [True: 0, False: 0]
  ------------------
  642|      0|                    vali = (int64_t)valu; break;
  643|      0|                default:
  ------------------
  |  Branch (643:17): [True: 0, False: 0]
  ------------------
  644|      0|                    break;
  645|      0|                }
  646|      0|            } else if (dstType == CONV_UINT) {
  ------------------
  |  Branch (646:24): [True: 0, False: 0]
  ------------------
  647|      0|                switch (srcType) {
  648|      0|                case CONV_BOOL:
  ------------------
  |  Branch (648:17): [True: 0, False: 0]
  ------------------
  649|      0|                    valu = (uint64_t)valb; break;
  650|      0|                case CONV_FLOAT:
  ------------------
  |  Branch (650:17): [True: 0, False: 0]
  ------------------
  651|      0|                    valu = (uint64_t)valf; break;
  652|      0|                case CONV_INT:
  ------------------
  |  Branch (652:17): [True: 0, False: 0]
  ------------------
  653|      0|                    valu = (uint64_t)vali; break;
  654|      0|                default:
  ------------------
  |  Branch (654:17): [True: 0, False: 0]
  ------------------
  655|      0|                    break;
  656|      0|                }
  657|      0|            }
  658|      0|            switch (returnType.getBasicType()) {
  659|      0|            case EbtDouble:
  ------------------
  |  Branch (659:13): [True: 0, False: 0]
  ------------------
  660|      0|            case EbtFloat16:
  ------------------
  |  Branch (660:13): [True: 0, False: 0]
  ------------------
  661|      0|            case EbtBFloat16:
  ------------------
  |  Branch (661:13): [True: 0, False: 0]
  ------------------
  662|      0|            case EbtFloatE5M2:
  ------------------
  |  Branch (662:13): [True: 0, False: 0]
  ------------------
  663|      0|            case EbtFloatE4M3:
  ------------------
  |  Branch (663:13): [True: 0, False: 0]
  ------------------
  664|      0|            case EbtFloatE2M1:
  ------------------
  |  Branch (664:13): [True: 0, False: 0]
  ------------------
  665|      0|            case EbtFloatE3M2:
  ------------------
  |  Branch (665:13): [True: 0, False: 0]
  ------------------
  666|      0|            case EbtFloatE2M3:
  ------------------
  |  Branch (666:13): [True: 0, False: 0]
  ------------------
  667|      0|            case EbtFloatUE8M0:
  ------------------
  |  Branch (667:13): [True: 0, False: 0]
  ------------------
  668|      0|            case EbtFloatMXINT8:
  ------------------
  |  Branch (668:13): [True: 0, False: 0]
  ------------------
  669|      0|            case EbtFloat:
  ------------------
  |  Branch (669:13): [True: 0, False: 0]
  ------------------
  670|      0|                newConstArray[i].setDConst(valf); break;
  671|      0|            case EbtInt8:
  ------------------
  |  Branch (671:13): [True: 0, False: 0]
  ------------------
  672|      0|                newConstArray[i].setI8Const(static_cast<int8_t>(vali)); break;
  673|      0|            case EbtInt16:
  ------------------
  |  Branch (673:13): [True: 0, False: 0]
  ------------------
  674|      0|                newConstArray[i].setI16Const(static_cast<int16_t>(vali)); break;
  675|      0|            case EbtInt:
  ------------------
  |  Branch (675:13): [True: 0, False: 0]
  ------------------
  676|      0|                newConstArray[i].setIConst(static_cast<int32_t>(vali)); break;
  677|      0|            case EbtInt64:
  ------------------
  |  Branch (677:13): [True: 0, False: 0]
  ------------------
  678|      0|                newConstArray[i].setI64Const(vali); break;
  679|      0|            case EbtUint8:
  ------------------
  |  Branch (679:13): [True: 0, False: 0]
  ------------------
  680|      0|                newConstArray[i].setU8Const(static_cast<uint8_t>(valu)); break;
  681|      0|            case EbtUint16:
  ------------------
  |  Branch (681:13): [True: 0, False: 0]
  ------------------
  682|      0|                newConstArray[i].setU16Const(static_cast<uint16_t>(valu)); break;
  683|      0|            case EbtUint:
  ------------------
  |  Branch (683:13): [True: 0, False: 0]
  ------------------
  684|      0|                newConstArray[i].setUConst(static_cast<uint32_t>(valu)); break;
  685|      0|            case EbtUint64:
  ------------------
  |  Branch (685:13): [True: 0, False: 0]
  ------------------
  686|      0|                newConstArray[i].setU64Const(valu); break;
  687|      0|            case EbtBool:
  ------------------
  |  Branch (687:13): [True: 0, False: 0]
  ------------------
  688|      0|                newConstArray[i].setBConst(valb); break;
  689|      0|            default:
  ------------------
  |  Branch (689:13): [True: 0, False: 0]
  ------------------
  690|      0|                assert(0);
  691|      0|                break;
  692|      0|            }
  693|      0|            continue;
  694|      0|        }
  695|    118|        switch (op) {
  696|    118|        case EOpNegative:
  ------------------
  |  Branch (696:9): [True: 118, False: 0]
  ------------------
  697|    118|            switch (getType().getBasicType()) {
  698|      0|            case EbtDouble:
  ------------------
  |  Branch (698:13): [True: 0, False: 118]
  ------------------
  699|      0|            case EbtFloat16:
  ------------------
  |  Branch (699:13): [True: 0, False: 118]
  ------------------
  700|      0|            case EbtBFloat16:
  ------------------
  |  Branch (700:13): [True: 0, False: 118]
  ------------------
  701|      0|            case EbtFloatE5M2:
  ------------------
  |  Branch (701:13): [True: 0, False: 118]
  ------------------
  702|      0|            case EbtFloatE4M3:
  ------------------
  |  Branch (702:13): [True: 0, False: 118]
  ------------------
  703|      0|            case EbtFloatE2M1:
  ------------------
  |  Branch (703:13): [True: 0, False: 118]
  ------------------
  704|      0|            case EbtFloatE3M2:
  ------------------
  |  Branch (704:13): [True: 0, False: 118]
  ------------------
  705|      0|            case EbtFloatE2M3:
  ------------------
  |  Branch (705:13): [True: 0, False: 118]
  ------------------
  706|      0|            case EbtFloatUE8M0:
  ------------------
  |  Branch (706:13): [True: 0, False: 118]
  ------------------
  707|      0|            case EbtFloatMXINT8:
  ------------------
  |  Branch (707:13): [True: 0, False: 118]
  ------------------
  708|      0|            case EbtFloat: newConstArray[i].setDConst(-unionArray[i].getDConst()); break;
  ------------------
  |  Branch (708:13): [True: 0, False: 118]
  ------------------
  709|       |            // Note: avoid UBSAN error regarding negating 0x80000000
  710|    118|            case EbtInt:   newConstArray[i].setIConst(
  ------------------
  |  Branch (710:13): [True: 118, False: 0]
  ------------------
  711|    118|                                static_cast<unsigned int>(unionArray[i].getIConst()) == 0x80000000
  ------------------
  |  Branch (711:33): [True: 0, False: 118]
  ------------------
  712|    118|                                    ? -0x7FFFFFFF - 1
  713|    118|                                    : -unionArray[i].getIConst());
  714|    118|                           break;
  715|      0|            case EbtUint:  newConstArray[i].setUConst(static_cast<unsigned int>(-static_cast<int>(unionArray[i].getUConst())));  break;
  ------------------
  |  Branch (715:13): [True: 0, False: 118]
  ------------------
  716|      0|            case EbtInt8:  newConstArray[i].setI8Const(-unionArray[i].getI8Const()); break;
  ------------------
  |  Branch (716:13): [True: 0, False: 118]
  ------------------
  717|      0|            case EbtUint8: newConstArray[i].setU8Const(static_cast<unsigned int>(-static_cast<signed int>(unionArray[i].getU8Const())));  break;
  ------------------
  |  Branch (717:13): [True: 0, False: 118]
  ------------------
  718|      0|            case EbtInt16: newConstArray[i].setI16Const(-unionArray[i].getI16Const()); break;
  ------------------
  |  Branch (718:13): [True: 0, False: 118]
  ------------------
  719|      0|            case EbtUint16:newConstArray[i].setU16Const(static_cast<unsigned int>(-static_cast<signed int>(unionArray[i].getU16Const())));  break;
  ------------------
  |  Branch (719:13): [True: 0, False: 118]
  ------------------
  720|      0|            case EbtInt64: {
  ------------------
  |  Branch (720:13): [True: 0, False: 118]
  ------------------
  721|      0|                int64_t i64val = unionArray[i].getI64Const();
  722|      0|                newConstArray[i].setI64Const(i64val == INT64_MIN ? INT64_MIN : -i64val);
  ------------------
  |  Branch (722:46): [True: 0, False: 0]
  ------------------
  723|      0|                break;
  724|      0|            }
  725|      0|            case EbtUint64: newConstArray[i].setU64Const(static_cast<unsigned long long>(-static_cast<long long>(unionArray[i].getU64Const())));  break;
  ------------------
  |  Branch (725:13): [True: 0, False: 118]
  ------------------
  726|      0|            default:
  ------------------
  |  Branch (726:13): [True: 0, False: 118]
  ------------------
  727|      0|                return nullptr;
  728|    118|            }
  729|    118|            break;
  730|    118|        case EOpLogicalNot:
  ------------------
  |  Branch (730:9): [True: 0, False: 118]
  ------------------
  731|      0|        case EOpVectorLogicalNot:
  ------------------
  |  Branch (731:9): [True: 0, False: 118]
  ------------------
  732|      0|            switch (getType().getBasicType()) {
  733|      0|            case EbtBool:  newConstArray[i].setBConst(!unionArray[i].getBConst()); break;
  ------------------
  |  Branch (733:13): [True: 0, False: 0]
  ------------------
  734|      0|            default:
  ------------------
  |  Branch (734:13): [True: 0, False: 0]
  ------------------
  735|      0|                return nullptr;
  736|      0|            }
  737|      0|            break;
  738|      0|        case EOpBitwiseNot:
  ------------------
  |  Branch (738:9): [True: 0, False: 118]
  ------------------
  739|      0|            newConstArray[i] = ~unionArray[i];
  740|      0|            break;
  741|      0|        case EOpRadians:
  ------------------
  |  Branch (741:9): [True: 0, False: 118]
  ------------------
  742|      0|            newConstArray[i].setDConst(unionArray[i].getDConst() * pi / 180.0);
  743|      0|            break;
  744|      0|        case EOpDegrees:
  ------------------
  |  Branch (744:9): [True: 0, False: 118]
  ------------------
  745|      0|            newConstArray[i].setDConst(unionArray[i].getDConst() * 180.0 / pi);
  746|      0|            break;
  747|      0|        case EOpSin:
  ------------------
  |  Branch (747:9): [True: 0, False: 118]
  ------------------
  748|      0|            newConstArray[i].setDConst(sin(unionArray[i].getDConst()));
  749|      0|            break;
  750|      0|        case EOpCos:
  ------------------
  |  Branch (750:9): [True: 0, False: 118]
  ------------------
  751|      0|            newConstArray[i].setDConst(cos(unionArray[i].getDConst()));
  752|      0|            break;
  753|      0|        case EOpTan:
  ------------------
  |  Branch (753:9): [True: 0, False: 118]
  ------------------
  754|      0|            newConstArray[i].setDConst(tan(unionArray[i].getDConst()));
  755|      0|            break;
  756|      0|        case EOpAsin:
  ------------------
  |  Branch (756:9): [True: 0, False: 118]
  ------------------
  757|      0|            newConstArray[i].setDConst(asin(unionArray[i].getDConst()));
  758|      0|            break;
  759|      0|        case EOpAcos:
  ------------------
  |  Branch (759:9): [True: 0, False: 118]
  ------------------
  760|      0|            newConstArray[i].setDConst(acos(unionArray[i].getDConst()));
  761|      0|            break;
  762|      0|        case EOpAtan:
  ------------------
  |  Branch (762:9): [True: 0, False: 118]
  ------------------
  763|      0|            newConstArray[i].setDConst(atan(unionArray[i].getDConst()));
  764|      0|            break;
  765|      0|        case EOpSinh:
  ------------------
  |  Branch (765:9): [True: 0, False: 118]
  ------------------
  766|      0|            newConstArray[i].setDConst(sinh(unionArray[i].getDConst()));
  767|      0|            break;
  768|      0|        case EOpCosh:
  ------------------
  |  Branch (768:9): [True: 0, False: 118]
  ------------------
  769|      0|            newConstArray[i].setDConst(cosh(unionArray[i].getDConst()));
  770|      0|            break;
  771|      0|        case EOpTanh:
  ------------------
  |  Branch (771:9): [True: 0, False: 118]
  ------------------
  772|      0|            newConstArray[i].setDConst(tanh(unionArray[i].getDConst()));
  773|      0|            break;
  774|      0|        case EOpAsinh:
  ------------------
  |  Branch (774:9): [True: 0, False: 118]
  ------------------
  775|      0|            newConstArray[i].setDConst(asinh(unionArray[i].getDConst()));
  776|      0|            break;
  777|      0|        case EOpAcosh:
  ------------------
  |  Branch (777:9): [True: 0, False: 118]
  ------------------
  778|      0|            newConstArray[i].setDConst(acosh(unionArray[i].getDConst()));
  779|      0|            break;
  780|      0|        case EOpAtanh:
  ------------------
  |  Branch (780:9): [True: 0, False: 118]
  ------------------
  781|      0|            newConstArray[i].setDConst(atanh(unionArray[i].getDConst()));
  782|      0|            break;
  783|       |
  784|      0|        case EOpDPdx:
  ------------------
  |  Branch (784:9): [True: 0, False: 118]
  ------------------
  785|      0|        case EOpDPdy:
  ------------------
  |  Branch (785:9): [True: 0, False: 118]
  ------------------
  786|      0|        case EOpFwidth:
  ------------------
  |  Branch (786:9): [True: 0, False: 118]
  ------------------
  787|      0|        case EOpDPdxFine:
  ------------------
  |  Branch (787:9): [True: 0, False: 118]
  ------------------
  788|      0|        case EOpDPdyFine:
  ------------------
  |  Branch (788:9): [True: 0, False: 118]
  ------------------
  789|      0|        case EOpFwidthFine:
  ------------------
  |  Branch (789:9): [True: 0, False: 118]
  ------------------
  790|      0|        case EOpDPdxCoarse:
  ------------------
  |  Branch (790:9): [True: 0, False: 118]
  ------------------
  791|      0|        case EOpDPdyCoarse:
  ------------------
  |  Branch (791:9): [True: 0, False: 118]
  ------------------
  792|      0|        case EOpFwidthCoarse:
  ------------------
  |  Branch (792:9): [True: 0, False: 118]
  ------------------
  793|       |            // The derivatives are all mandated to create a constant 0.
  794|      0|            newConstArray[i].setDConst(0.0);
  795|      0|            break;
  796|       |
  797|      0|        case EOpExp:
  ------------------
  |  Branch (797:9): [True: 0, False: 118]
  ------------------
  798|      0|            newConstArray[i].setDConst(exp(unionArray[i].getDConst()));
  799|      0|            break;
  800|      0|        case EOpLog:
  ------------------
  |  Branch (800:9): [True: 0, False: 118]
  ------------------
  801|      0|            newConstArray[i].setDConst(log(unionArray[i].getDConst()));
  802|      0|            break;
  803|      0|        case EOpExp2:
  ------------------
  |  Branch (803:9): [True: 0, False: 118]
  ------------------
  804|      0|            newConstArray[i].setDConst(exp2(unionArray[i].getDConst()));
  805|      0|            break;
  806|      0|        case EOpLog2:
  ------------------
  |  Branch (806:9): [True: 0, False: 118]
  ------------------
  807|      0|            newConstArray[i].setDConst(log2(unionArray[i].getDConst()));
  808|      0|            break;
  809|      0|        case EOpSqrt:
  ------------------
  |  Branch (809:9): [True: 0, False: 118]
  ------------------
  810|      0|            newConstArray[i].setDConst(sqrt(unionArray[i].getDConst()));
  811|      0|            break;
  812|      0|        case EOpInverseSqrt:
  ------------------
  |  Branch (812:9): [True: 0, False: 118]
  ------------------
  813|      0|            newConstArray[i].setDConst(1.0 / sqrt(unionArray[i].getDConst()));
  814|      0|            break;
  815|       |
  816|      0|        case EOpAbs:
  ------------------
  |  Branch (816:9): [True: 0, False: 118]
  ------------------
  817|      0|            if (unionArray[i].getType() == EbtDouble)
  ------------------
  |  Branch (817:17): [True: 0, False: 0]
  ------------------
  818|      0|                newConstArray[i].setDConst(fabs(unionArray[i].getDConst()));
  819|      0|            else if (unionArray[i].getType() == EbtInt)
  ------------------
  |  Branch (819:22): [True: 0, False: 0]
  ------------------
  820|      0|                newConstArray[i].setIConst(abs(unionArray[i].getIConst()));
  821|      0|            else
  822|      0|                newConstArray[i] = unionArray[i];
  823|      0|            break;
  824|      0|        case EOpSign:
  ------------------
  |  Branch (824:9): [True: 0, False: 118]
  ------------------
  825|      0|            #define SIGN(X) (X == 0 ? 0 : (X < 0 ? -1 : 1))
  826|      0|            if (unionArray[i].getType() == EbtDouble)
  ------------------
  |  Branch (826:17): [True: 0, False: 0]
  ------------------
  827|      0|                newConstArray[i].setDConst(SIGN(unionArray[i].getDConst()));
  ------------------
  |  |  825|      0|            #define SIGN(X) (X == 0 ? 0 : (X < 0 ? -1 : 1))
  |  |  ------------------
  |  |  |  Branch (825:30): [True: 0, False: 0]
  |  |  |  Branch (825:44): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  828|      0|            else
  829|      0|                newConstArray[i].setIConst(SIGN(unionArray[i].getIConst()));
  ------------------
  |  |  825|      0|            #define SIGN(X) (X == 0 ? 0 : (X < 0 ? -1 : 1))
  |  |  ------------------
  |  |  |  Branch (825:30): [True: 0, False: 0]
  |  |  |  Branch (825:44): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  830|      0|            break;
  831|      0|        case EOpFloor:
  ------------------
  |  Branch (831:9): [True: 0, False: 118]
  ------------------
  832|      0|            newConstArray[i].setDConst(floor(unionArray[i].getDConst()));
  833|      0|            break;
  834|      0|        case EOpTrunc:
  ------------------
  |  Branch (834:9): [True: 0, False: 118]
  ------------------
  835|      0|            if (unionArray[i].getDConst() > 0)
  ------------------
  |  Branch (835:17): [True: 0, False: 0]
  ------------------
  836|      0|                newConstArray[i].setDConst(floor(unionArray[i].getDConst()));
  837|      0|            else
  838|      0|                newConstArray[i].setDConst(ceil(unionArray[i].getDConst()));
  839|      0|            break;
  840|      0|        case EOpRound:
  ------------------
  |  Branch (840:9): [True: 0, False: 118]
  ------------------
  841|      0|            newConstArray[i].setDConst(floor(0.5 + unionArray[i].getDConst()));
  842|      0|            break;
  843|      0|        case EOpRoundEven:
  ------------------
  |  Branch (843:9): [True: 0, False: 118]
  ------------------
  844|      0|        {
  845|      0|            double flr = floor(unionArray[i].getDConst());
  846|      0|            bool even = flr / 2.0 == floor(flr / 2.0);
  847|      0|            double rounded = even ? ceil(unionArray[i].getDConst() - 0.5) : floor(unionArray[i].getDConst() + 0.5);
  ------------------
  |  Branch (847:30): [True: 0, False: 0]
  ------------------
  848|      0|            newConstArray[i].setDConst(rounded);
  849|      0|            break;
  850|      0|        }
  851|      0|        case EOpCeil:
  ------------------
  |  Branch (851:9): [True: 0, False: 118]
  ------------------
  852|      0|            newConstArray[i].setDConst(ceil(unionArray[i].getDConst()));
  853|      0|            break;
  854|      0|        case EOpFract:
  ------------------
  |  Branch (854:9): [True: 0, False: 118]
  ------------------
  855|      0|        {
  856|      0|            double x = unionArray[i].getDConst();
  857|      0|            newConstArray[i].setDConst(x - floor(x));
  858|      0|            break;
  859|      0|        }
  860|       |
  861|      0|        case EOpIsNan:
  ------------------
  |  Branch (861:9): [True: 0, False: 118]
  ------------------
  862|      0|        {
  863|      0|            newConstArray[i].setBConst(std::isnan(unionArray[i].getDConst()));
  864|      0|            break;
  865|      0|        }
  866|      0|        case EOpIsInf:
  ------------------
  |  Branch (866:9): [True: 0, False: 118]
  ------------------
  867|      0|        {
  868|      0|            newConstArray[i].setBConst(std::isinf(unionArray[i].getDConst()));
  869|      0|            break;
  870|      0|        }
  871|       |
  872|      0|        case EOpConvPtrToUint64:
  ------------------
  |  Branch (872:9): [True: 0, False: 118]
  ------------------
  873|      0|        case EOpConvUint64ToPtr:
  ------------------
  |  Branch (873:9): [True: 0, False: 118]
  ------------------
  874|      0|        case EOpConstructReference:
  ------------------
  |  Branch (874:9): [True: 0, False: 118]
  ------------------
  875|      0|            newConstArray[i].setU64Const(unionArray[i].getU64Const()); break;
  876|       |
  877|       |        // The constant is held as a double, so narrow it back to the declared
  878|       |        // width before reinterpreting its bits.
  879|      0|        case EOpFloatBitsToInt:
  ------------------
  |  Branch (879:9): [True: 0, False: 118]
  ------------------
  880|      0|            newConstArray[i].setIConst(bitCast<int>(static_cast<float>(unionArray[i].getDConst())));
  881|      0|            break;
  882|      0|        case EOpFloatBitsToUint:
  ------------------
  |  Branch (882:9): [True: 0, False: 118]
  ------------------
  883|      0|            newConstArray[i].setUConst(bitCast<unsigned int>(static_cast<float>(unionArray[i].getDConst())));
  884|      0|            break;
  885|      0|        case EOpIntBitsToFloat:
  ------------------
  |  Branch (885:9): [True: 0, False: 118]
  ------------------
  886|      0|            newConstArray[i].setDConst(bitCast<float>(unionArray[i].getIConst()));
  887|      0|            break;
  888|      0|        case EOpUintBitsToFloat:
  ------------------
  |  Branch (888:9): [True: 0, False: 118]
  ------------------
  889|      0|            newConstArray[i].setDConst(bitCast<float>(unionArray[i].getUConst()));
  890|      0|            break;
  891|      0|        case EOpDoubleBitsToInt64:
  ------------------
  |  Branch (891:9): [True: 0, False: 118]
  ------------------
  892|      0|            newConstArray[i].setI64Const(bitCast<long long>(unionArray[i].getDConst()));
  893|      0|            break;
  894|      0|        case EOpDoubleBitsToUint64:
  ------------------
  |  Branch (894:9): [True: 0, False: 118]
  ------------------
  895|      0|            newConstArray[i].setU64Const(bitCast<unsigned long long>(unionArray[i].getDConst()));
  896|      0|            break;
  897|      0|        case EOpInt64BitsToDouble:
  ------------------
  |  Branch (897:9): [True: 0, False: 118]
  ------------------
  898|      0|            newConstArray[i].setDConst(bitCast<double>(unionArray[i].getI64Const()));
  899|      0|            break;
  900|      0|        case EOpUint64BitsToDouble:
  ------------------
  |  Branch (900:9): [True: 0, False: 118]
  ------------------
  901|      0|            newConstArray[i].setDConst(bitCast<double>(unionArray[i].getU64Const()));
  902|      0|            break;
  903|       |
  904|       |        // TODO: 3.0 Functionality: unary constant folding: the rest of the ops have to be fleshed out
  905|       |
  906|      0|        case EOpFloat16BitsToInt16:
  ------------------
  |  Branch (906:9): [True: 0, False: 118]
  ------------------
  907|      0|        case EOpFloat16BitsToUint16:
  ------------------
  |  Branch (907:9): [True: 0, False: 118]
  ------------------
  908|      0|        case EOpInt16BitsToFloat16:
  ------------------
  |  Branch (908:9): [True: 0, False: 118]
  ------------------
  909|      0|        case EOpUint16BitsToFloat16:
  ------------------
  |  Branch (909:9): [True: 0, False: 118]
  ------------------
  910|      0|        default:
  ------------------
  |  Branch (910:9): [True: 0, False: 118]
  ------------------
  911|      0|            return nullptr;
  912|    118|        }
  913|    118|    }
  914|       |
  915|    118|    TIntermConstantUnion *newNode = new TIntermConstantUnion(newConstArray, returnType);
  916|    118|    newNode->getWritableType().getQualifier().storage = EvqConst;
  917|    118|    newNode->setLoc(getLoc());
  918|       |
  919|    118|    return newNode;
  920|    118|}
_ZN7glslang13TIntermediate4foldEPNS_16TIntermAggregateE:
  927|  2.73k|{
  928|  2.73k|    if (aggrNode == nullptr)
  ------------------
  |  Branch (928:9): [True: 0, False: 2.73k]
  ------------------
  929|      0|        return aggrNode;
  930|       |
  931|  2.73k|    if (! areAllChildConst(aggrNode))
  ------------------
  |  Branch (931:9): [True: 2.02k, False: 713]
  ------------------
  932|  2.02k|        return aggrNode;
  933|       |
  934|    713|    if (aggrNode->isConstructor())
  ------------------
  |  Branch (934:9): [True: 329, False: 384]
  ------------------
  935|    329|        return foldConstructor(aggrNode);
  936|       |
  937|    384|    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|    384|    bool componentwise = false;  // will also say componentwise if a scalar argument gets repeated to make per-component results
  943|    384|    int objectSize;
  944|    384|    switch (aggrNode->getOp()) {
  945|      0|    case EOpAtan:
  ------------------
  |  Branch (945:5): [True: 0, False: 384]
  ------------------
  946|      0|    case EOpPow:
  ------------------
  |  Branch (946:5): [True: 0, False: 384]
  ------------------
  947|      0|    case EOpMin:
  ------------------
  |  Branch (947:5): [True: 0, False: 384]
  ------------------
  948|      0|    case EOpMax:
  ------------------
  |  Branch (948:5): [True: 0, False: 384]
  ------------------
  949|      0|    case EOpMix:
  ------------------
  |  Branch (949:5): [True: 0, False: 384]
  ------------------
  950|      0|    case EOpMod:
  ------------------
  |  Branch (950:5): [True: 0, False: 384]
  ------------------
  951|      0|    case EOpClamp:
  ------------------
  |  Branch (951:5): [True: 0, False: 384]
  ------------------
  952|      0|    case EOpLessThan:
  ------------------
  |  Branch (952:5): [True: 0, False: 384]
  ------------------
  953|      0|    case EOpGreaterThan:
  ------------------
  |  Branch (953:5): [True: 0, False: 384]
  ------------------
  954|      0|    case EOpLessThanEqual:
  ------------------
  |  Branch (954:5): [True: 0, False: 384]
  ------------------
  955|      0|    case EOpGreaterThanEqual:
  ------------------
  |  Branch (955:5): [True: 0, False: 384]
  ------------------
  956|      0|    case EOpVectorEqual:
  ------------------
  |  Branch (956:5): [True: 0, False: 384]
  ------------------
  957|      0|    case EOpVectorNotEqual:
  ------------------
  |  Branch (957:5): [True: 0, False: 384]
  ------------------
  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: 384]
  ------------------
  962|      0|    case EOpReflect:
  ------------------
  |  Branch (962:5): [True: 0, False: 384]
  ------------------
  963|      0|    case EOpRefract:
  ------------------
  |  Branch (963:5): [True: 0, False: 384]
  ------------------
  964|      0|    case EOpFaceForward:
  ------------------
  |  Branch (964:5): [True: 0, False: 384]
  ------------------
  965|      0|        objectSize = children[0]->getAsConstantUnion()->getType().computeNumComponents();
  966|      0|        break;
  967|      0|    case EOpDistance:
  ------------------
  |  Branch (967:5): [True: 0, False: 384]
  ------------------
  968|      0|    case EOpDot:
  ------------------
  |  Branch (968:5): [True: 0, False: 384]
  ------------------
  969|      0|        objectSize = 1;
  970|      0|        break;
  971|      0|    case EOpOuterProduct:
  ------------------
  |  Branch (971:5): [True: 0, False: 384]
  ------------------
  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: 384]
  ------------------
  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: 384]
  ------------------
  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: 384]
  ------------------
  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|    384|    default:
  ------------------
  |  Branch (991:5): [True: 384, False: 0]
  ------------------
  992|    384|        return aggrNode;
  993|    384|    }
  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|  2.73k|{
 1299|  2.73k|    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|  2.73k|    if (aggrNode) {
  ------------------
  |  Branch (1303:9): [True: 2.73k, False: 0]
  ------------------
 1304|  2.73k|        TIntermSequence& childSequenceVector = aggrNode->getSequence();
 1305|  2.73k|        for (TIntermSequence::iterator p  = childSequenceVector.begin();
 1306|  3.24k|                                       p != childSequenceVector.end(); p++) {
  ------------------
  |  Branch (1306:40): [True: 2.53k, False: 713]
  ------------------
 1307|  2.53k|            if (!(*p)->getAsTyped()->getAsConstantUnion())
  ------------------
  |  Branch (1307:17): [True: 2.02k, False: 510]
  ------------------
 1308|  2.02k|                return false;
 1309|  2.53k|        }
 1310|  2.73k|    }
 1311|       |
 1312|    713|    return allConstant;
 1313|  2.73k|}
_ZN7glslang13TIntermediate15foldConstructorEPNS_16TIntermAggregateE:
 1316|    329|{
 1317|    329|    bool error = false;
 1318|       |
 1319|    329|    TConstUnionArray unionArray(aggrNode->getType().computeNumComponents());
 1320|    329|    if (aggrNode->getSequence().size() == 1)
  ------------------
  |  Branch (1320:9): [True: 237, False: 92]
  ------------------
 1321|    237|        error = parseConstTree(aggrNode, unionArray, aggrNode->getOp(), aggrNode->getType(), true);
 1322|     92|    else
 1323|     92|        error = parseConstTree(aggrNode, unionArray, aggrNode->getOp(), aggrNode->getType());
 1324|       |
 1325|    329|    if (error)
  ------------------
  |  Branch (1325:9): [True: 0, False: 329]
  ------------------
 1326|      0|        return aggrNode;
 1327|       |
 1328|    329|    return addConstantUnion(unionArray, aggrNode->getType(), aggrNode->getLoc());
 1329|    329|}

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

_ZN7glslang9TBuiltIns17addTabledBuiltinsEi8EProfileRKNS_10SpvVersionE:
  509|    115|{
  510|    115|    const auto forEachFunction = [&](TString& decls, const span<const BuiltInFunction>& functions) {
  511|    115|        for (const auto& fn : functions) {
  512|    115|            if (ValidVersion(fn, version, profile, spvVersion)) {
  513|    115|                AddTabledBuiltin(decls, fn);
  514|    115|                if (profile != EEsProfile) {
  515|    115|                    AddLongVectorBuiltin(decls, fn);
  516|    115|                }
  517|    115|            }
  518|    115|        }
  519|    115|    };
  520|       |
  521|    115|    forEachFunction(commonBuiltins, BaseFunctions);
  522|    115|    forEachFunction(stageBuiltins[EShLangFragment], DerivativeFunctions);
  523|       |
  524|    115|    if ((profile == EEsProfile && version >= 320) || (profile != EEsProfile && version >= 450))
  ------------------
  |  Branch (524:10): [True: 0, False: 115]
  |  Branch (524:35): [True: 0, False: 0]
  |  Branch (524:55): [True: 115, False: 0]
  |  Branch (524:80): [True: 11, False: 104]
  ------------------
  525|     11|        forEachFunction(stageBuiltins[EShLangCompute], DerivativeFunctions);
  526|    115|}
_ZN7glslang9TBuiltIns20relateTabledBuiltinsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableE:
  530|    371|{
  531|    371|    RelateTabledBuiltins(BaseFunctions, symbolTable);
  532|    371|    RelateTabledBuiltins(DerivativeFunctions, symbolTable);
  533|    371|    RelateTabledBuiltins(CustomFunctions, symbolTable);
  534|    371|}
_ZN7glslang18TBuiltInParseablesC2Ev:
  544|    388|{
  545|    388|}
_ZN7glslang18TBuiltInParseablesD2Ev:
  549|    388|{
  550|    388|}
_ZN7glslang9TBuiltInsC2Ev:
  553|    230|{
  554|       |    // Set up textual representations for making all the permutations
  555|       |    // of texturing/imaging functions.
  556|    230|    prefixes[EbtFloat] =  "";
  557|    230|    prefixes[EbtInt]   = "i";
  558|    230|    prefixes[EbtUint]  = "u";
  559|    230|    prefixes[EbtFloat16] = "f16";
  560|    230|    prefixes[EbtInt8]  = "i8";
  561|    230|    prefixes[EbtUint8] = "u8";
  562|    230|    prefixes[EbtInt16]  = "i16";
  563|    230|    prefixes[EbtUint16] = "u16";
  564|    230|    prefixes[EbtInt64]  = "i64";
  565|    230|    prefixes[EbtUint64] = "u64";
  566|       |
  567|    230|    postfixes[2] = "2";
  568|    230|    postfixes[3] = "3";
  569|    230|    postfixes[4] = "4";
  570|       |
  571|       |    // Map from symbolic class of texturing dimension to numeric dimensions.
  572|    230|    dimMap[Esd2D] = 2;
  573|    230|    dimMap[Esd3D] = 3;
  574|    230|    dimMap[EsdCube] = 3;
  575|    230|    dimMap[Esd1D] = 1;
  576|    230|    dimMap[EsdRect] = 2;
  577|    230|    dimMap[EsdBuffer] = 1;
  578|    230|    dimMap[EsdSubpass] = 2;  // potentially unused for now
  579|    230|    dimMap[EsdAttachmentEXT] = 2;  // potentially unused for now
  580|    230|}
_ZN7glslang9TBuiltIns10initializeEi8EProfileRKNS_10SpvVersionE:
  596|    115|{
  597|    115|    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|    115|    TString derivatives (
  609|    115|        "float dFdx(float p);"
  610|    115|        "vec2  dFdx(vec2  p);"
  611|    115|        "vec3  dFdx(vec3  p);"
  612|    115|        "vec4  dFdx(vec4  p);"
  613|       |
  614|    115|        "float dFdy(float p);"
  615|    115|        "vec2  dFdy(vec2  p);"
  616|    115|        "vec3  dFdy(vec3  p);"
  617|    115|        "vec4  dFdy(vec4  p);"
  618|       |
  619|    115|        "float fwidth(float p);"
  620|    115|        "vec2  fwidth(vec2  p);"
  621|    115|        "vec3  fwidth(vec3  p);"
  622|    115|        "vec4  fwidth(vec4  p);"
  623|    115|    );
  624|       |
  625|    115|    TString derivativeControls (
  626|    115|        "float dFdxFine(float p);"
  627|    115|        "vec2  dFdxFine(vec2  p);"
  628|    115|        "vec3  dFdxFine(vec3  p);"
  629|    115|        "vec4  dFdxFine(vec4  p);"
  630|       |
  631|    115|        "float dFdyFine(float p);"
  632|    115|        "vec2  dFdyFine(vec2  p);"
  633|    115|        "vec3  dFdyFine(vec3  p);"
  634|    115|        "vec4  dFdyFine(vec4  p);"
  635|       |
  636|    115|        "float fwidthFine(float p);"
  637|    115|        "vec2  fwidthFine(vec2  p);"
  638|    115|        "vec3  fwidthFine(vec3  p);"
  639|    115|        "vec4  fwidthFine(vec4  p);"
  640|       |
  641|    115|        "float dFdxCoarse(float p);"
  642|    115|        "vec2  dFdxCoarse(vec2  p);"
  643|    115|        "vec3  dFdxCoarse(vec3  p);"
  644|    115|        "vec4  dFdxCoarse(vec4  p);"
  645|       |
  646|    115|        "float dFdyCoarse(float p);"
  647|    115|        "vec2  dFdyCoarse(vec2  p);"
  648|    115|        "vec3  dFdyCoarse(vec3  p);"
  649|    115|        "vec4  dFdyCoarse(vec4  p);"
  650|       |
  651|    115|        "float fwidthCoarse(float p);"
  652|    115|        "vec2  fwidthCoarse(vec2  p);"
  653|    115|        "vec3  fwidthCoarse(vec3  p);"
  654|    115|        "vec4  fwidthCoarse(vec4  p);"
  655|    115|    );
  656|       |
  657|    115|    TString derivativesAndControl16bits (
  658|    115|        "float16_t dFdx(float16_t);"
  659|    115|        "f16vec2   dFdx(f16vec2);"
  660|    115|        "f16vec3   dFdx(f16vec3);"
  661|    115|        "f16vec4   dFdx(f16vec4);"
  662|       |
  663|    115|        "float16_t dFdy(float16_t);"
  664|    115|        "f16vec2   dFdy(f16vec2);"
  665|    115|        "f16vec3   dFdy(f16vec3);"
  666|    115|        "f16vec4   dFdy(f16vec4);"
  667|       |
  668|    115|        "float16_t dFdxFine(float16_t);"
  669|    115|        "f16vec2   dFdxFine(f16vec2);"
  670|    115|        "f16vec3   dFdxFine(f16vec3);"
  671|    115|        "f16vec4   dFdxFine(f16vec4);"
  672|       |
  673|    115|        "float16_t dFdyFine(float16_t);"
  674|    115|        "f16vec2   dFdyFine(f16vec2);"
  675|    115|        "f16vec3   dFdyFine(f16vec3);"
  676|    115|        "f16vec4   dFdyFine(f16vec4);"
  677|       |
  678|    115|        "float16_t dFdxCoarse(float16_t);"
  679|    115|        "f16vec2   dFdxCoarse(f16vec2);"
  680|    115|        "f16vec3   dFdxCoarse(f16vec3);"
  681|    115|        "f16vec4   dFdxCoarse(f16vec4);"
  682|       |
  683|    115|        "float16_t dFdyCoarse(float16_t);"
  684|    115|        "f16vec2   dFdyCoarse(f16vec2);"
  685|    115|        "f16vec3   dFdyCoarse(f16vec3);"
  686|    115|        "f16vec4   dFdyCoarse(f16vec4);"
  687|       |
  688|    115|        "float16_t fwidth(float16_t);"
  689|    115|        "f16vec2   fwidth(f16vec2);"
  690|    115|        "f16vec3   fwidth(f16vec3);"
  691|    115|        "f16vec4   fwidth(f16vec4);"
  692|       |
  693|    115|        "float16_t fwidthFine(float16_t);"
  694|    115|        "f16vec2   fwidthFine(f16vec2);"
  695|    115|        "f16vec3   fwidthFine(f16vec3);"
  696|    115|        "f16vec4   fwidthFine(f16vec4);"
  697|       |
  698|    115|        "float16_t fwidthCoarse(float16_t);"
  699|    115|        "f16vec2   fwidthCoarse(f16vec2);"
  700|    115|        "f16vec3   fwidthCoarse(f16vec3);"
  701|    115|        "f16vec4   fwidthCoarse(f16vec4);"
  702|    115|    );
  703|       |
  704|    115|    TString derivativesAndControl64bits (
  705|    115|        "float64_t dFdx(float64_t);"
  706|    115|        "f64vec2   dFdx(f64vec2);"
  707|    115|        "f64vec3   dFdx(f64vec3);"
  708|    115|        "f64vec4   dFdx(f64vec4);"
  709|       |
  710|    115|        "float64_t dFdy(float64_t);"
  711|    115|        "f64vec2   dFdy(f64vec2);"
  712|    115|        "f64vec3   dFdy(f64vec3);"
  713|    115|        "f64vec4   dFdy(f64vec4);"
  714|       |
  715|    115|        "float64_t dFdxFine(float64_t);"
  716|    115|        "f64vec2   dFdxFine(f64vec2);"
  717|    115|        "f64vec3   dFdxFine(f64vec3);"
  718|    115|        "f64vec4   dFdxFine(f64vec4);"
  719|       |
  720|    115|        "float64_t dFdyFine(float64_t);"
  721|    115|        "f64vec2   dFdyFine(f64vec2);"
  722|    115|        "f64vec3   dFdyFine(f64vec3);"
  723|    115|        "f64vec4   dFdyFine(f64vec4);"
  724|       |
  725|    115|        "float64_t dFdxCoarse(float64_t);"
  726|    115|        "f64vec2   dFdxCoarse(f64vec2);"
  727|    115|        "f64vec3   dFdxCoarse(f64vec3);"
  728|    115|        "f64vec4   dFdxCoarse(f64vec4);"
  729|       |
  730|    115|        "float64_t dFdyCoarse(float64_t);"
  731|    115|        "f64vec2   dFdyCoarse(f64vec2);"
  732|    115|        "f64vec3   dFdyCoarse(f64vec3);"
  733|    115|        "f64vec4   dFdyCoarse(f64vec4);"
  734|       |
  735|    115|        "float64_t fwidth(float64_t);"
  736|    115|        "f64vec2   fwidth(f64vec2);"
  737|    115|        "f64vec3   fwidth(f64vec3);"
  738|    115|        "f64vec4   fwidth(f64vec4);"
  739|       |
  740|    115|        "float64_t fwidthFine(float64_t);"
  741|    115|        "f64vec2   fwidthFine(f64vec2);"
  742|    115|        "f64vec3   fwidthFine(f64vec3);"
  743|    115|        "f64vec4   fwidthFine(f64vec4);"
  744|       |
  745|    115|        "float64_t fwidthCoarse(float64_t);"
  746|    115|        "f64vec2   fwidthCoarse(f64vec2);"
  747|    115|        "f64vec3   fwidthCoarse(f64vec3);"
  748|    115|        "f64vec4   fwidthCoarse(f64vec4);"
  749|    115|    );
  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|    115|    if (profile != EEsProfile && version >= 150) {  // ARB_gpu_shader_fp64
  ------------------
  |  Branch (760:9): [True: 115, False: 0]
  |  Branch (760:34): [True: 16, False: 99]
  ------------------
  761|     16|        commonBuiltins.append(
  762|       |
  763|     16|            "double sqrt(double);"
  764|     16|            "dvec2  sqrt(dvec2);"
  765|     16|            "dvec3  sqrt(dvec3);"
  766|     16|            "dvec4  sqrt(dvec4);"
  767|       |
  768|     16|            "double inversesqrt(double);"
  769|     16|            "dvec2  inversesqrt(dvec2);"
  770|     16|            "dvec3  inversesqrt(dvec3);"
  771|     16|            "dvec4  inversesqrt(dvec4);"
  772|       |
  773|     16|            "double abs(double);"
  774|     16|            "dvec2  abs(dvec2);"
  775|     16|            "dvec3  abs(dvec3);"
  776|     16|            "dvec4  abs(dvec4);"
  777|       |
  778|     16|            "double sign(double);"
  779|     16|            "dvec2  sign(dvec2);"
  780|     16|            "dvec3  sign(dvec3);"
  781|     16|            "dvec4  sign(dvec4);"
  782|       |
  783|     16|            "double floor(double);"
  784|     16|            "dvec2  floor(dvec2);"
  785|     16|            "dvec3  floor(dvec3);"
  786|     16|            "dvec4  floor(dvec4);"
  787|       |
  788|     16|            "double trunc(double);"
  789|     16|            "dvec2  trunc(dvec2);"
  790|     16|            "dvec3  trunc(dvec3);"
  791|     16|            "dvec4  trunc(dvec4);"
  792|       |
  793|     16|            "double round(double);"
  794|     16|            "dvec2  round(dvec2);"
  795|     16|            "dvec3  round(dvec3);"
  796|     16|            "dvec4  round(dvec4);"
  797|       |
  798|     16|            "double roundEven(double);"
  799|     16|            "dvec2  roundEven(dvec2);"
  800|     16|            "dvec3  roundEven(dvec3);"
  801|     16|            "dvec4  roundEven(dvec4);"
  802|       |
  803|     16|            "double ceil(double);"
  804|     16|            "dvec2  ceil(dvec2);"
  805|     16|            "dvec3  ceil(dvec3);"
  806|     16|            "dvec4  ceil(dvec4);"
  807|       |
  808|     16|            "double fract(double);"
  809|     16|            "dvec2  fract(dvec2);"
  810|     16|            "dvec3  fract(dvec3);"
  811|     16|            "dvec4  fract(dvec4);"
  812|       |
  813|     16|            "double mod(double, double);"
  814|     16|            "dvec2  mod(dvec2 , double);"
  815|     16|            "dvec3  mod(dvec3 , double);"
  816|     16|            "dvec4  mod(dvec4 , double);"
  817|     16|            "dvec2  mod(dvec2 , dvec2);"
  818|     16|            "dvec3  mod(dvec3 , dvec3);"
  819|     16|            "dvec4  mod(dvec4 , dvec4);"
  820|       |
  821|     16|            "double modf(double, out double);"
  822|     16|            "dvec2  modf(dvec2,  out dvec2);"
  823|     16|            "dvec3  modf(dvec3,  out dvec3);"
  824|     16|            "dvec4  modf(dvec4,  out dvec4);"
  825|       |
  826|     16|            "double min(double, double);"
  827|     16|            "dvec2  min(dvec2,  double);"
  828|     16|            "dvec3  min(dvec3,  double);"
  829|     16|            "dvec4  min(dvec4,  double);"
  830|     16|            "dvec2  min(dvec2,  dvec2);"
  831|     16|            "dvec3  min(dvec3,  dvec3);"
  832|     16|            "dvec4  min(dvec4,  dvec4);"
  833|       |
  834|     16|            "double max(double, double);"
  835|     16|            "dvec2  max(dvec2 , double);"
  836|     16|            "dvec3  max(dvec3 , double);"
  837|     16|            "dvec4  max(dvec4 , double);"
  838|     16|            "dvec2  max(dvec2 , dvec2);"
  839|     16|            "dvec3  max(dvec3 , dvec3);"
  840|     16|            "dvec4  max(dvec4 , dvec4);"
  841|       |
  842|     16|            "double clamp(double, double, double);"
  843|     16|            "dvec2  clamp(dvec2 , double, double);"
  844|     16|            "dvec3  clamp(dvec3 , double, double);"
  845|     16|            "dvec4  clamp(dvec4 , double, double);"
  846|     16|            "dvec2  clamp(dvec2 , dvec2 , dvec2);"
  847|     16|            "dvec3  clamp(dvec3 , dvec3 , dvec3);"
  848|     16|            "dvec4  clamp(dvec4 , dvec4 , dvec4);"
  849|       |
  850|     16|            "double mix(double, double, double);"
  851|     16|            "dvec2  mix(dvec2,  dvec2,  double);"
  852|     16|            "dvec3  mix(dvec3,  dvec3,  double);"
  853|     16|            "dvec4  mix(dvec4,  dvec4,  double);"
  854|     16|            "dvec2  mix(dvec2,  dvec2,  dvec2);"
  855|     16|            "dvec3  mix(dvec3,  dvec3,  dvec3);"
  856|     16|            "dvec4  mix(dvec4,  dvec4,  dvec4);"
  857|     16|            "double mix(double, double, bool);"
  858|     16|            "dvec2  mix(dvec2,  dvec2,  bvec2);"
  859|     16|            "dvec3  mix(dvec3,  dvec3,  bvec3);"
  860|     16|            "dvec4  mix(dvec4,  dvec4,  bvec4);"
  861|       |
  862|     16|            "double step(double, double);"
  863|     16|            "dvec2  step(dvec2 , dvec2);"
  864|     16|            "dvec3  step(dvec3 , dvec3);"
  865|     16|            "dvec4  step(dvec4 , dvec4);"
  866|     16|            "dvec2  step(double, dvec2);"
  867|     16|            "dvec3  step(double, dvec3);"
  868|     16|            "dvec4  step(double, dvec4);"
  869|       |
  870|     16|            "double smoothstep(double, double, double);"
  871|     16|            "dvec2  smoothstep(dvec2 , dvec2 , dvec2);"
  872|     16|            "dvec3  smoothstep(dvec3 , dvec3 , dvec3);"
  873|     16|            "dvec4  smoothstep(dvec4 , dvec4 , dvec4);"
  874|     16|            "dvec2  smoothstep(double, double, dvec2);"
  875|     16|            "dvec3  smoothstep(double, double, dvec3);"
  876|     16|            "dvec4  smoothstep(double, double, dvec4);"
  877|       |
  878|     16|            "bool  isnan(double);"
  879|     16|            "bvec2 isnan(dvec2);"
  880|     16|            "bvec3 isnan(dvec3);"
  881|     16|            "bvec4 isnan(dvec4);"
  882|       |
  883|     16|            "bool  isinf(double);"
  884|     16|            "bvec2 isinf(dvec2);"
  885|     16|            "bvec3 isinf(dvec3);"
  886|     16|            "bvec4 isinf(dvec4);"
  887|       |
  888|     16|            "double length(double);"
  889|     16|            "double length(dvec2);"
  890|     16|            "double length(dvec3);"
  891|     16|            "double length(dvec4);"
  892|       |
  893|     16|            "double distance(double, double);"
  894|     16|            "double distance(dvec2 , dvec2);"
  895|     16|            "double distance(dvec3 , dvec3);"
  896|     16|            "double distance(dvec4 , dvec4);"
  897|       |
  898|     16|            "double dot(double, double);"
  899|     16|            "double dot(dvec2 , dvec2);"
  900|     16|            "double dot(dvec3 , dvec3);"
  901|     16|            "double dot(dvec4 , dvec4);"
  902|       |
  903|     16|            "dvec3 cross(dvec3, dvec3);"
  904|       |
  905|     16|            "double normalize(double);"
  906|     16|            "dvec2  normalize(dvec2);"
  907|     16|            "dvec3  normalize(dvec3);"
  908|     16|            "dvec4  normalize(dvec4);"
  909|       |
  910|     16|            "double faceforward(double, double, double);"
  911|     16|            "dvec2  faceforward(dvec2,  dvec2,  dvec2);"
  912|     16|            "dvec3  faceforward(dvec3,  dvec3,  dvec3);"
  913|     16|            "dvec4  faceforward(dvec4,  dvec4,  dvec4);"
  914|       |
  915|     16|            "double reflect(double, double);"
  916|     16|            "dvec2  reflect(dvec2 , dvec2 );"
  917|     16|            "dvec3  reflect(dvec3 , dvec3 );"
  918|     16|            "dvec4  reflect(dvec4 , dvec4 );"
  919|       |
  920|     16|            "double refract(double, double, double);"
  921|     16|            "dvec2  refract(dvec2 , dvec2 , double);"
  922|     16|            "dvec3  refract(dvec3 , dvec3 , double);"
  923|     16|            "dvec4  refract(dvec4 , dvec4 , double);"
  924|       |
  925|     16|            "dmat2 matrixCompMult(dmat2, dmat2);"
  926|     16|            "dmat3 matrixCompMult(dmat3, dmat3);"
  927|     16|            "dmat4 matrixCompMult(dmat4, dmat4);"
  928|     16|            "dmat2x3 matrixCompMult(dmat2x3, dmat2x3);"
  929|     16|            "dmat2x4 matrixCompMult(dmat2x4, dmat2x4);"
  930|     16|            "dmat3x2 matrixCompMult(dmat3x2, dmat3x2);"
  931|     16|            "dmat3x4 matrixCompMult(dmat3x4, dmat3x4);"
  932|     16|            "dmat4x2 matrixCompMult(dmat4x2, dmat4x2);"
  933|     16|            "dmat4x3 matrixCompMult(dmat4x3, dmat4x3);"
  934|       |
  935|     16|            "dmat2   outerProduct(dvec2, dvec2);"
  936|     16|            "dmat3   outerProduct(dvec3, dvec3);"
  937|     16|            "dmat4   outerProduct(dvec4, dvec4);"
  938|     16|            "dmat2x3 outerProduct(dvec3, dvec2);"
  939|     16|            "dmat3x2 outerProduct(dvec2, dvec3);"
  940|     16|            "dmat2x4 outerProduct(dvec4, dvec2);"
  941|     16|            "dmat4x2 outerProduct(dvec2, dvec4);"
  942|     16|            "dmat3x4 outerProduct(dvec4, dvec3);"
  943|     16|            "dmat4x3 outerProduct(dvec3, dvec4);"
  944|       |
  945|     16|            "dmat2   transpose(dmat2);"
  946|     16|            "dmat3   transpose(dmat3);"
  947|     16|            "dmat4   transpose(dmat4);"
  948|     16|            "dmat2x3 transpose(dmat3x2);"
  949|     16|            "dmat3x2 transpose(dmat2x3);"
  950|     16|            "dmat2x4 transpose(dmat4x2);"
  951|     16|            "dmat4x2 transpose(dmat2x4);"
  952|     16|            "dmat3x4 transpose(dmat4x3);"
  953|     16|            "dmat4x3 transpose(dmat3x4);"
  954|       |
  955|     16|            "double determinant(dmat2);"
  956|     16|            "double determinant(dmat3);"
  957|     16|            "double determinant(dmat4);"
  958|       |
  959|     16|            "dmat2 inverse(dmat2);"
  960|     16|            "dmat3 inverse(dmat3);"
  961|     16|            "dmat4 inverse(dmat4);"
  962|       |
  963|     16|            "bvec2 lessThan(dvec2, dvec2);"
  964|     16|            "bvec3 lessThan(dvec3, dvec3);"
  965|     16|            "bvec4 lessThan(dvec4, dvec4);"
  966|       |
  967|     16|            "bvec2 lessThanEqual(dvec2, dvec2);"
  968|     16|            "bvec3 lessThanEqual(dvec3, dvec3);"
  969|     16|            "bvec4 lessThanEqual(dvec4, dvec4);"
  970|       |
  971|     16|            "bvec2 greaterThan(dvec2, dvec2);"
  972|     16|            "bvec3 greaterThan(dvec3, dvec3);"
  973|     16|            "bvec4 greaterThan(dvec4, dvec4);"
  974|       |
  975|     16|            "bvec2 greaterThanEqual(dvec2, dvec2);"
  976|     16|            "bvec3 greaterThanEqual(dvec3, dvec3);"
  977|     16|            "bvec4 greaterThanEqual(dvec4, dvec4);"
  978|       |
  979|     16|            "bvec2 equal(dvec2, dvec2);"
  980|     16|            "bvec3 equal(dvec3, dvec3);"
  981|     16|            "bvec4 equal(dvec4, dvec4);"
  982|       |
  983|     16|            "bvec2 notEqual(dvec2, dvec2);"
  984|     16|            "bvec3 notEqual(dvec3, dvec3);"
  985|     16|            "bvec4 notEqual(dvec4, dvec4);"
  986|       |
  987|     16|            "\n");
  988|     16|    }
  989|       |
  990|    115|    if (profile == EEsProfile && version >= 310) {  // Explicit Types
  ------------------
  |  Branch (990:9): [True: 0, False: 115]
  |  Branch (990:34): [True: 0, False: 0]
  ------------------
  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|    115|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (1186:10): [True: 115, False: 0]
  |  Branch (1186:35): [True: 11, False: 104]
  |  Branch (1186:55): [True: 0, False: 104]
  |  Branch (1186:80): [True: 0, False: 0]
  ------------------
 1187|     11|        commonBuiltins.append(
 1188|       |
 1189|     11|            "int64_t abs(int64_t);"
 1190|     11|            "i64vec2 abs(i64vec2);"
 1191|     11|            "i64vec3 abs(i64vec3);"
 1192|     11|            "i64vec4 abs(i64vec4);"
 1193|       |
 1194|     11|            "int64_t sign(int64_t);"
 1195|     11|            "i64vec2 sign(i64vec2);"
 1196|     11|            "i64vec3 sign(i64vec3);"
 1197|     11|            "i64vec4 sign(i64vec4);"
 1198|       |
 1199|     11|            "int64_t  min(int64_t,  int64_t);"
 1200|     11|            "i64vec2  min(i64vec2,  int64_t);"
 1201|     11|            "i64vec3  min(i64vec3,  int64_t);"
 1202|     11|            "i64vec4  min(i64vec4,  int64_t);"
 1203|     11|            "i64vec2  min(i64vec2,  i64vec2);"
 1204|     11|            "i64vec3  min(i64vec3,  i64vec3);"
 1205|     11|            "i64vec4  min(i64vec4,  i64vec4);"
 1206|     11|            "uint64_t min(uint64_t, uint64_t);"
 1207|     11|            "u64vec2  min(u64vec2,  uint64_t);"
 1208|     11|            "u64vec3  min(u64vec3,  uint64_t);"
 1209|     11|            "u64vec4  min(u64vec4,  uint64_t);"
 1210|     11|            "u64vec2  min(u64vec2,  u64vec2);"
 1211|     11|            "u64vec3  min(u64vec3,  u64vec3);"
 1212|     11|            "u64vec4  min(u64vec4,  u64vec4);"
 1213|       |
 1214|     11|            "int64_t  max(int64_t,  int64_t);"
 1215|     11|            "i64vec2  max(i64vec2,  int64_t);"
 1216|     11|            "i64vec3  max(i64vec3,  int64_t);"
 1217|     11|            "i64vec4  max(i64vec4,  int64_t);"
 1218|     11|            "i64vec2  max(i64vec2,  i64vec2);"
 1219|     11|            "i64vec3  max(i64vec3,  i64vec3);"
 1220|     11|            "i64vec4  max(i64vec4,  i64vec4);"
 1221|     11|            "uint64_t max(uint64_t, uint64_t);"
 1222|     11|            "u64vec2  max(u64vec2,  uint64_t);"
 1223|     11|            "u64vec3  max(u64vec3,  uint64_t);"
 1224|     11|            "u64vec4  max(u64vec4,  uint64_t);"
 1225|     11|            "u64vec2  max(u64vec2,  u64vec2);"
 1226|     11|            "u64vec3  max(u64vec3,  u64vec3);"
 1227|     11|            "u64vec4  max(u64vec4,  u64vec4);"
 1228|       |
 1229|     11|            "int64_t  clamp(int64_t,  int64_t,  int64_t);"
 1230|     11|            "i64vec2  clamp(i64vec2,  int64_t,  int64_t);"
 1231|     11|            "i64vec3  clamp(i64vec3,  int64_t,  int64_t);"
 1232|     11|            "i64vec4  clamp(i64vec4,  int64_t,  int64_t);"
 1233|     11|            "i64vec2  clamp(i64vec2,  i64vec2,  i64vec2);"
 1234|     11|            "i64vec3  clamp(i64vec3,  i64vec3,  i64vec3);"
 1235|     11|            "i64vec4  clamp(i64vec4,  i64vec4,  i64vec4);"
 1236|     11|            "uint64_t clamp(uint64_t, uint64_t, uint64_t);"
 1237|     11|            "u64vec2  clamp(u64vec2,  uint64_t, uint64_t);"
 1238|     11|            "u64vec3  clamp(u64vec3,  uint64_t, uint64_t);"
 1239|     11|            "u64vec4  clamp(u64vec4,  uint64_t, uint64_t);"
 1240|     11|            "u64vec2  clamp(u64vec2,  u64vec2,  u64vec2);"
 1241|     11|            "u64vec3  clamp(u64vec3,  u64vec3,  u64vec3);"
 1242|     11|            "u64vec4  clamp(u64vec4,  u64vec4,  u64vec4);"
 1243|       |
 1244|     11|            "int64_t  mix(int64_t,  int64_t,  bool);"
 1245|     11|            "i64vec2  mix(i64vec2,  i64vec2,  bvec2);"
 1246|     11|            "i64vec3  mix(i64vec3,  i64vec3,  bvec3);"
 1247|     11|            "i64vec4  mix(i64vec4,  i64vec4,  bvec4);"
 1248|     11|            "uint64_t mix(uint64_t, uint64_t, bool);"
 1249|     11|            "u64vec2  mix(u64vec2,  u64vec2,  bvec2);"
 1250|     11|            "u64vec3  mix(u64vec3,  u64vec3,  bvec3);"
 1251|     11|            "u64vec4  mix(u64vec4,  u64vec4,  bvec4);"
 1252|       |
 1253|     11|            "int64_t doubleBitsToInt64(float64_t);"
 1254|     11|            "i64vec2 doubleBitsToInt64(f64vec2);"
 1255|     11|            "i64vec3 doubleBitsToInt64(f64vec3);"
 1256|     11|            "i64vec4 doubleBitsToInt64(f64vec4);"
 1257|       |
 1258|     11|            "uint64_t doubleBitsToUint64(float64_t);"
 1259|     11|            "u64vec2  doubleBitsToUint64(f64vec2);"
 1260|     11|            "u64vec3  doubleBitsToUint64(f64vec3);"
 1261|     11|            "u64vec4  doubleBitsToUint64(f64vec4);"
 1262|       |
 1263|     11|            "float64_t int64BitsToDouble(int64_t);"
 1264|     11|            "f64vec2  int64BitsToDouble(i64vec2);"
 1265|     11|            "f64vec3  int64BitsToDouble(i64vec3);"
 1266|     11|            "f64vec4  int64BitsToDouble(i64vec4);"
 1267|       |
 1268|     11|            "float64_t uint64BitsToDouble(uint64_t);"
 1269|     11|            "f64vec2  uint64BitsToDouble(u64vec2);"
 1270|     11|            "f64vec3  uint64BitsToDouble(u64vec3);"
 1271|     11|            "f64vec4  uint64BitsToDouble(u64vec4);"
 1272|       |
 1273|     11|            "int64_t  packInt2x32(ivec2);"
 1274|     11|            "uint64_t packUint2x32(uvec2);"
 1275|     11|            "ivec2    unpackInt2x32(int64_t);"
 1276|     11|            "uvec2    unpackUint2x32(uint64_t);"
 1277|       |
 1278|     11|            "bvec2 lessThan(i64vec2, i64vec2);"
 1279|     11|            "bvec3 lessThan(i64vec3, i64vec3);"
 1280|     11|            "bvec4 lessThan(i64vec4, i64vec4);"
 1281|     11|            "bvec2 lessThan(u64vec2, u64vec2);"
 1282|     11|            "bvec3 lessThan(u64vec3, u64vec3);"
 1283|     11|            "bvec4 lessThan(u64vec4, u64vec4);"
 1284|       |
 1285|     11|            "bvec2 lessThanEqual(i64vec2, i64vec2);"
 1286|     11|            "bvec3 lessThanEqual(i64vec3, i64vec3);"
 1287|     11|            "bvec4 lessThanEqual(i64vec4, i64vec4);"
 1288|     11|            "bvec2 lessThanEqual(u64vec2, u64vec2);"
 1289|     11|            "bvec3 lessThanEqual(u64vec3, u64vec3);"
 1290|     11|            "bvec4 lessThanEqual(u64vec4, u64vec4);"
 1291|       |
 1292|     11|            "bvec2 greaterThan(i64vec2, i64vec2);"
 1293|     11|            "bvec3 greaterThan(i64vec3, i64vec3);"
 1294|     11|            "bvec4 greaterThan(i64vec4, i64vec4);"
 1295|     11|            "bvec2 greaterThan(u64vec2, u64vec2);"
 1296|     11|            "bvec3 greaterThan(u64vec3, u64vec3);"
 1297|     11|            "bvec4 greaterThan(u64vec4, u64vec4);"
 1298|       |
 1299|     11|            "bvec2 greaterThanEqual(i64vec2, i64vec2);"
 1300|     11|            "bvec3 greaterThanEqual(i64vec3, i64vec3);"
 1301|     11|            "bvec4 greaterThanEqual(i64vec4, i64vec4);"
 1302|     11|            "bvec2 greaterThanEqual(u64vec2, u64vec2);"
 1303|     11|            "bvec3 greaterThanEqual(u64vec3, u64vec3);"
 1304|     11|            "bvec4 greaterThanEqual(u64vec4, u64vec4);"
 1305|       |
 1306|     11|            "bvec2 equal(i64vec2, i64vec2);"
 1307|     11|            "bvec3 equal(i64vec3, i64vec3);"
 1308|     11|            "bvec4 equal(i64vec4, i64vec4);"
 1309|     11|            "bvec2 equal(u64vec2, u64vec2);"
 1310|     11|            "bvec3 equal(u64vec3, u64vec3);"
 1311|     11|            "bvec4 equal(u64vec4, u64vec4);"
 1312|       |
 1313|     11|            "bvec2 notEqual(i64vec2, i64vec2);"
 1314|     11|            "bvec3 notEqual(i64vec3, i64vec3);"
 1315|     11|            "bvec4 notEqual(i64vec4, i64vec4);"
 1316|     11|            "bvec2 notEqual(u64vec2, u64vec2);"
 1317|     11|            "bvec3 notEqual(u64vec3, u64vec3);"
 1318|     11|            "bvec4 notEqual(u64vec4, u64vec4);"
 1319|       |
 1320|     11|            "int64_t bitCount(int64_t);"
 1321|     11|            "i64vec2 bitCount(i64vec2);"
 1322|     11|            "i64vec3 bitCount(i64vec3);"
 1323|     11|            "i64vec4 bitCount(i64vec4);"
 1324|       |
 1325|     11|            "int64_t bitCount(uint64_t);"
 1326|     11|            "i64vec2 bitCount(u64vec2);"
 1327|     11|            "i64vec3 bitCount(u64vec3);"
 1328|     11|            "i64vec4 bitCount(u64vec4);"
 1329|       |
 1330|     11|            "int64_t findLSB(int64_t);"
 1331|     11|            "i64vec2 findLSB(i64vec2);"
 1332|     11|            "i64vec3 findLSB(i64vec3);"
 1333|     11|            "i64vec4 findLSB(i64vec4);"
 1334|       |
 1335|     11|            "int64_t findLSB(uint64_t);"
 1336|     11|            "i64vec2 findLSB(u64vec2);"
 1337|     11|            "i64vec3 findLSB(u64vec3);"
 1338|     11|            "i64vec4 findLSB(u64vec4);"
 1339|       |
 1340|     11|            "int64_t findMSB(int64_t);"
 1341|     11|            "i64vec2 findMSB(i64vec2);"
 1342|     11|            "i64vec3 findMSB(i64vec3);"
 1343|     11|            "i64vec4 findMSB(i64vec4);"
 1344|       |
 1345|     11|            "int64_t findMSB(uint64_t);"
 1346|     11|            "i64vec2 findMSB(u64vec2);"
 1347|     11|            "i64vec3 findMSB(u64vec3);"
 1348|     11|            "i64vec4 findMSB(u64vec4);"
 1349|       |
 1350|     11|            "\n"
 1351|     11|        );
 1352|     11|    }
 1353|       |
 1354|       |    // GL_AMD_shader_trinary_minmax
 1355|    115|    if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (1355:9): [True: 115, False: 0]
  |  Branch (1355:34): [True: 11, False: 104]
  ------------------
 1356|     11|        commonBuiltins.append(
 1357|     11|            "float min3(float, float, float);"
 1358|     11|            "vec2  min3(vec2,  vec2,  vec2);"
 1359|     11|            "vec3  min3(vec3,  vec3,  vec3);"
 1360|     11|            "vec4  min3(vec4,  vec4,  vec4);"
 1361|       |
 1362|     11|            "int   min3(int,   int,   int);"
 1363|     11|            "ivec2 min3(ivec2, ivec2, ivec2);"
 1364|     11|            "ivec3 min3(ivec3, ivec3, ivec3);"
 1365|     11|            "ivec4 min3(ivec4, ivec4, ivec4);"
 1366|       |
 1367|     11|            "uint  min3(uint,  uint,  uint);"
 1368|     11|            "uvec2 min3(uvec2, uvec2, uvec2);"
 1369|     11|            "uvec3 min3(uvec3, uvec3, uvec3);"
 1370|     11|            "uvec4 min3(uvec4, uvec4, uvec4);"
 1371|       |
 1372|     11|            "float max3(float, float, float);"
 1373|     11|            "vec2  max3(vec2,  vec2,  vec2);"
 1374|     11|            "vec3  max3(vec3,  vec3,  vec3);"
 1375|     11|            "vec4  max3(vec4,  vec4,  vec4);"
 1376|       |
 1377|     11|            "int   max3(int,   int,   int);"
 1378|     11|            "ivec2 max3(ivec2, ivec2, ivec2);"
 1379|     11|            "ivec3 max3(ivec3, ivec3, ivec3);"
 1380|     11|            "ivec4 max3(ivec4, ivec4, ivec4);"
 1381|       |
 1382|     11|            "uint  max3(uint,  uint,  uint);"
 1383|     11|            "uvec2 max3(uvec2, uvec2, uvec2);"
 1384|     11|            "uvec3 max3(uvec3, uvec3, uvec3);"
 1385|     11|            "uvec4 max3(uvec4, uvec4, uvec4);"
 1386|       |
 1387|     11|            "float mid3(float, float, float);"
 1388|     11|            "vec2  mid3(vec2,  vec2,  vec2);"
 1389|     11|            "vec3  mid3(vec3,  vec3,  vec3);"
 1390|     11|            "vec4  mid3(vec4,  vec4,  vec4);"
 1391|       |
 1392|     11|            "int   mid3(int,   int,   int);"
 1393|     11|            "ivec2 mid3(ivec2, ivec2, ivec2);"
 1394|     11|            "ivec3 mid3(ivec3, ivec3, ivec3);"
 1395|     11|            "ivec4 mid3(ivec4, ivec4, ivec4);"
 1396|       |
 1397|     11|            "uint  mid3(uint,  uint,  uint);"
 1398|     11|            "uvec2 mid3(uvec2, uvec2, uvec2);"
 1399|     11|            "uvec3 mid3(uvec3, uvec3, uvec3);"
 1400|     11|            "uvec4 mid3(uvec4, uvec4, uvec4);"
 1401|       |
 1402|     11|            "float16_t min3(float16_t, float16_t, float16_t);"
 1403|     11|            "f16vec2   min3(f16vec2,   f16vec2,   f16vec2);"
 1404|     11|            "f16vec3   min3(f16vec3,   f16vec3,   f16vec3);"
 1405|     11|            "f16vec4   min3(f16vec4,   f16vec4,   f16vec4);"
 1406|       |
 1407|     11|            "float16_t max3(float16_t, float16_t, float16_t);"
 1408|     11|            "f16vec2   max3(f16vec2,   f16vec2,   f16vec2);"
 1409|     11|            "f16vec3   max3(f16vec3,   f16vec3,   f16vec3);"
 1410|     11|            "f16vec4   max3(f16vec4,   f16vec4,   f16vec4);"
 1411|       |
 1412|     11|            "float16_t mid3(float16_t, float16_t, float16_t);"
 1413|     11|            "f16vec2   mid3(f16vec2,   f16vec2,   f16vec2);"
 1414|     11|            "f16vec3   mid3(f16vec3,   f16vec3,   f16vec3);"
 1415|     11|            "f16vec4   mid3(f16vec4,   f16vec4,   f16vec4);"
 1416|       |
 1417|     11|            "int16_t   min3(int16_t,   int16_t,   int16_t);"
 1418|     11|            "i16vec2   min3(i16vec2,   i16vec2,   i16vec2);"
 1419|     11|            "i16vec3   min3(i16vec3,   i16vec3,   i16vec3);"
 1420|     11|            "i16vec4   min3(i16vec4,   i16vec4,   i16vec4);"
 1421|       |
 1422|     11|            "int16_t   max3(int16_t,   int16_t,   int16_t);"
 1423|     11|            "i16vec2   max3(i16vec2,   i16vec2,   i16vec2);"
 1424|     11|            "i16vec3   max3(i16vec3,   i16vec3,   i16vec3);"
 1425|     11|            "i16vec4   max3(i16vec4,   i16vec4,   i16vec4);"
 1426|       |
 1427|     11|            "int16_t   mid3(int16_t,   int16_t,   int16_t);"
 1428|     11|            "i16vec2   mid3(i16vec2,   i16vec2,   i16vec2);"
 1429|     11|            "i16vec3   mid3(i16vec3,   i16vec3,   i16vec3);"
 1430|     11|            "i16vec4   mid3(i16vec4,   i16vec4,   i16vec4);"
 1431|       |
 1432|     11|            "uint16_t  min3(uint16_t,  uint16_t,  uint16_t);"
 1433|     11|            "u16vec2   min3(u16vec2,   u16vec2,   u16vec2);"
 1434|     11|            "u16vec3   min3(u16vec3,   u16vec3,   u16vec3);"
 1435|     11|            "u16vec4   min3(u16vec4,   u16vec4,   u16vec4);"
 1436|       |
 1437|     11|            "uint16_t  max3(uint16_t,  uint16_t,  uint16_t);"
 1438|     11|            "u16vec2   max3(u16vec2,   u16vec2,   u16vec2);"
 1439|     11|            "u16vec3   max3(u16vec3,   u16vec3,   u16vec3);"
 1440|     11|            "u16vec4   max3(u16vec4,   u16vec4,   u16vec4);"
 1441|       |
 1442|     11|            "uint16_t  mid3(uint16_t,  uint16_t,  uint16_t);"
 1443|     11|            "u16vec2   mid3(u16vec2,   u16vec2,   u16vec2);"
 1444|     11|            "u16vec3   mid3(u16vec3,   u16vec3,   u16vec3);"
 1445|     11|            "u16vec4   mid3(u16vec4,   u16vec4,   u16vec4);"
 1446|       |
 1447|     11|            "\n"
 1448|     11|        );
 1449|     11|    }
 1450|       |
 1451|    115|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (1451:10): [True: 0, False: 115]
  |  Branch (1451:35): [True: 0, False: 0]
  ------------------
 1452|    115|        (profile != EEsProfile && version >= 430)) {
  ------------------
  |  Branch (1452:10): [True: 115, False: 0]
  |  Branch (1452:35): [True: 11, False: 104]
  ------------------
 1453|     11|        commonBuiltins.append(
 1454|     11|            "uint atomicAdd(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1455|     11|            " int atomicAdd(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1456|       |
 1457|     11|            "uint atomicMin(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1458|     11|            " int atomicMin(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1459|       |
 1460|     11|            "uint atomicMax(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1461|     11|            " int atomicMax(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1462|       |
 1463|     11|            "uint atomicAnd(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1464|     11|            " int atomicAnd(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1465|       |
 1466|     11|            "uint atomicOr (coherent volatile nontemporal inout uint, uint, int, int, int);"
 1467|     11|            " int atomicOr (coherent volatile nontemporal inout  int,  int, int, int, int);"
 1468|       |
 1469|     11|            "uint atomicXor(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1470|     11|            " int atomicXor(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1471|       |
 1472|     11|            "uint atomicExchange(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1473|     11|            " int atomicExchange(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1474|       |
 1475|     11|            "uint atomicCompSwap(coherent volatile nontemporal inout uint, uint, uint, int, int, int, int, int);"
 1476|     11|            " int atomicCompSwap(coherent volatile nontemporal inout  int,  int,  int, int, int, int, int, int);"
 1477|       |
 1478|     11|            "uint atomicLoad(coherent volatile nontemporal in uint, int, int, int);"
 1479|     11|            " int atomicLoad(coherent volatile nontemporal in  int, int, int, int);"
 1480|       |
 1481|     11|            "void atomicStore(coherent volatile nontemporal out uint, uint, int, int, int);"
 1482|     11|            "void atomicStore(coherent volatile nontemporal out  int,  int, int, int, int);"
 1483|       |
 1484|     11|            "\n");
 1485|     11|    }
 1486|       |
 1487|    115|    if (profile != EEsProfile && version >= 440) {
  ------------------
  |  Branch (1487:9): [True: 115, False: 0]
  |  Branch (1487:34): [True: 11, False: 104]
  ------------------
 1488|     11|        commonBuiltins.append(
 1489|     11|            "uint64_t atomicMin(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1490|     11|            " int64_t atomicMin(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1491|     11|            "uint64_t atomicMin(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1492|     11|            " int64_t atomicMin(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1493|     11|            "float16_t atomicMin(coherent volatile nontemporal inout float16_t, float16_t);"
 1494|     11|            "float16_t atomicMin(coherent volatile nontemporal inout float16_t, float16_t, int, int, int);"
 1495|     11|            "   float atomicMin(coherent volatile nontemporal inout float, float);"
 1496|     11|            "   float atomicMin(coherent volatile nontemporal inout float, float, int, int, int);"
 1497|     11|            "  double atomicMin(coherent volatile nontemporal inout double, double);"
 1498|     11|            "  double atomicMin(coherent volatile nontemporal inout double, double, int, int, int);"
 1499|       |
 1500|     11|            "uint64_t atomicMax(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1501|     11|            " int64_t atomicMax(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1502|     11|            "uint64_t atomicMax(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1503|     11|            " int64_t atomicMax(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1504|     11|            "float16_t atomicMax(coherent volatile nontemporal inout float16_t, float16_t);"
 1505|     11|            "float16_t atomicMax(coherent volatile nontemporal inout float16_t, float16_t, int, int, int);"
 1506|     11|            "   float atomicMax(coherent volatile nontemporal inout float, float);"
 1507|     11|            "   float atomicMax(coherent volatile nontemporal inout float, float, int, int, int);"
 1508|     11|            "  double atomicMax(coherent volatile nontemporal inout double, double);"
 1509|     11|            "  double atomicMax(coherent volatile nontemporal inout double, double, int, int, int);"
 1510|       |
 1511|     11|            "uint64_t atomicAnd(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1512|     11|            " int64_t atomicAnd(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1513|     11|            "uint64_t atomicAnd(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1514|     11|            " int64_t atomicAnd(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1515|       |
 1516|     11|            "uint64_t atomicOr (coherent volatile nontemporal inout uint64_t, uint64_t);"
 1517|     11|            " int64_t atomicOr (coherent volatile nontemporal inout  int64_t,  int64_t);"
 1518|     11|            "uint64_t atomicOr (coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1519|     11|            " int64_t atomicOr (coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1520|       |
 1521|     11|            "uint64_t atomicXor(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1522|     11|            " int64_t atomicXor(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1523|     11|            "uint64_t atomicXor(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1524|     11|            " int64_t atomicXor(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1525|       |
 1526|     11|            "uint64_t atomicAdd(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1527|     11|            " int64_t atomicAdd(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1528|     11|            "uint64_t atomicAdd(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1529|     11|            " int64_t atomicAdd(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1530|     11|            "float16_t atomicAdd(coherent volatile nontemporal inout float16_t, float16_t);"
 1531|     11|            "float16_t atomicAdd(coherent volatile nontemporal inout float16_t, float16_t, int, int, int);"
 1532|     11|            "   float atomicAdd(coherent volatile nontemporal inout float, float);"
 1533|     11|            "   float atomicAdd(coherent volatile nontemporal inout float, float, int, int, int);"
 1534|     11|            "  double atomicAdd(coherent volatile nontemporal inout double, double);"
 1535|     11|            "  double atomicAdd(coherent volatile nontemporal inout double, double, int, int, int);"
 1536|       |
 1537|     11|            "uint64_t atomicExchange(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1538|     11|            " int64_t atomicExchange(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1539|     11|            "uint64_t atomicExchange(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1540|     11|            " int64_t atomicExchange(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1541|     11|            "float16_t atomicExchange(coherent volatile nontemporal inout float16_t, float16_t);"
 1542|     11|            "float16_t atomicExchange(coherent volatile nontemporal inout float16_t, float16_t, int, int, int);"
 1543|     11|            "   float atomicExchange(coherent volatile nontemporal inout float, float);"
 1544|     11|            "   float atomicExchange(coherent volatile nontemporal inout float, float, int, int, int);"
 1545|     11|            "  double atomicExchange(coherent volatile nontemporal inout double, double);"
 1546|     11|            "  double atomicExchange(coherent volatile nontemporal inout double, double, int, int, int);"
 1547|       |
 1548|     11|            "uint64_t atomicCompSwap(coherent volatile nontemporal inout uint64_t, uint64_t, uint64_t);"
 1549|     11|            " int64_t atomicCompSwap(coherent volatile nontemporal inout  int64_t,  int64_t,  int64_t);"
 1550|     11|            "uint64_t atomicCompSwap(coherent volatile nontemporal inout uint64_t, uint64_t, uint64_t, int, int, int, int, int);"
 1551|     11|            " int64_t atomicCompSwap(coherent volatile nontemporal inout  int64_t,  int64_t,  int64_t, int, int, int, int, int);"
 1552|       |
 1553|     11|            "uint64_t atomicLoad(coherent volatile nontemporal in uint64_t, int, int, int);"
 1554|     11|            " int64_t atomicLoad(coherent volatile nontemporal in  int64_t, int, int, int);"
 1555|     11|            "float16_t atomicLoad(coherent volatile nontemporal in float16_t, int, int, int);"
 1556|     11|            "   float atomicLoad(coherent volatile nontemporal in float, int, int, int);"
 1557|     11|            "  double atomicLoad(coherent volatile nontemporal in double, int, int, int);"
 1558|       |
 1559|     11|            "void atomicStore(coherent volatile nontemporal out uint64_t, uint64_t, int, int, int);"
 1560|     11|            "void atomicStore(coherent volatile nontemporal out  int64_t,  int64_t, int, int, int);"
 1561|     11|            "void atomicStore(coherent volatile nontemporal out float16_t, float16_t, int, int, int);"
 1562|     11|            "void atomicStore(coherent volatile nontemporal out float, float, int, int, int);"
 1563|     11|            "void atomicStore(coherent volatile nontemporal out double, double, int, int, int);"
 1564|     11|            "\n");
 1565|     11|    }
 1566|       |
 1567|       |    // NV_shader_atomic_fp16_vector
 1568|    115|    if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (1568:9): [True: 115, False: 0]
  |  Branch (1568:34): [True: 11, False: 104]
  ------------------
 1569|     11|        commonBuiltins.append(
 1570|     11|            "f16vec2 atomicAdd(coherent volatile nontemporal inout f16vec2, f16vec2);"
 1571|     11|            "f16vec4 atomicAdd(coherent volatile nontemporal inout f16vec4, f16vec4);"
 1572|     11|            "f16vec2 atomicMin(coherent volatile nontemporal inout f16vec2, f16vec2);"
 1573|     11|            "f16vec4 atomicMin(coherent volatile nontemporal inout f16vec4, f16vec4);"
 1574|     11|            "f16vec2 atomicMax(coherent volatile nontemporal inout f16vec2, f16vec2);"
 1575|     11|            "f16vec4 atomicMax(coherent volatile nontemporal inout f16vec4, f16vec4);"
 1576|     11|            "f16vec2 atomicExchange(coherent volatile nontemporal inout f16vec2, f16vec2);"
 1577|     11|            "f16vec4 atomicExchange(coherent volatile nontemporal inout f16vec4, f16vec4);"
 1578|     11|            "\n");
 1579|     11|    }
 1580|       |
 1581|    115|    if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1581:10): [True: 0, False: 115]
  |  Branch (1581:35): [True: 0, False: 0]
  ------------------
 1582|    115|        (profile != EEsProfile && version >= 150)) { // GL_ARB_shader_bit_encoding
  ------------------
  |  Branch (1582:10): [True: 115, False: 0]
  |  Branch (1582:35): [True: 16, False: 99]
  ------------------
 1583|     16|        commonBuiltins.append(
 1584|     16|            "int   floatBitsToInt(highp float value);"
 1585|     16|            "ivec2 floatBitsToInt(highp vec2  value);"
 1586|     16|            "ivec3 floatBitsToInt(highp vec3  value);"
 1587|     16|            "ivec4 floatBitsToInt(highp vec4  value);"
 1588|       |
 1589|     16|            "uint  floatBitsToUint(highp float value);"
 1590|     16|            "uvec2 floatBitsToUint(highp vec2  value);"
 1591|     16|            "uvec3 floatBitsToUint(highp vec3  value);"
 1592|     16|            "uvec4 floatBitsToUint(highp vec4  value);"
 1593|       |
 1594|     16|            "float intBitsToFloat(highp int   value);"
 1595|     16|            "vec2  intBitsToFloat(highp ivec2 value);"
 1596|     16|            "vec3  intBitsToFloat(highp ivec3 value);"
 1597|     16|            "vec4  intBitsToFloat(highp ivec4 value);"
 1598|       |
 1599|     16|            "float uintBitsToFloat(highp uint  value);"
 1600|     16|            "vec2  uintBitsToFloat(highp uvec2 value);"
 1601|     16|            "vec3  uintBitsToFloat(highp uvec3 value);"
 1602|     16|            "vec4  uintBitsToFloat(highp uvec4 value);"
 1603|       |
 1604|     16|            "\n");
 1605|     16|    }
 1606|       |
 1607|    115|    if ((profile != EEsProfile && version >= 150) || // GL_NV_gpu_shader5
  ------------------
  |  Branch (1607:10): [True: 115, False: 0]
  |  Branch (1607:35): [True: 16, False: 99]
  ------------------
 1608|     99|        (profile == EEsProfile && version >= 310)) {    // GL_OES_gpu_shader5
  ------------------
  |  Branch (1608:10): [True: 0, False: 99]
  |  Branch (1608:35): [True: 0, False: 0]
  ------------------
 1609|       |
 1610|     16|        commonBuiltins.append(
 1611|     16|            "float  fma(float,  float,  float );"
 1612|     16|            "vec2   fma(vec2,   vec2,   vec2  );"
 1613|     16|            "vec3   fma(vec3,   vec3,   vec3  );"
 1614|     16|            "vec4   fma(vec4,   vec4,   vec4  );"
 1615|     16|            "\n");
 1616|     16|    }
 1617|       |
 1618|    115|    if (profile != EEsProfile && version >= 150) {  // ARB_gpu_shader_fp64
  ------------------
  |  Branch (1618:9): [True: 115, False: 0]
  |  Branch (1618:34): [True: 16, False: 99]
  ------------------
 1619|     16|            commonBuiltins.append(
 1620|     16|                "double fma(double, double, double);"
 1621|     16|                "dvec2  fma(dvec2,  dvec2,  dvec2 );"
 1622|     16|                "dvec3  fma(dvec3,  dvec3,  dvec3 );"
 1623|     16|                "dvec4  fma(dvec4,  dvec4,  dvec4 );"
 1624|     16|                "\n");
 1625|     16|    }
 1626|       |
 1627|    115|    if (profile == EEsProfile && version >= 310) {  // ARB_gpu_shader_fp64
  ------------------
  |  Branch (1627:9): [True: 0, False: 115]
  |  Branch (1627:34): [True: 0, False: 0]
  ------------------
 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|    115|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (1636:10): [True: 0, False: 115]
  |  Branch (1636:35): [True: 0, False: 0]
  ------------------
 1637|    115|        (profile != EEsProfile && version >= 150)) { // GL_NV_gpu_shader5
  ------------------
  |  Branch (1637:10): [True: 115, False: 0]
  |  Branch (1637:35): [True: 16, False: 99]
  ------------------
 1638|     16|        commonBuiltins.append(
 1639|     16|            "float frexp(highp float, out highp int);"
 1640|     16|            "vec2  frexp(highp vec2,  out highp ivec2);"
 1641|     16|            "vec3  frexp(highp vec3,  out highp ivec3);"
 1642|     16|            "vec4  frexp(highp vec4,  out highp ivec4);"
 1643|       |
 1644|     16|            "float ldexp(highp float, highp int);"
 1645|     16|            "vec2  ldexp(highp vec2,  highp ivec2);"
 1646|     16|            "vec3  ldexp(highp vec3,  highp ivec3);"
 1647|     16|            "vec4  ldexp(highp vec4,  highp ivec4);"
 1648|       |
 1649|     16|            "\n");
 1650|     16|    }
 1651|       |
 1652|    115|    if (profile != EEsProfile && version >= 150) { // ARB_gpu_shader_fp64
  ------------------
  |  Branch (1652:9): [True: 115, False: 0]
  |  Branch (1652:34): [True: 16, False: 99]
  ------------------
 1653|     16|        commonBuiltins.append(
 1654|     16|            "double frexp(double, out int);"
 1655|     16|            "dvec2  frexp( dvec2, out ivec2);"
 1656|     16|            "dvec3  frexp( dvec3, out ivec3);"
 1657|     16|            "dvec4  frexp( dvec4, out ivec4);"
 1658|       |
 1659|     16|            "double ldexp(double, int);"
 1660|     16|            "dvec2  ldexp( dvec2, ivec2);"
 1661|     16|            "dvec3  ldexp( dvec3, ivec3);"
 1662|     16|            "dvec4  ldexp( dvec4, ivec4);"
 1663|       |
 1664|     16|            "double packDouble2x32(uvec2);"
 1665|     16|            "uvec2 unpackDouble2x32(double);"
 1666|       |
 1667|     16|            "\n");
 1668|     16|    }
 1669|       |
 1670|    115|    if (profile == EEsProfile && version >= 310) { // ARB_gpu_shader_fp64
  ------------------
  |  Branch (1670:9): [True: 0, False: 115]
  |  Branch (1670:34): [True: 0, False: 0]
  ------------------
 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|    115|    if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1685:10): [True: 0, False: 115]
  |  Branch (1685:35): [True: 0, False: 0]
  ------------------
 1686|    115|        (profile != EEsProfile && version >= 150)) {
  ------------------
  |  Branch (1686:10): [True: 115, False: 0]
  |  Branch (1686:35): [True: 16, False: 99]
  ------------------
 1687|     16|        commonBuiltins.append(
 1688|     16|            "highp uint packUnorm2x16(vec2);"
 1689|     16|                  "vec2 unpackUnorm2x16(highp uint);"
 1690|     16|            "\n");
 1691|     16|    }
 1692|       |
 1693|    115|    if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1693:10): [True: 0, False: 115]
  |  Branch (1693:35): [True: 0, False: 0]
  ------------------
 1694|    115|        (profile != EEsProfile && version >= 150)) {
  ------------------
  |  Branch (1694:10): [True: 115, False: 0]
  |  Branch (1694:35): [True: 16, False: 99]
  ------------------
 1695|     16|        commonBuiltins.append(
 1696|     16|            "highp uint packSnorm2x16(vec2);"
 1697|     16|            "      vec2 unpackSnorm2x16(highp uint);"
 1698|     16|            "highp uint packHalf2x16(vec2);"
 1699|     16|            "\n");
 1700|     16|    }
 1701|       |
 1702|    115|    if (profile == EEsProfile && version >= 300) {
  ------------------
  |  Branch (1702:9): [True: 0, False: 115]
  |  Branch (1702:34): [True: 0, False: 0]
  ------------------
 1703|      0|        commonBuiltins.append(
 1704|      0|            "mediump vec2 unpackHalf2x16(highp uint);"
 1705|      0|            "\n");
 1706|    115|    } else if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (1706:16): [True: 115, False: 0]
  |  Branch (1706:41): [True: 16, False: 99]
  ------------------
 1707|     16|        commonBuiltins.append(
 1708|     16|            "        vec2 unpackHalf2x16(highp uint);"
 1709|     16|            "\n");
 1710|     16|    }
 1711|       |
 1712|    115|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (1712:10): [True: 0, False: 115]
  |  Branch (1712:35): [True: 0, False: 0]
  ------------------
 1713|    115|        (profile != EEsProfile && version >= 150)) {
  ------------------
  |  Branch (1713:10): [True: 115, False: 0]
  |  Branch (1713:35): [True: 16, False: 99]
  ------------------
 1714|     16|        commonBuiltins.append(
 1715|     16|            "highp uint packSnorm4x8(vec4);"
 1716|     16|            "highp uint packUnorm4x8(vec4);"
 1717|     16|            "\n");
 1718|     16|    }
 1719|       |
 1720|    115|    if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (1720:9): [True: 0, False: 115]
  |  Branch (1720:34): [True: 0, False: 0]
  ------------------
 1721|      0|        commonBuiltins.append(
 1722|      0|            "mediump vec4 unpackSnorm4x8(highp uint);"
 1723|      0|            "mediump vec4 unpackUnorm4x8(highp uint);"
 1724|      0|            "\n");
 1725|    115|    } else if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (1725:16): [True: 115, False: 0]
  |  Branch (1725:41): [True: 16, False: 99]
  ------------------
 1726|     16|        commonBuiltins.append(
 1727|     16|                    "vec4 unpackSnorm4x8(highp uint);"
 1728|     16|                    "vec4 unpackUnorm4x8(highp uint);"
 1729|     16|            "\n");
 1730|     16|    }
 1731|       |
 1732|       |    //
 1733|       |    // Matrix Functions.
 1734|       |    //
 1735|    115|    commonBuiltins.append(
 1736|    115|        "mat2 matrixCompMult(mat2 x, mat2 y);"
 1737|    115|        "mat3 matrixCompMult(mat3 x, mat3 y);"
 1738|    115|        "mat4 matrixCompMult(mat4 x, mat4 y);"
 1739|       |
 1740|    115|        "\n");
 1741|       |
 1742|       |    // 120 is correct for both ES and desktop
 1743|    115|    if (version >= 120) {
  ------------------
  |  Branch (1743:9): [True: 115, False: 0]
  ------------------
 1744|    115|        commonBuiltins.append(
 1745|    115|            "mat2   outerProduct(vec2 c, vec2 r);"
 1746|    115|            "mat3   outerProduct(vec3 c, vec3 r);"
 1747|    115|            "mat4   outerProduct(vec4 c, vec4 r);"
 1748|    115|            "mat2x3 outerProduct(vec3 c, vec2 r);"
 1749|    115|            "mat3x2 outerProduct(vec2 c, vec3 r);"
 1750|    115|            "mat2x4 outerProduct(vec4 c, vec2 r);"
 1751|    115|            "mat4x2 outerProduct(vec2 c, vec4 r);"
 1752|    115|            "mat3x4 outerProduct(vec4 c, vec3 r);"
 1753|    115|            "mat4x3 outerProduct(vec3 c, vec4 r);"
 1754|       |
 1755|    115|            "mat2   transpose(mat2   m);"
 1756|    115|            "mat3   transpose(mat3   m);"
 1757|    115|            "mat4   transpose(mat4   m);"
 1758|    115|            "mat2x3 transpose(mat3x2 m);"
 1759|    115|            "mat3x2 transpose(mat2x3 m);"
 1760|    115|            "mat2x4 transpose(mat4x2 m);"
 1761|    115|            "mat4x2 transpose(mat2x4 m);"
 1762|    115|            "mat3x4 transpose(mat4x3 m);"
 1763|    115|            "mat4x3 transpose(mat3x4 m);"
 1764|       |
 1765|    115|            "mat2x3 matrixCompMult(mat2x3, mat2x3);"
 1766|    115|            "mat2x4 matrixCompMult(mat2x4, mat2x4);"
 1767|    115|            "mat3x2 matrixCompMult(mat3x2, mat3x2);"
 1768|    115|            "mat3x4 matrixCompMult(mat3x4, mat3x4);"
 1769|    115|            "mat4x2 matrixCompMult(mat4x2, mat4x2);"
 1770|    115|            "mat4x3 matrixCompMult(mat4x3, mat4x3);"
 1771|       |
 1772|    115|            "\n");
 1773|       |
 1774|       |        // 150 is correct for both ES and desktop
 1775|    115|        if (version >= 150) {
  ------------------
  |  Branch (1775:13): [True: 16, False: 99]
  ------------------
 1776|     16|            commonBuiltins.append(
 1777|     16|                "float determinant(mat2 m);"
 1778|     16|                "float determinant(mat3 m);"
 1779|     16|                "float determinant(mat4 m);"
 1780|       |
 1781|     16|                "mat2 inverse(mat2 m);"
 1782|     16|                "mat3 inverse(mat3 m);"
 1783|     16|                "mat4 inverse(mat4 m);"
 1784|       |
 1785|     16|                "\n");
 1786|     16|        }
 1787|    115|    }
 1788|       |
 1789|       |    //
 1790|       |    // Original-style texture functions existing in all stages.
 1791|       |    // (Per-stage functions below.)
 1792|       |    //
 1793|    115|    if ((profile == EEsProfile && version == 100) ||
  ------------------
  |  Branch (1793:10): [True: 0, False: 115]
  |  Branch (1793:35): [True: 0, False: 0]
  ------------------
 1794|    115|         profile == ECompatibilityProfile ||
  ------------------
  |  Branch (1794:10): [True: 0, False: 115]
  ------------------
 1795|    115|        (profile == ECoreProfile && version < 420) ||
  ------------------
  |  Branch (1795:10): [True: 10, False: 105]
  |  Branch (1795:37): [True: 5, False: 5]
  ------------------
 1796|    110|         profile == ENoProfile) {
  ------------------
  |  Branch (1796:10): [True: 105, False: 5]
  ------------------
 1797|    110|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (1797:13): [True: 0, False: 110]
  ------------------
 1798|      0|            commonBuiltins.append(
 1799|      0|                "vec4 texture2D(sampler2D, vec2);"
 1800|       |
 1801|      0|                "vec4 texture2DProj(sampler2D, vec3);"
 1802|      0|                "vec4 texture2DProj(sampler2D, vec4);"
 1803|       |
 1804|      0|                "vec4 texture3D(sampler3D, vec3);"     // OES_texture_3D, but caught by keyword check
 1805|      0|                "vec4 texture3DProj(sampler3D, vec4);" // OES_texture_3D, but caught by keyword check
 1806|       |
 1807|      0|                "vec4 textureCube(samplerCube, vec3);"
 1808|       |
 1809|      0|                "\n");
 1810|      0|        }
 1811|    110|    }
 1812|       |
 1813|    115|    if ( profile == ECompatibilityProfile ||
  ------------------
  |  Branch (1813:10): [True: 0, False: 115]
  ------------------
 1814|    115|        (profile == ECoreProfile && version < 420) ||
  ------------------
  |  Branch (1814:10): [True: 10, False: 105]
  |  Branch (1814:37): [True: 5, False: 5]
  ------------------
 1815|    110|         profile == ENoProfile) {
  ------------------
  |  Branch (1815:10): [True: 105, False: 5]
  ------------------
 1816|    110|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (1816:13): [True: 0, False: 110]
  ------------------
 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|    110|    }
 1847|       |
 1848|    115|    if (profile == EEsProfile) {
  ------------------
  |  Branch (1848:9): [True: 0, False: 115]
  ------------------
 1849|      0|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (1849:13): [True: 0, False: 0]
  ------------------
 1850|      0|            if (version < 300) {
  ------------------
  |  Branch (1850:17): [True: 0, False: 0]
  ------------------
 1851|      0|                commonBuiltins.append(
 1852|      0|                    "vec4 texture2D(samplerExternalOES, vec2 coord);" // GL_OES_EGL_image_external
 1853|      0|                    "vec4 texture2DProj(samplerExternalOES, vec3);"   // GL_OES_EGL_image_external
 1854|      0|                    "vec4 texture2DProj(samplerExternalOES, vec4);"   // GL_OES_EGL_image_external
 1855|      0|                "\n");
 1856|      0|            } 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|      0|            commonBuiltins.append(
 1869|      0|                "highp ivec2 textureSize(__samplerExternal2DY2YEXT, int lod);" // GL_EXT_YUV_target
 1870|      0|                "vec4 texture(__samplerExternal2DY2YEXT, vec2);"               // GL_EXT_YUV_target
 1871|      0|                "vec4 texture(__samplerExternal2DY2YEXT, vec2, float bias);"   // GL_EXT_YUV_target
 1872|      0|                "vec4 textureProj(__samplerExternal2DY2YEXT, vec3);"           // GL_EXT_YUV_target
 1873|      0|                "vec4 textureProj(__samplerExternal2DY2YEXT, vec3, float bias);" // GL_EXT_YUV_target
 1874|      0|                "vec4 textureProj(__samplerExternal2DY2YEXT, vec4);"           // GL_EXT_YUV_target
 1875|      0|                "vec4 textureProj(__samplerExternal2DY2YEXT, vec4, float bias);" // GL_EXT_YUV_target
 1876|      0|                "vec4 texelFetch(__samplerExternal2DY2YEXT sampler, ivec2, int lod);" // GL_EXT_YUV_target
 1877|      0|                "\n");
 1878|      0|            commonBuiltins.append(
 1879|      0|                "vec4 texture2DGradEXT(sampler2D, vec2, vec2, vec2);"      // GL_EXT_shader_texture_lod
 1880|      0|                "vec4 texture2DProjGradEXT(sampler2D, vec3, vec2, vec2);"  // GL_EXT_shader_texture_lod
 1881|      0|                "vec4 texture2DProjGradEXT(sampler2D, vec4, vec2, vec2);"  // GL_EXT_shader_texture_lod
 1882|      0|                "vec4 textureCubeGradEXT(samplerCube, vec3, vec3, vec3);"  // GL_EXT_shader_texture_lod
 1883|       |
 1884|      0|                "float shadow2DEXT(sampler2DShadow, vec3);"     // GL_EXT_shadow_samplers
 1885|      0|                "float shadow2DProjEXT(sampler2DShadow, vec4);" // GL_EXT_shadow_samplers
 1886|       |
 1887|      0|                "\n");
 1888|      0|        }
 1889|      0|    }
 1890|       |
 1891|       |    //
 1892|       |    // Noise functions.
 1893|       |    //
 1894|    115|    if (spvVersion.spv == 0 && profile != EEsProfile) {
  ------------------
  |  Branch (1894:9): [True: 0, False: 115]
  |  Branch (1894:32): [True: 0, False: 0]
  ------------------
 1895|      0|        commonBuiltins.append(
 1896|      0|            "float noise1(float x);"
 1897|      0|            "float noise1(vec2  x);"
 1898|      0|            "float noise1(vec3  x);"
 1899|      0|            "float noise1(vec4  x);"
 1900|       |
 1901|      0|            "vec2 noise2(float x);"
 1902|      0|            "vec2 noise2(vec2  x);"
 1903|      0|            "vec2 noise2(vec3  x);"
 1904|      0|            "vec2 noise2(vec4  x);"
 1905|       |
 1906|      0|            "vec3 noise3(float x);"
 1907|      0|            "vec3 noise3(vec2  x);"
 1908|      0|            "vec3 noise3(vec3  x);"
 1909|      0|            "vec3 noise3(vec4  x);"
 1910|       |
 1911|      0|            "vec4 noise4(float x);"
 1912|      0|            "vec4 noise4(vec2  x);"
 1913|      0|            "vec4 noise4(vec3  x);"
 1914|      0|            "vec4 noise4(vec4  x);"
 1915|       |
 1916|      0|            "\n");
 1917|      0|    }
 1918|       |
 1919|    115|    if (spvVersion.vulkan == 0) {
  ------------------
  |  Branch (1919:9): [True: 0, False: 115]
  ------------------
 1920|       |        //
 1921|       |        // Atomic counter functions.
 1922|       |        //
 1923|      0|        if ((profile != EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1923:14): [True: 0, False: 0]
  |  Branch (1923:39): [True: 0, False: 0]
  ------------------
 1924|      0|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (1924:14): [True: 0, False: 0]
  |  Branch (1924:39): [True: 0, False: 0]
  ------------------
 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|      0|        if (profile != EEsProfile && version == 450) {
  ------------------
  |  Branch (1932:13): [True: 0, False: 0]
  |  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|      0|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (1948:13): [True: 0, False: 0]
  |  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|      0|    }
 1963|    115|    else if (spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (1963:14): [True: 0, False: 115]
  ------------------
 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|    115|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (1995:10): [True: 0, False: 115]
  |  Branch (1995:35): [True: 0, False: 0]
  ------------------
 1996|    115|        (profile != EEsProfile && version >= 150)) { // ARB_gpu_shader5/NV_gpu_shader5
  ------------------
  |  Branch (1996:10): [True: 115, False: 0]
  |  Branch (1996:35): [True: 16, False: 99]
  ------------------
 1997|     16|        commonBuiltins.append(
 1998|     16|            "  int bitfieldExtract(  int, int, int);"
 1999|     16|            "ivec2 bitfieldExtract(ivec2, int, int);"
 2000|     16|            "ivec3 bitfieldExtract(ivec3, int, int);"
 2001|     16|            "ivec4 bitfieldExtract(ivec4, int, int);"
 2002|       |
 2003|     16|            " uint bitfieldExtract( uint, int, int);"
 2004|     16|            "uvec2 bitfieldExtract(uvec2, int, int);"
 2005|     16|            "uvec3 bitfieldExtract(uvec3, int, int);"
 2006|     16|            "uvec4 bitfieldExtract(uvec4, int, int);"
 2007|       |
 2008|     16|            "  int bitfieldInsert(  int base,   int, int, int);"
 2009|     16|            "ivec2 bitfieldInsert(ivec2 base, ivec2, int, int);"
 2010|     16|            "ivec3 bitfieldInsert(ivec3 base, ivec3, int, int);"
 2011|     16|            "ivec4 bitfieldInsert(ivec4 base, ivec4, int, int);"
 2012|       |
 2013|     16|            " uint bitfieldInsert( uint base,  uint, int, int);"
 2014|     16|            "uvec2 bitfieldInsert(uvec2 base, uvec2, int, int);"
 2015|     16|            "uvec3 bitfieldInsert(uvec3 base, uvec3, int, int);"
 2016|     16|            "uvec4 bitfieldInsert(uvec4 base, uvec4, int, int);"
 2017|       |
 2018|     16|            "\n");
 2019|     16|    }
 2020|       |
 2021|    115|    if (profile != EEsProfile && version >= 150) { //GL_ARB_gpu_shader5/GL_NV_gpu_shader5
  ------------------
  |  Branch (2021:9): [True: 115, False: 0]
  |  Branch (2021:34): [True: 16, False: 99]
  ------------------
 2022|     16|        commonBuiltins.append(
 2023|     16|            "  int findLSB(  int);"
 2024|     16|            "ivec2 findLSB(ivec2);"
 2025|     16|            "ivec3 findLSB(ivec3);"
 2026|     16|            "ivec4 findLSB(ivec4);"
 2027|       |
 2028|     16|            "  int findLSB( uint);"
 2029|     16|            "ivec2 findLSB(uvec2);"
 2030|     16|            "ivec3 findLSB(uvec3);"
 2031|     16|            "ivec4 findLSB(uvec4);"
 2032|       |
 2033|     16|            "\n");
 2034|     99|    } else if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (2034:16): [True: 0, False: 99]
  |  Branch (2034:41): [True: 0, False: 0]
  ------------------
 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|    115|    if (profile != EEsProfile && version >= 150) { //GL_ARB_gpu_shader5/GL_NV_gpu_shader5
  ------------------
  |  Branch (2049:9): [True: 115, False: 0]
  |  Branch (2049:34): [True: 16, False: 99]
  ------------------
 2050|     16|        commonBuiltins.append(
 2051|     16|            "  int bitCount(  int);"
 2052|     16|            "ivec2 bitCount(ivec2);"
 2053|     16|            "ivec3 bitCount(ivec3);"
 2054|     16|            "ivec4 bitCount(ivec4);"
 2055|       |
 2056|     16|            "  int bitCount( uint);"
 2057|     16|            "ivec2 bitCount(uvec2);"
 2058|     16|            "ivec3 bitCount(uvec3);"
 2059|     16|            "ivec4 bitCount(uvec4);"
 2060|       |
 2061|     16|            "  int findMSB(highp   int);"
 2062|     16|            "ivec2 findMSB(highp ivec2);"
 2063|     16|            "ivec3 findMSB(highp ivec3);"
 2064|     16|            "ivec4 findMSB(highp ivec4);"
 2065|       |
 2066|     16|            "  int findMSB(highp  uint);"
 2067|     16|            "ivec2 findMSB(highp uvec2);"
 2068|     16|            "ivec3 findMSB(highp uvec3);"
 2069|     16|            "ivec4 findMSB(highp uvec4);"
 2070|     16|            "\n");
 2071|     16|    }
 2072|       |
 2073|    115|    if (profile != EEsProfile && version >= 150 && version < 450) { //GL_NV_gpu_shader5
  ------------------
  |  Branch (2073:9): [True: 115, False: 0]
  |  Branch (2073:34): [True: 16, False: 99]
  |  Branch (2073:52): [True: 5, False: 11]
  ------------------
 2074|      5|        commonBuiltins.append(
 2075|      5|            "int64_t  packInt2x32(ivec2);"
 2076|      5|            "uint64_t packUint2x32(uvec2);"
 2077|      5|            "ivec2    unpackInt2x32(int64_t);"
 2078|      5|            "uvec2    unpackUint2x32(uint64_t);"
 2079|       |
 2080|      5|            "uint     packFloat2x16(f16vec2);"
 2081|      5|            "f16vec2  unpackFloat2x16(uint);"
 2082|       |
 2083|      5|            "int64_t doubleBitsToInt64(double);"
 2084|      5|            "i64vec2 doubleBitsToInt64(dvec2);"
 2085|      5|            "i64vec3 doubleBitsToInt64(dvec3);"
 2086|      5|            "i64vec4 doubleBitsToInt64(dvec4);"
 2087|       |
 2088|      5|            "uint64_t doubleBitsToUint64(double);"
 2089|      5|            "u64vec2  doubleBitsToUint64(dvec2);"
 2090|      5|            "u64vec3  doubleBitsToUint64(dvec3);"
 2091|      5|            "u64vec4  doubleBitsToUint64(dvec4);"
 2092|       |
 2093|      5|            "double int64BitsToDouble(int64_t);"
 2094|      5|            "dvec2  int64BitsToDouble(i64vec2);"
 2095|      5|            "dvec3  int64BitsToDouble(i64vec3);"
 2096|      5|            "dvec4  int64BitsToDouble(i64vec4);"
 2097|       |
 2098|      5|            "double uint64BitsToDouble(uint64_t);"
 2099|      5|            "dvec2  uint64BitsToDouble(u64vec2);"
 2100|      5|            "dvec3  uint64BitsToDouble(u64vec3);"
 2101|      5|            "dvec4  uint64BitsToDouble(u64vec4);"
 2102|       |            // Modifications to Vector Relational Functions
 2103|       |            // Introduction of explicitly sized types
 2104|      5|            "bvec2 lessThan(i64vec2, i64vec2);"
 2105|      5|            "bvec3 lessThan(i64vec3, i64vec3);"
 2106|      5|            "bvec4 lessThan(i64vec4, i64vec4);"
 2107|      5|            "bvec2 lessThan(u64vec2, u64vec2);"
 2108|      5|            "bvec3 lessThan(u64vec3, u64vec3);"
 2109|      5|            "bvec4 lessThan(u64vec4, u64vec4);"
 2110|       |
 2111|      5|            "bvec2 lessThanEqual(i64vec2, i64vec2);"
 2112|      5|            "bvec3 lessThanEqual(i64vec3, i64vec3);"
 2113|      5|            "bvec4 lessThanEqual(i64vec4, i64vec4);"
 2114|      5|            "bvec2 lessThanEqual(u64vec2, u64vec2);"
 2115|      5|            "bvec3 lessThanEqual(u64vec3, u64vec3);"
 2116|      5|            "bvec4 lessThanEqual(u64vec4, u64vec4);"
 2117|       |
 2118|      5|            "bvec2 greaterThan(i64vec2, i64vec2);"
 2119|      5|            "bvec3 greaterThan(i64vec3, i64vec3);"
 2120|      5|            "bvec4 greaterThan(i64vec4, i64vec4);"
 2121|      5|            "bvec2 greaterThan(u64vec2, u64vec2);"
 2122|      5|            "bvec3 greaterThan(u64vec3, u64vec3);"
 2123|      5|            "bvec4 greaterThan(u64vec4, u64vec4);"
 2124|       |
 2125|      5|            "bvec2 greaterThanEqual(i64vec2, i64vec2);"
 2126|      5|            "bvec3 greaterThanEqual(i64vec3, i64vec3);"
 2127|      5|            "bvec4 greaterThanEqual(i64vec4, i64vec4);"
 2128|      5|            "bvec2 greaterThanEqual(u64vec2, u64vec2);"
 2129|      5|            "bvec3 greaterThanEqual(u64vec3, u64vec3);"
 2130|      5|            "bvec4 greaterThanEqual(u64vec4, u64vec4);"
 2131|       |
 2132|      5|            "bvec2 equal(i64vec2, i64vec2);"
 2133|      5|            "bvec3 equal(i64vec3, i64vec3);"
 2134|      5|            "bvec4 equal(i64vec4, i64vec4);"
 2135|      5|            "bvec2 equal(u64vec2, u64vec2);"
 2136|      5|            "bvec3 equal(u64vec3, u64vec3);"
 2137|      5|            "bvec4 equal(u64vec4, u64vec4);"
 2138|       |
 2139|      5|            "bvec2 notEqual(i64vec2, i64vec2);"
 2140|      5|            "bvec3 notEqual(i64vec3, i64vec3);"
 2141|      5|            "bvec4 notEqual(i64vec4, i64vec4);"
 2142|      5|            "bvec2 notEqual(u64vec2, u64vec2);"
 2143|      5|            "bvec3 notEqual(u64vec3, u64vec3);"
 2144|      5|            "bvec4 notEqual(u64vec4, u64vec4);"
 2145|       |
 2146|      5|            "bvec2 lessThan(f16vec2, f16vec2);"
 2147|      5|            "bvec3 lessThan(f16vec3, f16vec3);"
 2148|      5|            "bvec4 lessThan(f16vec4, f16vec4);"
 2149|       |
 2150|      5|            "bvec2 lessThanEqual(f16vec2, f16vec2);"
 2151|      5|            "bvec3 lessThanEqual(f16vec3, f16vec3);"
 2152|      5|            "bvec4 lessThanEqual(f16vec4, f16vec4);"
 2153|       |
 2154|      5|            "bvec2 greaterThan(f16vec2, f16vec2);"
 2155|      5|            "bvec3 greaterThan(f16vec3, f16vec3);"
 2156|      5|            "bvec4 greaterThan(f16vec4, f16vec4);"
 2157|       |
 2158|      5|            "bvec2 greaterThanEqual(f16vec2, f16vec2);"
 2159|      5|            "bvec3 greaterThanEqual(f16vec3, f16vec3);"
 2160|      5|            "bvec4 greaterThanEqual(f16vec4, f16vec4);"
 2161|       |
 2162|      5|            "bvec2 equal(f16vec2, f16vec2);"
 2163|      5|            "bvec3 equal(f16vec3, f16vec3);"
 2164|      5|            "bvec4 equal(f16vec4, f16vec4);"
 2165|       |
 2166|      5|            "bvec2 notEqual(f16vec2, f16vec2);"
 2167|      5|            "bvec3 notEqual(f16vec3, f16vec3);"
 2168|      5|            "bvec4 notEqual(f16vec4, f16vec4);"
 2169|       |
 2170|       |            // Dependency on GL_ARB_gpu_shader_fp64
 2171|      5|            "bvec2 lessThan(dvec2, dvec2);"
 2172|      5|            "bvec3 lessThan(dvec3, dvec3);"
 2173|      5|            "bvec4 lessThan(dvec4, dvec4);"
 2174|       |
 2175|      5|            "bvec2 lessThanEqual(dvec2, dvec2);"
 2176|      5|            "bvec3 lessThanEqual(dvec3, dvec3);"
 2177|      5|            "bvec4 lessThanEqual(dvec4, dvec4);"
 2178|       |
 2179|      5|            "bvec2 greaterThan(dvec2, dvec2);"
 2180|      5|            "bvec3 greaterThan(dvec3, dvec3);"
 2181|      5|            "bvec4 greaterThan(dvec4, dvec4);"
 2182|       |
 2183|      5|            "bvec2 greaterThanEqual(dvec2, dvec2);"
 2184|      5|            "bvec3 greaterThanEqual(dvec3, dvec3);"
 2185|      5|            "bvec4 greaterThanEqual(dvec4, dvec4);"
 2186|       |
 2187|      5|            "bvec2 equal(dvec2, dvec2);"
 2188|      5|            "bvec3 equal(dvec3, dvec3);"
 2189|      5|            "bvec4 equal(dvec4, dvec4);"
 2190|       |
 2191|      5|            "bvec2 notEqual(dvec2, dvec2);"
 2192|      5|            "bvec3 notEqual(dvec3, dvec3);"
 2193|      5|            "bvec4 notEqual(dvec4, dvec4);"
 2194|       |
 2195|      5|            "\n");
 2196|      5|    }
 2197|       |
 2198|       |
 2199|    115|    if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (2199:9): [True: 115, False: 0]
  |  Branch (2199:34): [True: 16, False: 99]
  ------------------
 2200|     16|        commonBuiltins.append(
 2201|     16|            "bool anyThreadNV(bool);"
 2202|     16|            "bool allThreadsNV(bool);"
 2203|     16|            "bool allThreadsEqualNV(bool);"
 2204|       |
 2205|     16|            "\n");
 2206|     16|    }
 2207|       |
 2208|    115|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (2208:10): [True: 0, False: 115]
  |  Branch (2208:35): [True: 0, False: 0]
  ------------------
 2209|    115|        (profile != EEsProfile && version >= 150)) { // NV_gpu_shader5
  ------------------
  |  Branch (2209:10): [True: 115, False: 0]
  |  Branch (2209:35): [True: 16, False: 99]
  ------------------
 2210|     16|        commonBuiltins.append(
 2211|     16|            " uint uaddCarry(highp  uint, highp  uint, out lowp  uint carry);"
 2212|     16|            "uvec2 uaddCarry(highp uvec2, highp uvec2, out lowp uvec2 carry);"
 2213|     16|            "uvec3 uaddCarry(highp uvec3, highp uvec3, out lowp uvec3 carry);"
 2214|     16|            "uvec4 uaddCarry(highp uvec4, highp uvec4, out lowp uvec4 carry);"
 2215|       |
 2216|     16|            " uint usubBorrow(highp  uint, highp  uint, out lowp  uint borrow);"
 2217|     16|            "uvec2 usubBorrow(highp uvec2, highp uvec2, out lowp uvec2 borrow);"
 2218|     16|            "uvec3 usubBorrow(highp uvec3, highp uvec3, out lowp uvec3 borrow);"
 2219|     16|            "uvec4 usubBorrow(highp uvec4, highp uvec4, out lowp uvec4 borrow);"
 2220|       |
 2221|     16|            "void umulExtended(highp  uint, highp  uint, out highp  uint, out highp  uint lsb);"
 2222|     16|            "void umulExtended(highp uvec2, highp uvec2, out highp uvec2, out highp uvec2 lsb);"
 2223|     16|            "void umulExtended(highp uvec3, highp uvec3, out highp uvec3, out highp uvec3 lsb);"
 2224|     16|            "void umulExtended(highp uvec4, highp uvec4, out highp uvec4, out highp uvec4 lsb);"
 2225|       |
 2226|     16|            "void imulExtended(highp   int, highp   int, out highp   int, out highp   int lsb);"
 2227|     16|            "void imulExtended(highp ivec2, highp ivec2, out highp ivec2, out highp ivec2 lsb);"
 2228|     16|            "void imulExtended(highp ivec3, highp ivec3, out highp ivec3, out highp ivec3 lsb);"
 2229|     16|            "void imulExtended(highp ivec4, highp ivec4, out highp ivec4, out highp ivec4 lsb);"
 2230|       |
 2231|     16|            "  int bitfieldReverse(highp   int);"
 2232|     16|            "ivec2 bitfieldReverse(highp ivec2);"
 2233|     16|            "ivec3 bitfieldReverse(highp ivec3);"
 2234|     16|            "ivec4 bitfieldReverse(highp ivec4);"
 2235|       |
 2236|     16|            " uint bitfieldReverse(highp  uint);"
 2237|     16|            "uvec2 bitfieldReverse(highp uvec2);"
 2238|     16|            "uvec3 bitfieldReverse(highp uvec3);"
 2239|     16|            "uvec4 bitfieldReverse(highp uvec4);"
 2240|       |
 2241|     16|            "\n");
 2242|     16|    }
 2243|       |
 2244|    115|    if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (2244:9): [True: 0, False: 115]
  |  Branch (2244:34): [True: 0, False: 0]
  ------------------
 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|    115|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (2270:9): [True: 115, False: 0]
  |  Branch (2270:34): [True: 11, False: 104]
  ------------------
 2271|     11|        commonBuiltins.append(
 2272|     11|            "uint64_t ballotARB(bool);"
 2273|       |
 2274|     11|            "float readInvocationARB(float, uint);"
 2275|     11|            "vec2  readInvocationARB(vec2,  uint);"
 2276|     11|            "vec3  readInvocationARB(vec3,  uint);"
 2277|     11|            "vec4  readInvocationARB(vec4,  uint);"
 2278|       |
 2279|     11|            "int   readInvocationARB(int,   uint);"
 2280|     11|            "ivec2 readInvocationARB(ivec2, uint);"
 2281|     11|            "ivec3 readInvocationARB(ivec3, uint);"
 2282|     11|            "ivec4 readInvocationARB(ivec4, uint);"
 2283|       |
 2284|     11|            "uint  readInvocationARB(uint,  uint);"
 2285|     11|            "uvec2 readInvocationARB(uvec2, uint);"
 2286|     11|            "uvec3 readInvocationARB(uvec3, uint);"
 2287|     11|            "uvec4 readInvocationARB(uvec4, uint);"
 2288|       |
 2289|     11|            "float readFirstInvocationARB(float);"
 2290|     11|            "vec2  readFirstInvocationARB(vec2);"
 2291|     11|            "vec3  readFirstInvocationARB(vec3);"
 2292|     11|            "vec4  readFirstInvocationARB(vec4);"
 2293|       |
 2294|     11|            "int   readFirstInvocationARB(int);"
 2295|     11|            "ivec2 readFirstInvocationARB(ivec2);"
 2296|     11|            "ivec3 readFirstInvocationARB(ivec3);"
 2297|     11|            "ivec4 readFirstInvocationARB(ivec4);"
 2298|       |
 2299|     11|            "uint  readFirstInvocationARB(uint);"
 2300|     11|            "uvec2 readFirstInvocationARB(uvec2);"
 2301|     11|            "uvec3 readFirstInvocationARB(uvec3);"
 2302|     11|            "uvec4 readFirstInvocationARB(uvec4);"
 2303|       |
 2304|     11|            "\n");
 2305|     11|    }
 2306|       |
 2307|       |    // GL_ARB_shader_group_vote
 2308|    115|    if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (2308:9): [True: 115, False: 0]
  |  Branch (2308:34): [True: 11, False: 104]
  ------------------
 2309|     11|        commonBuiltins.append(
 2310|     11|            "bool anyInvocationARB(bool);"
 2311|     11|            "bool allInvocationsARB(bool);"
 2312|     11|            "bool allInvocationsEqualARB(bool);"
 2313|       |
 2314|     11|            "\n");
 2315|     11|    }
 2316|       |
 2317|       |    // GL_EXT_integer_dot_product
 2318|    115|    if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (2318:10): [True: 0, False: 115]
  |  Branch (2318:35): [True: 0, False: 0]
  ------------------
 2319|    115|        (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (2319:10): [True: 115, False: 0]
  |  Branch (2319:35): [True: 11, False: 104]
  ------------------
 2320|     11|        commonBuiltins.append(
 2321|       |
 2322|     11|            "uint dotEXT(uvec2 a, uvec2 b);"
 2323|     11|            "int dotEXT(ivec2 a, ivec2 b);"
 2324|     11|            "int dotEXT(ivec2 a, uvec2 b);"
 2325|     11|            "int dotEXT(uvec2 a, ivec2 b);"
 2326|       |
 2327|     11|            "uint dotEXT(uvec3 a, uvec3 b);"
 2328|     11|            "int dotEXT(ivec3 a, ivec3 b);"
 2329|     11|            "int dotEXT(ivec3 a, uvec3 b);"
 2330|     11|            "int dotEXT(uvec3 a, ivec3 b);"
 2331|       |
 2332|     11|            "uint dotEXT(uvec4 a, uvec4 b);"
 2333|     11|            "int dotEXT(ivec4 a, ivec4 b);"
 2334|     11|            "int dotEXT(ivec4 a, uvec4 b);"
 2335|     11|            "int dotEXT(uvec4 a, ivec4 b);"
 2336|       |
 2337|     11|            "uint dotPacked4x8EXT(uint a, uint b);"
 2338|     11|            "int dotPacked4x8EXT(int a, uint b);"
 2339|     11|            "int dotPacked4x8EXT(uint a, int b);"
 2340|     11|            "int dotPacked4x8EXT(int a, int b);"
 2341|       |
 2342|     11|            "uint dotEXT(u8vec2 a, u8vec2 b);"
 2343|     11|            "int dotEXT(i8vec2 a, u8vec2 b);"
 2344|     11|            "int dotEXT(u8vec2 a, i8vec2 b);"
 2345|     11|            "int dotEXT(i8vec2 a, i8vec2 b);"
 2346|       |
 2347|     11|            "uint dotEXT(u8vec3 a, u8vec3 b);"
 2348|     11|            "int dotEXT(i8vec3 a, u8vec3 b);"
 2349|     11|            "int dotEXT(u8vec3 a, i8vec3 b);"
 2350|     11|            "int dotEXT(i8vec3 a, i8vec3 b);"
 2351|       |
 2352|     11|            "uint dotEXT(u8vec4 a, u8vec4 b);"
 2353|     11|            "int dotEXT(i8vec4 a, u8vec4 b);"
 2354|     11|            "int dotEXT(u8vec4 a, i8vec4 b);"
 2355|     11|            "int dotEXT(i8vec4 a, i8vec4 b);"
 2356|       |
 2357|     11|            "uint dotEXT(u16vec2 a, u16vec2 b);"
 2358|     11|            "int dotEXT(i16vec2 a, u16vec2 b);"
 2359|     11|            "int dotEXT(u16vec2 a, i16vec2 b);"
 2360|     11|            "int dotEXT(i16vec2 a, i16vec2 b);"
 2361|       |
 2362|     11|            "uint dotEXT(u16vec3 a, u16vec3 b);"
 2363|     11|            "int dotEXT(i16vec3 a, u16vec3 b);"
 2364|     11|            "int dotEXT(u16vec3 a, i16vec3 b);"
 2365|     11|            "int dotEXT(i16vec3 a, i16vec3 b);"
 2366|       |
 2367|     11|            "uint dotEXT(u16vec4 a, u16vec4 b);"
 2368|     11|            "int dotEXT(i16vec4 a, u16vec4 b);"
 2369|     11|            "int dotEXT(u16vec4 a, i16vec4 b);"
 2370|     11|            "int dotEXT(i16vec4 a, i16vec4 b);"
 2371|       |
 2372|     11|            "uint64_t dotEXT(u64vec2 a, u64vec2 b);"
 2373|     11|            "int64_t dotEXT(i64vec2 a, u64vec2 b);"
 2374|     11|            "int64_t dotEXT(u64vec2 a, i64vec2 b);"
 2375|     11|            "int64_t dotEXT(i64vec2 a, i64vec2 b);"
 2376|       |
 2377|     11|            "uint64_t dotEXT(u64vec3 a, u64vec3 b);"
 2378|     11|            "int64_t dotEXT(i64vec3 a, u64vec3 b);"
 2379|     11|            "int64_t dotEXT(u64vec3 a, i64vec3 b);"
 2380|     11|            "int64_t dotEXT(i64vec3 a, i64vec3 b);"
 2381|       |
 2382|     11|            "uint64_t dotEXT(u64vec4 a, u64vec4 b);"
 2383|     11|            "int64_t dotEXT(i64vec4 a, u64vec4 b);"
 2384|     11|            "int64_t dotEXT(u64vec4 a, i64vec4 b);"
 2385|     11|            "int64_t dotEXT(i64vec4 a, i64vec4 b);"
 2386|       |
 2387|     11|            "uint dotAccSatEXT(uvec2 a, uvec2 b, uint c);"
 2388|     11|            "int dotAccSatEXT(ivec2 a, uvec2 b, int c);"
 2389|     11|            "int dotAccSatEXT(uvec2 a, ivec2 b, int c);"
 2390|     11|            "int dotAccSatEXT(ivec2 a, ivec2 b, int c);"
 2391|       |
 2392|     11|            "uint dotAccSatEXT(uvec3 a, uvec3 b, uint c);"
 2393|     11|            "int dotAccSatEXT(ivec3 a, uvec3 b, int c);"
 2394|     11|            "int dotAccSatEXT(uvec3 a, ivec3 b, int c);"
 2395|     11|            "int dotAccSatEXT(ivec3 a, ivec3 b, int c);"
 2396|       |
 2397|     11|            "uint dotAccSatEXT(uvec4 a, uvec4 b, uint c);"
 2398|     11|            "int dotAccSatEXT(ivec4 a, uvec4 b, int c);"
 2399|     11|            "int dotAccSatEXT(uvec4 a, ivec4 b, int c);"
 2400|     11|            "int dotAccSatEXT(ivec4 a, ivec4 b, int c);"
 2401|       |
 2402|     11|            "uint dotPacked4x8AccSatEXT(uint a, uint b, uint c);"
 2403|     11|            "int dotPacked4x8AccSatEXT(int a, uint b, int c);"
 2404|     11|            "int dotPacked4x8AccSatEXT(uint a, int b, int c);"
 2405|     11|            "int dotPacked4x8AccSatEXT(int a, int b, int c);"
 2406|       |
 2407|     11|            "uint dotAccSatEXT(u8vec2 a, u8vec2 b, uint c);"
 2408|     11|            "int dotAccSatEXT(i8vec2 a, u8vec2 b, int c);"
 2409|     11|            "int dotAccSatEXT(u8vec2 a, i8vec2 b, int c);"
 2410|     11|            "int dotAccSatEXT(i8vec2 a, i8vec2 b, int c);"
 2411|       |
 2412|     11|            "uint dotAccSatEXT(u8vec3 a, u8vec3 b, uint c);"
 2413|     11|            "int dotAccSatEXT(i8vec3 a, u8vec3 b, int c);"
 2414|     11|            "int dotAccSatEXT(u8vec3 a, i8vec3 b, int c);"
 2415|     11|            "int dotAccSatEXT(i8vec3 a, i8vec3 b, int c);"
 2416|       |
 2417|     11|            "uint dotAccSatEXT(u8vec4 a, u8vec4 b, uint c);"
 2418|     11|            "int dotAccSatEXT(i8vec4 a, u8vec4 b, int c);"
 2419|     11|            "int dotAccSatEXT(u8vec4 a, i8vec4 b, int c);"
 2420|     11|            "int dotAccSatEXT(i8vec4 a, i8vec4 b, int c);"
 2421|       |
 2422|     11|            "uint dotAccSatEXT(u16vec2 a, u16vec2 b, uint c);"
 2423|     11|            "int dotAccSatEXT(i16vec2 a, u16vec2 b, int c);"
 2424|     11|            "int dotAccSatEXT(u16vec2 a, i16vec2 b, int c);"
 2425|     11|            "int dotAccSatEXT(i16vec2 a, i16vec2 b, int c);"
 2426|       |
 2427|     11|            "uint dotAccSatEXT(u16vec3 a, u16vec3 b, uint c);"
 2428|     11|            "int dotAccSatEXT(i16vec3 a, u16vec3 b, int c);"
 2429|     11|            "int dotAccSatEXT(u16vec3 a, i16vec3 b, int c);"
 2430|     11|            "int dotAccSatEXT(i16vec3 a, i16vec3 b, int c);"
 2431|       |
 2432|     11|            "uint dotAccSatEXT(u16vec4 a, u16vec4 b, uint c);"
 2433|     11|            "int dotAccSatEXT(i16vec4 a, u16vec4 b, int c);"
 2434|     11|            "int dotAccSatEXT(u16vec4 a, i16vec4 b, int c);"
 2435|     11|            "int dotAccSatEXT(i16vec4 a, i16vec4 b, int c);"
 2436|       |
 2437|     11|            "uint64_t dotAccSatEXT(u64vec2 a, u64vec2 b, uint64_t c);"
 2438|     11|            "int64_t dotAccSatEXT(i64vec2 a, u64vec2 b, int64_t c);"
 2439|     11|            "int64_t dotAccSatEXT(u64vec2 a, i64vec2 b, int64_t c);"
 2440|     11|            "int64_t dotAccSatEXT(i64vec2 a, i64vec2 b, int64_t c);"
 2441|       |
 2442|     11|            "uint64_t dotAccSatEXT(u64vec3 a, u64vec3 b, uint64_t c);"
 2443|     11|            "int64_t dotAccSatEXT(i64vec3 a, u64vec3 b, int64_t c);"
 2444|     11|            "int64_t dotAccSatEXT(u64vec3 a, i64vec3 b, int64_t c);"
 2445|     11|            "int64_t dotAccSatEXT(i64vec3 a, i64vec3 b, int64_t c);"
 2446|       |
 2447|     11|            "uint64_t dotAccSatEXT(u64vec4 a, u64vec4 b, uint64_t c);"
 2448|     11|            "int64_t dotAccSatEXT(i64vec4 a, u64vec4 b, int64_t c);"
 2449|     11|            "int64_t dotAccSatEXT(u64vec4 a, i64vec4 b, int64_t c);"
 2450|     11|            "int64_t dotAccSatEXT(i64vec4 a, i64vec4 b, int64_t c);"
 2451|     11|            "\n");
 2452|     11|    }
 2453|       |
 2454|       |    // GL_KHR_shader_subgroup
 2455|    115|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (2455:10): [True: 0, False: 115]
  |  Branch (2455:35): [True: 0, False: 0]
  ------------------
 2456|    115|        (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (2456:10): [True: 115, False: 0]
  |  Branch (2456:35): [True: 115, False: 0]
  ------------------
 2457|    115|        commonBuiltins.append(
 2458|    115|            "void subgroupBarrier();"
 2459|    115|            "void subgroupMemoryBarrier();"
 2460|    115|            "void subgroupMemoryBarrierBuffer();"
 2461|    115|            "void subgroupMemoryBarrierImage();"
 2462|    115|            "bool subgroupElect();"
 2463|       |
 2464|    115|            "bool   subgroupAll(bool);\n"
 2465|    115|            "bool   subgroupAny(bool);\n"
 2466|    115|            "uvec4  subgroupBallot(bool);\n"
 2467|    115|            "bool   subgroupInverseBallot(uvec4);\n"
 2468|    115|            "bool   subgroupBallotBitExtract(uvec4, uint);\n"
 2469|    115|            "uint   subgroupBallotBitCount(uvec4);\n"
 2470|    115|            "uint   subgroupBallotInclusiveBitCount(uvec4);\n"
 2471|    115|            "uint   subgroupBallotExclusiveBitCount(uvec4);\n"
 2472|    115|            "uint   subgroupBallotFindLSB(uvec4);\n"
 2473|    115|            "uint   subgroupBallotFindMSB(uvec4);\n"
 2474|    115|            );
 2475|       |
 2476|       |        // Generate all flavors of subgroup ops.
 2477|    115|        static const char *subgroupOps[] =
 2478|    115|        {
 2479|    115|            "bool   subgroupAllEqual(%s);\n",
 2480|    115|            "%s     subgroupBroadcast(%s, uint);\n",
 2481|    115|            "%s     subgroupBroadcastFirst(%s);\n",
 2482|    115|            "%s     subgroupShuffle(%s, uint);\n",
 2483|    115|            "%s     subgroupShuffleXor(%s, uint);\n",
 2484|    115|            "%s     subgroupShuffleUp(%s, uint delta);\n",
 2485|    115|            "%s     subgroupShuffleDown(%s, uint delta);\n",
 2486|    115|            "%s     subgroupRotate(%s, uint);\n",
 2487|    115|            "%s     subgroupClusteredRotate(%s, uint, uint);\n",
 2488|    115|            "%s     subgroupAdd(%s);\n",
 2489|    115|            "%s     subgroupMul(%s);\n",
 2490|    115|            "%s     subgroupMin(%s);\n",
 2491|    115|            "%s     subgroupMax(%s);\n",
 2492|    115|            "%s     subgroupAnd(%s);\n",
 2493|    115|            "%s     subgroupOr(%s);\n",
 2494|    115|            "%s     subgroupXor(%s);\n",
 2495|    115|            "%s     subgroupInclusiveAdd(%s);\n",
 2496|    115|            "%s     subgroupInclusiveMul(%s);\n",
 2497|    115|            "%s     subgroupInclusiveMin(%s);\n",
 2498|    115|            "%s     subgroupInclusiveMax(%s);\n",
 2499|    115|            "%s     subgroupInclusiveAnd(%s);\n",
 2500|    115|            "%s     subgroupInclusiveOr(%s);\n",
 2501|    115|            "%s     subgroupInclusiveXor(%s);\n",
 2502|    115|            "%s     subgroupExclusiveAdd(%s);\n",
 2503|    115|            "%s     subgroupExclusiveMul(%s);\n",
 2504|    115|            "%s     subgroupExclusiveMin(%s);\n",
 2505|    115|            "%s     subgroupExclusiveMax(%s);\n",
 2506|    115|            "%s     subgroupExclusiveAnd(%s);\n",
 2507|    115|            "%s     subgroupExclusiveOr(%s);\n",
 2508|    115|            "%s     subgroupExclusiveXor(%s);\n",
 2509|    115|            "%s     subgroupClusteredAdd(%s, uint);\n",
 2510|    115|            "%s     subgroupClusteredMul(%s, uint);\n",
 2511|    115|            "%s     subgroupClusteredMin(%s, uint);\n",
 2512|    115|            "%s     subgroupClusteredMax(%s, uint);\n",
 2513|    115|            "%s     subgroupClusteredAnd(%s, uint);\n",
 2514|    115|            "%s     subgroupClusteredOr(%s, uint);\n",
 2515|    115|            "%s     subgroupClusteredXor(%s, uint);\n",
 2516|    115|            "%s     subgroupQuadBroadcast(%s, uint);\n",
 2517|    115|            "%s     subgroupQuadSwapHorizontal(%s);\n",
 2518|    115|            "%s     subgroupQuadSwapVertical(%s);\n",
 2519|    115|            "%s     subgroupQuadSwapDiagonal(%s);\n",
 2520|    115|            "uvec4  subgroupPartitionNV(%s);\n",
 2521|    115|            "%s     subgroupPartitionedAddNV(%s, uvec4 ballot);\n",
 2522|    115|            "%s     subgroupPartitionedMulNV(%s, uvec4 ballot);\n",
 2523|    115|            "%s     subgroupPartitionedMinNV(%s, uvec4 ballot);\n",
 2524|    115|            "%s     subgroupPartitionedMaxNV(%s, uvec4 ballot);\n",
 2525|    115|            "%s     subgroupPartitionedAndNV(%s, uvec4 ballot);\n",
 2526|    115|            "%s     subgroupPartitionedOrNV(%s, uvec4 ballot);\n",
 2527|    115|            "%s     subgroupPartitionedXorNV(%s, uvec4 ballot);\n",
 2528|    115|            "%s     subgroupPartitionedInclusiveAddNV(%s, uvec4 ballot);\n",
 2529|    115|            "%s     subgroupPartitionedInclusiveMulNV(%s, uvec4 ballot);\n",
 2530|    115|            "%s     subgroupPartitionedInclusiveMinNV(%s, uvec4 ballot);\n",
 2531|    115|            "%s     subgroupPartitionedInclusiveMaxNV(%s, uvec4 ballot);\n",
 2532|    115|            "%s     subgroupPartitionedInclusiveAndNV(%s, uvec4 ballot);\n",
 2533|    115|            "%s     subgroupPartitionedInclusiveOrNV(%s, uvec4 ballot);\n",
 2534|    115|            "%s     subgroupPartitionedInclusiveXorNV(%s, uvec4 ballot);\n",
 2535|    115|            "%s     subgroupPartitionedExclusiveAddNV(%s, uvec4 ballot);\n",
 2536|    115|            "%s     subgroupPartitionedExclusiveMulNV(%s, uvec4 ballot);\n",
 2537|    115|            "%s     subgroupPartitionedExclusiveMinNV(%s, uvec4 ballot);\n",
 2538|    115|            "%s     subgroupPartitionedExclusiveMaxNV(%s, uvec4 ballot);\n",
 2539|    115|            "%s     subgroupPartitionedExclusiveAndNV(%s, uvec4 ballot);\n",
 2540|    115|            "%s     subgroupPartitionedExclusiveOrNV(%s, uvec4 ballot);\n",
 2541|    115|            "%s     subgroupPartitionedExclusiveXorNV(%s, uvec4 ballot);\n",
 2542|    115|        };
 2543|       |
 2544|    115|        static const char *floatTypes[] = {
 2545|    115|            "float", "vec2", "vec3", "vec4",
 2546|    115|            "float16_t", "f16vec2", "f16vec3", "f16vec4",
 2547|    115|        };
 2548|    115|        static const char *doubleTypes[] = {
 2549|    115|            "double", "dvec2", "dvec3", "dvec4",
 2550|    115|        };
 2551|    115|        static const char *intTypes[] = {
 2552|    115|            "int8_t", "i8vec2", "i8vec3", "i8vec4",
 2553|    115|            "int16_t", "i16vec2", "i16vec3", "i16vec4",
 2554|    115|            "int", "ivec2", "ivec3", "ivec4",
 2555|    115|            "int64_t", "i64vec2", "i64vec3", "i64vec4",
 2556|    115|            "uint8_t", "u8vec2", "u8vec3", "u8vec4",
 2557|    115|            "uint16_t", "u16vec2", "u16vec3", "u16vec4",
 2558|    115|            "uint", "uvec2", "uvec3", "uvec4",
 2559|    115|            "uint64_t", "u64vec2", "u64vec3", "u64vec4",
 2560|    115|        };
 2561|    115|        static const char *boolTypes[] = {
 2562|    115|            "bool", "bvec2", "bvec3", "bvec4",
 2563|    115|        };
 2564|       |
 2565|  7.36k|        for (size_t i = 0; i < sizeof(subgroupOps)/sizeof(subgroupOps[0]); ++i) {
  ------------------
  |  Branch (2565:28): [True: 7.24k, False: 115]
  ------------------
 2566|  7.24k|            const char *op = subgroupOps[i];
 2567|       |
 2568|       |            // Logical operations don't support float
 2569|  7.24k|            bool logicalOp = strstr(op, "Or") || strstr(op, "And") ||
  ------------------
  |  Branch (2569:30): [True: 805, False: 6.44k]
  |  Branch (2569:50): [True: 805, False: 5.63k]
  ------------------
 2570|  5.63k|                             (strstr(op, "Xor") && !strstr(op, "ShuffleXor"));
  ------------------
  |  Branch (2570:31): [True: 920, False: 4.71k]
  |  Branch (2570:52): [True: 805, False: 115]
  ------------------
 2571|       |            // Math operations don't support bool
 2572|  7.24k|            bool mathOp = strstr(op, "Add") || strstr(op, "Mul") || strstr(op, "Min") || strstr(op, "Max");
  ------------------
  |  Branch (2572:27): [True: 805, False: 6.44k]
  |  Branch (2572:48): [True: 805, False: 5.63k]
  |  Branch (2572:69): [True: 805, False: 4.83k]
  |  Branch (2572:90): [True: 805, False: 4.02k]
  ------------------
 2573|       |
 2574|  7.24k|            const int bufSize = 256;
 2575|  7.24k|            char buf[bufSize];
 2576|       |
 2577|  7.24k|            if (!logicalOp) {
  ------------------
  |  Branch (2577:17): [True: 4.83k, False: 2.41k]
  ------------------
 2578|  43.4k|                for (size_t j = 0; j < sizeof(floatTypes)/sizeof(floatTypes[0]); ++j) {
  ------------------
  |  Branch (2578:36): [True: 38.6k, False: 4.83k]
  ------------------
 2579|  38.6k|                    snprintf(buf, bufSize, op, floatTypes[j], floatTypes[j]);
 2580|  38.6k|                    commonBuiltins.append(buf);
 2581|  38.6k|                }
 2582|  4.83k|                if (profile != EEsProfile && version >= 400) {
  ------------------
  |  Branch (2582:21): [True: 4.83k, False: 0]
  |  Branch (2582:46): [True: 630, False: 4.20k]
  ------------------
 2583|  3.15k|                    for (size_t j = 0; j < sizeof(doubleTypes)/sizeof(doubleTypes[0]); ++j) {
  ------------------
  |  Branch (2583:40): [True: 2.52k, False: 630]
  ------------------
 2584|  2.52k|                        snprintf(buf, bufSize, op, doubleTypes[j], doubleTypes[j]);
 2585|  2.52k|                        commonBuiltins.append(buf);
 2586|  2.52k|                    }
 2587|    630|                }
 2588|  4.83k|            }
 2589|  7.24k|            if (!mathOp) {
  ------------------
  |  Branch (2589:17): [True: 4.02k, False: 3.22k]
  ------------------
 2590|  20.1k|                for (size_t j = 0; j < sizeof(boolTypes)/sizeof(boolTypes[0]); ++j) {
  ------------------
  |  Branch (2590:36): [True: 16.1k, False: 4.02k]
  ------------------
 2591|  16.1k|                    snprintf(buf, bufSize, op, boolTypes[j], boolTypes[j]);
 2592|  16.1k|                    commonBuiltins.append(buf);
 2593|  16.1k|                }
 2594|  4.02k|            }
 2595|   239k|            for (size_t j = 0; j < sizeof(intTypes)/sizeof(intTypes[0]); ++j) {
  ------------------
  |  Branch (2595:32): [True: 231k, False: 7.24k]
  ------------------
 2596|   231k|                snprintf(buf, bufSize, op, intTypes[j], intTypes[j]);
 2597|   231k|                commonBuiltins.append(buf);
 2598|   231k|            }
 2599|  7.24k|            snprintf(buf, bufSize, op, "vector", "vector");
 2600|  7.24k|            commonBuiltins.append(buf);
 2601|  7.24k|        }
 2602|       |
 2603|    115|        stageBuiltins[EShLangCompute].append(
 2604|    115|            "void subgroupMemoryBarrierShared();"
 2605|       |
 2606|    115|            "\n"
 2607|    115|            );
 2608|    115|        stageBuiltins[EShLangMesh].append(
 2609|    115|            "void subgroupMemoryBarrierShared();"
 2610|    115|            "\n"
 2611|    115|            );
 2612|    115|        stageBuiltins[EShLangTask].append(
 2613|    115|            "void subgroupMemoryBarrierShared();"
 2614|    115|            "\n"
 2615|    115|            );
 2616|    115|    }
 2617|       |
 2618|       |    // GL_EXT_shader_quad_control
 2619|    115|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (2619:10): [True: 0, False: 115]
  |  Branch (2619:35): [True: 0, False: 0]
  ------------------
 2620|    115|        (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (2620:10): [True: 115, False: 0]
  |  Branch (2620:35): [True: 115, False: 0]
  ------------------
 2621|    115|        commonBuiltins.append(
 2622|    115|            "bool subgroupQuadAll(bool);\n"
 2623|    115|            "bool subgroupQuadAny(bool);\n"
 2624|    115|            );
 2625|    115|    }
 2626|       |
 2627|    115|    if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (2627:9): [True: 115, False: 0]
  |  Branch (2627:34): [True: 0, False: 115]
  ------------------
 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|    115|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (2637:9): [True: 115, False: 0]
  |  Branch (2637:34): [True: 11, False: 104]
  ------------------
 2638|     11|        commonBuiltins.append(
 2639|     11|            "float minInvocationsAMD(float);"
 2640|     11|            "vec2  minInvocationsAMD(vec2);"
 2641|     11|            "vec3  minInvocationsAMD(vec3);"
 2642|     11|            "vec4  minInvocationsAMD(vec4);"
 2643|       |
 2644|     11|            "int   minInvocationsAMD(int);"
 2645|     11|            "ivec2 minInvocationsAMD(ivec2);"
 2646|     11|            "ivec3 minInvocationsAMD(ivec3);"
 2647|     11|            "ivec4 minInvocationsAMD(ivec4);"
 2648|       |
 2649|     11|            "uint  minInvocationsAMD(uint);"
 2650|     11|            "uvec2 minInvocationsAMD(uvec2);"
 2651|     11|            "uvec3 minInvocationsAMD(uvec3);"
 2652|     11|            "uvec4 minInvocationsAMD(uvec4);"
 2653|       |
 2654|     11|            "double minInvocationsAMD(double);"
 2655|     11|            "dvec2  minInvocationsAMD(dvec2);"
 2656|     11|            "dvec3  minInvocationsAMD(dvec3);"
 2657|     11|            "dvec4  minInvocationsAMD(dvec4);"
 2658|       |
 2659|     11|            "int64_t minInvocationsAMD(int64_t);"
 2660|     11|            "i64vec2 minInvocationsAMD(i64vec2);"
 2661|     11|            "i64vec3 minInvocationsAMD(i64vec3);"
 2662|     11|            "i64vec4 minInvocationsAMD(i64vec4);"
 2663|       |
 2664|     11|            "uint64_t minInvocationsAMD(uint64_t);"
 2665|     11|            "u64vec2  minInvocationsAMD(u64vec2);"
 2666|     11|            "u64vec3  minInvocationsAMD(u64vec3);"
 2667|     11|            "u64vec4  minInvocationsAMD(u64vec4);"
 2668|       |
 2669|     11|            "float16_t minInvocationsAMD(float16_t);"
 2670|     11|            "f16vec2   minInvocationsAMD(f16vec2);"
 2671|     11|            "f16vec3   minInvocationsAMD(f16vec3);"
 2672|     11|            "f16vec4   minInvocationsAMD(f16vec4);"
 2673|       |
 2674|     11|            "int16_t minInvocationsAMD(int16_t);"
 2675|     11|            "i16vec2 minInvocationsAMD(i16vec2);"
 2676|     11|            "i16vec3 minInvocationsAMD(i16vec3);"
 2677|     11|            "i16vec4 minInvocationsAMD(i16vec4);"
 2678|       |
 2679|     11|            "uint16_t minInvocationsAMD(uint16_t);"
 2680|     11|            "u16vec2  minInvocationsAMD(u16vec2);"
 2681|     11|            "u16vec3  minInvocationsAMD(u16vec3);"
 2682|     11|            "u16vec4  minInvocationsAMD(u16vec4);"
 2683|       |
 2684|     11|            "float minInvocationsInclusiveScanAMD(float);"
 2685|     11|            "vec2  minInvocationsInclusiveScanAMD(vec2);"
 2686|     11|            "vec3  minInvocationsInclusiveScanAMD(vec3);"
 2687|     11|            "vec4  minInvocationsInclusiveScanAMD(vec4);"
 2688|       |
 2689|     11|            "int   minInvocationsInclusiveScanAMD(int);"
 2690|     11|            "ivec2 minInvocationsInclusiveScanAMD(ivec2);"
 2691|     11|            "ivec3 minInvocationsInclusiveScanAMD(ivec3);"
 2692|     11|            "ivec4 minInvocationsInclusiveScanAMD(ivec4);"
 2693|       |
 2694|     11|            "uint  minInvocationsInclusiveScanAMD(uint);"
 2695|     11|            "uvec2 minInvocationsInclusiveScanAMD(uvec2);"
 2696|     11|            "uvec3 minInvocationsInclusiveScanAMD(uvec3);"
 2697|     11|            "uvec4 minInvocationsInclusiveScanAMD(uvec4);"
 2698|       |
 2699|     11|            "double minInvocationsInclusiveScanAMD(double);"
 2700|     11|            "dvec2  minInvocationsInclusiveScanAMD(dvec2);"
 2701|     11|            "dvec3  minInvocationsInclusiveScanAMD(dvec3);"
 2702|     11|            "dvec4  minInvocationsInclusiveScanAMD(dvec4);"
 2703|       |
 2704|     11|            "int64_t minInvocationsInclusiveScanAMD(int64_t);"
 2705|     11|            "i64vec2 minInvocationsInclusiveScanAMD(i64vec2);"
 2706|     11|            "i64vec3 minInvocationsInclusiveScanAMD(i64vec3);"
 2707|     11|            "i64vec4 minInvocationsInclusiveScanAMD(i64vec4);"
 2708|       |
 2709|     11|            "uint64_t minInvocationsInclusiveScanAMD(uint64_t);"
 2710|     11|            "u64vec2  minInvocationsInclusiveScanAMD(u64vec2);"
 2711|     11|            "u64vec3  minInvocationsInclusiveScanAMD(u64vec3);"
 2712|     11|            "u64vec4  minInvocationsInclusiveScanAMD(u64vec4);"
 2713|       |
 2714|     11|            "float16_t minInvocationsInclusiveScanAMD(float16_t);"
 2715|     11|            "f16vec2   minInvocationsInclusiveScanAMD(f16vec2);"
 2716|     11|            "f16vec3   minInvocationsInclusiveScanAMD(f16vec3);"
 2717|     11|            "f16vec4   minInvocationsInclusiveScanAMD(f16vec4);"
 2718|       |
 2719|     11|            "int16_t minInvocationsInclusiveScanAMD(int16_t);"
 2720|     11|            "i16vec2 minInvocationsInclusiveScanAMD(i16vec2);"
 2721|     11|            "i16vec3 minInvocationsInclusiveScanAMD(i16vec3);"
 2722|     11|            "i16vec4 minInvocationsInclusiveScanAMD(i16vec4);"
 2723|       |
 2724|     11|            "uint16_t minInvocationsInclusiveScanAMD(uint16_t);"
 2725|     11|            "u16vec2  minInvocationsInclusiveScanAMD(u16vec2);"
 2726|     11|            "u16vec3  minInvocationsInclusiveScanAMD(u16vec3);"
 2727|     11|            "u16vec4  minInvocationsInclusiveScanAMD(u16vec4);"
 2728|       |
 2729|     11|            "float minInvocationsExclusiveScanAMD(float);"
 2730|     11|            "vec2  minInvocationsExclusiveScanAMD(vec2);"
 2731|     11|            "vec3  minInvocationsExclusiveScanAMD(vec3);"
 2732|     11|            "vec4  minInvocationsExclusiveScanAMD(vec4);"
 2733|       |
 2734|     11|            "int   minInvocationsExclusiveScanAMD(int);"
 2735|     11|            "ivec2 minInvocationsExclusiveScanAMD(ivec2);"
 2736|     11|            "ivec3 minInvocationsExclusiveScanAMD(ivec3);"
 2737|     11|            "ivec4 minInvocationsExclusiveScanAMD(ivec4);"
 2738|       |
 2739|     11|            "uint  minInvocationsExclusiveScanAMD(uint);"
 2740|     11|            "uvec2 minInvocationsExclusiveScanAMD(uvec2);"
 2741|     11|            "uvec3 minInvocationsExclusiveScanAMD(uvec3);"
 2742|     11|            "uvec4 minInvocationsExclusiveScanAMD(uvec4);"
 2743|       |
 2744|     11|            "double minInvocationsExclusiveScanAMD(double);"
 2745|     11|            "dvec2  minInvocationsExclusiveScanAMD(dvec2);"
 2746|     11|            "dvec3  minInvocationsExclusiveScanAMD(dvec3);"
 2747|     11|            "dvec4  minInvocationsExclusiveScanAMD(dvec4);"
 2748|       |
 2749|     11|            "int64_t minInvocationsExclusiveScanAMD(int64_t);"
 2750|     11|            "i64vec2 minInvocationsExclusiveScanAMD(i64vec2);"
 2751|     11|            "i64vec3 minInvocationsExclusiveScanAMD(i64vec3);"
 2752|     11|            "i64vec4 minInvocationsExclusiveScanAMD(i64vec4);"
 2753|       |
 2754|     11|            "uint64_t minInvocationsExclusiveScanAMD(uint64_t);"
 2755|     11|            "u64vec2  minInvocationsExclusiveScanAMD(u64vec2);"
 2756|     11|            "u64vec3  minInvocationsExclusiveScanAMD(u64vec3);"
 2757|     11|            "u64vec4  minInvocationsExclusiveScanAMD(u64vec4);"
 2758|       |
 2759|     11|            "float16_t minInvocationsExclusiveScanAMD(float16_t);"
 2760|     11|            "f16vec2   minInvocationsExclusiveScanAMD(f16vec2);"
 2761|     11|            "f16vec3   minInvocationsExclusiveScanAMD(f16vec3);"
 2762|     11|            "f16vec4   minInvocationsExclusiveScanAMD(f16vec4);"
 2763|       |
 2764|     11|            "int16_t minInvocationsExclusiveScanAMD(int16_t);"
 2765|     11|            "i16vec2 minInvocationsExclusiveScanAMD(i16vec2);"
 2766|     11|            "i16vec3 minInvocationsExclusiveScanAMD(i16vec3);"
 2767|     11|            "i16vec4 minInvocationsExclusiveScanAMD(i16vec4);"
 2768|       |
 2769|     11|            "uint16_t minInvocationsExclusiveScanAMD(uint16_t);"
 2770|     11|            "u16vec2  minInvocationsExclusiveScanAMD(u16vec2);"
 2771|     11|            "u16vec3  minInvocationsExclusiveScanAMD(u16vec3);"
 2772|     11|            "u16vec4  minInvocationsExclusiveScanAMD(u16vec4);"
 2773|       |
 2774|     11|            "float maxInvocationsAMD(float);"
 2775|     11|            "vec2  maxInvocationsAMD(vec2);"
 2776|     11|            "vec3  maxInvocationsAMD(vec3);"
 2777|     11|            "vec4  maxInvocationsAMD(vec4);"
 2778|       |
 2779|     11|            "int   maxInvocationsAMD(int);"
 2780|     11|            "ivec2 maxInvocationsAMD(ivec2);"
 2781|     11|            "ivec3 maxInvocationsAMD(ivec3);"
 2782|     11|            "ivec4 maxInvocationsAMD(ivec4);"
 2783|       |
 2784|     11|            "uint  maxInvocationsAMD(uint);"
 2785|     11|            "uvec2 maxInvocationsAMD(uvec2);"
 2786|     11|            "uvec3 maxInvocationsAMD(uvec3);"
 2787|     11|            "uvec4 maxInvocationsAMD(uvec4);"
 2788|       |
 2789|     11|            "double maxInvocationsAMD(double);"
 2790|     11|            "dvec2  maxInvocationsAMD(dvec2);"
 2791|     11|            "dvec3  maxInvocationsAMD(dvec3);"
 2792|     11|            "dvec4  maxInvocationsAMD(dvec4);"
 2793|       |
 2794|     11|            "int64_t maxInvocationsAMD(int64_t);"
 2795|     11|            "i64vec2 maxInvocationsAMD(i64vec2);"
 2796|     11|            "i64vec3 maxInvocationsAMD(i64vec3);"
 2797|     11|            "i64vec4 maxInvocationsAMD(i64vec4);"
 2798|       |
 2799|     11|            "uint64_t maxInvocationsAMD(uint64_t);"
 2800|     11|            "u64vec2  maxInvocationsAMD(u64vec2);"
 2801|     11|            "u64vec3  maxInvocationsAMD(u64vec3);"
 2802|     11|            "u64vec4  maxInvocationsAMD(u64vec4);"
 2803|       |
 2804|     11|            "float16_t maxInvocationsAMD(float16_t);"
 2805|     11|            "f16vec2   maxInvocationsAMD(f16vec2);"
 2806|     11|            "f16vec3   maxInvocationsAMD(f16vec3);"
 2807|     11|            "f16vec4   maxInvocationsAMD(f16vec4);"
 2808|       |
 2809|     11|            "int16_t maxInvocationsAMD(int16_t);"
 2810|     11|            "i16vec2 maxInvocationsAMD(i16vec2);"
 2811|     11|            "i16vec3 maxInvocationsAMD(i16vec3);"
 2812|     11|            "i16vec4 maxInvocationsAMD(i16vec4);"
 2813|       |
 2814|     11|            "uint16_t maxInvocationsAMD(uint16_t);"
 2815|     11|            "u16vec2  maxInvocationsAMD(u16vec2);"
 2816|     11|            "u16vec3  maxInvocationsAMD(u16vec3);"
 2817|     11|            "u16vec4  maxInvocationsAMD(u16vec4);"
 2818|       |
 2819|     11|            "float maxInvocationsInclusiveScanAMD(float);"
 2820|     11|            "vec2  maxInvocationsInclusiveScanAMD(vec2);"
 2821|     11|            "vec3  maxInvocationsInclusiveScanAMD(vec3);"
 2822|     11|            "vec4  maxInvocationsInclusiveScanAMD(vec4);"
 2823|       |
 2824|     11|            "int   maxInvocationsInclusiveScanAMD(int);"
 2825|     11|            "ivec2 maxInvocationsInclusiveScanAMD(ivec2);"
 2826|     11|            "ivec3 maxInvocationsInclusiveScanAMD(ivec3);"
 2827|     11|            "ivec4 maxInvocationsInclusiveScanAMD(ivec4);"
 2828|       |
 2829|     11|            "uint  maxInvocationsInclusiveScanAMD(uint);"
 2830|     11|            "uvec2 maxInvocationsInclusiveScanAMD(uvec2);"
 2831|     11|            "uvec3 maxInvocationsInclusiveScanAMD(uvec3);"
 2832|     11|            "uvec4 maxInvocationsInclusiveScanAMD(uvec4);"
 2833|       |
 2834|     11|            "double maxInvocationsInclusiveScanAMD(double);"
 2835|     11|            "dvec2  maxInvocationsInclusiveScanAMD(dvec2);"
 2836|     11|            "dvec3  maxInvocationsInclusiveScanAMD(dvec3);"
 2837|     11|            "dvec4  maxInvocationsInclusiveScanAMD(dvec4);"
 2838|       |
 2839|     11|            "int64_t maxInvocationsInclusiveScanAMD(int64_t);"
 2840|     11|            "i64vec2 maxInvocationsInclusiveScanAMD(i64vec2);"
 2841|     11|            "i64vec3 maxInvocationsInclusiveScanAMD(i64vec3);"
 2842|     11|            "i64vec4 maxInvocationsInclusiveScanAMD(i64vec4);"
 2843|       |
 2844|     11|            "uint64_t maxInvocationsInclusiveScanAMD(uint64_t);"
 2845|     11|            "u64vec2  maxInvocationsInclusiveScanAMD(u64vec2);"
 2846|     11|            "u64vec3  maxInvocationsInclusiveScanAMD(u64vec3);"
 2847|     11|            "u64vec4  maxInvocationsInclusiveScanAMD(u64vec4);"
 2848|       |
 2849|     11|            "float16_t maxInvocationsInclusiveScanAMD(float16_t);"
 2850|     11|            "f16vec2   maxInvocationsInclusiveScanAMD(f16vec2);"
 2851|     11|            "f16vec3   maxInvocationsInclusiveScanAMD(f16vec3);"
 2852|     11|            "f16vec4   maxInvocationsInclusiveScanAMD(f16vec4);"
 2853|       |
 2854|     11|            "int16_t maxInvocationsInclusiveScanAMD(int16_t);"
 2855|     11|            "i16vec2 maxInvocationsInclusiveScanAMD(i16vec2);"
 2856|     11|            "i16vec3 maxInvocationsInclusiveScanAMD(i16vec3);"
 2857|     11|            "i16vec4 maxInvocationsInclusiveScanAMD(i16vec4);"
 2858|       |
 2859|     11|            "uint16_t maxInvocationsInclusiveScanAMD(uint16_t);"
 2860|     11|            "u16vec2  maxInvocationsInclusiveScanAMD(u16vec2);"
 2861|     11|            "u16vec3  maxInvocationsInclusiveScanAMD(u16vec3);"
 2862|     11|            "u16vec4  maxInvocationsInclusiveScanAMD(u16vec4);"
 2863|       |
 2864|     11|            "float maxInvocationsExclusiveScanAMD(float);"
 2865|     11|            "vec2  maxInvocationsExclusiveScanAMD(vec2);"
 2866|     11|            "vec3  maxInvocationsExclusiveScanAMD(vec3);"
 2867|     11|            "vec4  maxInvocationsExclusiveScanAMD(vec4);"
 2868|       |
 2869|     11|            "int   maxInvocationsExclusiveScanAMD(int);"
 2870|     11|            "ivec2 maxInvocationsExclusiveScanAMD(ivec2);"
 2871|     11|            "ivec3 maxInvocationsExclusiveScanAMD(ivec3);"
 2872|     11|            "ivec4 maxInvocationsExclusiveScanAMD(ivec4);"
 2873|       |
 2874|     11|            "uint  maxInvocationsExclusiveScanAMD(uint);"
 2875|     11|            "uvec2 maxInvocationsExclusiveScanAMD(uvec2);"
 2876|     11|            "uvec3 maxInvocationsExclusiveScanAMD(uvec3);"
 2877|     11|            "uvec4 maxInvocationsExclusiveScanAMD(uvec4);"
 2878|       |
 2879|     11|            "double maxInvocationsExclusiveScanAMD(double);"
 2880|     11|            "dvec2  maxInvocationsExclusiveScanAMD(dvec2);"
 2881|     11|            "dvec3  maxInvocationsExclusiveScanAMD(dvec3);"
 2882|     11|            "dvec4  maxInvocationsExclusiveScanAMD(dvec4);"
 2883|       |
 2884|     11|            "int64_t maxInvocationsExclusiveScanAMD(int64_t);"
 2885|     11|            "i64vec2 maxInvocationsExclusiveScanAMD(i64vec2);"
 2886|     11|            "i64vec3 maxInvocationsExclusiveScanAMD(i64vec3);"
 2887|     11|            "i64vec4 maxInvocationsExclusiveScanAMD(i64vec4);"
 2888|       |
 2889|     11|            "uint64_t maxInvocationsExclusiveScanAMD(uint64_t);"
 2890|     11|            "u64vec2  maxInvocationsExclusiveScanAMD(u64vec2);"
 2891|     11|            "u64vec3  maxInvocationsExclusiveScanAMD(u64vec3);"
 2892|     11|            "u64vec4  maxInvocationsExclusiveScanAMD(u64vec4);"
 2893|       |
 2894|     11|            "float16_t maxInvocationsExclusiveScanAMD(float16_t);"
 2895|     11|            "f16vec2   maxInvocationsExclusiveScanAMD(f16vec2);"
 2896|     11|            "f16vec3   maxInvocationsExclusiveScanAMD(f16vec3);"
 2897|     11|            "f16vec4   maxInvocationsExclusiveScanAMD(f16vec4);"
 2898|       |
 2899|     11|            "int16_t maxInvocationsExclusiveScanAMD(int16_t);"
 2900|     11|            "i16vec2 maxInvocationsExclusiveScanAMD(i16vec2);"
 2901|     11|            "i16vec3 maxInvocationsExclusiveScanAMD(i16vec3);"
 2902|     11|            "i16vec4 maxInvocationsExclusiveScanAMD(i16vec4);"
 2903|       |
 2904|     11|            "uint16_t maxInvocationsExclusiveScanAMD(uint16_t);"
 2905|     11|            "u16vec2  maxInvocationsExclusiveScanAMD(u16vec2);"
 2906|     11|            "u16vec3  maxInvocationsExclusiveScanAMD(u16vec3);"
 2907|     11|            "u16vec4  maxInvocationsExclusiveScanAMD(u16vec4);"
 2908|       |
 2909|     11|            "float addInvocationsAMD(float);"
 2910|     11|            "vec2  addInvocationsAMD(vec2);"
 2911|     11|            "vec3  addInvocationsAMD(vec3);"
 2912|     11|            "vec4  addInvocationsAMD(vec4);"
 2913|       |
 2914|     11|            "int   addInvocationsAMD(int);"
 2915|     11|            "ivec2 addInvocationsAMD(ivec2);"
 2916|     11|            "ivec3 addInvocationsAMD(ivec3);"
 2917|     11|            "ivec4 addInvocationsAMD(ivec4);"
 2918|       |
 2919|     11|            "uint  addInvocationsAMD(uint);"
 2920|     11|            "uvec2 addInvocationsAMD(uvec2);"
 2921|     11|            "uvec3 addInvocationsAMD(uvec3);"
 2922|     11|            "uvec4 addInvocationsAMD(uvec4);"
 2923|       |
 2924|     11|            "double  addInvocationsAMD(double);"
 2925|     11|            "dvec2   addInvocationsAMD(dvec2);"
 2926|     11|            "dvec3   addInvocationsAMD(dvec3);"
 2927|     11|            "dvec4   addInvocationsAMD(dvec4);"
 2928|       |
 2929|     11|            "int64_t addInvocationsAMD(int64_t);"
 2930|     11|            "i64vec2 addInvocationsAMD(i64vec2);"
 2931|     11|            "i64vec3 addInvocationsAMD(i64vec3);"
 2932|     11|            "i64vec4 addInvocationsAMD(i64vec4);"
 2933|       |
 2934|     11|            "uint64_t addInvocationsAMD(uint64_t);"
 2935|     11|            "u64vec2  addInvocationsAMD(u64vec2);"
 2936|     11|            "u64vec3  addInvocationsAMD(u64vec3);"
 2937|     11|            "u64vec4  addInvocationsAMD(u64vec4);"
 2938|       |
 2939|     11|            "float16_t addInvocationsAMD(float16_t);"
 2940|     11|            "f16vec2   addInvocationsAMD(f16vec2);"
 2941|     11|            "f16vec3   addInvocationsAMD(f16vec3);"
 2942|     11|            "f16vec4   addInvocationsAMD(f16vec4);"
 2943|       |
 2944|     11|            "int16_t addInvocationsAMD(int16_t);"
 2945|     11|            "i16vec2 addInvocationsAMD(i16vec2);"
 2946|     11|            "i16vec3 addInvocationsAMD(i16vec3);"
 2947|     11|            "i16vec4 addInvocationsAMD(i16vec4);"
 2948|       |
 2949|     11|            "uint16_t addInvocationsAMD(uint16_t);"
 2950|     11|            "u16vec2  addInvocationsAMD(u16vec2);"
 2951|     11|            "u16vec3  addInvocationsAMD(u16vec3);"
 2952|     11|            "u16vec4  addInvocationsAMD(u16vec4);"
 2953|       |
 2954|     11|            "float addInvocationsInclusiveScanAMD(float);"
 2955|     11|            "vec2  addInvocationsInclusiveScanAMD(vec2);"
 2956|     11|            "vec3  addInvocationsInclusiveScanAMD(vec3);"
 2957|     11|            "vec4  addInvocationsInclusiveScanAMD(vec4);"
 2958|       |
 2959|     11|            "int   addInvocationsInclusiveScanAMD(int);"
 2960|     11|            "ivec2 addInvocationsInclusiveScanAMD(ivec2);"
 2961|     11|            "ivec3 addInvocationsInclusiveScanAMD(ivec3);"
 2962|     11|            "ivec4 addInvocationsInclusiveScanAMD(ivec4);"
 2963|       |
 2964|     11|            "uint  addInvocationsInclusiveScanAMD(uint);"
 2965|     11|            "uvec2 addInvocationsInclusiveScanAMD(uvec2);"
 2966|     11|            "uvec3 addInvocationsInclusiveScanAMD(uvec3);"
 2967|     11|            "uvec4 addInvocationsInclusiveScanAMD(uvec4);"
 2968|       |
 2969|     11|            "double  addInvocationsInclusiveScanAMD(double);"
 2970|     11|            "dvec2   addInvocationsInclusiveScanAMD(dvec2);"
 2971|     11|            "dvec3   addInvocationsInclusiveScanAMD(dvec3);"
 2972|     11|            "dvec4   addInvocationsInclusiveScanAMD(dvec4);"
 2973|       |
 2974|     11|            "int64_t addInvocationsInclusiveScanAMD(int64_t);"
 2975|     11|            "i64vec2 addInvocationsInclusiveScanAMD(i64vec2);"
 2976|     11|            "i64vec3 addInvocationsInclusiveScanAMD(i64vec3);"
 2977|     11|            "i64vec4 addInvocationsInclusiveScanAMD(i64vec4);"
 2978|       |
 2979|     11|            "uint64_t addInvocationsInclusiveScanAMD(uint64_t);"
 2980|     11|            "u64vec2  addInvocationsInclusiveScanAMD(u64vec2);"
 2981|     11|            "u64vec3  addInvocationsInclusiveScanAMD(u64vec3);"
 2982|     11|            "u64vec4  addInvocationsInclusiveScanAMD(u64vec4);"
 2983|       |
 2984|     11|            "float16_t addInvocationsInclusiveScanAMD(float16_t);"
 2985|     11|            "f16vec2   addInvocationsInclusiveScanAMD(f16vec2);"
 2986|     11|            "f16vec3   addInvocationsInclusiveScanAMD(f16vec3);"
 2987|     11|            "f16vec4   addInvocationsInclusiveScanAMD(f16vec4);"
 2988|       |
 2989|     11|            "int16_t addInvocationsInclusiveScanAMD(int16_t);"
 2990|     11|            "i16vec2 addInvocationsInclusiveScanAMD(i16vec2);"
 2991|     11|            "i16vec3 addInvocationsInclusiveScanAMD(i16vec3);"
 2992|     11|            "i16vec4 addInvocationsInclusiveScanAMD(i16vec4);"
 2993|       |
 2994|     11|            "uint16_t addInvocationsInclusiveScanAMD(uint16_t);"
 2995|     11|            "u16vec2  addInvocationsInclusiveScanAMD(u16vec2);"
 2996|     11|            "u16vec3  addInvocationsInclusiveScanAMD(u16vec3);"
 2997|     11|            "u16vec4  addInvocationsInclusiveScanAMD(u16vec4);"
 2998|       |
 2999|     11|            "float addInvocationsExclusiveScanAMD(float);"
 3000|     11|            "vec2  addInvocationsExclusiveScanAMD(vec2);"
 3001|     11|            "vec3  addInvocationsExclusiveScanAMD(vec3);"
 3002|     11|            "vec4  addInvocationsExclusiveScanAMD(vec4);"
 3003|       |
 3004|     11|            "int   addInvocationsExclusiveScanAMD(int);"
 3005|     11|            "ivec2 addInvocationsExclusiveScanAMD(ivec2);"
 3006|     11|            "ivec3 addInvocationsExclusiveScanAMD(ivec3);"
 3007|     11|            "ivec4 addInvocationsExclusiveScanAMD(ivec4);"
 3008|       |
 3009|     11|            "uint  addInvocationsExclusiveScanAMD(uint);"
 3010|     11|            "uvec2 addInvocationsExclusiveScanAMD(uvec2);"
 3011|     11|            "uvec3 addInvocationsExclusiveScanAMD(uvec3);"
 3012|     11|            "uvec4 addInvocationsExclusiveScanAMD(uvec4);"
 3013|       |
 3014|     11|            "double  addInvocationsExclusiveScanAMD(double);"
 3015|     11|            "dvec2   addInvocationsExclusiveScanAMD(dvec2);"
 3016|     11|            "dvec3   addInvocationsExclusiveScanAMD(dvec3);"
 3017|     11|            "dvec4   addInvocationsExclusiveScanAMD(dvec4);"
 3018|       |
 3019|     11|            "int64_t addInvocationsExclusiveScanAMD(int64_t);"
 3020|     11|            "i64vec2 addInvocationsExclusiveScanAMD(i64vec2);"
 3021|     11|            "i64vec3 addInvocationsExclusiveScanAMD(i64vec3);"
 3022|     11|            "i64vec4 addInvocationsExclusiveScanAMD(i64vec4);"
 3023|       |
 3024|     11|            "uint64_t addInvocationsExclusiveScanAMD(uint64_t);"
 3025|     11|            "u64vec2  addInvocationsExclusiveScanAMD(u64vec2);"
 3026|     11|            "u64vec3  addInvocationsExclusiveScanAMD(u64vec3);"
 3027|     11|            "u64vec4  addInvocationsExclusiveScanAMD(u64vec4);"
 3028|       |
 3029|     11|            "float16_t addInvocationsExclusiveScanAMD(float16_t);"
 3030|     11|            "f16vec2   addInvocationsExclusiveScanAMD(f16vec2);"
 3031|     11|            "f16vec3   addInvocationsExclusiveScanAMD(f16vec3);"
 3032|     11|            "f16vec4   addInvocationsExclusiveScanAMD(f16vec4);"
 3033|       |
 3034|     11|            "int16_t addInvocationsExclusiveScanAMD(int16_t);"
 3035|     11|            "i16vec2 addInvocationsExclusiveScanAMD(i16vec2);"
 3036|     11|            "i16vec3 addInvocationsExclusiveScanAMD(i16vec3);"
 3037|     11|            "i16vec4 addInvocationsExclusiveScanAMD(i16vec4);"
 3038|       |
 3039|     11|            "uint16_t addInvocationsExclusiveScanAMD(uint16_t);"
 3040|     11|            "u16vec2  addInvocationsExclusiveScanAMD(u16vec2);"
 3041|     11|            "u16vec3  addInvocationsExclusiveScanAMD(u16vec3);"
 3042|     11|            "u16vec4  addInvocationsExclusiveScanAMD(u16vec4);"
 3043|       |
 3044|     11|            "float minInvocationsNonUniformAMD(float);"
 3045|     11|            "vec2  minInvocationsNonUniformAMD(vec2);"
 3046|     11|            "vec3  minInvocationsNonUniformAMD(vec3);"
 3047|     11|            "vec4  minInvocationsNonUniformAMD(vec4);"
 3048|       |
 3049|     11|            "int   minInvocationsNonUniformAMD(int);"
 3050|     11|            "ivec2 minInvocationsNonUniformAMD(ivec2);"
 3051|     11|            "ivec3 minInvocationsNonUniformAMD(ivec3);"
 3052|     11|            "ivec4 minInvocationsNonUniformAMD(ivec4);"
 3053|       |
 3054|     11|            "uint  minInvocationsNonUniformAMD(uint);"
 3055|     11|            "uvec2 minInvocationsNonUniformAMD(uvec2);"
 3056|     11|            "uvec3 minInvocationsNonUniformAMD(uvec3);"
 3057|     11|            "uvec4 minInvocationsNonUniformAMD(uvec4);"
 3058|       |
 3059|     11|            "double minInvocationsNonUniformAMD(double);"
 3060|     11|            "dvec2  minInvocationsNonUniformAMD(dvec2);"
 3061|     11|            "dvec3  minInvocationsNonUniformAMD(dvec3);"
 3062|     11|            "dvec4  minInvocationsNonUniformAMD(dvec4);"
 3063|       |
 3064|     11|            "int64_t minInvocationsNonUniformAMD(int64_t);"
 3065|     11|            "i64vec2 minInvocationsNonUniformAMD(i64vec2);"
 3066|     11|            "i64vec3 minInvocationsNonUniformAMD(i64vec3);"
 3067|     11|            "i64vec4 minInvocationsNonUniformAMD(i64vec4);"
 3068|       |
 3069|     11|            "uint64_t minInvocationsNonUniformAMD(uint64_t);"
 3070|     11|            "u64vec2  minInvocationsNonUniformAMD(u64vec2);"
 3071|     11|            "u64vec3  minInvocationsNonUniformAMD(u64vec3);"
 3072|     11|            "u64vec4  minInvocationsNonUniformAMD(u64vec4);"
 3073|       |
 3074|     11|            "float16_t minInvocationsNonUniformAMD(float16_t);"
 3075|     11|            "f16vec2   minInvocationsNonUniformAMD(f16vec2);"
 3076|     11|            "f16vec3   minInvocationsNonUniformAMD(f16vec3);"
 3077|     11|            "f16vec4   minInvocationsNonUniformAMD(f16vec4);"
 3078|       |
 3079|     11|            "int16_t minInvocationsNonUniformAMD(int16_t);"
 3080|     11|            "i16vec2 minInvocationsNonUniformAMD(i16vec2);"
 3081|     11|            "i16vec3 minInvocationsNonUniformAMD(i16vec3);"
 3082|     11|            "i16vec4 minInvocationsNonUniformAMD(i16vec4);"
 3083|       |
 3084|     11|            "uint16_t minInvocationsNonUniformAMD(uint16_t);"
 3085|     11|            "u16vec2  minInvocationsNonUniformAMD(u16vec2);"
 3086|     11|            "u16vec3  minInvocationsNonUniformAMD(u16vec3);"
 3087|     11|            "u16vec4  minInvocationsNonUniformAMD(u16vec4);"
 3088|       |
 3089|     11|            "float minInvocationsInclusiveScanNonUniformAMD(float);"
 3090|     11|            "vec2  minInvocationsInclusiveScanNonUniformAMD(vec2);"
 3091|     11|            "vec3  minInvocationsInclusiveScanNonUniformAMD(vec3);"
 3092|     11|            "vec4  minInvocationsInclusiveScanNonUniformAMD(vec4);"
 3093|       |
 3094|     11|            "int   minInvocationsInclusiveScanNonUniformAMD(int);"
 3095|     11|            "ivec2 minInvocationsInclusiveScanNonUniformAMD(ivec2);"
 3096|     11|            "ivec3 minInvocationsInclusiveScanNonUniformAMD(ivec3);"
 3097|     11|            "ivec4 minInvocationsInclusiveScanNonUniformAMD(ivec4);"
 3098|       |
 3099|     11|            "uint  minInvocationsInclusiveScanNonUniformAMD(uint);"
 3100|     11|            "uvec2 minInvocationsInclusiveScanNonUniformAMD(uvec2);"
 3101|     11|            "uvec3 minInvocationsInclusiveScanNonUniformAMD(uvec3);"
 3102|     11|            "uvec4 minInvocationsInclusiveScanNonUniformAMD(uvec4);"
 3103|       |
 3104|     11|            "double minInvocationsInclusiveScanNonUniformAMD(double);"
 3105|     11|            "dvec2  minInvocationsInclusiveScanNonUniformAMD(dvec2);"
 3106|     11|            "dvec3  minInvocationsInclusiveScanNonUniformAMD(dvec3);"
 3107|     11|            "dvec4  minInvocationsInclusiveScanNonUniformAMD(dvec4);"
 3108|       |
 3109|     11|            "int64_t minInvocationsInclusiveScanNonUniformAMD(int64_t);"
 3110|     11|            "i64vec2 minInvocationsInclusiveScanNonUniformAMD(i64vec2);"
 3111|     11|            "i64vec3 minInvocationsInclusiveScanNonUniformAMD(i64vec3);"
 3112|     11|            "i64vec4 minInvocationsInclusiveScanNonUniformAMD(i64vec4);"
 3113|       |
 3114|     11|            "uint64_t minInvocationsInclusiveScanNonUniformAMD(uint64_t);"
 3115|     11|            "u64vec2  minInvocationsInclusiveScanNonUniformAMD(u64vec2);"
 3116|     11|            "u64vec3  minInvocationsInclusiveScanNonUniformAMD(u64vec3);"
 3117|     11|            "u64vec4  minInvocationsInclusiveScanNonUniformAMD(u64vec4);"
 3118|       |
 3119|     11|            "float16_t minInvocationsInclusiveScanNonUniformAMD(float16_t);"
 3120|     11|            "f16vec2   minInvocationsInclusiveScanNonUniformAMD(f16vec2);"
 3121|     11|            "f16vec3   minInvocationsInclusiveScanNonUniformAMD(f16vec3);"
 3122|     11|            "f16vec4   minInvocationsInclusiveScanNonUniformAMD(f16vec4);"
 3123|       |
 3124|     11|            "int16_t minInvocationsInclusiveScanNonUniformAMD(int16_t);"
 3125|     11|            "i16vec2 minInvocationsInclusiveScanNonUniformAMD(i16vec2);"
 3126|     11|            "i16vec3 minInvocationsInclusiveScanNonUniformAMD(i16vec3);"
 3127|     11|            "i16vec4 minInvocationsInclusiveScanNonUniformAMD(i16vec4);"
 3128|       |
 3129|     11|            "uint16_t minInvocationsInclusiveScanNonUniformAMD(uint16_t);"
 3130|     11|            "u16vec2  minInvocationsInclusiveScanNonUniformAMD(u16vec2);"
 3131|     11|            "u16vec3  minInvocationsInclusiveScanNonUniformAMD(u16vec3);"
 3132|     11|            "u16vec4  minInvocationsInclusiveScanNonUniformAMD(u16vec4);"
 3133|       |
 3134|     11|            "float minInvocationsExclusiveScanNonUniformAMD(float);"
 3135|     11|            "vec2  minInvocationsExclusiveScanNonUniformAMD(vec2);"
 3136|     11|            "vec3  minInvocationsExclusiveScanNonUniformAMD(vec3);"
 3137|     11|            "vec4  minInvocationsExclusiveScanNonUniformAMD(vec4);"
 3138|       |
 3139|     11|            "int   minInvocationsExclusiveScanNonUniformAMD(int);"
 3140|     11|            "ivec2 minInvocationsExclusiveScanNonUniformAMD(ivec2);"
 3141|     11|            "ivec3 minInvocationsExclusiveScanNonUniformAMD(ivec3);"
 3142|     11|            "ivec4 minInvocationsExclusiveScanNonUniformAMD(ivec4);"
 3143|       |
 3144|     11|            "uint  minInvocationsExclusiveScanNonUniformAMD(uint);"
 3145|     11|            "uvec2 minInvocationsExclusiveScanNonUniformAMD(uvec2);"
 3146|     11|            "uvec3 minInvocationsExclusiveScanNonUniformAMD(uvec3);"
 3147|     11|            "uvec4 minInvocationsExclusiveScanNonUniformAMD(uvec4);"
 3148|       |
 3149|     11|            "double minInvocationsExclusiveScanNonUniformAMD(double);"
 3150|     11|            "dvec2  minInvocationsExclusiveScanNonUniformAMD(dvec2);"
 3151|     11|            "dvec3  minInvocationsExclusiveScanNonUniformAMD(dvec3);"
 3152|     11|            "dvec4  minInvocationsExclusiveScanNonUniformAMD(dvec4);"
 3153|       |
 3154|     11|            "int64_t minInvocationsExclusiveScanNonUniformAMD(int64_t);"
 3155|     11|            "i64vec2 minInvocationsExclusiveScanNonUniformAMD(i64vec2);"
 3156|     11|            "i64vec3 minInvocationsExclusiveScanNonUniformAMD(i64vec3);"
 3157|     11|            "i64vec4 minInvocationsExclusiveScanNonUniformAMD(i64vec4);"
 3158|       |
 3159|     11|            "uint64_t minInvocationsExclusiveScanNonUniformAMD(uint64_t);"
 3160|     11|            "u64vec2  minInvocationsExclusiveScanNonUniformAMD(u64vec2);"
 3161|     11|            "u64vec3  minInvocationsExclusiveScanNonUniformAMD(u64vec3);"
 3162|     11|            "u64vec4  minInvocationsExclusiveScanNonUniformAMD(u64vec4);"
 3163|       |
 3164|     11|            "float16_t minInvocationsExclusiveScanNonUniformAMD(float16_t);"
 3165|     11|            "f16vec2   minInvocationsExclusiveScanNonUniformAMD(f16vec2);"
 3166|     11|            "f16vec3   minInvocationsExclusiveScanNonUniformAMD(f16vec3);"
 3167|     11|            "f16vec4   minInvocationsExclusiveScanNonUniformAMD(f16vec4);"
 3168|       |
 3169|     11|            "int16_t minInvocationsExclusiveScanNonUniformAMD(int16_t);"
 3170|     11|            "i16vec2 minInvocationsExclusiveScanNonUniformAMD(i16vec2);"
 3171|     11|            "i16vec3 minInvocationsExclusiveScanNonUniformAMD(i16vec3);"
 3172|     11|            "i16vec4 minInvocationsExclusiveScanNonUniformAMD(i16vec4);"
 3173|       |
 3174|     11|            "uint16_t minInvocationsExclusiveScanNonUniformAMD(uint16_t);"
 3175|     11|            "u16vec2  minInvocationsExclusiveScanNonUniformAMD(u16vec2);"
 3176|     11|            "u16vec3  minInvocationsExclusiveScanNonUniformAMD(u16vec3);"
 3177|     11|            "u16vec4  minInvocationsExclusiveScanNonUniformAMD(u16vec4);"
 3178|       |
 3179|     11|            "float maxInvocationsNonUniformAMD(float);"
 3180|     11|            "vec2  maxInvocationsNonUniformAMD(vec2);"
 3181|     11|            "vec3  maxInvocationsNonUniformAMD(vec3);"
 3182|     11|            "vec4  maxInvocationsNonUniformAMD(vec4);"
 3183|       |
 3184|     11|            "int   maxInvocationsNonUniformAMD(int);"
 3185|     11|            "ivec2 maxInvocationsNonUniformAMD(ivec2);"
 3186|     11|            "ivec3 maxInvocationsNonUniformAMD(ivec3);"
 3187|     11|            "ivec4 maxInvocationsNonUniformAMD(ivec4);"
 3188|       |
 3189|     11|            "uint  maxInvocationsNonUniformAMD(uint);"
 3190|     11|            "uvec2 maxInvocationsNonUniformAMD(uvec2);"
 3191|     11|            "uvec3 maxInvocationsNonUniformAMD(uvec3);"
 3192|     11|            "uvec4 maxInvocationsNonUniformAMD(uvec4);"
 3193|       |
 3194|     11|            "double maxInvocationsNonUniformAMD(double);"
 3195|     11|            "dvec2  maxInvocationsNonUniformAMD(dvec2);"
 3196|     11|            "dvec3  maxInvocationsNonUniformAMD(dvec3);"
 3197|     11|            "dvec4  maxInvocationsNonUniformAMD(dvec4);"
 3198|       |
 3199|     11|            "int64_t maxInvocationsNonUniformAMD(int64_t);"
 3200|     11|            "i64vec2 maxInvocationsNonUniformAMD(i64vec2);"
 3201|     11|            "i64vec3 maxInvocationsNonUniformAMD(i64vec3);"
 3202|     11|            "i64vec4 maxInvocationsNonUniformAMD(i64vec4);"
 3203|       |
 3204|     11|            "uint64_t maxInvocationsNonUniformAMD(uint64_t);"
 3205|     11|            "u64vec2  maxInvocationsNonUniformAMD(u64vec2);"
 3206|     11|            "u64vec3  maxInvocationsNonUniformAMD(u64vec3);"
 3207|     11|            "u64vec4  maxInvocationsNonUniformAMD(u64vec4);"
 3208|       |
 3209|     11|            "float16_t maxInvocationsNonUniformAMD(float16_t);"
 3210|     11|            "f16vec2   maxInvocationsNonUniformAMD(f16vec2);"
 3211|     11|            "f16vec3   maxInvocationsNonUniformAMD(f16vec3);"
 3212|     11|            "f16vec4   maxInvocationsNonUniformAMD(f16vec4);"
 3213|       |
 3214|     11|            "int16_t maxInvocationsNonUniformAMD(int16_t);"
 3215|     11|            "i16vec2 maxInvocationsNonUniformAMD(i16vec2);"
 3216|     11|            "i16vec3 maxInvocationsNonUniformAMD(i16vec3);"
 3217|     11|            "i16vec4 maxInvocationsNonUniformAMD(i16vec4);"
 3218|       |
 3219|     11|            "uint16_t maxInvocationsNonUniformAMD(uint16_t);"
 3220|     11|            "u16vec2  maxInvocationsNonUniformAMD(u16vec2);"
 3221|     11|            "u16vec3  maxInvocationsNonUniformAMD(u16vec3);"
 3222|     11|            "u16vec4  maxInvocationsNonUniformAMD(u16vec4);"
 3223|       |
 3224|     11|            "float maxInvocationsInclusiveScanNonUniformAMD(float);"
 3225|     11|            "vec2  maxInvocationsInclusiveScanNonUniformAMD(vec2);"
 3226|     11|            "vec3  maxInvocationsInclusiveScanNonUniformAMD(vec3);"
 3227|     11|            "vec4  maxInvocationsInclusiveScanNonUniformAMD(vec4);"
 3228|       |
 3229|     11|            "int   maxInvocationsInclusiveScanNonUniformAMD(int);"
 3230|     11|            "ivec2 maxInvocationsInclusiveScanNonUniformAMD(ivec2);"
 3231|     11|            "ivec3 maxInvocationsInclusiveScanNonUniformAMD(ivec3);"
 3232|     11|            "ivec4 maxInvocationsInclusiveScanNonUniformAMD(ivec4);"
 3233|       |
 3234|     11|            "uint  maxInvocationsInclusiveScanNonUniformAMD(uint);"
 3235|     11|            "uvec2 maxInvocationsInclusiveScanNonUniformAMD(uvec2);"
 3236|     11|            "uvec3 maxInvocationsInclusiveScanNonUniformAMD(uvec3);"
 3237|     11|            "uvec4 maxInvocationsInclusiveScanNonUniformAMD(uvec4);"
 3238|       |
 3239|     11|            "double maxInvocationsInclusiveScanNonUniformAMD(double);"
 3240|     11|            "dvec2  maxInvocationsInclusiveScanNonUniformAMD(dvec2);"
 3241|     11|            "dvec3  maxInvocationsInclusiveScanNonUniformAMD(dvec3);"
 3242|     11|            "dvec4  maxInvocationsInclusiveScanNonUniformAMD(dvec4);"
 3243|       |
 3244|     11|            "int64_t maxInvocationsInclusiveScanNonUniformAMD(int64_t);"
 3245|     11|            "i64vec2 maxInvocationsInclusiveScanNonUniformAMD(i64vec2);"
 3246|     11|            "i64vec3 maxInvocationsInclusiveScanNonUniformAMD(i64vec3);"
 3247|     11|            "i64vec4 maxInvocationsInclusiveScanNonUniformAMD(i64vec4);"
 3248|       |
 3249|     11|            "uint64_t maxInvocationsInclusiveScanNonUniformAMD(uint64_t);"
 3250|     11|            "u64vec2  maxInvocationsInclusiveScanNonUniformAMD(u64vec2);"
 3251|     11|            "u64vec3  maxInvocationsInclusiveScanNonUniformAMD(u64vec3);"
 3252|     11|            "u64vec4  maxInvocationsInclusiveScanNonUniformAMD(u64vec4);"
 3253|       |
 3254|     11|            "float16_t maxInvocationsInclusiveScanNonUniformAMD(float16_t);"
 3255|     11|            "f16vec2   maxInvocationsInclusiveScanNonUniformAMD(f16vec2);"
 3256|     11|            "f16vec3   maxInvocationsInclusiveScanNonUniformAMD(f16vec3);"
 3257|     11|            "f16vec4   maxInvocationsInclusiveScanNonUniformAMD(f16vec4);"
 3258|       |
 3259|     11|            "int16_t maxInvocationsInclusiveScanNonUniformAMD(int16_t);"
 3260|     11|            "i16vec2 maxInvocationsInclusiveScanNonUniformAMD(i16vec2);"
 3261|     11|            "i16vec3 maxInvocationsInclusiveScanNonUniformAMD(i16vec3);"
 3262|     11|            "i16vec4 maxInvocationsInclusiveScanNonUniformAMD(i16vec4);"
 3263|       |
 3264|     11|            "uint16_t maxInvocationsInclusiveScanNonUniformAMD(uint16_t);"
 3265|     11|            "u16vec2  maxInvocationsInclusiveScanNonUniformAMD(u16vec2);"
 3266|     11|            "u16vec3  maxInvocationsInclusiveScanNonUniformAMD(u16vec3);"
 3267|     11|            "u16vec4  maxInvocationsInclusiveScanNonUniformAMD(u16vec4);"
 3268|       |
 3269|     11|            "float maxInvocationsExclusiveScanNonUniformAMD(float);"
 3270|     11|            "vec2  maxInvocationsExclusiveScanNonUniformAMD(vec2);"
 3271|     11|            "vec3  maxInvocationsExclusiveScanNonUniformAMD(vec3);"
 3272|     11|            "vec4  maxInvocationsExclusiveScanNonUniformAMD(vec4);"
 3273|       |
 3274|     11|            "int   maxInvocationsExclusiveScanNonUniformAMD(int);"
 3275|     11|            "ivec2 maxInvocationsExclusiveScanNonUniformAMD(ivec2);"
 3276|     11|            "ivec3 maxInvocationsExclusiveScanNonUniformAMD(ivec3);"
 3277|     11|            "ivec4 maxInvocationsExclusiveScanNonUniformAMD(ivec4);"
 3278|       |
 3279|     11|            "uint  maxInvocationsExclusiveScanNonUniformAMD(uint);"
 3280|     11|            "uvec2 maxInvocationsExclusiveScanNonUniformAMD(uvec2);"
 3281|     11|            "uvec3 maxInvocationsExclusiveScanNonUniformAMD(uvec3);"
 3282|     11|            "uvec4 maxInvocationsExclusiveScanNonUniformAMD(uvec4);"
 3283|       |
 3284|     11|            "double maxInvocationsExclusiveScanNonUniformAMD(double);"
 3285|     11|            "dvec2  maxInvocationsExclusiveScanNonUniformAMD(dvec2);"
 3286|     11|            "dvec3  maxInvocationsExclusiveScanNonUniformAMD(dvec3);"
 3287|     11|            "dvec4  maxInvocationsExclusiveScanNonUniformAMD(dvec4);"
 3288|       |
 3289|     11|            "int64_t maxInvocationsExclusiveScanNonUniformAMD(int64_t);"
 3290|     11|            "i64vec2 maxInvocationsExclusiveScanNonUniformAMD(i64vec2);"
 3291|     11|            "i64vec3 maxInvocationsExclusiveScanNonUniformAMD(i64vec3);"
 3292|     11|            "i64vec4 maxInvocationsExclusiveScanNonUniformAMD(i64vec4);"
 3293|       |
 3294|     11|            "uint64_t maxInvocationsExclusiveScanNonUniformAMD(uint64_t);"
 3295|     11|            "u64vec2  maxInvocationsExclusiveScanNonUniformAMD(u64vec2);"
 3296|     11|            "u64vec3  maxInvocationsExclusiveScanNonUniformAMD(u64vec3);"
 3297|     11|            "u64vec4  maxInvocationsExclusiveScanNonUniformAMD(u64vec4);"
 3298|       |
 3299|     11|            "float16_t maxInvocationsExclusiveScanNonUniformAMD(float16_t);"
 3300|     11|            "f16vec2   maxInvocationsExclusiveScanNonUniformAMD(f16vec2);"
 3301|     11|            "f16vec3   maxInvocationsExclusiveScanNonUniformAMD(f16vec3);"
 3302|     11|            "f16vec4   maxInvocationsExclusiveScanNonUniformAMD(f16vec4);"
 3303|       |
 3304|     11|            "int16_t maxInvocationsExclusiveScanNonUniformAMD(int16_t);"
 3305|     11|            "i16vec2 maxInvocationsExclusiveScanNonUniformAMD(i16vec2);"
 3306|     11|            "i16vec3 maxInvocationsExclusiveScanNonUniformAMD(i16vec3);"
 3307|     11|            "i16vec4 maxInvocationsExclusiveScanNonUniformAMD(i16vec4);"
 3308|       |
 3309|     11|            "uint16_t maxInvocationsExclusiveScanNonUniformAMD(uint16_t);"
 3310|     11|            "u16vec2  maxInvocationsExclusiveScanNonUniformAMD(u16vec2);"
 3311|     11|            "u16vec3  maxInvocationsExclusiveScanNonUniformAMD(u16vec3);"
 3312|     11|            "u16vec4  maxInvocationsExclusiveScanNonUniformAMD(u16vec4);"
 3313|       |
 3314|     11|            "float addInvocationsNonUniformAMD(float);"
 3315|     11|            "vec2  addInvocationsNonUniformAMD(vec2);"
 3316|     11|            "vec3  addInvocationsNonUniformAMD(vec3);"
 3317|     11|            "vec4  addInvocationsNonUniformAMD(vec4);"
 3318|       |
 3319|     11|            "int   addInvocationsNonUniformAMD(int);"
 3320|     11|            "ivec2 addInvocationsNonUniformAMD(ivec2);"
 3321|     11|            "ivec3 addInvocationsNonUniformAMD(ivec3);"
 3322|     11|            "ivec4 addInvocationsNonUniformAMD(ivec4);"
 3323|       |
 3324|     11|            "uint  addInvocationsNonUniformAMD(uint);"
 3325|     11|            "uvec2 addInvocationsNonUniformAMD(uvec2);"
 3326|     11|            "uvec3 addInvocationsNonUniformAMD(uvec3);"
 3327|     11|            "uvec4 addInvocationsNonUniformAMD(uvec4);"
 3328|       |
 3329|     11|            "double addInvocationsNonUniformAMD(double);"
 3330|     11|            "dvec2  addInvocationsNonUniformAMD(dvec2);"
 3331|     11|            "dvec3  addInvocationsNonUniformAMD(dvec3);"
 3332|     11|            "dvec4  addInvocationsNonUniformAMD(dvec4);"
 3333|       |
 3334|     11|            "int64_t addInvocationsNonUniformAMD(int64_t);"
 3335|     11|            "i64vec2 addInvocationsNonUniformAMD(i64vec2);"
 3336|     11|            "i64vec3 addInvocationsNonUniformAMD(i64vec3);"
 3337|     11|            "i64vec4 addInvocationsNonUniformAMD(i64vec4);"
 3338|       |
 3339|     11|            "uint64_t addInvocationsNonUniformAMD(uint64_t);"
 3340|     11|            "u64vec2  addInvocationsNonUniformAMD(u64vec2);"
 3341|     11|            "u64vec3  addInvocationsNonUniformAMD(u64vec3);"
 3342|     11|            "u64vec4  addInvocationsNonUniformAMD(u64vec4);"
 3343|       |
 3344|     11|            "float16_t addInvocationsNonUniformAMD(float16_t);"
 3345|     11|            "f16vec2   addInvocationsNonUniformAMD(f16vec2);"
 3346|     11|            "f16vec3   addInvocationsNonUniformAMD(f16vec3);"
 3347|     11|            "f16vec4   addInvocationsNonUniformAMD(f16vec4);"
 3348|       |
 3349|     11|            "int16_t addInvocationsNonUniformAMD(int16_t);"
 3350|     11|            "i16vec2 addInvocationsNonUniformAMD(i16vec2);"
 3351|     11|            "i16vec3 addInvocationsNonUniformAMD(i16vec3);"
 3352|     11|            "i16vec4 addInvocationsNonUniformAMD(i16vec4);"
 3353|       |
 3354|     11|            "uint16_t addInvocationsNonUniformAMD(uint16_t);"
 3355|     11|            "u16vec2  addInvocationsNonUniformAMD(u16vec2);"
 3356|     11|            "u16vec3  addInvocationsNonUniformAMD(u16vec3);"
 3357|     11|            "u16vec4  addInvocationsNonUniformAMD(u16vec4);"
 3358|       |
 3359|     11|            "float addInvocationsInclusiveScanNonUniformAMD(float);"
 3360|     11|            "vec2  addInvocationsInclusiveScanNonUniformAMD(vec2);"
 3361|     11|            "vec3  addInvocationsInclusiveScanNonUniformAMD(vec3);"
 3362|     11|            "vec4  addInvocationsInclusiveScanNonUniformAMD(vec4);"
 3363|       |
 3364|     11|            "int   addInvocationsInclusiveScanNonUniformAMD(int);"
 3365|     11|            "ivec2 addInvocationsInclusiveScanNonUniformAMD(ivec2);"
 3366|     11|            "ivec3 addInvocationsInclusiveScanNonUniformAMD(ivec3);"
 3367|     11|            "ivec4 addInvocationsInclusiveScanNonUniformAMD(ivec4);"
 3368|       |
 3369|     11|            "uint  addInvocationsInclusiveScanNonUniformAMD(uint);"
 3370|     11|            "uvec2 addInvocationsInclusiveScanNonUniformAMD(uvec2);"
 3371|     11|            "uvec3 addInvocationsInclusiveScanNonUniformAMD(uvec3);"
 3372|     11|            "uvec4 addInvocationsInclusiveScanNonUniformAMD(uvec4);"
 3373|       |
 3374|     11|            "double addInvocationsInclusiveScanNonUniformAMD(double);"
 3375|     11|            "dvec2  addInvocationsInclusiveScanNonUniformAMD(dvec2);"
 3376|     11|            "dvec3  addInvocationsInclusiveScanNonUniformAMD(dvec3);"
 3377|     11|            "dvec4  addInvocationsInclusiveScanNonUniformAMD(dvec4);"
 3378|       |
 3379|     11|            "int64_t addInvocationsInclusiveScanNonUniformAMD(int64_t);"
 3380|     11|            "i64vec2 addInvocationsInclusiveScanNonUniformAMD(i64vec2);"
 3381|     11|            "i64vec3 addInvocationsInclusiveScanNonUniformAMD(i64vec3);"
 3382|     11|            "i64vec4 addInvocationsInclusiveScanNonUniformAMD(i64vec4);"
 3383|       |
 3384|     11|            "uint64_t addInvocationsInclusiveScanNonUniformAMD(uint64_t);"
 3385|     11|            "u64vec2  addInvocationsInclusiveScanNonUniformAMD(u64vec2);"
 3386|     11|            "u64vec3  addInvocationsInclusiveScanNonUniformAMD(u64vec3);"
 3387|     11|            "u64vec4  addInvocationsInclusiveScanNonUniformAMD(u64vec4);"
 3388|       |
 3389|     11|            "float16_t addInvocationsInclusiveScanNonUniformAMD(float16_t);"
 3390|     11|            "f16vec2   addInvocationsInclusiveScanNonUniformAMD(f16vec2);"
 3391|     11|            "f16vec3   addInvocationsInclusiveScanNonUniformAMD(f16vec3);"
 3392|     11|            "f16vec4   addInvocationsInclusiveScanNonUniformAMD(f16vec4);"
 3393|       |
 3394|     11|            "int16_t addInvocationsInclusiveScanNonUniformAMD(int16_t);"
 3395|     11|            "i16vec2 addInvocationsInclusiveScanNonUniformAMD(i16vec2);"
 3396|     11|            "i16vec3 addInvocationsInclusiveScanNonUniformAMD(i16vec3);"
 3397|     11|            "i16vec4 addInvocationsInclusiveScanNonUniformAMD(i16vec4);"
 3398|       |
 3399|     11|            "uint16_t addInvocationsInclusiveScanNonUniformAMD(uint16_t);"
 3400|     11|            "u16vec2  addInvocationsInclusiveScanNonUniformAMD(u16vec2);"
 3401|     11|            "u16vec3  addInvocationsInclusiveScanNonUniformAMD(u16vec3);"
 3402|     11|            "u16vec4  addInvocationsInclusiveScanNonUniformAMD(u16vec4);"
 3403|       |
 3404|     11|            "float addInvocationsExclusiveScanNonUniformAMD(float);"
 3405|     11|            "vec2  addInvocationsExclusiveScanNonUniformAMD(vec2);"
 3406|     11|            "vec3  addInvocationsExclusiveScanNonUniformAMD(vec3);"
 3407|     11|            "vec4  addInvocationsExclusiveScanNonUniformAMD(vec4);"
 3408|       |
 3409|     11|            "int   addInvocationsExclusiveScanNonUniformAMD(int);"
 3410|     11|            "ivec2 addInvocationsExclusiveScanNonUniformAMD(ivec2);"
 3411|     11|            "ivec3 addInvocationsExclusiveScanNonUniformAMD(ivec3);"
 3412|     11|            "ivec4 addInvocationsExclusiveScanNonUniformAMD(ivec4);"
 3413|       |
 3414|     11|            "uint  addInvocationsExclusiveScanNonUniformAMD(uint);"
 3415|     11|            "uvec2 addInvocationsExclusiveScanNonUniformAMD(uvec2);"
 3416|     11|            "uvec3 addInvocationsExclusiveScanNonUniformAMD(uvec3);"
 3417|     11|            "uvec4 addInvocationsExclusiveScanNonUniformAMD(uvec4);"
 3418|       |
 3419|     11|            "double addInvocationsExclusiveScanNonUniformAMD(double);"
 3420|     11|            "dvec2  addInvocationsExclusiveScanNonUniformAMD(dvec2);"
 3421|     11|            "dvec3  addInvocationsExclusiveScanNonUniformAMD(dvec3);"
 3422|     11|            "dvec4  addInvocationsExclusiveScanNonUniformAMD(dvec4);"
 3423|       |
 3424|     11|            "int64_t addInvocationsExclusiveScanNonUniformAMD(int64_t);"
 3425|     11|            "i64vec2 addInvocationsExclusiveScanNonUniformAMD(i64vec2);"
 3426|     11|            "i64vec3 addInvocationsExclusiveScanNonUniformAMD(i64vec3);"
 3427|     11|            "i64vec4 addInvocationsExclusiveScanNonUniformAMD(i64vec4);"
 3428|       |
 3429|     11|            "uint64_t addInvocationsExclusiveScanNonUniformAMD(uint64_t);"
 3430|     11|            "u64vec2  addInvocationsExclusiveScanNonUniformAMD(u64vec2);"
 3431|     11|            "u64vec3  addInvocationsExclusiveScanNonUniformAMD(u64vec3);"
 3432|     11|            "u64vec4  addInvocationsExclusiveScanNonUniformAMD(u64vec4);"
 3433|       |
 3434|     11|            "float16_t addInvocationsExclusiveScanNonUniformAMD(float16_t);"
 3435|     11|            "f16vec2   addInvocationsExclusiveScanNonUniformAMD(f16vec2);"
 3436|     11|            "f16vec3   addInvocationsExclusiveScanNonUniformAMD(f16vec3);"
 3437|     11|            "f16vec4   addInvocationsExclusiveScanNonUniformAMD(f16vec4);"
 3438|       |
 3439|     11|            "int16_t addInvocationsExclusiveScanNonUniformAMD(int16_t);"
 3440|     11|            "i16vec2 addInvocationsExclusiveScanNonUniformAMD(i16vec2);"
 3441|     11|            "i16vec3 addInvocationsExclusiveScanNonUniformAMD(i16vec3);"
 3442|     11|            "i16vec4 addInvocationsExclusiveScanNonUniformAMD(i16vec4);"
 3443|       |
 3444|     11|            "uint16_t addInvocationsExclusiveScanNonUniformAMD(uint16_t);"
 3445|     11|            "u16vec2  addInvocationsExclusiveScanNonUniformAMD(u16vec2);"
 3446|     11|            "u16vec3  addInvocationsExclusiveScanNonUniformAMD(u16vec3);"
 3447|     11|            "u16vec4  addInvocationsExclusiveScanNonUniformAMD(u16vec4);"
 3448|       |
 3449|     11|            "float swizzleInvocationsAMD(float, uvec4);"
 3450|     11|            "vec2  swizzleInvocationsAMD(vec2,  uvec4);"
 3451|     11|            "vec3  swizzleInvocationsAMD(vec3,  uvec4);"
 3452|     11|            "vec4  swizzleInvocationsAMD(vec4,  uvec4);"
 3453|       |
 3454|     11|            "int   swizzleInvocationsAMD(int,   uvec4);"
 3455|     11|            "ivec2 swizzleInvocationsAMD(ivec2, uvec4);"
 3456|     11|            "ivec3 swizzleInvocationsAMD(ivec3, uvec4);"
 3457|     11|            "ivec4 swizzleInvocationsAMD(ivec4, uvec4);"
 3458|       |
 3459|     11|            "uint  swizzleInvocationsAMD(uint,  uvec4);"
 3460|     11|            "uvec2 swizzleInvocationsAMD(uvec2, uvec4);"
 3461|     11|            "uvec3 swizzleInvocationsAMD(uvec3, uvec4);"
 3462|     11|            "uvec4 swizzleInvocationsAMD(uvec4, uvec4);"
 3463|       |
 3464|     11|            "float swizzleInvocationsMaskedAMD(float, uvec3);"
 3465|     11|            "vec2  swizzleInvocationsMaskedAMD(vec2,  uvec3);"
 3466|     11|            "vec3  swizzleInvocationsMaskedAMD(vec3,  uvec3);"
 3467|     11|            "vec4  swizzleInvocationsMaskedAMD(vec4,  uvec3);"
 3468|       |
 3469|     11|            "int   swizzleInvocationsMaskedAMD(int,   uvec3);"
 3470|     11|            "ivec2 swizzleInvocationsMaskedAMD(ivec2, uvec3);"
 3471|     11|            "ivec3 swizzleInvocationsMaskedAMD(ivec3, uvec3);"
 3472|     11|            "ivec4 swizzleInvocationsMaskedAMD(ivec4, uvec3);"
 3473|       |
 3474|     11|            "uint  swizzleInvocationsMaskedAMD(uint,  uvec3);"
 3475|     11|            "uvec2 swizzleInvocationsMaskedAMD(uvec2, uvec3);"
 3476|     11|            "uvec3 swizzleInvocationsMaskedAMD(uvec3, uvec3);"
 3477|     11|            "uvec4 swizzleInvocationsMaskedAMD(uvec4, uvec3);"
 3478|       |
 3479|     11|            "float writeInvocationAMD(float, float, uint);"
 3480|     11|            "vec2  writeInvocationAMD(vec2,  vec2,  uint);"
 3481|     11|            "vec3  writeInvocationAMD(vec3,  vec3,  uint);"
 3482|     11|            "vec4  writeInvocationAMD(vec4,  vec4,  uint);"
 3483|       |
 3484|     11|            "int   writeInvocationAMD(int,   int,   uint);"
 3485|     11|            "ivec2 writeInvocationAMD(ivec2, ivec2, uint);"
 3486|     11|            "ivec3 writeInvocationAMD(ivec3, ivec3, uint);"
 3487|     11|            "ivec4 writeInvocationAMD(ivec4, ivec4, uint);"
 3488|       |
 3489|     11|            "uint  writeInvocationAMD(uint,  uint,  uint);"
 3490|     11|            "uvec2 writeInvocationAMD(uvec2, uvec2, uint);"
 3491|     11|            "uvec3 writeInvocationAMD(uvec3, uvec3, uint);"
 3492|     11|            "uvec4 writeInvocationAMD(uvec4, uvec4, uint);"
 3493|       |
 3494|     11|            "uint mbcntAMD(uint64_t);"
 3495|       |
 3496|     11|            "\n");
 3497|     11|    }
 3498|       |
 3499|       |    // GL_AMD_gcn_shader
 3500|    115|    if (profile != EEsProfile && version >= 440) {
  ------------------
  |  Branch (3500:9): [True: 115, False: 0]
  |  Branch (3500:34): [True: 11, False: 104]
  ------------------
 3501|     11|        commonBuiltins.append(
 3502|     11|            "float cubeFaceIndexAMD(vec3);"
 3503|     11|            "vec2  cubeFaceCoordAMD(vec3);"
 3504|     11|            "uint64_t timeAMD();"
 3505|       |
 3506|     11|            "in int gl_SIMDGroupSizeAMD;"
 3507|     11|            "\n");
 3508|     11|    }
 3509|       |
 3510|       |    // GL_AMD_shader_fragment_mask
 3511|    115|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (3511:9): [True: 115, False: 0]
  |  Branch (3511:34): [True: 11, False: 104]
  ------------------
 3512|     11|        commonBuiltins.append(
 3513|     11|            "uint fragmentMaskFetchAMD(sampler2DMS,       ivec2);"
 3514|     11|            "uint fragmentMaskFetchAMD(isampler2DMS,      ivec2);"
 3515|     11|            "uint fragmentMaskFetchAMD(usampler2DMS,      ivec2);"
 3516|       |
 3517|     11|            "uint fragmentMaskFetchAMD(sampler2DMSArray,  ivec3);"
 3518|     11|            "uint fragmentMaskFetchAMD(isampler2DMSArray, ivec3);"
 3519|     11|            "uint fragmentMaskFetchAMD(usampler2DMSArray, ivec3);"
 3520|       |
 3521|     11|            "vec4  fragmentFetchAMD(sampler2DMS,       ivec2, uint);"
 3522|     11|            "ivec4 fragmentFetchAMD(isampler2DMS,      ivec2, uint);"
 3523|     11|            "uvec4 fragmentFetchAMD(usampler2DMS,      ivec2, uint);"
 3524|       |
 3525|     11|            "vec4  fragmentFetchAMD(sampler2DMSArray,  ivec3, uint);"
 3526|     11|            "ivec4 fragmentFetchAMD(isampler2DMSArray, ivec3, uint);"
 3527|     11|            "uvec4 fragmentFetchAMD(usampler2DMSArray, ivec3, uint);"
 3528|       |
 3529|     11|            "\n");
 3530|     11|    }
 3531|       |
 3532|    115|    if ((profile != EEsProfile && version >= 130) ||
  ------------------
  |  Branch (3532:10): [True: 115, False: 0]
  |  Branch (3532:35): [True: 115, False: 0]
  ------------------
 3533|    115|        (profile == EEsProfile && version >= 300)) {
  ------------------
  |  Branch (3533:10): [True: 0, False: 0]
  |  Branch (3533:35): [True: 0, False: 0]
  ------------------
 3534|    115|        commonBuiltins.append(
 3535|    115|            "uint countLeadingZeros(uint);"
 3536|    115|            "uvec2 countLeadingZeros(uvec2);"
 3537|    115|            "uvec3 countLeadingZeros(uvec3);"
 3538|    115|            "uvec4 countLeadingZeros(uvec4);"
 3539|       |
 3540|    115|            "uint countTrailingZeros(uint);"
 3541|    115|            "uvec2 countTrailingZeros(uvec2);"
 3542|    115|            "uvec3 countTrailingZeros(uvec3);"
 3543|    115|            "uvec4 countTrailingZeros(uvec4);"
 3544|       |
 3545|    115|            "uint absoluteDifference(int, int);"
 3546|    115|            "uvec2 absoluteDifference(ivec2, ivec2);"
 3547|    115|            "uvec3 absoluteDifference(ivec3, ivec3);"
 3548|    115|            "uvec4 absoluteDifference(ivec4, ivec4);"
 3549|       |
 3550|    115|            "uint16_t absoluteDifference(int16_t, int16_t);"
 3551|    115|            "u16vec2 absoluteDifference(i16vec2, i16vec2);"
 3552|    115|            "u16vec3 absoluteDifference(i16vec3, i16vec3);"
 3553|    115|            "u16vec4 absoluteDifference(i16vec4, i16vec4);"
 3554|       |
 3555|    115|            "uint64_t absoluteDifference(int64_t, int64_t);"
 3556|    115|            "u64vec2 absoluteDifference(i64vec2, i64vec2);"
 3557|    115|            "u64vec3 absoluteDifference(i64vec3, i64vec3);"
 3558|    115|            "u64vec4 absoluteDifference(i64vec4, i64vec4);"
 3559|       |
 3560|    115|            "uint absoluteDifference(uint, uint);"
 3561|    115|            "uvec2 absoluteDifference(uvec2, uvec2);"
 3562|    115|            "uvec3 absoluteDifference(uvec3, uvec3);"
 3563|    115|            "uvec4 absoluteDifference(uvec4, uvec4);"
 3564|       |
 3565|    115|            "uint16_t absoluteDifference(uint16_t, uint16_t);"
 3566|    115|            "u16vec2 absoluteDifference(u16vec2, u16vec2);"
 3567|    115|            "u16vec3 absoluteDifference(u16vec3, u16vec3);"
 3568|    115|            "u16vec4 absoluteDifference(u16vec4, u16vec4);"
 3569|       |
 3570|    115|            "uint64_t absoluteDifference(uint64_t, uint64_t);"
 3571|    115|            "u64vec2 absoluteDifference(u64vec2, u64vec2);"
 3572|    115|            "u64vec3 absoluteDifference(u64vec3, u64vec3);"
 3573|    115|            "u64vec4 absoluteDifference(u64vec4, u64vec4);"
 3574|       |
 3575|    115|            "int addSaturate(int, int);"
 3576|    115|            "ivec2 addSaturate(ivec2, ivec2);"
 3577|    115|            "ivec3 addSaturate(ivec3, ivec3);"
 3578|    115|            "ivec4 addSaturate(ivec4, ivec4);"
 3579|       |
 3580|    115|            "int16_t addSaturate(int16_t, int16_t);"
 3581|    115|            "i16vec2 addSaturate(i16vec2, i16vec2);"
 3582|    115|            "i16vec3 addSaturate(i16vec3, i16vec3);"
 3583|    115|            "i16vec4 addSaturate(i16vec4, i16vec4);"
 3584|       |
 3585|    115|            "int64_t addSaturate(int64_t, int64_t);"
 3586|    115|            "i64vec2 addSaturate(i64vec2, i64vec2);"
 3587|    115|            "i64vec3 addSaturate(i64vec3, i64vec3);"
 3588|    115|            "i64vec4 addSaturate(i64vec4, i64vec4);"
 3589|       |
 3590|    115|            "uint addSaturate(uint, uint);"
 3591|    115|            "uvec2 addSaturate(uvec2, uvec2);"
 3592|    115|            "uvec3 addSaturate(uvec3, uvec3);"
 3593|    115|            "uvec4 addSaturate(uvec4, uvec4);"
 3594|       |
 3595|    115|            "uint16_t addSaturate(uint16_t, uint16_t);"
 3596|    115|            "u16vec2 addSaturate(u16vec2, u16vec2);"
 3597|    115|            "u16vec3 addSaturate(u16vec3, u16vec3);"
 3598|    115|            "u16vec4 addSaturate(u16vec4, u16vec4);"
 3599|       |
 3600|    115|            "uint64_t addSaturate(uint64_t, uint64_t);"
 3601|    115|            "u64vec2 addSaturate(u64vec2, u64vec2);"
 3602|    115|            "u64vec3 addSaturate(u64vec3, u64vec3);"
 3603|    115|            "u64vec4 addSaturate(u64vec4, u64vec4);"
 3604|       |
 3605|    115|            "int subtractSaturate(int, int);"
 3606|    115|            "ivec2 subtractSaturate(ivec2, ivec2);"
 3607|    115|            "ivec3 subtractSaturate(ivec3, ivec3);"
 3608|    115|            "ivec4 subtractSaturate(ivec4, ivec4);"
 3609|       |
 3610|    115|            "int16_t subtractSaturate(int16_t, int16_t);"
 3611|    115|            "i16vec2 subtractSaturate(i16vec2, i16vec2);"
 3612|    115|            "i16vec3 subtractSaturate(i16vec3, i16vec3);"
 3613|    115|            "i16vec4 subtractSaturate(i16vec4, i16vec4);"
 3614|       |
 3615|    115|            "int64_t subtractSaturate(int64_t, int64_t);"
 3616|    115|            "i64vec2 subtractSaturate(i64vec2, i64vec2);"
 3617|    115|            "i64vec3 subtractSaturate(i64vec3, i64vec3);"
 3618|    115|            "i64vec4 subtractSaturate(i64vec4, i64vec4);"
 3619|       |
 3620|    115|            "uint subtractSaturate(uint, uint);"
 3621|    115|            "uvec2 subtractSaturate(uvec2, uvec2);"
 3622|    115|            "uvec3 subtractSaturate(uvec3, uvec3);"
 3623|    115|            "uvec4 subtractSaturate(uvec4, uvec4);"
 3624|       |
 3625|    115|            "uint16_t subtractSaturate(uint16_t, uint16_t);"
 3626|    115|            "u16vec2 subtractSaturate(u16vec2, u16vec2);"
 3627|    115|            "u16vec3 subtractSaturate(u16vec3, u16vec3);"
 3628|    115|            "u16vec4 subtractSaturate(u16vec4, u16vec4);"
 3629|       |
 3630|    115|            "uint64_t subtractSaturate(uint64_t, uint64_t);"
 3631|    115|            "u64vec2 subtractSaturate(u64vec2, u64vec2);"
 3632|    115|            "u64vec3 subtractSaturate(u64vec3, u64vec3);"
 3633|    115|            "u64vec4 subtractSaturate(u64vec4, u64vec4);"
 3634|       |
 3635|    115|            "int average(int, int);"
 3636|    115|            "ivec2 average(ivec2, ivec2);"
 3637|    115|            "ivec3 average(ivec3, ivec3);"
 3638|    115|            "ivec4 average(ivec4, ivec4);"
 3639|       |
 3640|    115|            "int16_t average(int16_t, int16_t);"
 3641|    115|            "i16vec2 average(i16vec2, i16vec2);"
 3642|    115|            "i16vec3 average(i16vec3, i16vec3);"
 3643|    115|            "i16vec4 average(i16vec4, i16vec4);"
 3644|       |
 3645|    115|            "int64_t average(int64_t, int64_t);"
 3646|    115|            "i64vec2 average(i64vec2, i64vec2);"
 3647|    115|            "i64vec3 average(i64vec3, i64vec3);"
 3648|    115|            "i64vec4 average(i64vec4, i64vec4);"
 3649|       |
 3650|    115|            "uint average(uint, uint);"
 3651|    115|            "uvec2 average(uvec2, uvec2);"
 3652|    115|            "uvec3 average(uvec3, uvec3);"
 3653|    115|            "uvec4 average(uvec4, uvec4);"
 3654|       |
 3655|    115|            "uint16_t average(uint16_t, uint16_t);"
 3656|    115|            "u16vec2 average(u16vec2, u16vec2);"
 3657|    115|            "u16vec3 average(u16vec3, u16vec3);"
 3658|    115|            "u16vec4 average(u16vec4, u16vec4);"
 3659|       |
 3660|    115|            "uint64_t average(uint64_t, uint64_t);"
 3661|    115|            "u64vec2 average(u64vec2, u64vec2);"
 3662|    115|            "u64vec3 average(u64vec3, u64vec3);"
 3663|    115|            "u64vec4 average(u64vec4, u64vec4);"
 3664|       |
 3665|    115|            "int averageRounded(int, int);"
 3666|    115|            "ivec2 averageRounded(ivec2, ivec2);"
 3667|    115|            "ivec3 averageRounded(ivec3, ivec3);"
 3668|    115|            "ivec4 averageRounded(ivec4, ivec4);"
 3669|       |
 3670|    115|            "int16_t averageRounded(int16_t, int16_t);"
 3671|    115|            "i16vec2 averageRounded(i16vec2, i16vec2);"
 3672|    115|            "i16vec3 averageRounded(i16vec3, i16vec3);"
 3673|    115|            "i16vec4 averageRounded(i16vec4, i16vec4);"
 3674|       |
 3675|    115|            "int64_t averageRounded(int64_t, int64_t);"
 3676|    115|            "i64vec2 averageRounded(i64vec2, i64vec2);"
 3677|    115|            "i64vec3 averageRounded(i64vec3, i64vec3);"
 3678|    115|            "i64vec4 averageRounded(i64vec4, i64vec4);"
 3679|       |
 3680|    115|            "uint averageRounded(uint, uint);"
 3681|    115|            "uvec2 averageRounded(uvec2, uvec2);"
 3682|    115|            "uvec3 averageRounded(uvec3, uvec3);"
 3683|    115|            "uvec4 averageRounded(uvec4, uvec4);"
 3684|       |
 3685|    115|            "uint16_t averageRounded(uint16_t, uint16_t);"
 3686|    115|            "u16vec2 averageRounded(u16vec2, u16vec2);"
 3687|    115|            "u16vec3 averageRounded(u16vec3, u16vec3);"
 3688|    115|            "u16vec4 averageRounded(u16vec4, u16vec4);"
 3689|       |
 3690|    115|            "uint64_t averageRounded(uint64_t, uint64_t);"
 3691|    115|            "u64vec2 averageRounded(u64vec2, u64vec2);"
 3692|    115|            "u64vec3 averageRounded(u64vec3, u64vec3);"
 3693|    115|            "u64vec4 averageRounded(u64vec4, u64vec4);"
 3694|       |
 3695|    115|            "int multiply32x16(int, int);"
 3696|    115|            "ivec2 multiply32x16(ivec2, ivec2);"
 3697|    115|            "ivec3 multiply32x16(ivec3, ivec3);"
 3698|    115|            "ivec4 multiply32x16(ivec4, ivec4);"
 3699|       |
 3700|    115|            "uint multiply32x16(uint, uint);"
 3701|    115|            "uvec2 multiply32x16(uvec2, uvec2);"
 3702|    115|            "uvec3 multiply32x16(uvec3, uvec3);"
 3703|    115|            "uvec4 multiply32x16(uvec4, uvec4);"
 3704|    115|            "\n");
 3705|    115|    }
 3706|       |
 3707|    115|    if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (3707:10): [True: 115, False: 0]
  |  Branch (3707:35): [True: 11, False: 104]
  ------------------
 3708|    104|        (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (3708:10): [True: 0, False: 104]
  |  Branch (3708:35): [True: 0, False: 0]
  ------------------
 3709|     11|        commonBuiltins.append(
 3710|     11|            "struct gl_TextureFootprint2DNV {"
 3711|     11|                "uvec2 anchor;"
 3712|     11|                "uvec2 offset;"
 3713|     11|                "uvec2 mask;"
 3714|     11|                "uint lod;"
 3715|     11|                "uint granularity;"
 3716|     11|            "};"
 3717|       |
 3718|     11|            "struct gl_TextureFootprint3DNV {"
 3719|     11|                "uvec3 anchor;"
 3720|     11|                "uvec3 offset;"
 3721|     11|                "uvec2 mask;"
 3722|     11|                "uint lod;"
 3723|     11|                "uint granularity;"
 3724|     11|            "};"
 3725|     11|            "bool textureFootprintNV(sampler2D, vec2, int, bool, out gl_TextureFootprint2DNV);"
 3726|     11|            "bool textureFootprintNV(sampler3D, vec3, int, bool, out gl_TextureFootprint3DNV);"
 3727|     11|            "bool textureFootprintNV(sampler2D, vec2, int, bool, out gl_TextureFootprint2DNV, float);"
 3728|     11|            "bool textureFootprintNV(sampler3D, vec3, int, bool, out gl_TextureFootprint3DNV, float);"
 3729|     11|            "bool textureFootprintClampNV(sampler2D, vec2, float, int, bool, out gl_TextureFootprint2DNV);"
 3730|     11|            "bool textureFootprintClampNV(sampler3D, vec3, float, int, bool, out gl_TextureFootprint3DNV);"
 3731|     11|            "bool textureFootprintClampNV(sampler2D, vec2, float, int, bool, out gl_TextureFootprint2DNV, float);"
 3732|     11|            "bool textureFootprintClampNV(sampler3D, vec3, float, int, bool, out gl_TextureFootprint3DNV, float);"
 3733|     11|            "bool textureFootprintLodNV(sampler2D, vec2, float, int, bool, out gl_TextureFootprint2DNV);"
 3734|     11|            "bool textureFootprintLodNV(sampler3D, vec3, float, int, bool, out gl_TextureFootprint3DNV);"
 3735|     11|            "bool textureFootprintGradNV(sampler2D, vec2, vec2, vec2, int, bool, out gl_TextureFootprint2DNV);"
 3736|     11|            "bool textureFootprintGradClampNV(sampler2D, vec2, vec2, vec2, float, int, bool, out gl_TextureFootprint2DNV);"
 3737|     11|            "\n");
 3738|     11|    }
 3739|       |
 3740|    115|    if ((profile == EEsProfile && version >= 300 && version < 310) ||
  ------------------
  |  Branch (3740:10): [True: 0, False: 115]
  |  Branch (3740:35): [True: 0, False: 0]
  |  Branch (3740:53): [True: 0, False: 0]
  ------------------
 3741|    115|        (profile != EEsProfile && version >= 150 && version < 450)) { // GL_EXT_shader_integer_mix
  ------------------
  |  Branch (3741:10): [True: 115, False: 0]
  |  Branch (3741:35): [True: 16, False: 99]
  |  Branch (3741:53): [True: 5, False: 11]
  ------------------
 3742|      5|        commonBuiltins.append("int mix(int, int, bool);"
 3743|      5|                              "ivec2 mix(ivec2, ivec2, bvec2);"
 3744|      5|                              "ivec3 mix(ivec3, ivec3, bvec3);"
 3745|      5|                              "ivec4 mix(ivec4, ivec4, bvec4);"
 3746|      5|                              "uint  mix(uint,  uint,  bool );"
 3747|      5|                              "uvec2 mix(uvec2, uvec2, bvec2);"
 3748|      5|                              "uvec3 mix(uvec3, uvec3, bvec3);"
 3749|      5|                              "uvec4 mix(uvec4, uvec4, bvec4);"
 3750|      5|                              "bool  mix(bool,  bool,  bool );"
 3751|      5|                              "bvec2 mix(bvec2, bvec2, bvec2);"
 3752|      5|                              "bvec3 mix(bvec3, bvec3, bvec3);"
 3753|      5|                              "bvec4 mix(bvec4, bvec4, bvec4);"
 3754|       |
 3755|      5|                              "\n");
 3756|      5|    }
 3757|       |
 3758|       |    // GL_AMD_gpu_shader_half_float/Explicit types
 3759|    115|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (3759:10): [True: 115, False: 0]
  |  Branch (3759:35): [True: 11, False: 104]
  |  Branch (3759:55): [True: 0, False: 104]
  |  Branch (3759:80): [True: 0, False: 0]
  ------------------
 3760|     11|        commonBuiltins.append(
 3761|     11|            "float16_t radians(float16_t);"
 3762|     11|            "f16vec2   radians(f16vec2);"
 3763|     11|            "f16vec3   radians(f16vec3);"
 3764|     11|            "f16vec4   radians(f16vec4);"
 3765|       |
 3766|     11|            "float16_t degrees(float16_t);"
 3767|     11|            "f16vec2   degrees(f16vec2);"
 3768|     11|            "f16vec3   degrees(f16vec3);"
 3769|     11|            "f16vec4   degrees(f16vec4);"
 3770|       |
 3771|     11|            "float16_t sin(float16_t);"
 3772|     11|            "f16vec2   sin(f16vec2);"
 3773|     11|            "f16vec3   sin(f16vec3);"
 3774|     11|            "f16vec4   sin(f16vec4);"
 3775|       |
 3776|     11|            "float16_t cos(float16_t);"
 3777|     11|            "f16vec2   cos(f16vec2);"
 3778|     11|            "f16vec3   cos(f16vec3);"
 3779|     11|            "f16vec4   cos(f16vec4);"
 3780|       |
 3781|     11|            "float16_t tan(float16_t);"
 3782|     11|            "f16vec2   tan(f16vec2);"
 3783|     11|            "f16vec3   tan(f16vec3);"
 3784|     11|            "f16vec4   tan(f16vec4);"
 3785|       |
 3786|     11|            "float16_t asin(float16_t);"
 3787|     11|            "f16vec2   asin(f16vec2);"
 3788|     11|            "f16vec3   asin(f16vec3);"
 3789|     11|            "f16vec4   asin(f16vec4);"
 3790|       |
 3791|     11|            "float16_t acos(float16_t);"
 3792|     11|            "f16vec2   acos(f16vec2);"
 3793|     11|            "f16vec3   acos(f16vec3);"
 3794|     11|            "f16vec4   acos(f16vec4);"
 3795|       |
 3796|     11|            "float16_t atan(float16_t, float16_t);"
 3797|     11|            "f16vec2   atan(f16vec2,   f16vec2);"
 3798|     11|            "f16vec3   atan(f16vec3,   f16vec3);"
 3799|     11|            "f16vec4   atan(f16vec4,   f16vec4);"
 3800|       |
 3801|     11|            "float16_t atan(float16_t);"
 3802|     11|            "f16vec2   atan(f16vec2);"
 3803|     11|            "f16vec3   atan(f16vec3);"
 3804|     11|            "f16vec4   atan(f16vec4);"
 3805|       |
 3806|     11|            "float16_t sinh(float16_t);"
 3807|     11|            "f16vec2   sinh(f16vec2);"
 3808|     11|            "f16vec3   sinh(f16vec3);"
 3809|     11|            "f16vec4   sinh(f16vec4);"
 3810|       |
 3811|     11|            "float16_t cosh(float16_t);"
 3812|     11|            "f16vec2   cosh(f16vec2);"
 3813|     11|            "f16vec3   cosh(f16vec3);"
 3814|     11|            "f16vec4   cosh(f16vec4);"
 3815|       |
 3816|     11|            "float16_t tanh(float16_t);"
 3817|     11|            "f16vec2   tanh(f16vec2);"
 3818|     11|            "f16vec3   tanh(f16vec3);"
 3819|     11|            "f16vec4   tanh(f16vec4);"
 3820|       |
 3821|     11|            "float16_t asinh(float16_t);"
 3822|     11|            "f16vec2   asinh(f16vec2);"
 3823|     11|            "f16vec3   asinh(f16vec3);"
 3824|     11|            "f16vec4   asinh(f16vec4);"
 3825|       |
 3826|     11|            "float16_t acosh(float16_t);"
 3827|     11|            "f16vec2   acosh(f16vec2);"
 3828|     11|            "f16vec3   acosh(f16vec3);"
 3829|     11|            "f16vec4   acosh(f16vec4);"
 3830|       |
 3831|     11|            "float16_t atanh(float16_t);"
 3832|     11|            "f16vec2   atanh(f16vec2);"
 3833|     11|            "f16vec3   atanh(f16vec3);"
 3834|     11|            "f16vec4   atanh(f16vec4);"
 3835|       |
 3836|     11|            "float16_t pow(float16_t, float16_t);"
 3837|     11|            "f16vec2   pow(f16vec2,   f16vec2);"
 3838|     11|            "f16vec3   pow(f16vec3,   f16vec3);"
 3839|     11|            "f16vec4   pow(f16vec4,   f16vec4);"
 3840|       |
 3841|     11|            "float16_t exp(float16_t);"
 3842|     11|            "f16vec2   exp(f16vec2);"
 3843|     11|            "f16vec3   exp(f16vec3);"
 3844|     11|            "f16vec4   exp(f16vec4);"
 3845|       |
 3846|     11|            "float16_t log(float16_t);"
 3847|     11|            "f16vec2   log(f16vec2);"
 3848|     11|            "f16vec3   log(f16vec3);"
 3849|     11|            "f16vec4   log(f16vec4);"
 3850|       |
 3851|     11|            "float16_t exp2(float16_t);"
 3852|     11|            "f16vec2   exp2(f16vec2);"
 3853|     11|            "f16vec3   exp2(f16vec3);"
 3854|     11|            "f16vec4   exp2(f16vec4);"
 3855|       |
 3856|     11|            "float16_t log2(float16_t);"
 3857|     11|            "f16vec2   log2(f16vec2);"
 3858|     11|            "f16vec3   log2(f16vec3);"
 3859|     11|            "f16vec4   log2(f16vec4);"
 3860|       |
 3861|     11|            "float16_t sqrt(float16_t);"
 3862|     11|            "f16vec2   sqrt(f16vec2);"
 3863|     11|            "f16vec3   sqrt(f16vec3);"
 3864|     11|            "f16vec4   sqrt(f16vec4);"
 3865|       |
 3866|     11|            "float16_t inversesqrt(float16_t);"
 3867|     11|            "f16vec2   inversesqrt(f16vec2);"
 3868|     11|            "f16vec3   inversesqrt(f16vec3);"
 3869|     11|            "f16vec4   inversesqrt(f16vec4);"
 3870|       |
 3871|     11|            "float16_t abs(float16_t);"
 3872|     11|            "f16vec2   abs(f16vec2);"
 3873|     11|            "f16vec3   abs(f16vec3);"
 3874|     11|            "f16vec4   abs(f16vec4);"
 3875|       |
 3876|     11|            "float16_t sign(float16_t);"
 3877|     11|            "f16vec2   sign(f16vec2);"
 3878|     11|            "f16vec3   sign(f16vec3);"
 3879|     11|            "f16vec4   sign(f16vec4);"
 3880|       |
 3881|     11|            "float16_t floor(float16_t);"
 3882|     11|            "f16vec2   floor(f16vec2);"
 3883|     11|            "f16vec3   floor(f16vec3);"
 3884|     11|            "f16vec4   floor(f16vec4);"
 3885|       |
 3886|     11|            "float16_t trunc(float16_t);"
 3887|     11|            "f16vec2   trunc(f16vec2);"
 3888|     11|            "f16vec3   trunc(f16vec3);"
 3889|     11|            "f16vec4   trunc(f16vec4);"
 3890|       |
 3891|     11|            "float16_t round(float16_t);"
 3892|     11|            "f16vec2   round(f16vec2);"
 3893|     11|            "f16vec3   round(f16vec3);"
 3894|     11|            "f16vec4   round(f16vec4);"
 3895|       |
 3896|     11|            "float16_t roundEven(float16_t);"
 3897|     11|            "f16vec2   roundEven(f16vec2);"
 3898|     11|            "f16vec3   roundEven(f16vec3);"
 3899|     11|            "f16vec4   roundEven(f16vec4);"
 3900|       |
 3901|     11|            "float16_t ceil(float16_t);"
 3902|     11|            "f16vec2   ceil(f16vec2);"
 3903|     11|            "f16vec3   ceil(f16vec3);"
 3904|     11|            "f16vec4   ceil(f16vec4);"
 3905|       |
 3906|     11|            "float16_t fract(float16_t);"
 3907|     11|            "f16vec2   fract(f16vec2);"
 3908|     11|            "f16vec3   fract(f16vec3);"
 3909|     11|            "f16vec4   fract(f16vec4);"
 3910|       |
 3911|     11|            "float16_t mod(float16_t, float16_t);"
 3912|     11|            "f16vec2   mod(f16vec2,   float16_t);"
 3913|     11|            "f16vec3   mod(f16vec3,   float16_t);"
 3914|     11|            "f16vec4   mod(f16vec4,   float16_t);"
 3915|     11|            "f16vec2   mod(f16vec2,   f16vec2);"
 3916|     11|            "f16vec3   mod(f16vec3,   f16vec3);"
 3917|     11|            "f16vec4   mod(f16vec4,   f16vec4);"
 3918|       |
 3919|     11|            "float16_t modf(float16_t, out float16_t);"
 3920|     11|            "f16vec2   modf(f16vec2,   out f16vec2);"
 3921|     11|            "f16vec3   modf(f16vec3,   out f16vec3);"
 3922|     11|            "f16vec4   modf(f16vec4,   out f16vec4);"
 3923|       |
 3924|     11|            "float16_t min(float16_t, float16_t);"
 3925|     11|            "f16vec2   min(f16vec2,   float16_t);"
 3926|     11|            "f16vec3   min(f16vec3,   float16_t);"
 3927|     11|            "f16vec4   min(f16vec4,   float16_t);"
 3928|     11|            "f16vec2   min(f16vec2,   f16vec2);"
 3929|     11|            "f16vec3   min(f16vec3,   f16vec3);"
 3930|     11|            "f16vec4   min(f16vec4,   f16vec4);"
 3931|       |
 3932|     11|            "float16_t max(float16_t, float16_t);"
 3933|     11|            "f16vec2   max(f16vec2,   float16_t);"
 3934|     11|            "f16vec3   max(f16vec3,   float16_t);"
 3935|     11|            "f16vec4   max(f16vec4,   float16_t);"
 3936|     11|            "f16vec2   max(f16vec2,   f16vec2);"
 3937|     11|            "f16vec3   max(f16vec3,   f16vec3);"
 3938|     11|            "f16vec4   max(f16vec4,   f16vec4);"
 3939|       |
 3940|     11|            "float16_t clamp(float16_t, float16_t, float16_t);"
 3941|     11|            "f16vec2   clamp(f16vec2,   float16_t, float16_t);"
 3942|     11|            "f16vec3   clamp(f16vec3,   float16_t, float16_t);"
 3943|     11|            "f16vec4   clamp(f16vec4,   float16_t, float16_t);"
 3944|     11|            "f16vec2   clamp(f16vec2,   f16vec2,   f16vec2);"
 3945|     11|            "f16vec3   clamp(f16vec3,   f16vec3,   f16vec3);"
 3946|     11|            "f16vec4   clamp(f16vec4,   f16vec4,   f16vec4);"
 3947|       |
 3948|     11|            "float16_t mix(float16_t, float16_t, float16_t);"
 3949|     11|            "f16vec2   mix(f16vec2,   f16vec2,   float16_t);"
 3950|     11|            "f16vec3   mix(f16vec3,   f16vec3,   float16_t);"
 3951|     11|            "f16vec4   mix(f16vec4,   f16vec4,   float16_t);"
 3952|     11|            "f16vec2   mix(f16vec2,   f16vec2,   f16vec2);"
 3953|     11|            "f16vec3   mix(f16vec3,   f16vec3,   f16vec3);"
 3954|     11|            "f16vec4   mix(f16vec4,   f16vec4,   f16vec4);"
 3955|     11|            "float16_t mix(float16_t, float16_t, bool);"
 3956|     11|            "f16vec2   mix(f16vec2,   f16vec2,   bvec2);"
 3957|     11|            "f16vec3   mix(f16vec3,   f16vec3,   bvec3);"
 3958|     11|            "f16vec4   mix(f16vec4,   f16vec4,   bvec4);"
 3959|       |
 3960|     11|            "float16_t step(float16_t, float16_t);"
 3961|     11|            "f16vec2   step(f16vec2,   f16vec2);"
 3962|     11|            "f16vec3   step(f16vec3,   f16vec3);"
 3963|     11|            "f16vec4   step(f16vec4,   f16vec4);"
 3964|     11|            "f16vec2   step(float16_t, f16vec2);"
 3965|     11|            "f16vec3   step(float16_t, f16vec3);"
 3966|     11|            "f16vec4   step(float16_t, f16vec4);"
 3967|       |
 3968|     11|            "float16_t smoothstep(float16_t, float16_t, float16_t);"
 3969|     11|            "f16vec2   smoothstep(f16vec2,   f16vec2,   f16vec2);"
 3970|     11|            "f16vec3   smoothstep(f16vec3,   f16vec3,   f16vec3);"
 3971|     11|            "f16vec4   smoothstep(f16vec4,   f16vec4,   f16vec4);"
 3972|     11|            "f16vec2   smoothstep(float16_t, float16_t, f16vec2);"
 3973|     11|            "f16vec3   smoothstep(float16_t, float16_t, f16vec3);"
 3974|     11|            "f16vec4   smoothstep(float16_t, float16_t, f16vec4);"
 3975|       |
 3976|     11|            "bool  isnan(float16_t);"
 3977|     11|            "bvec2 isnan(f16vec2);"
 3978|     11|            "bvec3 isnan(f16vec3);"
 3979|     11|            "bvec4 isnan(f16vec4);"
 3980|       |
 3981|     11|            "bool  isinf(float16_t);"
 3982|     11|            "bvec2 isinf(f16vec2);"
 3983|     11|            "bvec3 isinf(f16vec3);"
 3984|     11|            "bvec4 isinf(f16vec4);"
 3985|       |
 3986|     11|            "float16_t fma(float16_t, float16_t, float16_t);"
 3987|     11|            "f16vec2   fma(f16vec2,   f16vec2,   f16vec2);"
 3988|     11|            "f16vec3   fma(f16vec3,   f16vec3,   f16vec3);"
 3989|     11|            "f16vec4   fma(f16vec4,   f16vec4,   f16vec4);"
 3990|       |
 3991|     11|            "float16_t frexp(float16_t, out int);"
 3992|     11|            "f16vec2   frexp(f16vec2,   out ivec2);"
 3993|     11|            "f16vec3   frexp(f16vec3,   out ivec3);"
 3994|     11|            "f16vec4   frexp(f16vec4,   out ivec4);"
 3995|       |
 3996|     11|            "float16_t ldexp(float16_t, in int);"
 3997|     11|            "f16vec2   ldexp(f16vec2,   in ivec2);"
 3998|     11|            "f16vec3   ldexp(f16vec3,   in ivec3);"
 3999|     11|            "f16vec4   ldexp(f16vec4,   in ivec4);"
 4000|       |
 4001|     11|            "uint    packFloat2x16(f16vec2);"
 4002|     11|            "f16vec2 unpackFloat2x16(uint);"
 4003|       |
 4004|     11|            "float16_t length(float16_t);"
 4005|     11|            "float16_t length(f16vec2);"
 4006|     11|            "float16_t length(f16vec3);"
 4007|     11|            "float16_t length(f16vec4);"
 4008|       |
 4009|     11|            "float16_t distance(float16_t, float16_t);"
 4010|     11|            "float16_t distance(f16vec2,   f16vec2);"
 4011|     11|            "float16_t distance(f16vec3,   f16vec3);"
 4012|     11|            "float16_t distance(f16vec4,   f16vec4);"
 4013|       |
 4014|     11|            "float16_t dot(float16_t, float16_t);"
 4015|     11|            "float16_t dot(f16vec2,   f16vec2);"
 4016|     11|            "float16_t dot(f16vec3,   f16vec3);"
 4017|     11|            "float16_t dot(f16vec4,   f16vec4);"
 4018|       |
 4019|     11|            "f16vec3 cross(f16vec3, f16vec3);"
 4020|       |
 4021|     11|            "float16_t normalize(float16_t);"
 4022|     11|            "f16vec2   normalize(f16vec2);"
 4023|     11|            "f16vec3   normalize(f16vec3);"
 4024|     11|            "f16vec4   normalize(f16vec4);"
 4025|       |
 4026|     11|            "float16_t faceforward(float16_t, float16_t, float16_t);"
 4027|     11|            "f16vec2   faceforward(f16vec2,   f16vec2,   f16vec2);"
 4028|     11|            "f16vec3   faceforward(f16vec3,   f16vec3,   f16vec3);"
 4029|     11|            "f16vec4   faceforward(f16vec4,   f16vec4,   f16vec4);"
 4030|       |
 4031|     11|            "float16_t reflect(float16_t, float16_t);"
 4032|     11|            "f16vec2   reflect(f16vec2,   f16vec2);"
 4033|     11|            "f16vec3   reflect(f16vec3,   f16vec3);"
 4034|     11|            "f16vec4   reflect(f16vec4,   f16vec4);"
 4035|       |
 4036|     11|            "float16_t refract(float16_t, float16_t, float16_t);"
 4037|     11|            "f16vec2   refract(f16vec2,   f16vec2,   float16_t);"
 4038|     11|            "f16vec3   refract(f16vec3,   f16vec3,   float16_t);"
 4039|     11|            "f16vec4   refract(f16vec4,   f16vec4,   float16_t);"
 4040|       |
 4041|     11|            "f16mat2   matrixCompMult(f16mat2,   f16mat2);"
 4042|     11|            "f16mat3   matrixCompMult(f16mat3,   f16mat3);"
 4043|     11|            "f16mat4   matrixCompMult(f16mat4,   f16mat4);"
 4044|     11|            "f16mat2x3 matrixCompMult(f16mat2x3, f16mat2x3);"
 4045|     11|            "f16mat2x4 matrixCompMult(f16mat2x4, f16mat2x4);"
 4046|     11|            "f16mat3x2 matrixCompMult(f16mat3x2, f16mat3x2);"
 4047|     11|            "f16mat3x4 matrixCompMult(f16mat3x4, f16mat3x4);"
 4048|     11|            "f16mat4x2 matrixCompMult(f16mat4x2, f16mat4x2);"
 4049|     11|            "f16mat4x3 matrixCompMult(f16mat4x3, f16mat4x3);"
 4050|       |
 4051|     11|            "f16mat2   outerProduct(f16vec2, f16vec2);"
 4052|     11|            "f16mat3   outerProduct(f16vec3, f16vec3);"
 4053|     11|            "f16mat4   outerProduct(f16vec4, f16vec4);"
 4054|     11|            "f16mat2x3 outerProduct(f16vec3, f16vec2);"
 4055|     11|            "f16mat3x2 outerProduct(f16vec2, f16vec3);"
 4056|     11|            "f16mat2x4 outerProduct(f16vec4, f16vec2);"
 4057|     11|            "f16mat4x2 outerProduct(f16vec2, f16vec4);"
 4058|     11|            "f16mat3x4 outerProduct(f16vec4, f16vec3);"
 4059|     11|            "f16mat4x3 outerProduct(f16vec3, f16vec4);"
 4060|       |
 4061|     11|            "f16mat2   transpose(f16mat2);"
 4062|     11|            "f16mat3   transpose(f16mat3);"
 4063|     11|            "f16mat4   transpose(f16mat4);"
 4064|     11|            "f16mat2x3 transpose(f16mat3x2);"
 4065|     11|            "f16mat3x2 transpose(f16mat2x3);"
 4066|     11|            "f16mat2x4 transpose(f16mat4x2);"
 4067|     11|            "f16mat4x2 transpose(f16mat2x4);"
 4068|     11|            "f16mat3x4 transpose(f16mat4x3);"
 4069|     11|            "f16mat4x3 transpose(f16mat3x4);"
 4070|       |
 4071|     11|            "float16_t determinant(f16mat2);"
 4072|     11|            "float16_t determinant(f16mat3);"
 4073|     11|            "float16_t determinant(f16mat4);"
 4074|       |
 4075|     11|            "f16mat2 inverse(f16mat2);"
 4076|     11|            "f16mat3 inverse(f16mat3);"
 4077|     11|            "f16mat4 inverse(f16mat4);"
 4078|       |
 4079|     11|            "bvec2 lessThan(f16vec2, f16vec2);"
 4080|     11|            "bvec3 lessThan(f16vec3, f16vec3);"
 4081|     11|            "bvec4 lessThan(f16vec4, f16vec4);"
 4082|       |
 4083|     11|            "bvec2 lessThanEqual(f16vec2, f16vec2);"
 4084|     11|            "bvec3 lessThanEqual(f16vec3, f16vec3);"
 4085|     11|            "bvec4 lessThanEqual(f16vec4, f16vec4);"
 4086|       |
 4087|     11|            "bvec2 greaterThan(f16vec2, f16vec2);"
 4088|     11|            "bvec3 greaterThan(f16vec3, f16vec3);"
 4089|     11|            "bvec4 greaterThan(f16vec4, f16vec4);"
 4090|       |
 4091|     11|            "bvec2 greaterThanEqual(f16vec2, f16vec2);"
 4092|     11|            "bvec3 greaterThanEqual(f16vec3, f16vec3);"
 4093|     11|            "bvec4 greaterThanEqual(f16vec4, f16vec4);"
 4094|       |
 4095|     11|            "bvec2 equal(f16vec2, f16vec2);"
 4096|     11|            "bvec3 equal(f16vec3, f16vec3);"
 4097|     11|            "bvec4 equal(f16vec4, f16vec4);"
 4098|       |
 4099|     11|            "bvec2 notEqual(f16vec2, f16vec2);"
 4100|     11|            "bvec3 notEqual(f16vec3, f16vec3);"
 4101|     11|            "bvec4 notEqual(f16vec4, f16vec4);"
 4102|       |
 4103|     11|            "bfloat16_t dot(bfloat16_t, bfloat16_t);"
 4104|     11|            "bfloat16_t dot(bf16vec2,   bf16vec2);"
 4105|     11|            "bfloat16_t dot(bf16vec3,   bf16vec3);"
 4106|     11|            "bfloat16_t dot(bf16vec4,   bf16vec4);"
 4107|       |
 4108|     11|            "int16_t  bfloat16BitsToIntEXT(bfloat16_t value);"
 4109|     11|            "i16vec2  bfloat16BitsToIntEXT(bf16vec2 value);"
 4110|     11|            "i16vec3  bfloat16BitsToIntEXT(bf16vec3 value);"
 4111|     11|            "i16vec4  bfloat16BitsToIntEXT(bf16vec4 value);"
 4112|       |
 4113|     11|            "uint16_t bfloat16BitsToUintEXT(bfloat16_t value);"
 4114|     11|            "u16vec2  bfloat16BitsToUintEXT(bf16vec2 value);"
 4115|     11|            "u16vec3  bfloat16BitsToUintEXT(bf16vec3 value);"
 4116|     11|            "u16vec4  bfloat16BitsToUintEXT(bf16vec4 value);"
 4117|       |
 4118|     11|            "bfloat16_t intBitsToBFloat16EXT(int16_t value);"
 4119|     11|            "bf16vec2   intBitsToBFloat16EXT(i16vec2 value);"
 4120|     11|            "bf16vec3   intBitsToBFloat16EXT(i16vec3 value);"
 4121|     11|            "bf16vec4   intBitsToBFloat16EXT(i16vec4 value);"
 4122|       |
 4123|     11|            "bfloat16_t uintBitsToBFloat16EXT(uint16_t value);"
 4124|     11|            "bf16vec2   uintBitsToBFloat16EXT(u16vec2 value);"
 4125|     11|            "bf16vec3   uintBitsToBFloat16EXT(u16vec3 value);"
 4126|     11|            "bf16vec4   uintBitsToBFloat16EXT(u16vec4 value);"
 4127|       |
 4128|     11|            "int8_t  floate5m2BitsToIntEXT(floate5m2_t value);"
 4129|     11|            "i8vec2  floate5m2BitsToIntEXT(fe5m2vec2 value);"
 4130|     11|            "i8vec3  floate5m2BitsToIntEXT(fe5m2vec3 value);"
 4131|     11|            "i8vec4  floate5m2BitsToIntEXT(fe5m2vec4 value);"
 4132|       |
 4133|     11|            "uint8_t floate5m2BitsToUintEXT(floate5m2_t value);"
 4134|     11|            "u8vec2  floate5m2BitsToUintEXT(fe5m2vec2 value);"
 4135|     11|            "u8vec3  floate5m2BitsToUintEXT(fe5m2vec3 value);"
 4136|     11|            "u8vec4  floate5m2BitsToUintEXT(fe5m2vec4 value);"
 4137|       |
 4138|     11|            "floate5m2_t intBitsToFloate5m2EXT(int8_t value);"
 4139|     11|            "fe5m2vec2   intBitsToFloate5m2EXT(i8vec2 value);"
 4140|     11|            "fe5m2vec3   intBitsToFloate5m2EXT(i8vec3 value);"
 4141|     11|            "fe5m2vec4   intBitsToFloate5m2EXT(i8vec4 value);"
 4142|       |
 4143|     11|            "floate5m2_t uintBitsToFloate5m2EXT(uint8_t value);"
 4144|     11|            "fe5m2vec2   uintBitsToFloate5m2EXT(u8vec2 value);"
 4145|     11|            "fe5m2vec3   uintBitsToFloate5m2EXT(u8vec3 value);"
 4146|     11|            "fe5m2vec4   uintBitsToFloate5m2EXT(u8vec4 value);"
 4147|       |
 4148|     11|            "int8_t  floate4m3BitsToIntEXT(floate4m3_t value);"
 4149|     11|            "i8vec2  floate4m3BitsToIntEXT(fe4m3vec2 value);"
 4150|     11|            "i8vec3  floate4m3BitsToIntEXT(fe4m3vec3 value);"
 4151|     11|            "i8vec4  floate4m3BitsToIntEXT(fe4m3vec4 value);"
 4152|       |
 4153|     11|            "uint8_t floate4m3BitsToUintEXT(floate4m3_t value);"
 4154|     11|            "u8vec2  floate4m3BitsToUintEXT(fe4m3vec2 value);"
 4155|     11|            "u8vec3  floate4m3BitsToUintEXT(fe4m3vec3 value);"
 4156|     11|            "u8vec4  floate4m3BitsToUintEXT(fe4m3vec4 value);"
 4157|       |
 4158|     11|            "floate4m3_t intBitsToFloate4m3EXT(int8_t value);"
 4159|     11|            "fe4m3vec2   intBitsToFloate4m3EXT(i8vec2 value);"
 4160|     11|            "fe4m3vec3   intBitsToFloate4m3EXT(i8vec3 value);"
 4161|     11|            "fe4m3vec4   intBitsToFloate4m3EXT(i8vec4 value);"
 4162|       |
 4163|     11|            "floate4m3_t uintBitsToFloate4m3EXT(uint8_t value);"
 4164|     11|            "fe4m3vec2   uintBitsToFloate4m3EXT(u8vec2 value);"
 4165|     11|            "fe4m3vec3   uintBitsToFloate4m3EXT(u8vec3 value);"
 4166|     11|            "fe4m3vec4   uintBitsToFloate4m3EXT(u8vec4 value);"
 4167|       |
 4168|     11|            "void saturatedConvertEXT();"
 4169|       |
 4170|     11|            "int8_t  floatue8m0BitsToIntEXT(floatue8m0_t value);"
 4171|     11|            "i8vec2  floatue8m0BitsToIntEXT(fue8m0vec2 value);"
 4172|     11|            "i8vec3  floatue8m0BitsToIntEXT(fue8m0vec3 value);"
 4173|     11|            "i8vec4  floatue8m0BitsToIntEXT(fue8m0vec4 value);"
 4174|       |
 4175|     11|            "uint8_t floatue8m0BitsToUintEXT(floatue8m0_t value);"
 4176|     11|            "u8vec2  floatue8m0BitsToUintEXT(fue8m0vec2 value);"
 4177|     11|            "u8vec3  floatue8m0BitsToUintEXT(fue8m0vec3 value);"
 4178|     11|            "u8vec4  floatue8m0BitsToUintEXT(fue8m0vec4 value);"
 4179|       |
 4180|     11|            "floatue8m0_t intBitsToFloatue8m0EXT(int8_t value);"
 4181|     11|            "fue8m0vec2   intBitsToFloatue8m0EXT(i8vec2 value);"
 4182|     11|            "fue8m0vec3   intBitsToFloatue8m0EXT(i8vec3 value);"
 4183|     11|            "fue8m0vec4   intBitsToFloatue8m0EXT(i8vec4 value);"
 4184|       |
 4185|     11|            "floatue8m0_t uintBitsToFloatue8m0EXT(uint8_t value);"
 4186|     11|            "fue8m0vec2   uintBitsToFloatue8m0EXT(u8vec2 value);"
 4187|     11|            "fue8m0vec3   uintBitsToFloatue8m0EXT(u8vec3 value);"
 4188|     11|            "fue8m0vec4   uintBitsToFloatue8m0EXT(u8vec4 value);"
 4189|       |
 4190|     11|            "int8_t  floatmxint8BitsToIntEXT(floatmxint8_t value);"
 4191|     11|            "i8vec2  floatmxint8BitsToIntEXT(fmxint8vec2 value);"
 4192|     11|            "i8vec3  floatmxint8BitsToIntEXT(fmxint8vec3 value);"
 4193|     11|            "i8vec4  floatmxint8BitsToIntEXT(fmxint8vec4 value);"
 4194|       |
 4195|     11|            "uint8_t floatmxint8BitsToUintEXT(floatmxint8_t value);"
 4196|     11|            "u8vec2  floatmxint8BitsToUintEXT(fmxint8vec2 value);"
 4197|     11|            "u8vec3  floatmxint8BitsToUintEXT(fmxint8vec3 value);"
 4198|     11|            "u8vec4  floatmxint8BitsToUintEXT(fmxint8vec4 value);"
 4199|       |
 4200|     11|            "floatmxint8_t intBitsToFloatmxint8EXT(int8_t value);"
 4201|     11|            "fmxint8vec2   intBitsToFloatmxint8EXT(i8vec2 value);"
 4202|     11|            "fmxint8vec3   intBitsToFloatmxint8EXT(i8vec3 value);"
 4203|     11|            "fmxint8vec4   intBitsToFloatmxint8EXT(i8vec4 value);"
 4204|       |
 4205|     11|            "floatmxint8_t uintBitsToFloatmxint8EXT(uint8_t value);"
 4206|     11|            "fmxint8vec2   uintBitsToFloatmxint8EXT(u8vec2 value);"
 4207|     11|            "fmxint8vec3   uintBitsToFloatmxint8EXT(u8vec3 value);"
 4208|     11|            "fmxint8vec4   uintBitsToFloatmxint8EXT(u8vec4 value);"
 4209|       |
 4210|     11|            "fe2m1vec2               unpackFloat2xfe2m1EXT(uint8_t value);"
 4211|     11|            "fe2m1vec4               unpackFloat4xfe2m1EXT(uint16_t value);"
 4212|     11|            "vector<floate2m1_t, 8>  unpackFloat8xfe2m1EXT(uint32_t value);"
 4213|     11|            "vector<floate2m1_t, 16> unpackFloat16xfe2m1EXT(u32vec2 value);"
 4214|       |
 4215|     11|            "uint8_t                 packFloat2xfe2m1EXT(fe2m1vec2 value);"
 4216|     11|            "uint16_t                packFloat4xfe2m1EXT(fe2m1vec4 value);"
 4217|     11|            "uint32_t                packFloat8xfe2m1EXT(vector<floate2m1_t, 8> value);"
 4218|     11|            "u32vec2                 packFloat16xfe2m1EXT(vector<floate2m1_t, 16> value);"
 4219|       |
 4220|     11|            "fe3m2vec4               unpackFloat4xfe3m2EXT(u8vec3 value);"
 4221|     11|            "vector<floate3m2_t, 8>  unpackFloat8xfe3m2EXT(u16vec3 value);"
 4222|     11|            "vector<floate3m2_t, 16> unpackFloat16xfe3m2EXT(u32vec3 value);"
 4223|       |
 4224|     11|            "u8vec3                  packFloat4xfe3m2EXT(fe3m2vec4 value);"
 4225|     11|            "u16vec3                 packFloat8xfe3m2EXT(vector<floate3m2_t, 8> value);"
 4226|     11|            "u32vec3                 packFloat16xfe3m2EXT(vector<floate3m2_t, 16> value);"
 4227|       |
 4228|     11|            "fe2m3vec4               unpackFloat4xfe2m3EXT(u8vec3 value);"
 4229|     11|            "vector<floate2m3_t, 8>  unpackFloat8xfe2m3EXT(u16vec3 value);"
 4230|     11|            "vector<floate2m3_t, 16> unpackFloat16xfe2m3EXT(u32vec3 value);"
 4231|       |
 4232|     11|            "u8vec3                  packFloat4xfe2m3EXT(fe2m3vec4 value);"
 4233|     11|            "u16vec3                 packFloat8xfe2m3EXT(vector<floate2m3_t, 8> value);"
 4234|     11|            "u32vec3                 packFloat16xfe2m3EXT(vector<floate2m3_t, 16> value);"
 4235|       |
 4236|     11|            "floate2m1_t             bitcastExtractfe2m1EXT(uint8_t, uint);"
 4237|     11|            "fe2m1vec2               bitcastExtractfe2m1EXT(u8vec2, uint);"
 4238|     11|            "fe2m1vec3               bitcastExtractfe2m1EXT(u8vec3, uint);"
 4239|     11|            "fe2m1vec4               bitcastExtractfe2m1EXT(u8vec4, uint);"
 4240|       |
 4241|     11|            "floate3m2_t             bitcastExtractfe3m2EXT(uint8_t, uint);"
 4242|     11|            "fe3m2vec2               bitcastExtractfe3m2EXT(u8vec2, uint);"
 4243|     11|            "fe3m2vec3               bitcastExtractfe3m2EXT(u8vec3, uint);"
 4244|     11|            "fe3m2vec4               bitcastExtractfe3m2EXT(u8vec4, uint);"
 4245|       |
 4246|     11|            "floate2m3_t             bitcastExtractfe2m3EXT(uint8_t, uint);"
 4247|     11|            "fe2m3vec2               bitcastExtractfe2m3EXT(u8vec2, uint);"
 4248|     11|            "fe2m3vec3               bitcastExtractfe2m3EXT(u8vec3, uint);"
 4249|     11|            "fe2m3vec4               bitcastExtractfe2m3EXT(u8vec4, uint);"
 4250|       |
 4251|     11|            "\n");
 4252|     11|    }
 4253|       |
 4254|       |    // Explicit types
 4255|    115|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (4255:10): [True: 115, False: 0]
  |  Branch (4255:35): [True: 11, False: 104]
  |  Branch (4255:55): [True: 0, False: 104]
  |  Branch (4255:80): [True: 0, False: 0]
  ------------------
 4256|     11|        commonBuiltins.append(
 4257|     11|            "int8_t abs(int8_t);"
 4258|     11|            "i8vec2 abs(i8vec2);"
 4259|     11|            "i8vec3 abs(i8vec3);"
 4260|     11|            "i8vec4 abs(i8vec4);"
 4261|       |
 4262|     11|            "int8_t sign(int8_t);"
 4263|     11|            "i8vec2 sign(i8vec2);"
 4264|     11|            "i8vec3 sign(i8vec3);"
 4265|     11|            "i8vec4 sign(i8vec4);"
 4266|       |
 4267|     11|            "int8_t min(int8_t x, int8_t y);"
 4268|     11|            "i8vec2 min(i8vec2 x, int8_t y);"
 4269|     11|            "i8vec3 min(i8vec3 x, int8_t y);"
 4270|     11|            "i8vec4 min(i8vec4 x, int8_t y);"
 4271|     11|            "i8vec2 min(i8vec2 x, i8vec2 y);"
 4272|     11|            "i8vec3 min(i8vec3 x, i8vec3 y);"
 4273|     11|            "i8vec4 min(i8vec4 x, i8vec4 y);"
 4274|       |
 4275|     11|            "uint8_t min(uint8_t x, uint8_t y);"
 4276|     11|            "u8vec2 min(u8vec2 x, uint8_t y);"
 4277|     11|            "u8vec3 min(u8vec3 x, uint8_t y);"
 4278|     11|            "u8vec4 min(u8vec4 x, uint8_t y);"
 4279|     11|            "u8vec2 min(u8vec2 x, u8vec2 y);"
 4280|     11|            "u8vec3 min(u8vec3 x, u8vec3 y);"
 4281|     11|            "u8vec4 min(u8vec4 x, u8vec4 y);"
 4282|       |
 4283|     11|            "int8_t max(int8_t x, int8_t y);"
 4284|     11|            "i8vec2 max(i8vec2 x, int8_t y);"
 4285|     11|            "i8vec3 max(i8vec3 x, int8_t y);"
 4286|     11|            "i8vec4 max(i8vec4 x, int8_t y);"
 4287|     11|            "i8vec2 max(i8vec2 x, i8vec2 y);"
 4288|     11|            "i8vec3 max(i8vec3 x, i8vec3 y);"
 4289|     11|            "i8vec4 max(i8vec4 x, i8vec4 y);"
 4290|       |
 4291|     11|            "uint8_t max(uint8_t x, uint8_t y);"
 4292|     11|            "u8vec2 max(u8vec2 x, uint8_t y);"
 4293|     11|            "u8vec3 max(u8vec3 x, uint8_t y);"
 4294|     11|            "u8vec4 max(u8vec4 x, uint8_t y);"
 4295|     11|            "u8vec2 max(u8vec2 x, u8vec2 y);"
 4296|     11|            "u8vec3 max(u8vec3 x, u8vec3 y);"
 4297|     11|            "u8vec4 max(u8vec4 x, u8vec4 y);"
 4298|       |
 4299|     11|            "int8_t    clamp(int8_t x, int8_t minVal, int8_t maxVal);"
 4300|     11|            "i8vec2  clamp(i8vec2  x, int8_t minVal, int8_t maxVal);"
 4301|     11|            "i8vec3  clamp(i8vec3  x, int8_t minVal, int8_t maxVal);"
 4302|     11|            "i8vec4  clamp(i8vec4  x, int8_t minVal, int8_t maxVal);"
 4303|     11|            "i8vec2  clamp(i8vec2  x, i8vec2  minVal, i8vec2  maxVal);"
 4304|     11|            "i8vec3  clamp(i8vec3  x, i8vec3  minVal, i8vec3  maxVal);"
 4305|     11|            "i8vec4  clamp(i8vec4  x, i8vec4  minVal, i8vec4  maxVal);"
 4306|       |
 4307|     11|            "uint8_t   clamp(uint8_t x, uint8_t minVal, uint8_t maxVal);"
 4308|     11|            "u8vec2  clamp(u8vec2  x, uint8_t minVal, uint8_t maxVal);"
 4309|     11|            "u8vec3  clamp(u8vec3  x, uint8_t minVal, uint8_t maxVal);"
 4310|     11|            "u8vec4  clamp(u8vec4  x, uint8_t minVal, uint8_t maxVal);"
 4311|     11|            "u8vec2  clamp(u8vec2  x, u8vec2  minVal, u8vec2  maxVal);"
 4312|     11|            "u8vec3  clamp(u8vec3  x, u8vec3  minVal, u8vec3  maxVal);"
 4313|     11|            "u8vec4  clamp(u8vec4  x, u8vec4  minVal, u8vec4  maxVal);"
 4314|       |
 4315|     11|            "int8_t  mix(int8_t,  int8_t,  bool);"
 4316|     11|            "i8vec2  mix(i8vec2,  i8vec2,  bvec2);"
 4317|     11|            "i8vec3  mix(i8vec3,  i8vec3,  bvec3);"
 4318|     11|            "i8vec4  mix(i8vec4,  i8vec4,  bvec4);"
 4319|     11|            "uint8_t mix(uint8_t, uint8_t, bool);"
 4320|     11|            "u8vec2  mix(u8vec2,  u8vec2,  bvec2);"
 4321|     11|            "u8vec3  mix(u8vec3,  u8vec3,  bvec3);"
 4322|     11|            "u8vec4  mix(u8vec4,  u8vec4,  bvec4);"
 4323|       |
 4324|     11|            "bvec2 lessThan(i8vec2, i8vec2);"
 4325|     11|            "bvec3 lessThan(i8vec3, i8vec3);"
 4326|     11|            "bvec4 lessThan(i8vec4, i8vec4);"
 4327|     11|            "bvec2 lessThan(u8vec2, u8vec2);"
 4328|     11|            "bvec3 lessThan(u8vec3, u8vec3);"
 4329|     11|            "bvec4 lessThan(u8vec4, u8vec4);"
 4330|       |
 4331|     11|            "bvec2 lessThanEqual(i8vec2, i8vec2);"
 4332|     11|            "bvec3 lessThanEqual(i8vec3, i8vec3);"
 4333|     11|            "bvec4 lessThanEqual(i8vec4, i8vec4);"
 4334|     11|            "bvec2 lessThanEqual(u8vec2, u8vec2);"
 4335|     11|            "bvec3 lessThanEqual(u8vec3, u8vec3);"
 4336|     11|            "bvec4 lessThanEqual(u8vec4, u8vec4);"
 4337|       |
 4338|     11|            "bvec2 greaterThan(i8vec2, i8vec2);"
 4339|     11|            "bvec3 greaterThan(i8vec3, i8vec3);"
 4340|     11|            "bvec4 greaterThan(i8vec4, i8vec4);"
 4341|     11|            "bvec2 greaterThan(u8vec2, u8vec2);"
 4342|     11|            "bvec3 greaterThan(u8vec3, u8vec3);"
 4343|     11|            "bvec4 greaterThan(u8vec4, u8vec4);"
 4344|       |
 4345|     11|            "bvec2 greaterThanEqual(i8vec2, i8vec2);"
 4346|     11|            "bvec3 greaterThanEqual(i8vec3, i8vec3);"
 4347|     11|            "bvec4 greaterThanEqual(i8vec4, i8vec4);"
 4348|     11|            "bvec2 greaterThanEqual(u8vec2, u8vec2);"
 4349|     11|            "bvec3 greaterThanEqual(u8vec3, u8vec3);"
 4350|     11|            "bvec4 greaterThanEqual(u8vec4, u8vec4);"
 4351|       |
 4352|     11|            "bvec2 equal(i8vec2, i8vec2);"
 4353|     11|            "bvec3 equal(i8vec3, i8vec3);"
 4354|     11|            "bvec4 equal(i8vec4, i8vec4);"
 4355|     11|            "bvec2 equal(u8vec2, u8vec2);"
 4356|     11|            "bvec3 equal(u8vec3, u8vec3);"
 4357|     11|            "bvec4 equal(u8vec4, u8vec4);"
 4358|       |
 4359|     11|            "bvec2 notEqual(i8vec2, i8vec2);"
 4360|     11|            "bvec3 notEqual(i8vec3, i8vec3);"
 4361|     11|            "bvec4 notEqual(i8vec4, i8vec4);"
 4362|     11|            "bvec2 notEqual(u8vec2, u8vec2);"
 4363|     11|            "bvec3 notEqual(u8vec3, u8vec3);"
 4364|     11|            "bvec4 notEqual(u8vec4, u8vec4);"
 4365|       |
 4366|     11|            "  int8_t bitfieldExtract(  int8_t, int8_t, int8_t);"
 4367|     11|            "i8vec2 bitfieldExtract(i8vec2, int8_t, int8_t);"
 4368|     11|            "i8vec3 bitfieldExtract(i8vec3, int8_t, int8_t);"
 4369|     11|            "i8vec4 bitfieldExtract(i8vec4, int8_t, int8_t);"
 4370|       |
 4371|     11|            " uint8_t bitfieldExtract( uint8_t, int8_t, int8_t);"
 4372|     11|            "u8vec2 bitfieldExtract(u8vec2, int8_t, int8_t);"
 4373|     11|            "u8vec3 bitfieldExtract(u8vec3, int8_t, int8_t);"
 4374|     11|            "u8vec4 bitfieldExtract(u8vec4, int8_t, int8_t);"
 4375|       |
 4376|     11|            "  int8_t bitfieldInsert(  int8_t base,   int8_t, int8_t, int8_t);"
 4377|     11|            "i8vec2 bitfieldInsert(i8vec2 base, i8vec2, int8_t, int8_t);"
 4378|     11|            "i8vec3 bitfieldInsert(i8vec3 base, i8vec3, int8_t, int8_t);"
 4379|     11|            "i8vec4 bitfieldInsert(i8vec4 base, i8vec4, int8_t, int8_t);"
 4380|       |
 4381|     11|            " uint8_t bitfieldInsert( uint8_t base,  uint8_t, int8_t, int8_t);"
 4382|     11|            "u8vec2 bitfieldInsert(u8vec2 base, u8vec2, int8_t, int8_t);"
 4383|     11|            "u8vec3 bitfieldInsert(u8vec3 base, u8vec3, int8_t, int8_t);"
 4384|     11|            "u8vec4 bitfieldInsert(u8vec4 base, u8vec4, int8_t, int8_t);"
 4385|       |
 4386|     11|            "  int8_t bitCount(  int8_t);"
 4387|     11|            "i8vec2 bitCount(i8vec2);"
 4388|     11|            "i8vec3 bitCount(i8vec3);"
 4389|     11|            "i8vec4 bitCount(i8vec4);"
 4390|       |
 4391|     11|            "  int8_t bitCount( uint8_t);"
 4392|     11|            "i8vec2 bitCount(u8vec2);"
 4393|     11|            "i8vec3 bitCount(u8vec3);"
 4394|     11|            "i8vec4 bitCount(u8vec4);"
 4395|       |
 4396|     11|            "int8_t bitfieldReverse(highp int8_t);"
 4397|     11|            "i8vec2 bitfieldReverse(highp i8vec2);"
 4398|     11|            "i8vec3 bitfieldReverse(highp i8vec3);"
 4399|     11|            "i8vec4 bitfieldReverse(highp i8vec4);"
 4400|       |
 4401|     11|            "uint8_t bitfieldReverse(highp uint8_t);"
 4402|     11|            "u8vec2  bitfieldReverse(highp u8vec2);"
 4403|     11|            "u8vec3  bitfieldReverse(highp u8vec3);"
 4404|     11|            "u8vec4  bitfieldReverse(highp u8vec4);"
 4405|       |
 4406|     11|            "  int8_t findLSB(  int8_t);"
 4407|     11|            "i8vec2 findLSB(i8vec2);"
 4408|     11|            "i8vec3 findLSB(i8vec3);"
 4409|     11|            "i8vec4 findLSB(i8vec4);"
 4410|       |
 4411|     11|            "  int8_t findLSB( uint8_t);"
 4412|     11|            "i8vec2 findLSB(u8vec2);"
 4413|     11|            "i8vec3 findLSB(u8vec3);"
 4414|     11|            "i8vec4 findLSB(u8vec4);"
 4415|       |
 4416|     11|            "  int8_t findMSB(  int8_t);"
 4417|     11|            "i8vec2 findMSB(i8vec2);"
 4418|     11|            "i8vec3 findMSB(i8vec3);"
 4419|     11|            "i8vec4 findMSB(i8vec4);"
 4420|       |
 4421|     11|            "  int8_t findMSB( uint8_t);"
 4422|     11|            "i8vec2 findMSB(u8vec2);"
 4423|     11|            "i8vec3 findMSB(u8vec3);"
 4424|     11|            "i8vec4 findMSB(u8vec4);"
 4425|       |
 4426|     11|            "int16_t abs(int16_t);"
 4427|     11|            "i16vec2 abs(i16vec2);"
 4428|     11|            "i16vec3 abs(i16vec3);"
 4429|     11|            "i16vec4 abs(i16vec4);"
 4430|       |
 4431|     11|            "int16_t sign(int16_t);"
 4432|     11|            "i16vec2 sign(i16vec2);"
 4433|     11|            "i16vec3 sign(i16vec3);"
 4434|     11|            "i16vec4 sign(i16vec4);"
 4435|       |
 4436|     11|            "int16_t min(int16_t x, int16_t y);"
 4437|     11|            "i16vec2 min(i16vec2 x, int16_t y);"
 4438|     11|            "i16vec3 min(i16vec3 x, int16_t y);"
 4439|     11|            "i16vec4 min(i16vec4 x, int16_t y);"
 4440|     11|            "i16vec2 min(i16vec2 x, i16vec2 y);"
 4441|     11|            "i16vec3 min(i16vec3 x, i16vec3 y);"
 4442|     11|            "i16vec4 min(i16vec4 x, i16vec4 y);"
 4443|       |
 4444|     11|            "uint16_t min(uint16_t x, uint16_t y);"
 4445|     11|            "u16vec2 min(u16vec2 x, uint16_t y);"
 4446|     11|            "u16vec3 min(u16vec3 x, uint16_t y);"
 4447|     11|            "u16vec4 min(u16vec4 x, uint16_t y);"
 4448|     11|            "u16vec2 min(u16vec2 x, u16vec2 y);"
 4449|     11|            "u16vec3 min(u16vec3 x, u16vec3 y);"
 4450|     11|            "u16vec4 min(u16vec4 x, u16vec4 y);"
 4451|       |
 4452|     11|            "int16_t max(int16_t x, int16_t y);"
 4453|     11|            "i16vec2 max(i16vec2 x, int16_t y);"
 4454|     11|            "i16vec3 max(i16vec3 x, int16_t y);"
 4455|     11|            "i16vec4 max(i16vec4 x, int16_t y);"
 4456|     11|            "i16vec2 max(i16vec2 x, i16vec2 y);"
 4457|     11|            "i16vec3 max(i16vec3 x, i16vec3 y);"
 4458|     11|            "i16vec4 max(i16vec4 x, i16vec4 y);"
 4459|       |
 4460|     11|            "uint16_t max(uint16_t x, uint16_t y);"
 4461|     11|            "u16vec2 max(u16vec2 x, uint16_t y);"
 4462|     11|            "u16vec3 max(u16vec3 x, uint16_t y);"
 4463|     11|            "u16vec4 max(u16vec4 x, uint16_t y);"
 4464|     11|            "u16vec2 max(u16vec2 x, u16vec2 y);"
 4465|     11|            "u16vec3 max(u16vec3 x, u16vec3 y);"
 4466|     11|            "u16vec4 max(u16vec4 x, u16vec4 y);"
 4467|       |
 4468|     11|            "int16_t    clamp(int16_t x, int16_t minVal, int16_t maxVal);"
 4469|     11|            "i16vec2  clamp(i16vec2  x, int16_t minVal, int16_t maxVal);"
 4470|     11|            "i16vec3  clamp(i16vec3  x, int16_t minVal, int16_t maxVal);"
 4471|     11|            "i16vec4  clamp(i16vec4  x, int16_t minVal, int16_t maxVal);"
 4472|     11|            "i16vec2  clamp(i16vec2  x, i16vec2  minVal, i16vec2  maxVal);"
 4473|     11|            "i16vec3  clamp(i16vec3  x, i16vec3  minVal, i16vec3  maxVal);"
 4474|     11|            "i16vec4  clamp(i16vec4  x, i16vec4  minVal, i16vec4  maxVal);"
 4475|       |
 4476|     11|            "uint16_t   clamp(uint16_t x, uint16_t minVal, uint16_t maxVal);"
 4477|     11|            "u16vec2  clamp(u16vec2  x, uint16_t minVal, uint16_t maxVal);"
 4478|     11|            "u16vec3  clamp(u16vec3  x, uint16_t minVal, uint16_t maxVal);"
 4479|     11|            "u16vec4  clamp(u16vec4  x, uint16_t minVal, uint16_t maxVal);"
 4480|     11|            "u16vec2  clamp(u16vec2  x, u16vec2  minVal, u16vec2  maxVal);"
 4481|     11|            "u16vec3  clamp(u16vec3  x, u16vec3  minVal, u16vec3  maxVal);"
 4482|     11|            "u16vec4  clamp(u16vec4  x, u16vec4  minVal, u16vec4  maxVal);"
 4483|       |
 4484|     11|            "int16_t  mix(int16_t,  int16_t,  bool);"
 4485|     11|            "i16vec2  mix(i16vec2,  i16vec2,  bvec2);"
 4486|     11|            "i16vec3  mix(i16vec3,  i16vec3,  bvec3);"
 4487|     11|            "i16vec4  mix(i16vec4,  i16vec4,  bvec4);"
 4488|     11|            "uint16_t mix(uint16_t, uint16_t, bool);"
 4489|     11|            "u16vec2  mix(u16vec2,  u16vec2,  bvec2);"
 4490|     11|            "u16vec3  mix(u16vec3,  u16vec3,  bvec3);"
 4491|     11|            "u16vec4  mix(u16vec4,  u16vec4,  bvec4);"
 4492|       |
 4493|     11|            "float16_t frexp(float16_t, out int16_t);"
 4494|     11|            "f16vec2   frexp(f16vec2,   out i16vec2);"
 4495|     11|            "f16vec3   frexp(f16vec3,   out i16vec3);"
 4496|     11|            "f16vec4   frexp(f16vec4,   out i16vec4);"
 4497|       |
 4498|     11|            "float16_t ldexp(float16_t, int16_t);"
 4499|     11|            "f16vec2   ldexp(f16vec2,   i16vec2);"
 4500|     11|            "f16vec3   ldexp(f16vec3,   i16vec3);"
 4501|     11|            "f16vec4   ldexp(f16vec4,   i16vec4);"
 4502|       |
 4503|     11|            "int16_t halfBitsToInt16(float16_t);"
 4504|     11|            "i16vec2 halfBitsToInt16(f16vec2);"
 4505|     11|            "i16vec3 halhBitsToInt16(f16vec3);"
 4506|     11|            "i16vec4 halfBitsToInt16(f16vec4);"
 4507|       |
 4508|     11|            "uint16_t halfBitsToUint16(float16_t);"
 4509|     11|            "u16vec2  halfBitsToUint16(f16vec2);"
 4510|     11|            "u16vec3  halfBitsToUint16(f16vec3);"
 4511|     11|            "u16vec4  halfBitsToUint16(f16vec4);"
 4512|       |
 4513|     11|            "int16_t float16BitsToInt16(float16_t);"
 4514|     11|            "i16vec2 float16BitsToInt16(f16vec2);"
 4515|     11|            "i16vec3 float16BitsToInt16(f16vec3);"
 4516|     11|            "i16vec4 float16BitsToInt16(f16vec4);"
 4517|       |
 4518|     11|            "uint16_t float16BitsToUint16(float16_t);"
 4519|     11|            "u16vec2  float16BitsToUint16(f16vec2);"
 4520|     11|            "u16vec3  float16BitsToUint16(f16vec3);"
 4521|     11|            "u16vec4  float16BitsToUint16(f16vec4);"
 4522|       |
 4523|     11|            "float16_t int16BitsToFloat16(int16_t);"
 4524|     11|            "f16vec2   int16BitsToFloat16(i16vec2);"
 4525|     11|            "f16vec3   int16BitsToFloat16(i16vec3);"
 4526|     11|            "f16vec4   int16BitsToFloat16(i16vec4);"
 4527|       |
 4528|     11|            "float16_t uint16BitsToFloat16(uint16_t);"
 4529|     11|            "f16vec2   uint16BitsToFloat16(u16vec2);"
 4530|     11|            "f16vec3   uint16BitsToFloat16(u16vec3);"
 4531|     11|            "f16vec4   uint16BitsToFloat16(u16vec4);"
 4532|       |
 4533|     11|            "float16_t int16BitsToHalf(int16_t);"
 4534|     11|            "f16vec2   int16BitsToHalf(i16vec2);"
 4535|     11|            "f16vec3   int16BitsToHalf(i16vec3);"
 4536|     11|            "f16vec4   int16BitsToHalf(i16vec4);"
 4537|       |
 4538|     11|            "float16_t uint16BitsToHalf(uint16_t);"
 4539|     11|            "f16vec2   uint16BitsToHalf(u16vec2);"
 4540|     11|            "f16vec3   uint16BitsToHalf(u16vec3);"
 4541|     11|            "f16vec4   uint16BitsToHalf(u16vec4);"
 4542|       |
 4543|     11|            "int      packInt2x16(i16vec2);"
 4544|     11|            "uint     packUint2x16(u16vec2);"
 4545|     11|            "int64_t  packInt4x16(i16vec4);"
 4546|     11|            "uint64_t packUint4x16(u16vec4);"
 4547|     11|            "i16vec2  unpackInt2x16(int);"
 4548|     11|            "u16vec2  unpackUint2x16(uint);"
 4549|     11|            "i16vec4  unpackInt4x16(int64_t);"
 4550|     11|            "u16vec4  unpackUint4x16(uint64_t);"
 4551|       |
 4552|     11|            "bvec2 lessThan(i16vec2, i16vec2);"
 4553|     11|            "bvec3 lessThan(i16vec3, i16vec3);"
 4554|     11|            "bvec4 lessThan(i16vec4, i16vec4);"
 4555|     11|            "bvec2 lessThan(u16vec2, u16vec2);"
 4556|     11|            "bvec3 lessThan(u16vec3, u16vec3);"
 4557|     11|            "bvec4 lessThan(u16vec4, u16vec4);"
 4558|       |
 4559|     11|            "bvec2 lessThanEqual(i16vec2, i16vec2);"
 4560|     11|            "bvec3 lessThanEqual(i16vec3, i16vec3);"
 4561|     11|            "bvec4 lessThanEqual(i16vec4, i16vec4);"
 4562|     11|            "bvec2 lessThanEqual(u16vec2, u16vec2);"
 4563|     11|            "bvec3 lessThanEqual(u16vec3, u16vec3);"
 4564|     11|            "bvec4 lessThanEqual(u16vec4, u16vec4);"
 4565|       |
 4566|     11|            "bvec2 greaterThan(i16vec2, i16vec2);"
 4567|     11|            "bvec3 greaterThan(i16vec3, i16vec3);"
 4568|     11|            "bvec4 greaterThan(i16vec4, i16vec4);"
 4569|     11|            "bvec2 greaterThan(u16vec2, u16vec2);"
 4570|     11|            "bvec3 greaterThan(u16vec3, u16vec3);"
 4571|     11|            "bvec4 greaterThan(u16vec4, u16vec4);"
 4572|       |
 4573|     11|            "bvec2 greaterThanEqual(i16vec2, i16vec2);"
 4574|     11|            "bvec3 greaterThanEqual(i16vec3, i16vec3);"
 4575|     11|            "bvec4 greaterThanEqual(i16vec4, i16vec4);"
 4576|     11|            "bvec2 greaterThanEqual(u16vec2, u16vec2);"
 4577|     11|            "bvec3 greaterThanEqual(u16vec3, u16vec3);"
 4578|     11|            "bvec4 greaterThanEqual(u16vec4, u16vec4);"
 4579|       |
 4580|     11|            "bvec2 equal(i16vec2, i16vec2);"
 4581|     11|            "bvec3 equal(i16vec3, i16vec3);"
 4582|     11|            "bvec4 equal(i16vec4, i16vec4);"
 4583|     11|            "bvec2 equal(u16vec2, u16vec2);"
 4584|     11|            "bvec3 equal(u16vec3, u16vec3);"
 4585|     11|            "bvec4 equal(u16vec4, u16vec4);"
 4586|       |
 4587|     11|            "bvec2 notEqual(i16vec2, i16vec2);"
 4588|     11|            "bvec3 notEqual(i16vec3, i16vec3);"
 4589|     11|            "bvec4 notEqual(i16vec4, i16vec4);"
 4590|     11|            "bvec2 notEqual(u16vec2, u16vec2);"
 4591|     11|            "bvec3 notEqual(u16vec3, u16vec3);"
 4592|     11|            "bvec4 notEqual(u16vec4, u16vec4);"
 4593|       |
 4594|     11|            "  int16_t bitfieldExtract(  int16_t, int16_t, int16_t);"
 4595|     11|            "i16vec2 bitfieldExtract(i16vec2, int16_t, int16_t);"
 4596|     11|            "i16vec3 bitfieldExtract(i16vec3, int16_t, int16_t);"
 4597|     11|            "i16vec4 bitfieldExtract(i16vec4, int16_t, int16_t);"
 4598|       |
 4599|     11|            " uint16_t bitfieldExtract( uint16_t, int16_t, int16_t);"
 4600|     11|            "u16vec2 bitfieldExtract(u16vec2, int16_t, int16_t);"
 4601|     11|            "u16vec3 bitfieldExtract(u16vec3, int16_t, int16_t);"
 4602|     11|            "u16vec4 bitfieldExtract(u16vec4, int16_t, int16_t);"
 4603|       |
 4604|     11|            "  int16_t bitfieldInsert(  int16_t base,   int16_t, int16_t, int16_t);"
 4605|     11|            "i16vec2 bitfieldInsert(i16vec2 base, i16vec2, int16_t, int16_t);"
 4606|     11|            "i16vec3 bitfieldInsert(i16vec3 base, i16vec3, int16_t, int16_t);"
 4607|     11|            "i16vec4 bitfieldInsert(i16vec4 base, i16vec4, int16_t, int16_t);"
 4608|       |
 4609|     11|            " uint16_t bitfieldInsert( uint16_t base,  uint16_t, int16_t, int16_t);"
 4610|     11|            "u16vec2 bitfieldInsert(u16vec2 base, u16vec2, int16_t, int16_t);"
 4611|     11|            "u16vec3 bitfieldInsert(u16vec3 base, u16vec3, int16_t, int16_t);"
 4612|     11|            "u16vec4 bitfieldInsert(u16vec4 base, u16vec4, int16_t, int16_t);"
 4613|       |
 4614|     11|            "  int16_t bitCount(  int16_t);"
 4615|     11|            "i16vec2 bitCount(i16vec2);"
 4616|     11|            "i16vec3 bitCount(i16vec3);"
 4617|     11|            "i16vec4 bitCount(i16vec4);"
 4618|       |
 4619|     11|            "  int16_t bitCount( uint16_t);"
 4620|     11|            "i16vec2 bitCount(u16vec2);"
 4621|     11|            "i16vec3 bitCount(u16vec3);"
 4622|     11|            "i16vec4 bitCount(u16vec4);"
 4623|       |
 4624|     11|            "int16_t bitfieldReverse(highp int16_t);"
 4625|     11|            "i16vec2 bitfieldReverse(highp i16vec2);"
 4626|     11|            "i16vec3 bitfieldReverse(highp i16vec3);"
 4627|     11|            "i16vec4 bitfieldReverse(highp i16vec4);"
 4628|       |
 4629|     11|            "uint16_t bitfieldReverse(highp uint16_t);"
 4630|     11|            "u16vec2  bitfieldReverse(highp u16vec2);"
 4631|     11|            "u16vec3  bitfieldReverse(highp u16vec3);"
 4632|     11|            "u16vec4  bitfieldReverse(highp u16vec4);"
 4633|       |
 4634|     11|            "  int16_t findLSB(  int16_t);"
 4635|     11|            "i16vec2 findLSB(i16vec2);"
 4636|     11|            "i16vec3 findLSB(i16vec3);"
 4637|     11|            "i16vec4 findLSB(i16vec4);"
 4638|       |
 4639|     11|            "  int16_t findLSB( uint16_t);"
 4640|     11|            "i16vec2 findLSB(u16vec2);"
 4641|     11|            "i16vec3 findLSB(u16vec3);"
 4642|     11|            "i16vec4 findLSB(u16vec4);"
 4643|       |
 4644|     11|            "  int16_t findMSB(  int16_t);"
 4645|     11|            "i16vec2 findMSB(i16vec2);"
 4646|     11|            "i16vec3 findMSB(i16vec3);"
 4647|     11|            "i16vec4 findMSB(i16vec4);"
 4648|       |
 4649|     11|            "  int16_t findMSB( uint16_t);"
 4650|     11|            "i16vec2 findMSB(u16vec2);"
 4651|     11|            "i16vec3 findMSB(u16vec3);"
 4652|     11|            "i16vec4 findMSB(u16vec4);"
 4653|       |
 4654|     11|            "int16_t  pack16(i8vec2);"
 4655|     11|            "uint16_t pack16(u8vec2);"
 4656|     11|            "int32_t  pack32(i8vec4);"
 4657|     11|            "uint32_t pack32(u8vec4);"
 4658|     11|            "int32_t  pack32(i16vec2);"
 4659|     11|            "uint32_t pack32(u16vec2);"
 4660|     11|            "int64_t  pack64(i16vec4);"
 4661|     11|            "uint64_t pack64(u16vec4);"
 4662|     11|            "int64_t  pack64(i32vec2);"
 4663|     11|            "uint64_t pack64(u32vec2);"
 4664|       |
 4665|     11|            "i8vec2   unpack8(int16_t);"
 4666|     11|            "u8vec2   unpack8(uint16_t);"
 4667|     11|            "i8vec4   unpack8(int32_t);"
 4668|     11|            "u8vec4   unpack8(uint32_t);"
 4669|     11|            "i16vec2  unpack16(int32_t);"
 4670|     11|            "u16vec2  unpack16(uint32_t);"
 4671|     11|            "i16vec4  unpack16(int64_t);"
 4672|     11|            "u16vec4  unpack16(uint64_t);"
 4673|     11|            "i32vec2  unpack32(int64_t);"
 4674|     11|            "u32vec2  unpack32(uint64_t);"
 4675|       |
 4676|       |            // GL_EXT_expect_assume
 4677|     11|            "int8_t expectEXT(int8_t, int8_t);"
 4678|     11|            "i8vec2 expectEXT(i8vec2, i8vec2);"
 4679|     11|            "i8vec3 expectEXT(i8vec3, i8vec3);"
 4680|     11|            "i8vec4 expectEXT(i8vec4, i8vec4);"
 4681|       |
 4682|     11|            "uint8_t expectEXT(uint8_t, uint8_t);"
 4683|     11|            "u8vec2 expectEXT(u8vec2, u8vec2);"
 4684|     11|            "u8vec3 expectEXT(u8vec3, u8vec3);"
 4685|     11|            "u8vec4 expectEXT(u8vec4, u8vec4);"
 4686|       |
 4687|     11|            "int16_t expectEXT(int16_t, int16_t);"
 4688|     11|            "i16vec2 expectEXT(i16vec2, i16vec2);"
 4689|     11|            "i16vec3 expectEXT(i16vec3, i16vec3);"
 4690|     11|            "i16vec4 expectEXT(i16vec4, i16vec4);"
 4691|       |
 4692|     11|            "uint16_t expectEXT(uint16_t, uint16_t);"
 4693|     11|            "u16vec2 expectEXT(u16vec2, u16vec2);"
 4694|     11|            "u16vec3 expectEXT(u16vec3, u16vec3);"
 4695|     11|            "u16vec4 expectEXT(u16vec4, u16vec4);"
 4696|       |
 4697|     11|            "int64_t expectEXT(int64_t, int64_t);"
 4698|     11|            "i64vec2 expectEXT(i64vec2, i64vec2);"
 4699|     11|            "i64vec3 expectEXT(i64vec3, i64vec3);"
 4700|     11|            "i64vec4 expectEXT(i64vec4, i64vec4);"
 4701|       |
 4702|     11|            "uint64_t expectEXT(uint64_t, uint64_t);"
 4703|     11|            "u64vec2 expectEXT(u64vec2, u64vec2);"
 4704|     11|            "u64vec3 expectEXT(u64vec3, u64vec3);"
 4705|     11|            "u64vec4 expectEXT(u64vec4, u64vec4);"
 4706|     11|            "\n");
 4707|     11|    }
 4708|       |
 4709|       |    // Builtins for GL_EXT_texture_shadow_lod
 4710|    115|    if ((profile == EEsProfile && version >= 300) || ((profile != EEsProfile && version >= 130))) {
  ------------------
  |  Branch (4710:10): [True: 0, False: 115]
  |  Branch (4710:35): [True: 0, False: 0]
  |  Branch (4710:56): [True: 115, False: 0]
  |  Branch (4710:81): [True: 115, False: 0]
  ------------------
 4711|    115|        commonBuiltins.append(
 4712|    115|            "float texture(sampler2DArrayShadow, vec4, float);"
 4713|    115|            "float texture(samplerCubeArrayShadow, vec4, float, float);"
 4714|    115|            "float textureLod(sampler2DArrayShadow, vec4, float);"
 4715|    115|            "float textureLod(samplerCubeShadow, vec4, float);"
 4716|    115|            "float textureLod(samplerCubeArrayShadow, vec4, float, float);"
 4717|    115|            "float textureLodOffset(sampler2DArrayShadow, vec4, float, ivec2);"
 4718|    115|            "float textureOffset(sampler2DArrayShadow, vec4 , ivec2, float);"
 4719|    115|            "\n");
 4720|    115|    }
 4721|       |
 4722|    115|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (4722:9): [True: 115, False: 0]
  |  Branch (4722:34): [True: 11, False: 104]
  ------------------
 4723|     11|        stageBuiltins[EShLangFragment].append(derivativesAndControl64bits);
 4724|     11|        stageBuiltins[EShLangFragment].append(
 4725|     11|            "float64_t interpolateAtCentroid(float64_t);"
 4726|     11|            "f64vec2   interpolateAtCentroid(f64vec2);"
 4727|     11|            "f64vec3   interpolateAtCentroid(f64vec3);"
 4728|     11|            "f64vec4   interpolateAtCentroid(f64vec4);"
 4729|       |
 4730|     11|            "float64_t interpolateAtSample(float64_t, int);"
 4731|     11|            "f64vec2   interpolateAtSample(f64vec2,   int);"
 4732|     11|            "f64vec3   interpolateAtSample(f64vec3,   int);"
 4733|     11|            "f64vec4   interpolateAtSample(f64vec4,   int);"
 4734|       |
 4735|     11|            "float64_t interpolateAtOffset(float64_t, f64vec2);"
 4736|     11|            "f64vec2   interpolateAtOffset(f64vec2,   f64vec2);"
 4737|     11|            "f64vec3   interpolateAtOffset(f64vec3,   f64vec2);"
 4738|     11|            "f64vec4   interpolateAtOffset(f64vec4,   f64vec2);"
 4739|       |
 4740|     11|            "\n");
 4741|       |
 4742|     11|    }
 4743|       |
 4744|       |    // GL_EXT_expect_assume
 4745|    115|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (4745:10): [True: 0, False: 115]
  |  Branch (4745:35): [True: 0, False: 0]
  ------------------
 4746|    115|         ((profile != EEsProfile && version >= 140))) {
  ------------------
  |  Branch (4746:12): [True: 115, False: 0]
  |  Branch (4746:37): [True: 115, False: 0]
  ------------------
 4747|    115|        commonBuiltins.append(
 4748|    115|            "void assumeEXT(bool);"
 4749|       |
 4750|    115|            "bool expectEXT(bool, bool);"
 4751|    115|            "bvec2 expectEXT(bvec2, bvec2);"
 4752|    115|            "bvec3 expectEXT(bvec3, bvec3);"
 4753|    115|            "bvec4 expectEXT(bvec4, bvec4);"
 4754|       |
 4755|    115|            "int expectEXT(int, int);"
 4756|    115|            "ivec2 expectEXT(ivec2, ivec2);"
 4757|    115|            "ivec3 expectEXT(ivec3, ivec3);"
 4758|    115|            "ivec4 expectEXT(ivec4, ivec4);"
 4759|       |
 4760|    115|            "uint expectEXT(uint, uint);"
 4761|    115|            "uvec2 expectEXT(uvec2, uvec2);"
 4762|    115|            "uvec3 expectEXT(uvec3, uvec3);"
 4763|    115|            "uvec4 expectEXT(uvec4, uvec4);"
 4764|    115|            "\n");
 4765|    115|    }
 4766|       |
 4767|       |    // QCOM_image_processing
 4768|    115|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (4768:10): [True: 0, False: 115]
  |  Branch (4768:35): [True: 0, False: 0]
  ------------------
 4769|    115|         (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (4769:11): [True: 115, False: 0]
  |  Branch (4769:36): [True: 115, False: 0]
  ------------------
 4770|    115|        commonBuiltins.append(
 4771|    115|           "vec4 textureWeightedQCOM(sampler2D, vec2, sampler2DArray);"
 4772|    115|           "vec4 textureWeightedQCOM(sampler2D, vec2, sampler1DArray);"
 4773|    115|           "vec4 textureBoxFilterQCOM(sampler2D, vec2, vec2);"
 4774|    115|           "vec4 textureBlockMatchSADQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4775|    115|           "vec4 textureBlockMatchSSDQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4776|       |
 4777|    115|           "vec4 textureBlockMatchWindowSSDQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4778|    115|           "vec4 textureBlockMatchWindowSADQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4779|    115|           "vec4 textureBlockMatchGatherSSDQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4780|    115|           "vec4 textureBlockMatchGatherSADQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4781|    115|           "\n");
 4782|    115|    }
 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|    115|    if (spvVersion.vulkan == 0 && IncludeLegacy(version, profile, spvVersion))
  ------------------
  |  Branch (4795:9): [True: 0, False: 115]
  |  Branch (4795:35): [True: 0, False: 0]
  ------------------
 4796|      0|        stageBuiltins[EShLangVertex].append("vec4 ftransform();");
 4797|       |
 4798|       |    //
 4799|       |    // Original-style texture Functions with lod.
 4800|       |    //
 4801|    115|    TString* s;
 4802|    115|    if (version == 100)
  ------------------
  |  Branch (4802:9): [True: 0, False: 115]
  ------------------
 4803|      0|        s = &stageBuiltins[EShLangVertex];
 4804|    115|    else
 4805|    115|        s = &commonBuiltins;
 4806|    115|    if ((profile == EEsProfile && version == 100) ||
  ------------------
  |  Branch (4806:10): [True: 0, False: 115]
  |  Branch (4806:35): [True: 0, False: 0]
  ------------------
 4807|    115|         profile == ECompatibilityProfile ||
  ------------------
  |  Branch (4807:10): [True: 0, False: 115]
  ------------------
 4808|    115|        (profile == ECoreProfile && version < 420) ||
  ------------------
  |  Branch (4808:10): [True: 10, False: 105]
  |  Branch (4808:37): [True: 5, False: 5]
  ------------------
 4809|    110|         profile == ENoProfile) {
  ------------------
  |  Branch (4809:10): [True: 105, False: 5]
  ------------------
 4810|    110|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (4810:13): [True: 0, False: 110]
  ------------------
 4811|      0|            s->append(
 4812|      0|                "vec4 texture2DLod(sampler2D, vec2, float);"         // GL_ARB_shader_texture_lod
 4813|      0|                "vec4 texture2DProjLod(sampler2D, vec3, float);"     // GL_ARB_shader_texture_lod
 4814|      0|                "vec4 texture2DProjLod(sampler2D, vec4, float);"     // GL_ARB_shader_texture_lod
 4815|      0|                "vec4 texture3DLod(sampler3D, vec3, float);"         // GL_ARB_shader_texture_lod  // OES_texture_3D, but caught by keyword check
 4816|      0|                "vec4 texture3DProjLod(sampler3D, vec4, float);"     // GL_ARB_shader_texture_lod  // OES_texture_3D, but caught by keyword check
 4817|      0|                "vec4 textureCubeLod(samplerCube, vec3, float);"     // GL_ARB_shader_texture_lod
 4818|       |
 4819|      0|                "\n");
 4820|      0|        }
 4821|    110|    }
 4822|    115|    if ( profile == ECompatibilityProfile ||
  ------------------
  |  Branch (4822:10): [True: 0, False: 115]
  ------------------
 4823|    115|        (profile == ECoreProfile && version < 420) ||
  ------------------
  |  Branch (4823:10): [True: 10, False: 105]
  |  Branch (4823:37): [True: 5, False: 5]
  ------------------
 4824|    110|         profile == ENoProfile) {
  ------------------
  |  Branch (4824:10): [True: 105, False: 5]
  ------------------
 4825|    110|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (4825:13): [True: 0, False: 110]
  ------------------
 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|    110|    }
 4857|       |
 4858|    115|    if ((profile != EEsProfile && version >= 150) ||
  ------------------
  |  Branch (4858:10): [True: 115, False: 0]
  |  Branch (4858:35): [True: 16, False: 99]
  ------------------
 4859|     99|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (4859:10): [True: 0, False: 99]
  |  Branch (4859:35): [True: 0, False: 0]
  ------------------
 4860|       |        //============================================================================
 4861|       |        //
 4862|       |        // Prototypes for built-in functions seen by geometry shaders only.
 4863|       |        //
 4864|       |        //============================================================================
 4865|     16|        if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (4865:13): [True: 16, False: 0]
  |  Branch (4865:38): [True: 16, False: 0]
  ------------------
 4866|     16|            stageBuiltins[EShLangGeometry].append(
 4867|     16|                "void EmitStreamVertex(int);"
 4868|     16|                "void EndStreamPrimitive(int);"
 4869|     16|                );
 4870|     16|        }
 4871|     16|        stageBuiltins[EShLangGeometry].append(
 4872|     16|            "void EmitVertex();"
 4873|     16|            "void EndPrimitive();"
 4874|     16|            "\n");
 4875|     16|    }
 4876|       |
 4877|       |    //============================================================================
 4878|       |    //
 4879|       |    // Prototypes for all control functions.
 4880|       |    //
 4881|       |    //============================================================================
 4882|    115|    bool esBarrier = (profile == EEsProfile && version >= 310);
  ------------------
  |  Branch (4882:23): [True: 0, False: 115]
  |  Branch (4882:48): [True: 0, False: 0]
  ------------------
 4883|    115|    if ((profile != EEsProfile && version >= 150) || esBarrier)
  ------------------
  |  Branch (4883:10): [True: 115, False: 0]
  |  Branch (4883:35): [True: 16, False: 99]
  |  Branch (4883:54): [True: 0, False: 99]
  ------------------
 4884|     16|        stageBuiltins[EShLangTessControl].append(
 4885|     16|            "void barrier();"
 4886|     16|            );
 4887|    115|    if ((profile != EEsProfile && version >= 420) || esBarrier)
  ------------------
  |  Branch (4887:10): [True: 115, False: 0]
  |  Branch (4887:35): [True: 11, False: 104]
  |  Branch (4887:54): [True: 0, False: 104]
  ------------------
 4888|     11|        stageBuiltins[EShLangCompute].append(
 4889|     11|            "void barrier();"
 4890|     11|            );
 4891|    115|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (4891:10): [True: 115, False: 0]
  |  Branch (4891:35): [True: 11, False: 104]
  |  Branch (4891:55): [True: 0, False: 104]
  |  Branch (4891:80): [True: 0, False: 0]
  ------------------
 4892|     11|        stageBuiltins[EShLangMesh].append(
 4893|     11|            "void barrier();"
 4894|     11|            );
 4895|     11|        stageBuiltins[EShLangTask].append(
 4896|     11|            "void barrier();"
 4897|     11|            );
 4898|     11|    }
 4899|    115|    if ((profile != EEsProfile && version >= 420) || esBarrier)
  ------------------
  |  Branch (4899:10): [True: 115, False: 0]
  |  Branch (4899:35): [True: 11, False: 104]
  |  Branch (4899:54): [True: 0, False: 104]
  ------------------
 4900|     11|        stageBuiltins[EShLangCompute].append(
 4901|     11|            "void controlBarrierArrive();"
 4902|     11|            "void controlBarrierWait();"
 4903|     11|            );
 4904|    115|    if ((profile != EEsProfile && version >= 130) || esBarrier)
  ------------------
  |  Branch (4904:10): [True: 115, False: 0]
  |  Branch (4904:35): [True: 115, False: 0]
  |  Branch (4904:54): [True: 0, False: 0]
  ------------------
 4905|    115|        commonBuiltins.append(
 4906|    115|            "void memoryBarrier();"
 4907|    115|            );
 4908|    115|    if ((profile != EEsProfile && version >= 420) || esBarrier) {
  ------------------
  |  Branch (4908:10): [True: 115, False: 0]
  |  Branch (4908:35): [True: 11, False: 104]
  |  Branch (4908:54): [True: 0, False: 104]
  ------------------
 4909|     11|        commonBuiltins.append(
 4910|     11|            "void memoryBarrierBuffer();"
 4911|     11|            );
 4912|     11|        stageBuiltins[EShLangCompute].append(
 4913|     11|            "void memoryBarrierShared();"
 4914|     11|            "void groupMemoryBarrier();"
 4915|     11|            );
 4916|     11|    }
 4917|    115|    if ((profile != EEsProfile && version >= 420) || esBarrier) {
  ------------------
  |  Branch (4917:10): [True: 115, False: 0]
  |  Branch (4917:35): [True: 11, False: 104]
  |  Branch (4917:54): [True: 0, False: 104]
  ------------------
 4918|     11|        if (spvVersion.vulkan == 0 || spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (4918:13): [True: 0, False: 11]
  |  Branch (4918:39): [True: 0, False: 11]
  ------------------
 4919|      0|            commonBuiltins.append("void memoryBarrierAtomicCounter();");
 4920|      0|        }
 4921|     11|        commonBuiltins.append("void memoryBarrierImage();");
 4922|     11|    }
 4923|    115|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (4923:10): [True: 115, False: 0]
  |  Branch (4923:35): [True: 11, False: 104]
  |  Branch (4923:55): [True: 0, False: 104]
  |  Branch (4923:80): [True: 0, False: 0]
  ------------------
 4924|     11|        stageBuiltins[EShLangMesh].append(
 4925|     11|            "void memoryBarrierShared();"
 4926|     11|            "void groupMemoryBarrier();"
 4927|     11|        );
 4928|     11|        stageBuiltins[EShLangTask].append(
 4929|     11|            "void memoryBarrierShared();"
 4930|     11|            "void groupMemoryBarrier();"
 4931|     11|        );
 4932|     11|    }
 4933|       |
 4934|    115|    commonBuiltins.append("void controlBarrier(int, int, int, int);\n"
 4935|    115|                          "void memoryBarrier(int, int, int);\n");
 4936|       |
 4937|    115|    commonBuiltins.append("void controlBarrierArrive(int, int, int, int);\n"
 4938|    115|                          "void controlBarrierWait(int, int, int, int);\n");
 4939|       |
 4940|    115|    commonBuiltins.append("void debugPrintfEXT();\n");
 4941|       |
 4942|    115|    commonBuiltins.append("void abortEXT();\n");
 4943|       |
 4944|    115|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (4944:9): [True: 115, False: 0]
  |  Branch (4944:34): [True: 11, False: 104]
  ------------------
 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|     11|        stageBuiltins[EShLangCompute].append(
 4949|     11|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal float16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4950|     11|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal float[] buf, uint element, uint stride, bool colMajor);\n"
 4951|     11|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4952|     11|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4953|     11|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4954|     11|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4955|     11|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4956|     11|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4957|       |
 4958|     11|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal float16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4959|     11|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal float[] buf, uint element, uint stride, bool colMajor);\n"
 4960|     11|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal float64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4961|     11|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4962|     11|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4963|     11|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4964|     11|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4965|     11|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4966|     11|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4967|       |
 4968|     11|            "fcoopmatNV coopMatMulAddNV(fcoopmatNV A, fcoopmatNV B, fcoopmatNV C);\n"
 4969|     11|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal int8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4970|     11|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal int16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4971|     11|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal int[] buf, uint element, uint stride, bool colMajor);\n"
 4972|     11|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal int64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4973|     11|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal ivec2[] buf, uint element, uint stride, bool colMajor);\n"
 4974|     11|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal ivec4[] buf, uint element, uint stride, bool colMajor);\n"
 4975|     11|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4976|     11|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4977|     11|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4978|     11|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4979|     11|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4980|     11|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4981|       |
 4982|     11|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal int8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4983|     11|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal int16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4984|     11|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal int[] buf, uint element, uint stride, bool colMajor);\n"
 4985|     11|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal int64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4986|     11|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal ivec2[] buf, uint element, uint stride, bool colMajor);\n"
 4987|     11|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal ivec4[] buf, uint element, uint stride, bool colMajor);\n"
 4988|     11|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4989|     11|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4990|     11|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4991|     11|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4992|     11|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4993|     11|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4994|       |
 4995|     11|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal int8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4996|     11|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal int16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4997|     11|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal int[] buf, uint element, uint stride, bool colMajor);\n"
 4998|     11|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal int64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4999|     11|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal ivec2[] buf, uint element, uint stride, bool colMajor);\n"
 5000|     11|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal ivec4[] buf, uint element, uint stride, bool colMajor);\n"
 5001|     11|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 5002|     11|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 5003|     11|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 5004|     11|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 5005|     11|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 5006|     11|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 5007|       |
 5008|     11|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal int8_t[] buf, uint element, uint stride, bool colMajor);\n"
 5009|     11|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal int16_t[] buf, uint element, uint stride, bool colMajor);\n"
 5010|     11|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal int[] buf, uint element, uint stride, bool colMajor);\n"
 5011|     11|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal int64_t[] buf, uint element, uint stride, bool colMajor);\n"
 5012|     11|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal ivec2[] buf, uint element, uint stride, bool colMajor);\n"
 5013|     11|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal ivec4[] buf, uint element, uint stride, bool colMajor);\n"
 5014|     11|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 5015|     11|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 5016|     11|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 5017|     11|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 5018|     11|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 5019|     11|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 5020|       |
 5021|     11|            "icoopmatNV coopMatMulAddNV(icoopmatNV A, icoopmatNV B, icoopmatNV C);\n"
 5022|     11|            "ucoopmatNV coopMatMulAddNV(ucoopmatNV A, ucoopmatNV B, ucoopmatNV C);\n"
 5023|     11|            );
 5024|       |
 5025|     11|        std::stringstream cooperativeMatrixFuncs;
 5026|       |
 5027|     11|        {
 5028|     11|            static const char *allTypes[] =
 5029|     11|            {
 5030|     11|                "float", "vec2", "vec4",
 5031|     11|                "float16_t", "f16vec2", "f16vec4",
 5032|     11|                "bfloat16_t", "bf16vec2", "bf16vec4",
 5033|     11|                "floate5m2_t", "fe5m2vec2", "fe5m2vec4",
 5034|     11|                "floate4m3_t", "fe4m3vec2", "fe4m3vec4",
 5035|     11|                "double", "dvec2", "dvec4",
 5036|     11|                "int8_t", "i8vec2", "i8vec4",
 5037|     11|                "int16_t", "i16vec2", "i16vec4",
 5038|     11|                "int", "ivec2", "ivec4",
 5039|     11|                "int64_t", "i64vec2", "i64vec4",
 5040|     11|                "uint8_t", "u8vec2", "u8vec4",
 5041|     11|                "uint16_t", "u16vec2", "u16vec4",
 5042|     11|                "uint", "uvec2", "uvec4",
 5043|     11|                "uint64_t", "u64vec2", "u64vec4",
 5044|     11|            };
 5045|     22|            for (auto elemTy : {"uint", "uint64_t"}) {
  ------------------
  |  Branch (5045:30): [True: 22, False: 11]
  ------------------
 5046|    924|                for (auto t : allTypes) {
  ------------------
  |  Branch (5046:29): [True: 924, False: 22]
  ------------------
 5047|    924|                    cooperativeMatrixFuncs << "void coopMatLoad(out coopmat m, volatile coherent nontemporal " << t << "[] buf, " << elemTy << " element, uint stride, int matrixLayout);\n";
 5048|    924|                    cooperativeMatrixFuncs << "void coopMatStore(coopmat m, volatile coherent nontemporal " << t << "[] buf, " << elemTy << " element, uint stride, int matrixLayout);\n";
 5049|    924|                }
 5050|       |                // Just use uint8_t for buffer type, we have special matching rules to allow any conversion
 5051|     22|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t);\n";
 5052|     22|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, tensorViewNV v);\n";
 5053|     22|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, __function f);\n";
 5054|     22|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, tensorViewNV v, __function f);\n";
 5055|     22|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, __function f, __function g);\n";
 5056|     22|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, tensorViewNV v, __function f, __function g);\n";
 5057|     22|                cooperativeMatrixFuncs << "void coopMatStoreTensorNV(coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t);\n";
 5058|     22|                cooperativeMatrixFuncs << "void coopMatStoreTensorNV(coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, tensorViewNV v);\n";
 5059|     22|            }
 5060|     11|        }
 5061|       |
 5062|     11|        cooperativeMatrixFuncs <<
 5063|     11|            "coopmat coopMatMulAdd(coopmat A, coopmat B, coopmat C);\n"
 5064|     11|            "coopmat coopMatMulAdd(coopmat A, coopmat B, coopmat C, int matrixOperands);\n";
 5065|       |
 5066|     11|        commonBuiltins.append(cooperativeMatrixFuncs.str().c_str());
 5067|       |
 5068|     11|        commonBuiltins.append(
 5069|     11|            "const int gl_MatrixUseA = 0;\n"
 5070|     11|            "const int gl_MatrixUseB = 1;\n"
 5071|     11|            "const int gl_MatrixUseAccumulator = 2;\n"
 5072|     11|            "const int gl_MatrixOperandsSaturatingAccumulation = 0x10;\n"
 5073|     11|            "const int gl_CooperativeMatrixLayoutRowMajor = 0;\n"
 5074|     11|            "const int gl_CooperativeMatrixLayoutColumnMajor = 1;\n"
 5075|     11|            "const int gl_CooperativeMatrixLayoutRowBlockedInterleavedARM = 4202;\n"
 5076|     11|            "const int gl_CooperativeMatrixLayoutColumnBlockedInterleavedARM = 4203;\n"
 5077|     11|            "\n"
 5078|     11|            );
 5079|       |
 5080|     11|        commonBuiltins.append(
 5081|     11|            "void coopMatTransposeNV(out coopmat, coopmat);"
 5082|     11|            "void coopMatReduceNV(out coopmat, coopmat, int, __function);"
 5083|     11|            "void coopMatPerElementNV();"
 5084|     11|        );
 5085|       |
 5086|     11|        commonBuiltins.append(
 5087|     11|            "void coopMatTransposeEXT(out coopmat, coopmat);"
 5088|     11|            "void coopMatReduceEXT(out coopmat, coopmat, int, __function);"
 5089|     11|            "void coopMatPerElementEXT();"
 5090|     11|            "uvec2 coopMatGetCoordinateEXT(coopmat, uint index);"
 5091|     11|        );
 5092|       |
 5093|     11|        commonBuiltins.append(
 5094|     11|            "const int gl_CooperativeMatrixReduceRowNV = 0x1;\n"
 5095|     11|            "const int gl_CooperativeMatrixReduceColumnNV = 0x2;\n"
 5096|     11|            "const int gl_CooperativeMatrixReduceRowAndColumnNV = 0x3;\n"
 5097|     11|            "const int gl_CooperativeMatrixReduce2x2NV = 0x4;\n"
 5098|       |
 5099|     11|            "const int gl_CooperativeMatrixReduceRowEXT = 0x1;\n"
 5100|     11|            "const int gl_CooperativeMatrixReduceColumnEXT = 0x2;\n"
 5101|     11|            "const int gl_CooperativeMatrixReduceRowAndColumnEXT = 0x3;\n"
 5102|     11|            "const int gl_CooperativeMatrixReduce2x2EXT = 0x4;\n"
 5103|     11|            "\n"
 5104|     11|            );
 5105|       |
 5106|     11|        commonBuiltins.append(
 5107|     11|            "const int gl_CooperativeMatrixClampModeUndefinedNV = 0x0;\n"
 5108|     11|            "const int gl_CooperativeMatrixClampModeConstantNV = 0x1;\n"
 5109|     11|            "const int gl_CooperativeMatrixClampModeClampToEdgeNV = 0x2;\n"
 5110|     11|            "const int gl_CooperativeMatrixClampModeRepeatNV = 0x3;\n"
 5111|     11|            "const int gl_CooperativeMatrixClampModeMirrorRepeatNV = 0x4;\n"
 5112|     11|            "\n"
 5113|     11|            );
 5114|       |
 5115|     11|        {
 5116|     11|          std::stringstream coopMatConvFuncs;
 5117|       |
 5118|     11|          const std::string eltTypes[] = {"uint32_t", "uint", "int32_t", "int", "float32_t", "float", "float16_t"};
 5119|       |
 5120|     77|          for (auto srcEltTy : eltTypes) {
  ------------------
  |  Branch (5120:30): [True: 77, False: 11]
  ------------------
 5121|    539|            for (auto dstEltTy : eltTypes) {
  ------------------
  |  Branch (5121:32): [True: 539, False: 77]
  ------------------
 5122|    539|              coopMatConvFuncs << "void bitcastQCOM(" << srcEltTy.c_str() << " SrcArr[], " << dstEltTy.c_str()
 5123|    539|                << " DstArr[]);\n";
 5124|    539|            }
 5125|     77|          }
 5126|     11|          coopMatConvFuncs << "\n";
 5127|       |
 5128|     88|          for (auto eltTy : {"float32_t", "float16_t", "int8_t", "uint8_t", "uint32_t", "uint", "int32_t", "int"}) {
  ------------------
  |  Branch (5128:27): [True: 88, False: 11]
  ------------------
 5129|     88|            coopMatConvFuncs << "void vectorToCoopmatQCOM(" << eltTy << " SrcVec[], coopmat CM);\n";
 5130|     88|            coopMatConvFuncs << "void coopmatToVectorQCOM(coopmat CM, " << eltTy << " Dstvec[]);\n";
 5131|     88|          }
 5132|       |
 5133|     77|          for (auto eltTy : {"uint32_t", "uint", "int32_t", "int", "float32_t", "float", "float16_t"}) {
  ------------------
  |  Branch (5133:27): [True: 77, False: 11]
  ------------------
 5134|     77|            coopMatConvFuncs << "void extractSubArrayQCOM(" << eltTy << " arr[], uint index, " << eltTy << " subarr[]);\n";
 5135|     77|          }
 5136|       |
 5137|     11|          commonBuiltins.append(coopMatConvFuncs.str().c_str());
 5138|     11|        }
 5139|       |
 5140|     11|        commonBuiltins.append(
 5141|     11|            "tensorLayoutNV createTensorLayoutNV(uint Dim);\n"
 5142|     11|            "tensorLayoutNV createTensorLayoutNV(uint Dim, uint Mode);\n"
 5143|       |
 5144|     11|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0);\n"
 5145|     11|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0, uint blockSize1);\n"
 5146|     11|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0, uint blockSize1, uint blockSize2);\n"
 5147|     11|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0, uint blockSize1, uint blockSize2, uint blockSize3);\n"
 5148|     11|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0, uint blockSize1, uint blockSize2, uint blockSize3, uint blockSize4);\n"
 5149|       |
 5150|     11|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0);\n"
 5151|     11|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0, uint dim1);\n"
 5152|     11|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0, uint dim1, uint dim2);\n"
 5153|     11|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0, uint dim1, uint dim2, uint dim3);\n"
 5154|     11|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0, uint dim1, uint dim2, uint dim3, uint dim4);\n"
 5155|       |
 5156|     11|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0);\n"
 5157|     11|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0, uint stride1);\n"
 5158|     11|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0, uint stride1, uint stride2);\n"
 5159|     11|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0, uint stride1, uint stride2, uint stride3);\n"
 5160|     11|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0, uint stride1, uint stride2, uint stride3, uint stride4);\n"
 5161|       |
 5162|     11|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0);\n"
 5163|     11|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0, uint offset1, uint span1);\n"
 5164|     11|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0, uint offset1, uint span1, uint offset2, uint span2);\n"
 5165|     11|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0, uint offset1, uint span1, uint offset2, uint span2, uint offset3, uint span3);\n"
 5166|     11|            "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|     11|            "tensorLayoutNV setTensorLayoutClampValueNV(tensorLayoutNV t, uint value);\n"
 5169|       |
 5170|     11|            "tensorViewNV createTensorViewNV(uint Dim);\n"
 5171|     11|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions);\n"
 5172|     11|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0);\n"
 5173|     11|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0, uint p1);\n"
 5174|     11|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0, uint p1, uint p2);\n"
 5175|     11|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0, uint p1, uint p2, uint p3);\n"
 5176|     11|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0, uint p1, uint p2, uint p3, uint p4);\n"
 5177|       |
 5178|     11|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0);\n"
 5179|     11|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0, uint dim1);\n"
 5180|     11|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0, uint dim1, uint dim2);\n"
 5181|     11|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0, uint dim1, uint dim2, uint dim3);\n"
 5182|     11|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0, uint dim1, uint dim2, uint dim3, uint dim4);\n"
 5183|       |
 5184|     11|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0);\n"
 5185|     11|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0, uint stride1);\n"
 5186|     11|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0, uint stride1, uint stride2);\n"
 5187|     11|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0, uint stride1, uint stride2, uint stride3);\n"
 5188|     11|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0, uint stride1, uint stride2, uint stride3, uint stride4);\n"
 5189|       |
 5190|     11|            "tensorViewNV setTensorViewClipNV(tensorViewNV v, uint clipRowOffset, uint clipRowSpan, uint clipColOffset, uint clipColSpan);\n"
 5191|     11|            "\n"
 5192|     11|        );
 5193|       |
 5194|       |        // GL_ARM_tensors builtins.
 5195|     11|        static const char *tensorDataTypesARM[] = {
 5196|     11|            "bool",
 5197|     11|            "int8_t", "int16_t", "int32_t", "int64_t",
 5198|     11|            "uint8_t", "uint16_t", "uint32_t", "uint64_t",
 5199|     11|            "float16_t", "float32_t", "float64_t",
 5200|     11|            "bfloat16_t", "floate5m2_t", "floate4m3_t",
 5201|     11|        };
 5202|     11|        std::ostringstream ostream;
 5203|    165|        for (auto t : tensorDataTypesARM) {
  ------------------
  |  Branch (5203:21): [True: 165, False: 11]
  ------------------
 5204|       |            // Scalar
 5205|    165|            ostream << "void tensorReadARM(readonly tensorARM t, uint coords[], out "
 5206|    165|                    << t << " data, uint tensorOperands = 0U, ...);\n";
 5207|    165|            ostream << "void tensorWriteARM(writeonly tensorARM t, uint coords[], "
 5208|    165|                    << t << " data, uint tensorOperands = 0U, ...);\n";
 5209|       |            // Array
 5210|    165|            ostream << "void tensorReadARM(readonly tensorARM t, uint coords[], "
 5211|    165|                    << t << " data[], uint tensorOperands = 0U, ...);\n";
 5212|    165|            ostream << "void tensorWriteARM(writeonly tensorARM t, uint coords[], "
 5213|    165|                    << t << " data[], uint tensorOperands = 0U, ...);\n";
 5214|    165|        }
 5215|     11|        ostream << "uint tensorSizeARM(readonly writeonly tensorARM t, uint dim);\n";
 5216|     11|        commonBuiltins.append(ostream.str());
 5217|     11|    }
 5218|       |
 5219|    115|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5219:9): [True: 115, False: 0]
  |  Branch (5219:34): [True: 11, False: 104]
  ------------------
 5220|     11|        const char *basicTypes[] = {
 5221|     11|            "int8_t",
 5222|     11|            "int16_t",
 5223|     11|            "int32_t",
 5224|     11|            "int64_t",
 5225|     11|            "uint8_t",
 5226|     11|            "uint16_t",
 5227|     11|            "uint32_t",
 5228|     11|            "uint64_t",
 5229|     11|            "float16_t",
 5230|     11|            "float32_t",
 5231|     11|            "float64_t",
 5232|     11|        };
 5233|     11|        std::string coopVecOffsetTypes[] = {
 5234|     11|            "uint",
 5235|     11|            "uint64_t",
 5236|     11|        };
 5237|     22|        for (auto offsetTy : coopVecOffsetTypes) {
  ------------------
  |  Branch (5237:28): [True: 22, False: 11]
  ------------------
 5238|    264|            for (uint32_t i = 0; i < sizeof(basicTypes)/sizeof(basicTypes[0]); ++i) {
  ------------------
  |  Branch (5238:34): [True: 242, False: 22]
  ------------------
 5239|    242|                std::string func = std::string("void coopVecMatMulNV(out coopvecNV result, ") +
 5240|    242|                                   std::string("coopvecNV v, ") +
 5241|    242|                                   std::string("int inputInterpretation, ") +
 5242|    242|                                   std::string(basicTypes[i]) + std::string("[] matrix, ") +
 5243|    242|                                   offsetTy + std::string(" matrixOffset, ") +
 5244|    242|                                   std::string("int matrixInterpretation, ") +
 5245|    242|                                   std::string("uint M, ") +
 5246|    242|                                   std::string("uint K, ") +
 5247|    242|                                   std::string("int matrixLayout, ") +
 5248|    242|                                   std::string("bool transpose, ") +
 5249|    242|                                   std::string("uint matrixStride);\n");
 5250|    242|                commonBuiltins.append(func.c_str());
 5251|       |
 5252|  2.90k|                for (uint32_t j = 0; j < sizeof(basicTypes)/sizeof(basicTypes[0]); ++j) {
  ------------------
  |  Branch (5252:38): [True: 2.66k, False: 242]
  ------------------
 5253|  2.66k|                    func = std::string("void coopVecMatMulAddNV(out coopvecNV result, ") +
 5254|  2.66k|                           std::string("coopvecNV v, ") +
 5255|  2.66k|                           std::string("int inputInterpretation, ") +
 5256|  2.66k|                           std::string(basicTypes[i]) + std::string("[] matrix, ") +
 5257|  2.66k|                           offsetTy + std::string(" matrixOffset, ") +
 5258|  2.66k|                           std::string("int matrixInterpretation, ") +
 5259|  2.66k|                           std::string(basicTypes[j]) + std::string("[] bias, ") +
 5260|  2.66k|                           offsetTy + std::string(" biasOffset, ") +
 5261|  2.66k|                           std::string("int biasInterpretation, ") +
 5262|  2.66k|                           std::string("uint M, ") +
 5263|  2.66k|                           std::string("uint K, ") +
 5264|  2.66k|                           std::string("int matrixLayout, ") +
 5265|  2.66k|                           std::string("bool transpose, ") +
 5266|  2.66k|                           std::string("uint matrixStride);\n");
 5267|  2.66k|                    commonBuiltins.append(func.c_str());
 5268|  2.66k|                }
 5269|       |
 5270|    242|                func = std::string("void coopVecOuterProductAccumulateNV(coopvecNV v1, coopvecNV v2, ") +
 5271|    242|                       std::string(basicTypes[i]) +
 5272|    242|                       std::string("[] buf, ") + offsetTy + std::string(" offset, uint stride, int matrixLayout, int matrixInterpretation);\n");
 5273|    242|                commonBuiltins.append(func.c_str());
 5274|       |
 5275|    242|                func = std::string("void coopVecReduceSumAccumulateNV(coopvecNV v, ") +
 5276|    242|                       std::string(basicTypes[i]) +
 5277|    242|                       std::string("[] buf, ") + offsetTy + std::string(" offset);\n");
 5278|    242|                commonBuiltins.append(func.c_str());
 5279|    242|            }
 5280|     22|        }
 5281|     11|        std::string cooperativeVectorFuncs =
 5282|     11|            "coopvecNV fma(coopvecNV, coopvecNV, coopvecNV);\n"
 5283|     11|            "coopvecNV min(coopvecNV, coopvecNV);\n"
 5284|     11|            "coopvecNV max(coopvecNV, coopvecNV);\n"
 5285|     11|            "coopvecNV step(coopvecNV, coopvecNV);\n"
 5286|     11|            "coopvecNV exp(coopvecNV);\n"
 5287|     11|            "coopvecNV log(coopvecNV);\n"
 5288|     11|            "coopvecNV tanh(coopvecNV);\n"
 5289|     11|            "coopvecNV atan(coopvecNV);\n"
 5290|     11|            "coopvecNV clamp(coopvecNV, coopvecNV, coopvecNV);\n";
 5291|       |
 5292|     11|        commonBuiltins.append(cooperativeVectorFuncs.c_str());
 5293|       |
 5294|     11|        if (profile != EEsProfile) {
  ------------------
  |  Branch (5294:13): [True: 11, False: 0]
  ------------------
 5295|     11|            std::string longVectorFuncs =
 5296|       |
 5297|       |                // manually add long vector prototypes for functions not in BaseFunctions/etc
 5298|     11|                "vector frexp(vector, vector);\n"
 5299|     11|                "vector ldexp(vector, vector);\n"
 5300|     11|                "vector fma(vector, vector, vector);\n"
 5301|       |
 5302|     11|                "vector floatBitsToInt(vector);\n"
 5303|     11|                "vector floatBitsToUint(vector);\n"
 5304|     11|                "vector intBitsToFloat(vector);\n"
 5305|     11|                "vector uintBitsToFloat(vector);\n"
 5306|     11|                "vector doubleBitsToInt64(vector);"
 5307|     11|                "vector doubleBitsToUint64(vector);"
 5308|     11|                "vector int64BitsToDouble(vector);"
 5309|     11|                "vector uint64BitsToDouble(vector);"
 5310|     11|                "vector bfloat16BitsToIntEXT(vector);"
 5311|     11|                "vector bfloat16BitsToUintEXT(vector);"
 5312|     11|                "vector intBitsToBFloat16EXT(vector);"
 5313|     11|                "vector uintBitsToBFloat16EXT(vector);"
 5314|     11|                "vector halfBitsToInt16(vector);"
 5315|     11|                "vector halfBitsToUint16(vector);"
 5316|     11|                "vector float16BitsToInt16(vector);"
 5317|     11|                "vector float16BitsToUint16(vector);"
 5318|     11|                "vector int16BitsToFloat16(vector);"
 5319|     11|                "vector uint16BitsToFloat16(vector);"
 5320|     11|                "vector int16BitsToHalf(vector);"
 5321|     11|                "vector uint16BitsToHalf(vector);"
 5322|     11|                "vector floate5m2BitsToIntEXT(vector);"
 5323|     11|                "vector floate5m2BitsToUintEXT(vector);"
 5324|     11|                "vector intBitsToFloate5m2EXT(vector);"
 5325|     11|                "vector uintBitsToFloate5m2EXT(vector);"
 5326|     11|                "vector floate4m3BitsToIntEXT(vector);"
 5327|     11|                "vector floate4m3BitsToUintEXT(vector);"
 5328|     11|                "vector intBitsToFloate4m3EXT(vector);"
 5329|     11|                "vector uintBitsToFloate4m3EXT(vector);"
 5330|       |
 5331|     11|                "vector floatue8m0BitsToIntEXT(vector);"
 5332|     11|                "vector floatue8m0BitsToUintEXT(vector);"
 5333|     11|                "vector intBitsToFloatue8m0EXT(vector);"
 5334|     11|                "vector uintBitsToFloatue8m0EXT(vector);"
 5335|     11|                "vector floatmxint8BitsToIntEXT(vector);"
 5336|     11|                "vector floatmxint8BitsToUintEXT(vector);"
 5337|     11|                "vector intBitsToFloatmxint8EXT(vector);"
 5338|     11|                "vector uintBitsToFloatmxint8EXT(vector);"
 5339|       |
 5340|     11|                "vector uaddCarry(highp vector, highp vector, out lowp vector carry);"
 5341|     11|                "vector usubBorrow(highp vector, highp vector, out lowp vector borrow);"
 5342|     11|                "void umulExtended(highp vector, highp vector, out highp vector, out highp vector);"
 5343|     11|                "void imulExtended(highp vector, highp vector, out highp vector, out highp vector);"
 5344|     11|                "vector bitfieldExtract(vector, int, int);"
 5345|     11|                "vector bitfieldInsert(vector, vector, int, int);"
 5346|     11|                "vector bitfieldReverse(highp vector);"
 5347|     11|                "vector bitCount(vector);"
 5348|     11|                "vector findLSB(vector);"
 5349|     11|                "vector findMSB(vector);"
 5350|       |
 5351|       |                // BaseFunctions overloads with a scalar parameter don't get generated in AddLongVectorBuiltin
 5352|     11|                "vector mod(vector, double);\n"
 5353|     11|                "vector min(vector, double);\n"
 5354|     11|                "vector max(vector, double);\n"
 5355|     11|                "vector clamp(vector, double, double);"
 5356|     11|                "vector mix(vector, vector,  double);"
 5357|     11|                "vector step(double, vector);"
 5358|     11|                "vector smoothstep(double, double, vector);"
 5359|     11|                "vector refract(vector, vector, double);"
 5360|       |
 5361|     11|                "vector mod(vector, float16_t);\n"
 5362|     11|                "vector min(vector, float16_t);\n"
 5363|     11|                "vector max(vector, float16_t);\n"
 5364|     11|                "vector clamp(vector, float16_t, float16_t);"
 5365|     11|                "vector mix(vector, vector,  float16_t);"
 5366|     11|                "vector step(float16_t, vector);"
 5367|     11|                "vector smoothstep(float16_t, float16_t, vector);"
 5368|     11|                "vector refract(vector, vector, float16_t);"
 5369|       |
 5370|     11|                "vector min(vector, uint64_t);\n"
 5371|     11|                "vector max(vector, uint64_t);\n"
 5372|     11|                "vector clamp(vector, uint64_t, uint64_t);"
 5373|     11|                "vector mix(vector, vector,  uint64_t);"
 5374|       |
 5375|     11|                "vector min(vector, int64_t);\n"
 5376|     11|                "vector max(vector, int64_t);\n"
 5377|     11|                "vector clamp(vector, int64_t, int64_t);"
 5378|     11|                "vector mix(vector, vector,  int64_t);"
 5379|       |
 5380|     11|                "vector min(vector, uint16_t);\n"
 5381|     11|                "vector max(vector, uint16_t);\n"
 5382|     11|                "vector clamp(vector, uint16_t, uint16_t);"
 5383|     11|                "vector mix(vector, vector,  uint16_t);"
 5384|       |
 5385|     11|                "vector min(vector, int16_t);\n"
 5386|     11|                "vector max(vector, int16_t);\n"
 5387|     11|                "vector clamp(vector, int16_t, int16_t);"
 5388|     11|                "vector mix(vector, vector,  int16_t);"
 5389|       |
 5390|     11|                "vector min(vector, uint8_t);\n"
 5391|     11|                "vector max(vector, uint8_t);\n"
 5392|     11|                "vector clamp(vector, uint8_t, uint8_t);"
 5393|     11|                "vector mix(vector, vector,  uint8_t);"
 5394|       |
 5395|     11|                "vector min(vector, int8_t);\n"
 5396|     11|                "vector max(vector, int8_t);\n"
 5397|     11|                "vector clamp(vector, int8_t, int8_t);"
 5398|     11|                "vector mix(vector, vector,  int8_t);"
 5399|       |
 5400|     11|                "vector expectEXT(vector, vector);"
 5401|       |
 5402|     11|                "vector bitcastExtractfe2m1EXT(vector, uint);"
 5403|     11|                "vector bitcastExtractfe3m2EXT(vector, uint);"
 5404|     11|                "vector bitcastExtractfe2m3EXT(vector, uint);"
 5405|     11|                ;
 5406|       |
 5407|     11|            std::string longVectorDerivativeFuncs =
 5408|     11|                "vector dFdxFine(vector);"
 5409|     11|                "vector dFdyFine(vector);"
 5410|     11|                "vector fwidthFine(vector);"
 5411|     11|                "vector dFdxCoarse(vector);"
 5412|     11|                "vector dFdyCoarse(vector);"
 5413|     11|                "vector fwidthCoarse(vector);"
 5414|       |
 5415|     11|                ;
 5416|     11|            commonBuiltins.append(longVectorFuncs.c_str());
 5417|     11|            stageBuiltins[EShLangFragment].append(longVectorDerivativeFuncs.c_str());
 5418|     11|            stageBuiltins[EShLangCompute].append(longVectorDerivativeFuncs.c_str());
 5419|     11|        }
 5420|       |
 5421|     11|        const char *scalarAndVectorTypes[] = {
 5422|     11|            "int8_t",
 5423|     11|            "int16_t",
 5424|     11|            "int32_t",
 5425|     11|            "int64_t",
 5426|     11|            "uint8_t",
 5427|     11|            "uint16_t",
 5428|     11|            "uint32_t",
 5429|     11|            "uint64_t",
 5430|     11|            "float16_t",
 5431|     11|            "float32_t",
 5432|     11|            "float64_t",
 5433|     11|            "i8vec2",
 5434|     11|            "i16vec2",
 5435|     11|            "i32vec2",
 5436|     11|            "i64vec2",
 5437|     11|            "u8vec2",
 5438|     11|            "u16vec2",
 5439|     11|            "u32vec2",
 5440|     11|            "u64vec2",
 5441|     11|            "f16vec2",
 5442|     11|            "f32vec2",
 5443|     11|            "f64vec2",
 5444|     11|            "i8vec3",
 5445|     11|            "i16vec3",
 5446|     11|            "i32vec3",
 5447|     11|            "i64vec3",
 5448|     11|            "u8vec3",
 5449|     11|            "u16vec3",
 5450|     11|            "u32vec3",
 5451|     11|            "u64vec3",
 5452|     11|            "f16vec3",
 5453|     11|            "f32vec3",
 5454|     11|            "f64vec3",
 5455|     11|            "i8vec4",
 5456|     11|            "i16vec4",
 5457|     11|            "i32vec4",
 5458|     11|            "i64vec4",
 5459|     11|            "u8vec4",
 5460|     11|            "u16vec4",
 5461|     11|            "u32vec4",
 5462|     11|            "u64vec4",
 5463|     11|            "f16vec4",
 5464|     11|            "f32vec4",
 5465|     11|            "f64vec4",
 5466|     11|        };
 5467|       |
 5468|     22|        for (auto offsetTy : coopVecOffsetTypes) {
  ------------------
  |  Branch (5468:28): [True: 22, False: 11]
  ------------------
 5469|    990|            for (uint32_t i = 0; i < sizeof(scalarAndVectorTypes)/sizeof(scalarAndVectorTypes[0]); ++i) {
  ------------------
  |  Branch (5469:34): [True: 968, False: 22]
  ------------------
 5470|    968|                std::string load = std::string("void coopVecLoadNV(out coopvecNV v, volatile coherent ") +
 5471|    968|                                   std::string(scalarAndVectorTypes[i]) + std::string("[] buf, ") + offsetTy + std::string(" offset);");
 5472|    968|                std::string store = std::string("void coopVecStoreNV(coopvecNV v, volatile coherent ") +
 5473|    968|                                   std::string(scalarAndVectorTypes[i]) + std::string("[] buf, ") + offsetTy + std::string(" offset);");
 5474|    968|                commonBuiltins.append(load.c_str());
 5475|    968|                commonBuiltins.append(store.c_str());
 5476|    968|            }
 5477|     22|        }
 5478|       |
 5479|     11|        commonBuiltins.append(
 5480|     11|            "const int gl_CooperativeVectorMatrixLayoutRowMajorNV = 0;\n"
 5481|     11|            "const int gl_CooperativeVectorMatrixLayoutColumnMajorNV = 1;\n"
 5482|     11|            "const int gl_CooperativeVectorMatrixLayoutInferencingOptimalNV = 2;\n"
 5483|     11|            "const int gl_CooperativeVectorMatrixLayoutTrainingOptimalNV = 3;\n"
 5484|     11|            "\n"
 5485|     11|            );
 5486|       |
 5487|     11|        commonBuiltins.append(
 5488|     11|            "const int gl_ComponentTypeFloat16NV                = 0;\n"
 5489|     11|            "const int gl_ComponentTypeFloat32NV                = 1;\n"
 5490|     11|            "const int gl_ComponentTypeFloat64NV                = 2;\n"
 5491|     11|            "const int gl_ComponentTypeSignedInt8NV             = 3;\n"
 5492|     11|            "const int gl_ComponentTypeSignedInt16NV            = 4;\n"
 5493|     11|            "const int gl_ComponentTypeSignedInt32NV            = 5;\n"
 5494|     11|            "const int gl_ComponentTypeSignedInt64NV            = 6;\n"
 5495|     11|            "const int gl_ComponentTypeUnsignedInt8NV           = 7;\n"
 5496|     11|            "const int gl_ComponentTypeUnsignedInt16NV          = 8;\n"
 5497|     11|            "const int gl_ComponentTypeUnsignedInt32NV          = 9;\n"
 5498|     11|            "const int gl_ComponentTypeUnsignedInt64NV          = 10;\n"
 5499|     11|            "const int gl_ComponentTypeSignedInt8PackedNV       = 1000491000;\n"
 5500|     11|            "const int gl_ComponentTypeUnsignedInt8PackedNV     = 1000491001;\n"
 5501|     11|            "const int gl_ComponentTypeFloatE4M3NV              = 1000491002;\n"
 5502|     11|            "const int gl_ComponentTypeFloatE5M2NV              = 1000491003;\n"
 5503|     11|            "\n"
 5504|     11|            );
 5505|     11|    }
 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|    115|    if (spvVersion.spv == 0 && (profile != EEsProfile || version == 100)) {
  ------------------
  |  Branch (5516:9): [True: 0, False: 115]
  |  Branch (5516:33): [True: 0, False: 0]
  |  Branch (5516:58): [True: 0, False: 0]
  ------------------
 5517|      0|        stageBuiltins[EShLangFragment].append(
 5518|      0|            "vec4 texture2D(sampler2D, vec2, float);"
 5519|      0|            "vec4 texture2DProj(sampler2D, vec3, float);"
 5520|      0|            "vec4 texture2DProj(sampler2D, vec4, float);"
 5521|      0|            "vec4 texture3D(sampler3D, vec3, float);"        // OES_texture_3D
 5522|      0|            "vec4 texture3DProj(sampler3D, vec4, float);"    // OES_texture_3D
 5523|      0|            "vec4 textureCube(samplerCube, vec3, float);"
 5524|       |
 5525|      0|            "\n");
 5526|      0|    }
 5527|    115|    if (spvVersion.spv == 0 && (profile != EEsProfile && version > 100)) {
  ------------------
  |  Branch (5527:9): [True: 0, False: 115]
  |  Branch (5527:33): [True: 0, False: 0]
  |  Branch (5527:58): [True: 0, False: 0]
  ------------------
 5528|      0|        stageBuiltins[EShLangFragment].append(
 5529|      0|            "vec4 texture1D(sampler1D, float, float);"
 5530|      0|            "vec4 texture1DProj(sampler1D, vec2, float);"
 5531|      0|            "vec4 texture1DProj(sampler1D, vec4, float);"
 5532|      0|            "vec4 shadow1D(sampler1DShadow, vec3, float);"
 5533|      0|            "vec4 shadow2D(sampler2DShadow, vec3, float);"
 5534|      0|            "vec4 shadow1DProj(sampler1DShadow, vec4, float);"
 5535|      0|            "vec4 shadow2DProj(sampler2DShadow, vec4, float);"
 5536|       |
 5537|      0|            "\n");
 5538|      0|    }
 5539|    115|    if (spvVersion.spv == 0 && profile == EEsProfile) {
  ------------------
  |  Branch (5539:9): [True: 0, False: 115]
  |  Branch (5539:32): [True: 0, False: 0]
  ------------------
 5540|      0|        stageBuiltins[EShLangFragment].append(
 5541|      0|            "vec4 texture2DLodEXT(sampler2D, vec2, float);"      // GL_EXT_shader_texture_lod
 5542|      0|            "vec4 texture2DProjLodEXT(sampler2D, vec3, float);"  // GL_EXT_shader_texture_lod
 5543|      0|            "vec4 texture2DProjLodEXT(sampler2D, vec4, float);"  // GL_EXT_shader_texture_lod
 5544|      0|            "vec4 textureCubeLodEXT(samplerCube, vec3, float);"  // GL_EXT_shader_texture_lod
 5545|       |
 5546|      0|            "\n");
 5547|      0|    }
 5548|       |
 5549|       |    // GL_EXT_shader_tile_image
 5550|    115|    if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (5550:9): [True: 115, False: 0]
  ------------------
 5551|    115|        stageBuiltins[EShLangFragment].append(
 5552|    115|            "lowp uint stencilAttachmentReadEXT();"
 5553|    115|            "lowp uint stencilAttachmentReadEXT(int);"
 5554|    115|            "highp float depthAttachmentReadEXT();"
 5555|    115|            "highp float depthAttachmentReadEXT(int);"
 5556|    115|            "\n");
 5557|    115|        stageBuiltins[EShLangFragment].append(
 5558|    115|            "vec4 colorAttachmentReadEXT(attachmentEXT);"
 5559|    115|            "vec4 colorAttachmentReadEXT(attachmentEXT, int);"
 5560|    115|            "ivec4 colorAttachmentReadEXT(iattachmentEXT);"
 5561|    115|            "ivec4 colorAttachmentReadEXT(iattachmentEXT, int);"
 5562|    115|            "uvec4 colorAttachmentReadEXT(uattachmentEXT);"
 5563|    115|            "uvec4 colorAttachmentReadEXT(uattachmentEXT, int);"
 5564|    115|            "\n");
 5565|    115|    }
 5566|       |
 5567|       |    // GL_ARB_derivative_control
 5568|    115|    if (profile != EEsProfile && version >= 400) {
  ------------------
  |  Branch (5568:9): [True: 115, False: 0]
  |  Branch (5568:34): [True: 15, False: 100]
  ------------------
 5569|     15|        stageBuiltins[EShLangFragment].append(derivativeControls);
 5570|     15|        stageBuiltins[EShLangFragment].append("\n");
 5571|     15|    }
 5572|       |
 5573|       |    // GL_OES_shader_multisample_interpolation
 5574|    115|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (5574:10): [True: 0, False: 115]
  |  Branch (5574:35): [True: 0, False: 0]
  ------------------
 5575|    115|        (profile != EEsProfile && version >= 150)) { // NV_gpu_shader5
  ------------------
  |  Branch (5575:10): [True: 115, False: 0]
  |  Branch (5575:35): [True: 16, False: 99]
  ------------------
 5576|     16|        stageBuiltins[EShLangFragment].append(
 5577|     16|            "float interpolateAtCentroid(float);"
 5578|     16|            "vec2  interpolateAtCentroid(vec2);"
 5579|     16|            "vec3  interpolateAtCentroid(vec3);"
 5580|     16|            "vec4  interpolateAtCentroid(vec4);"
 5581|       |
 5582|     16|            "float interpolateAtSample(float, int);"
 5583|     16|            "vec2  interpolateAtSample(vec2,  int);"
 5584|     16|            "vec3  interpolateAtSample(vec3,  int);"
 5585|     16|            "vec4  interpolateAtSample(vec4,  int);"
 5586|       |
 5587|     16|            "float interpolateAtOffset(float, vec2);"
 5588|     16|            "vec2  interpolateAtOffset(vec2,  vec2);"
 5589|     16|            "vec3  interpolateAtOffset(vec3,  vec2);"
 5590|     16|            "vec4  interpolateAtOffset(vec4,  vec2);"
 5591|       |
 5592|     16|            "\n");
 5593|     16|    }
 5594|       |
 5595|    115|    stageBuiltins[EShLangFragment].append(
 5596|    115|        "void beginInvocationInterlockARB(void);"
 5597|    115|        "void endInvocationInterlockARB(void);");
 5598|       |
 5599|    115|    stageBuiltins[EShLangFragment].append(
 5600|    115|        "bool helperInvocationEXT();"
 5601|    115|        "\n");
 5602|       |
 5603|       |    // GL_AMD_shader_explicit_vertex_parameter
 5604|    115|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5604:9): [True: 115, False: 0]
  |  Branch (5604:34): [True: 11, False: 104]
  ------------------
 5605|     11|        stageBuiltins[EShLangFragment].append(
 5606|     11|            "float interpolateAtVertexAMD(float, uint);"
 5607|     11|            "vec2  interpolateAtVertexAMD(vec2,  uint);"
 5608|     11|            "vec3  interpolateAtVertexAMD(vec3,  uint);"
 5609|     11|            "vec4  interpolateAtVertexAMD(vec4,  uint);"
 5610|       |
 5611|     11|            "int   interpolateAtVertexAMD(int,   uint);"
 5612|     11|            "ivec2 interpolateAtVertexAMD(ivec2, uint);"
 5613|     11|            "ivec3 interpolateAtVertexAMD(ivec3, uint);"
 5614|     11|            "ivec4 interpolateAtVertexAMD(ivec4, uint);"
 5615|       |
 5616|     11|            "uint  interpolateAtVertexAMD(uint,  uint);"
 5617|     11|            "uvec2 interpolateAtVertexAMD(uvec2, uint);"
 5618|     11|            "uvec3 interpolateAtVertexAMD(uvec3, uint);"
 5619|     11|            "uvec4 interpolateAtVertexAMD(uvec4, uint);"
 5620|       |
 5621|     11|            "float16_t interpolateAtVertexAMD(float16_t, uint);"
 5622|     11|            "f16vec2   interpolateAtVertexAMD(f16vec2,   uint);"
 5623|     11|            "f16vec3   interpolateAtVertexAMD(f16vec3,   uint);"
 5624|     11|            "f16vec4   interpolateAtVertexAMD(f16vec4,   uint);"
 5625|       |
 5626|     11|            "\n");
 5627|     11|    }
 5628|       |
 5629|       |    // GL_AMD_gpu_shader_half_float
 5630|    115|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5630:9): [True: 115, False: 0]
  |  Branch (5630:34): [True: 11, False: 104]
  ------------------
 5631|     11|        stageBuiltins[EShLangFragment].append(derivativesAndControl16bits);
 5632|     11|        stageBuiltins[EShLangFragment].append("\n");
 5633|       |
 5634|     11|        stageBuiltins[EShLangFragment].append(
 5635|     11|            "float16_t interpolateAtCentroid(float16_t);"
 5636|     11|            "f16vec2   interpolateAtCentroid(f16vec2);"
 5637|     11|            "f16vec3   interpolateAtCentroid(f16vec3);"
 5638|     11|            "f16vec4   interpolateAtCentroid(f16vec4);"
 5639|       |
 5640|     11|            "float16_t interpolateAtSample(float16_t, int);"
 5641|     11|            "f16vec2   interpolateAtSample(f16vec2,   int);"
 5642|     11|            "f16vec3   interpolateAtSample(f16vec3,   int);"
 5643|     11|            "f16vec4   interpolateAtSample(f16vec4,   int);"
 5644|       |
 5645|     11|            "float16_t interpolateAtOffset(float16_t, f16vec2);"
 5646|     11|            "f16vec2   interpolateAtOffset(f16vec2,   f16vec2);"
 5647|     11|            "f16vec3   interpolateAtOffset(f16vec3,   f16vec2);"
 5648|     11|            "f16vec4   interpolateAtOffset(f16vec4,   f16vec2);"
 5649|       |
 5650|     11|            "\n");
 5651|     11|    }
 5652|       |
 5653|       |    // GL_ARB_shader_clock& GL_EXT_shader_realtime_clock
 5654|    115|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5654:9): [True: 115, False: 0]
  |  Branch (5654:34): [True: 11, False: 104]
  ------------------
 5655|     11|        commonBuiltins.append(
 5656|     11|            "uvec2 clock2x32ARB();"
 5657|     11|            "uint64_t clockARB();"
 5658|     11|            "uvec2 clockRealtime2x32EXT();"
 5659|     11|            "uint64_t clockRealtimeEXT();"
 5660|     11|            "\n");
 5661|     11|    }
 5662|       |
 5663|       |    // GL_AMD_shader_fragment_mask
 5664|    115|    if (profile != EEsProfile && version >= 450 && spvVersion.vulkan > 0) {
  ------------------
  |  Branch (5664:9): [True: 115, False: 0]
  |  Branch (5664:34): [True: 11, False: 104]
  |  Branch (5664:52): [True: 11, False: 0]
  ------------------
 5665|     11|        stageBuiltins[EShLangFragment].append(
 5666|     11|            "uint fragmentMaskFetchAMD(subpassInputMS);"
 5667|     11|            "uint fragmentMaskFetchAMD(isubpassInputMS);"
 5668|     11|            "uint fragmentMaskFetchAMD(usubpassInputMS);"
 5669|       |
 5670|     11|            "vec4  fragmentFetchAMD(subpassInputMS,  uint);"
 5671|     11|            "ivec4 fragmentFetchAMD(isubpassInputMS, uint);"
 5672|     11|            "uvec4 fragmentFetchAMD(usubpassInputMS, uint);"
 5673|       |
 5674|     11|            "\n");
 5675|     11|    }
 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|    115|    if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (5679:9): [True: 115, False: 0]
  |  Branch (5679:34): [True: 0, False: 115]
  ------------------
 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|    115|    if ((profile == EEsProfile && version >= 320) || (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (5968:10): [True: 0, False: 115]
  |  Branch (5968:35): [True: 0, False: 0]
  |  Branch (5968:55): [True: 115, False: 0]
  |  Branch (5968:80): [True: 11, False: 104]
  ------------------
 5969|     11|        if (profile != EEsProfile) {
  ------------------
  |  Branch (5969:13): [True: 11, False: 0]
  ------------------
 5970|     11|            stageBuiltins[EShLangCompute].append(derivatives);
 5971|     11|            stageBuiltins[EShLangTask].append(derivatives);
 5972|     11|            stageBuiltins[EShLangMesh].append(derivatives);
 5973|     11|        }
 5974|       |
 5975|     11|        stageBuiltins[EShLangCompute].append(derivativeControls);
 5976|     11|        stageBuiltins[EShLangCompute].append("\n");
 5977|       |
 5978|     11|        if (profile != EEsProfile) {
  ------------------
  |  Branch (5978:13): [True: 11, False: 0]
  ------------------
 5979|     11|            stageBuiltins[EShLangTask].append(derivativeControls);
 5980|     11|            stageBuiltins[EShLangTask].append("\n");
 5981|     11|            stageBuiltins[EShLangMesh].append(derivativeControls);
 5982|     11|            stageBuiltins[EShLangMesh].append("\n");
 5983|     11|        }
 5984|     11|    }
 5985|    115|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5985:9): [True: 115, False: 0]
  |  Branch (5985:34): [True: 11, False: 104]
  ------------------
 5986|     11|        stageBuiltins[EShLangCompute].append(derivativesAndControl16bits);
 5987|     11|        stageBuiltins[EShLangCompute].append(derivativesAndControl64bits);
 5988|     11|        stageBuiltins[EShLangCompute].append("\n");
 5989|     11|        stageBuiltins[EShLangTask].append(derivativesAndControl16bits);
 5990|     11|        stageBuiltins[EShLangTask].append(derivativesAndControl64bits);
 5991|     11|        stageBuiltins[EShLangTask].append("\n");
 5992|     11|        stageBuiltins[EShLangMesh].append(derivativesAndControl16bits);
 5993|     11|        stageBuiltins[EShLangMesh].append(derivativesAndControl64bits);
 5994|     11|        stageBuiltins[EShLangMesh].append("\n");
 5995|     11|    }
 5996|       |
 5997|       |    // Builtins for GL_NV_mesh_shader
 5998|    115|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (5998:10): [True: 115, False: 0]
  |  Branch (5998:35): [True: 11, False: 104]
  |  Branch (5998:55): [True: 0, False: 104]
  |  Branch (5998:80): [True: 0, False: 0]
  ------------------
 5999|     11|        stageBuiltins[EShLangMesh].append(
 6000|     11|            "void writePackedPrimitiveIndices4x8NV(uint, uint);"
 6001|     11|            "\n");
 6002|     11|    }
 6003|       |    // Builtins for GL_EXT_mesh_shader
 6004|    115|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (6004:10): [True: 115, False: 0]
  |  Branch (6004:35): [True: 11, False: 104]
  |  Branch (6004:55): [True: 0, False: 104]
  |  Branch (6004:80): [True: 0, False: 0]
  ------------------
 6005|       |        // Builtins for GL_EXT_mesh_shader
 6006|     11|        stageBuiltins[EShLangTask].append(
 6007|     11|            "void EmitMeshTasksEXT(uint, uint, uint);"
 6008|     11|            "\n");
 6009|       |
 6010|     11|        stageBuiltins[EShLangMesh].append(
 6011|     11|            "void SetMeshOutputsEXT(uint, uint);"
 6012|     11|            "\n");
 6013|     11|    }
 6014|       |    // Builtins for GL_NV_displacement_micromap
 6015|    115|    if ((profile != EEsProfile && version >= 460) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (6015:10): [True: 115, False: 0]
  |  Branch (6015:35): [True: 0, False: 115]
  |  Branch (6015:55): [True: 0, False: 115]
  |  Branch (6015:80): [True: 0, False: 0]
  ------------------
 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|    115|    if (spvVersion.spv == 0) {
  ------------------
  |  Branch (6038:9): [True: 0, False: 115]
  ------------------
 6039|      0|        commonBuiltins.append(
 6040|      0|            "struct gl_DepthRangeParameters {"
 6041|      0|            );
 6042|      0|        if (profile == EEsProfile) {
  ------------------
  |  Branch (6042:13): [True: 0, False: 0]
  ------------------
 6043|      0|            commonBuiltins.append(
 6044|      0|                "highp float near;"   // n
 6045|      0|                "highp float far;"    // f
 6046|      0|                "highp float diff;"   // f - n
 6047|      0|                );
 6048|      0|        } else {
 6049|      0|            commonBuiltins.append(
 6050|      0|                "float near;"  // n
 6051|      0|                "float far;"   // f
 6052|      0|                "float diff;"  // f - n
 6053|      0|                );
 6054|      0|        }
 6055|       |
 6056|      0|        commonBuiltins.append(
 6057|      0|            "};"
 6058|      0|            "uniform gl_DepthRangeParameters gl_DepthRange;"
 6059|      0|            "\n");
 6060|      0|    }
 6061|       |
 6062|    115|    if (spvVersion.spv == 0 && IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (6062:9): [True: 0, False: 115]
  |  Branch (6062:32): [True: 0, False: 0]
  ------------------
 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|    115|    if ((profile != EEsProfile && version >= 420) ||
  ------------------
  |  Branch (6186:10): [True: 115, False: 0]
  |  Branch (6186:35): [True: 11, False: 104]
  ------------------
 6187|    104|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6187:10): [True: 0, False: 104]
  |  Branch (6187:35): [True: 0, False: 0]
  ------------------
 6188|     11|        stageBuiltins[EShLangCompute].append(
 6189|     11|            "in    highp uvec3 gl_NumWorkGroups;"
 6190|     11|            "const highp uvec3 gl_WorkGroupSize = uvec3(1,1,1);"
 6191|       |
 6192|     11|            "in highp uvec3 gl_WorkGroupID;"
 6193|     11|            "in highp uvec3 gl_LocalInvocationID;"
 6194|       |
 6195|     11|            "in highp uvec3 gl_GlobalInvocationID;"
 6196|     11|            "in highp uint gl_LocalInvocationIndex;"
 6197|       |
 6198|     11|            "\n");
 6199|     11|    }
 6200|       |
 6201|    115|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6201:10): [True: 115, False: 0]
  |  Branch (6201:35): [True: 115, False: 0]
  ------------------
 6202|    115|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6202:10): [True: 0, False: 0]
  |  Branch (6202:35): [True: 0, False: 0]
  ------------------
 6203|    115|        stageBuiltins[EShLangCompute].append(
 6204|    115|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6205|    115|            "\n");
 6206|    115|    }
 6207|       |
 6208|       |    // GL_QCOM_tile_shading
 6209|    115|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (6209:10): [True: 0, False: 115]
  |  Branch (6209:35): [True: 0, False: 0]
  ------------------
 6210|    115|        (profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (6210:10): [True: 115, False: 0]
  |  Branch (6210:35): [True: 0, False: 115]
  ------------------
 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|    115|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (6224:10): [True: 115, False: 0]
  |  Branch (6224:35): [True: 11, False: 104]
  |  Branch (6224:55): [True: 0, False: 104]
  |  Branch (6224:80): [True: 0, False: 0]
  ------------------
 6225|       |        // per-vertex attributes
 6226|     11|        stageBuiltins[EShLangMesh].append(
 6227|     11|            "out gl_MeshPerVertexNV {"
 6228|     11|                "vec4 gl_Position;"
 6229|     11|                "float gl_PointSize;"
 6230|     11|                "float gl_ClipDistance[];"
 6231|     11|                "float gl_CullDistance[];"
 6232|     11|                "perviewNV vec4 gl_PositionPerViewNV[];"
 6233|     11|                "perviewNV float gl_ClipDistancePerViewNV[][];"
 6234|     11|                "perviewNV float gl_CullDistancePerViewNV[][];"
 6235|     11|            "} gl_MeshVerticesNV[];"
 6236|     11|        );
 6237|       |
 6238|       |        // per-primitive attributes
 6239|     11|        stageBuiltins[EShLangMesh].append(
 6240|     11|            "perprimitiveNV out gl_MeshPerPrimitiveNV {"
 6241|     11|                "int gl_PrimitiveID;"
 6242|     11|                "int gl_Layer;"
 6243|     11|                "int gl_ViewportIndex;"
 6244|     11|                "int gl_ViewportMask[];"
 6245|     11|                "perviewNV int gl_LayerPerViewNV[];"
 6246|     11|                "perviewNV int gl_ViewportMaskPerViewNV[][];"
 6247|     11|            "} gl_MeshPrimitivesNV[];"
 6248|     11|        );
 6249|       |
 6250|     11|        stageBuiltins[EShLangMesh].append(
 6251|     11|            "out uint gl_PrimitiveCountNV;"
 6252|     11|            "out uint gl_PrimitiveIndicesNV[];"
 6253|       |
 6254|     11|            "in uint gl_MeshViewCountNV;"
 6255|     11|            "in uint gl_MeshViewIndicesNV[4];"
 6256|       |
 6257|     11|            "const highp uvec3 gl_WorkGroupSize = uvec3(1,1,1);"
 6258|       |
 6259|     11|            "in highp uvec3 gl_WorkGroupID;"
 6260|     11|            "in highp uvec3 gl_LocalInvocationID;"
 6261|       |
 6262|     11|            "in highp uvec3 gl_GlobalInvocationID;"
 6263|     11|            "in highp uint gl_LocalInvocationIndex;"
 6264|     11|            "\n");
 6265|       |
 6266|       |        // GL_EXT_mesh_shader
 6267|     11|        stageBuiltins[EShLangMesh].append(
 6268|     11|            "out uint gl_PrimitivePointIndicesEXT[];"
 6269|     11|            "out uvec2 gl_PrimitiveLineIndicesEXT[];"
 6270|     11|            "out uvec3 gl_PrimitiveTriangleIndicesEXT[];"
 6271|     11|            "in    highp uvec3 gl_NumWorkGroups;"
 6272|     11|            "\n");
 6273|       |
 6274|       |        // per-vertex attributes
 6275|     11|        stageBuiltins[EShLangMesh].append(
 6276|     11|            "out gl_MeshPerVertexEXT {"
 6277|     11|                "vec4 gl_Position;"
 6278|     11|                "float gl_PointSize;"
 6279|     11|                "float gl_ClipDistance[];"
 6280|     11|                "float gl_CullDistance[];"
 6281|     11|            "} gl_MeshVerticesEXT[];"
 6282|     11|        );
 6283|       |
 6284|       |        // per-primitive attributes
 6285|     11|        stageBuiltins[EShLangMesh].append(
 6286|     11|            "perprimitiveEXT out gl_MeshPerPrimitiveEXT {"
 6287|     11|                "int gl_PrimitiveID;"
 6288|     11|                "int gl_Layer;"
 6289|     11|                "int gl_ViewportIndex;"
 6290|     11|                "bool gl_CullPrimitiveEXT;"
 6291|     11|                "int  gl_PrimitiveShadingRateEXT;"
 6292|     11|            "} gl_MeshPrimitivesEXT[];"
 6293|     11|        );
 6294|       |
 6295|     11|        stageBuiltins[EShLangTask].append(
 6296|     11|            "out uint gl_TaskCountNV;"
 6297|       |
 6298|     11|            "const highp uvec3 gl_WorkGroupSize = uvec3(1,1,1);"
 6299|       |
 6300|     11|            "in highp uvec3 gl_WorkGroupID;"
 6301|     11|            "in highp uvec3 gl_LocalInvocationID;"
 6302|       |
 6303|     11|            "in highp uvec3 gl_GlobalInvocationID;"
 6304|     11|            "in highp uint gl_LocalInvocationIndex;"
 6305|       |
 6306|     11|            "in uint gl_MeshViewCountNV;"
 6307|     11|            "in uint gl_MeshViewIndicesNV[4];"
 6308|     11|            "in    highp uvec3 gl_NumWorkGroups;"
 6309|     11|            "\n");
 6310|     11|    }
 6311|       |
 6312|    115|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (6312:9): [True: 115, False: 0]
  |  Branch (6312:34): [True: 11, False: 104]
  ------------------
 6313|     11|        stageBuiltins[EShLangMesh].append(
 6314|     11|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6315|     11|            "in int gl_DrawIDARB;"             // GL_ARB_shader_draw_parameters
 6316|     11|            "in int gl_ViewIndex;"             // GL_EXT_multiview
 6317|     11|            "\n");
 6318|       |
 6319|     11|        stageBuiltins[EShLangTask].append(
 6320|     11|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6321|     11|            "in int gl_DrawIDARB;"             // GL_ARB_shader_draw_parameters
 6322|     11|            "\n");
 6323|       |
 6324|     11|        if (version >= 460) {
  ------------------
  |  Branch (6324:13): [True: 0, False: 11]
  ------------------
 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|     11|    }
 6334|       |
 6335|       |    //============================================================================
 6336|       |    //
 6337|       |    // Define the interface to the vertex shader.
 6338|       |    //
 6339|       |    //============================================================================
 6340|       |
 6341|    115|    if (profile != EEsProfile) {
  ------------------
  |  Branch (6341:9): [True: 115, False: 0]
  ------------------
 6342|    115|        if (version < 130) {
  ------------------
  |  Branch (6342:13): [True: 0, False: 115]
  ------------------
 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|    115|        } else if (IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (6358:20): [True: 0, False: 115]
  ------------------
 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|    115|        if (version < 150) {
  ------------------
  |  Branch (6376:13): [True: 99, False: 16]
  ------------------
 6377|     99|            if (version < 130) {
  ------------------
  |  Branch (6377:17): [True: 0, False: 99]
  ------------------
 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|     99|            } else if (IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (6387:24): [True: 0, False: 99]
  ------------------
 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|     99|            stageBuiltins[EShLangVertex].append(
 6399|     99|                "vec4 gl_Position;"   // needs qualifier fixed later
 6400|     99|                "float gl_PointSize;" // needs qualifier fixed later
 6401|     99|                );
 6402|       |
 6403|     99|            if (version == 130 || version == 140)
  ------------------
  |  Branch (6403:17): [True: 0, False: 99]
  |  Branch (6403:35): [True: 99, False: 0]
  ------------------
 6404|     99|                stageBuiltins[EShLangVertex].append(
 6405|     99|                    "out float gl_ClipDistance[];"
 6406|     99|                    );
 6407|     99|        } else {
 6408|       |            // version >= 150
 6409|     16|            stageBuiltins[EShLangVertex].append(
 6410|     16|                "out gl_PerVertex {"
 6411|     16|                    "vec4 gl_Position;"     // needs qualifier fixed later
 6412|     16|                    "float gl_PointSize;"   // needs qualifier fixed later
 6413|     16|                    "float gl_ClipDistance[];"
 6414|     16|                    );
 6415|     16|            if (IncludeLegacy(version, profile, spvVersion))
  ------------------
  |  Branch (6415:17): [True: 0, False: 16]
  ------------------
 6416|      0|                stageBuiltins[EShLangVertex].append(
 6417|      0|                    "vec4 gl_ClipVertex;"   // needs qualifier fixed later
 6418|      0|                    "vec4 gl_FrontColor;"
 6419|      0|                    "vec4 gl_BackColor;"
 6420|      0|                    "vec4 gl_FrontSecondaryColor;"
 6421|      0|                    "vec4 gl_BackSecondaryColor;"
 6422|      0|                    "vec4 gl_TexCoord[];"
 6423|      0|                    "float gl_FogFragCoord;"
 6424|      0|                    );
 6425|     16|            if (version >= 450)
  ------------------
  |  Branch (6425:17): [True: 11, False: 5]
  ------------------
 6426|     11|                stageBuiltins[EShLangVertex].append(
 6427|     11|                    "float gl_CullDistance[];"
 6428|     11|                    );
 6429|     16|            stageBuiltins[EShLangVertex].append(
 6430|     16|                "};"
 6431|     16|                "\n");
 6432|     16|        }
 6433|    115|        if (version >= 130 && spvVersion.vulkan == 0)
  ------------------
  |  Branch (6433:13): [True: 115, False: 0]
  |  Branch (6433:31): [True: 0, False: 115]
  ------------------
 6434|      0|            stageBuiltins[EShLangVertex].append(
 6435|      0|                "int gl_VertexID;"            // needs qualifier fixed later
 6436|      0|                );
 6437|    115|        if (spvVersion.vulkan == 0)
  ------------------
  |  Branch (6437:13): [True: 0, False: 115]
  ------------------
 6438|      0|            stageBuiltins[EShLangVertex].append(
 6439|      0|                "int gl_InstanceID;"          // needs qualifier fixed later
 6440|      0|                );
 6441|    115|        if (spvVersion.vulkan > 0 && version >= 140)
  ------------------
  |  Branch (6441:13): [True: 115, False: 0]
  |  Branch (6441:38): [True: 115, False: 0]
  ------------------
 6442|    115|            stageBuiltins[EShLangVertex].append(
 6443|    115|                "in int gl_VertexIndex;"
 6444|    115|                "in int gl_InstanceIndex;"
 6445|    115|                );
 6446|       |
 6447|    115|        if (spvVersion.vulkan > 0 && version >= 140 && spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (6447:13): [True: 115, False: 0]
  |  Branch (6447:38): [True: 115, False: 0]
  |  Branch (6447:56): [True: 0, False: 115]
  ------------------
 6448|      0|            stageBuiltins[EShLangVertex].append(
 6449|      0|                "in int gl_VertexID;"         // declare with 'in' qualifier
 6450|      0|                "in int gl_InstanceID;"
 6451|      0|                );
 6452|       |
 6453|    115|        if (version >= 440) {
  ------------------
  |  Branch (6453:13): [True: 11, False: 104]
  ------------------
 6454|     11|            stageBuiltins[EShLangVertex].append(
 6455|     11|                "in int gl_BaseVertexARB;"
 6456|     11|                "in int gl_BaseInstanceARB;"
 6457|     11|                "in int gl_DrawIDARB;"
 6458|     11|                );
 6459|     11|        }
 6460|    115|        if (version >= 410) {
  ------------------
  |  Branch (6460:13): [True: 11, False: 104]
  ------------------
 6461|     11|            stageBuiltins[EShLangVertex].append(
 6462|     11|                "out int gl_ViewportIndex;"
 6463|     11|                "out int gl_Layer;"
 6464|     11|                );
 6465|     11|        }
 6466|    115|        if (version >= 460) {
  ------------------
  |  Branch (6466:13): [True: 0, False: 115]
  ------------------
 6467|      0|            stageBuiltins[EShLangVertex].append(
 6468|      0|                "in int gl_BaseVertex;"
 6469|      0|                "in int gl_BaseInstance;"
 6470|      0|                "in int gl_DrawID;"
 6471|      0|                );
 6472|      0|        }
 6473|       |
 6474|    115|        if (version >= 430)
  ------------------
  |  Branch (6474:13): [True: 11, False: 104]
  ------------------
 6475|     11|            stageBuiltins[EShLangVertex].append(
 6476|     11|                "out int gl_ViewportMask[];"             // GL_NV_viewport_array2
 6477|     11|                );
 6478|       |
 6479|    115|        if (version >= 450)
  ------------------
  |  Branch (6479:13): [True: 11, False: 104]
  ------------------
 6480|     11|            stageBuiltins[EShLangVertex].append(
 6481|     11|                "out int gl_SecondaryViewportMaskNV[];"  // GL_NV_stereo_view_rendering
 6482|     11|                "out vec4 gl_SecondaryPositionNV;"       // GL_NV_stereo_view_rendering
 6483|     11|                "out vec4 gl_PositionPerViewNV[];"       // GL_NVX_multiview_per_view_attributes
 6484|     11|                "out int  gl_ViewportMaskPerViewNV[];"   // GL_NVX_multiview_per_view_attributes
 6485|     11|                );
 6486|    115|    } else {
 6487|       |        // ES profile
 6488|      0|        if (version == 100) {
  ------------------
  |  Branch (6488:13): [True: 0, False: 0]
  ------------------
 6489|      0|            stageBuiltins[EShLangVertex].append(
 6490|      0|                "highp   vec4  gl_Position;"  // needs qualifier fixed later
 6491|      0|                "mediump float gl_PointSize;" // needs qualifier fixed later
 6492|      0|                "highp int gl_InstanceID;" // needs qualifier fixed later
 6493|      0|                );
 6494|      0|        } else {
 6495|      0|            if (spvVersion.vulkan == 0 || spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (6495:17): [True: 0, False: 0]
  |  Branch (6495:43): [True: 0, False: 0]
  ------------------
 6496|      0|                stageBuiltins[EShLangVertex].append(
 6497|      0|                    "in highp int gl_VertexID;"      // needs qualifier fixed later
 6498|      0|                    "in highp int gl_InstanceID;"    // needs qualifier fixed later
 6499|      0|                    );
 6500|      0|            if (spvVersion.vulkan > 0)
  ------------------
  |  Branch (6500:17): [True: 0, False: 0]
  ------------------
 6501|      0|                stageBuiltins[EShLangVertex].append(
 6502|      0|                    "in highp int gl_VertexIndex;"
 6503|      0|                    "in highp int gl_InstanceIndex;"
 6504|      0|                    );
 6505|      0|            if (version < 310)
  ------------------
  |  Branch (6505:17): [True: 0, False: 0]
  ------------------
 6506|      0|                stageBuiltins[EShLangVertex].append(
 6507|      0|                    "highp vec4  gl_Position;"    // needs qualifier fixed later
 6508|      0|                    "highp float gl_PointSize;"   // needs qualifier fixed later
 6509|      0|                    );
 6510|      0|            else
 6511|      0|                stageBuiltins[EShLangVertex].append(
 6512|      0|                    "out gl_PerVertex {"
 6513|      0|                        "highp vec4  gl_Position;"    // needs qualifier fixed later
 6514|      0|                        "highp float gl_PointSize;"   // needs qualifier fixed later
 6515|      0|                    "};"
 6516|      0|                    );
 6517|      0|        }
 6518|      0|    }
 6519|       |
 6520|    115|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6520:10): [True: 115, False: 0]
  |  Branch (6520:35): [True: 115, False: 0]
  ------------------
 6521|    115|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6521:10): [True: 0, False: 0]
  |  Branch (6521:35): [True: 0, False: 0]
  ------------------
 6522|    115|        stageBuiltins[EShLangVertex].append(
 6523|    115|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6524|    115|            "in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6525|    115|            "\n");
 6526|    115|    }
 6527|       |
 6528|    115|    if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (6528:9): [True: 15, False: 100]
  ------------------
 6529|     15|        stageBuiltins[EShLangVertex].append(
 6530|     15|            "in highp uint gl_ViewID_OVR;"     // GL_OVR_multiview, GL_OVR_multiview2
 6531|     15|            "\n");
 6532|     15|    }
 6533|       |
 6534|    115|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6534:10): [True: 115, False: 0]
  |  Branch (6534:35): [True: 11, False: 104]
  |  Branch (6534:55): [True: 0, False: 104]
  |  Branch (6534:80): [True: 0, False: 0]
  ------------------
 6535|     11|        stageBuiltins[EShLangVertex].append(
 6536|     11|            "out highp int gl_PrimitiveShadingRateEXT;" // GL_EXT_fragment_shading_rate
 6537|     11|            "\n");
 6538|     11|    }
 6539|       |
 6540|       |    //============================================================================
 6541|       |    //
 6542|       |    // Define the interface to the geometry shader.
 6543|       |    //
 6544|       |    //============================================================================
 6545|       |
 6546|    115|    if (profile == ECoreProfile || profile == ECompatibilityProfile) {
  ------------------
  |  Branch (6546:9): [True: 10, False: 105]
  |  Branch (6546:36): [True: 0, False: 105]
  ------------------
 6547|     10|        stageBuiltins[EShLangGeometry].append(
 6548|     10|            "in gl_PerVertex {"
 6549|     10|                "vec4 gl_Position;"
 6550|     10|                "float gl_PointSize;"
 6551|     10|                "float gl_ClipDistance[];"
 6552|     10|                );
 6553|     10|        if (profile == ECompatibilityProfile)
  ------------------
  |  Branch (6553:13): [True: 0, False: 10]
  ------------------
 6554|      0|            stageBuiltins[EShLangGeometry].append(
 6555|      0|                "vec4 gl_ClipVertex;"
 6556|      0|                "vec4 gl_FrontColor;"
 6557|      0|                "vec4 gl_BackColor;"
 6558|      0|                "vec4 gl_FrontSecondaryColor;"
 6559|      0|                "vec4 gl_BackSecondaryColor;"
 6560|      0|                "vec4 gl_TexCoord[];"
 6561|      0|                "float gl_FogFragCoord;"
 6562|      0|                );
 6563|     10|        if (version >= 450)
  ------------------
  |  Branch (6563:13): [True: 5, False: 5]
  ------------------
 6564|      5|            stageBuiltins[EShLangGeometry].append(
 6565|      5|                "float gl_CullDistance[];"
 6566|      5|                "vec4 gl_SecondaryPositionNV;"   // GL_NV_stereo_view_rendering
 6567|      5|                "vec4 gl_PositionPerViewNV[];"   // GL_NVX_multiview_per_view_attributes
 6568|      5|                );
 6569|     10|        stageBuiltins[EShLangGeometry].append(
 6570|     10|            "} gl_in[];"
 6571|       |
 6572|     10|            "in int gl_PrimitiveIDIn;"
 6573|     10|            "out gl_PerVertex {"
 6574|     10|                "vec4 gl_Position;"
 6575|     10|                "float gl_PointSize;"
 6576|     10|                "float gl_ClipDistance[];"
 6577|     10|                "\n");
 6578|     10|        if (profile == ECompatibilityProfile && version >= 400)
  ------------------
  |  Branch (6578:13): [True: 0, False: 10]
  |  Branch (6578:49): [True: 0, False: 0]
  ------------------
 6579|      0|            stageBuiltins[EShLangGeometry].append(
 6580|      0|                "vec4 gl_ClipVertex;"
 6581|      0|                "vec4 gl_FrontColor;"
 6582|      0|                "vec4 gl_BackColor;"
 6583|      0|                "vec4 gl_FrontSecondaryColor;"
 6584|      0|                "vec4 gl_BackSecondaryColor;"
 6585|      0|                "vec4 gl_TexCoord[];"
 6586|      0|                "float gl_FogFragCoord;"
 6587|      0|                );
 6588|     10|        if (version >= 450)
  ------------------
  |  Branch (6588:13): [True: 5, False: 5]
  ------------------
 6589|      5|            stageBuiltins[EShLangGeometry].append(
 6590|      5|                "float gl_CullDistance[];"
 6591|      5|                );
 6592|     10|        stageBuiltins[EShLangGeometry].append(
 6593|     10|            "};"
 6594|       |
 6595|     10|            "out int gl_PrimitiveID;"
 6596|     10|            "out int gl_Layer;");
 6597|       |
 6598|     10|        if (version >= 150)
  ------------------
  |  Branch (6598:13): [True: 10, False: 0]
  ------------------
 6599|     10|            stageBuiltins[EShLangGeometry].append(
 6600|     10|            "out int gl_ViewportIndex;"
 6601|     10|            );
 6602|       |
 6603|     10|        if (profile == ECompatibilityProfile && version < 400)
  ------------------
  |  Branch (6603:13): [True: 0, False: 10]
  |  Branch (6603:49): [True: 0, False: 0]
  ------------------
 6604|      0|            stageBuiltins[EShLangGeometry].append(
 6605|      0|            "out vec4 gl_ClipVertex;"
 6606|      0|            );
 6607|       |
 6608|     10|        if (version >= 150)
  ------------------
  |  Branch (6608:13): [True: 10, False: 0]
  ------------------
 6609|     10|            stageBuiltins[EShLangGeometry].append(
 6610|     10|            "in int gl_InvocationID;"
 6611|     10|            );
 6612|       |
 6613|     10|        if (version >= 430)
  ------------------
  |  Branch (6613:13): [True: 5, False: 5]
  ------------------
 6614|      5|            stageBuiltins[EShLangGeometry].append(
 6615|      5|                "out int gl_ViewportMask[];"               // GL_NV_viewport_array2
 6616|      5|            );
 6617|       |
 6618|     10|        if (version >= 450)
  ------------------
  |  Branch (6618:13): [True: 5, False: 5]
  ------------------
 6619|      5|            stageBuiltins[EShLangGeometry].append(
 6620|      5|                "out int gl_SecondaryViewportMaskNV[];"    // GL_NV_stereo_view_rendering
 6621|      5|                "out vec4 gl_SecondaryPositionNV;"         // GL_NV_stereo_view_rendering
 6622|      5|                "out vec4 gl_PositionPerViewNV[];"         // GL_NVX_multiview_per_view_attributes
 6623|      5|                "out int  gl_ViewportMaskPerViewNV[];"     // GL_NVX_multiview_per_view_attributes
 6624|      5|            );
 6625|       |
 6626|     10|        stageBuiltins[EShLangGeometry].append("\n");
 6627|    105|    } else if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (6627:16): [True: 0, False: 105]
  |  Branch (6627:41): [True: 0, False: 0]
  ------------------
 6628|      0|        stageBuiltins[EShLangGeometry].append(
 6629|      0|            "in gl_PerVertex {"
 6630|      0|                "highp vec4 gl_Position;"
 6631|      0|                "highp float gl_PointSize;"
 6632|      0|            "} gl_in[];"
 6633|      0|            "\n"
 6634|      0|            "in highp int gl_PrimitiveIDIn;"
 6635|      0|            "in highp int gl_InvocationID;"
 6636|      0|            "\n"
 6637|      0|            "out gl_PerVertex {"
 6638|      0|                "highp vec4 gl_Position;"
 6639|      0|                "highp float gl_PointSize;"
 6640|      0|            "};"
 6641|      0|            "\n"
 6642|      0|            "out highp int gl_PrimitiveID;"
 6643|      0|            "out highp int gl_Layer;"
 6644|      0|            "\n"
 6645|      0|            );
 6646|      0|    }
 6647|       |
 6648|    115|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6648:10): [True: 115, False: 0]
  |  Branch (6648:35): [True: 115, False: 0]
  ------------------
 6649|    115|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6649:10): [True: 0, False: 0]
  |  Branch (6649:35): [True: 0, False: 0]
  ------------------
 6650|    115|        stageBuiltins[EShLangGeometry].append(
 6651|    115|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6652|    115|            "in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6653|    115|            "\n");
 6654|    115|    }
 6655|       |
 6656|    115|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6656:10): [True: 115, False: 0]
  |  Branch (6656:35): [True: 11, False: 104]
  |  Branch (6656:55): [True: 0, False: 104]
  |  Branch (6656:80): [True: 0, False: 0]
  ------------------
 6657|     11|        stageBuiltins[EShLangGeometry].append(
 6658|     11|            "out highp int gl_PrimitiveShadingRateEXT;" // GL_EXT_fragment_shading_rate
 6659|     11|            "\n");
 6660|     11|    }
 6661|       |
 6662|       |    //============================================================================
 6663|       |    //
 6664|       |    // Define the interface to the tessellation control shader.
 6665|       |    //
 6666|       |    //============================================================================
 6667|       |
 6668|    115|    if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (6668:9): [True: 115, False: 0]
  |  Branch (6668:34): [True: 16, False: 99]
  ------------------
 6669|       |        // Note:  "in gl_PerVertex {...} gl_in[gl_MaxPatchVertices];" is declared in initialize() below,
 6670|       |        // as it depends on the resource sizing of gl_MaxPatchVertices.
 6671|       |
 6672|     16|        stageBuiltins[EShLangTessControl].append(
 6673|     16|            "in int gl_PatchVerticesIn;"
 6674|     16|            "in int gl_PrimitiveID;"
 6675|     16|            "in int gl_InvocationID;"
 6676|       |
 6677|     16|            "out gl_PerVertex {"
 6678|     16|                "vec4 gl_Position;"
 6679|     16|                "float gl_PointSize;"
 6680|     16|                "float gl_ClipDistance[];"
 6681|     16|                );
 6682|     16|        if (profile == ECompatibilityProfile)
  ------------------
  |  Branch (6682:13): [True: 0, False: 16]
  ------------------
 6683|      0|            stageBuiltins[EShLangTessControl].append(
 6684|      0|                "vec4 gl_ClipVertex;"
 6685|      0|                "vec4 gl_FrontColor;"
 6686|      0|                "vec4 gl_BackColor;"
 6687|      0|                "vec4 gl_FrontSecondaryColor;"
 6688|      0|                "vec4 gl_BackSecondaryColor;"
 6689|      0|                "vec4 gl_TexCoord[];"
 6690|      0|                "float gl_FogFragCoord;"
 6691|      0|                );
 6692|     16|        if (version >= 450)
  ------------------
  |  Branch (6692:13): [True: 11, False: 5]
  ------------------
 6693|     11|            stageBuiltins[EShLangTessControl].append(
 6694|     11|                "float gl_CullDistance[];"
 6695|     11|            );
 6696|     16|        if (version >= 430)
  ------------------
  |  Branch (6696:13): [True: 11, False: 5]
  ------------------
 6697|     11|            stageBuiltins[EShLangTessControl].append(
 6698|     11|                "int  gl_ViewportMask[];"             // GL_NV_viewport_array2
 6699|     11|            );
 6700|     16|        if (version >= 450)
  ------------------
  |  Branch (6700:13): [True: 11, False: 5]
  ------------------
 6701|     11|            stageBuiltins[EShLangTessControl].append(
 6702|     11|                "vec4 gl_SecondaryPositionNV;"        // GL_NV_stereo_view_rendering
 6703|     11|                "int  gl_SecondaryViewportMaskNV[];"  // GL_NV_stereo_view_rendering
 6704|     11|                "vec4 gl_PositionPerViewNV[];"        // GL_NVX_multiview_per_view_attributes
 6705|     11|                "int  gl_ViewportMaskPerViewNV[];"    // GL_NVX_multiview_per_view_attributes
 6706|     11|                );
 6707|     16|        stageBuiltins[EShLangTessControl].append(
 6708|     16|            "} gl_out[];"
 6709|       |
 6710|     16|            "patch out float gl_TessLevelOuter[4];"
 6711|     16|            "patch out float gl_TessLevelInner[2];"
 6712|     16|            "\n");
 6713|       |
 6714|     16|        if (version >= 410)
  ------------------
  |  Branch (6714:13): [True: 11, False: 5]
  ------------------
 6715|     11|            stageBuiltins[EShLangTessControl].append(
 6716|     11|                "out int gl_ViewportIndex;"
 6717|     11|                "out int gl_Layer;"
 6718|     11|                "\n");
 6719|       |
 6720|     99|    } 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|     99|        stageBuiltins[EShLangTessControl].append(
 6725|     99|            "in highp int gl_PatchVerticesIn;"
 6726|     99|            "in highp int gl_PrimitiveID;"
 6727|     99|            "in highp int gl_InvocationID;"
 6728|       |
 6729|     99|            "out gl_PerVertex {"
 6730|     99|                "highp vec4 gl_Position;"
 6731|     99|                "highp float gl_PointSize;"
 6732|     99|                );
 6733|     99|        stageBuiltins[EShLangTessControl].append(
 6734|     99|            "} gl_out[];"
 6735|       |
 6736|     99|            "patch out highp float gl_TessLevelOuter[4];"
 6737|     99|            "patch out highp float gl_TessLevelInner[2];"
 6738|     99|            "patch out highp vec4 gl_BoundingBoxOES[2];"
 6739|     99|            "patch out highp vec4 gl_BoundingBoxEXT[2];"
 6740|     99|            "\n");
 6741|     99|        if (profile == EEsProfile && version >= 320) {
  ------------------
  |  Branch (6741:13): [True: 0, False: 99]
  |  Branch (6741:38): [True: 0, False: 0]
  ------------------
 6742|      0|            stageBuiltins[EShLangTessControl].append(
 6743|      0|                "patch out highp vec4 gl_BoundingBox[2];"
 6744|      0|                "\n"
 6745|      0|            );
 6746|      0|        }
 6747|     99|    }
 6748|       |
 6749|    115|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6749:10): [True: 115, False: 0]
  |  Branch (6749:35): [True: 115, False: 0]
  ------------------
 6750|    115|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6750:10): [True: 0, False: 0]
  |  Branch (6750:35): [True: 0, False: 0]
  ------------------
 6751|    115|        stageBuiltins[EShLangTessControl].append(
 6752|    115|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6753|    115|            "in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6754|    115|            "\n");
 6755|    115|    }
 6756|       |
 6757|       |    //============================================================================
 6758|       |    //
 6759|       |    // Define the interface to the tessellation evaluation shader.
 6760|       |    //
 6761|       |    //============================================================================
 6762|       |
 6763|    115|    if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (6763:9): [True: 115, False: 0]
  |  Branch (6763:34): [True: 16, False: 99]
  ------------------
 6764|       |        // Note:  "in gl_PerVertex {...} gl_in[gl_MaxPatchVertices];" is declared in initialize() below,
 6765|       |        // as it depends on the resource sizing of gl_MaxPatchVertices.
 6766|       |
 6767|     16|        stageBuiltins[EShLangTessEvaluation].append(
 6768|     16|            "in int gl_PatchVerticesIn;"
 6769|     16|            "in int gl_PrimitiveID;"
 6770|     16|            "in vec3 gl_TessCoord;"
 6771|       |
 6772|     16|            "patch in float gl_TessLevelOuter[4];"
 6773|     16|            "patch in float gl_TessLevelInner[2];"
 6774|       |
 6775|     16|            "out gl_PerVertex {"
 6776|     16|                "vec4 gl_Position;"
 6777|     16|                "float gl_PointSize;"
 6778|     16|                "float gl_ClipDistance[];"
 6779|     16|            );
 6780|     16|        if (version >= 400 && profile == ECompatibilityProfile)
  ------------------
  |  Branch (6780:13): [True: 15, False: 1]
  |  Branch (6780:31): [True: 0, False: 15]
  ------------------
 6781|      0|            stageBuiltins[EShLangTessEvaluation].append(
 6782|      0|                "vec4 gl_ClipVertex;"
 6783|      0|                "vec4 gl_FrontColor;"
 6784|      0|                "vec4 gl_BackColor;"
 6785|      0|                "vec4 gl_FrontSecondaryColor;"
 6786|      0|                "vec4 gl_BackSecondaryColor;"
 6787|      0|                "vec4 gl_TexCoord[];"
 6788|      0|                "float gl_FogFragCoord;"
 6789|      0|                );
 6790|     16|        if (version >= 450)
  ------------------
  |  Branch (6790:13): [True: 11, False: 5]
  ------------------
 6791|     11|            stageBuiltins[EShLangTessEvaluation].append(
 6792|     11|                "float gl_CullDistance[];"
 6793|     11|                );
 6794|     16|        stageBuiltins[EShLangTessEvaluation].append(
 6795|     16|            "};"
 6796|     16|            "\n");
 6797|       |
 6798|     16|        if (version >= 410)
  ------------------
  |  Branch (6798:13): [True: 11, False: 5]
  ------------------
 6799|     11|            stageBuiltins[EShLangTessEvaluation].append(
 6800|     11|                "out int gl_ViewportIndex;"
 6801|     11|                "out int gl_Layer;"
 6802|     11|                "\n");
 6803|       |
 6804|     16|        if (version >= 430)
  ------------------
  |  Branch (6804:13): [True: 11, False: 5]
  ------------------
 6805|     11|            stageBuiltins[EShLangTessEvaluation].append(
 6806|     11|                "out int  gl_ViewportMask[];"             // GL_NV_viewport_array2
 6807|     11|            );
 6808|       |
 6809|     16|        if (version >= 450)
  ------------------
  |  Branch (6809:13): [True: 11, False: 5]
  ------------------
 6810|     11|            stageBuiltins[EShLangTessEvaluation].append(
 6811|     11|                "out vec4 gl_SecondaryPositionNV;"        // GL_NV_stereo_view_rendering
 6812|     11|                "out int  gl_SecondaryViewportMaskNV[];"  // GL_NV_stereo_view_rendering
 6813|     11|                "out vec4 gl_PositionPerViewNV[];"        // GL_NVX_multiview_per_view_attributes
 6814|     11|                "out int  gl_ViewportMaskPerViewNV[];"    // GL_NVX_multiview_per_view_attributes
 6815|     11|                );
 6816|       |
 6817|     99|    } else if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (6817:16): [True: 0, False: 99]
  |  Branch (6817:41): [True: 0, False: 0]
  ------------------
 6818|       |        // Note:  "in gl_PerVertex {...} gl_in[gl_MaxPatchVertices];" is declared in initialize() below,
 6819|       |        // as it depends on the resource sizing of gl_MaxPatchVertices.
 6820|       |
 6821|      0|        stageBuiltins[EShLangTessEvaluation].append(
 6822|      0|            "in highp int gl_PatchVerticesIn;"
 6823|      0|            "in highp int gl_PrimitiveID;"
 6824|      0|            "in highp vec3 gl_TessCoord;"
 6825|       |
 6826|      0|            "patch in highp float gl_TessLevelOuter[4];"
 6827|      0|            "patch in highp float gl_TessLevelInner[2];"
 6828|       |
 6829|      0|            "out gl_PerVertex {"
 6830|      0|                "highp vec4 gl_Position;"
 6831|      0|                "highp float gl_PointSize;"
 6832|      0|            );
 6833|      0|        stageBuiltins[EShLangTessEvaluation].append(
 6834|      0|            "};"
 6835|      0|            "\n");
 6836|      0|    }
 6837|       |
 6838|    115|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6838:10): [True: 115, False: 0]
  |  Branch (6838:35): [True: 115, False: 0]
  ------------------
 6839|    115|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6839:10): [True: 0, False: 0]
  |  Branch (6839:35): [True: 0, False: 0]
  ------------------
 6840|    115|        stageBuiltins[EShLangTessEvaluation].append(
 6841|    115|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6842|    115|            "in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6843|    115|            "\n");
 6844|    115|    }
 6845|       |
 6846|       |    //============================================================================
 6847|       |    //
 6848|       |    // Define the interface to the fragment shader.
 6849|       |    //
 6850|       |    //============================================================================
 6851|       |
 6852|    115|    if (profile != EEsProfile) {
  ------------------
  |  Branch (6852:9): [True: 115, False: 0]
  ------------------
 6853|       |
 6854|    115|        stageBuiltins[EShLangFragment].append(
 6855|    115|            "vec4  gl_FragCoord;"   // needs qualifier fixed later
 6856|    115|            "bool  gl_FrontFacing;" // needs qualifier fixed later
 6857|    115|            "float gl_FragDepth;"   // needs qualifier fixed later
 6858|    115|            );
 6859|    115|        if (version >= 120)
  ------------------
  |  Branch (6859:13): [True: 115, False: 0]
  ------------------
 6860|    115|            stageBuiltins[EShLangFragment].append(
 6861|    115|                "vec2 gl_PointCoord;"  // needs qualifier fixed later
 6862|    115|                );
 6863|    115|        if (version >= 140)
  ------------------
  |  Branch (6863:13): [True: 115, False: 0]
  ------------------
 6864|    115|            stageBuiltins[EShLangFragment].append(
 6865|    115|                "out int gl_FragStencilRefARB;"
 6866|    115|                );
 6867|    115|        if (IncludeLegacy(version, profile, spvVersion) || (! ForwardCompatibility && version < 420))
  ------------------
  |  Branch (6867:13): [True: 0, False: 115]
  |  Branch (6867:61): [True: 115, Folded]
  |  Branch (6867:87): [True: 104, False: 11]
  ------------------
 6868|    104|            stageBuiltins[EShLangFragment].append(
 6869|    104|                "vec4 gl_FragColor;"   // needs qualifier fixed later
 6870|    104|                );
 6871|       |
 6872|    115|        if (version < 130) {
  ------------------
  |  Branch (6872:13): [True: 0, False: 115]
  ------------------
 6873|      0|            stageBuiltins[EShLangFragment].append(
 6874|      0|                "varying vec4  gl_Color;"
 6875|      0|                "varying vec4  gl_SecondaryColor;"
 6876|      0|                "varying vec4  gl_TexCoord[];"
 6877|      0|                "varying float gl_FogFragCoord;"
 6878|      0|                );
 6879|    115|        } else {
 6880|    115|            stageBuiltins[EShLangFragment].append(
 6881|    115|                "in float gl_ClipDistance[];"
 6882|    115|                );
 6883|       |
 6884|    115|            if (IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (6884:17): [True: 0, False: 115]
  ------------------
 6885|      0|                if (version < 150)
  ------------------
  |  Branch (6885:21): [True: 0, False: 0]
  ------------------
 6886|      0|                    stageBuiltins[EShLangFragment].append(
 6887|      0|                        "in float gl_FogFragCoord;"
 6888|      0|                        "in vec4  gl_TexCoord[];"
 6889|      0|                        "in vec4  gl_Color;"
 6890|      0|                        "in vec4  gl_SecondaryColor;"
 6891|      0|                        );
 6892|      0|                else
 6893|      0|                    stageBuiltins[EShLangFragment].append(
 6894|      0|                        "in gl_PerFragment {"
 6895|      0|                            "in float gl_FogFragCoord;"
 6896|      0|                            "in vec4  gl_TexCoord[];"
 6897|      0|                            "in vec4  gl_Color;"
 6898|      0|                            "in vec4  gl_SecondaryColor;"
 6899|      0|                        "};"
 6900|      0|                        );
 6901|      0|            }
 6902|    115|        }
 6903|       |
 6904|    115|        if (version >= 150)
  ------------------
  |  Branch (6904:13): [True: 16, False: 99]
  ------------------
 6905|     16|            stageBuiltins[EShLangFragment].append(
 6906|     16|                "flat in int gl_PrimitiveID;"
 6907|     16|                );
 6908|       |
 6909|    115|        if (version >= 130) { // ARB_sample_shading
  ------------------
  |  Branch (6909:13): [True: 115, False: 0]
  ------------------
 6910|    115|            stageBuiltins[EShLangFragment].append(
 6911|    115|                "flat in  int  gl_SampleID;"
 6912|    115|                "     in  vec2 gl_SamplePosition;"
 6913|    115|                "     out int  gl_SampleMask[];"
 6914|    115|                );
 6915|       |
 6916|    115|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (6916:17): [True: 0, False: 115]
  ------------------
 6917|      0|                stageBuiltins[EShLangFragment].append(
 6918|      0|                    "uniform int gl_NumSamples;"
 6919|      0|                );
 6920|      0|            }
 6921|    115|        }
 6922|       |
 6923|    115|        if (version >= 150)
  ------------------
  |  Branch (6923:13): [True: 16, False: 99]
  ------------------
 6924|     16|            stageBuiltins[EShLangFragment].append(
 6925|     16|                "flat in  int  gl_SampleMaskIn[];"
 6926|     16|            );
 6927|       |
 6928|    115|        if (version >= 430)
  ------------------
  |  Branch (6928:13): [True: 11, False: 104]
  ------------------
 6929|     11|            stageBuiltins[EShLangFragment].append(
 6930|     11|                "flat in int gl_Layer;"
 6931|     11|                "flat in int gl_ViewportIndex;"
 6932|     11|                );
 6933|       |
 6934|    115|        if (version >= 450)
  ------------------
  |  Branch (6934:13): [True: 11, False: 104]
  ------------------
 6935|     11|            stageBuiltins[EShLangFragment].append(
 6936|     11|                "in float gl_CullDistance[];"
 6937|     11|                "bool gl_HelperInvocation;"     // needs qualifier fixed later
 6938|     11|                );
 6939|       |
 6940|    115|        if (version >= 450)
  ------------------
  |  Branch (6940:13): [True: 11, False: 104]
  ------------------
 6941|     11|            stageBuiltins[EShLangFragment].append( // GL_EXT_fragment_invocation_density
 6942|     11|                "flat in ivec2 gl_FragSizeEXT;"
 6943|     11|                "flat in int   gl_FragInvocationCountEXT;"
 6944|     11|                );
 6945|       |
 6946|    115|        if (version >= 450)
  ------------------
  |  Branch (6946:13): [True: 11, False: 104]
  ------------------
 6947|     11|            stageBuiltins[EShLangFragment].append(
 6948|     11|                "in vec2 gl_BaryCoordNoPerspAMD;"
 6949|     11|                "in vec2 gl_BaryCoordNoPerspCentroidAMD;"
 6950|     11|                "in vec2 gl_BaryCoordNoPerspSampleAMD;"
 6951|     11|                "in vec2 gl_BaryCoordSmoothAMD;"
 6952|     11|                "in vec2 gl_BaryCoordSmoothCentroidAMD;"
 6953|     11|                "in vec2 gl_BaryCoordSmoothSampleAMD;"
 6954|     11|                "in vec3 gl_BaryCoordPullModelAMD;"
 6955|     11|                );
 6956|       |
 6957|    115|        if (version >= 430)
  ------------------
  |  Branch (6957:13): [True: 11, False: 104]
  ------------------
 6958|     11|            stageBuiltins[EShLangFragment].append(
 6959|     11|                "in bool gl_FragFullyCoveredNV;"
 6960|     11|                );
 6961|    115|        if (version >= 450)
  ------------------
  |  Branch (6961:13): [True: 11, False: 104]
  ------------------
 6962|     11|            stageBuiltins[EShLangFragment].append(
 6963|     11|                "flat in ivec2 gl_FragmentSizeNV;"          // GL_NV_shading_rate_image
 6964|     11|                "flat in int   gl_InvocationsPerPixelNV;"
 6965|     11|                "in vec3 gl_BaryCoordNV;"                   // GL_NV_fragment_shader_barycentric
 6966|     11|                "in vec3 gl_BaryCoordNoPerspNV;"
 6967|     11|                "in vec3 gl_BaryCoordEXT;"                  // GL_EXT_fragment_shader_barycentric
 6968|     11|                "in vec3 gl_BaryCoordNoPerspEXT;"
 6969|     11|                );
 6970|       |
 6971|    115|        if (version >= 450)
  ------------------
  |  Branch (6971:13): [True: 11, False: 104]
  ------------------
 6972|     11|            stageBuiltins[EShLangFragment].append(
 6973|     11|                "flat in int gl_ShadingRateEXT;" // GL_EXT_fragment_shading_rate
 6974|     11|            );
 6975|       |
 6976|    115|    } else {
 6977|       |        // ES profile
 6978|       |
 6979|      0|        if (version == 100) {
  ------------------
  |  Branch (6979:13): [True: 0, False: 0]
  ------------------
 6980|      0|            stageBuiltins[EShLangFragment].append(
 6981|      0|                "mediump vec4 gl_FragCoord;"    // needs qualifier fixed later
 6982|      0|                "        bool gl_FrontFacing;"  // needs qualifier fixed later
 6983|      0|                "mediump vec4 gl_FragColor;"    // needs qualifier fixed later
 6984|      0|                "mediump vec2 gl_PointCoord;"   // needs qualifier fixed later
 6985|      0|                );
 6986|      0|        }
 6987|      0|        if (version >= 300) {
  ------------------
  |  Branch (6987:13): [True: 0, False: 0]
  ------------------
 6988|      0|            stageBuiltins[EShLangFragment].append(
 6989|      0|                "highp   vec4  gl_FragCoord;"    // needs qualifier fixed later
 6990|      0|                "        bool  gl_FrontFacing;"  // needs qualifier fixed later
 6991|      0|                "mediump vec2  gl_PointCoord;"   // needs qualifier fixed later
 6992|      0|                "highp   float gl_FragDepth;"    // needs qualifier fixed later
 6993|      0|                );
 6994|      0|        }
 6995|      0|        if (version >= 310) {
  ------------------
  |  Branch (6995:13): [True: 0, False: 0]
  ------------------
 6996|      0|            stageBuiltins[EShLangFragment].append(
 6997|      0|                "bool gl_HelperInvocation;"          // needs qualifier fixed later
 6998|      0|                "flat in highp int gl_PrimitiveID;"  // needs qualifier fixed later
 6999|      0|                "flat in highp int gl_Layer;"        // needs qualifier fixed later
 7000|      0|                );
 7001|       |
 7002|      0|            stageBuiltins[EShLangFragment].append(  // GL_OES_sample_variables
 7003|      0|                "flat  in lowp     int gl_SampleID;"
 7004|      0|                "      in mediump vec2 gl_SamplePosition;"
 7005|      0|                "flat  in highp    int gl_SampleMaskIn[];"
 7006|      0|                "     out highp    int gl_SampleMask[];"
 7007|      0|                );
 7008|      0|            if (spvVersion.spv == 0)
  ------------------
  |  Branch (7008:17): [True: 0, False: 0]
  ------------------
 7009|      0|                stageBuiltins[EShLangFragment].append(  // GL_OES_sample_variables
 7010|      0|                    "uniform lowp int gl_NumSamples;"
 7011|      0|                    );
 7012|      0|        }
 7013|      0|        stageBuiltins[EShLangFragment].append(
 7014|      0|            "highp float gl_FragDepthEXT;"       // GL_EXT_frag_depth
 7015|      0|            );
 7016|       |
 7017|      0|        if (version >= 310)
  ------------------
  |  Branch (7017:13): [True: 0, False: 0]
  ------------------
 7018|      0|            stageBuiltins[EShLangFragment].append( // GL_EXT_fragment_invocation_density
 7019|      0|                "flat in ivec2 gl_FragSizeEXT;"
 7020|      0|                "flat in int   gl_FragInvocationCountEXT;"
 7021|      0|            );
 7022|      0|        if (version >= 320)
  ------------------
  |  Branch (7022:13): [True: 0, False: 0]
  ------------------
 7023|      0|            stageBuiltins[EShLangFragment].append( // GL_NV_shading_rate_image
 7024|      0|                "flat in ivec2 gl_FragmentSizeNV;"
 7025|      0|                "flat in int   gl_InvocationsPerPixelNV;"
 7026|      0|            );
 7027|      0|        if (version >= 320)
  ------------------
  |  Branch (7027:13): [True: 0, False: 0]
  ------------------
 7028|      0|            stageBuiltins[EShLangFragment].append(
 7029|      0|                "in vec3 gl_BaryCoordNV;"
 7030|      0|                "in vec3 gl_BaryCoordNoPerspNV;"
 7031|      0|                "in vec3 gl_BaryCoordEXT;"
 7032|      0|                "in vec3 gl_BaryCoordNoPerspEXT;"
 7033|      0|            );
 7034|      0|        if (version >= 310)
  ------------------
  |  Branch (7034:13): [True: 0, False: 0]
  ------------------
 7035|      0|            stageBuiltins[EShLangFragment].append(
 7036|      0|                "flat in highp int gl_ShadingRateEXT;" // GL_EXT_fragment_shading_rate
 7037|      0|            );
 7038|      0|    }
 7039|       |
 7040|    115|    stageBuiltins[EShLangFragment].append("\n");
 7041|       |
 7042|    115|    if (version >= 130)
  ------------------
  |  Branch (7042:9): [True: 115, False: 0]
  ------------------
 7043|    115|        add2ndGenerationSamplingImaging(version, profile, spvVersion);
 7044|       |
 7045|    115|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (7045:10): [True: 115, False: 0]
  |  Branch (7045:35): [True: 115, False: 0]
  ------------------
 7046|    115|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7046:10): [True: 0, False: 0]
  |  Branch (7046:35): [True: 0, False: 0]
  ------------------
 7047|    115|        stageBuiltins[EShLangFragment].append(
 7048|    115|            "flat in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 7049|    115|            "flat in highp int gl_ViewIndex;"       // GL_EXT_multiview
 7050|    115|            "\n");
 7051|    115|    }
 7052|       |
 7053|    115|    if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (7053:9): [True: 15, False: 100]
  ------------------
 7054|     15|        stageBuiltins[EShLangFragment].append(
 7055|     15|            "flat in highp uint gl_ViewID_OVR;"     // GL_OVR_multiview, GL_OVR_multiview2
 7056|     15|            "\n");
 7057|     15|    }
 7058|       |
 7059|       |    // GL_QCOM_tile_shading
 7060|    115|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (7060:10): [True: 0, False: 115]
  |  Branch (7060:35): [True: 0, False: 0]
  ------------------
 7061|    115|        (profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (7061:10): [True: 115, False: 0]
  |  Branch (7061:35): [True: 0, False: 115]
  ------------------
 7062|      0|        stageBuiltins[EShLangFragment].append(
 7063|      0|            "flat in highp uvec2 gl_TileOffsetQCOM;"     // GL_QCOM_tile_shading
 7064|      0|            "flat in highp uvec3 gl_TileDimensionQCOM;"  // GL_QCOM_tile_shading
 7065|      0|            "flat in highp uvec2 gl_TileApronSizeQCOM;"  // GL_QCOM_tile_shading
 7066|      0|            "\n");
 7067|      0|    }
 7068|       |
 7069|    115|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (7069:10): [True: 0, False: 115]
  |  Branch (7069:35): [True: 0, False: 0]
  ------------------
 7070|    115|        (profile != EEsProfile && version >= 130)) {
  ------------------
  |  Branch (7070:10): [True: 115, False: 0]
  |  Branch (7070:35): [True: 115, False: 0]
  ------------------
 7071|    115|        addGatherFunctionsQCOM();
 7072|    115|    }
 7073|       |
 7074|       |    // GL_ARB_shader_ballot
 7075|    115|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (7075:9): [True: 115, False: 0]
  |  Branch (7075:34): [True: 11, False: 104]
  ------------------
 7076|     11|        const char* ballotDecls =
 7077|     11|            "uniform uint gl_SubGroupSizeARB;"
 7078|     11|            "in uint     gl_SubGroupInvocationARB;"
 7079|     11|            "in uint64_t gl_SubGroupEqMaskARB;"
 7080|     11|            "in uint64_t gl_SubGroupGeMaskARB;"
 7081|     11|            "in uint64_t gl_SubGroupGtMaskARB;"
 7082|     11|            "in uint64_t gl_SubGroupLeMaskARB;"
 7083|     11|            "in uint64_t gl_SubGroupLtMaskARB;"
 7084|     11|            "\n";
 7085|     11|        const char* rtBallotDecls =
 7086|     11|            "uniform volatile uint gl_SubGroupSizeARB;"
 7087|     11|            "in volatile uint     gl_SubGroupInvocationARB;"
 7088|     11|            "in volatile uint64_t gl_SubGroupEqMaskARB;"
 7089|     11|            "in volatile uint64_t gl_SubGroupGeMaskARB;"
 7090|     11|            "in volatile uint64_t gl_SubGroupGtMaskARB;"
 7091|     11|            "in volatile uint64_t gl_SubGroupLeMaskARB;"
 7092|     11|            "in volatile uint64_t gl_SubGroupLtMaskARB;"
 7093|     11|            "\n";
 7094|     11|        const char* fragmentBallotDecls =
 7095|     11|            "uniform uint gl_SubGroupSizeARB;"
 7096|     11|            "flat in uint     gl_SubGroupInvocationARB;"
 7097|     11|            "flat in uint64_t gl_SubGroupEqMaskARB;"
 7098|     11|            "flat in uint64_t gl_SubGroupGeMaskARB;"
 7099|     11|            "flat in uint64_t gl_SubGroupGtMaskARB;"
 7100|     11|            "flat in uint64_t gl_SubGroupLeMaskARB;"
 7101|     11|            "flat in uint64_t gl_SubGroupLtMaskARB;"
 7102|     11|            "\n";
 7103|     11|        stageBuiltins[EShLangVertex]        .append(ballotDecls);
 7104|     11|        stageBuiltins[EShLangTessControl]   .append(ballotDecls);
 7105|     11|        stageBuiltins[EShLangTessEvaluation].append(ballotDecls);
 7106|     11|        stageBuiltins[EShLangGeometry]      .append(ballotDecls);
 7107|     11|        stageBuiltins[EShLangCompute]       .append(ballotDecls);
 7108|     11|        stageBuiltins[EShLangFragment]      .append(fragmentBallotDecls);
 7109|     11|        stageBuiltins[EShLangMesh]        .append(ballotDecls);
 7110|     11|        stageBuiltins[EShLangTask]        .append(ballotDecls);
 7111|     11|        stageBuiltins[EShLangRayGen]        .append(rtBallotDecls);
 7112|     11|        stageBuiltins[EShLangIntersect]     .append(rtBallotDecls);
 7113|       |        // No volatile qualifier on these builtins in any-hit
 7114|     11|        stageBuiltins[EShLangAnyHit]        .append(ballotDecls);
 7115|     11|        stageBuiltins[EShLangClosestHit]    .append(rtBallotDecls);
 7116|     11|        stageBuiltins[EShLangMiss]          .append(rtBallotDecls);
 7117|     11|        stageBuiltins[EShLangCallable]      .append(rtBallotDecls);
 7118|     11|    }
 7119|       |
 7120|       |    // GL_KHR_shader_subgroup
 7121|    115|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (7121:10): [True: 0, False: 115]
  |  Branch (7121:35): [True: 0, False: 0]
  ------------------
 7122|    115|        (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (7122:10): [True: 115, False: 0]
  |  Branch (7122:35): [True: 115, False: 0]
  ------------------
 7123|    115|        const char* subgroupDecls =
 7124|    115|            "in mediump uint  gl_SubgroupSize;"
 7125|    115|            "in mediump uint  gl_SubgroupInvocationID;"
 7126|    115|            "in highp   uvec4 gl_SubgroupEqMask;"
 7127|    115|            "in highp   uvec4 gl_SubgroupGeMask;"
 7128|    115|            "in highp   uvec4 gl_SubgroupGtMask;"
 7129|    115|            "in highp   uvec4 gl_SubgroupLeMask;"
 7130|    115|            "in highp   uvec4 gl_SubgroupLtMask;"
 7131|       |            // GL_NV_shader_sm_builtins
 7132|    115|            "in highp   uint  gl_WarpsPerSMNV;"
 7133|    115|            "in highp   uint  gl_SMCountNV;"
 7134|    115|            "in highp   uint  gl_WarpIDNV;"
 7135|    115|            "in highp   uint  gl_SMIDNV;"
 7136|       |            // GL_ARM_shader_core_builtins
 7137|    115|            "in highp   uint  gl_CoreIDARM;"
 7138|    115|            "in highp   uint  gl_CoreCountARM;"
 7139|    115|            "in highp   uint  gl_CoreMaxIDARM;"
 7140|    115|            "in highp   uint  gl_WarpIDARM;"
 7141|    115|            "in highp   uint  gl_WarpMaxIDARM;"
 7142|    115|            "\n";
 7143|    115|        const char* fragmentSubgroupDecls =
 7144|    115|            "flat in mediump uint  gl_SubgroupSize;"
 7145|    115|            "flat in mediump uint  gl_SubgroupInvocationID;"
 7146|    115|            "flat in highp   uvec4 gl_SubgroupEqMask;"
 7147|    115|            "flat in highp   uvec4 gl_SubgroupGeMask;"
 7148|    115|            "flat in highp   uvec4 gl_SubgroupGtMask;"
 7149|    115|            "flat in highp   uvec4 gl_SubgroupLeMask;"
 7150|    115|            "flat in highp   uvec4 gl_SubgroupLtMask;"
 7151|       |            // GL_NV_shader_sm_builtins
 7152|    115|            "flat in highp   uint  gl_WarpsPerSMNV;"
 7153|    115|            "flat in highp   uint  gl_SMCountNV;"
 7154|    115|            "flat in highp   uint  gl_WarpIDNV;"
 7155|    115|            "flat in highp   uint  gl_SMIDNV;"
 7156|       |            // GL_ARM_shader_core_builtins
 7157|    115|            "flat in highp   uint  gl_CoreIDARM;"
 7158|    115|            "flat in highp   uint  gl_CoreCountARM;"
 7159|    115|            "flat in highp   uint  gl_CoreMaxIDARM;"
 7160|    115|            "flat in highp   uint  gl_WarpIDARM;"
 7161|    115|            "flat in highp   uint  gl_WarpMaxIDARM;"
 7162|    115|            "\n";
 7163|    115|        const char* computeSubgroupDecls =
 7164|    115|            "in highp   uint  gl_NumSubgroups;"
 7165|    115|            "in highp   uint  gl_SubgroupID;"
 7166|    115|            "\n";
 7167|       |        // These builtins are volatile for RT stages
 7168|    115|        const char* rtSubgroupDecls =
 7169|    115|            "in mediump volatile uint  gl_SubgroupSize;"
 7170|    115|            "in mediump volatile uint  gl_SubgroupInvocationID;"
 7171|    115|            "in highp   volatile uvec4 gl_SubgroupEqMask;"
 7172|    115|            "in highp   volatile uvec4 gl_SubgroupGeMask;"
 7173|    115|            "in highp   volatile uvec4 gl_SubgroupGtMask;"
 7174|    115|            "in highp   volatile uvec4 gl_SubgroupLeMask;"
 7175|    115|            "in highp   volatile uvec4 gl_SubgroupLtMask;"
 7176|       |            // GL_NV_shader_sm_builtins
 7177|    115|            "in highp    uint  gl_WarpsPerSMNV;"
 7178|    115|            "in highp    uint  gl_SMCountNV;"
 7179|    115|            "in highp volatile uint  gl_WarpIDNV;"
 7180|    115|            "in highp volatile uint  gl_SMIDNV;"
 7181|       |            // GL_ARM_shader_core_builtins
 7182|    115|            "in highp   uint  gl_CoreIDARM;"
 7183|    115|            "in highp   uint  gl_CoreCountARM;"
 7184|    115|            "in highp   uint  gl_CoreMaxIDARM;"
 7185|    115|            "in highp   uint  gl_WarpIDARM;"
 7186|    115|            "in highp   uint  gl_WarpMaxIDARM;"
 7187|    115|            "\n";
 7188|       |
 7189|    115|        stageBuiltins[EShLangVertex]        .append(subgroupDecls);
 7190|    115|        stageBuiltins[EShLangTessControl]   .append(subgroupDecls);
 7191|    115|        stageBuiltins[EShLangTessEvaluation].append(subgroupDecls);
 7192|    115|        stageBuiltins[EShLangGeometry]      .append(subgroupDecls);
 7193|    115|        stageBuiltins[EShLangCompute]       .append(subgroupDecls);
 7194|    115|        stageBuiltins[EShLangCompute]       .append(computeSubgroupDecls);
 7195|    115|        stageBuiltins[EShLangFragment]      .append(fragmentSubgroupDecls);
 7196|    115|        stageBuiltins[EShLangMesh]        .append(subgroupDecls);
 7197|    115|        stageBuiltins[EShLangMesh]        .append(computeSubgroupDecls);
 7198|    115|        stageBuiltins[EShLangTask]        .append(subgroupDecls);
 7199|    115|        stageBuiltins[EShLangTask]        .append(computeSubgroupDecls);
 7200|    115|        stageBuiltins[EShLangRayGen]        .append(rtSubgroupDecls);
 7201|    115|        stageBuiltins[EShLangIntersect]     .append(rtSubgroupDecls);
 7202|       |        // No volatile qualifier on these builtins in any-hit
 7203|    115|        stageBuiltins[EShLangAnyHit]        .append(subgroupDecls);
 7204|    115|        stageBuiltins[EShLangClosestHit]    .append(rtSubgroupDecls);
 7205|    115|        stageBuiltins[EShLangMiss]          .append(rtSubgroupDecls);
 7206|    115|        stageBuiltins[EShLangCallable]      .append(rtSubgroupDecls);
 7207|    115|    }
 7208|       |
 7209|       |    // GL_NV_ray_tracing/GL_EXT_ray_tracing
 7210|    115|    if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (7210:9): [True: 115, False: 0]
  |  Branch (7210:34): [True: 0, False: 115]
  ------------------
 7211|       |
 7212|      0|        const char *constRayFlags =
 7213|      0|            "const uint gl_RayFlagsNoneNV = 0U;"
 7214|      0|            "const uint gl_RayFlagsNoneEXT = 0U;"
 7215|      0|            "const uint gl_RayFlagsOpaqueNV = 1U;"
 7216|      0|            "const uint gl_RayFlagsOpaqueEXT = 1U;"
 7217|      0|            "const uint gl_RayFlagsNoOpaqueNV = 2U;"
 7218|      0|            "const uint gl_RayFlagsNoOpaqueEXT = 2U;"
 7219|      0|            "const uint gl_RayFlagsTerminateOnFirstHitNV = 4U;"
 7220|      0|            "const uint gl_RayFlagsTerminateOnFirstHitEXT = 4U;"
 7221|      0|            "const uint gl_RayFlagsSkipClosestHitShaderNV = 8U;"
 7222|      0|            "const uint gl_RayFlagsSkipClosestHitShaderEXT = 8U;"
 7223|      0|            "const uint gl_RayFlagsCullBackFacingTrianglesNV = 16U;"
 7224|      0|            "const uint gl_RayFlagsCullBackFacingTrianglesEXT = 16U;"
 7225|      0|            "const uint gl_RayFlagsCullFrontFacingTrianglesNV = 32U;"
 7226|      0|            "const uint gl_RayFlagsCullFrontFacingTrianglesEXT = 32U;"
 7227|      0|            "const uint gl_RayFlagsCullOpaqueNV = 64U;"
 7228|      0|            "const uint gl_RayFlagsCullOpaqueEXT = 64U;"
 7229|      0|            "const uint gl_RayFlagsCullNoOpaqueNV = 128U;"
 7230|      0|            "const uint gl_RayFlagsCullNoOpaqueEXT = 128U;"
 7231|      0|            "const uint gl_RayFlagsSkipTrianglesEXT = 256U;"
 7232|      0|            "const uint gl_RayFlagsSkipBuiltinPrimitivesNV = 256U;"
 7233|      0|            "const uint gl_RayFlagsSkipAABBEXT = 512U;"
 7234|      0|            "const uint gl_RayFlagsForceOpacityMicromap2StateEXT = 1024U;"
 7235|      0|            "const bool gl_EnableOpacityMicromapEXT = false;"
 7236|      0|            "const uint gl_HitKindFrontFacingTriangleEXT = 254U;"
 7237|      0|            "const uint gl_HitKindBackFacingTriangleEXT = 255U;"
 7238|      0|            "in    uint gl_HitKindFrontFacingMicroTriangleNV;"
 7239|      0|            "in    uint gl_HitKindBackFacingMicroTriangleNV;"
 7240|      0|            "const int  gl_ClusterIDNoneNV = -1;"
 7241|      0|            "\n";
 7242|       |
 7243|      0|        const char *constRayQueryIntersection =
 7244|      0|            "const uint gl_RayQueryCandidateIntersectionEXT = 0U;"
 7245|      0|            "const uint gl_RayQueryCommittedIntersectionEXT = 1U;"
 7246|      0|            "const uint gl_RayQueryCommittedIntersectionNoneEXT = 0U;"
 7247|      0|            "const uint gl_RayQueryCommittedIntersectionTriangleEXT = 1U;"
 7248|      0|            "const uint gl_RayQueryCommittedIntersectionGeneratedEXT = 2U;"
 7249|      0|            "const uint gl_RayQueryCandidateIntersectionTriangleEXT = 0U;"
 7250|      0|            "const uint gl_RayQueryCandidateIntersectionAABBEXT = 1U;"
 7251|      0|            "\n";
 7252|       |
 7253|      0|        const char *rayGenDecls =
 7254|      0|            "in    uvec3  gl_LaunchIDNV;"
 7255|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7256|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7257|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7258|      0|            "\n";
 7259|      0|        const char *intersectDecls =
 7260|      0|            "in    uvec3  gl_LaunchIDNV;"
 7261|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7262|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7263|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7264|      0|            "in     int   gl_PrimitiveID;"
 7265|      0|            "in     int   gl_InstanceID;"
 7266|      0|            "in     int   gl_InstanceCustomIndexNV;"
 7267|      0|            "in     int   gl_InstanceCustomIndexEXT;"
 7268|      0|            "in     int   gl_GeometryIndexEXT;"
 7269|      0|            "in    vec3   gl_WorldRayOriginNV;"
 7270|      0|            "in    vec3   gl_WorldRayOriginEXT;"
 7271|      0|            "in    vec3   gl_WorldRayDirectionNV;"
 7272|      0|            "in    vec3   gl_WorldRayDirectionEXT;"
 7273|      0|            "in    vec3   gl_ObjectRayOriginNV;"
 7274|      0|            "in    vec3   gl_ObjectRayOriginEXT;"
 7275|      0|            "in    vec3   gl_ObjectRayDirectionNV;"
 7276|      0|            "in    vec3   gl_ObjectRayDirectionEXT;"
 7277|      0|            "in    float  gl_RayTminNV;"
 7278|      0|            "in    float  gl_RayTminEXT;"
 7279|      0|            "in    float  gl_RayTmaxNV;"
 7280|      0|            "in volatile float gl_RayTmaxEXT;"
 7281|      0|            "in    mat4x3 gl_ObjectToWorldNV;"
 7282|      0|            "in    mat4x3 gl_ObjectToWorldEXT;"
 7283|      0|            "in    mat3x4 gl_ObjectToWorld3x4EXT;"
 7284|      0|            "in    mat4x3 gl_WorldToObjectNV;"
 7285|      0|            "in    mat4x3 gl_WorldToObjectEXT;"
 7286|      0|            "in    mat3x4 gl_WorldToObject3x4EXT;"
 7287|      0|            "in    uint   gl_IncomingRayFlagsNV;"
 7288|      0|            "in    uint   gl_IncomingRayFlagsEXT;"
 7289|      0|            "in    float  gl_CurrentRayTimeNV;"
 7290|      0|            "in    uint   gl_CullMaskEXT;"
 7291|      0|            "\n";
 7292|      0|        const char *hitDecls =
 7293|      0|            "in    uvec3  gl_LaunchIDNV;"
 7294|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7295|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7296|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7297|      0|            "in     int   gl_PrimitiveID;"
 7298|      0|            "in     int   gl_InstanceID;"
 7299|      0|            "in     int   gl_InstanceCustomIndexNV;"
 7300|      0|            "in     int   gl_InstanceCustomIndexEXT;"
 7301|      0|            "in     int   gl_GeometryIndexEXT;"
 7302|      0|            "in    vec3   gl_WorldRayOriginNV;"
 7303|      0|            "in    vec3   gl_WorldRayOriginEXT;"
 7304|      0|            "in    vec3   gl_WorldRayDirectionNV;"
 7305|      0|            "in    vec3   gl_WorldRayDirectionEXT;"
 7306|      0|            "in    vec3   gl_ObjectRayOriginNV;"
 7307|      0|            "in    vec3   gl_ObjectRayOriginEXT;"
 7308|      0|            "in    vec3   gl_ObjectRayDirectionNV;"
 7309|      0|            "in    vec3   gl_ObjectRayDirectionEXT;"
 7310|      0|            "in    float  gl_RayTminNV;"
 7311|      0|            "in    float  gl_RayTminEXT;"
 7312|      0|            "in    float  gl_RayTmaxNV;"
 7313|      0|            "in    float  gl_RayTmaxEXT;"
 7314|      0|            "in    float  gl_HitTNV;"
 7315|      0|            "in    float  gl_HitTEXT;"
 7316|      0|            "in    uint   gl_HitKindNV;"
 7317|      0|            "in    uint   gl_HitKindEXT;"
 7318|      0|            "in    mat4x3 gl_ObjectToWorldNV;"
 7319|      0|            "in    mat4x3 gl_ObjectToWorldEXT;"
 7320|      0|            "in    mat3x4 gl_ObjectToWorld3x4EXT;"
 7321|      0|            "in    mat4x3 gl_WorldToObjectNV;"
 7322|      0|            "in    mat4x3 gl_WorldToObjectEXT;"
 7323|      0|            "in    mat3x4 gl_WorldToObject3x4EXT;"
 7324|      0|            "in    uint   gl_IncomingRayFlagsNV;"
 7325|      0|            "in    uint   gl_IncomingRayFlagsEXT;"
 7326|      0|            "in    float  gl_CurrentRayTimeNV;"
 7327|      0|            "in    uint   gl_CullMaskEXT;"
 7328|      0|            "in    vec3   gl_HitTriangleVertexPositionsEXT[3];"
 7329|      0|            "in    vec3   gl_HitMicroTriangleVertexPositionsNV[3];"
 7330|      0|            "in    vec2   gl_HitMicroTriangleVertexBarycentricsNV[3];"
 7331|      0|            "in    int    gl_ClusterIDNV;"
 7332|      0|            "in    bool   gl_HitIsSphereNV;"
 7333|      0|            "in    bool   gl_HitIsLSSNV;"
 7334|      0|            "in    vec3   gl_HitSpherePositionNV;"
 7335|      0|            "in    float  gl_HitSphereRadiusNV;"
 7336|      0|            "in    vec3   gl_HitLSSPositionsNV[2];"
 7337|      0|            "in    float  gl_HitLSSRadiiNV[2];"
 7338|      0|            "\n";
 7339|       |
 7340|      0|        const char *missDecls =
 7341|      0|            "in    uvec3  gl_LaunchIDNV;"
 7342|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7343|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7344|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7345|      0|            "in    vec3   gl_WorldRayOriginNV;"
 7346|      0|            "in    vec3   gl_WorldRayOriginEXT;"
 7347|      0|            "in    vec3   gl_WorldRayDirectionNV;"
 7348|      0|            "in    vec3   gl_WorldRayDirectionEXT;"
 7349|      0|            "in    vec3   gl_ObjectRayOriginNV;"
 7350|      0|            "in    vec3   gl_ObjectRayDirectionNV;"
 7351|      0|            "in    float  gl_RayTminNV;"
 7352|      0|            "in    float  gl_RayTminEXT;"
 7353|      0|            "in    float  gl_RayTmaxNV;"
 7354|      0|            "in    float  gl_RayTmaxEXT;"
 7355|      0|            "in    uint   gl_IncomingRayFlagsNV;"
 7356|      0|            "in    uint   gl_IncomingRayFlagsEXT;"
 7357|      0|            "in    float  gl_CurrentRayTimeNV;"
 7358|      0|            "in    uint   gl_CullMaskEXT;"
 7359|      0|            "\n";
 7360|       |
 7361|      0|        const char *callableDecls =
 7362|      0|            "in    uvec3  gl_LaunchIDNV;"
 7363|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7364|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7365|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7366|      0|            "\n";
 7367|       |
 7368|       |
 7369|      0|        commonBuiltins.append(constRayQueryIntersection);
 7370|      0|        commonBuiltins.append(constRayFlags);
 7371|       |
 7372|      0|        stageBuiltins[EShLangRayGen].append(rayGenDecls);
 7373|      0|        stageBuiltins[EShLangIntersect].append(intersectDecls);
 7374|      0|        stageBuiltins[EShLangAnyHit].append(hitDecls);
 7375|      0|        stageBuiltins[EShLangClosestHit].append(hitDecls);
 7376|      0|        stageBuiltins[EShLangMiss].append(missDecls);
 7377|      0|        stageBuiltins[EShLangCallable].append(callableDecls);
 7378|       |
 7379|      0|    }
 7380|       |
 7381|    115|    if ((profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (7381:10): [True: 115, False: 0]
  |  Branch (7381:35): [True: 115, False: 0]
  ------------------
 7382|    115|        const char *deviceIndex =
 7383|    115|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 7384|    115|            "\n";
 7385|       |
 7386|    115|        stageBuiltins[EShLangRayGen].append(deviceIndex);
 7387|    115|        stageBuiltins[EShLangIntersect].append(deviceIndex);
 7388|    115|        stageBuiltins[EShLangAnyHit].append(deviceIndex);
 7389|    115|        stageBuiltins[EShLangClosestHit].append(deviceIndex);
 7390|    115|        stageBuiltins[EShLangMiss].append(deviceIndex);
 7391|    115|    }
 7392|       |
 7393|    115|    if ((profile != EEsProfile && version >= 420) ||
  ------------------
  |  Branch (7393:10): [True: 115, False: 0]
  |  Branch (7393:35): [True: 11, False: 104]
  ------------------
 7394|    104|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7394:10): [True: 0, False: 104]
  |  Branch (7394:35): [True: 0, False: 0]
  ------------------
 7395|     11|        commonBuiltins.append("const int gl_ScopeDevice      = 1;\n");
 7396|     11|        commonBuiltins.append("const int gl_ScopeWorkgroup   = 2;\n");
 7397|     11|        commonBuiltins.append("const int gl_ScopeSubgroup    = 3;\n");
 7398|     11|        commonBuiltins.append("const int gl_ScopeInvocation  = 4;\n");
 7399|     11|        commonBuiltins.append("const int gl_ScopeQueueFamily = 5;\n");
 7400|     11|        commonBuiltins.append("const int gl_ScopeShaderCallEXT = 6;\n");
 7401|       |
 7402|     11|        commonBuiltins.append("const int gl_SemanticsRelaxed         = 0x0;\n");
 7403|     11|        commonBuiltins.append("const int gl_SemanticsAcquire         = 0x2;\n");
 7404|     11|        commonBuiltins.append("const int gl_SemanticsRelease         = 0x4;\n");
 7405|     11|        commonBuiltins.append("const int gl_SemanticsAcquireRelease  = 0x8;\n");
 7406|     11|        commonBuiltins.append("const int gl_SemanticsMakeAvailable   = 0x2000;\n");
 7407|     11|        commonBuiltins.append("const int gl_SemanticsMakeVisible     = 0x4000;\n");
 7408|     11|        commonBuiltins.append("const int gl_SemanticsVolatile        = 0x8000;\n");
 7409|       |
 7410|     11|        commonBuiltins.append("const int gl_StorageSemanticsNone     = 0x0;\n");
 7411|     11|        commonBuiltins.append("const int gl_StorageSemanticsBuffer   = 0x40;\n");
 7412|     11|        commonBuiltins.append("const int gl_StorageSemanticsShared   = 0x100;\n");
 7413|     11|        commonBuiltins.append("const int gl_StorageSemanticsImage    = 0x800;\n");
 7414|     11|        commonBuiltins.append("const int gl_StorageSemanticsOutput   = 0x1000;\n");
 7415|     11|    }
 7416|       |
 7417|       |    // Adding these to common built-ins triggers an assert due to a memory corruption in related code when testing
 7418|       |    // So instead add to each stage individually, avoiding the GLSLang bug
 7419|    115|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7419:10): [True: 115, False: 0]
  |  Branch (7419:35): [True: 11, False: 104]
  |  Branch (7419:55): [True: 0, False: 104]
  |  Branch (7419:80): [True: 0, False: 0]
  ------------------
 7420|    165|        for (int stage=EShLangVertex; stage<EShLangCount; stage++)
  ------------------
  |  Branch (7420:39): [True: 154, False: 11]
  ------------------
 7421|    154|        {
 7422|    154|            stageBuiltins[static_cast<EShLanguage>(stage)].append("const highp int gl_ShadingRateFlag2VerticalPixelsEXT       = 1;\n");
 7423|    154|            stageBuiltins[static_cast<EShLanguage>(stage)].append("const highp int gl_ShadingRateFlag4VerticalPixelsEXT       = 2;\n");
 7424|    154|            stageBuiltins[static_cast<EShLanguage>(stage)].append("const highp int gl_ShadingRateFlag2HorizontalPixelsEXT     = 4;\n");
 7425|    154|            stageBuiltins[static_cast<EShLanguage>(stage)].append("const highp int gl_ShadingRateFlag4HorizontalPixelsEXT     = 8;\n");
 7426|    154|        }
 7427|     11|    }
 7428|       |
 7429|       |    // GL_EXT_shader_image_int64
 7430|    115|    if ((profile != EEsProfile && version >= 420) ||
  ------------------
  |  Branch (7430:10): [True: 115, False: 0]
  |  Branch (7430:35): [True: 11, False: 104]
  ------------------
 7431|    104|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7431:10): [True: 0, False: 104]
  |  Branch (7431:35): [True: 0, False: 0]
  ------------------
 7432|       |
 7433|     11|        const TBasicType bTypes[] = { EbtInt64, EbtUint64 };
 7434|     33|        for (int ms = 0; ms <= 1; ++ms) { // loop over "bool" multisample or not
  ------------------
  |  Branch (7434:26): [True: 22, False: 11]
  ------------------
 7435|     66|            for (int arrayed = 0; arrayed <= 1; ++arrayed) { // loop over "bool" arrayed or not
  ------------------
  |  Branch (7435:35): [True: 44, False: 22]
  ------------------
 7436|    308|                for (int dim = Esd1D; dim < EsdSubpass; ++dim) { // 1D, ..., buffer
  ------------------
  |  Branch (7436:39): [True: 264, False: 44]
  ------------------
 7437|    264|                    if ((dim == Esd1D || dim == EsdRect) && profile == EEsProfile)
  ------------------
  |  Branch (7437:26): [True: 44, False: 220]
  |  Branch (7437:42): [True: 44, False: 176]
  |  Branch (7437:61): [True: 0, False: 88]
  ------------------
 7438|      0|                        continue;
 7439|       |
 7440|    264|                    if ((dim == Esd3D || dim == EsdRect || dim == EsdBuffer) && arrayed)
  ------------------
  |  Branch (7440:26): [True: 44, False: 220]
  |  Branch (7440:42): [True: 44, False: 176]
  |  Branch (7440:60): [True: 44, False: 132]
  |  Branch (7440:81): [True: 66, False: 66]
  ------------------
 7441|     66|                        continue;
 7442|       |
 7443|    198|                    if (dim != Esd2D && ms)
  ------------------
  |  Branch (7443:25): [True: 154, False: 44]
  |  Branch (7443:41): [True: 77, False: 77]
  ------------------
 7444|     77|                        continue;
 7445|       |
 7446|       |                    // Loop over the bTypes
 7447|    363|                    for (size_t bType = 0; bType < sizeof(bTypes)/sizeof(TBasicType); ++bType) {
  ------------------
  |  Branch (7447:44): [True: 242, False: 121]
  ------------------
 7448|       |                        //
 7449|       |                        // Now, make all the function prototypes for the type we just built...
 7450|       |                        //
 7451|    242|                        TSampler sampler;
 7452|       |
 7453|    242|                        sampler.setImage(bTypes[bType], (TSamplerDim)dim, arrayed ? true : false,
  ------------------
  |  Branch (7453:75): [True: 88, False: 154]
  ------------------
 7454|    242|                                                                          false,
 7455|    242|                                                                          ms      ? true : false);
  ------------------
  |  Branch (7455:75): [True: 44, False: 198]
  ------------------
 7456|       |
 7457|    242|                        TString typeName = TString{sampler.getString()};
 7458|       |
 7459|    242|                        addQueryFunctions(sampler, typeName, version, profile);
 7460|    242|                        addImageFunctions(sampler, typeName, version, profile);
 7461|    242|                    }
 7462|    121|                }
 7463|     44|            }
 7464|     22|        }
 7465|     11|    }
 7466|       |
 7467|       |    // printf("%s\n", commonBuiltins.c_str());
 7468|       |    // printf("%s\n", stageBuiltins[EShLangFragment].c_str());
 7469|    115|}
_ZN7glslang9TBuiltIns31add2ndGenerationSamplingImagingEi8EProfileRKNS_10SpvVersionE:
 7476|    115|{
 7477|       |    //
 7478|       |    // In this function proper, enumerate the types, then calls the next set of functions
 7479|       |    // to enumerate all the uses for that type.
 7480|       |    //
 7481|       |
 7482|       |    // enumerate all the types
 7483|    115|    const TBasicType bTypes[] = { EbtFloat, EbtInt, EbtUint,
 7484|    115|         EbtFloat16
 7485|    115|    };
 7486|    115|    bool skipBuffer = (profile == EEsProfile && version < 310) || (profile != EEsProfile && version < 140);
  ------------------
  |  Branch (7486:24): [True: 0, False: 115]
  |  Branch (7486:49): [True: 0, False: 0]
  |  Branch (7486:68): [True: 115, False: 0]
  |  Branch (7486:93): [True: 0, False: 115]
  ------------------
 7487|    115|    bool skipCubeArrayed = (profile == EEsProfile && version < 310) || (profile != EEsProfile && version < 130);
  ------------------
  |  Branch (7487:29): [True: 0, False: 115]
  |  Branch (7487:54): [True: 0, False: 0]
  |  Branch (7487:73): [True: 115, False: 0]
  |  Branch (7487:98): [True: 0, False: 115]
  ------------------
 7488|    345|    for (int image = 0; image <= 1; ++image) // loop over "bool" image vs sampler
  ------------------
  |  Branch (7488:25): [True: 230, False: 115]
  ------------------
 7489|    230|    {
 7490|    690|        for (int shadow = 0; shadow <= 1; ++shadow) { // loop over "bool" shadow or not
  ------------------
  |  Branch (7490:30): [True: 460, False: 230]
  ------------------
 7491|  1.38k|            for (int ms = 0; ms <= 1; ++ms) // loop over "bool" multisample or not
  ------------------
  |  Branch (7491:30): [True: 920, False: 460]
  ------------------
 7492|    920|            {
 7493|    920|                if ((ms || image) && shadow)
  ------------------
  |  Branch (7493:22): [True: 460, False: 460]
  |  Branch (7493:28): [True: 230, False: 230]
  |  Branch (7493:38): [True: 345, False: 345]
  ------------------
 7494|    345|                    continue;
 7495|    575|                if (ms && profile != EEsProfile && version < 140)
  ------------------
  |  Branch (7495:21): [True: 230, False: 345]
  |  Branch (7495:27): [True: 230, False: 0]
  |  Branch (7495:52): [True: 0, False: 230]
  ------------------
 7496|      0|                    continue;
 7497|    575|                if (ms && image && profile == EEsProfile)
  ------------------
  |  Branch (7497:21): [True: 230, False: 345]
  |  Branch (7497:27): [True: 115, False: 115]
  |  Branch (7497:36): [True: 0, False: 115]
  ------------------
 7498|      0|                    continue;
 7499|    575|                if (ms && profile == EEsProfile && version < 310)
  ------------------
  |  Branch (7499:21): [True: 230, False: 345]
  |  Branch (7499:27): [True: 0, False: 230]
  |  Branch (7499:52): [True: 0, False: 0]
  ------------------
 7500|      0|                    continue;
 7501|       |
 7502|  1.72k|                for (int arrayed = 0; arrayed <= 1; ++arrayed) { // loop over "bool" arrayed or not
  ------------------
  |  Branch (7502:39): [True: 1.15k, False: 575]
  ------------------
 7503|  10.3k|                    for (int dim = Esd1D; dim < EsdNumDims; ++dim) { // 1D, ..., buffer, subpass
  ------------------
  |  Branch (7503:43): [True: 9.20k, False: 1.15k]
  ------------------
 7504|  9.20k|                        if (dim == EsdAttachmentEXT)
  ------------------
  |  Branch (7504:29): [True: 1.15k, False: 8.05k]
  ------------------
 7505|  1.15k|                            continue;
 7506|  8.05k|                        if (dim == EsdSubpass && spvVersion.vulkan == 0)
  ------------------
  |  Branch (7506:29): [True: 1.15k, False: 6.90k]
  |  Branch (7506:50): [True: 0, False: 1.15k]
  ------------------
 7507|      0|                            continue;
 7508|  8.05k|                        if (dim == EsdSubpass && (image || shadow || arrayed))
  ------------------
  |  Branch (7508:29): [True: 1.15k, False: 6.90k]
  |  Branch (7508:51): [True: 460, False: 690]
  |  Branch (7508:60): [True: 230, False: 460]
  |  Branch (7508:70): [True: 230, False: 230]
  ------------------
 7509|    920|                            continue;
 7510|  7.13k|                        if ((dim == Esd1D || dim == EsdRect) && profile == EEsProfile)
  ------------------
  |  Branch (7510:30): [True: 1.15k, False: 5.98k]
  |  Branch (7510:46): [True: 1.15k, False: 4.83k]
  |  Branch (7510:65): [True: 0, False: 2.30k]
  ------------------
 7511|      0|                            continue;
 7512|  7.13k|                        if (dim == EsdSubpass && spvVersion.vulkan == 0)
  ------------------
  |  Branch (7512:29): [True: 230, False: 6.90k]
  |  Branch (7512:50): [True: 0, False: 230]
  ------------------
 7513|      0|                            continue;
 7514|  7.13k|                        if (dim == EsdSubpass && (image || shadow || arrayed))
  ------------------
  |  Branch (7514:29): [True: 230, False: 6.90k]
  |  Branch (7514:51): [True: 0, False: 230]
  |  Branch (7514:60): [True: 0, False: 230]
  |  Branch (7514:70): [True: 0, False: 230]
  ------------------
 7515|      0|                            continue;
 7516|  7.13k|                        if ((dim == Esd1D || dim == EsdRect) && profile == EEsProfile)
  ------------------
  |  Branch (7516:30): [True: 1.15k, False: 5.98k]
  |  Branch (7516:46): [True: 1.15k, False: 4.83k]
  |  Branch (7516:65): [True: 0, False: 2.30k]
  ------------------
 7517|      0|                            continue;
 7518|  7.13k|                        if (dim != Esd2D && dim != EsdSubpass && ms)
  ------------------
  |  Branch (7518:29): [True: 5.98k, False: 1.15k]
  |  Branch (7518:45): [True: 5.75k, False: 230]
  |  Branch (7518:66): [True: 2.30k, False: 3.45k]
  ------------------
 7519|  2.30k|                            continue;
 7520|  4.83k|                        if (dim == EsdBuffer && skipBuffer)
  ------------------
  |  Branch (7520:29): [True: 690, False: 4.14k]
  |  Branch (7520:49): [True: 0, False: 690]
  ------------------
 7521|      0|                            continue;
 7522|  4.83k|                        if (dim == EsdBuffer && (shadow || arrayed || ms))
  ------------------
  |  Branch (7522:29): [True: 690, False: 4.14k]
  |  Branch (7522:50): [True: 230, False: 460]
  |  Branch (7522:60): [True: 230, False: 230]
  |  Branch (7522:71): [True: 0, False: 230]
  ------------------
 7523|    460|                            continue;
 7524|  4.37k|                        if (ms && arrayed && profile == EEsProfile && version < 310)
  ------------------
  |  Branch (7524:29): [True: 575, False: 3.79k]
  |  Branch (7524:35): [True: 230, False: 345]
  |  Branch (7524:46): [True: 0, False: 230]
  |  Branch (7524:71): [True: 0, False: 0]
  ------------------
 7525|      0|                            continue;
 7526|  4.37k|                        if (dim == Esd3D && shadow)
  ------------------
  |  Branch (7526:29): [True: 690, False: 3.68k]
  |  Branch (7526:45): [True: 230, False: 460]
  ------------------
 7527|    230|                            continue;
 7528|  4.14k|                        if (dim == EsdCube && arrayed && skipCubeArrayed)
  ------------------
  |  Branch (7528:29): [True: 690, False: 3.45k]
  |  Branch (7528:47): [True: 345, False: 345]
  |  Branch (7528:58): [True: 0, False: 345]
  ------------------
 7529|      0|                            continue;
 7530|  4.14k|                        if ((dim == Esd3D || dim == EsdRect) && arrayed)
  ------------------
  |  Branch (7530:30): [True: 460, False: 3.68k]
  |  Branch (7530:46): [True: 690, False: 2.99k]
  |  Branch (7530:65): [True: 575, False: 575]
  ------------------
 7531|    575|                            continue;
 7532|       |
 7533|       |                        // Loop over the bTypes
 7534|  17.8k|                        for (size_t bType = 0; bType < sizeof(bTypes)/sizeof(TBasicType); ++bType) {
  ------------------
  |  Branch (7534:48): [True: 14.2k, False: 3.56k]
  ------------------
 7535|  14.2k|                            if (bTypes[bType] == EbtFloat16 && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (7535:33): [True: 3.56k, False: 10.6k]
  |  Branch (7535:65): [True: 0, False: 3.56k]
  |  Branch (7535:90): [True: 3.22k, False: 341]
  ------------------
 7536|  3.22k|                                continue;
 7537|  11.0k|                            if (dim == EsdRect && version < 140 && bType > 0)
  ------------------
  |  Branch (7537:33): [True: 1.06k, False: 9.96k]
  |  Branch (7537:51): [True: 0, False: 1.06k]
  |  Branch (7537:68): [True: 0, False: 0]
  ------------------
 7538|      0|                                continue;
 7539|  11.0k|                            if (shadow && (bTypes[bType] == EbtInt || bTypes[bType] == EbtUint))
  ------------------
  |  Branch (7539:33): [True: 2.49k, False: 8.54k]
  |  Branch (7539:44): [True: 805, False: 1.68k]
  |  Branch (7539:71): [True: 805, False: 882]
  ------------------
 7540|  1.61k|                                continue;
 7541|       |                            //
 7542|       |                            // Now, make all the function prototypes for the type we just built...
 7543|       |                            //
 7544|  9.42k|                            TSampler sampler;
 7545|  9.42k|                            if (dim == EsdSubpass) {
  ------------------
  |  Branch (7545:33): [True: 712, False: 8.71k]
  ------------------
 7546|    712|                                sampler.setSubpass(bTypes[bType], ms ? true : false);
  ------------------
  |  Branch (7546:67): [True: 356, False: 356]
  ------------------
 7547|  8.71k|                            } else if (dim == EsdAttachmentEXT) {
  ------------------
  |  Branch (7547:40): [True: 0, False: 8.71k]
  ------------------
 7548|      0|                                sampler.setAttachmentEXT(bTypes[bType]);
 7549|      0|                            } else
 7550|  8.71k|                            if (image) {
  ------------------
  |  Branch (7550:33): [True: 3.91k, False: 4.79k]
  ------------------
 7551|  3.91k|                                sampler.setImage(bTypes[bType], (TSamplerDim)dim, arrayed ? true : false,
  ------------------
  |  Branch (7551:83): [True: 1.42k, False: 2.49k]
  ------------------
 7552|  3.91k|                                                                                  shadow  ? true : false,
  ------------------
  |  Branch (7552:83): [True: 0, False: 3.91k]
  ------------------
 7553|  3.91k|                                                                                  ms      ? true : false);
  ------------------
  |  Branch (7553:83): [True: 712, False: 3.20k]
  ------------------
 7554|  4.79k|                            } else {
 7555|  4.79k|                                sampler.set(bTypes[bType], (TSamplerDim)dim, arrayed ? true : false,
  ------------------
  |  Branch (7555:78): [True: 1.80k, False: 2.99k]
  ------------------
 7556|  4.79k|                                                                             shadow  ? true : false,
  ------------------
  |  Branch (7556:78): [True: 882, False: 3.91k]
  ------------------
 7557|  4.79k|                                                                             ms      ? true : false);
  ------------------
  |  Branch (7557:78): [True: 712, False: 4.08k]
  ------------------
 7558|  4.79k|                            }
 7559|       |
 7560|  9.42k|                            TString typeName = TString{sampler.getString()};
 7561|       |
 7562|  9.42k|                            if (dim == EsdSubpass) {
  ------------------
  |  Branch (7562:33): [True: 712, False: 8.71k]
  ------------------
 7563|    712|                                addSubpassSampling(sampler, typeName, version, profile);
 7564|    712|                                continue;
 7565|    712|                            }
 7566|       |
 7567|  8.71k|                            addQueryFunctions(sampler, typeName, version, profile);
 7568|       |
 7569|  8.71k|                            if (image)
  ------------------
  |  Branch (7569:33): [True: 3.91k, False: 4.79k]
  ------------------
 7570|  3.91k|                                addImageFunctions(sampler, typeName, version, profile);
 7571|  4.79k|                            else {
 7572|  4.79k|                                addSamplingFunctions(sampler, typeName, version, profile);
 7573|  4.79k|                                addGatherFunctions(sampler, typeName, version, profile);
 7574|  4.79k|                                if (spvVersion.vulkan > 0 && sampler.isCombined() && !sampler.shadow) {
  ------------------
  |  Branch (7574:37): [True: 4.79k, False: 0]
  |  Branch (7574:62): [True: 4.79k, False: 0]
  |  Branch (7574:86): [True: 3.91k, False: 882]
  ------------------
 7575|       |                                    // Base Vulkan allows texelFetch() for
 7576|       |                                    // textureBuffer (i.e. without sampler).
 7577|       |                                    //
 7578|       |                                    // GL_EXT_samplerless_texture_functions
 7579|       |                                    // allows texelFetch() and query functions
 7580|       |                                    // (other than textureQueryLod()) for all
 7581|       |                                    // texture types.
 7582|  3.91k|                                    sampler.setTexture(sampler.type, sampler.dim, sampler.arrayed, sampler.shadow,
 7583|  3.91k|                                                       sampler.ms);
 7584|  3.91k|                                    TString textureTypeName = TString{sampler.getString()};
 7585|  3.91k|                                    addSamplingFunctions(sampler, textureTypeName, version, profile);
 7586|  3.91k|                                    addQueryFunctions(sampler, textureTypeName, version, profile);
 7587|  3.91k|                                }
 7588|  4.79k|                            }
 7589|  8.71k|                        }
 7590|  3.56k|                    }
 7591|  1.15k|                }
 7592|    575|            }
 7593|    460|        }
 7594|    230|    }
 7595|       |
 7596|       |    //
 7597|       |    // sparseTexelsResidentARB()
 7598|       |    //
 7599|    115|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (7599:9): [True: 115, False: 0]
  |  Branch (7599:34): [True: 11, False: 104]
  ------------------
 7600|     11|        commonBuiltins.append("bool sparseTexelsResidentARB(int code);\n");
 7601|     11|    }
 7602|    115|}
_ZN7glslang9TBuiltIns17addQueryFunctionsENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 7611|  12.8k|{
 7612|       |    //
 7613|       |    // textureSize() and imageSize()
 7614|       |    //
 7615|       |
 7616|  12.8k|    int sizeDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0) - (sampler.dim == EsdCube ? 1 : 0);
  ------------------
  |  Branch (7616:43): [True: 4.73k, False: 8.13k]
  |  Branch (7616:71): [True: 2.43k, False: 10.4k]
  ------------------
 7617|       |
 7618|  12.8k|    if (sampler.isImage() && ((profile == EEsProfile && version < 310) || (profile != EEsProfile && version < 420)))
  ------------------
  |  Branch (7618:9): [True: 4.15k, False: 8.71k]
  |  Branch (7618:32): [True: 0, False: 4.15k]
  |  Branch (7618:57): [True: 0, False: 0]
  |  Branch (7618:76): [True: 4.15k, False: 0]
  |  Branch (7618:101): [True: 3.43k, False: 726]
  ------------------
 7619|  3.43k|        return;
 7620|       |
 7621|  9.44k|    if (profile == EEsProfile)
  ------------------
  |  Branch (7621:9): [True: 0, False: 9.44k]
  ------------------
 7622|      0|        commonBuiltins.append("highp ");
 7623|  9.44k|    if (sizeDims == 1)
  ------------------
  |  Branch (7623:9): [True: 1.68k, False: 7.75k]
  ------------------
 7624|  1.68k|        commonBuiltins.append("int");
 7625|  7.75k|    else {
 7626|  7.75k|        commonBuiltins.append("ivec");
 7627|  7.75k|        commonBuiltins.append(postfixes[sizeDims]);
 7628|  7.75k|    }
 7629|  9.44k|    if (sampler.isImage())
  ------------------
  |  Branch (7629:9): [True: 726, False: 8.71k]
  ------------------
 7630|    726|        commonBuiltins.append(" imageSize(readonly writeonly volatile coherent nontemporal ");
 7631|  8.71k|    else
 7632|  8.71k|        commonBuiltins.append(" textureSize(");
 7633|  9.44k|    commonBuiltins.append(typeName);
 7634|  9.44k|    if (! sampler.isImage() && ! sampler.isRect() && ! sampler.isBuffer() && ! sampler.isMultiSample())
  ------------------
  |  Branch (7634:9): [True: 8.71k, False: 726]
  |  Branch (7634:32): [True: 7.87k, False: 838]
  |  Branch (7634:54): [True: 7.16k, False: 712]
  |  Branch (7634:78): [True: 5.74k, False: 1.42k]
  ------------------
 7635|  5.74k|        commonBuiltins.append(",int);\n");
 7636|  3.70k|    else
 7637|  3.70k|        commonBuiltins.append(");\n");
 7638|       |
 7639|       |    //
 7640|       |    // textureSamples() and imageSamples()
 7641|       |    //
 7642|       |
 7643|       |    // GL_ARB_shader_texture_image_samples
 7644|       |    // TODO: spec issue? there are no memory qualifiers; how to query a writeonly/readonly image, etc?
 7645|  9.44k|    if (profile != EEsProfile && version >= 430 && sampler.isMultiSample()) {
  ------------------
  |  Branch (7645:9): [True: 9.44k, False: 0]
  |  Branch (7645:34): [True: 1.84k, False: 7.59k]
  |  Branch (7645:52): [True: 308, False: 1.54k]
  ------------------
 7646|    308|        commonBuiltins.append("int ");
 7647|    308|        if (sampler.isImage())
  ------------------
  |  Branch (7647:13): [True: 132, False: 176]
  ------------------
 7648|    132|            commonBuiltins.append("imageSamples(readonly writeonly volatile coherent nontemporal ");
 7649|    176|        else
 7650|    176|            commonBuiltins.append("textureSamples(");
 7651|    308|        commonBuiltins.append(typeName);
 7652|    308|        commonBuiltins.append(");\n");
 7653|    308|    }
 7654|       |
 7655|       |    //
 7656|       |    // textureQueryLod()
 7657|       |    // Also enabled with extension GL_ARB_texture_query_lod
 7658|       |    // Extension GL_ARB_texture_query_lod says that textureQueryLOD() also exist at extension.
 7659|       |
 7660|  9.44k|    if (profile != EEsProfile && version >= 150 && sampler.isCombined() && sampler.dim != EsdRect &&
  ------------------
  |  Branch (7660:9): [True: 9.44k, False: 0]
  |  Branch (7660:34): [True: 2.21k, False: 7.22k]
  |  Branch (7660:52): [True: 838, False: 1.37k]
  |  Branch (7660:76): [True: 752, False: 86]
  ------------------
 7661|    752|        ! sampler.isMultiSample() && ! sampler.isBuffer()) {
  ------------------
  |  Branch (7661:9): [True: 634, False: 118]
  |  Branch (7661:38): [True: 575, False: 59]
  ------------------
 7662|       |
 7663|    575|        const TString funcName[2] = {"vec2 textureQueryLod(", "vec2 textureQueryLOD("};
 7664|       |
 7665|  1.72k|        for (int i = 0; i < 2; ++i){
  ------------------
  |  Branch (7665:25): [True: 1.15k, False: 575]
  ------------------
 7666|  3.45k|            for (int f16TexAddr = 0; f16TexAddr < 2; ++f16TexAddr) {
  ------------------
  |  Branch (7666:38): [True: 2.30k, False: 1.15k]
  ------------------
 7667|  2.30k|                if (f16TexAddr && sampler.type != EbtFloat16)
  ------------------
  |  Branch (7667:21): [True: 1.15k, False: 1.15k]
  |  Branch (7667:35): [True: 864, False: 286]
  ------------------
 7668|    864|                    continue;
 7669|  1.43k|                stageBuiltins[EShLangFragment].append(funcName[i]);
 7670|  1.43k|                stageBuiltins[EShLangFragment].append(typeName);
 7671|  1.43k|                if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (7671:21): [True: 432, False: 1.00k]
  ------------------
 7672|    432|                    if (f16TexAddr)
  ------------------
  |  Branch (7672:25): [True: 88, False: 344]
  ------------------
 7673|     88|                        stageBuiltins[EShLangFragment].append(", float16_t");
 7674|    344|                    else
 7675|    344|                        stageBuiltins[EShLangFragment].append(", float");
 7676|  1.00k|                else {
 7677|  1.00k|                    if (f16TexAddr)
  ------------------
  |  Branch (7677:25): [True: 198, False: 806]
  ------------------
 7678|    198|                        stageBuiltins[EShLangFragment].append(", f16vec");
 7679|    806|                    else
 7680|    806|                        stageBuiltins[EShLangFragment].append(", vec");
 7681|  1.00k|                    stageBuiltins[EShLangFragment].append(postfixes[dimMap[sampler.dim]]);
 7682|  1.00k|                }
 7683|  1.43k|                stageBuiltins[EShLangFragment].append(");\n");
 7684|  1.43k|            }
 7685|       |
 7686|  1.15k|            stageBuiltins[EShLangCompute].append(funcName[i]);
 7687|  1.15k|            stageBuiltins[EShLangCompute].append(typeName);
 7688|  1.15k|            if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (7688:17): [True: 344, False: 806]
  ------------------
 7689|    344|                stageBuiltins[EShLangCompute].append(", float");
 7690|    806|            else {
 7691|    806|                stageBuiltins[EShLangCompute].append(", vec");
 7692|    806|                stageBuiltins[EShLangCompute].append(postfixes[dimMap[sampler.dim]]);
 7693|    806|            }
 7694|  1.15k|            stageBuiltins[EShLangCompute].append(");\n");
 7695|       |
 7696|  1.15k|            stageBuiltins[EShLangTask].append(funcName[i]);
 7697|  1.15k|            stageBuiltins[EShLangTask].append(typeName);
 7698|  1.15k|            if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (7698:17): [True: 344, False: 806]
  ------------------
 7699|    344|                stageBuiltins[EShLangTask].append(", float");
 7700|    806|            else {
 7701|    806|                stageBuiltins[EShLangTask].append(", vec");
 7702|    806|                stageBuiltins[EShLangTask].append(postfixes[dimMap[sampler.dim]]);
 7703|    806|            }
 7704|  1.15k|            stageBuiltins[EShLangTask].append(");\n");
 7705|       |
 7706|  1.15k|            stageBuiltins[EShLangMesh].append(funcName[i]);
 7707|  1.15k|            stageBuiltins[EShLangMesh].append(typeName);
 7708|  1.15k|            if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (7708:17): [True: 344, False: 806]
  ------------------
 7709|    344|                stageBuiltins[EShLangMesh].append(", float");
 7710|    806|            else {
 7711|    806|                stageBuiltins[EShLangMesh].append(", vec");
 7712|    806|                stageBuiltins[EShLangMesh].append(postfixes[dimMap[sampler.dim]]);
 7713|    806|            }
 7714|  1.15k|            stageBuiltins[EShLangMesh].append(");\n");
 7715|  1.15k|        }
 7716|    575|    }
 7717|       |
 7718|       |    //
 7719|       |    // textureQueryLevels()
 7720|       |    //
 7721|       |
 7722|  9.44k|    if (profile != EEsProfile && version >= 430 && ! sampler.isImage() && sampler.dim != EsdRect &&
  ------------------
  |  Branch (7722:9): [True: 9.44k, False: 0]
  |  Branch (7722:34): [True: 1.84k, False: 7.59k]
  |  Branch (7722:52): [True: 1.12k, False: 726]
  |  Branch (7722:75): [True: 1.01k, False: 110]
  ------------------
 7723|  1.01k|        ! sampler.isMultiSample() && ! sampler.isBuffer()) {
  ------------------
  |  Branch (7723:9): [True: 836, False: 176]
  |  Branch (7723:38): [True: 748, False: 88]
  ------------------
 7724|    748|        commonBuiltins.append("int textureQueryLevels(");
 7725|    748|        commonBuiltins.append(typeName);
 7726|    748|        commonBuiltins.append(");\n");
 7727|    748|    }
 7728|  9.44k|}
_ZN7glslang9TBuiltIns17addImageFunctionsENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 7737|  4.15k|{
 7738|  4.15k|    int dims = dimMap[sampler.dim];
 7739|       |    // most things with an array add a dimension, except for cubemaps
 7740|  4.15k|    if (sampler.arrayed && sampler.dim != EsdCube)
  ------------------
  |  Branch (7740:9): [True: 1.51k, False: 2.64k]
  |  Branch (7740:28): [True: 1.13k, False: 378]
  ------------------
 7741|  1.13k|        ++dims;
 7742|       |
 7743|  4.15k|    TString imageParams = typeName;
 7744|  4.15k|    if (dims == 1)
  ------------------
  |  Branch (7744:9): [True: 756, False: 3.40k]
  ------------------
 7745|    756|        imageParams.append(", int");
 7746|  3.40k|    else {
 7747|  3.40k|        imageParams.append(", ivec");
 7748|  3.40k|        imageParams.append(postfixes[dims]);
 7749|  3.40k|    }
 7750|  4.15k|    if (sampler.isMultiSample())
  ------------------
  |  Branch (7750:9): [True: 756, False: 3.40k]
  ------------------
 7751|    756|        imageParams.append(", int");
 7752|       |
 7753|  4.15k|    if (profile == EEsProfile)
  ------------------
  |  Branch (7753:9): [True: 0, False: 4.15k]
  ------------------
 7754|      0|        commonBuiltins.append("highp ");
 7755|  4.15k|    commonBuiltins.append(prefixes[sampler.type]);
 7756|  4.15k|    commonBuiltins.append("vec4 imageLoad(readonly volatile coherent nontemporal ");
 7757|  4.15k|    commonBuiltins.append(imageParams);
 7758|  4.15k|    commonBuiltins.append(");\n");
 7759|       |
 7760|  4.15k|    commonBuiltins.append("void imageStore(writeonly volatile coherent nontemporal ");
 7761|  4.15k|    commonBuiltins.append(imageParams);
 7762|  4.15k|    commonBuiltins.append(", ");
 7763|  4.15k|    commonBuiltins.append(prefixes[sampler.type]);
 7764|  4.15k|    commonBuiltins.append("vec4);\n");
 7765|       |
 7766|  4.15k|    if (! sampler.is1D() && ! sampler.isBuffer() && profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (7766:9): [True: 3.40k, False: 756]
  |  Branch (7766:29): [True: 3.02k, False: 378]
  |  Branch (7766:53): [True: 3.02k, False: 0]
  |  Branch (7766:78): [True: 528, False: 2.49k]
  ------------------
 7767|    528|        commonBuiltins.append("int sparseImageLoadARB(readonly volatile coherent nontemporal ");
 7768|    528|        commonBuiltins.append(imageParams);
 7769|    528|        commonBuiltins.append(", out ");
 7770|    528|        commonBuiltins.append(prefixes[sampler.type]);
 7771|    528|        commonBuiltins.append("vec4");
 7772|    528|        commonBuiltins.append(");\n");
 7773|    528|    }
 7774|       |
 7775|  4.15k|    if ( profile != EEsProfile ||
  ------------------
  |  Branch (7775:10): [True: 4.15k, False: 0]
  ------------------
 7776|  4.15k|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7776:10): [True: 0, False: 0]
  |  Branch (7776:35): [True: 0, False: 0]
  ------------------
 7777|  4.15k|        if (sampler.type == EbtInt || sampler.type == EbtUint || sampler.type == EbtInt64 || sampler.type == EbtUint64 ) {
  ------------------
  |  Branch (7777:13): [True: 1.26k, False: 2.89k]
  |  Branch (7777:39): [True: 1.26k, False: 1.62k]
  |  Branch (7777:66): [True: 121, False: 1.50k]
  |  Branch (7777:94): [True: 121, False: 1.38k]
  ------------------
 7778|       |
 7779|  2.77k|            const char* dataType;
 7780|  2.77k|            switch (sampler.type) {
 7781|  1.26k|                case(EbtInt): dataType = "highp int"; break;
  ------------------
  |  Branch (7781:17): [True: 1.26k, False: 1.50k]
  ------------------
 7782|  1.26k|                case(EbtUint): dataType = "highp uint"; break;
  ------------------
  |  Branch (7782:17): [True: 1.26k, False: 1.50k]
  ------------------
 7783|    121|                case(EbtInt64): dataType = "highp int64_t"; break;
  ------------------
  |  Branch (7783:17): [True: 121, False: 2.65k]
  ------------------
 7784|    121|                case(EbtUint64): dataType = "highp uint64_t"; break;
  ------------------
  |  Branch (7784:17): [True: 121, False: 2.65k]
  ------------------
 7785|      0|                default: dataType = "";
  ------------------
  |  Branch (7785:17): [True: 0, False: 2.77k]
  ------------------
 7786|  2.77k|            }
 7787|       |
 7788|  2.77k|            const int numBuiltins = 7;
 7789|       |
 7790|  2.77k|            static const char* atomicFunc[numBuiltins] = {
 7791|  2.77k|                " imageAtomicAdd(volatile coherent nontemporal ",
 7792|  2.77k|                " imageAtomicMin(volatile coherent nontemporal ",
 7793|  2.77k|                " imageAtomicMax(volatile coherent nontemporal ",
 7794|  2.77k|                " imageAtomicAnd(volatile coherent nontemporal ",
 7795|  2.77k|                " imageAtomicOr(volatile coherent nontemporal ",
 7796|  2.77k|                " imageAtomicXor(volatile coherent nontemporal ",
 7797|  2.77k|                " imageAtomicExchange(volatile coherent nontemporal "
 7798|  2.77k|            };
 7799|       |
 7800|       |            // Loop twice to add prototypes with/without scope/semantics
 7801|  8.31k|            for (int j = 0; j < 2; ++j) {
  ------------------
  |  Branch (7801:29): [True: 5.54k, False: 2.77k]
  ------------------
 7802|  44.3k|                for (size_t i = 0; i < numBuiltins; ++i) {
  ------------------
  |  Branch (7802:36): [True: 38.8k, False: 5.54k]
  ------------------
 7803|  38.8k|                    commonBuiltins.append(dataType);
 7804|  38.8k|                    commonBuiltins.append(atomicFunc[i]);
 7805|  38.8k|                    commonBuiltins.append(imageParams);
 7806|  38.8k|                    commonBuiltins.append(", ");
 7807|  38.8k|                    commonBuiltins.append(dataType);
 7808|  38.8k|                    if (j == 1) {
  ------------------
  |  Branch (7808:25): [True: 19.4k, False: 19.4k]
  ------------------
 7809|  19.4k|                        commonBuiltins.append(", int, int, int");
 7810|  19.4k|                    }
 7811|  38.8k|                    commonBuiltins.append(");\n");
 7812|  38.8k|                }
 7813|       |
 7814|  5.54k|                commonBuiltins.append(dataType);
 7815|  5.54k|                commonBuiltins.append(" imageAtomicCompSwap(volatile coherent nontemporal ");
 7816|  5.54k|                commonBuiltins.append(imageParams);
 7817|  5.54k|                commonBuiltins.append(", ");
 7818|  5.54k|                commonBuiltins.append(dataType);
 7819|  5.54k|                commonBuiltins.append(", ");
 7820|  5.54k|                commonBuiltins.append(dataType);
 7821|  5.54k|                if (j == 1) {
  ------------------
  |  Branch (7821:21): [True: 2.77k, False: 2.77k]
  ------------------
 7822|  2.77k|                    commonBuiltins.append(", int, int, int, int, int");
 7823|  2.77k|                }
 7824|  5.54k|                commonBuiltins.append(");\n");
 7825|  5.54k|            }
 7826|       |
 7827|  2.77k|            commonBuiltins.append(dataType);
 7828|  2.77k|            commonBuiltins.append(" imageAtomicLoad(volatile coherent nontemporal ");
 7829|  2.77k|            commonBuiltins.append(imageParams);
 7830|  2.77k|            commonBuiltins.append(", int, int, int);\n");
 7831|       |
 7832|  2.77k|            commonBuiltins.append("void imageAtomicStore(volatile coherent nontemporal ");
 7833|  2.77k|            commonBuiltins.append(imageParams);
 7834|  2.77k|            commonBuiltins.append(", ");
 7835|  2.77k|            commonBuiltins.append(dataType);
 7836|  2.77k|            commonBuiltins.append(", int, int, int);\n");
 7837|       |
 7838|  2.77k|        } else {
 7839|       |            // not int or uint
 7840|       |            // GL_ARB_ES3_1_compatibility
 7841|       |            // TODO: spec issue: are there restrictions on the kind of layout() that can be used?  what about dropping memory qualifiers?
 7842|  1.38k|            if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (7842:17): [True: 0, False: 1.38k]
  |  Branch (7842:42): [True: 0, False: 0]
  ------------------
 7843|      0|                commonBuiltins.append("float imageAtomicExchange(volatile coherent nontemporal ");
 7844|      0|                commonBuiltins.append(imageParams);
 7845|      0|                commonBuiltins.append(", float);\n");
 7846|      0|            }
 7847|       |
 7848|       |            // GL_NV_shader_atomic_fp16_vector
 7849|  1.38k|            if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (7849:17): [True: 1.38k, False: 0]
  |  Branch (7849:42): [True: 242, False: 1.14k]
  ------------------
 7850|    242|                const int numFp16Builtins = 4;
 7851|    242|                const char* atomicFp16Func[numFp16Builtins] = {
 7852|    242|                    " imageAtomicAdd(volatile coherent nontemporal ",
 7853|    242|                    " imageAtomicMin(volatile coherent nontemporal ",
 7854|    242|                    " imageAtomicMax(volatile coherent nontemporal ",
 7855|    242|                    " imageAtomicExchange(volatile coherent nontemporal "
 7856|    242|                };
 7857|    242|                const int numFp16DataTypes = 2;
 7858|    242|                const char* atomicFp16DataTypes[numFp16DataTypes] = {
 7859|    242|                    "f16vec2",
 7860|    242|                    "f16vec4"
 7861|    242|                };
 7862|       |                // Loop twice to add prototypes with/without scope/semantics
 7863|    726|                for (int j = 0; j < numFp16DataTypes; ++j) {
  ------------------
  |  Branch (7863:33): [True: 484, False: 242]
  ------------------
 7864|  2.42k|                    for (int i = 0; i < numFp16Builtins; ++i) {
  ------------------
  |  Branch (7864:37): [True: 1.93k, False: 484]
  ------------------
 7865|  1.93k|                        commonBuiltins.append(atomicFp16DataTypes[j]);
 7866|  1.93k|                        commonBuiltins.append(atomicFp16Func[i]);
 7867|  1.93k|                        commonBuiltins.append(imageParams);
 7868|  1.93k|                        commonBuiltins.append(", ");
 7869|  1.93k|                        commonBuiltins.append(atomicFp16DataTypes[j]);
 7870|  1.93k|                        commonBuiltins.append(");\n");
 7871|  1.93k|                    }
 7872|    484|                }
 7873|    242|            }
 7874|       |
 7875|  1.38k|            if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (7875:17): [True: 1.38k, False: 0]
  |  Branch (7875:42): [True: 242, False: 1.14k]
  ------------------
 7876|    242|                commonBuiltins.append("float imageAtomicAdd(volatile coherent nontemporal ");
 7877|    242|                commonBuiltins.append(imageParams);
 7878|    242|                commonBuiltins.append(", float);\n");
 7879|       |
 7880|    242|                commonBuiltins.append("float imageAtomicAdd(volatile coherent nontemporal ");
 7881|    242|                commonBuiltins.append(imageParams);
 7882|    242|                commonBuiltins.append(", float");
 7883|    242|                commonBuiltins.append(", int, int, int);\n");
 7884|       |
 7885|    242|                commonBuiltins.append("float imageAtomicExchange(volatile coherent nontemporal ");
 7886|    242|                commonBuiltins.append(imageParams);
 7887|    242|                commonBuiltins.append(", float);\n");
 7888|       |
 7889|    242|                commonBuiltins.append("float imageAtomicExchange(volatile coherent nontemporal ");
 7890|    242|                commonBuiltins.append(imageParams);
 7891|    242|                commonBuiltins.append(", float");
 7892|    242|                commonBuiltins.append(", int, int, int);\n");
 7893|       |
 7894|    242|                commonBuiltins.append("float imageAtomicLoad(readonly volatile coherent nontemporal ");
 7895|    242|                commonBuiltins.append(imageParams);
 7896|    242|                commonBuiltins.append(", int, int, int);\n");
 7897|       |
 7898|    242|                commonBuiltins.append("void imageAtomicStore(writeonly volatile coherent nontemporal ");
 7899|    242|                commonBuiltins.append(imageParams);
 7900|    242|                commonBuiltins.append(", float");
 7901|    242|                commonBuiltins.append(", int, int, int);\n");
 7902|       |
 7903|    242|                commonBuiltins.append("float imageAtomicMin(volatile coherent nontemporal ");
 7904|    242|                commonBuiltins.append(imageParams);
 7905|    242|                commonBuiltins.append(", float);\n");
 7906|       |
 7907|    242|                commonBuiltins.append("float imageAtomicMin(volatile coherent nontemporal ");
 7908|    242|                commonBuiltins.append(imageParams);
 7909|    242|                commonBuiltins.append(", float");
 7910|    242|                commonBuiltins.append(", int, int, int);\n");
 7911|       |
 7912|    242|                commonBuiltins.append("float imageAtomicMax(volatile coherent nontemporal ");
 7913|    242|                commonBuiltins.append(imageParams);
 7914|    242|                commonBuiltins.append(", float);\n");
 7915|       |
 7916|    242|                commonBuiltins.append("float imageAtomicMax(volatile coherent nontemporal ");
 7917|    242|                commonBuiltins.append(imageParams);
 7918|    242|                commonBuiltins.append(", float");
 7919|    242|                commonBuiltins.append(", int, int, int);\n");
 7920|    242|            }
 7921|  1.38k|        }
 7922|  4.15k|    }
 7923|       |
 7924|  4.15k|    if (sampler.dim == EsdRect || sampler.dim == EsdBuffer || sampler.shadow || sampler.isMultiSample())
  ------------------
  |  Branch (7924:9): [True: 378, False: 3.78k]
  |  Branch (7924:35): [True: 378, False: 3.40k]
  |  Branch (7924:63): [True: 0, False: 3.40k]
  |  Branch (7924:81): [True: 756, False: 2.64k]
  ------------------
 7925|  1.51k|        return;
 7926|       |
 7927|  2.64k|    if (profile == EEsProfile || version < 450)
  ------------------
  |  Branch (7927:9): [True: 0, False: 2.64k]
  |  Branch (7927:34): [True: 2.18k, False: 462]
  ------------------
 7928|  2.18k|        return;
 7929|       |
 7930|    462|    TString imageLodParams = typeName;
 7931|    462|    if (dims == 1)
  ------------------
  |  Branch (7931:9): [True: 66, False: 396]
  ------------------
 7932|     66|        imageLodParams.append(", int");
 7933|    396|    else {
 7934|    396|        imageLodParams.append(", ivec");
 7935|    396|        imageLodParams.append(postfixes[dims]);
 7936|    396|    }
 7937|    462|    imageLodParams.append(", int");
 7938|       |
 7939|    462|    commonBuiltins.append(prefixes[sampler.type]);
 7940|    462|    commonBuiltins.append("vec4 imageLoadLodAMD(readonly volatile coherent nontemporal ");
 7941|    462|    commonBuiltins.append(imageLodParams);
 7942|    462|    commonBuiltins.append(");\n");
 7943|       |
 7944|    462|    commonBuiltins.append("void imageStoreLodAMD(writeonly volatile coherent nontemporal ");
 7945|    462|    commonBuiltins.append(imageLodParams);
 7946|    462|    commonBuiltins.append(", ");
 7947|    462|    commonBuiltins.append(prefixes[sampler.type]);
 7948|    462|    commonBuiltins.append("vec4);\n");
 7949|       |
 7950|    462|    if (! sampler.is1D()) {
  ------------------
  |  Branch (7950:9): [True: 330, False: 132]
  ------------------
 7951|    330|        commonBuiltins.append("int sparseImageLoadLodAMD(readonly volatile coherent nontemporal ");
 7952|    330|        commonBuiltins.append(imageLodParams);
 7953|    330|        commonBuiltins.append(", out ");
 7954|    330|        commonBuiltins.append(prefixes[sampler.type]);
 7955|    330|        commonBuiltins.append("vec4");
 7956|    330|        commonBuiltins.append(");\n");
 7957|    330|    }
 7958|    462|}
_ZN7glslang9TBuiltIns18addSubpassSamplingENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 7967|    712|{
 7968|    712|    stageBuiltins[EShLangFragment].append(prefixes[sampler.type]);
 7969|    712|    stageBuiltins[EShLangFragment].append("vec4 subpassLoad");
 7970|    712|    stageBuiltins[EShLangFragment].append("(");
 7971|    712|    stageBuiltins[EShLangFragment].append(typeName.c_str());
 7972|    712|    if (sampler.isMultiSample())
  ------------------
  |  Branch (7972:9): [True: 356, False: 356]
  ------------------
 7973|    356|        stageBuiltins[EShLangFragment].append(", int");
 7974|    712|    stageBuiltins[EShLangFragment].append(");\n");
 7975|    712|}
_ZN7glslang9TBuiltIns20addSamplingFunctionsENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 7984|  8.71k|{
 7985|       |    //
 7986|       |    // texturing
 7987|       |    //
 7988|  26.1k|    for (int proj = 0; proj <= 1; ++proj) { // loop over "bool" projective or not
  ------------------
  |  Branch (7988:24): [True: 17.4k, False: 8.71k]
  ------------------
 7989|       |
 7990|  17.4k|        if (proj && (sampler.dim == EsdCube || sampler.isBuffer() || sampler.arrayed || sampler.isMultiSample()
  ------------------
  |  Branch (7990:13): [True: 8.71k, False: 8.71k]
  |  Branch (7990:22): [True: 1.67k, False: 7.03k]
  |  Branch (7990:48): [True: 712, False: 6.32k]
  |  Branch (7990:70): [True: 2.38k, False: 3.93k]
  |  Branch (7990:89): [True: 712, False: 3.22k]
  ------------------
 7991|  3.22k|            || !sampler.isCombined()))
  ------------------
  |  Branch (7991:16): [True: 1.42k, False: 1.80k]
  ------------------
 7992|  6.91k|            continue;
 7993|       |
 7994|  31.5k|        for (int lod = 0; lod <= 1; ++lod) {
  ------------------
  |  Branch (7994:27): [True: 21.0k, False: 10.5k]
  ------------------
 7995|       |
 7996|  21.0k|            if (lod && (sampler.isBuffer() || sampler.isRect() || sampler.isMultiSample() || !sampler.isCombined()))
  ------------------
  |  Branch (7996:17): [True: 10.5k, False: 10.5k]
  |  Branch (7996:25): [True: 712, False: 9.80k]
  |  Branch (7996:47): [True: 1.32k, False: 8.48k]
  |  Branch (7996:67): [True: 1.42k, False: 7.06k]
  |  Branch (7996:94): [True: 2.49k, False: 4.56k]
  ------------------
 7997|  5.94k|                continue;
 7998|  15.0k|            if (lod && sampler.dim == Esd2D && sampler.arrayed && sampler.shadow)
  ------------------
  |  Branch (7998:17): [True: 4.56k, False: 10.5k]
  |  Branch (7998:24): [True: 1.44k, False: 3.12k]
  |  Branch (7998:48): [True: 482, False: 964]
  |  Branch (7998:67): [True: 126, False: 356]
  ------------------
 7999|    126|                continue;
 8000|  14.9k|            if (lod && sampler.dim == EsdCube && sampler.shadow)
  ------------------
  |  Branch (8000:17): [True: 4.44k, False: 10.5k]
  |  Branch (8000:24): [True: 964, False: 3.47k]
  |  Branch (8000:50): [True: 252, False: 712]
  ------------------
 8001|    252|                continue;
 8002|       |
 8003|  44.1k|            for (int bias = 0; bias <= 1; ++bias) {
  ------------------
  |  Branch (8003:32): [True: 29.4k, False: 14.7k]
  ------------------
 8004|       |
 8005|  29.4k|                if (bias && (lod || sampler.isMultiSample() || !sampler.isCombined()))
  ------------------
  |  Branch (8005:21): [True: 14.7k, False: 14.7k]
  |  Branch (8005:30): [True: 4.19k, False: 10.5k]
  |  Branch (8005:37): [True: 1.42k, False: 9.09k]
  |  Branch (8005:64): [True: 3.20k, False: 5.88k]
  ------------------
 8006|  8.81k|                    continue;
 8007|  20.5k|                if (bias && (sampler.dim == Esd2D || sampler.dim == EsdCube) && sampler.shadow && sampler.arrayed)
  ------------------
  |  Branch (8007:21): [True: 5.88k, False: 14.7k]
  |  Branch (8007:30): [True: 1.44k, False: 4.44k]
  |  Branch (8007:54): [True: 964, False: 3.47k]
  |  Branch (8007:81): [True: 630, False: 1.78k]
  |  Branch (8007:99): [True: 252, False: 378]
  ------------------
 8008|    252|                    continue;
 8009|  20.3k|                if (bias && (sampler.isRect() || sampler.isBuffer()))
  ------------------
  |  Branch (8009:21): [True: 5.63k, False: 14.7k]
  |  Branch (8009:30): [True: 964, False: 4.67k]
  |  Branch (8009:50): [True: 356, False: 4.31k]
  ------------------
 8010|  1.32k|                    continue;
 8011|       |
 8012|  57.0k|                for (int offset = 0; offset <= 1; ++offset) { // loop over "bool" offset or not
  ------------------
  |  Branch (8012:38): [True: 38.0k, False: 19.0k]
  ------------------
 8013|       |
 8014|  38.0k|                    if (proj + offset + bias + lod > 3)
  ------------------
  |  Branch (8014:25): [True: 0, False: 38.0k]
  ------------------
 8015|      0|                        continue;
 8016|  38.0k|                    if (offset && (sampler.dim == EsdCube || sampler.isBuffer() || sampler.isMultiSample()))
  ------------------
  |  Branch (8016:25): [True: 19.0k, False: 19.0k]
  |  Branch (8016:36): [True: 3.22k, False: 15.7k]
  |  Branch (8016:62): [True: 712, False: 15.0k]
  |  Branch (8016:84): [True: 1.42k, False: 13.6k]
  ------------------
 8017|  5.36k|                        continue;
 8018|       |
 8019|  98.0k|                    for (int fetch = 0; fetch <= 1; ++fetch) { // loop over "bool" fetch or not
  ------------------
  |  Branch (8019:41): [True: 65.3k, False: 32.6k]
  ------------------
 8020|       |
 8021|  65.3k|                        if (proj + offset + fetch + bias + lod > 3)
  ------------------
  |  Branch (8021:29): [True: 2.64k, False: 62.7k]
  ------------------
 8022|  2.64k|                            continue;
 8023|  62.7k|                        if (fetch && (lod || bias))
  ------------------
  |  Branch (8023:29): [True: 30.0k, False: 32.6k]
  |  Branch (8023:39): [True: 6.34k, False: 23.6k]
  |  Branch (8023:46): [True: 6.47k, False: 17.2k]
  ------------------
 8024|  12.8k|                            continue;
 8025|  49.9k|                        if (fetch && (sampler.shadow || sampler.dim == EsdCube))
  ------------------
  |  Branch (8025:29): [True: 17.2k, False: 32.6k]
  |  Branch (8025:39): [True: 2.26k, False: 14.9k]
  |  Branch (8025:57): [True: 1.42k, False: 13.5k]
  ------------------
 8026|  3.69k|                            continue;
 8027|  46.2k|                        if (fetch == 0 && (sampler.isMultiSample() || sampler.isBuffer()
  ------------------
  |  Branch (8027:29): [True: 32.6k, False: 13.5k]
  |  Branch (8027:44): [True: 1.42k, False: 31.2k]
  |  Branch (8027:71): [True: 712, False: 30.5k]
  ------------------
 8028|  30.5k|                            || !sampler.isCombined()))
  ------------------
  |  Branch (8028:32): [True: 4.98k, False: 25.5k]
  ------------------
 8029|  7.12k|                            continue;
 8030|       |
 8031|   117k|                        for (int grad = 0; grad <= 1; ++grad) { // loop over "bool" grad or not
  ------------------
  |  Branch (8031:44): [True: 78.1k, False: 39.0k]
  ------------------
 8032|       |
 8033|  78.1k|                            if (grad && (lod || bias || sampler.isMultiSample() || !sampler.isCombined()))
  ------------------
  |  Branch (8033:33): [True: 39.0k, False: 39.0k]
  |  Branch (8033:42): [True: 7.66k, False: 31.4k]
  |  Branch (8033:49): [True: 7.79k, False: 23.6k]
  |  Branch (8033:57): [True: 1.42k, False: 22.2k]
  |  Branch (8033:84): [True: 4.62k, False: 17.5k]
  ------------------
 8034|  21.5k|                                continue;
 8035|  56.6k|                            if (grad && sampler.isBuffer())
  ------------------
  |  Branch (8035:33): [True: 17.5k, False: 39.0k]
  |  Branch (8035:41): [True: 356, False: 17.2k]
  ------------------
 8036|    356|                                continue;
 8037|  56.3k|                            if (proj + offset + fetch + grad + bias + lod > 3)
  ------------------
  |  Branch (8037:33): [True: 1.42k, False: 54.8k]
  ------------------
 8038|  1.42k|                                continue;
 8039|       |
 8040|   164k|                            for (int extraProj = 0; extraProj <= 1; ++extraProj) {
  ------------------
  |  Branch (8040:53): [True: 109k, False: 54.8k]
  ------------------
 8041|   109k|                                bool compare = false;
 8042|   109k|                                int totalDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0);
  ------------------
  |  Branch (8042:72): [True: 27.7k, False: 82.0k]
  ------------------
 8043|       |                                // skip dummy unused second component for 1D non-array shadows
 8044|   109k|                                if (sampler.shadow && totalDims < 2)
  ------------------
  |  Branch (8044:37): [True: 14.3k, False: 95.4k]
  |  Branch (8044:55): [True: 4.03k, False: 10.3k]
  ------------------
 8045|  4.03k|                                    totalDims = 2;
 8046|   109k|                                totalDims += (sampler.shadow ? 1 : 0) + proj;
  ------------------
  |  Branch (8046:47): [True: 14.3k, False: 95.4k]
  ------------------
 8047|   109k|                                if (totalDims > 4 && sampler.shadow) {
  ------------------
  |  Branch (8047:37): [True: 504, False: 109k]
  |  Branch (8047:54): [True: 504, False: 0]
  ------------------
 8048|    504|                                    compare = true;
 8049|    504|                                    totalDims = 4;
 8050|    504|                                }
 8051|   109k|                                assert(totalDims <= 4);
 8052|       |
 8053|   109k|                                if (extraProj && ! proj)
  ------------------
  |  Branch (8053:37): [True: 54.8k, False: 54.8k]
  |  Branch (8053:50): [True: 38.1k, False: 16.7k]
  ------------------
 8054|  38.1k|                                    continue;
 8055|  71.6k|                                if (extraProj && (sampler.dim == Esd3D || sampler.shadow || !sampler.isCombined()))
  ------------------
  |  Branch (8055:37): [True: 16.7k, False: 54.8k]
  |  Branch (8055:51): [True: 3.91k, False: 12.8k]
  |  Branch (8055:75): [True: 2.52k, False: 10.3k]
  |  Branch (8055:93): [True: 0, False: 10.3k]
  ------------------
 8056|  6.43k|                                    continue;
 8057|       |
 8058|       |                                // loop over 16-bit floating-point texel addressing
 8059|   195k|                                for (int f16TexAddr = 0; f16TexAddr <= 1; ++f16TexAddr)
  ------------------
  |  Branch (8059:58): [True: 130k, False: 65.2k]
  ------------------
 8060|   130k|                                {
 8061|   130k|                                    if (f16TexAddr && sampler.type != EbtFloat16)
  ------------------
  |  Branch (8061:41): [True: 65.2k, False: 65.2k]
  |  Branch (8061:55): [True: 62.7k, False: 2.42k]
  ------------------
 8062|  62.7k|                                        continue;
 8063|  67.6k|                                    if (f16TexAddr && sampler.shadow && ! compare) {
  ------------------
  |  Branch (8063:41): [True: 2.42k, False: 65.2k]
  |  Branch (8063:55): [True: 627, False: 1.79k]
  |  Branch (8063:73): [True: 605, False: 22]
  ------------------
 8064|    605|                                        compare = true; // compare argument is always present
 8065|    605|                                        totalDims--;
 8066|    605|                                    }
 8067|       |                                    // loop over "bool" lod clamp
 8068|   202k|                                    for (int lodClamp = 0; lodClamp <= 1 ;++lodClamp)
  ------------------
  |  Branch (8068:60): [True: 135k, False: 67.6k]
  ------------------
 8069|   135k|                                    {
 8070|   135k|                                        if (lodClamp && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (8070:45): [True: 67.6k, False: 67.6k]
  |  Branch (8070:58): [True: 0, False: 67.6k]
  |  Branch (8070:83): [True: 56.7k, False: 10.8k]
  ------------------
 8071|  56.7k|                                            continue;
 8072|  78.4k|                                        if (lodClamp && (proj || lod || fetch))
  ------------------
  |  Branch (8072:45): [True: 10.8k, False: 67.6k]
  |  Branch (8072:58): [True: 4.45k, False: 6.39k]
  |  Branch (8072:66): [True: 858, False: 5.53k]
  |  Branch (8072:73): [True: 2.31k, False: 3.22k]
  ------------------
 8073|  7.62k|                                            continue;
 8074|       |
 8075|       |                                        // loop over "bool" sparse or not
 8076|   212k|                                        for (int sparse = 0; sparse <= 1; ++sparse)
  ------------------
  |  Branch (8076:62): [True: 141k, False: 70.8k]
  ------------------
 8077|   141k|                                        {
 8078|   141k|                                            if (sparse && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (8078:49): [True: 70.8k, False: 70.8k]
  |  Branch (8078:60): [True: 0, False: 70.8k]
  |  Branch (8078:85): [True: 56.7k, False: 14.0k]
  ------------------
 8079|  56.7k|                                                continue;
 8080|       |                                            // Sparse sampling is not for 1D/1D array texture, buffer texture, and
 8081|       |                                            // projective texture
 8082|  84.9k|                                            if (sparse && (sampler.is1D() || sampler.isBuffer() || proj))
  ------------------
  |  Branch (8082:49): [True: 14.0k, False: 70.8k]
  |  Branch (8082:60): [True: 4.59k, False: 9.47k]
  |  Branch (8082:78): [True: 110, False: 9.36k]
  |  Branch (8082:100): [True: 2.98k, False: 6.38k]
  ------------------
 8083|  7.68k|                                                continue;
 8084|       |
 8085|  77.2k|                                            TString s;
 8086|       |
 8087|       |                                            // return type
 8088|  77.2k|                                            if (sparse)
  ------------------
  |  Branch (8088:49): [True: 6.38k, False: 70.8k]
  ------------------
 8089|  6.38k|                                                s.append("int ");
 8090|  70.8k|                                            else {
 8091|  70.8k|                                                if (sampler.shadow)
  ------------------
  |  Branch (8091:53): [True: 8.83k, False: 62.0k]
  ------------------
 8092|  8.83k|                                                    if (sampler.type == EbtFloat16)
  ------------------
  |  Branch (8092:57): [True: 1.93k, False: 6.89k]
  ------------------
 8093|  1.93k|                                                        s.append("float16_t ");
 8094|  6.89k|                                                    else
 8095|  6.89k|                                                        s.append("float ");
 8096|  62.0k|                                                else {
 8097|  62.0k|                                                    s.append(prefixes[sampler.type]);
 8098|  62.0k|                                                    s.append("vec4 ");
 8099|  62.0k|                                                }
 8100|  70.8k|                                            }
 8101|       |
 8102|       |                                            // name
 8103|  77.2k|                                            if (sparse) {
  ------------------
  |  Branch (8103:49): [True: 6.38k, False: 70.8k]
  ------------------
 8104|  6.38k|                                                if (fetch)
  ------------------
  |  Branch (8104:53): [True: 1.54k, False: 4.84k]
  ------------------
 8105|  1.54k|                                                    s.append("sparseTexel");
 8106|  4.84k|                                                else
 8107|  4.84k|                                                    s.append("sparseTexture");
 8108|  6.38k|                                            }
 8109|  70.8k|                                            else {
 8110|  70.8k|                                                if (fetch)
  ------------------
  |  Branch (8110:53): [True: 23.1k, False: 47.7k]
  ------------------
 8111|  23.1k|                                                    s.append("texel");
 8112|  47.7k|                                                else
 8113|  47.7k|                                                    s.append("texture");
 8114|  70.8k|                                            }
 8115|  77.2k|                                            if (proj)
  ------------------
  |  Branch (8115:49): [True: 28.0k, False: 49.1k]
  ------------------
 8116|  28.0k|                                                s.append("Proj");
 8117|  77.2k|                                            if (lod)
  ------------------
  |  Branch (8117:49): [True: 9.95k, False: 67.2k]
  ------------------
 8118|  9.95k|                                                s.append("Lod");
 8119|  77.2k|                                            if (grad)
  ------------------
  |  Branch (8119:49): [True: 22.9k, False: 54.2k]
  ------------------
 8120|  22.9k|                                                s.append("Grad");
 8121|  77.2k|                                            if (fetch)
  ------------------
  |  Branch (8121:49): [True: 24.6k, False: 52.5k]
  ------------------
 8122|  24.6k|                                                s.append("Fetch");
 8123|  77.2k|                                            if (offset)
  ------------------
  |  Branch (8123:49): [True: 33.5k, False: 43.7k]
  ------------------
 8124|  33.5k|                                                s.append("Offset");
 8125|  77.2k|                                            if (lodClamp)
  ------------------
  |  Branch (8125:49): [True: 5.39k, False: 71.8k]
  ------------------
 8126|  5.39k|                                                s.append("Clamp");
 8127|  77.2k|                                            if (lodClamp != 0 || sparse)
  ------------------
  |  Branch (8127:49): [True: 5.39k, False: 71.8k]
  |  Branch (8127:66): [True: 4.21k, False: 67.6k]
  ------------------
 8128|  9.60k|                                                s.append("ARB");
 8129|  77.2k|                                            s.append("(");
 8130|       |
 8131|       |                                            // sampler type
 8132|  77.2k|                                            s.append(typeName);
 8133|       |                                            // P coordinate
 8134|  77.2k|                                            if (extraProj) {
  ------------------
  |  Branch (8134:49): [True: 10.6k, False: 66.5k]
  ------------------
 8135|  10.6k|                                                if (f16TexAddr)
  ------------------
  |  Branch (8135:53): [True: 319, False: 10.3k]
  ------------------
 8136|    319|                                                    s.append(",f16vec4");
 8137|  10.3k|                                                else
 8138|  10.3k|                                                    s.append(",vec4");
 8139|  66.5k|                                            } else {
 8140|  66.5k|                                                s.append(",");
 8141|  66.5k|                                                TBasicType t = fetch ? EbtInt : (f16TexAddr ? EbtFloat16 : EbtFloat);
  ------------------
  |  Branch (8141:64): [True: 21.3k, False: 45.2k]
  |  Branch (8141:82): [True: 3.43k, False: 41.8k]
  ------------------
 8142|  66.5k|                                                if (totalDims == 1)
  ------------------
  |  Branch (8142:53): [True: 6.20k, False: 60.3k]
  ------------------
 8143|  6.20k|                                                    s.append(TType::getBasicString(t));
 8144|  60.3k|                                                else {
 8145|  60.3k|                                                    s.append(prefixes[t]);
 8146|  60.3k|                                                    s.append("vec");
 8147|  60.3k|                                                    s.append(postfixes[totalDims]);
 8148|  60.3k|                                                }
 8149|  66.5k|                                            }
 8150|       |                                            // non-optional compare
 8151|  77.2k|                                            if (compare)
  ------------------
  |  Branch (8151:49): [True: 1.79k, False: 75.4k]
  ------------------
 8152|  1.79k|                                                s.append(",float");
 8153|       |
 8154|       |                                            // non-optional lod argument (lod that's not driven by lod loop) or sample
 8155|  77.2k|                                            if ((fetch && !sampler.isBuffer() &&
  ------------------
  |  Branch (8155:50): [True: 24.6k, False: 52.5k]
  |  Branch (8155:59): [True: 23.9k, False: 734]
  ------------------
 8156|  23.9k|                                                 !sampler.isRect() && !sampler.isMultiSample())
  ------------------
  |  Branch (8156:50): [True: 19.1k, False: 4.73k]
  |  Branch (8156:71): [True: 17.5k, False: 1.68k]
  ------------------
 8157|  59.7k|                                                 || (sampler.isMultiSample() && fetch))
  ------------------
  |  Branch (8157:54): [True: 1.68k, False: 58.0k]
  |  Branch (8157:81): [True: 1.68k, False: 0]
  ------------------
 8158|  19.1k|                                                s.append(",int");
 8159|       |                                            // non-optional lod
 8160|  77.2k|                                            if (lod) {
  ------------------
  |  Branch (8160:49): [True: 9.95k, False: 67.2k]
  ------------------
 8161|  9.95k|                                                if (f16TexAddr)
  ------------------
  |  Branch (8161:53): [True: 462, False: 9.48k]
  ------------------
 8162|    462|                                                    s.append(",float16_t");
 8163|  9.48k|                                                else
 8164|  9.48k|                                                    s.append(",float");
 8165|  9.95k|                                            }
 8166|       |
 8167|       |                                            // gradient arguments
 8168|  77.2k|                                            if (grad) {
  ------------------
  |  Branch (8168:49): [True: 22.9k, False: 54.2k]
  ------------------
 8169|  22.9k|                                                if (dimMap[sampler.dim] == 1) {
  ------------------
  |  Branch (8169:53): [True: 6.31k, False: 16.6k]
  ------------------
 8170|  6.31k|                                                    if (f16TexAddr)
  ------------------
  |  Branch (8170:57): [True: 308, False: 6.00k]
  ------------------
 8171|    308|                                                        s.append(",float16_t,float16_t");
 8172|  6.00k|                                                    else
 8173|  6.00k|                                                        s.append(",float,float");
 8174|  16.6k|                                                } else {
 8175|  16.6k|                                                    if (f16TexAddr)
  ------------------
  |  Branch (8175:57): [True: 1.17k, False: 15.4k]
  ------------------
 8176|  1.17k|                                                        s.append(",f16vec");
 8177|  15.4k|                                                    else
 8178|  15.4k|                                                        s.append(",vec");
 8179|  16.6k|                                                    s.append(postfixes[dimMap[sampler.dim]]);
 8180|  16.6k|                                                    if (f16TexAddr)
  ------------------
  |  Branch (8180:57): [True: 1.17k, False: 15.4k]
  ------------------
 8181|  1.17k|                                                        s.append(",f16vec");
 8182|  15.4k|                                                    else
 8183|  15.4k|                                                        s.append(",vec");
 8184|  16.6k|                                                    s.append(postfixes[dimMap[sampler.dim]]);
 8185|  16.6k|                                                }
 8186|  22.9k|                                            }
 8187|       |                                            // offset
 8188|  77.2k|                                            if (offset) {
  ------------------
  |  Branch (8188:49): [True: 33.5k, False: 43.7k]
  ------------------
 8189|  33.5k|                                                if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (8189:53): [True: 10.9k, False: 22.5k]
  ------------------
 8190|  10.9k|                                                    s.append(",int");
 8191|  22.5k|                                                else {
 8192|  22.5k|                                                    s.append(",ivec");
 8193|  22.5k|                                                    s.append(postfixes[dimMap[sampler.dim]]);
 8194|  22.5k|                                                }
 8195|  33.5k|                                            }
 8196|       |
 8197|       |                                            // lod clamp
 8198|  77.2k|                                            if (lodClamp) {
  ------------------
  |  Branch (8198:49): [True: 5.39k, False: 71.8k]
  ------------------
 8199|  5.39k|                                                if (f16TexAddr)
  ------------------
  |  Branch (8199:53): [True: 1.29k, False: 4.09k]
  ------------------
 8200|  1.29k|                                                    s.append(",float16_t");
 8201|  4.09k|                                                else
 8202|  4.09k|                                                    s.append(",float");
 8203|  5.39k|                                            }
 8204|       |                                            // texel out (for sparse texture)
 8205|  77.2k|                                            if (sparse) {
  ------------------
  |  Branch (8205:49): [True: 6.38k, False: 70.8k]
  ------------------
 8206|  6.38k|                                                s.append(",out ");
 8207|  6.38k|                                                if (sampler.shadow)
  ------------------
  |  Branch (8207:53): [True: 1.32k, False: 5.06k]
  ------------------
 8208|  1.32k|                                                    if (sampler.type == EbtFloat16)
  ------------------
  |  Branch (8208:57): [True: 880, False: 440]
  ------------------
 8209|    880|                                                        s.append("float16_t");
 8210|    440|                                                    else
 8211|    440|                                                        s.append("float");
 8212|  5.06k|                                                else {
 8213|  5.06k|                                                    s.append(prefixes[sampler.type]);
 8214|  5.06k|                                                    s.append("vec4");
 8215|  5.06k|                                                }
 8216|  6.38k|                                            }
 8217|       |                                            // optional bias
 8218|  77.2k|                                            if (bias) {
  ------------------
  |  Branch (8218:49): [True: 11.5k, False: 65.6k]
  ------------------
 8219|  11.5k|                                                if (f16TexAddr)
  ------------------
  |  Branch (8219:53): [True: 814, False: 10.7k]
  ------------------
 8220|    814|                                                    s.append(",float16_t");
 8221|  10.7k|                                                else
 8222|  10.7k|                                                    s.append(",float");
 8223|  11.5k|                                            }
 8224|  77.2k|                                            s.append(");\n");
 8225|       |
 8226|       |                                            // Add to the per-language set of built-ins
 8227|  77.2k|                                            if (!grad && (bias || lodClamp != 0)) {
  ------------------
  |  Branch (8227:49): [True: 54.2k, False: 22.9k]
  |  Branch (8227:59): [True: 11.5k, False: 42.7k]
  |  Branch (8227:67): [True: 1.98k, False: 40.7k]
  ------------------
 8228|  13.5k|                                                stageBuiltins[EShLangFragment].append(s);
 8229|  13.5k|                                                stageBuiltins[EShLangCompute].append(s);
 8230|  13.5k|                                            } else
 8231|  63.7k|                                                commonBuiltins.append(s);
 8232|       |
 8233|  77.2k|                                        }
 8234|  70.8k|                                    }
 8235|  67.6k|                                }
 8236|  65.2k|                            }
 8237|  54.8k|                        }
 8238|  39.0k|                    }
 8239|  32.6k|                }
 8240|  19.0k|            }
 8241|  14.7k|        }
 8242|  10.5k|    }
 8243|  8.71k|}
_ZN7glslang9TBuiltIns18addGatherFunctionsENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 8252|  4.79k|{
 8253|  4.79k|    switch (sampler.dim) {
 8254|  1.67k|    case Esd2D:
  ------------------
  |  Branch (8254:5): [True: 1.67k, False: 3.12k]
  ------------------
 8255|  2.15k|    case EsdRect:
  ------------------
  |  Branch (8255:5): [True: 482, False: 4.31k]
  ------------------
 8256|  3.12k|    case EsdCube:
  ------------------
  |  Branch (8256:5): [True: 964, False: 3.83k]
  ------------------
 8257|  3.12k|        break;
 8258|  1.67k|    default:
  ------------------
  |  Branch (8258:5): [True: 1.67k, False: 3.12k]
  ------------------
 8259|  1.67k|        return;
 8260|  4.79k|    }
 8261|       |
 8262|  3.12k|    if (sampler.isMultiSample())
  ------------------
  |  Branch (8262:9): [True: 712, False: 2.41k]
  ------------------
 8263|    712|        return;
 8264|       |
 8265|  2.41k|    if (version < 140 && sampler.dim == EsdRect && sampler.type != EbtFloat)
  ------------------
  |  Branch (8265:9): [True: 0, False: 2.41k]
  |  Branch (8265:26): [True: 0, False: 0]
  |  Branch (8265:52): [True: 0, False: 0]
  ------------------
 8266|      0|        return;
 8267|       |
 8268|  7.23k|    for (int f16TexAddr = 0; f16TexAddr <= 1; ++f16TexAddr) { // loop over 16-bit floating-point texel addressing
  ------------------
  |  Branch (8268:30): [True: 4.82k, False: 2.41k]
  ------------------
 8269|       |
 8270|  4.82k|        if (f16TexAddr && sampler.type != EbtFloat16)
  ------------------
  |  Branch (8270:13): [True: 2.41k, False: 2.41k]
  |  Branch (8270:27): [True: 2.30k, False: 110]
  ------------------
 8271|  2.30k|            continue;
 8272|  10.0k|        for (int offset = 0; offset < 3; ++offset) { // loop over three forms of offset in the call name:  none, Offset, and Offsets
  ------------------
  |  Branch (8272:30): [True: 7.56k, False: 2.52k]
  ------------------
 8273|       |
 8274|  22.6k|            for (int comp = 0; comp < 2; ++comp) { // loop over presence of comp argument
  ------------------
  |  Branch (8274:32): [True: 15.1k, False: 7.56k]
  ------------------
 8275|       |
 8276|  15.1k|                if (comp > 0 && sampler.shadow)
  ------------------
  |  Branch (8276:21): [True: 7.56k, False: 7.56k]
  |  Branch (8276:33): [True: 2.05k, False: 5.50k]
  ------------------
 8277|  2.05k|                    continue;
 8278|       |
 8279|  13.0k|                if (offset > 0 && sampler.dim == EsdCube)
  ------------------
  |  Branch (8279:21): [True: 8.71k, False: 4.35k]
  |  Branch (8279:35): [True: 3.48k, False: 5.22k]
  ------------------
 8280|  3.48k|                    continue;
 8281|       |
 8282|  28.7k|                for (int sparse = 0; sparse <= 1; ++sparse) { // loop over "bool" sparse or not
  ------------------
  |  Branch (8282:38): [True: 19.1k, False: 9.58k]
  ------------------
 8283|  19.1k|                    if (sparse && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (8283:25): [True: 9.58k, False: 9.58k]
  |  Branch (8283:36): [True: 0, False: 9.58k]
  |  Branch (8283:61): [True: 8.00k, False: 1.57k]
  ------------------
 8284|  8.00k|                        continue;
 8285|       |
 8286|  11.1k|                    TString s;
 8287|       |
 8288|       |                    // return type
 8289|  11.1k|                    if (sparse)
  ------------------
  |  Branch (8289:25): [True: 1.57k, False: 9.58k]
  ------------------
 8290|  1.57k|                        s.append("int ");
 8291|  9.58k|                    else {
 8292|  9.58k|                        s.append(prefixes[sampler.type]);
 8293|  9.58k|                        s.append("vec4 ");
 8294|  9.58k|                    }
 8295|       |
 8296|       |                    // name
 8297|  11.1k|                    if (sparse)
  ------------------
  |  Branch (8297:25): [True: 1.57k, False: 9.58k]
  ------------------
 8298|  1.57k|                        s.append("sparseTextureGather");
 8299|  9.58k|                    else
 8300|  9.58k|                        s.append("textureGather");
 8301|  11.1k|                    switch (offset) {
 8302|  3.04k|                    case 1:
  ------------------
  |  Branch (8302:21): [True: 3.04k, False: 8.11k]
  ------------------
 8303|  3.04k|                        s.append("Offset");
 8304|  3.04k|                        break;
 8305|  3.04k|                    case 2:
  ------------------
  |  Branch (8305:21): [True: 3.04k, False: 8.11k]
  ------------------
 8306|  3.04k|                        s.append("Offsets");
 8307|  3.04k|                        break;
 8308|  5.07k|                    default:
  ------------------
  |  Branch (8308:21): [True: 5.07k, False: 6.08k]
  ------------------
 8309|  5.07k|                        break;
 8310|  11.1k|                    }
 8311|  11.1k|                    if (sparse)
  ------------------
  |  Branch (8311:25): [True: 1.57k, False: 9.58k]
  ------------------
 8312|  1.57k|                        s.append("ARB");
 8313|  11.1k|                    s.append("(");
 8314|       |
 8315|       |                    // sampler type argument
 8316|  11.1k|                    s.append(typeName);
 8317|       |
 8318|       |                    // P coordinate argument
 8319|  11.1k|                    if (f16TexAddr)
  ------------------
  |  Branch (8319:25): [True: 726, False: 10.4k]
  ------------------
 8320|    726|                        s.append(",f16vec");
 8321|  10.4k|                    else
 8322|  10.4k|                        s.append(",vec");
 8323|  11.1k|                    int totalDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0);
  ------------------
  |  Branch (8323:60): [True: 4.05k, False: 7.09k]
  ------------------
 8324|  11.1k|                    s.append(postfixes[totalDims]);
 8325|       |
 8326|       |                    // refZ argument
 8327|  11.1k|                    if (sampler.shadow)
  ------------------
  |  Branch (8327:25): [True: 1.87k, False: 9.28k]
  ------------------
 8328|  1.87k|                        s.append(",float");
 8329|       |
 8330|       |                    // offset argument
 8331|  11.1k|                    if (offset > 0) {
  ------------------
  |  Branch (8331:25): [True: 6.08k, False: 5.07k]
  ------------------
 8332|  6.08k|                        s.append(",ivec2");
 8333|  6.08k|                        if (offset == 2)
  ------------------
  |  Branch (8333:29): [True: 3.04k, False: 3.04k]
  ------------------
 8334|  3.04k|                            s.append("[4]");
 8335|  6.08k|                    }
 8336|       |
 8337|       |                    // texel out (for sparse texture)
 8338|  11.1k|                    if (sparse) {
  ------------------
  |  Branch (8338:25): [True: 1.57k, False: 9.58k]
  ------------------
 8339|  1.57k|                        s.append(",out ");
 8340|  1.57k|                        s.append(prefixes[sampler.type]);
 8341|  1.57k|                        s.append("vec4 ");
 8342|  1.57k|                    }
 8343|       |
 8344|       |                    // comp argument
 8345|  11.1k|                    if (comp)
  ------------------
  |  Branch (8345:25): [True: 4.64k, False: 6.51k]
  ------------------
 8346|  4.64k|                        s.append(",int");
 8347|       |
 8348|  11.1k|                    s.append(");\n");
 8349|  11.1k|                    commonBuiltins.append(s);
 8350|  11.1k|                }
 8351|  9.58k|            }
 8352|  7.56k|        }
 8353|  2.52k|    }
 8354|       |
 8355|  2.41k|    if (sampler.dim == EsdRect || sampler.shadow)
  ------------------
  |  Branch (8355:9): [True: 482, False: 1.92k]
  |  Branch (8355:35): [True: 504, False: 1.42k]
  ------------------
 8356|    986|        return;
 8357|       |
 8358|  1.42k|    if (profile == EEsProfile || version < 450)
  ------------------
  |  Branch (8358:9): [True: 0, False: 1.42k]
  |  Branch (8358:34): [True: 1.24k, False: 176]
  ------------------
 8359|  1.24k|        return;
 8360|       |
 8361|    528|    for (int bias = 0; bias < 2; ++bias) { // loop over presence of bias argument
  ------------------
  |  Branch (8361:24): [True: 352, False: 176]
  ------------------
 8362|       |
 8363|  1.05k|        for (int lod = 0; lod < 2; ++lod) { // loop over presence of lod argument
  ------------------
  |  Branch (8363:27): [True: 704, False: 352]
  ------------------
 8364|       |
 8365|    704|            if ((lod && bias) || (lod == 0 && bias == 0))
  ------------------
  |  Branch (8365:18): [True: 352, False: 352]
  |  Branch (8365:25): [True: 176, False: 176]
  |  Branch (8365:35): [True: 352, False: 176]
  |  Branch (8365:47): [True: 176, False: 176]
  ------------------
 8366|    352|                continue;
 8367|       |
 8368|  1.05k|            for (int f16TexAddr = 0; f16TexAddr <= 1; ++f16TexAddr) { // loop over 16-bit floating-point texel addressing
  ------------------
  |  Branch (8368:38): [True: 704, False: 352]
  ------------------
 8369|       |
 8370|    704|                if (f16TexAddr && sampler.type != EbtFloat16)
  ------------------
  |  Branch (8370:21): [True: 352, False: 352]
  |  Branch (8370:35): [True: 264, False: 88]
  ------------------
 8371|    264|                    continue;
 8372|       |
 8373|  1.76k|                for (int offset = 0; offset < 3; ++offset) { // loop over three forms of offset in the call name:  none, Offset, and Offsets
  ------------------
  |  Branch (8373:38): [True: 1.32k, False: 440]
  ------------------
 8374|       |
 8375|  3.96k|                    for (int comp = 0; comp < 2; ++comp) { // loop over presence of comp argument
  ------------------
  |  Branch (8375:40): [True: 2.64k, False: 1.32k]
  ------------------
 8376|       |
 8377|  2.64k|                        if (comp == 0 && bias)
  ------------------
  |  Branch (8377:29): [True: 1.32k, False: 1.32k]
  |  Branch (8377:42): [True: 660, False: 660]
  ------------------
 8378|    660|                            continue;
 8379|       |
 8380|  1.98k|                        if (offset > 0 && sampler.dim == EsdCube)
  ------------------
  |  Branch (8380:29): [True: 1.32k, False: 660]
  |  Branch (8380:43): [True: 660, False: 660]
  ------------------
 8381|    660|                            continue;
 8382|       |
 8383|  3.96k|                        for (int sparse = 0; sparse <= 1; ++sparse) { // loop over "bool" sparse or not
  ------------------
  |  Branch (8383:46): [True: 2.64k, False: 1.32k]
  ------------------
 8384|  2.64k|                            if (sparse && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (8384:33): [True: 1.32k, False: 1.32k]
  |  Branch (8384:44): [True: 0, False: 1.32k]
  |  Branch (8384:69): [True: 0, False: 1.32k]
  ------------------
 8385|      0|                                continue;
 8386|       |
 8387|  2.64k|                            TString s;
 8388|       |
 8389|       |                            // return type
 8390|  2.64k|                            if (sparse)
  ------------------
  |  Branch (8390:33): [True: 1.32k, False: 1.32k]
  ------------------
 8391|  1.32k|                                s.append("int ");
 8392|  1.32k|                            else {
 8393|  1.32k|                                s.append(prefixes[sampler.type]);
 8394|  1.32k|                                s.append("vec4 ");
 8395|  1.32k|                            }
 8396|       |
 8397|       |                            // name
 8398|  2.64k|                            if (sparse)
  ------------------
  |  Branch (8398:33): [True: 1.32k, False: 1.32k]
  ------------------
 8399|  1.32k|                                s.append("sparseTextureGather");
 8400|  1.32k|                            else
 8401|  1.32k|                                s.append("textureGather");
 8402|       |
 8403|  2.64k|                            if (lod)
  ------------------
  |  Branch (8403:33): [True: 1.76k, False: 880]
  ------------------
 8404|  1.76k|                                s.append("Lod");
 8405|       |
 8406|  2.64k|                            switch (offset) {
 8407|    660|                            case 1:
  ------------------
  |  Branch (8407:29): [True: 660, False: 1.98k]
  ------------------
 8408|    660|                                s.append("Offset");
 8409|    660|                                break;
 8410|    660|                            case 2:
  ------------------
  |  Branch (8410:29): [True: 660, False: 1.98k]
  ------------------
 8411|    660|                                s.append("Offsets");
 8412|    660|                                break;
 8413|  1.32k|                            default:
  ------------------
  |  Branch (8413:29): [True: 1.32k, False: 1.32k]
  ------------------
 8414|  1.32k|                                break;
 8415|  2.64k|                            }
 8416|       |
 8417|  2.64k|                            if (lod)
  ------------------
  |  Branch (8417:33): [True: 1.76k, False: 880]
  ------------------
 8418|  1.76k|                                s.append("AMD");
 8419|    880|                            else if (sparse)
  ------------------
  |  Branch (8419:38): [True: 440, False: 440]
  ------------------
 8420|    440|                                s.append("ARB");
 8421|       |
 8422|  2.64k|                            s.append("(");
 8423|       |
 8424|       |                            // sampler type argument
 8425|  2.64k|                            s.append(typeName);
 8426|       |
 8427|       |                            // P coordinate argument
 8428|  2.64k|                            if (f16TexAddr)
  ------------------
  |  Branch (8428:33): [True: 528, False: 2.11k]
  ------------------
 8429|    528|                                s.append(",f16vec");
 8430|  2.11k|                            else
 8431|  2.11k|                                s.append(",vec");
 8432|  2.64k|                            int totalDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0);
  ------------------
  |  Branch (8432:68): [True: 1.32k, False: 1.32k]
  ------------------
 8433|  2.64k|                            s.append(postfixes[totalDims]);
 8434|       |
 8435|       |                            // lod argument
 8436|  2.64k|                            if (lod) {
  ------------------
  |  Branch (8436:33): [True: 1.76k, False: 880]
  ------------------
 8437|  1.76k|                                if (f16TexAddr)
  ------------------
  |  Branch (8437:37): [True: 352, False: 1.40k]
  ------------------
 8438|    352|                                    s.append(",float16_t");
 8439|  1.40k|                                else
 8440|  1.40k|                                    s.append(",float");
 8441|  1.76k|                            }
 8442|       |
 8443|       |                            // offset argument
 8444|  2.64k|                            if (offset > 0) {
  ------------------
  |  Branch (8444:33): [True: 1.32k, False: 1.32k]
  ------------------
 8445|  1.32k|                                s.append(",ivec2");
 8446|  1.32k|                                if (offset == 2)
  ------------------
  |  Branch (8446:37): [True: 660, False: 660]
  ------------------
 8447|    660|                                    s.append("[4]");
 8448|  1.32k|                            }
 8449|       |
 8450|       |                            // texel out (for sparse texture)
 8451|  2.64k|                            if (sparse) {
  ------------------
  |  Branch (8451:33): [True: 1.32k, False: 1.32k]
  ------------------
 8452|  1.32k|                                s.append(",out ");
 8453|  1.32k|                                s.append(prefixes[sampler.type]);
 8454|  1.32k|                                s.append("vec4 ");
 8455|  1.32k|                            }
 8456|       |
 8457|       |                            // comp argument
 8458|  2.64k|                            if (comp)
  ------------------
  |  Branch (8458:33): [True: 1.76k, False: 880]
  ------------------
 8459|  1.76k|                                s.append(",int");
 8460|       |
 8461|       |                            // bias argument
 8462|  2.64k|                            if (bias) {
  ------------------
  |  Branch (8462:33): [True: 880, False: 1.76k]
  ------------------
 8463|    880|                                if (f16TexAddr)
  ------------------
  |  Branch (8463:37): [True: 176, False: 704]
  ------------------
 8464|    176|                                    s.append(",float16_t");
 8465|    704|                                else
 8466|    704|                                    s.append(",float");
 8467|    880|                            }
 8468|       |
 8469|  2.64k|                            s.append(");\n");
 8470|  2.64k|                            if (bias) {
  ------------------
  |  Branch (8470:33): [True: 880, False: 1.76k]
  ------------------
 8471|    880|                                stageBuiltins[EShLangFragment].append(s);
 8472|    880|                                stageBuiltins[EShLangCompute].append(s);
 8473|    880|                                stageBuiltins[EShLangTask].append(s);
 8474|    880|                                stageBuiltins[EShLangMesh].append(s);
 8475|    880|                            } else
 8476|  1.76k|                                commonBuiltins.append(s);
 8477|  2.64k|                        }
 8478|  1.32k|                    }
 8479|  1.32k|                }
 8480|    440|            }
 8481|    352|        }
 8482|    352|    }
 8483|    176|}
_ZN7glslang9TBuiltIns22addGatherFunctionsQCOMEv:
 8486|    115|{
 8487|    115|    const TBasicType bTypes[] = { EbtFloat, EbtInt, EbtUint };
 8488|    115|    const TSamplerDim sDims[] = { Esd2D };
 8489|    115|    const TString modes[] = { "4x1", "V2", "H2", "D" };
 8490|    345|    for (size_t arrayed = 0; arrayed <= 1; ++arrayed) { // loop over "bool" arrayed or not
  ------------------
  |  Branch (8490:30): [True: 230, False: 115]
  ------------------
 8491|    460|        for (size_t dimIdx = 0; dimIdx < std::size(sDims); ++dimIdx) {
  ------------------
  |  Branch (8491:33): [True: 230, False: 230]
  ------------------
 8492|    230|            int dim = sDims[dimIdx];
 8493|       |            // Loop over the bTypes
 8494|    920|            for (size_t bType = 0; bType < std::size(bTypes); ++bType) {
  ------------------
  |  Branch (8494:36): [True: 690, False: 230]
  ------------------
 8495|  3.45k|                for (size_t mode = 0; mode < std::size(modes); ++mode) {
  ------------------
  |  Branch (8495:39): [True: 2.76k, False: 690]
  ------------------
 8496|       |                    // loop over two forms of offset in the call name:  none, and Offset
 8497|  8.28k|                    for (int offset = 0; offset < 2; ++offset) {
  ------------------
  |  Branch (8497:42): [True: 5.52k, False: 2.76k]
  ------------------
 8498|  16.5k|                        for (int comp = 0; comp < 2; ++comp) {
  ------------------
  |  Branch (8498:44): [True: 11.0k, False: 5.52k]
  ------------------
 8499|       |                            //
 8500|       |                            // Now, make all the function prototypes for the type we just built...
 8501|       |                            //
 8502|  11.0k|                            TSampler sampler;
 8503|  11.0k|                            sampler.set(bTypes[bType], (TSamplerDim)dim, arrayed ? true : false, false, false);
  ------------------
  |  Branch (8503:74): [True: 5.52k, False: 5.52k]
  ------------------
 8504|  11.0k|                            TString typeName = sampler.getString().c_str();
 8505|       |
 8506|  11.0k|                            TString s;
 8507|  11.0k|                            s.append(prefixes[sampler.type]);
 8508|  11.0k|                            s.append("vec4 textureGather");
 8509|  11.0k|                            s.append(modes[mode]);
 8510|       |
 8511|  11.0k|                            if (offset == 1)
  ------------------
  |  Branch (8511:33): [True: 5.52k, False: 5.52k]
  ------------------
 8512|  5.52k|                                s.append("Offset");
 8513|       |
 8514|  11.0k|                            s.append("QCOM(");
 8515|  11.0k|                            s.append(typeName);
 8516|  11.0k|                            s.append(", vec");
 8517|  11.0k|                            int totalDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0);
  ------------------
  |  Branch (8517:68): [True: 5.52k, False: 5.52k]
  ------------------
 8518|  11.0k|                            s.append(postfixes[totalDims]);
 8519|       |
 8520|       |                            // offset argument
 8521|  11.0k|                            if (offset == 1)
  ------------------
  |  Branch (8521:33): [True: 5.52k, False: 5.52k]
  ------------------
 8522|  5.52k|                                s.append(", ivec2");
 8523|       |
 8524|  11.0k|                            if (comp)
  ------------------
  |  Branch (8524:33): [True: 5.52k, False: 5.52k]
  ------------------
 8525|  5.52k|                                s.append(", int");
 8526|  11.0k|                            s.append(");\n");
 8527|  11.0k|                            commonBuiltins.append(s);
 8528|  11.0k|                        }
 8529|  5.52k|                    }
 8530|  2.76k|                }
 8531|    690|            }
 8532|    230|        }
 8533|    230|    }
 8534|    115|}
_ZN7glslang9TBuiltIns10initializeERK16TBuiltInResourcei8EProfileRKNS_10SpvVersionE11EShLanguage:
 8544|    115|{
 8545|       |    //
 8546|       |    // Initialize the context-dependent (resource-dependent) built-in strings for parsing.
 8547|       |    //
 8548|       |
 8549|       |    //============================================================================
 8550|       |    //
 8551|       |    // Standard Uniforms
 8552|       |    //
 8553|       |    //============================================================================
 8554|       |
 8555|    115|    TString& s = commonBuiltins;
 8556|    115|    const int maxSize = 200;
 8557|    115|    char builtInConstant[maxSize];
 8558|       |
 8559|       |    //
 8560|       |    // Build string of implementation dependent constants.
 8561|       |    //
 8562|       |
 8563|    115|    if (profile == EEsProfile) {
  ------------------
  |  Branch (8563:9): [True: 0, False: 115]
  ------------------
 8564|      0|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVertexAttribs = %d;", resources.maxVertexAttribs);
 8565|      0|        s.append(builtInConstant);
 8566|       |
 8567|      0|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVertexUniformVectors = %d;", resources.maxVertexUniformVectors);
 8568|      0|        s.append(builtInConstant);
 8569|       |
 8570|      0|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVertexTextureImageUnits = %d;", resources.maxVertexTextureImageUnits);
 8571|      0|        s.append(builtInConstant);
 8572|       |
 8573|      0|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxCombinedTextureImageUnits = %d;", resources.maxCombinedTextureImageUnits);
 8574|      0|        s.append(builtInConstant);
 8575|       |
 8576|      0|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxTextureImageUnits = %d;", resources.maxTextureImageUnits);
 8577|      0|        s.append(builtInConstant);
 8578|       |
 8579|      0|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxFragmentUniformVectors = %d;", resources.maxFragmentUniformVectors);
 8580|      0|        s.append(builtInConstant);
 8581|       |
 8582|      0|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxDrawBuffers = %d;", resources.maxDrawBuffers);
 8583|      0|        s.append(builtInConstant);
 8584|       |
 8585|      0|        if (version == 100) {
  ------------------
  |  Branch (8585:13): [True: 0, False: 0]
  ------------------
 8586|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVaryingVectors = %d;", resources.maxVaryingVectors);
 8587|      0|            s.append(builtInConstant);
 8588|      0|        } else {
 8589|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVertexOutputVectors = %d;", resources.maxVertexOutputVectors);
 8590|      0|            s.append(builtInConstant);
 8591|       |
 8592|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxFragmentInputVectors = %d;", resources.maxFragmentInputVectors);
 8593|      0|            s.append(builtInConstant);
 8594|       |
 8595|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MinProgramTexelOffset = %d;", resources.minProgramTexelOffset);
 8596|      0|            s.append(builtInConstant);
 8597|       |
 8598|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxProgramTexelOffset = %d;", resources.maxProgramTexelOffset);
 8599|      0|            s.append(builtInConstant);
 8600|      0|        }
 8601|       |
 8602|      0|        if (version >= 310) {
  ------------------
  |  Branch (8602:13): [True: 0, False: 0]
  ------------------
 8603|       |            // geometry
 8604|       |
 8605|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryInputComponents = %d;", resources.maxGeometryInputComponents);
 8606|      0|            s.append(builtInConstant);
 8607|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryOutputComponents = %d;", resources.maxGeometryOutputComponents);
 8608|      0|            s.append(builtInConstant);
 8609|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryImageUniforms = %d;", resources.maxGeometryImageUniforms);
 8610|      0|            s.append(builtInConstant);
 8611|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryTextureImageUnits = %d;", resources.maxGeometryTextureImageUnits);
 8612|      0|            s.append(builtInConstant);
 8613|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryOutputVertices = %d;", resources.maxGeometryOutputVertices);
 8614|      0|            s.append(builtInConstant);
 8615|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryTotalOutputComponents = %d;", resources.maxGeometryTotalOutputComponents);
 8616|      0|            s.append(builtInConstant);
 8617|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryUniformComponents = %d;", resources.maxGeometryUniformComponents);
 8618|      0|            s.append(builtInConstant);
 8619|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryAtomicCounters = %d;", resources.maxGeometryAtomicCounters);
 8620|      0|            s.append(builtInConstant);
 8621|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryAtomicCounterBuffers = %d;", resources.maxGeometryAtomicCounterBuffers);
 8622|      0|            s.append(builtInConstant);
 8623|       |
 8624|       |            // tessellation
 8625|       |
 8626|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlInputComponents = %d;", resources.maxTessControlInputComponents);
 8627|      0|            s.append(builtInConstant);
 8628|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlOutputComponents = %d;", resources.maxTessControlOutputComponents);
 8629|      0|            s.append(builtInConstant);
 8630|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlTextureImageUnits = %d;", resources.maxTessControlTextureImageUnits);
 8631|      0|            s.append(builtInConstant);
 8632|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlUniformComponents = %d;", resources.maxTessControlUniformComponents);
 8633|      0|            s.append(builtInConstant);
 8634|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlTotalOutputComponents = %d;", resources.maxTessControlTotalOutputComponents);
 8635|      0|            s.append(builtInConstant);
 8636|       |
 8637|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationInputComponents = %d;", resources.maxTessEvaluationInputComponents);
 8638|      0|            s.append(builtInConstant);
 8639|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationOutputComponents = %d;", resources.maxTessEvaluationOutputComponents);
 8640|      0|            s.append(builtInConstant);
 8641|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationTextureImageUnits = %d;", resources.maxTessEvaluationTextureImageUnits);
 8642|      0|            s.append(builtInConstant);
 8643|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationUniformComponents = %d;", resources.maxTessEvaluationUniformComponents);
 8644|      0|            s.append(builtInConstant);
 8645|       |
 8646|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessPatchComponents = %d;", resources.maxTessPatchComponents);
 8647|      0|            s.append(builtInConstant);
 8648|       |
 8649|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxPatchVertices = %d;", resources.maxPatchVertices);
 8650|      0|            s.append(builtInConstant);
 8651|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessGenLevel = %d;", resources.maxTessGenLevel);
 8652|      0|            s.append(builtInConstant);
 8653|       |
 8654|       |            // this is here instead of with the others in initialize(version, profile) due to the dependence on gl_MaxPatchVertices
 8655|      0|            if (language == EShLangTessControl || language == EShLangTessEvaluation) {
  ------------------
  |  Branch (8655:17): [True: 0, False: 0]
  |  Branch (8655:51): [True: 0, False: 0]
  ------------------
 8656|      0|                s.append(
 8657|      0|                    "in gl_PerVertex {"
 8658|      0|                        "highp vec4 gl_Position;"
 8659|      0|                        "highp float gl_PointSize;"
 8660|      0|                        "highp vec4 gl_SecondaryPositionNV;"  // GL_NV_stereo_view_rendering
 8661|      0|                        "highp vec4 gl_PositionPerViewNV[];"  // GL_NVX_multiview_per_view_attributes
 8662|      0|                    "} gl_in[gl_MaxPatchVertices];"
 8663|      0|                    "\n");
 8664|      0|            }
 8665|      0|        }
 8666|       |
 8667|      0|        if (version >= 320) {
  ------------------
  |  Branch (8667:13): [True: 0, False: 0]
  ------------------
 8668|       |            // tessellation
 8669|       |
 8670|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlImageUniforms = %d;", resources.maxTessControlImageUniforms);
 8671|      0|            s.append(builtInConstant);
 8672|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationImageUniforms = %d;", resources.maxTessEvaluationImageUniforms);
 8673|      0|            s.append(builtInConstant);
 8674|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlAtomicCounters = %d;", resources.maxTessControlAtomicCounters);
 8675|      0|            s.append(builtInConstant);
 8676|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationAtomicCounters = %d;", resources.maxTessEvaluationAtomicCounters);
 8677|      0|            s.append(builtInConstant);
 8678|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlAtomicCounterBuffers = %d;", resources.maxTessControlAtomicCounterBuffers);
 8679|      0|            s.append(builtInConstant);
 8680|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationAtomicCounterBuffers = %d;", resources.maxTessEvaluationAtomicCounterBuffers);
 8681|      0|            s.append(builtInConstant);
 8682|      0|        }
 8683|       |
 8684|      0|        if (version >= 100) {
  ------------------
  |  Branch (8684:13): [True: 0, False: 0]
  ------------------
 8685|       |            // GL_EXT_blend_func_extended
 8686|      0|            snprintf(builtInConstant, maxSize, "const mediump int gl_MaxDualSourceDrawBuffersEXT = %d;", resources.maxDualSourceDrawBuffersEXT);
 8687|      0|            s.append(builtInConstant);
 8688|       |            // this is here instead of with the others in initialize(version, profile) due to the dependence on gl_MaxDualSourceDrawBuffersEXT
 8689|      0|            if (language == EShLangFragment) {
  ------------------
  |  Branch (8689:17): [True: 0, False: 0]
  ------------------
 8690|      0|                s.append(
 8691|      0|                    "mediump vec4 gl_SecondaryFragColorEXT;"
 8692|      0|                    "mediump vec4 gl_SecondaryFragDataEXT[gl_MaxDualSourceDrawBuffersEXT];"
 8693|      0|                    "\n");
 8694|      0|            }
 8695|      0|        }
 8696|    115|    } else {
 8697|       |        // non-ES profile
 8698|       |
 8699|    115|        if (version > 400) {
  ------------------
  |  Branch (8699:13): [True: 11, False: 104]
  ------------------
 8700|     11|            snprintf(builtInConstant, maxSize, "const int  gl_MaxVertexUniformVectors = %d;", resources.maxVertexUniformVectors);
 8701|     11|            s.append(builtInConstant);
 8702|       |
 8703|     11|            snprintf(builtInConstant, maxSize, "const int  gl_MaxFragmentUniformVectors = %d;", resources.maxFragmentUniformVectors);
 8704|     11|            s.append(builtInConstant);
 8705|       |
 8706|     11|            snprintf(builtInConstant, maxSize, "const int  gl_MaxVaryingVectors = %d;", resources.maxVaryingVectors);
 8707|     11|            s.append(builtInConstant);
 8708|     11|        }
 8709|       |
 8710|    115|        snprintf(builtInConstant, maxSize, "const int  gl_MaxVertexAttribs = %d;", resources.maxVertexAttribs);
 8711|    115|        s.append(builtInConstant);
 8712|       |
 8713|    115|        snprintf(builtInConstant, maxSize, "const int  gl_MaxVertexTextureImageUnits = %d;", resources.maxVertexTextureImageUnits);
 8714|    115|        s.append(builtInConstant);
 8715|       |
 8716|    115|        snprintf(builtInConstant, maxSize, "const int  gl_MaxCombinedTextureImageUnits = %d;", resources.maxCombinedTextureImageUnits);
 8717|    115|        s.append(builtInConstant);
 8718|       |
 8719|    115|        snprintf(builtInConstant, maxSize, "const int  gl_MaxTextureImageUnits = %d;", resources.maxTextureImageUnits);
 8720|    115|        s.append(builtInConstant);
 8721|       |
 8722|    115|        snprintf(builtInConstant, maxSize, "const int  gl_MaxDrawBuffers = %d;", resources.maxDrawBuffers);
 8723|    115|        s.append(builtInConstant);
 8724|       |
 8725|    115|        snprintf(builtInConstant, maxSize, "const int  gl_MaxLights = %d;", resources.maxLights);
 8726|    115|        s.append(builtInConstant);
 8727|       |
 8728|    115|        snprintf(builtInConstant, maxSize, "const int  gl_MaxClipPlanes = %d;", resources.maxClipPlanes);
 8729|    115|        s.append(builtInConstant);
 8730|       |
 8731|    115|        snprintf(builtInConstant, maxSize, "const int  gl_MaxTextureUnits = %d;", resources.maxTextureUnits);
 8732|    115|        s.append(builtInConstant);
 8733|       |
 8734|    115|        snprintf(builtInConstant, maxSize, "const int  gl_MaxTextureCoords = %d;", resources.maxTextureCoords);
 8735|    115|        s.append(builtInConstant);
 8736|       |
 8737|    115|        snprintf(builtInConstant, maxSize, "const int  gl_MaxVertexUniformComponents = %d;", resources.maxVertexUniformComponents);
 8738|    115|        s.append(builtInConstant);
 8739|       |
 8740|       |        // Moved from just being deprecated into compatibility profile only as of 4.20
 8741|    115|        if (version < 420 || profile == ECompatibilityProfile) {
  ------------------
  |  Branch (8741:13): [True: 104, False: 11]
  |  Branch (8741:30): [True: 0, False: 11]
  ------------------
 8742|    104|            snprintf(builtInConstant, maxSize, "const int  gl_MaxVaryingFloats = %d;", resources.maxVaryingFloats);
 8743|    104|            s.append(builtInConstant);
 8744|    104|        }
 8745|       |
 8746|    115|        snprintf(builtInConstant, maxSize, "const int  gl_MaxFragmentUniformComponents = %d;", resources.maxFragmentUniformComponents);
 8747|    115|        s.append(builtInConstant);
 8748|       |
 8749|    115|        if (spvVersion.spv == 0 && IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (8749:13): [True: 0, False: 115]
  |  Branch (8749:36): [True: 0, False: 0]
  ------------------
 8750|       |            //
 8751|       |            // OpenGL'uniform' state.  Page numbers are in reference to version
 8752|       |            // 1.4 of the OpenGL specification.
 8753|       |            //
 8754|       |
 8755|       |            //
 8756|       |            // Matrix state. p. 31, 32, 37, 39, 40.
 8757|       |            //
 8758|      0|            s.append("uniform mat4  gl_TextureMatrix[gl_MaxTextureCoords];"
 8759|       |
 8760|       |            //
 8761|       |            // Derived matrix state that provides inverse and transposed versions
 8762|       |            // of the matrices above.
 8763|       |            //
 8764|      0|                        "uniform mat4  gl_TextureMatrixInverse[gl_MaxTextureCoords];"
 8765|       |
 8766|      0|                        "uniform mat4  gl_TextureMatrixTranspose[gl_MaxTextureCoords];"
 8767|       |
 8768|      0|                        "uniform mat4  gl_TextureMatrixInverseTranspose[gl_MaxTextureCoords];"
 8769|       |
 8770|       |            //
 8771|       |            // Clip planes p. 42.
 8772|       |            //
 8773|      0|                        "uniform vec4  gl_ClipPlane[gl_MaxClipPlanes];"
 8774|       |
 8775|       |            //
 8776|       |            // Light State p 50, 53, 55.
 8777|       |            //
 8778|      0|                        "uniform gl_LightSourceParameters  gl_LightSource[gl_MaxLights];"
 8779|       |
 8780|       |            //
 8781|       |            // Derived state from products of light.
 8782|       |            //
 8783|      0|                        "uniform gl_LightProducts gl_FrontLightProduct[gl_MaxLights];"
 8784|      0|                        "uniform gl_LightProducts gl_BackLightProduct[gl_MaxLights];"
 8785|       |
 8786|       |            //
 8787|       |            // Texture Environment and Generation, p. 152, p. 40-42.
 8788|       |            //
 8789|      0|                        "uniform vec4  gl_TextureEnvColor[gl_MaxTextureImageUnits];"
 8790|      0|                        "uniform vec4  gl_EyePlaneS[gl_MaxTextureCoords];"
 8791|      0|                        "uniform vec4  gl_EyePlaneT[gl_MaxTextureCoords];"
 8792|      0|                        "uniform vec4  gl_EyePlaneR[gl_MaxTextureCoords];"
 8793|      0|                        "uniform vec4  gl_EyePlaneQ[gl_MaxTextureCoords];"
 8794|      0|                        "uniform vec4  gl_ObjectPlaneS[gl_MaxTextureCoords];"
 8795|      0|                        "uniform vec4  gl_ObjectPlaneT[gl_MaxTextureCoords];"
 8796|      0|                        "uniform vec4  gl_ObjectPlaneR[gl_MaxTextureCoords];"
 8797|      0|                        "uniform vec4  gl_ObjectPlaneQ[gl_MaxTextureCoords];");
 8798|      0|        }
 8799|       |
 8800|    115|        if (version >= 130) {
  ------------------
  |  Branch (8800:13): [True: 115, False: 0]
  ------------------
 8801|    115|            snprintf(builtInConstant, maxSize, "const int gl_MaxClipDistances = %d;", resources.maxClipDistances);
 8802|    115|            s.append(builtInConstant);
 8803|    115|            snprintf(builtInConstant, maxSize, "const int gl_MaxVaryingComponents = %d;", resources.maxVaryingComponents);
 8804|    115|            s.append(builtInConstant);
 8805|       |
 8806|       |            // GL_ARB_shading_language_420pack
 8807|    115|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MinProgramTexelOffset = %d;", resources.minProgramTexelOffset);
 8808|    115|            s.append(builtInConstant);
 8809|    115|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxProgramTexelOffset = %d;", resources.maxProgramTexelOffset);
 8810|    115|            s.append(builtInConstant);
 8811|    115|        }
 8812|       |
 8813|       |        // geometry
 8814|    115|        if (version >= 150) {
  ------------------
  |  Branch (8814:13): [True: 16, False: 99]
  ------------------
 8815|     16|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryInputComponents = %d;", resources.maxGeometryInputComponents);
 8816|     16|            s.append(builtInConstant);
 8817|     16|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryOutputComponents = %d;", resources.maxGeometryOutputComponents);
 8818|     16|            s.append(builtInConstant);
 8819|     16|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryTextureImageUnits = %d;", resources.maxGeometryTextureImageUnits);
 8820|     16|            s.append(builtInConstant);
 8821|     16|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryOutputVertices = %d;", resources.maxGeometryOutputVertices);
 8822|     16|            s.append(builtInConstant);
 8823|     16|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryTotalOutputComponents = %d;", resources.maxGeometryTotalOutputComponents);
 8824|     16|            s.append(builtInConstant);
 8825|     16|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryUniformComponents = %d;", resources.maxGeometryUniformComponents);
 8826|     16|            s.append(builtInConstant);
 8827|     16|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryVaryingComponents = %d;", resources.maxGeometryVaryingComponents);
 8828|     16|            s.append(builtInConstant);
 8829|       |
 8830|     16|        }
 8831|       |
 8832|    115|        if (version >= 150) {
  ------------------
  |  Branch (8832:13): [True: 16, False: 99]
  ------------------
 8833|     16|            snprintf(builtInConstant, maxSize, "const int gl_MaxVertexOutputComponents = %d;", resources.maxVertexOutputComponents);
 8834|     16|            s.append(builtInConstant);
 8835|     16|            snprintf(builtInConstant, maxSize, "const int gl_MaxFragmentInputComponents = %d;", resources.maxFragmentInputComponents);
 8836|     16|            s.append(builtInConstant);
 8837|     16|        }
 8838|       |
 8839|       |        // tessellation
 8840|    115|        if (version >= 150) {
  ------------------
  |  Branch (8840:13): [True: 16, False: 99]
  ------------------
 8841|     16|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlInputComponents = %d;", resources.maxTessControlInputComponents);
 8842|     16|            s.append(builtInConstant);
 8843|     16|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlOutputComponents = %d;", resources.maxTessControlOutputComponents);
 8844|     16|            s.append(builtInConstant);
 8845|     16|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlTextureImageUnits = %d;", resources.maxTessControlTextureImageUnits);
 8846|     16|            s.append(builtInConstant);
 8847|     16|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlUniformComponents = %d;", resources.maxTessControlUniformComponents);
 8848|     16|            s.append(builtInConstant);
 8849|     16|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlTotalOutputComponents = %d;", resources.maxTessControlTotalOutputComponents);
 8850|     16|            s.append(builtInConstant);
 8851|       |
 8852|     16|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationInputComponents = %d;", resources.maxTessEvaluationInputComponents);
 8853|     16|            s.append(builtInConstant);
 8854|     16|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationOutputComponents = %d;", resources.maxTessEvaluationOutputComponents);
 8855|     16|            s.append(builtInConstant);
 8856|     16|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationTextureImageUnits = %d;", resources.maxTessEvaluationTextureImageUnits);
 8857|     16|            s.append(builtInConstant);
 8858|     16|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationUniformComponents = %d;", resources.maxTessEvaluationUniformComponents);
 8859|     16|            s.append(builtInConstant);
 8860|       |
 8861|     16|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessPatchComponents = %d;", resources.maxTessPatchComponents);
 8862|     16|            s.append(builtInConstant);
 8863|     16|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessGenLevel = %d;", resources.maxTessGenLevel);
 8864|     16|            s.append(builtInConstant);
 8865|     16|            snprintf(builtInConstant, maxSize, "const int gl_MaxPatchVertices = %d;", resources.maxPatchVertices);
 8866|     16|            s.append(builtInConstant);
 8867|       |
 8868|       |            // this is here instead of with the others in initialize(version, profile) due to the dependence on gl_MaxPatchVertices
 8869|     16|            if (language == EShLangTessControl || language == EShLangTessEvaluation) {
  ------------------
  |  Branch (8869:17): [True: 8, False: 8]
  |  Branch (8869:51): [True: 2, False: 6]
  ------------------
 8870|     10|                s.append(
 8871|     10|                    "in gl_PerVertex {"
 8872|     10|                        "vec4 gl_Position;"
 8873|     10|                        "float gl_PointSize;"
 8874|     10|                        "float gl_ClipDistance[];"
 8875|     10|                    );
 8876|     10|                if (profile == ECompatibilityProfile)
  ------------------
  |  Branch (8876:21): [True: 0, False: 10]
  ------------------
 8877|      0|                    s.append(
 8878|      0|                        "vec4 gl_ClipVertex;"
 8879|      0|                        "vec4 gl_FrontColor;"
 8880|      0|                        "vec4 gl_BackColor;"
 8881|      0|                        "vec4 gl_FrontSecondaryColor;"
 8882|      0|                        "vec4 gl_BackSecondaryColor;"
 8883|      0|                        "vec4 gl_TexCoord[];"
 8884|      0|                        "float gl_FogFragCoord;"
 8885|      0|                        );
 8886|     10|                if (profile != EEsProfile && version >= 450)
  ------------------
  |  Branch (8886:21): [True: 10, False: 0]
  |  Branch (8886:46): [True: 6, False: 4]
  ------------------
 8887|      6|                    s.append(
 8888|      6|                        "float gl_CullDistance[];"
 8889|      6|                        "vec4 gl_SecondaryPositionNV;"  // GL_NV_stereo_view_rendering
 8890|      6|                        "vec4 gl_PositionPerViewNV[];"  // GL_NVX_multiview_per_view_attributes
 8891|      6|                       );
 8892|     10|                s.append(
 8893|     10|                    "} gl_in[gl_MaxPatchVertices];"
 8894|     10|                    "\n");
 8895|     10|            }
 8896|     16|        }
 8897|       |
 8898|    115|        if (version >= 150) {
  ------------------
  |  Branch (8898:13): [True: 16, False: 99]
  ------------------
 8899|     16|            snprintf(builtInConstant, maxSize, "const int gl_MaxViewports = %d;", resources.maxViewports);
 8900|     16|            s.append(builtInConstant);
 8901|     16|        }
 8902|       |
 8903|       |        // images
 8904|    115|        if (version >= 130) {
  ------------------
  |  Branch (8904:13): [True: 115, False: 0]
  ------------------
 8905|    115|            snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedImageUnitsAndFragmentOutputs = %d;", resources.maxCombinedImageUnitsAndFragmentOutputs);
 8906|    115|            s.append(builtInConstant);
 8907|    115|            snprintf(builtInConstant, maxSize, "const int gl_MaxImageSamples = %d;", resources.maxImageSamples);
 8908|    115|            s.append(builtInConstant);
 8909|    115|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlImageUniforms = %d;", resources.maxTessControlImageUniforms);
 8910|    115|            s.append(builtInConstant);
 8911|    115|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationImageUniforms = %d;", resources.maxTessEvaluationImageUniforms);
 8912|    115|            s.append(builtInConstant);
 8913|    115|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryImageUniforms = %d;", resources.maxGeometryImageUniforms);
 8914|    115|            s.append(builtInConstant);
 8915|    115|        }
 8916|       |
 8917|       |        // enhanced layouts
 8918|    115|        if (version >= 430) {
  ------------------
  |  Branch (8918:13): [True: 11, False: 104]
  ------------------
 8919|     11|            snprintf(builtInConstant, maxSize, "const int gl_MaxTransformFeedbackBuffers = %d;", resources.maxTransformFeedbackBuffers);
 8920|     11|            s.append(builtInConstant);
 8921|     11|            snprintf(builtInConstant, maxSize, "const int gl_MaxTransformFeedbackInterleavedComponents = %d;", resources.maxTransformFeedbackInterleavedComponents);
 8922|     11|            s.append(builtInConstant);
 8923|     11|        }
 8924|    115|    }
 8925|       |
 8926|       |    // compute
 8927|    115|    if ((profile == EEsProfile && version >= 310) || (profile != EEsProfile && version >= 420)) {
  ------------------
  |  Branch (8927:10): [True: 0, False: 115]
  |  Branch (8927:35): [True: 0, False: 0]
  |  Branch (8927:55): [True: 115, False: 0]
  |  Branch (8927:80): [True: 11, False: 104]
  ------------------
 8928|     11|        snprintf(builtInConstant, maxSize, "const ivec3 gl_MaxComputeWorkGroupCount = ivec3(%d,%d,%d);", resources.maxComputeWorkGroupCountX,
 8929|     11|                                                                                                         resources.maxComputeWorkGroupCountY,
 8930|     11|                                                                                                         resources.maxComputeWorkGroupCountZ);
 8931|     11|        s.append(builtInConstant);
 8932|     11|        snprintf(builtInConstant, maxSize, "const ivec3 gl_MaxComputeWorkGroupSize = ivec3(%d,%d,%d);", resources.maxComputeWorkGroupSizeX,
 8933|     11|                                                                                                        resources.maxComputeWorkGroupSizeY,
 8934|     11|                                                                                                        resources.maxComputeWorkGroupSizeZ);
 8935|     11|        s.append(builtInConstant);
 8936|       |
 8937|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeUniformComponents = %d;", resources.maxComputeUniformComponents);
 8938|     11|        s.append(builtInConstant);
 8939|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeTextureImageUnits = %d;", resources.maxComputeTextureImageUnits);
 8940|     11|        s.append(builtInConstant);
 8941|       |
 8942|       |        // GL_ARM_tensors operands.
 8943|     11|        snprintf(builtInConstant, maxSize, "const uint gl_TensorOperandsNonTemporalARM = 0x1U;");
 8944|     11|        s.append(builtInConstant);
 8945|     11|        snprintf(builtInConstant, maxSize, "const uint gl_TensorOperandsOutOfBoundsValueARM = 0x2U;");
 8946|     11|        s.append(builtInConstant);
 8947|       |
 8948|     11|        s.append("\n");
 8949|     11|    }
 8950|       |
 8951|       |    // images (some in compute below)
 8952|    115|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (8952:10): [True: 0, False: 115]
  |  Branch (8952:35): [True: 0, False: 0]
  ------------------
 8953|    115|        (profile != EEsProfile && version >= 130)) {
  ------------------
  |  Branch (8953:10): [True: 115, False: 0]
  |  Branch (8953:35): [True: 115, False: 0]
  ------------------
 8954|    115|        snprintf(builtInConstant, maxSize, "const int gl_MaxImageUnits = %d;", resources.maxImageUnits);
 8955|    115|        s.append(builtInConstant);
 8956|    115|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedShaderOutputResources = %d;", resources.maxCombinedShaderOutputResources);
 8957|    115|        s.append(builtInConstant);
 8958|    115|        snprintf(builtInConstant, maxSize, "const int gl_MaxVertexImageUniforms = %d;", resources.maxVertexImageUniforms);
 8959|    115|        s.append(builtInConstant);
 8960|    115|        snprintf(builtInConstant, maxSize, "const int gl_MaxFragmentImageUniforms = %d;", resources.maxFragmentImageUniforms);
 8961|    115|        s.append(builtInConstant);
 8962|    115|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedImageUniforms = %d;", resources.maxCombinedImageUniforms);
 8963|    115|        s.append(builtInConstant);
 8964|    115|    }
 8965|       |
 8966|       |    // compute
 8967|    115|    if ((profile == EEsProfile && version >= 310) || (profile != EEsProfile && version >= 420)) {
  ------------------
  |  Branch (8967:10): [True: 0, False: 115]
  |  Branch (8967:35): [True: 0, False: 0]
  |  Branch (8967:55): [True: 115, False: 0]
  |  Branch (8967:80): [True: 11, False: 104]
  ------------------
 8968|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeImageUniforms = %d;", resources.maxComputeImageUniforms);
 8969|     11|        s.append(builtInConstant);
 8970|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeAtomicCounters = %d;", resources.maxComputeAtomicCounters);
 8971|     11|        s.append(builtInConstant);
 8972|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeAtomicCounterBuffers = %d;", resources.maxComputeAtomicCounterBuffers);
 8973|     11|        s.append(builtInConstant);
 8974|       |
 8975|     11|        s.append("\n");
 8976|     11|    }
 8977|       |
 8978|       |    // atomic counters (some in compute below)
 8979|    115|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (8979:10): [True: 0, False: 115]
  |  Branch (8979:35): [True: 0, False: 0]
  ------------------
 8980|    115|        (profile != EEsProfile && version >= 420)) {
  ------------------
  |  Branch (8980:10): [True: 115, False: 0]
  |  Branch (8980:35): [True: 11, False: 104]
  ------------------
 8981|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxVertexAtomicCounters = %d;", resources.               maxVertexAtomicCounters);
 8982|     11|        s.append(builtInConstant);
 8983|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxFragmentAtomicCounters = %d;", resources.             maxFragmentAtomicCounters);
 8984|     11|        s.append(builtInConstant);
 8985|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedAtomicCounters = %d;", resources.             maxCombinedAtomicCounters);
 8986|     11|        s.append(builtInConstant);
 8987|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxAtomicCounterBindings = %d;", resources.              maxAtomicCounterBindings);
 8988|     11|        s.append(builtInConstant);
 8989|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxVertexAtomicCounterBuffers = %d;", resources.         maxVertexAtomicCounterBuffers);
 8990|     11|        s.append(builtInConstant);
 8991|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxFragmentAtomicCounterBuffers = %d;", resources.       maxFragmentAtomicCounterBuffers);
 8992|     11|        s.append(builtInConstant);
 8993|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedAtomicCounterBuffers = %d;", resources.       maxCombinedAtomicCounterBuffers);
 8994|     11|        s.append(builtInConstant);
 8995|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxAtomicCounterBufferSize = %d;", resources.            maxAtomicCounterBufferSize);
 8996|     11|        s.append(builtInConstant);
 8997|     11|    }
 8998|    115|    if (profile != EEsProfile && version >= 420) {
  ------------------
  |  Branch (8998:9): [True: 115, False: 0]
  |  Branch (8998:34): [True: 11, False: 104]
  ------------------
 8999|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlAtomicCounters = %d;", resources.          maxTessControlAtomicCounters);
 9000|     11|        s.append(builtInConstant);
 9001|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationAtomicCounters = %d;", resources.       maxTessEvaluationAtomicCounters);
 9002|     11|        s.append(builtInConstant);
 9003|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryAtomicCounters = %d;", resources.             maxGeometryAtomicCounters);
 9004|     11|        s.append(builtInConstant);
 9005|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlAtomicCounterBuffers = %d;", resources.    maxTessControlAtomicCounterBuffers);
 9006|     11|        s.append(builtInConstant);
 9007|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationAtomicCounterBuffers = %d;", resources. maxTessEvaluationAtomicCounterBuffers);
 9008|     11|        s.append(builtInConstant);
 9009|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryAtomicCounterBuffers = %d;", resources.       maxGeometryAtomicCounterBuffers);
 9010|     11|        s.append(builtInConstant);
 9011|       |
 9012|     11|        s.append("\n");
 9013|     11|    }
 9014|       |
 9015|       |    // GL_ARB_cull_distance
 9016|    115|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (9016:9): [True: 115, False: 0]
  |  Branch (9016:34): [True: 11, False: 104]
  ------------------
 9017|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxCullDistances = %d;",                resources.maxCullDistances);
 9018|     11|        s.append(builtInConstant);
 9019|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedClipAndCullDistances = %d;", resources.maxCombinedClipAndCullDistances);
 9020|     11|        s.append(builtInConstant);
 9021|     11|    }
 9022|       |
 9023|       |    // GL_ARB_ES3_1_compatibility
 9024|    115|    if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (9024:10): [True: 115, False: 0]
  |  Branch (9024:35): [True: 11, False: 104]
  ------------------
 9025|    104|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (9025:10): [True: 0, False: 104]
  |  Branch (9025:35): [True: 0, False: 0]
  ------------------
 9026|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxSamples = %d;", resources.maxSamples);
 9027|     11|        s.append(builtInConstant);
 9028|     11|    }
 9029|       |
 9030|       |    // SPV_NV_mesh_shader
 9031|    115|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (9031:10): [True: 115, False: 0]
  |  Branch (9031:35): [True: 11, False: 104]
  |  Branch (9031:55): [True: 0, False: 104]
  |  Branch (9031:80): [True: 0, False: 0]
  ------------------
 9032|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxMeshOutputVerticesNV = %d;", resources.maxMeshOutputVerticesNV);
 9033|     11|        s.append(builtInConstant);
 9034|       |
 9035|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxMeshOutputPrimitivesNV = %d;", resources.maxMeshOutputPrimitivesNV);
 9036|     11|        s.append(builtInConstant);
 9037|       |
 9038|     11|        snprintf(builtInConstant, maxSize, "const ivec3 gl_MaxMeshWorkGroupSizeNV = ivec3(%d,%d,%d);", resources.maxMeshWorkGroupSizeX_NV,
 9039|     11|                                                                                                       resources.maxMeshWorkGroupSizeY_NV,
 9040|     11|                                                                                                       resources.maxMeshWorkGroupSizeZ_NV);
 9041|     11|        s.append(builtInConstant);
 9042|     11|        snprintf(builtInConstant, maxSize, "const ivec3 gl_MaxTaskWorkGroupSizeNV = ivec3(%d,%d,%d);", resources.maxTaskWorkGroupSizeX_NV,
 9043|     11|                                                                                                       resources.maxTaskWorkGroupSizeY_NV,
 9044|     11|                                                                                                       resources.maxTaskWorkGroupSizeZ_NV);
 9045|     11|        s.append(builtInConstant);
 9046|       |
 9047|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxMeshViewCountNV = %d;", resources.maxMeshViewCountNV);
 9048|     11|        s.append(builtInConstant);
 9049|       |
 9050|     11|        s.append("\n");
 9051|     11|    }
 9052|       |
 9053|    115|    s.append("\n");
 9054|    115|}
_ZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableE:
 9153|    371|{
 9154|       |    //
 9155|       |    // Tag built-in variables and functions with additional qualifier and extension information
 9156|       |    // that cannot be declared with the text strings.
 9157|       |    //
 9158|       |
 9159|       |    // N.B.: a symbol should only be tagged once, and this function is called multiple times, once
 9160|       |    // per stage that's used for this profile.  So
 9161|       |    //  - generally, stick common ones in the fragment stage to ensure they are tagged exactly once
 9162|       |    //  - for ES, which has different precisions for different stages, the coarsest-grained tagging
 9163|       |    //    for a built-in used in many stages needs to be once for the fragment stage and once for
 9164|       |    //    the vertex stage
 9165|       |
 9166|    371|    switch(language) {
 9167|    115|    case EShLangVertex:
  ------------------
  |  Branch (9167:5): [True: 115, False: 256]
  ------------------
 9168|    115|        if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (9168:13): [True: 115, False: 0]
  ------------------
 9169|    115|            BuiltInVariable("gl_VertexIndex",   EbvVertexIndex,   symbolTable);
 9170|    115|            BuiltInVariable("gl_InstanceIndex", EbvInstanceIndex, symbolTable);
 9171|    115|        }
 9172|       |
 9173|    115|        if (spvVersion.vulkan == 0) {
  ------------------
  |  Branch (9173:13): [True: 0, False: 115]
  ------------------
 9174|      0|            SpecialQualifier("gl_VertexID",   EvqVertexId,   EbvVertexId,   symbolTable);
 9175|      0|            SpecialQualifier("gl_InstanceID", EvqInstanceId, EbvInstanceId, symbolTable);
 9176|      0|            if (version < 140)
  ------------------
  |  Branch (9176:17): [True: 0, False: 0]
  ------------------
 9177|      0|                symbolTable.setVariableExtensions("gl_InstanceID", 1, &E_GL_EXT_draw_instanced);
 9178|      0|        }
 9179|       |
 9180|    115|        if (spvVersion.vulkan > 0 && spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (9180:13): [True: 115, False: 0]
  |  Branch (9180:38): [True: 0, False: 115]
  ------------------
 9181|       |            // treat these built-ins as aliases of VertexIndex and InstanceIndex
 9182|      0|            RetargetVariable("gl_InstanceID", "gl_InstanceIndex", symbolTable);
 9183|      0|            RetargetVariable("gl_VertexID", "gl_VertexIndex", symbolTable);
 9184|      0|        }
 9185|       |
 9186|    115|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9186:13): [True: 115, False: 0]
  ------------------
 9187|    115|            if (version >= 440) {
  ------------------
  |  Branch (9187:17): [True: 11, False: 104]
  ------------------
 9188|     11|                symbolTable.setVariableExtensions("gl_BaseVertexARB",   1, &E_GL_ARB_shader_draw_parameters);
 9189|     11|                symbolTable.setVariableExtensions("gl_BaseInstanceARB", 1, &E_GL_ARB_shader_draw_parameters);
 9190|     11|                symbolTable.setVariableExtensions("gl_DrawIDARB",       1, &E_GL_ARB_shader_draw_parameters);
 9191|     11|                BuiltInVariable("gl_BaseVertexARB",   EbvBaseVertex,   symbolTable);
 9192|     11|                BuiltInVariable("gl_BaseInstanceARB", EbvBaseInstance, symbolTable);
 9193|     11|                BuiltInVariable("gl_DrawIDARB",       EbvDrawId,       symbolTable);
 9194|     11|            }
 9195|    115|            if (version >= 460) {
  ------------------
  |  Branch (9195:17): [True: 0, False: 115]
  ------------------
 9196|      0|                BuiltInVariable("gl_BaseVertex",   EbvBaseVertex,   symbolTable);
 9197|      0|                BuiltInVariable("gl_BaseInstance", EbvBaseInstance, symbolTable);
 9198|      0|                BuiltInVariable("gl_DrawID",       EbvDrawId,       symbolTable);
 9199|      0|            }
 9200|    115|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
 9201|    115|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
 9202|    115|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
 9203|    115|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
 9204|    115|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
 9205|    115|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
 9206|    115|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
 9207|       |
 9208|    115|            symbolTable.setFunctionExtensions("ballotARB",              1, &E_GL_ARB_shader_ballot);
 9209|    115|            symbolTable.setFunctionExtensions("readInvocationARB",      1, &E_GL_ARB_shader_ballot);
 9210|    115|            symbolTable.setFunctionExtensions("readFirstInvocationARB", 1, &E_GL_ARB_shader_ballot);
 9211|       |
 9212|    115|            if (version >= 430) {
  ------------------
  |  Branch (9212:17): [True: 11, False: 104]
  ------------------
 9213|     11|                symbolTable.setFunctionExtensions("anyInvocationARB",       1, &E_GL_ARB_shader_group_vote);
 9214|     11|                symbolTable.setFunctionExtensions("allInvocationsARB",      1, &E_GL_ARB_shader_group_vote);
 9215|     11|                symbolTable.setFunctionExtensions("allInvocationsEqualARB", 1, &E_GL_ARB_shader_group_vote);
 9216|     11|            }
 9217|    115|            if (version >= 150) {
  ------------------
  |  Branch (9217:17): [True: 16, False: 99]
  ------------------
 9218|     16|                symbolTable.setFunctionExtensions("anyThreadNV",       1, &E_GL_NV_gpu_shader5);
 9219|     16|                symbolTable.setFunctionExtensions("allThreadsNV",      1, &E_GL_NV_gpu_shader5);
 9220|     16|                symbolTable.setFunctionExtensions("allThreadsEqualNV", 1, &E_GL_NV_gpu_shader5);
 9221|     16|            }
 9222|    115|        }
 9223|       |
 9224|       |
 9225|    115|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9225:13): [True: 115, False: 0]
  ------------------
 9226|    115|            symbolTable.setFunctionExtensions("minInvocationsAMD",                1, &E_GL_AMD_shader_ballot);
 9227|    115|            symbolTable.setFunctionExtensions("maxInvocationsAMD",                1, &E_GL_AMD_shader_ballot);
 9228|    115|            symbolTable.setFunctionExtensions("addInvocationsAMD",                1, &E_GL_AMD_shader_ballot);
 9229|    115|            symbolTable.setFunctionExtensions("minInvocationsNonUniformAMD",      1, &E_GL_AMD_shader_ballot);
 9230|    115|            symbolTable.setFunctionExtensions("maxInvocationsNonUniformAMD",      1, &E_GL_AMD_shader_ballot);
 9231|    115|            symbolTable.setFunctionExtensions("addInvocationsNonUniformAMD",      1, &E_GL_AMD_shader_ballot);
 9232|    115|            symbolTable.setFunctionExtensions("swizzleInvocationsAMD",            1, &E_GL_AMD_shader_ballot);
 9233|    115|            symbolTable.setFunctionExtensions("swizzleInvocationsWithPatternAMD", 1, &E_GL_AMD_shader_ballot);
 9234|    115|            symbolTable.setFunctionExtensions("writeInvocationAMD",               1, &E_GL_AMD_shader_ballot);
 9235|    115|            symbolTable.setFunctionExtensions("mbcntAMD",                         1, &E_GL_AMD_shader_ballot);
 9236|       |
 9237|    115|            symbolTable.setFunctionExtensions("minInvocationsInclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9238|    115|            symbolTable.setFunctionExtensions("maxInvocationsInclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9239|    115|            symbolTable.setFunctionExtensions("addInvocationsInclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9240|    115|            symbolTable.setFunctionExtensions("minInvocationsInclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9241|    115|            symbolTable.setFunctionExtensions("maxInvocationsInclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9242|    115|            symbolTable.setFunctionExtensions("addInvocationsInclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9243|    115|            symbolTable.setFunctionExtensions("minInvocationsExclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9244|    115|            symbolTable.setFunctionExtensions("maxInvocationsExclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9245|    115|            symbolTable.setFunctionExtensions("addInvocationsExclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9246|    115|            symbolTable.setFunctionExtensions("minInvocationsExclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9247|    115|            symbolTable.setFunctionExtensions("maxInvocationsExclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9248|    115|            symbolTable.setFunctionExtensions("addInvocationsExclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9249|    115|        }
 9250|       |
 9251|    115|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9251:13): [True: 115, False: 0]
  ------------------
 9252|    115|            symbolTable.setFunctionExtensions("min3", 1, &E_GL_AMD_shader_trinary_minmax);
 9253|    115|            symbolTable.setFunctionExtensions("max3", 1, &E_GL_AMD_shader_trinary_minmax);
 9254|    115|            symbolTable.setFunctionExtensions("mid3", 1, &E_GL_AMD_shader_trinary_minmax);
 9255|    115|        }
 9256|       |
 9257|    115|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9257:13): [True: 115, False: 0]
  ------------------
 9258|    115|            symbolTable.setVariableExtensions("gl_SIMDGroupSizeAMD", 1, &E_GL_AMD_gcn_shader);
 9259|    115|            SpecialQualifier("gl_SIMDGroupSizeAMD", EvqVaryingIn, EbvSubGroupSize, symbolTable);
 9260|       |
 9261|    115|            symbolTable.setFunctionExtensions("cubeFaceIndexAMD", 1, &E_GL_AMD_gcn_shader);
 9262|    115|            symbolTable.setFunctionExtensions("cubeFaceCoordAMD", 1, &E_GL_AMD_gcn_shader);
 9263|    115|            symbolTable.setFunctionExtensions("timeAMD",          1, &E_GL_AMD_gcn_shader);
 9264|    115|        }
 9265|       |
 9266|    115|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9266:13): [True: 115, False: 0]
  ------------------
 9267|    115|            symbolTable.setFunctionExtensions("fragmentMaskFetchAMD", 1, &E_GL_AMD_shader_fragment_mask);
 9268|    115|            symbolTable.setFunctionExtensions("fragmentFetchAMD",     1, &E_GL_AMD_shader_fragment_mask);
 9269|    115|        }
 9270|       |
 9271|    115|        symbolTable.setFunctionExtensions("countLeadingZeros",  1, &E_GL_INTEL_shader_integer_functions2);
 9272|    115|        symbolTable.setFunctionExtensions("countTrailingZeros", 1, &E_GL_INTEL_shader_integer_functions2);
 9273|    115|        symbolTable.setFunctionExtensions("absoluteDifference", 1, &E_GL_INTEL_shader_integer_functions2);
 9274|    115|        symbolTable.setFunctionExtensions("addSaturate",        1, &E_GL_INTEL_shader_integer_functions2);
 9275|    115|        symbolTable.setFunctionExtensions("subtractSaturate",   1, &E_GL_INTEL_shader_integer_functions2);
 9276|    115|        symbolTable.setFunctionExtensions("average",            1, &E_GL_INTEL_shader_integer_functions2);
 9277|    115|        symbolTable.setFunctionExtensions("averageRounded",     1, &E_GL_INTEL_shader_integer_functions2);
 9278|    115|        symbolTable.setFunctionExtensions("multiply32x16",      1, &E_GL_INTEL_shader_integer_functions2);
 9279|       |
 9280|    115|        symbolTable.setFunctionExtensions("textureFootprintNV",          1, &E_GL_NV_shader_texture_footprint);
 9281|    115|        symbolTable.setFunctionExtensions("textureFootprintClampNV",     1, &E_GL_NV_shader_texture_footprint);
 9282|    115|        symbolTable.setFunctionExtensions("textureFootprintLodNV",       1, &E_GL_NV_shader_texture_footprint);
 9283|    115|        symbolTable.setFunctionExtensions("textureFootprintGradNV",      1, &E_GL_NV_shader_texture_footprint);
 9284|    115|        symbolTable.setFunctionExtensions("textureFootprintGradClampNV", 1, &E_GL_NV_shader_texture_footprint);
 9285|       |        // Compatibility variables, vertex only
 9286|    115|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (9286:13): [True: 0, False: 115]
  ------------------
 9287|      0|            BuiltInVariable("gl_Color",          EbvColor,          symbolTable);
 9288|      0|            BuiltInVariable("gl_SecondaryColor", EbvSecondaryColor, symbolTable);
 9289|      0|            BuiltInVariable("gl_Normal",         EbvNormal,         symbolTable);
 9290|      0|            BuiltInVariable("gl_Vertex",         EbvVertex,         symbolTable);
 9291|      0|            BuiltInVariable("gl_MultiTexCoord0", EbvMultiTexCoord0, symbolTable);
 9292|      0|            BuiltInVariable("gl_MultiTexCoord1", EbvMultiTexCoord1, symbolTable);
 9293|      0|            BuiltInVariable("gl_MultiTexCoord2", EbvMultiTexCoord2, symbolTable);
 9294|      0|            BuiltInVariable("gl_MultiTexCoord3", EbvMultiTexCoord3, symbolTable);
 9295|      0|            BuiltInVariable("gl_MultiTexCoord4", EbvMultiTexCoord4, symbolTable);
 9296|      0|            BuiltInVariable("gl_MultiTexCoord5", EbvMultiTexCoord5, symbolTable);
 9297|      0|            BuiltInVariable("gl_MultiTexCoord6", EbvMultiTexCoord6, symbolTable);
 9298|      0|            BuiltInVariable("gl_MultiTexCoord7", EbvMultiTexCoord7, symbolTable);
 9299|      0|            BuiltInVariable("gl_FogCoord",       EbvFogFragCoord,   symbolTable);
 9300|      0|        }
 9301|       |
 9302|    115|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9302:13): [True: 0, False: 115]
  ------------------
 9303|      0|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (9303:17): [True: 0, False: 0]
  ------------------
 9304|      0|                symbolTable.setFunctionExtensions("texture2DGradEXT",     1, &E_GL_EXT_shader_texture_lod);
 9305|      0|                symbolTable.setFunctionExtensions("texture2DProjGradEXT", 1, &E_GL_EXT_shader_texture_lod);
 9306|      0|                symbolTable.setFunctionExtensions("textureCubeGradEXT",   1, &E_GL_EXT_shader_texture_lod);
 9307|      0|                if (version == 310)
  ------------------
  |  Branch (9307:21): [True: 0, False: 0]
  ------------------
 9308|      0|                    symbolTable.setFunctionExtensions("textureGatherOffsets", Num_AEP_gpu_shader5, AEP_gpu_shader5);
 9309|      0|            }
 9310|      0|            if (version == 310) {
  ------------------
  |  Branch (9310:17): [True: 0, False: 0]
  ------------------
 9311|      0|                symbolTable.setFunctionExtensions("fma", Num_AEP_gpu_shader5, AEP_gpu_shader5);
 9312|      0|            } else if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (9312:24): [True: 0, False: 0]
  |  Branch (9312:49): [True: 0, False: 0]
  ------------------
 9313|      0|                symbolTable.setFunctionExtensions("fma", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9314|      0|            }
 9315|      0|        }
 9316|       |
 9317|    115|        if (profile == EEsProfile && version < 320) {
  ------------------
  |  Branch (9317:13): [True: 0, False: 115]
  |  Branch (9317:38): [True: 0, False: 0]
  ------------------
 9318|      0|            symbolTable.setFunctionExtensions("imageAtomicAdd",      1, &E_GL_OES_shader_image_atomic);
 9319|      0|            symbolTable.setFunctionExtensions("imageAtomicMin",      1, &E_GL_OES_shader_image_atomic);
 9320|      0|            symbolTable.setFunctionExtensions("imageAtomicMax",      1, &E_GL_OES_shader_image_atomic);
 9321|      0|            symbolTable.setFunctionExtensions("imageAtomicAnd",      1, &E_GL_OES_shader_image_atomic);
 9322|      0|            symbolTable.setFunctionExtensions("imageAtomicOr",       1, &E_GL_OES_shader_image_atomic);
 9323|      0|            symbolTable.setFunctionExtensions("imageAtomicXor",      1, &E_GL_OES_shader_image_atomic);
 9324|      0|            symbolTable.setFunctionExtensions("imageAtomicExchange", 1, &E_GL_OES_shader_image_atomic);
 9325|      0|            symbolTable.setFunctionExtensions("imageAtomicCompSwap", 1, &E_GL_OES_shader_image_atomic);
 9326|      0|        }
 9327|       |
 9328|    115|        if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (9328:13): [True: 15, False: 100]
  ------------------
 9329|     15|            symbolTable.setVariableExtensions("gl_ViewID_OVR", Num_OVR_multiview_EXTs, OVR_multiview_EXTs);
 9330|     15|            BuiltInVariable("gl_ViewID_OVR", EbvViewIndex, symbolTable);
 9331|     15|        }
 9332|       |
 9333|    115|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9333:13): [True: 0, False: 115]
  ------------------
 9334|      0|            symbolTable.setFunctionExtensions("shadow2DEXT",        1, &E_GL_EXT_shadow_samplers);
 9335|      0|            symbolTable.setFunctionExtensions("shadow2DProjEXT",    1, &E_GL_EXT_shadow_samplers);
 9336|      0|        }
 9337|       |
 9338|       |        // E_GL_EXT_texture_array
 9339|    115|        if (profile != EEsProfile && spvVersion.spv == 0) {
  ------------------
  |  Branch (9339:13): [True: 115, False: 0]
  |  Branch (9339:38): [True: 0, False: 115]
  ------------------
 9340|      0|            symbolTable.setFunctionExtensions("texture1DArray", 1, &E_GL_EXT_texture_array);
 9341|      0|            symbolTable.setFunctionExtensions("texture2DArray", 1, &E_GL_EXT_texture_array);
 9342|      0|            symbolTable.setFunctionExtensions("shadow1DArray", 1, &E_GL_EXT_texture_array);
 9343|      0|            symbolTable.setFunctionExtensions("shadow2DArray", 1, &E_GL_EXT_texture_array);
 9344|       |
 9345|      0|            symbolTable.setFunctionExtensions("texture1DArrayLod", 1, &E_GL_EXT_texture_array);
 9346|      0|            symbolTable.setFunctionExtensions("texture2DArrayLod", 1, &E_GL_EXT_texture_array);
 9347|      0|            symbolTable.setFunctionExtensions("shadow1DArrayLod", 1, &E_GL_EXT_texture_array);
 9348|      0|        }
 9349|    115|        [[fallthrough]];
 9350|       |
 9351|    131|    case EShLangTessControl:
  ------------------
  |  Branch (9351:5): [True: 16, False: 355]
  ------------------
 9352|    131|        if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (9352:13): [True: 0, False: 131]
  |  Branch (9352:38): [True: 0, False: 0]
  ------------------
 9353|      0|            BuiltInVariable("gl_BoundingBoxEXT", EbvBoundingBox, symbolTable);
 9354|      0|            symbolTable.setVariableExtensions("gl_BoundingBoxEXT", 1,
 9355|      0|                                              &E_GL_EXT_primitive_bounding_box);
 9356|      0|            BuiltInVariable("gl_BoundingBoxOES", EbvBoundingBox, symbolTable);
 9357|      0|            symbolTable.setVariableExtensions("gl_BoundingBoxOES", 1,
 9358|      0|                                              &E_GL_OES_primitive_bounding_box);
 9359|       |
 9360|      0|            if (version >= 320) {
  ------------------
  |  Branch (9360:17): [True: 0, False: 0]
  ------------------
 9361|      0|                BuiltInVariable("gl_BoundingBox", EbvBoundingBox, symbolTable);
 9362|      0|            }
 9363|      0|        }
 9364|    131|        [[fallthrough]];
 9365|       |
 9366|    147|    case EShLangTessEvaluation:
  ------------------
  |  Branch (9366:5): [True: 16, False: 355]
  ------------------
 9367|    163|    case EShLangGeometry:
  ------------------
  |  Branch (9367:5): [True: 16, False: 355]
  ------------------
 9368|    163|        SpecialQualifier("gl_Position",   EvqPosition,   EbvPosition,   symbolTable);
 9369|    163|        SpecialQualifier("gl_PointSize",  EvqPointSize,  EbvPointSize,  symbolTable);
 9370|       |
 9371|    163|        BuiltInVariable("gl_in",  "gl_Position",     EbvPosition,     symbolTable);
 9372|    163|        BuiltInVariable("gl_in",  "gl_PointSize",    EbvPointSize,    symbolTable);
 9373|       |
 9374|    163|        BuiltInVariable("gl_out", "gl_Position",     EbvPosition,     symbolTable);
 9375|    163|        BuiltInVariable("gl_out", "gl_PointSize",    EbvPointSize,    symbolTable);
 9376|       |
 9377|    163|        SpecialQualifier("gl_ClipVertex", EvqClipVertex, EbvClipVertex, symbolTable);
 9378|       |
 9379|    163|        BuiltInVariable("gl_in",  "gl_ClipDistance", EbvClipDistance, symbolTable);
 9380|    163|        BuiltInVariable("gl_in",  "gl_CullDistance", EbvCullDistance, symbolTable);
 9381|       |
 9382|    163|        BuiltInVariable("gl_out", "gl_ClipDistance", EbvClipDistance, symbolTable);
 9383|    163|        BuiltInVariable("gl_out", "gl_CullDistance", EbvCullDistance, symbolTable);
 9384|       |
 9385|    163|        BuiltInVariable("gl_ClipDistance",    EbvClipDistance,   symbolTable);
 9386|    163|        BuiltInVariable("gl_CullDistance",    EbvCullDistance,   symbolTable);
 9387|    163|        BuiltInVariable("gl_PrimitiveIDIn",   EbvPrimitiveId,    symbolTable);
 9388|    163|        BuiltInVariable("gl_PrimitiveID",     EbvPrimitiveId,    symbolTable);
 9389|    163|        BuiltInVariable("gl_InvocationID",    EbvInvocationId,   symbolTable);
 9390|    163|        BuiltInVariable("gl_Layer",           EbvLayer,          symbolTable);
 9391|    163|        BuiltInVariable("gl_ViewportIndex",   EbvViewportIndex,  symbolTable);
 9392|       |
 9393|    163|        if (language != EShLangGeometry) {
  ------------------
  |  Branch (9393:13): [True: 147, False: 16]
  ------------------
 9394|    147|            symbolTable.setVariableExtensions("gl_Layer",         Num_viewportEXTs, viewportEXTs);
 9395|    147|            symbolTable.setVariableExtensions("gl_ViewportIndex", Num_viewportEXTs, viewportEXTs);
 9396|    147|        }
 9397|    163|        symbolTable.setVariableExtensions("gl_ViewportMask",            1, &E_GL_NV_viewport_array2);
 9398|    163|        symbolTable.setVariableExtensions("gl_SecondaryPositionNV",     1, &E_GL_NV_stereo_view_rendering);
 9399|    163|        symbolTable.setVariableExtensions("gl_SecondaryViewportMaskNV", 1, &E_GL_NV_stereo_view_rendering);
 9400|    163|        symbolTable.setVariableExtensions("gl_PositionPerViewNV",       1, &E_GL_NVX_multiview_per_view_attributes);
 9401|    163|        symbolTable.setVariableExtensions("gl_ViewportMaskPerViewNV",   1, &E_GL_NVX_multiview_per_view_attributes);
 9402|       |
 9403|    163|        if (profile != EEsProfile && language == EShLangGeometry && version < 400) {
  ------------------
  |  Branch (9403:13): [True: 163, False: 0]
  |  Branch (9403:38): [True: 16, False: 147]
  |  Branch (9403:69): [True: 1, False: 15]
  ------------------
 9404|      1|            symbolTable.setVariableExtensions("gl_InvocationID", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9405|      1|        }
 9406|    163|        BuiltInVariable("gl_ViewportMask",              EbvViewportMaskNV,          symbolTable);
 9407|    163|        BuiltInVariable("gl_SecondaryPositionNV",       EbvSecondaryPositionNV,     symbolTable);
 9408|    163|        BuiltInVariable("gl_SecondaryViewportMaskNV",   EbvSecondaryViewportMaskNV, symbolTable);
 9409|    163|        BuiltInVariable("gl_PositionPerViewNV",         EbvPositionPerViewNV,       symbolTable);
 9410|    163|        BuiltInVariable("gl_ViewportMaskPerViewNV",     EbvViewportMaskPerViewNV,   symbolTable);
 9411|       |
 9412|    163|        if (language == EShLangVertex || language == EShLangGeometry) {
  ------------------
  |  Branch (9412:13): [True: 115, False: 48]
  |  Branch (9412:42): [True: 16, False: 32]
  ------------------
 9413|    131|            symbolTable.setVariableExtensions("gl_in", "gl_SecondaryPositionNV", 1, &E_GL_NV_stereo_view_rendering);
 9414|    131|            symbolTable.setVariableExtensions("gl_in", "gl_PositionPerViewNV",   1, &E_GL_NVX_multiview_per_view_attributes);
 9415|       |
 9416|    131|            BuiltInVariable("gl_in", "gl_SecondaryPositionNV", EbvSecondaryPositionNV, symbolTable);
 9417|    131|            BuiltInVariable("gl_in", "gl_PositionPerViewNV",   EbvPositionPerViewNV,   symbolTable);
 9418|    131|        }
 9419|    163|        symbolTable.setVariableExtensions("gl_out", "gl_ViewportMask",            1, &E_GL_NV_viewport_array2);
 9420|    163|        symbolTable.setVariableExtensions("gl_out", "gl_SecondaryPositionNV",     1, &E_GL_NV_stereo_view_rendering);
 9421|    163|        symbolTable.setVariableExtensions("gl_out", "gl_SecondaryViewportMaskNV", 1, &E_GL_NV_stereo_view_rendering);
 9422|    163|        symbolTable.setVariableExtensions("gl_out", "gl_PositionPerViewNV",       1, &E_GL_NVX_multiview_per_view_attributes);
 9423|    163|        symbolTable.setVariableExtensions("gl_out", "gl_ViewportMaskPerViewNV",   1, &E_GL_NVX_multiview_per_view_attributes);
 9424|       |
 9425|    163|        BuiltInVariable("gl_out", "gl_ViewportMask",            EbvViewportMaskNV,          symbolTable);
 9426|    163|        BuiltInVariable("gl_out", "gl_SecondaryPositionNV",     EbvSecondaryPositionNV,     symbolTable);
 9427|    163|        BuiltInVariable("gl_out", "gl_SecondaryViewportMaskNV", EbvSecondaryViewportMaskNV, symbolTable);
 9428|    163|        BuiltInVariable("gl_out", "gl_PositionPerViewNV",       EbvPositionPerViewNV,       symbolTable);
 9429|    163|        BuiltInVariable("gl_out", "gl_ViewportMaskPerViewNV",   EbvViewportMaskPerViewNV,   symbolTable);
 9430|       |
 9431|    163|        BuiltInVariable("gl_PatchVerticesIn", EbvPatchVertices,  symbolTable);
 9432|    163|        BuiltInVariable("gl_TessLevelOuter",  EbvTessLevelOuter, symbolTable);
 9433|    163|        BuiltInVariable("gl_TessLevelInner",  EbvTessLevelInner, symbolTable);
 9434|    163|        BuiltInVariable("gl_TessCoord",       EbvTessCoord,      symbolTable);
 9435|       |
 9436|    163|        if (version < 410)
  ------------------
  |  Branch (9436:13): [True: 119, False: 44]
  ------------------
 9437|    119|            symbolTable.setVariableExtensions("gl_ViewportIndex", 1, &E_GL_ARB_viewport_array);
 9438|       |
 9439|       |        // Compatibility variables
 9440|       |
 9441|    163|        BuiltInVariable("gl_in", "gl_ClipVertex",          EbvClipVertex,          symbolTable);
 9442|    163|        BuiltInVariable("gl_in", "gl_FrontColor",          EbvFrontColor,          symbolTable);
 9443|    163|        BuiltInVariable("gl_in", "gl_BackColor",           EbvBackColor,           symbolTable);
 9444|    163|        BuiltInVariable("gl_in", "gl_FrontSecondaryColor", EbvFrontSecondaryColor, symbolTable);
 9445|    163|        BuiltInVariable("gl_in", "gl_BackSecondaryColor",  EbvBackSecondaryColor,  symbolTable);
 9446|    163|        BuiltInVariable("gl_in", "gl_TexCoord",            EbvTexCoord,            symbolTable);
 9447|    163|        BuiltInVariable("gl_in", "gl_FogFragCoord",        EbvFogFragCoord,        symbolTable);
 9448|       |
 9449|    163|        BuiltInVariable("gl_out", "gl_ClipVertex",          EbvClipVertex,          symbolTable);
 9450|    163|        BuiltInVariable("gl_out", "gl_FrontColor",          EbvFrontColor,          symbolTable);
 9451|    163|        BuiltInVariable("gl_out", "gl_BackColor",           EbvBackColor,           symbolTable);
 9452|    163|        BuiltInVariable("gl_out", "gl_FrontSecondaryColor", EbvFrontSecondaryColor, symbolTable);
 9453|    163|        BuiltInVariable("gl_out", "gl_BackSecondaryColor",  EbvBackSecondaryColor,  symbolTable);
 9454|    163|        BuiltInVariable("gl_out", "gl_TexCoord",            EbvTexCoord,            symbolTable);
 9455|    163|        BuiltInVariable("gl_out", "gl_FogFragCoord",        EbvFogFragCoord,        symbolTable);
 9456|       |
 9457|    163|        BuiltInVariable("gl_ClipVertex",          EbvClipVertex,          symbolTable);
 9458|    163|        BuiltInVariable("gl_FrontColor",          EbvFrontColor,          symbolTable);
 9459|    163|        BuiltInVariable("gl_BackColor",           EbvBackColor,           symbolTable);
 9460|    163|        BuiltInVariable("gl_FrontSecondaryColor", EbvFrontSecondaryColor, symbolTable);
 9461|    163|        BuiltInVariable("gl_BackSecondaryColor",  EbvBackSecondaryColor,  symbolTable);
 9462|    163|        BuiltInVariable("gl_TexCoord",            EbvTexCoord,            symbolTable);
 9463|    163|        BuiltInVariable("gl_FogFragCoord",        EbvFogFragCoord,        symbolTable);
 9464|       |
 9465|       |        // gl_PointSize, when it needs to be tied to an extension, is always a member of a block.
 9466|       |        // (Sometimes with an instance name, sometimes anonymous).
 9467|    163|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9467:13): [True: 0, False: 163]
  ------------------
 9468|      0|            if (language == EShLangGeometry) {
  ------------------
  |  Branch (9468:17): [True: 0, False: 0]
  ------------------
 9469|      0|                symbolTable.setVariableExtensions("gl_PointSize", Num_AEP_geometry_point_size, AEP_geometry_point_size);
 9470|      0|                symbolTable.setVariableExtensions("gl_in", "gl_PointSize", Num_AEP_geometry_point_size, AEP_geometry_point_size);
 9471|      0|            } else if (language == EShLangTessEvaluation || language == EShLangTessControl) {
  ------------------
  |  Branch (9471:24): [True: 0, False: 0]
  |  Branch (9471:61): [True: 0, False: 0]
  ------------------
 9472|       |                // gl_in tessellation settings of gl_PointSize are in the context-dependent paths
 9473|      0|                symbolTable.setVariableExtensions("gl_PointSize", Num_AEP_tessellation_point_size, AEP_tessellation_point_size);
 9474|      0|                symbolTable.setVariableExtensions("gl_out", "gl_PointSize", Num_AEP_tessellation_point_size, AEP_tessellation_point_size);
 9475|      0|            }
 9476|      0|        }
 9477|       |
 9478|    163|        if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (9478:14): [True: 163, False: 0]
  |  Branch (9478:39): [True: 163, False: 0]
  ------------------
 9479|    163|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (9479:14): [True: 0, False: 0]
  |  Branch (9479:39): [True: 0, False: 0]
  ------------------
 9480|    163|            symbolTable.setVariableExtensions("gl_DeviceIndex",  1, &E_GL_EXT_device_group);
 9481|    163|            BuiltInVariable("gl_DeviceIndex", EbvDeviceIndex, symbolTable);
 9482|    163|            symbolTable.setVariableExtensions("gl_ViewIndex", 1, &E_GL_EXT_multiview);
 9483|    163|            BuiltInVariable("gl_ViewIndex", EbvViewIndex, symbolTable);
 9484|    163|        }
 9485|       |
 9486|    163|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9486:13): [True: 163, False: 0]
  ------------------
 9487|    163|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
 9488|    163|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
 9489|    163|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
 9490|    163|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
 9491|    163|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
 9492|    163|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
 9493|       |
 9494|    163|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (9494:17): [True: 163, False: 0]
  ------------------
 9495|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
 9496|    163|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
 9497|    163|                if (language == EShLangFragment)
  ------------------
  |  Branch (9497:21): [True: 0, False: 163]
  ------------------
 9498|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
 9499|    163|            }
 9500|      0|            else
 9501|      0|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
 9502|    163|        }
 9503|       |
 9504|       |        // GL_ARB_gpu_shader5/GL_NV_gpu_shader5
 9505|    163|        if (profile != EEsProfile && version < 400 && language == EShLangGeometry) {
  ------------------
  |  Branch (9505:13): [True: 163, False: 0]
  |  Branch (9505:38): [True: 103, False: 60]
  |  Branch (9505:55): [True: 1, False: 102]
  ------------------
 9506|      1|            symbolTable.setFunctionExtensions("EmitStreamVertex", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9507|      1|            symbolTable.setFunctionExtensions("EndStreamPrimitive", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9508|      1|        }
 9509|       |        // GL_KHR_shader_subgroup
 9510|    163|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (9510:14): [True: 0, False: 163]
  |  Branch (9510:39): [True: 0, False: 0]
  ------------------
 9511|    163|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (9511:14): [True: 163, False: 0]
  |  Branch (9511:39): [True: 163, False: 0]
  ------------------
 9512|    163|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
 9513|    163|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
 9514|    163|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9515|    163|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9516|    163|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9517|    163|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9518|    163|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9519|       |
 9520|    163|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
 9521|    163|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
 9522|    163|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
 9523|    163|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
 9524|    163|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
 9525|    163|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
 9526|    163|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
 9527|       |
 9528|       |            // GL_NV_shader_sm_builtins
 9529|    163|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
 9530|    163|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
 9531|    163|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
 9532|    163|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
 9533|    163|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
 9534|    163|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
 9535|    163|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
 9536|    163|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
 9537|       |
 9538|       |            // GL_ARM_shader_core_builtins
 9539|    163|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
 9540|    163|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
 9541|    163|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
 9542|    163|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
 9543|    163|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
 9544|       |
 9545|    163|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
 9546|    163|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
 9547|    163|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
 9548|    163|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
 9549|    163|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
 9550|    163|        }
 9551|       |
 9552|    163|        if (language == EShLangGeometry || language == EShLangVertex) {
  ------------------
  |  Branch (9552:13): [True: 16, False: 147]
  |  Branch (9552:44): [True: 115, False: 32]
  ------------------
 9553|    131|            if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (9553:18): [True: 0, False: 131]
  |  Branch (9553:43): [True: 0, False: 0]
  ------------------
 9554|    131|                (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (9554:18): [True: 131, False: 0]
  |  Branch (9554:43): [True: 22, False: 109]
  ------------------
 9555|     22|                symbolTable.setVariableExtensions("gl_PrimitiveShadingRateEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9556|     22|                BuiltInVariable("gl_PrimitiveShadingRateEXT", EbvPrimitiveShadingRateKHR, symbolTable);
 9557|       |
 9558|     22|                symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9559|     22|                symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9560|     22|                symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9561|     22|                symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9562|     22|            }
 9563|    131|        }
 9564|    163|        break;
 9565|       |
 9566|    115|    case EShLangFragment:
  ------------------
  |  Branch (9566:5): [True: 115, False: 256]
  ------------------
 9567|    115|        SpecialQualifier("gl_FrontFacing",      EvqFace,       EbvFace,             symbolTable);
 9568|    115|        SpecialQualifier("gl_FragCoord",        EvqFragCoord,  EbvFragCoord,        symbolTable);
 9569|    115|        SpecialQualifier("gl_PointCoord",       EvqPointCoord, EbvPointCoord,       symbolTable);
 9570|    115|        if (spvVersion.spv == 0)
  ------------------
  |  Branch (9570:13): [True: 0, False: 115]
  ------------------
 9571|      0|            SpecialQualifier("gl_FragColor",    EvqFragColor,  EbvFragColor,        symbolTable);
 9572|    115|        else {
 9573|    115|            TSymbol* symbol = symbolTable.find("gl_FragColor");
 9574|    115|            if (symbol) {
  ------------------
  |  Branch (9574:17): [True: 104, False: 11]
  ------------------
 9575|    104|                symbol->getWritableType().getQualifier().storage = EvqVaryingOut;
 9576|    104|                symbol->getWritableType().getQualifier().layoutLocation = 0;
 9577|    104|            }
 9578|    115|        }
 9579|    115|        SpecialQualifier("gl_FragDepth",        EvqFragDepth,  EbvFragDepth,        symbolTable);
 9580|    115|        SpecialQualifier("gl_FragDepthEXT",     EvqFragDepth,  EbvFragDepth,        symbolTable);
 9581|    115|        SpecialQualifier("gl_FragStencilRefARB", EvqFragStencil, EbvFragStencilRef, symbolTable);
 9582|    115|        SpecialQualifier("gl_HelperInvocation", EvqVaryingIn,  EbvHelperInvocation, symbolTable);
 9583|       |
 9584|    115|        BuiltInVariable("gl_ClipDistance",    EbvClipDistance,   symbolTable);
 9585|    115|        BuiltInVariable("gl_CullDistance",    EbvCullDistance,   symbolTable);
 9586|    115|        BuiltInVariable("gl_PrimitiveID",     EbvPrimitiveId,    symbolTable);
 9587|       |
 9588|    115|        if (profile != EEsProfile && version >= 140) {
  ------------------
  |  Branch (9588:13): [True: 115, False: 0]
  |  Branch (9588:38): [True: 115, False: 0]
  ------------------
 9589|    115|            symbolTable.setVariableExtensions("gl_FragStencilRefARB", 1, &E_GL_ARB_shader_stencil_export);
 9590|    115|            BuiltInVariable("gl_FragStencilRefARB", EbvFragStencilRef, symbolTable);
 9591|    115|        }
 9592|       |
 9593|    115|        if (profile != EEsProfile && version < 400) {
  ------------------
  |  Branch (9593:13): [True: 115, False: 0]
  |  Branch (9593:38): [True: 100, False: 15]
  ------------------
 9594|    100|            symbolTable.setFunctionExtensions("textureQueryLOD", 1, &E_GL_ARB_texture_query_lod);
 9595|    100|        }
 9596|       |
 9597|    115|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (9597:13): [True: 115, False: 0]
  |  Branch (9597:38): [True: 0, False: 115]
  ------------------
 9598|      0|            symbolTable.setFunctionExtensions("rayQueryInitializeEXT",                                            1, &E_GL_EXT_ray_query);
 9599|      0|            symbolTable.setFunctionExtensions("rayQueryTerminateEXT",                                             1, &E_GL_EXT_ray_query);
 9600|      0|            symbolTable.setFunctionExtensions("rayQueryGenerateIntersectionEXT",                                  1, &E_GL_EXT_ray_query);
 9601|      0|            symbolTable.setFunctionExtensions("rayQueryConfirmIntersectionEXT",                                   1, &E_GL_EXT_ray_query);
 9602|      0|            symbolTable.setFunctionExtensions("rayQueryProceedEXT",                                               1, &E_GL_EXT_ray_query);
 9603|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionTypeEXT",                                   1, &E_GL_EXT_ray_query);
 9604|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionTEXT",                                      1, &E_GL_EXT_ray_query);
 9605|      0|            symbolTable.setFunctionExtensions("rayQueryGetRayFlagsEXT",                                           1, &E_GL_EXT_ray_query);
 9606|      0|            symbolTable.setFunctionExtensions("rayQueryGetRayTMinEXT",                                            1, &E_GL_EXT_ray_query);
 9607|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionInstanceCustomIndexEXT",                    1, &E_GL_EXT_ray_query);
 9608|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionInstanceIdEXT",                             1, &E_GL_EXT_ray_query);
 9609|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetEXT", 1, &E_GL_EXT_ray_query);
 9610|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionGeometryIndexEXT",                          1, &E_GL_EXT_ray_query);
 9611|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionPrimitiveIndexEXT",                         1, &E_GL_EXT_ray_query);
 9612|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionBarycentricsEXT",                           1, &E_GL_EXT_ray_query);
 9613|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionFrontFaceEXT",                              1, &E_GL_EXT_ray_query);
 9614|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionCandidateAABBOpaqueEXT",                    1, &E_GL_EXT_ray_query);
 9615|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionObjectRayDirectionEXT",                     1, &E_GL_EXT_ray_query);
 9616|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionObjectRayOriginEXT",                        1, &E_GL_EXT_ray_query);
 9617|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionObjectToWorldEXT",                          1, &E_GL_EXT_ray_query);
 9618|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionWorldToObjectEXT",                          1, &E_GL_EXT_ray_query);
 9619|      0|            symbolTable.setFunctionExtensions("rayQueryGetWorldRayOriginEXT",                                     1, &E_GL_EXT_ray_query);
 9620|      0|            symbolTable.setFunctionExtensions("rayQueryGetWorldRayDirectionEXT",                                  1, &E_GL_EXT_ray_query);
 9621|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionTriangleVertexPositionsEXT",                1, &E_GL_EXT_ray_tracing_position_fetch);
 9622|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionClusterIdNV",                               1, &E_GL_NV_cluster_acceleration_structure);
 9623|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionSpherePositionNV",                          1, &E_GL_NV_linear_swept_spheres);
 9624|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionSphereRadiusNV",                            1, &E_GL_NV_linear_swept_spheres);
 9625|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionLSSHitValueNV",                             1, &E_GL_NV_linear_swept_spheres);
 9626|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionLSSPositionsNV",                            1, &E_GL_NV_linear_swept_spheres);
 9627|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionLSSRadiiNV",                                1, &E_GL_NV_linear_swept_spheres);
 9628|      0|            symbolTable.setFunctionExtensions("rayQueryIsSphereHitNV",                                            1, &E_GL_NV_linear_swept_spheres);
 9629|      0|            symbolTable.setFunctionExtensions("rayQueryIsLSSHitNV",                                               1, &E_GL_NV_linear_swept_spheres);
 9630|      0|            symbolTable.setVariableExtensions("gl_RayFlagsSkipAABBEXT",                         1, &E_GL_EXT_ray_flags_primitive_culling);
 9631|      0|            symbolTable.setVariableExtensions("gl_RayFlagsSkipTrianglesEXT",                    1, &E_GL_EXT_ray_flags_primitive_culling);
 9632|      0|            symbolTable.setVariableExtensions("gl_RayFlagsForceOpacityMicromap2StateEXT",                  1, &E_GL_EXT_opacity_micromap);
 9633|      0|            symbolTable.setVariableExtensions("gl_EnableOpacityMicromapEXT",                    1, &E_GL_EXT_opacity_micromap_ray_query_mode);
 9634|      0|        }
 9635|       |
 9636|    115|        if ((profile != EEsProfile && version >= 130) ||
  ------------------
  |  Branch (9636:14): [True: 115, False: 0]
  |  Branch (9636:39): [True: 115, False: 0]
  ------------------
 9637|    115|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (9637:14): [True: 0, False: 0]
  |  Branch (9637:39): [True: 0, False: 0]
  ------------------
 9638|    115|            BuiltInVariable("gl_SampleID",           EbvSampleId,       symbolTable);
 9639|    115|            BuiltInVariable("gl_SamplePosition",     EbvSamplePosition, symbolTable);
 9640|    115|            BuiltInVariable("gl_SampleMask",         EbvSampleMask,     symbolTable);
 9641|       |
 9642|    115|            if (profile != EEsProfile && version < 400) {
  ------------------
  |  Branch (9642:17): [True: 115, False: 0]
  |  Branch (9642:42): [True: 100, False: 15]
  ------------------
 9643|    100|                BuiltInVariable("gl_SampleMaskIn",    EbvSampleMask,     symbolTable);
 9644|    100|                symbolTable.setVariableExtensions("gl_SampleMaskIn", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9645|       |
 9646|    100|                BuiltInVariable("gl_NumSamples",     EbvSampleMask,     symbolTable);
 9647|       |
 9648|    100|                symbolTable.setVariableExtensions("gl_SampleMask",     1, &E_GL_ARB_sample_shading);
 9649|    100|                symbolTable.setVariableExtensions("gl_SampleID",       1, &E_GL_ARB_sample_shading);
 9650|    100|                symbolTable.setVariableExtensions("gl_SamplePosition", 1, &E_GL_ARB_sample_shading);
 9651|    100|                symbolTable.setVariableExtensions("gl_NumSamples",     1, &E_GL_ARB_sample_shading);
 9652|    100|            } else {
 9653|     15|                BuiltInVariable("gl_SampleMaskIn",    EbvSampleMask,     symbolTable);
 9654|       |
 9655|     15|                if (profile == EEsProfile && version < 320) {
  ------------------
  |  Branch (9655:21): [True: 0, False: 15]
  |  Branch (9655:46): [True: 0, False: 0]
  ------------------
 9656|      0|                    symbolTable.setVariableExtensions("gl_SampleID", 1, &E_GL_OES_sample_variables);
 9657|      0|                    symbolTable.setVariableExtensions("gl_SamplePosition", 1, &E_GL_OES_sample_variables);
 9658|      0|                    symbolTable.setVariableExtensions("gl_SampleMaskIn", 1, &E_GL_OES_sample_variables);
 9659|      0|                    symbolTable.setVariableExtensions("gl_SampleMask", 1, &E_GL_OES_sample_variables);
 9660|      0|                    symbolTable.setVariableExtensions("gl_NumSamples", 1, &E_GL_OES_sample_variables);
 9661|      0|                }
 9662|     15|            }
 9663|    115|        }
 9664|       |
 9665|    115|        BuiltInVariable("gl_Layer",           EbvLayer,          symbolTable);
 9666|    115|        BuiltInVariable("gl_ViewportIndex",   EbvViewportIndex,  symbolTable);
 9667|       |
 9668|       |        // Compatibility variables
 9669|       |
 9670|    115|        BuiltInVariable("gl_in", "gl_FogFragCoord",   EbvFogFragCoord,   symbolTable);
 9671|    115|        BuiltInVariable("gl_in", "gl_TexCoord",       EbvTexCoord,       symbolTable);
 9672|    115|        BuiltInVariable("gl_in", "gl_Color",          EbvColor,          symbolTable);
 9673|    115|        BuiltInVariable("gl_in", "gl_SecondaryColor", EbvSecondaryColor, symbolTable);
 9674|       |
 9675|    115|        BuiltInVariable("gl_FogFragCoord",   EbvFogFragCoord,   symbolTable);
 9676|    115|        BuiltInVariable("gl_TexCoord",       EbvTexCoord,       symbolTable);
 9677|    115|        BuiltInVariable("gl_Color",          EbvColor,          symbolTable);
 9678|    115|        BuiltInVariable("gl_SecondaryColor", EbvSecondaryColor, symbolTable);
 9679|       |
 9680|       |        // built-in functions
 9681|       |
 9682|    115|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9682:13): [True: 0, False: 115]
  ------------------
 9683|      0|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (9683:17): [True: 0, False: 0]
  ------------------
 9684|      0|                symbolTable.setFunctionExtensions("texture2DLodEXT",      1, &E_GL_EXT_shader_texture_lod);
 9685|      0|                symbolTable.setFunctionExtensions("texture2DProjLodEXT",  1, &E_GL_EXT_shader_texture_lod);
 9686|      0|                symbolTable.setFunctionExtensions("textureCubeLodEXT",    1, &E_GL_EXT_shader_texture_lod);
 9687|      0|                symbolTable.setFunctionExtensions("texture2DGradEXT",     1, &E_GL_EXT_shader_texture_lod);
 9688|      0|                symbolTable.setFunctionExtensions("texture2DProjGradEXT", 1, &E_GL_EXT_shader_texture_lod);
 9689|      0|                symbolTable.setFunctionExtensions("textureCubeGradEXT",   1, &E_GL_EXT_shader_texture_lod);
 9690|      0|                if (version < 320)
  ------------------
  |  Branch (9690:21): [True: 0, False: 0]
  ------------------
 9691|      0|                    symbolTable.setFunctionExtensions("textureGatherOffsets", Num_AEP_gpu_shader5, AEP_gpu_shader5);
 9692|      0|            }
 9693|      0|            if (version == 100) {
  ------------------
  |  Branch (9693:17): [True: 0, False: 0]
  ------------------
 9694|      0|                symbolTable.setFunctionExtensions("dFdx",   1, &E_GL_OES_standard_derivatives);
 9695|      0|                symbolTable.setFunctionExtensions("dFdy",   1, &E_GL_OES_standard_derivatives);
 9696|      0|                symbolTable.setFunctionExtensions("fwidth", 1, &E_GL_OES_standard_derivatives);
 9697|      0|            }
 9698|      0|            if (version == 310) {
  ------------------
  |  Branch (9698:17): [True: 0, False: 0]
  ------------------
 9699|      0|                symbolTable.setFunctionExtensions("fma", Num_AEP_gpu_shader5, AEP_gpu_shader5);
 9700|      0|                symbolTable.setFunctionExtensions("interpolateAtCentroid", 1, &E_GL_OES_shader_multisample_interpolation);
 9701|      0|                symbolTable.setFunctionExtensions("interpolateAtSample",   1, &E_GL_OES_shader_multisample_interpolation);
 9702|      0|                symbolTable.setFunctionExtensions("interpolateAtOffset",   1, &E_GL_OES_shader_multisample_interpolation);
 9703|      0|            }
 9704|    115|        } else if (version < 130) {
  ------------------
  |  Branch (9704:20): [True: 0, False: 115]
  ------------------
 9705|      0|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (9705:17): [True: 0, False: 0]
  ------------------
 9706|      0|                symbolTable.setFunctionExtensions("texture1DLod",        1, &E_GL_ARB_shader_texture_lod);
 9707|      0|                symbolTable.setFunctionExtensions("texture2DLod",        1, &E_GL_ARB_shader_texture_lod);
 9708|      0|                symbolTable.setFunctionExtensions("texture3DLod",        1, &E_GL_ARB_shader_texture_lod);
 9709|      0|                symbolTable.setFunctionExtensions("textureCubeLod",      1, &E_GL_ARB_shader_texture_lod);
 9710|      0|                symbolTable.setFunctionExtensions("texture1DProjLod",    1, &E_GL_ARB_shader_texture_lod);
 9711|      0|                symbolTable.setFunctionExtensions("texture2DProjLod",    1, &E_GL_ARB_shader_texture_lod);
 9712|      0|                symbolTable.setFunctionExtensions("texture3DProjLod",    1, &E_GL_ARB_shader_texture_lod);
 9713|      0|                symbolTable.setFunctionExtensions("shadow1DLod",         1, &E_GL_ARB_shader_texture_lod);
 9714|      0|                symbolTable.setFunctionExtensions("shadow2DLod",         1, &E_GL_ARB_shader_texture_lod);
 9715|      0|                symbolTable.setFunctionExtensions("shadow1DProjLod",     1, &E_GL_ARB_shader_texture_lod);
 9716|      0|                symbolTable.setFunctionExtensions("shadow2DProjLod",     1, &E_GL_ARB_shader_texture_lod);
 9717|      0|            }
 9718|      0|        }
 9719|       |
 9720|       |        // E_GL_ARB_shader_texture_lod functions usable only with the extension enabled
 9721|    115|        if (profile != EEsProfile && spvVersion.spv == 0) {
  ------------------
  |  Branch (9721:13): [True: 115, False: 0]
  |  Branch (9721:38): [True: 0, False: 115]
  ------------------
 9722|      0|            symbolTable.setFunctionExtensions("texture1DGradARB",         1, &E_GL_ARB_shader_texture_lod);
 9723|      0|            symbolTable.setFunctionExtensions("texture1DProjGradARB",     1, &E_GL_ARB_shader_texture_lod);
 9724|      0|            symbolTable.setFunctionExtensions("texture2DGradARB",         1, &E_GL_ARB_shader_texture_lod);
 9725|      0|            symbolTable.setFunctionExtensions("texture2DProjGradARB",     1, &E_GL_ARB_shader_texture_lod);
 9726|      0|            symbolTable.setFunctionExtensions("texture3DGradARB",         1, &E_GL_ARB_shader_texture_lod);
 9727|      0|            symbolTable.setFunctionExtensions("texture3DProjGradARB",     1, &E_GL_ARB_shader_texture_lod);
 9728|      0|            symbolTable.setFunctionExtensions("textureCubeGradARB",       1, &E_GL_ARB_shader_texture_lod);
 9729|      0|            symbolTable.setFunctionExtensions("shadow1DGradARB",          1, &E_GL_ARB_shader_texture_lod);
 9730|      0|            symbolTable.setFunctionExtensions("shadow1DProjGradARB",      1, &E_GL_ARB_shader_texture_lod);
 9731|      0|            symbolTable.setFunctionExtensions("shadow2DGradARB",          1, &E_GL_ARB_shader_texture_lod);
 9732|      0|            symbolTable.setFunctionExtensions("shadow2DProjGradARB",      1, &E_GL_ARB_shader_texture_lod);
 9733|      0|            symbolTable.setFunctionExtensions("texture2DRectGradARB",     1, &E_GL_ARB_shader_texture_lod);
 9734|      0|            symbolTable.setFunctionExtensions("texture2DRectProjGradARB", 1, &E_GL_ARB_shader_texture_lod);
 9735|      0|            symbolTable.setFunctionExtensions("shadow2DRectGradARB",      1, &E_GL_ARB_shader_texture_lod);
 9736|      0|            symbolTable.setFunctionExtensions("shadow2DRectProjGradARB",  1, &E_GL_ARB_shader_texture_lod);
 9737|      0|        }
 9738|       |
 9739|       |        // E_GL_ARB_shader_image_load_store
 9740|    115|        if (profile != EEsProfile && version < 420)
  ------------------
  |  Branch (9740:13): [True: 115, False: 0]
  |  Branch (9740:38): [True: 104, False: 11]
  ------------------
 9741|    104|            symbolTable.setFunctionExtensions("memoryBarrier", 1, &E_GL_ARB_shader_image_load_store);
 9742|       |        // All the image access functions are protected by checks on the type of the first argument.
 9743|       |
 9744|       |        // E_GL_ARB_shader_atomic_counters
 9745|    115|        if (profile != EEsProfile && version < 420) {
  ------------------
  |  Branch (9745:13): [True: 115, False: 0]
  |  Branch (9745:38): [True: 104, False: 11]
  ------------------
 9746|    104|            symbolTable.setFunctionExtensions("atomicCounterIncrement", 1, &E_GL_ARB_shader_atomic_counters);
 9747|    104|            symbolTable.setFunctionExtensions("atomicCounterDecrement", 1, &E_GL_ARB_shader_atomic_counters);
 9748|    104|            symbolTable.setFunctionExtensions("atomicCounter"         , 1, &E_GL_ARB_shader_atomic_counters);
 9749|    104|        }
 9750|       |
 9751|       |        // E_GL_ARB_gpu_shader5/E_GL_NV_gpu_shader5
 9752|    115|        if (profile != EEsProfile && version < 400) {
  ------------------
  |  Branch (9752:13): [True: 115, False: 0]
  |  Branch (9752:38): [True: 100, False: 15]
  ------------------
 9753|    100|            symbolTable.setFunctionExtensions("bitfieldExtract", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9754|    100|            symbolTable.setFunctionExtensions("bitfieldInsert", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9755|    100|            symbolTable.setFunctionExtensions("bitfieldReverse", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9756|    100|            symbolTable.setFunctionExtensions("bitCount", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9757|    100|            symbolTable.setFunctionExtensions("findLSB", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9758|    100|            symbolTable.setFunctionExtensions("findMSB", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9759|    100|            symbolTable.setFunctionExtensions("uaddCarry", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9760|    100|            symbolTable.setFunctionExtensions("usubBorrow", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9761|    100|            symbolTable.setFunctionExtensions("umulExtended", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9762|    100|            symbolTable.setFunctionExtensions("imulExtended", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9763|    100|            symbolTable.setFunctionExtensions("interpolateAtCentroid", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9764|    100|            symbolTable.setFunctionExtensions("interpolateAtSample", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9765|    100|            symbolTable.setFunctionExtensions("interpolateAtOffset", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9766|    100|        }
 9767|       |
 9768|       |        // E_GL_NV_gpu_shader5
 9769|    115|        if (profile != EEsProfile && version < 450) {
  ------------------
  |  Branch (9769:13): [True: 115, False: 0]
  |  Branch (9769:38): [True: 104, False: 11]
  ------------------
 9770|    104|            symbolTable.setFunctionExtensions("packInt2x32",     1, &E_GL_NV_gpu_shader5);
 9771|    104|            symbolTable.setFunctionExtensions("packUint2x32",     1, &E_GL_NV_gpu_shader5);
 9772|    104|            symbolTable.setFunctionExtensions("unpackInt2x32",     1, &E_GL_NV_gpu_shader5);
 9773|    104|            symbolTable.setFunctionExtensions("unpackUint2x32",     1, &E_GL_NV_gpu_shader5);
 9774|    104|            symbolTable.setFunctionExtensions("packFloat2x16",     1, &E_GL_NV_gpu_shader5);
 9775|    104|            symbolTable.setFunctionExtensions("unpackFloat2x16",     1, &E_GL_NV_gpu_shader5);
 9776|    104|            symbolTable.setFunctionExtensions("doubleBitsToInt64",     1, &E_GL_NV_gpu_shader5);
 9777|    104|            symbolTable.setFunctionExtensions("doubleBitsToUint64",     1, &E_GL_NV_gpu_shader5);
 9778|    104|            symbolTable.setFunctionExtensions("int64BitsToDouble",     1, &E_GL_NV_gpu_shader5);
 9779|    104|            symbolTable.setFunctionExtensions("uint64BitsToDouble",     1, &E_GL_NV_gpu_shader5);
 9780|    104|        }
 9781|       |
 9782|       |        // E_GL_ARB_shader_atomic_counter_ops
 9783|    115|        if (profile != EEsProfile && version == 450) {
  ------------------
  |  Branch (9783:13): [True: 115, False: 0]
  |  Branch (9783:38): [True: 11, False: 104]
  ------------------
 9784|     11|            symbolTable.setFunctionExtensions("atomicCounterAddARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9785|     11|            symbolTable.setFunctionExtensions("atomicCounterSubtractARB", 1, &E_GL_ARB_shader_atomic_counter_ops);
 9786|     11|            symbolTable.setFunctionExtensions("atomicCounterMinARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9787|     11|            symbolTable.setFunctionExtensions("atomicCounterMaxARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9788|     11|            symbolTable.setFunctionExtensions("atomicCounterAndARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9789|     11|            symbolTable.setFunctionExtensions("atomicCounterOrARB"      , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9790|     11|            symbolTable.setFunctionExtensions("atomicCounterXorARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9791|     11|            symbolTable.setFunctionExtensions("atomicCounterExchangeARB", 1, &E_GL_ARB_shader_atomic_counter_ops);
 9792|     11|            symbolTable.setFunctionExtensions("atomicCounterCompSwapARB", 1, &E_GL_ARB_shader_atomic_counter_ops);
 9793|     11|        }
 9794|       |
 9795|       |        // E_GL_ARB_derivative_control
 9796|    115|        if (profile != EEsProfile && version < 450) {
  ------------------
  |  Branch (9796:13): [True: 115, False: 0]
  |  Branch (9796:38): [True: 104, False: 11]
  ------------------
 9797|    104|            symbolTable.setFunctionExtensions("dFdxFine",     1, &E_GL_ARB_derivative_control);
 9798|    104|            symbolTable.setFunctionExtensions("dFdyFine",     1, &E_GL_ARB_derivative_control);
 9799|    104|            symbolTable.setFunctionExtensions("fwidthFine",   1, &E_GL_ARB_derivative_control);
 9800|    104|            symbolTable.setFunctionExtensions("dFdxCoarse",   1, &E_GL_ARB_derivative_control);
 9801|    104|            symbolTable.setFunctionExtensions("dFdyCoarse",   1, &E_GL_ARB_derivative_control);
 9802|    104|            symbolTable.setFunctionExtensions("fwidthCoarse", 1, &E_GL_ARB_derivative_control);
 9803|    104|        }
 9804|       |
 9805|       |        // E_GL_ARB_sparse_texture2
 9806|    115|        if (profile != EEsProfile)
  ------------------
  |  Branch (9806:13): [True: 115, False: 0]
  ------------------
 9807|    115|        {
 9808|    115|            symbolTable.setFunctionExtensions("sparseTextureARB",              1, &E_GL_ARB_sparse_texture2);
 9809|    115|            symbolTable.setFunctionExtensions("sparseTextureLodARB",           1, &E_GL_ARB_sparse_texture2);
 9810|    115|            symbolTable.setFunctionExtensions("sparseTextureOffsetARB",        1, &E_GL_ARB_sparse_texture2);
 9811|    115|            symbolTable.setFunctionExtensions("sparseTexelFetchARB",           1, &E_GL_ARB_sparse_texture2);
 9812|    115|            symbolTable.setFunctionExtensions("sparseTexelFetchOffsetARB",     1, &E_GL_ARB_sparse_texture2);
 9813|    115|            symbolTable.setFunctionExtensions("sparseTextureLodOffsetARB",     1, &E_GL_ARB_sparse_texture2);
 9814|    115|            symbolTable.setFunctionExtensions("sparseTextureGradARB",          1, &E_GL_ARB_sparse_texture2);
 9815|    115|            symbolTable.setFunctionExtensions("sparseTextureGradOffsetARB",    1, &E_GL_ARB_sparse_texture2);
 9816|    115|            symbolTable.setFunctionExtensions("sparseTextureGatherARB",        1, &E_GL_ARB_sparse_texture2);
 9817|    115|            symbolTable.setFunctionExtensions("sparseTextureGatherOffsetARB",  1, &E_GL_ARB_sparse_texture2);
 9818|    115|            symbolTable.setFunctionExtensions("sparseTextureGatherOffsetsARB", 1, &E_GL_ARB_sparse_texture2);
 9819|    115|            symbolTable.setFunctionExtensions("sparseImageLoadARB",            1, &E_GL_ARB_sparse_texture2);
 9820|    115|            symbolTable.setFunctionExtensions("sparseTexelsResident",          1, &E_GL_ARB_sparse_texture2);
 9821|    115|        }
 9822|       |
 9823|       |        // E_GL_ARB_sparse_texture_clamp
 9824|    115|        if (profile != EEsProfile)
  ------------------
  |  Branch (9824:13): [True: 115, False: 0]
  ------------------
 9825|    115|        {
 9826|    115|            symbolTable.setFunctionExtensions("sparseTextureClampARB",              1, &E_GL_ARB_sparse_texture_clamp);
 9827|    115|            symbolTable.setFunctionExtensions("sparseTextureOffsetClampARB",        1, &E_GL_ARB_sparse_texture_clamp);
 9828|    115|            symbolTable.setFunctionExtensions("sparseTextureGradClampARB",          1, &E_GL_ARB_sparse_texture_clamp);
 9829|    115|            symbolTable.setFunctionExtensions("sparseTextureGradOffsetClampARB",    1, &E_GL_ARB_sparse_texture_clamp);
 9830|    115|            symbolTable.setFunctionExtensions("textureClampARB",                    1, &E_GL_ARB_sparse_texture_clamp);
 9831|    115|            symbolTable.setFunctionExtensions("textureOffsetClampARB",              1, &E_GL_ARB_sparse_texture_clamp);
 9832|    115|            symbolTable.setFunctionExtensions("textureGradClampARB",                1, &E_GL_ARB_sparse_texture_clamp);
 9833|    115|            symbolTable.setFunctionExtensions("textureGradOffsetClampARB",          1, &E_GL_ARB_sparse_texture_clamp);
 9834|    115|        }
 9835|       |
 9836|       |        // E_GL_AMD_shader_explicit_vertex_parameter
 9837|    115|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9837:13): [True: 115, False: 0]
  ------------------
 9838|    115|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspAMD",         1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9839|    115|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspCentroidAMD", 1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9840|    115|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspSampleAMD",   1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9841|    115|            symbolTable.setVariableExtensions("gl_BaryCoordSmoothAMD",          1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9842|    115|            symbolTable.setVariableExtensions("gl_BaryCoordSmoothCentroidAMD",  1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9843|    115|            symbolTable.setVariableExtensions("gl_BaryCoordSmoothSampleAMD",    1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9844|    115|            symbolTable.setVariableExtensions("gl_BaryCoordPullModelAMD",       1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9845|       |
 9846|    115|            symbolTable.setFunctionExtensions("interpolateAtVertexAMD",         1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9847|       |
 9848|    115|            BuiltInVariable("gl_BaryCoordNoPerspAMD",           EbvBaryCoordNoPersp,         symbolTable);
 9849|    115|            BuiltInVariable("gl_BaryCoordNoPerspCentroidAMD",   EbvBaryCoordNoPerspCentroid, symbolTable);
 9850|    115|            BuiltInVariable("gl_BaryCoordNoPerspSampleAMD",     EbvBaryCoordNoPerspSample,   symbolTable);
 9851|    115|            BuiltInVariable("gl_BaryCoordSmoothAMD",            EbvBaryCoordSmooth,          symbolTable);
 9852|    115|            BuiltInVariable("gl_BaryCoordSmoothCentroidAMD",    EbvBaryCoordSmoothCentroid,  symbolTable);
 9853|    115|            BuiltInVariable("gl_BaryCoordSmoothSampleAMD",      EbvBaryCoordSmoothSample,    symbolTable);
 9854|    115|            BuiltInVariable("gl_BaryCoordPullModelAMD",         EbvBaryCoordPullModel,       symbolTable);
 9855|    115|        }
 9856|       |
 9857|       |        // E_GL_AMD_texture_gather_bias_lod
 9858|    115|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9858:13): [True: 115, False: 0]
  ------------------
 9859|    115|            symbolTable.setFunctionExtensions("textureGatherLodAMD",                1, &E_GL_AMD_texture_gather_bias_lod);
 9860|    115|            symbolTable.setFunctionExtensions("textureGatherLodOffsetAMD",          1, &E_GL_AMD_texture_gather_bias_lod);
 9861|    115|            symbolTable.setFunctionExtensions("textureGatherLodOffsetsAMD",         1, &E_GL_AMD_texture_gather_bias_lod);
 9862|    115|            symbolTable.setFunctionExtensions("sparseTextureGatherLodAMD",          1, &E_GL_AMD_texture_gather_bias_lod);
 9863|    115|            symbolTable.setFunctionExtensions("sparseTextureGatherLodOffsetAMD",    1, &E_GL_AMD_texture_gather_bias_lod);
 9864|    115|            symbolTable.setFunctionExtensions("sparseTextureGatherLodOffsetsAMD",   1, &E_GL_AMD_texture_gather_bias_lod);
 9865|    115|        }
 9866|       |
 9867|       |        // E_GL_AMD_shader_image_load_store_lod
 9868|    115|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9868:13): [True: 115, False: 0]
  ------------------
 9869|    115|            symbolTable.setFunctionExtensions("imageLoadLodAMD",        1, &E_GL_AMD_shader_image_load_store_lod);
 9870|    115|            symbolTable.setFunctionExtensions("imageStoreLodAMD",       1, &E_GL_AMD_shader_image_load_store_lod);
 9871|    115|            symbolTable.setFunctionExtensions("sparseImageLoadLodAMD",  1, &E_GL_AMD_shader_image_load_store_lod);
 9872|    115|        }
 9873|    115|        if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (9873:13): [True: 115, False: 0]
  |  Branch (9873:38): [True: 11, False: 104]
  ------------------
 9874|     11|            symbolTable.setVariableExtensions("gl_FragFullyCoveredNV", 1, &E_GL_NV_conservative_raster_underestimation);
 9875|     11|            BuiltInVariable("gl_FragFullyCoveredNV", EbvFragFullyCoveredNV, symbolTable);
 9876|     11|        }
 9877|    115|        if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (9877:14): [True: 115, False: 0]
  |  Branch (9877:39): [True: 11, False: 104]
  ------------------
 9878|    104|            (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (9878:14): [True: 0, False: 104]
  |  Branch (9878:39): [True: 0, False: 0]
  ------------------
 9879|     11|            symbolTable.setVariableExtensions("gl_FragmentSizeNV",        1, &E_GL_NV_shading_rate_image);
 9880|     11|            symbolTable.setVariableExtensions("gl_InvocationsPerPixelNV", 1, &E_GL_NV_shading_rate_image);
 9881|     11|            BuiltInVariable("gl_FragmentSizeNV",        EbvFragmentSizeNV, symbolTable);
 9882|     11|            BuiltInVariable("gl_InvocationsPerPixelNV", EbvInvocationsPerPixelNV, symbolTable);
 9883|     11|            symbolTable.setVariableExtensions("gl_BaryCoordNV",        1, &E_GL_NV_fragment_shader_barycentric);
 9884|     11|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspNV", 1, &E_GL_NV_fragment_shader_barycentric);
 9885|     11|            BuiltInVariable("gl_BaryCoordNV",        EbvBaryCoordNV,        symbolTable);
 9886|     11|            BuiltInVariable("gl_BaryCoordNoPerspNV", EbvBaryCoordNoPerspNV, symbolTable);
 9887|     11|            symbolTable.setVariableExtensions("gl_BaryCoordEXT",        1, &E_GL_EXT_fragment_shader_barycentric);
 9888|     11|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspEXT", 1, &E_GL_EXT_fragment_shader_barycentric);
 9889|     11|            BuiltInVariable("gl_BaryCoordEXT",        EbvBaryCoordEXT,        symbolTable);
 9890|     11|            BuiltInVariable("gl_BaryCoordNoPerspEXT", EbvBaryCoordNoPerspEXT, symbolTable);
 9891|     11|        }
 9892|       |
 9893|    115|        if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (9893:14): [True: 115, False: 0]
  |  Branch (9893:39): [True: 11, False: 104]
  ------------------
 9894|    104|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (9894:14): [True: 0, False: 104]
  |  Branch (9894:39): [True: 0, False: 0]
  ------------------
 9895|     11|            symbolTable.setVariableExtensions("gl_FragSizeEXT",            1, &E_GL_EXT_fragment_invocation_density);
 9896|     11|            symbolTable.setVariableExtensions("gl_FragInvocationCountEXT", 1, &E_GL_EXT_fragment_invocation_density);
 9897|     11|            BuiltInVariable("gl_FragSizeEXT",            EbvFragSizeEXT, symbolTable);
 9898|     11|            BuiltInVariable("gl_FragInvocationCountEXT", EbvFragInvocationCountEXT, symbolTable);
 9899|     11|        }
 9900|       |
 9901|    115|        symbolTable.setVariableExtensions("gl_FragDepthEXT", 1, &E_GL_EXT_frag_depth);
 9902|       |
 9903|    115|        symbolTable.setFunctionExtensions("clockARB",     1, &E_GL_ARB_shader_clock);
 9904|    115|        symbolTable.setFunctionExtensions("clock2x32ARB", 1, &E_GL_ARB_shader_clock);
 9905|       |
 9906|    115|        symbolTable.setFunctionExtensions("clockRealtimeEXT", 1, &E_GL_EXT_shader_realtime_clock);
 9907|    115|        symbolTable.setFunctionExtensions("clockRealtime2x32EXT", 1, &E_GL_EXT_shader_realtime_clock);
 9908|       |
 9909|    115|        if (profile == EEsProfile && version < 320) {
  ------------------
  |  Branch (9909:13): [True: 0, False: 115]
  |  Branch (9909:38): [True: 0, False: 0]
  ------------------
 9910|      0|            symbolTable.setVariableExtensions("gl_PrimitiveID",  Num_AEP_geometry_shader, AEP_geometry_shader);
 9911|      0|            symbolTable.setVariableExtensions("gl_Layer",        Num_AEP_geometry_shader, AEP_geometry_shader);
 9912|      0|        }
 9913|       |
 9914|    115|        if (profile == EEsProfile && version < 320) {
  ------------------
  |  Branch (9914:13): [True: 0, False: 115]
  |  Branch (9914:38): [True: 0, False: 0]
  ------------------
 9915|      0|            symbolTable.setFunctionExtensions("imageAtomicAdd",      1, &E_GL_OES_shader_image_atomic);
 9916|      0|            symbolTable.setFunctionExtensions("imageAtomicMin",      1, &E_GL_OES_shader_image_atomic);
 9917|      0|            symbolTable.setFunctionExtensions("imageAtomicMax",      1, &E_GL_OES_shader_image_atomic);
 9918|      0|            symbolTable.setFunctionExtensions("imageAtomicAnd",      1, &E_GL_OES_shader_image_atomic);
 9919|      0|            symbolTable.setFunctionExtensions("imageAtomicOr",       1, &E_GL_OES_shader_image_atomic);
 9920|      0|            symbolTable.setFunctionExtensions("imageAtomicXor",      1, &E_GL_OES_shader_image_atomic);
 9921|      0|            symbolTable.setFunctionExtensions("imageAtomicExchange", 1, &E_GL_OES_shader_image_atomic);
 9922|      0|            symbolTable.setFunctionExtensions("imageAtomicCompSwap", 1, &E_GL_OES_shader_image_atomic);
 9923|      0|        }
 9924|       |
 9925|    115|        if (profile != EEsProfile && version < 330 ) {
  ------------------
  |  Branch (9925:13): [True: 115, False: 0]
  |  Branch (9925:38): [True: 100, False: 15]
  ------------------
 9926|    100|            const int numBitEncodingExts = 3;
 9927|    100|            const char* bitEncodingExts[numBitEncodingExts] = { E_GL_ARB_shader_bit_encoding,
 9928|    100|                                                                E_GL_ARB_gpu_shader5,
 9929|    100|                                                                E_GL_NV_gpu_shader5};
 9930|    100|            symbolTable.setFunctionExtensions("floatBitsToInt", numBitEncodingExts, bitEncodingExts);
 9931|    100|            symbolTable.setFunctionExtensions("floatBitsToUint", numBitEncodingExts, bitEncodingExts);
 9932|    100|            symbolTable.setFunctionExtensions("intBitsToFloat", numBitEncodingExts, bitEncodingExts);
 9933|    100|            symbolTable.setFunctionExtensions("uintBitsToFloat", numBitEncodingExts, bitEncodingExts);
 9934|       |
 9935|    100|        }
 9936|       |
 9937|    115|        if (profile != EEsProfile && version < 430 ) {
  ------------------
  |  Branch (9937:13): [True: 115, False: 0]
  |  Branch (9937:38): [True: 104, False: 11]
  ------------------
 9938|    104|            symbolTable.setFunctionExtensions("imageSize", 1, &E_GL_ARB_shader_image_size);
 9939|    104|        }
 9940|       |
 9941|       |        // GL_ARB_shader_storage_buffer_object
 9942|    115|        if (profile != EEsProfile && version < 430 ) {
  ------------------
  |  Branch (9942:13): [True: 115, False: 0]
  |  Branch (9942:38): [True: 104, False: 11]
  ------------------
 9943|    104|            symbolTable.setFunctionExtensions("atomicAdd", 1, &E_GL_ARB_shader_storage_buffer_object);
 9944|    104|            symbolTable.setFunctionExtensions("atomicMin", 1, &E_GL_ARB_shader_storage_buffer_object);
 9945|    104|            symbolTable.setFunctionExtensions("atomicMax", 1, &E_GL_ARB_shader_storage_buffer_object);
 9946|    104|            symbolTable.setFunctionExtensions("atomicAnd", 1, &E_GL_ARB_shader_storage_buffer_object);
 9947|    104|            symbolTable.setFunctionExtensions("atomicOr", 1, &E_GL_ARB_shader_storage_buffer_object);
 9948|    104|            symbolTable.setFunctionExtensions("atomicXor", 1, &E_GL_ARB_shader_storage_buffer_object);
 9949|    104|            symbolTable.setFunctionExtensions("atomicExchange", 1, &E_GL_ARB_shader_storage_buffer_object);
 9950|    104|            symbolTable.setFunctionExtensions("atomicCompSwap", 1, &E_GL_ARB_shader_storage_buffer_object);
 9951|    104|        }
 9952|       |
 9953|       |        // GL_ARB_shading_language_packing
 9954|    115|        if (profile != EEsProfile && version < 400 ) {
  ------------------
  |  Branch (9954:13): [True: 115, False: 0]
  |  Branch (9954:38): [True: 100, False: 15]
  ------------------
 9955|    100|            const int numPackingExts = 3;
 9956|    100|            const char* packingExts[numPackingExts] = { E_GL_ARB_shading_language_packing,
 9957|    100|                                                                E_GL_ARB_gpu_shader5,
 9958|    100|                                                                E_GL_NV_gpu_shader5};
 9959|    100|            symbolTable.setFunctionExtensions("packUnorm2x16", numPackingExts, packingExts);
 9960|    100|            symbolTable.setFunctionExtensions("unpackUnorm2x16", numPackingExts, packingExts);
 9961|    100|            symbolTable.setFunctionExtensions("packSnorm4x8", numPackingExts, packingExts);
 9962|    100|            symbolTable.setFunctionExtensions("packUnorm4x8", numPackingExts, packingExts);
 9963|    100|            symbolTable.setFunctionExtensions("unpackSnorm4x8", numPackingExts, packingExts);
 9964|    100|            symbolTable.setFunctionExtensions("unpackUnorm4x8", numPackingExts, packingExts);
 9965|    100|        }
 9966|    115|        if (profile != EEsProfile && version < 420 ) {
  ------------------
  |  Branch (9966:13): [True: 115, False: 0]
  |  Branch (9966:38): [True: 104, False: 11]
  ------------------
 9967|    104|            symbolTable.setFunctionExtensions("packSnorm2x16", 1, &E_GL_ARB_shading_language_packing);
 9968|    104|            symbolTable.setFunctionExtensions("unpackSnorm2x16", 1, &E_GL_ARB_shading_language_packing);
 9969|    104|            symbolTable.setFunctionExtensions("unpackHalf2x16", 1, &E_GL_ARB_shading_language_packing);
 9970|    104|            symbolTable.setFunctionExtensions("packHalf2x16", 1, &E_GL_ARB_shading_language_packing);
 9971|    104|        }
 9972|       |
 9973|    115|        symbolTable.setVariableExtensions("gl_DeviceIndex",  1, &E_GL_EXT_device_group);
 9974|    115|        BuiltInVariable("gl_DeviceIndex", EbvDeviceIndex, symbolTable);
 9975|    115|        symbolTable.setVariableExtensions("gl_ViewIndex", 1, &E_GL_EXT_multiview);
 9976|    115|        BuiltInVariable("gl_ViewIndex", EbvViewIndex, symbolTable);
 9977|    115|        if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (9977:13): [True: 15, False: 100]
  ------------------
 9978|     15|            symbolTable.setVariableExtensions("gl_ViewID_OVR", Num_OVR_multiview_EXTs, OVR_multiview_EXTs);
 9979|     15|            BuiltInVariable("gl_ViewID_OVR", EbvViewIndex, symbolTable);
 9980|     15|        }
 9981|       |
 9982|       |        // GL_ARB_shader_ballot
 9983|    115|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9983:13): [True: 115, False: 0]
  ------------------
 9984|    115|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
 9985|    115|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
 9986|    115|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
 9987|    115|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
 9988|    115|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
 9989|    115|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
 9990|    115|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
 9991|       |
 9992|    115|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
 9993|    115|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
 9994|    115|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
 9995|    115|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
 9996|    115|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
 9997|    115|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
 9998|       |
 9999|    115|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (9999:17): [True: 115, False: 0]
  ------------------
10000|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
10001|    115|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
10002|    115|                if (language == EShLangFragment)
  ------------------
  |  Branch (10002:21): [True: 115, False: 0]
  ------------------
10003|    115|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
10004|    115|            }
10005|      0|            else
10006|      0|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
10007|    115|        }
10008|       |
10009|       |        // GL_EXT_expect_assume
10010|    115|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10010:14): [True: 0, False: 115]
  |  Branch (10010:39): [True: 0, False: 0]
  ------------------
10011|    115|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10011:14): [True: 115, False: 0]
  |  Branch (10011:39): [True: 115, False: 0]
  ------------------
10012|    115|            symbolTable.setFunctionExtensions("assumeEXT", 1, &E_GL_EXT_expect_assume);
10013|    115|            symbolTable.setFunctionExtensions("expectEXT", 1, &E_GL_EXT_expect_assume);
10014|    115|        }
10015|       |
10016|       |        // GL_KHR_shader_subgroup
10017|    115|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10017:14): [True: 0, False: 115]
  |  Branch (10017:39): [True: 0, False: 0]
  ------------------
10018|    115|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10018:14): [True: 115, False: 0]
  |  Branch (10018:39): [True: 115, False: 0]
  ------------------
10019|    115|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
10020|    115|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
10021|    115|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10022|    115|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10023|    115|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10024|    115|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10025|    115|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10026|       |
10027|    115|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
10028|    115|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
10029|    115|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
10030|    115|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
10031|    115|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
10032|    115|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
10033|    115|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
10034|       |
10035|    115|            symbolTable.setFunctionExtensions("subgroupBarrier",                 1, &E_GL_KHR_shader_subgroup_basic);
10036|    115|            symbolTable.setFunctionExtensions("subgroupMemoryBarrier",           1, &E_GL_KHR_shader_subgroup_basic);
10037|    115|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierBuffer",     1, &E_GL_KHR_shader_subgroup_basic);
10038|    115|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierImage",      1, &E_GL_KHR_shader_subgroup_basic);
10039|    115|            symbolTable.setFunctionExtensions("subgroupElect",                   1, &E_GL_KHR_shader_subgroup_basic);
10040|    115|            symbolTable.setFunctionExtensions("subgroupAll",                     1, &E_GL_KHR_shader_subgroup_vote);
10041|    115|            symbolTable.setFunctionExtensions("subgroupAny",                     1, &E_GL_KHR_shader_subgroup_vote);
10042|    115|            symbolTable.setFunctionExtensions("subgroupAllEqual",                1, &E_GL_KHR_shader_subgroup_vote);
10043|    115|            symbolTable.setFunctionExtensions("subgroupBroadcast",               1, &E_GL_KHR_shader_subgroup_ballot);
10044|    115|            symbolTable.setFunctionExtensions("subgroupBroadcastFirst",          1, &E_GL_KHR_shader_subgroup_ballot);
10045|    115|            symbolTable.setFunctionExtensions("subgroupBallot",                  1, &E_GL_KHR_shader_subgroup_ballot);
10046|    115|            symbolTable.setFunctionExtensions("subgroupInverseBallot",           1, &E_GL_KHR_shader_subgroup_ballot);
10047|    115|            symbolTable.setFunctionExtensions("subgroupBallotBitExtract",        1, &E_GL_KHR_shader_subgroup_ballot);
10048|    115|            symbolTable.setFunctionExtensions("subgroupBallotBitCount",          1, &E_GL_KHR_shader_subgroup_ballot);
10049|    115|            symbolTable.setFunctionExtensions("subgroupBallotInclusiveBitCount", 1, &E_GL_KHR_shader_subgroup_ballot);
10050|    115|            symbolTable.setFunctionExtensions("subgroupBallotExclusiveBitCount", 1, &E_GL_KHR_shader_subgroup_ballot);
10051|    115|            symbolTable.setFunctionExtensions("subgroupBallotFindLSB",           1, &E_GL_KHR_shader_subgroup_ballot);
10052|    115|            symbolTable.setFunctionExtensions("subgroupBallotFindMSB",           1, &E_GL_KHR_shader_subgroup_ballot);
10053|    115|            symbolTable.setFunctionExtensions("subgroupShuffle",                 1, &E_GL_KHR_shader_subgroup_shuffle);
10054|    115|            symbolTable.setFunctionExtensions("subgroupShuffleXor",              1, &E_GL_KHR_shader_subgroup_shuffle);
10055|    115|            symbolTable.setFunctionExtensions("subgroupShuffleUp",               1, &E_GL_KHR_shader_subgroup_shuffle_relative);
10056|    115|            symbolTable.setFunctionExtensions("subgroupShuffleDown",             1, &E_GL_KHR_shader_subgroup_shuffle_relative);
10057|    115|            symbolTable.setFunctionExtensions("subgroupRotate",                  1, &E_GL_KHR_shader_subgroup_rotate);
10058|    115|            symbolTable.setFunctionExtensions("subgroupClusteredRotate",         1, &E_GL_KHR_shader_subgroup_rotate);
10059|    115|            symbolTable.setFunctionExtensions("subgroupAdd",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
10060|    115|            symbolTable.setFunctionExtensions("subgroupMul",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
10061|    115|            symbolTable.setFunctionExtensions("subgroupMin",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
10062|    115|            symbolTable.setFunctionExtensions("subgroupMax",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
10063|    115|            symbolTable.setFunctionExtensions("subgroupAnd",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
10064|    115|            symbolTable.setFunctionExtensions("subgroupOr",                      1, &E_GL_KHR_shader_subgroup_arithmetic);
10065|    115|            symbolTable.setFunctionExtensions("subgroupXor",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
10066|    115|            symbolTable.setFunctionExtensions("subgroupInclusiveAdd",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10067|    115|            symbolTable.setFunctionExtensions("subgroupInclusiveMul",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10068|    115|            symbolTable.setFunctionExtensions("subgroupInclusiveMin",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10069|    115|            symbolTable.setFunctionExtensions("subgroupInclusiveMax",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10070|    115|            symbolTable.setFunctionExtensions("subgroupInclusiveAnd",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10071|    115|            symbolTable.setFunctionExtensions("subgroupInclusiveOr",             1, &E_GL_KHR_shader_subgroup_arithmetic);
10072|    115|            symbolTable.setFunctionExtensions("subgroupInclusiveXor",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10073|    115|            symbolTable.setFunctionExtensions("subgroupExclusiveAdd",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10074|    115|            symbolTable.setFunctionExtensions("subgroupExclusiveMul",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10075|    115|            symbolTable.setFunctionExtensions("subgroupExclusiveMin",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10076|    115|            symbolTable.setFunctionExtensions("subgroupExclusiveMax",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10077|    115|            symbolTable.setFunctionExtensions("subgroupExclusiveAnd",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10078|    115|            symbolTable.setFunctionExtensions("subgroupExclusiveOr",             1, &E_GL_KHR_shader_subgroup_arithmetic);
10079|    115|            symbolTable.setFunctionExtensions("subgroupExclusiveXor",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10080|    115|            symbolTable.setFunctionExtensions("subgroupClusteredAdd",            1, &E_GL_KHR_shader_subgroup_clustered);
10081|    115|            symbolTable.setFunctionExtensions("subgroupClusteredMul",            1, &E_GL_KHR_shader_subgroup_clustered);
10082|    115|            symbolTable.setFunctionExtensions("subgroupClusteredMin",            1, &E_GL_KHR_shader_subgroup_clustered);
10083|    115|            symbolTable.setFunctionExtensions("subgroupClusteredMax",            1, &E_GL_KHR_shader_subgroup_clustered);
10084|    115|            symbolTable.setFunctionExtensions("subgroupClusteredAnd",            1, &E_GL_KHR_shader_subgroup_clustered);
10085|    115|            symbolTable.setFunctionExtensions("subgroupClusteredOr",             1, &E_GL_KHR_shader_subgroup_clustered);
10086|    115|            symbolTable.setFunctionExtensions("subgroupClusteredXor",            1, &E_GL_KHR_shader_subgroup_clustered);
10087|    115|            symbolTable.setFunctionExtensions("subgroupQuadBroadcast",           1, &E_GL_KHR_shader_subgroup_quad);
10088|    115|            symbolTable.setFunctionExtensions("subgroupQuadSwapHorizontal",      1, &E_GL_KHR_shader_subgroup_quad);
10089|    115|            symbolTable.setFunctionExtensions("subgroupQuadSwapVertical",        1, &E_GL_KHR_shader_subgroup_quad);
10090|    115|            symbolTable.setFunctionExtensions("subgroupQuadSwapDiagonal",        1, &E_GL_KHR_shader_subgroup_quad);
10091|    115|            symbolTable.setFunctionExtensions("subgroupPartitionNV",                          1, &E_GL_NV_shader_subgroup_partitioned);
10092|    115|            symbolTable.setFunctionExtensions("subgroupPartitionedAddNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
10093|    115|            symbolTable.setFunctionExtensions("subgroupPartitionedMulNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
10094|    115|            symbolTable.setFunctionExtensions("subgroupPartitionedMinNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
10095|    115|            symbolTable.setFunctionExtensions("subgroupPartitionedMaxNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
10096|    115|            symbolTable.setFunctionExtensions("subgroupPartitionedAndNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
10097|    115|            symbolTable.setFunctionExtensions("subgroupPartitionedOrNV",                      1, &E_GL_NV_shader_subgroup_partitioned);
10098|    115|            symbolTable.setFunctionExtensions("subgroupPartitionedXorNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
10099|    115|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveAddNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10100|    115|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveMulNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10101|    115|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveMinNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10102|    115|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveMaxNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10103|    115|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveAndNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10104|    115|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveOrNV",             1, &E_GL_NV_shader_subgroup_partitioned);
10105|    115|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveXorNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10106|    115|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveAddNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10107|    115|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveMulNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10108|    115|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveMinNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10109|    115|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveMaxNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10110|    115|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveAndNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10111|    115|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveOrNV",             1, &E_GL_NV_shader_subgroup_partitioned);
10112|    115|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveXorNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10113|       |
10114|       |            // GL_NV_shader_sm_builtins
10115|    115|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
10116|    115|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
10117|    115|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
10118|    115|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
10119|    115|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
10120|    115|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
10121|    115|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
10122|    115|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
10123|       |
10124|       |            // GL_ARM_shader_core_builtins
10125|    115|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
10126|    115|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
10127|    115|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10128|    115|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
10129|    115|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10130|       |
10131|    115|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
10132|    115|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
10133|    115|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
10134|    115|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
10135|    115|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
10136|    115|        }
10137|       |
10138|    115|        if (profile == EEsProfile) {
  ------------------
  |  Branch (10138:13): [True: 0, False: 115]
  ------------------
10139|      0|            symbolTable.setFunctionExtensions("shadow2DEXT",        1, &E_GL_EXT_shadow_samplers);
10140|      0|            symbolTable.setFunctionExtensions("shadow2DProjEXT",    1, &E_GL_EXT_shadow_samplers);
10141|      0|        }
10142|       |
10143|    115|        if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (10143:13): [True: 115, False: 0]
  ------------------
10144|    115|            symbolTable.setVariableExtensions("gl_ScopeDevice",             1, &E_GL_KHR_memory_scope_semantics);
10145|    115|            symbolTable.setVariableExtensions("gl_ScopeWorkgroup",          1, &E_GL_KHR_memory_scope_semantics);
10146|    115|            symbolTable.setVariableExtensions("gl_ScopeSubgroup",           1, &E_GL_KHR_memory_scope_semantics);
10147|    115|            symbolTable.setVariableExtensions("gl_ScopeInvocation",         1, &E_GL_KHR_memory_scope_semantics);
10148|       |
10149|    115|            symbolTable.setVariableExtensions("gl_SemanticsRelaxed",        1, &E_GL_KHR_memory_scope_semantics);
10150|    115|            symbolTable.setVariableExtensions("gl_SemanticsAcquire",        1, &E_GL_KHR_memory_scope_semantics);
10151|    115|            symbolTable.setVariableExtensions("gl_SemanticsRelease",        1, &E_GL_KHR_memory_scope_semantics);
10152|    115|            symbolTable.setVariableExtensions("gl_SemanticsAcquireRelease", 1, &E_GL_KHR_memory_scope_semantics);
10153|    115|            symbolTable.setVariableExtensions("gl_SemanticsMakeAvailable",  1, &E_GL_KHR_memory_scope_semantics);
10154|    115|            symbolTable.setVariableExtensions("gl_SemanticsMakeVisible",    1, &E_GL_KHR_memory_scope_semantics);
10155|    115|            symbolTable.setVariableExtensions("gl_SemanticsVolatile",       1, &E_GL_KHR_memory_scope_semantics);
10156|       |
10157|    115|            symbolTable.setVariableExtensions("gl_StorageSemanticsNone",    1, &E_GL_KHR_memory_scope_semantics);
10158|    115|            symbolTable.setVariableExtensions("gl_StorageSemanticsBuffer",  1, &E_GL_KHR_memory_scope_semantics);
10159|    115|            symbolTable.setVariableExtensions("gl_StorageSemanticsShared",  1, &E_GL_KHR_memory_scope_semantics);
10160|    115|            symbolTable.setVariableExtensions("gl_StorageSemanticsImage",   1, &E_GL_KHR_memory_scope_semantics);
10161|    115|            symbolTable.setVariableExtensions("gl_StorageSemanticsOutput",  1, &E_GL_KHR_memory_scope_semantics);
10162|    115|        }
10163|       |
10164|    115|        symbolTable.setFunctionExtensions("helperInvocationEXT",            1, &E_GL_EXT_demote_to_helper_invocation);
10165|       |
10166|    115|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10166:14): [True: 0, False: 115]
  |  Branch (10166:39): [True: 0, False: 0]
  ------------------
10167|    115|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10167:14): [True: 115, False: 0]
  |  Branch (10167:39): [True: 11, False: 104]
  ------------------
10168|     11|            symbolTable.setVariableExtensions("gl_ShadingRateEXT", 1, &E_GL_EXT_fragment_shading_rate);
10169|     11|            BuiltInVariable("gl_ShadingRateEXT", EbvShadingRateKHR, symbolTable);
10170|       |
10171|     11|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10172|     11|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10173|     11|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10174|     11|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10175|     11|        }
10176|       |
10177|       |        // GL_EXT_shader_quad_control
10178|    115|        if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (10178:14): [True: 115, False: 0]
  |  Branch (10178:39): [True: 115, False: 0]
  ------------------
10179|    115|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (10179:14): [True: 0, False: 0]
  |  Branch (10179:39): [True: 0, False: 0]
  ------------------
10180|    115|            symbolTable.setFunctionExtensions("subgroupQuadAll",                     1,  &E_GL_KHR_shader_subgroup_vote);
10181|    115|            symbolTable.setFunctionExtensions("subgroupQuadAny",                     1,  &E_GL_KHR_shader_subgroup_vote);
10182|    115|        }
10183|       |
10184|       |        // GL_EXT_shader_tile_image
10185|    115|        symbolTable.setFunctionExtensions("stencilAttachmentReadEXT", 1, &E_GL_EXT_shader_tile_image);
10186|    115|        symbolTable.setFunctionExtensions("depthAttachmentReadEXT", 1, &E_GL_EXT_shader_tile_image);
10187|    115|        symbolTable.setFunctionExtensions("colorAttachmentReadEXT", 1, &E_GL_EXT_shader_tile_image);
10188|       |
10189|    115|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10189:14): [True: 0, False: 115]
  |  Branch (10189:39): [True: 0, False: 0]
  ------------------
10190|    115|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10190:14): [True: 115, False: 0]
  |  Branch (10190:39): [True: 115, False: 0]
  ------------------
10191|       |
10192|    115|            symbolTable.setFunctionExtensions("textureWeightedQCOM",      1, &E_GL_QCOM_image_processing);
10193|    115|            symbolTable.setFunctionExtensions("textureBoxFilterQCOM",     1, &E_GL_QCOM_image_processing);
10194|    115|            symbolTable.setFunctionExtensions("textureBlockMatchSADQCOM", 1, &E_GL_QCOM_image_processing);
10195|    115|            symbolTable.setFunctionExtensions("textureBlockMatchSSDQCOM", 1, &E_GL_QCOM_image_processing);
10196|       |
10197|    115|            symbolTable.setFunctionExtensions("textureBlockMatchWindowSSDQCOM", 1, &E_GL_QCOM_image_processing2);
10198|    115|            symbolTable.setFunctionExtensions("textureBlockMatchWindowSADQCOM", 1, &E_GL_QCOM_image_processing2);
10199|    115|            symbolTable.setFunctionExtensions("textureBlockMatchGatherSSDQCOM", 1, &E_GL_QCOM_image_processing2);
10200|    115|            symbolTable.setFunctionExtensions("textureBlockMatchGatherSADQCOM", 1, &E_GL_QCOM_image_processing2);
10201|    115|        }
10202|       |
10203|    115|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10203:14): [True: 0, False: 115]
  |  Branch (10203:39): [True: 0, False: 0]
  ------------------
10204|    115|            (profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (10204:14): [True: 115, False: 0]
  |  Branch (10204:39): [True: 0, False: 115]
  ------------------
10205|      0|            BuiltInVariable("gl_TileOffsetQCOM",    EbvTileOffsetQCOM,      symbolTable);
10206|      0|            BuiltInVariable("gl_TileDimensionQCOM", EbvTileDimensionQCOM,   symbolTable);
10207|      0|            BuiltInVariable("gl_TileApronSizeQCOM", EbvTileApronSizeQCOM,   symbolTable);
10208|       |
10209|      0|            symbolTable.setVariableExtensions("gl_TileOffsetQCOM",        1, &E_GL_QCOM_tile_shading);
10210|      0|            symbolTable.setVariableExtensions("gl_TileDimensionQCOM",     1, &E_GL_QCOM_tile_shading);
10211|      0|            symbolTable.setVariableExtensions("gl_TileApronSizeQCOM",     1, &E_GL_QCOM_tile_shading);
10212|      0|        }
10213|       |
10214|    115|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10214:14): [True: 0, False: 115]
  |  Branch (10214:39): [True: 0, False: 0]
  ------------------
10215|    115|            (profile != EEsProfile && version >= 130)) {
  ------------------
  |  Branch (10215:14): [True: 115, False: 0]
  |  Branch (10215:39): [True: 115, False: 0]
  ------------------
10216|    115|            symbolTable.setFunctionExtensions("textureGather4x1QCOM", 1, &E_GL_QCOM_image_processing3);
10217|    115|            symbolTable.setFunctionExtensions("textureGatherV2QCOM", 1, &E_GL_QCOM_image_processing3);
10218|    115|            symbolTable.setFunctionExtensions("textureGatherH2QCOM", 1, &E_GL_QCOM_image_processing3);
10219|    115|            symbolTable.setFunctionExtensions("textureGatherDQCOM", 1, &E_GL_QCOM_image_processing3);
10220|    115|            symbolTable.setFunctionExtensions("textureGather4x1OffsetQCOM", 1, &E_GL_QCOM_image_processing3);
10221|    115|            symbolTable.setFunctionExtensions("textureGatherV2OffsetQCOM", 1, &E_GL_QCOM_image_processing3);
10222|    115|            symbolTable.setFunctionExtensions("textureGatherH2OffsetQCOM", 1, &E_GL_QCOM_image_processing3);
10223|    115|            symbolTable.setFunctionExtensions("textureGatherDOffsetQCOM", 1, &E_GL_QCOM_image_processing3);
10224|    115|        }
10225|       |
10226|    115|        break;
10227|       |
10228|     11|    case EShLangCompute:
  ------------------
  |  Branch (10228:5): [True: 11, False: 360]
  ------------------
10229|     11|        BuiltInVariable("gl_NumWorkGroups",         EbvNumWorkGroups,        symbolTable);
10230|     11|        BuiltInVariable("gl_WorkGroupSize",         EbvWorkGroupSize,        symbolTable);
10231|     11|        BuiltInVariable("gl_WorkGroupID",           EbvWorkGroupId,          symbolTable);
10232|     11|        BuiltInVariable("gl_LocalInvocationID",     EbvLocalInvocationId,    symbolTable);
10233|     11|        BuiltInVariable("gl_GlobalInvocationID",    EbvGlobalInvocationId,   symbolTable);
10234|     11|        BuiltInVariable("gl_LocalInvocationIndex",  EbvLocalInvocationIndex, symbolTable);
10235|     11|        BuiltInVariable("gl_DeviceIndex",           EbvDeviceIndex,          symbolTable);
10236|     11|        BuiltInVariable("gl_ViewIndex",             EbvViewIndex,            symbolTable);
10237|       |
10238|     11|        if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (10238:14): [True: 11, False: 0]
  |  Branch (10238:39): [True: 11, False: 0]
  ------------------
10239|     11|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (10239:14): [True: 0, False: 0]
  |  Branch (10239:39): [True: 0, False: 0]
  ------------------
10240|     11|            symbolTable.setVariableExtensions("gl_DeviceIndex",  1, &E_GL_EXT_device_group);
10241|     11|            symbolTable.setVariableExtensions("gl_ViewIndex",    1, &E_GL_EXT_multiview);
10242|     11|        }
10243|       |
10244|     11|        if (profile != EEsProfile && version < 430) {
  ------------------
  |  Branch (10244:13): [True: 11, False: 0]
  |  Branch (10244:38): [True: 0, False: 11]
  ------------------
10245|      0|            symbolTable.setVariableExtensions("gl_NumWorkGroups",        1, &E_GL_ARB_compute_shader);
10246|      0|            symbolTable.setVariableExtensions("gl_WorkGroupSize",        1, &E_GL_ARB_compute_shader);
10247|      0|            symbolTable.setVariableExtensions("gl_WorkGroupID",          1, &E_GL_ARB_compute_shader);
10248|      0|            symbolTable.setVariableExtensions("gl_LocalInvocationID",    1, &E_GL_ARB_compute_shader);
10249|      0|            symbolTable.setVariableExtensions("gl_GlobalInvocationID",   1, &E_GL_ARB_compute_shader);
10250|      0|            symbolTable.setVariableExtensions("gl_LocalInvocationIndex", 1, &E_GL_ARB_compute_shader);
10251|       |
10252|      0|            symbolTable.setVariableExtensions("gl_MaxComputeWorkGroupCount",       1, &E_GL_ARB_compute_shader);
10253|      0|            symbolTable.setVariableExtensions("gl_MaxComputeWorkGroupSize",        1, &E_GL_ARB_compute_shader);
10254|      0|            symbolTable.setVariableExtensions("gl_MaxComputeUniformComponents",    1, &E_GL_ARB_compute_shader);
10255|      0|            symbolTable.setVariableExtensions("gl_MaxComputeTextureImageUnits",    1, &E_GL_ARB_compute_shader);
10256|      0|            symbolTable.setVariableExtensions("gl_MaxComputeImageUniforms",        1, &E_GL_ARB_compute_shader);
10257|      0|            symbolTable.setVariableExtensions("gl_MaxComputeAtomicCounters",       1, &E_GL_ARB_compute_shader);
10258|      0|            symbolTable.setVariableExtensions("gl_MaxComputeAtomicCounterBuffers", 1, &E_GL_ARB_compute_shader);
10259|       |
10260|      0|            symbolTable.setFunctionExtensions("barrier",                    1, &E_GL_ARB_compute_shader);
10261|      0|            symbolTable.setFunctionExtensions("memoryBarrierAtomicCounter", 1, &E_GL_ARB_compute_shader);
10262|      0|            symbolTable.setFunctionExtensions("memoryBarrierBuffer",        1, &E_GL_ARB_compute_shader);
10263|      0|            symbolTable.setFunctionExtensions("memoryBarrierImage",         1, &E_GL_ARB_compute_shader);
10264|      0|            symbolTable.setFunctionExtensions("memoryBarrierShared",        1, &E_GL_ARB_compute_shader);
10265|      0|            symbolTable.setFunctionExtensions("groupMemoryBarrier",         1, &E_GL_ARB_compute_shader);
10266|      0|        }
10267|       |
10268|     11|        symbolTable.setFunctionExtensions("controlBarrier",                 1, &E_GL_KHR_memory_scope_semantics);
10269|     11|        symbolTable.setFunctionExtensions("debugPrintfEXT",                 1, &E_GL_EXT_debug_printf);
10270|     11|        symbolTable.setFunctionExtensions("abortEXT",                       1, &E_GL_EXT_abort);
10271|     11|        symbolTable.setFunctionExtensions("controlBarrierArrive",           1, &E_GL_EXT_split_barrier);
10272|     11|        symbolTable.setFunctionExtensions("controlBarrierWait",             1, &E_GL_EXT_split_barrier);
10273|       |
10274|       |        // GL_ARB_shader_ballot
10275|     11|        if (profile != EEsProfile) {
  ------------------
  |  Branch (10275:13): [True: 11, False: 0]
  ------------------
10276|     11|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
10277|     11|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
10278|     11|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
10279|     11|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
10280|     11|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
10281|     11|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
10282|     11|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
10283|       |
10284|     11|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
10285|     11|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
10286|     11|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
10287|     11|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
10288|     11|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
10289|     11|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
10290|       |
10291|     11|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (10291:17): [True: 11, False: 0]
  ------------------
10292|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
10293|     11|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
10294|     11|                if (language == EShLangFragment)
  ------------------
  |  Branch (10294:21): [True: 0, False: 11]
  ------------------
10295|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
10296|     11|            }
10297|      0|            else
10298|      0|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
10299|     11|        }
10300|       |
10301|       |        // GL_KHR_shader_subgroup
10302|     11|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10302:14): [True: 0, False: 11]
  |  Branch (10302:39): [True: 0, False: 0]
  ------------------
10303|     11|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10303:14): [True: 11, False: 0]
  |  Branch (10303:39): [True: 11, False: 0]
  ------------------
10304|     11|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
10305|     11|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
10306|     11|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10307|     11|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10308|     11|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10309|     11|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10310|     11|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10311|       |
10312|     11|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
10313|     11|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
10314|     11|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
10315|     11|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
10316|     11|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
10317|     11|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
10318|     11|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
10319|       |
10320|       |            // GL_NV_shader_sm_builtins
10321|     11|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
10322|     11|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
10323|     11|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
10324|     11|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
10325|     11|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
10326|     11|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
10327|     11|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
10328|     11|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
10329|       |
10330|       |            // GL_ARM_shader_core_builtins
10331|     11|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
10332|     11|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
10333|     11|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10334|     11|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
10335|     11|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10336|       |
10337|     11|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
10338|     11|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
10339|     11|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
10340|     11|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
10341|     11|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
10342|     11|        }
10343|       |
10344|       |        // GL_KHR_shader_subgroup
10345|     11|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10345:14): [True: 0, False: 11]
  |  Branch (10345:39): [True: 0, False: 0]
  ------------------
10346|     11|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10346:14): [True: 11, False: 0]
  |  Branch (10346:39): [True: 11, False: 0]
  ------------------
10347|     11|            symbolTable.setVariableExtensions("gl_NumSubgroups", 1, &E_GL_KHR_shader_subgroup_basic);
10348|     11|            symbolTable.setVariableExtensions("gl_SubgroupID",   1, &E_GL_KHR_shader_subgroup_basic);
10349|       |
10350|     11|            BuiltInVariable("gl_NumSubgroups", EbvNumSubgroups, symbolTable);
10351|     11|            BuiltInVariable("gl_SubgroupID",   EbvSubgroupID,   symbolTable);
10352|       |
10353|     11|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierShared", 1, &E_GL_KHR_shader_subgroup_basic);
10354|     11|        }
10355|       |
10356|     11|        {
10357|     11|            const char *coopExt[2] = { E_GL_NV_cooperative_matrix, E_GL_NV_integer_cooperative_matrix };
10358|     11|            symbolTable.setFunctionExtensions("coopMatLoadNV",   2, coopExt);
10359|     11|            symbolTable.setFunctionExtensions("coopMatStoreNV",  2, coopExt);
10360|     11|            symbolTable.setFunctionExtensions("coopMatMulAddNV", 2, coopExt);
10361|     11|        }
10362|       |
10363|     11|        {
10364|     11|            auto coopMatKHRCallback = [](const char *name) -> std::vector<const char *> {
10365|     11|                std::vector<const char *> ret;
10366|     11|                if (strstr(name, "u64") != nullptr) {
10367|     11|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10368|     11|                } else {
10369|     11|                    ret.push_back(E_GL_KHR_cooperative_matrix);
10370|     11|                }
10371|     11|                return ret;
10372|     11|            };
10373|     11|            auto coopMat2NVCallback = [](const char *name) -> std::vector<const char *> {
10374|     11|                std::vector<const char *> ret;
10375|     11|                if (strstr(name, "u64") != nullptr) {
10376|     11|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10377|     11|                } else {
10378|     11|                    ret.push_back(E_GL_NV_cooperative_matrix2);
10379|     11|                }
10380|     11|                return ret;
10381|     11|            };
10382|       |
10383|     11|            symbolTable.setFunctionExtensionsCallback("coopMatLoad",   coopMatKHRCallback);
10384|     11|            symbolTable.setFunctionExtensionsCallback("coopMatStore",  coopMatKHRCallback);
10385|     11|            symbolTable.setFunctionExtensions("coopMatMulAdd", 1, &E_GL_KHR_cooperative_matrix);
10386|       |
10387|     11|            symbolTable.setFunctionExtensionsCallback("coopMatLoadTensorNV",   coopMat2NVCallback);
10388|     11|            symbolTable.setFunctionExtensionsCallback("coopMatStoreTensorNV",   coopMat2NVCallback);
10389|       |
10390|     11|            symbolTable.setFunctionExtensions("coopMatReduceNV",   1, &E_GL_NV_cooperative_matrix2);
10391|     11|            symbolTable.setFunctionExtensions("coopMatPerElementNV",  1, &E_GL_NV_cooperative_matrix2);
10392|     11|            symbolTable.setFunctionExtensions("coopMatTransposeNV",   1, &E_GL_NV_cooperative_matrix2);
10393|       |
10394|     11|            symbolTable.setFunctionExtensions("createTensorLayoutNV",           1, &E_GL_NV_cooperative_matrix2);
10395|     11|            symbolTable.setFunctionExtensions("setTensorLayoutBlockSizeNV",     1, &E_GL_NV_cooperative_matrix2);
10396|     11|            symbolTable.setFunctionExtensions("setTensorLayoutDimensionNV",     1, &E_GL_NV_cooperative_matrix2);
10397|     11|            symbolTable.setFunctionExtensions("setTensorLayoutStrideNV",        1, &E_GL_NV_cooperative_matrix2);
10398|     11|            symbolTable.setFunctionExtensions("sliceTensorLayoutNV",            1, &E_GL_NV_cooperative_matrix2);
10399|     11|            symbolTable.setFunctionExtensions("setTensorLayoutClampValueNV",    1, &E_GL_NV_cooperative_matrix2);
10400|       |
10401|     11|            symbolTable.setFunctionExtensions("createTensorViewNV",             1, &E_GL_NV_cooperative_matrix2);
10402|     11|            symbolTable.setFunctionExtensions("setTensorViewDimensionsNV",      1, &E_GL_NV_cooperative_matrix2);
10403|     11|            symbolTable.setFunctionExtensions("setTensorViewStrideNV",          1, &E_GL_NV_cooperative_matrix2);
10404|     11|            symbolTable.setFunctionExtensions("setTensorViewClipNV",            1, &E_GL_NV_cooperative_matrix2);
10405|     11|        }
10406|       |
10407|     11|        {
10408|     11|            symbolTable.setFunctionExtensions("coopMatReduceEXT",           1, &E_GL_EXT_cooperative_matrix_maintenance1);
10409|     11|            symbolTable.setFunctionExtensions("coopMatPerElementEXT",       1, &E_GL_EXT_cooperative_matrix_maintenance1);
10410|     11|            symbolTable.setFunctionExtensions("coopMatTransposeEXT",        1, &E_GL_EXT_cooperative_matrix_maintenance1);
10411|     11|            symbolTable.setFunctionExtensions("coopMatGetCoordinateEXT",    1, &E_GL_EXT_cooperative_matrix_maintenance1);
10412|     11|        }
10413|       |
10414|     11|        {
10415|     11|            symbolTable.setFunctionExtensions("tensorReadARM",   1, &E_GL_ARM_tensors);
10416|     11|            symbolTable.setFunctionExtensions("tensorWriteARM",  1, &E_GL_ARM_tensors);
10417|     11|            symbolTable.setFunctionExtensions("tensorSizeARM",   1, &E_GL_ARM_tensors);
10418|     11|        }
10419|     11|        {
10420|     11|            auto coopVecCallback = [](const char *name) -> std::vector<const char *> {
10421|     11|                std::vector<const char *> ret;
10422|       |                // This looks for u64 as the last parameter (the offset)
10423|     11|                if (strstr(name, "u641;") != nullptr) {
10424|     11|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10425|     11|                } else {
10426|     11|                    ret.push_back(E_GL_NV_cooperative_vector);
10427|     11|                }
10428|     11|                return ret;
10429|     11|            };
10430|     11|            symbolTable.setFunctionExtensionsCallback("coopVecMatMulNV", coopVecCallback);
10431|     11|            symbolTable.setFunctionExtensionsCallback("coopVecMatMulAddNV", coopVecCallback);
10432|     11|            symbolTable.setFunctionExtensionsCallback("coopVecLoadNV", coopVecCallback);
10433|     11|            symbolTable.setFunctionExtensionsCallback("coopVecStoreNV", coopVecCallback);
10434|     11|            symbolTable.setFunctionExtensionsCallback("coopVecOuterProductAccumulateNV", coopVecCallback);
10435|     11|            symbolTable.setFunctionExtensionsCallback("coopVecReduceSumAccumulateNV", coopVecCallback);
10436|     11|        }
10437|       |
10438|     11|        {
10439|     11|          symbolTable.setFunctionExtensions("bitcastQCOM", 1, &E_GL_QCOM_cooperative_matrix_conversion);
10440|     11|          symbolTable.setFunctionExtensions("extractSubArrayQCOM", 1, &E_GL_QCOM_cooperative_matrix_conversion);
10441|     11|          symbolTable.setFunctionExtensions("vectorToCoopmatQCOM", 1, &E_GL_QCOM_cooperative_matrix_conversion);
10442|     11|          symbolTable.setFunctionExtensions("coopmatToVectorQCOM", 1, &E_GL_QCOM_cooperative_matrix_conversion);
10443|     11|        }
10444|       |
10445|     11|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (10445:14): [True: 11, False: 0]
  |  Branch (10445:39): [True: 11, False: 0]
  |  Branch (10445:59): [True: 0, False: 0]
  |  Branch (10445:84): [True: 0, False: 0]
  ------------------
10446|     11|            const char* const derivativeExts[] = { E_GL_NV_compute_shader_derivatives, E_GL_KHR_compute_shader_derivatives };
10447|     11|            if (language == EShLangCompute) {
  ------------------
  |  Branch (10447:17): [True: 11, False: 0]
  ------------------
10448|     11|                symbolTable.setFunctionExtensions("dFdx",                   2, derivativeExts);
10449|     11|                symbolTable.setFunctionExtensions("dFdy",                   2, derivativeExts);
10450|     11|                symbolTable.setFunctionExtensions("fwidth",                 2, derivativeExts);
10451|     11|                symbolTable.setFunctionExtensions("dFdxFine",               2, derivativeExts);
10452|     11|                symbolTable.setFunctionExtensions("dFdyFine",               2, derivativeExts);
10453|     11|                symbolTable.setFunctionExtensions("fwidthFine",             2, derivativeExts);
10454|     11|                symbolTable.setFunctionExtensions("dFdxCoarse",             2, derivativeExts);
10455|     11|                symbolTable.setFunctionExtensions("dFdyCoarse",             2, derivativeExts);
10456|     11|                symbolTable.setFunctionExtensions("fwidthCoarse",           2, derivativeExts);
10457|     11|            } else if (language == EShLangTask || language == EShLangMesh) {
  ------------------
  |  Branch (10457:24): [True: 0, False: 0]
  |  Branch (10457:51): [True: 0, False: 0]
  ------------------
10458|      0|                symbolTable.setFunctionExtensions("dFdx",                   1, &E_GL_KHR_compute_shader_derivatives);
10459|      0|                symbolTable.setFunctionExtensions("dFdy",                   1, &E_GL_KHR_compute_shader_derivatives);
10460|      0|                symbolTable.setFunctionExtensions("fwidth",                 1, &E_GL_KHR_compute_shader_derivatives);
10461|      0|                symbolTable.setFunctionExtensions("dFdxFine",               1, &E_GL_KHR_compute_shader_derivatives);
10462|      0|                symbolTable.setFunctionExtensions("dFdyFine",               1, &E_GL_KHR_compute_shader_derivatives);
10463|      0|                symbolTable.setFunctionExtensions("fwidthFine",             1, &E_GL_KHR_compute_shader_derivatives);
10464|      0|                symbolTable.setFunctionExtensions("dFdxCoarse",             1, &E_GL_KHR_compute_shader_derivatives);
10465|      0|                symbolTable.setFunctionExtensions("dFdyCoarse",             1, &E_GL_KHR_compute_shader_derivatives);
10466|      0|                symbolTable.setFunctionExtensions("fwidthCoarse",           1, &E_GL_KHR_compute_shader_derivatives);
10467|      0|            }
10468|     11|        }
10469|       |
10470|     11|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10470:14): [True: 0, False: 11]
  |  Branch (10470:39): [True: 0, False: 0]
  ------------------
10471|     11|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10471:14): [True: 11, False: 0]
  |  Branch (10471:39): [True: 11, False: 0]
  ------------------
10472|     11|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10473|     11|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10474|     11|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10475|     11|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10476|     11|        }
10477|       |
10478|     11|        if ((profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (10478:14): [True: 11, False: 0]
  |  Branch (10478:39): [True: 0, False: 11]
  ------------------
10479|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexPositionNV", 1, &E_GL_NV_displacement_micromap);
10480|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexBarycentricNV", 1, &E_GL_NV_displacement_micromap);
10481|      0|        }
10482|       |
10483|       |        // GL_EXT_integer_dot_product
10484|     11|        if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (10484:14): [True: 0, False: 11]
  |  Branch (10484:39): [True: 0, False: 0]
  ------------------
10485|     11|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10485:14): [True: 11, False: 0]
  |  Branch (10485:39): [True: 11, False: 0]
  ------------------
10486|     11|            symbolTable.setFunctionExtensions("dotEXT", 1, &E_GL_EXT_integer_dot_product);
10487|     11|            symbolTable.setFunctionExtensions("dotPacked4x8EXT", 1, &E_GL_EXT_integer_dot_product);
10488|     11|            symbolTable.setFunctionExtensions("dotAccSatEXT", 1, &E_GL_EXT_integer_dot_product);
10489|     11|            symbolTable.setFunctionExtensions("dotPacked4x8AccSatEXT", 1, &E_GL_EXT_integer_dot_product);
10490|     11|        }
10491|       |
10492|     11|        {
10493|     11|            symbolTable.setFunctionExtensions("bfloat16BitsToIntEXT", 1, &E_GL_EXT_bfloat16);
10494|     11|            symbolTable.setFunctionExtensions("bfloat16BitsToUintEXT", 1, &E_GL_EXT_bfloat16);
10495|     11|            symbolTable.setFunctionExtensions("intBitsToBFloat16EXT", 1, &E_GL_EXT_bfloat16);
10496|     11|            symbolTable.setFunctionExtensions("uintBitsToBFloat16EXT", 1, &E_GL_EXT_bfloat16);
10497|       |
10498|     11|            symbolTable.setFunctionExtensions("floate5m2BitsToIntEXT", 1, &E_GL_EXT_float_e5m2);
10499|     11|            symbolTable.setFunctionExtensions("floate5m2BitsToUintEXT", 1, &E_GL_EXT_float_e5m2);
10500|     11|            symbolTable.setFunctionExtensions("intBitsToFloate5m2EXT", 1, &E_GL_EXT_float_e5m2);
10501|     11|            symbolTable.setFunctionExtensions("uintBitsToFloate5m2EXT", 1, &E_GL_EXT_float_e5m2);
10502|       |
10503|     11|            symbolTable.setFunctionExtensions("floate4m3BitsToIntEXT", 1, &E_GL_EXT_float_e4m3);
10504|     11|            symbolTable.setFunctionExtensions("floate4m3BitsToUintEXT", 1, &E_GL_EXT_float_e4m3);
10505|     11|            symbolTable.setFunctionExtensions("intBitsToFloate4m3EXT", 1, &E_GL_EXT_float_e4m3);
10506|     11|            symbolTable.setFunctionExtensions("uintBitsToFloate4m3EXT", 1, &E_GL_EXT_float_e4m3);
10507|       |
10508|     11|            const char *float8exts[] = {E_GL_EXT_float_e5m2, E_GL_EXT_float_e4m3};
10509|     11|            symbolTable.setFunctionExtensions("saturatedConvertEXT", 2, float8exts);
10510|       |
10511|     11|            symbolTable.setFunctionExtensions("floatue8m0BitsToIntEXT", 1, &E_GL_EXT_float_ue8m0);
10512|     11|            symbolTable.setFunctionExtensions("floatue8m0BitsToUintEXT", 1, &E_GL_EXT_float_ue8m0);
10513|     11|            symbolTable.setFunctionExtensions("intBitsToFloatue8m0EXT", 1, &E_GL_EXT_float_ue8m0);
10514|     11|            symbolTable.setFunctionExtensions("uintBitsToFloatue8m0EXT", 1, &E_GL_EXT_float_ue8m0);
10515|       |
10516|     11|            symbolTable.setFunctionExtensions("floatmxint8BitsToIntEXT", 1, &E_GL_EXT_float_mxint8);
10517|     11|            symbolTable.setFunctionExtensions("floatmxint8BitsToUintEXT", 1, &E_GL_EXT_float_mxint8);
10518|     11|            symbolTable.setFunctionExtensions("intBitsToFloatmxint8EXT", 1, &E_GL_EXT_float_mxint8);
10519|     11|            symbolTable.setFunctionExtensions("uintBitsToFloatmxint8EXT", 1, &E_GL_EXT_float_mxint8);
10520|       |
10521|     11|            symbolTable.setFunctionExtensions("unpackFloat2xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10522|     11|            symbolTable.setFunctionExtensions("unpackFloat4xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10523|     11|            symbolTable.setFunctionExtensions("unpackFloat8xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10524|     11|            symbolTable.setFunctionExtensions("unpackFloat16xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10525|     11|            symbolTable.setFunctionExtensions("packFloat2xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10526|     11|            symbolTable.setFunctionExtensions("packFloat4xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10527|     11|            symbolTable.setFunctionExtensions("packFloat8xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10528|     11|            symbolTable.setFunctionExtensions("packFloat16xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10529|       |
10530|     11|            symbolTable.setFunctionExtensions("unpackFloat4xfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10531|     11|            symbolTable.setFunctionExtensions("unpackFloat8xfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10532|     11|            symbolTable.setFunctionExtensions("unpackFloat16xfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10533|     11|            symbolTable.setFunctionExtensions("packFloat4xfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10534|     11|            symbolTable.setFunctionExtensions("packFloat8xfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10535|     11|            symbolTable.setFunctionExtensions("packFloat16xfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10536|       |
10537|     11|            symbolTable.setFunctionExtensions("unpackFloat4xfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10538|     11|            symbolTable.setFunctionExtensions("unpackFloat8xfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10539|     11|            symbolTable.setFunctionExtensions("unpackFloat16xfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10540|     11|            symbolTable.setFunctionExtensions("packFloat4xfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10541|     11|            symbolTable.setFunctionExtensions("packFloat8xfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10542|     11|            symbolTable.setFunctionExtensions("packFloat16xfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10543|       |
10544|     11|            symbolTable.setFunctionExtensions("bitcastExtractfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10545|     11|            symbolTable.setFunctionExtensions("bitcastExtractfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10546|     11|            symbolTable.setFunctionExtensions("bitcastExtractfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10547|     11|        }
10548|       |
10549|       |        // E_SPV_QCOM_tile_shading
10550|     11|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10550:14): [True: 0, False: 11]
  |  Branch (10550:39): [True: 0, False: 0]
  ------------------
10551|     11|            (profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (10551:14): [True: 11, False: 0]
  |  Branch (10551:39): [True: 0, False: 11]
  ------------------
10552|      0|            BuiltInVariable("gl_TileOffsetQCOM",        EbvTileOffsetQCOM,      symbolTable);
10553|      0|            BuiltInVariable("gl_TileDimensionQCOM",     EbvTileDimensionQCOM,   symbolTable);
10554|      0|            BuiltInVariable("gl_TileApronSizeQCOM",     EbvTileApronSizeQCOM,   symbolTable);
10555|       |
10556|      0|            symbolTable.setVariableExtensions("gl_TileOffsetQCOM",        1, &E_GL_QCOM_tile_shading);
10557|      0|            symbolTable.setVariableExtensions("gl_TileDimensionQCOM",     1, &E_GL_QCOM_tile_shading);
10558|      0|            symbolTable.setVariableExtensions("gl_TileApronSizeQCOM",     1, &E_GL_QCOM_tile_shading);
10559|      0|        }
10560|     11|        break;
10561|       |
10562|     11|    case EShLangRayGen:
  ------------------
  |  Branch (10562:5): [True: 11, False: 360]
  ------------------
10563|     22|    case EShLangIntersect:
  ------------------
  |  Branch (10563:5): [True: 11, False: 360]
  ------------------
10564|     33|    case EShLangAnyHit:
  ------------------
  |  Branch (10564:5): [True: 11, False: 360]
  ------------------
10565|     44|    case EShLangClosestHit:
  ------------------
  |  Branch (10565:5): [True: 11, False: 360]
  ------------------
10566|     55|    case EShLangMiss:
  ------------------
  |  Branch (10566:5): [True: 11, False: 360]
  ------------------
10567|     66|    case EShLangCallable:
  ------------------
  |  Branch (10567:5): [True: 11, False: 360]
  ------------------
10568|     66|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (10568:13): [True: 66, False: 0]
  |  Branch (10568:38): [True: 0, False: 66]
  ------------------
10569|      0|            const char *rtexts[] = { E_GL_NV_ray_tracing, E_GL_EXT_ray_tracing };
10570|      0|            symbolTable.setVariableExtensions("gl_LaunchIDNV", 1, &E_GL_NV_ray_tracing);
10571|      0|            symbolTable.setVariableExtensions("gl_LaunchIDEXT", 1, &E_GL_EXT_ray_tracing);
10572|      0|            symbolTable.setVariableExtensions("gl_LaunchSizeNV", 1, &E_GL_NV_ray_tracing);
10573|      0|            symbolTable.setVariableExtensions("gl_LaunchSizeEXT", 1, &E_GL_EXT_ray_tracing);
10574|      0|            symbolTable.setVariableExtensions("gl_PrimitiveID", 2, rtexts);
10575|      0|            symbolTable.setVariableExtensions("gl_InstanceID", 2, rtexts);
10576|      0|            symbolTable.setVariableExtensions("gl_InstanceCustomIndexNV", 1, &E_GL_NV_ray_tracing);
10577|      0|            symbolTable.setVariableExtensions("gl_InstanceCustomIndexEXT", 1, &E_GL_EXT_ray_tracing);
10578|      0|            symbolTable.setVariableExtensions("gl_GeometryIndexEXT", 1, &E_GL_EXT_ray_tracing);
10579|      0|            symbolTable.setVariableExtensions("gl_WorldRayOriginNV", 1, &E_GL_NV_ray_tracing);
10580|      0|            symbolTable.setVariableExtensions("gl_WorldRayOriginEXT", 1, &E_GL_EXT_ray_tracing);
10581|      0|            symbolTable.setVariableExtensions("gl_WorldRayDirectionNV", 1, &E_GL_NV_ray_tracing);
10582|      0|            symbolTable.setVariableExtensions("gl_WorldRayDirectionEXT", 1, &E_GL_EXT_ray_tracing);
10583|      0|            symbolTable.setVariableExtensions("gl_ObjectRayOriginNV", 1, &E_GL_NV_ray_tracing);
10584|      0|            symbolTable.setVariableExtensions("gl_ObjectRayOriginEXT", 1, &E_GL_EXT_ray_tracing);
10585|      0|            symbolTable.setVariableExtensions("gl_ObjectRayDirectionNV", 1, &E_GL_NV_ray_tracing);
10586|      0|            symbolTable.setVariableExtensions("gl_ObjectRayDirectionEXT", 1, &E_GL_EXT_ray_tracing);
10587|      0|            symbolTable.setVariableExtensions("gl_RayTminNV", 1, &E_GL_NV_ray_tracing);
10588|      0|            symbolTable.setVariableExtensions("gl_RayTminEXT", 1, &E_GL_EXT_ray_tracing);
10589|      0|            symbolTable.setVariableExtensions("gl_RayTmaxNV", 1, &E_GL_NV_ray_tracing);
10590|      0|            symbolTable.setVariableExtensions("gl_RayTmaxEXT", 1, &E_GL_EXT_ray_tracing);
10591|      0|            symbolTable.setVariableExtensions("gl_CullMaskEXT", 1, &E_GL_EXT_ray_cull_mask);
10592|      0|            symbolTable.setVariableExtensions("gl_HitTNV", 1, &E_GL_NV_ray_tracing);
10593|      0|            symbolTable.setVariableExtensions("gl_HitTEXT", 1, &E_GL_EXT_ray_tracing);
10594|      0|            symbolTable.setVariableExtensions("gl_HitKindNV", 1, &E_GL_NV_ray_tracing);
10595|      0|            symbolTable.setVariableExtensions("gl_HitKindEXT", 1, &E_GL_EXT_ray_tracing);
10596|      0|            symbolTable.setVariableExtensions("gl_ObjectToWorldNV", 1, &E_GL_NV_ray_tracing);
10597|      0|            symbolTable.setVariableExtensions("gl_ObjectToWorldEXT", 1, &E_GL_EXT_ray_tracing);
10598|      0|            symbolTable.setVariableExtensions("gl_ObjectToWorld3x4EXT", 1, &E_GL_EXT_ray_tracing);
10599|      0|            symbolTable.setVariableExtensions("gl_WorldToObjectNV", 1, &E_GL_NV_ray_tracing);
10600|      0|            symbolTable.setVariableExtensions("gl_WorldToObjectEXT", 1, &E_GL_EXT_ray_tracing);
10601|      0|            symbolTable.setVariableExtensions("gl_WorldToObject3x4EXT", 1, &E_GL_EXT_ray_tracing);
10602|      0|            symbolTable.setVariableExtensions("gl_IncomingRayFlagsNV", 1, &E_GL_NV_ray_tracing);
10603|      0|            symbolTable.setVariableExtensions("gl_IncomingRayFlagsEXT", 1, &E_GL_EXT_ray_tracing);
10604|      0|            symbolTable.setVariableExtensions("gl_CurrentRayTimeNV", 1, &E_GL_NV_ray_tracing_motion_blur);
10605|      0|            symbolTable.setVariableExtensions("gl_HitTriangleVertexPositionsEXT", 1, &E_GL_EXT_ray_tracing_position_fetch);
10606|      0|            symbolTable.setVariableExtensions("gl_HitMicroTriangleVertexPositionsNV", 1, &E_GL_NV_displacement_micromap);
10607|      0|            symbolTable.setVariableExtensions("gl_HitMicroTriangleVertexBarycentricsNV", 1, &E_GL_NV_displacement_micromap);
10608|      0|            symbolTable.setVariableExtensions("gl_ClusterIDNV", 1, &E_GL_NV_cluster_acceleration_structure);
10609|      0|            symbolTable.setVariableExtensions("gl_HitKindSphereNV", 1, &E_GL_NV_linear_swept_spheres);
10610|      0|            symbolTable.setVariableExtensions("gl_HitKindLSSNV", 1, &E_GL_NV_linear_swept_spheres);
10611|      0|            symbolTable.setVariableExtensions("gl_HitSpherePositionNV", 1, &E_GL_NV_linear_swept_spheres);
10612|      0|            symbolTable.setVariableExtensions("gl_HitSphereRadiusNV", 1, &E_GL_NV_linear_swept_spheres);
10613|      0|            symbolTable.setVariableExtensions("gl_HitLSSPositionNV", 1, &E_GL_NV_linear_swept_spheres);
10614|      0|            symbolTable.setVariableExtensions("gl_HitLSSRadiiNV", 1, &E_GL_NV_linear_swept_spheres);
10615|       |
10616|      0|            symbolTable.setVariableExtensions("gl_DeviceIndex", 1, &E_GL_EXT_device_group);
10617|       |
10618|       |
10619|      0|            symbolTable.setFunctionExtensions("traceNV", 1, &E_GL_NV_ray_tracing);
10620|      0|            symbolTable.setFunctionExtensions("traceRayMotionNV", 1, &E_GL_NV_ray_tracing_motion_blur);
10621|      0|            symbolTable.setFunctionExtensions("traceRayEXT", 1, &E_GL_EXT_ray_tracing);
10622|      0|            symbolTable.setFunctionExtensions("reportIntersectionNV", 1, &E_GL_NV_ray_tracing);
10623|      0|            symbolTable.setFunctionExtensions("reportIntersectionEXT", 1, &E_GL_EXT_ray_tracing);
10624|      0|            symbolTable.setFunctionExtensions("ignoreIntersectionNV", 1, &E_GL_NV_ray_tracing);
10625|      0|            symbolTable.setFunctionExtensions("terminateRayNV", 1, &E_GL_NV_ray_tracing);
10626|      0|            symbolTable.setFunctionExtensions("executeCallableNV", 1, &E_GL_NV_ray_tracing);
10627|      0|            symbolTable.setFunctionExtensions("executeCallableEXT", 1, &E_GL_EXT_ray_tracing);
10628|       |
10629|      0|            symbolTable.setFunctionExtensions("hitObjectTraceRayNV", 1, &E_GL_NV_shader_invocation_reorder);
10630|      0|            symbolTable.setFunctionExtensions("hitObjectTraceRayMotionNV", 1, &E_GL_NV_shader_invocation_reorder);
10631|      0|            symbolTable.setFunctionExtensions("hitObjectRecordHitNV", 1, &E_GL_NV_shader_invocation_reorder);
10632|      0|            symbolTable.setFunctionExtensions("hitObjectRecordHitMotionNV", 1, &E_GL_NV_shader_invocation_reorder);
10633|      0|            symbolTable.setFunctionExtensions("hitObjectRecordHitWithIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10634|      0|            symbolTable.setFunctionExtensions("hitObjectRecordHitWithIndexMotionNV", 1, &E_GL_NV_shader_invocation_reorder);
10635|      0|            symbolTable.setFunctionExtensions("hitObjectRecordMissNV", 1, &E_GL_NV_shader_invocation_reorder);
10636|      0|            symbolTable.setFunctionExtensions("hitObjectRecordMissMotionNV", 1, &E_GL_NV_shader_invocation_reorder);
10637|      0|            symbolTable.setFunctionExtensions("hitObjectRecordEmptyNV", 1, &E_GL_NV_shader_invocation_reorder);
10638|      0|            symbolTable.setFunctionExtensions("hitObjectExecuteShaderNV", 1, &E_GL_NV_shader_invocation_reorder);
10639|      0|            symbolTable.setFunctionExtensions("hitObjectIsEmptyNV", 1, &E_GL_NV_shader_invocation_reorder);
10640|      0|            symbolTable.setFunctionExtensions("hitObjectIsMissNV", 1, &E_GL_NV_shader_invocation_reorder);
10641|      0|            symbolTable.setFunctionExtensions("hitObjectIsHitNV", 1, &E_GL_NV_shader_invocation_reorder);
10642|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayTMinNV", 1, &E_GL_NV_shader_invocation_reorder);
10643|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayTMaxNV", 1, &E_GL_NV_shader_invocation_reorder);
10644|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectRayOriginNV", 1, &E_GL_NV_shader_invocation_reorder);
10645|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectRayDirectionNV", 1, &E_GL_NV_shader_invocation_reorder);
10646|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldRayOriginNV", 1, &E_GL_NV_shader_invocation_reorder);
10647|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldRayDirectionNV", 1, &E_GL_NV_shader_invocation_reorder);
10648|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldToObjectNV", 1, &E_GL_NV_shader_invocation_reorder);
10649|      0|            symbolTable.setFunctionExtensions("hitObjectGetbjectToWorldNV", 1, &E_GL_NV_shader_invocation_reorder);
10650|      0|            symbolTable.setFunctionExtensions("hitObjectGetInstanceCustomIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10651|      0|            symbolTable.setFunctionExtensions("hitObjectGetInstanceIdNV", 1, &E_GL_NV_shader_invocation_reorder);
10652|      0|            symbolTable.setFunctionExtensions("hitObjectGetGeometryIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10653|      0|            symbolTable.setFunctionExtensions("hitObjectGetPrimitiveIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10654|      0|            symbolTable.setFunctionExtensions("hitObjectGetHitKindNV", 1, &E_GL_NV_shader_invocation_reorder);
10655|      0|            symbolTable.setFunctionExtensions("hitObjectGetAttributesNV", 1, &E_GL_NV_shader_invocation_reorder);
10656|      0|            symbolTable.setFunctionExtensions("hitObjectGetCurrentTimeNV", 1, &E_GL_NV_shader_invocation_reorder);
10657|      0|            symbolTable.setFunctionExtensions("hitObjectGetShaderBindingTableRecordIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10658|      0|            symbolTable.setFunctionExtensions("hitObjectGetShaderRecordBufferHandleNV", 1, &E_GL_NV_shader_invocation_reorder);
10659|      0|            symbolTable.setFunctionExtensions("hitObjectGetClusterIdNV", 1, &E_GL_NV_cluster_acceleration_structure);
10660|      0|            symbolTable.setFunctionExtensions("reorderThreadNV", 1, &E_GL_NV_shader_invocation_reorder);
10661|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexPositionNV", 1, &E_GL_NV_displacement_micromap);
10662|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexBarycentricNV", 1, &E_GL_NV_displacement_micromap);
10663|      0|            symbolTable.setFunctionExtensions("hitObjectGetSpherePositionNV", 1, &E_GL_NV_linear_swept_spheres);
10664|      0|            symbolTable.setFunctionExtensions("hitObjectGetSphereRadiusNV", 1, &E_GL_NV_linear_swept_spheres);
10665|      0|            symbolTable.setFunctionExtensions("hitObjectGetLSSPositionsNV", 1, &E_GL_NV_linear_swept_spheres);
10666|      0|            symbolTable.setFunctionExtensions("hitObjectGetLSSRadiiNV", 1, &E_GL_NV_linear_swept_spheres);
10667|      0|            symbolTable.setFunctionExtensions("hitObjectIsSphereHitNV", 1, &E_GL_NV_linear_swept_spheres);
10668|      0|            symbolTable.setFunctionExtensions("hitObjectIsLSSHitNV", 1, &E_GL_NV_linear_swept_spheres);
10669|      0|            symbolTable.setFunctionExtensions("hitObjectTraceRayEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10670|      0|            symbolTable.setFunctionExtensions("hitObjectTraceRayMotionEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10671|      0|            symbolTable.setFunctionExtensions("hitObjectRecordMissEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10672|      0|            symbolTable.setFunctionExtensions("hitObjectRecordMissMotionEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10673|      0|            symbolTable.setFunctionExtensions("hitObjectRecordEmptyEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10674|      0|            symbolTable.setFunctionExtensions("hitObjectExecuteShaderEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10675|      0|            symbolTable.setFunctionExtensions("hitObjectIsEmptyEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10676|      0|            symbolTable.setFunctionExtensions("hitObjectIsMissEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10677|      0|            symbolTable.setFunctionExtensions("hitObjectIsHitEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10678|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayTMinEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10679|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayTMaxEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10680|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayFlagsEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10681|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectRayOriginEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10682|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectRayDirectionEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10683|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldRayOriginEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10684|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldRayDirectionEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10685|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldToObjectEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10686|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectToWorldEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10687|      0|            symbolTable.setFunctionExtensions("hitObjectGetInstanceCustomIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10688|      0|            symbolTable.setFunctionExtensions("hitObjectGetInstanceIdEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10689|      0|            symbolTable.setFunctionExtensions("hitObjectGetGeometryIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10690|      0|            symbolTable.setFunctionExtensions("hitObjectGetPrimitiveIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10691|      0|            symbolTable.setFunctionExtensions("hitObjectGetHitKindEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10692|      0|            symbolTable.setFunctionExtensions("hitObjectGetAttributesEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10693|      0|            symbolTable.setFunctionExtensions("hitObjectGetCurrentTimeEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10694|      0|            symbolTable.setFunctionExtensions("hitObjectGetShaderBindingTableRecordIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10695|      0|            symbolTable.setFunctionExtensions("hitObjectGetShaderRecordBufferHandleEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10696|      0|            symbolTable.setFunctionExtensions("hitObjectSetShaderBindingTableRecordIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10697|      0|            symbolTable.setFunctionExtensions("reorderThreadEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10698|      0|            symbolTable.setFunctionExtensions("hitObjectReorderExecuteEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10699|      0|            symbolTable.setFunctionExtensions("hitObjectTraceReorderExecuteEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10700|      0|            symbolTable.setFunctionExtensions("hitObjectTraceMotionReorderExecuteEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10701|      0|            symbolTable.setFunctionExtensions("hitObjectRecordFromQueryEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10702|      0|            symbolTable.setFunctionExtensions("hitObjectGetIntersectionTriangleVertexPositionsEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10703|       |
10704|       |
10705|      0|            BuiltInVariable("gl_LaunchIDNV",             EbvLaunchId,           symbolTable);
10706|      0|            BuiltInVariable("gl_LaunchIDEXT",            EbvLaunchId,           symbolTable);
10707|      0|            BuiltInVariable("gl_LaunchSizeNV",           EbvLaunchSize,         symbolTable);
10708|      0|            BuiltInVariable("gl_LaunchSizeEXT",          EbvLaunchSize,         symbolTable);
10709|      0|            BuiltInVariable("gl_PrimitiveID",            EbvPrimitiveId,        symbolTable);
10710|      0|            BuiltInVariable("gl_InstanceID",             EbvInstanceId,         symbolTable);
10711|      0|            BuiltInVariable("gl_InstanceCustomIndexNV",  EbvInstanceCustomIndex,symbolTable);
10712|      0|            BuiltInVariable("gl_InstanceCustomIndexEXT", EbvInstanceCustomIndex,symbolTable);
10713|      0|            BuiltInVariable("gl_GeometryIndexEXT",       EbvGeometryIndex,      symbolTable);
10714|      0|            BuiltInVariable("gl_WorldRayOriginNV",       EbvWorldRayOrigin,     symbolTable);
10715|      0|            BuiltInVariable("gl_WorldRayOriginEXT",      EbvWorldRayOrigin,     symbolTable);
10716|      0|            BuiltInVariable("gl_WorldRayDirectionNV",    EbvWorldRayDirection,  symbolTable);
10717|      0|            BuiltInVariable("gl_WorldRayDirectionEXT",   EbvWorldRayDirection,  symbolTable);
10718|      0|            BuiltInVariable("gl_ObjectRayOriginNV",      EbvObjectRayOrigin,    symbolTable);
10719|      0|            BuiltInVariable("gl_ObjectRayOriginEXT",     EbvObjectRayOrigin,    symbolTable);
10720|      0|            BuiltInVariable("gl_ObjectRayDirectionNV",   EbvObjectRayDirection, symbolTable);
10721|      0|            BuiltInVariable("gl_ObjectRayDirectionEXT",  EbvObjectRayDirection, symbolTable);
10722|      0|            BuiltInVariable("gl_RayTminNV",              EbvRayTmin,            symbolTable);
10723|      0|            BuiltInVariable("gl_RayTminEXT",             EbvRayTmin,            symbolTable);
10724|      0|            BuiltInVariable("gl_RayTmaxNV",              EbvRayTmax,            symbolTable);
10725|      0|            BuiltInVariable("gl_RayTmaxEXT",             EbvRayTmax,            symbolTable);
10726|      0|            BuiltInVariable("gl_CullMaskEXT",            EbvCullMask,           symbolTable);
10727|      0|            BuiltInVariable("gl_HitKindNV",              EbvHitKind,            symbolTable);
10728|      0|            BuiltInVariable("gl_HitKindEXT",             EbvHitKind,            symbolTable);
10729|      0|            BuiltInVariable("gl_ObjectToWorldNV",        EbvObjectToWorld,      symbolTable);
10730|      0|            BuiltInVariable("gl_ObjectToWorldEXT",       EbvObjectToWorld,      symbolTable);
10731|      0|            BuiltInVariable("gl_ObjectToWorld3x4EXT",    EbvObjectToWorld3x4,   symbolTable);
10732|      0|            BuiltInVariable("gl_WorldToObjectNV",        EbvWorldToObject,      symbolTable);
10733|      0|            BuiltInVariable("gl_WorldToObjectEXT",       EbvWorldToObject,      symbolTable);
10734|      0|            BuiltInVariable("gl_WorldToObject3x4EXT",    EbvWorldToObject3x4,   symbolTable);
10735|      0|            BuiltInVariable("gl_IncomingRayFlagsNV",     EbvIncomingRayFlags,   symbolTable);
10736|      0|            BuiltInVariable("gl_IncomingRayFlagsEXT",    EbvIncomingRayFlags,   symbolTable);
10737|      0|            BuiltInVariable("gl_DeviceIndex",            EbvDeviceIndex,        symbolTable);
10738|      0|            BuiltInVariable("gl_CurrentRayTimeNV",       EbvCurrentRayTimeNV,   symbolTable);
10739|      0|            BuiltInVariable("gl_HitTriangleVertexPositionsEXT", EbvPositionFetch, symbolTable);
10740|      0|            BuiltInVariable("gl_HitMicroTriangleVertexPositionsNV", EbvMicroTrianglePositionNV, symbolTable);
10741|      0|            BuiltInVariable("gl_HitMicroTriangleVertexBarycentricsNV", EbvMicroTriangleBaryNV, symbolTable);
10742|      0|            BuiltInVariable("gl_HitKindFrontFacingMicroTriangleNV", EbvHitKindFrontFacingMicroTriangleNV, symbolTable);
10743|      0|            BuiltInVariable("gl_HitKindBackFacingMicroTriangleNV", EbvHitKindBackFacingMicroTriangleNV, symbolTable);
10744|      0|            BuiltInVariable("gl_ClusterIDNV",            EbvClusterIDNV,         symbolTable);
10745|      0|            BuiltInVariable("gl_HitIsSphereNV", EbvHitIsSphereNV, symbolTable);
10746|      0|            BuiltInVariable("gl_HitIsLSSNV", EbvHitIsLSSNV, symbolTable);
10747|      0|            BuiltInVariable("gl_HitSpherePositionNV", EbvHitSpherePositionNV, symbolTable);
10748|      0|            BuiltInVariable("gl_HitSphereRadiusNV", EbvHitSphereRadiusNV, symbolTable);
10749|      0|            BuiltInVariable("gl_HitLSSPositionsNV", EbvHitLSSPositionsNV, symbolTable);
10750|      0|            BuiltInVariable("gl_HitLSSRadiiNV", EbvHitLSSRadiiNV, symbolTable);
10751|       |
10752|       |            // gl_HitT variables are aliases of their gl_RayTmax counterparts.
10753|      0|            RetargetVariable("gl_HitTNV",                "gl_RayTmaxNV",        symbolTable);
10754|      0|            RetargetVariable("gl_HitTEXT",               "gl_RayTmaxEXT",       symbolTable);
10755|       |
10756|       |            // GL_ARB_shader_ballot
10757|      0|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
10758|      0|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
10759|      0|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
10760|      0|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
10761|      0|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
10762|      0|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
10763|      0|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
10764|       |
10765|      0|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
10766|      0|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
10767|      0|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
10768|      0|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
10769|      0|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
10770|      0|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
10771|       |
10772|      0|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (10772:17): [True: 0, False: 0]
  ------------------
10773|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
10774|      0|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
10775|      0|                if (language == EShLangFragment)
  ------------------
  |  Branch (10775:21): [True: 0, False: 0]
  ------------------
10776|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
10777|      0|            }
10778|      0|            else
10779|      0|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
10780|       |
10781|       |            // GL_KHR_shader_subgroup
10782|      0|            symbolTable.setVariableExtensions("gl_NumSubgroups",         1, &E_GL_KHR_shader_subgroup_basic);
10783|      0|            symbolTable.setVariableExtensions("gl_SubgroupID",           1, &E_GL_KHR_shader_subgroup_basic);
10784|      0|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
10785|      0|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
10786|      0|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10787|      0|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10788|      0|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10789|      0|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10790|      0|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10791|       |
10792|      0|            BuiltInVariable("gl_NumSubgroups",         EbvNumSubgroups,        symbolTable);
10793|      0|            BuiltInVariable("gl_SubgroupID",           EbvSubgroupID,          symbolTable);
10794|      0|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
10795|      0|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
10796|      0|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
10797|      0|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
10798|      0|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
10799|      0|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
10800|      0|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
10801|       |
10802|       |            // GL_NV_shader_sm_builtins
10803|      0|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
10804|      0|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
10805|      0|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
10806|      0|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
10807|      0|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
10808|      0|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
10809|      0|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
10810|      0|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
10811|       |
10812|       |            // GL_ARM_shader_core_builtins
10813|      0|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
10814|      0|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
10815|      0|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10816|      0|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
10817|      0|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10818|       |
10819|      0|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
10820|      0|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
10821|      0|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
10822|      0|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
10823|      0|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
10824|      0|        }
10825|     66|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10825:14): [True: 0, False: 66]
  |  Branch (10825:39): [True: 0, False: 0]
  ------------------
10826|     66|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10826:14): [True: 66, False: 0]
  |  Branch (10826:39): [True: 66, False: 0]
  ------------------
10827|     66|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10828|     66|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10829|     66|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10830|     66|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10831|     66|        }
10832|     66|        break;
10833|       |
10834|      5|    case EShLangMesh:
  ------------------
  |  Branch (10834:5): [True: 5, False: 366]
  ------------------
10835|      5|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (10835:14): [True: 5, False: 0]
  |  Branch (10835:39): [True: 5, False: 0]
  |  Branch (10835:59): [True: 0, False: 0]
  |  Branch (10835:84): [True: 0, False: 0]
  ------------------
10836|       |            // per-vertex builtins
10837|      5|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_Position",     1, &E_GL_NV_mesh_shader);
10838|      5|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_PointSize",    1, &E_GL_NV_mesh_shader);
10839|      5|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_ClipDistance", 1, &E_GL_NV_mesh_shader);
10840|      5|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_CullDistance", 1, &E_GL_NV_mesh_shader);
10841|       |
10842|      5|            BuiltInVariable("gl_MeshVerticesNV", "gl_Position",     EbvPosition,     symbolTable);
10843|      5|            BuiltInVariable("gl_MeshVerticesNV", "gl_PointSize",    EbvPointSize,    symbolTable);
10844|      5|            BuiltInVariable("gl_MeshVerticesNV", "gl_ClipDistance", EbvClipDistance, symbolTable);
10845|      5|            BuiltInVariable("gl_MeshVerticesNV", "gl_CullDistance", EbvCullDistance, symbolTable);
10846|       |
10847|      5|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_PositionPerViewNV",     1, &E_GL_NV_mesh_shader);
10848|      5|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_ClipDistancePerViewNV", 1, &E_GL_NV_mesh_shader);
10849|      5|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_CullDistancePerViewNV", 1, &E_GL_NV_mesh_shader);
10850|       |
10851|      5|            BuiltInVariable("gl_MeshVerticesNV", "gl_PositionPerViewNV",     EbvPositionPerViewNV,     symbolTable);
10852|      5|            BuiltInVariable("gl_MeshVerticesNV", "gl_ClipDistancePerViewNV", EbvClipDistancePerViewNV, symbolTable);
10853|      5|            BuiltInVariable("gl_MeshVerticesNV", "gl_CullDistancePerViewNV", EbvCullDistancePerViewNV, symbolTable);
10854|       |
10855|       |            // per-primitive builtins
10856|      5|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_PrimitiveID",   1, &E_GL_NV_mesh_shader);
10857|      5|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_Layer",         1, &E_GL_NV_mesh_shader);
10858|      5|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_ViewportIndex", 1, &E_GL_NV_mesh_shader);
10859|      5|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_ViewportMask",  1, &E_GL_NV_mesh_shader);
10860|       |
10861|      5|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_PrimitiveID",   EbvPrimitiveId,    symbolTable);
10862|      5|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_Layer",         EbvLayer,          symbolTable);
10863|      5|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_ViewportIndex", EbvViewportIndex,  symbolTable);
10864|      5|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_ViewportMask",  EbvViewportMaskNV, symbolTable);
10865|       |
10866|       |            // per-view per-primitive builtins
10867|      5|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_LayerPerViewNV",        1, &E_GL_NV_mesh_shader);
10868|      5|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_ViewportMaskPerViewNV", 1, &E_GL_NV_mesh_shader);
10869|       |
10870|      5|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_LayerPerViewNV",        EbvLayerPerViewNV,        symbolTable);
10871|      5|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_ViewportMaskPerViewNV", EbvViewportMaskPerViewNV, symbolTable);
10872|       |
10873|       |            // other builtins
10874|      5|            symbolTable.setVariableExtensions("gl_PrimitiveCountNV",     1, &E_GL_NV_mesh_shader);
10875|      5|            symbolTable.setVariableExtensions("gl_PrimitiveIndicesNV",   1, &E_GL_NV_mesh_shader);
10876|      5|            symbolTable.setVariableExtensions("gl_MeshViewCountNV",      1, &E_GL_NV_mesh_shader);
10877|      5|            symbolTable.setVariableExtensions("gl_MeshViewIndicesNV",    1, &E_GL_NV_mesh_shader);
10878|      5|            if (profile != EEsProfile) {
  ------------------
  |  Branch (10878:17): [True: 5, False: 0]
  ------------------
10879|      5|                symbolTable.setVariableExtensions("gl_WorkGroupSize",        Num_AEP_mesh_shader, AEP_mesh_shader);
10880|      5|                symbolTable.setVariableExtensions("gl_WorkGroupID",          Num_AEP_mesh_shader, AEP_mesh_shader);
10881|      5|                symbolTable.setVariableExtensions("gl_LocalInvocationID",    Num_AEP_mesh_shader, AEP_mesh_shader);
10882|      5|                symbolTable.setVariableExtensions("gl_GlobalInvocationID",   Num_AEP_mesh_shader, AEP_mesh_shader);
10883|      5|                symbolTable.setVariableExtensions("gl_LocalInvocationIndex", Num_AEP_mesh_shader, AEP_mesh_shader);
10884|      5|            } else {
10885|      0|                symbolTable.setVariableExtensions("gl_WorkGroupSize",        1, &E_GL_NV_mesh_shader);
10886|      0|                symbolTable.setVariableExtensions("gl_WorkGroupID",          1, &E_GL_NV_mesh_shader);
10887|      0|                symbolTable.setVariableExtensions("gl_LocalInvocationID",    1, &E_GL_NV_mesh_shader);
10888|      0|                symbolTable.setVariableExtensions("gl_GlobalInvocationID",   1, &E_GL_NV_mesh_shader);
10889|      0|                symbolTable.setVariableExtensions("gl_LocalInvocationIndex", 1, &E_GL_NV_mesh_shader);
10890|      0|            }
10891|      5|            BuiltInVariable("gl_PrimitiveCountNV",     EbvPrimitiveCountNV,     symbolTable);
10892|      5|            BuiltInVariable("gl_PrimitiveIndicesNV",   EbvPrimitiveIndicesNV,   symbolTable);
10893|      5|            BuiltInVariable("gl_MeshViewCountNV",      EbvMeshViewCountNV,      symbolTable);
10894|      5|            BuiltInVariable("gl_MeshViewIndicesNV",    EbvMeshViewIndicesNV,    symbolTable);
10895|      5|            BuiltInVariable("gl_WorkGroupSize",        EbvWorkGroupSize,        symbolTable);
10896|      5|            BuiltInVariable("gl_WorkGroupID",          EbvWorkGroupId,          symbolTable);
10897|      5|            BuiltInVariable("gl_LocalInvocationID",    EbvLocalInvocationId,    symbolTable);
10898|      5|            BuiltInVariable("gl_GlobalInvocationID",   EbvGlobalInvocationId,   symbolTable);
10899|      5|            BuiltInVariable("gl_LocalInvocationIndex", EbvLocalInvocationIndex, symbolTable);
10900|       |
10901|       |            // builtin constants
10902|      5|            symbolTable.setVariableExtensions("gl_MaxMeshOutputVerticesNV",   1, &E_GL_NV_mesh_shader);
10903|      5|            symbolTable.setVariableExtensions("gl_MaxMeshOutputPrimitivesNV", 1, &E_GL_NV_mesh_shader);
10904|      5|            symbolTable.setVariableExtensions("gl_MaxMeshWorkGroupSizeNV",    1, &E_GL_NV_mesh_shader);
10905|      5|            symbolTable.setVariableExtensions("gl_MaxMeshViewCountNV",        1, &E_GL_NV_mesh_shader);
10906|       |
10907|       |            // builtin functions
10908|      5|            if (profile != EEsProfile) {
  ------------------
  |  Branch (10908:17): [True: 5, False: 0]
  ------------------
10909|      5|                symbolTable.setFunctionExtensions("barrier",                      Num_AEP_mesh_shader, AEP_mesh_shader);
10910|      5|                symbolTable.setFunctionExtensions("memoryBarrierShared",          Num_AEP_mesh_shader, AEP_mesh_shader);
10911|      5|                symbolTable.setFunctionExtensions("groupMemoryBarrier",           Num_AEP_mesh_shader, AEP_mesh_shader);
10912|      5|            } else {
10913|      0|                symbolTable.setFunctionExtensions("barrier",                      1, &E_GL_NV_mesh_shader);
10914|      0|                symbolTable.setFunctionExtensions("memoryBarrierShared",          1, &E_GL_NV_mesh_shader);
10915|      0|                symbolTable.setFunctionExtensions("groupMemoryBarrier",           1, &E_GL_NV_mesh_shader);
10916|      0|            }
10917|      5|            symbolTable.setFunctionExtensions("writePackedPrimitiveIndices4x8NV",  1, &E_GL_NV_mesh_shader);
10918|      5|        }
10919|       |
10920|      5|        if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (10920:13): [True: 5, False: 0]
  |  Branch (10920:38): [True: 5, False: 0]
  ------------------
10921|       |            // GL_EXT_Mesh_shader
10922|      5|            symbolTable.setVariableExtensions("gl_PrimitivePointIndicesEXT",    1, &E_GL_EXT_mesh_shader);
10923|      5|            symbolTable.setVariableExtensions("gl_PrimitiveLineIndicesEXT",     1, &E_GL_EXT_mesh_shader);
10924|      5|            symbolTable.setVariableExtensions("gl_PrimitiveTriangleIndicesEXT", 1, &E_GL_EXT_mesh_shader);
10925|      5|            symbolTable.setVariableExtensions("gl_NumWorkGroups",               1, &E_GL_EXT_mesh_shader);
10926|       |
10927|      5|            BuiltInVariable("gl_PrimitivePointIndicesEXT",    EbvPrimitivePointIndicesEXT,    symbolTable);
10928|      5|            BuiltInVariable("gl_PrimitiveLineIndicesEXT",     EbvPrimitiveLineIndicesEXT,     symbolTable);
10929|      5|            BuiltInVariable("gl_PrimitiveTriangleIndicesEXT", EbvPrimitiveTriangleIndicesEXT, symbolTable);
10930|      5|            BuiltInVariable("gl_NumWorkGroups",        EbvNumWorkGroups,        symbolTable);
10931|       |
10932|      5|            symbolTable.setVariableExtensions("gl_MeshVerticesEXT", "gl_Position",     1, &E_GL_EXT_mesh_shader);
10933|      5|            symbolTable.setVariableExtensions("gl_MeshVerticesEXT", "gl_PointSize",    1, &E_GL_EXT_mesh_shader);
10934|      5|            symbolTable.setVariableExtensions("gl_MeshVerticesEXT", "gl_ClipDistance", 1, &E_GL_EXT_mesh_shader);
10935|      5|            symbolTable.setVariableExtensions("gl_MeshVerticesEXT", "gl_CullDistance", 1, &E_GL_EXT_mesh_shader);
10936|       |
10937|      5|            BuiltInVariable("gl_MeshVerticesEXT", "gl_Position",     EbvPosition,     symbolTable);
10938|      5|            BuiltInVariable("gl_MeshVerticesEXT", "gl_PointSize",    EbvPointSize,    symbolTable);
10939|      5|            BuiltInVariable("gl_MeshVerticesEXT", "gl_ClipDistance", EbvClipDistance, symbolTable);
10940|      5|            BuiltInVariable("gl_MeshVerticesEXT", "gl_CullDistance", EbvCullDistance, symbolTable);
10941|       |
10942|      5|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_PrimitiveID",             1, &E_GL_EXT_mesh_shader);
10943|      5|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_Layer",                   1, &E_GL_EXT_mesh_shader);
10944|      5|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_ViewportIndex",           1, &E_GL_EXT_mesh_shader);
10945|      5|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_CullPrimitiveEXT",        1, &E_GL_EXT_mesh_shader);
10946|       |
10947|       |            // note: technically this member requires both GL_EXT_mesh_shader and GL_EXT_fragment_shading_rate
10948|       |            // since setVariableExtensions only needs *one of* the extensions to validate, it's more useful to specify EXT_fragment_shading_rate
10949|       |            // GL_EXT_mesh_shader will be required in practice by use of other fields of gl_MeshPrimitivesEXT
10950|      5|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_PrimitiveShadingRateEXT", 1, &E_GL_EXT_fragment_shading_rate);
10951|       |
10952|      5|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_PrimitiveID",              EbvPrimitiveId,    symbolTable);
10953|      5|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_Layer",                    EbvLayer,          symbolTable);
10954|      5|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_ViewportIndex",            EbvViewportIndex,  symbolTable);
10955|      5|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_CullPrimitiveEXT",         EbvCullPrimitiveEXT, symbolTable);
10956|      5|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_PrimitiveShadingRateEXT",  EbvPrimitiveShadingRateKHR, symbolTable);
10957|       |
10958|      5|            symbolTable.setFunctionExtensions("SetMeshOutputsEXT",  1, &E_GL_EXT_mesh_shader);
10959|       |
10960|       |            // GL_EXT_device_group
10961|      5|            symbolTable.setVariableExtensions("gl_DeviceIndex", 1, &E_GL_EXT_device_group);
10962|      5|            BuiltInVariable("gl_DeviceIndex", EbvDeviceIndex, symbolTable);
10963|       |
10964|       |            // GL_ARB_shader_draw_parameters
10965|      5|            symbolTable.setVariableExtensions("gl_DrawIDARB", 1, &E_GL_ARB_shader_draw_parameters);
10966|      5|            BuiltInVariable("gl_DrawIDARB", EbvDrawId, symbolTable);
10967|      5|            if (version >= 460) {
  ------------------
  |  Branch (10967:17): [True: 0, False: 5]
  ------------------
10968|      0|                BuiltInVariable("gl_DrawID", EbvDrawId, symbolTable);
10969|      0|            }
10970|       |            // GL_EXT_multiview
10971|      5|            BuiltInVariable("gl_ViewIndex", EbvViewIndex, symbolTable);
10972|      5|            symbolTable.setVariableExtensions("gl_ViewIndex", 1, &E_GL_EXT_multiview);
10973|       |
10974|       |            // GL_ARB_shader_ballot
10975|      5|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
10976|      5|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
10977|      5|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
10978|      5|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
10979|      5|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
10980|      5|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
10981|      5|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
10982|       |
10983|      5|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
10984|      5|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
10985|      5|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
10986|      5|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
10987|      5|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
10988|      5|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
10989|       |
10990|      5|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (10990:17): [True: 5, False: 0]
  ------------------
10991|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
10992|      5|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
10993|      5|                if (language == EShLangFragment)
  ------------------
  |  Branch (10993:21): [True: 0, False: 5]
  ------------------
10994|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
10995|      5|            }
10996|      0|            else
10997|      0|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
10998|      5|        }
10999|       |
11000|       |        // GL_KHR_shader_subgroup
11001|      5|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11001:14): [True: 0, False: 5]
  |  Branch (11001:39): [True: 0, False: 0]
  ------------------
11002|      5|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11002:14): [True: 5, False: 0]
  |  Branch (11002:39): [True: 5, False: 0]
  ------------------
11003|      5|            symbolTable.setVariableExtensions("gl_NumSubgroups",         1, &E_GL_KHR_shader_subgroup_basic);
11004|      5|            symbolTable.setVariableExtensions("gl_SubgroupID",           1, &E_GL_KHR_shader_subgroup_basic);
11005|      5|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
11006|      5|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
11007|      5|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11008|      5|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11009|      5|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11010|      5|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11011|      5|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11012|       |
11013|      5|            BuiltInVariable("gl_NumSubgroups",         EbvNumSubgroups,        symbolTable);
11014|      5|            BuiltInVariable("gl_SubgroupID",           EbvSubgroupID,          symbolTable);
11015|      5|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
11016|      5|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
11017|      5|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
11018|      5|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
11019|      5|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
11020|      5|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
11021|      5|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
11022|       |
11023|      5|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierShared", 1, &E_GL_KHR_shader_subgroup_basic);
11024|       |
11025|       |            // GL_NV_shader_sm_builtins
11026|      5|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
11027|      5|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
11028|      5|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
11029|      5|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
11030|      5|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
11031|      5|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
11032|      5|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
11033|      5|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
11034|       |
11035|       |            // GL_ARM_shader_core_builtins
11036|      5|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
11037|      5|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
11038|      5|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
11039|      5|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
11040|      5|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
11041|       |
11042|      5|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
11043|      5|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
11044|      5|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
11045|      5|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
11046|      5|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
11047|      5|        }
11048|       |
11049|      5|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11049:14): [True: 0, False: 5]
  |  Branch (11049:39): [True: 0, False: 0]
  ------------------
11050|      5|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (11050:14): [True: 5, False: 0]
  |  Branch (11050:39): [True: 5, False: 0]
  ------------------
11051|      5|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11052|      5|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11053|      5|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11054|      5|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11055|      5|        }
11056|       |
11057|       |        // Builtins for GL_NV_displacment_micromap
11058|      5|        if ((profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (11058:14): [True: 5, False: 0]
  |  Branch (11058:39): [True: 0, False: 5]
  ------------------
11059|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexPositionNV", 1, &E_GL_NV_displacement_micromap);
11060|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexBarycentricNV", 1, &E_GL_NV_displacement_micromap);
11061|      0|        }
11062|       |
11063|      5|        break;
11064|       |
11065|     11|    case EShLangTask:
  ------------------
  |  Branch (11065:5): [True: 11, False: 360]
  ------------------
11066|     11|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (11066:14): [True: 11, False: 0]
  |  Branch (11066:39): [True: 11, False: 0]
  |  Branch (11066:59): [True: 0, False: 0]
  |  Branch (11066:84): [True: 0, False: 0]
  ------------------
11067|     11|            symbolTable.setVariableExtensions("gl_TaskCountNV",          1, &E_GL_NV_mesh_shader);
11068|     11|            symbolTable.setVariableExtensions("gl_MeshViewCountNV",      1, &E_GL_NV_mesh_shader);
11069|     11|            symbolTable.setVariableExtensions("gl_MeshViewIndicesNV",    1, &E_GL_NV_mesh_shader);
11070|     11|            if (profile != EEsProfile) {
  ------------------
  |  Branch (11070:17): [True: 11, False: 0]
  ------------------
11071|     11|                symbolTable.setVariableExtensions("gl_WorkGroupSize",        Num_AEP_mesh_shader, AEP_mesh_shader);
11072|     11|                symbolTable.setVariableExtensions("gl_WorkGroupID",          Num_AEP_mesh_shader, AEP_mesh_shader);
11073|     11|                symbolTable.setVariableExtensions("gl_LocalInvocationID",    Num_AEP_mesh_shader, AEP_mesh_shader);
11074|     11|                symbolTable.setVariableExtensions("gl_GlobalInvocationID",   Num_AEP_mesh_shader, AEP_mesh_shader);
11075|     11|                symbolTable.setVariableExtensions("gl_LocalInvocationIndex", Num_AEP_mesh_shader, AEP_mesh_shader);
11076|     11|            } else {
11077|      0|                symbolTable.setVariableExtensions("gl_WorkGroupSize",        1, &E_GL_NV_mesh_shader);
11078|      0|                symbolTable.setVariableExtensions("gl_WorkGroupID",          1, &E_GL_NV_mesh_shader);
11079|      0|                symbolTable.setVariableExtensions("gl_LocalInvocationID",    1, &E_GL_NV_mesh_shader);
11080|      0|                symbolTable.setVariableExtensions("gl_GlobalInvocationID",   1, &E_GL_NV_mesh_shader);
11081|      0|                symbolTable.setVariableExtensions("gl_LocalInvocationIndex", 1, &E_GL_NV_mesh_shader);
11082|      0|            }
11083|       |
11084|     11|            BuiltInVariable("gl_TaskCountNV",          EbvTaskCountNV,          symbolTable);
11085|     11|            BuiltInVariable("gl_WorkGroupSize",        EbvWorkGroupSize,        symbolTable);
11086|     11|            BuiltInVariable("gl_WorkGroupID",          EbvWorkGroupId,          symbolTable);
11087|     11|            BuiltInVariable("gl_LocalInvocationID",    EbvLocalInvocationId,    symbolTable);
11088|     11|            BuiltInVariable("gl_GlobalInvocationID",   EbvGlobalInvocationId,   symbolTable);
11089|     11|            BuiltInVariable("gl_LocalInvocationIndex", EbvLocalInvocationIndex, symbolTable);
11090|     11|            BuiltInVariable("gl_MeshViewCountNV",      EbvMeshViewCountNV,      symbolTable);
11091|     11|            BuiltInVariable("gl_MeshViewIndicesNV",    EbvMeshViewIndicesNV,    symbolTable);
11092|       |
11093|     11|            symbolTable.setVariableExtensions("gl_MaxTaskWorkGroupSizeNV", 1, &E_GL_NV_mesh_shader);
11094|     11|            symbolTable.setVariableExtensions("gl_MaxMeshViewCountNV",     1, &E_GL_NV_mesh_shader);
11095|       |
11096|     11|            if (profile != EEsProfile) {
  ------------------
  |  Branch (11096:17): [True: 11, False: 0]
  ------------------
11097|     11|                symbolTable.setFunctionExtensions("barrier",                   Num_AEP_mesh_shader, AEP_mesh_shader);
11098|     11|                symbolTable.setFunctionExtensions("memoryBarrierShared",       Num_AEP_mesh_shader, AEP_mesh_shader);
11099|     11|                symbolTable.setFunctionExtensions("groupMemoryBarrier",        Num_AEP_mesh_shader, AEP_mesh_shader);
11100|     11|            } else {
11101|      0|                symbolTable.setFunctionExtensions("barrier",                   1, &E_GL_NV_mesh_shader);
11102|      0|                symbolTable.setFunctionExtensions("memoryBarrierShared",       1, &E_GL_NV_mesh_shader);
11103|      0|                symbolTable.setFunctionExtensions("groupMemoryBarrier",        1, &E_GL_NV_mesh_shader);
11104|      0|            }
11105|     11|        }
11106|       |
11107|     11|        if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (11107:13): [True: 11, False: 0]
  |  Branch (11107:38): [True: 11, False: 0]
  ------------------
11108|       |            // GL_EXT_mesh_shader
11109|     11|            symbolTable.setFunctionExtensions("EmitMeshTasksEXT",          1, &E_GL_EXT_mesh_shader);
11110|     11|            symbolTable.setVariableExtensions("gl_NumWorkGroups",        1, &E_GL_EXT_mesh_shader);
11111|     11|            BuiltInVariable("gl_NumWorkGroups",        EbvNumWorkGroups,        symbolTable);
11112|       |
11113|       |            // GL_EXT_device_group
11114|     11|            symbolTable.setVariableExtensions("gl_DeviceIndex", 1, &E_GL_EXT_device_group);
11115|     11|            BuiltInVariable("gl_DeviceIndex", EbvDeviceIndex, symbolTable);
11116|       |
11117|       |            // GL_ARB_shader_draw_parameters
11118|     11|            symbolTable.setVariableExtensions("gl_DrawIDARB", 1, &E_GL_ARB_shader_draw_parameters);
11119|     11|            BuiltInVariable("gl_DrawIDARB", EbvDrawId, symbolTable);
11120|     11|            if (version >= 460) {
  ------------------
  |  Branch (11120:17): [True: 0, False: 11]
  ------------------
11121|      0|                BuiltInVariable("gl_DrawID", EbvDrawId, symbolTable);
11122|      0|            }
11123|       |
11124|       |            // GL_ARB_shader_ballot
11125|     11|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
11126|     11|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
11127|     11|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
11128|     11|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
11129|     11|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
11130|     11|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
11131|     11|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
11132|       |
11133|     11|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
11134|     11|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
11135|     11|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
11136|     11|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
11137|     11|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
11138|     11|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
11139|       |
11140|     11|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (11140:17): [True: 11, False: 0]
  ------------------
11141|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
11142|     11|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
11143|     11|                if (language == EShLangFragment)
  ------------------
  |  Branch (11143:21): [True: 0, False: 11]
  ------------------
11144|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
11145|     11|            }
11146|      0|            else
11147|      0|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
11148|     11|        }
11149|       |
11150|       |        // GL_KHR_shader_subgroup
11151|     11|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11151:14): [True: 0, False: 11]
  |  Branch (11151:39): [True: 0, False: 0]
  ------------------
11152|     11|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11152:14): [True: 11, False: 0]
  |  Branch (11152:39): [True: 11, False: 0]
  ------------------
11153|     11|            symbolTable.setVariableExtensions("gl_NumSubgroups",         1, &E_GL_KHR_shader_subgroup_basic);
11154|     11|            symbolTable.setVariableExtensions("gl_SubgroupID",           1, &E_GL_KHR_shader_subgroup_basic);
11155|     11|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
11156|     11|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
11157|     11|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11158|     11|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11159|     11|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11160|     11|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11161|     11|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11162|       |
11163|     11|            BuiltInVariable("gl_NumSubgroups",         EbvNumSubgroups,        symbolTable);
11164|     11|            BuiltInVariable("gl_SubgroupID",           EbvSubgroupID,          symbolTable);
11165|     11|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
11166|     11|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
11167|     11|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
11168|     11|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
11169|     11|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
11170|     11|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
11171|     11|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
11172|       |
11173|     11|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierShared", 1, &E_GL_KHR_shader_subgroup_basic);
11174|       |
11175|       |            // GL_NV_shader_sm_builtins
11176|     11|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
11177|     11|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
11178|     11|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
11179|     11|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
11180|     11|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
11181|     11|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
11182|     11|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
11183|     11|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
11184|       |
11185|       |            // GL_ARM_shader_core_builtins
11186|     11|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
11187|     11|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
11188|     11|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
11189|     11|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
11190|     11|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
11191|       |
11192|     11|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
11193|     11|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
11194|     11|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
11195|     11|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
11196|     11|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
11197|     11|        }
11198|     11|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11198:14): [True: 0, False: 11]
  |  Branch (11198:39): [True: 0, False: 0]
  ------------------
11199|     11|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (11199:14): [True: 11, False: 0]
  |  Branch (11199:39): [True: 11, False: 0]
  ------------------
11200|     11|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11201|     11|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11202|     11|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11203|     11|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11204|     11|        }
11205|     11|        break;
11206|       |
11207|      0|    default:
  ------------------
  |  Branch (11207:5): [True: 0, False: 371]
  ------------------
11208|      0|        assert(false && "Language not supported");
11209|      0|        break;
11210|    371|    }
11211|       |
11212|       |    //
11213|       |    // Next, identify which built-ins have a mapping to an operator.
11214|       |    // If PureOperatorBuiltins is false, those that are not identified as such are
11215|       |    // expected to be resolved through a library of functions, versus as
11216|       |    // operations.
11217|       |    //
11218|       |
11219|    371|    relateTabledBuiltins(version, profile, spvVersion, language, symbolTable);
11220|       |
11221|    371|    symbolTable.relateToOperator("doubleBitsToInt64",  EOpDoubleBitsToInt64);
11222|    371|    symbolTable.relateToOperator("doubleBitsToUint64", EOpDoubleBitsToUint64);
11223|    371|    symbolTable.relateToOperator("int64BitsToDouble",  EOpInt64BitsToDouble);
11224|    371|    symbolTable.relateToOperator("uint64BitsToDouble", EOpUint64BitsToDouble);
11225|    371|    symbolTable.relateToOperator("halfBitsToInt16",  EOpFloat16BitsToInt16);
11226|    371|    symbolTable.relateToOperator("halfBitsToUint16", EOpFloat16BitsToUint16);
11227|    371|    symbolTable.relateToOperator("float16BitsToInt16",  EOpFloat16BitsToInt16);
11228|    371|    symbolTable.relateToOperator("float16BitsToUint16", EOpFloat16BitsToUint16);
11229|    371|    symbolTable.relateToOperator("int16BitsToFloat16",  EOpInt16BitsToFloat16);
11230|    371|    symbolTable.relateToOperator("uint16BitsToFloat16", EOpUint16BitsToFloat16);
11231|       |
11232|    371|    symbolTable.relateToOperator("int16BitsToHalf",  EOpInt16BitsToFloat16);
11233|    371|    symbolTable.relateToOperator("uint16BitsToHalf", EOpUint16BitsToFloat16);
11234|       |
11235|    371|    symbolTable.relateToOperator("packSnorm4x8",    EOpPackSnorm4x8);
11236|    371|    symbolTable.relateToOperator("unpackSnorm4x8",  EOpUnpackSnorm4x8);
11237|    371|    symbolTable.relateToOperator("packUnorm4x8",    EOpPackUnorm4x8);
11238|    371|    symbolTable.relateToOperator("unpackUnorm4x8",  EOpUnpackUnorm4x8);
11239|       |
11240|    371|    symbolTable.relateToOperator("packDouble2x32",    EOpPackDouble2x32);
11241|    371|    symbolTable.relateToOperator("unpackDouble2x32",  EOpUnpackDouble2x32);
11242|       |
11243|    371|    symbolTable.relateToOperator("packInt2x32",     EOpPackInt2x32);
11244|    371|    symbolTable.relateToOperator("unpackInt2x32",   EOpUnpackInt2x32);
11245|    371|    symbolTable.relateToOperator("packUint2x32",    EOpPackUint2x32);
11246|    371|    symbolTable.relateToOperator("unpackUint2x32",  EOpUnpackUint2x32);
11247|       |
11248|    371|    symbolTable.relateToOperator("packInt2x16",     EOpPackInt2x16);
11249|    371|    symbolTable.relateToOperator("unpackInt2x16",   EOpUnpackInt2x16);
11250|    371|    symbolTable.relateToOperator("packUint2x16",    EOpPackUint2x16);
11251|    371|    symbolTable.relateToOperator("unpackUint2x16",  EOpUnpackUint2x16);
11252|       |
11253|    371|    symbolTable.relateToOperator("packInt4x16",     EOpPackInt4x16);
11254|    371|    symbolTable.relateToOperator("unpackInt4x16",   EOpUnpackInt4x16);
11255|    371|    symbolTable.relateToOperator("packUint4x16",    EOpPackUint4x16);
11256|    371|    symbolTable.relateToOperator("unpackUint4x16",  EOpUnpackUint4x16);
11257|    371|    symbolTable.relateToOperator("packFloat2x16",   EOpPackFloat2x16);
11258|    371|    symbolTable.relateToOperator("unpackFloat2x16", EOpUnpackFloat2x16);
11259|       |
11260|    371|    symbolTable.relateToOperator("pack16",          EOpPack16);
11261|    371|    symbolTable.relateToOperator("pack32",          EOpPack32);
11262|    371|    symbolTable.relateToOperator("pack64",          EOpPack64);
11263|       |
11264|    371|    symbolTable.relateToOperator("unpack32",        EOpUnpack32);
11265|    371|    symbolTable.relateToOperator("unpack16",        EOpUnpack16);
11266|    371|    symbolTable.relateToOperator("unpack8",         EOpUnpack8);
11267|       |
11268|    371|    symbolTable.relateToOperator("controlBarrier",             EOpBarrier);
11269|    371|    symbolTable.relateToOperator("memoryBarrierAtomicCounter", EOpMemoryBarrierAtomicCounter);
11270|    371|    symbolTable.relateToOperator("memoryBarrierImage",         EOpMemoryBarrierImage);
11271|       |
11272|    371|    symbolTable.relateToOperator("controlBarrierArrive",  EOpControlBarrierArriveEXT);
11273|    371|    symbolTable.relateToOperator("controlBarrierWait",    EOpControlBarrierWaitEXT);
11274|       |
11275|    371|    if (spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (11275:9): [True: 0, False: 371]
  ------------------
11276|       |        //
11277|       |        // functions signature have been replaced to take uint operations on buffer variables
11278|       |        // remap atomic counter functions to atomic operations
11279|       |        //
11280|      0|        symbolTable.relateToOperator("memoryBarrierAtomicCounter", EOpMemoryBarrierBuffer);
11281|      0|    }
11282|       |
11283|    371|    symbolTable.relateToOperator("atomicLoad",     EOpAtomicLoad);
11284|    371|    symbolTable.relateToOperator("atomicStore",    EOpAtomicStore);
11285|       |
11286|    371|    symbolTable.relateToOperator("atomicCounterIncrement", EOpAtomicCounterIncrement);
11287|    371|    symbolTable.relateToOperator("atomicCounterDecrement", EOpAtomicCounterDecrement);
11288|    371|    symbolTable.relateToOperator("atomicCounter",          EOpAtomicCounter);
11289|       |
11290|    371|    if (spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (11290:9): [True: 0, False: 371]
  ------------------
11291|       |        //
11292|       |        // functions signature have been replaced to take uint operations
11293|       |        // remap atomic counter functions to atomic operations
11294|       |        //
11295|       |        // these atomic counter functions do not match signatures of glsl
11296|       |        // atomic functions, so they will be remapped to semantically
11297|       |        // equivalent functions in the parser
11298|       |        //
11299|      0|        symbolTable.relateToOperator("atomicCounterIncrement", EOpNull);
11300|      0|        symbolTable.relateToOperator("atomicCounterDecrement", EOpNull);
11301|      0|        symbolTable.relateToOperator("atomicCounter", EOpNull);
11302|      0|    }
11303|       |
11304|    371|    symbolTable.relateToOperator("clockARB",     EOpReadClockSubgroupKHR);
11305|    371|    symbolTable.relateToOperator("clock2x32ARB", EOpReadClockSubgroupKHR);
11306|       |
11307|    371|    symbolTable.relateToOperator("clockRealtimeEXT",     EOpReadClockDeviceKHR);
11308|    371|    symbolTable.relateToOperator("clockRealtime2x32EXT", EOpReadClockDeviceKHR);
11309|       |
11310|    371|    if (profile != EEsProfile && version == 450) {
  ------------------
  |  Branch (11310:9): [True: 371, False: 0]
  |  Branch (11310:34): [True: 148, False: 223]
  ------------------
11311|    148|        symbolTable.relateToOperator("atomicCounterAddARB",      EOpAtomicCounterAdd);
11312|    148|        symbolTable.relateToOperator("atomicCounterSubtractARB", EOpAtomicCounterSubtract);
11313|    148|        symbolTable.relateToOperator("atomicCounterMinARB",      EOpAtomicCounterMin);
11314|    148|        symbolTable.relateToOperator("atomicCounterMaxARB",      EOpAtomicCounterMax);
11315|    148|        symbolTable.relateToOperator("atomicCounterAndARB",      EOpAtomicCounterAnd);
11316|    148|        symbolTable.relateToOperator("atomicCounterOrARB",       EOpAtomicCounterOr);
11317|    148|        symbolTable.relateToOperator("atomicCounterXorARB",      EOpAtomicCounterXor);
11318|    148|        symbolTable.relateToOperator("atomicCounterExchangeARB", EOpAtomicCounterExchange);
11319|    148|        symbolTable.relateToOperator("atomicCounterCompSwapARB", EOpAtomicCounterCompSwap);
11320|    148|    }
11321|       |
11322|    371|    if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11322:9): [True: 371, False: 0]
  |  Branch (11322:34): [True: 0, False: 371]
  ------------------
11323|      0|        symbolTable.relateToOperator("atomicCounterAdd",      EOpAtomicCounterAdd);
11324|      0|        symbolTable.relateToOperator("atomicCounterSubtract", EOpAtomicCounterSubtract);
11325|      0|        symbolTable.relateToOperator("atomicCounterMin",      EOpAtomicCounterMin);
11326|      0|        symbolTable.relateToOperator("atomicCounterMax",      EOpAtomicCounterMax);
11327|      0|        symbolTable.relateToOperator("atomicCounterAnd",      EOpAtomicCounterAnd);
11328|      0|        symbolTable.relateToOperator("atomicCounterOr",       EOpAtomicCounterOr);
11329|      0|        symbolTable.relateToOperator("atomicCounterXor",      EOpAtomicCounterXor);
11330|      0|        symbolTable.relateToOperator("atomicCounterExchange", EOpAtomicCounterExchange);
11331|      0|        symbolTable.relateToOperator("atomicCounterCompSwap", EOpAtomicCounterCompSwap);
11332|      0|    }
11333|       |
11334|    371|    if (spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (11334:9): [True: 0, False: 371]
  ------------------
11335|       |        //
11336|       |        // functions signature have been replaced to take 'uint' instead of 'atomic_uint'
11337|       |        // remap atomic counter functions to non-counter atomic ops so
11338|       |        // functions act as aliases to non-counter atomic ops
11339|       |        //
11340|      0|        symbolTable.relateToOperator("atomicCounterAdd", EOpAtomicAdd);
11341|      0|        symbolTable.relateToOperator("atomicCounterSubtract", EOpAtomicSubtract);
11342|      0|        symbolTable.relateToOperator("atomicCounterMin", EOpAtomicMin);
11343|      0|        symbolTable.relateToOperator("atomicCounterMax", EOpAtomicMax);
11344|      0|        symbolTable.relateToOperator("atomicCounterAnd", EOpAtomicAnd);
11345|      0|        symbolTable.relateToOperator("atomicCounterOr", EOpAtomicOr);
11346|      0|        symbolTable.relateToOperator("atomicCounterXor", EOpAtomicXor);
11347|      0|        symbolTable.relateToOperator("atomicCounterExchange", EOpAtomicExchange);
11348|      0|        symbolTable.relateToOperator("atomicCounterCompSwap", EOpAtomicCompSwap);
11349|      0|    }
11350|       |
11351|    371|    symbolTable.relateToOperator("fma",               EOpFma);
11352|    371|    symbolTable.relateToOperator("frexp",             EOpFrexp);
11353|    371|    symbolTable.relateToOperator("ldexp",             EOpLdexp);
11354|    371|    symbolTable.relateToOperator("uaddCarry",         EOpAddCarry);
11355|    371|    symbolTable.relateToOperator("usubBorrow",        EOpSubBorrow);
11356|    371|    symbolTable.relateToOperator("umulExtended",      EOpUMulExtended);
11357|    371|    symbolTable.relateToOperator("imulExtended",      EOpIMulExtended);
11358|    371|    symbolTable.relateToOperator("bitfieldExtract",   EOpBitfieldExtract);
11359|    371|    symbolTable.relateToOperator("bitfieldInsert",    EOpBitfieldInsert);
11360|    371|    symbolTable.relateToOperator("bitfieldReverse",   EOpBitFieldReverse);
11361|    371|    symbolTable.relateToOperator("bitCount",          EOpBitCount);
11362|    371|    symbolTable.relateToOperator("findLSB",           EOpFindLSB);
11363|    371|    symbolTable.relateToOperator("findMSB",           EOpFindMSB);
11364|       |
11365|    371|    symbolTable.relateToOperator("helperInvocationEXT",  EOpIsHelperInvocation);
11366|       |
11367|    371|    symbolTable.relateToOperator("countLeadingZeros",  EOpCountLeadingZeros);
11368|    371|    symbolTable.relateToOperator("countTrailingZeros", EOpCountTrailingZeros);
11369|    371|    symbolTable.relateToOperator("absoluteDifference", EOpAbsDifference);
11370|    371|    symbolTable.relateToOperator("addSaturate",        EOpAddSaturate);
11371|    371|    symbolTable.relateToOperator("subtractSaturate",   EOpSubSaturate);
11372|    371|    symbolTable.relateToOperator("average",            EOpAverage);
11373|    371|    symbolTable.relateToOperator("averageRounded",     EOpAverageRounded);
11374|    371|    symbolTable.relateToOperator("multiply32x16",      EOpMul32x16);
11375|    371|    symbolTable.relateToOperator("debugPrintfEXT",     EOpDebugPrintf);
11376|    371|    symbolTable.relateToOperator("assumeEXT",          EOpAssumeEXT);
11377|    371|    symbolTable.relateToOperator("expectEXT",          EOpExpectEXT);
11378|    371|    symbolTable.relateToOperator("abortEXT",           EOpAbortEXT);
11379|       |
11380|       |
11381|    371|    if (PureOperatorBuiltins) {
  ------------------
  |  Branch (11381:9): [True: 371, Folded]
  ------------------
11382|    371|        symbolTable.relateToOperator("imageSize",               EOpImageQuerySize);
11383|    371|        symbolTable.relateToOperator("imageSamples",            EOpImageQuerySamples);
11384|    371|        symbolTable.relateToOperator("imageLoad",               EOpImageLoad);
11385|    371|        symbolTable.relateToOperator("imageStore",              EOpImageStore);
11386|    371|        symbolTable.relateToOperator("imageAtomicAdd",          EOpImageAtomicAdd);
11387|    371|        symbolTable.relateToOperator("imageAtomicMin",          EOpImageAtomicMin);
11388|    371|        symbolTable.relateToOperator("imageAtomicMax",          EOpImageAtomicMax);
11389|    371|        symbolTable.relateToOperator("imageAtomicAnd",          EOpImageAtomicAnd);
11390|    371|        symbolTable.relateToOperator("imageAtomicOr",           EOpImageAtomicOr);
11391|    371|        symbolTable.relateToOperator("imageAtomicXor",          EOpImageAtomicXor);
11392|    371|        symbolTable.relateToOperator("imageAtomicExchange",     EOpImageAtomicExchange);
11393|    371|        symbolTable.relateToOperator("imageAtomicCompSwap",     EOpImageAtomicCompSwap);
11394|    371|        symbolTable.relateToOperator("imageAtomicLoad",         EOpImageAtomicLoad);
11395|    371|        symbolTable.relateToOperator("imageAtomicStore",        EOpImageAtomicStore);
11396|       |
11397|    371|        symbolTable.relateToOperator("subpassLoad",             EOpSubpassLoad);
11398|    371|        symbolTable.relateToOperator("subpassLoadMS",           EOpSubpassLoadMS);
11399|       |
11400|    371|        symbolTable.relateToOperator("textureGather",           EOpTextureGather);
11401|    371|        symbolTable.relateToOperator("textureGatherOffset",     EOpTextureGatherOffset);
11402|    371|        symbolTable.relateToOperator("textureGatherOffsets",    EOpTextureGatherOffsets);
11403|       |
11404|    371|        symbolTable.relateToOperator("noise1", EOpNoise);
11405|    371|        symbolTable.relateToOperator("noise2", EOpNoise);
11406|    371|        symbolTable.relateToOperator("noise3", EOpNoise);
11407|    371|        symbolTable.relateToOperator("noise4", EOpNoise);
11408|       |
11409|    371|        symbolTable.relateToOperator("textureFootprintNV",          EOpImageSampleFootprintNV);
11410|    371|        symbolTable.relateToOperator("textureFootprintClampNV",     EOpImageSampleFootprintClampNV);
11411|    371|        symbolTable.relateToOperator("textureFootprintLodNV",       EOpImageSampleFootprintLodNV);
11412|    371|        symbolTable.relateToOperator("textureFootprintGradNV",      EOpImageSampleFootprintGradNV);
11413|    371|        symbolTable.relateToOperator("textureFootprintGradClampNV", EOpImageSampleFootprintGradClampNV);
11414|       |
11415|    371|        if (spvVersion.spv == 0 && IncludeLegacy(version, profile, spvVersion))
  ------------------
  |  Branch (11415:13): [True: 0, False: 371]
  |  Branch (11415:36): [True: 0, False: 0]
  ------------------
11416|      0|            symbolTable.relateToOperator("ftransform", EOpFtransform);
11417|       |
11418|    371|        if (spvVersion.spv == 0 && (IncludeLegacy(version, profile, spvVersion) ||
  ------------------
  |  Branch (11418:13): [True: 0, False: 371]
  |  Branch (11418:37): [True: 0, False: 0]
  ------------------
11419|      0|            (profile == EEsProfile && version == 100))) {
  ------------------
  |  Branch (11419:14): [True: 0, False: 0]
  |  Branch (11419:39): [True: 0, False: 0]
  ------------------
11420|       |
11421|      0|            symbolTable.relateToOperator("texture1D",                EOpTexture);
11422|      0|            symbolTable.relateToOperator("texture1DGradARB",         EOpTextureGrad);
11423|      0|            symbolTable.relateToOperator("texture1DProj",            EOpTextureProj);
11424|      0|            symbolTable.relateToOperator("texture1DProjGradARB",     EOpTextureProjGrad);
11425|      0|            symbolTable.relateToOperator("texture1DLod",             EOpTextureLod);
11426|      0|            symbolTable.relateToOperator("texture1DProjLod",         EOpTextureProjLod);
11427|       |
11428|      0|            symbolTable.relateToOperator("texture2DRect",            EOpTexture);
11429|      0|            symbolTable.relateToOperator("texture2DRectProj",        EOpTextureProj);
11430|      0|            symbolTable.relateToOperator("texture2DRectGradARB",     EOpTextureGrad);
11431|      0|            symbolTable.relateToOperator("texture2DRectProjGradARB", EOpTextureProjGrad);
11432|      0|            symbolTable.relateToOperator("shadow2DRect",             EOpTexture);
11433|      0|            symbolTable.relateToOperator("shadow2DRectProj",         EOpTextureProj);
11434|      0|            symbolTable.relateToOperator("shadow2DRectGradARB",      EOpTextureGrad);
11435|      0|            symbolTable.relateToOperator("shadow2DRectProjGradARB",  EOpTextureProjGrad);
11436|       |
11437|      0|            symbolTable.relateToOperator("texture2D",                EOpTexture);
11438|      0|            symbolTable.relateToOperator("texture2DProj",            EOpTextureProj);
11439|      0|            symbolTable.relateToOperator("texture2DGradEXT",         EOpTextureGrad);
11440|      0|            symbolTable.relateToOperator("texture2DGradARB",         EOpTextureGrad);
11441|      0|            symbolTable.relateToOperator("texture2DProjGradEXT",     EOpTextureProjGrad);
11442|      0|            symbolTable.relateToOperator("texture2DProjGradARB",     EOpTextureProjGrad);
11443|      0|            symbolTable.relateToOperator("texture2DLod",             EOpTextureLod);
11444|      0|            symbolTable.relateToOperator("texture2DLodEXT",          EOpTextureLod);
11445|      0|            symbolTable.relateToOperator("texture2DProjLod",         EOpTextureProjLod);
11446|      0|            symbolTable.relateToOperator("texture2DProjLodEXT",      EOpTextureProjLod);
11447|       |
11448|      0|            symbolTable.relateToOperator("texture3D",                EOpTexture);
11449|      0|            symbolTable.relateToOperator("texture3DGradARB",         EOpTextureGrad);
11450|      0|            symbolTable.relateToOperator("texture3DProj",            EOpTextureProj);
11451|      0|            symbolTable.relateToOperator("texture3DProjGradARB",     EOpTextureProjGrad);
11452|      0|            symbolTable.relateToOperator("texture3DLod",             EOpTextureLod);
11453|      0|            symbolTable.relateToOperator("texture3DProjLod",         EOpTextureProjLod);
11454|      0|            symbolTable.relateToOperator("textureCube",              EOpTexture);
11455|      0|            symbolTable.relateToOperator("textureCubeGradEXT",       EOpTextureGrad);
11456|      0|            symbolTable.relateToOperator("textureCubeGradARB",       EOpTextureGrad);
11457|      0|            symbolTable.relateToOperator("textureCubeLod",           EOpTextureLod);
11458|      0|            symbolTable.relateToOperator("textureCubeLodEXT",        EOpTextureLod);
11459|      0|            symbolTable.relateToOperator("shadow1D",                 EOpTexture);
11460|      0|            symbolTable.relateToOperator("shadow1DGradARB",          EOpTextureGrad);
11461|      0|            symbolTable.relateToOperator("shadow2D",                 EOpTexture);
11462|      0|            symbolTable.relateToOperator("shadow2DGradARB",          EOpTextureGrad);
11463|      0|            symbolTable.relateToOperator("shadow1DProj",             EOpTextureProj);
11464|      0|            symbolTable.relateToOperator("shadow2DProj",             EOpTextureProj);
11465|      0|            symbolTable.relateToOperator("shadow1DProjGradARB",      EOpTextureProjGrad);
11466|      0|            symbolTable.relateToOperator("shadow2DProjGradARB",      EOpTextureProjGrad);
11467|      0|            symbolTable.relateToOperator("shadow1DLod",              EOpTextureLod);
11468|      0|            symbolTable.relateToOperator("shadow2DLod",              EOpTextureLod);
11469|      0|            symbolTable.relateToOperator("shadow1DProjLod",          EOpTextureProjLod);
11470|      0|            symbolTable.relateToOperator("shadow2DProjLod",          EOpTextureProjLod);
11471|      0|        }
11472|       |
11473|    371|        if (profile != EEsProfile) {
  ------------------
  |  Branch (11473:13): [True: 371, False: 0]
  ------------------
11474|    371|            symbolTable.relateToOperator("sparseTextureARB",                EOpSparseTexture);
11475|    371|            symbolTable.relateToOperator("sparseTextureLodARB",             EOpSparseTextureLod);
11476|    371|            symbolTable.relateToOperator("sparseTextureOffsetARB",          EOpSparseTextureOffset);
11477|    371|            symbolTable.relateToOperator("sparseTexelFetchARB",             EOpSparseTextureFetch);
11478|    371|            symbolTable.relateToOperator("sparseTexelFetchOffsetARB",       EOpSparseTextureFetchOffset);
11479|    371|            symbolTable.relateToOperator("sparseTextureLodOffsetARB",       EOpSparseTextureLodOffset);
11480|    371|            symbolTable.relateToOperator("sparseTextureGradARB",            EOpSparseTextureGrad);
11481|    371|            symbolTable.relateToOperator("sparseTextureGradOffsetARB",      EOpSparseTextureGradOffset);
11482|    371|            symbolTable.relateToOperator("sparseTextureGatherARB",          EOpSparseTextureGather);
11483|    371|            symbolTable.relateToOperator("sparseTextureGatherOffsetARB",    EOpSparseTextureGatherOffset);
11484|    371|            symbolTable.relateToOperator("sparseTextureGatherOffsetsARB",   EOpSparseTextureGatherOffsets);
11485|    371|            symbolTable.relateToOperator("sparseImageLoadARB",              EOpSparseImageLoad);
11486|    371|            symbolTable.relateToOperator("sparseTexelsResidentARB",         EOpSparseTexelsResident);
11487|       |
11488|    371|            symbolTable.relateToOperator("sparseTextureClampARB",           EOpSparseTextureClamp);
11489|    371|            symbolTable.relateToOperator("sparseTextureOffsetClampARB",     EOpSparseTextureOffsetClamp);
11490|    371|            symbolTable.relateToOperator("sparseTextureGradClampARB",       EOpSparseTextureGradClamp);
11491|    371|            symbolTable.relateToOperator("sparseTextureGradOffsetClampARB", EOpSparseTextureGradOffsetClamp);
11492|    371|            symbolTable.relateToOperator("textureClampARB",                 EOpTextureClamp);
11493|    371|            symbolTable.relateToOperator("textureOffsetClampARB",           EOpTextureOffsetClamp);
11494|    371|            symbolTable.relateToOperator("textureGradClampARB",             EOpTextureGradClamp);
11495|    371|            symbolTable.relateToOperator("textureGradOffsetClampARB",       EOpTextureGradOffsetClamp);
11496|       |
11497|    371|            symbolTable.relateToOperator("ballotARB",                       EOpBallot);
11498|    371|            symbolTable.relateToOperator("readInvocationARB",               EOpReadInvocation);
11499|    371|            symbolTable.relateToOperator("readFirstInvocationARB",          EOpReadFirstInvocation);
11500|       |
11501|    371|            if (version >= 430) {
  ------------------
  |  Branch (11501:17): [True: 148, False: 223]
  ------------------
11502|    148|                symbolTable.relateToOperator("anyInvocationARB",            EOpAnyInvocation);
11503|    148|                symbolTable.relateToOperator("allInvocationsARB",           EOpAllInvocations);
11504|    148|                symbolTable.relateToOperator("allInvocationsEqualARB",      EOpAllInvocationsEqual);
11505|    148|            }
11506|    371|            if (version >= 460) {
  ------------------
  |  Branch (11506:17): [True: 0, False: 371]
  ------------------
11507|      0|                symbolTable.relateToOperator("anyInvocation",               EOpAnyInvocation);
11508|      0|                symbolTable.relateToOperator("allInvocations",              EOpAllInvocations);
11509|      0|                symbolTable.relateToOperator("allInvocationsEqual",         EOpAllInvocationsEqual);
11510|      0|            }
11511|       |            // As per dependency between NV_gpu_shader5 and ARB_shader_group_vote
11512|       |            // anyInvocationARB = anyThreadNV
11513|       |            // allInvocationsARB = allThreadsNV
11514|       |            // allInvocationsEqualARB = allThreadsEqualNV
11515|       |            // Thus we reuse the Op's
11516|    371|            if (version >= 150) {
  ------------------
  |  Branch (11516:17): [True: 173, False: 198]
  ------------------
11517|    173|                symbolTable.relateToOperator("anyThreadNV",            EOpAnyInvocation);
11518|    173|                symbolTable.relateToOperator("allThreadsNV",           EOpAllInvocations);
11519|    173|                symbolTable.relateToOperator("allThreadsEqualNV",      EOpAllInvocationsEqual);
11520|    173|            }
11521|    371|            symbolTable.relateToOperator("minInvocationsAMD",                           EOpMinInvocations);
11522|    371|            symbolTable.relateToOperator("maxInvocationsAMD",                           EOpMaxInvocations);
11523|    371|            symbolTable.relateToOperator("addInvocationsAMD",                           EOpAddInvocations);
11524|    371|            symbolTable.relateToOperator("minInvocationsNonUniformAMD",                 EOpMinInvocationsNonUniform);
11525|    371|            symbolTable.relateToOperator("maxInvocationsNonUniformAMD",                 EOpMaxInvocationsNonUniform);
11526|    371|            symbolTable.relateToOperator("addInvocationsNonUniformAMD",                 EOpAddInvocationsNonUniform);
11527|    371|            symbolTable.relateToOperator("minInvocationsInclusiveScanAMD",              EOpMinInvocationsInclusiveScan);
11528|    371|            symbolTable.relateToOperator("maxInvocationsInclusiveScanAMD",              EOpMaxInvocationsInclusiveScan);
11529|    371|            symbolTable.relateToOperator("addInvocationsInclusiveScanAMD",              EOpAddInvocationsInclusiveScan);
11530|    371|            symbolTable.relateToOperator("minInvocationsInclusiveScanNonUniformAMD",    EOpMinInvocationsInclusiveScanNonUniform);
11531|    371|            symbolTable.relateToOperator("maxInvocationsInclusiveScanNonUniformAMD",    EOpMaxInvocationsInclusiveScanNonUniform);
11532|    371|            symbolTable.relateToOperator("addInvocationsInclusiveScanNonUniformAMD",    EOpAddInvocationsInclusiveScanNonUniform);
11533|    371|            symbolTable.relateToOperator("minInvocationsExclusiveScanAMD",              EOpMinInvocationsExclusiveScan);
11534|    371|            symbolTable.relateToOperator("maxInvocationsExclusiveScanAMD",              EOpMaxInvocationsExclusiveScan);
11535|    371|            symbolTable.relateToOperator("addInvocationsExclusiveScanAMD",              EOpAddInvocationsExclusiveScan);
11536|    371|            symbolTable.relateToOperator("minInvocationsExclusiveScanNonUniformAMD",    EOpMinInvocationsExclusiveScanNonUniform);
11537|    371|            symbolTable.relateToOperator("maxInvocationsExclusiveScanNonUniformAMD",    EOpMaxInvocationsExclusiveScanNonUniform);
11538|    371|            symbolTable.relateToOperator("addInvocationsExclusiveScanNonUniformAMD",    EOpAddInvocationsExclusiveScanNonUniform);
11539|    371|            symbolTable.relateToOperator("swizzleInvocationsAMD",                       EOpSwizzleInvocations);
11540|    371|            symbolTable.relateToOperator("swizzleInvocationsMaskedAMD",                 EOpSwizzleInvocationsMasked);
11541|    371|            symbolTable.relateToOperator("writeInvocationAMD",                          EOpWriteInvocation);
11542|    371|            symbolTable.relateToOperator("mbcntAMD",                                    EOpMbcnt);
11543|       |
11544|    371|            symbolTable.relateToOperator("min3",    EOpMin3);
11545|    371|            symbolTable.relateToOperator("max3",    EOpMax3);
11546|    371|            symbolTable.relateToOperator("mid3",    EOpMid3);
11547|       |
11548|    371|            symbolTable.relateToOperator("cubeFaceIndexAMD",    EOpCubeFaceIndex);
11549|    371|            symbolTable.relateToOperator("cubeFaceCoordAMD",    EOpCubeFaceCoord);
11550|    371|            symbolTable.relateToOperator("timeAMD",             EOpTime);
11551|       |
11552|    371|            symbolTable.relateToOperator("textureGatherLodAMD",                 EOpTextureGatherLod);
11553|    371|            symbolTable.relateToOperator("textureGatherLodOffsetAMD",           EOpTextureGatherLodOffset);
11554|    371|            symbolTable.relateToOperator("textureGatherLodOffsetsAMD",          EOpTextureGatherLodOffsets);
11555|    371|            symbolTable.relateToOperator("sparseTextureGatherLodAMD",           EOpSparseTextureGatherLod);
11556|    371|            symbolTable.relateToOperator("sparseTextureGatherLodOffsetAMD",     EOpSparseTextureGatherLodOffset);
11557|    371|            symbolTable.relateToOperator("sparseTextureGatherLodOffsetsAMD",    EOpSparseTextureGatherLodOffsets);
11558|       |
11559|    371|            symbolTable.relateToOperator("imageLoadLodAMD",                     EOpImageLoadLod);
11560|    371|            symbolTable.relateToOperator("imageStoreLodAMD",                    EOpImageStoreLod);
11561|    371|            symbolTable.relateToOperator("sparseImageLoadLodAMD",               EOpSparseImageLoadLod);
11562|       |
11563|    371|            symbolTable.relateToOperator("fragmentMaskFetchAMD",                EOpFragmentMaskFetch);
11564|    371|            symbolTable.relateToOperator("fragmentFetchAMD",                    EOpFragmentFetch);
11565|    371|        }
11566|       |
11567|       |        // GL_EXT_integer_dot_product
11568|    371|        if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (11568:14): [True: 0, False: 371]
  |  Branch (11568:39): [True: 0, False: 0]
  ------------------
11569|    371|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (11569:14): [True: 371, False: 0]
  |  Branch (11569:39): [True: 148, False: 223]
  ------------------
11570|    148|            symbolTable.relateToOperator("dotEXT", EOpDot);
11571|    148|            symbolTable.relateToOperator("dotPacked4x8EXT", EOpDotPackedEXT);
11572|    148|            symbolTable.relateToOperator("dotAccSatEXT", EOpDotAccSatEXT);
11573|    148|            symbolTable.relateToOperator("dotPacked4x8AccSatEXT", EOpDotPackedAccSatEXT);
11574|    148|        }
11575|       |
11576|       |        // GL_EXT_bfloat16
11577|    371|        if ((profile == EEsProfile && version >= 320) ||
  ------------------
  |  Branch (11577:14): [True: 0, False: 371]
  |  Branch (11577:39): [True: 0, False: 0]
  ------------------
11578|    371|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (11578:14): [True: 371, False: 0]
  |  Branch (11578:39): [True: 148, False: 223]
  ------------------
11579|    148|            symbolTable.relateToOperator("bfloat16BitsToIntEXT",  EOpFloatBitsToInt);
11580|    148|            symbolTable.relateToOperator("bfloat16BitsToUintEXT", EOpFloatBitsToUint);
11581|    148|            symbolTable.relateToOperator("intBitsToBFloat16EXT",  EOpIntBitsToFloat);
11582|    148|            symbolTable.relateToOperator("uintBitsToBFloat16EXT", EOpUintBitsToFloat);
11583|       |
11584|    148|            symbolTable.relateToOperator("floate5m2BitsToIntEXT",  EOpFloatBitsToInt);
11585|    148|            symbolTable.relateToOperator("floate5m2BitsToUintEXT", EOpFloatBitsToUint);
11586|    148|            symbolTable.relateToOperator("intBitsToFloate5m2EXT",  EOpIntBitsToFloat);
11587|    148|            symbolTable.relateToOperator("uintBitsToFloate5m2EXT", EOpUintBitsToFloat);
11588|       |
11589|    148|            symbolTable.relateToOperator("floate4m3BitsToIntEXT",  EOpFloatBitsToInt);
11590|    148|            symbolTable.relateToOperator("floate4m3BitsToUintEXT", EOpFloatBitsToUint);
11591|    148|            symbolTable.relateToOperator("intBitsToFloate4m3EXT",  EOpIntBitsToFloat);
11592|    148|            symbolTable.relateToOperator("uintBitsToFloate4m3EXT", EOpUintBitsToFloat);
11593|       |
11594|    148|            symbolTable.relateToOperator("saturatedConvertEXT", EOpConstructSaturated);
11595|       |
11596|    148|            symbolTable.relateToOperator("floatue8m0BitsToIntEXT",  EOpFloatBitsToInt);
11597|    148|            symbolTable.relateToOperator("floatue8m0BitsToUintEXT", EOpFloatBitsToUint);
11598|    148|            symbolTable.relateToOperator("intBitsToFloatue8m0EXT",  EOpIntBitsToFloat);
11599|    148|            symbolTable.relateToOperator("uintBitsToFloatue8m0EXT", EOpUintBitsToFloat);
11600|       |
11601|    148|            symbolTable.relateToOperator("floatmxint8BitsToIntEXT",  EOpFloatBitsToInt);
11602|    148|            symbolTable.relateToOperator("floatmxint8BitsToUintEXT", EOpFloatBitsToUint);
11603|    148|            symbolTable.relateToOperator("intBitsToFloatmxint8EXT",  EOpIntBitsToFloat);
11604|    148|            symbolTable.relateToOperator("uintBitsToFloatmxint8EXT", EOpUintBitsToFloat);
11605|       |
11606|    148|            symbolTable.relateToOperator("unpackFloat2xfe2m1EXT", EOpUnpackFloat2xE2M1);
11607|    148|            symbolTable.relateToOperator("unpackFloat4xfe2m1EXT", EOpUnpackFloat4xE2M1);
11608|    148|            symbolTable.relateToOperator("unpackFloat8xfe2m1EXT", EOpUnpackFloat8xE2M1);
11609|    148|            symbolTable.relateToOperator("unpackFloat16xfe2m1EXT", EOpUnpackFloat16xE2M1);
11610|    148|            symbolTable.relateToOperator("packFloat2xfe2m1EXT", EOpPackFloat2xE2M1);
11611|    148|            symbolTable.relateToOperator("packFloat4xfe2m1EXT", EOpPackFloat4xE2M1);
11612|    148|            symbolTable.relateToOperator("packFloat8xfe2m1EXT", EOpPackFloat8xE2M1);
11613|    148|            symbolTable.relateToOperator("packFloat16xfe2m1EXT", EOpPackFloat16xE2M1);
11614|       |
11615|    148|            symbolTable.relateToOperator("unpackFloat4xfe3m2EXT", EOpUnpackFloat4xE3M2);
11616|    148|            symbolTable.relateToOperator("unpackFloat8xfe3m2EXT", EOpUnpackFloat8xE3M2);
11617|    148|            symbolTable.relateToOperator("unpackFloat16xfe3m2EXT", EOpUnpackFloat16xE3M2);
11618|    148|            symbolTable.relateToOperator("packFloat4xfe3m2EXT", EOpPackFloat4xE3M2);
11619|    148|            symbolTable.relateToOperator("packFloat8xfe3m2EXT", EOpPackFloat8xE3M2);
11620|    148|            symbolTable.relateToOperator("packFloat16xfe3m2EXT", EOpPackFloat16xE3M2);
11621|       |
11622|    148|            symbolTable.relateToOperator("unpackFloat4xfe2m3EXT", EOpUnpackFloat4xE2M3);
11623|    148|            symbolTable.relateToOperator("unpackFloat8xfe2m3EXT", EOpUnpackFloat8xE2M3);
11624|    148|            symbolTable.relateToOperator("unpackFloat16xfe2m3EXT", EOpUnpackFloat16xE2M3);
11625|    148|            symbolTable.relateToOperator("packFloat4xfe2m3EXT", EOpPackFloat4xE2M3);
11626|    148|            symbolTable.relateToOperator("packFloat8xfe2m3EXT", EOpPackFloat8xE2M3);
11627|    148|            symbolTable.relateToOperator("packFloat16xfe2m3EXT", EOpPackFloat16xE2M3);
11628|       |
11629|    148|            symbolTable.relateToOperator("bitcastExtractfe2m1EXT", EOpBitcastExtractE2M1);
11630|    148|            symbolTable.relateToOperator("bitcastExtractfe3m2EXT", EOpBitcastExtractE3M2);
11631|    148|            symbolTable.relateToOperator("bitcastExtractfe2m3EXT", EOpBitcastExtractE2M3);
11632|    148|        }
11633|       |
11634|       |        // GL_KHR_shader_subgroup
11635|    371|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11635:14): [True: 0, False: 371]
  |  Branch (11635:39): [True: 0, False: 0]
  ------------------
11636|    371|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11636:14): [True: 371, False: 0]
  |  Branch (11636:39): [True: 371, False: 0]
  ------------------
11637|    371|            symbolTable.relateToOperator("subgroupBarrier",                 EOpSubgroupBarrier);
11638|    371|            symbolTable.relateToOperator("subgroupMemoryBarrier",           EOpSubgroupMemoryBarrier);
11639|    371|            symbolTable.relateToOperator("subgroupMemoryBarrierBuffer",     EOpSubgroupMemoryBarrierBuffer);
11640|    371|            symbolTable.relateToOperator("subgroupMemoryBarrierImage",      EOpSubgroupMemoryBarrierImage);
11641|    371|            symbolTable.relateToOperator("subgroupElect",                   EOpSubgroupElect);
11642|    371|            symbolTable.relateToOperator("subgroupAll",                     EOpSubgroupAll);
11643|    371|            symbolTable.relateToOperator("subgroupAny",                     EOpSubgroupAny);
11644|    371|            symbolTable.relateToOperator("subgroupAllEqual",                EOpSubgroupAllEqual);
11645|    371|            symbolTable.relateToOperator("subgroupBroadcast",               EOpSubgroupBroadcast);
11646|    371|            symbolTable.relateToOperator("subgroupBroadcastFirst",          EOpSubgroupBroadcastFirst);
11647|    371|            symbolTable.relateToOperator("subgroupBallot",                  EOpSubgroupBallot);
11648|    371|            symbolTable.relateToOperator("subgroupInverseBallot",           EOpSubgroupInverseBallot);
11649|    371|            symbolTable.relateToOperator("subgroupBallotBitExtract",        EOpSubgroupBallotBitExtract);
11650|    371|            symbolTable.relateToOperator("subgroupBallotBitCount",          EOpSubgroupBallotBitCount);
11651|    371|            symbolTable.relateToOperator("subgroupBallotInclusiveBitCount", EOpSubgroupBallotInclusiveBitCount);
11652|    371|            symbolTable.relateToOperator("subgroupBallotExclusiveBitCount", EOpSubgroupBallotExclusiveBitCount);
11653|    371|            symbolTable.relateToOperator("subgroupBallotFindLSB",           EOpSubgroupBallotFindLSB);
11654|    371|            symbolTable.relateToOperator("subgroupBallotFindMSB",           EOpSubgroupBallotFindMSB);
11655|    371|            symbolTable.relateToOperator("subgroupShuffle",                 EOpSubgroupShuffle);
11656|    371|            symbolTable.relateToOperator("subgroupShuffleXor",              EOpSubgroupShuffleXor);
11657|    371|            symbolTable.relateToOperator("subgroupShuffleUp",               EOpSubgroupShuffleUp);
11658|    371|            symbolTable.relateToOperator("subgroupShuffleDown",             EOpSubgroupShuffleDown);
11659|    371|            symbolTable.relateToOperator("subgroupRotate",                  EOpSubgroupRotate);
11660|    371|            symbolTable.relateToOperator("subgroupClusteredRotate",         EOpSubgroupClusteredRotate);
11661|    371|            symbolTable.relateToOperator("subgroupAdd",                     EOpSubgroupAdd);
11662|    371|            symbolTable.relateToOperator("subgroupMul",                     EOpSubgroupMul);
11663|    371|            symbolTable.relateToOperator("subgroupMin",                     EOpSubgroupMin);
11664|    371|            symbolTable.relateToOperator("subgroupMax",                     EOpSubgroupMax);
11665|    371|            symbolTable.relateToOperator("subgroupAnd",                     EOpSubgroupAnd);
11666|    371|            symbolTable.relateToOperator("subgroupOr",                      EOpSubgroupOr);
11667|    371|            symbolTable.relateToOperator("subgroupXor",                     EOpSubgroupXor);
11668|    371|            symbolTable.relateToOperator("subgroupInclusiveAdd",            EOpSubgroupInclusiveAdd);
11669|    371|            symbolTable.relateToOperator("subgroupInclusiveMul",            EOpSubgroupInclusiveMul);
11670|    371|            symbolTable.relateToOperator("subgroupInclusiveMin",            EOpSubgroupInclusiveMin);
11671|    371|            symbolTable.relateToOperator("subgroupInclusiveMax",            EOpSubgroupInclusiveMax);
11672|    371|            symbolTable.relateToOperator("subgroupInclusiveAnd",            EOpSubgroupInclusiveAnd);
11673|    371|            symbolTable.relateToOperator("subgroupInclusiveOr",             EOpSubgroupInclusiveOr);
11674|    371|            symbolTable.relateToOperator("subgroupInclusiveXor",            EOpSubgroupInclusiveXor);
11675|    371|            symbolTable.relateToOperator("subgroupExclusiveAdd",            EOpSubgroupExclusiveAdd);
11676|    371|            symbolTable.relateToOperator("subgroupExclusiveMul",            EOpSubgroupExclusiveMul);
11677|    371|            symbolTable.relateToOperator("subgroupExclusiveMin",            EOpSubgroupExclusiveMin);
11678|    371|            symbolTable.relateToOperator("subgroupExclusiveMax",            EOpSubgroupExclusiveMax);
11679|    371|            symbolTable.relateToOperator("subgroupExclusiveAnd",            EOpSubgroupExclusiveAnd);
11680|    371|            symbolTable.relateToOperator("subgroupExclusiveOr",             EOpSubgroupExclusiveOr);
11681|    371|            symbolTable.relateToOperator("subgroupExclusiveXor",            EOpSubgroupExclusiveXor);
11682|    371|            symbolTable.relateToOperator("subgroupClusteredAdd",            EOpSubgroupClusteredAdd);
11683|    371|            symbolTable.relateToOperator("subgroupClusteredMul",            EOpSubgroupClusteredMul);
11684|    371|            symbolTable.relateToOperator("subgroupClusteredMin",            EOpSubgroupClusteredMin);
11685|    371|            symbolTable.relateToOperator("subgroupClusteredMax",            EOpSubgroupClusteredMax);
11686|    371|            symbolTable.relateToOperator("subgroupClusteredAnd",            EOpSubgroupClusteredAnd);
11687|    371|            symbolTable.relateToOperator("subgroupClusteredOr",             EOpSubgroupClusteredOr);
11688|    371|            symbolTable.relateToOperator("subgroupClusteredXor",            EOpSubgroupClusteredXor);
11689|    371|            symbolTable.relateToOperator("subgroupQuadBroadcast",           EOpSubgroupQuadBroadcast);
11690|    371|            symbolTable.relateToOperator("subgroupQuadSwapHorizontal",      EOpSubgroupQuadSwapHorizontal);
11691|    371|            symbolTable.relateToOperator("subgroupQuadSwapVertical",        EOpSubgroupQuadSwapVertical);
11692|    371|            symbolTable.relateToOperator("subgroupQuadSwapDiagonal",        EOpSubgroupQuadSwapDiagonal);
11693|       |
11694|    371|            symbolTable.relateToOperator("subgroupPartitionNV",                          EOpSubgroupPartition);
11695|    371|            symbolTable.relateToOperator("subgroupPartitionedAddNV",                     EOpSubgroupPartitionedAdd);
11696|    371|            symbolTable.relateToOperator("subgroupPartitionedMulNV",                     EOpSubgroupPartitionedMul);
11697|    371|            symbolTable.relateToOperator("subgroupPartitionedMinNV",                     EOpSubgroupPartitionedMin);
11698|    371|            symbolTable.relateToOperator("subgroupPartitionedMaxNV",                     EOpSubgroupPartitionedMax);
11699|    371|            symbolTable.relateToOperator("subgroupPartitionedAndNV",                     EOpSubgroupPartitionedAnd);
11700|    371|            symbolTable.relateToOperator("subgroupPartitionedOrNV",                      EOpSubgroupPartitionedOr);
11701|    371|            symbolTable.relateToOperator("subgroupPartitionedXorNV",                     EOpSubgroupPartitionedXor);
11702|    371|            symbolTable.relateToOperator("subgroupPartitionedInclusiveAddNV",            EOpSubgroupPartitionedInclusiveAdd);
11703|    371|            symbolTable.relateToOperator("subgroupPartitionedInclusiveMulNV",            EOpSubgroupPartitionedInclusiveMul);
11704|    371|            symbolTable.relateToOperator("subgroupPartitionedInclusiveMinNV",            EOpSubgroupPartitionedInclusiveMin);
11705|    371|            symbolTable.relateToOperator("subgroupPartitionedInclusiveMaxNV",            EOpSubgroupPartitionedInclusiveMax);
11706|    371|            symbolTable.relateToOperator("subgroupPartitionedInclusiveAndNV",            EOpSubgroupPartitionedInclusiveAnd);
11707|    371|            symbolTable.relateToOperator("subgroupPartitionedInclusiveOrNV",             EOpSubgroupPartitionedInclusiveOr);
11708|    371|            symbolTable.relateToOperator("subgroupPartitionedInclusiveXorNV",            EOpSubgroupPartitionedInclusiveXor);
11709|    371|            symbolTable.relateToOperator("subgroupPartitionedExclusiveAddNV",            EOpSubgroupPartitionedExclusiveAdd);
11710|    371|            symbolTable.relateToOperator("subgroupPartitionedExclusiveMulNV",            EOpSubgroupPartitionedExclusiveMul);
11711|    371|            symbolTable.relateToOperator("subgroupPartitionedExclusiveMinNV",            EOpSubgroupPartitionedExclusiveMin);
11712|    371|            symbolTable.relateToOperator("subgroupPartitionedExclusiveMaxNV",            EOpSubgroupPartitionedExclusiveMax);
11713|    371|            symbolTable.relateToOperator("subgroupPartitionedExclusiveAndNV",            EOpSubgroupPartitionedExclusiveAnd);
11714|    371|            symbolTable.relateToOperator("subgroupPartitionedExclusiveOrNV",             EOpSubgroupPartitionedExclusiveOr);
11715|    371|            symbolTable.relateToOperator("subgroupPartitionedExclusiveXorNV",            EOpSubgroupPartitionedExclusiveXor);
11716|    371|        }
11717|       |
11718|    371|        if (profile == EEsProfile) {
  ------------------
  |  Branch (11718:13): [True: 0, False: 371]
  ------------------
11719|      0|            symbolTable.relateToOperator("shadow2DEXT",              EOpTexture);
11720|      0|            symbolTable.relateToOperator("shadow2DProjEXT",          EOpTextureProj);
11721|      0|        }
11722|       |
11723|       |        // GL_EXT_shader_quad_control
11724|    371|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11724:14): [True: 0, False: 371]
  |  Branch (11724:39): [True: 0, False: 0]
  ------------------
11725|    371|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11725:14): [True: 371, False: 0]
  |  Branch (11725:39): [True: 371, False: 0]
  ------------------
11726|    371|            symbolTable.relateToOperator("subgroupQuadAll",                     EOpSubgroupQuadAll);
11727|    371|            symbolTable.relateToOperator("subgroupQuadAny",                     EOpSubgroupQuadAny);
11728|    371|        }
11729|       |
11730|    371|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11730:14): [True: 0, False: 371]
  |  Branch (11730:39): [True: 0, False: 0]
  ------------------
11731|    371|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11731:14): [True: 371, False: 0]
  |  Branch (11731:39): [True: 371, False: 0]
  ------------------
11732|    371|            symbolTable.relateToOperator("textureWeightedQCOM",      EOpImageSampleWeightedQCOM);
11733|    371|            symbolTable.relateToOperator("textureBoxFilterQCOM",     EOpImageBoxFilterQCOM);
11734|    371|            symbolTable.relateToOperator("textureBlockMatchSADQCOM", EOpImageBlockMatchSADQCOM);
11735|    371|            symbolTable.relateToOperator("textureBlockMatchSSDQCOM", EOpImageBlockMatchSSDQCOM);
11736|       |
11737|    371|            symbolTable.relateToOperator("textureBlockMatchWindowSSDQCOM", EOpImageBlockMatchWindowSSDQCOM);
11738|    371|            symbolTable.relateToOperator("textureBlockMatchWindowSADQCOM", EOpImageBlockMatchWindowSADQCOM);
11739|    371|            symbolTable.relateToOperator("textureBlockMatchGatherSSDQCOM", EOpImageBlockMatchGatherSSDQCOM);
11740|    371|            symbolTable.relateToOperator("textureBlockMatchGatherSADQCOM", EOpImageBlockMatchGatherSADQCOM);
11741|    371|        }
11742|       |
11743|    371|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11743:14): [True: 0, False: 371]
  |  Branch (11743:39): [True: 0, False: 0]
  ------------------
11744|    371|            (profile != EEsProfile && version >= 130)) {
  ------------------
  |  Branch (11744:14): [True: 371, False: 0]
  |  Branch (11744:39): [True: 371, False: 0]
  ------------------
11745|    371|            symbolTable.relateToOperator("textureGather4x1QCOM", EOpTextureGather4x1QCOM);
11746|    371|            symbolTable.relateToOperator("textureGatherV2QCOM",  EOpTextureGatherV2QCOM);
11747|    371|            symbolTable.relateToOperator("textureGatherH2QCOM",  EOpTextureGatherH2QCOM);
11748|    371|            symbolTable.relateToOperator("textureGatherDQCOM",   EOpTextureGatherDQCOM);
11749|    371|            symbolTable.relateToOperator("textureGather4x1OffsetQCOM", EOpTextureGather4x1OffsetQCOM);
11750|    371|            symbolTable.relateToOperator("textureGatherV2OffsetQCOM",  EOpTextureGatherV2OffsetQCOM);
11751|    371|            symbolTable.relateToOperator("textureGatherH2OffsetQCOM",  EOpTextureGatherH2OffsetQCOM);
11752|    371|            symbolTable.relateToOperator("textureGatherDOffsetQCOM",   EOpTextureGatherDOffsetQCOM);
11753|    371|        }
11754|       |
11755|    371|        if (profile != EEsProfile && spvVersion.spv == 0) {
  ------------------
  |  Branch (11755:13): [True: 371, False: 0]
  |  Branch (11755:38): [True: 0, False: 371]
  ------------------
11756|      0|            symbolTable.relateToOperator("texture1DArray", EOpTexture);
11757|      0|            symbolTable.relateToOperator("texture2DArray", EOpTexture);
11758|      0|            symbolTable.relateToOperator("shadow1DArray", EOpTexture);
11759|      0|            symbolTable.relateToOperator("shadow2DArray", EOpTexture);
11760|       |
11761|      0|            symbolTable.relateToOperator("texture1DArrayLod", EOpTextureLod);
11762|      0|            symbolTable.relateToOperator("texture2DArrayLod", EOpTextureLod);
11763|      0|            symbolTable.relateToOperator("shadow1DArrayLod", EOpTextureLod);
11764|      0|        }
11765|       |
11766|    371|        symbolTable.relateToOperator("coopVecMatMulNV",              EOpCooperativeVectorMatMulNV);
11767|    371|        symbolTable.relateToOperator("coopVecMatMulAddNV",           EOpCooperativeVectorMatMulAddNV);
11768|    371|        symbolTable.relateToOperator("coopVecLoadNV",                EOpCooperativeVectorLoadNV);
11769|    371|        symbolTable.relateToOperator("coopVecStoreNV",               EOpCooperativeVectorStoreNV);
11770|    371|        symbolTable.relateToOperator("coopVecOuterProductAccumulateNV", EOpCooperativeVectorOuterProductAccumulateNV);
11771|    371|        symbolTable.relateToOperator("coopVecReduceSumAccumulateNV",    EOpCooperativeVectorReduceSumAccumulateNV);
11772|    371|    }
11773|       |
11774|    371|    switch(language) {
11775|    115|    case EShLangVertex:
  ------------------
  |  Branch (11775:5): [True: 115, False: 256]
  ------------------
11776|    115|        break;
11777|       |
11778|     16|    case EShLangTessControl:
  ------------------
  |  Branch (11778:5): [True: 16, False: 355]
  ------------------
11779|     32|    case EShLangTessEvaluation:
  ------------------
  |  Branch (11779:5): [True: 16, False: 355]
  ------------------
11780|     32|        break;
11781|       |
11782|     16|    case EShLangGeometry:
  ------------------
  |  Branch (11782:5): [True: 16, False: 355]
  ------------------
11783|     16|        symbolTable.relateToOperator("EmitStreamVertex",   EOpEmitStreamVertex);
11784|     16|        symbolTable.relateToOperator("EndStreamPrimitive", EOpEndStreamPrimitive);
11785|     16|        symbolTable.relateToOperator("EmitVertex",         EOpEmitVertex);
11786|     16|        symbolTable.relateToOperator("EndPrimitive",       EOpEndPrimitive);
11787|     16|        break;
11788|       |
11789|    115|    case EShLangFragment:
  ------------------
  |  Branch (11789:5): [True: 115, False: 256]
  ------------------
11790|    115|        if (profile != EEsProfile && version >= 400) {
  ------------------
  |  Branch (11790:13): [True: 115, False: 0]
  |  Branch (11790:38): [True: 15, False: 100]
  ------------------
11791|     15|            symbolTable.relateToOperator("dFdxFine",     EOpDPdxFine);
11792|     15|            symbolTable.relateToOperator("dFdyFine",     EOpDPdyFine);
11793|     15|            symbolTable.relateToOperator("fwidthFine",   EOpFwidthFine);
11794|     15|            symbolTable.relateToOperator("dFdxCoarse",   EOpDPdxCoarse);
11795|     15|            symbolTable.relateToOperator("dFdyCoarse",   EOpDPdyCoarse);
11796|     15|            symbolTable.relateToOperator("fwidthCoarse", EOpFwidthCoarse);
11797|     15|        }
11798|       |
11799|    115|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11799:13): [True: 115, False: 0]
  |  Branch (11799:38): [True: 0, False: 115]
  ------------------
11800|      0|            symbolTable.relateToOperator("rayQueryInitializeEXT",                                             EOpRayQueryInitialize);
11801|      0|            symbolTable.relateToOperator("rayQueryTerminateEXT",                                              EOpRayQueryTerminate);
11802|      0|            symbolTable.relateToOperator("rayQueryGenerateIntersectionEXT",                                   EOpRayQueryGenerateIntersection);
11803|      0|            symbolTable.relateToOperator("rayQueryConfirmIntersectionEXT",                                    EOpRayQueryConfirmIntersection);
11804|      0|            symbolTable.relateToOperator("rayQueryProceedEXT",                                                EOpRayQueryProceed);
11805|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionTypeEXT",                                    EOpRayQueryGetIntersectionType);
11806|      0|            symbolTable.relateToOperator("rayQueryGetRayTMinEXT",                                             EOpRayQueryGetRayTMin);
11807|      0|            symbolTable.relateToOperator("rayQueryGetRayFlagsEXT",                                            EOpRayQueryGetRayFlags);
11808|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionTEXT",                                       EOpRayQueryGetIntersectionT);
11809|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionInstanceCustomIndexEXT",                     EOpRayQueryGetIntersectionInstanceCustomIndex);
11810|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionInstanceIdEXT",                              EOpRayQueryGetIntersectionInstanceId);
11811|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetEXT",  EOpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffset);
11812|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionGeometryIndexEXT",                           EOpRayQueryGetIntersectionGeometryIndex);
11813|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionPrimitiveIndexEXT",                          EOpRayQueryGetIntersectionPrimitiveIndex);
11814|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionBarycentricsEXT",                            EOpRayQueryGetIntersectionBarycentrics);
11815|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionFrontFaceEXT",                               EOpRayQueryGetIntersectionFrontFace);
11816|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionCandidateAABBOpaqueEXT",                     EOpRayQueryGetIntersectionCandidateAABBOpaque);
11817|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionObjectRayDirectionEXT",                      EOpRayQueryGetIntersectionObjectRayDirection);
11818|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionObjectRayOriginEXT",                         EOpRayQueryGetIntersectionObjectRayOrigin);
11819|      0|            symbolTable.relateToOperator("rayQueryGetWorldRayDirectionEXT",                                   EOpRayQueryGetWorldRayDirection);
11820|      0|            symbolTable.relateToOperator("rayQueryGetWorldRayOriginEXT",                                      EOpRayQueryGetWorldRayOrigin);
11821|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionObjectToWorldEXT",                           EOpRayQueryGetIntersectionObjectToWorld);
11822|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionWorldToObjectEXT",                           EOpRayQueryGetIntersectionWorldToObject);
11823|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionTriangleVertexPositionsEXT",                 EOpRayQueryGetIntersectionTriangleVertexPositionsEXT);
11824|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionClusterIdNV",                                EOpRayQueryGetIntersectionClusterIdNV);
11825|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionSpherePositionNV",                           EOpRayQueryGetIntersectionSpherePositionNV);
11826|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionSphereRadiusNV",                             EOpRayQueryGetIntersectionSphereRadiusNV);
11827|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionLSSHitValueNV",                              EOpRayQueryGetIntersectionLSSHitValueNV);
11828|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionLSSPositionsNV",                             EOpRayQueryGetIntersectionLSSPositionsNV);
11829|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionLSSRadiiNV",                                 EOpRayQueryGetIntersectionLSSRadiiNV);
11830|      0|            symbolTable.relateToOperator("rayQueryIsSphereHitNV",                                             EOpRayQueryIsSphereHitNV);
11831|      0|            symbolTable.relateToOperator("rayQueryIsLSSHitNV",                                                EOpRayQueryIsLSSHitNV);
11832|      0|        }
11833|       |
11834|    115|        symbolTable.relateToOperator("interpolateAtCentroid", EOpInterpolateAtCentroid);
11835|    115|        symbolTable.relateToOperator("interpolateAtSample",   EOpInterpolateAtSample);
11836|    115|        symbolTable.relateToOperator("interpolateAtOffset",   EOpInterpolateAtOffset);
11837|       |
11838|    115|        if (profile != EEsProfile)
  ------------------
  |  Branch (11838:13): [True: 115, False: 0]
  ------------------
11839|    115|            symbolTable.relateToOperator("interpolateAtVertexAMD", EOpInterpolateAtVertex);
11840|       |
11841|    115|        symbolTable.relateToOperator("beginInvocationInterlockARB", EOpBeginInvocationInterlock);
11842|    115|        symbolTable.relateToOperator("endInvocationInterlockARB",   EOpEndInvocationInterlock);
11843|       |
11844|    115|        symbolTable.relateToOperator("stencilAttachmentReadEXT", EOpStencilAttachmentReadEXT);
11845|    115|        symbolTable.relateToOperator("depthAttachmentReadEXT",   EOpDepthAttachmentReadEXT);
11846|    115|        symbolTable.relateToOperator("colorAttachmentReadEXT",   EOpColorAttachmentReadEXT);
11847|       |
11848|    115|        break;
11849|       |
11850|     11|    case EShLangCompute:
  ------------------
  |  Branch (11850:5): [True: 11, False: 360]
  ------------------
11851|     11|        symbolTable.relateToOperator("subgroupMemoryBarrierShared", EOpSubgroupMemoryBarrierShared);
11852|     11|        if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (11852:14): [True: 11, False: 0]
  |  Branch (11852:39): [True: 11, False: 0]
  ------------------
11853|     11|            (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (11853:14): [True: 0, False: 0]
  |  Branch (11853:39): [True: 0, False: 0]
  ------------------
11854|     11|            symbolTable.relateToOperator("dFdx",        EOpDPdx);
11855|     11|            symbolTable.relateToOperator("dFdy",        EOpDPdy);
11856|     11|            symbolTable.relateToOperator("fwidth",      EOpFwidth);
11857|     11|            symbolTable.relateToOperator("dFdxFine",    EOpDPdxFine);
11858|     11|            symbolTable.relateToOperator("dFdyFine",    EOpDPdyFine);
11859|     11|            symbolTable.relateToOperator("fwidthFine",  EOpFwidthFine);
11860|     11|            symbolTable.relateToOperator("dFdxCoarse",  EOpDPdxCoarse);
11861|     11|            symbolTable.relateToOperator("dFdyCoarse",  EOpDPdyCoarse);
11862|     11|            symbolTable.relateToOperator("fwidthCoarse",EOpFwidthCoarse);
11863|     11|        }
11864|     11|        symbolTable.relateToOperator("coopMatLoadNV",              EOpCooperativeMatrixLoadNV);
11865|     11|        symbolTable.relateToOperator("coopMatStoreNV",             EOpCooperativeMatrixStoreNV);
11866|     11|        symbolTable.relateToOperator("coopMatMulAddNV",            EOpCooperativeMatrixMulAddNV);
11867|       |
11868|     11|        symbolTable.relateToOperator("coopMatLoad",                EOpCooperativeMatrixLoad);
11869|     11|        symbolTable.relateToOperator("coopMatStore",               EOpCooperativeMatrixStore);
11870|     11|        symbolTable.relateToOperator("coopMatMulAdd",              EOpCooperativeMatrixMulAdd);
11871|       |
11872|     11|        symbolTable.relateToOperator("coopMatLoadTensorNV",        EOpCooperativeMatrixLoadTensorNV);
11873|     11|        symbolTable.relateToOperator("coopMatStoreTensorNV",       EOpCooperativeMatrixStoreTensorNV);
11874|       |
11875|     11|        symbolTable.relateToOperator("coopMatReduceNV",            EOpCooperativeMatrixReduceNV);
11876|     11|        symbolTable.relateToOperator("coopMatPerElementNV",        EOpCooperativeMatrixPerElementOpNV);
11877|     11|        symbolTable.relateToOperator("coopMatTransposeNV",         EOpCooperativeMatrixTransposeNV);
11878|       |
11879|     11|        symbolTable.relateToOperator("coopMatReduceEXT",           EOpCooperativeMatrixReduceNV);
11880|     11|        symbolTable.relateToOperator("coopMatPerElementEXT",       EOpCooperativeMatrixPerElementOpNV);
11881|     11|        symbolTable.relateToOperator("coopMatTransposeEXT",        EOpCooperativeMatrixTransposeNV);
11882|     11|        symbolTable.relateToOperator("coopMatGetCoordinateEXT",    EOpCooperativeMatrixGetCoordinateEXT);
11883|       |
11884|     11|        symbolTable.relateToOperator("createTensorLayoutNV",         EOpCreateTensorLayoutNV);
11885|     11|        symbolTable.relateToOperator("setTensorLayoutBlockSizeNV",   EOpTensorLayoutSetBlockSizeNV);
11886|     11|        symbolTable.relateToOperator("setTensorLayoutDimensionNV",   EOpTensorLayoutSetDimensionNV);
11887|     11|        symbolTable.relateToOperator("setTensorLayoutStrideNV",      EOpTensorLayoutSetStrideNV);
11888|     11|        symbolTable.relateToOperator("sliceTensorLayoutNV",          EOpTensorLayoutSliceNV);
11889|     11|        symbolTable.relateToOperator("setTensorLayoutClampValueNV",  EOpTensorLayoutSetClampValueNV);
11890|       |
11891|     11|        symbolTable.relateToOperator("createTensorViewNV",           EOpCreateTensorViewNV);
11892|     11|        symbolTable.relateToOperator("setTensorViewDimensionsNV",    EOpTensorViewSetDimensionNV);
11893|     11|        symbolTable.relateToOperator("setTensorViewStrideNV",        EOpTensorViewSetStrideNV);
11894|     11|        symbolTable.relateToOperator("setTensorViewClipNV",          EOpTensorViewSetClipNV);
11895|       |
11896|     11|        symbolTable.relateToOperator("tensorReadARM",                EOpTensorReadARM);
11897|     11|        symbolTable.relateToOperator("tensorWriteARM",               EOpTensorWriteARM);
11898|     11|        symbolTable.relateToOperator("tensorSizeARM",                EOpTensorSizeARM);
11899|       |
11900|     11|        symbolTable.relateToOperator("bitcastQCOM", EOpBitCastArrayQCOM);
11901|     11|        symbolTable.relateToOperator("extractSubArrayQCOM", EOpExtractSubArrayQCOM);
11902|     11|        symbolTable.relateToOperator("vectorToCoopmatQCOM", EOpCompositeConstructCoopMatQCOM);
11903|     11|        symbolTable.relateToOperator("coopmatToVectorQCOM", EOpCompositeExtractCoopMatQCOM);
11904|       |
11905|     11|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11905:13): [True: 11, False: 0]
  |  Branch (11905:38): [True: 0, False: 11]
  ------------------
11906|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexPositionNV", EOpFetchMicroTriangleVertexPositionNV);
11907|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexBarycentricNV", EOpFetchMicroTriangleVertexBarycentricNV);
11908|      0|        }
11909|     11|        break;
11910|       |
11911|     11|    case EShLangRayGen:
  ------------------
  |  Branch (11911:5): [True: 11, False: 360]
  ------------------
11912|     11|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11912:13): [True: 11, False: 0]
  |  Branch (11912:38): [True: 0, False: 11]
  ------------------
11913|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexPositionNV", EOpFetchMicroTriangleVertexPositionNV);
11914|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexBarycentricNV", EOpFetchMicroTriangleVertexBarycentricNV);
11915|      0|        }
11916|     11|        [[fallthrough]];
11917|     22|    case EShLangClosestHit:
  ------------------
  |  Branch (11917:5): [True: 11, False: 360]
  ------------------
11918|     33|    case EShLangMiss:
  ------------------
  |  Branch (11918:5): [True: 11, False: 360]
  ------------------
11919|     33|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11919:13): [True: 33, False: 0]
  |  Branch (11919:38): [True: 0, False: 33]
  ------------------
11920|      0|            symbolTable.relateToOperator("traceNV", EOpTraceNV);
11921|      0|            symbolTable.relateToOperator("traceRayMotionNV", EOpTraceRayMotionNV);
11922|      0|            symbolTable.relateToOperator("traceRayEXT", EOpTraceKHR);
11923|      0|            symbolTable.relateToOperator("executeCallableNV", EOpExecuteCallableNV);
11924|      0|            symbolTable.relateToOperator("executeCallableEXT", EOpExecuteCallableKHR);
11925|       |
11926|      0|            symbolTable.relateToOperator("hitObjectTraceRayNV", EOpHitObjectTraceRayNV);
11927|      0|            symbolTable.relateToOperator("hitObjectTraceRayMotionNV", EOpHitObjectTraceRayMotionNV);
11928|      0|            symbolTable.relateToOperator("hitObjectRecordHitNV", EOpHitObjectRecordHitNV);
11929|      0|            symbolTable.relateToOperator("hitObjectRecordHitMotionNV", EOpHitObjectRecordHitMotionNV);
11930|      0|            symbolTable.relateToOperator("hitObjectRecordHitWithIndexNV", EOpHitObjectRecordHitWithIndexNV);
11931|      0|            symbolTable.relateToOperator("hitObjectRecordHitWithIndexMotionNV", EOpHitObjectRecordHitWithIndexMotionNV);
11932|      0|            symbolTable.relateToOperator("hitObjectRecordMissNV", EOpHitObjectRecordMissNV);
11933|      0|            symbolTable.relateToOperator("hitObjectRecordMissMotionNV", EOpHitObjectRecordMissMotionNV);
11934|      0|            symbolTable.relateToOperator("hitObjectRecordEmptyNV", EOpHitObjectRecordEmptyNV);
11935|      0|            symbolTable.relateToOperator("hitObjectExecuteShaderNV", EOpHitObjectExecuteShaderNV);
11936|      0|            symbolTable.relateToOperator("hitObjectIsEmptyNV", EOpHitObjectIsEmptyNV);
11937|      0|            symbolTable.relateToOperator("hitObjectIsMissNV", EOpHitObjectIsMissNV);
11938|      0|            symbolTable.relateToOperator("hitObjectIsHitNV", EOpHitObjectIsHitNV);
11939|      0|            symbolTable.relateToOperator("hitObjectGetRayTMinNV", EOpHitObjectGetRayTMinNV);
11940|      0|            symbolTable.relateToOperator("hitObjectGetRayTMaxNV", EOpHitObjectGetRayTMaxNV);
11941|      0|            symbolTable.relateToOperator("hitObjectGetObjectRayOriginNV", EOpHitObjectGetObjectRayOriginNV);
11942|      0|            symbolTable.relateToOperator("hitObjectGetObjectRayDirectionNV", EOpHitObjectGetObjectRayDirectionNV);
11943|      0|            symbolTable.relateToOperator("hitObjectGetWorldRayOriginNV", EOpHitObjectGetWorldRayOriginNV);
11944|      0|            symbolTable.relateToOperator("hitObjectGetWorldRayDirectionNV", EOpHitObjectGetWorldRayDirectionNV);
11945|      0|            symbolTable.relateToOperator("hitObjectGetWorldToObjectNV", EOpHitObjectGetWorldToObjectNV);
11946|      0|            symbolTable.relateToOperator("hitObjectGetObjectToWorldNV", EOpHitObjectGetObjectToWorldNV);
11947|      0|            symbolTable.relateToOperator("hitObjectGetInstanceCustomIndexNV", EOpHitObjectGetInstanceCustomIndexNV);
11948|      0|            symbolTable.relateToOperator("hitObjectGetInstanceIdNV", EOpHitObjectGetInstanceIdNV);
11949|      0|            symbolTable.relateToOperator("hitObjectGetGeometryIndexNV", EOpHitObjectGetGeometryIndexNV);
11950|      0|            symbolTable.relateToOperator("hitObjectGetPrimitiveIndexNV", EOpHitObjectGetPrimitiveIndexNV);
11951|      0|            symbolTable.relateToOperator("hitObjectGetHitKindNV", EOpHitObjectGetHitKindNV);
11952|      0|            symbolTable.relateToOperator("hitObjectGetAttributesNV", EOpHitObjectGetAttributesNV);
11953|      0|            symbolTable.relateToOperator("hitObjectGetCurrentTimeNV", EOpHitObjectGetCurrentTimeNV);
11954|      0|            symbolTable.relateToOperator("hitObjectGetShaderBindingTableRecordIndexNV", EOpHitObjectGetShaderBindingTableRecordIndexNV);
11955|      0|            symbolTable.relateToOperator("hitObjectGetShaderRecordBufferHandleNV", EOpHitObjectGetShaderRecordBufferHandleNV);
11956|      0|            symbolTable.relateToOperator("hitObjectGetClusterIdNV", EOpHitObjectGetClusterIdNV);
11957|      0|            symbolTable.relateToOperator("reorderThreadNV", EOpReorderThreadNV);
11958|      0|            symbolTable.relateToOperator("hitObjectGetSpherePositionNV", EOpHitObjectGetSpherePositionNV);
11959|      0|            symbolTable.relateToOperator("hitObjectGetSphereRadiusNV", EOpHitObjectGetSphereRadiusNV);
11960|      0|            symbolTable.relateToOperator("hitObjectGetLSSPositionsNV", EOpHitObjectGetLSSPositionsNV);
11961|      0|            symbolTable.relateToOperator("hitObjectGetLSSRadiiNV", EOpHitObjectGetLSSRadiiNV);
11962|      0|            symbolTable.relateToOperator("hitObjectIsSphereHitNV", EOpHitObjectIsSphereHitNV);
11963|      0|            symbolTable.relateToOperator("hitObjectIsLSSHitNV", EOpHitObjectIsLSSHitNV);
11964|      0|            symbolTable.relateToOperator("hitObjectTraceRayEXT", EOpHitObjectTraceRayEXT);
11965|      0|            symbolTable.relateToOperator("hitObjectTraceRayMotionEXT", EOpHitObjectTraceRayMotionEXT);
11966|      0|            symbolTable.relateToOperator("hitObjectRecordMissEXT", EOpHitObjectRecordMissEXT);
11967|      0|            symbolTable.relateToOperator("hitObjectRecordMissMotionEXT", EOpHitObjectRecordMissMotionEXT);
11968|      0|            symbolTable.relateToOperator("hitObjectRecordEmptyEXT", EOpHitObjectRecordEmptyEXT);
11969|      0|            symbolTable.relateToOperator("hitObjectExecuteShaderEXT", EOpHitObjectExecuteShaderEXT);
11970|      0|            symbolTable.relateToOperator("hitObjectIsEmptyEXT", EOpHitObjectIsEmptyEXT);
11971|      0|            symbolTable.relateToOperator("hitObjectIsMissEXT", EOpHitObjectIsMissEXT);
11972|      0|            symbolTable.relateToOperator("hitObjectIsHitEXT", EOpHitObjectIsHitEXT);
11973|      0|            symbolTable.relateToOperator("hitObjectGetRayTMinEXT", EOpHitObjectGetRayTMinEXT);
11974|      0|            symbolTable.relateToOperator("hitObjectGetRayTMaxEXT", EOpHitObjectGetRayTMaxEXT);
11975|      0|            symbolTable.relateToOperator("hitObjectGetRayFlagsEXT", EOpHitObjectGetRayFlagsEXT);
11976|      0|            symbolTable.relateToOperator("hitObjectGetObjectRayOriginEXT", EOpHitObjectGetObjectRayOriginEXT);
11977|      0|            symbolTable.relateToOperator("hitObjectGetObjectRayDirectionEXT", EOpHitObjectGetObjectRayDirectionEXT);
11978|      0|            symbolTable.relateToOperator("hitObjectGetWorldRayOriginEXT", EOpHitObjectGetWorldRayOriginEXT);
11979|      0|            symbolTable.relateToOperator("hitObjectGetWorldRayDirectionEXT", EOpHitObjectGetWorldRayDirectionEXT);
11980|      0|            symbolTable.relateToOperator("hitObjectGetWorldToObjectEXT", EOpHitObjectGetWorldToObjectEXT);
11981|      0|            symbolTable.relateToOperator("hitObjectGetObjectToWorldEXT", EOpHitObjectGetObjectToWorldEXT);
11982|      0|            symbolTable.relateToOperator("hitObjectGetInstanceCustomIndexEXT", EOpHitObjectGetInstanceCustomIndexEXT);
11983|      0|            symbolTable.relateToOperator("hitObjectGetInstanceIdEXT", EOpHitObjectGetInstanceIdEXT);
11984|      0|            symbolTable.relateToOperator("hitObjectGetGeometryIndexEXT", EOpHitObjectGetGeometryIndexEXT);
11985|      0|            symbolTable.relateToOperator("hitObjectGetPrimitiveIndexEXT", EOpHitObjectGetPrimitiveIndexEXT);
11986|      0|            symbolTable.relateToOperator("hitObjectGetHitKindEXT", EOpHitObjectGetHitKindEXT);
11987|      0|            symbolTable.relateToOperator("hitObjectGetAttributesEXT", EOpHitObjectGetAttributesEXT);
11988|      0|            symbolTable.relateToOperator("hitObjectGetCurrentTimeEXT", EOpHitObjectGetCurrentTimeEXT);
11989|      0|            symbolTable.relateToOperator("hitObjectGetShaderBindingTableRecordIndexEXT", EOpHitObjectGetShaderBindingTableRecordIndexEXT);
11990|      0|            symbolTable.relateToOperator("hitObjectGetShaderRecordBufferHandleEXT", EOpHitObjectGetShaderRecordBufferHandleEXT);
11991|      0|            symbolTable.relateToOperator("hitObjectSetShaderBindingTableRecordIndexEXT", EOpHitObjectSetShaderBindingTableRecordIndexEXT);
11992|      0|            symbolTable.relateToOperator("reorderThreadEXT", EOpReorderThreadEXT);
11993|      0|            symbolTable.relateToOperator("hitObjectReorderExecuteEXT", EOpHitObjectReorderExecuteEXT);
11994|      0|            symbolTable.relateToOperator("hitObjectTraceReorderExecuteEXT", EOpHitObjectTraceReorderExecuteEXT);
11995|      0|            symbolTable.relateToOperator("hitObjectTraceMotionReorderExecuteEXT", EOpHitObjectTraceMotionReorderExecuteEXT);
11996|      0|            symbolTable.relateToOperator("hitObjectRecordFromQueryEXT", EOpHitObjectRecordFromQueryEXT);
11997|      0|            symbolTable.relateToOperator("hitObjectGetIntersectionTriangleVertexPositionsEXT", EOpHitObjectGetIntersectionTriangleVertexPositionsEXT);
11998|      0|        }
11999|     33|        break;
12000|     11|    case EShLangIntersect:
  ------------------
  |  Branch (12000:5): [True: 11, False: 360]
  ------------------
12001|     11|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (12001:13): [True: 11, False: 0]
  |  Branch (12001:38): [True: 0, False: 11]
  ------------------
12002|      0|            symbolTable.relateToOperator("reportIntersectionNV", EOpReportIntersection);
12003|      0|            symbolTable.relateToOperator("reportIntersectionEXT", EOpReportIntersection);
12004|      0|        }
12005|     11|        break;
12006|     11|    case EShLangAnyHit:
  ------------------
  |  Branch (12006:5): [True: 11, False: 360]
  ------------------
12007|     11|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (12007:13): [True: 11, False: 0]
  |  Branch (12007:38): [True: 0, False: 11]
  ------------------
12008|      0|            symbolTable.relateToOperator("ignoreIntersectionNV", EOpIgnoreIntersectionNV);
12009|      0|            symbolTable.relateToOperator("terminateRayNV", EOpTerminateRayNV);
12010|      0|        }
12011|     11|        break;
12012|     11|    case EShLangCallable:
  ------------------
  |  Branch (12012:5): [True: 11, False: 360]
  ------------------
12013|     11|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (12013:13): [True: 11, False: 0]
  |  Branch (12013:38): [True: 0, False: 11]
  ------------------
12014|      0|            symbolTable.relateToOperator("executeCallableNV", EOpExecuteCallableNV);
12015|      0|            symbolTable.relateToOperator("executeCallableEXT", EOpExecuteCallableKHR);
12016|      0|        }
12017|     11|        break;
12018|      5|    case EShLangMesh:
  ------------------
  |  Branch (12018:5): [True: 5, False: 366]
  ------------------
12019|      5|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (12019:14): [True: 5, False: 0]
  |  Branch (12019:39): [True: 5, False: 0]
  |  Branch (12019:59): [True: 0, False: 0]
  |  Branch (12019:84): [True: 0, False: 0]
  ------------------
12020|      5|            symbolTable.relateToOperator("writePackedPrimitiveIndices4x8NV", EOpWritePackedPrimitiveIndices4x8NV);
12021|      5|            symbolTable.relateToOperator("memoryBarrierShared", EOpMemoryBarrierShared);
12022|      5|            symbolTable.relateToOperator("groupMemoryBarrier", EOpGroupMemoryBarrier);
12023|      5|            symbolTable.relateToOperator("subgroupMemoryBarrierShared", EOpSubgroupMemoryBarrierShared);
12024|      5|        }
12025|       |
12026|      5|        if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (12026:13): [True: 5, False: 0]
  |  Branch (12026:38): [True: 5, False: 0]
  ------------------
12027|      5|            symbolTable.relateToOperator("SetMeshOutputsEXT", EOpSetMeshOutputsEXT);
12028|      5|        }
12029|       |
12030|      5|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (12030:13): [True: 5, False: 0]
  |  Branch (12030:38): [True: 0, False: 5]
  ------------------
12031|       |            // Builtins for GL_NV_displacement_micromap.
12032|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexPositionNV", EOpFetchMicroTriangleVertexPositionNV);
12033|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexBarycentricNV", EOpFetchMicroTriangleVertexBarycentricNV);
12034|      0|        }
12035|      5|        break;
12036|     11|    case EShLangTask:
  ------------------
  |  Branch (12036:5): [True: 11, False: 360]
  ------------------
12037|     11|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (12037:14): [True: 11, False: 0]
  |  Branch (12037:39): [True: 11, False: 0]
  |  Branch (12037:59): [True: 0, False: 0]
  |  Branch (12037:84): [True: 0, False: 0]
  ------------------
12038|     11|            symbolTable.relateToOperator("memoryBarrierShared", EOpMemoryBarrierShared);
12039|     11|            symbolTable.relateToOperator("groupMemoryBarrier", EOpGroupMemoryBarrier);
12040|     11|            symbolTable.relateToOperator("subgroupMemoryBarrierShared", EOpSubgroupMemoryBarrierShared);
12041|     11|        }
12042|     11|        if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (12042:13): [True: 11, False: 0]
  |  Branch (12042:38): [True: 11, False: 0]
  ------------------
12043|     11|            symbolTable.relateToOperator("EmitMeshTasksEXT", EOpEmitMeshTasksEXT);
12044|     11|        }
12045|     11|        break;
12046|       |
12047|      0|    default:
  ------------------
  |  Branch (12047:5): [True: 0, False: 371]
  ------------------
12048|       |        assert(false && "Language not supported");
12049|    371|    }
12050|    371|}
_ZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableERK16TBuiltInResource:
12062|    115|{
12063|    115|    if (profile != EEsProfile && version >= 430 && version < 440) {
  ------------------
  |  Branch (12063:9): [True: 115, False: 0]
  |  Branch (12063:34): [True: 11, False: 104]
  |  Branch (12063:52): [True: 0, False: 11]
  ------------------
12064|      0|        symbolTable.setVariableExtensions("gl_MaxTransformFeedbackBuffers", 1, &E_GL_ARB_enhanced_layouts);
12065|      0|        symbolTable.setVariableExtensions("gl_MaxTransformFeedbackInterleavedComponents", 1, &E_GL_ARB_enhanced_layouts);
12066|      0|    }
12067|    115|    if (profile != EEsProfile && version >= 130 && version < 420) {
  ------------------
  |  Branch (12067:9): [True: 115, False: 0]
  |  Branch (12067:34): [True: 115, False: 0]
  |  Branch (12067:52): [True: 104, False: 11]
  ------------------
12068|    104|        symbolTable.setVariableExtensions("gl_MinProgramTexelOffset", 1, &E_GL_ARB_shading_language_420pack);
12069|    104|        symbolTable.setVariableExtensions("gl_MaxProgramTexelOffset", 1, &E_GL_ARB_shading_language_420pack);
12070|    104|    }
12071|    115|    if (profile != EEsProfile && version >= 150 && version < 410)
  ------------------
  |  Branch (12071:9): [True: 115, False: 0]
  |  Branch (12071:34): [True: 16, False: 99]
  |  Branch (12071:52): [True: 5, False: 11]
  ------------------
12072|      5|        symbolTable.setVariableExtensions("gl_MaxViewports", 1, &E_GL_ARB_viewport_array);
12073|       |
12074|    115|    switch(language) {
12075|      0|    case EShLangFragment:
  ------------------
  |  Branch (12075:5): [True: 0, False: 115]
  ------------------
12076|       |        // Set up gl_FragData based on current array size.
12077|      0|        if (version == 100 || IncludeLegacy(version, profile, spvVersion) || (! ForwardCompatibility && profile != EEsProfile && version < 420)) {
  ------------------
  |  Branch (12077:13): [True: 0, False: 0]
  |  Branch (12077:31): [True: 0, False: 0]
  |  Branch (12077:79): [True: 0, Folded]
  |  Branch (12077:105): [True: 0, False: 0]
  |  Branch (12077:130): [True: 0, False: 0]
  ------------------
12078|      0|            TPrecisionQualifier pq = profile == EEsProfile ? EpqMedium : EpqNone;
  ------------------
  |  Branch (12078:38): [True: 0, False: 0]
  ------------------
12079|      0|            TType fragData(EbtFloat, EvqFragColor, pq, 4);
12080|      0|            TArraySizes* arraySizes = new TArraySizes;
12081|      0|            arraySizes->addInnerSize(resources.maxDrawBuffers);
12082|      0|            fragData.transferArraySizes(arraySizes);
12083|      0|            symbolTable.insert(*new TVariable(NewPoolTString("gl_FragData"), fragData));
12084|      0|            SpecialQualifier("gl_FragData", EvqFragColor, EbvFragData, symbolTable);
12085|      0|        }
12086|       |
12087|       |        // GL_EXT_blend_func_extended
12088|      0|        if (profile == EEsProfile && version >= 100) {
  ------------------
  |  Branch (12088:13): [True: 0, False: 0]
  |  Branch (12088:38): [True: 0, False: 0]
  ------------------
12089|      0|           symbolTable.setVariableExtensions("gl_MaxDualSourceDrawBuffersEXT",    1, &E_GL_EXT_blend_func_extended);
12090|      0|           symbolTable.setVariableExtensions("gl_SecondaryFragColorEXT",    1, &E_GL_EXT_blend_func_extended);
12091|      0|           symbolTable.setVariableExtensions("gl_SecondaryFragDataEXT",    1, &E_GL_EXT_blend_func_extended);
12092|      0|           SpecialQualifier("gl_SecondaryFragColorEXT", EvqVaryingOut, EbvSecondaryFragColorEXT, symbolTable);
12093|      0|           SpecialQualifier("gl_SecondaryFragDataEXT", EvqVaryingOut, EbvSecondaryFragDataEXT, symbolTable);
12094|      0|        }
12095|       |
12096|      0|        break;
12097|       |
12098|      8|    case EShLangTessControl:
  ------------------
  |  Branch (12098:5): [True: 8, False: 107]
  ------------------
12099|     10|    case EShLangTessEvaluation:
  ------------------
  |  Branch (12099:5): [True: 2, False: 113]
  ------------------
12100|       |        // Because of the context-dependent array size (gl_MaxPatchVertices),
12101|       |        // these variables were added later than the others and need to be mapped now.
12102|       |
12103|       |        // standard members
12104|     10|        BuiltInVariable("gl_in", "gl_Position",     EbvPosition,     symbolTable);
12105|     10|        BuiltInVariable("gl_in", "gl_PointSize",    EbvPointSize,    symbolTable);
12106|     10|        BuiltInVariable("gl_in", "gl_ClipDistance", EbvClipDistance, symbolTable);
12107|     10|        BuiltInVariable("gl_in", "gl_CullDistance", EbvCullDistance, symbolTable);
12108|       |
12109|       |        // compatibility members
12110|     10|        BuiltInVariable("gl_in", "gl_ClipVertex",          EbvClipVertex,          symbolTable);
12111|     10|        BuiltInVariable("gl_in", "gl_FrontColor",          EbvFrontColor,          symbolTable);
12112|     10|        BuiltInVariable("gl_in", "gl_BackColor",           EbvBackColor,           symbolTable);
12113|     10|        BuiltInVariable("gl_in", "gl_FrontSecondaryColor", EbvFrontSecondaryColor, symbolTable);
12114|     10|        BuiltInVariable("gl_in", "gl_BackSecondaryColor",  EbvBackSecondaryColor,  symbolTable);
12115|     10|        BuiltInVariable("gl_in", "gl_TexCoord",            EbvTexCoord,            symbolTable);
12116|     10|        BuiltInVariable("gl_in", "gl_FogFragCoord",        EbvFogFragCoord,        symbolTable);
12117|       |
12118|     10|        symbolTable.setVariableExtensions("gl_in", "gl_SecondaryPositionNV", 1, &E_GL_NV_stereo_view_rendering);
12119|     10|        symbolTable.setVariableExtensions("gl_in", "gl_PositionPerViewNV",   1, &E_GL_NVX_multiview_per_view_attributes);
12120|       |
12121|     10|        BuiltInVariable("gl_in", "gl_SecondaryPositionNV", EbvSecondaryPositionNV, symbolTable);
12122|     10|        BuiltInVariable("gl_in", "gl_PositionPerViewNV",   EbvPositionPerViewNV,   symbolTable);
12123|       |
12124|       |        // extension requirements
12125|     10|        if (profile == EEsProfile) {
  ------------------
  |  Branch (12125:13): [True: 0, False: 10]
  ------------------
12126|      0|            symbolTable.setVariableExtensions("gl_in", "gl_PointSize", Num_AEP_tessellation_point_size, AEP_tessellation_point_size);
12127|      0|        }
12128|       |
12129|     10|        break;
12130|       |
12131|    105|    default:
  ------------------
  |  Branch (12131:5): [True: 105, False: 10]
  ------------------
12132|    105|        break;
12133|    115|    }
12134|    115|}
Initialize.cpp:_ZZN7glslang9TBuiltIns17addTabledBuiltinsEi8EProfileRKNS_10SpvVersionEENK3$_0clERNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEERK4spanIKNS_12_GLOBAL__N_115BuiltInFunctionEE:
  510|    241|    const auto forEachFunction = [&](TString& decls, const span<const BuiltInFunction>& functions) {
  511|  9.46k|        for (const auto& fn : functions) {
  ------------------
  |  Branch (511:29): [True: 9.46k, False: 241]
  ------------------
  512|  9.46k|            if (ValidVersion(fn, version, profile, spvVersion)) {
  ------------------
  |  Branch (512:17): [True: 8.45k, False: 1.00k]
  ------------------
  513|  8.45k|                AddTabledBuiltin(decls, fn);
  514|  8.45k|                if (profile != EEsProfile) {
  ------------------
  |  Branch (514:21): [True: 8.45k, False: 0]
  ------------------
  515|  8.45k|                    AddLongVectorBuiltin(decls, fn);
  516|  8.45k|                }
  517|  8.45k|            }
  518|  9.46k|        }
  519|    241|    };
Initialize.cpp:_ZN7glslang12_GLOBAL__N_112ValidVersionERKNS0_15BuiltInFunctionEi8EProfileRKNS_10SpvVersionE:
  476|  9.46k|{
  477|       |    // nullptr means always valid
  478|  9.46k|    if (function.versioning.empty())
  ------------------
  |  Branch (478:9): [True: 5.55k, False: 3.91k]
  ------------------
  479|  5.55k|        return true;
  480|       |
  481|       |    // check for what is said about our current profile
  482|  7.82k|    for (const auto& v : function.versioning) {
  ------------------
  |  Branch (482:24): [True: 7.82k, False: 1.00k]
  ------------------
  483|  7.82k|        if ((v.profiles & profile) != 0) {
  ------------------
  |  Branch (483:13): [True: 3.91k, False: 3.91k]
  ------------------
  484|  3.91k|            if (v.minCoreVersion <= version || (v.numExtensions > 0 && v.minExtendedVersion <= version))
  ------------------
  |  Branch (484:17): [True: 2.90k, False: 1.00k]
  |  Branch (484:49): [True: 0, False: 1.00k]
  |  Branch (484:72): [True: 0, False: 0]
  ------------------
  485|  2.90k|                return true;
  486|  3.91k|        }
  487|  7.82k|    }
  488|       |
  489|  1.00k|    return false;
  490|  3.91k|}
Initialize.cpp:_ZN7glslang12_GLOBAL__N_116AddTabledBuiltinERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS0_15BuiltInFunctionE:
  322|  8.45k|{
  323|  8.45k|    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|  8.45k|    const ArgClass ClassFixed = (ArgClass)(ClassLS | ClassXLS | ClassLS2 | ClassFS | ClassFS2);
  329|  18.1k|    for (int fixed = 0; fixed < ((function.classes & ClassFixed) > 0 ? 2 : 1); ++fixed) {
  ------------------
  |  Branch (329:25): [True: 9.72k, False: 8.45k]
  |  Branch (329:34): [True: 3.79k, False: 14.3k]
  ------------------
  330|       |
  331|  9.72k|        if (fixed == 0 && (function.classes & ClassXLS))
  ------------------
  |  Branch (331:13): [True: 8.45k, False: 1.26k]
  |  Branch (331:27): [True: 115, False: 8.34k]
  ------------------
  332|    115|            continue;
  333|       |
  334|       |        // walk the type strings in TypeString[]
  335|   163k|        for (int type = 0; type < TypeStringCount; ++type) {
  ------------------
  |  Branch (335:28): [True: 153k, False: 9.60k]
  ------------------
  336|       |            // skip types not selected: go from type to row number to type bit
  337|   153k|            if ((function.types & (1 << (type >> TypeStringRowShift))) == 0)
  ------------------
  |  Branch (337:17): [True: 108k, False: 45.3k]
  ------------------
  338|   108k|                continue;
  339|       |
  340|       |            // if we aren't on a scalar, and should be, skip
  341|  45.3k|            if ((function.classes & ClassV1) && !isScalarType(type))
  ------------------
  |  Branch (341:17): [True: 960, False: 44.4k]
  |  Branch (341:49): [True: 720, False: 240]
  ------------------
  342|    720|                continue;
  343|       |
  344|       |            // if we aren't on a 3-vector, and should be, skip
  345|  44.6k|            if ((function.classes & ClassV3) && (type & TypeStringColumnMask) != 2)
  ------------------
  |  Branch (345:17): [True: 460, False: 44.2k]
  |  Branch (345:49): [True: 345, False: 115]
  ------------------
  346|    345|                continue;
  347|       |
  348|       |            // skip replication of all arg scalars between the varying arg set and the fixed args
  349|  44.3k|            if (fixed == 1 && type == (type & TypeStringScalarMask) && (function.classes & ClassXLS) == 0)
  ------------------
  |  Branch (349:17): [True: 6.44k, False: 37.8k]
  |  Branch (349:31): [True: 1.61k, False: 4.83k]
  |  Branch (349:72): [True: 1.49k, False: 115]
  ------------------
  350|  1.49k|                continue;
  351|       |
  352|       |            // skip scalars when we are told to
  353|  42.8k|            if ((function.classes & ClassNS) && isScalarType(type))
  ------------------
  |  Branch (353:17): [True: 10.5k, False: 32.2k]
  |  Branch (353:49): [True: 2.64k, False: 7.93k]
  ------------------
  354|  2.64k|                continue;
  355|       |
  356|       |            // return type
  357|  40.1k|            if (function.classes & ClassB)
  ------------------
  |  Branch (357:17): [True: 7.82k, False: 32.3k]
  ------------------
  358|  7.82k|                decls.append(TypeString[type & TypeStringColumnMask]);
  359|  32.3k|            else if (function.classes & ClassRS)
  ------------------
  |  Branch (359:22): [True: 2.07k, False: 30.2k]
  ------------------
  360|  2.07k|                decls.append(TypeString[type & TypeStringScalarMask]);
  361|  30.2k|            else
  362|  30.2k|                decls.append(TypeString[type]);
  363|  40.1k|            decls.append(" ");
  364|  40.1k|            decls.append(function.name);
  365|  40.1k|            decls.append("(");
  366|       |
  367|       |            // arguments
  368|   107k|            for (int arg = 0; arg < function.numArguments; ++arg) {
  ------------------
  |  Branch (368:31): [True: 67.7k, False: 40.1k]
  ------------------
  369|  67.7k|                if (arg == function.numArguments - 1 && (function.classes & ClassLO))
  ------------------
  |  Branch (369:21): [True: 40.1k, False: 27.5k]
  |  Branch (369:57): [True: 460, False: 39.7k]
  ------------------
  370|    460|                    decls.append("out ");
  371|  67.7k|                if (arg == 0) {
  ------------------
  |  Branch (371:21): [True: 40.1k, False: 27.5k]
  ------------------
  372|  40.1k|                    if (function.classes & ClassCVN)
  ------------------
  |  Branch (372:25): [True: 240, False: 39.9k]
  ------------------
  373|    240|                        decls.append("coherent volatile nontemporal ");
  374|  40.1k|                    if (function.classes & ClassFIO)
  ------------------
  |  Branch (374:25): [True: 240, False: 39.9k]
  ------------------
  375|    240|                        decls.append("inout ");
  376|  40.1k|                    if (function.classes & ClassFO)
  ------------------
  |  Branch (376:25): [True: 0, False: 40.1k]
  ------------------
  377|      0|                        decls.append("out ");
  378|  40.1k|                }
  379|  67.7k|                if ((function.classes & ClassLB) && arg == function.numArguments - 1)
  ------------------
  |  Branch (379:21): [True: 1.64k, False: 66.0k]
  |  Branch (379:53): [True: 548, False: 1.09k]
  ------------------
  380|    548|                    decls.append(TypeString[type & TypeStringColumnMask]);
  381|  67.1k|                else if (fixed && ((arg == function.numArguments - 1 && (function.classes & (ClassLS | ClassXLS |
  ------------------
  |  Branch (381:26): [True: 12.0k, False: 55.1k]
  |  Branch (381:37): [True: 4.94k, False: 7.13k]
  |  Branch (381:73): [True: 4.25k, False: 690]
  ------------------
  382|  4.94k|                                                                                                       ClassLS2))) ||
  383|  7.82k|                                   (arg == function.numArguments - 2 && (function.classes & ClassLS2))             ||
  ------------------
  |  Branch (383:37): [True: 4.94k, False: 2.87k]
  |  Branch (383:73): [True: 1.03k, False: 3.91k]
  ------------------
  384|  6.78k|                                   (arg == 0                         && (function.classes & (ClassFS | ClassFS2))) ||
  ------------------
  |  Branch (384:37): [True: 4.94k, False: 1.84k]
  |  Branch (384:73): [True: 690, False: 4.25k]
  ------------------
  385|  6.09k|                                   (arg == 1                         && (function.classes & ClassFS2))))
  ------------------
  |  Branch (385:37): [True: 1.49k, False: 4.60k]
  |  Branch (385:73): [True: 345, False: 1.15k]
  ------------------
  386|  6.32k|                    decls.append(TypeString[type & TypeStringScalarMask]);
  387|  60.8k|                else
  388|  60.8k|                    decls.append(TypeString[type]);
  389|  67.7k|                if (arg < function.numArguments - 1)
  ------------------
  |  Branch (389:21): [True: 27.5k, False: 40.1k]
  ------------------
  390|  27.5k|                    decls.append(",");
  391|  67.7k|            }
  392|  40.1k|            decls.append(");\n");
  393|  40.1k|        }
  394|  9.60k|    }
  395|  8.45k|}
Initialize.cpp:_ZZN7glslang12_GLOBAL__N_116AddTabledBuiltinERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS0_15BuiltInFunctionEENK3$_0clEi:
  323|  11.5k|    const auto isScalarType = [](int type) { return (type & TypeStringColumnMask) == 0; };
Initialize.cpp:_ZN7glslang12_GLOBAL__N_120AddLongVectorBuiltinERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS0_15BuiltInFunctionE:
  401|  8.45k|{
  402|  8.45k|    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|  8.45k|    const ArgClass ClassFixed = (ArgClass)(ClassLS | ClassXLS | ClassLS2 | ClassFS | ClassFS2);
  408|  18.1k|    for (int fixed = 0; fixed < ((function.classes & ClassFixed) > 0 ? 2 : 1); ++fixed) {
  ------------------
  |  Branch (408:25): [True: 9.72k, False: 8.45k]
  |  Branch (408:34): [True: 3.79k, False: 14.3k]
  ------------------
  409|       |
  410|  9.72k|        if (fixed == 0 && (function.classes & ClassXLS))
  ------------------
  |  Branch (410:13): [True: 8.45k, False: 1.26k]
  |  Branch (410:27): [True: 115, False: 8.34k]
  ------------------
  411|    115|            continue;
  412|       |
  413|       |        // Iterate over the different scalar types (needed for ClassRS)
  414|   163k|        for (int type = 0; type < TypeStringCount; ++type) {
  ------------------
  |  Branch (414:28): [True: 153k, False: 9.60k]
  ------------------
  415|   153k|            if (!isScalarType(type))
  ------------------
  |  Branch (415:17): [True: 115k, False: 38.4k]
  ------------------
  416|   115k|                continue;
  417|       |
  418|       |            // skip types not selected: go from type to row number to type bit
  419|  38.4k|            if ((function.types & (1 << (type >> TypeStringRowShift))) == 0)
  ------------------
  |  Branch (419:17): [True: 27.0k, False: 11.3k]
  ------------------
  420|  27.0k|                continue;
  421|       |
  422|       |            // skip scalar-only
  423|  11.3k|            if (function.classes & ClassV1)
  ------------------
  |  Branch (423:17): [True: 240, False: 11.1k]
  ------------------
  424|    240|                continue;
  425|       |
  426|       |            // skip 3-vector
  427|  11.1k|            if (function.classes & ClassV3)
  ------------------
  |  Branch (427:17): [True: 115, False: 10.9k]
  ------------------
  428|    115|                continue;
  429|       |
  430|  10.9k|            TString decl;
  431|       |            // return type
  432|  10.9k|            if (function.classes & ClassB)
  ------------------
  |  Branch (432:17): [True: 2.53k, False: 8.46k]
  ------------------
  433|  2.53k|                decl.append("vector");
  434|  8.46k|            else if (function.classes & ClassRS)
  ------------------
  |  Branch (434:22): [True: 575, False: 7.88k]
  ------------------
  435|    575|                decl.append(TypeString[type & TypeStringScalarMask]);
  436|  7.88k|            else
  437|  7.88k|                decl.append("vector");
  438|  10.9k|            decl.append(" ");
  439|  10.9k|            decl.append(function.name);
  440|  10.9k|            decl.append("(");
  441|       |
  442|       |            // arguments
  443|  29.8k|            for (int arg = 0; arg < function.numArguments; ++arg) {
  ------------------
  |  Branch (443:31): [True: 18.8k, False: 10.9k]
  ------------------
  444|  18.8k|                if (arg == function.numArguments - 1 && (function.classes & ClassLO))
  ------------------
  |  Branch (444:21): [True: 10.9k, False: 7.88k]
  |  Branch (444:57): [True: 115, False: 10.8k]
  ------------------
  445|    115|                    decl.append("out ");
  446|  18.8k|                if (arg == 0) {
  ------------------
  |  Branch (446:21): [True: 10.9k, False: 7.88k]
  ------------------
  447|  10.9k|                    if (function.classes & ClassCVN)
  ------------------
  |  Branch (447:25): [True: 0, False: 10.9k]
  ------------------
  448|      0|                        decl.append("coherent volatile nontemporal ");
  449|  10.9k|                    if (function.classes & ClassFIO)
  ------------------
  |  Branch (449:25): [True: 0, False: 10.9k]
  ------------------
  450|      0|                        decl.append("inout ");
  451|  10.9k|                    if (function.classes & ClassFO)
  ------------------
  |  Branch (451:25): [True: 0, False: 10.9k]
  ------------------
  452|      0|                        decl.append("out ");
  453|  10.9k|                }
  454|  18.8k|                if ((function.classes & ClassLB) && arg == function.numArguments - 1)
  ------------------
  |  Branch (454:21): [True: 411, False: 18.4k]
  |  Branch (454:53): [True: 137, False: 274]
  ------------------
  455|    137|                    decl.append("vector");
  456|  18.7k|                else if (fixed && ((arg == function.numArguments - 1 && (function.classes & (ClassLS | ClassXLS |
  ------------------
  |  Branch (456:26): [True: 3.91k, False: 14.8k]
  |  Branch (456:37): [True: 1.61k, False: 2.30k]
  |  Branch (456:73): [True: 1.38k, False: 230]
  ------------------
  457|  1.61k|                                                                                                       ClassLS2))) ||
  458|  2.53k|                                   (arg == function.numArguments - 2 && (function.classes & ClassLS2))             ||
  ------------------
  |  Branch (458:37): [True: 1.61k, False: 920]
  |  Branch (458:73): [True: 345, False: 1.26k]
  ------------------
  459|  2.18k|                                   (arg == 0                         && (function.classes & (ClassFS | ClassFS2))) ||
  ------------------
  |  Branch (459:37): [True: 1.61k, False: 575]
  |  Branch (459:73): [True: 230, False: 1.38k]
  ------------------
  460|  1.95k|                                   (arg == 1                         && (function.classes & ClassFS2))))
  ------------------
  |  Branch (460:37): [True: 460, False: 1.49k]
  |  Branch (460:73): [True: 115, False: 345]
  ------------------
  461|  2.07k|                    decl.append(TypeString[type & TypeStringScalarMask]);
  462|  16.6k|                else
  463|  16.6k|                    decl.append("vector");
  464|  18.8k|                if (arg < function.numArguments - 1)
  ------------------
  |  Branch (464:21): [True: 7.88k, False: 10.9k]
  ------------------
  465|  7.88k|                    decl.append(",");
  466|  18.8k|            }
  467|  10.9k|            decl.append(");\n");
  468|       |
  469|  10.9k|            decls.append(decl);
  470|  10.9k|        }
  471|  9.60k|    }
  472|  8.45k|}
Initialize.cpp:_ZZN7glslang12_GLOBAL__N_120AddLongVectorBuiltinERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS0_15BuiltInFunctionEENK3$_0clEi:
  402|   153k|    const auto isScalarType = [](int type) { return (type & TypeStringColumnMask) == 0; };
_ZN7glslang13IncludeLegacyEi8EProfileRKNS_10SpvVersionE:
  537|    460|{
  538|    460|    return profile != EEsProfile && (version <= 130 || (spvVersion.spv == 0 && version == 140 && ARBCompatibility) ||
  ------------------
  |  Branch (538:12): [True: 460, False: 0]
  |  Branch (538:38): [True: 0, False: 460]
  |  Branch (538:57): [True: 0, False: 460]
  |  Branch (538:80): [True: 0, False: 0]
  |  Branch (538:98): [True: 0, Folded]
  ------------------
  539|    460|           profile == ECompatibilityProfile);
  ------------------
  |  Branch (539:12): [True: 0, False: 460]
  ------------------
  540|    460|}
Initialize.cpp:_ZN7glslangL15BuiltInVariableEPKcNS_16TBuiltInVariableERNS_12TSymbolTableE:
 9108|  14.2k|{
 9109|  14.2k|    TSymbol* symbol = symbolTable.find(name);
 9110|  14.2k|    if (symbol == nullptr)
  ------------------
  |  Branch (9110:9): [True: 6.31k, False: 7.98k]
  ------------------
 9111|  6.31k|        return;
 9112|       |
 9113|  7.98k|    TQualifier& symQualifier = symbol->getWritableType().getQualifier();
 9114|  7.98k|    symQualifier.builtIn = builtIn;
 9115|  7.98k|}
Initialize.cpp:_ZN7glslangL16SpecialQualifierEPKcNS_17TStorageQualifierENS_16TBuiltInVariableERNS_12TSymbolTableE:
 9070|  1.71k|{
 9071|  1.71k|    TSymbol* symbol = symbolTable.find(name);
 9072|  1.71k|    if (symbol == nullptr)
  ------------------
  |  Branch (9072:9): [True: 759, False: 955]
  ------------------
 9073|    759|        return;
 9074|       |
 9075|    955|    TQualifier& symQualifier = symbol->getWritableType().getQualifier();
 9076|    955|    symQualifier.storage = qualifier;
 9077|    955|    symQualifier.builtIn = builtIn;
 9078|    955|}
Initialize.cpp:_ZN7glslangL15BuiltInVariableEPKcS1_NS_16TBuiltInVariableERNS_12TSymbolTableE:
 9130|  5.36k|{
 9131|  5.36k|    TSymbol* symbol = symbolTable.find(blockName);
 9132|  5.36k|    if (symbol == nullptr)
  ------------------
  |  Branch (9132:9): [True: 4.73k, False: 626]
  ------------------
 9133|  4.73k|        return;
 9134|       |
 9135|    626|    TTypeList& structure = *symbol->getWritableType().getWritableStruct();
 9136|  3.10k|    for (int i = 0; i < (int)structure.size(); ++i) {
  ------------------
  |  Branch (9136:21): [True: 2.80k, False: 309]
  ------------------
 9137|  2.80k|        if (structure[i].type->getFieldName().compare(name) == 0) {
  ------------------
  |  Branch (9137:13): [True: 317, False: 2.48k]
  ------------------
 9138|    317|            structure[i].type->getQualifier().builtIn = builtIn;
 9139|    317|            return;
 9140|    317|        }
 9141|  2.80k|    }
 9142|    626|}
Initialize.cpp:_ZN7glslangL20ModifyFlatDecorationEPKcbRNS_12TSymbolTableE:
 9088|    115|{
 9089|    115|    TSymbol* symbol = symbolTable.find(name);
 9090|    115|    if (symbol == nullptr)
  ------------------
  |  Branch (9090:9): [True: 104, False: 11]
  ------------------
 9091|    104|        return;
 9092|       |
 9093|     11|    TQualifier& symQualifier = symbol->getWritableType().getQualifier();
 9094|     11|    symQualifier.flat = flat;
 9095|     11|}
Initialize.cpp:_ZN7glslang12_GLOBAL__N_120RelateTabledBuiltinsINSt3__15arrayINS0_15BuiltInFunctionELm79EEEEEvRKT_RNS_12TSymbolTableE:
  499|    371|{
  500|  29.3k|    for (const auto& fn : functions) {
  ------------------
  |  Branch (500:25): [True: 29.3k, False: 371]
  ------------------
  501|  29.3k|        symbolTable.relateToOperator(fn.name, fn.op);
  502|  29.3k|    }
  503|    371|}
Initialize.cpp:_ZN7glslang12_GLOBAL__N_120RelateTabledBuiltinsINSt3__15arrayINS0_15BuiltInFunctionELm3EEEEEvRKT_RNS_12TSymbolTableE:
  499|    371|{
  500|  1.11k|    for (const auto& fn : functions) {
  ------------------
  |  Branch (500:25): [True: 1.11k, False: 371]
  ------------------
  501|  1.11k|        symbolTable.relateToOperator(fn.name, fn.op);
  502|  1.11k|    }
  503|    371|}
Initialize.cpp:_ZN7glslang12_GLOBAL__N_120RelateTabledBuiltinsIA39_NS0_14CustomFunctionEEEvRKT_RNS_12TSymbolTableE:
  499|    371|{
  500|  14.4k|    for (const auto& fn : functions) {
  ------------------
  |  Branch (500:25): [True: 14.4k, False: 371]
  ------------------
  501|  14.4k|        symbolTable.relateToOperator(fn.name, fn.op);
  502|  14.4k|    }
  503|    371|}
Initialize.cpp:_ZZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableEENK3$_0clEPKc:
10364|    840|            auto coopMatKHRCallback = [](const char *name) -> std::vector<const char *> {
10365|    840|                std::vector<const char *> ret;
10366|    840|                if (strstr(name, "u64") != nullptr) {
  ------------------
  |  Branch (10366:21): [True: 450, False: 390]
  ------------------
10367|    450|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10368|    450|                } else {
10369|    390|                    ret.push_back(E_GL_KHR_cooperative_matrix);
10370|    390|                }
10371|    840|                return ret;
10372|    840|            };
Initialize.cpp:_ZZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableEENK3$_1clEPKc:
10373|     80|            auto coopMat2NVCallback = [](const char *name) -> std::vector<const char *> {
10374|     80|                std::vector<const char *> ret;
10375|     80|                if (strstr(name, "u64") != nullptr) {
  ------------------
  |  Branch (10375:21): [True: 40, False: 40]
  ------------------
10376|     40|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10377|     40|                } else {
10378|     40|                    ret.push_back(E_GL_NV_cooperative_matrix2);
10379|     40|                }
10380|     80|                return ret;
10381|     80|            };
Initialize.cpp:_ZZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableEENK3$_2clEPKc:
10420|  2.42k|            auto coopVecCallback = [](const char *name) -> std::vector<const char *> {
10421|  2.42k|                std::vector<const char *> ret;
10422|       |                // This looks for u64 as the last parameter (the offset)
10423|  2.42k|                if (strstr(name, "u641;") != nullptr) {
  ------------------
  |  Branch (10423:21): [True: 1.21k, False: 1.21k]
  ------------------
10424|  1.21k|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10425|  1.21k|                } else {
10426|  1.21k|                    ret.push_back(E_GL_NV_cooperative_vector);
10427|  1.21k|                }
10428|  2.42k|                return ret;
10429|  2.42k|            };

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

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

_ZN7glslang13TIntermediate9addSymbolExRKNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEES9_RKNS_5TTypeERKNS_16TConstUnionArrayEPNS_12TIntermTypedERKNS_10TSourceLocE:
   71|  10.8k|{
   72|  10.8k|    TIntermSymbol* node = new TIntermSymbol(id, name, getStage(), type, &mangledName);
   73|  10.8k|    node->setLoc(loc);
   74|  10.8k|    node->setConstArray(constArray);
   75|  10.8k|    node->setConstSubtree(constSubtree);
   76|       |
   77|  10.8k|    return node;
   78|  10.8k|}
_ZN7glslang13TIntermediate9addSymbolERKNS_9TVariableE:
   92|    360|{
   93|    360|    glslang::TSourceLoc loc; // just a null location
   94|    360|    loc.init();
   95|       |
   96|    360|    return addSymbol(variable, loc);
   97|    360|}
_ZN7glslang13TIntermediate9addSymbolERKNS_9TVariableERKNS_10TSourceLocE:
  100|  10.8k|{
  101|  10.8k|    return addSymbol(variable.getUniqueId(), variable.getName(), variable.getMangledName(), variable.getType(), variable.getConstArray(), variable.getConstSubtree(), loc);
  102|  10.8k|}
_ZN7glslang13TIntermediate13addBinaryMathENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE:
  119|      3|{
  120|       |    // No operations work on blocks
  121|      3|    if (left->getType().getBasicType() == EbtBlock || right->getType().getBasicType() == EbtBlock ||
  ------------------
  |  Branch (121:9): [True: 0, False: 3]
  |  Branch (121:55): [True: 0, False: 3]
  ------------------
  122|      3|        left->getType().getBasicType() == EbtString || right->getType().getBasicType() == EbtString)
  ------------------
  |  Branch (122:9): [True: 0, False: 3]
  |  Branch (122:56): [True: 0, False: 3]
  ------------------
  123|      0|        return nullptr;
  124|       |
  125|       |    // Convert "reference +/- int" and "reference - reference" to integer math
  126|      3|    if (op == EOpAdd || op == EOpSub) {
  ------------------
  |  Branch (126:9): [True: 3, False: 0]
  |  Branch (126:25): [True: 0, False: 0]
  ------------------
  127|       |
  128|       |        // No addressing math on struct with unsized array.
  129|      3|        if ((left->isReference() && left->getType().getReferentType()->containsUnsizedArray()) ||
  ------------------
  |  Branch (129:14): [True: 0, False: 3]
  |  Branch (129:37): [True: 0, False: 0]
  ------------------
  130|      3|            (right->isReference() && right->getType().getReferentType()->containsUnsizedArray())) {
  ------------------
  |  Branch (130:14): [True: 0, False: 3]
  |  Branch (130:38): [True: 0, False: 0]
  ------------------
  131|      0|            return nullptr;
  132|      0|        }
  133|       |
  134|      3|        if (left->isReference() && isTypeInt(right->getBasicType())) {
  ------------------
  |  Branch (134:13): [True: 0, False: 3]
  |  Branch (134:36): [True: 0, False: 0]
  ------------------
  135|      0|            const TType& referenceType = left->getType();
  136|      0|            TIntermConstantUnion* size = addConstantUnion((unsigned long long)computeBufferReferenceTypeSize(left->getType()), loc, true);
  137|      0|            left  = addBuiltInFunctionCall(loc, EOpConvPtrToUint64, true, left, TType(EbtUint64));
  138|       |
  139|      0|            right = createConversion(EbtInt64, right);
  140|      0|            right = addBinaryMath(EOpMul, right, size, loc);
  141|       |
  142|      0|            TIntermTyped *node = addBinaryMath(op, left, right, loc);
  143|      0|            node = addBuiltInFunctionCall(loc, EOpConvUint64ToPtr, true, node, referenceType);
  144|      0|            return node;
  145|      0|        }
  146|      3|    }
  147|       |
  148|      3|    if (op == EOpAdd && right->isReference() && isTypeInt(left->getBasicType())) {
  ------------------
  |  Branch (148:9): [True: 3, False: 0]
  |  Branch (148:25): [True: 0, False: 3]
  |  Branch (148:49): [True: 0, False: 0]
  ------------------
  149|      0|        const TType& referenceType = right->getType();
  150|      0|        TIntermConstantUnion* size =
  151|      0|            addConstantUnion((unsigned long long)computeBufferReferenceTypeSize(right->getType()), loc, true);
  152|      0|        right = addBuiltInFunctionCall(loc, EOpConvPtrToUint64, true, right, TType(EbtUint64));
  153|       |
  154|      0|        left  = createConversion(EbtInt64, left);
  155|      0|        left  = addBinaryMath(EOpMul, left, size, loc);
  156|       |
  157|      0|        TIntermTyped *node = addBinaryMath(op, left, right, loc);
  158|      0|        node = addBuiltInFunctionCall(loc, EOpConvUint64ToPtr, true, node, referenceType);
  159|      0|        return node;
  160|      0|    }
  161|       |
  162|      3|    if (op == EOpSub && left->isReference() && right->isReference()) {
  ------------------
  |  Branch (162:9): [True: 0, False: 3]
  |  Branch (162:25): [True: 0, False: 0]
  |  Branch (162:48): [True: 0, False: 0]
  ------------------
  163|      0|        TIntermConstantUnion* size =
  164|      0|            addConstantUnion((long long)computeBufferReferenceTypeSize(left->getType()), loc, true);
  165|       |
  166|      0|        left = addBuiltInFunctionCall(loc, EOpConvPtrToUint64, true, left, TType(EbtUint64));
  167|      0|        right = addBuiltInFunctionCall(loc, EOpConvPtrToUint64, true, right, TType(EbtUint64));
  168|       |
  169|      0|        left = addBuiltInFunctionCall(loc, EOpConvNumeric, true, left, TType(EbtInt64));
  170|      0|        right = addBuiltInFunctionCall(loc, EOpConvNumeric, true, right, TType(EbtInt64));
  171|       |
  172|      0|        left = addBinaryMath(EOpSub, left, right, loc);
  173|       |
  174|      0|        TIntermTyped *node = addBinaryMath(EOpDiv, left, size, loc);
  175|      0|        return node;
  176|      0|    }
  177|       |
  178|       |    // No other math operators supported on references
  179|      3|    if (left->isReference() || right->isReference())
  ------------------
  |  Branch (179:9): [True: 0, False: 3]
  |  Branch (179:32): [True: 0, False: 3]
  ------------------
  180|      0|        return nullptr;
  181|       |
  182|       |    // Try converting the children's base types to compatible types.
  183|      3|    auto children = addPairConversion(op, left, right);
  184|      3|    left = std::get<0>(children);
  185|      3|    right = std::get<1>(children);
  186|       |
  187|      3|    if (left == nullptr || right == nullptr)
  ------------------
  |  Branch (187:9): [True: 0, False: 3]
  |  Branch (187:28): [True: 0, False: 3]
  ------------------
  188|      0|        return nullptr;
  189|       |
  190|       |    // Convert the children's type shape to be compatible.
  191|      3|    addBiShapeConversion(op, left, right);
  192|      3|    if (left == nullptr || right == nullptr)
  ------------------
  |  Branch (192:9): [True: 0, False: 3]
  |  Branch (192:28): [True: 0, False: 3]
  ------------------
  193|      0|        return nullptr;
  194|       |
  195|       |    //
  196|       |    // Need a new node holding things together.  Make
  197|       |    // one and promote it to the right type.
  198|       |    //
  199|      3|    TIntermBinary* node = addBinaryNode(op, left, right, loc);
  200|      3|    if (! promote(node))
  ------------------
  |  Branch (200:9): [True: 0, False: 3]
  ------------------
  201|      0|        return nullptr;
  202|       |
  203|      3|    node->updatePrecision();
  204|       |
  205|       |    //
  206|       |    // If they are both (non-specialization) constants, they must be folded.
  207|       |    // (Unless it's the sequence (comma) operator, but that's handled in addComma().)
  208|       |    //
  209|      3|    TIntermConstantUnion *leftTempConstant = node->getLeft()->getAsConstantUnion();
  210|      3|    TIntermConstantUnion *rightTempConstant = node->getRight()->getAsConstantUnion();
  211|      3|    if (leftTempConstant && rightTempConstant) {
  ------------------
  |  Branch (211:9): [True: 3, False: 0]
  |  Branch (211:29): [True: 3, False: 0]
  ------------------
  212|      3|        TIntermTyped* folded = leftTempConstant->fold(node->getOp(), rightTempConstant);
  213|      3|        if (folded)
  ------------------
  |  Branch (213:13): [True: 3, False: 0]
  ------------------
  214|      3|            return folded;
  215|      3|    }
  216|       |
  217|       |    // If can propagate spec-constantness and if the operation is an allowed
  218|       |    // specialization-constant operation, make a spec-constant.
  219|      0|    if (specConstantPropagates(*node->getLeft(), *node->getRight()) && isSpecializationOperation(*node))
  ------------------
  |  Branch (219:9): [True: 0, False: 0]
  |  Branch (219:72): [True: 0, False: 0]
  ------------------
  220|      0|        node->getWritableType().getQualifier().makeSpecConstant();
  221|       |
  222|       |    // If must propagate nonuniform, make a nonuniform.
  223|      0|    if ((node->getLeft()->getQualifier().isNonUniform() || node->getRight()->getQualifier().isNonUniform()) &&
  ------------------
  |  Branch (223:10): [True: 0, False: 0]
  |  Branch (223:60): [True: 0, False: 0]
  ------------------
  224|      0|            isNonuniformPropagating(node->getOp()))
  ------------------
  |  Branch (224:13): [True: 0, False: 0]
  ------------------
  225|      0|        node->getWritableType().getQualifier().nonUniform = true;
  226|       |
  227|      0|    return node;
  228|      3|}
_ZNK7glslang13TIntermediate13addBinaryNodeENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE:
  235|  2.44k|{
  236|       |    // build the node
  237|  2.44k|    TIntermBinary* node = new TIntermBinary(op);
  238|  2.44k|    node->setLoc(loc.line != 0 ? loc : left->getLoc());
  ------------------
  |  Branch (238:18): [True: 2.44k, False: 0]
  ------------------
  239|  2.44k|    node->setLeft(left);
  240|  2.44k|    node->setRight(right);
  241|       |
  242|  2.44k|    return node;
  243|  2.44k|}
_ZNK7glslang13TIntermediate12addUnaryNodeENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocE:
  260|    679|{
  261|    679|    TIntermUnary* node = new TIntermUnary(op);
  262|    679|    node->setLoc(loc.line != 0 ? loc : child->getLoc());
  ------------------
  |  Branch (262:18): [True: 679, False: 0]
  ------------------
  263|    679|    node->setOperand(child);
  264|       |
  265|    679|    return node;
  266|    679|}
_ZNK7glslang13TIntermediate12addUnaryNodeENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocERKNS_5TTypeE:
  273|    561|{
  274|    561|    TIntermUnary* node = addUnaryNode(op, child, loc);
  275|    561|    node->setType(type);
  276|    561|    return node;
  277|    561|}
_ZN7glslang13TIntermediate9addAssignENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE:
  289|  1.86k|{
  290|       |    // No block assignment
  291|  1.86k|    if (left->getType().getBasicType() == EbtBlock || right->getType().getBasicType() == EbtBlock)
  ------------------
  |  Branch (291:9): [True: 0, False: 1.86k]
  |  Branch (291:55): [True: 0, False: 1.86k]
  ------------------
  292|      0|        return nullptr;
  293|       |
  294|       |    // Convert "reference += int" to "reference = reference + int". We need this because the
  295|       |    // "reference + int" calculation involves a cast back to the original type, which makes it
  296|       |    // not an lvalue.
  297|  1.86k|    if ((op == EOpAddAssign || op == EOpSubAssign) && left->isReference()) {
  ------------------
  |  Branch (297:10): [True: 1.62k, False: 237]
  |  Branch (297:32): [True: 0, False: 237]
  |  Branch (297:55): [True: 0, False: 1.62k]
  ------------------
  298|      0|        if (!(right->getType().isScalar() && right->getType().isIntegerDomain()))
  ------------------
  |  Branch (298:15): [True: 0, False: 0]
  |  Branch (298:46): [True: 0, False: 0]
  ------------------
  299|      0|            return nullptr;
  300|       |
  301|      0|        TIntermTyped* node = addBinaryMath(op == EOpAddAssign ? EOpAdd : EOpSub, left, right, loc);
  ------------------
  |  Branch (301:44): [True: 0, False: 0]
  ------------------
  302|      0|        if (!node)
  ------------------
  |  Branch (302:13): [True: 0, False: 0]
  ------------------
  303|      0|            return nullptr;
  304|       |
  305|      0|        TIntermSymbol* symbol = left->getAsSymbolNode();
  306|      0|        left = addSymbol(*symbol);
  307|       |
  308|      0|        node = addAssign(EOpAssign, left, node, loc);
  309|      0|        return node;
  310|      0|    }
  311|       |
  312|       |    //
  313|       |    // Like adding binary math, except the conversion can only go
  314|       |    // from right to left.
  315|       |    //
  316|       |
  317|       |    // convert base types, nullptr return means not possible
  318|  1.86k|    right = addConversion(op, left->getType(), right);
  319|  1.86k|    if (right == nullptr)
  ------------------
  |  Branch (319:9): [True: 0, False: 1.86k]
  ------------------
  320|      0|        return nullptr;
  321|       |
  322|       |    // convert shape
  323|  1.86k|    right = addUniShapeConversion(op, left->getType(), right);
  324|       |
  325|       |    // build the node
  326|  1.86k|    TIntermBinary* node = addBinaryNode(op, left, right, loc);
  327|       |
  328|  1.86k|    if (! promote(node))
  ------------------
  |  Branch (328:9): [True: 0, False: 1.86k]
  ------------------
  329|      0|        return nullptr;
  330|       |
  331|  1.86k|    node->updatePrecision();
  332|       |
  333|  1.86k|    return node;
  334|  1.86k|}
_ZN7glslang13TIntermediate8addIndexENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE:
  345|    582|{
  346|       |    // caller should set the type
  347|    582|    return addBinaryNode(op, base, index, loc);
  348|    582|}
_ZN7glslang13TIntermediate12addUnaryMathENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocE:
  357|  1.03k|{
  358|  1.03k|    if (child == nullptr)
  ------------------
  |  Branch (358:9): [True: 0, False: 1.03k]
  ------------------
  359|      0|        return nullptr;
  360|       |
  361|  1.03k|    if (child->getType().getBasicType() == EbtBlock)
  ------------------
  |  Branch (361:9): [True: 0, False: 1.03k]
  ------------------
  362|      0|        return nullptr;
  363|       |
  364|  1.03k|    switch (op) {
  365|      0|    case EOpLogicalNot:
  ------------------
  |  Branch (365:5): [True: 0, False: 1.03k]
  ------------------
  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: 1.03k]
  ------------------
  376|      0|    case EOpPreIncrement:
  ------------------
  |  Branch (376:5): [True: 0, False: 1.03k]
  ------------------
  377|      0|    case EOpPostDecrement:
  ------------------
  |  Branch (377:5): [True: 0, False: 1.03k]
  ------------------
  378|      0|    case EOpPreDecrement:
  ------------------
  |  Branch (378:5): [True: 0, False: 1.03k]
  ------------------
  379|    118|    case EOpNegative:
  ------------------
  |  Branch (379:5): [True: 118, False: 912]
  ------------------
  380|    118|        if (child->getType().getBasicType() == EbtStruct || child->getType().isArray())
  ------------------
  |  Branch (380:13): [True: 0, False: 118]
  |  Branch (380:61): [True: 0, False: 118]
  ------------------
  381|      0|            return nullptr;
  382|    118|        break;
  383|    912|    default: break; // some compilers want this
  ------------------
  |  Branch (383:5): [True: 912, False: 118]
  ------------------
  384|  1.03k|    }
  385|       |
  386|       |    //
  387|       |    // Do we need to promote the operand?
  388|       |    //
  389|  1.03k|    TBasicType newType = EbtVoid;
  390|  1.03k|    switch (op) {
  391|      0|    case EOpConstructBool:   newType = EbtBool;   break;
  ------------------
  |  Branch (391:5): [True: 0, False: 1.03k]
  ------------------
  392|    225|    case EOpConstructFloat:  newType = EbtFloat;  break;
  ------------------
  |  Branch (392:5): [True: 225, False: 805]
  ------------------
  393|    606|    case EOpConstructInt:    newType = EbtInt;    break;
  ------------------
  |  Branch (393:5): [True: 606, False: 424]
  ------------------
  394|     81|    case EOpConstructUint:   newType = EbtUint;   break;
  ------------------
  |  Branch (394:5): [True: 81, False: 949]
  ------------------
  395|      0|    case EOpConstructInt8:   newType = EbtInt8;   break;
  ------------------
  |  Branch (395:5): [True: 0, False: 1.03k]
  ------------------
  396|      0|    case EOpConstructUint8:  newType = EbtUint8;  break;
  ------------------
  |  Branch (396:5): [True: 0, False: 1.03k]
  ------------------
  397|      0|    case EOpConstructInt16:  newType = EbtInt16;  break;
  ------------------
  |  Branch (397:5): [True: 0, False: 1.03k]
  ------------------
  398|      0|    case EOpConstructUint16: newType = EbtUint16; break;
  ------------------
  |  Branch (398:5): [True: 0, False: 1.03k]
  ------------------
  399|      0|    case EOpConstructInt64:  newType = EbtInt64;  break;
  ------------------
  |  Branch (399:5): [True: 0, False: 1.03k]
  ------------------
  400|      0|    case EOpConstructUint64: newType = EbtUint64; break;
  ------------------
  |  Branch (400:5): [True: 0, False: 1.03k]
  ------------------
  401|      0|    case EOpConstructDouble: newType = EbtDouble; break;
  ------------------
  |  Branch (401:5): [True: 0, False: 1.03k]
  ------------------
  402|      0|    case EOpConstructFloat16: newType = EbtFloat16; break;
  ------------------
  |  Branch (402:5): [True: 0, False: 1.03k]
  ------------------
  403|      0|    case EOpConstructBFloat16: newType = EbtBFloat16; break;
  ------------------
  |  Branch (403:5): [True: 0, False: 1.03k]
  ------------------
  404|      0|    case EOpConstructFloatE4M3: newType = EbtFloatE4M3; break;
  ------------------
  |  Branch (404:5): [True: 0, False: 1.03k]
  ------------------
  405|      0|    case EOpConstructFloatE5M2: newType = EbtFloatE5M2; break;
  ------------------
  |  Branch (405:5): [True: 0, False: 1.03k]
  ------------------
  406|      0|    case EOpConstructFloatE2M1: newType = EbtFloatE2M1; break;
  ------------------
  |  Branch (406:5): [True: 0, False: 1.03k]
  ------------------
  407|      0|    case EOpConstructFloatE3M2: newType = EbtFloatE3M2; break;
  ------------------
  |  Branch (407:5): [True: 0, False: 1.03k]
  ------------------
  408|      0|    case EOpConstructFloatE2M3: newType = EbtFloatE2M3; break;
  ------------------
  |  Branch (408:5): [True: 0, False: 1.03k]
  ------------------
  409|      0|    case EOpConstructFloatUE8M0: newType = EbtFloatUE8M0; break;
  ------------------
  |  Branch (409:5): [True: 0, False: 1.03k]
  ------------------
  410|      0|    case EOpConstructFloatMXINT8: newType = EbtFloatMXINT8; break;
  ------------------
  |  Branch (410:5): [True: 0, False: 1.03k]
  ------------------
  411|    118|    default: break; // some compilers want this
  ------------------
  |  Branch (411:5): [True: 118, False: 912]
  ------------------
  412|  1.03k|    }
  413|       |
  414|  1.03k|    if (newType != EbtVoid) {
  ------------------
  |  Branch (414:9): [True: 912, False: 118]
  ------------------
  415|    912|        TType newTType(newType, EvqTemporary, child->getVectorSize(), child->getMatrixCols(), child->getMatrixRows(), child->isVector());
  416|    912|        if (child->getType().isLongVector()) {
  ------------------
  |  Branch (416:13): [True: 0, False: 912]
  ------------------
  417|      0|            newTType.shallowCopy(child->getType());
  418|      0|            newTType.setBasicType(newType);
  419|      0|            newTType.makeTemporary();
  420|      0|            newTType.getQualifier().clear();
  421|      0|        }
  422|       |
  423|    912|        child = addConversion(op, newTType, child);
  424|    912|        if (child == nullptr)
  ------------------
  |  Branch (424:13): [True: 0, False: 912]
  ------------------
  425|      0|            return nullptr;
  426|    912|    }
  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|  1.03k|    switch (op) {
  433|      0|        case EOpConstructInt8:
  ------------------
  |  Branch (433:9): [True: 0, False: 1.03k]
  ------------------
  434|      0|        case EOpConstructUint8:
  ------------------
  |  Branch (434:9): [True: 0, False: 1.03k]
  ------------------
  435|      0|        case EOpConstructInt16:
  ------------------
  |  Branch (435:9): [True: 0, False: 1.03k]
  ------------------
  436|      0|        case EOpConstructUint16:
  ------------------
  |  Branch (436:9): [True: 0, False: 1.03k]
  ------------------
  437|    606|        case EOpConstructInt:
  ------------------
  |  Branch (437:9): [True: 606, False: 424]
  ------------------
  438|    687|        case EOpConstructUint:
  ------------------
  |  Branch (438:9): [True: 81, False: 949]
  ------------------
  439|    687|        case EOpConstructInt64:
  ------------------
  |  Branch (439:9): [True: 0, False: 1.03k]
  ------------------
  440|    687|        case EOpConstructUint64:
  ------------------
  |  Branch (440:9): [True: 0, False: 1.03k]
  ------------------
  441|    687|        case EOpConstructBool:
  ------------------
  |  Branch (441:9): [True: 0, False: 1.03k]
  ------------------
  442|    912|        case EOpConstructFloat:
  ------------------
  |  Branch (442:9): [True: 225, False: 805]
  ------------------
  443|    912|        case EOpConstructDouble:
  ------------------
  |  Branch (443:9): [True: 0, False: 1.03k]
  ------------------
  444|    912|        case EOpConstructFloat16:
  ------------------
  |  Branch (444:9): [True: 0, False: 1.03k]
  ------------------
  445|    912|        case EOpConstructBFloat16:
  ------------------
  |  Branch (445:9): [True: 0, False: 1.03k]
  ------------------
  446|    912|        case EOpConstructFloatE5M2:
  ------------------
  |  Branch (446:9): [True: 0, False: 1.03k]
  ------------------
  447|    912|        case EOpConstructFloatE4M3:
  ------------------
  |  Branch (447:9): [True: 0, False: 1.03k]
  ------------------
  448|    912|        case EOpConstructFloatE2M1:
  ------------------
  |  Branch (448:9): [True: 0, False: 1.03k]
  ------------------
  449|    912|        case EOpConstructFloatE3M2:
  ------------------
  |  Branch (449:9): [True: 0, False: 1.03k]
  ------------------
  450|    912|        case EOpConstructFloatE2M3:
  ------------------
  |  Branch (450:9): [True: 0, False: 1.03k]
  ------------------
  451|    912|        case EOpConstructFloatUE8M0:
  ------------------
  |  Branch (451:9): [True: 0, False: 1.03k]
  ------------------
  452|    912|        case EOpConstructFloatMXINT8: {
  ------------------
  |  Branch (452:9): [True: 0, False: 1.03k]
  ------------------
  453|    912|            TIntermUnary* unary_node = child->getAsUnaryNode();
  454|    912|            if (unary_node != nullptr)
  ------------------
  |  Branch (454:17): [True: 435, False: 477]
  ------------------
  455|    435|                unary_node->updatePrecision();
  456|    912|            return child;
  457|    912|        }
  458|    118|        default: break; // some compilers want this
  ------------------
  |  Branch (458:9): [True: 118, False: 912]
  ------------------
  459|  1.03k|    }
  460|       |
  461|       |    //
  462|       |    // Make a new node for the operator.
  463|       |    //
  464|    118|    TIntermUnary* node = addUnaryNode(op, child, loc);
  465|       |
  466|    118|    if (! promote(node))
  ------------------
  |  Branch (466:9): [True: 0, False: 118]
  ------------------
  467|      0|        return nullptr;
  468|       |
  469|    118|    node->updatePrecision();
  470|       |
  471|       |    // If it's a (non-specialization) constant, it must be folded.
  472|    118|    if (node->getOperand()->getAsConstantUnion())
  ------------------
  |  Branch (472:9): [True: 118, False: 0]
  ------------------
  473|    118|        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|    118|}
_ZN7glslang13TIntermediate22addBuiltInFunctionCallERKNS_10TSourceLocENS_9TOperatorEbP11TIntermNodeRKNS_5TTypeE:
  489|  1.84k|{
  490|  1.84k|    if (unary) {
  ------------------
  |  Branch (490:9): [True: 120, False: 1.72k]
  ------------------
  491|       |        //
  492|       |        // Treat it like a unary operator.
  493|       |        // addUnaryMath() should get the type correct on its own;
  494|       |        // including constness (which would differ from the prototype).
  495|       |        //
  496|    120|        TIntermTyped* child = childNode->getAsTyped();
  497|    120|        if (child == nullptr)
  ------------------
  |  Branch (497:13): [True: 0, False: 120]
  ------------------
  498|      0|            return nullptr;
  499|       |
  500|    120|        if (child->getAsConstantUnion()) {
  ------------------
  |  Branch (500:13): [True: 0, False: 120]
  ------------------
  501|      0|            TIntermTyped* folded = child->getAsConstantUnion()->fold(op, returnType);
  502|      0|            if (folded)
  ------------------
  |  Branch (502:17): [True: 0, False: 0]
  ------------------
  503|      0|                return folded;
  504|      0|        }
  505|       |
  506|    120|        return addUnaryNode(op, child, child->getLoc(), returnType);
  507|  1.72k|    } else {
  508|       |        // setAggregateOperater() calls fold() for constant folding
  509|  1.72k|        TIntermTyped* node = setAggregateOperator(childNode, op, returnType, loc);
  510|       |
  511|  1.72k|        return node;
  512|  1.72k|    }
  513|  1.84k|}
_ZN7glslang13TIntermediate20setAggregateOperatorEP11TIntermNodeNS_9TOperatorERKNS_5TTypeERKNS_10TSourceLocE:
  527|  2.73k|{
  528|  2.73k|    TIntermAggregate* aggNode;
  529|       |
  530|       |    //
  531|       |    // Make sure we have an aggregate.  If not turn it into one.
  532|       |    //
  533|  2.73k|    if (node != nullptr) {
  ------------------
  |  Branch (533:9): [True: 2.59k, False: 144]
  ------------------
  534|  2.59k|        aggNode = node->getAsAggregate();
  535|  2.59k|        if (aggNode == nullptr || aggNode->getOp() != EOpNull) {
  ------------------
  |  Branch (535:13): [True: 240, False: 2.35k]
  |  Branch (535:35): [True: 3, False: 2.35k]
  ------------------
  536|       |            //
  537|       |            // Make an aggregate containing this node.
  538|       |            //
  539|    243|            aggNode = new TIntermAggregate();
  540|    243|            aggNode->getSequence().push_back(node);
  541|    243|        }
  542|  2.59k|    } else
  543|    144|        aggNode = new TIntermAggregate();
  544|       |
  545|       |    //
  546|       |    // Set the operator.
  547|       |    //
  548|  2.73k|    aggNode->setOperator(op);
  549|  2.73k|    if (loc.line != 0 || node != nullptr)
  ------------------
  |  Branch (549:9): [True: 2.73k, False: 0]
  |  Branch (549:26): [True: 0, False: 0]
  ------------------
  550|  2.73k|        aggNode->setLoc(loc.line != 0 ? loc : node->getLoc());
  ------------------
  |  Branch (550:25): [True: 2.73k, False: 0]
  ------------------
  551|       |
  552|  2.73k|    aggNode->setType(type);
  553|       |
  554|  2.73k|    return fold(aggNode);
  555|  2.73k|}
_ZNK7glslang13TIntermediate19isConversionAllowedENS_9TOperatorEPNS_12TIntermTypedE:
  558|  7.48k|{
  559|       |    //
  560|       |    // Does the base type even allow the operation?
  561|       |    //
  562|  7.48k|    switch (node->getBasicType()) {
  563|      0|    case EbtVoid:
  ------------------
  |  Branch (563:5): [True: 0, False: 7.48k]
  ------------------
  564|      0|        return false;
  565|      0|    case EbtAtomicUint:
  ------------------
  |  Branch (565:5): [True: 0, False: 7.48k]
  ------------------
  566|      0|    case EbtSampler:
  ------------------
  |  Branch (566:5): [True: 0, False: 7.48k]
  ------------------
  567|      0|    case EbtAccStruct:
  ------------------
  |  Branch (567:5): [True: 0, False: 7.48k]
  ------------------
  568|       |        // opaque types can be passed to functions
  569|      0|        if (op == EOpFunction)
  ------------------
  |  Branch (569:13): [True: 0, False: 0]
  ------------------
  570|      0|            break;
  571|       |
  572|       |        // HLSL can assign samplers directly (no constructor)
  573|      0|        if (getSource() == EShSourceHlsl && node->getBasicType() == EbtSampler)
  ------------------
  |  Branch (573:13): [True: 0, False: 0]
  |  Branch (573:45): [True: 0, False: 0]
  ------------------
  574|      0|            break;
  575|       |
  576|       |        // samplers can get assigned via a sampler constructor
  577|       |        // (well, not yet, but code in the rest of this function is ready for it)
  578|      0|        if (node->getBasicType() == EbtSampler && op == EOpAssign &&
  ------------------
  |  Branch (578:13): [True: 0, False: 0]
  |  Branch (578:51): [True: 0, False: 0]
  ------------------
  579|      0|            node->getAsOperator() != nullptr && node->getAsOperator()->getOp() == EOpConstructTextureSampler)
  ------------------
  |  Branch (579:13): [True: 0, False: 0]
  |  Branch (579:49): [True: 0, False: 0]
  ------------------
  580|      0|            break;
  581|       |
  582|       |        // otherwise, opaque types can't even be operated on, let alone converted
  583|      0|        return false;
  584|  7.48k|    default:
  ------------------
  |  Branch (584:5): [True: 7.48k, False: 0]
  ------------------
  585|  7.48k|        break;
  586|  7.48k|    }
  587|       |
  588|  7.48k|    return true;
  589|  7.48k|}
_ZNK7glslang13TIntermediate14buildConvertOpENS_10TBasicTypeES1_RNS_9TOperatorE:
  592|    441|{
  593|       |    // (bfloat16_t,fp8) <-> bool not supported
  594|    441|    if (((src == EbtBFloat16 || src == EbtFloatE5M2 || src == EbtFloatE4M3 || isTypeOcpMicroscalingFloat(src)) && dst == EbtBool) ||
  ------------------
  |  Branch (594:11): [True: 0, False: 441]
  |  Branch (594:33): [True: 0, False: 441]
  |  Branch (594:56): [True: 0, False: 441]
  |  Branch (594:79): [True: 0, False: 441]
  |  Branch (594:115): [True: 0, False: 0]
  ------------------
  595|    441|        ((dst == EbtBFloat16 || dst == EbtFloatE5M2 || dst == EbtFloatE4M3 || isTypeOcpMicroscalingFloat(dst)) && src == EbtBool)) {
  ------------------
  |  Branch (595:11): [True: 0, False: 441]
  |  Branch (595:33): [True: 0, False: 441]
  |  Branch (595:56): [True: 0, False: 441]
  |  Branch (595:79): [True: 0, False: 441]
  |  Branch (595:115): [True: 0, False: 0]
  ------------------
  596|      0|        return false;
  597|      0|    }
  598|       |
  599|       |    // no type conversions to microscaling types
  600|    441|    if (isTypeOcpMicroscalingFloat(dst) && src != dst) {
  ------------------
  |  Branch (600:9): [True: 0, False: 441]
  |  Branch (600:44): [True: 0, False: 0]
  ------------------
  601|      0|        return false;
  602|      0|    }
  603|       |
  604|    441|    if ((isTypeInt(dst) || isTypeFloat(dst) || dst == EbtBool) &&
  ------------------
  |  Branch (604:10): [True: 432, False: 9]
  |  Branch (604:28): [True: 9, False: 0]
  |  Branch (604:48): [True: 0, False: 0]
  ------------------
  605|    441|        (isTypeInt(src) || isTypeFloat(src) || src == EbtBool)) {
  ------------------
  |  Branch (605:10): [True: 9, False: 432]
  |  Branch (605:28): [True: 432, False: 0]
  |  Branch (605:48): [True: 0, False: 0]
  ------------------
  606|    441|        newOp = EOpConvNumeric;
  607|    441|        return true;
  608|    441|    }
  609|      0|    return false;
  610|    441|}
_ZNK7glslang13TIntermediate16createConversionENS_10TBasicTypeEPNS_12TIntermTypedE:
  616|    441|{
  617|       |    //
  618|       |    // Add a new newNode for the conversion.
  619|       |    //
  620|       |
  621|    441|    bool convertToIntTypes = (convertTo == EbtInt8  || convertTo == EbtUint8  ||
  ------------------
  |  Branch (621:31): [True: 0, False: 441]
  |  Branch (621:56): [True: 0, False: 441]
  ------------------
  622|    441|                              convertTo == EbtInt16 || convertTo == EbtUint16 ||
  ------------------
  |  Branch (622:31): [True: 0, False: 441]
  |  Branch (622:56): [True: 0, False: 441]
  ------------------
  623|    441|                              convertTo == EbtInt   || convertTo == EbtUint   ||
  ------------------
  |  Branch (623:31): [True: 432, False: 9]
  |  Branch (623:56): [True: 0, False: 9]
  ------------------
  624|      9|                              convertTo == EbtInt64 || convertTo == EbtUint64);
  ------------------
  |  Branch (624:31): [True: 0, False: 9]
  |  Branch (624:56): [True: 0, False: 9]
  ------------------
  625|       |
  626|    441|    bool convertFromIntTypes = (node->getBasicType() == EbtInt8  || node->getBasicType() == EbtUint8  ||
  ------------------
  |  Branch (626:33): [True: 0, False: 441]
  |  Branch (626:69): [True: 0, False: 441]
  ------------------
  627|    441|                                node->getBasicType() == EbtInt16 || node->getBasicType() == EbtUint16 ||
  ------------------
  |  Branch (627:33): [True: 0, False: 441]
  |  Branch (627:69): [True: 0, False: 441]
  ------------------
  628|    441|                                node->getBasicType() == EbtInt   || node->getBasicType() == EbtUint   ||
  ------------------
  |  Branch (628:33): [True: 9, False: 432]
  |  Branch (628:69): [True: 0, False: 432]
  ------------------
  629|    432|                                node->getBasicType() == EbtInt64 || node->getBasicType() == EbtUint64);
  ------------------
  |  Branch (629:33): [True: 0, False: 432]
  |  Branch (629:69): [True: 0, False: 432]
  ------------------
  630|       |
  631|    441|    bool convertToFloatTypes = (convertTo == EbtFloat16 || convertTo == EbtBFloat16 || convertTo == EbtFloat || convertTo == EbtDouble ||
  ------------------
  |  Branch (631:33): [True: 0, False: 441]
  |  Branch (631:60): [True: 0, False: 441]
  |  Branch (631:88): [True: 9, False: 432]
  |  Branch (631:113): [True: 0, False: 432]
  ------------------
  632|    432|                                convertTo == EbtFloatE5M2 || convertTo == EbtFloatE4M3);
  ------------------
  |  Branch (632:33): [True: 0, False: 432]
  |  Branch (632:62): [True: 0, False: 432]
  ------------------
  633|       |
  634|    441|    bool convertFromFloatTypes = (node->getBasicType() == EbtFloat16 ||
  ------------------
  |  Branch (634:35): [True: 0, False: 441]
  ------------------
  635|    441|                                  node->getBasicType() == EbtBFloat16 ||
  ------------------
  |  Branch (635:35): [True: 0, False: 441]
  ------------------
  636|    441|                                  node->getBasicType() == EbtFloat ||
  ------------------
  |  Branch (636:35): [True: 432, False: 9]
  ------------------
  637|      9|                                  node->getBasicType() == EbtDouble ||
  ------------------
  |  Branch (637:35): [True: 0, False: 9]
  ------------------
  638|      9|                                  node->getBasicType() == EbtFloatE5M2 ||
  ------------------
  |  Branch (638:35): [True: 0, False: 9]
  ------------------
  639|      9|                                  node->getBasicType() == EbtFloatE4M3 ||
  ------------------
  |  Branch (639:35): [True: 0, False: 9]
  ------------------
  640|      9|                                  isTypeOcpMicroscalingFloat(node->getBasicType()));
  ------------------
  |  Branch (640:35): [True: 0, False: 9]
  ------------------
  641|       |
  642|    441|    if (((convertTo == EbtInt8 || convertTo == EbtUint8) && ! convertFromIntTypes) ||
  ------------------
  |  Branch (642:11): [True: 0, False: 441]
  |  Branch (642:35): [True: 0, False: 441]
  |  Branch (642:61): [True: 0, False: 0]
  ------------------
  643|    441|        ((node->getBasicType() == EbtInt8 || node->getBasicType() == EbtUint8) && ! convertToIntTypes)) {
  ------------------
  |  Branch (643:11): [True: 0, False: 441]
  |  Branch (643:46): [True: 0, False: 441]
  |  Branch (643:83): [True: 0, False: 0]
  ------------------
  644|      0|        if (! getArithemeticInt8Enabled()) {
  ------------------
  |  Branch (644:13): [True: 0, False: 0]
  ------------------
  645|      0|            return nullptr;
  646|      0|        }
  647|      0|    }
  648|       |
  649|    441|    if (((convertTo == EbtInt16 || convertTo == EbtUint16) && ! convertFromIntTypes) ||
  ------------------
  |  Branch (649:11): [True: 0, False: 441]
  |  Branch (649:36): [True: 0, False: 441]
  |  Branch (649:63): [True: 0, False: 0]
  ------------------
  650|    441|        ((node->getBasicType() == EbtInt16 || node->getBasicType() == EbtUint16) && ! convertToIntTypes)) {
  ------------------
  |  Branch (650:11): [True: 0, False: 441]
  |  Branch (650:47): [True: 0, False: 441]
  |  Branch (650:85): [True: 0, False: 0]
  ------------------
  651|      0|        if (! getArithemeticInt16Enabled()) {
  ------------------
  |  Branch (651:13): [True: 0, False: 0]
  ------------------
  652|      0|            return nullptr;
  653|      0|        }
  654|      0|    }
  655|       |
  656|    441|    if ((convertTo == EbtFloat16 && ! convertFromFloatTypes) ||
  ------------------
  |  Branch (656:10): [True: 0, False: 441]
  |  Branch (656:37): [True: 0, False: 0]
  ------------------
  657|    441|        (node->getBasicType() == EbtFloat16 && ! convertToFloatTypes)) {
  ------------------
  |  Branch (657:10): [True: 0, False: 441]
  |  Branch (657:48): [True: 0, False: 0]
  ------------------
  658|      0|        if (! getArithemeticFloat16Enabled()) {
  ------------------
  |  Branch (658:13): [True: 0, False: 0]
  ------------------
  659|      0|            return nullptr;
  660|      0|        }
  661|      0|    }
  662|       |
  663|    441|    TIntermUnary* newNode = nullptr;
  664|    441|    TOperator newOp = EOpNull;
  665|    441|    if (!buildConvertOp(convertTo, node->getBasicType(), newOp)) {
  ------------------
  |  Branch (665:9): [True: 0, False: 441]
  ------------------
  666|      0|        return nullptr;
  667|      0|    }
  668|       |
  669|    441|    TType newType(convertTo, EvqTemporary, node->getVectorSize(), node->getMatrixCols(), node->getMatrixRows());
  670|    441|    if (node->getType().isLongVector()) {
  ------------------
  |  Branch (670:9): [True: 0, False: 441]
  ------------------
  671|      0|        newType.shallowCopy(node->getType());
  672|      0|        newType.setBasicType(convertTo);
  673|      0|        newType.makeTemporary();
  674|      0|        newType.getQualifier().clear();
  675|      0|    }
  676|    441|    newNode = addUnaryNode(newOp, node, node->getLoc(), newType);
  677|       |
  678|    441|    if (node->getAsConstantUnion()) {
  ------------------
  |  Branch (678:9): [True: 0, False: 441]
  ------------------
  679|       |        // 8/16-bit storage extensions don't support 8/16-bit constants, so don't fold conversions
  680|       |        // to those types
  681|      0|        if ((getArithemeticInt8Enabled() || !(convertTo == EbtInt8 || convertTo == EbtUint8)) &&
  ------------------
  |  Branch (681:14): [True: 0, False: 0]
  |  Branch (681:47): [True: 0, False: 0]
  |  Branch (681:71): [True: 0, False: 0]
  ------------------
  682|      0|            (getArithemeticInt16Enabled() || !(convertTo == EbtInt16 || convertTo == EbtUint16)) &&
  ------------------
  |  Branch (682:14): [True: 0, False: 0]
  |  Branch (682:48): [True: 0, False: 0]
  |  Branch (682:73): [True: 0, False: 0]
  ------------------
  683|      0|            (getArithemeticFloat16Enabled() || !(convertTo == EbtFloat16)))
  ------------------
  |  Branch (683:14): [True: 0, False: 0]
  |  Branch (683:48): [True: 0, False: 0]
  ------------------
  684|      0|        {
  685|      0|            TIntermTyped* folded = node->getAsConstantUnion()->fold(newOp, newType);
  686|      0|            if (folded)
  ------------------
  |  Branch (686:17): [True: 0, False: 0]
  ------------------
  687|      0|                return folded;
  688|      0|        }
  689|      0|    }
  690|       |
  691|       |    // Propagate specialization-constant-ness, if allowed
  692|    441|    if (node->getType().getQualifier().isSpecConstant() && isSpecializationOperation(*newNode))
  ------------------
  |  Branch (692:9): [True: 0, False: 441]
  |  Branch (692:60): [True: 0, False: 0]
  ------------------
  693|      0|        newNode->getWritableType().getQualifier().makeSpecConstant();
  694|       |
  695|    441|    return newNode;
  696|    441|}
_ZN7glslang13TIntermediate17addPairConversionENS_9TOperatorEPNS_12TIntermTypedES3_:
  717|      3|{
  718|      3|    if (!isConversionAllowed(op, node0) || !isConversionAllowed(op, node1))
  ------------------
  |  Branch (718:9): [True: 0, False: 3]
  |  Branch (718:44): [True: 0, False: 3]
  ------------------
  719|      0|        return std::make_tuple(nullptr, nullptr);
  720|       |
  721|      3|    if (node0->getType() != node1->getType()) {
  ------------------
  |  Branch (721:9): [True: 0, False: 3]
  ------------------
  722|       |        // If differing structure, then no conversions.
  723|      0|        if (node0->isStruct() || node1->isStruct())
  ------------------
  |  Branch (723:13): [True: 0, False: 0]
  |  Branch (723:34): [True: 0, False: 0]
  ------------------
  724|      0|            return std::make_tuple(nullptr, nullptr);
  725|       |
  726|       |        // If differing arrays, then no conversions.
  727|      0|        if (node0->getType().isArray() || node1->getType().isArray())
  ------------------
  |  Branch (727:13): [True: 0, False: 0]
  |  Branch (727:43): [True: 0, False: 0]
  ------------------
  728|      0|            return std::make_tuple(nullptr, nullptr);
  729|       |
  730|       |        // No implicit conversions for operations involving cooperative matrices
  731|      0|        if (node0->getType().isCoopMat() || node1->getType().isCoopMat())
  ------------------
  |  Branch (731:13): [True: 0, False: 0]
  |  Branch (731:45): [True: 0, False: 0]
  ------------------
  732|      0|            return std::make_tuple(node0, node1);
  733|      0|    }
  734|       |
  735|      3|    auto promoteTo = std::make_tuple(EbtNumTypes, EbtNumTypes);
  736|       |
  737|      3|    switch (op) {
  738|       |    //
  739|       |    // List all the binary ops that can implicitly convert one operand to the other's type;
  740|       |    // This implements the 'policy' for implicit type conversion.
  741|       |    //
  742|      0|    case EOpLessThan:
  ------------------
  |  Branch (742:5): [True: 0, False: 3]
  ------------------
  743|      0|    case EOpGreaterThan:
  ------------------
  |  Branch (743:5): [True: 0, False: 3]
  ------------------
  744|      0|    case EOpLessThanEqual:
  ------------------
  |  Branch (744:5): [True: 0, False: 3]
  ------------------
  745|      0|    case EOpGreaterThanEqual:
  ------------------
  |  Branch (745:5): [True: 0, False: 3]
  ------------------
  746|      0|    case EOpEqual:
  ------------------
  |  Branch (746:5): [True: 0, False: 3]
  ------------------
  747|      0|    case EOpNotEqual:
  ------------------
  |  Branch (747:5): [True: 0, False: 3]
  ------------------
  748|       |
  749|      3|    case EOpAdd:
  ------------------
  |  Branch (749:5): [True: 3, False: 0]
  ------------------
  750|      3|    case EOpSub:
  ------------------
  |  Branch (750:5): [True: 0, False: 3]
  ------------------
  751|      3|    case EOpMul:
  ------------------
  |  Branch (751:5): [True: 0, False: 3]
  ------------------
  752|      3|    case EOpDiv:
  ------------------
  |  Branch (752:5): [True: 0, False: 3]
  ------------------
  753|      3|    case EOpMod:
  ------------------
  |  Branch (753:5): [True: 0, False: 3]
  ------------------
  754|       |
  755|      3|    case EOpVectorTimesScalar:
  ------------------
  |  Branch (755:5): [True: 0, False: 3]
  ------------------
  756|      3|    case EOpVectorTimesMatrix:
  ------------------
  |  Branch (756:5): [True: 0, False: 3]
  ------------------
  757|      3|    case EOpMatrixTimesVector:
  ------------------
  |  Branch (757:5): [True: 0, False: 3]
  ------------------
  758|      3|    case EOpMatrixTimesScalar:
  ------------------
  |  Branch (758:5): [True: 0, False: 3]
  ------------------
  759|       |
  760|      3|    case EOpAnd:
  ------------------
  |  Branch (760:5): [True: 0, False: 3]
  ------------------
  761|      3|    case EOpInclusiveOr:
  ------------------
  |  Branch (761:5): [True: 0, False: 3]
  ------------------
  762|      3|    case EOpExclusiveOr:
  ------------------
  |  Branch (762:5): [True: 0, False: 3]
  ------------------
  763|       |
  764|      3|    case EOpSequence:          // used by ?:
  ------------------
  |  Branch (764:5): [True: 0, False: 3]
  ------------------
  765|       |
  766|      3|        if (node0->getBasicType() == node1->getBasicType())
  ------------------
  |  Branch (766:13): [True: 3, False: 0]
  ------------------
  767|      3|            return std::make_tuple(node0, node1);
  768|       |
  769|      0|        promoteTo = getConversionDestinationType(node0->getBasicType(), node1->getBasicType(), op);
  770|      0|        if (std::get<0>(promoteTo) == EbtNumTypes || std::get<1>(promoteTo) == EbtNumTypes)
  ------------------
  |  Branch (770:13): [True: 0, False: 0]
  |  Branch (770:54): [True: 0, False: 0]
  ------------------
  771|      0|            return std::make_tuple(nullptr, nullptr);
  772|       |
  773|      0|        break;
  774|       |
  775|      0|    case EOpLogicalAnd:
  ------------------
  |  Branch (775:5): [True: 0, False: 3]
  ------------------
  776|      0|    case EOpLogicalOr:
  ------------------
  |  Branch (776:5): [True: 0, False: 3]
  ------------------
  777|      0|    case EOpLogicalXor:
  ------------------
  |  Branch (777:5): [True: 0, False: 3]
  ------------------
  778|      0|        if (getSource() == EShSourceHlsl)
  ------------------
  |  Branch (778:13): [True: 0, False: 0]
  ------------------
  779|      0|            promoteTo = std::make_tuple(EbtBool, EbtBool);
  780|      0|        else
  781|      0|            return std::make_tuple(node0, node1);
  782|      0|        break;
  783|       |
  784|       |    // There are no conversions needed for GLSL; the shift amount just needs to be an
  785|       |    // integer type, as does the base.
  786|       |    // HLSL can promote bools to ints to make this work.
  787|      0|    case EOpLeftShift:
  ------------------
  |  Branch (787:5): [True: 0, False: 3]
  ------------------
  788|      0|    case EOpRightShift:
  ------------------
  |  Branch (788:5): [True: 0, False: 3]
  ------------------
  789|      0|        if (getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (789:13): [True: 0, False: 0]
  ------------------
  790|      0|            TBasicType node0BasicType = node0->getBasicType();
  791|      0|            if (node0BasicType == EbtBool)
  ------------------
  |  Branch (791:17): [True: 0, False: 0]
  ------------------
  792|      0|                node0BasicType = EbtInt;
  793|      0|            if (node1->getBasicType() == EbtBool)
  ------------------
  |  Branch (793:17): [True: 0, False: 0]
  ------------------
  794|      0|                promoteTo = std::make_tuple(node0BasicType, EbtInt);
  795|      0|            else
  796|      0|                promoteTo = std::make_tuple(node0BasicType, node1->getBasicType());
  797|      0|        } else {
  798|      0|            if (isTypeInt(node0->getBasicType()) && isTypeInt(node1->getBasicType()))
  ------------------
  |  Branch (798:17): [True: 0, False: 0]
  |  Branch (798:53): [True: 0, False: 0]
  ------------------
  799|      0|                return std::make_tuple(node0, node1);
  800|      0|            else
  801|      0|                return std::make_tuple(nullptr, nullptr);
  802|      0|        }
  803|      0|        break;
  804|       |
  805|      0|    default:
  ------------------
  |  Branch (805:5): [True: 0, False: 3]
  ------------------
  806|      0|        if (node0->getType() == node1->getType())
  ------------------
  |  Branch (806:13): [True: 0, False: 0]
  ------------------
  807|      0|            return std::make_tuple(node0, node1);
  808|       |
  809|      0|        return std::make_tuple(nullptr, nullptr);
  810|      3|    }
  811|       |
  812|      0|    TIntermTyped* newNode0;
  813|      0|    TIntermTyped* newNode1;
  814|       |
  815|      0|    if (std::get<0>(promoteTo) != node0->getType().getBasicType()) {
  ------------------
  |  Branch (815:9): [True: 0, False: 0]
  ------------------
  816|      0|        if (node0->getAsConstantUnion())
  ------------------
  |  Branch (816:13): [True: 0, False: 0]
  ------------------
  817|      0|            newNode0 = promoteConstantUnion(std::get<0>(promoteTo), node0->getAsConstantUnion());
  818|      0|        else
  819|      0|            newNode0 = createConversion(std::get<0>(promoteTo), node0);
  820|      0|    } else
  821|      0|        newNode0 = node0;
  822|       |
  823|      0|    if (std::get<1>(promoteTo) != node1->getType().getBasicType()) {
  ------------------
  |  Branch (823:9): [True: 0, False: 0]
  ------------------
  824|      0|        if (node1->getAsConstantUnion())
  ------------------
  |  Branch (824:13): [True: 0, False: 0]
  ------------------
  825|      0|            newNode1 = promoteConstantUnion(std::get<1>(promoteTo), node1->getAsConstantUnion());
  826|      0|        else
  827|      0|            newNode1 = createConversion(std::get<1>(promoteTo), node1);
  828|      0|    } else
  829|      0|        newNode1 = node1;
  830|       |
  831|      0|    return std::make_tuple(newNode0, newNode1);
  832|      3|}
_ZN7glslang13TIntermediate13addConversionENS_9TOperatorERKNS_5TTypeEPNS_12TIntermTypedE:
  850|  7.47k|{
  851|  7.47k|    if (!isConversionAllowed(op, node))
  ------------------
  |  Branch (851:9): [True: 0, False: 7.47k]
  ------------------
  852|      0|        return nullptr;
  853|       |
  854|       |    // Otherwise, if types are identical, no problem
  855|  7.47k|    if (type == node->getType())
  ------------------
  |  Branch (855:9): [True: 6.83k, False: 639]
  ------------------
  856|  6.83k|        return node;
  857|       |
  858|       |    // If one's a structure, then no conversions.
  859|    639|    if (type.isStruct() || node->isStruct())
  ------------------
  |  Branch (859:9): [True: 0, False: 639]
  |  Branch (859:28): [True: 0, False: 639]
  ------------------
  860|      0|        return nullptr;
  861|       |
  862|       |    // If one's an array, then no conversions.
  863|    639|    if (type.isArray() || node->getType().isArray())
  ------------------
  |  Branch (863:9): [True: 0, False: 639]
  |  Branch (863:27): [True: 0, False: 639]
  ------------------
  864|      0|        return nullptr;
  865|       |
  866|       |    // Reject implicit conversions to cooperative matrix types
  867|    639|    if (node->getType().isCoopMat() &&
  ------------------
  |  Branch (867:9): [True: 0, False: 639]
  ------------------
  868|      0|        op != EOpConstructCooperativeMatrixNV &&
  ------------------
  |  Branch (868:9): [True: 0, False: 0]
  ------------------
  869|      0|        op != EOpConstructCooperativeMatrixKHR &&
  ------------------
  |  Branch (869:9): [True: 0, False: 0]
  ------------------
  870|      0|        op != glslang::EOpCompositeConstructCoopMatQCOM)
  ------------------
  |  Branch (870:9): [True: 0, False: 0]
  ------------------
  871|      0|        return nullptr;
  872|       |
  873|    639|    if (node->getType().isTensorLayoutNV() ||
  ------------------
  |  Branch (873:9): [True: 0, False: 639]
  ------------------
  874|    639|        node->getType().isTensorViewNV())
  ------------------
  |  Branch (874:9): [True: 0, False: 639]
  ------------------
  875|      0|        return nullptr;
  876|       |
  877|       |    // Reject implicit conversions to cooperative vector types
  878|    639|    if (node->getType().isCoopVecNV() &&
  ------------------
  |  Branch (878:9): [True: 0, False: 639]
  ------------------
  879|      0|        op != EOpConstructCooperativeVectorNV)
  ------------------
  |  Branch (879:9): [True: 0, False: 0]
  ------------------
  880|      0|        return nullptr;
  881|       |
  882|       |    // Note: callers are responsible for other aspects of shape,
  883|       |    // like vector and matrix sizes.
  884|       |
  885|    639|    switch (op) {
  886|       |    //
  887|       |    // Explicit conversions (unary operations)
  888|       |    //
  889|      0|    case EOpConstructBool:
  ------------------
  |  Branch (889:5): [True: 0, False: 639]
  ------------------
  890|      3|    case EOpConstructFloat:
  ------------------
  |  Branch (890:5): [True: 3, False: 636]
  ------------------
  891|    435|    case EOpConstructInt:
  ------------------
  |  Branch (891:5): [True: 432, False: 207]
  ------------------
  892|    516|    case EOpConstructUint:
  ------------------
  |  Branch (892:5): [True: 81, False: 558]
  ------------------
  893|    516|    case EOpConstructDouble:
  ------------------
  |  Branch (893:5): [True: 0, False: 639]
  ------------------
  894|    516|    case EOpConstructFloat16:
  ------------------
  |  Branch (894:5): [True: 0, False: 639]
  ------------------
  895|    516|    case EOpConstructBFloat16:
  ------------------
  |  Branch (895:5): [True: 0, False: 639]
  ------------------
  896|    516|    case EOpConstructFloatE5M2:
  ------------------
  |  Branch (896:5): [True: 0, False: 639]
  ------------------
  897|    516|    case EOpConstructFloatE4M3:
  ------------------
  |  Branch (897:5): [True: 0, False: 639]
  ------------------
  898|    516|    case EOpConstructFloatE2M1:
  ------------------
  |  Branch (898:5): [True: 0, False: 639]
  ------------------
  899|    516|    case EOpConstructFloatE3M2:
  ------------------
  |  Branch (899:5): [True: 0, False: 639]
  ------------------
  900|    516|    case EOpConstructFloatE2M3:
  ------------------
  |  Branch (900:5): [True: 0, False: 639]
  ------------------
  901|    516|    case EOpConstructFloatUE8M0:
  ------------------
  |  Branch (901:5): [True: 0, False: 639]
  ------------------
  902|    516|    case EOpConstructFloatMXINT8:
  ------------------
  |  Branch (902:5): [True: 0, False: 639]
  ------------------
  903|    516|    case EOpConstructInt8:
  ------------------
  |  Branch (903:5): [True: 0, False: 639]
  ------------------
  904|    516|    case EOpConstructUint8:
  ------------------
  |  Branch (904:5): [True: 0, False: 639]
  ------------------
  905|    516|    case EOpConstructInt16:
  ------------------
  |  Branch (905:5): [True: 0, False: 639]
  ------------------
  906|    516|    case EOpConstructUint16:
  ------------------
  |  Branch (906:5): [True: 0, False: 639]
  ------------------
  907|    516|    case EOpConstructInt64:
  ------------------
  |  Branch (907:5): [True: 0, False: 639]
  ------------------
  908|    516|    case EOpConstructUint64:
  ------------------
  |  Branch (908:5): [True: 0, False: 639]
  ------------------
  909|    516|    case EOpConstructSaturated:
  ------------------
  |  Branch (909:5): [True: 0, False: 639]
  ------------------
  910|    516|        break;
  911|       |
  912|       |    //
  913|       |    // Implicit conversions
  914|       |    //
  915|      0|    case EOpLogicalNot:
  ------------------
  |  Branch (915:5): [True: 0, False: 639]
  ------------------
  916|       |
  917|      0|    case EOpFunctionCall:
  ------------------
  |  Branch (917:5): [True: 0, False: 639]
  ------------------
  918|       |
  919|      3|    case EOpReturn:
  ------------------
  |  Branch (919:5): [True: 3, False: 636]
  ------------------
  920|      3|    case EOpAssign:
  ------------------
  |  Branch (920:5): [True: 0, False: 639]
  ------------------
  921|    123|    case EOpAddAssign:
  ------------------
  |  Branch (921:5): [True: 120, False: 519]
  ------------------
  922|    123|    case EOpSubAssign:
  ------------------
  |  Branch (922:5): [True: 0, False: 639]
  ------------------
  923|    123|    case EOpMulAssign:
  ------------------
  |  Branch (923:5): [True: 0, False: 639]
  ------------------
  924|    123|    case EOpVectorTimesScalarAssign:
  ------------------
  |  Branch (924:5): [True: 0, False: 639]
  ------------------
  925|    123|    case EOpMatrixTimesScalarAssign:
  ------------------
  |  Branch (925:5): [True: 0, False: 639]
  ------------------
  926|    123|    case EOpDivAssign:
  ------------------
  |  Branch (926:5): [True: 0, False: 639]
  ------------------
  927|    123|    case EOpModAssign:
  ------------------
  |  Branch (927:5): [True: 0, False: 639]
  ------------------
  928|    123|    case EOpAndAssign:
  ------------------
  |  Branch (928:5): [True: 0, False: 639]
  ------------------
  929|    123|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (929:5): [True: 0, False: 639]
  ------------------
  930|    123|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (930:5): [True: 0, False: 639]
  ------------------
  931|       |
  932|    123|    case EOpAtan:
  ------------------
  |  Branch (932:5): [True: 0, False: 639]
  ------------------
  933|    123|    case EOpClamp:
  ------------------
  |  Branch (933:5): [True: 0, False: 639]
  ------------------
  934|    123|    case EOpCross:
  ------------------
  |  Branch (934:5): [True: 0, False: 639]
  ------------------
  935|    123|    case EOpDistance:
  ------------------
  |  Branch (935:5): [True: 0, False: 639]
  ------------------
  936|    123|    case EOpDot:
  ------------------
  |  Branch (936:5): [True: 0, False: 639]
  ------------------
  937|    123|    case EOpDst:
  ------------------
  |  Branch (937:5): [True: 0, False: 639]
  ------------------
  938|    123|    case EOpFaceForward:
  ------------------
  |  Branch (938:5): [True: 0, False: 639]
  ------------------
  939|    123|    case EOpFma:
  ------------------
  |  Branch (939:5): [True: 0, False: 639]
  ------------------
  940|    123|    case EOpFrexp:
  ------------------
  |  Branch (940:5): [True: 0, False: 639]
  ------------------
  941|    123|    case EOpLdexp:
  ------------------
  |  Branch (941:5): [True: 0, False: 639]
  ------------------
  942|    123|    case EOpMix:
  ------------------
  |  Branch (942:5): [True: 0, False: 639]
  ------------------
  943|    123|    case EOpLit:
  ------------------
  |  Branch (943:5): [True: 0, False: 639]
  ------------------
  944|    123|    case EOpMax:
  ------------------
  |  Branch (944:5): [True: 0, False: 639]
  ------------------
  945|    123|    case EOpMin:
  ------------------
  |  Branch (945:5): [True: 0, False: 639]
  ------------------
  946|    123|    case EOpMod:
  ------------------
  |  Branch (946:5): [True: 0, False: 639]
  ------------------
  947|    123|    case EOpModf:
  ------------------
  |  Branch (947:5): [True: 0, False: 639]
  ------------------
  948|    123|    case EOpPow:
  ------------------
  |  Branch (948:5): [True: 0, False: 639]
  ------------------
  949|    123|    case EOpReflect:
  ------------------
  |  Branch (949:5): [True: 0, False: 639]
  ------------------
  950|    123|    case EOpRefract:
  ------------------
  |  Branch (950:5): [True: 0, False: 639]
  ------------------
  951|    123|    case EOpSmoothStep:
  ------------------
  |  Branch (951:5): [True: 0, False: 639]
  ------------------
  952|    123|    case EOpStep:
  ------------------
  |  Branch (952:5): [True: 0, False: 639]
  ------------------
  953|       |
  954|    123|    case EOpSequence:
  ------------------
  |  Branch (954:5): [True: 0, False: 639]
  ------------------
  955|    123|    case EOpConstructStruct:
  ------------------
  |  Branch (955:5): [True: 0, False: 639]
  ------------------
  956|    123|    case EOpConstructCooperativeMatrixNV:
  ------------------
  |  Branch (956:5): [True: 0, False: 639]
  ------------------
  957|    123|    case EOpConstructCooperativeMatrixKHR:
  ------------------
  |  Branch (957:5): [True: 0, False: 639]
  ------------------
  958|    123|    case EOpConstructCooperativeVectorNV:
  ------------------
  |  Branch (958:5): [True: 0, False: 639]
  ------------------
  959|       |
  960|    123|        if (type.isReference() || node->getType().isReference()) {
  ------------------
  |  Branch (960:13): [True: 0, False: 123]
  |  Branch (960:35): [True: 0, False: 123]
  ------------------
  961|       |            // types must match to assign a reference
  962|      0|            if (type == node->getType())
  ------------------
  |  Branch (962:17): [True: 0, False: 0]
  ------------------
  963|      0|                return node;
  964|      0|            else
  965|      0|                return nullptr;
  966|      0|        }
  967|       |
  968|    123|        if (type.getBasicType() == node->getType().getBasicType())
  ------------------
  |  Branch (968:13): [True: 117, False: 6]
  ------------------
  969|    117|            return node;
  970|       |
  971|      6|        if (! canImplicitlyPromote(node->getBasicType(), type.getBasicType(), op))
  ------------------
  |  Branch (971:13): [True: 0, False: 6]
  ------------------
  972|      0|            return nullptr;
  973|      6|        break;
  974|       |
  975|       |    // For GLSL, there are no conversions needed; the shift amount just needs to be an
  976|       |    // integer type, as do the base/result.
  977|       |    // HLSL can convert the shift from a bool to an int.
  978|      6|    case EOpLeftShiftAssign:
  ------------------
  |  Branch (978:5): [True: 0, False: 639]
  ------------------
  979|      0|    case EOpRightShiftAssign:
  ------------------
  |  Branch (979:5): [True: 0, False: 639]
  ------------------
  980|      0|    {
  981|      0|        if (!(getSource() == EShSourceHlsl && node->getType().getBasicType() == EbtBool)) {
  ------------------
  |  Branch (981:15): [True: 0, False: 0]
  |  Branch (981:47): [True: 0, False: 0]
  ------------------
  982|      0|            if (isTypeInt(type.getBasicType()) && isTypeInt(node->getBasicType()))
  ------------------
  |  Branch (982:17): [True: 0, False: 0]
  |  Branch (982:51): [True: 0, False: 0]
  ------------------
  983|      0|                return node;
  984|      0|            else
  985|      0|                return nullptr;
  986|      0|        }
  987|      0|        break;
  988|      0|    }
  989|       |
  990|      0|    default:
  ------------------
  |  Branch (990:5): [True: 0, False: 639]
  ------------------
  991|       |        // default is to require a match; all exceptions should have case statements above
  992|       |
  993|      0|        if (type.getBasicType() == node->getType().getBasicType())
  ------------------
  |  Branch (993:13): [True: 0, False: 0]
  ------------------
  994|      0|            return node;
  995|      0|        else
  996|      0|            return nullptr;
  997|    639|    }
  998|       |
  999|    522|    bool canPromoteConstant = true;
 1000|       |    // GL_EXT_shader_16bit_storage can't do OpConstantComposite with
 1001|       |    // 16-bit types, so disable promotion for those types.
 1002|       |    // Many issues with this, from JohnK:
 1003|       |    //  - this isn't really right to discuss SPIR-V here
 1004|       |    //  - this could easily be entirely about scalars, so is overstepping
 1005|       |    //  - we should be looking at what the shader asked for, and saying whether or
 1006|       |    //    not it can be done, in the parser, by calling requireExtensions(), not
 1007|       |    //    changing language sementics on the fly by asking what extensions are in use
 1008|       |    //  - at the time of this writing (14-Aug-2020), no test results are changed by this.
 1009|    522|    switch (op) {
 1010|      0|    case EOpConstructBFloat16:
  ------------------
  |  Branch (1010:5): [True: 0, False: 522]
  ------------------
 1011|      0|    case EOpConstructFloatE5M2:
  ------------------
  |  Branch (1011:5): [True: 0, False: 522]
  ------------------
 1012|      0|    case EOpConstructFloatE4M3:
  ------------------
  |  Branch (1012:5): [True: 0, False: 522]
  ------------------
 1013|      0|    case EOpConstructFloatE2M1:
  ------------------
  |  Branch (1013:5): [True: 0, False: 522]
  ------------------
 1014|      0|    case EOpConstructFloatE3M2:
  ------------------
  |  Branch (1014:5): [True: 0, False: 522]
  ------------------
 1015|      0|    case EOpConstructFloatE2M3:
  ------------------
  |  Branch (1015:5): [True: 0, False: 522]
  ------------------
 1016|      0|    case EOpConstructFloatUE8M0:
  ------------------
  |  Branch (1016:5): [True: 0, False: 522]
  ------------------
 1017|      0|    case EOpConstructFloatMXINT8:
  ------------------
  |  Branch (1017:5): [True: 0, False: 522]
  ------------------
 1018|      0|        canPromoteConstant = true;
 1019|      0|        break;
 1020|      0|    case EOpConstructFloat16:
  ------------------
  |  Branch (1020:5): [True: 0, False: 522]
  ------------------
 1021|      0|        canPromoteConstant = numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1021:30): [True: 0, False: 0]
  ------------------
 1022|      0|                             numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_float16);
  ------------------
  |  Branch (1022:30): [True: 0, False: 0]
  ------------------
 1023|      0|        break;
 1024|      0|    case EOpConstructInt8:
  ------------------
  |  Branch (1024:5): [True: 0, False: 522]
  ------------------
 1025|      0|    case EOpConstructUint8:
  ------------------
  |  Branch (1025:5): [True: 0, False: 522]
  ------------------
 1026|      0|        canPromoteConstant = numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1026:30): [True: 0, False: 0]
  ------------------
 1027|      0|                             numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_int8);
  ------------------
  |  Branch (1027:30): [True: 0, False: 0]
  ------------------
 1028|      0|        break;
 1029|      0|    case EOpConstructInt16:
  ------------------
  |  Branch (1029:5): [True: 0, False: 522]
  ------------------
 1030|      0|    case EOpConstructUint16:
  ------------------
  |  Branch (1030:5): [True: 0, False: 522]
  ------------------
 1031|      0|        canPromoteConstant = numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1031:30): [True: 0, False: 0]
  ------------------
 1032|      0|                             numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_int16);
  ------------------
  |  Branch (1032:30): [True: 0, False: 0]
  ------------------
 1033|      0|        break;
 1034|    522|    default:
  ------------------
  |  Branch (1034:5): [True: 522, False: 0]
  ------------------
 1035|    522|        break;
 1036|    522|    }
 1037|       |
 1038|    522|    if (canPromoteConstant && node->getAsConstantUnion())
  ------------------
  |  Branch (1038:9): [True: 522, False: 0]
  |  Branch (1038:31): [True: 81, False: 441]
  ------------------
 1039|     81|        return promoteConstantUnion(type.getBasicType(), node->getAsConstantUnion());
 1040|       |
 1041|       |    //
 1042|       |    // Add a new newNode for the conversion.
 1043|       |    //
 1044|    441|    TIntermTyped* newNode = createConversion(type.getBasicType(), node);
 1045|       |
 1046|    441|    return newNode;
 1047|    522|}
_ZN7glslang13TIntermediate21addUniShapeConversionENS_9TOperatorERKNS_5TTypeEPNS_12TIntermTypedE:
 1062|  1.86k|{
 1063|       |    // some source languages don't do this
 1064|  1.86k|    switch (getSource()) {
 1065|      0|    case EShSourceHlsl:
  ------------------
  |  Branch (1065:5): [True: 0, False: 1.86k]
  ------------------
 1066|      0|        break;
 1067|  1.86k|    case EShSourceGlsl:
  ------------------
  |  Branch (1067:5): [True: 1.86k, False: 0]
  ------------------
 1068|  1.86k|    default:
  ------------------
  |  Branch (1068:5): [True: 0, False: 1.86k]
  ------------------
 1069|  1.86k|        return node;
 1070|  1.86k|    }
 1071|       |
 1072|       |    // some operations don't do this
 1073|      0|    switch (op) {
 1074|      0|    case EOpFunctionCall:
  ------------------
  |  Branch (1074:5): [True: 0, False: 0]
  ------------------
 1075|      0|    case EOpReturn:
  ------------------
  |  Branch (1075:5): [True: 0, False: 0]
  ------------------
 1076|      0|        break;
 1077|       |
 1078|      0|    case EOpMulAssign:
  ------------------
  |  Branch (1078:5): [True: 0, False: 0]
  ------------------
 1079|       |        // want to support vector *= scalar native ops in AST and lower, not smear, similarly for
 1080|       |        // matrix *= scalar, etc.
 1081|       |
 1082|      0|    case EOpAddAssign:
  ------------------
  |  Branch (1082:5): [True: 0, False: 0]
  ------------------
 1083|      0|    case EOpSubAssign:
  ------------------
  |  Branch (1083:5): [True: 0, False: 0]
  ------------------
 1084|      0|    case EOpDivAssign:
  ------------------
  |  Branch (1084:5): [True: 0, False: 0]
  ------------------
 1085|      0|    case EOpAndAssign:
  ------------------
  |  Branch (1085:5): [True: 0, False: 0]
  ------------------
 1086|      0|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (1086:5): [True: 0, False: 0]
  ------------------
 1087|      0|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (1087:5): [True: 0, False: 0]
  ------------------
 1088|      0|    case EOpRightShiftAssign:
  ------------------
  |  Branch (1088:5): [True: 0, False: 0]
  ------------------
 1089|      0|    case EOpLeftShiftAssign:
  ------------------
  |  Branch (1089:5): [True: 0, False: 0]
  ------------------
 1090|      0|        if (node->getVectorSize() == 1)
  ------------------
  |  Branch (1090:13): [True: 0, False: 0]
  ------------------
 1091|      0|            return node;
 1092|      0|        break;
 1093|       |
 1094|      0|    case EOpAssign:
  ------------------
  |  Branch (1094:5): [True: 0, False: 0]
  ------------------
 1095|      0|        break;
 1096|       |
 1097|      0|    case EOpMix:
  ------------------
  |  Branch (1097:5): [True: 0, False: 0]
  ------------------
 1098|      0|        break;
 1099|       |
 1100|      0|    default:
  ------------------
  |  Branch (1100:5): [True: 0, False: 0]
  ------------------
 1101|      0|        return node;
 1102|      0|    }
 1103|       |
 1104|      0|    return addShapeConversion(type, node);
 1105|      0|}
_ZN7glslang13TIntermediate20addBiShapeConversionENS_9TOperatorERPNS_12TIntermTypedES4_:
 1115|      3|{
 1116|       |    // some source languages don't do this
 1117|      3|    switch (getSource()) {
 1118|      0|    case EShSourceHlsl:
  ------------------
  |  Branch (1118:5): [True: 0, False: 3]
  ------------------
 1119|      0|        break;
 1120|      3|    case EShSourceGlsl:
  ------------------
  |  Branch (1120:5): [True: 3, False: 0]
  ------------------
 1121|      3|    default:
  ------------------
  |  Branch (1121:5): [True: 0, False: 3]
  ------------------
 1122|      3|        return;
 1123|      3|    }
 1124|       |
 1125|       |    // some operations don't do this
 1126|       |    // 'break' will mean attempt bidirectional conversion
 1127|      0|    switch (op) {
 1128|      0|    case EOpMulAssign:
  ------------------
  |  Branch (1128:5): [True: 0, False: 0]
  ------------------
 1129|      0|    case EOpAssign:
  ------------------
  |  Branch (1129:5): [True: 0, False: 0]
  ------------------
 1130|      0|    case EOpAddAssign:
  ------------------
  |  Branch (1130:5): [True: 0, False: 0]
  ------------------
 1131|      0|    case EOpSubAssign:
  ------------------
  |  Branch (1131:5): [True: 0, False: 0]
  ------------------
 1132|      0|    case EOpDivAssign:
  ------------------
  |  Branch (1132:5): [True: 0, False: 0]
  ------------------
 1133|      0|    case EOpAndAssign:
  ------------------
  |  Branch (1133:5): [True: 0, False: 0]
  ------------------
 1134|      0|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (1134:5): [True: 0, False: 0]
  ------------------
 1135|      0|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (1135:5): [True: 0, False: 0]
  ------------------
 1136|      0|    case EOpRightShiftAssign:
  ------------------
  |  Branch (1136:5): [True: 0, False: 0]
  ------------------
 1137|      0|    case EOpLeftShiftAssign:
  ------------------
  |  Branch (1137:5): [True: 0, False: 0]
  ------------------
 1138|       |        // switch to unidirectional conversion (the lhs can't change)
 1139|      0|        rhsNode = addUniShapeConversion(op, lhsNode->getType(), rhsNode);
 1140|      0|        return;
 1141|       |
 1142|      0|    case EOpMul:
  ------------------
  |  Branch (1142:5): [True: 0, False: 0]
  ------------------
 1143|       |        // matrix multiply does not change shapes
 1144|      0|        if (lhsNode->isMatrix() && rhsNode->isMatrix())
  ------------------
  |  Branch (1144:13): [True: 0, False: 0]
  |  Branch (1144:36): [True: 0, False: 0]
  ------------------
 1145|      0|            return;
 1146|      0|        [[fallthrough]];
 1147|      0|    case EOpAdd:
  ------------------
  |  Branch (1147:5): [True: 0, False: 0]
  ------------------
 1148|      0|    case EOpSub:
  ------------------
  |  Branch (1148:5): [True: 0, False: 0]
  ------------------
 1149|      0|    case EOpDiv:
  ------------------
  |  Branch (1149:5): [True: 0, False: 0]
  ------------------
 1150|       |        // want to support vector * scalar native ops in AST and lower, not smear, similarly for
 1151|       |        // matrix * vector, etc.
 1152|      0|        if (lhsNode->getVectorSize() == 1 || rhsNode->getVectorSize() == 1)
  ------------------
  |  Branch (1152:13): [True: 0, False: 0]
  |  Branch (1152:46): [True: 0, False: 0]
  ------------------
 1153|      0|            return;
 1154|      0|        break;
 1155|       |
 1156|      0|    case EOpRightShift:
  ------------------
  |  Branch (1156:5): [True: 0, False: 0]
  ------------------
 1157|      0|    case EOpLeftShift:
  ------------------
  |  Branch (1157:5): [True: 0, False: 0]
  ------------------
 1158|       |        // can natively support the right operand being a scalar and the left a vector,
 1159|       |        // but not the reverse
 1160|      0|        if (rhsNode->getVectorSize() == 1)
  ------------------
  |  Branch (1160:13): [True: 0, False: 0]
  ------------------
 1161|      0|            return;
 1162|      0|        break;
 1163|       |
 1164|      0|    case EOpLessThan:
  ------------------
  |  Branch (1164:5): [True: 0, False: 0]
  ------------------
 1165|      0|    case EOpGreaterThan:
  ------------------
  |  Branch (1165:5): [True: 0, False: 0]
  ------------------
 1166|      0|    case EOpLessThanEqual:
  ------------------
  |  Branch (1166:5): [True: 0, False: 0]
  ------------------
 1167|      0|    case EOpGreaterThanEqual:
  ------------------
  |  Branch (1167:5): [True: 0, False: 0]
  ------------------
 1168|       |
 1169|      0|    case EOpEqual:
  ------------------
  |  Branch (1169:5): [True: 0, False: 0]
  ------------------
 1170|      0|    case EOpNotEqual:
  ------------------
  |  Branch (1170:5): [True: 0, False: 0]
  ------------------
 1171|       |
 1172|      0|    case EOpLogicalAnd:
  ------------------
  |  Branch (1172:5): [True: 0, False: 0]
  ------------------
 1173|      0|    case EOpLogicalOr:
  ------------------
  |  Branch (1173:5): [True: 0, False: 0]
  ------------------
 1174|      0|    case EOpLogicalXor:
  ------------------
  |  Branch (1174:5): [True: 0, False: 0]
  ------------------
 1175|       |
 1176|      0|    case EOpAnd:
  ------------------
  |  Branch (1176:5): [True: 0, False: 0]
  ------------------
 1177|      0|    case EOpInclusiveOr:
  ------------------
  |  Branch (1177:5): [True: 0, False: 0]
  ------------------
 1178|      0|    case EOpExclusiveOr:
  ------------------
  |  Branch (1178:5): [True: 0, False: 0]
  ------------------
 1179|       |
 1180|      0|    case EOpMix:
  ------------------
  |  Branch (1180:5): [True: 0, False: 0]
  ------------------
 1181|      0|        break;
 1182|       |
 1183|      0|    default:
  ------------------
  |  Branch (1183:5): [True: 0, False: 0]
  ------------------
 1184|      0|        return;
 1185|      0|    }
 1186|       |
 1187|       |    // Do bidirectional conversions
 1188|      0|    if (lhsNode->getType().isScalarOrVec1() || rhsNode->getType().isScalarOrVec1()) {
  ------------------
  |  Branch (1188:9): [True: 0, False: 0]
  |  Branch (1188:48): [True: 0, False: 0]
  ------------------
 1189|      0|        if (lhsNode->getType().isScalarOrVec1())
  ------------------
  |  Branch (1189:13): [True: 0, False: 0]
  ------------------
 1190|      0|            lhsNode = addShapeConversion(rhsNode->getType(), lhsNode);
 1191|      0|        else
 1192|      0|            rhsNode = addShapeConversion(lhsNode->getType(), rhsNode);
 1193|      0|    }
 1194|      0|    lhsNode = addShapeConversion(rhsNode->getType(), lhsNode);
 1195|      0|    rhsNode = addShapeConversion(lhsNode->getType(), rhsNode);
 1196|      0|}
_ZNK7glslang13TIntermediate19isIntegralPromotionENS_10TBasicTypeES1_:
 1301|      6|{
 1302|       |    // integral promotions
 1303|      6|    if (to == EbtInt) {
  ------------------
  |  Branch (1303:9): [True: 0, False: 6]
  ------------------
 1304|      0|        switch(from) {
 1305|      0|        case EbtInt8:
  ------------------
  |  Branch (1305:9): [True: 0, False: 0]
  ------------------
 1306|      0|        case EbtInt16:
  ------------------
  |  Branch (1306:9): [True: 0, False: 0]
  ------------------
 1307|      0|        case EbtUint8:
  ------------------
  |  Branch (1307:9): [True: 0, False: 0]
  ------------------
 1308|      0|        case EbtUint16:
  ------------------
  |  Branch (1308:9): [True: 0, False: 0]
  ------------------
 1309|      0|            return true;
 1310|      0|        default:
  ------------------
  |  Branch (1310:9): [True: 0, False: 0]
  ------------------
 1311|      0|            break;
 1312|      0|        }
 1313|      0|    }
 1314|      6|    return false;
 1315|      6|}
_ZNK7glslang13TIntermediate13isFPPromotionENS_10TBasicTypeES1_:
 1318|      6|{
 1319|       |    // floating-point promotions
 1320|      6|    if (to == EbtDouble) {
  ------------------
  |  Branch (1320:9): [True: 0, False: 6]
  ------------------
 1321|      0|        switch(from) {
 1322|      0|        case EbtBFloat16:
  ------------------
  |  Branch (1322:9): [True: 0, False: 0]
  ------------------
 1323|      0|        case EbtFloatE5M2:
  ------------------
  |  Branch (1323:9): [True: 0, False: 0]
  ------------------
 1324|      0|        case EbtFloatE4M3:
  ------------------
  |  Branch (1324:9): [True: 0, False: 0]
  ------------------
 1325|      0|        case EbtFloatE2M1:
  ------------------
  |  Branch (1325:9): [True: 0, False: 0]
  ------------------
 1326|      0|        case EbtFloatE3M2:
  ------------------
  |  Branch (1326:9): [True: 0, False: 0]
  ------------------
 1327|      0|        case EbtFloatE2M3:
  ------------------
  |  Branch (1327:9): [True: 0, False: 0]
  ------------------
 1328|      0|        case EbtFloatMXINT8:
  ------------------
  |  Branch (1328:9): [True: 0, False: 0]
  ------------------
 1329|      0|        case EbtFloat16:
  ------------------
  |  Branch (1329:9): [True: 0, False: 0]
  ------------------
 1330|      0|        case EbtFloat:
  ------------------
  |  Branch (1330:9): [True: 0, False: 0]
  ------------------
 1331|      0|            return true;
 1332|      0|        default:
  ------------------
  |  Branch (1332:9): [True: 0, False: 0]
  ------------------
 1333|      0|            break;
 1334|      0|        }
 1335|      0|    }
 1336|      6|    return false;
 1337|      6|}
_ZNK7glslang13TIntermediate20isIntegralConversionENS_10TBasicTypeES1_:
 1340|      6|{
 1341|      6|    switch (from) {
 1342|      6|    case EbtInt:
  ------------------
  |  Branch (1342:5): [True: 6, False: 0]
  ------------------
 1343|      6|        switch(to) {
 1344|      0|        case EbtUint:
  ------------------
  |  Branch (1344:9): [True: 0, False: 6]
  ------------------
 1345|      0|            return version >= 400 || getSource() == EShSourceHlsl;
  ------------------
  |  Branch (1345:20): [True: 0, False: 0]
  |  Branch (1345:38): [True: 0, False: 0]
  ------------------
 1346|      0|        case EbtInt64:
  ------------------
  |  Branch (1346:9): [True: 0, False: 6]
  ------------------
 1347|      0|        case EbtUint64:
  ------------------
  |  Branch (1347:9): [True: 0, False: 6]
  ------------------
 1348|      0|            return true;
 1349|      6|        default:
  ------------------
  |  Branch (1349:9): [True: 6, False: 0]
  ------------------
 1350|      6|            break;
 1351|      6|        }
 1352|      6|        break;
 1353|      6|    case EbtUint:
  ------------------
  |  Branch (1353:5): [True: 0, False: 6]
  ------------------
 1354|      0|        switch(to) {
 1355|      0|        case EbtInt64:
  ------------------
  |  Branch (1355:9): [True: 0, False: 0]
  ------------------
 1356|      0|        case EbtUint64:
  ------------------
  |  Branch (1356:9): [True: 0, False: 0]
  ------------------
 1357|      0|            return true;
 1358|      0|        default:
  ------------------
  |  Branch (1358:9): [True: 0, False: 0]
  ------------------
 1359|      0|            break;
 1360|      0|        }
 1361|      0|        break;
 1362|      0|    case EbtInt8:
  ------------------
  |  Branch (1362:5): [True: 0, False: 6]
  ------------------
 1363|      0|        switch (to) {
 1364|      0|        case EbtUint8:
  ------------------
  |  Branch (1364:9): [True: 0, False: 0]
  ------------------
 1365|      0|        case EbtInt16:
  ------------------
  |  Branch (1365:9): [True: 0, False: 0]
  ------------------
 1366|      0|        case EbtUint16:
  ------------------
  |  Branch (1366:9): [True: 0, False: 0]
  ------------------
 1367|      0|        case EbtUint:
  ------------------
  |  Branch (1367:9): [True: 0, False: 0]
  ------------------
 1368|      0|        case EbtInt64:
  ------------------
  |  Branch (1368:9): [True: 0, False: 0]
  ------------------
 1369|      0|        case EbtUint64:
  ------------------
  |  Branch (1369:9): [True: 0, False: 0]
  ------------------
 1370|      0|            return true;
 1371|      0|        default:
  ------------------
  |  Branch (1371:9): [True: 0, False: 0]
  ------------------
 1372|      0|            break;
 1373|      0|        }
 1374|      0|        break;
 1375|      0|    case EbtUint8:
  ------------------
  |  Branch (1375:5): [True: 0, False: 6]
  ------------------
 1376|      0|        switch (to) {
 1377|      0|        case EbtInt16:
  ------------------
  |  Branch (1377:9): [True: 0, False: 0]
  ------------------
 1378|      0|        case EbtUint16:
  ------------------
  |  Branch (1378:9): [True: 0, False: 0]
  ------------------
 1379|      0|        case EbtUint:
  ------------------
  |  Branch (1379:9): [True: 0, False: 0]
  ------------------
 1380|      0|        case EbtInt64:
  ------------------
  |  Branch (1380:9): [True: 0, False: 0]
  ------------------
 1381|      0|        case EbtUint64:
  ------------------
  |  Branch (1381:9): [True: 0, False: 0]
  ------------------
 1382|      0|            return true;
 1383|      0|        default:
  ------------------
  |  Branch (1383:9): [True: 0, False: 0]
  ------------------
 1384|      0|            break;
 1385|      0|        }
 1386|      0|        break;
 1387|      0|    case EbtInt16:
  ------------------
  |  Branch (1387:5): [True: 0, False: 6]
  ------------------
 1388|      0|        switch(to) {
 1389|      0|        case EbtUint16:
  ------------------
  |  Branch (1389:9): [True: 0, False: 0]
  ------------------
 1390|      0|        case EbtUint:
  ------------------
  |  Branch (1390:9): [True: 0, False: 0]
  ------------------
 1391|      0|        case EbtInt64:
  ------------------
  |  Branch (1391:9): [True: 0, False: 0]
  ------------------
 1392|      0|        case EbtUint64:
  ------------------
  |  Branch (1392:9): [True: 0, False: 0]
  ------------------
 1393|      0|            return true;
 1394|      0|        default:
  ------------------
  |  Branch (1394:9): [True: 0, False: 0]
  ------------------
 1395|      0|            break;
 1396|      0|        }
 1397|      0|        break;
 1398|      0|    case EbtUint16:
  ------------------
  |  Branch (1398:5): [True: 0, False: 6]
  ------------------
 1399|      0|        switch(to) {
 1400|      0|        case EbtUint:
  ------------------
  |  Branch (1400:9): [True: 0, False: 0]
  ------------------
 1401|      0|        case EbtInt64:
  ------------------
  |  Branch (1401:9): [True: 0, False: 0]
  ------------------
 1402|      0|        case EbtUint64:
  ------------------
  |  Branch (1402:9): [True: 0, False: 0]
  ------------------
 1403|      0|            return true;
 1404|      0|        default:
  ------------------
  |  Branch (1404:9): [True: 0, False: 0]
  ------------------
 1405|      0|            break;
 1406|      0|        }
 1407|      0|        break;
 1408|      0|    case EbtInt64:
  ------------------
  |  Branch (1408:5): [True: 0, False: 6]
  ------------------
 1409|      0|        if (to == EbtUint64) {
  ------------------
  |  Branch (1409:13): [True: 0, False: 0]
  ------------------
 1410|      0|            return true;
 1411|      0|        }
 1412|      0|        break;
 1413|      0|    default:
  ------------------
  |  Branch (1413:5): [True: 0, False: 6]
  ------------------
 1414|      0|        break;
 1415|      6|    }
 1416|      6|    return false;
 1417|      6|}
_ZNK7glslang13TIntermediate14isFPConversionENS_10TBasicTypeES1_:
 1420|      6|{
 1421|      6|    if (to == EbtFloat && (from == EbtFloat16 || from == EbtBFloat16 || from == EbtFloatE5M2 || from == EbtFloatE4M3 ||
  ------------------
  |  Branch (1421:9): [True: 6, False: 0]
  |  Branch (1421:28): [True: 0, False: 6]
  |  Branch (1421:50): [True: 0, False: 6]
  |  Branch (1421:73): [True: 0, False: 6]
  |  Branch (1421:97): [True: 0, False: 6]
  ------------------
 1422|      6|                           from == EbtFloatE2M1 || from == EbtFloatE3M2 || from == EbtFloatE2M3 || from == EbtFloatMXINT8)) {
  ------------------
  |  Branch (1422:28): [True: 0, False: 6]
  |  Branch (1422:52): [True: 0, False: 6]
  |  Branch (1422:76): [True: 0, False: 6]
  |  Branch (1422:100): [True: 0, False: 6]
  ------------------
 1423|      0|        return true;
 1424|      6|    } else {
 1425|      6|        return false;
 1426|      6|    }
 1427|      6|}
_ZNK7glslang13TIntermediate22isFPIntegralConversionENS_10TBasicTypeES1_:
 1430|      6|{
 1431|      6|    switch (from) {
 1432|      6|    case EbtInt:
  ------------------
  |  Branch (1432:5): [True: 6, False: 0]
  ------------------
 1433|      6|    case EbtUint:
  ------------------
  |  Branch (1433:5): [True: 0, False: 6]
  ------------------
 1434|      6|        switch(to) {
 1435|      6|        case EbtFloat:
  ------------------
  |  Branch (1435:9): [True: 6, False: 0]
  ------------------
 1436|      6|        case EbtDouble:
  ------------------
  |  Branch (1436:9): [True: 0, False: 6]
  ------------------
 1437|      6|            return true;
 1438|      0|        default:
  ------------------
  |  Branch (1438:9): [True: 0, False: 6]
  ------------------
 1439|      0|            break;
 1440|      6|        }
 1441|      0|        break;
 1442|      0|    case EbtInt8:
  ------------------
  |  Branch (1442:5): [True: 0, False: 6]
  ------------------
 1443|      0|    case EbtUint8:
  ------------------
  |  Branch (1443:5): [True: 0, False: 6]
  ------------------
 1444|      0|    case EbtInt16:
  ------------------
  |  Branch (1444:5): [True: 0, False: 6]
  ------------------
 1445|      0|    case EbtUint16:
  ------------------
  |  Branch (1445:5): [True: 0, False: 6]
  ------------------
 1446|      0|        switch (to) {
 1447|      0|        case EbtFloat16:
  ------------------
  |  Branch (1447:9): [True: 0, False: 0]
  ------------------
 1448|      0|        case EbtFloat:
  ------------------
  |  Branch (1448:9): [True: 0, False: 0]
  ------------------
 1449|      0|        case EbtDouble:
  ------------------
  |  Branch (1449:9): [True: 0, False: 0]
  ------------------
 1450|      0|            return true;
 1451|      0|        default:
  ------------------
  |  Branch (1451:9): [True: 0, False: 0]
  ------------------
 1452|      0|            break;
 1453|      0|        }
 1454|      0|        break;
 1455|      0|    case EbtInt64:
  ------------------
  |  Branch (1455:5): [True: 0, False: 6]
  ------------------
 1456|      0|    case EbtUint64:
  ------------------
  |  Branch (1456:5): [True: 0, False: 6]
  ------------------
 1457|      0|        if (to == EbtDouble) {
  ------------------
  |  Branch (1457:13): [True: 0, False: 0]
  ------------------
 1458|      0|            return true;
 1459|      0|        }
 1460|      0|        break;
 1461|      0|    default:
  ------------------
  |  Branch (1461:5): [True: 0, False: 6]
  ------------------
 1462|      0|        break;
 1463|      6|    }
 1464|      0|    return false;
 1465|      6|}
_ZNK7glslang13TIntermediate20canImplicitlyPromoteENS_10TBasicTypeES1_NS_9TOperatorE:
 1472|      6|{
 1473|      6|    if ((isEsProfile() && version < 310 ) || version == 110)
  ------------------
  |  Branch (1473:10): [True: 0, False: 6]
  |  Branch (1473:27): [True: 0, False: 0]
  |  Branch (1473:46): [True: 0, False: 6]
  ------------------
 1474|      0|        return false;
 1475|       |
 1476|      6|    if (from == to)
  ------------------
  |  Branch (1476:9): [True: 0, False: 6]
  ------------------
 1477|      0|        return true;
 1478|       |
 1479|       |    // TODO: Move more policies into language-specific handlers.
 1480|       |    // Some languages allow more general (or potentially, more specific) conversions under some conditions.
 1481|      6|    if (getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (1481:9): [True: 0, False: 6]
  ------------------
 1482|      0|        const bool fromConvertable = (from == EbtFloat || from == EbtDouble || from == EbtInt || from == EbtUint || from == EbtBool);
  ------------------
  |  Branch (1482:39): [True: 0, False: 0]
  |  Branch (1482:59): [True: 0, False: 0]
  |  Branch (1482:80): [True: 0, False: 0]
  |  Branch (1482:98): [True: 0, False: 0]
  |  Branch (1482:117): [True: 0, False: 0]
  ------------------
 1483|      0|        const bool toConvertable = (to == EbtFloat || to == EbtDouble || to == EbtInt || to == EbtUint || to == EbtBool);
  ------------------
  |  Branch (1483:37): [True: 0, False: 0]
  |  Branch (1483:55): [True: 0, False: 0]
  |  Branch (1483:74): [True: 0, False: 0]
  |  Branch (1483:90): [True: 0, False: 0]
  |  Branch (1483:107): [True: 0, False: 0]
  ------------------
 1484|       |
 1485|      0|        if (fromConvertable && toConvertable) {
  ------------------
  |  Branch (1485:13): [True: 0, False: 0]
  |  Branch (1485:32): [True: 0, False: 0]
  ------------------
 1486|      0|            switch (op) {
 1487|      0|            case EOpAndAssign:               // assignments can perform arbitrary conversions
  ------------------
  |  Branch (1487:13): [True: 0, False: 0]
  ------------------
 1488|      0|            case EOpInclusiveOrAssign:       // ...
  ------------------
  |  Branch (1488:13): [True: 0, False: 0]
  ------------------
 1489|      0|            case EOpExclusiveOrAssign:       // ...
  ------------------
  |  Branch (1489:13): [True: 0, False: 0]
  ------------------
 1490|      0|            case EOpAssign:                  // ...
  ------------------
  |  Branch (1490:13): [True: 0, False: 0]
  ------------------
 1491|      0|            case EOpAddAssign:               // ...
  ------------------
  |  Branch (1491:13): [True: 0, False: 0]
  ------------------
 1492|      0|            case EOpSubAssign:               // ...
  ------------------
  |  Branch (1492:13): [True: 0, False: 0]
  ------------------
 1493|      0|            case EOpMulAssign:               // ...
  ------------------
  |  Branch (1493:13): [True: 0, False: 0]
  ------------------
 1494|      0|            case EOpVectorTimesScalarAssign: // ...
  ------------------
  |  Branch (1494:13): [True: 0, False: 0]
  ------------------
 1495|      0|            case EOpMatrixTimesScalarAssign: // ...
  ------------------
  |  Branch (1495:13): [True: 0, False: 0]
  ------------------
 1496|      0|            case EOpDivAssign:               // ...
  ------------------
  |  Branch (1496:13): [True: 0, False: 0]
  ------------------
 1497|      0|            case EOpModAssign:               // ...
  ------------------
  |  Branch (1497:13): [True: 0, False: 0]
  ------------------
 1498|      0|            case EOpReturn:                  // function returns can also perform arbitrary conversions
  ------------------
  |  Branch (1498:13): [True: 0, False: 0]
  ------------------
 1499|      0|            case EOpFunctionCall:            // conversion of a calling parameter
  ------------------
  |  Branch (1499:13): [True: 0, False: 0]
  ------------------
 1500|      0|            case EOpLogicalNot:
  ------------------
  |  Branch (1500:13): [True: 0, False: 0]
  ------------------
 1501|      0|            case EOpLogicalAnd:
  ------------------
  |  Branch (1501:13): [True: 0, False: 0]
  ------------------
 1502|      0|            case EOpLogicalOr:
  ------------------
  |  Branch (1502:13): [True: 0, False: 0]
  ------------------
 1503|      0|            case EOpLogicalXor:
  ------------------
  |  Branch (1503:13): [True: 0, False: 0]
  ------------------
 1504|      0|            case EOpConstructStruct:
  ------------------
  |  Branch (1504:13): [True: 0, False: 0]
  ------------------
 1505|      0|                return true;
 1506|      0|            default:
  ------------------
  |  Branch (1506:13): [True: 0, False: 0]
  ------------------
 1507|      0|                break;
 1508|      0|            }
 1509|      0|        }
 1510|      0|    }
 1511|       |
 1512|      6|    if (getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (1512:9): [True: 0, False: 6]
  ------------------
 1513|       |        // HLSL
 1514|      0|        if (from == EbtBool && (to == EbtInt || to == EbtUint || to == EbtFloat))
  ------------------
  |  Branch (1514:13): [True: 0, False: 0]
  |  Branch (1514:33): [True: 0, False: 0]
  |  Branch (1514:49): [True: 0, False: 0]
  |  Branch (1514:66): [True: 0, False: 0]
  ------------------
 1515|      0|            return true;
 1516|      6|    } else {
 1517|       |        // GLSL
 1518|      6|        if (isIntegralPromotion(from, to) ||
  ------------------
  |  Branch (1518:13): [True: 0, False: 6]
  ------------------
 1519|      6|            isFPPromotion(from, to) ||
  ------------------
  |  Branch (1519:13): [True: 0, False: 6]
  ------------------
 1520|      6|            isIntegralConversion(from, to) ||
  ------------------
  |  Branch (1520:13): [True: 0, False: 6]
  ------------------
 1521|      6|            isFPConversion(from, to) ||
  ------------------
  |  Branch (1521:13): [True: 0, False: 6]
  ------------------
 1522|      6|            isFPIntegralConversion(from, to)) {
  ------------------
  |  Branch (1522:13): [True: 6, False: 0]
  ------------------
 1523|       |
 1524|      6|            if (numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1524:17): [True: 0, False: 6]
  ------------------
 1525|      6|                numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_int8) ||
  ------------------
  |  Branch (1525:17): [True: 0, False: 6]
  ------------------
 1526|      6|                numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_int16) ||
  ------------------
  |  Branch (1526:17): [True: 0, False: 6]
  ------------------
 1527|      6|                numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_int32) ||
  ------------------
  |  Branch (1527:17): [True: 0, False: 6]
  ------------------
 1528|      6|                numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_int64) ||
  ------------------
  |  Branch (1528:17): [True: 0, False: 6]
  ------------------
 1529|      6|                numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_float16) ||
  ------------------
  |  Branch (1529:17): [True: 0, False: 6]
  ------------------
 1530|      6|                numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_float32) ||
  ------------------
  |  Branch (1530:17): [True: 0, False: 6]
  ------------------
 1531|      6|                numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_float64)) {
  ------------------
  |  Branch (1531:17): [True: 0, False: 6]
  ------------------
 1532|      0|                return true;
 1533|      0|            }
 1534|      6|        }
 1535|      6|    }
 1536|       |
 1537|      6|    if (isEsProfile()) {
  ------------------
  |  Branch (1537:9): [True: 0, False: 6]
  ------------------
 1538|      0|        switch (to) {
 1539|      0|            case EbtFloat:
  ------------------
  |  Branch (1539:13): [True: 0, False: 0]
  ------------------
 1540|      0|                switch (from) {
 1541|      0|                case EbtInt:
  ------------------
  |  Branch (1541:17): [True: 0, False: 0]
  ------------------
 1542|      0|                case EbtUint:
  ------------------
  |  Branch (1542:17): [True: 0, False: 0]
  ------------------
 1543|      0|                    return numericFeatures.contains(TNumericFeatures::shader_implicit_conversions);
 1544|      0|                default:
  ------------------
  |  Branch (1544:17): [True: 0, False: 0]
  ------------------
 1545|      0|                    return false;
 1546|      0|                }
 1547|      0|            case EbtUint:
  ------------------
  |  Branch (1547:13): [True: 0, False: 0]
  ------------------
 1548|      0|                switch (from) {
 1549|      0|                case EbtInt:
  ------------------
  |  Branch (1549:17): [True: 0, False: 0]
  ------------------
 1550|      0|                    return numericFeatures.contains(TNumericFeatures::shader_implicit_conversions);
 1551|      0|                default:
  ------------------
  |  Branch (1551:17): [True: 0, False: 0]
  ------------------
 1552|      0|                    return false;
 1553|      0|                }
 1554|      0|            default:
  ------------------
  |  Branch (1554:13): [True: 0, False: 0]
  ------------------
 1555|      0|                return false;
 1556|      0|        }
 1557|      6|    } else {
 1558|      6|        switch (to) {
 1559|      0|        case EbtDouble:
  ------------------
  |  Branch (1559:9): [True: 0, False: 6]
  ------------------
 1560|      0|            switch (from) {
 1561|      0|            case EbtInt:
  ------------------
  |  Branch (1561:13): [True: 0, False: 0]
  ------------------
 1562|      0|            case EbtUint:
  ------------------
  |  Branch (1562:13): [True: 0, False: 0]
  ------------------
 1563|      0|            case EbtInt64:
  ------------------
  |  Branch (1563:13): [True: 0, False: 0]
  ------------------
 1564|      0|            case EbtUint64:
  ------------------
  |  Branch (1564:13): [True: 0, False: 0]
  ------------------
 1565|      0|            case EbtFloat:
  ------------------
  |  Branch (1565:13): [True: 0, False: 0]
  ------------------
 1566|      0|                return version >= 400 || numericFeatures.contains(TNumericFeatures::gpu_shader_fp64);
  ------------------
  |  Branch (1566:24): [True: 0, False: 0]
  |  Branch (1566:42): [True: 0, False: 0]
  ------------------
 1567|      0|            case EbtInt16:
  ------------------
  |  Branch (1567:13): [True: 0, False: 0]
  ------------------
 1568|      0|            case EbtUint16:
  ------------------
  |  Branch (1568:13): [True: 0, False: 0]
  ------------------
 1569|      0|                return (version >= 400 || numericFeatures.contains(TNumericFeatures::gpu_shader_fp64)) &&
  ------------------
  |  Branch (1569:25): [True: 0, False: 0]
  |  Branch (1569:43): [True: 0, False: 0]
  ------------------
 1570|      0|                                         (numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types) ||
  ------------------
  |  Branch (1570:43): [True: 0, False: 0]
  ------------------
 1571|      0|                                          numericFeatures.contains(TNumericFeatures::gpu_shader_int16));
  ------------------
  |  Branch (1571:43): [True: 0, False: 0]
  ------------------
 1572|      0|            case EbtFloat16:
  ------------------
  |  Branch (1572:13): [True: 0, False: 0]
  ------------------
 1573|      0|                return (version >= 400 || numericFeatures.contains(TNumericFeatures::gpu_shader_fp64)) &&
  ------------------
  |  Branch (1573:25): [True: 0, False: 0]
  |  Branch (1573:43): [True: 0, False: 0]
  ------------------
 1574|      0|                                        (numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types) ||
  ------------------
  |  Branch (1574:42): [True: 0, False: 0]
  ------------------
 1575|      0|                                        numericFeatures.contains(TNumericFeatures::gpu_shader_half_float));
  ------------------
  |  Branch (1575:41): [True: 0, False: 0]
  ------------------
 1576|      0|            case EbtBFloat16:
  ------------------
  |  Branch (1576:13): [True: 0, False: 0]
  ------------------
 1577|      0|            case EbtFloatE5M2:
  ------------------
  |  Branch (1577:13): [True: 0, False: 0]
  ------------------
 1578|      0|            case EbtFloatE4M3:
  ------------------
  |  Branch (1578:13): [True: 0, False: 0]
  ------------------
 1579|      0|            case EbtFloatE2M1:
  ------------------
  |  Branch (1579:13): [True: 0, False: 0]
  ------------------
 1580|      0|            case EbtFloatE3M2:
  ------------------
  |  Branch (1580:13): [True: 0, False: 0]
  ------------------
 1581|      0|            case EbtFloatE2M3:
  ------------------
  |  Branch (1581:13): [True: 0, False: 0]
  ------------------
 1582|      0|            case EbtFloatMXINT8:
  ------------------
  |  Branch (1582:13): [True: 0, False: 0]
  ------------------
 1583|      0|                return true;
 1584|      0|            case EbtInt8:
  ------------------
  |  Branch (1584:13): [True: 0, False: 0]
  ------------------
 1585|      0|            case EbtUint8:
  ------------------
  |  Branch (1585:13): [True: 0, False: 0]
  ------------------
 1586|      0|                return numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
 1587|      0|            default:
  ------------------
  |  Branch (1587:13): [True: 0, False: 0]
  ------------------
 1588|      0|                return false;
 1589|      0|           }
 1590|      6|        case EbtFloat:
  ------------------
  |  Branch (1590:9): [True: 6, False: 0]
  ------------------
 1591|      6|            switch (from) {
 1592|      6|            case EbtInt:
  ------------------
  |  Branch (1592:13): [True: 6, False: 0]
  ------------------
 1593|      6|            case EbtUint:
  ------------------
  |  Branch (1593:13): [True: 0, False: 6]
  ------------------
 1594|      6|                 return true;
 1595|      0|            case EbtBool:
  ------------------
  |  Branch (1595:13): [True: 0, False: 6]
  ------------------
 1596|      0|                 return getSource() == EShSourceHlsl;
 1597|      0|            case EbtInt16:
  ------------------
  |  Branch (1597:13): [True: 0, False: 6]
  ------------------
 1598|      0|            case EbtUint16:
  ------------------
  |  Branch (1598:13): [True: 0, False: 6]
  ------------------
 1599|      0|                return numericFeatures.contains(TNumericFeatures::gpu_shader_int16) ||
  ------------------
  |  Branch (1599:24): [True: 0, False: 0]
  ------------------
 1600|      0|                       numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
  ------------------
  |  Branch (1600:24): [True: 0, False: 0]
  ------------------
 1601|      0|            case EbtFloat16:
  ------------------
  |  Branch (1601:13): [True: 0, False: 6]
  ------------------
 1602|      0|                return numericFeatures.contains(TNumericFeatures::gpu_shader_half_float) ||
  ------------------
  |  Branch (1602:24): [True: 0, False: 0]
  ------------------
 1603|      0|                    numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types) ||
  ------------------
  |  Branch (1603:21): [True: 0, False: 0]
  ------------------
 1604|      0|                    getSource() == EShSourceHlsl;
  ------------------
  |  Branch (1604:21): [True: 0, False: 0]
  ------------------
 1605|      0|            case EbtBFloat16:
  ------------------
  |  Branch (1605:13): [True: 0, False: 6]
  ------------------
 1606|      0|            case EbtFloatE5M2:
  ------------------
  |  Branch (1606:13): [True: 0, False: 6]
  ------------------
 1607|      0|            case EbtFloatE4M3:
  ------------------
  |  Branch (1607:13): [True: 0, False: 6]
  ------------------
 1608|      0|            case EbtFloatE2M1:
  ------------------
  |  Branch (1608:13): [True: 0, False: 6]
  ------------------
 1609|      0|            case EbtFloatE3M2:
  ------------------
  |  Branch (1609:13): [True: 0, False: 6]
  ------------------
 1610|      0|            case EbtFloatE2M3:
  ------------------
  |  Branch (1610:13): [True: 0, False: 6]
  ------------------
 1611|      0|            case EbtFloatMXINT8:
  ------------------
  |  Branch (1611:13): [True: 0, False: 6]
  ------------------
 1612|      0|                return true;
 1613|      0|            case EbtInt8:
  ------------------
  |  Branch (1613:13): [True: 0, False: 6]
  ------------------
 1614|      0|            case EbtUint8:
  ------------------
  |  Branch (1614:13): [True: 0, False: 6]
  ------------------
 1615|      0|                return numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
 1616|      0|            default:
  ------------------
  |  Branch (1616:13): [True: 0, False: 6]
  ------------------
 1617|      0|                 return false;
 1618|      6|            }
 1619|      0|        case EbtUint:
  ------------------
  |  Branch (1619:9): [True: 0, False: 6]
  ------------------
 1620|      0|            switch (from) {
 1621|      0|            case EbtInt:
  ------------------
  |  Branch (1621:13): [True: 0, False: 0]
  ------------------
 1622|      0|                return version >= 400 || getSource() == EShSourceHlsl ||
  ------------------
  |  Branch (1622:24): [True: 0, False: 0]
  |  Branch (1622:42): [True: 0, False: 0]
  ------------------
 1623|      0|						IsRequestedExtension(E_GL_ARB_gpu_shader5) ||
  ------------------
  |  Branch (1623:7): [True: 0, False: 0]
  ------------------
 1624|      0|						numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
  ------------------
  |  Branch (1624:7): [True: 0, False: 0]
  ------------------
 1625|      0|            case EbtBool:
  ------------------
  |  Branch (1625:13): [True: 0, False: 0]
  ------------------
 1626|      0|                return getSource() == EShSourceHlsl;
 1627|      0|            case EbtInt16:
  ------------------
  |  Branch (1627:13): [True: 0, False: 0]
  ------------------
 1628|      0|            case EbtUint16:
  ------------------
  |  Branch (1628:13): [True: 0, False: 0]
  ------------------
 1629|      0|                return numericFeatures.contains(TNumericFeatures::gpu_shader_int16) ||
  ------------------
  |  Branch (1629:24): [True: 0, False: 0]
  ------------------
 1630|      0|                       numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
  ------------------
  |  Branch (1630:24): [True: 0, False: 0]
  ------------------
 1631|      0|            case EbtInt8:
  ------------------
  |  Branch (1631:13): [True: 0, False: 0]
  ------------------
 1632|      0|            case EbtUint8:
  ------------------
  |  Branch (1632:13): [True: 0, False: 0]
  ------------------
 1633|      0|                return numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
 1634|      0|            default:
  ------------------
  |  Branch (1634:13): [True: 0, False: 0]
  ------------------
 1635|      0|                return false;
 1636|      0|            }
 1637|      0|        case EbtInt:
  ------------------
  |  Branch (1637:9): [True: 0, False: 6]
  ------------------
 1638|      0|            switch (from) {
 1639|      0|            case EbtBool:
  ------------------
  |  Branch (1639:13): [True: 0, False: 0]
  ------------------
 1640|      0|                return getSource() == EShSourceHlsl;
 1641|      0|            case EbtInt16:
  ------------------
  |  Branch (1641:13): [True: 0, False: 0]
  ------------------
 1642|      0|                return numericFeatures.contains(TNumericFeatures::gpu_shader_int16) ||
  ------------------
  |  Branch (1642:24): [True: 0, False: 0]
  ------------------
 1643|      0|                       numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
  ------------------
  |  Branch (1643:24): [True: 0, False: 0]
  ------------------
 1644|      0|            case EbtInt8:
  ------------------
  |  Branch (1644:13): [True: 0, False: 0]
  ------------------
 1645|      0|                return numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
 1646|      0|            default:
  ------------------
  |  Branch (1646:13): [True: 0, False: 0]
  ------------------
 1647|      0|                return false;
 1648|      0|            }
 1649|      0|        case EbtUint64:
  ------------------
  |  Branch (1649:9): [True: 0, False: 6]
  ------------------
 1650|      0|            switch (from) {
 1651|      0|            case EbtInt:
  ------------------
  |  Branch (1651:13): [True: 0, False: 0]
  ------------------
 1652|      0|            case EbtUint:
  ------------------
  |  Branch (1652:13): [True: 0, False: 0]
  ------------------
 1653|      0|            case EbtInt64:
  ------------------
  |  Branch (1653:13): [True: 0, False: 0]
  ------------------
 1654|      0|                return true;
 1655|      0|            case EbtInt16:
  ------------------
  |  Branch (1655:13): [True: 0, False: 0]
  ------------------
 1656|      0|            case EbtUint16:
  ------------------
  |  Branch (1656:13): [True: 0, False: 0]
  ------------------
 1657|      0|                return numericFeatures.contains(TNumericFeatures::gpu_shader_int16) ||
  ------------------
  |  Branch (1657:24): [True: 0, False: 0]
  ------------------
 1658|      0|                	numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
  ------------------
  |  Branch (1658:18): [True: 0, False: 0]
  ------------------
 1659|      0|            case EbtInt8:
  ------------------
  |  Branch (1659:13): [True: 0, False: 0]
  ------------------
 1660|      0|            case EbtUint8:
  ------------------
  |  Branch (1660:13): [True: 0, False: 0]
  ------------------
 1661|      0|                return numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
 1662|      0|            default:
  ------------------
  |  Branch (1662:13): [True: 0, False: 0]
  ------------------
 1663|      0|                return false;
 1664|      0|            }
 1665|      0|        case EbtInt64:
  ------------------
  |  Branch (1665:9): [True: 0, False: 6]
  ------------------
 1666|      0|            switch (from) {
 1667|      0|            case EbtInt:
  ------------------
  |  Branch (1667:13): [True: 0, False: 0]
  ------------------
 1668|      0|                return true;
 1669|      0|            case EbtInt8:
  ------------------
  |  Branch (1669:13): [True: 0, False: 0]
  ------------------
 1670|      0|                return numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
 1671|      0|            case EbtInt16:
  ------------------
  |  Branch (1671:13): [True: 0, False: 0]
  ------------------
 1672|      0|                return numericFeatures.contains(TNumericFeatures::gpu_shader_int16) ||
  ------------------
  |  Branch (1672:24): [True: 0, False: 0]
  ------------------
 1673|      0|				       numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
  ------------------
  |  Branch (1673:12): [True: 0, False: 0]
  ------------------
 1674|      0|            default:
  ------------------
  |  Branch (1674:13): [True: 0, False: 0]
  ------------------
 1675|      0|                return false;
 1676|      0|            }
 1677|      0|        case EbtFloat16:
  ------------------
  |  Branch (1677:9): [True: 0, False: 6]
  ------------------
 1678|      0|            switch (from) {
 1679|      0|            case EbtInt16:
  ------------------
  |  Branch (1679:13): [True: 0, False: 0]
  ------------------
 1680|      0|            case EbtUint16:
  ------------------
  |  Branch (1680:13): [True: 0, False: 0]
  ------------------
 1681|      0|                return numericFeatures.contains(TNumericFeatures::gpu_shader_int16);
 1682|      0|            case EbtFloatE5M2:
  ------------------
  |  Branch (1682:13): [True: 0, False: 0]
  ------------------
 1683|      0|            case EbtFloatE4M3:
  ------------------
  |  Branch (1683:13): [True: 0, False: 0]
  ------------------
 1684|      0|            case EbtFloatE2M1:
  ------------------
  |  Branch (1684:13): [True: 0, False: 0]
  ------------------
 1685|      0|            case EbtFloatE3M2:
  ------------------
  |  Branch (1685:13): [True: 0, False: 0]
  ------------------
 1686|      0|            case EbtFloatE2M3:
  ------------------
  |  Branch (1686:13): [True: 0, False: 0]
  ------------------
 1687|      0|            case EbtFloatMXINT8:
  ------------------
  |  Branch (1687:13): [True: 0, False: 0]
  ------------------
 1688|      0|                return true;
 1689|      0|            default:
  ------------------
  |  Branch (1689:13): [True: 0, False: 0]
  ------------------
 1690|      0|                break;
 1691|      0|            }
 1692|      0|            return false;
 1693|      0|        case EbtBFloat16:
  ------------------
  |  Branch (1693:9): [True: 0, False: 6]
  ------------------
 1694|      0|            switch (from) {
 1695|      0|            case EbtFloatE5M2:
  ------------------
  |  Branch (1695:13): [True: 0, False: 0]
  ------------------
 1696|      0|            case EbtFloatE4M3:
  ------------------
  |  Branch (1696:13): [True: 0, False: 0]
  ------------------
 1697|      0|            case EbtFloatE2M1:
  ------------------
  |  Branch (1697:13): [True: 0, False: 0]
  ------------------
 1698|      0|            case EbtFloatE3M2:
  ------------------
  |  Branch (1698:13): [True: 0, False: 0]
  ------------------
 1699|      0|            case EbtFloatE2M3:
  ------------------
  |  Branch (1699:13): [True: 0, False: 0]
  ------------------
 1700|      0|            case EbtFloatMXINT8:
  ------------------
  |  Branch (1700:13): [True: 0, False: 0]
  ------------------
 1701|      0|                return true;
 1702|      0|            default:
  ------------------
  |  Branch (1702:13): [True: 0, False: 0]
  ------------------
 1703|      0|                break;
 1704|      0|            }
 1705|      0|            return false;
 1706|      0|        case EbtFloatE4M3:
  ------------------
  |  Branch (1706:9): [True: 0, False: 6]
  ------------------
 1707|      0|        case EbtFloatE5M2:
  ------------------
  |  Branch (1707:9): [True: 0, False: 6]
  ------------------
 1708|      0|            switch (from) {
 1709|      0|            case EbtFloatE2M1:
  ------------------
  |  Branch (1709:13): [True: 0, False: 0]
  ------------------
 1710|      0|                return true;
 1711|      0|            default:
  ------------------
  |  Branch (1711:13): [True: 0, False: 0]
  ------------------
 1712|      0|                break;
 1713|      0|            }
 1714|      0|            return false;
 1715|      0|        case EbtUint16:
  ------------------
  |  Branch (1715:9): [True: 0, False: 6]
  ------------------
 1716|      0|            switch (from) {
 1717|      0|            case EbtInt16:
  ------------------
  |  Branch (1717:13): [True: 0, False: 0]
  ------------------
 1718|      0|                return numericFeatures.contains(TNumericFeatures::gpu_shader_int16);
 1719|      0|            default:
  ------------------
  |  Branch (1719:13): [True: 0, False: 0]
  ------------------
 1720|      0|                break;
 1721|      0|            }
 1722|      0|            return false;
 1723|      0|        default:
  ------------------
  |  Branch (1723:9): [True: 0, False: 6]
  ------------------
 1724|      0|            return false;
 1725|      6|        }
 1726|      6|    }
 1727|       |
 1728|      0|    return false;
 1729|      6|}
_ZNK7glslang13TIntermediate22mapTypeToConstructorOpERKNS_5TTypeE:
 1916|  1.62k|{
 1917|  1.62k|    TOperator op = EOpNull;
 1918|       |
 1919|  1.62k|    if (type.getQualifier().isNonUniform())
  ------------------
  |  Branch (1919:9): [True: 0, False: 1.62k]
  ------------------
 1920|      0|        return EOpConstructNonuniform;
 1921|       |
 1922|  1.62k|    if (type.isCoopMatNV())
  ------------------
  |  Branch (1922:9): [True: 0, False: 1.62k]
  ------------------
 1923|      0|        return EOpConstructCooperativeMatrixNV;
 1924|       |
 1925|  1.62k|    if (type.isCoopMatKHR())
  ------------------
  |  Branch (1925:9): [True: 0, False: 1.62k]
  ------------------
 1926|      0|        return EOpConstructCooperativeMatrixKHR;
 1927|       |
 1928|  1.62k|    if (type.isCoopVecOrLongVector())
  ------------------
  |  Branch (1928:9): [True: 0, False: 1.62k]
  ------------------
 1929|      0|        return EOpConstructCooperativeVectorNV;
 1930|       |
 1931|  1.62k|    switch (type.getBasicType()) {
 1932|      0|    case EbtStruct:
  ------------------
  |  Branch (1932:5): [True: 0, False: 1.62k]
  ------------------
 1933|      0|        op = EOpConstructStruct;
 1934|      0|        break;
 1935|     90|    case EbtSampler:
  ------------------
  |  Branch (1935:5): [True: 90, False: 1.53k]
  ------------------
 1936|     90|        if (type.getSampler().isCombined())
  ------------------
  |  Branch (1936:13): [True: 90, False: 0]
  ------------------
 1937|     90|            op = EOpConstructTextureSampler;
 1938|     90|        break;
 1939|    450|    case EbtFloat:
  ------------------
  |  Branch (1939:5): [True: 450, False: 1.17k]
  ------------------
 1940|    450|        if (type.isMatrix()) {
  ------------------
  |  Branch (1940:13): [True: 0, False: 450]
  ------------------
 1941|      0|            switch (type.getMatrixCols()) {
 1942|      0|            case 2:
  ------------------
  |  Branch (1942:13): [True: 0, False: 0]
  ------------------
 1943|      0|                switch (type.getMatrixRows()) {
 1944|      0|                case 2: op = EOpConstructMat2x2; break;
  ------------------
  |  Branch (1944:17): [True: 0, False: 0]
  ------------------
 1945|      0|                case 3: op = EOpConstructMat2x3; break;
  ------------------
  |  Branch (1945:17): [True: 0, False: 0]
  ------------------
 1946|      0|                case 4: op = EOpConstructMat2x4; break;
  ------------------
  |  Branch (1946:17): [True: 0, False: 0]
  ------------------
 1947|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1947:17): [True: 0, False: 0]
  ------------------
 1948|      0|                }
 1949|      0|                break;
 1950|      0|            case 3:
  ------------------
  |  Branch (1950:13): [True: 0, False: 0]
  ------------------
 1951|      0|                switch (type.getMatrixRows()) {
 1952|      0|                case 2: op = EOpConstructMat3x2; break;
  ------------------
  |  Branch (1952:17): [True: 0, False: 0]
  ------------------
 1953|      0|                case 3: op = EOpConstructMat3x3; break;
  ------------------
  |  Branch (1953:17): [True: 0, False: 0]
  ------------------
 1954|      0|                case 4: op = EOpConstructMat3x4; break;
  ------------------
  |  Branch (1954:17): [True: 0, False: 0]
  ------------------
 1955|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1955:17): [True: 0, False: 0]
  ------------------
 1956|      0|                }
 1957|      0|                break;
 1958|      0|            case 4:
  ------------------
  |  Branch (1958:13): [True: 0, False: 0]
  ------------------
 1959|      0|                switch (type.getMatrixRows()) {
 1960|      0|                case 2: op = EOpConstructMat4x2; break;
  ------------------
  |  Branch (1960:17): [True: 0, False: 0]
  ------------------
 1961|      0|                case 3: op = EOpConstructMat4x3; break;
  ------------------
  |  Branch (1961:17): [True: 0, False: 0]
  ------------------
 1962|      0|                case 4: op = EOpConstructMat4x4; break;
  ------------------
  |  Branch (1962:17): [True: 0, False: 0]
  ------------------
 1963|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1963:17): [True: 0, False: 0]
  ------------------
 1964|      0|                }
 1965|      0|                break;
 1966|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (1966:13): [True: 0, False: 0]
  ------------------
 1967|      0|            }
 1968|    450|        } else {
 1969|    450|            switch(type.getVectorSize()) {
 1970|      0|            case 1: op = EOpConstructFloat; break;
  ------------------
  |  Branch (1970:13): [True: 0, False: 450]
  ------------------
 1971|     18|            case 2: op = EOpConstructVec2;  break;
  ------------------
  |  Branch (1971:13): [True: 18, False: 432]
  ------------------
 1972|      0|            case 3: op = EOpConstructVec3;  break;
  ------------------
  |  Branch (1972:13): [True: 0, False: 450]
  ------------------
 1973|    432|            case 4: op = EOpConstructVec4;  break;
  ------------------
  |  Branch (1973:13): [True: 432, False: 18]
  ------------------
 1974|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (1974:13): [True: 0, False: 450]
  ------------------
 1975|    450|            }
 1976|    450|        }
 1977|    450|        break;
 1978|  1.02k|    case EbtInt:
  ------------------
  |  Branch (1978:5): [True: 1.02k, False: 594]
  ------------------
 1979|  1.02k|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (1979:13): [True: 0, False: 1.02k]
  ------------------
 1980|      0|            switch (type.getMatrixCols()) {
  ------------------
  |  Branch (1980:21): [True: 0, False: 0]
  ------------------
 1981|      0|            case 2:
  ------------------
  |  Branch (1981:13): [True: 0, False: 0]
  ------------------
 1982|      0|                switch (type.getMatrixRows()) {
 1983|      0|                case 2: op = EOpConstructIMat2x2; break;
  ------------------
  |  Branch (1983:17): [True: 0, False: 0]
  ------------------
 1984|      0|                case 3: op = EOpConstructIMat2x3; break;
  ------------------
  |  Branch (1984:17): [True: 0, False: 0]
  ------------------
 1985|      0|                case 4: op = EOpConstructIMat2x4; break;
  ------------------
  |  Branch (1985:17): [True: 0, False: 0]
  ------------------
 1986|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1986:17): [True: 0, False: 0]
  ------------------
 1987|      0|                }
 1988|      0|                break;
 1989|      0|            case 3:
  ------------------
  |  Branch (1989:13): [True: 0, False: 0]
  ------------------
 1990|      0|                switch (type.getMatrixRows()) {
 1991|      0|                case 2: op = EOpConstructIMat3x2; break;
  ------------------
  |  Branch (1991:17): [True: 0, False: 0]
  ------------------
 1992|      0|                case 3: op = EOpConstructIMat3x3; break;
  ------------------
  |  Branch (1992:17): [True: 0, False: 0]
  ------------------
 1993|      0|                case 4: op = EOpConstructIMat3x4; break;
  ------------------
  |  Branch (1993:17): [True: 0, False: 0]
  ------------------
 1994|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1994:17): [True: 0, False: 0]
  ------------------
 1995|      0|                }
 1996|      0|                break;
 1997|      0|            case 4:
  ------------------
  |  Branch (1997:13): [True: 0, False: 0]
  ------------------
 1998|      0|                switch (type.getMatrixRows()) {
 1999|      0|                case 2: op = EOpConstructIMat4x2; break;
  ------------------
  |  Branch (1999:17): [True: 0, False: 0]
  ------------------
 2000|      0|                case 3: op = EOpConstructIMat4x3; break;
  ------------------
  |  Branch (2000:17): [True: 0, False: 0]
  ------------------
 2001|      0|                case 4: op = EOpConstructIMat4x4; break;
  ------------------
  |  Branch (2001:17): [True: 0, False: 0]
  ------------------
 2002|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2002:17): [True: 0, False: 0]
  ------------------
 2003|      0|                }
 2004|      0|                break;
 2005|      0|            }
 2006|  1.02k|        } else {
 2007|  1.02k|            switch(type.getVectorSize()) {
 2008|    399|            case 1: op = EOpConstructInt;   break;
  ------------------
  |  Branch (2008:13): [True: 399, False: 628]
  ------------------
 2009|    276|            case 2: op = EOpConstructIVec2; break;
  ------------------
  |  Branch (2009:13): [True: 276, False: 751]
  ------------------
 2010|    340|            case 3: op = EOpConstructIVec3; break;
  ------------------
  |  Branch (2010:13): [True: 340, False: 687]
  ------------------
 2011|     12|            case 4: op = EOpConstructIVec4; break;
  ------------------
  |  Branch (2011:13): [True: 12, False: 1.01k]
  ------------------
 2012|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (2012:13): [True: 0, False: 1.02k]
  ------------------
 2013|  1.02k|            }
 2014|  1.02k|        }
 2015|  1.02k|        break;
 2016|  1.02k|    case EbtUint:
  ------------------
  |  Branch (2016:5): [True: 54, False: 1.56k]
  ------------------
 2017|     54|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (2017:13): [True: 0, False: 54]
  ------------------
 2018|      0|            switch (type.getMatrixCols()) {
  ------------------
  |  Branch (2018:21): [True: 0, False: 0]
  ------------------
 2019|      0|            case 2:
  ------------------
  |  Branch (2019:13): [True: 0, False: 0]
  ------------------
 2020|      0|                switch (type.getMatrixRows()) {
 2021|      0|                case 2: op = EOpConstructUMat2x2; break;
  ------------------
  |  Branch (2021:17): [True: 0, False: 0]
  ------------------
 2022|      0|                case 3: op = EOpConstructUMat2x3; break;
  ------------------
  |  Branch (2022:17): [True: 0, False: 0]
  ------------------
 2023|      0|                case 4: op = EOpConstructUMat2x4; break;
  ------------------
  |  Branch (2023:17): [True: 0, False: 0]
  ------------------
 2024|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2024:17): [True: 0, False: 0]
  ------------------
 2025|      0|                }
 2026|      0|                break;
 2027|      0|            case 3:
  ------------------
  |  Branch (2027:13): [True: 0, False: 0]
  ------------------
 2028|      0|                switch (type.getMatrixRows()) {
 2029|      0|                case 2: op = EOpConstructUMat3x2; break;
  ------------------
  |  Branch (2029:17): [True: 0, False: 0]
  ------------------
 2030|      0|                case 3: op = EOpConstructUMat3x3; break;
  ------------------
  |  Branch (2030:17): [True: 0, False: 0]
  ------------------
 2031|      0|                case 4: op = EOpConstructUMat3x4; break;
  ------------------
  |  Branch (2031:17): [True: 0, False: 0]
  ------------------
 2032|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2032:17): [True: 0, False: 0]
  ------------------
 2033|      0|                }
 2034|      0|                break;
 2035|      0|            case 4:
  ------------------
  |  Branch (2035:13): [True: 0, False: 0]
  ------------------
 2036|      0|                switch (type.getMatrixRows()) {
 2037|      0|                case 2: op = EOpConstructUMat4x2; break;
  ------------------
  |  Branch (2037:17): [True: 0, False: 0]
  ------------------
 2038|      0|                case 3: op = EOpConstructUMat4x3; break;
  ------------------
  |  Branch (2038:17): [True: 0, False: 0]
  ------------------
 2039|      0|                case 4: op = EOpConstructUMat4x4; break;
  ------------------
  |  Branch (2039:17): [True: 0, False: 0]
  ------------------
 2040|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2040:17): [True: 0, False: 0]
  ------------------
 2041|      0|                }
 2042|      0|                break;
 2043|      0|            }
 2044|     54|        } else {
 2045|     54|            switch(type.getVectorSize()) {
 2046|      0|            case 1: op = EOpConstructUint;  break;
  ------------------
  |  Branch (2046:13): [True: 0, False: 54]
  ------------------
 2047|      0|            case 2: op = EOpConstructUVec2; break;
  ------------------
  |  Branch (2047:13): [True: 0, False: 54]
  ------------------
 2048|     54|            case 3: op = EOpConstructUVec3; break;
  ------------------
  |  Branch (2048:13): [True: 54, False: 0]
  ------------------
 2049|      0|            case 4: op = EOpConstructUVec4; break;
  ------------------
  |  Branch (2049:13): [True: 0, False: 54]
  ------------------
 2050|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (2050:13): [True: 0, False: 54]
  ------------------
 2051|     54|            }
 2052|     54|        }
 2053|     54|        break;
 2054|     54|    case EbtBool:
  ------------------
  |  Branch (2054:5): [True: 0, False: 1.62k]
  ------------------
 2055|      0|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (2055:13): [True: 0, False: 0]
  ------------------
 2056|      0|            switch (type.getMatrixCols()) {
  ------------------
  |  Branch (2056:21): [True: 0, False: 0]
  ------------------
 2057|      0|            case 2:
  ------------------
  |  Branch (2057:13): [True: 0, False: 0]
  ------------------
 2058|      0|                switch (type.getMatrixRows()) {
 2059|      0|                case 2: op = EOpConstructBMat2x2; break;
  ------------------
  |  Branch (2059:17): [True: 0, False: 0]
  ------------------
 2060|      0|                case 3: op = EOpConstructBMat2x3; break;
  ------------------
  |  Branch (2060:17): [True: 0, False: 0]
  ------------------
 2061|      0|                case 4: op = EOpConstructBMat2x4; break;
  ------------------
  |  Branch (2061:17): [True: 0, False: 0]
  ------------------
 2062|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2062:17): [True: 0, False: 0]
  ------------------
 2063|      0|                }
 2064|      0|                break;
 2065|      0|            case 3:
  ------------------
  |  Branch (2065:13): [True: 0, False: 0]
  ------------------
 2066|      0|                switch (type.getMatrixRows()) {
 2067|      0|                case 2: op = EOpConstructBMat3x2; break;
  ------------------
  |  Branch (2067:17): [True: 0, False: 0]
  ------------------
 2068|      0|                case 3: op = EOpConstructBMat3x3; break;
  ------------------
  |  Branch (2068:17): [True: 0, False: 0]
  ------------------
 2069|      0|                case 4: op = EOpConstructBMat3x4; break;
  ------------------
  |  Branch (2069:17): [True: 0, False: 0]
  ------------------
 2070|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2070:17): [True: 0, False: 0]
  ------------------
 2071|      0|                }
 2072|      0|                break;
 2073|      0|            case 4:
  ------------------
  |  Branch (2073:13): [True: 0, False: 0]
  ------------------
 2074|      0|                switch (type.getMatrixRows()) {
 2075|      0|                case 2: op = EOpConstructBMat4x2; break;
  ------------------
  |  Branch (2075:17): [True: 0, False: 0]
  ------------------
 2076|      0|                case 3: op = EOpConstructBMat4x3; break;
  ------------------
  |  Branch (2076:17): [True: 0, False: 0]
  ------------------
 2077|      0|                case 4: op = EOpConstructBMat4x4; break;
  ------------------
  |  Branch (2077:17): [True: 0, False: 0]
  ------------------
 2078|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2078:17): [True: 0, False: 0]
  ------------------
 2079|      0|                }
 2080|      0|                break;
 2081|      0|            }
 2082|      0|        } else {
 2083|      0|            switch(type.getVectorSize()) {
 2084|      0|            case 1:  op = EOpConstructBool;  break;
  ------------------
  |  Branch (2084:13): [True: 0, False: 0]
  ------------------
 2085|      0|            case 2:  op = EOpConstructBVec2; break;
  ------------------
  |  Branch (2085:13): [True: 0, False: 0]
  ------------------
 2086|      0|            case 3:  op = EOpConstructBVec3; break;
  ------------------
  |  Branch (2086:13): [True: 0, False: 0]
  ------------------
 2087|      0|            case 4:  op = EOpConstructBVec4; break;
  ------------------
  |  Branch (2087:13): [True: 0, False: 0]
  ------------------
 2088|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (2088:13): [True: 0, False: 0]
  ------------------
 2089|      0|            }
 2090|      0|        }
 2091|      0|        break;
 2092|      0|    case EbtDouble:
  ------------------
  |  Branch (2092:5): [True: 0, False: 1.62k]
  ------------------
 2093|      0|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (2093:13): [True: 0, False: 0]
  ------------------
 2094|      0|            switch (type.getMatrixCols()) {
  ------------------
  |  Branch (2094:21): [True: 0, False: 0]
  ------------------
 2095|      0|            case 2:
  ------------------
  |  Branch (2095:13): [True: 0, False: 0]
  ------------------
 2096|      0|                switch (type.getMatrixRows()) {
 2097|      0|                case 2: op = EOpConstructDMat2x2; break;
  ------------------
  |  Branch (2097:17): [True: 0, False: 0]
  ------------------
 2098|      0|                case 3: op = EOpConstructDMat2x3; break;
  ------------------
  |  Branch (2098:17): [True: 0, False: 0]
  ------------------
 2099|      0|                case 4: op = EOpConstructDMat2x4; break;
  ------------------
  |  Branch (2099:17): [True: 0, False: 0]
  ------------------
 2100|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2100:17): [True: 0, False: 0]
  ------------------
 2101|      0|                }
 2102|      0|                break;
 2103|      0|            case 3:
  ------------------
  |  Branch (2103:13): [True: 0, False: 0]
  ------------------
 2104|      0|                switch (type.getMatrixRows()) {
 2105|      0|                case 2: op = EOpConstructDMat3x2; break;
  ------------------
  |  Branch (2105:17): [True: 0, False: 0]
  ------------------
 2106|      0|                case 3: op = EOpConstructDMat3x3; break;
  ------------------
  |  Branch (2106:17): [True: 0, False: 0]
  ------------------
 2107|      0|                case 4: op = EOpConstructDMat3x4; break;
  ------------------
  |  Branch (2107:17): [True: 0, False: 0]
  ------------------
 2108|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2108:17): [True: 0, False: 0]
  ------------------
 2109|      0|                }
 2110|      0|                break;
 2111|      0|            case 4:
  ------------------
  |  Branch (2111:13): [True: 0, False: 0]
  ------------------
 2112|      0|                switch (type.getMatrixRows()) {
 2113|      0|                case 2: op = EOpConstructDMat4x2; break;
  ------------------
  |  Branch (2113:17): [True: 0, False: 0]
  ------------------
 2114|      0|                case 3: op = EOpConstructDMat4x3; break;
  ------------------
  |  Branch (2114:17): [True: 0, False: 0]
  ------------------
 2115|      0|                case 4: op = EOpConstructDMat4x4; break;
  ------------------
  |  Branch (2115:17): [True: 0, False: 0]
  ------------------
 2116|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2116:17): [True: 0, False: 0]
  ------------------
 2117|      0|                }
 2118|      0|                break;
 2119|      0|            }
 2120|      0|        } else {
 2121|      0|            switch(type.getVectorSize()) {
 2122|      0|            case 1: op = EOpConstructDouble; break;
  ------------------
  |  Branch (2122:13): [True: 0, False: 0]
  ------------------
 2123|      0|            case 2: op = EOpConstructDVec2;  break;
  ------------------
  |  Branch (2123:13): [True: 0, False: 0]
  ------------------
 2124|      0|            case 3: op = EOpConstructDVec3;  break;
  ------------------
  |  Branch (2124:13): [True: 0, False: 0]
  ------------------
 2125|      0|            case 4: op = EOpConstructDVec4;  break;
  ------------------
  |  Branch (2125:13): [True: 0, False: 0]
  ------------------
 2126|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (2126:13): [True: 0, False: 0]
  ------------------
 2127|      0|            }
 2128|      0|        }
 2129|      0|        break;
 2130|      0|    case EbtFloat16:
  ------------------
  |  Branch (2130:5): [True: 0, False: 1.62k]
  ------------------
 2131|      0|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (2131:13): [True: 0, False: 0]
  ------------------
 2132|      0|            switch (type.getMatrixCols()) {
  ------------------
  |  Branch (2132:21): [True: 0, False: 0]
  ------------------
 2133|      0|            case 2:
  ------------------
  |  Branch (2133:13): [True: 0, False: 0]
  ------------------
 2134|      0|                switch (type.getMatrixRows()) {
 2135|      0|                case 2: op = EOpConstructF16Mat2x2; break;
  ------------------
  |  Branch (2135:17): [True: 0, False: 0]
  ------------------
 2136|      0|                case 3: op = EOpConstructF16Mat2x3; break;
  ------------------
  |  Branch (2136:17): [True: 0, False: 0]
  ------------------
 2137|      0|                case 4: op = EOpConstructF16Mat2x4; break;
  ------------------
  |  Branch (2137:17): [True: 0, False: 0]
  ------------------
 2138|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2138:17): [True: 0, False: 0]
  ------------------
 2139|      0|                }
 2140|      0|                break;
 2141|      0|            case 3:
  ------------------
  |  Branch (2141:13): [True: 0, False: 0]
  ------------------
 2142|      0|                switch (type.getMatrixRows()) {
 2143|      0|                case 2: op = EOpConstructF16Mat3x2; break;
  ------------------
  |  Branch (2143:17): [True: 0, False: 0]
  ------------------
 2144|      0|                case 3: op = EOpConstructF16Mat3x3; break;
  ------------------
  |  Branch (2144:17): [True: 0, False: 0]
  ------------------
 2145|      0|                case 4: op = EOpConstructF16Mat3x4; break;
  ------------------
  |  Branch (2145:17): [True: 0, False: 0]
  ------------------
 2146|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2146:17): [True: 0, False: 0]
  ------------------
 2147|      0|                }
 2148|      0|                break;
 2149|      0|            case 4:
  ------------------
  |  Branch (2149:13): [True: 0, False: 0]
  ------------------
 2150|      0|                switch (type.getMatrixRows()) {
 2151|      0|                case 2: op = EOpConstructF16Mat4x2; break;
  ------------------
  |  Branch (2151:17): [True: 0, False: 0]
  ------------------
 2152|      0|                case 3: op = EOpConstructF16Mat4x3; break;
  ------------------
  |  Branch (2152:17): [True: 0, False: 0]
  ------------------
 2153|      0|                case 4: op = EOpConstructF16Mat4x4; break;
  ------------------
  |  Branch (2153:17): [True: 0, False: 0]
  ------------------
 2154|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2154:17): [True: 0, False: 0]
  ------------------
 2155|      0|                }
 2156|      0|                break;
 2157|      0|            }
 2158|      0|        }
 2159|      0|        else {
 2160|      0|            switch (type.getVectorSize()) {
 2161|      0|            case 1: op = EOpConstructFloat16;  break;
  ------------------
  |  Branch (2161:13): [True: 0, False: 0]
  ------------------
 2162|      0|            case 2: op = EOpConstructF16Vec2;  break;
  ------------------
  |  Branch (2162:13): [True: 0, False: 0]
  ------------------
 2163|      0|            case 3: op = EOpConstructF16Vec3;  break;
  ------------------
  |  Branch (2163:13): [True: 0, False: 0]
  ------------------
 2164|      0|            case 4: op = EOpConstructF16Vec4;  break;
  ------------------
  |  Branch (2164:13): [True: 0, False: 0]
  ------------------
 2165|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (2165:13): [True: 0, False: 0]
  ------------------
 2166|      0|            }
 2167|      0|        }
 2168|      0|        break;
 2169|      0|    case EbtBFloat16:
  ------------------
  |  Branch (2169:5): [True: 0, False: 1.62k]
  ------------------
 2170|      0|        switch (type.getVectorSize()) {
 2171|      0|        case 1: op = EOpConstructBFloat16;  break;
  ------------------
  |  Branch (2171:9): [True: 0, False: 0]
  ------------------
 2172|      0|        case 2: op = EOpConstructBF16Vec2;  break;
  ------------------
  |  Branch (2172:9): [True: 0, False: 0]
  ------------------
 2173|      0|        case 3: op = EOpConstructBF16Vec3;  break;
  ------------------
  |  Branch (2173:9): [True: 0, False: 0]
  ------------------
 2174|      0|        case 4: op = EOpConstructBF16Vec4;  break;
  ------------------
  |  Branch (2174:9): [True: 0, False: 0]
  ------------------
 2175|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2175:9): [True: 0, False: 0]
  ------------------
 2176|      0|        }
 2177|      0|        break;
 2178|      0|    case EbtFloatE5M2:
  ------------------
  |  Branch (2178:5): [True: 0, False: 1.62k]
  ------------------
 2179|      0|        switch (type.getVectorSize()) {
 2180|      0|        case 1: op = EOpConstructFloatE5M2;  break;
  ------------------
  |  Branch (2180:9): [True: 0, False: 0]
  ------------------
 2181|      0|        case 2: op = EOpConstructFloatE5M2Vec2;  break;
  ------------------
  |  Branch (2181:9): [True: 0, False: 0]
  ------------------
 2182|      0|        case 3: op = EOpConstructFloatE5M2Vec3;  break;
  ------------------
  |  Branch (2182:9): [True: 0, False: 0]
  ------------------
 2183|      0|        case 4: op = EOpConstructFloatE5M2Vec4;  break;
  ------------------
  |  Branch (2183:9): [True: 0, False: 0]
  ------------------
 2184|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2184:9): [True: 0, False: 0]
  ------------------
 2185|      0|        }
 2186|      0|        break;
 2187|      0|    case EbtFloatE4M3:
  ------------------
  |  Branch (2187:5): [True: 0, False: 1.62k]
  ------------------
 2188|      0|        switch (type.getVectorSize()) {
 2189|      0|        case 1: op = EOpConstructFloatE4M3;  break;
  ------------------
  |  Branch (2189:9): [True: 0, False: 0]
  ------------------
 2190|      0|        case 2: op = EOpConstructFloatE4M3Vec2;  break;
  ------------------
  |  Branch (2190:9): [True: 0, False: 0]
  ------------------
 2191|      0|        case 3: op = EOpConstructFloatE4M3Vec3;  break;
  ------------------
  |  Branch (2191:9): [True: 0, False: 0]
  ------------------
 2192|      0|        case 4: op = EOpConstructFloatE4M3Vec4;  break;
  ------------------
  |  Branch (2192:9): [True: 0, False: 0]
  ------------------
 2193|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2193:9): [True: 0, False: 0]
  ------------------
 2194|      0|        }
 2195|      0|        break;
 2196|      0|    case EbtFloatE2M1:
  ------------------
  |  Branch (2196:5): [True: 0, False: 1.62k]
  ------------------
 2197|      0|        switch (type.getVectorSize()) {
 2198|      0|        case 1: op = EOpConstructFloatE2M1;  break;
  ------------------
  |  Branch (2198:9): [True: 0, False: 0]
  ------------------
 2199|      0|        case 2: op = EOpConstructFloatE2M1Vec2;  break;
  ------------------
  |  Branch (2199:9): [True: 0, False: 0]
  ------------------
 2200|      0|        case 3: op = EOpConstructFloatE2M1Vec3;  break;
  ------------------
  |  Branch (2200:9): [True: 0, False: 0]
  ------------------
 2201|      0|        case 4: op = EOpConstructFloatE2M1Vec4;  break;
  ------------------
  |  Branch (2201:9): [True: 0, False: 0]
  ------------------
 2202|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2202:9): [True: 0, False: 0]
  ------------------
 2203|      0|        }
 2204|      0|        break;
 2205|      0|    case EbtFloatE3M2:
  ------------------
  |  Branch (2205:5): [True: 0, False: 1.62k]
  ------------------
 2206|      0|        switch (type.getVectorSize()) {
 2207|      0|        case 1: op = EOpConstructFloatE3M2;  break;
  ------------------
  |  Branch (2207:9): [True: 0, False: 0]
  ------------------
 2208|      0|        case 2: op = EOpConstructFloatE3M2Vec2;  break;
  ------------------
  |  Branch (2208:9): [True: 0, False: 0]
  ------------------
 2209|      0|        case 3: op = EOpConstructFloatE3M2Vec3;  break;
  ------------------
  |  Branch (2209:9): [True: 0, False: 0]
  ------------------
 2210|      0|        case 4: op = EOpConstructFloatE3M2Vec4;  break;
  ------------------
  |  Branch (2210:9): [True: 0, False: 0]
  ------------------
 2211|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2211:9): [True: 0, False: 0]
  ------------------
 2212|      0|        }
 2213|      0|        break;
 2214|      0|    case EbtFloatE2M3:
  ------------------
  |  Branch (2214:5): [True: 0, False: 1.62k]
  ------------------
 2215|      0|        switch (type.getVectorSize()) {
 2216|      0|        case 1: op = EOpConstructFloatE2M3;  break;
  ------------------
  |  Branch (2216:9): [True: 0, False: 0]
  ------------------
 2217|      0|        case 2: op = EOpConstructFloatE2M3Vec2;  break;
  ------------------
  |  Branch (2217:9): [True: 0, False: 0]
  ------------------
 2218|      0|        case 3: op = EOpConstructFloatE2M3Vec3;  break;
  ------------------
  |  Branch (2218:9): [True: 0, False: 0]
  ------------------
 2219|      0|        case 4: op = EOpConstructFloatE2M3Vec4;  break;
  ------------------
  |  Branch (2219:9): [True: 0, False: 0]
  ------------------
 2220|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2220:9): [True: 0, False: 0]
  ------------------
 2221|      0|        }
 2222|      0|        break;
 2223|      0|    case EbtFloatUE8M0:
  ------------------
  |  Branch (2223:5): [True: 0, False: 1.62k]
  ------------------
 2224|      0|        switch (type.getVectorSize()) {
 2225|      0|        case 1: op = EOpConstructFloatUE8M0;  break;
  ------------------
  |  Branch (2225:9): [True: 0, False: 0]
  ------------------
 2226|      0|        case 2: op = EOpConstructFloatUE8M0Vec2;  break;
  ------------------
  |  Branch (2226:9): [True: 0, False: 0]
  ------------------
 2227|      0|        case 3: op = EOpConstructFloatUE8M0Vec3;  break;
  ------------------
  |  Branch (2227:9): [True: 0, False: 0]
  ------------------
 2228|      0|        case 4: op = EOpConstructFloatUE8M0Vec4;  break;
  ------------------
  |  Branch (2228:9): [True: 0, False: 0]
  ------------------
 2229|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2229:9): [True: 0, False: 0]
  ------------------
 2230|      0|        }
 2231|      0|        break;
 2232|      0|    case EbtFloatMXINT8:
  ------------------
  |  Branch (2232:5): [True: 0, False: 1.62k]
  ------------------
 2233|      0|        switch (type.getVectorSize()) {
 2234|      0|        case 1: op = EOpConstructFloatMXINT8;  break;
  ------------------
  |  Branch (2234:9): [True: 0, False: 0]
  ------------------
 2235|      0|        case 2: op = EOpConstructFloatMXINT8Vec2;  break;
  ------------------
  |  Branch (2235:9): [True: 0, False: 0]
  ------------------
 2236|      0|        case 3: op = EOpConstructFloatMXINT8Vec3;  break;
  ------------------
  |  Branch (2236:9): [True: 0, False: 0]
  ------------------
 2237|      0|        case 4: op = EOpConstructFloatMXINT8Vec4;  break;
  ------------------
  |  Branch (2237:9): [True: 0, False: 0]
  ------------------
 2238|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2238:9): [True: 0, False: 0]
  ------------------
 2239|      0|        }
 2240|      0|        break;
 2241|      0|    case EbtInt8:
  ------------------
  |  Branch (2241:5): [True: 0, False: 1.62k]
  ------------------
 2242|      0|        switch(type.getVectorSize()) {
 2243|      0|        case 1: op = EOpConstructInt8;   break;
  ------------------
  |  Branch (2243:9): [True: 0, False: 0]
  ------------------
 2244|      0|        case 2: op = EOpConstructI8Vec2; break;
  ------------------
  |  Branch (2244:9): [True: 0, False: 0]
  ------------------
 2245|      0|        case 3: op = EOpConstructI8Vec3; break;
  ------------------
  |  Branch (2245:9): [True: 0, False: 0]
  ------------------
 2246|      0|        case 4: op = EOpConstructI8Vec4; break;
  ------------------
  |  Branch (2246:9): [True: 0, False: 0]
  ------------------
 2247|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2247:9): [True: 0, False: 0]
  ------------------
 2248|      0|        }
 2249|      0|        break;
 2250|      0|    case EbtUint8:
  ------------------
  |  Branch (2250:5): [True: 0, False: 1.62k]
  ------------------
 2251|      0|        switch(type.getVectorSize()) {
 2252|      0|        case 1: op = EOpConstructUint8;  break;
  ------------------
  |  Branch (2252:9): [True: 0, False: 0]
  ------------------
 2253|      0|        case 2: op = EOpConstructU8Vec2; break;
  ------------------
  |  Branch (2253:9): [True: 0, False: 0]
  ------------------
 2254|      0|        case 3: op = EOpConstructU8Vec3; break;
  ------------------
  |  Branch (2254:9): [True: 0, False: 0]
  ------------------
 2255|      0|        case 4: op = EOpConstructU8Vec4; break;
  ------------------
  |  Branch (2255:9): [True: 0, False: 0]
  ------------------
 2256|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2256:9): [True: 0, False: 0]
  ------------------
 2257|      0|        }
 2258|      0|        break;
 2259|      0|    case EbtInt16:
  ------------------
  |  Branch (2259:5): [True: 0, False: 1.62k]
  ------------------
 2260|      0|        switch(type.getVectorSize()) {
 2261|      0|        case 1: op = EOpConstructInt16;   break;
  ------------------
  |  Branch (2261:9): [True: 0, False: 0]
  ------------------
 2262|      0|        case 2: op = EOpConstructI16Vec2; break;
  ------------------
  |  Branch (2262:9): [True: 0, False: 0]
  ------------------
 2263|      0|        case 3: op = EOpConstructI16Vec3; break;
  ------------------
  |  Branch (2263:9): [True: 0, False: 0]
  ------------------
 2264|      0|        case 4: op = EOpConstructI16Vec4; break;
  ------------------
  |  Branch (2264:9): [True: 0, False: 0]
  ------------------
 2265|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2265:9): [True: 0, False: 0]
  ------------------
 2266|      0|        }
 2267|      0|        break;
 2268|      0|    case EbtUint16:
  ------------------
  |  Branch (2268:5): [True: 0, False: 1.62k]
  ------------------
 2269|      0|        switch(type.getVectorSize()) {
 2270|      0|        case 1: op = EOpConstructUint16;  break;
  ------------------
  |  Branch (2270:9): [True: 0, False: 0]
  ------------------
 2271|      0|        case 2: op = EOpConstructU16Vec2; break;
  ------------------
  |  Branch (2271:9): [True: 0, False: 0]
  ------------------
 2272|      0|        case 3: op = EOpConstructU16Vec3; break;
  ------------------
  |  Branch (2272:9): [True: 0, False: 0]
  ------------------
 2273|      0|        case 4: op = EOpConstructU16Vec4; break;
  ------------------
  |  Branch (2273:9): [True: 0, False: 0]
  ------------------
 2274|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2274:9): [True: 0, False: 0]
  ------------------
 2275|      0|        }
 2276|      0|        break;
 2277|      0|    case EbtInt64:
  ------------------
  |  Branch (2277:5): [True: 0, False: 1.62k]
  ------------------
 2278|      0|        switch(type.getVectorSize()) {
 2279|      0|        case 1: op = EOpConstructInt64;   break;
  ------------------
  |  Branch (2279:9): [True: 0, False: 0]
  ------------------
 2280|      0|        case 2: op = EOpConstructI64Vec2; break;
  ------------------
  |  Branch (2280:9): [True: 0, False: 0]
  ------------------
 2281|      0|        case 3: op = EOpConstructI64Vec3; break;
  ------------------
  |  Branch (2281:9): [True: 0, False: 0]
  ------------------
 2282|      0|        case 4: op = EOpConstructI64Vec4; break;
  ------------------
  |  Branch (2282:9): [True: 0, False: 0]
  ------------------
 2283|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2283:9): [True: 0, False: 0]
  ------------------
 2284|      0|        }
 2285|      0|        break;
 2286|      0|    case EbtUint64:
  ------------------
  |  Branch (2286:5): [True: 0, False: 1.62k]
  ------------------
 2287|      0|        switch(type.getVectorSize()) {
 2288|      0|        case 1: op = EOpConstructUint64;  break;
  ------------------
  |  Branch (2288:9): [True: 0, False: 0]
  ------------------
 2289|      0|        case 2: op = EOpConstructU64Vec2; break;
  ------------------
  |  Branch (2289:9): [True: 0, False: 0]
  ------------------
 2290|      0|        case 3: op = EOpConstructU64Vec3; break;
  ------------------
  |  Branch (2290:9): [True: 0, False: 0]
  ------------------
 2291|      0|        case 4: op = EOpConstructU64Vec4; break;
  ------------------
  |  Branch (2291:9): [True: 0, False: 0]
  ------------------
 2292|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2292:9): [True: 0, False: 0]
  ------------------
 2293|      0|        }
 2294|      0|        break;
 2295|      0|    case EbtReference:
  ------------------
  |  Branch (2295:5): [True: 0, False: 1.62k]
  ------------------
 2296|      0|        op = EOpConstructReference;
 2297|      0|        break;
 2298|       |
 2299|      0|    case EbtAccStruct:
  ------------------
  |  Branch (2299:5): [True: 0, False: 1.62k]
  ------------------
 2300|      0|        op = EOpConstructAccStruct;
 2301|      0|        break;
 2302|      0|    default:
  ------------------
  |  Branch (2302:5): [True: 0, False: 1.62k]
  ------------------
 2303|      0|        break;
 2304|  1.62k|    }
 2305|       |
 2306|  1.62k|    return op;
 2307|  1.62k|}
_ZN7glslang13TIntermediate13growAggregateEP11TIntermNodeS2_:
 2317|  24.0k|{
 2318|  24.0k|    if (left == nullptr && right == nullptr)
  ------------------
  |  Branch (2318:9): [True: 15.5k, False: 8.50k]
  |  Branch (2318:28): [True: 15.3k, False: 265]
  ------------------
 2319|  15.3k|        return nullptr;
 2320|       |
 2321|  8.77k|    TIntermAggregate* aggNode = nullptr;
 2322|  8.77k|    if (left != nullptr)
  ------------------
  |  Branch (2322:9): [True: 8.50k, False: 265]
  ------------------
 2323|  8.50k|        aggNode = left->getAsAggregate();
 2324|  8.77k|    if (aggNode == nullptr || aggNode->getOp() != EOpNull) {
  ------------------
  |  Branch (2324:9): [True: 2.26k, False: 6.50k]
  |  Branch (2324:31): [True: 285, False: 6.21k]
  ------------------
 2325|  2.55k|        aggNode = new TIntermAggregate;
 2326|  2.55k|        if (left != nullptr)
  ------------------
  |  Branch (2326:13): [True: 2.28k, False: 265]
  ------------------
 2327|  2.28k|            aggNode->getSequence().push_back(left);
 2328|  2.55k|    }
 2329|       |
 2330|  8.77k|    if (right != nullptr)
  ------------------
  |  Branch (2330:9): [True: 8.76k, False: 3]
  ------------------
 2331|  8.76k|        aggNode->getSequence().push_back(right);
 2332|       |
 2333|  8.77k|    return aggNode;
 2334|  24.0k|}
_ZN7glslang13TIntermediate13growAggregateEP11TIntermNodeS2_RKNS_10TSourceLocE:
 2337|  20.7k|{
 2338|  20.7k|    TIntermAggregate* aggNode = growAggregate(left, right);
 2339|  20.7k|    if (aggNode)
  ------------------
  |  Branch (2339:9): [True: 5.48k, False: 15.3k]
  ------------------
 2340|  5.48k|        aggNode->setLoc(loc);
 2341|       |
 2342|  20.7k|    return aggNode;
 2343|  20.7k|}
_ZN7glslang13TIntermediate13makeAggregateEP11TIntermNode:
 2385|    246|{
 2386|    246|    if (node == nullptr)
  ------------------
  |  Branch (2386:9): [True: 0, False: 246]
  ------------------
 2387|      0|        return nullptr;
 2388|       |
 2389|    246|    TIntermAggregate* aggNode = new TIntermAggregate;
 2390|    246|    aggNode->getSequence().push_back(node);
 2391|    246|    aggNode->setLoc(node->getLoc());
 2392|       |
 2393|    246|    return aggNode;
 2394|    246|}
_ZNK7glslang13TIntermediate16addConstantUnionERKNS_16TConstUnionArrayERKNS_5TTypeERKNS_10TSourceLocEb:
 2568|  11.9k|{
 2569|  11.9k|    TIntermConstantUnion* node = new TIntermConstantUnion(unionArray, t);
 2570|  11.9k|    node->getQualifier().storage = EvqConst;
 2571|  11.9k|    node->setLoc(loc);
 2572|  11.9k|    if (literal)
  ------------------
  |  Branch (2572:9): [True: 9.87k, False: 2.06k]
  ------------------
 2573|  9.87k|        node->setLiteral();
 2574|       |
 2575|  11.9k|    return node;
 2576|  11.9k|}
_ZNK7glslang13TIntermediate16addConstantUnionEiRKNS_10TSourceLocEb:
 2610|  10.0k|{
 2611|  10.0k|    TConstUnionArray unionArray(1);
 2612|  10.0k|    unionArray[0].setIConst(i);
 2613|       |
 2614|  10.0k|    return addConstantUnion(unionArray, TType(EbtInt, EvqConst), loc, literal);
 2615|  10.0k|}
_ZNK7glslang13TIntermediate16addConstantUnionEjRKNS_10TSourceLocEb:
 2618|    322|{
 2619|    322|    TConstUnionArray unionArray(1);
 2620|    322|    unionArray[0].setUConst(u);
 2621|       |
 2622|    322|    return addConstantUnion(unionArray, TType(EbtUint, EvqConst), loc, literal);
 2623|    322|}
_ZNK7glslang13TIntermediate16addConstantUnionEdNS_10TBasicTypeERKNS_10TSourceLocEb:
 2650|    411|{
 2651|    411|    assert(isTypeFloat(baseType));
 2652|       |
 2653|    411|    if (isEsProfile() && (baseType == EbtFloat || baseType == EbtFloat16)) {
  ------------------
  |  Branch (2653:9): [True: 0, False: 411]
  |  Branch (2653:27): [True: 0, False: 0]
  |  Branch (2653:51): [True: 0, False: 0]
  ------------------
 2654|      0|        int exponent = 0;
 2655|      0|        frexp(d, &exponent);
 2656|      0|        int minExp = baseType == EbtFloat ? -126 : -14;
  ------------------
  |  Branch (2656:22): [True: 0, False: 0]
  ------------------
 2657|      0|        int maxExp = baseType == EbtFloat ? 127 : 15;
  ------------------
  |  Branch (2657:22): [True: 0, False: 0]
  ------------------
 2658|      0|        if (exponent > maxExp) { //overflow, d = inf
  ------------------
  |  Branch (2658:13): [True: 0, False: 0]
  ------------------
 2659|      0|            d = std::numeric_limits<double>::infinity();
 2660|      0|        } else if (exponent < minExp) { //underflow, d = 0.0;
  ------------------
  |  Branch (2660:20): [True: 0, False: 0]
  ------------------
 2661|      0|            d = 0.0;
 2662|      0|        }
 2663|      0|    }
 2664|       |
 2665|    411|    TConstUnionArray unionArray(1);
 2666|    411|    unionArray[0].setDConst(d);
 2667|       |
 2668|    411|    return addConstantUnion(unionArray, TType(baseType, EvqConst), loc, literal);
 2669|    411|}
_ZN7glslang13TIntermediate12pushSelectorERNS_7TVectorIP11TIntermNodeEERKiRKNS_10TSourceLocE:
 2681|    222|{
 2682|    222|    TIntermConstantUnion* constIntNode = addConstantUnion(selector, loc);
 2683|    222|    sequence.push_back(constIntNode);
 2684|    222|}
_ZN7glslang13TIntermediate9addBranchENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocE:
 2806|    234|{
 2807|    234|    TIntermBranch* node = new TIntermBranch(branchOp, expression);
 2808|    234|    node->setLoc(loc);
 2809|       |
 2810|    234|    return node;
 2811|    234|}
_ZN7glslang13TIntermBranch15updatePrecisionENS_19TPrecisionQualifierE:
 2816|    234|{
 2817|    234|    TIntermTyped* exp = getExpression();
 2818|    234|    if (exp == nullptr)
  ------------------
  |  Branch (2818:9): [True: 0, False: 234]
  ------------------
 2819|      0|        return;
 2820|       |
 2821|    234|    if (exp->getBasicType() == EbtInt || exp->getBasicType() == EbtUint ||
  ------------------
  |  Branch (2821:9): [True: 18, False: 216]
  |  Branch (2821:42): [True: 0, False: 216]
  ------------------
 2822|    234|        exp->getBasicType() == EbtFloat) {
  ------------------
  |  Branch (2822:9): [True: 216, False: 0]
  ------------------
 2823|    234|        if (parentPrecision != EpqNone && exp->getQualifier().precision == EpqNone) {
  ------------------
  |  Branch (2823:13): [True: 234, False: 0]
  |  Branch (2823:43): [True: 3, False: 231]
  ------------------
 2824|      3|            exp->propagatePrecision(parentPrecision);
 2825|      3|        }
 2826|    234|    }
 2827|    234|}
_ZN7glslang13TIntermediate21addSymbolLinkageNodesERPNS_16TIntermAggregateE11EShLanguageRNS_12TSymbolTableE:
 2949|     22|{
 2950|       |    // Add top-level nodes for declarations that must be checked cross
 2951|       |    // compilation unit by a linker, yet might not have been referenced
 2952|       |    // by the AST.
 2953|       |    //
 2954|       |    // Almost entirely, translation of symbols is driven by what's present
 2955|       |    // in the AST traversal, not by translating the symbol table.
 2956|       |    //
 2957|       |    // However, there are some special cases:
 2958|       |    //  - From the specification: "Special built-in inputs gl_VertexID and
 2959|       |    //    gl_InstanceID are also considered active vertex attributes."
 2960|       |    //  - Linker-based type mismatch error reporting needs to see all
 2961|       |    //    uniforms/ins/outs variables and blocks.
 2962|       |    //  - ftransform() can make gl_Vertex and gl_ModelViewProjectionMatrix active.
 2963|       |    //
 2964|       |
 2965|       |    // if (ftransformUsed) {
 2966|       |        // TODO: 1.1 lowering functionality: track ftransform() usage
 2967|       |    //    addSymbolLinkageNode(root, symbolTable, "gl_Vertex");
 2968|       |    //    addSymbolLinkageNode(root, symbolTable, "gl_ModelViewProjectionMatrix");
 2969|       |    //}
 2970|       |
 2971|     22|    if (language == EShLangVertex) {
  ------------------
  |  Branch (2971:9): [True: 9, False: 13]
  ------------------
 2972|      9|        addSymbolLinkageNode(linkage, symbolTable, "gl_VertexID");
 2973|      9|        if ((version < 140 && requestedExtensions.find(E_GL_EXT_draw_instanced) != requestedExtensions.end()) || version >= 140)
  ------------------
  |  Branch (2973:13): [True: 9, False: 0]
  |  Branch (2973:14): [True: 0, False: 9]
  |  Branch (2973:31): [True: 0, False: 0]
  |  Branch (2973:114): [True: 9, False: 0]
  ------------------
 2974|      9|            addSymbolLinkageNode(linkage, symbolTable, "gl_InstanceID");
 2975|      9|    }
 2976|       |
 2977|       |    // Add a child to the root node for the linker objects
 2978|     22|    linkage->setOperator(EOpLinkerObjects);
 2979|     22|    treeRoot = growAggregate(treeRoot, linkage);
 2980|     22|}
_ZN7glslang13TIntermediate20addSymbolLinkageNodeERPNS_16TIntermAggregateERNS_12TSymbolTableERKNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 2988|     18|{
 2989|     18|    TSymbol* symbol = symbolTable.find(name);
 2990|     18|    if (symbol)
  ------------------
  |  Branch (2990:9): [True: 0, False: 18]
  ------------------
 2991|      0|        addSymbolLinkageNode(linkage, *symbol->getAsVariable());
 2992|     18|}
_ZN7glslang13TIntermediate20addSymbolLinkageNodeERPNS_16TIntermAggregateERKNS_7TSymbolE:
 2995|    360|{
 2996|    360|    const TVariable* variable = symbol.getAsVariable();
 2997|    360|    if (! variable) {
  ------------------
  |  Branch (2997:9): [True: 0, False: 360]
  ------------------
 2998|       |        // This must be a member of an anonymous block, and we need to add the whole block
 2999|      0|        const TAnonMember* anon = symbol.getAsAnonMember();
 3000|      0|        variable = &anon->getAnonContainer();
 3001|      0|    }
 3002|    360|    TIntermSymbol* node = addSymbol(*variable);
 3003|    360|    linkage = growAggregate(linkage, node);
 3004|    360|}
_ZN7glslang13TIntermediate14addToCallGraphER9TInfoSinkRKNSt3__112basic_stringIcNS3_11char_traitsIcEENS_14pool_allocatorIcEEEESB_:
 3011|    147|{
 3012|       |    // Duplicates are okay, but faster to not keep them, and they come grouped by caller,
 3013|       |    // as long as new ones are push on the same end we check on for duplicates
 3014|  3.53k|    for (TGraph::const_iterator call = callGraph.begin(); call != callGraph.end(); ++call) {
  ------------------
  |  Branch (3014:59): [True: 3.39k, False: 141]
  ------------------
 3015|  3.39k|        if (call->caller != caller)
  ------------------
  |  Branch (3015:13): [True: 0, False: 3.39k]
  ------------------
 3016|      0|            break;
 3017|  3.39k|        if (call->callee == callee)
  ------------------
  |  Branch (3017:13): [True: 6, False: 3.38k]
  ------------------
 3018|      6|            return;
 3019|  3.39k|    }
 3020|       |
 3021|    141|    callGraph.emplace_front(caller, callee);
 3022|    141|}
_ZNK7glslang15TIntermOperator13isConstructorEv:
 3252|  1.04k|{
 3253|  1.04k|    return op > EOpConstructGuardStart && op < EOpConstructGuardEnd;
  ------------------
  |  Branch (3253:12): [True: 658, False: 384]
  |  Branch (3253:43): [True: 658, False: 0]
  ------------------
 3254|  1.04k|}
_ZN7glslang13TIntermediate7promoteEPNS_15TIntermOperatorE:
 3264|  1.98k|{
 3265|  1.98k|    if (node == nullptr)
  ------------------
  |  Branch (3265:9): [True: 0, False: 1.98k]
  ------------------
 3266|      0|        return false;
 3267|       |
 3268|  1.98k|    if (node->getAsUnaryNode())
  ------------------
  |  Branch (3268:9): [True: 118, False: 1.86k]
  ------------------
 3269|    118|        return promoteUnary(*node->getAsUnaryNode());
 3270|       |
 3271|  1.86k|    if (node->getAsBinaryNode())
  ------------------
  |  Branch (3271:9): [True: 1.86k, False: 0]
  ------------------
 3272|  1.86k|        return promoteBinary(*node->getAsBinaryNode());
 3273|       |
 3274|      0|    if (node->getAsAggregate())
  ------------------
  |  Branch (3274:9): [True: 0, False: 0]
  ------------------
 3275|      0|        return promoteAggregate(*node->getAsAggregate());
 3276|       |
 3277|      0|    return false;
 3278|      0|}
_ZN7glslang13TIntermediate12promoteUnaryERNS_12TIntermUnaryE:
 3284|    118|{
 3285|    118|    const TOperator op    = node.getOp();
 3286|    118|    TIntermTyped* operand = node.getOperand();
 3287|       |
 3288|    118|    switch (op) {
 3289|      0|    case EOpLogicalNot:
  ------------------
  |  Branch (3289:5): [True: 0, False: 118]
  ------------------
 3290|       |        // Convert operand to a boolean type
 3291|      0|        if (operand->getBasicType() != EbtBool) {
  ------------------
  |  Branch (3291:13): [True: 0, False: 0]
  ------------------
 3292|       |            // Add constructor to boolean type. If that fails, we can't do it, so return false.
 3293|      0|            TIntermTyped* converted = addConversion(op, TType(EbtBool), operand);
 3294|      0|            if (converted == nullptr)
  ------------------
  |  Branch (3294:17): [True: 0, False: 0]
  ------------------
 3295|      0|                return false;
 3296|       |
 3297|       |            // Use the result of converting the node to a bool.
 3298|      0|            node.setOperand(operand = converted); // also updates stack variable
 3299|      0|        }
 3300|      0|        break;
 3301|      0|    case EOpBitwiseNot:
  ------------------
  |  Branch (3301:5): [True: 0, False: 118]
  ------------------
 3302|      0|        if (!isTypeInt(operand->getBasicType()))
  ------------------
  |  Branch (3302:13): [True: 0, False: 0]
  ------------------
 3303|      0|            return false;
 3304|      0|        break;
 3305|    118|    case EOpNegative:
  ------------------
  |  Branch (3305:5): [True: 118, False: 0]
  ------------------
 3306|    118|    case EOpPostIncrement:
  ------------------
  |  Branch (3306:5): [True: 0, False: 118]
  ------------------
 3307|    118|    case EOpPostDecrement:
  ------------------
  |  Branch (3307:5): [True: 0, False: 118]
  ------------------
 3308|    118|    case EOpPreIncrement:
  ------------------
  |  Branch (3308:5): [True: 0, False: 118]
  ------------------
 3309|    118|    case EOpPreDecrement:
  ------------------
  |  Branch (3309:5): [True: 0, False: 118]
  ------------------
 3310|    118|        if (!isTypeInt(operand->getBasicType()) &&
  ------------------
  |  Branch (3310:13): [True: 0, False: 118]
  ------------------
 3311|      0|            operand->getBasicType() != EbtFloat &&
  ------------------
  |  Branch (3311:13): [True: 0, False: 0]
  ------------------
 3312|      0|            operand->getBasicType() != EbtFloat16 &&
  ------------------
  |  Branch (3312:13): [True: 0, False: 0]
  ------------------
 3313|      0|            operand->getBasicType() != EbtDouble)
  ------------------
  |  Branch (3313:13): [True: 0, False: 0]
  ------------------
 3314|       |
 3315|      0|            return false;
 3316|    118|        break;
 3317|    118|    default:
  ------------------
  |  Branch (3317:5): [True: 0, False: 118]
  ------------------
 3318|       |        // HLSL uses this path for initial function signature finding for built-ins
 3319|       |        // taking a single argument, which generally don't participate in
 3320|       |        // operator-based type promotion (type conversion will occur later).
 3321|       |        // For now, scalar argument cases are relying on the setType() call below.
 3322|      0|        if (getSource() == EShSourceHlsl)
  ------------------
  |  Branch (3322:13): [True: 0, False: 0]
  ------------------
 3323|      0|            break;
 3324|       |
 3325|       |        // GLSL only allows integer arguments for the cases identified above in the
 3326|       |        // case statements.
 3327|      0|        if (operand->getBasicType() != EbtFloat)
  ------------------
  |  Branch (3327:13): [True: 0, False: 0]
  ------------------
 3328|      0|            return false;
 3329|    118|    }
 3330|       |
 3331|    118|    node.setType(operand->getType());
 3332|    118|    node.getWritableType().getQualifier().makeTemporary();
 3333|       |
 3334|    118|    return true;
 3335|    118|}
_ZN7glslang12TIntermUnary15updatePrecisionEv:
 3339|    553|{
 3340|    553|    if (getBasicType() == EbtInt || getBasicType() == EbtUint ||
  ------------------
  |  Branch (3340:9): [True: 550, False: 3]
  |  Branch (3340:37): [True: 0, False: 3]
  ------------------
 3341|    553|        getBasicType() == EbtFloat) {
  ------------------
  |  Branch (3341:9): [True: 3, False: 0]
  ------------------
 3342|    553|        if (operand->getQualifier().precision > getQualifier().precision)
  ------------------
  |  Branch (3342:13): [True: 435, False: 118]
  ------------------
 3343|    435|            getQualifier().precision = operand->getQualifier().precision;
 3344|    553|    }
 3345|    553|}
_ZN7glslang13TIntermediate13promoteBinaryERNS_13TIntermBinaryE:
 3351|  1.86k|{
 3352|  1.86k|    TOperator     op    = node.getOp();
 3353|  1.86k|    TIntermTyped* left  = node.getLeft();
 3354|  1.86k|    TIntermTyped* right = node.getRight();
 3355|       |
 3356|       |    // Arrays and structures have to be exact matches.
 3357|  1.86k|    if ((left->isArray() || right->isArray() || left->getBasicType() == EbtStruct || right->getBasicType() == EbtStruct)
  ------------------
  |  Branch (3357:10): [True: 0, False: 1.86k]
  |  Branch (3357:29): [True: 0, False: 1.86k]
  |  Branch (3357:49): [True: 0, False: 1.86k]
  |  Branch (3357:86): [True: 0, False: 1.86k]
  ------------------
 3358|      0|        && left->getType() != right->getType())
  ------------------
  |  Branch (3358:12): [True: 0, False: 0]
  ------------------
 3359|      0|        return false;
 3360|       |
 3361|       |    // Base assumption:  just make the type the same as the left
 3362|       |    // operand.  Only deviations from this will be coded.
 3363|  1.86k|    node.setType(left->getType());
 3364|  1.86k|    node.getWritableType().getQualifier().clear();
 3365|       |
 3366|       |    // Composite and opaque types don't having pending operator changes, e.g.,
 3367|       |    // array, structure, and samplers.  Just establish final type and correctness.
 3368|  1.86k|    if (left->isArray() || left->getBasicType() == EbtStruct || left->getBasicType() == EbtSampler) {
  ------------------
  |  Branch (3368:9): [True: 0, False: 1.86k]
  |  Branch (3368:28): [True: 0, False: 1.86k]
  |  Branch (3368:65): [True: 0, False: 1.86k]
  ------------------
 3369|      0|        switch (op) {
 3370|      0|        case EOpEqual:
  ------------------
  |  Branch (3370:9): [True: 0, False: 0]
  ------------------
 3371|      0|        case EOpNotEqual:
  ------------------
  |  Branch (3371:9): [True: 0, False: 0]
  ------------------
 3372|      0|            if (left->getBasicType() == EbtSampler) {
  ------------------
  |  Branch (3372:17): [True: 0, False: 0]
  ------------------
 3373|       |                // can't compare samplers
 3374|      0|                return false;
 3375|      0|            } else {
 3376|       |                // Promote to conditional
 3377|      0|                node.setType(TType(EbtBool));
 3378|      0|            }
 3379|       |
 3380|      0|            return true;
 3381|       |
 3382|      0|        case EOpAssign:
  ------------------
  |  Branch (3382:9): [True: 0, False: 0]
  ------------------
 3383|       |            // Keep type from above
 3384|       |
 3385|      0|            return true;
 3386|       |
 3387|      0|        default:
  ------------------
  |  Branch (3387:9): [True: 0, False: 0]
  ------------------
 3388|      0|            return false;
 3389|      0|        }
 3390|      0|    }
 3391|       |
 3392|       |    //
 3393|       |    // We now have only scalars, vectors, and matrices to worry about.
 3394|       |    //
 3395|       |
 3396|       |    // HLSL implicitly promotes bool -> int for numeric operations.
 3397|       |    // (Implicit conversions to make the operands match each other's types were already done.)
 3398|  1.86k|    if (getSource() == EShSourceHlsl &&
  ------------------
  |  Branch (3398:9): [True: 0, False: 1.86k]
  ------------------
 3399|      0|        (left->getBasicType() == EbtBool || right->getBasicType() == EbtBool)) {
  ------------------
  |  Branch (3399:10): [True: 0, False: 0]
  |  Branch (3399:45): [True: 0, False: 0]
  ------------------
 3400|      0|        switch (op) {
 3401|      0|        case EOpLessThan:
  ------------------
  |  Branch (3401:9): [True: 0, False: 0]
  ------------------
 3402|      0|        case EOpGreaterThan:
  ------------------
  |  Branch (3402:9): [True: 0, False: 0]
  ------------------
 3403|      0|        case EOpLessThanEqual:
  ------------------
  |  Branch (3403:9): [True: 0, False: 0]
  ------------------
 3404|      0|        case EOpGreaterThanEqual:
  ------------------
  |  Branch (3404:9): [True: 0, False: 0]
  ------------------
 3405|       |
 3406|      0|        case EOpRightShift:
  ------------------
  |  Branch (3406:9): [True: 0, False: 0]
  ------------------
 3407|      0|        case EOpLeftShift:
  ------------------
  |  Branch (3407:9): [True: 0, False: 0]
  ------------------
 3408|       |
 3409|      0|        case EOpMod:
  ------------------
  |  Branch (3409:9): [True: 0, False: 0]
  ------------------
 3410|       |
 3411|      0|        case EOpAnd:
  ------------------
  |  Branch (3411:9): [True: 0, False: 0]
  ------------------
 3412|      0|        case EOpInclusiveOr:
  ------------------
  |  Branch (3412:9): [True: 0, False: 0]
  ------------------
 3413|      0|        case EOpExclusiveOr:
  ------------------
  |  Branch (3413:9): [True: 0, False: 0]
  ------------------
 3414|       |
 3415|      0|        case EOpAdd:
  ------------------
  |  Branch (3415:9): [True: 0, False: 0]
  ------------------
 3416|      0|        case EOpSub:
  ------------------
  |  Branch (3416:9): [True: 0, False: 0]
  ------------------
 3417|      0|        case EOpDiv:
  ------------------
  |  Branch (3417:9): [True: 0, False: 0]
  ------------------
 3418|      0|        case EOpMul:
  ------------------
  |  Branch (3418:9): [True: 0, False: 0]
  ------------------
 3419|      0|            if (left->getBasicType() == EbtBool)
  ------------------
  |  Branch (3419:17): [True: 0, False: 0]
  ------------------
 3420|      0|                left  = createConversion(EbtInt, left);
 3421|      0|            if (right->getBasicType() == EbtBool)
  ------------------
  |  Branch (3421:17): [True: 0, False: 0]
  ------------------
 3422|      0|                right = createConversion(EbtInt, right);
 3423|      0|            if (left == nullptr || right == nullptr)
  ------------------
  |  Branch (3423:17): [True: 0, False: 0]
  |  Branch (3423:36): [True: 0, False: 0]
  ------------------
 3424|      0|                return false;
 3425|      0|            node.setLeft(left);
 3426|      0|            node.setRight(right);
 3427|       |
 3428|       |            // Update the original base assumption on result type..
 3429|      0|            node.setType(left->getType());
 3430|      0|            node.getWritableType().getQualifier().clear();
 3431|       |
 3432|      0|            break;
 3433|       |
 3434|      0|        default:
  ------------------
  |  Branch (3434:9): [True: 0, False: 0]
  ------------------
 3435|      0|            break;
 3436|      0|        }
 3437|      0|    }
 3438|       |
 3439|  1.86k|    const bool hasCoopMat = left->getType().isCoopMat() || right->getType().isCoopMat();
  ------------------
  |  Branch (3439:29): [True: 0, False: 1.86k]
  |  Branch (3439:60): [True: 0, False: 1.86k]
  ------------------
 3440|  1.86k|    const bool hasLimitedFloatCoopMat =
 3441|  1.86k|        (left->getType().isCoopMat() &&
  ------------------
  |  Branch (3441:10): [True: 0, False: 1.86k]
  ------------------
 3442|      0|         (left->getType().containsBFloat16() || left->getType().contains8BitFloat())) ||
  ------------------
  |  Branch (3442:11): [True: 0, False: 0]
  |  Branch (3442:49): [True: 0, False: 0]
  ------------------
 3443|  1.86k|        (right->getType().isCoopMat() &&
  ------------------
  |  Branch (3443:10): [True: 0, False: 1.86k]
  ------------------
 3444|      0|         (right->getType().containsBFloat16() || right->getType().contains8BitFloat()));
  ------------------
  |  Branch (3444:11): [True: 0, False: 0]
  |  Branch (3444:50): [True: 0, False: 0]
  ------------------
 3445|       |
 3446|  1.86k|    if (hasLimitedFloatCoopMat && op != EOpAssign)
  ------------------
  |  Branch (3446:9): [True: 0, False: 1.86k]
  |  Branch (3446:35): [True: 0, False: 0]
  ------------------
 3447|      0|        return false;
 3448|       |
 3449|       |    // Do general type checks against individual operands (comparing left and right is coming up, checking mixed shapes after that)
 3450|  1.86k|    switch (op) {
 3451|      0|    case EOpLessThan:
  ------------------
  |  Branch (3451:5): [True: 0, False: 1.86k]
  ------------------
 3452|      0|    case EOpGreaterThan:
  ------------------
  |  Branch (3452:5): [True: 0, False: 1.86k]
  ------------------
 3453|      0|    case EOpLessThanEqual:
  ------------------
  |  Branch (3453:5): [True: 0, False: 1.86k]
  ------------------
 3454|      0|    case EOpGreaterThanEqual:
  ------------------
  |  Branch (3454:5): [True: 0, False: 1.86k]
  ------------------
 3455|       |        // Relational comparisons need numeric types and will promote to scalar Boolean.
 3456|      0|        if (left->getBasicType() == EbtBool)
  ------------------
  |  Branch (3456:13): [True: 0, False: 0]
  ------------------
 3457|      0|            return false;
 3458|       |
 3459|      0|        node.setType(TType(EbtBool, EvqTemporary, left->getVectorSize()));
 3460|      0|        break;
 3461|       |
 3462|      0|    case EOpEqual:
  ------------------
  |  Branch (3462:5): [True: 0, False: 1.86k]
  ------------------
 3463|      0|    case EOpNotEqual:
  ------------------
  |  Branch (3463:5): [True: 0, False: 1.86k]
  ------------------
 3464|      0|        if (getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (3464:13): [True: 0, False: 0]
  ------------------
 3465|      0|            const int resultWidth = std::max(left->getVectorSize(), right->getVectorSize());
 3466|       |
 3467|       |            // In HLSL, == or != on vectors means component-wise comparison.
 3468|      0|            if (resultWidth > 1) {
  ------------------
  |  Branch (3468:17): [True: 0, False: 0]
  ------------------
 3469|      0|                op = (op == EOpEqual) ? EOpVectorEqual : EOpVectorNotEqual;
  ------------------
  |  Branch (3469:22): [True: 0, False: 0]
  ------------------
 3470|      0|                node.setOp(op);
 3471|      0|            }
 3472|       |
 3473|      0|            node.setType(TType(EbtBool, EvqTemporary, resultWidth));
 3474|      0|        } else {
 3475|       |            // All the above comparisons result in a bool (but not the vector compares)
 3476|      0|            node.setType(TType(EbtBool));
 3477|      0|        }
 3478|      0|        break;
 3479|       |
 3480|      0|    case EOpLogicalAnd:
  ------------------
  |  Branch (3480:5): [True: 0, False: 1.86k]
  ------------------
 3481|      0|    case EOpLogicalOr:
  ------------------
  |  Branch (3481:5): [True: 0, False: 1.86k]
  ------------------
 3482|      0|    case EOpLogicalXor:
  ------------------
  |  Branch (3482:5): [True: 0, False: 1.86k]
  ------------------
 3483|       |        // logical ops operate only on Booleans or vectors of Booleans.
 3484|      0|        if (left->getBasicType() != EbtBool || left->isMatrix())
  ------------------
  |  Branch (3484:13): [True: 0, False: 0]
  |  Branch (3484:48): [True: 0, False: 0]
  ------------------
 3485|      0|                return false;
 3486|       |
 3487|      0|        if (getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (3487:13): [True: 0, False: 0]
  ------------------
 3488|       |            // logical ops operate only on scalar Booleans and will promote to scalar Boolean.
 3489|      0|            if (left->isVector())
  ------------------
  |  Branch (3489:17): [True: 0, False: 0]
  ------------------
 3490|      0|                return false;
 3491|      0|        }
 3492|       |
 3493|      0|        node.setType(TType(EbtBool, EvqTemporary, left->getVectorSize()));
 3494|      0|        break;
 3495|       |
 3496|      0|    case EOpRightShift:
  ------------------
  |  Branch (3496:5): [True: 0, False: 1.86k]
  ------------------
 3497|      0|    case EOpLeftShift:
  ------------------
  |  Branch (3497:5): [True: 0, False: 1.86k]
  ------------------
 3498|      0|    case EOpRightShiftAssign:
  ------------------
  |  Branch (3498:5): [True: 0, False: 1.86k]
  ------------------
 3499|      0|    case EOpLeftShiftAssign:
  ------------------
  |  Branch (3499:5): [True: 0, False: 1.86k]
  ------------------
 3500|       |
 3501|      0|    case EOpMod:
  ------------------
  |  Branch (3501:5): [True: 0, False: 1.86k]
  ------------------
 3502|      0|    case EOpModAssign:
  ------------------
  |  Branch (3502:5): [True: 0, False: 1.86k]
  ------------------
 3503|       |
 3504|      0|    case EOpAnd:
  ------------------
  |  Branch (3504:5): [True: 0, False: 1.86k]
  ------------------
 3505|      0|    case EOpInclusiveOr:
  ------------------
  |  Branch (3505:5): [True: 0, False: 1.86k]
  ------------------
 3506|      0|    case EOpExclusiveOr:
  ------------------
  |  Branch (3506:5): [True: 0, False: 1.86k]
  ------------------
 3507|      0|    case EOpAndAssign:
  ------------------
  |  Branch (3507:5): [True: 0, False: 1.86k]
  ------------------
 3508|      0|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (3508:5): [True: 0, False: 1.86k]
  ------------------
 3509|      0|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (3509:5): [True: 0, False: 1.86k]
  ------------------
 3510|      0|        if (getSource() == EShSourceHlsl)
  ------------------
  |  Branch (3510:13): [True: 0, False: 0]
  ------------------
 3511|      0|            break;
 3512|       |
 3513|       |        // Check for integer-only operands.
 3514|      0|        if (!isTypeInt(left->getBasicType()) && !isTypeInt(right->getBasicType()))
  ------------------
  |  Branch (3514:13): [True: 0, False: 0]
  |  Branch (3514:49): [True: 0, False: 0]
  ------------------
 3515|      0|            return false;
 3516|      0|        if (left->isMatrix() || right->isMatrix())
  ------------------
  |  Branch (3516:13): [True: 0, False: 0]
  |  Branch (3516:33): [True: 0, False: 0]
  ------------------
 3517|      0|            return false;
 3518|       |
 3519|      0|        break;
 3520|       |
 3521|      3|    case EOpAdd:
  ------------------
  |  Branch (3521:5): [True: 3, False: 1.86k]
  ------------------
 3522|      3|    case EOpSub:
  ------------------
  |  Branch (3522:5): [True: 0, False: 1.86k]
  ------------------
 3523|      3|    case EOpDiv:
  ------------------
  |  Branch (3523:5): [True: 0, False: 1.86k]
  ------------------
 3524|      3|    case EOpMul:
  ------------------
  |  Branch (3524:5): [True: 0, False: 1.86k]
  ------------------
 3525|  1.62k|    case EOpAddAssign:
  ------------------
  |  Branch (3525:5): [True: 1.62k, False: 240]
  ------------------
 3526|  1.62k|    case EOpSubAssign:
  ------------------
  |  Branch (3526:5): [True: 0, False: 1.86k]
  ------------------
 3527|  1.62k|    case EOpMulAssign:
  ------------------
  |  Branch (3527:5): [True: 0, False: 1.86k]
  ------------------
 3528|  1.62k|    case EOpDivAssign:
  ------------------
  |  Branch (3528:5): [True: 0, False: 1.86k]
  ------------------
 3529|       |        // check for non-Boolean operands
 3530|  1.62k|        if (left->getBasicType() == EbtBool || right->getBasicType() == EbtBool)
  ------------------
  |  Branch (3530:13): [True: 0, False: 1.62k]
  |  Branch (3530:48): [True: 0, False: 1.62k]
  ------------------
 3531|      0|            return false;
 3532|  1.62k|        break;
 3533|       |
 3534|  1.62k|    default:
  ------------------
  |  Branch (3534:5): [True: 237, False: 1.62k]
  ------------------
 3535|    237|        break;
 3536|  1.86k|    }
 3537|       |
 3538|       |    // Compare left and right, and finish with the cases where the operand types must match
 3539|  1.86k|    switch (op) {
 3540|      0|    case EOpLessThan:
  ------------------
  |  Branch (3540:5): [True: 0, False: 1.86k]
  ------------------
 3541|      0|    case EOpGreaterThan:
  ------------------
  |  Branch (3541:5): [True: 0, False: 1.86k]
  ------------------
 3542|      0|    case EOpLessThanEqual:
  ------------------
  |  Branch (3542:5): [True: 0, False: 1.86k]
  ------------------
 3543|      0|    case EOpGreaterThanEqual:
  ------------------
  |  Branch (3543:5): [True: 0, False: 1.86k]
  ------------------
 3544|       |
 3545|      0|    case EOpEqual:
  ------------------
  |  Branch (3545:5): [True: 0, False: 1.86k]
  ------------------
 3546|      0|    case EOpNotEqual:
  ------------------
  |  Branch (3546:5): [True: 0, False: 1.86k]
  ------------------
 3547|      0|    case EOpVectorEqual:
  ------------------
  |  Branch (3547:5): [True: 0, False: 1.86k]
  ------------------
 3548|      0|    case EOpVectorNotEqual:
  ------------------
  |  Branch (3548:5): [True: 0, False: 1.86k]
  ------------------
 3549|       |
 3550|      0|    case EOpLogicalAnd:
  ------------------
  |  Branch (3550:5): [True: 0, False: 1.86k]
  ------------------
 3551|      0|    case EOpLogicalOr:
  ------------------
  |  Branch (3551:5): [True: 0, False: 1.86k]
  ------------------
 3552|      0|    case EOpLogicalXor:
  ------------------
  |  Branch (3552:5): [True: 0, False: 1.86k]
  ------------------
 3553|      0|        return left->getType() == right->getType();
 3554|       |
 3555|      0|    case EOpMod:
  ------------------
  |  Branch (3555:5): [True: 0, False: 1.86k]
  ------------------
 3556|      0|    case EOpModAssign:
  ------------------
  |  Branch (3556:5): [True: 0, False: 1.86k]
  ------------------
 3557|       |
 3558|      0|    case EOpAnd:
  ------------------
  |  Branch (3558:5): [True: 0, False: 1.86k]
  ------------------
 3559|      0|    case EOpInclusiveOr:
  ------------------
  |  Branch (3559:5): [True: 0, False: 1.86k]
  ------------------
 3560|      0|    case EOpExclusiveOr:
  ------------------
  |  Branch (3560:5): [True: 0, False: 1.86k]
  ------------------
 3561|      0|    case EOpAndAssign:
  ------------------
  |  Branch (3561:5): [True: 0, False: 1.86k]
  ------------------
 3562|      0|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (3562:5): [True: 0, False: 1.86k]
  ------------------
 3563|      0|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (3563:5): [True: 0, False: 1.86k]
  ------------------
 3564|       |
 3565|      3|    case EOpAdd:
  ------------------
  |  Branch (3565:5): [True: 3, False: 1.86k]
  ------------------
 3566|      3|    case EOpSub:
  ------------------
  |  Branch (3566:5): [True: 0, False: 1.86k]
  ------------------
 3567|      3|    case EOpDiv:
  ------------------
  |  Branch (3567:5): [True: 0, False: 1.86k]
  ------------------
 3568|       |
 3569|  1.62k|    case EOpAddAssign:
  ------------------
  |  Branch (3569:5): [True: 1.62k, False: 240]
  ------------------
 3570|  1.62k|    case EOpSubAssign:
  ------------------
  |  Branch (3570:5): [True: 0, False: 1.86k]
  ------------------
 3571|  1.62k|    case EOpDivAssign:
  ------------------
  |  Branch (3571:5): [True: 0, False: 1.86k]
  ------------------
 3572|       |        // Quick out in case the types do match
 3573|  1.62k|        if (left->getType() == right->getType())
  ------------------
  |  Branch (3573:13): [True: 1.51k, False: 114]
  ------------------
 3574|  1.51k|            return true;
 3575|       |
 3576|    114|        [[fallthrough]];
 3577|       |
 3578|    114|    case EOpMul:
  ------------------
  |  Branch (3578:5): [True: 0, False: 1.86k]
  ------------------
 3579|    114|    case EOpMulAssign:
  ------------------
  |  Branch (3579:5): [True: 0, False: 1.86k]
  ------------------
 3580|       |        // At least the basic type has to match
 3581|    114|        if (left->getBasicType() != right->getBasicType())
  ------------------
  |  Branch (3581:13): [True: 0, False: 114]
  ------------------
 3582|      0|            return false;
 3583|    114|        break;
 3584|       |
 3585|    237|    default:
  ------------------
  |  Branch (3585:5): [True: 237, False: 1.62k]
  ------------------
 3586|    237|        break;
 3587|  1.86k|    }
 3588|       |
 3589|    351|    if (hasCoopMat) {
  ------------------
  |  Branch (3589:9): [True: 0, False: 351]
  ------------------
 3590|       |        // Operations on two cooperative matrices must have identical types
 3591|      0|        if (left->getType().isCoopMat() && right->getType().isCoopMat() &&
  ------------------
  |  Branch (3591:13): [True: 0, False: 0]
  |  Branch (3591:44): [True: 0, False: 0]
  ------------------
 3592|      0|            left->getType() != right->getType()) {
  ------------------
  |  Branch (3592:13): [True: 0, False: 0]
  ------------------
 3593|      0|            return false;
 3594|      0|        }
 3595|      0|        switch (op) {
 3596|      0|        case EOpMul:
  ------------------
  |  Branch (3596:9): [True: 0, False: 0]
  ------------------
 3597|      0|        case EOpMulAssign:
  ------------------
  |  Branch (3597:9): [True: 0, False: 0]
  ------------------
 3598|       |            // Mul not supported in NV_cooperative_matrix
 3599|      0|            if (left->getType().isCoopMatNV() && right->getType().isCoopMatNV()) {
  ------------------
  |  Branch (3599:17): [True: 0, False: 0]
  |  Branch (3599:50): [True: 0, False: 0]
  ------------------
 3600|      0|                return false;
 3601|      0|            }
 3602|       |            // NV_cooperative_matrix supports MulAssign is for mat*=scalar only.
 3603|       |            // KHR_cooperative_matrix supports it for mat*=mat as well.
 3604|      0|            if (op == EOpMulAssign && right->getType().isCoopMatNV()) {
  ------------------
  |  Branch (3604:17): [True: 0, False: 0]
  |  Branch (3604:39): [True: 0, False: 0]
  ------------------
 3605|      0|                return false;
 3606|      0|            }
 3607|       |            // Use MatrixTimesScalar if either operand is not a matrix. Otherwise use Mul.
 3608|      0|            if (!left->getType().isCoopMat() || !right->getType().isCoopMat()) {
  ------------------
  |  Branch (3608:17): [True: 0, False: 0]
  |  Branch (3608:49): [True: 0, False: 0]
  ------------------
 3609|      0|                node.setOp(op == EOpMulAssign ? EOpMatrixTimesScalarAssign : EOpMatrixTimesScalar);
  ------------------
  |  Branch (3609:28): [True: 0, False: 0]
  ------------------
 3610|      0|            }
 3611|       |            // In case of scalar*matrix, take the result type from the matrix.
 3612|      0|            if (right->getType().isCoopMat()) {
  ------------------
  |  Branch (3612:17): [True: 0, False: 0]
  ------------------
 3613|      0|                node.setType(right->getType());
 3614|      0|            }
 3615|      0|            return true;
 3616|      0|        case EOpAdd:
  ------------------
  |  Branch (3616:9): [True: 0, False: 0]
  ------------------
 3617|      0|        case EOpSub:
  ------------------
  |  Branch (3617:9): [True: 0, False: 0]
  ------------------
 3618|      0|        case EOpDiv:
  ------------------
  |  Branch (3618:9): [True: 0, False: 0]
  ------------------
 3619|      0|        case EOpAssign:
  ------------------
  |  Branch (3619:9): [True: 0, False: 0]
  ------------------
 3620|       |            // These require both to be cooperative matrices
 3621|      0|            if (!left->getType().isCoopMat() || !right->getType().isCoopMat()) {
  ------------------
  |  Branch (3621:17): [True: 0, False: 0]
  |  Branch (3621:49): [True: 0, False: 0]
  ------------------
 3622|      0|                return false;
 3623|      0|            }
 3624|      0|            return true;
 3625|      0|        default:
  ------------------
  |  Branch (3625:9): [True: 0, False: 0]
  ------------------
 3626|      0|            break;
 3627|      0|        }
 3628|      0|        return false;
 3629|      0|    }
 3630|       |
 3631|    351|    if (left->getType().isCoopVecNV() || right->getType().isCoopVecNV()) {
  ------------------
  |  Branch (3631:9): [True: 0, False: 351]
  |  Branch (3631:42): [True: 0, False: 351]
  ------------------
 3632|       |        // Operations on two cooperative vectors must have identical types
 3633|      0|        if (left->getType().isCoopVecNV() && right->getType().isCoopVecNV() &&
  ------------------
  |  Branch (3633:13): [True: 0, False: 0]
  |  Branch (3633:46): [True: 0, False: 0]
  ------------------
 3634|      0|            left->getType() != right->getType()) {
  ------------------
  |  Branch (3634:13): [True: 0, False: 0]
  ------------------
 3635|      0|            return false;
 3636|      0|        }
 3637|      0|        switch (op) {
 3638|      0|        case EOpMul:
  ------------------
  |  Branch (3638:9): [True: 0, False: 0]
  ------------------
 3639|      0|        case EOpMulAssign:
  ------------------
  |  Branch (3639:9): [True: 0, False: 0]
  ------------------
 3640|       |            // Use VectorTimesScalar if either operand is not a vector. Otherwise use Mul.
 3641|      0|            if (!left->getType().isCoopVecNV() || !right->getType().isCoopVecNV()) {
  ------------------
  |  Branch (3641:17): [True: 0, False: 0]
  |  Branch (3641:51): [True: 0, False: 0]
  ------------------
 3642|      0|                node.setOp(op == EOpMulAssign ? EOpVectorTimesScalarAssign : EOpVectorTimesScalar);
  ------------------
  |  Branch (3642:28): [True: 0, False: 0]
  ------------------
 3643|      0|            }
 3644|       |            // In case of scalar*vector, take the result type from the vector.
 3645|      0|            if (right->getType().isCoopVecNV()) {
  ------------------
  |  Branch (3645:17): [True: 0, False: 0]
  ------------------
 3646|      0|                node.setType(right->getType());
 3647|      0|            }
 3648|      0|            return true;
 3649|      0|        case EOpLeftShift:
  ------------------
  |  Branch (3649:9): [True: 0, False: 0]
  ------------------
 3650|      0|        case EOpLeftShiftAssign:
  ------------------
  |  Branch (3650:9): [True: 0, False: 0]
  ------------------
 3651|      0|        case EOpRightShift:
  ------------------
  |  Branch (3651:9): [True: 0, False: 0]
  ------------------
 3652|      0|        case EOpRightShiftAssign:
  ------------------
  |  Branch (3652:9): [True: 0, False: 0]
  ------------------
 3653|      0|        case EOpAdd:
  ------------------
  |  Branch (3653:9): [True: 0, False: 0]
  ------------------
 3654|      0|        case EOpSub:
  ------------------
  |  Branch (3654:9): [True: 0, False: 0]
  ------------------
 3655|      0|        case EOpDiv:
  ------------------
  |  Branch (3655:9): [True: 0, False: 0]
  ------------------
 3656|      0|        case EOpAssign:
  ------------------
  |  Branch (3656:9): [True: 0, False: 0]
  ------------------
 3657|       |            // These require both to be cooperative vectors
 3658|      0|            if (!left->getType().isCoopVecNV() || !right->getType().isCoopVecNV()) {
  ------------------
  |  Branch (3658:17): [True: 0, False: 0]
  |  Branch (3658:51): [True: 0, False: 0]
  ------------------
 3659|      0|                return false;
 3660|      0|            }
 3661|      0|            return true;
 3662|      0|        default:
  ------------------
  |  Branch (3662:9): [True: 0, False: 0]
  ------------------
 3663|      0|            break;
 3664|      0|        }
 3665|      0|        return false;
 3666|      0|    }
 3667|       |
 3668|    351|    bool vectorAndLongVectorMatch = TType::vectorAndLongVectorMatch(left->getType(), right->getType());
 3669|       |
 3670|       |    // Finish handling the case, for all ops, where both operands are scalars.
 3671|    351|    if (left->isScalar() && right->isScalar())
  ------------------
  |  Branch (3671:9): [True: 12, False: 339]
  |  Branch (3671:29): [True: 12, False: 0]
  ------------------
 3672|     12|        return true;
 3673|       |
 3674|       |    // Finish handling the case, for all ops, where there are two vectors of different sizes
 3675|    339|    if (left->isVector() && right->isVector() && left->getVectorSize() != right->getVectorSize() && right->getVectorSize() > 1)
  ------------------
  |  Branch (3675:9): [True: 339, False: 0]
  |  Branch (3675:29): [True: 225, False: 114]
  |  Branch (3675:50): [True: 0, False: 225]
  |  Branch (3675:101): [True: 0, False: 0]
  ------------------
 3676|      0|        return false;
 3677|       |
 3678|       |    // Finish handling the case, for all ops, where there are two vectors of different sizes
 3679|    339|    if (left->getType().isLongVector() && right->getType().isLongVector() && !left->getType().sameLongVectorShape(right->getType()))
  ------------------
  |  Branch (3679:9): [True: 0, False: 339]
  |  Branch (3679:43): [True: 0, False: 0]
  |  Branch (3679:78): [True: 0, False: 0]
  ------------------
 3680|      0|        return false;
 3681|       |
 3682|       |    //
 3683|       |    // We now have a mix of scalars, vectors, or matrices, for non-relational operations.
 3684|       |    //
 3685|       |
 3686|       |    // Can these two operands be combined, what is the resulting type?
 3687|    339|    TBasicType basicType = left->getBasicType();
 3688|    339|    switch (op) {
 3689|      0|    case EOpMul:
  ------------------
  |  Branch (3689:5): [True: 0, False: 339]
  ------------------
 3690|      0|        if (!left->isMatrix() && right->isMatrix()) {
  ------------------
  |  Branch (3690:13): [True: 0, False: 0]
  |  Branch (3690:34): [True: 0, False: 0]
  ------------------
 3691|      0|            if (left->isVector()) {
  ------------------
  |  Branch (3691:17): [True: 0, False: 0]
  ------------------
 3692|      0|                if (left->getVectorSize() != right->getMatrixRows())
  ------------------
  |  Branch (3692:21): [True: 0, False: 0]
  ------------------
 3693|      0|                    return false;
 3694|      0|                node.setOp(op = EOpVectorTimesMatrix);
 3695|      0|                node.setType(TType(basicType, EvqTemporary, right->getMatrixCols()));
 3696|      0|            } else {
 3697|      0|                node.setOp(op = EOpMatrixTimesScalar);
 3698|      0|                node.setType(TType(basicType, EvqTemporary, 0, right->getMatrixCols(), right->getMatrixRows()));
 3699|      0|            }
 3700|      0|        } else if (left->isMatrix() && !right->isMatrix()) {
  ------------------
  |  Branch (3700:20): [True: 0, False: 0]
  |  Branch (3700:40): [True: 0, False: 0]
  ------------------
 3701|      0|            if (right->isVector()) {
  ------------------
  |  Branch (3701:17): [True: 0, False: 0]
  ------------------
 3702|      0|                if (left->getMatrixCols() != right->getVectorSize())
  ------------------
  |  Branch (3702:21): [True: 0, False: 0]
  ------------------
 3703|      0|                    return false;
 3704|      0|                node.setOp(op = EOpMatrixTimesVector);
 3705|      0|                node.setType(TType(basicType, EvqTemporary, left->getMatrixRows()));
 3706|      0|            } else {
 3707|      0|                node.setOp(op = EOpMatrixTimesScalar);
 3708|      0|            }
 3709|      0|        } else if (left->isMatrix() && right->isMatrix()) {
  ------------------
  |  Branch (3709:20): [True: 0, False: 0]
  |  Branch (3709:40): [True: 0, False: 0]
  ------------------
 3710|      0|            if (left->getMatrixCols() != right->getMatrixRows())
  ------------------
  |  Branch (3710:17): [True: 0, False: 0]
  ------------------
 3711|      0|                return false;
 3712|      0|            node.setOp(op = EOpMatrixTimesMatrix);
 3713|      0|            node.setType(TType(basicType, EvqTemporary, 0, right->getMatrixCols(), left->getMatrixRows()));
 3714|      0|        } else if (! left->isMatrix() && ! right->isMatrix()) {
  ------------------
  |  Branch (3714:20): [True: 0, False: 0]
  |  Branch (3714:42): [True: 0, False: 0]
  ------------------
 3715|      0|            if (left->isVector() && right->isVector()) {
  ------------------
  |  Branch (3715:17): [True: 0, False: 0]
  |  Branch (3715:37): [True: 0, False: 0]
  ------------------
 3716|      0|                ; // leave as component product
 3717|      0|            } else if (left->isVector() || right->isVector()) {
  ------------------
  |  Branch (3717:24): [True: 0, False: 0]
  |  Branch (3717:44): [True: 0, False: 0]
  ------------------
 3718|      0|                node.setOp(op = EOpVectorTimesScalar);
 3719|      0|                if (right->isVector())
  ------------------
  |  Branch (3719:21): [True: 0, False: 0]
  ------------------
 3720|      0|                    node.setType(TType(basicType, EvqTemporary, right->getVectorSize()));
 3721|      0|            }
 3722|      0|        } else {
 3723|      0|            return false;
 3724|      0|        }
 3725|      0|        break;
 3726|      0|    case EOpMulAssign:
  ------------------
  |  Branch (3726:5): [True: 0, False: 339]
  ------------------
 3727|      0|        if (! left->isMatrix() && right->isMatrix()) {
  ------------------
  |  Branch (3727:13): [True: 0, False: 0]
  |  Branch (3727:35): [True: 0, False: 0]
  ------------------
 3728|      0|            if (left->isVector()) {
  ------------------
  |  Branch (3728:17): [True: 0, False: 0]
  ------------------
 3729|      0|                if (left->getVectorSize() != right->getMatrixRows() || left->getVectorSize() != right->getMatrixCols())
  ------------------
  |  Branch (3729:21): [True: 0, False: 0]
  |  Branch (3729:72): [True: 0, False: 0]
  ------------------
 3730|      0|                    return false;
 3731|      0|                node.setOp(op = EOpVectorTimesMatrixAssign);
 3732|      0|            } else {
 3733|      0|                return false;
 3734|      0|            }
 3735|      0|        } else if (left->isMatrix() && !right->isMatrix()) {
  ------------------
  |  Branch (3735:20): [True: 0, False: 0]
  |  Branch (3735:40): [True: 0, False: 0]
  ------------------
 3736|      0|            if (right->isVector()) {
  ------------------
  |  Branch (3736:17): [True: 0, False: 0]
  ------------------
 3737|      0|                return false;
 3738|      0|            } else {
 3739|      0|                node.setOp(op = EOpMatrixTimesScalarAssign);
 3740|      0|            }
 3741|      0|        } else if (left->isMatrix() && right->isMatrix()) {
  ------------------
  |  Branch (3741:20): [True: 0, False: 0]
  |  Branch (3741:40): [True: 0, False: 0]
  ------------------
 3742|      0|            if (left->getMatrixCols() != right->getMatrixCols() || left->getMatrixCols() != right->getMatrixRows())
  ------------------
  |  Branch (3742:17): [True: 0, False: 0]
  |  Branch (3742:68): [True: 0, False: 0]
  ------------------
 3743|      0|                return false;
 3744|      0|            node.setOp(op = EOpMatrixTimesMatrixAssign);
 3745|      0|        } else if (!left->isMatrix() && !right->isMatrix()) {
  ------------------
  |  Branch (3745:20): [True: 0, False: 0]
  |  Branch (3745:41): [True: 0, False: 0]
  ------------------
 3746|      0|            if (left->isVector() && right->isVector()) {
  ------------------
  |  Branch (3746:17): [True: 0, False: 0]
  |  Branch (3746:37): [True: 0, False: 0]
  ------------------
 3747|       |                // leave as component product
 3748|      0|            } else if (left->isVector() || right->isVector()) {
  ------------------
  |  Branch (3748:24): [True: 0, False: 0]
  |  Branch (3748:44): [True: 0, False: 0]
  ------------------
 3749|      0|                if (! left->isVector())
  ------------------
  |  Branch (3749:21): [True: 0, False: 0]
  ------------------
 3750|      0|                    return false;
 3751|      0|                node.setOp(op = EOpVectorTimesScalarAssign);
 3752|      0|            }
 3753|      0|        } else {
 3754|      0|            return false;
 3755|      0|        }
 3756|      0|        break;
 3757|       |
 3758|      0|    case EOpRightShift:
  ------------------
  |  Branch (3758:5): [True: 0, False: 339]
  ------------------
 3759|      0|    case EOpLeftShift:
  ------------------
  |  Branch (3759:5): [True: 0, False: 339]
  ------------------
 3760|      0|    case EOpRightShiftAssign:
  ------------------
  |  Branch (3760:5): [True: 0, False: 339]
  ------------------
 3761|      0|    case EOpLeftShiftAssign:
  ------------------
  |  Branch (3761:5): [True: 0, False: 339]
  ------------------
 3762|      0|        if (right->isVector() && (! left->isVector() || right->getVectorSize() != left->getVectorSize()))
  ------------------
  |  Branch (3762:13): [True: 0, False: 0]
  |  Branch (3762:35): [True: 0, False: 0]
  |  Branch (3762:57): [True: 0, False: 0]
  ------------------
 3763|      0|            return false;
 3764|      0|        break;
 3765|       |
 3766|    225|    case EOpAssign:
  ------------------
  |  Branch (3766:5): [True: 225, False: 114]
  ------------------
 3767|    225|        if ((left->getVectorSize() != right->getVectorSize() || left->getMatrixCols() != right->getMatrixCols() || left->getMatrixRows() != right->getMatrixRows()) &&
  ------------------
  |  Branch (3767:14): [True: 0, False: 225]
  |  Branch (3767:65): [True: 0, False: 225]
  |  Branch (3767:116): [True: 0, False: 225]
  ------------------
 3768|      0|            !vectorAndLongVectorMatch)
  ------------------
  |  Branch (3768:13): [True: 0, False: 0]
  ------------------
 3769|      0|            return false;
 3770|    225|        [[fallthrough]];
 3771|       |
 3772|    225|    case EOpAdd:
  ------------------
  |  Branch (3772:5): [True: 0, False: 339]
  ------------------
 3773|    225|    case EOpSub:
  ------------------
  |  Branch (3773:5): [True: 0, False: 339]
  ------------------
 3774|    225|    case EOpDiv:
  ------------------
  |  Branch (3774:5): [True: 0, False: 339]
  ------------------
 3775|    225|    case EOpMod:
  ------------------
  |  Branch (3775:5): [True: 0, False: 339]
  ------------------
 3776|    225|    case EOpAnd:
  ------------------
  |  Branch (3776:5): [True: 0, False: 339]
  ------------------
 3777|    225|    case EOpInclusiveOr:
  ------------------
  |  Branch (3777:5): [True: 0, False: 339]
  ------------------
 3778|    225|    case EOpExclusiveOr:
  ------------------
  |  Branch (3778:5): [True: 0, False: 339]
  ------------------
 3779|    339|    case EOpAddAssign:
  ------------------
  |  Branch (3779:5): [True: 114, False: 225]
  ------------------
 3780|    339|    case EOpSubAssign:
  ------------------
  |  Branch (3780:5): [True: 0, False: 339]
  ------------------
 3781|    339|    case EOpDivAssign:
  ------------------
  |  Branch (3781:5): [True: 0, False: 339]
  ------------------
 3782|    339|    case EOpModAssign:
  ------------------
  |  Branch (3782:5): [True: 0, False: 339]
  ------------------
 3783|    339|    case EOpAndAssign:
  ------------------
  |  Branch (3783:5): [True: 0, False: 339]
  ------------------
 3784|    339|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (3784:5): [True: 0, False: 339]
  ------------------
 3785|    339|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (3785:5): [True: 0, False: 339]
  ------------------
 3786|       |
 3787|    339|        if ((left->isMatrix() && right->isVector()) ||
  ------------------
  |  Branch (3787:14): [True: 0, False: 339]
  |  Branch (3787:34): [True: 0, False: 0]
  ------------------
 3788|    339|            (left->isVector() && right->isMatrix()) ||
  ------------------
  |  Branch (3788:14): [True: 339, False: 0]
  |  Branch (3788:34): [True: 0, False: 339]
  ------------------
 3789|    339|            left->getBasicType() != right->getBasicType())
  ------------------
  |  Branch (3789:13): [True: 0, False: 339]
  ------------------
 3790|      0|            return false;
 3791|    339|        if (left->isMatrix() && right->isMatrix() && (left->getMatrixCols() != right->getMatrixCols() || left->getMatrixRows() != right->getMatrixRows()))
  ------------------
  |  Branch (3791:13): [True: 0, False: 339]
  |  Branch (3791:33): [True: 0, False: 0]
  |  Branch (3791:55): [True: 0, False: 0]
  |  Branch (3791:106): [True: 0, False: 0]
  ------------------
 3792|      0|            return false;
 3793|    339|        if (left->isVector() && right->isVector() && left->getVectorSize() != right->getVectorSize())
  ------------------
  |  Branch (3793:13): [True: 339, False: 0]
  |  Branch (3793:33): [True: 225, False: 114]
  |  Branch (3793:54): [True: 0, False: 225]
  ------------------
 3794|      0|            return false;
 3795|    339|        if ((right->isVector() || right->isMatrix()) && !vectorAndLongVectorMatch) {
  ------------------
  |  Branch (3795:14): [True: 225, False: 114]
  |  Branch (3795:35): [True: 0, False: 114]
  |  Branch (3795:57): [True: 225, False: 0]
  ------------------
 3796|    225|            node.getWritableType().shallowCopy(right->getType());
 3797|    225|            node.getWritableType().getQualifier().makeTemporary();
 3798|    225|        }
 3799|    339|        break;
 3800|       |
 3801|      0|    default:
  ------------------
  |  Branch (3801:5): [True: 0, False: 339]
  ------------------
 3802|      0|        return false;
 3803|    339|    }
 3804|       |
 3805|       |    //
 3806|       |    // One more check for assignment.
 3807|       |    //
 3808|    339|    switch (op) {
 3809|       |    // The resulting type has to match the left operand.
 3810|    225|    case EOpAssign:
  ------------------
  |  Branch (3810:5): [True: 225, False: 114]
  ------------------
 3811|    339|    case EOpAddAssign:
  ------------------
  |  Branch (3811:5): [True: 114, False: 225]
  ------------------
 3812|    339|    case EOpSubAssign:
  ------------------
  |  Branch (3812:5): [True: 0, False: 339]
  ------------------
 3813|    339|    case EOpMulAssign:
  ------------------
  |  Branch (3813:5): [True: 0, False: 339]
  ------------------
 3814|    339|    case EOpDivAssign:
  ------------------
  |  Branch (3814:5): [True: 0, False: 339]
  ------------------
 3815|    339|    case EOpModAssign:
  ------------------
  |  Branch (3815:5): [True: 0, False: 339]
  ------------------
 3816|    339|    case EOpAndAssign:
  ------------------
  |  Branch (3816:5): [True: 0, False: 339]
  ------------------
 3817|    339|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (3817:5): [True: 0, False: 339]
  ------------------
 3818|    339|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (3818:5): [True: 0, False: 339]
  ------------------
 3819|    339|    case EOpLeftShiftAssign:
  ------------------
  |  Branch (3819:5): [True: 0, False: 339]
  ------------------
 3820|    339|    case EOpRightShiftAssign:
  ------------------
  |  Branch (3820:5): [True: 0, False: 339]
  ------------------
 3821|    339|        if (node.getType() != left->getType())
  ------------------
  |  Branch (3821:13): [True: 0, False: 339]
  ------------------
 3822|      0|            return false;
 3823|    339|        break;
 3824|    339|    default:
  ------------------
  |  Branch (3824:5): [True: 0, False: 339]
  ------------------
 3825|      0|        break;
 3826|    339|    }
 3827|       |
 3828|    339|    return true;
 3829|    339|}
_ZN7glslang13TIntermBinary15updatePrecisionEv:
 3926|  1.86k|{
 3927|  1.86k|     if (getBasicType() == EbtInt || getBasicType() == EbtUint ||
  ------------------
  |  Branch (3927:10): [True: 216, False: 1.65k]
  |  Branch (3927:38): [True: 0, False: 1.65k]
  ------------------
 3928|  1.86k|         getBasicType() == EbtFloat) {
  ------------------
  |  Branch (3928:10): [True: 1.65k, False: 0]
  ------------------
 3929|  1.86k|       if (op == EOpRightShift || op == EOpLeftShift) {
  ------------------
  |  Branch (3929:12): [True: 0, False: 1.86k]
  |  Branch (3929:35): [True: 0, False: 1.86k]
  ------------------
 3930|       |         // For shifts get precision from left side only and thus no need to propagate
 3931|      0|         getQualifier().precision = left->getQualifier().precision;
 3932|  1.86k|       } else {
 3933|  1.86k|         getQualifier().precision = std::max(right->getQualifier().precision, left->getQualifier().precision);
 3934|  1.86k|         if (getQualifier().precision != EpqNone) {
  ------------------
  |  Branch (3934:14): [True: 1.86k, False: 3]
  ------------------
 3935|  1.86k|           left->propagatePrecision(getQualifier().precision);
 3936|  1.86k|           right->propagatePrecision(getQualifier().precision);
 3937|  1.86k|         }
 3938|  1.86k|       }
 3939|  1.86k|    }
 3940|  1.86k|}
_ZN7glslang12TIntermTyped18propagatePrecisionENS_19TPrecisionQualifierE:
 3946|  11.9k|{
 3947|  11.9k|    if (getQualifier().precision != EpqNone ||
  ------------------
  |  Branch (3947:9): [True: 9.37k, False: 2.58k]
  ------------------
 3948|  2.58k|        (getBasicType() != EbtInt && getBasicType() != EbtUint &&
  ------------------
  |  Branch (3948:10): [True: 1.71k, False: 867]
  |  Branch (3948:38): [True: 1.71k, False: 0]
  ------------------
 3949|  1.71k|         getBasicType() != EbtFloat && getBasicType() != EbtFloat16))
  ------------------
  |  Branch (3949:10): [True: 156, False: 1.56k]
  |  Branch (3949:40): [True: 156, False: 0]
  ------------------
 3950|  9.52k|        return;
 3951|       |
 3952|  2.42k|    getQualifier().precision = newPrecision;
 3953|       |
 3954|  2.42k|    TIntermBinary* binaryNode = getAsBinaryNode();
 3955|  2.42k|    if (binaryNode) {
  ------------------
  |  Branch (3955:9): [True: 0, False: 2.42k]
  ------------------
 3956|      0|        binaryNode->getLeft()->propagatePrecision(newPrecision);
 3957|      0|        binaryNode->getRight()->propagatePrecision(newPrecision);
 3958|       |
 3959|      0|        return;
 3960|      0|    }
 3961|       |
 3962|  2.42k|    TIntermUnary* unaryNode = getAsUnaryNode();
 3963|  2.42k|    if (unaryNode) {
  ------------------
  |  Branch (3963:9): [True: 126, False: 2.30k]
  ------------------
 3964|    126|        unaryNode->getOperand()->propagatePrecision(newPrecision);
 3965|       |
 3966|    126|        return;
 3967|    126|    }
 3968|       |
 3969|  2.30k|    TIntermAggregate* aggregateNode = getAsAggregate();
 3970|  2.30k|    if (aggregateNode) {
  ------------------
  |  Branch (3970:9): [True: 1.71k, False: 591]
  ------------------
 3971|  1.71k|        TIntermSequence operands = aggregateNode->getSequence();
 3972|  7.96k|        for (unsigned int i = 0; i < operands.size(); ++i) {
  ------------------
  |  Branch (3972:34): [True: 6.25k, False: 1.71k]
  ------------------
 3973|  6.25k|            TIntermTyped* typedNode = operands[i]->getAsTyped();
 3974|  6.25k|            if (! typedNode)
  ------------------
  |  Branch (3974:17): [True: 0, False: 6.25k]
  ------------------
 3975|      0|                break;
 3976|  6.25k|            typedNode->propagatePrecision(newPrecision);
 3977|  6.25k|        }
 3978|       |
 3979|  1.71k|        return;
 3980|  1.71k|    }
 3981|       |
 3982|    591|    TIntermSelection* selectionNode = getAsSelectionNode();
 3983|    591|    if (selectionNode) {
  ------------------
  |  Branch (3983:9): [True: 0, False: 591]
  ------------------
 3984|      0|        TIntermTyped* typedNode = selectionNode->getTrueBlock()->getAsTyped();
 3985|      0|        if (typedNode) {
  ------------------
  |  Branch (3985:13): [True: 0, False: 0]
  ------------------
 3986|      0|            typedNode->propagatePrecision(newPrecision);
 3987|      0|            typedNode = selectionNode->getFalseBlock()->getAsTyped();
 3988|      0|            if (typedNode)
  ------------------
  |  Branch (3988:17): [True: 0, False: 0]
  ------------------
 3989|      0|                typedNode->propagatePrecision(newPrecision);
 3990|      0|        }
 3991|       |
 3992|      0|        return;
 3993|      0|    }
 3994|    591|}
_ZNK7glslang13TIntermediate20promoteConstantUnionENS_10TBasicTypeEPNS_20TIntermConstantUnionE:
 3997|     81|{
 3998|     81|    const TConstUnionArray& rightUnionArray = node->getConstArray();
 3999|     81|    int size = node->getType().computeNumComponents();
 4000|       |
 4001|     81|    TConstUnionArray leftUnionArray(size);
 4002|       |
 4003|    162|    for (int i=0; i < size; i++) {
  ------------------
  |  Branch (4003:19): [True: 81, False: 81]
  ------------------
 4004|       |
 4005|     81|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
 4006|     81|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
 4007|       |
 4008|     81|#define TO_ALL(Get)   \
 4009|     81|        switch (promoteTo) { \
 4010|     81|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
 4011|     81|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
 4012|     81|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
 4013|     81|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
 4014|     81|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
 4015|     81|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
 4016|     81|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
 4017|     81|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
 4018|     81|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
 4019|     81|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
 4020|     81|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
 4021|     81|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
 4022|     81|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
 4023|     81|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
 4024|     81|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
 4025|     81|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
 4026|     81|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
 4027|     81|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
 4028|     81|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
 4029|     81|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
 4030|     81|        default: return node; \
 4031|     81|        }
 4032|       |
 4033|     81|        switch (node->getType().getBasicType()) {
 4034|      0|        case EbtFloat: TO_ALL(getDConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4034:9): [True: 0, False: 81]
  ------------------
 4035|     81|        case EbtInt: TO_ALL(getIConst); break;
  ------------------
  |  | 4009|     81|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 81]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 81]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 81]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 81]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 81]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 81]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 81]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 81]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 81]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 81]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 81]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 81]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 81]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 81]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 81]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 81]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 81]
  |  |  ------------------
  |  | 4027|     81|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|     81|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 81, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 81]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 81]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 81]
  |  |  ------------------
  |  | 4031|     81|        }
  ------------------
  |  Branch (4035:9): [True: 81, False: 0]
  ------------------
 4036|      0|        case EbtUint: TO_ALL(getUConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4036:9): [True: 0, False: 81]
  ------------------
 4037|      0|        case EbtBool: TO_ALL(getBConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4037:9): [True: 0, False: 81]
  ------------------
 4038|      0|        case EbtFloat16: TO_ALL(getDConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4038:9): [True: 0, False: 81]
  ------------------
 4039|      0|        case EbtBFloat16: TO_ALL(getDConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4039:9): [True: 0, False: 81]
  ------------------
 4040|      0|        case EbtFloatE5M2: TO_ALL(getDConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4040:9): [True: 0, False: 81]
  ------------------
 4041|      0|        case EbtFloatE4M3: TO_ALL(getDConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4041:9): [True: 0, False: 81]
  ------------------
 4042|      0|        case EbtFloatE2M1: TO_ALL(getDConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4042:9): [True: 0, False: 81]
  ------------------
 4043|      0|        case EbtFloatE3M2: TO_ALL(getDConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4043:9): [True: 0, False: 81]
  ------------------
 4044|      0|        case EbtFloatE2M3: TO_ALL(getDConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4044:9): [True: 0, False: 81]
  ------------------
 4045|      0|        case EbtFloatUE8M0: TO_ALL(getDConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4045:9): [True: 0, False: 81]
  ------------------
 4046|      0|        case EbtFloatMXINT8: TO_ALL(getDConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4046:9): [True: 0, False: 81]
  ------------------
 4047|      0|        case EbtDouble: TO_ALL(getDConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4047:9): [True: 0, False: 81]
  ------------------
 4048|      0|        case EbtInt8: TO_ALL(getI8Const); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4048:9): [True: 0, False: 81]
  ------------------
 4049|      0|        case EbtInt16: TO_ALL(getI16Const); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4049:9): [True: 0, False: 81]
  ------------------
 4050|      0|        case EbtInt64: TO_ALL(getI64Const); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4050:9): [True: 0, False: 81]
  ------------------
 4051|      0|        case EbtUint8: TO_ALL(getU8Const); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4051:9): [True: 0, False: 81]
  ------------------
 4052|      0|        case EbtUint16: TO_ALL(getU16Const); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4052:9): [True: 0, False: 81]
  ------------------
 4053|      0|        case EbtUint64: TO_ALL(getU64Const); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4053:9): [True: 0, False: 81]
  ------------------
 4054|      0|        default: return node;
  ------------------
  |  Branch (4054:9): [True: 0, False: 81]
  ------------------
 4055|     81|        }
 4056|     81|    }
 4057|       |
 4058|     81|    const TType& t = node->getType();
 4059|       |
 4060|     81|    return addConstantUnion(leftUnionArray, TType(promoteTo, t.getQualifier().storage, t.getVectorSize(), t.getMatrixCols(), t.getMatrixRows()),
 4061|     81|                            node->getLoc());
 4062|     81|}
_ZN7glslang16TIntermAggregate14setPragmaTableERKNS_12TPragmaTableE:
 4065|    240|{
 4066|       |    assert(pragmaTable == nullptr);
 4067|    240|    pragmaTable = new TPragmaTable;
 4068|    240|    *pragmaTable = pTable;
 4069|    240|}
_ZN7glslang13TIntermediate15getResourceNameENS_13TResourceTypeE:
 4133|    396|{
 4134|    396|    switch (res) {
 4135|     66|    case EResSampler:         return "shift-sampler-binding";
  ------------------
  |  Branch (4135:5): [True: 66, False: 330]
  ------------------
 4136|     66|    case EResTexture:         return "shift-texture-binding";
  ------------------
  |  Branch (4136:5): [True: 66, False: 330]
  ------------------
 4137|     66|    case EResImage:           return "shift-image-binding";
  ------------------
  |  Branch (4137:5): [True: 66, False: 330]
  ------------------
 4138|     66|    case EResUbo:             return "shift-ubo-binding";
  ------------------
  |  Branch (4138:5): [True: 66, False: 330]
  ------------------
 4139|     66|    case EResSsbo:            return "shift-ssbo-binding";
  ------------------
  |  Branch (4139:5): [True: 66, False: 330]
  ------------------
 4140|     66|    case EResUav:             return "shift-uav-binding";
  ------------------
  |  Branch (4140:5): [True: 66, False: 330]
  ------------------
 4141|      0|    case EResCombinedSampler: return "shift-combined-sampler-binding";
  ------------------
  |  Branch (4141:5): [True: 0, False: 396]
  ------------------
 4142|      0|    case EResAs:              return "shift-as-binding";
  ------------------
  |  Branch (4142:5): [True: 0, False: 396]
  ------------------
 4143|      0|    case EResTensor:          return nullptr;
  ------------------
  |  Branch (4143:5): [True: 0, False: 396]
  ------------------
 4144|      0|    default:
  ------------------
  |  Branch (4144:5): [True: 0, False: 396]
  ------------------
 4145|       |        assert(0); // internal error: should only be called with valid resource types.
 4146|      0|        return nullptr;
 4147|    396|    }
 4148|    396|}
_ZN7glslang13TIntermediate10addSwizzleIiEEPNS_12TIntermTypedERNS_17TSwizzleSelectorsIT_EERKNS_10TSourceLocE:
 2700|     93|{
 2701|     93|    TIntermAggregate* node = new TIntermAggregate(EOpSequence);
 2702|       |
 2703|     93|    node->setLoc(loc);
 2704|     93|    TIntermSequence &sequenceVector = node->getSequence();
 2705|       |
 2706|    315|    for (int i = 0; i < selector.size(); i++)
  ------------------
  |  Branch (2706:21): [True: 222, False: 93]
  ------------------
 2707|    222|        pushSelector(sequenceVector, selector[i], loc);
 2708|       |
 2709|     93|    return node;
 2710|     93|}

_ZN7glslang17TParseContextBase13outputMessageERKNS_10TSourceLocEPKcS5_S5_NS_11TPrefixTypeEP13__va_list_tag:
   55|  2.71M|{
   56|  2.71M|    const int maxSize = MaxTokenLength + 200;
   57|  2.71M|    char szExtraInfo[maxSize];
   58|       |
   59|  2.71M|    safe_vsprintf(szExtraInfo, maxSize, szExtraInfoFormat, args);
   60|       |
   61|  2.71M|    infoSink.info.prefix(prefix);
   62|  2.71M|    infoSink.info.location(loc, messages & EShMsgAbsolutePath, messages & EShMsgDisplayErrorColumn);
   63|  2.71M|    infoSink.info << "'" << szToken <<  "' : " << szReason << " " << szExtraInfo << "\n";
   64|       |
   65|  2.71M|    if (prefix == EPrefixError) {
  ------------------
  |  Branch (65:9): [True: 2.71M, False: 0]
  ------------------
   66|  2.71M|        ++numErrors;
   67|  2.71M|    }
   68|  2.71M|}
_ZN7glslang17TParseContextBase5errorERKNS_10TSourceLocEPKcS5_S5_z:
   72|  2.56M|{
   73|  2.56M|    if (messages & EShMsgOnlyPreprocessor)
  ------------------
  |  Branch (73:9): [True: 39.5k, False: 2.52M]
  ------------------
   74|  39.5k|        return;
   75|       |    // If enhanced msg readability, only print one error
   76|  2.52M|    if (messages & EShMsgEnhanced && numErrors > 0)
  ------------------
  |  Branch (76:9): [True: 0, False: 2.52M]
  |  Branch (76:38): [True: 0, False: 0]
  ------------------
   77|      0|        return;
   78|  2.52M|    va_list args;
   79|  2.52M|    va_start(args, szExtraInfoFormat);
   80|  2.52M|    outputMessage(loc, szReason, szToken, szExtraInfoFormat, EPrefixError, args);
   81|  2.52M|    va_end(args);
   82|       |
   83|  2.52M|    if ((messages & EShMsgCascadingErrors) == 0)
  ------------------
  |  Branch (83:9): [True: 30, False: 2.52M]
  ------------------
   84|     30|        currentScanner->setEndOfInput();
   85|  2.52M|}
_ZN7glslang17TParseContextBase7ppErrorERKNS_10TSourceLocEPKcS5_S5_z:
  100|   196k|{
  101|   196k|    va_list args;
  102|   196k|    va_start(args, szExtraInfoFormat);
  103|   196k|    outputMessage(loc, szReason, szToken, szExtraInfoFormat, EPrefixError, args);
  104|   196k|    va_end(args);
  105|       |
  106|   196k|    if ((messages & EShMsgCascadingErrors) == 0)
  ------------------
  |  Branch (106:9): [True: 0, False: 196k]
  ------------------
  107|      0|        currentScanner->setEndOfInput();
  108|   196k|}
_ZN7glslang17TParseContextBase16lValueErrorCheckERKNS_10TSourceLocEPKcPNS_12TIntermTypedE:
  126|  2.54k|{
  127|  2.54k|    TIntermBinary* binaryNode = node->getAsBinaryNode();
  128|       |
  129|  2.54k|    const char* symbol = nullptr;
  130|  2.54k|    TIntermSymbol* symNode = node->getAsSymbolNode();
  131|  2.54k|    if (symNode != nullptr)
  ------------------
  |  Branch (131:9): [True: 2.07k, False: 471]
  ------------------
  132|  2.07k|        symbol = symNode->getName().c_str();
  133|       |
  134|  2.54k|    const char* message = nullptr;
  135|  2.54k|    switch (node->getQualifier().storage) {
  136|      0|    case EvqConst:          message = "can't modify a const";        break;
  ------------------
  |  Branch (136:5): [True: 0, False: 2.54k]
  ------------------
  137|      0|    case EvqConstReadOnly:  message = "can't modify a const";        break;
  ------------------
  |  Branch (137:5): [True: 0, False: 2.54k]
  ------------------
  138|      0|    case EvqUniform:        message = "can't modify a uniform";      break;
  ------------------
  |  Branch (138:5): [True: 0, False: 2.54k]
  ------------------
  139|      0|    case EvqBuffer:
  ------------------
  |  Branch (139:5): [True: 0, False: 2.54k]
  ------------------
  140|      0|        if (node->getQualifier().isReadOnly())
  ------------------
  |  Branch (140:13): [True: 0, False: 0]
  ------------------
  141|      0|            message = "can't modify a readonly buffer";
  142|      0|        if (node->getQualifier().isShaderRecord())
  ------------------
  |  Branch (142:13): [True: 0, False: 0]
  ------------------
  143|      0|            message = "can't modify a shaderrecordnv qualified buffer";
  144|      0|        break;
  145|      0|    case EvqHitAttr:
  ------------------
  |  Branch (145:5): [True: 0, False: 2.54k]
  ------------------
  146|      0|        if (language != EShLangIntersect)
  ------------------
  |  Branch (146:13): [True: 0, False: 0]
  ------------------
  147|      0|            message = "cannot modify hitAttributeNV in this stage";
  148|      0|        break;
  149|       |
  150|  2.54k|    default:
  ------------------
  |  Branch (150:5): [True: 2.54k, False: 0]
  ------------------
  151|       |        //
  152|       |        // Type that can't be written to?
  153|       |        //
  154|  2.54k|        switch (node->getBasicType()) {
  155|      0|        case EbtSampler:
  ------------------
  |  Branch (155:9): [True: 0, False: 2.54k]
  ------------------
  156|      0|            if (extensionTurnedOn(E_GL_ARB_bindless_texture) == false)
  ------------------
  |  Branch (156:17): [True: 0, False: 0]
  ------------------
  157|      0|                message = "can't modify a sampler";
  158|      0|            break;
  159|      0|        case EbtVoid:
  ------------------
  |  Branch (159:9): [True: 0, False: 2.54k]
  ------------------
  160|      0|            message = "can't modify void";
  161|      0|            break;
  162|      0|        case EbtAtomicUint:
  ------------------
  |  Branch (162:9): [True: 0, False: 2.54k]
  ------------------
  163|      0|            message = "can't modify an atomic_uint";
  164|      0|            break;
  165|      0|        case EbtAccStruct:
  ------------------
  |  Branch (165:9): [True: 0, False: 2.54k]
  ------------------
  166|      0|            message = "can't modify accelerationStructureNV";
  167|      0|            break;
  168|      0|        case EbtRayQuery:
  ------------------
  |  Branch (168:9): [True: 0, False: 2.54k]
  ------------------
  169|      0|            message = "can't modify rayQueryEXT";
  170|      0|            break;
  171|      0|        case EbtHitObjectNV:
  ------------------
  |  Branch (171:9): [True: 0, False: 2.54k]
  ------------------
  172|      0|            message = "can't modify hitObjectNV";
  173|      0|            break;
  174|      0|        case EbtHitObjectEXT:
  ------------------
  |  Branch (174:9): [True: 0, False: 2.54k]
  ------------------
  175|      0|            message = "can't modify hitObjectEXT";
  176|      0|            break;
  177|  2.54k|        default:
  ------------------
  |  Branch (177:9): [True: 2.54k, False: 0]
  ------------------
  178|  2.54k|            break;
  179|  2.54k|        }
  180|  2.54k|    }
  181|       |
  182|  2.54k|    if (message == nullptr && binaryNode == nullptr && symNode == nullptr) {
  ------------------
  |  Branch (182:9): [True: 2.54k, False: 0]
  |  Branch (182:31): [True: 2.07k, False: 471]
  |  Branch (182:56): [True: 0, False: 2.07k]
  ------------------
  183|      0|        error(loc, " l-value required", op, "", "");
  184|       |
  185|      0|        return true;
  186|      0|    }
  187|       |
  188|       |    //
  189|       |    // Everything else is okay, no error.
  190|       |    //
  191|  2.54k|    if (message == nullptr)
  ------------------
  |  Branch (191:9): [True: 2.54k, False: 0]
  ------------------
  192|  2.54k|    {
  193|  2.54k|        if (binaryNode) {
  ------------------
  |  Branch (193:13): [True: 471, False: 2.07k]
  ------------------
  194|    471|            switch (binaryNode->getOp()) {
  195|    471|            case EOpIndexDirect:
  ------------------
  |  Branch (195:13): [True: 471, False: 0]
  ------------------
  196|    471|            case EOpIndexIndirect:     // fall through
  ------------------
  |  Branch (196:13): [True: 0, False: 471]
  ------------------
  197|    471|            case EOpIndexDirectStruct: // fall through
  ------------------
  |  Branch (197:13): [True: 0, False: 471]
  ------------------
  198|    471|            case EOpVectorSwizzle:
  ------------------
  |  Branch (198:13): [True: 0, False: 471]
  ------------------
  199|    471|            case EOpMatrixSwizzle:
  ------------------
  |  Branch (199:13): [True: 0, False: 471]
  ------------------
  200|    471|                return lValueErrorCheck(loc, op, binaryNode->getLeft());
  201|      0|            default:
  ------------------
  |  Branch (201:13): [True: 0, False: 471]
  ------------------
  202|      0|                break;
  203|    471|            }
  204|      0|            error(loc, " l-value required", op, "", "");
  205|       |
  206|      0|            return true;
  207|    471|        }
  208|  2.07k|        return false;
  209|  2.54k|    }
  210|       |
  211|       |    //
  212|       |    // If we get here, we have an error and a message.
  213|       |    //
  214|      0|    const TIntermTyped* leftMostTypeNode = TIntermediate::traverseLValueBase(node, true);
  215|       |
  216|      0|    if (symNode)
  ------------------
  |  Branch (216:9): [True: 0, False: 0]
  ------------------
  217|      0|        error(loc, " l-value required", op, "\"%s\" (%s)", symbol, message);
  218|      0|    else
  219|      0|        if (binaryNode && binaryNode->getAsOperator()->getOp() == EOpIndexDirectStruct)
  ------------------
  |  Branch (219:13): [True: 0, False: 0]
  |  Branch (219:27): [True: 0, False: 0]
  ------------------
  220|      0|            if(IsAnonymous(leftMostTypeNode->getAsSymbolNode()->getName()))
  ------------------
  |  Branch (220:16): [True: 0, False: 0]
  ------------------
  221|      0|                error(loc, " l-value required", op, "\"%s\" (%s)", leftMostTypeNode->getAsSymbolNode()->getAccessName().c_str(), message);
  222|      0|            else
  223|      0|                error(loc, " l-value required", op, "\"%s\" (%s)", leftMostTypeNode->getAsSymbolNode()->getName().c_str(), message);
  224|      0|        else
  225|      0|            error(loc, " l-value required", op, "(%s)", message);
  226|       |
  227|      0|    return true;
  228|  2.54k|}
_ZN7glslang17TParseContextBase16rValueErrorCheckERKNS_10TSourceLocEPKcPNS_12TIntermTypedE:
  232|  7.46k|{
  233|  7.46k|    if (! node)
  ------------------
  |  Branch (233:9): [True: 0, False: 7.46k]
  ------------------
  234|      0|        return;
  235|       |
  236|  7.46k|    TIntermBinary* binaryNode = node->getAsBinaryNode();
  237|  7.46k|    const TIntermSymbol* symNode = node->getAsSymbolNode();
  238|       |
  239|  7.46k|    if (node->getQualifier().isWriteOnly()) {
  ------------------
  |  Branch (239:9): [True: 0, False: 7.46k]
  ------------------
  240|      0|        const TIntermTyped* leftMostTypeNode = TIntermediate::traverseLValueBase(node, true);
  241|       |
  242|      0|        if (symNode != nullptr)
  ------------------
  |  Branch (242:13): [True: 0, False: 0]
  ------------------
  243|      0|            error(loc, "can't read from writeonly object: ", op, symNode->getName().c_str());
  244|      0|        else if (binaryNode &&
  ------------------
  |  Branch (244:18): [True: 0, False: 0]
  ------------------
  245|      0|                (binaryNode->getAsOperator()->getOp() == EOpIndexDirectStruct ||
  ------------------
  |  Branch (245:18): [True: 0, False: 0]
  ------------------
  246|      0|                 binaryNode->getAsOperator()->getOp() == EOpIndexDirect))
  ------------------
  |  Branch (246:18): [True: 0, False: 0]
  ------------------
  247|      0|            if(IsAnonymous(leftMostTypeNode->getAsSymbolNode()->getName()))
  ------------------
  |  Branch (247:16): [True: 0, False: 0]
  ------------------
  248|      0|                error(loc, "can't read from writeonly object: ", op, leftMostTypeNode->getAsSymbolNode()->getAccessName().c_str());
  249|      0|            else
  250|      0|                error(loc, "can't read from writeonly object: ", op, leftMostTypeNode->getAsSymbolNode()->getName().c_str());
  251|      0|        else
  252|      0|            error(loc, "can't read from writeonly object: ", op, "");
  253|       |
  254|  7.46k|    } else {
  255|  7.46k|        if (binaryNode) {
  ------------------
  |  Branch (255:13): [True: 0, False: 7.46k]
  ------------------
  256|      0|            switch (binaryNode->getOp()) {
  257|      0|            case EOpIndexDirect:
  ------------------
  |  Branch (257:13): [True: 0, False: 0]
  ------------------
  258|      0|            case EOpIndexIndirect:
  ------------------
  |  Branch (258:13): [True: 0, False: 0]
  ------------------
  259|      0|            case EOpIndexDirectStruct:
  ------------------
  |  Branch (259:13): [True: 0, False: 0]
  ------------------
  260|      0|            case EOpVectorSwizzle:
  ------------------
  |  Branch (260:13): [True: 0, False: 0]
  ------------------
  261|      0|            case EOpMatrixSwizzle:
  ------------------
  |  Branch (261:13): [True: 0, False: 0]
  ------------------
  262|      0|                rValueErrorCheck(loc, op, binaryNode->getLeft());
  263|      0|                break;
  264|      0|            default:
  ------------------
  |  Branch (264:13): [True: 0, False: 0]
  ------------------
  265|      0|                break;
  266|      0|            }
  267|      0|        }
  268|  7.46k|    }
  269|  7.46k|}
_ZN7glslang17TParseContextBase12trackLinkageERNS_7TSymbolE:
  278|  15.4k|{
  279|  15.4k|    if (!parsingBuiltins)
  ------------------
  |  Branch (279:9): [True: 360, False: 15.0k]
  ------------------
  280|    360|        linkageSymbols.push_back(&symbol);
  281|  15.4k|}
_ZN7glslang17TParseContextBase14selectFunctionENS_7TVectorIPKNS_9TFunctionEEERS3_NSt3__18functionIFbRKNS_5TTypeESB_NS_9TOperatorEiEEENS8_IFbSB_SB_SB_EEERb:
  391|    192|{
  392|       |//
  393|       |// Operation
  394|       |//
  395|       |// 1. Prune the input list of candidates down to a list of viable candidates,
  396|       |// where each viable candidate has
  397|       |//
  398|       |//  * at least as many parameters as there are calling arguments, with any
  399|       |//    remaining parameters being optional or having default values
  400|       |//  * each parameter is true under convertible(A, B), where A is the calling
  401|       |//    type for in and B is the formal type, and in addition, for out B is the
  402|       |//    calling type and A is the formal type
  403|       |//
  404|       |// 2. If there are no viable candidates, return with no match.
  405|       |//
  406|       |// 3. If there is only one viable candidate, it is the best match.
  407|       |//
  408|       |// 4. If there are multiple viable candidates, select the first viable candidate
  409|       |// as the incumbent. Compare the incumbent to the next viable candidate, and if
  410|       |// that candidate is better (bullets below), make it the incumbent. Repeat, with
  411|       |// a linear walk through the viable candidate list. The final incumbent will be
  412|       |// returned as the best match. A viable candidate is better than the incumbent if
  413|       |//
  414|       |//  * it has a function argument with a better(...) conversion than the incumbent,
  415|       |//    for all directions needed by in and out
  416|       |//  * the incumbent has no argument with a better(...) conversion then the
  417|       |//    candidate, for either in or out (as needed)
  418|       |//
  419|       |// 5. Check for ambiguity by comparing the best match against all other viable
  420|       |// candidates. If any other viable candidate has a function argument with a
  421|       |// better(...) conversion than the best candidate (for either in or out
  422|       |// directions), return that there was a tie for best.
  423|       |//
  424|       |
  425|    192|    tie = false;
  426|       |
  427|       |    // 1. prune to viable...
  428|    192|    TVector<const TFunction*> viableCandidates;
  429|    192|    for (auto it = candidateList.begin(); it != candidateList.end(); ++it) {
  ------------------
  |  Branch (429:43): [True: 0, False: 192]
  ------------------
  430|      0|        const TFunction& candidate = *(*it);
  431|       |
  432|       |        // to even be a potential match, number of arguments must be >= the number of
  433|       |        // fixed (non-default) parameters, and <= the total (including parameter with defaults).
  434|      0|        if (call.getParamCount() < candidate.getFixedParamCount() ||
  ------------------
  |  Branch (434:13): [True: 0, False: 0]
  ------------------
  435|      0|            (call.getParamCount() > candidate.getParamCount() && !candidate.isVariadic()))
  ------------------
  |  Branch (435:14): [True: 0, False: 0]
  |  Branch (435:66): [True: 0, False: 0]
  ------------------
  436|      0|            continue;
  437|       |
  438|       |        // see if arguments are convertible
  439|      0|        bool viable = true;
  440|       |
  441|       |        // The call can have fewer parameters than the candidate, if some have defaults.
  442|      0|        const int paramCount = std::min(call.getParamCount(), candidate.getParamCount());
  443|      0|        for (int param = 0; param < paramCount; ++param) {
  ------------------
  |  Branch (443:29): [True: 0, False: 0]
  ------------------
  444|      0|            if (candidate[param].type->getQualifier().isParamInput()) {
  ------------------
  |  Branch (444:17): [True: 0, False: 0]
  ------------------
  445|      0|                if (! convertible(*call[param].type, *candidate[param].type, candidate.getBuiltInOp(), param)) {
  ------------------
  |  Branch (445:21): [True: 0, False: 0]
  ------------------
  446|      0|                    viable = false;
  447|      0|                    break;
  448|      0|                }
  449|      0|            }
  450|      0|            if (candidate[param].type->getQualifier().isParamOutput()) {
  ------------------
  |  Branch (450:17): [True: 0, False: 0]
  ------------------
  451|      0|                if (! convertible(*candidate[param].type, *call[param].type, candidate.getBuiltInOp(), param)) {
  ------------------
  |  Branch (451:21): [True: 0, False: 0]
  ------------------
  452|      0|                    viable = false;
  453|      0|                    break;
  454|      0|                }
  455|      0|            }
  456|      0|        }
  457|       |
  458|      0|        if (viable)
  ------------------
  |  Branch (458:13): [True: 0, False: 0]
  ------------------
  459|      0|            viableCandidates.push_back(&candidate);
  460|      0|    }
  461|       |
  462|       |    // 2. none viable...
  463|    192|    if (viableCandidates.size() == 0)
  ------------------
  |  Branch (463:9): [True: 192, False: 0]
  ------------------
  464|    192|        return nullptr;
  465|       |
  466|       |    // 3. only one viable...
  467|      0|    if (viableCandidates.size() == 1)
  ------------------
  |  Branch (467:9): [True: 0, False: 0]
  ------------------
  468|      0|        return viableCandidates.front();
  469|       |
  470|       |    // 4. find best...
  471|      0|    const auto betterParam = [&call, &better](const TFunction& can1, const TFunction& can2) -> bool {
  472|       |        // is call -> can2 better than call -> can1 for any parameter
  473|      0|        bool hasBetterParam = false;
  474|      0|        const int paramCount = std::min({call.getParamCount(), can1.getParamCount(), can2.getParamCount()});
  475|      0|        for (int param = 0; param < paramCount; ++param) {
  476|      0|            if (better(*call[param].type, *can1[param].type, *can2[param].type)) {
  477|      0|                hasBetterParam = true;
  478|      0|                break;
  479|      0|            }
  480|      0|        }
  481|      0|        return hasBetterParam;
  482|      0|    };
  483|       |
  484|      0|    const auto equivalentParams = [&call, &better](const TFunction& can1, const TFunction& can2) -> bool {
  485|       |        // is call -> can2 equivalent to call -> can1 for all the call parameters?
  486|      0|        const int paramCount = std::min({call.getParamCount(), can1.getParamCount(), can2.getParamCount()});
  487|      0|        for (int param = 0; param < paramCount; ++param) {
  488|      0|            if (better(*call[param].type, *can1[param].type, *can2[param].type) ||
  489|      0|                better(*call[param].type, *can2[param].type, *can1[param].type))
  490|      0|                return false;
  491|      0|        }
  492|      0|        return true;
  493|      0|    };
  494|       |
  495|      0|    const auto enabled = [this](const TFunction& candidate) -> bool {
  496|      0|        bool enabled = candidate.getNumExtensions() == 0;
  497|      0|        for (int i = 0; i < candidate.getNumExtensions(); ++i) {
  498|      0|            TExtensionBehavior behavior = getExtensionBehavior(candidate.getExtensions()[i]);
  499|      0|            if (behavior == EBhEnable || behavior == EBhRequire)
  500|      0|                enabled = true;
  501|      0|        }
  502|      0|        return enabled;
  503|      0|    };
  504|       |
  505|      0|    const TFunction* incumbent = viableCandidates.front();
  506|      0|    for (auto it = viableCandidates.begin() + 1; it != viableCandidates.end(); ++it) {
  ------------------
  |  Branch (506:50): [True: 0, False: 0]
  ------------------
  507|      0|        const TFunction& candidate = *(*it);
  508|      0|        if (betterParam(*incumbent, candidate) && ! betterParam(candidate, *incumbent))
  ------------------
  |  Branch (508:13): [True: 0, False: 0]
  |  Branch (508:51): [True: 0, False: 0]
  ------------------
  509|      0|            incumbent = &candidate;
  510|      0|    }
  511|       |
  512|       |    // 5. ambiguity...
  513|      0|    for (auto it = viableCandidates.begin(); it != viableCandidates.end(); ++it) {
  ------------------
  |  Branch (513:46): [True: 0, False: 0]
  ------------------
  514|      0|        if (incumbent == *it)
  ------------------
  |  Branch (514:13): [True: 0, False: 0]
  ------------------
  515|      0|            continue;
  516|      0|        const TFunction& candidate = *(*it);
  517|       |
  518|       |        // In the case of default parameters, it may have an identical initial set, which is
  519|       |        // also ambiguous
  520|      0|        if ((betterParam(*incumbent, candidate) || equivalentParams(*incumbent, candidate)) && enabled(candidate))
  ------------------
  |  Branch (520:14): [True: 0, False: 0]
  |  Branch (520:52): [True: 0, False: 0]
  |  Branch (520:96): [True: 0, False: 0]
  ------------------
  521|      0|            tie = true;
  522|      0|    }
  523|       |
  524|      0|    return incumbent;
  525|      0|}
_ZN7glslang17TParseContextBase20parseSwizzleSelectorERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEEiRNS_17TSwizzleSelectorsIiEE:
  535|    582|{
  536|       |    // Too long?
  537|    582|    if (compString.size() > MaxSwizzleSelectors)
  ------------------
  |  Branch (537:9): [True: 0, False: 582]
  ------------------
  538|      0|        error(loc, "vector swizzle too long", compString.c_str(), "");
  539|       |
  540|       |    // Use this to test that all swizzle characters are from the same swizzle-namespace-set
  541|    582|    enum {
  542|    582|        exyzw,
  543|    582|        ergba,
  544|    582|        estpq,
  545|    582|        ebadswizzle,
  546|    582|    } fieldSet[MaxSwizzleSelectors];
  547|       |
  548|       |    // Decode the swizzle string.
  549|    582|    int size = std::min(MaxSwizzleSelectors, (int)compString.size());
  550|  1.29k|    for (int i = 0; i < size; ++i) {
  ------------------
  |  Branch (550:21): [True: 711, False: 582]
  ------------------
  551|    711|        switch (compString[i])  {
  552|    582|        case 'x':
  ------------------
  |  Branch (552:9): [True: 582, False: 129]
  ------------------
  553|    582|            selector.push_back(0);
  554|    582|            fieldSet[i] = exyzw;
  555|    582|            break;
  556|      0|        case 'r':
  ------------------
  |  Branch (556:9): [True: 0, False: 711]
  ------------------
  557|      0|            selector.push_back(0);
  558|      0|            fieldSet[i] = ergba;
  559|      0|            break;
  560|      0|        case 's':
  ------------------
  |  Branch (560:9): [True: 0, False: 711]
  ------------------
  561|      0|            selector.push_back(0);
  562|      0|            fieldSet[i] = estpq;
  563|      0|            break;
  564|       |
  565|     93|        case 'y':
  ------------------
  |  Branch (565:9): [True: 93, False: 618]
  ------------------
  566|     93|            selector.push_back(1);
  567|     93|            fieldSet[i] = exyzw;
  568|     93|            break;
  569|      0|        case 'g':
  ------------------
  |  Branch (569:9): [True: 0, False: 711]
  ------------------
  570|      0|            selector.push_back(1);
  571|      0|            fieldSet[i] = ergba;
  572|      0|            break;
  573|      0|        case 't':
  ------------------
  |  Branch (573:9): [True: 0, False: 711]
  ------------------
  574|      0|            selector.push_back(1);
  575|      0|            fieldSet[i] = estpq;
  576|      0|            break;
  577|       |
  578|     36|        case 'z':
  ------------------
  |  Branch (578:9): [True: 36, False: 675]
  ------------------
  579|     36|            selector.push_back(2);
  580|     36|            fieldSet[i] = exyzw;
  581|     36|            break;
  582|      0|        case 'b':
  ------------------
  |  Branch (582:9): [True: 0, False: 711]
  ------------------
  583|      0|            selector.push_back(2);
  584|      0|            fieldSet[i] = ergba;
  585|      0|            break;
  586|      0|        case 'p':
  ------------------
  |  Branch (586:9): [True: 0, False: 711]
  ------------------
  587|      0|            selector.push_back(2);
  588|      0|            fieldSet[i] = estpq;
  589|      0|            break;
  590|       |
  591|      0|        case 'w':
  ------------------
  |  Branch (591:9): [True: 0, False: 711]
  ------------------
  592|      0|            selector.push_back(3);
  593|      0|            fieldSet[i] = exyzw;
  594|      0|            break;
  595|      0|        case 'a':
  ------------------
  |  Branch (595:9): [True: 0, False: 711]
  ------------------
  596|      0|            selector.push_back(3);
  597|      0|            fieldSet[i] = ergba;
  598|      0|            break;
  599|      0|        case 'q':
  ------------------
  |  Branch (599:9): [True: 0, False: 711]
  ------------------
  600|      0|            selector.push_back(3);
  601|      0|            fieldSet[i] = estpq;
  602|      0|            break;
  603|       |
  604|      0|        default:
  ------------------
  |  Branch (604:9): [True: 0, False: 711]
  ------------------
  605|      0|            fieldSet[i] = ebadswizzle;
  606|      0|            break;
  607|    711|        }
  608|    711|    }
  609|       |
  610|       |    // Additional error checking.
  611|  1.29k|    for (int i = 0; i < selector.size(); ++i) {
  ------------------
  |  Branch (611:21): [True: 711, False: 582]
  ------------------
  612|    711|        if (fieldSet[i] == ebadswizzle) {
  ------------------
  |  Branch (612:13): [True: 0, False: 711]
  ------------------
  613|      0|            error(loc, "unknown swizzle selection", compString.c_str(), "");
  614|      0|            selector.resize(i);
  615|      0|            break;
  616|      0|        }
  617|       |
  618|    711|        if (selector[i] >= vecSize) {
  ------------------
  |  Branch (618:13): [True: 0, False: 711]
  ------------------
  619|      0|            error(loc, "vector swizzle selection out of range",  compString.c_str(), "");
  620|      0|            selector.resize(i);
  621|      0|            break;
  622|      0|        }
  623|       |
  624|    711|        if (i > 0 && fieldSet[i] != fieldSet[i-1]) {
  ------------------
  |  Branch (624:13): [True: 129, False: 582]
  |  Branch (624:22): [True: 0, False: 129]
  ------------------
  625|      0|            error(loc, "vector swizzle selectors not from the same set", compString.c_str(), "");
  626|      0|            selector.resize(i);
  627|      0|            break;
  628|      0|        }
  629|    711|    }
  630|       |
  631|       |    // Ensure it is valid.
  632|    582|    if (selector.size() == 0)
  ------------------
  |  Branch (632:9): [True: 0, False: 582]
  ------------------
  633|      0|        selector.push_back(0);
  634|    582|}
_ZN7glslang17TParseContextBase6finishEv:
  754|    676|{
  755|    676|    if (parsingBuiltins)
  ------------------
  |  Branch (755:9): [True: 654, False: 22]
  ------------------
  756|    654|        return;
  757|       |
  758|     22|    for (const TString& relaxedSymbol : relaxedSymbols)
  ------------------
  |  Branch (758:39): [True: 0, False: 22]
  ------------------
  759|      0|    {
  760|      0|        TSymbol* symbol = symbolTable.find(relaxedSymbol);
  761|      0|        TType& type = symbol->getWritableType();
  762|      0|        for (const TTypeLoc& typeLoc : *type.getStruct())
  ------------------
  |  Branch (762:38): [True: 0, False: 0]
  ------------------
  763|      0|        {
  764|      0|            if (typeLoc.type->isOpaque())
  ------------------
  |  Branch (764:17): [True: 0, False: 0]
  ------------------
  765|      0|            {
  766|      0|                typeLoc.type->getSampler() = TSampler{};
  767|      0|                typeLoc.type->setBasicType(EbtInt);
  768|      0|                TString fieldName("/*");
  769|      0|                fieldName.append(typeLoc.type->getFieldName());
  770|      0|                fieldName.append("*/");
  771|      0|                typeLoc.type->setFieldName(fieldName);
  772|      0|            }
  773|      0|        }
  774|      0|    }
  775|       |
  776|       |    // Transfer the linkage symbols to AST nodes, preserving order.
  777|     22|    TIntermAggregate* linkage = new TIntermAggregate;
  778|    382|    for (auto i = linkageSymbols.begin(); i != linkageSymbols.end(); ++i)
  ------------------
  |  Branch (778:43): [True: 360, False: 22]
  ------------------
  779|    360|        intermediate.addSymbolLinkageNode(linkage, **i);
  780|     22|    intermediate.addSymbolLinkageNodes(linkage, getLanguage(), symbolTable);
  781|     22|}

_ZN7glslang13TParseContextC2ERNS_12TSymbolTableERNS_13TIntermediateEbi8EProfileRKNS_10SpvVersionE11EShLanguageR9TInfoSinkb11EShMessagesPKNSt3__112basic_stringIcNSD_11char_traitsIcEENS_14pool_allocatorIcEEEE:
   60|    722|            TParseContextBase(symbolTable, interm, parsingBuiltins, version, profile, spvVersion, language,
   61|    722|                              infoSink, forwardCompatible, messages, entryPoint),
   62|    722|            inMain(false),
   63|    722|            blockName(nullptr),
   64|    722|            limits(resources.limits),
   65|    722|            atomicUintOffsets(nullptr), anyIndexLimits(false),
   66|    722|            khrDerivativeLayoutQualifierSpecified(false)
   67|    722|{
   68|       |    // decide whether precision qualifiers should be ignored or respected
   69|    722|    if (isEsProfile() || spvVersion.vulkan > 0) {
  ------------------
  |  Branch (69:9): [True: 0, False: 722]
  |  Branch (69:26): [True: 722, False: 0]
  ------------------
   70|    722|        precisionManager.respectPrecisionQualifiers();
   71|    722|        if (! parsingBuiltins && language == EShLangFragment && !isEsProfile() && spvVersion.vulkan > 0)
  ------------------
  |  Branch (71:13): [True: 115, False: 607]
  |  Branch (71:34): [True: 0, False: 115]
  |  Branch (71:65): [True: 0, False: 0]
  |  Branch (71:83): [True: 0, False: 0]
  ------------------
   72|      0|            precisionManager.warnAboutDefaults();
   73|    722|    }
   74|       |
   75|    722|    setPrecisionDefaults();
   76|       |
   77|    722|    globalUniformDefaults.clear();
   78|    722|    globalUniformDefaults.layoutMatrix = ElmColumnMajor;
   79|    722|    globalUniformDefaults.layoutPacking = spvVersion.spv != 0 ? ElpStd140 : ElpShared;
  ------------------
  |  Branch (79:43): [True: 722, False: 0]
  ------------------
   80|       |
   81|    722|    globalBufferDefaults.clear();
   82|    722|    globalBufferDefaults.layoutMatrix = ElmColumnMajor;
   83|    722|    globalBufferDefaults.layoutPacking = spvVersion.spv != 0 ? ElpStd430 : ElpShared;
  ------------------
  |  Branch (83:42): [True: 722, False: 0]
  ------------------
   84|       |
   85|    722|    globalInputDefaults.clear();
   86|    722|    globalOutputDefaults.clear();
   87|       |
   88|    722|    globalSharedDefaults.clear();
   89|    722|    globalSharedDefaults.layoutMatrix = ElmColumnMajor;
   90|    722|    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|    722|    if (language == EShLangVertex ||
  ------------------
  |  Branch (95:9): [True: 438, False: 284]
  ------------------
   96|    284|        language == EShLangTessControl ||
  ------------------
  |  Branch (96:9): [True: 32, False: 252]
  ------------------
   97|    252|        language == EShLangTessEvaluation ||
  ------------------
  |  Branch (97:9): [True: 20, False: 232]
  ------------------
   98|    232|        language == EShLangGeometry)
  ------------------
  |  Branch (98:9): [True: 18, False: 214]
  ------------------
   99|    508|        globalOutputDefaults.layoutXfbBuffer = 0;
  100|       |
  101|    722|    if (language == EShLangGeometry)
  ------------------
  |  Branch (101:9): [True: 18, False: 704]
  ------------------
  102|     18|        globalOutputDefaults.layoutStream = 0;
  103|       |
  104|    722|    if (entryPoint != nullptr && entryPoint->size() > 0 && *entryPoint != "main")
  ------------------
  |  Branch (104:9): [True: 722, False: 0]
  |  Branch (104:34): [True: 0, False: 722]
  |  Branch (104:60): [True: 0, False: 0]
  ------------------
  105|      0|        infoSink.info.message(EPrefixError, "Source entry point must be \"main\"");
  106|    722|}
_ZN7glslang13TParseContextD2Ev:
  109|    722|{
  110|    722|    delete [] atomicUintOffsets;
  111|    722|}
_ZN7glslang13TParseContext20setPrecisionDefaultsEv:
  116|    722|{
  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|  28.8k|    for (int type = 0; type < EbtNumTypes; ++type)
  ------------------
  |  Branch (122:24): [True: 28.1k, False: 722]
  ------------------
  123|  28.1k|        defaultPrecision[type] = EpqNone;
  124|       |
  125|  8.11M|    for (int type = 0; type < maxSamplerIndex; ++type)
  ------------------
  |  Branch (125:24): [True: 8.10M, False: 722]
  ------------------
  126|  8.10M|        defaultSamplerPrecision[type] = EpqNone;
  127|       |
  128|       |    // replace with real precision defaults for those that have them
  129|    722|    if (obeyPrecisionQualifiers()) {
  ------------------
  |  Branch (129:9): [True: 722, False: 0]
  ------------------
  130|    722|        if (isEsProfile()) {
  ------------------
  |  Branch (130:13): [True: 0, False: 722]
  ------------------
  131|       |            // Most don't have defaults, a few default to lowp.
  132|      0|            TSampler sampler;
  133|      0|            sampler.set(EbtFloat, Esd2D);
  134|      0|            defaultSamplerPrecision[computeSamplerTypeIndex(sampler)] = EpqLow;
  135|      0|            sampler.set(EbtFloat, EsdCube);
  136|      0|            defaultSamplerPrecision[computeSamplerTypeIndex(sampler)] = EpqLow;
  137|      0|            sampler.set(EbtFloat, Esd2D);
  138|      0|            sampler.setExternal(true);
  139|      0|            defaultSamplerPrecision[computeSamplerTypeIndex(sampler)] = EpqLow;
  140|      0|        }
  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|    722|        if (! parsingBuiltins) {
  ------------------
  |  Branch (146:13): [True: 115, False: 607]
  ------------------
  147|    115|            if (isEsProfile() && language == EShLangFragment) {
  ------------------
  |  Branch (147:17): [True: 0, False: 115]
  |  Branch (147:34): [True: 0, False: 0]
  ------------------
  148|      0|                defaultPrecision[EbtInt] = EpqMedium;
  149|      0|                defaultPrecision[EbtUint] = EpqMedium;
  150|    115|            } else {
  151|    115|                defaultPrecision[EbtInt] = EpqHigh;
  152|    115|                defaultPrecision[EbtUint] = EpqHigh;
  153|    115|                defaultPrecision[EbtFloat] = EpqHigh;
  154|    115|            }
  155|       |
  156|    115|            if (!isEsProfile()) {
  ------------------
  |  Branch (156:17): [True: 115, False: 0]
  ------------------
  157|       |                // Non-ES profile
  158|       |                // All sampler precisions default to highp.
  159|  1.29M|                for (int type = 0; type < maxSamplerIndex; ++type)
  ------------------
  |  Branch (159:36): [True: 1.29M, False: 115]
  ------------------
  160|  1.29M|                    defaultSamplerPrecision[type] = EpqHigh;
  161|    115|            }
  162|    115|        }
  163|       |
  164|    722|        defaultPrecision[EbtSampler] = EpqLow;
  165|    722|        defaultPrecision[EbtAtomicUint] = EpqHigh;
  166|    722|    }
  167|    722|}
_ZN7glslang13TParseContext9setLimitsERK16TBuiltInResource:
  170|    115|{
  171|    115|    resources = r;
  172|    115|    intermediate.setLimits(r);
  173|       |
  174|    115|    anyIndexLimits = ! limits.generalAttributeMatrixVectorIndexing ||
  ------------------
  |  Branch (174:22): [True: 0, False: 115]
  ------------------
  175|    115|                     ! limits.generalConstantMatrixVectorIndexing ||
  ------------------
  |  Branch (175:22): [True: 0, False: 115]
  ------------------
  176|    115|                     ! limits.generalSamplerIndexing ||
  ------------------
  |  Branch (176:22): [True: 0, False: 115]
  ------------------
  177|    115|                     ! limits.generalUniformIndexing ||
  ------------------
  |  Branch (177:22): [True: 0, False: 115]
  ------------------
  178|    115|                     ! limits.generalVariableIndexing ||
  ------------------
  |  Branch (178:22): [True: 0, False: 115]
  ------------------
  179|    115|                     ! limits.generalVaryingIndexing;
  ------------------
  |  Branch (179:22): [True: 0, False: 115]
  ------------------
  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|    115|    atomicUintOffsets = new int[resources.maxAtomicCounterBindings];
  186|    230|    for (int b = 0; b < resources.maxAtomicCounterBindings; ++b)
  ------------------
  |  Branch (186:21): [True: 115, False: 115]
  ------------------
  187|    115|        atomicUintOffsets[b] = 0;
  188|    115|}
_ZN7glslang13TParseContext18parseShaderStringsERNS_10TPpContextERNS_13TInputScannerEb:
  198|    621|{
  199|    621|    currentScanner = &input;
  200|    621|    ppContext.setInput(input, versionWillBeError);
  201|    621|    yyparse(this);
  202|       |
  203|    621|    finish();
  204|       |
  205|    621|    return numErrors == 0;
  206|    621|}
_ZN7glslang13TParseContext11parserErrorEPKc:
  213|     23|{
  214|     23|    if (! getScanner()->atEndOfInput() || numErrors == 0)
  ------------------
  |  Branch (214:9): [True: 11, False: 12]
  |  Branch (214:43): [True: 0, False: 12]
  ------------------
  215|     11|        error(getCurrentLoc(), "", "", s, "");
  216|     12|    else
  217|     12|        error(getCurrentLoc(), "compilation terminated", "", "");
  218|     23|}
_ZN7glslang13TParseContext14handleVariableERKNS_10TSourceLocEPNS_7TSymbolEPKNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEE:
  470|  10.9k|{
  471|  10.9k|    TIntermTyped* node = nullptr;
  472|       |
  473|       |    // Error check for requiring specific extensions present.
  474|  10.9k|    if (symbol && symbol->getNumExtensions())
  ------------------
  |  Branch (474:9): [True: 8.78k, False: 2.19k]
  |  Branch (474:19): [True: 0, False: 8.78k]
  ------------------
  475|      0|        requireExtensions(loc, symbol->getNumExtensions(), symbol->getExtensions(), symbol->getName().c_str());
  476|       |
  477|  10.9k|    if (symbol && symbol->isReadOnly()) {
  ------------------
  |  Branch (477:9): [True: 8.78k, False: 2.19k]
  |  Branch (477:19): [True: 0, False: 8.78k]
  ------------------
  478|       |        // All shared things containing an unsized array must be copied up
  479|       |        // on first use, so that all future references will share its array structure,
  480|       |        // so that editing the implicit size will effect all nodes consuming it,
  481|       |        // and so that editing the implicit size won't change the shared one.
  482|       |        //
  483|       |        // If this is a variable or a block, check it and all it contains, but if this
  484|       |        // is a member of an anonymous block, check the whole block, as the whole block
  485|       |        // will need to be copied up if it contains an unsized array.
  486|       |        //
  487|       |        // This check is being done before the block-name check further down, so guard
  488|       |        // for that too.
  489|      0|        if (!symbol->getType().isUnusableName()) {
  ------------------
  |  Branch (489:13): [True: 0, False: 0]
  ------------------
  490|      0|            if (symbol->getType().containsUnsizedArray() ||
  ------------------
  |  Branch (490:17): [True: 0, False: 0]
  ------------------
  491|      0|                (symbol->getAsAnonMember() &&
  ------------------
  |  Branch (491:18): [True: 0, False: 0]
  ------------------
  492|      0|                 symbol->getAsAnonMember()->getAnonContainer().getType().containsUnsizedArray()))
  ------------------
  |  Branch (492:18): [True: 0, False: 0]
  ------------------
  493|      0|                makeEditable(symbol);
  494|      0|        }
  495|      0|    }
  496|       |
  497|  10.9k|    const TVariable* variable;
  498|  10.9k|    const TAnonMember* anon = symbol ? symbol->getAsAnonMember() : nullptr;
  ------------------
  |  Branch (498:31): [True: 8.78k, False: 2.19k]
  ------------------
  499|  10.9k|    if (anon) {
  ------------------
  |  Branch (499:9): [True: 0, False: 10.9k]
  ------------------
  500|       |        // It was a member of an anonymous container.
  501|       |
  502|       |        // Create a subtree for its dereference.
  503|      0|        variable = anon->getAnonContainer().getAsVariable();
  504|      0|        TIntermTyped* container = intermediate.addSymbol(*variable, loc);
  505|      0|        TIntermTyped* constNode = intermediate.addConstantUnion(anon->getMemberNumber(), loc);
  506|      0|        node = intermediate.addIndex(EOpIndexDirectStruct, container, constNode, loc);
  507|       |
  508|      0|        node->setType(*(*variable->getType().getStruct())[anon->getMemberNumber()].type);
  509|      0|        if (node->getType().hiddenMember())
  ------------------
  |  Branch (509:13): [True: 0, False: 0]
  ------------------
  510|      0|            error(loc, "member of nameless block was not redeclared", string->c_str(), "");
  511|  10.9k|    } else {
  512|       |        // Not a member of an anonymous container.
  513|       |
  514|       |        // The symbol table search was done in the lexical phase.
  515|       |        // See if it was a variable.
  516|  10.9k|        variable = symbol ? symbol->getAsVariable() : nullptr;
  ------------------
  |  Branch (516:20): [True: 8.78k, False: 2.19k]
  ------------------
  517|  10.9k|        if (variable) {
  ------------------
  |  Branch (517:13): [True: 8.78k, False: 2.19k]
  ------------------
  518|  8.78k|            if (variable->getType().isUnusableName()) {
  ------------------
  |  Branch (518:17): [True: 0, False: 8.78k]
  ------------------
  519|      0|                error(loc, "cannot be used (maybe an instance name is needed)", string->c_str(), "");
  520|      0|                variable = nullptr;
  521|      0|            }
  522|       |
  523|  8.78k|            if (language == EShLangMesh && variable) {
  ------------------
  |  Branch (523:17): [True: 0, False: 8.78k]
  |  Branch (523:44): [True: 0, False: 0]
  ------------------
  524|      0|                TLayoutGeometry primitiveType = intermediate.getOutputPrimitive();
  525|      0|                if ((variable->getMangledName() == "gl_PrimitiveTriangleIndicesEXT" && primitiveType != ElgTriangles) ||
  ------------------
  |  Branch (525:22): [True: 0, False: 0]
  |  Branch (525:88): [True: 0, False: 0]
  ------------------
  526|      0|                    (variable->getMangledName() == "gl_PrimitiveLineIndicesEXT" && primitiveType != ElgLines) ||
  ------------------
  |  Branch (526:22): [True: 0, False: 0]
  |  Branch (526:84): [True: 0, False: 0]
  ------------------
  527|      0|                    (variable->getMangledName() == "gl_PrimitivePointIndicesEXT" && primitiveType != ElgPoints)) {
  ------------------
  |  Branch (527:22): [True: 0, False: 0]
  |  Branch (527:85): [True: 0, False: 0]
  ------------------
  528|      0|                    error(loc, "cannot be used (output primitive type mismatch)", string->c_str(), "");
  529|      0|                    variable = nullptr;
  530|      0|                }
  531|      0|            }
  532|  8.78k|        } else {
  533|  2.19k|            if (symbol)
  ------------------
  |  Branch (533:17): [True: 0, False: 2.19k]
  ------------------
  534|      0|                error(loc, "variable name expected", string->c_str(), "");
  535|  2.19k|        }
  536|       |
  537|       |        // Recovery, if it wasn't found or was not a variable.
  538|  10.9k|        if (! variable) {
  ------------------
  |  Branch (538:13): [True: 2.19k, False: 8.78k]
  ------------------
  539|  2.19k|            bool builtIn = false;
  540|  2.19k|            TVector<const TFunction*> candidateList;
  541|  2.19k|            symbolTable.findFunctionNameList(*string + "(", candidateList, builtIn);
  542|       |
  543|       |            // If it's a function, pass the name/mangledName
  544|  2.19k|            if (!candidateList.empty() && !builtIn) {
  ------------------
  |  Branch (544:17): [True: 1.99k, False: 195]
  |  Branch (544:43): [True: 147, False: 1.84k]
  ------------------
  545|    147|                variable = new TVariable(&candidateList[0]->getName(), &candidateList[0]->getMangledName(), TType(EbtFunction));
  546|  2.04k|            } else {
  547|  2.04k|                variable = new TVariable(string, TType(EbtVoid));
  548|  2.04k|            }
  549|  2.19k|        }
  550|       |
  551|       |        // Track use of gl_RayFlagsForceOpacityMicromap2StateEXT before the front-end
  552|       |        // constant fold loses the name. Referencing this built-in is the GLSL-level
  553|       |        // signal that the SPIR-V RayFlags bit ForceOpacityMicromap2StateKHR (0x400)
  554|       |        // will reach a trace / ray-query call, which requires the
  555|       |        // RayTracingOpacityMicromapEXT capability.
  556|  10.9k|        if (variable->getName() == "gl_RayFlagsForceOpacityMicromap2StateEXT")
  ------------------
  |  Branch (556:13): [True: 0, False: 10.9k]
  ------------------
  557|      0|            intermediate.setUsesOpacityMicromap2StateFlag();
  558|       |
  559|  10.9k|        if (variable->getType().getQualifier().isFrontEndConstant())
  ------------------
  |  Branch (559:13): [True: 751, False: 10.2k]
  ------------------
  560|    751|            node = intermediate.addConstantUnion(variable->getConstArray(), variable->getType(), loc);
  561|  10.2k|        else
  562|  10.2k|            node = intermediate.addSymbol(*variable, loc);
  563|  10.9k|    }
  564|       |
  565|  10.9k|    if (variable->getType().getQualifier().isIo())
  ------------------
  |  Branch (565:9): [True: 5.62k, False: 5.35k]
  ------------------
  566|  5.62k|        intermediate.addIoAccessed(*string);
  567|       |
  568|  10.9k|    if (variable->getType().isReference() &&
  ------------------
  |  Branch (568:9): [True: 0, False: 10.9k]
  ------------------
  569|      0|        variable->getType().getQualifier().bufferReferenceNeedsVulkanMemoryModel()) {
  ------------------
  |  Branch (569:9): [True: 0, False: 0]
  ------------------
  570|      0|        intermediate.setUseVulkanMemoryModel();
  571|      0|    }
  572|       |
  573|  10.9k|    return node;
  574|  10.9k|}
_ZNK7glslang13TParseContext15isIoResizeArrayERKNS_5TTypeE:
  773|    107|{
  774|    107|    return type.isArray() &&
  ------------------
  |  Branch (774:12): [True: 65, False: 42]
  ------------------
  775|     65|           ((language == EShLangGeometry    && type.getQualifier().storage == EvqVaryingIn) ||
  ------------------
  |  Branch (775:14): [True: 10, False: 55]
  |  Branch (775:48): [True: 10, False: 0]
  ------------------
  776|     55|            (language == EShLangTessControl && type.getQualifier().storage == EvqVaryingOut &&
  ------------------
  |  Branch (776:14): [True: 33, False: 22]
  |  Branch (776:48): [True: 16, False: 17]
  ------------------
  777|     16|                ! type.getQualifier().patch) ||
  ------------------
  |  Branch (777:17): [True: 16, False: 0]
  ------------------
  778|     39|            (language == EShLangFragment && type.getQualifier().storage == EvqVaryingIn &&
  ------------------
  |  Branch (778:14): [True: 0, False: 39]
  |  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|     39|            (language == EShLangMesh && type.getQualifier().storage == EvqVaryingOut &&
  ------------------
  |  Branch (780:14): [True: 20, False: 19]
  |  Branch (780:41): [True: 20, False: 0]
  ------------------
  781|     20|                !type.getQualifier().perTaskNV));
  ------------------
  |  Branch (781:17): [True: 20, False: 0]
  ------------------
  782|    107|}
_ZN7glslang13TParseContext14fixIoArraySizeERKNS_10TSourceLocERNS_5TTypeE:
  786|     61|{
  787|     61|    if (! type.isArray() || type.getQualifier().patch || symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (787:9): [True: 42, False: 19]
  |  Branch (787:29): [True: 0, False: 19]
  |  Branch (787:58): [True: 10, False: 9]
  ------------------
  788|     52|        return;
  789|       |
  790|     61|    assert(! isIoResizeArray(type));
  791|       |
  792|      9|    if (type.getQualifier().storage != EvqVaryingIn || type.getQualifier().patch)
  ------------------
  |  Branch (792:9): [True: 9, False: 0]
  |  Branch (792:56): [True: 0, False: 0]
  ------------------
  793|      9|        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|  15.0k|{
  809|  15.0k|    if (! type.isArray() && ! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (809:9): [True: 15.0k, False: 0]
  |  Branch (809:29): [True: 591, False: 14.4k]
  ------------------
  810|    591|        if (type.getQualifier().isArrayedIo(language) && !type.getQualifier().layoutPassthrough)
  ------------------
  |  Branch (810:13): [True: 72, False: 519]
  |  Branch (810:58): [True: 72, False: 0]
  ------------------
  811|     72|            error(loc, "type must be an array:", type.getStorageQualifierString(), identifier.c_str());
  812|    591|    }
  813|  15.0k|}
_ZN7glslang13TParseContext24checkIoArraysConsistencyERKNS_10TSourceLocEb:
  842|     46|{
  843|     46|    int requiredSize = 0;
  844|     46|    TString featureString;
  845|     46|    size_t listSize = ioArraySymbolResizeList.size();
  846|     46|    size_t i = 0;
  847|       |
  848|       |    // If tailOnly = true, only check the last array symbol in the list.
  849|     46|    if (tailOnly) {
  ------------------
  |  Branch (849:9): [True: 46, False: 0]
  ------------------
  850|     46|        i = listSize - 1;
  851|     46|    }
  852|     46|    for (bool firstIteration = true; i < listSize; ++i) {
  ------------------
  |  Branch (852:38): [True: 46, False: 0]
  ------------------
  853|     46|        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|     46|        if (firstIteration || (language == EShLangMesh)) {
  ------------------
  |  Branch (857:13): [True: 46, False: 0]
  |  Branch (857:31): [True: 0, False: 0]
  ------------------
  858|     46|            requiredSize = getIoArrayImplicitSize(type.getQualifier(), &featureString);
  859|     46|            if (requiredSize == 0)
  ------------------
  |  Branch (859:17): [True: 46, False: 0]
  ------------------
  860|     46|                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|     46|}
_ZNK7glslang13TParseContext22getIoArrayImplicitSizeERKNS_10TQualifierEPNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEE:
  870|     46|{
  871|     46|    int expectedSize = 0;
  872|     46|    TString str = "unknown";
  873|     46|    unsigned int maxVertices = intermediate.getVertices() != TQualifier::layoutNotSet ? intermediate.getVertices() : 0;
  ------------------
  |  Branch (873:32): [True: 0, False: 46]
  ------------------
  874|       |
  875|     46|    if (language == EShLangGeometry) {
  ------------------
  |  Branch (875:9): [True: 10, False: 36]
  ------------------
  876|     10|        expectedSize = TQualifier::mapGeometryToSize(intermediate.getInputPrimitive());
  877|     10|        str = TQualifier::getGeometryString(intermediate.getInputPrimitive());
  878|     10|    }
  879|     36|    else if (language == EShLangTessControl) {
  ------------------
  |  Branch (879:14): [True: 16, False: 20]
  ------------------
  880|     16|        expectedSize = maxVertices;
  881|     16|        str = "vertices";
  882|     20|    } else if (language == EShLangFragment) {
  ------------------
  |  Branch (882:16): [True: 0, False: 20]
  ------------------
  883|       |        // Number of vertices for Fragment shader is always three.
  884|      0|        expectedSize = 3;
  885|      0|        str = "vertices";
  886|     20|    } else if (language == EShLangMesh) {
  ------------------
  |  Branch (886:16): [True: 20, False: 0]
  ------------------
  887|     20|        unsigned int maxPrimitives =
  888|     20|            intermediate.getPrimitives() != TQualifier::layoutNotSet ? intermediate.getPrimitives() : 0;
  ------------------
  |  Branch (888:13): [True: 0, False: 20]
  ------------------
  889|     20|        if (qualifier.builtIn == EbvPrimitiveIndicesNV) {
  ------------------
  |  Branch (889:13): [True: 0, False: 20]
  ------------------
  890|      0|            expectedSize = maxPrimitives * TQualifier::mapGeometryToSize(intermediate.getOutputPrimitive());
  891|      0|            str = "max_primitives*";
  892|      0|            str += TQualifier::getGeometryString(intermediate.getOutputPrimitive());
  893|      0|        }
  894|     20|        else if (qualifier.builtIn == EbvPrimitiveTriangleIndicesEXT || qualifier.builtIn == EbvPrimitiveLineIndicesEXT ||
  ------------------
  |  Branch (894:18): [True: 0, False: 20]
  |  Branch (894:73): [True: 0, False: 20]
  ------------------
  895|     20|                 qualifier.builtIn == EbvPrimitivePointIndicesEXT) {
  ------------------
  |  Branch (895:18): [True: 0, False: 20]
  ------------------
  896|      0|            expectedSize = maxPrimitives;
  897|      0|            str = "max_primitives";
  898|      0|        }
  899|     20|        else if (qualifier.isPerPrimitive()) {
  ------------------
  |  Branch (899:18): [True: 10, False: 10]
  ------------------
  900|     10|            expectedSize = maxPrimitives;
  901|     10|            str = "max_primitives";
  902|     10|        }
  903|     10|        else {
  904|     10|            expectedSize = maxVertices;
  905|     10|            str = "max_vertices";
  906|     10|        }
  907|     20|    }
  908|     46|    if (featureString)
  ------------------
  |  Branch (908:9): [True: 46, False: 0]
  ------------------
  909|     46|        *featureString = str;
  910|     46|    return expectedSize;
  911|     46|}
_ZN7glslang13TParseContext16handleBinaryMathERKNS_10TSourceLocEPKcNS_9TOperatorEPNS_12TIntermTypedES8_:
  936|      3|{
  937|      3|    rValueErrorCheck(loc, str, left->getAsTyped());
  938|      3|    rValueErrorCheck(loc, str, right->getAsTyped());
  939|       |
  940|      3|    bool allowed = true;
  941|      3|    switch (op) {
  942|       |    // TODO: Bring more source language-specific checks up from intermediate.cpp
  943|       |    // to the specific parse helpers for that source language.
  944|      0|    case EOpLessThan:
  ------------------
  |  Branch (944:5): [True: 0, False: 3]
  ------------------
  945|      0|    case EOpGreaterThan:
  ------------------
  |  Branch (945:5): [True: 0, False: 3]
  ------------------
  946|      0|    case EOpLessThanEqual:
  ------------------
  |  Branch (946:5): [True: 0, False: 3]
  ------------------
  947|      0|    case EOpGreaterThanEqual:
  ------------------
  |  Branch (947:5): [True: 0, False: 3]
  ------------------
  948|      0|        if (! left->isScalar() || ! right->isScalar())
  ------------------
  |  Branch (948:13): [True: 0, False: 0]
  |  Branch (948:35): [True: 0, False: 0]
  ------------------
  949|      0|            allowed = false;
  950|      0|        break;
  951|      3|    default:
  ------------------
  |  Branch (951:5): [True: 3, False: 0]
  ------------------
  952|      3|        break;
  953|      3|    }
  954|       |
  955|      3|    if (((left->getType().contains16BitFloat() || right->getType().contains16BitFloat()) && !float16Arithmetic()) ||
  ------------------
  |  Branch (955:11): [True: 0, False: 3]
  |  Branch (955:51): [True: 0, False: 3]
  |  Branch (955:93): [True: 0, False: 0]
  ------------------
  956|      3|        ((left->getType().contains16BitInt() || right->getType().contains16BitInt()) && !int16Arithmetic()) ||
  ------------------
  |  Branch (956:11): [True: 0, False: 3]
  |  Branch (956:49): [True: 0, False: 3]
  |  Branch (956:89): [True: 0, False: 0]
  ------------------
  957|      3|        ((left->getType().contains8BitInt() || right->getType().contains8BitInt()) && !int8Arithmetic()) ||
  ------------------
  |  Branch (957:11): [True: 0, False: 3]
  |  Branch (957:48): [True: 0, False: 3]
  |  Branch (957:87): [True: 0, False: 0]
  ------------------
  958|      3|        (left->getType().containsBFloat16() || right->getType().containsBFloat16()) ||
  ------------------
  |  Branch (958:10): [True: 0, False: 3]
  |  Branch (958:48): [True: 0, False: 3]
  ------------------
  959|      3|        (left->getType().contains8BitFloat() || right->getType().contains8BitFloat()) ||
  ------------------
  |  Branch (959:10): [True: 0, False: 3]
  |  Branch (959:49): [True: 0, False: 3]
  ------------------
  960|      3|        (left->getType().containsOcpMicroscalingFloat() || right->getType().containsOcpMicroscalingFloat())) {
  ------------------
  |  Branch (960:10): [True: 0, False: 3]
  |  Branch (960:60): [True: 0, False: 3]
  ------------------
  961|      0|        allowed = false;
  962|      0|    }
  963|       |
  964|      3|    TIntermTyped* result = nullptr;
  965|      3|    if (allowed) {
  ------------------
  |  Branch (965:9): [True: 3, False: 0]
  ------------------
  966|      3|        if ((left->isReference() || right->isReference()))
  ------------------
  |  Branch (966:14): [True: 0, False: 3]
  |  Branch (966:37): [True: 0, False: 3]
  ------------------
  967|      0|            requireExtensions(loc, 1, &E_GL_EXT_buffer_reference2, "buffer reference math");
  968|      3|        result = intermediate.addBinaryMath(op, left, right, loc);
  969|      3|    }
  970|       |
  971|      3|    if (result == nullptr) {
  ------------------
  |  Branch (971:9): [True: 0, False: 3]
  ------------------
  972|      0|        bool enhanced = intermediate.getEnhancedMsgs();
  973|      0|        binaryOpError(loc, str, left->getCompleteString(enhanced), right->getCompleteString(enhanced));
  974|      0|    }
  975|       |
  976|      3|    return result;
  977|      3|}
_ZN7glslang13TParseContext15handleUnaryMathERKNS_10TSourceLocEPKcNS_9TOperatorEPNS_12TIntermTypedE:
  981|    118|{
  982|    118|    rValueErrorCheck(loc, str, childNode);
  983|       |
  984|    118|    bool allowed = true;
  985|    118|    if ((childNode->getType().contains16BitFloat() && !float16Arithmetic()) ||
  ------------------
  |  Branch (985:10): [True: 0, False: 118]
  |  Branch (985:55): [True: 0, False: 0]
  ------------------
  986|    118|        (childNode->getType().contains16BitInt() && !int16Arithmetic()) ||
  ------------------
  |  Branch (986:10): [True: 0, False: 118]
  |  Branch (986:53): [True: 0, False: 0]
  ------------------
  987|    118|        (childNode->getType().contains8BitInt() && !int8Arithmetic()) ||
  ------------------
  |  Branch (987:10): [True: 0, False: 118]
  |  Branch (987:52): [True: 0, False: 0]
  ------------------
  988|    118|        (childNode->getType().containsBFloat16()) ||
  ------------------
  |  Branch (988:9): [True: 0, False: 118]
  ------------------
  989|    118|        (childNode->getType().contains8BitFloat()) ||
  ------------------
  |  Branch (989:9): [True: 0, False: 118]
  ------------------
  990|    118|        (childNode->getType().containsOcpMicroscalingFloat())) {
  ------------------
  |  Branch (990:9): [True: 0, False: 118]
  ------------------
  991|      0|        allowed = false;
  992|      0|    }
  993|       |
  994|    118|    TIntermTyped* result = nullptr;
  995|    118|    if (allowed)
  ------------------
  |  Branch (995:9): [True: 118, False: 0]
  ------------------
  996|    118|        result = intermediate.addUnaryMath(op, childNode, loc);
  997|       |
  998|    118|    if (result)
  ------------------
  |  Branch (998:9): [True: 118, False: 0]
  ------------------
  999|    118|        return result;
 1000|      0|    else {
 1001|      0|        bool enhanced = intermediate.getEnhancedMsgs();
 1002|      0|        unaryOpError(loc, str, childNode->getCompleteString(enhanced));
 1003|      0|    }
 1004|       |
 1005|      0|    return childNode;
 1006|    118|}
_ZN7glslang13TParseContext20handleDotDereferenceERKNS_10TSourceLocEPNS_12TIntermTypedERKNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 1012|    582|{
 1013|    582|    variableCheck(base);
 1014|       |
 1015|       |    //
 1016|       |    // .length() can't be resolved until we later see the function-calling syntax.
 1017|       |    // Save away the name in the AST for now.  Processing is completed in
 1018|       |    // handleLengthMethod().
 1019|       |    //
 1020|    582|    if (field == "length" || field == "length64") {
  ------------------
  |  Branch (1020:9): [True: 0, False: 582]
  |  Branch (1020:30): [True: 0, False: 582]
  ------------------
 1021|      0|        if (base->isArray()) {
  ------------------
  |  Branch (1021:13): [True: 0, False: 0]
  ------------------
 1022|      0|            profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, (TString(".") + field).c_str());
 1023|      0|            profileRequires(loc, EEsProfile, 300, nullptr, (TString(".") + field).c_str());
 1024|      0|        } else if (base->isVector() || base->isMatrix()) {
  ------------------
  |  Branch (1024:20): [True: 0, False: 0]
  |  Branch (1024:40): [True: 0, False: 0]
  ------------------
 1025|      0|            const char* feature = ".length() on vectors and matrices";
 1026|      0|            requireProfile(loc, ~EEsProfile, feature);
 1027|      0|            profileRequires(loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, feature);
 1028|      0|        } else if (!base->getType().isCoopMat() && !base->getType().isCoopVecOrLongVector()) {
  ------------------
  |  Branch (1028:20): [True: 0, False: 0]
  |  Branch (1028:52): [True: 0, False: 0]
  ------------------
 1029|      0|            bool enhanced = intermediate.getEnhancedMsgs();
 1030|      0|            error(loc, "does not operate on this type:", field.c_str(), base->getType().getCompleteString(enhanced).c_str());
 1031|      0|            return base;
 1032|      0|        }
 1033|       |
 1034|      0|        if (field == "length") {
  ------------------
  |  Branch (1034:13): [True: 0, False: 0]
  ------------------
 1035|      0|            return intermediate.addMethod(base, TType(EbtInt), &field, loc);
 1036|      0|        } else {
 1037|      0|            requireExtensions(loc, 1, &E_GL_EXT_shader_64bit_indexing, "length64");
 1038|      0|            return intermediate.addMethod(base, TType(EbtInt64), &field, loc);
 1039|      0|        }
 1040|      0|    }
 1041|       |
 1042|       |    // It's not .length() if we get to here.
 1043|       |
 1044|    582|    if (base->isArray()) {
  ------------------
  |  Branch (1044:9): [True: 0, False: 582]
  ------------------
 1045|      0|        error(loc, "cannot apply to an array:", ".", field.c_str());
 1046|       |
 1047|      0|        return base;
 1048|      0|    }
 1049|       |
 1050|    582|    if (base->getType().isCoopMat()) {
  ------------------
  |  Branch (1050:9): [True: 0, False: 582]
  ------------------
 1051|      0|        error(loc, "cannot apply to a cooperative matrix type:", ".", field.c_str());
 1052|      0|        return base;
 1053|      0|    }
 1054|       |
 1055|       |    // It's neither an array nor .length() if we get here,
 1056|       |    // leaving swizzles and struct/block dereferences.
 1057|       |
 1058|    582|    TIntermTyped* result = base;
 1059|    582|    if ((base->isVector() || base->isScalar()) &&
  ------------------
  |  Branch (1059:10): [True: 582, False: 0]
  |  Branch (1059:30): [True: 0, False: 0]
  ------------------
 1060|    582|        (base->isFloatingDomain() || base->isIntegerDomain() || base->getBasicType() == EbtBool)) {
  ------------------
  |  Branch (1060:10): [True: 474, False: 108]
  |  Branch (1060:38): [True: 108, False: 0]
  |  Branch (1060:65): [True: 0, False: 0]
  ------------------
 1061|    582|        result = handleDotSwizzle(loc, base, field);
 1062|    582|    } else if (base->isStruct() || base->isReference()) {
  ------------------
  |  Branch (1062:16): [True: 0, False: 0]
  |  Branch (1062:36): [True: 0, False: 0]
  ------------------
 1063|      0|        const TTypeList* fields = base->isReference() ?
  ------------------
  |  Branch (1063:35): [True: 0, False: 0]
  ------------------
 1064|      0|                                  base->getType().getReferentType()->getStruct() :
 1065|      0|                                  base->getType().getStruct();
 1066|      0|        bool fieldFound = false;
 1067|      0|        int member;
 1068|      0|        for (member = 0; member < (int)fields->size(); ++member) {
  ------------------
  |  Branch (1068:26): [True: 0, False: 0]
  ------------------
 1069|      0|            if ((*fields)[member].type->getFieldName() == field) {
  ------------------
  |  Branch (1069:17): [True: 0, False: 0]
  ------------------
 1070|      0|                fieldFound = true;
 1071|      0|                break;
 1072|      0|            }
 1073|      0|        }
 1074|       |
 1075|      0|        if (fieldFound) {
  ------------------
  |  Branch (1075:13): [True: 0, False: 0]
  ------------------
 1076|      0|            if (spvVersion.vulkan != 0 && spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (1076:17): [True: 0, False: 0]
  |  Branch (1076:43): [True: 0, False: 0]
  ------------------
 1077|      0|                result = vkRelaxedRemapDotDereference(loc, *base, *(*fields)[member].type, field);
 1078|       |
 1079|      0|            if (result == base)
  ------------------
  |  Branch (1079:17): [True: 0, False: 0]
  ------------------
 1080|      0|            {
 1081|      0|                if (base->getType().getQualifier().isFrontEndConstant())
  ------------------
  |  Branch (1081:21): [True: 0, False: 0]
  ------------------
 1082|      0|                    result = intermediate.foldDereference(base, member, loc);
 1083|      0|                else {
 1084|      0|                    blockMemberExtensionCheck(loc, base, member, field);
 1085|      0|                    TIntermTyped* index = intermediate.addConstantUnion(member, loc);
 1086|      0|                    result = intermediate.addIndex(EOpIndexDirectStruct, base, index, loc);
 1087|      0|                    result->setType(*(*fields)[member].type);
 1088|      0|                    if ((*fields)[member].type->getQualifier().isIo())
  ------------------
  |  Branch (1088:25): [True: 0, False: 0]
  ------------------
 1089|      0|                        intermediate.addIoAccessed(field);
 1090|      0|                }
 1091|      0|            }
 1092|       |
 1093|      0|            inheritMemoryQualifiers(base->getQualifier(), result->getWritableType().getQualifier());
 1094|      0|        } else {
 1095|      0|            auto baseSymbol = base;
 1096|      0|            while (baseSymbol->getAsSymbolNode() == nullptr) {
  ------------------
  |  Branch (1096:20): [True: 0, False: 0]
  ------------------
 1097|      0|                auto binaryNode = baseSymbol->getAsBinaryNode();
 1098|      0|                if (binaryNode == nullptr) break;
  ------------------
  |  Branch (1098:21): [True: 0, False: 0]
  ------------------
 1099|      0|                baseSymbol = binaryNode->getLeft();
 1100|      0|            }
 1101|      0|            if (baseSymbol->getAsSymbolNode() != nullptr) {
  ------------------
  |  Branch (1101:17): [True: 0, False: 0]
  ------------------
 1102|      0|                TString structName;
 1103|      0|                structName.append("\'").append(baseSymbol->getAsSymbolNode()->getName().c_str()).append("\'");
 1104|      0|                error(loc, "no such field in structure", field.c_str(), structName.c_str());
 1105|      0|            } else {
 1106|      0|                error(loc, "no such field in structure", field.c_str(), "");
 1107|      0|            }
 1108|      0|        }
 1109|      0|    } else
 1110|      0|        error(loc, "does not apply to this type:", field.c_str(),
 1111|      0|          base->getType().getCompleteString(intermediate.getEnhancedMsgs()).c_str());
 1112|       |
 1113|       |    // Propagate noContraction up the dereference chain
 1114|    582|    if (base->getQualifier().isNoContraction())
  ------------------
  |  Branch (1114:9): [True: 0, False: 582]
  ------------------
 1115|      0|        result->getWritableType().getQualifier().setNoContraction();
 1116|       |
 1117|       |    // Propagate nonuniform
 1118|    582|    if (base->getQualifier().isNonUniform())
  ------------------
  |  Branch (1118:9): [True: 0, False: 582]
  ------------------
 1119|      0|        result->getWritableType().getQualifier().nonUniform = true;
 1120|       |
 1121|    582|    return result;
 1122|    582|}
_ZN7glslang13TParseContext16handleDotSwizzleERKNS_10TSourceLocEPNS_12TIntermTypedERKNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 1128|    582|{
 1129|    582|    TIntermTyped* result = base;
 1130|    582|    if (base->isScalar()) {
  ------------------
  |  Branch (1130:9): [True: 0, False: 582]
  ------------------
 1131|      0|        const char* dotFeature = "scalar swizzle";
 1132|      0|        requireProfile(loc, ~EEsProfile, dotFeature);
 1133|      0|        profileRequires(loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, dotFeature);
 1134|      0|    }
 1135|       |
 1136|    582|    TSwizzleSelectors<TVectorSelector> selectors;
 1137|    582|    parseSwizzleSelector(loc, field, base->getVectorSize(), selectors);
 1138|       |
 1139|    582|    if (base->isVector() && selectors.size() != 1 && base->getType().contains16BitFloat())
  ------------------
  |  Branch (1139:9): [True: 582, False: 0]
  |  Branch (1139:29): [True: 93, False: 489]
  |  Branch (1139:54): [True: 0, False: 93]
  ------------------
 1140|      0|        requireFloat16Arithmetic(loc, ".", "can't swizzle types containing float16");
 1141|    582|    if (base->isVector() && selectors.size() != 1 && base->getType().contains16BitInt())
  ------------------
  |  Branch (1141:9): [True: 582, False: 0]
  |  Branch (1141:29): [True: 93, False: 489]
  |  Branch (1141:54): [True: 0, False: 93]
  ------------------
 1142|      0|        requireInt16Arithmetic(loc, ".", "can't swizzle types containing (u)int16");
 1143|    582|    if (base->isVector() && selectors.size() != 1 && base->getType().contains8BitInt())
  ------------------
  |  Branch (1143:9): [True: 582, False: 0]
  |  Branch (1143:29): [True: 93, False: 489]
  |  Branch (1143:54): [True: 0, False: 93]
  ------------------
 1144|      0|        requireInt8Arithmetic(loc, ".", "can't swizzle types containing (u)int8");
 1145|       |
 1146|    582|    if (base->isScalar()) {
  ------------------
  |  Branch (1146:9): [True: 0, False: 582]
  ------------------
 1147|      0|        if (selectors.size() == 1)
  ------------------
  |  Branch (1147:13): [True: 0, False: 0]
  ------------------
 1148|      0|            return result;
 1149|      0|        else {
 1150|      0|            TType type(base->getBasicType(), EvqTemporary, selectors.size());
 1151|       |            // Swizzle operations propagate specialization-constantness
 1152|      0|            if (base->getQualifier().isSpecConstant())
  ------------------
  |  Branch (1152:17): [True: 0, False: 0]
  ------------------
 1153|      0|                type.getQualifier().makeSpecConstant();
 1154|      0|            return addConstructor(loc, base, type);
 1155|      0|        }
 1156|      0|    }
 1157|       |
 1158|    582|    if (base->getType().getQualifier().isFrontEndConstant()) {
  ------------------
  |  Branch (1158:9): [True: 0, False: 582]
  ------------------
 1159|      0|	rValueErrorCheck(loc, ".", base);
 1160|      0|        result = intermediate.foldSwizzle(base, selectors, loc);
 1161|    582|    } else {
 1162|    582|        if (selectors.size() == 1) {
  ------------------
  |  Branch (1162:13): [True: 489, False: 93]
  ------------------
 1163|    489|            TIntermTyped* index = intermediate.addConstantUnion(selectors[0], loc);
 1164|    489|            result = intermediate.addIndex(EOpIndexDirect, base, index, loc);
 1165|    489|            result->setType(TType(base->getBasicType(), EvqTemporary, base->getType().getQualifier().precision));
 1166|    489|        } else {
 1167|     93|            TIntermTyped* index = intermediate.addSwizzle(selectors, loc);
 1168|     93|            result = intermediate.addIndex(EOpVectorSwizzle, base, index, loc);
 1169|     93|            result->setType(TType(base->getBasicType(), EvqTemporary, base->getType().getQualifier().precision, selectors.size()));
 1170|     93|        }
 1171|       |        // Swizzle operations propagate specialization-constantness
 1172|    582|        if (base->getType().getQualifier().isSpecConstant())
  ------------------
  |  Branch (1172:13): [True: 0, False: 582]
  ------------------
 1173|      0|            result->getWritableType().getQualifier().makeSpecConstant();
 1174|    582|    }
 1175|       |
 1176|    582|    return result;
 1177|    582|}
_ZN7glslang13TParseContext24handleFunctionDeclaratorERKNS_10TSourceLocERNS_9TFunctionEb:
 1226|   548k|{
 1227|       |    // ES can't declare prototypes inside functions
 1228|   548k|    if (! symbolTable.atGlobalLevel())
  ------------------
  |  Branch (1228:9): [True: 0, False: 548k]
  ------------------
 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|   548k|    bool builtIn;
 1244|   548k|    TSymbol* symbol = symbolTable.find(function.getMangledName(), &builtIn);
 1245|   548k|    if (symbol && symbol->getAsFunction() && builtIn)
  ------------------
  |  Branch (1245:9): [True: 3.39k, False: 544k]
  |  Branch (1245:19): [True: 3.39k, False: 0]
  |  Branch (1245:46): [True: 3.39k, False: 0]
  ------------------
 1246|  3.39k|        requireProfile(loc, ~EEsProfile, "redefinition of built-in function");
 1247|       |    // Check the validity of using spirv_literal qualifier
 1248|  1.82M|    for (int i = 0; i < function.getParamCount(); ++i) {
  ------------------
  |  Branch (1248:21): [True: 1.27M, False: 548k]
  ------------------
 1249|  1.27M|        if (function[i].type->getQualifier().isSpirvLiteral() && function.getBuiltInOp() != EOpSpirvInst)
  ------------------
  |  Branch (1249:13): [True: 0, False: 1.27M]
  |  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|  1.27M|    }
 1253|       |
 1254|       |    // For function declaration with SPIR-V instruction qualifier, always ignore the built-in function and
 1255|       |    // respect this redeclared one.
 1256|   548k|    if (symbol && builtIn && function.getBuiltInOp() == EOpSpirvInst)
  ------------------
  |  Branch (1256:9): [True: 3.39k, False: 544k]
  |  Branch (1256:19): [True: 3.39k, False: 0]
  |  Branch (1256:30): [True: 0, False: 3.39k]
  ------------------
 1257|      0|        symbol = nullptr;
 1258|   548k|    const TFunction* prevDec = symbol ? symbol->getAsFunction() : nullptr;
  ------------------
  |  Branch (1258:32): [True: 3.39k, False: 544k]
  ------------------
 1259|   548k|    if (prevDec) {
  ------------------
  |  Branch (1259:9): [True: 3.39k, False: 544k]
  ------------------
 1260|  3.39k|        if (prevDec->isPrototyped() && prototype)
  ------------------
  |  Branch (1260:13): [True: 0, False: 3.39k]
  |  Branch (1260:40): [True: 0, False: 0]
  ------------------
 1261|      0|            profileRequires(loc, EEsProfile, 300, nullptr, "multiple prototypes for same function");
 1262|  3.39k|        if (prevDec->getSpirvInstruction() != function.getSpirvInstruction()) {
  ------------------
  |  Branch (1262:13): [True: 0, False: 3.39k]
  ------------------
 1263|      0|            error(loc, "overloaded functions must have the same qualifiers", function.getName().c_str(),
 1264|      0|                  "spirv_instruction");
 1265|      0|        }
 1266|  3.39k|        bool parameterTypesDiffer = false;
 1267|  10.6k|        for (int i = 0; i < prevDec->getParamCount(); ++i) {
  ------------------
  |  Branch (1267:25): [True: 7.26k, False: 3.39k]
  ------------------
 1268|  7.26k|            if ((*prevDec)[i].type->getQualifier().storage != function[i].type->getQualifier().storage)
  ------------------
  |  Branch (1268:17): [True: 0, False: 7.26k]
  ------------------
 1269|      0|                error(loc, "overloaded functions must have the same parameter storage qualifiers for argument", function[i].type->getStorageQualifierString(), "%d", i+1);
 1270|       |
 1271|  7.26k|            if ((*prevDec)[i].type->getQualifier().precision != function[i].type->getQualifier().precision)
  ------------------
  |  Branch (1271:17): [True: 0, False: 7.26k]
  ------------------
 1272|      0|                error(loc, "overloaded functions must have the same parameter precision qualifiers for argument", function[i].type->getPrecisionQualifierString(), "%d", i+1);
 1273|       |
 1274|  7.26k|            if (*(*prevDec)[i].type != *function[i].type)
  ------------------
  |  Branch (1274:17): [True: 0, False: 7.26k]
  ------------------
 1275|      0|                parameterTypesDiffer = true;
 1276|  7.26k|        }
 1277|  3.39k|        if (!parameterTypesDiffer && prevDec->getType() != function.getType())
  ------------------
  |  Branch (1277:13): [True: 3.39k, False: 0]
  |  Branch (1277:38): [True: 0, False: 3.39k]
  ------------------
 1278|      0|            error(loc, "overloaded functions must have the same return type", function.getName().c_str(), "");
 1279|       |
 1280|  3.39k|        function.addFunctionControl(prevDec->getFunctionControl());
 1281|  3.39k|        unsigned functionControl = function.getFunctionControl();
 1282|  3.39k|        if (function.hasIncompatibleFunctionControl())
  ------------------
  |  Branch (1282:13): [True: 0, False: 3.39k]
  ------------------
 1283|      0|            error(loc, "function attributes are incompatible", function.getName().c_str(), "");
 1284|  3.39k|        if (!builtIn)
  ------------------
  |  Branch (1284:13): [True: 0, False: 3.39k]
  ------------------
 1285|      0|            symbol->getAsFunction()->setFunctionControl(functionControl);
 1286|  3.39k|    }
 1287|       |
 1288|   548k|    arrayObjectCheck(loc, function.getType(), "array in function return type");
 1289|       |
 1290|   548k|    if (prototype) {
  ------------------
  |  Branch (1290:9): [True: 547k, False: 246]
  ------------------
 1291|       |        // All built-in functions are defined, even though they don't have a body.
 1292|       |        // Count their prototype as a definition instead.
 1293|   547k|        if (symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (1293:13): [True: 547k, False: 0]
  ------------------
 1294|   547k|            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|   547k|    }
 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|   548k|    if (! symbolTable.insert(function))
  ------------------
  |  Branch (1304:9): [True: 0, False: 548k]
  ------------------
 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|   548k|    return &function;
 1313|   548k|}
_ZN7glslang13TParseContext24handleFunctionDefinitionERKNS_10TSourceLocERNS_9TFunctionE:
 1320|    246|{
 1321|    246|    currentCaller = function.getMangledName();
 1322|    246|    TSymbol* symbol = symbolTable.find(function.getMangledName());
 1323|    246|    TFunction* prevDec = symbol ? symbol->getAsFunction() : nullptr;
  ------------------
  |  Branch (1323:26): [True: 246, False: 0]
  ------------------
 1324|       |
 1325|    246|    if (! prevDec)
  ------------------
  |  Branch (1325:9): [True: 0, False: 246]
  ------------------
 1326|      0|        error(loc, "can't find function", function.getName().c_str(), "");
 1327|       |    // Note:  'prevDec' could be 'function' if this is the first time we've seen function
 1328|       |    // as it would have just been put in the symbol table.  Otherwise, we're looking up
 1329|       |    // an earlier occurrence.
 1330|       |
 1331|    246|    if (prevDec && prevDec->isDefined()) {
  ------------------
  |  Branch (1331:9): [True: 246, False: 0]
  |  Branch (1331:20): [True: 0, False: 246]
  ------------------
 1332|       |        // Then this function already has a body.
 1333|      0|        error(loc, "function already has a body", function.getName().c_str(), "");
 1334|      0|    }
 1335|    246|    if (prevDec && ! prevDec->isDefined()) {
  ------------------
  |  Branch (1335:9): [True: 246, False: 0]
  |  Branch (1335:20): [True: 246, False: 0]
  ------------------
 1336|    246|        prevDec->setDefined();
 1337|       |
 1338|       |        // Remember the return type for later checking for RETURN statements.
 1339|    246|        currentFunctionType = &(prevDec->getType());
 1340|    246|    } else
 1341|      0|        currentFunctionType = new TType(EbtVoid);
 1342|    246|    functionReturnsValue = false;
 1343|       |
 1344|       |    // Check for entry point
 1345|    246|    if (function.getName().compare(intermediate.getEntryPointName().c_str()) == 0) {
  ------------------
  |  Branch (1345:9): [True: 3, False: 243]
  ------------------
 1346|      3|        intermediate.setEntryPointMangledName(function.getMangledName().c_str());
 1347|      3|        intermediate.incrementEntryPointCount();
 1348|      3|        inMain = true;
 1349|      3|    } else
 1350|    243|        inMain = false;
 1351|       |
 1352|       |    //
 1353|       |    // Raise error message if main function takes any parameters or returns anything other than void
 1354|       |    //
 1355|    246|    if (inMain) {
  ------------------
  |  Branch (1355:9): [True: 3, False: 243]
  ------------------
 1356|      3|        if (function.getParamCount() > 0)
  ------------------
  |  Branch (1356:13): [True: 0, False: 3]
  ------------------
 1357|      0|            error(loc, "function cannot take any parameter(s)", function.getName().c_str(), "");
 1358|      3|        if (function.getType().getBasicType() != EbtVoid)
  ------------------
  |  Branch (1358:13): [True: 0, False: 3]
  ------------------
 1359|      0|            error(loc, "", function.getType().getBasicTypeString().c_str(), "entry point cannot return a value");
 1360|      3|        if (function.getLinkType() != ELinkNone)
  ------------------
  |  Branch (1360:13): [True: 0, False: 3]
  ------------------
 1361|      0|            error(loc, "main function cannot be exported", "", "");
 1362|      3|    }
 1363|       |
 1364|       |    //
 1365|       |    // New symbol table scope for body of function plus its arguments
 1366|       |    //
 1367|    246|    symbolTable.push();
 1368|       |
 1369|       |    //
 1370|       |    // Insert parameters into the symbol table.
 1371|       |    // If the parameter has no name, it's not an error, just don't insert it
 1372|       |    // (could be used for unused args).
 1373|       |    //
 1374|       |    // Also, accumulate the list of parameters into the HIL, so lower level code
 1375|       |    // knows where to find parameters.
 1376|       |    //
 1377|    246|    TIntermAggregate* paramNodes = new TIntermAggregate;
 1378|    252|    for (int i = 0; i < function.getParamCount(); i++) {
  ------------------
  |  Branch (1378:21): [True: 6, False: 246]
  ------------------
 1379|      6|        TParameter& param = function[i];
 1380|      6|        if (param.name != nullptr) {
  ------------------
  |  Branch (1380:13): [True: 6, False: 0]
  ------------------
 1381|      6|            TVariable *variable = new TVariable(param.name, *param.type);
 1382|       |
 1383|       |            // Insert the parameters with name in the symbol table.
 1384|      6|            if (! symbolTable.insert(*variable))
  ------------------
  |  Branch (1384:17): [True: 0, False: 6]
  ------------------
 1385|      0|                error(loc, "redefinition", variable->getName().c_str(), "");
 1386|      6|            else {
 1387|       |                // Transfer ownership of name pointer to symbol table.
 1388|      6|                param.name = nullptr;
 1389|       |
 1390|       |                // Add the parameter to the HIL
 1391|      6|                paramNodes = intermediate.growAggregate(paramNodes,
 1392|      6|                                                        intermediate.addSymbol(*variable, loc),
 1393|      6|                                                        loc);
 1394|      6|            }
 1395|      6|        } else
 1396|      0|            paramNodes = intermediate.growAggregate(paramNodes, intermediate.addSymbol(*param.type, loc), loc);
 1397|      6|    }
 1398|    246|    paramNodes->setLinkType(function.getLinkType());
 1399|    246|    intermediate.setAggregateOperator(paramNodes, EOpParameters, TType(EbtVoid), loc);
 1400|    246|    loopNestingLevel = 0;
 1401|    246|    statementNestingLevel = 0;
 1402|    246|    controlFlowNestingLevel = 0;
 1403|    246|    postEntryPointReturn = false;
 1404|       |
 1405|    246|    return paramNodes;
 1406|    246|}
_ZN7glslang13TParseContext18handleFunctionCallERKNS_10TSourceLocEPNS_9TFunctionEP11TIntermNode:
 1418|  2.99k|{
 1419|  2.99k|    TIntermTyped* result = nullptr;
 1420|       |
 1421|  2.99k|    if (spvVersion.vulkan != 0 && spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (1421:9): [True: 2.99k, False: 0]
  |  Branch (1421:35): [True: 0, False: 2.99k]
  ------------------
 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|  2.99k|    if (function->getBuiltInOp() == EOpArrayLength)
  ------------------
  |  Branch (1429:9): [True: 0, False: 2.99k]
  ------------------
 1430|      0|        result = handleLengthMethod(loc, function, arguments);
 1431|  2.99k|    else if (function->getBuiltInOp() != EOpNull) {
  ------------------
  |  Branch (1431:14): [True: 806, False: 2.18k]
  ------------------
 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|    806|        TType type(EbtVoid);  // use this to get the type back
 1438|    806|        if (! constructorError(loc, arguments, *function, function->getBuiltInOp(), type)) {
  ------------------
  |  Branch (1438:13): [True: 806, False: 0]
  ------------------
 1439|       |            //
 1440|       |            // It's a constructor, of type 'type'.
 1441|       |            //
 1442|    806|            result = addConstructor(loc, arguments, type);
 1443|    806|            if (result == nullptr)
  ------------------
  |  Branch (1443:17): [True: 0, False: 806]
  ------------------
 1444|      0|                error(loc, "cannot construct with these arguments", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str(), "");
 1445|    806|        }
 1446|  2.18k|    } else {
 1447|       |        //
 1448|       |        // Find it in the symbol table.
 1449|       |        //
 1450|  2.18k|        const TFunction* fnCandidate;
 1451|  2.18k|        bool builtIn {false};
 1452|  2.18k|        fnCandidate = findFunction(loc, *function, builtIn);
 1453|  2.18k|        if (fnCandidate) {
  ------------------
  |  Branch (1453:13): [True: 1.99k, False: 192]
  ------------------
 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|  1.99k|            if (builtIn &&
  ------------------
  |  Branch (1460:17): [True: 1.84k, False: 147]
  ------------------
 1461|  1.84k|                (fnCandidate->getBuiltInOp() == EOpSubgroupQuadAll || fnCandidate->getBuiltInOp() == EOpSubgroupQuadAny))
  ------------------
  |  Branch (1461:18): [True: 0, False: 1.84k]
  |  Branch (1461:71): [True: 0, False: 1.84k]
  ------------------
 1462|      0|                requireExtensions(loc, 1, &E_GL_EXT_shader_quad_control, fnCandidate->getName().c_str());
 1463|       |
 1464|  1.99k|            if (builtIn && fnCandidate->getNumExtensions())
  ------------------
  |  Branch (1464:17): [True: 1.84k, False: 147]
  |  Branch (1464:28): [True: 555, False: 1.29k]
  ------------------
 1465|    555|                requireExtensions(loc, fnCandidate->getNumExtensions(), fnCandidate->getExtensions(), fnCandidate->getName().c_str());
 1466|       |
 1467|  1.99k|            if (builtIn && fnCandidate->getType().contains16BitFloat())
  ------------------
  |  Branch (1467:17): [True: 1.84k, False: 147]
  |  Branch (1467:28): [True: 0, False: 1.84k]
  ------------------
 1468|      0|                requireFloat16Arithmetic(loc, "built-in function", "float16 types can only be in uniform block or buffer storage");
 1469|  1.99k|            if (builtIn && fnCandidate->getType().contains16BitInt())
  ------------------
  |  Branch (1469:17): [True: 1.84k, False: 147]
  |  Branch (1469:28): [True: 0, False: 1.84k]
  ------------------
 1470|      0|                requireInt16Arithmetic(loc, "built-in function", "(u)int16 types can only be in uniform block or buffer storage");
 1471|  1.99k|            if (builtIn && fnCandidate->getType().contains8BitInt())
  ------------------
  |  Branch (1471:17): [True: 1.84k, False: 147]
  |  Branch (1471:28): [True: 0, False: 1.84k]
  ------------------
 1472|      0|                requireInt8Arithmetic(loc, "built-in function", "(u)int8 types can only be in uniform block or buffer storage");
 1473|  1.99k|            if (builtIn && (fnCandidate->getBuiltInOp() == EOpTextureFetch || fnCandidate->getBuiltInOp() == EOpTextureQuerySize)) {
  ------------------
  |  Branch (1473:17): [True: 1.84k, False: 147]
  |  Branch (1473:29): [True: 54, False: 1.79k]
  |  Branch (1473:79): [True: 108, False: 1.68k]
  ------------------
 1474|    162|                if ((*fnCandidate)[0].type->getSampler().isMultiSample() && version <= 140)
  ------------------
  |  Branch (1474:21): [True: 24, False: 138]
  |  Branch (1474:77): [True: 0, False: 24]
  ------------------
 1475|      0|                    requireExtensions(loc, 1, &E_GL_ARB_texture_multisample, fnCandidate->getName().c_str());
 1476|    162|            }
 1477|  1.99k|            bool hasLongVectorArg = false;
 1478|  1.99k|            if (arguments != nullptr) {
  ------------------
  |  Branch (1478:17): [True: 1.85k, False: 144]
  ------------------
 1479|       |                // Make sure qualifications work for these arguments.
 1480|  1.85k|                TIntermAggregate* aggregate = arguments->getAsAggregate();
 1481|  8.34k|                for (int i = 0; i < fnCandidate->getParamCount(); ++i) {
  ------------------
  |  Branch (1481:33): [True: 6.48k, False: 1.85k]
  ------------------
 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|  6.48k|                    if ((*fnCandidate)[i].defaultValue) {
  ------------------
  |  Branch (1485:25): [True: 0, False: 6.48k]
  ------------------
 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|  6.48k|                    TIntermNode* arg = fnCandidate->getParamCount() == 1 ? arguments : (aggregate ? aggregate->getSequence()[i] : arguments);
  ------------------
  |  Branch (1503:40): [True: 123, False: 6.36k]
  |  Branch (1503:89): [True: 6.36k, False: 0]
  ------------------
 1504|  6.48k|                    TQualifier& formalQualifier = (*fnCandidate)[i].type->getQualifier();
 1505|  6.48k|                    if (formalQualifier.isParamOutput()) {
  ------------------
  |  Branch (1505:25): [True: 444, False: 6.04k]
  ------------------
 1506|    444|                        if (lValueErrorCheck(arguments->getLoc(), "assign", arg->getAsTyped()))
  ------------------
  |  Branch (1506:29): [True: 0, False: 444]
  ------------------
 1507|      0|                            error(arguments->getLoc(), "Non-L-value cannot be passed for 'out' or 'inout' parameters.", "out", "");
 1508|    444|                    }
 1509|  6.48k|                    if (formalQualifier.isSpirvLiteral()) {
  ------------------
  |  Branch (1509:25): [True: 0, False: 6.48k]
  ------------------
 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|  6.48k|                    const TType& argType = arg->getAsTyped()->getType();
 1517|  6.48k|                    const TQualifier& argQualifier = argType.getQualifier();
 1518|  6.48k|                    bool containsBindlessSampler = intermediate.getBindlessMode() && argType.containsSampler();
  ------------------
  |  Branch (1518:52): [True: 0, False: 6.48k]
  |  Branch (1518:86): [True: 0, False: 0]
  ------------------
 1519|  6.48k|                    if (argQualifier.isMemory() && !containsBindlessSampler && (argType.containsOpaque() || argType.isReference())) {
  ------------------
  |  Branch (1519:25): [True: 0, False: 6.48k]
  |  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|  6.48k|                    if (!builtIn && argQualifier.getFormat() != formalQualifier.getFormat()) {
  ------------------
  |  Branch (1543:25): [True: 3, False: 6.48k]
  |  Branch (1543:37): [True: 0, False: 3]
  ------------------
 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|  6.48k|                    if (builtIn && arg->getAsTyped()->getType().contains16BitFloat())
  ------------------
  |  Branch (1550:25): [True: 6.48k, False: 3]
  |  Branch (1550:36): [True: 0, False: 6.48k]
  ------------------
 1551|      0|                        requireFloat16Arithmetic(arguments->getLoc(), "built-in function", "float16 types can only be in uniform block or buffer storage");
 1552|  6.48k|                    if (builtIn && arg->getAsTyped()->getType().contains16BitInt())
  ------------------
  |  Branch (1552:25): [True: 6.48k, False: 3]
  |  Branch (1552:36): [True: 0, False: 6.48k]
  ------------------
 1553|      0|                        requireInt16Arithmetic(arguments->getLoc(), "built-in function", "(u)int16 types can only be in uniform block or buffer storage");
 1554|  6.48k|                    if (builtIn && arg->getAsTyped()->getType().contains8BitInt())
  ------------------
  |  Branch (1554:25): [True: 6.48k, False: 3]
  |  Branch (1554:36): [True: 0, False: 6.48k]
  ------------------
 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|  6.48k|                    if (builtIn && fnCandidate->getBuiltInOp() == EOpCooperativeVectorOuterProductAccumulateNV &&
  ------------------
  |  Branch (1558:25): [True: 6.48k, False: 3]
  |  Branch (1558:36): [True: 0, False: 6.48k]
  ------------------
 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|  6.48k|                    if (builtIn && (fnCandidate->getBuiltInOp() == EOpCooperativeVectorLoadNV ||
  ------------------
  |  Branch (1563:25): [True: 6.48k, False: 3]
  |  Branch (1563:37): [True: 0, False: 6.48k]
  ------------------
 1564|  6.48k|                                    fnCandidate->getBuiltInOp() == EOpCooperativeVectorStoreNV) &&
  ------------------
  |  Branch (1564:37): [True: 0, False: 6.48k]
  ------------------
 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|  6.48k|                    if (argType.isLongVector()) {
  ------------------
  |  Branch (1573:25): [True: 0, False: 6.48k]
  ------------------
 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|  6.48k|                }
 1583|       |
 1584|       |                // Convert 'in' arguments
 1585|  1.85k|                addInputArgumentConversions(*fnCandidate, arguments);  // arguments may be modified if it's just a single argument node
 1586|  1.85k|            }
 1587|       |
 1588|  1.99k|            if (builtIn && fnCandidate->getBuiltInOp() != EOpNull) {
  ------------------
  |  Branch (1588:17): [True: 1.84k, False: 147]
  |  Branch (1588:28): [True: 1.84k, False: 0]
  ------------------
 1589|       |                // A function call mapped to a built-in operation.
 1590|  1.84k|                result = handleBuiltInFunctionCall(loc, arguments, *fnCandidate);
 1591|  1.84k|            } else if (fnCandidate->getBuiltInOp() == EOpSpirvInst) {
  ------------------
  |  Branch (1591:24): [True: 0, False: 147]
  ------------------
 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|    147|            } 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|    147|                result = intermediate.setAggregateOperator(arguments, EOpFunctionCall, fnCandidate->getType(), loc);
 1598|    147|                TIntermAggregate* call = result->getAsAggregate();
 1599|    147|                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|    147|                if (! builtIn) {
  ------------------
  |  Branch (1604:21): [True: 147, False: 0]
  ------------------
 1605|    147|                    call->setUserDefined();
 1606|    147|                    if (symbolTable.atGlobalLevel()) {
  ------------------
  |  Branch (1606:25): [True: 0, False: 147]
  ------------------
 1607|      0|                        requireProfile(loc, ~EEsProfile, "calling user function from global scope");
 1608|      0|                        intermediate.addToCallGraph(infoSink, "main(", fnCandidate->getMangledName());
 1609|      0|                    } else
 1610|    147|                        intermediate.addToCallGraph(infoSink, currentCaller, fnCandidate->getMangledName());
 1611|    147|                }
 1612|       |
 1613|    147|                if (builtIn)
  ------------------
  |  Branch (1613:21): [True: 0, False: 147]
  ------------------
 1614|      0|                    nonOpBuiltInCheck(loc, *fnCandidate, *call);
 1615|    147|                else
 1616|    147|                    userFunctionCallCheck(loc, *call);
 1617|    147|            }
 1618|       |
 1619|  1.99k|            if (hasLongVectorArg && fnCandidate->getBuiltInOp() != EOpNull) {
  ------------------
  |  Branch (1619:17): [True: 0, False: 1.99k]
  |  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|  1.99k|            if (result->getAsAggregate()) {
  ------------------
  |  Branch (1628:17): [True: 1.87k, False: 120]
  ------------------
 1629|  1.87k|                TQualifierList& qualifierList = result->getAsAggregate()->getQualifierList();
 1630|  8.24k|                for (int i = 0; i < fnCandidate->getParamCount(); ++i) {
  ------------------
  |  Branch (1630:33): [True: 6.36k, False: 1.87k]
  ------------------
 1631|  6.36k|                    TStorageQualifier qual = (*fnCandidate)[i].type->getQualifier().storage;
 1632|  6.36k|                    qualifierList.push_back(qual);
 1633|  6.36k|                }
 1634|  1.87k|                result = addOutputArgumentConversions(*fnCandidate, *result->getAsAggregate());
 1635|  1.87k|            }
 1636|       |
 1637|  1.99k|            handleCoopMat2FunctionCall(loc, fnCandidate, result, arguments);
 1638|       |
 1639|  1.99k|            handleVector2CoopMatConversionCall(loc, fnCandidate, result, arguments);
 1640|       |
 1641|  1.99k|            if (result->getAsTyped()->getType().isCoopVecOrLongVector() &&
  ------------------
  |  Branch (1641:17): [True: 0, False: 1.99k]
  ------------------
 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|  1.99k|            if (fnCandidate->getBuiltInOp() == EOpConstructSaturated) {
  ------------------
  |  Branch (1649:17): [True: 0, False: 1.99k]
  ------------------
 1650|       |                // result type is taken from the first parameter
 1651|      0|                result->setType(result->getAsAggregate()->getSequence()[0]->getAsTyped()->getType());
 1652|      0|            }
 1653|  1.99k|        }
 1654|  2.18k|    }
 1655|       |
 1656|       |    // generic error recovery
 1657|       |    // TODO: simplification: localize all the error recoveries that look like this, and taking type into account to reduce cascades
 1658|  2.99k|    if (result == nullptr)
  ------------------
  |  Branch (1658:9): [True: 192, False: 2.80k]
  ------------------
 1659|    192|        result = intermediate.addConstantUnion(0.0, EbtFloat, loc);
 1660|       |
 1661|  2.99k|    return result;
 1662|  2.99k|}
_ZN7glslang13TParseContext26handleCoopMat2FunctionCallERKNS_10TSourceLocEPKNS_9TFunctionEPNS_12TIntermTypedEP11TIntermNode:
 1665|  1.99k|{
 1666|       |    // coopMatPerElementNV/EXT are declared with an empty prototype, so overload
 1667|       |    // resolution accepts any argument list. Fewer than the required (result matrix,
 1668|       |    // input matrix, per-element function) arguments is not passed as an aggregate,
 1669|       |    // skips the validation below, and reaches SPIR-V generation, which dereferences
 1670|       |    // operands[0] as the result matrix.
 1671|  1.99k|    if (fnCandidate->getBuiltInOp() == EOpCooperativeMatrixPerElementOpNV) {
  ------------------
  |  Branch (1671:9): [True: 0, False: 1.99k]
  ------------------
 1672|      0|        const TIntermAggregate* aggregate = arguments ? arguments->getAsAggregate() : nullptr;
  ------------------
  |  Branch (1672:45): [True: 0, False: 0]
  ------------------
 1673|      0|        if (aggregate == nullptr || aggregate->getSequence().size() < 3) {
  ------------------
  |  Branch (1673:13): [True: 0, False: 0]
  |  Branch (1673:37): [True: 0, False: 0]
  ------------------
 1674|      0|            error(loc, "expected a result matrix, an input matrix, and a per-element function",
 1675|      0|                  fnCandidate->getName().c_str(), "");
 1676|      0|            return;
 1677|      0|        }
 1678|      0|    }
 1679|       |
 1680|  1.99k|    if (arguments && arguments->getAsAggregate()) {
  ------------------
  |  Branch (1680:9): [True: 1.85k, False: 144]
  |  Branch (1680:22): [True: 1.72k, False: 123]
  ------------------
 1681|  1.72k|        auto &sequence = arguments->getAsAggregate()->getSequence();
 1682|       |
 1683|  1.72k|        if (fnCandidate->getBuiltInOp() == EOpCooperativeMatrixReduceNV && sequence.size() == 4) {
  ------------------
  |  Branch (1683:13): [True: 0, False: 1.72k]
  |  Branch (1683:76): [True: 0, False: 0]
  ------------------
 1684|      0|            static constexpr int CM_UseAcc = 2; // == gl_MatrixUseAccumulator
 1685|      0|            static constexpr int CM_ReduceRow = 1;
 1686|      0|            static constexpr int CM_ReduceColumn = 2;
 1687|      0|            static constexpr int CM_ReduceRowAndColumn = 3;
 1688|      0|            static constexpr int CM_Reduce2x2 = 4;
 1689|       |
 1690|      0|            const TType& resultType = sequence[0]->getAsTyped()->getType();
 1691|      0|            const TType& matrixType = sequence[1]->getAsTyped()->getType();
 1692|       |
 1693|      0|            if (resultType.getBasicType() != matrixType.getBasicType()) {
  ------------------
  |  Branch (1693:17): [True: 0, False: 0]
  ------------------
 1694|      0|                error(loc, "input and result component types must match", fnCandidate->getName().c_str(), "");
 1695|      0|            }
 1696|      0|            if (resultType.getCoopMatKHRuse() != CM_UseAcc || matrixType.getCoopMatKHRuse() != CM_UseAcc) {
  ------------------
  |  Branch (1696:17): [True: 0, False: 0]
  |  Branch (1696:63): [True: 0, False: 0]
  ------------------
 1697|      0|                error(loc, "input and result Use must be Accumulator", fnCandidate->getName().c_str(), "");
 1698|      0|            }
 1699|       |
 1700|      0|            const TTypeParameters* resultParameters = resultType.getTypeParameters();
 1701|      0|            const TTypeParameters* matrixParameters = matrixType.getTypeParameters();
 1702|      0|            const TArraySizes* resultSizes = resultParameters ? resultParameters->arraySizes : nullptr;
  ------------------
  |  Branch (1702:46): [True: 0, False: 0]
  ------------------
 1703|      0|            const TArraySizes* matrixSizes = matrixParameters ? matrixParameters->arraySizes : nullptr;
  ------------------
  |  Branch (1703:46): [True: 0, False: 0]
  ------------------
 1704|      0|            const bool completeTypes = resultSizes && resultSizes->getNumDims() == 4 &&
  ------------------
  |  Branch (1704:40): [True: 0, False: 0]
  |  Branch (1704:55): [True: 0, False: 0]
  ------------------
 1705|      0|                                       matrixSizes && matrixSizes->getNumDims() == 4;
  ------------------
  |  Branch (1705:40): [True: 0, False: 0]
  |  Branch (1705:55): [True: 0, False: 0]
  ------------------
 1706|      0|            const auto knownDimensionMismatch = [](const TArraySizes& result, int resultIndex,
 1707|      0|                                                   const TArraySizes& matrix, int matrixIndex) {
 1708|      0|                return !result.elementEqual(matrix, resultIndex, matrixIndex) &&
 1709|      0|                       result.getDimNode(resultIndex) == nullptr && matrix.getDimNode(matrixIndex) == nullptr;
 1710|      0|            };
 1711|      0|            if (!completeTypes) {
  ------------------
  |  Branch (1711:17): [True: 0, False: 0]
  ------------------
 1712|      0|                error(loc, "incomplete cooperative matrix type parameters", fnCandidate->getName().c_str(), "");
 1713|      0|            } else if (knownDimensionMismatch(*resultSizes, 0, *matrixSizes, 0)) {
  ------------------
  |  Branch (1713:24): [True: 0, False: 0]
  ------------------
 1714|      0|                error(loc, "input and result scopes must match", fnCandidate->getName().c_str(), "");
 1715|      0|            }
 1716|       |
 1717|      0|            const TIntermConstantUnion* maskConstant = sequence[2]->getAsConstantUnion();
 1718|      0|            if (maskConstant == nullptr) {
  ------------------
  |  Branch (1718:17): [True: 0, False: 0]
  ------------------
 1719|      0|                error(loc, "reduceMask must be a constant expression", fnCandidate->getName().c_str(), "");
 1720|      0|            } else {
 1721|      0|                const int mask = maskConstant->getConstArray()[0].getIConst();
 1722|      0|                if (mask != CM_ReduceRow && mask != CM_ReduceColumn &&
  ------------------
  |  Branch (1722:21): [True: 0, False: 0]
  |  Branch (1722:45): [True: 0, False: 0]
  ------------------
 1723|      0|                    mask != CM_ReduceRowAndColumn && mask != CM_Reduce2x2) {
  ------------------
  |  Branch (1723:21): [True: 0, False: 0]
  |  Branch (1723:54): [True: 0, False: 0]
  ------------------
 1724|      0|                    error(loc, "reduceMask must be a valid cooperative matrix reduction value",
 1725|      0|                          fnCandidate->getName().c_str(), "");
 1726|      0|                } else if (completeTypes) {
  ------------------
  |  Branch (1726:28): [True: 0, False: 0]
  ------------------
 1727|      0|                    if (mask == CM_ReduceRow && knownDimensionMismatch(*resultSizes, 1, *matrixSizes, 1)) {
  ------------------
  |  Branch (1727:25): [True: 0, False: 0]
  |  Branch (1727:49): [True: 0, False: 0]
  ------------------
 1728|      0|                        error(loc, "result rows must match input rows for a row reduction",
 1729|      0|                              fnCandidate->getName().c_str(), "");
 1730|      0|                    } else if (mask == CM_ReduceColumn && knownDimensionMismatch(*resultSizes, 2, *matrixSizes, 2)) {
  ------------------
  |  Branch (1730:32): [True: 0, False: 0]
  |  Branch (1730:59): [True: 0, False: 0]
  ------------------
 1731|      0|                        error(loc, "result columns must match input columns for a column reduction",
 1732|      0|                              fnCandidate->getName().c_str(), "");
 1733|      0|                    } else if (mask == CM_Reduce2x2 &&
  ------------------
  |  Branch (1733:32): [True: 0, False: 0]
  ------------------
 1734|      0|                               resultSizes->getDimNode(1) == nullptr && resultSizes->getDimNode(2) == nullptr &&
  ------------------
  |  Branch (1734:32): [True: 0, False: 0]
  |  Branch (1734:73): [True: 0, False: 0]
  ------------------
 1735|      0|                               matrixSizes->getDimNode(1) == nullptr && matrixSizes->getDimNode(2) == nullptr &&
  ------------------
  |  Branch (1735:32): [True: 0, False: 0]
  |  Branch (1735:73): [True: 0, False: 0]
  ------------------
 1736|      0|                               (static_cast<uint64_t>(resultSizes->getDimSize(1)) * 2 !=
  ------------------
  |  Branch (1736:33): [True: 0, False: 0]
  ------------------
 1737|      0|                                    static_cast<uint64_t>(matrixSizes->getDimSize(1)) ||
 1738|      0|                                static_cast<uint64_t>(resultSizes->getDimSize(2)) * 2 !=
  ------------------
  |  Branch (1738:33): [True: 0, False: 0]
  ------------------
 1739|      0|                                    static_cast<uint64_t>(matrixSizes->getDimSize(2)))) {
 1740|      0|                        error(loc, "result rows and columns must be half the input rows and columns for a 2x2 reduction",
 1741|      0|                              fnCandidate->getName().c_str(), "");
 1742|      0|                    }
 1743|      0|                }
 1744|      0|            }
 1745|      0|        }
 1746|       |
 1747|  8.09k|        for (uint32_t i = 0; i < sequence.size(); ++i) {
  ------------------
  |  Branch (1747:30): [True: 6.36k, False: 1.72k]
  ------------------
 1748|  6.36k|            auto param = sequence[i];
 1749|  6.36k|            if (param->getAsTyped()->getBasicType() == EbtFunction) {
  ------------------
  |  Branch (1749:17): [True: 0, False: 6.36k]
  ------------------
 1750|       |                // Add the function to the callgraph
 1751|      0|                intermediate.addToCallGraph(infoSink, currentCaller, param->getAsSymbolNode()->getMangledName());
 1752|       |
 1753|       |                // error checking that all parameters are 'const in'
 1754|      0|                if (fnCandidate->getBuiltInOp() == EOpCooperativeMatrixLoadTensorNV ||
  ------------------
  |  Branch (1754:21): [True: 0, False: 0]
  ------------------
 1755|      0|                    fnCandidate->getBuiltInOp() == EOpCooperativeMatrixReduceNV ||
  ------------------
  |  Branch (1755:21): [True: 0, False: 0]
  ------------------
 1756|      0|                    fnCandidate->getBuiltInOp() == EOpCooperativeMatrixPerElementOpNV) {
  ------------------
  |  Branch (1756:21): [True: 0, False: 0]
  ------------------
 1757|      0|                    const TFunction* func = symbolTable.find(param->getAsSymbolNode()->getMangledName())->getAsFunction();
 1758|      0|                    for (int i = 0; i < func->getParamCount(); ++i) {
  ------------------
  |  Branch (1758:37): [True: 0, False: 0]
  ------------------
 1759|      0|                        const TParameter& arg = (*func)[i];
 1760|      0|                        const TQualifier& formalQualifier = arg.type->getQualifier();
 1761|      0|                        if (formalQualifier.storage != EvqConstReadOnly) {
  ------------------
  |  Branch (1761:29): [True: 0, False: 0]
  ------------------
 1762|      0|                            error(loc, "function parameters must all be qualified 'const in'", param->getAsSymbolNode()->getMangledName().c_str(), "");
 1763|      0|                        }
 1764|      0|                    }
 1765|      0|                }
 1766|       |
 1767|       |
 1768|       |                // error checking reduce function has matching parameters
 1769|      0|                if (fnCandidate->getBuiltInOp() == EOpCooperativeMatrixReduceNV) {
  ------------------
  |  Branch (1769:21): [True: 0, False: 0]
  ------------------
 1770|      0|                    const TFunction* combineOp = symbolTable.find(param->getAsSymbolNode()->getMangledName())->getAsFunction();
 1771|      0|                    const TType& matrixType = sequence[1]->getAsTyped()->getType();
 1772|      0|                    const auto isMatrixComponentType = [&matrixType](const TType& type) {
 1773|      0|                        return type.getBasicType() == matrixType.getBasicType() && type.isScalar() && !type.isCoopMat();
 1774|      0|                    };
 1775|       |
 1776|      0|                    if (combineOp->getParamCount() != 2) {
  ------------------
  |  Branch (1776:25): [True: 0, False: 0]
  ------------------
 1777|      0|                        error(loc, "must have two parameters", param->getAsSymbolNode()->getMangledName().c_str(), "");
 1778|      0|                    }
 1779|       |
 1780|      0|                    for (int i = 0; i < combineOp->getParamCount(); ++i) {
  ------------------
  |  Branch (1780:37): [True: 0, False: 0]
  ------------------
 1781|      0|                        const TParameter& arg = (*combineOp)[i];
 1782|      0|                        if (!isMatrixComponentType(*arg.type)) {
  ------------------
  |  Branch (1782:29): [True: 0, False: 0]
  ------------------
 1783|      0|                            error(loc, "parameter types must match cooperative matrix component type", param->getAsSymbolNode()->getMangledName().c_str(), "");
 1784|      0|                        }
 1785|      0|                    }
 1786|      0|                    if (!isMatrixComponentType(combineOp->getType())) {
  ------------------
  |  Branch (1786:25): [True: 0, False: 0]
  ------------------
 1787|      0|                        error(loc, "return type must match cooperative matrix component type", param->getAsSymbolNode()->getMangledName().c_str(), "");
 1788|      0|                    }
 1789|      0|                }
 1790|       |
 1791|       |                // error checking perelement op has correct parameters
 1792|      0|                if (fnCandidate->getBuiltInOp() == EOpCooperativeMatrixPerElementOpNV) {
  ------------------
  |  Branch (1792:21): [True: 0, False: 0]
  ------------------
 1793|      0|                    const TFunction* elemOp = symbolTable.find(param->getAsSymbolNode()->getMangledName())->getAsFunction();
 1794|      0|                    const TType& matrixType = sequence[1]->getAsTyped()->getType();
 1795|      0|                    const auto isMatrixComponentType = [&matrixType](const TType& type) {
 1796|      0|                        return type.getBasicType() == matrixType.getBasicType() && type.isScalar() && !type.isCoopMat();
 1797|      0|                    };
 1798|       |
 1799|      0|                    if (matrixType != sequence[0]->getAsTyped()->getType()) {
  ------------------
  |  Branch (1799:25): [True: 0, False: 0]
  ------------------
 1800|      0|                        error(loc, "cooperative matrix input and result types must match", "", "");
 1801|      0|                    }
 1802|       |
 1803|      0|                    if (elemOp->getParamCount() < 3) {
  ------------------
  |  Branch (1803:25): [True: 0, False: 0]
  ------------------
 1804|      0|                        error(loc, "not enough parameters", param->getAsSymbolNode()->getMangledName().c_str(), "");
 1805|      0|                    } else if (elemOp->getParamCount() != (int)sequence.size()) {
  ------------------
  |  Branch (1805:32): [True: 0, False: 0]
  ------------------
 1806|      0|                        error(loc, "number of parameters must match call to cooperative matrix per-element operation", param->getAsSymbolNode()->getMangledName().c_str(), "");
 1807|      0|                    } else {
 1808|      0|                        if ((*elemOp)[0].type->getBasicType() != EbtUint || !(*elemOp)[0].type->isScalar() ||
  ------------------
  |  Branch (1808:29): [True: 0, False: 0]
  |  Branch (1808:77): [True: 0, False: 0]
  ------------------
 1809|      0|                            (*elemOp)[0].type->isCoopMat() ||
  ------------------
  |  Branch (1809:29): [True: 0, False: 0]
  ------------------
 1810|      0|                            (*elemOp)[1].type->getBasicType() != EbtUint || !(*elemOp)[1].type->isScalar() ||
  ------------------
  |  Branch (1810:29): [True: 0, False: 0]
  |  Branch (1810:77): [True: 0, False: 0]
  ------------------
 1811|      0|                            (*elemOp)[1].type->isCoopMat()) {
  ------------------
  |  Branch (1811:29): [True: 0, False: 0]
  ------------------
 1812|      0|                            error(loc, "row/column parameters must be uint32_t", param->getAsSymbolNode()->getMangledName().c_str(), "");
 1813|      0|                        }
 1814|       |
 1815|      0|                        const TParameter& matArg = (*elemOp)[2];
 1816|      0|                        if (!isMatrixComponentType(*matArg.type)) {
  ------------------
  |  Branch (1816:29): [True: 0, False: 0]
  ------------------
 1817|      0|                            error(loc, "third parameter must match cooperative matrix component type", param->getAsSymbolNode()->getMangledName().c_str(), "");
 1818|      0|                        }
 1819|       |
 1820|      0|                        for (int i = 3; i < elemOp->getParamCount(); ++i) {
  ------------------
  |  Branch (1820:41): [True: 0, False: 0]
  ------------------
 1821|      0|                            const TParameter& arg = (*elemOp)[i];
 1822|      0|                            const TType& operandType = sequence[i]->getAsTyped()->getType();
 1823|      0|                            if (operandType.isCoopMat()) {
  ------------------
  |  Branch (1823:33): [True: 0, False: 0]
  ------------------
 1824|      0|                                if (operandType != matrixType) {
  ------------------
  |  Branch (1824:37): [True: 0, False: 0]
  ------------------
 1825|      0|                                    error(loc, "optional cooperative matrix types must match the input matrix type",
 1826|      0|                                          param->getAsSymbolNode()->getMangledName().c_str(), "");
 1827|      0|                                }
 1828|      0|                                if (!isMatrixComponentType(*arg.type)) {
  ------------------
  |  Branch (1828:37): [True: 0, False: 0]
  ------------------
 1829|      0|                                    error(loc, "parameters corresponding to cooperative matrices must match the matrix component type",
 1830|      0|                                          param->getAsSymbolNode()->getMangledName().c_str(), "");
 1831|      0|                                }
 1832|      0|                            } else if (operandType != *arg.type) {
  ------------------
  |  Branch (1832:40): [True: 0, False: 0]
  ------------------
 1833|      0|                                error(loc, "parameter types must match or be cooperative matrix component type", param->getAsSymbolNode()->getMangledName().c_str(), "");
 1834|      0|                            }
 1835|      0|                        }
 1836|      0|                        if (!isMatrixComponentType(elemOp->getType())) {
  ------------------
  |  Branch (1836:29): [True: 0, False: 0]
  ------------------
 1837|      0|                            error(loc, "return type must match cooperative matrix component type", param->getAsSymbolNode()->getMangledName().c_str(), "");
 1838|      0|                        }
 1839|      0|                    }
 1840|      0|                }
 1841|      0|            }
 1842|  6.36k|        }
 1843|       |
 1844|       |        // Validate the decode function(s) for coopMatLoadTensorNV.
 1845|       |        //
 1846|       |        //   coopMatLoadTensorNV(mat, buf, off, t [, view] [, decodeFunc [, decodeVectorFunc]])
 1847|       |        //
 1848|       |        // The decode function rules are:
 1849|       |        //   * decodeFunc:        scalar return matching the matrix component type.
 1850|       |        //   * decodeVectorFunc:  optional, requires GL_NV_cooperative_matrix_decode_vector.
 1851|       |        //                        Vector return of the matrix component type with V in {2,4,8}.
 1852|       |        // Each function is validated independently; their parameter lists do
 1853|       |        // not need to match (the buffer_reference type may differ between the
 1854|       |        // two so the shader can type-view the same byte address differently).
 1855|       |        // The non-decode load form (no function args) is allowed and skipped here.
 1856|  1.72k|        if (fnCandidate->getBuiltInOp() == EOpCooperativeMatrixLoadTensorNV) {
  ------------------
  |  Branch (1856:13): [True: 0, False: 1.72k]
  ------------------
 1857|      0|            std::vector<TIntermNode*> funcArgs;
 1858|      0|            for (uint32_t i = 0; i < sequence.size(); ++i) {
  ------------------
  |  Branch (1858:34): [True: 0, False: 0]
  ------------------
 1859|      0|                if (sequence[i]->getAsTyped()->getBasicType() == EbtFunction) {
  ------------------
  |  Branch (1859:21): [True: 0, False: 0]
  ------------------
 1860|      0|                    funcArgs.push_back(sequence[i]);
 1861|      0|                }
 1862|      0|            }
 1863|      0|            assert(funcArgs.size() <= 2);
 1864|       |
 1865|      0|            auto checkBaseShape = [&](const TFunction* fn, const char* name) {
 1866|      0|                if (fn->getParamCount() != 3) {
 1867|      0|                    error(loc, "must have three parameters", name, "");
 1868|      0|                    return;
 1869|      0|                }
 1870|      0|                if ((*fn)[0].type->getBasicType() != EbtReference) {
 1871|      0|                    error(loc, "first parameter must be buffer reference type", name, "");
 1872|      0|                }
 1873|      0|                if ((*fn)[1].type->getBasicType() != EbtUint || (*fn)[2].type->getBasicType() != EbtUint) {
 1874|      0|                    error(loc, "coordinate parameters must be uint32_t", name, "");
 1875|      0|                }
 1876|      0|                if (!(*fn)[1].type->isArray() || !(*fn)[2].type->isArray()) {
 1877|      0|                    error(loc, "coordinate parameters must be uint32_t", name, "");
 1878|      0|                }
 1879|      0|            };
 1880|       |
 1881|      0|            const TType& matType = sequence[0]->getAsTyped()->getType();
 1882|       |
 1883|      0|            if (funcArgs.size() >= 1) {
  ------------------
  |  Branch (1883:17): [True: 0, False: 0]
  ------------------
 1884|      0|                const char* scalarName = funcArgs[0]->getAsSymbolNode()->getMangledName().c_str();
 1885|      0|                const TFunction* scalarFn =
 1886|      0|                    symbolTable.find(funcArgs[0]->getAsSymbolNode()->getMangledName())->getAsFunction();
 1887|      0|                checkBaseShape(scalarFn, scalarName);
 1888|      0|                const TType& retType = scalarFn->getType();
 1889|      0|                if (retType.getBasicType() != matType.getBasicType() ||
  ------------------
  |  Branch (1889:21): [True: 0, False: 0]
  ------------------
 1890|      0|                    retType.isVector() || retType.isLongVector() ||
  ------------------
  |  Branch (1890:21): [True: 0, False: 0]
  |  Branch (1890:43): [True: 0, False: 0]
  ------------------
 1891|      0|                    retType.isArray() || retType.isStruct() || retType.isMatrix()) {
  ------------------
  |  Branch (1891:21): [True: 0, False: 0]
  |  Branch (1891:42): [True: 0, False: 0]
  |  Branch (1891:64): [True: 0, False: 0]
  ------------------
 1892|      0|                    error(loc, "decodeFunc return type must be the cooperative matrix component type (scalar)",
 1893|      0|                          scalarName, "");
 1894|      0|                }
 1895|      0|            }
 1896|       |
 1897|      0|            if (funcArgs.size() == 2) {
  ------------------
  |  Branch (1897:17): [True: 0, False: 0]
  ------------------
 1898|      0|                requireExtensions(loc, 1, &E_GL_NV_cooperative_matrix_decode_vector,
 1899|      0|                                  "coopMatLoadTensorNV decodeVectorFunc argument");
 1900|       |
 1901|      0|                const char* vectorName = funcArgs[1]->getAsSymbolNode()->getMangledName().c_str();
 1902|      0|                const TFunction* vectorFn =
 1903|      0|                    symbolTable.find(funcArgs[1]->getAsSymbolNode()->getMangledName())->getAsFunction();
 1904|      0|                checkBaseShape(vectorFn, vectorName);
 1905|       |
 1906|      0|                const TType& retType = vectorFn->getType();
 1907|      0|                const bool retIsVector = retType.isVector() || retType.isLongVector();
  ------------------
  |  Branch (1907:42): [True: 0, False: 0]
  |  Branch (1907:64): [True: 0, False: 0]
  ------------------
 1908|      0|                if (!retIsVector) {
  ------------------
  |  Branch (1908:21): [True: 0, False: 0]
  ------------------
 1909|      0|                    error(loc, "decodeVectorFunc return type must be a vector of the matrix component type",
 1910|      0|                          vectorName, "");
 1911|      0|                } else {
 1912|      0|                    if (retType.getBasicType() != matType.getBasicType()) {
  ------------------
  |  Branch (1912:25): [True: 0, False: 0]
  ------------------
 1913|      0|                        error(loc, "decodeVectorFunc return type component must match cooperative matrix component type",
 1914|      0|                              vectorName, "");
 1915|      0|                    }
 1916|      0|                    if (!retType.hasSpecConstantVectorComponents()) {
  ------------------
  |  Branch (1916:25): [True: 0, False: 0]
  ------------------
 1917|      0|                        const uint32_t V = retType.isLongVector()
  ------------------
  |  Branch (1917:44): [True: 0, False: 0]
  ------------------
 1918|      0|                            ? static_cast<uint32_t>(retType.getTypeParameters()->arraySizes->getDimSize(0))
 1919|      0|                            : static_cast<uint32_t>(retType.getVectorSize());
 1920|      0|                        if (V != 2 && V != 4 && V != 8) {
  ------------------
  |  Branch (1920:29): [True: 0, False: 0]
  |  Branch (1920:39): [True: 0, False: 0]
  |  Branch (1920:49): [True: 0, False: 0]
  ------------------
 1921|      0|                            error(loc, "decodeVectorFunc return vector length must be 2, 4, or 8",
 1922|      0|                                  vectorName, "");
 1923|      0|                        }
 1924|      0|                    }
 1925|      0|                }
 1926|      0|            }
 1927|      0|        }
 1928|  1.72k|    }
 1929|  1.99k|    if ((result->getAsTyped()->getType().isCoopMat() ||
  ------------------
  |  Branch (1929:10): [True: 0, False: 1.99k]
  ------------------
 1930|  1.99k|         result->getAsTyped()->getType().isTensorLayoutNV() ||
  ------------------
  |  Branch (1930:10): [True: 0, False: 1.99k]
  ------------------
 1931|  1.99k|         result->getAsTyped()->getType().isTensorViewNV()) &&
  ------------------
  |  Branch (1931:10): [True: 0, False: 1.99k]
  ------------------
 1932|      0|       !result->getAsTyped()->getType().isParameterized()) {
  ------------------
  |  Branch (1932:8): [True: 0, False: 0]
  ------------------
 1933|      0|        assert(fnCandidate->getBuiltInOp() == EOpCooperativeMatrixMulAdd ||
 1934|      0|               fnCandidate->getBuiltInOp() == EOpCooperativeMatrixMulAddNV ||
 1935|      0|               fnCandidate->getBuiltInOp() == EOpCooperativeMatrixReduceNV ||
 1936|      0|               fnCandidate->getBuiltInOp() == EOpCooperativeMatrixPerElementOpNV ||
 1937|      0|               fnCandidate->getBuiltInOp() == EOpCooperativeMatrixTransposeNV ||
 1938|      0|               fnCandidate->getBuiltInOp() == EOpCooperativeMatrixGetCoordinateEXT ||
 1939|      0|               fnCandidate->getBuiltInOp() == EOpCreateTensorLayoutNV ||
 1940|      0|               fnCandidate->getBuiltInOp() == EOpTensorLayoutSetDimensionNV ||
 1941|      0|               fnCandidate->getBuiltInOp() == EOpTensorLayoutSetBlockSizeNV ||
 1942|      0|               fnCandidate->getBuiltInOp() == EOpTensorLayoutSetStrideNV ||
 1943|      0|               fnCandidate->getBuiltInOp() == EOpTensorLayoutSliceNV ||
 1944|      0|               fnCandidate->getBuiltInOp() == EOpTensorLayoutSetClampValueNV ||
 1945|      0|               fnCandidate->getBuiltInOp() == EOpCreateTensorViewNV ||
 1946|      0|               fnCandidate->getBuiltInOp() == EOpTensorViewSetDimensionNV ||
 1947|      0|               fnCandidate->getBuiltInOp() == EOpTensorViewSetStrideNV ||
 1948|      0|               fnCandidate->getBuiltInOp() == EOpTensorViewSetClipNV);
 1949|       |
 1950|      0|        if (fnCandidate->getBuiltInOp() == EOpCreateTensorLayoutNV) {
  ------------------
  |  Branch (1950:13): [True: 0, False: 0]
  ------------------
 1951|       |
 1952|       |            // Convert template parameters to arraySizes/typeParameters
 1953|      0|            TArraySizes *arraySizes = new TArraySizes;
 1954|      0|            for (uint32_t i = 0; i < 2; ++i) {
  ------------------
  |  Branch (1954:34): [True: 0, False: 0]
  ------------------
 1955|      0|                TIntermNode *param {};
 1956|      0|                if (arguments->getAsConstantUnion()) {
  ------------------
  |  Branch (1956:21): [True: 0, False: 0]
  ------------------
 1957|      0|                    if (i == 0) {
  ------------------
  |  Branch (1957:25): [True: 0, False: 0]
  ------------------
 1958|      0|                        param = arguments;
 1959|      0|                    }
 1960|      0|                } else {
 1961|      0|                    assert(arguments->getAsAggregate());
 1962|      0|                    auto &sequence = arguments->getAsAggregate()->getSequence();
 1963|      0|                    if (i < sequence.size()) {
  ------------------
  |  Branch (1963:25): [True: 0, False: 0]
  ------------------
 1964|      0|                        param = sequence[i];
 1965|      0|                    }
 1966|      0|                }
 1967|      0|                if (param) {
  ------------------
  |  Branch (1967:21): [True: 0, False: 0]
  ------------------
 1968|      0|                    if (param->getAsTyped()->getType().getQualifier().isSpecConstant()) {
  ------------------
  |  Branch (1968:25): [True: 0, False: 0]
  ------------------
 1969|      0|                        uint32_t value = param->getAsSymbolNode()->getConstArray()[0].getIConst();
 1970|      0|                        arraySizes->addInnerSize(value, param->getAsTyped());
 1971|      0|                    } else {
 1972|      0|                        uint32_t value = param->getAsConstantUnion()->getConstArray()[0].getIConst();
 1973|      0|                        arraySizes->addInnerSize(value);
 1974|      0|                    }
 1975|      0|                } else {
 1976|       |                    // gl_CooperativeMatrixClampModeUndefined
 1977|      0|                    arraySizes->addInnerSize(0);
 1978|      0|                }
 1979|      0|            }
 1980|      0|            TTypeParameters typeParameters;
 1981|      0|            typeParameters.arraySizes = arraySizes;
 1982|       |
 1983|      0|            TType resultType;
 1984|      0|            resultType.deepCopy(result->getAsTyped()->getType());
 1985|       |
 1986|      0|            resultType.copyTypeParameters(typeParameters);
 1987|      0|            result->setType(resultType);
 1988|      0|        } else if (fnCandidate->getBuiltInOp() == EOpCreateTensorViewNV) {
  ------------------
  |  Branch (1988:20): [True: 0, False: 0]
  ------------------
 1989|       |
 1990|       |            // Convert template parameters to arraySizes/typeParameters
 1991|      0|            TArraySizes *arraySizes = new TArraySizes;
 1992|      0|            for (uint32_t i = 0; i < 7; ++i) {
  ------------------
  |  Branch (1992:34): [True: 0, False: 0]
  ------------------
 1993|      0|                TIntermNode *param {};
 1994|      0|                if (arguments->getAsConstantUnion()) {
  ------------------
  |  Branch (1994:21): [True: 0, False: 0]
  ------------------
 1995|      0|                    if (i == 0) {
  ------------------
  |  Branch (1995:25): [True: 0, False: 0]
  ------------------
 1996|      0|                        param = arguments;
 1997|      0|                    }
 1998|      0|                } else {
 1999|      0|                    assert(arguments->getAsAggregate());
 2000|      0|                    auto &sequence = arguments->getAsAggregate()->getSequence();
 2001|      0|                    if (i < sequence.size()) {
  ------------------
  |  Branch (2001:25): [True: 0, False: 0]
  ------------------
 2002|      0|                        param = sequence[i];
 2003|      0|                    }
 2004|      0|                }
 2005|      0|                if (param) {
  ------------------
  |  Branch (2005:21): [True: 0, False: 0]
  ------------------
 2006|      0|                    if (param->getAsTyped()->getType().getQualifier().isSpecConstant()) {
  ------------------
  |  Branch (2006:25): [True: 0, False: 0]
  ------------------
 2007|      0|                        uint32_t value = param->getAsSymbolNode()->getConstArray()[0].getIConst();
 2008|      0|                        arraySizes->addInnerSize(value, param->getAsTyped());
 2009|      0|                    } else {
 2010|      0|                        uint32_t value = param->getAsConstantUnion()->getConstArray()[0].getIConst();
 2011|      0|                        arraySizes->addInnerSize(value);
 2012|      0|                    }
 2013|      0|                } else {
 2014|      0|                    uint32_t value = 0;
 2015|      0|                    if (i >= 2) {
  ------------------
  |  Branch (2015:25): [True: 0, False: 0]
  ------------------
 2016|       |                        // default permutation values are an increasing sequence
 2017|      0|                        value = i - 2;
 2018|      0|                    }
 2019|      0|                    arraySizes->addInnerSize(value);
 2020|      0|                }
 2021|      0|            }
 2022|      0|            TTypeParameters typeParameters;
 2023|      0|            typeParameters.arraySizes = arraySizes;
 2024|       |
 2025|      0|            TType resultType;
 2026|      0|            resultType.deepCopy(result->getAsTyped()->getType());
 2027|       |
 2028|      0|            resultType.copyTypeParameters(typeParameters);
 2029|      0|            result->setType(resultType);
 2030|      0|        } else if (fnCandidate->getBuiltInOp() == EOpCooperativeMatrixReduceNV ||
  ------------------
  |  Branch (2030:20): [True: 0, False: 0]
  ------------------
 2031|      0|                   fnCandidate->getBuiltInOp() == EOpCooperativeMatrixPerElementOpNV ||
  ------------------
  |  Branch (2031:20): [True: 0, False: 0]
  ------------------
 2032|      0|                   fnCandidate->getBuiltInOp() == EOpCooperativeMatrixTransposeNV ||
  ------------------
  |  Branch (2032:20): [True: 0, False: 0]
  ------------------
 2033|      0|                   fnCandidate->getBuiltInOp() == EOpCooperativeMatrixGetCoordinateEXT ||
  ------------------
  |  Branch (2033:20): [True: 0, False: 0]
  ------------------
 2034|      0|                   fnCandidate->getBuiltInOp() == EOpTensorLayoutSetDimensionNV ||
  ------------------
  |  Branch (2034:20): [True: 0, False: 0]
  ------------------
 2035|      0|                   fnCandidate->getBuiltInOp() == EOpTensorLayoutSetBlockSizeNV ||
  ------------------
  |  Branch (2035:20): [True: 0, False: 0]
  ------------------
 2036|      0|                   fnCandidate->getBuiltInOp() == EOpTensorLayoutSetStrideNV ||
  ------------------
  |  Branch (2036:20): [True: 0, False: 0]
  ------------------
 2037|      0|                   fnCandidate->getBuiltInOp() == EOpTensorLayoutSliceNV ||
  ------------------
  |  Branch (2037:20): [True: 0, False: 0]
  ------------------
 2038|      0|                   fnCandidate->getBuiltInOp() == EOpTensorLayoutSetClampValueNV ||
  ------------------
  |  Branch (2038:20): [True: 0, False: 0]
  ------------------
 2039|      0|                   fnCandidate->getBuiltInOp() == EOpTensorViewSetDimensionNV ||
  ------------------
  |  Branch (2039:20): [True: 0, False: 0]
  ------------------
 2040|      0|                   fnCandidate->getBuiltInOp() == EOpTensorViewSetStrideNV ||
  ------------------
  |  Branch (2040:20): [True: 0, False: 0]
  ------------------
 2041|      0|                   fnCandidate->getBuiltInOp() == EOpTensorViewSetClipNV) {
  ------------------
  |  Branch (2041:20): [True: 0, False: 0]
  ------------------
 2042|       |            // Set result type to match type of first parameter
 2043|      0|            result->setType(result->getAsAggregate()->getSequence()[0]->getAsTyped()->getType());
 2044|      0|        } else {
 2045|       |            // The only remaining operation is MulAdd
 2046|      0|            assert(fnCandidate->getBuiltInOp() == EOpCooperativeMatrixMulAdd ||
 2047|      0|                   fnCandidate->getBuiltInOp() == EOpCooperativeMatrixMulAddNV);
 2048|       |
 2049|       |            // Validate that the matrix sizes are compatible for multiplication and addition
 2050|      0|            const auto &sequence = arguments->getAsAggregate()->getSequence();
 2051|       |
 2052|      0|            using ArrayDim = const TArraySize&;
 2053|      0|            auto getDim = [](const TIntermSequence& seq, int idx) -> std::tuple<ArrayDim, ArrayDim, int> {
 2054|      0|                const auto &type = seq[idx]->getAsTyped()->getType();
 2055|      0|                const auto *size = type.getTypeParameters()->arraySizes;
 2056|       |
 2057|      0|                if (type.isCoopMatNV()) {
 2058|       |                    // coopmatNV don't encode usage, so provide the correct usage by default
 2059|      0|                    return {size->getArraySize(2), size->getArraySize(3), idx};
 2060|      0|                } else {
 2061|      0|                    assert(type.isCoopMatKHR());
 2062|      0|                    return {size->getArraySize(1), size->getArraySize(2), size->getDimSize(3)};
 2063|      0|                }
 2064|      0|            };
 2065|       |
 2066|       |            // sizes look like: [scope, rows, cols, use]
 2067|      0|            auto [aRows, aCols, aUse] = getDim(sequence, 0);
 2068|      0|            auto [bRows, bCols, bUse] = getDim(sequence, 1);
 2069|      0|            auto [cRows, cCols, cUse] = getDim(sequence, 2);
 2070|       |
 2071|      0|            auto toString = [](ArrayDim dim) -> std::string {
 2072|      0|                std::stringstream buf;
 2073|      0|                if (dim.node == nullptr) {
 2074|      0|                    buf << dim.size;
 2075|      0|                } else {
 2076|      0|                    buf << "spec_const";
 2077|      0|                }
 2078|      0|                return buf.str();
 2079|      0|            };
 2080|       |
 2081|      0|            if (aCols != bRows) {
  ------------------
  |  Branch (2081:17): [True: 0, False: 0]
  ------------------
 2082|      0|                auto aRowsStr = toString(aRows);
 2083|      0|                auto aColsStr = toString(aCols);
 2084|      0|                auto bRowsStr = toString(bRows);
 2085|      0|                auto bColsStr = toString(bCols);
 2086|      0|                error(loc, "cannot multiply coop matrices with incompatible sizes",
 2087|      0|                      sequence[0]->getAsSymbolNode()->getMangledName().c_str(),
 2088|      0|                      "%s x %s with %s x %s",
 2089|      0|                      aRowsStr.c_str(),
 2090|      0|                      aColsStr.c_str(),
 2091|      0|                      bRowsStr.c_str(),
 2092|      0|                      bColsStr.c_str());
 2093|      0|            } else if (aRows != cRows || bCols != cCols) {
  ------------------
  |  Branch (2093:24): [True: 0, False: 0]
  |  Branch (2093:42): [True: 0, False: 0]
  ------------------
 2094|      0|                auto aRowsStr = toString(aRows);
 2095|      0|                auto bColsStr = toString(bCols);
 2096|      0|                auto cRowsStr = toString(cRows);
 2097|      0|                auto cColsStr = toString(cCols);
 2098|      0|                error(loc, "cannot add coop matrices with incompatible sizes",
 2099|      0|                      sequence[2]->getAsSymbolNode()->getMangledName().c_str(),
 2100|      0|                      "%s x %s with %s x %s",
 2101|      0|                      aRowsStr.c_str(),
 2102|      0|                      bColsStr.c_str(),
 2103|      0|                      cRowsStr.c_str(),
 2104|      0|                      cColsStr.c_str());
 2105|      0|            } else if (aUse != 0) {
  ------------------
  |  Branch (2105:24): [True: 0, False: 0]
  ------------------
 2106|      0|                error(loc, "coop matrix A in MulAdd operation has incompatible usage property,",
 2107|      0|                      sequence[0]->getAsSymbolNode()->getMangledName().c_str(),
 2108|      0|                      "found %d, but needed 0", aUse);
 2109|      0|            } else if (bUse != 1) {
  ------------------
  |  Branch (2109:24): [True: 0, False: 0]
  ------------------
 2110|      0|                error(loc, "coop matrix B in MulAdd operation has incompatible usage property,",
 2111|      0|                      sequence[1]->getAsSymbolNode()->getMangledName().c_str(),
 2112|      0|                      "found %d, but needed 1", bUse);
 2113|      0|            } else if (cUse != 2) {
  ------------------
  |  Branch (2113:24): [True: 0, False: 0]
  ------------------
 2114|      0|                error(loc, "coop matrix C in MulAdd operation has incompatible usage property,",
 2115|      0|                      sequence[2]->getAsSymbolNode()->getMangledName().c_str(),
 2116|      0|                      "found %d, but needed 2", cUse);
 2117|      0|            }
 2118|       |
 2119|       |            // Set result type to match type of C parameter
 2120|      0|            result->setType(result->getAsAggregate()->getSequence()[2]->getAsTyped()->getType());
 2121|      0|        }
 2122|      0|    }
 2123|  1.99k|}
_ZN7glslang13TParseContext34handleVector2CoopMatConversionCallERKNS_10TSourceLocEPKNS_9TFunctionERPNS_12TIntermTypedEP11TIntermNode:
 2130|  1.99k|{
 2131|  1.99k|  const uint32_t CM_MatrixUseA = 0;           // == gl_MatrixUseA
 2132|  1.99k|  const uint32_t CM_MatrixUseB = 1;           // == gl_MatrixUseB
 2133|  1.99k|  const uint32_t CM_MatrixUseAccumulator = 2; // == gl_MatrixUseAccumulator
 2134|       |
 2135|  1.99k|  TOperator builtinOp = fnCandidate->getBuiltInOp();
 2136|       |
 2137|  1.99k|  if (!(builtinOp == EOpBitCastArrayQCOM || builtinOp == EOpExtractSubArrayQCOM ||
  ------------------
  |  Branch (2137:9): [True: 0, False: 1.99k]
  |  Branch (2137:45): [True: 0, False: 1.99k]
  ------------------
 2138|  1.99k|        builtinOp == EOpCompositeConstructCoopMatQCOM || builtinOp == EOpCompositeExtractCoopMatQCOM))
  ------------------
  |  Branch (2138:9): [True: 0, False: 1.99k]
  |  Branch (2138:58): [True: 0, False: 1.99k]
  ------------------
 2139|  1.99k|    return;
 2140|       |
 2141|      0|  TPublicType pubType{};
 2142|      0|  auto* oldResult = result;
 2143|       |
 2144|      0|  if (builtinOp == EOpBitCastArrayQCOM) {
  ------------------
  |  Branch (2144:7): [True: 0, False: 0]
  ------------------
 2145|      0|    auto srcArr = arguments->getAsAggregate()->getSequence()[0]->getAsTyped();
 2146|      0|    auto& srcTy = srcArr->getType();
 2147|      0|    auto srcArrLen = srcTy.getArraySizes()->getDimSize(0);
 2148|      0|    auto srcLenAsNode = srcTy.getArraySizes()->getDimNode(0);
 2149|       |
 2150|      0|    auto dstArr = arguments->getAsAggregate()->getSequence()[1]->getAsTyped();
 2151|      0|    auto& dstTy = dstArr->getType();
 2152|      0|    auto dstArrLen = dstTy.getArraySizes()->getDimSize(0);
 2153|      0|    auto dstLenAsNode = dstTy.getArraySizes()->getDimNode(0);
 2154|       |
 2155|      0|    if (srcLenAsNode == nullptr && dstLenAsNode == nullptr) {
  ------------------
  |  Branch (2155:9): [True: 0, False: 0]
  |  Branch (2155:36): [True: 0, False: 0]
  ------------------
 2156|       |      //do basic tests:
 2157|      0|      if ((srcArrLen * GetNumBits(srcTy.getBasicType())) != (dstArrLen * GetNumBits(dstTy.getBasicType())))
  ------------------
  |  Branch (2157:11): [True: 0, False: 0]
  ------------------
 2158|      0|        error(loc, "source and target arrays have different bit sizes", "", "");
 2159|      0|    }
 2160|       |
 2161|      0|    pubType.basicType = dstTy.getBasicType();
 2162|      0|    pubType.vectorSize = 1u;
 2163|      0|    pubType.qualifier.precision = EpqNone;
 2164|      0|    pubType.coopmatNV = false;
 2165|      0|    pubType.coopmatKHR = false;
 2166|      0|    pubType.arraySizes = new TArraySizes;
 2167|      0|    pubType.arraySizes->addInnerSize(dstArrLen, dstLenAsNode);
 2168|      0|    pubType.typeParameters = nullptr;
 2169|      0|  }
 2170|       |
 2171|      0|  if (builtinOp == EOpExtractSubArrayQCOM) {
  ------------------
  |  Branch (2171:7): [True: 0, False: 0]
  ------------------
 2172|      0|    auto dstArr = arguments->getAsAggregate()->getSequence()[2]->getAsTyped();
 2173|      0|    auto& dstTy = dstArr->getType();
 2174|      0|    auto dstArrLen = dstTy.getArraySizes()->getDimSize(0);
 2175|      0|    auto dstLenAsNode = dstTy.getArraySizes()->getDimNode(0);
 2176|       |
 2177|      0|    if (dstLenAsNode == nullptr) {
  ------------------
  |  Branch (2177:9): [True: 0, False: 0]
  ------------------
 2178|      0|      if ((dstArrLen * GetNumBits(dstTy.getBasicType())) == 32)
  ------------------
  |  Branch (2178:11): [True: 0, False: 0]
  ------------------
 2179|      0|        error(loc, "the byte size of the target array must be 32", "", "");
 2180|      0|    }
 2181|       |
 2182|      0|    pubType.basicType = dstTy.getBasicType();
 2183|      0|    pubType.vectorSize = 1u;
 2184|      0|    pubType.qualifier.precision = EpqNone;
 2185|      0|    pubType.coopmatNV = false;
 2186|      0|    pubType.coopmatKHR = false;
 2187|      0|    pubType.arraySizes = new TArraySizes;
 2188|      0|    pubType.arraySizes->addInnerSize(dstArrLen, dstLenAsNode);
 2189|      0|    pubType.typeParameters = nullptr;
 2190|      0|  }
 2191|       |
 2192|      0|  if (builtinOp == EOpCompositeConstructCoopMatQCOM) {
  ------------------
  |  Branch (2192:7): [True: 0, False: 0]
  ------------------
 2193|       |
 2194|      0|    auto& srcType = arguments->getAsAggregate()->getSequence()[0]->getAsTyped()->getType();
 2195|      0|    auto& dstType = arguments->getAsAggregate()->getSequence()[1]->getAsTyped()->getType();
 2196|       |
 2197|      0|    glslang::TBasicType srcBasicType = srcType.getBasicType();
 2198|      0|    glslang::TBasicType dstBasicType = dstType.getBasicType();
 2199|       |
 2200|      0|    if (srcBasicType != EbtUint && srcBasicType != dstBasicType)
  ------------------
  |  Branch (2200:9): [True: 0, False: 0]
  |  Branch (2200:36): [True: 0, False: 0]
  ------------------
 2201|      0|      error(loc, "source and destination element types are not compatible", "", "");
 2202|       |
 2203|      0|    uint32_t scope = spv_Scope_Subgroup;
 2204|      0|    uint32_t coopMatKHRuse = !0u;
 2205|      0|    uint32_t coopMatNumRows = !0u, coopMatNumCols = !0u;
 2206|      0|    TIntermTyped *nodeNumRows = nullptr, *nodeNumCols = nullptr;
 2207|      0|    const TTypeParameters* dstTypeParameters = dstType.getTypeParameters();
 2208|      0|    if (dstTypeParameters->arraySizes == nullptr || dstTypeParameters->arraySizes->getNumDims() != 4) {
  ------------------
  |  Branch (2208:9): [True: 0, False: 0]
  |  Branch (2208:53): [True: 0, False: 0]
  ------------------
 2209|      0|      error(loc, "destination cooperative matrix has an unsupported type", "", "");
 2210|      0|    } else {
 2211|      0|      auto arraySizes = dstTypeParameters->arraySizes;
 2212|      0|      scope = arraySizes->getDimSize(0);
 2213|      0|      coopMatNumRows = arraySizes->getDimSize(1);
 2214|      0|      nodeNumRows = arraySizes->getDimNode(1);
 2215|      0|      coopMatNumCols = arraySizes->getDimSize(2);
 2216|      0|      nodeNumCols = arraySizes->getDimNode(2);
 2217|      0|      coopMatKHRuse = arraySizes->getDimSize(3);
 2218|      0|    }
 2219|       |
 2220|      0|    if (scope != spv_Scope_Subgroup) {
  ------------------
  |  Branch (2220:9): [True: 0, False: 0]
  ------------------
 2221|      0|      scope = spv_Scope_Subgroup;
 2222|      0|      error(loc, "cooperative matrix has unsupported scope; gl_SubgroupScope is expected", "", "");
 2223|      0|    }
 2224|       |
 2225|      0|    if (coopMatKHRuse > CM_MatrixUseAccumulator) {
  ------------------
  |  Branch (2225:9): [True: 0, False: 0]
  ------------------
 2226|      0|      coopMatKHRuse = CM_MatrixUseA;
 2227|      0|      error(loc, "cooperative matrix use must be one of gl_MatrixUseA, gl_MatrixUseB, gl_MatrixUseAccumulator",
 2228|      0|            "", "");
 2229|      0|    }
 2230|       |
 2231|      0|    uint32_t dstBasicTypeSize = GetNumBits(dstBasicType) / 8;
 2232|       |
 2233|      0|    unsigned numRows = coopMatNumRows;
 2234|      0|    TIntermTyped* specConstRows = nodeNumRows;
 2235|      0|    unsigned numCols = coopMatNumCols;
 2236|      0|    TIntermTyped* specConstCols = nodeNumCols;
 2237|       |
 2238|       |    // input array type
 2239|      0|    const TType& type = arguments->getAsAggregate()->getSequence()[0]->getAsTyped()->getType();
 2240|      0|    uint32_t arrayLen = type.getArraySizes()->getDimSize(0);
 2241|      0|    auto arrayDimNode = type.getArraySizes()->getDimNode(0);
 2242|       |
 2243|      0|    if (coopMatKHRuse == CM_MatrixUseA || coopMatKHRuse == CM_MatrixUseAccumulator) {
  ------------------
  |  Branch (2243:9): [True: 0, False: 0]
  |  Branch (2243:43): [True: 0, False: 0]
  ------------------
 2244|       |      // update numCols
 2245|      0|      if (arrayDimNode == nullptr && specConstCols == nullptr)
  ------------------
  |  Branch (2245:11): [True: 0, False: 0]
  |  Branch (2245:38): [True: 0, False: 0]
  ------------------
 2246|      0|        numCols = arrayLen * (sizeof(uint32_t) / dstBasicTypeSize);
 2247|      0|    } else if (coopMatKHRuse == CM_MatrixUseB) {
  ------------------
  |  Branch (2247:16): [True: 0, False: 0]
  ------------------
 2248|       |      // update numRows
 2249|      0|      if (arrayDimNode == nullptr && specConstRows == nullptr) {
  ------------------
  |  Branch (2249:11): [True: 0, False: 0]
  |  Branch (2249:38): [True: 0, False: 0]
  ------------------
 2250|      0|        numRows = arrayLen * (sizeof(uint32_t) / dstBasicTypeSize);
 2251|      0|      }
 2252|      0|    }
 2253|       |
 2254|       |    // construct the type
 2255|      0|    TArraySizes* arraySizes = new TArraySizes;
 2256|       |
 2257|       |    // add Scope
 2258|      0|    arraySizes->addInnerSize(scope);
 2259|       |
 2260|       |    // add the row size
 2261|      0|    arraySizes->addInnerSize(numRows, specConstRows); // copy from source
 2262|       |    // add the column size
 2263|      0|    arraySizes->addInnerSize(numCols, specConstCols); // copy from source
 2264|       |    // add cooperative matrix use
 2265|      0|    arraySizes->addInnerSize(coopMatKHRuse);
 2266|       |
 2267|      0|    pubType.basicType = dstBasicType;
 2268|      0|    pubType.vectorSize = 1u;
 2269|      0|    pubType.qualifier = srcType.getQualifier();
 2270|      0|    pubType.qualifier.precision = EpqNone;
 2271|      0|    pubType.coopmatNV = dstType.isCoopMatNV();
 2272|      0|    pubType.coopmatKHR = dstType.isCoopMatKHR();
 2273|      0|    pubType.arraySizes = nullptr;
 2274|      0|    pubType.typeParameters = const_cast<glslang::TTypeParameters*>(dstTypeParameters);
 2275|      0|  }
 2276|       |
 2277|      0|  if (builtinOp == EOpCompositeExtractCoopMatQCOM) {
  ------------------
  |  Branch (2277:7): [True: 0, False: 0]
  ------------------
 2278|      0|    auto& srcType = arguments->getAsAggregate()->getSequence()[0]->getAsTyped()->getType();
 2279|      0|    auto& dstType = arguments->getAsAggregate()->getSequence()[1]->getAsTyped()->getType();
 2280|       |
 2281|      0|    glslang::TBasicType srcBasicType = srcType.getBasicType();
 2282|      0|    glslang::TBasicType dstBasicType = dstType.getBasicType();
 2283|       |
 2284|      0|    if (dstBasicType != EbtUint && srcBasicType != dstBasicType)
  ------------------
  |  Branch (2284:9): [True: 0, False: 0]
  |  Branch (2284:36): [True: 0, False: 0]
  ------------------
 2285|      0|      error(loc, "source and destination element types are not compatible", "", "");
 2286|       |
 2287|      0|    uint32_t scope = spv_Scope_Subgroup;
 2288|      0|    unsigned coopMatKHRuse = !0u;
 2289|      0|    const TTypeParameters* srcTypeParameters = srcType.getTypeParameters();
 2290|      0|    if (srcTypeParameters->arraySizes == nullptr || srcTypeParameters->arraySizes->getNumDims() != 4) {
  ------------------
  |  Branch (2290:9): [True: 0, False: 0]
  |  Branch (2290:53): [True: 0, False: 0]
  ------------------
 2291|      0|      error(loc, "source cooperative matrix has an unsupported type", "", "");
 2292|      0|    } else {
 2293|      0|      auto arraySizes = srcTypeParameters->arraySizes;
 2294|      0|      scope = arraySizes->getDimSize(0);
 2295|      0|      coopMatKHRuse = arraySizes->getDimSize(3);
 2296|      0|    }
 2297|       |
 2298|      0|    if (scope != spv_Scope_Subgroup) {
  ------------------
  |  Branch (2298:9): [True: 0, False: 0]
  ------------------
 2299|      0|      scope = spv_Scope_Subgroup;
 2300|      0|      error(loc, "cooperative matrix has unsupported scope; gl_SubgroupScope is expected", "", "");
 2301|      0|    }
 2302|       |
 2303|      0|    if (coopMatKHRuse > CM_MatrixUseAccumulator) {
  ------------------
  |  Branch (2303:9): [True: 0, False: 0]
  ------------------
 2304|      0|      coopMatKHRuse = CM_MatrixUseA;
 2305|      0|      error(loc, "cooperative matrix use must be one of gl_MatrixUseA, gl_MatrixUseB, gl_MatrixUseAccumulator",
 2306|      0|            "", "");
 2307|      0|    }
 2308|       |
 2309|      0|    auto dstArrLen = dstType.getArraySizes()->getDimSize(0);
 2310|      0|    auto dstLenAsNode = dstType.getArraySizes()->getDimNode(0);
 2311|       |
 2312|      0|    if (dstLenAsNode == nullptr) {
  ------------------
  |  Branch (2312:9): [True: 0, False: 0]
  ------------------
 2313|      0|      bool ok = true;
 2314|      0|      switch (dstBasicType) {
 2315|      0|      case EbtUint:
  ------------------
  |  Branch (2315:7): [True: 0, False: 0]
  ------------------
 2316|      0|      case EbtInt:
  ------------------
  |  Branch (2316:7): [True: 0, False: 0]
  ------------------
 2317|      0|      case EbtFloat:
  ------------------
  |  Branch (2317:7): [True: 0, False: 0]
  ------------------
 2318|      0|        ok = (((coopMatKHRuse == CM_MatrixUseA || coopMatKHRuse == CM_MatrixUseB) && dstArrLen == 8) ||
  ------------------
  |  Branch (2318:17): [True: 0, False: 0]
  |  Branch (2318:51): [True: 0, False: 0]
  |  Branch (2318:86): [True: 0, False: 0]
  ------------------
 2319|      0|              (coopMatKHRuse ==
  ------------------
  |  Branch (2319:15): [True: 0, False: 0]
  ------------------
 2320|      0|               CM_MatrixUseAccumulator) /* && (dstArrLen == 64 || dstArrLen == 32 || dstArrLen == 16))*/);
 2321|      0|        break;
 2322|      0|      case EbtFloat16:
  ------------------
  |  Branch (2322:7): [True: 0, False: 0]
  ------------------
 2323|      0|        ok = (((coopMatKHRuse == CM_MatrixUseA || coopMatKHRuse == CM_MatrixUseB) && dstArrLen == 16) ||
  ------------------
  |  Branch (2323:17): [True: 0, False: 0]
  |  Branch (2323:51): [True: 0, False: 0]
  |  Branch (2323:86): [True: 0, False: 0]
  ------------------
 2324|      0|              (coopMatKHRuse ==
  ------------------
  |  Branch (2324:15): [True: 0, False: 0]
  ------------------
 2325|      0|               CM_MatrixUseAccumulator) /* && (dstArrLen == 64 || dstArrLen == 32 || dstArrLen == 16))*/);
 2326|      0|        break;
 2327|      0|      case EbtInt8:
  ------------------
  |  Branch (2327:7): [True: 0, False: 0]
  ------------------
 2328|      0|      case EbtUint8:
  ------------------
  |  Branch (2328:7): [True: 0, False: 0]
  ------------------
 2329|      0|        ok = (((coopMatKHRuse == CM_MatrixUseA || coopMatKHRuse == CM_MatrixUseB) && dstArrLen == 32) ||
  ------------------
  |  Branch (2329:17): [True: 0, False: 0]
  |  Branch (2329:51): [True: 0, False: 0]
  |  Branch (2329:86): [True: 0, False: 0]
  ------------------
 2330|      0|              (coopMatKHRuse ==
  ------------------
  |  Branch (2330:15): [True: 0, False: 0]
  ------------------
 2331|      0|               CM_MatrixUseAccumulator) /* && (dstArrLen == 64 || dstArrLen == 32 || dstArrLen == 16))*/);
 2332|      0|        break;
 2333|      0|      default:
  ------------------
  |  Branch (2333:7): [True: 0, False: 0]
  ------------------
 2334|      0|        error(loc, "unsupported element type", "", "");
 2335|      0|      }
 2336|      0|      if (!ok)
  ------------------
  |  Branch (2336:11): [True: 0, False: 0]
  ------------------
 2337|      0|        error(loc, "unsupported destination array length", "", "");
 2338|      0|    }
 2339|       |
 2340|      0|    pubType.basicType = dstBasicType;
 2341|      0|    pubType.vectorSize = 1u;
 2342|      0|    pubType.qualifier.precision = EpqNone;
 2343|      0|    pubType.coopmatNV = false;
 2344|      0|    pubType.coopmatKHR = false;
 2345|       |
 2346|      0|    pubType.arraySizes = new TArraySizes;
 2347|       |
 2348|      0|    {
 2349|       |      //int coopMatKHRuse = srcTypeParameters->arraySizes->getDimSize(3);
 2350|      0|      uint32_t index = !0u;
 2351|      0|      if (coopMatKHRuse == CM_MatrixUseA) {
  ------------------
  |  Branch (2351:11): [True: 0, False: 0]
  ------------------
 2352|      0|        index = 2;
 2353|      0|      } else if (coopMatKHRuse == CM_MatrixUseB) {
  ------------------
  |  Branch (2353:18): [True: 0, False: 0]
  ------------------
 2354|      0|        index = 1;
 2355|      0|      } else if (coopMatKHRuse == CM_MatrixUseAccumulator) {
  ------------------
  |  Branch (2355:18): [True: 0, False: 0]
  ------------------
 2356|      0|        index = 2;
 2357|      0|      } else {
 2358|      0|        error(loc, "source cooperative matrix has an unexpected cooperative matrix use", "", "");
 2359|      0|      }
 2360|      0|      int32_t numRowsOrCols = srcTypeParameters->arraySizes->getDimSize(index);
 2361|      0|      auto dimNode = srcTypeParameters->arraySizes->getDimNode(index);
 2362|      0|      if (dimNode != nullptr && dstLenAsNode == nullptr) {
  ------------------
  |  Branch (2362:11): [True: 0, False: 0]
  |  Branch (2362:33): [True: 0, False: 0]
  ------------------
 2363|      0|        numRowsOrCols = dstType.getArraySizes()->getDimSize(0);
 2364|      0|        dimNode = nullptr;
 2365|      0|      }
 2366|       |      //int32_t dstArrLen = dstType.getArraySizes()->getDimSize(0);
 2367|      0|      pubType.arraySizes->addInnerSize(dstArrLen, dstLenAsNode);
 2368|      0|      if (dimNode == nullptr && dstLenAsNode == nullptr) {
  ------------------
  |  Branch (2368:11): [True: 0, False: 0]
  |  Branch (2368:33): [True: 0, False: 0]
  ------------------
 2369|      0|        const char* msg = nullptr;
 2370|      0|        if (coopMatKHRuse == CM_MatrixUseA && (numRowsOrCols != dstArrLen && dstArrLen != 8)) {
  ------------------
  |  Branch (2370:13): [True: 0, False: 0]
  |  Branch (2370:48): [True: 0, False: 0]
  |  Branch (2370:78): [True: 0, False: 0]
  ------------------
 2371|      0|          msg = "the source matrix's column is not compatible with the destination array";
 2372|      0|        } else if (coopMatKHRuse == CM_MatrixUseB && (numRowsOrCols != dstArrLen && dstArrLen != 8)) {
  ------------------
  |  Branch (2372:20): [True: 0, False: 0]
  |  Branch (2372:55): [True: 0, False: 0]
  |  Branch (2372:85): [True: 0, False: 0]
  ------------------
 2373|      0|          msg = "the source matrix's row is not compatible with the destination array";
 2374|      0|        } else if (coopMatKHRuse == CM_MatrixUseAccumulator &&
  ------------------
  |  Branch (2374:20): [True: 0, False: 0]
  ------------------
 2375|      0|                   (numRowsOrCols != dstArrLen &&
  ------------------
  |  Branch (2375:21): [True: 0, False: 0]
  ------------------
 2376|      0|                    (srcBasicType == EbtFloat16 && numRowsOrCols != 2 * dstArrLen))) {
  ------------------
  |  Branch (2376:22): [True: 0, False: 0]
  |  Branch (2376:52): [True: 0, False: 0]
  ------------------
 2377|      0|          msg = "the source matrix's column is not compatible with the destination array";
 2378|      0|        }
 2379|      0|        if (msg != nullptr)
  ------------------
  |  Branch (2379:13): [True: 0, False: 0]
  ------------------
 2380|      0|          error(loc, msg, "", "");
 2381|      0|      }
 2382|      0|    }
 2383|       |
 2384|      0|    pubType.typeParameters = nullptr;
 2385|      0|  }
 2386|       |
 2387|      0|  TType resultType(pubType);
 2388|      0|  if (pubType.typeParameters != nullptr)
  ------------------
  |  Branch (2388:7): [True: 0, False: 0]
  ------------------
 2389|      0|    resultType.copyTypeParameters(*pubType.typeParameters);
 2390|       |  // need to make StorageQualifier temp
 2391|      0|  resultType.makeTemporary();
 2392|      0|  result->setType(resultType);
 2393|       |
 2394|       |  // the RHS of an assignment to be formed
 2395|      0|  auto rhs = result;
 2396|       |
 2397|       |  // the LHS of an assignment to be formed; pick the last argument
 2398|      0|  int lhsIdx = (builtinOp == EOpExtractSubArrayQCOM ? 2 : 1);
  ------------------
  |  Branch (2398:17): [True: 0, False: 0]
  ------------------
 2399|      0|  auto lhs = arguments->getAsAggregate()->getSequence()[lhsIdx]->getAsTyped();
 2400|       |  // pop the last argument from the arguments sequence
 2401|      0|  arguments->getAsAggregate()->getSequence().pop_back();
 2402|       |
 2403|       |  // Create OpAssign
 2404|      0|  {
 2405|      0|    arrayObjectCheck(loc, lhs->getType(), "array assignment");
 2406|      0|    storage16BitAssignmentCheck(loc, lhs->getType(), "=");
 2407|      0|    lValueErrorCheck(loc, "assign", lhs);
 2408|      0|    rValueErrorCheck(loc, "assign", rhs);
 2409|      0|    result = addAssign(loc, EOpAssign, lhs, rhs);
 2410|      0|    if (result == nullptr)
  ------------------
  |  Branch (2410:9): [True: 0, False: 0]
  ------------------
 2411|      0|      result = oldResult;
 2412|      0|  }
 2413|      0|}
_ZN7glslang13TParseContext25handleBuiltInFunctionCallENS_10TSourceLocEP11TIntermNodeRKNS_9TFunctionE:
 2424|  1.84k|{
 2425|  1.84k|    checkLocation(loc, function.getBuiltInOp());
 2426|  1.84k|    TIntermTyped *result = intermediate.addBuiltInFunctionCall(loc, function.getBuiltInOp(),
 2427|  1.84k|                                                               function.getParamCount() == 1,
 2428|  1.84k|                                                               arguments, function.getType());
 2429|       |
 2430|       |    // EXT_descriptor_heap
 2431|       |    // All the image atomic ops' first param is image variable.
 2432|  1.84k|    if (extensionTurnedOn(E_GL_EXT_descriptor_heap) && function.getBuiltInOp() <= EOpImageAtomicStore &&
  ------------------
  |  Branch (2432:9): [True: 0, False: 1.84k]
  |  Branch (2432:56): [True: 0, False: 0]
  ------------------
 2433|      0|        function.getBuiltInOp() >= EOpImageAtomicAdd) {
  ------------------
  |  Branch (2433:9): [True: 0, False: 0]
  ------------------
 2434|      0|        TIntermNode* imageNode = nullptr;
 2435|      0|        if (arguments->getAsAggregate() && arguments->getAsAggregate()->getSequence().size() > 0)
  ------------------
  |  Branch (2435:13): [True: 0, False: 0]
  |  Branch (2435:44): [True: 0, False: 0]
  ------------------
 2436|      0|            imageNode = arguments->getAsAggregate()->getSequence()[0];
 2437|      0|        else if (arguments->getAsUnaryNode())
  ------------------
  |  Branch (2437:18): [True: 0, False: 0]
  ------------------
 2438|      0|            imageNode = arguments->getAsUnaryNode();
 2439|       |
 2440|      0|        if (imageNode && imageNode->getAsBinaryNode()) {
  ------------------
  |  Branch (2440:13): [True: 0, False: 0]
  |  Branch (2440:26): [True: 0, False: 0]
  ------------------
 2441|      0|            auto imageSymbol = imageNode->getAsBinaryNode()->getLeft();
 2442|      0|            if (imageSymbol && imageSymbol->getType().isImage()) {
  ------------------
  |  Branch (2442:17): [True: 0, False: 0]
  |  Branch (2442:32): [True: 0, False: 0]
  ------------------
 2443|      0|                imageSymbol->getQualifier().setUsedByAtomic();
 2444|      0|                result->getQualifier().setUsedByAtomic();
 2445|      0|            }
 2446|      0|        }
 2447|      0|    }
 2448|       |
 2449|  1.84k|    if (result != nullptr && obeyPrecisionQualifiers())
  ------------------
  |  Branch (2449:9): [True: 1.84k, False: 0]
  |  Branch (2449:30): [True: 1.84k, False: 0]
  ------------------
 2450|  1.84k|        computeBuiltinPrecisions(*result, function);
 2451|       |
 2452|  1.84k|    if (result == nullptr) {
  ------------------
  |  Branch (2452:9): [True: 0, False: 1.84k]
  ------------------
 2453|      0|        if (arguments == nullptr)
  ------------------
  |  Branch (2453:13): [True: 0, False: 0]
  ------------------
 2454|      0|            error(loc, " wrong operand type", "Internal Error",
 2455|      0|                                      "built in unary operator function.  Type: %s", "");
 2456|      0|        else
 2457|      0|            error(arguments->getLoc(), " wrong operand type", "Internal Error",
 2458|      0|                                      "built in unary operator function.  Type: %s",
 2459|      0|                                      static_cast<TIntermTyped*>(arguments)->getCompleteString(intermediate.getEnhancedMsgs()).c_str());
 2460|  1.84k|    } else if (result->getAsOperator())
  ------------------
  |  Branch (2460:16): [True: 1.84k, False: 0]
  ------------------
 2461|  1.84k|        builtInOpCheck(loc, function, *result->getAsOperator());
 2462|       |
 2463|       |    // Special handling for function call with SPIR-V instruction qualifier specified
 2464|  1.84k|    if (function.getBuiltInOp() == EOpSpirvInst) {
  ------------------
  |  Branch (2464:9): [True: 0, False: 1.84k]
  ------------------
 2465|      0|        if (auto agg = result->getAsAggregate()) {
  ------------------
  |  Branch (2465:18): [True: 0, False: 0]
  ------------------
 2466|       |            // Propogate spirv_by_reference/spirv_literal from parameters to arguments
 2467|      0|            auto& sequence = agg->getSequence();
 2468|      0|            for (unsigned i = 0; i < sequence.size(); ++i) {
  ------------------
  |  Branch (2468:34): [True: 0, False: 0]
  ------------------
 2469|      0|                if (function[i].type->getQualifier().isSpirvByReference())
  ------------------
  |  Branch (2469:21): [True: 0, False: 0]
  ------------------
 2470|      0|                    sequence[i]->getAsTyped()->getQualifier().setSpirvByReference();
 2471|      0|                if (function[i].type->getQualifier().isSpirvLiteral())
  ------------------
  |  Branch (2471:21): [True: 0, False: 0]
  ------------------
 2472|      0|                    sequence[i]->getAsTyped()->getQualifier().setSpirvLiteral();
 2473|      0|            }
 2474|       |
 2475|       |            // Attach the function call to SPIR-V intruction
 2476|      0|            agg->setSpirvInstruction(function.getSpirvInstruction());
 2477|      0|        } else if (auto unaryNode = result->getAsUnaryNode()) {
  ------------------
  |  Branch (2477:25): [True: 0, False: 0]
  ------------------
 2478|       |            // Propogate spirv_by_reference/spirv_literal from parameters to arguments
 2479|      0|            if (function[0].type->getQualifier().isSpirvByReference())
  ------------------
  |  Branch (2479:17): [True: 0, False: 0]
  ------------------
 2480|      0|                unaryNode->getOperand()->getQualifier().setSpirvByReference();
 2481|      0|            if (function[0].type->getQualifier().isSpirvLiteral())
  ------------------
  |  Branch (2481:17): [True: 0, False: 0]
  ------------------
 2482|      0|                unaryNode->getOperand()->getQualifier().setSpirvLiteral();
 2483|       |
 2484|       |            // Attach the function call to SPIR-V intruction
 2485|      0|            unaryNode->setSpirvInstruction(function.getSpirvInstruction());
 2486|      0|        } else
 2487|      0|            assert(0);
 2488|      0|    }
 2489|       |
 2490|  1.84k|    return result;
 2491|  1.84k|}
_ZN7glslang13TParseContext24computeBuiltinPrecisionsERNS_12TIntermTypedERKNS_9TFunctionE:
 2526|  1.84k|{
 2527|  1.84k|    TPrecisionQualifier operationPrecision = EpqNone;
 2528|  1.84k|    TPrecisionQualifier resultPrecision = EpqNone;
 2529|       |
 2530|  1.84k|    TIntermOperator* opNode = node.getAsOperator();
 2531|  1.84k|    if (opNode == nullptr)
  ------------------
  |  Branch (2531:9): [True: 0, False: 1.84k]
  ------------------
 2532|      0|        return;
 2533|       |
 2534|  1.84k|    if (TIntermUnary* unaryNode = node.getAsUnaryNode()) {
  ------------------
  |  Branch (2534:23): [True: 120, False: 1.72k]
  ------------------
 2535|    120|        operationPrecision = std::max(function[0].type->getQualifier().precision,
 2536|    120|                                      unaryNode->getOperand()->getType().getQualifier().precision);
 2537|    120|        if (function.getType().getBasicType() != EbtBool)
  ------------------
  |  Branch (2537:13): [True: 120, False: 0]
  ------------------
 2538|    120|            resultPrecision = function.getType().getQualifier().precision == EpqNone ?
  ------------------
  |  Branch (2538:31): [True: 120, False: 0]
  ------------------
 2539|    120|                                        operationPrecision :
 2540|    120|                                        function.getType().getQualifier().precision;
 2541|  1.72k|    } else if (TIntermAggregate* agg = node.getAsAggregate()) {
  ------------------
  |  Branch (2541:34): [True: 1.72k, False: 0]
  ------------------
 2542|  1.72k|        TIntermSequence& sequence = agg->getSequence();
 2543|  1.72k|        unsigned int numArgs = (unsigned int)sequence.size();
 2544|  1.72k|        switch (agg->getOp()) {
 2545|      0|        case EOpBitfieldExtract:
  ------------------
  |  Branch (2545:9): [True: 0, False: 1.72k]
  ------------------
 2546|      0|            numArgs = 1;
 2547|      0|            break;
 2548|      0|        case EOpBitfieldInsert:
  ------------------
  |  Branch (2548:9): [True: 0, False: 1.72k]
  ------------------
 2549|      0|            numArgs = 2;
 2550|      0|            break;
 2551|      0|        case EOpInterpolateAtCentroid:
  ------------------
  |  Branch (2551:9): [True: 0, False: 1.72k]
  ------------------
 2552|      0|        case EOpInterpolateAtOffset:
  ------------------
  |  Branch (2552:9): [True: 0, False: 1.72k]
  ------------------
 2553|      0|        case EOpInterpolateAtSample:
  ------------------
  |  Branch (2553:9): [True: 0, False: 1.72k]
  ------------------
 2554|      0|            numArgs = 1;
 2555|      0|            break;
 2556|      0|        case EOpDebugPrintf:
  ------------------
  |  Branch (2556:9): [True: 0, False: 1.72k]
  ------------------
 2557|      0|        case EOpAbortEXT:
  ------------------
  |  Branch (2557:9): [True: 0, False: 1.72k]
  ------------------
 2558|      0|        case EOpCooperativeMatrixPerElementOpNV:
  ------------------
  |  Branch (2558:9): [True: 0, False: 1.72k]
  ------------------
 2559|      0|        case EOpCooperativeMatrixReduceNV:
  ------------------
  |  Branch (2559:9): [True: 0, False: 1.72k]
  ------------------
 2560|      0|        case EOpConstructSaturated:
  ------------------
  |  Branch (2560:9): [True: 0, False: 1.72k]
  ------------------
 2561|      0|            numArgs = 0;
 2562|      0|            break;
 2563|  1.72k|        default:
  ------------------
  |  Branch (2563:9): [True: 1.72k, False: 0]
  ------------------
 2564|  1.72k|            break;
 2565|  1.72k|        }
 2566|       |        // find the maximum precision from the arguments and parameters
 2567|  8.09k|        for (unsigned int arg = 0; arg < numArgs; ++arg) {
  ------------------
  |  Branch (2567:36): [True: 6.36k, False: 1.72k]
  ------------------
 2568|  6.36k|            operationPrecision = std::max(operationPrecision, sequence[arg]->getAsTyped()->getQualifier().precision);
 2569|  6.36k|        }
 2570|  8.09k|        for (int arg = 0; arg < function.getParamCount(); ++arg) {
  ------------------
  |  Branch (2570:27): [True: 6.36k, False: 1.72k]
  ------------------
 2571|  6.36k|            operationPrecision = std::max(operationPrecision, function[arg].type->getQualifier().precision);
 2572|  6.36k|        }
 2573|       |        // compute the result precision
 2574|  1.72k|        if (agg->isSampling() ||
  ------------------
  |  Branch (2574:13): [True: 1.49k, False: 234]
  ------------------
 2575|    234|            agg->getOp() == EOpImageLoad || agg->getOp() == EOpImageStore ||
  ------------------
  |  Branch (2575:13): [True: 66, False: 168]
  |  Branch (2575:45): [True: 66, False: 102]
  ------------------
 2576|    102|            agg->getOp() == EOpImageLoadLod || agg->getOp() == EOpImageStoreLod)
  ------------------
  |  Branch (2576:13): [True: 0, False: 102]
  |  Branch (2576:48): [True: 0, False: 102]
  ------------------
 2577|  1.62k|            resultPrecision = sequence[0]->getAsTyped()->getQualifier().precision;
 2578|    102|        else if (function.getType().getBasicType() != EbtBool)
  ------------------
  |  Branch (2578:18): [True: 102, False: 0]
  ------------------
 2579|    102|            resultPrecision = function.getType().getQualifier().precision == EpqNone ?
  ------------------
  |  Branch (2579:31): [True: 102, False: 0]
  ------------------
 2580|    102|                                        operationPrecision :
 2581|    102|                                        function.getType().getQualifier().precision;
 2582|  1.72k|    }
 2583|       |
 2584|       |    // Propagate precision through this node and its children. That algorithm stops
 2585|       |    // when a precision is found, so start by clearing this subroot precision
 2586|  1.84k|    opNode->getQualifier().precision = EpqNone;
 2587|  1.84k|    if (operationPrecision != EpqNone) {
  ------------------
  |  Branch (2587:9): [True: 1.84k, False: 0]
  ------------------
 2588|  1.84k|        opNode->propagatePrecision(operationPrecision);
 2589|  1.84k|        opNode->setOperationPrecision(operationPrecision);
 2590|  1.84k|    }
 2591|       |    // Now, set the result precision, which might not match
 2592|  1.84k|    opNode->getQualifier().precision = resultPrecision;
 2593|  1.84k|}
_ZN7glslang13TParseContext17handleReturnValueERKNS_10TSourceLocEPNS_12TIntermTypedE:
 2596|    234|{
 2597|    234|    storage16BitAssignmentCheck(loc, value->getType(), "return");
 2598|       |
 2599|    234|    functionReturnsValue = true;
 2600|    234|    TIntermBranch* branch = nullptr;
 2601|    234|    if (currentFunctionType->getBasicType() == EbtVoid) {
  ------------------
  |  Branch (2601:9): [True: 0, False: 234]
  ------------------
 2602|      0|        error(loc, "void function cannot return a value", "return", "");
 2603|      0|        branch = intermediate.addBranch(EOpReturn, loc);
 2604|    234|    } else if (*currentFunctionType != value->getType()) {
  ------------------
  |  Branch (2604:16): [True: 3, False: 231]
  ------------------
 2605|      3|        TIntermTyped* converted = intermediate.addConversion(EOpReturn, *currentFunctionType, value);
 2606|      3|        if (converted) {
  ------------------
  |  Branch (2606:13): [True: 3, False: 0]
  ------------------
 2607|      3|            if (*currentFunctionType != converted->getType())
  ------------------
  |  Branch (2607:17): [True: 3, False: 0]
  ------------------
 2608|      3|                error(loc, "cannot convert return value to function return type", "return", "");
 2609|      3|            if (version < 420)
  ------------------
  |  Branch (2609:17): [True: 0, False: 3]
  ------------------
 2610|      0|                warn(loc, "type conversion on return values was not explicitly allowed until version 420",
 2611|      0|                     "return", "");
 2612|      3|            branch = intermediate.addBranch(EOpReturn, converted, loc);
 2613|      3|        } else {
 2614|      0|            error(loc, "type does not match, or is not convertible to, the function's return type", "return", "");
 2615|      0|            branch = intermediate.addBranch(EOpReturn, value, loc);
 2616|      0|        }
 2617|    231|    } else {
 2618|    231|        if (value->getType().isTexture() || value->getType().isImage()) {
  ------------------
  |  Branch (2618:13): [True: 0, False: 231]
  |  Branch (2618:45): [True: 0, False: 231]
  ------------------
 2619|      0|            if (spvVersion.spv != 0)
  ------------------
  |  Branch (2619:17): [True: 0, False: 0]
  ------------------
 2620|      0|                error(loc, "sampler or image cannot be used as return type when generating SPIR-V", "return", "");
 2621|      0|            else if (!extensionTurnedOn(E_GL_ARB_bindless_texture))
  ------------------
  |  Branch (2621:22): [True: 0, False: 0]
  ------------------
 2622|      0|                error(loc, "sampler or image can be used as return type only when the extension GL_ARB_bindless_texture enabled", "return", "");
 2623|      0|        }
 2624|    231|        branch = intermediate.addBranch(EOpReturn, value, loc);
 2625|    231|    }
 2626|    234|    branch->updatePrecision(currentFunctionType->getQualifier().precision);
 2627|    234|    return branch;
 2628|    234|}
_ZN7glslang13TParseContext13checkLocationERKNS_10TSourceLocENS_9TOperatorE:
 2632|  1.84k|{
 2633|  1.84k|    switch (op) {
 2634|      0|    case EOpBarrier:
  ------------------
  |  Branch (2634:5): [True: 0, False: 1.84k]
  ------------------
 2635|      0|        if (language == EShLangTessControl) {
  ------------------
  |  Branch (2635:13): [True: 0, False: 0]
  ------------------
 2636|      0|            if (controlFlowNestingLevel > 0)
  ------------------
  |  Branch (2636:17): [True: 0, False: 0]
  ------------------
 2637|      0|                error(loc, "tessellation control barrier() cannot be placed within flow control", "", "");
 2638|      0|            if (! inMain)
  ------------------
  |  Branch (2638:17): [True: 0, False: 0]
  ------------------
 2639|      0|                error(loc, "tessellation control barrier() must be in main()", "", "");
 2640|      0|            else if (postEntryPointReturn)
  ------------------
  |  Branch (2640:22): [True: 0, False: 0]
  ------------------
 2641|      0|                error(loc, "tessellation control barrier() cannot be placed after a return from main()", "", "");
 2642|      0|        }
 2643|      0|        break;
 2644|      0|    case EOpBeginInvocationInterlock:
  ------------------
  |  Branch (2644:5): [True: 0, False: 1.84k]
  ------------------
 2645|      0|        if (language != EShLangFragment)
  ------------------
  |  Branch (2645:13): [True: 0, False: 0]
  ------------------
 2646|      0|            error(loc, "beginInvocationInterlockARB() must be in a fragment shader", "", "");
 2647|      0|        if (! inMain)
  ------------------
  |  Branch (2647:13): [True: 0, False: 0]
  ------------------
 2648|      0|            error(loc, "beginInvocationInterlockARB() must be in main()", "", "");
 2649|      0|        else if (postEntryPointReturn)
  ------------------
  |  Branch (2649:18): [True: 0, False: 0]
  ------------------
 2650|      0|            error(loc, "beginInvocationInterlockARB() cannot be placed after a return from main()", "", "");
 2651|      0|        if (controlFlowNestingLevel > 0)
  ------------------
  |  Branch (2651:13): [True: 0, False: 0]
  ------------------
 2652|      0|            error(loc, "beginInvocationInterlockARB() cannot be placed within flow control", "", "");
 2653|       |
 2654|      0|        if (beginInvocationInterlockCount > 0)
  ------------------
  |  Branch (2654:13): [True: 0, False: 0]
  ------------------
 2655|      0|            error(loc, "beginInvocationInterlockARB() must only be called once", "", "");
 2656|      0|        if (endInvocationInterlockCount > 0)
  ------------------
  |  Branch (2656:13): [True: 0, False: 0]
  ------------------
 2657|      0|            error(loc, "beginInvocationInterlockARB() must be called before endInvocationInterlockARB()", "", "");
 2658|       |
 2659|      0|        beginInvocationInterlockCount++;
 2660|       |
 2661|       |        // default to pixel_interlock_ordered
 2662|      0|        if (intermediate.getInterlockOrdering() == EioNone)
  ------------------
  |  Branch (2662:13): [True: 0, False: 0]
  ------------------
 2663|      0|            intermediate.setInterlockOrdering(EioPixelInterlockOrdered);
 2664|      0|        break;
 2665|      0|    case EOpEndInvocationInterlock:
  ------------------
  |  Branch (2665:5): [True: 0, False: 1.84k]
  ------------------
 2666|      0|        if (language != EShLangFragment)
  ------------------
  |  Branch (2666:13): [True: 0, False: 0]
  ------------------
 2667|      0|            error(loc, "endInvocationInterlockARB() must be in a fragment shader", "", "");
 2668|      0|        if (! inMain)
  ------------------
  |  Branch (2668:13): [True: 0, False: 0]
  ------------------
 2669|      0|            error(loc, "endInvocationInterlockARB() must be in main()", "", "");
 2670|      0|        else if (postEntryPointReturn)
  ------------------
  |  Branch (2670:18): [True: 0, False: 0]
  ------------------
 2671|      0|            error(loc, "endInvocationInterlockARB() cannot be placed after a return from main()", "", "");
 2672|      0|        if (controlFlowNestingLevel > 0)
  ------------------
  |  Branch (2672:13): [True: 0, False: 0]
  ------------------
 2673|      0|            error(loc, "endInvocationInterlockARB() cannot be placed within flow control", "", "");
 2674|       |
 2675|      0|        if (endInvocationInterlockCount > 0)
  ------------------
  |  Branch (2675:13): [True: 0, False: 0]
  ------------------
 2676|      0|            error(loc, "endInvocationInterlockARB() must only be called once", "", "");
 2677|      0|        if (beginInvocationInterlockCount == 0)
  ------------------
  |  Branch (2677:13): [True: 0, False: 0]
  ------------------
 2678|      0|            error(loc, "beginInvocationInterlockARB() must be called before endInvocationInterlockARB()", "", "");
 2679|       |
 2680|      0|        endInvocationInterlockCount++;
 2681|      0|        break;
 2682|  1.84k|    default:
  ------------------
  |  Branch (2682:5): [True: 1.84k, False: 0]
  ------------------
 2683|  1.84k|        break;
 2684|  1.84k|    }
 2685|  1.84k|}
_ZNK7glslang13TParseContext27addInputArgumentConversionsERKNS_9TFunctionERP11TIntermNode:
 2756|  1.85k|{
 2757|  1.85k|    TIntermAggregate* aggregate = arguments->getAsAggregate();
 2758|       |
 2759|       |    // Process each argument's conversion
 2760|  8.34k|    for (int i = 0; i < function.getParamCount(); ++i) {
  ------------------
  |  Branch (2760:21): [True: 6.48k, False: 1.85k]
  ------------------
 2761|       |        // At this early point there is a slight ambiguity between whether an aggregate 'arguments'
 2762|       |        // is the single argument itself or its children are the arguments.  Only one argument
 2763|       |        // means take 'arguments' itself as the one argument.
 2764|  6.48k|        TIntermTyped* arg = function.getParamCount() == 1 ? arguments->getAsTyped() : (aggregate ? aggregate->getSequence()[i]->getAsTyped() : arguments->getAsTyped());
  ------------------
  |  Branch (2764:29): [True: 123, False: 6.36k]
  |  Branch (2764:88): [True: 6.36k, False: 0]
  ------------------
 2765|  6.48k|        if (*function[i].type != arg->getType()) {
  ------------------
  |  Branch (2765:13): [True: 0, False: 6.48k]
  ------------------
 2766|      0|            if (function[i].type->getQualifier().isParamInput() &&
  ------------------
  |  Branch (2766:17): [True: 0, False: 0]
  ------------------
 2767|      0|               !function[i].type->isCoopMat() && !function[i].type->isTensorARM() &&
  ------------------
  |  Branch (2767:16): [True: 0, False: 0]
  |  Branch (2767:50): [True: 0, False: 0]
  ------------------
 2768|       |               // tensor layout/view type declarations don't do conversions, so we can't convert these parameters either
 2769|      0|               (function.getName() != "createTensorLayoutNV") &&
  ------------------
  |  Branch (2769:16): [True: 0, False: 0]
  ------------------
 2770|      0|               (function.getName() != "createTensorViewNV")) {
  ------------------
  |  Branch (2770:16): [True: 0, False: 0]
  ------------------
 2771|       |                // In-qualified arguments just need an extra node added above the argument to
 2772|       |                // convert to the correct type.
 2773|      0|                arg = intermediate.addConversion(EOpFunctionCall, *function[i].type, arg);
 2774|      0|                if (arg) {
  ------------------
  |  Branch (2774:21): [True: 0, False: 0]
  ------------------
 2775|      0|                    if (function.getParamCount() == 1)
  ------------------
  |  Branch (2775:25): [True: 0, False: 0]
  ------------------
 2776|      0|                        arguments = arg;
 2777|      0|                    else {
 2778|      0|                        if (aggregate)
  ------------------
  |  Branch (2778:29): [True: 0, False: 0]
  ------------------
 2779|      0|                            aggregate->getSequence()[i] = arg;
 2780|      0|                        else
 2781|      0|                            arguments = arg;
 2782|      0|                    }
 2783|      0|                }
 2784|      0|            }
 2785|      0|        }
 2786|  6.48k|    }
 2787|  1.85k|}
_ZNK7glslang13TParseContext28addOutputArgumentConversionsERKNS_9TFunctionERNS_16TIntermAggregateE:
 2797|  1.87k|{
 2798|  1.87k|    TIntermSequence& arguments = intermNode.getSequence();
 2799|       |
 2800|       |    // Will there be any output conversions?
 2801|  1.87k|    bool outputConversions = false;
 2802|  8.24k|    for (int i = 0; i < function.getParamCount(); ++i) {
  ------------------
  |  Branch (2802:21): [True: 6.36k, False: 1.87k]
  ------------------
 2803|  6.36k|        if (*function[i].type != arguments[i]->getAsTyped()->getType() && function[i].type->getQualifier().isParamOutput() &&
  ------------------
  |  Branch (2803:13): [True: 0, False: 6.36k]
  |  Branch (2803:75): [True: 0, False: 0]
  ------------------
 2804|      0|            !function[i].type->isCoopMat()) {
  ------------------
  |  Branch (2804:13): [True: 0, False: 0]
  ------------------
 2805|      0|            outputConversions = true;
 2806|      0|            break;
 2807|      0|        }
 2808|  6.36k|    }
 2809|       |
 2810|  1.87k|    if (! outputConversions)
  ------------------
  |  Branch (2810:9): [True: 1.87k, False: 0]
  ------------------
 2811|  1.87k|        return &intermNode;
 2812|       |
 2813|       |    // Setup for the new tree, if needed:
 2814|       |    //
 2815|       |    // Output conversions need a different tree topology.
 2816|       |    // Out-qualified arguments need a temporary of the correct type, with the call
 2817|       |    // followed by an assignment of the temporary to the original argument:
 2818|       |    //     void: function(arg, ...)  ->        (          function(tempArg, ...), arg = tempArg, ...)
 2819|       |    //     ret = function(arg, ...)  ->  ret = (tempRet = function(tempArg, ...), arg = tempArg, ..., tempRet)
 2820|       |    // Where the "tempArg" type needs no conversion as an argument, but will convert on assignment.
 2821|      0|    TIntermTyped* conversionTree = nullptr;
 2822|      0|    TVariable* tempRet = nullptr;
 2823|      0|    if (intermNode.getBasicType() != EbtVoid) {
  ------------------
  |  Branch (2823:9): [True: 0, False: 0]
  ------------------
 2824|       |        // do the "tempRet = function(...), " bit from above
 2825|      0|        tempRet = makeInternalVariable("tempReturn", intermNode.getType());
 2826|      0|        TIntermSymbol* tempRetNode = intermediate.addSymbol(*tempRet, intermNode.getLoc());
 2827|      0|        conversionTree = intermediate.addAssign(EOpAssign, tempRetNode, &intermNode, intermNode.getLoc());
 2828|      0|    } else
 2829|      0|        conversionTree = &intermNode;
 2830|       |
 2831|      0|    conversionTree = intermediate.makeAggregate(conversionTree);
 2832|       |
 2833|       |    // Process each argument's conversion
 2834|      0|    for (int i = 0; i < function.getParamCount(); ++i) {
  ------------------
  |  Branch (2834:21): [True: 0, False: 0]
  ------------------
 2835|      0|        if (*function[i].type != arguments[i]->getAsTyped()->getType()) {
  ------------------
  |  Branch (2835:13): [True: 0, False: 0]
  ------------------
 2836|      0|            if (function[i].type->getQualifier().isParamOutput()) {
  ------------------
  |  Branch (2836:17): [True: 0, False: 0]
  ------------------
 2837|       |                // Out-qualified arguments need to use the topology set up above.
 2838|       |                // do the " ...(tempArg, ...), arg = tempArg" bit from above
 2839|      0|                TType paramType;
 2840|      0|                paramType.shallowCopy(*function[i].type);
 2841|      0|                if (arguments[i]->getAsTyped()->getType().isParameterized() &&
  ------------------
  |  Branch (2841:21): [True: 0, False: 0]
  ------------------
 2842|      0|                    !paramType.isParameterized()) {
  ------------------
  |  Branch (2842:21): [True: 0, False: 0]
  ------------------
 2843|      0|                    paramType.shallowCopy(arguments[i]->getAsTyped()->getType());
 2844|      0|                    paramType.copyTypeParameters(*arguments[i]->getAsTyped()->getType().getTypeParameters());
 2845|      0|                }
 2846|      0|                TVariable* tempArg = makeInternalVariable("tempArg", paramType);
 2847|      0|                tempArg->getWritableType().getQualifier().makeTemporary();
 2848|      0|                TIntermSymbol* tempArgNode = intermediate.addSymbol(*tempArg, intermNode.getLoc());
 2849|      0|                TIntermTyped* tempAssign = intermediate.addAssign(EOpAssign, arguments[i]->getAsTyped(), tempArgNode, arguments[i]->getLoc());
 2850|      0|                conversionTree = intermediate.growAggregate(conversionTree, tempAssign, arguments[i]->getLoc());
 2851|       |                // replace the argument with another node for the same tempArg variable
 2852|      0|                arguments[i] = intermediate.addSymbol(*tempArg, intermNode.getLoc());
 2853|      0|            }
 2854|      0|        }
 2855|      0|    }
 2856|       |
 2857|       |    // Finalize the tree topology (see bigger comment above).
 2858|      0|    if (tempRet) {
  ------------------
  |  Branch (2858:9): [True: 0, False: 0]
  ------------------
 2859|       |        // do the "..., tempRet" bit from above
 2860|      0|        TIntermSymbol* tempRetNode = intermediate.addSymbol(*tempRet, intermNode.getLoc());
 2861|      0|        conversionTree = intermediate.growAggregate(conversionTree, tempRetNode, intermNode.getLoc());
 2862|      0|    }
 2863|      0|    conversionTree = intermediate.setAggregateOperator(conversionTree, EOpComma, intermNode.getType(), intermNode.getLoc());
 2864|       |
 2865|      0|    return conversionTree;
 2866|  1.87k|}
_ZN7glslang13TParseContext9addAssignERKNS_10TSourceLocENS_9TOperatorEPNS_12TIntermTypedES6_:
 2869|  1.62k|{
 2870|  1.62k|    if ((op == EOpAddAssign || op == EOpSubAssign) && left->isReference())
  ------------------
  |  Branch (2870:10): [True: 1.62k, False: 0]
  |  Branch (2870:32): [True: 0, False: 0]
  |  Branch (2870:55): [True: 0, False: 1.62k]
  ------------------
 2871|      0|        requireExtensions(loc, 1, &E_GL_EXT_buffer_reference2, "+= and -= on a buffer reference");
 2872|       |
 2873|  1.62k|    if (op == EOpAssign && left->getBasicType() == EbtSampler && right->getBasicType() == EbtSampler)
  ------------------
  |  Branch (2873:9): [True: 0, False: 1.62k]
  |  Branch (2873:28): [True: 0, False: 0]
  |  Branch (2873:66): [True: 0, False: 0]
  ------------------
 2874|      0|        requireExtensions(loc, 1, &E_GL_ARB_bindless_texture, "sampler assignment for bindless texture");
 2875|       |
 2876|  1.62k|    return intermediate.addAssign(op, left, right, loc);
 2877|  1.62k|}
_ZN7glslang13TParseContext23requireDerivativeLayoutERKNS_10TSourceLocEPKcb:
 3173|    303|{
 3174|    303|    if (language != EShLangCompute && language != EShLangTask && language != EShLangMesh)
  ------------------
  |  Branch (3174:9): [True: 303, False: 0]
  |  Branch (3174:39): [True: 303, False: 0]
  |  Branch (3174:66): [True: 303, False: 0]
  ------------------
 3175|    303|        return;
 3176|       |
 3177|       |    // Prior to the compute shader derivatives extensions:
 3178|       |    //  - texture operations using implicit derivatives could be treated as if
 3179|       |    //    the base level of detail was zero. If neither of the compute shader
 3180|       |    //    derivative extensions are enabled, we preserve that behavior to
 3181|       |    //    avoid breaking existing shaders that may rely on that
 3182|       |    //  - derivative operations (such as dFdx()) were only allowed in fragment
 3183|       |    //    shaders, and can only be used in other stages if one of the
 3184|       |    //    extensions are enabled.
 3185|       |
 3186|      0|    if (isDerivativeOp) {
  ------------------
  |  Branch (3186:9): [True: 0, False: 0]
  ------------------
 3187|       |        // GL_NV_compute_shader_derivative added support for derivative operations
 3188|       |        // in compute shaders (only).
 3189|       |        //  GL_KHR_compute_shader_derivatives extended this to
 3190|       |        // task and mesh shaders.
 3191|       |
 3192|      0|        if (language == EShLangCompute) {
  ------------------
  |  Branch (3192:13): [True: 0, False: 0]
  ------------------
 3193|      0|            const char* const derivativeExts[] = {E_GL_NV_compute_shader_derivatives,
 3194|      0|                                                  E_GL_KHR_compute_shader_derivatives};
 3195|      0|            requireExtensions(loc, 2, derivativeExts, featureDesc);
 3196|      0|        } else {
 3197|      0|            requireExtensions(loc, 1, &E_GL_KHR_compute_shader_derivatives, featureDesc);
 3198|      0|        }
 3199|      0|    }
 3200|       |
 3201|       |    // GL_KHR_compute_shader_derivatives requires a derivative group mode to
 3202|       |    // be specified. GL_NV_compute_shader_derivative does not.
 3203|      0|    if (extensionTurnedOn(E_GL_KHR_compute_shader_derivatives) &&
  ------------------
  |  Branch (3203:9): [True: 0, False: 0]
  ------------------
 3204|      0|        !intermediate.hasLayoutDerivativeModeNone())
  ------------------
  |  Branch (3204:9): [True: 0, False: 0]
  ------------------
 3205|      0|        error(loc, "requires a derivative_group_quads* or derivative_group_linear* layout qualifier", featureDesc, "");
 3206|      0|}
_ZN7glslang13TParseContext14builtInOpCheckERKNS_10TSourceLocERKNS_9TFunctionERNS_15TIntermOperatorE:
 3209|  1.84k|{
 3210|       |    // Set up convenience accessors to the argument(s).  There is almost always
 3211|       |    // multiple arguments for the cases below, but when there might be one,
 3212|       |    // check the unaryArg first.
 3213|  1.84k|    const TIntermSequence* argp = nullptr;   // confusing to use [] syntax on a pointer, so this is to help get a reference
 3214|  1.84k|    const TIntermTyped* unaryArg = nullptr;
 3215|  1.84k|    const TIntermTyped* arg0 = nullptr;
 3216|  1.84k|    if (callNode.getAsAggregate()) {
  ------------------
  |  Branch (3216:9): [True: 1.72k, False: 120]
  ------------------
 3217|  1.72k|        argp = &callNode.getAsAggregate()->getSequence();
 3218|  1.72k|        if (argp->size() > 0)
  ------------------
  |  Branch (3218:13): [True: 1.72k, False: 0]
  ------------------
 3219|  1.72k|            arg0 = (*argp)[0]->getAsTyped();
 3220|  1.72k|    } else {
 3221|    120|        assert(callNode.getAsUnaryNode());
 3222|    120|        unaryArg = callNode.getAsUnaryNode()->getOperand();
 3223|    120|        arg0 = unaryArg;
 3224|    120|    }
 3225|       |
 3226|  1.84k|    TString featureString;
 3227|  1.84k|    const char* feature = nullptr;
 3228|       |
 3229|  1.84k|    auto checkConstantArgWithLocation = [&](int argIndex, const char* argDescription,
 3230|  1.84k|                                                       const char* errMsg, int ioRTLocationSet) {
 3231|       |        //ioRTLocationSet refers to grouping of locations of RT input/outputs as defined in TIntermediate::usedIoRT
 3232|  1.84k|        if (!(*argp)[argIndex]->getAsConstantUnion()) {
 3233|  1.84k|            error(loc, "argument must be compile-time constant", argDescription, argIndex == 10 ? "a" : "");
 3234|  1.84k|        } else if (ioRTLocationSet >= 0) {
 3235|  1.84k|            unsigned int location = (*argp)[argIndex]->getAsConstantUnion()->getAsConstantUnion()->getConstArray()[0].getUConst();
 3236|  1.84k|            if (!extensionTurnedOn(E_GL_EXT_spirv_intrinsics) && intermediate.checkLocationRT(ioRTLocationSet, location) < 0)
 3237|  1.84k|                error(loc, "with layout(location =", errMsg, "%d)", location);
 3238|  1.84k|        }
 3239|  1.84k|    };
 3240|       |
 3241|  1.84k|    switch (callNode.getOp()) {
 3242|      0|    case EOpDPdx:
  ------------------
  |  Branch (3242:5): [True: 0, False: 1.84k]
  ------------------
 3243|      0|    case EOpDPdxFine:
  ------------------
  |  Branch (3243:5): [True: 0, False: 1.84k]
  ------------------
 3244|      0|    case EOpDPdxCoarse:
  ------------------
  |  Branch (3244:5): [True: 0, False: 1.84k]
  ------------------
 3245|      0|    case EOpDPdy:
  ------------------
  |  Branch (3245:5): [True: 0, False: 1.84k]
  ------------------
 3246|      0|    case EOpDPdyFine:
  ------------------
  |  Branch (3246:5): [True: 0, False: 1.84k]
  ------------------
 3247|      0|    case EOpDPdyCoarse:
  ------------------
  |  Branch (3247:5): [True: 0, False: 1.84k]
  ------------------
 3248|      0|    case EOpFwidth:
  ------------------
  |  Branch (3248:5): [True: 0, False: 1.84k]
  ------------------
 3249|      0|    case EOpFwidthFine:
  ------------------
  |  Branch (3249:5): [True: 0, False: 1.84k]
  ------------------
 3250|      0|    case EOpFwidthCoarse:
  ------------------
  |  Branch (3250:5): [True: 0, False: 1.84k]
  ------------------
 3251|      0|        requireDerivativeLayout(loc, fnCandidate.getName().c_str(), true);
 3252|      0|        break;
 3253|       |
 3254|     60|    case EOpTextureGather:
  ------------------
  |  Branch (3254:5): [True: 60, False: 1.78k]
  ------------------
 3255|     96|    case EOpTextureGatherOffset:
  ------------------
  |  Branch (3255:5): [True: 36, False: 1.81k]
  ------------------
 3256|    132|    case EOpTextureGatherOffsets:
  ------------------
  |  Branch (3256:5): [True: 36, False: 1.81k]
  ------------------
 3257|    132|    {
 3258|       |        // Figure out which variants are allowed by what extensions,
 3259|       |        // and what arguments must be constant for which situations.
 3260|       |
 3261|    132|        featureString = fnCandidate.getName();
 3262|    132|        featureString += "(...)";
 3263|    132|        feature = featureString.c_str();
 3264|    132|        profileRequires(loc, EEsProfile, 310, nullptr, feature);
 3265|    132|        int compArg = -1;  // track which argument, if any, is the constant component argument
 3266|    132|        const int numTexGatherExts = 3;
 3267|    132|        const char* texGatherExts[numTexGatherExts] = { E_GL_ARB_texture_gather,
 3268|    132|                                                        E_GL_ARB_gpu_shader5,
 3269|    132|                                                        E_GL_NV_gpu_shader5};
 3270|    132|        switch (callNode.getOp()) {
 3271|     60|        case EOpTextureGather:
  ------------------
  |  Branch (3271:9): [True: 60, False: 72]
  ------------------
 3272|       |            // More than two arguments needs gpu_shader5, and rectangular or shadow needs gpu_shader5,
 3273|       |            // otherwise, need GL_ARB_texture_gather.
 3274|     60|            if (fnCandidate.getParamCount() > 2 || fnCandidate[0].type->getSampler().dim == EsdRect || fnCandidate[0].type->getSampler().shadow) {
  ------------------
  |  Branch (3274:17): [True: 60, False: 0]
  |  Branch (3274:52): [True: 0, False: 0]
  |  Branch (3274:104): [True: 0, False: 0]
  ------------------
 3275|     60|                profileRequires(loc, ~EEsProfile, 400, Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5, feature);
 3276|     60|                if (! fnCandidate[0].type->getSampler().shadow)
  ------------------
  |  Branch (3276:21): [True: 30, False: 30]
  ------------------
 3277|     30|                    compArg = 2;
 3278|     60|            } else
 3279|      0|                profileRequires(loc, ~EEsProfile, 400, numTexGatherExts, texGatherExts, feature);
 3280|     60|            break;
 3281|     36|        case EOpTextureGatherOffset:
  ------------------
  |  Branch (3281:9): [True: 36, False: 96]
  ------------------
 3282|       |            // GL_ARB_texture_gather is good enough for 2D non-shadow textures with no component argument
 3283|     36|            if (fnCandidate[0].type->getSampler().dim == Esd2D && ! fnCandidate[0].type->getSampler().shadow && fnCandidate.getParamCount() == 3)
  ------------------
  |  Branch (3283:17): [True: 24, False: 12]
  |  Branch (3283:67): [True: 12, False: 12]
  |  Branch (3283:113): [True: 0, False: 12]
  ------------------
 3284|      0|                profileRequires(loc, ~EEsProfile, 400, numTexGatherExts, texGatherExts, feature);
 3285|     36|            else
 3286|     36|                profileRequires(loc, ~EEsProfile, 400, Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5, feature);
 3287|     36|            if (! (*argp)[fnCandidate[0].type->getSampler().shadow ? 3 : 2]->getAsConstantUnion())
  ------------------
  |  Branch (3287:17): [True: 0, False: 36]
  |  Branch (3287:27): [True: 18, False: 18]
  ------------------
 3288|      0|                profileRequires(loc, EEsProfile, 320, Num_AEP_gpu_shader5, AEP_gpu_shader5,
 3289|      0|                                "non-constant offset argument");
 3290|     36|            if (! fnCandidate[0].type->getSampler().shadow)
  ------------------
  |  Branch (3290:17): [True: 18, False: 18]
  ------------------
 3291|     18|                compArg = 3;
 3292|     36|            break;
 3293|     36|        case EOpTextureGatherOffsets:
  ------------------
  |  Branch (3293:9): [True: 36, False: 96]
  ------------------
 3294|     36|            profileRequires(loc, ~EEsProfile, 400, Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5, feature);
 3295|     36|            if (! fnCandidate[0].type->getSampler().shadow)
  ------------------
  |  Branch (3295:17): [True: 18, False: 18]
  ------------------
 3296|     18|                compArg = 3;
 3297|       |            // check for constant offsets
 3298|     36|            if (! (*argp)[fnCandidate[0].type->getSampler().shadow ? 3 : 2]->getAsConstantUnion()
  ------------------
  |  Branch (3298:17): [True: 0, False: 36]
  |  Branch (3298:27): [True: 18, False: 18]
  ------------------
 3299|       |                // NV_gpu_shader5 relaxes this limitation and allows for non-constant offsets
 3300|      0|                && !extensionTurnedOn(E_GL_NV_gpu_shader5))
  ------------------
  |  Branch (3300:20): [True: 0, False: 0]
  ------------------
 3301|      0|                error(loc, "must be a compile-time constant:", feature, "offsets argument");
 3302|     36|            break;
 3303|      0|        default:
  ------------------
  |  Branch (3303:9): [True: 0, False: 132]
  ------------------
 3304|      0|            break;
 3305|    132|        }
 3306|       |
 3307|    132|        if (compArg > 0 && compArg < fnCandidate.getParamCount()) {
  ------------------
  |  Branch (3307:13): [True: 66, False: 66]
  |  Branch (3307:28): [True: 66, False: 0]
  ------------------
 3308|     66|            if ((*argp)[compArg]->getAsConstantUnion()) {
  ------------------
  |  Branch (3308:17): [True: 66, False: 0]
  ------------------
 3309|     66|                int value = (*argp)[compArg]->getAsConstantUnion()->getConstArray()[0].getIConst();
 3310|     66|                if (value < 0 || value > 3)
  ------------------
  |  Branch (3310:21): [True: 0, False: 66]
  |  Branch (3310:34): [True: 0, False: 66]
  ------------------
 3311|      0|                    error(loc, "must be 0, 1, 2, or 3:", feature, "component argument");
 3312|     66|            } else
 3313|      0|                error(loc, "must be a compile-time constant:", feature, "component argument");
 3314|     66|        }
 3315|       |
 3316|    132|        bool bias = false;
 3317|    132|        if (callNode.getOp() == EOpTextureGather)
  ------------------
  |  Branch (3317:13): [True: 60, False: 72]
  ------------------
 3318|     60|            bias = fnCandidate.getParamCount() > 3;
 3319|     72|        else if (callNode.getOp() == EOpTextureGatherOffset ||
  ------------------
  |  Branch (3319:18): [True: 36, False: 36]
  ------------------
 3320|     36|                 callNode.getOp() == EOpTextureGatherOffsets)
  ------------------
  |  Branch (3320:18): [True: 36, False: 0]
  ------------------
 3321|     72|            bias = fnCandidate.getParamCount() > 4;
 3322|       |
 3323|    132|        if (bias) {
  ------------------
  |  Branch (3323:13): [True: 0, False: 132]
  ------------------
 3324|      0|            featureString = fnCandidate.getName();
 3325|      0|            featureString += "with bias argument";
 3326|      0|            feature = featureString.c_str();
 3327|      0|            profileRequires(loc, ~EEsProfile, 450, nullptr, feature);
 3328|      0|            requireExtensions(loc, 1, &E_GL_AMD_texture_gather_bias_lod, feature);
 3329|      0|        }
 3330|    132|        break;
 3331|    132|    }
 3332|       |
 3333|      0|    case EOpTextureGather4x1QCOM:
  ------------------
  |  Branch (3333:5): [True: 0, False: 1.84k]
  ------------------
 3334|      0|    case EOpTextureGatherV2QCOM:
  ------------------
  |  Branch (3334:5): [True: 0, False: 1.84k]
  ------------------
 3335|      0|    case EOpTextureGatherH2QCOM:
  ------------------
  |  Branch (3335:5): [True: 0, False: 1.84k]
  ------------------
 3336|      0|    case EOpTextureGatherDQCOM:
  ------------------
  |  Branch (3336:5): [True: 0, False: 1.84k]
  ------------------
 3337|      0|    case EOpTextureGather4x1OffsetQCOM:
  ------------------
  |  Branch (3337:5): [True: 0, False: 1.84k]
  ------------------
 3338|      0|    case EOpTextureGatherV2OffsetQCOM:
  ------------------
  |  Branch (3338:5): [True: 0, False: 1.84k]
  ------------------
 3339|      0|    case EOpTextureGatherH2OffsetQCOM:
  ------------------
  |  Branch (3339:5): [True: 0, False: 1.84k]
  ------------------
 3340|      0|    case EOpTextureGatherDOffsetQCOM:
  ------------------
  |  Branch (3340:5): [True: 0, False: 1.84k]
  ------------------
 3341|      0|    {
 3342|      0|        featureString = fnCandidate.getName();
 3343|      0|        featureString += "(...)";
 3344|      0|        feature = featureString.c_str();
 3345|      0|        profileRequires(loc, EEsProfile, 310, nullptr, feature);
 3346|      0|        int compArg = -1;  // track which argument, if any, is the constant component argument
 3347|      0|        const int numTexGatherExts = 1;
 3348|      0|        const char* texGatherExts[numTexGatherExts] = { E_GL_QCOM_image_processing3 };
 3349|      0|        switch (callNode.getOp()) {
 3350|      0|        case EOpTextureGather4x1QCOM:
  ------------------
  |  Branch (3350:9): [True: 0, False: 0]
  ------------------
 3351|      0|        case EOpTextureGatherV2QCOM:
  ------------------
  |  Branch (3351:9): [True: 0, False: 0]
  ------------------
 3352|      0|        case EOpTextureGatherH2QCOM:
  ------------------
  |  Branch (3352:9): [True: 0, False: 0]
  ------------------
 3353|      0|        case EOpTextureGatherDQCOM:
  ------------------
  |  Branch (3353:9): [True: 0, False: 0]
  ------------------
 3354|      0|            profileRequires(loc, ~EEsProfile, 460, numTexGatherExts, texGatherExts, feature);
 3355|       |            // More than two arguments needs gpu_shader5, and rectangular or shadow needs gpu_shader5,
 3356|       |            // otherwise, need GL_ARB_texture_gather.
 3357|      0|            if (fnCandidate.getParamCount() > 2) {
  ------------------
  |  Branch (3357:17): [True: 0, False: 0]
  ------------------
 3358|      0|                compArg = 2;
 3359|      0|            }
 3360|      0|            break;
 3361|      0|        case EOpTextureGather4x1OffsetQCOM:
  ------------------
  |  Branch (3361:9): [True: 0, False: 0]
  ------------------
 3362|      0|        case EOpTextureGatherV2OffsetQCOM:
  ------------------
  |  Branch (3362:9): [True: 0, False: 0]
  ------------------
 3363|      0|        case EOpTextureGatherH2OffsetQCOM:
  ------------------
  |  Branch (3363:9): [True: 0, False: 0]
  ------------------
 3364|      0|        case EOpTextureGatherDOffsetQCOM:
  ------------------
  |  Branch (3364:9): [True: 0, False: 0]
  ------------------
 3365|      0|            profileRequires(loc, ~EEsProfile, 460, numTexGatherExts, texGatherExts, feature);
 3366|      0|            if (fnCandidate.getParamCount() > 3) {
  ------------------
  |  Branch (3366:17): [True: 0, False: 0]
  ------------------
 3367|      0|                compArg = 3;
 3368|      0|            }
 3369|      0|            break;
 3370|      0|        default:
  ------------------
  |  Branch (3370:9): [True: 0, False: 0]
  ------------------
 3371|      0|            break;
 3372|      0|        }
 3373|       |
 3374|      0|        if (compArg > 0 && compArg < fnCandidate.getParamCount()) {
  ------------------
  |  Branch (3374:13): [True: 0, False: 0]
  |  Branch (3374:28): [True: 0, False: 0]
  ------------------
 3375|      0|            if ((*argp)[compArg]->getAsConstantUnion()) {
  ------------------
  |  Branch (3375:17): [True: 0, False: 0]
  ------------------
 3376|      0|                int value = (*argp)[compArg]->getAsConstantUnion()->getConstArray()[0].getIConst();
 3377|      0|                if (value < 0 || value > 3)
  ------------------
  |  Branch (3377:21): [True: 0, False: 0]
  |  Branch (3377:34): [True: 0, False: 0]
  ------------------
 3378|      0|                    error(loc, "must be 0, 1, 2, or 3:", feature, "component argument");
 3379|      0|            } else
 3380|      0|                error(loc, "must be a compile-time constant:", feature, "component argument");
 3381|      0|        }
 3382|      0|        break;
 3383|      0|    }
 3384|       |
 3385|    135|    case EOpTexture:
  ------------------
  |  Branch (3385:5): [True: 135, False: 1.71k]
  ------------------
 3386|    195|    case EOpTextureLod:
  ------------------
  |  Branch (3386:5): [True: 60, False: 1.78k]
  ------------------
 3387|    195|    {
 3388|    195|        if (callNode.getOp() == EOpTexture && fnCandidate.getParamCount() > 2)
  ------------------
  |  Branch (3388:13): [True: 135, False: 60]
  |  Branch (3388:47): [True: 9, False: 126]
  ------------------
 3389|      9|            requireDerivativeLayout(loc, (fnCandidate.getName() + " with bias argument").c_str(), false);
 3390|       |
 3391|    195|        if ((fnCandidate.getParamCount() > 2) && ((*argp)[1]->getAsTyped()->getType().getBasicType() == EbtFloat) &&
  ------------------
  |  Branch (3391:13): [True: 69, False: 126]
  |  Branch (3391:50): [True: 69, False: 0]
  ------------------
 3392|     69|            ((*argp)[1]->getAsTyped()->getType().getVectorSize() == 4) && fnCandidate[0].type->getSampler().shadow) {
  ------------------
  |  Branch (3392:13): [True: 15, False: 54]
  |  Branch (3392:75): [True: 9, False: 6]
  ------------------
 3393|      9|            featureString = fnCandidate.getName();
 3394|      9|            if (callNode.getOp() == EOpTexture)
  ------------------
  |  Branch (3394:17): [True: 9, False: 0]
  ------------------
 3395|      9|                featureString += "(..., float bias)";
 3396|      0|            else
 3397|      0|                featureString += "(..., float lod)";
 3398|      9|            feature = featureString.c_str();
 3399|       |
 3400|      9|            if ((fnCandidate[0].type->getSampler().dim == Esd2D && fnCandidate[0].type->getSampler().arrayed) || //2D Array Shadow
  ------------------
  |  Branch (3400:18): [True: 0, False: 9]
  |  Branch (3400:68): [True: 0, False: 0]
  ------------------
 3401|      9|                (fnCandidate[0].type->getSampler().dim == EsdCube && fnCandidate[0].type->getSampler().arrayed && fnCandidate.getParamCount() > 3) || // Cube Array Shadow
  ------------------
  |  Branch (3401:18): [True: 9, False: 0]
  |  Branch (3401:70): [True: 9, False: 0]
  |  Branch (3401:115): [True: 0, False: 9]
  ------------------
 3402|      9|                (fnCandidate[0].type->getSampler().dim == EsdCube && callNode.getOp() == EOpTextureLod)) { // Cube Shadow
  ------------------
  |  Branch (3402:18): [True: 9, False: 0]
  |  Branch (3402:70): [True: 0, False: 9]
  ------------------
 3403|      0|                requireExtensions(loc, 1, &E_GL_EXT_texture_shadow_lod, feature);
 3404|      0|                if (isEsProfile()) {
  ------------------
  |  Branch (3404:21): [True: 0, False: 0]
  ------------------
 3405|      0|                    if (version < 320 &&
  ------------------
  |  Branch (3405:25): [True: 0, False: 0]
  ------------------
 3406|      0|                        !extensionsTurnedOn(Num_AEP_texture_cube_map_array, AEP_texture_cube_map_array))
  ------------------
  |  Branch (3406:25): [True: 0, False: 0]
  ------------------
 3407|      0|                        error(loc, "GL_EXT_texture_shadow_lod not supported for this ES version", feature, "");
 3408|      0|                    else
 3409|      0|                        profileRequires(loc, EEsProfile, 320, nullptr, feature);
 3410|      0|                } else { // Desktop
 3411|      0|                    profileRequires(loc, ~EEsProfile, 130, nullptr, feature);
 3412|      0|                }
 3413|      0|            }
 3414|      9|        }
 3415|    195|        break;
 3416|    135|    }
 3417|       |
 3418|     60|    case EOpTextureProj:
  ------------------
  |  Branch (3418:5): [True: 60, False: 1.78k]
  ------------------
 3419|    126|    case EOpSparseTexture:
  ------------------
  |  Branch (3419:5): [True: 66, False: 1.78k]
  ------------------
 3420|    126|    case EOpTextureQueryLod:
  ------------------
  |  Branch (3420:5): [True: 0, False: 1.84k]
  ------------------
 3421|    126|        requireDerivativeLayout(loc, fnCandidate.getName().c_str(), false);
 3422|    126|        break;
 3423|       |
 3424|     30|    case EOpSparseTextureGather:
  ------------------
  |  Branch (3424:5): [True: 30, False: 1.81k]
  ------------------
 3425|     48|    case EOpSparseTextureGatherOffset:
  ------------------
  |  Branch (3425:5): [True: 18, False: 1.83k]
  ------------------
 3426|     66|    case EOpSparseTextureGatherOffsets:
  ------------------
  |  Branch (3426:5): [True: 18, False: 1.83k]
  ------------------
 3427|     66|    {
 3428|     66|        bool bias = false;
 3429|     66|        if (callNode.getOp() == EOpSparseTextureGather)
  ------------------
  |  Branch (3429:13): [True: 30, False: 36]
  ------------------
 3430|     30|            bias = fnCandidate.getParamCount() > 4;
 3431|     36|        else if (callNode.getOp() == EOpSparseTextureGatherOffset ||
  ------------------
  |  Branch (3431:18): [True: 18, False: 18]
  ------------------
 3432|     18|                 callNode.getOp() == EOpSparseTextureGatherOffsets)
  ------------------
  |  Branch (3432:18): [True: 18, False: 0]
  ------------------
 3433|     36|            bias = fnCandidate.getParamCount() > 5;
 3434|       |
 3435|     66|        if (bias) {
  ------------------
  |  Branch (3435:13): [True: 0, False: 66]
  ------------------
 3436|      0|            featureString = fnCandidate.getName();
 3437|      0|            featureString += "with bias argument";
 3438|      0|            feature = featureString.c_str();
 3439|      0|            profileRequires(loc, ~EEsProfile, 450, nullptr, feature);
 3440|      0|            requireExtensions(loc, 1, &E_GL_AMD_texture_gather_bias_lod, feature);
 3441|      0|        }
 3442|       |        // As per GL_ARB_sparse_texture2 extension "Offsets" parameter must be constant integral expression
 3443|       |        // for sparseTextureGatherOffsetsARB just as textureGatherOffsets
 3444|     66|        if (callNode.getOp() == EOpSparseTextureGatherOffsets) {
  ------------------
  |  Branch (3444:13): [True: 18, False: 48]
  ------------------
 3445|     18|            int offsetsArg = arg0->getType().getSampler().shadow ? 3 : 2;
  ------------------
  |  Branch (3445:30): [True: 9, False: 9]
  ------------------
 3446|     18|            if (!(*argp)[offsetsArg]->getAsConstantUnion())
  ------------------
  |  Branch (3446:17): [True: 0, False: 18]
  ------------------
 3447|      0|                error(loc, "argument must be compile-time constant", "offsets", "");
 3448|     18|        }
 3449|     66|        break;
 3450|     48|    }
 3451|       |
 3452|     12|    case EOpSparseTextureGatherLod:
  ------------------
  |  Branch (3452:5): [True: 12, False: 1.83k]
  ------------------
 3453|     18|    case EOpSparseTextureGatherLodOffset:
  ------------------
  |  Branch (3453:5): [True: 6, False: 1.84k]
  ------------------
 3454|     24|    case EOpSparseTextureGatherLodOffsets:
  ------------------
  |  Branch (3454:5): [True: 6, False: 1.84k]
  ------------------
 3455|     24|    {
 3456|     24|        requireExtensions(loc, 1, &E_GL_ARB_sparse_texture2, fnCandidate.getName().c_str());
 3457|     24|        break;
 3458|     18|    }
 3459|       |
 3460|      0|    case EOpSwizzleInvocations:
  ------------------
  |  Branch (3460:5): [True: 0, False: 1.84k]
  ------------------
 3461|      0|    {
 3462|      0|        if (! (*argp)[1]->getAsConstantUnion())
  ------------------
  |  Branch (3462:13): [True: 0, False: 0]
  ------------------
 3463|      0|            error(loc, "argument must be compile-time constant", "offset", "");
 3464|      0|        else {
 3465|      0|            unsigned offset[4] = {};
 3466|      0|            offset[0] = (*argp)[1]->getAsConstantUnion()->getConstArray()[0].getUConst();
 3467|      0|            offset[1] = (*argp)[1]->getAsConstantUnion()->getConstArray()[1].getUConst();
 3468|      0|            offset[2] = (*argp)[1]->getAsConstantUnion()->getConstArray()[2].getUConst();
 3469|      0|            offset[3] = (*argp)[1]->getAsConstantUnion()->getConstArray()[3].getUConst();
 3470|      0|            if (offset[0] > 3 || offset[1] > 3 || offset[2] > 3 || offset[3] > 3)
  ------------------
  |  Branch (3470:17): [True: 0, False: 0]
  |  Branch (3470:34): [True: 0, False: 0]
  |  Branch (3470:51): [True: 0, False: 0]
  |  Branch (3470:68): [True: 0, False: 0]
  ------------------
 3471|      0|                error(loc, "components must be in the range [0, 3]", "offset", "");
 3472|      0|        }
 3473|       |
 3474|      0|        break;
 3475|     18|    }
 3476|       |
 3477|      0|    case EOpSwizzleInvocationsMasked:
  ------------------
  |  Branch (3477:5): [True: 0, False: 1.84k]
  ------------------
 3478|      0|    {
 3479|      0|        if (! (*argp)[1]->getAsConstantUnion())
  ------------------
  |  Branch (3479:13): [True: 0, False: 0]
  ------------------
 3480|      0|            error(loc, "argument must be compile-time constant", "mask", "");
 3481|      0|        else {
 3482|      0|            unsigned mask[3] = {};
 3483|      0|            mask[0] = (*argp)[1]->getAsConstantUnion()->getConstArray()[0].getUConst();
 3484|      0|            mask[1] = (*argp)[1]->getAsConstantUnion()->getConstArray()[1].getUConst();
 3485|      0|            mask[2] = (*argp)[1]->getAsConstantUnion()->getConstArray()[2].getUConst();
 3486|      0|            if (mask[0] > 31 || mask[1] > 31 || mask[2] > 31)
  ------------------
  |  Branch (3486:17): [True: 0, False: 0]
  |  Branch (3486:33): [True: 0, False: 0]
  |  Branch (3486:49): [True: 0, False: 0]
  ------------------
 3487|      0|                error(loc, "components must be in the range [0, 31]", "mask", "");
 3488|      0|        }
 3489|       |
 3490|      0|        break;
 3491|     18|    }
 3492|       |
 3493|     66|    case EOpTextureOffset:
  ------------------
  |  Branch (3493:5): [True: 66, False: 1.78k]
  ------------------
 3494|    102|    case EOpTextureFetchOffset:
  ------------------
  |  Branch (3494:5): [True: 36, False: 1.81k]
  ------------------
 3495|    162|    case EOpTextureProjOffset:
  ------------------
  |  Branch (3495:5): [True: 60, False: 1.78k]
  ------------------
 3496|    210|    case EOpTextureLodOffset:
  ------------------
  |  Branch (3496:5): [True: 48, False: 1.80k]
  ------------------
 3497|    252|    case EOpTextureProjLodOffset:
  ------------------
  |  Branch (3497:5): [True: 42, False: 1.80k]
  ------------------
 3498|    318|    case EOpTextureGradOffset:
  ------------------
  |  Branch (3498:5): [True: 66, False: 1.78k]
  ------------------
 3499|    378|    case EOpTextureProjGradOffset:
  ------------------
  |  Branch (3499:5): [True: 60, False: 1.78k]
  ------------------
 3500|    420|    case EOpSparseTextureOffset:
  ------------------
  |  Branch (3500:5): [True: 42, False: 1.80k]
  ------------------
 3501|    432|    case EOpSparseTextureFetchOffset:
  ------------------
  |  Branch (3501:5): [True: 12, False: 1.83k]
  ------------------
 3502|    456|    case EOpSparseTextureLodOffset:
  ------------------
  |  Branch (3502:5): [True: 24, False: 1.82k]
  ------------------
 3503|    489|    case EOpSparseTextureGradOffset:
  ------------------
  |  Branch (3503:5): [True: 33, False: 1.81k]
  ------------------
 3504|    489|    {
 3505|    489|        if (callNode.getOp() == EOpTextureOffset || callNode.getOp() == EOpTextureProjOffset ||
  ------------------
  |  Branch (3505:13): [True: 66, False: 423]
  |  Branch (3505:53): [True: 60, False: 363]
  ------------------
 3506|    363|            callNode.getOp() == EOpSparseTextureOffset)
  ------------------
  |  Branch (3506:13): [True: 42, False: 321]
  ------------------
 3507|    168|            requireDerivativeLayout(loc, fnCandidate.getName().c_str(), false);
 3508|       |
 3509|       |        // Handle texture-offset limits checking
 3510|       |        // Pick which argument has to hold constant offsets
 3511|    489|        int arg = -1;
 3512|    489|        switch (callNode.getOp()) {
 3513|     42|        case EOpSparseTextureOffset:
  ------------------
  |  Branch (3513:9): [True: 42, False: 447]
  ------------------
 3514|    108|        case EOpTextureOffset:
  ------------------
  |  Branch (3514:9): [True: 66, False: 423]
  ------------------
 3515|    168|        case EOpTextureProjOffset:
  ------------------
  |  Branch (3515:9): [True: 60, False: 429]
  ------------------
 3516|    168|            arg = 2;
 3517|    168|            break;
 3518|     24|        case EOpSparseTextureLodOffset:
  ------------------
  |  Branch (3518:9): [True: 24, False: 465]
  ------------------
 3519|     72|        case EOpTextureLodOffset:
  ------------------
  |  Branch (3519:9): [True: 48, False: 441]
  ------------------
 3520|    114|        case EOpTextureProjLodOffset:
  ------------------
  |  Branch (3520:9): [True: 42, False: 447]
  ------------------
 3521|    114|            arg = 3;
 3522|    114|            break;
 3523|     33|        case EOpSparseTextureGradOffset:
  ------------------
  |  Branch (3523:9): [True: 33, False: 456]
  ------------------
 3524|     99|        case EOpTextureGradOffset:
  ------------------
  |  Branch (3524:9): [True: 66, False: 423]
  ------------------
 3525|    159|        case EOpTextureProjGradOffset:
  ------------------
  |  Branch (3525:9): [True: 60, False: 429]
  ------------------
 3526|    159|            arg = 4;
 3527|    159|            break;
 3528|     12|        case EOpSparseTextureFetchOffset:
  ------------------
  |  Branch (3528:9): [True: 12, False: 477]
  ------------------
 3529|     48|        case EOpTextureFetchOffset:
  ------------------
  |  Branch (3529:9): [True: 36, False: 453]
  ------------------
 3530|     48|            arg = (arg0->getType().getSampler().isRect()) ? 2 : 3;
  ------------------
  |  Branch (3530:19): [True: 9, False: 39]
  ------------------
 3531|     48|            break;
 3532|      0|        default:
  ------------------
  |  Branch (3532:9): [True: 0, False: 489]
  ------------------
 3533|      0|            assert(0);
 3534|      0|            break;
 3535|    489|        }
 3536|       |
 3537|    489|        if (arg > 0) {
  ------------------
  |  Branch (3537:13): [True: 489, False: 0]
  ------------------
 3538|       |
 3539|    489|            bool f16ShadowCompare = (*argp)[1]->getAsTyped()->getBasicType() == EbtFloat16 &&
  ------------------
  |  Branch (3539:37): [True: 0, False: 489]
  ------------------
 3540|      0|                                    arg0->getType().getSampler().shadow;
  ------------------
  |  Branch (3540:37): [True: 0, False: 0]
  ------------------
 3541|    489|            if (f16ShadowCompare)
  ------------------
  |  Branch (3541:17): [True: 0, False: 489]
  ------------------
 3542|      0|                ++arg;
 3543|       |            // Allow non-constant offsets for certain texture ops
 3544|    489|            bool variableOffsetSupport = extensionTurnedOn(E_GL_NV_gpu_shader5) &&
  ------------------
  |  Branch (3544:42): [True: 0, False: 489]
  ------------------
 3545|      0|                (callNode.getOp() == EOpTextureOffset ||
  ------------------
  |  Branch (3545:18): [True: 0, False: 0]
  ------------------
 3546|      0|                 callNode.getOp() == EOpTextureFetchOffset ||
  ------------------
  |  Branch (3546:18): [True: 0, False: 0]
  ------------------
 3547|      0|                 callNode.getOp() == EOpTextureProjOffset ||
  ------------------
  |  Branch (3547:18): [True: 0, False: 0]
  ------------------
 3548|      0|                 callNode.getOp() == EOpTextureLodOffset ||
  ------------------
  |  Branch (3548:18): [True: 0, False: 0]
  ------------------
 3549|      0|                 callNode.getOp() == EOpTextureProjLodOffset);
  ------------------
  |  Branch (3549:18): [True: 0, False: 0]
  ------------------
 3550|    489|            if (! (*argp)[arg]->getAsTyped()->getQualifier().isConstant()) {
  ------------------
  |  Branch (3550:17): [True: 0, False: 489]
  ------------------
 3551|      0|				if (!extensionTurnedOn(E_GL_EXT_texture_offset_non_const) && !variableOffsetSupport)
  ------------------
  |  Branch (3551:9): [True: 0, False: 0]
  |  Branch (3551:66): [True: 0, False: 0]
  ------------------
 3552|      0|                    error(loc, "argument must be compile-time constant", "texel offset", "");
 3553|      0|            }
 3554|    489|            else if ((*argp)[arg]->getAsConstantUnion()) {
  ------------------
  |  Branch (3554:22): [True: 489, False: 0]
  ------------------
 3555|    489|                const TType& type = (*argp)[arg]->getAsTyped()->getType();
 3556|  1.39k|                for (int c = 0; c < type.getVectorSize(); ++c) {
  ------------------
  |  Branch (3556:33): [True: 903, False: 489]
  ------------------
 3557|    903|                    int offset = (*argp)[arg]->getAsConstantUnion()->getConstArray()[c].getIConst();
 3558|    903|                    if (offset > resources.maxProgramTexelOffset || offset < resources.minProgramTexelOffset)
  ------------------
  |  Branch (3558:25): [True: 0, False: 903]
  |  Branch (3558:69): [True: 0, False: 903]
  ------------------
 3559|      0|                        error(loc, "value is out of range:", "texel offset",
 3560|      0|                              "[gl_MinProgramTexelOffset, gl_MaxProgramTexelOffset]");
 3561|    903|                }
 3562|    489|            }
 3563|       |
 3564|       |            // This check does not apply to sparse because
 3565|       |            // GL_ARB_sparse_texture2 always includes this function.
 3566|    489|            if (callNode.getOp() == EOpTextureOffset) {
  ------------------
  |  Branch (3566:17): [True: 66, False: 423]
  ------------------
 3567|     66|                TSampler s = arg0->getType().getSampler();
 3568|     66|                if (s.is2D() && s.isArrayed() && s.isShadow()) {
  ------------------
  |  Branch (3568:21): [True: 24, False: 42]
  |  Branch (3568:33): [True: 12, False: 12]
  |  Branch (3568:50): [True: 6, False: 6]
  ------------------
 3569|      6|                    if (
 3570|      6|                        ((*argp)[1]->getAsTyped()->getType().getBasicType() == EbtFloat) &&
  ------------------
  |  Branch (3570:25): [True: 6, False: 0]
  ------------------
 3571|      6|                        ((*argp)[1]->getAsTyped()->getType().getVectorSize() == 4) &&
  ------------------
  |  Branch (3571:25): [True: 6, False: 0]
  ------------------
 3572|      6|                        (fnCandidate.getParamCount() == 4)) {
  ------------------
  |  Branch (3572:25): [True: 0, False: 6]
  ------------------
 3573|      0|                        featureString = fnCandidate.getName() + " for sampler2DArrayShadow";
 3574|      0|                        feature = featureString.c_str();
 3575|      0|                        requireExtensions(loc, 1, &E_GL_EXT_texture_shadow_lod, feature);
 3576|      0|                        profileRequires(loc, EEsProfile, 300, nullptr, feature);
 3577|      0|                        profileRequires(loc, ~EEsProfile, 130, nullptr, feature);
 3578|      0|                    }
 3579|      6|                    else if (isEsProfile())
  ------------------
  |  Branch (3579:30): [True: 0, False: 6]
  ------------------
 3580|      0|                        error(loc, "TextureOffset does not support sampler2DArrayShadow : ", "sampler", "ES Profile");
 3581|      6|                    else if (version <= 420)
  ------------------
  |  Branch (3581:30): [True: 0, False: 6]
  ------------------
 3582|      0|                        error(loc, "TextureOffset does not support sampler2DArrayShadow : ", "sampler", "version <= 420");
 3583|      6|                }
 3584|     66|            }
 3585|       |
 3586|       |            // This check does not apply to sparse because
 3587|       |            // GL_ARB_sparse_texture2 does not define sparseTextureLodOffsetARB
 3588|       |            // with a sampler2DArrayShadow.
 3589|    489|            if (callNode.getOp() == EOpTextureLodOffset) {
  ------------------
  |  Branch (3589:17): [True: 48, False: 441]
  ------------------
 3590|     48|                TSampler s = arg0->getType().getSampler();
 3591|     48|                if (s.is2D() && s.isArrayed() && s.isShadow() &&
  ------------------
  |  Branch (3591:21): [True: 18, False: 30]
  |  Branch (3591:33): [True: 6, False: 12]
  |  Branch (3591:50): [True: 0, False: 6]
  ------------------
 3592|      0|                    ((*argp)[1]->getAsTyped()->getType().getBasicType() == EbtFloat) &&
  ------------------
  |  Branch (3592:21): [True: 0, False: 0]
  ------------------
 3593|      0|                    ((*argp)[1]->getAsTyped()->getType().getVectorSize() == 4) &&
  ------------------
  |  Branch (3593:21): [True: 0, False: 0]
  ------------------
 3594|      0|                    (fnCandidate.getParamCount() == 4)) {
  ------------------
  |  Branch (3594:21): [True: 0, False: 0]
  ------------------
 3595|      0|                        featureString = fnCandidate.getName() + " for sampler2DArrayShadow";
 3596|      0|                        feature = featureString.c_str();
 3597|      0|                        profileRequires(loc, EEsProfile, 300, nullptr, feature);
 3598|      0|                        profileRequires(loc, ~EEsProfile, 130, nullptr, feature);
 3599|      0|                        requireExtensions(loc, 1, &E_GL_EXT_texture_shadow_lod, feature);
 3600|      0|                }
 3601|     48|            }
 3602|    489|        }
 3603|       |
 3604|    489|        break;
 3605|    489|    }
 3606|       |
 3607|       |
 3608|      0|    case EOpTraceNV:
  ------------------
  |  Branch (3608:5): [True: 0, False: 1.84k]
  ------------------
 3609|      0|        checkConstantArgWithLocation(10, "payload number", nullptr, -1);
 3610|      0|        break;
 3611|      0|    case EOpTraceRayMotionNV:
  ------------------
  |  Branch (3611:5): [True: 0, False: 1.84k]
  ------------------
 3612|      0|        checkConstantArgWithLocation(11, "payload number", "no rayPayloadEXT/rayPayloadInEXT declared", 0);
 3613|      0|        break;
 3614|      0|    case EOpTraceKHR:
  ------------------
  |  Branch (3614:5): [True: 0, False: 1.84k]
  ------------------
 3615|      0|        checkConstantArgWithLocation(10, "payload number", "no rayPayloadEXT/rayPayloadInEXT declared", 0);
 3616|      0|        break;
 3617|      0|    case EOpExecuteCallableNV:
  ------------------
  |  Branch (3617:5): [True: 0, False: 1.84k]
  ------------------
 3618|      0|        checkConstantArgWithLocation(1, "callable data number", nullptr, -1);
 3619|      0|        break;
 3620|      0|    case EOpExecuteCallableKHR:
  ------------------
  |  Branch (3620:5): [True: 0, False: 1.84k]
  ------------------
 3621|      0|        checkConstantArgWithLocation(1, "callable data number", "no callableDataEXT/callableDataInEXT declared", 1);
 3622|      0|        break;
 3623|       |
 3624|      0|    case EOpHitObjectTraceRayNV:
  ------------------
  |  Branch (3624:5): [True: 0, False: 1.84k]
  ------------------
 3625|      0|        checkConstantArgWithLocation(11, "payload number", "no rayPayloadEXT/rayPayloadInEXT declared", 0);
 3626|      0|        break;
 3627|      0|    case EOpHitObjectTraceRayMotionNV:
  ------------------
  |  Branch (3627:5): [True: 0, False: 1.84k]
  ------------------
 3628|      0|        checkConstantArgWithLocation(12, "payload number", "no rayPayloadEXT/rayPayloadInEXT declared", 0);
 3629|      0|        break;
 3630|      0|    case EOpHitObjectExecuteShaderNV:
  ------------------
  |  Branch (3630:5): [True: 0, False: 1.84k]
  ------------------
 3631|      0|        checkConstantArgWithLocation(1, "payload number", "no rayPayloadEXT/rayPayloadInEXT declared", 0);
 3632|      0|        break;
 3633|      0|    case EOpHitObjectRecordHitNV:
  ------------------
  |  Branch (3633:5): [True: 0, False: 1.84k]
  ------------------
 3634|      0|        checkConstantArgWithLocation(12, "hitobjectattribute number", "no hitObjectAttributeNV declared", 2);
 3635|      0|        break;
 3636|      0|    case EOpHitObjectRecordHitMotionNV:
  ------------------
  |  Branch (3636:5): [True: 0, False: 1.84k]
  ------------------
 3637|      0|        checkConstantArgWithLocation(13, "hitobjectattribute number", "no hitObjectAttributeNV declared", 2);
 3638|      0|        break;
 3639|      0|    case EOpHitObjectRecordHitWithIndexNV:
  ------------------
  |  Branch (3639:5): [True: 0, False: 1.84k]
  ------------------
 3640|      0|        checkConstantArgWithLocation(11, "hitobjectattribute number", "no hitObjectAttributeNV declared", 2);
 3641|      0|        break;
 3642|      0|    case EOpHitObjectRecordHitWithIndexMotionNV:
  ------------------
  |  Branch (3642:5): [True: 0, False: 1.84k]
  ------------------
 3643|      0|        checkConstantArgWithLocation(12, "hitobjectattribute number", "no hitObjectAttributeNV declared", 2);
 3644|      0|        break;
 3645|      0|    case EOpHitObjectGetAttributesNV:
  ------------------
  |  Branch (3645:5): [True: 0, False: 1.84k]
  ------------------
 3646|      0|        checkConstantArgWithLocation(1, "hitobjectattribute number", "no hitObjectAttributeNV declared", 2);
 3647|      0|        break;
 3648|       |
 3649|      0|    case EOpRayQueryGetIntersectionType:
  ------------------
  |  Branch (3649:5): [True: 0, False: 1.84k]
  ------------------
 3650|      0|    case EOpRayQueryGetIntersectionT:
  ------------------
  |  Branch (3650:5): [True: 0, False: 1.84k]
  ------------------
 3651|      0|    case EOpRayQueryGetIntersectionInstanceCustomIndex:
  ------------------
  |  Branch (3651:5): [True: 0, False: 1.84k]
  ------------------
 3652|      0|    case EOpRayQueryGetIntersectionInstanceId:
  ------------------
  |  Branch (3652:5): [True: 0, False: 1.84k]
  ------------------
 3653|      0|    case EOpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffset:
  ------------------
  |  Branch (3653:5): [True: 0, False: 1.84k]
  ------------------
 3654|      0|    case EOpRayQueryGetIntersectionGeometryIndex:
  ------------------
  |  Branch (3654:5): [True: 0, False: 1.84k]
  ------------------
 3655|      0|    case EOpRayQueryGetIntersectionPrimitiveIndex:
  ------------------
  |  Branch (3655:5): [True: 0, False: 1.84k]
  ------------------
 3656|      0|    case EOpRayQueryGetIntersectionBarycentrics:
  ------------------
  |  Branch (3656:5): [True: 0, False: 1.84k]
  ------------------
 3657|      0|    case EOpRayQueryGetIntersectionFrontFace:
  ------------------
  |  Branch (3657:5): [True: 0, False: 1.84k]
  ------------------
 3658|      0|    case EOpRayQueryGetIntersectionObjectRayDirection:
  ------------------
  |  Branch (3658:5): [True: 0, False: 1.84k]
  ------------------
 3659|      0|    case EOpRayQueryGetIntersectionObjectRayOrigin:
  ------------------
  |  Branch (3659:5): [True: 0, False: 1.84k]
  ------------------
 3660|      0|    case EOpRayQueryGetIntersectionObjectToWorld:
  ------------------
  |  Branch (3660:5): [True: 0, False: 1.84k]
  ------------------
 3661|      0|    case EOpRayQueryGetIntersectionWorldToObject:
  ------------------
  |  Branch (3661:5): [True: 0, False: 1.84k]
  ------------------
 3662|      0|    case EOpRayQueryGetIntersectionTriangleVertexPositionsEXT:
  ------------------
  |  Branch (3662:5): [True: 0, False: 1.84k]
  ------------------
 3663|      0|    case EOpRayQueryGetIntersectionClusterIdNV:
  ------------------
  |  Branch (3663:5): [True: 0, False: 1.84k]
  ------------------
 3664|      0|    case EOpRayQueryGetIntersectionSpherePositionNV:
  ------------------
  |  Branch (3664:5): [True: 0, False: 1.84k]
  ------------------
 3665|      0|    case EOpRayQueryGetIntersectionSphereRadiusNV:
  ------------------
  |  Branch (3665:5): [True: 0, False: 1.84k]
  ------------------
 3666|      0|    case EOpRayQueryGetIntersectionLSSHitValueNV:
  ------------------
  |  Branch (3666:5): [True: 0, False: 1.84k]
  ------------------
 3667|      0|    case EOpRayQueryGetIntersectionLSSPositionsNV:
  ------------------
  |  Branch (3667:5): [True: 0, False: 1.84k]
  ------------------
 3668|      0|    case EOpRayQueryGetIntersectionLSSRadiiNV:
  ------------------
  |  Branch (3668:5): [True: 0, False: 1.84k]
  ------------------
 3669|      0|        if (!(*argp)[1]->getAsConstantUnion())
  ------------------
  |  Branch (3669:13): [True: 0, False: 0]
  ------------------
 3670|      0|            error(loc, "argument must be compile-time constant", "committed", "");
 3671|      0|        break;
 3672|       |
 3673|     12|    case EOpTextureQuerySamples:
  ------------------
  |  Branch (3673:5): [True: 12, False: 1.83k]
  ------------------
 3674|     12|    case EOpImageQuerySamples:
  ------------------
  |  Branch (3674:5): [True: 0, False: 1.84k]
  ------------------
 3675|       |        // GL_ARB_shader_texture_image_samples
 3676|     12|        profileRequires(loc, ~EEsProfile, 450, E_GL_ARB_shader_texture_image_samples, "textureSamples and imageSamples");
 3677|     12|        break;
 3678|       |
 3679|      0|    case EOpImageAtomicAdd:
  ------------------
  |  Branch (3679:5): [True: 0, False: 1.84k]
  ------------------
 3680|      0|    case EOpImageAtomicMin:
  ------------------
  |  Branch (3680:5): [True: 0, False: 1.84k]
  ------------------
 3681|      0|    case EOpImageAtomicMax:
  ------------------
  |  Branch (3681:5): [True: 0, False: 1.84k]
  ------------------
 3682|      0|    case EOpImageAtomicAnd:
  ------------------
  |  Branch (3682:5): [True: 0, False: 1.84k]
  ------------------
 3683|      0|    case EOpImageAtomicOr:
  ------------------
  |  Branch (3683:5): [True: 0, False: 1.84k]
  ------------------
 3684|      0|    case EOpImageAtomicXor:
  ------------------
  |  Branch (3684:5): [True: 0, False: 1.84k]
  ------------------
 3685|      0|    case EOpImageAtomicExchange:
  ------------------
  |  Branch (3685:5): [True: 0, False: 1.84k]
  ------------------
 3686|      0|    case EOpImageAtomicCompSwap:
  ------------------
  |  Branch (3686:5): [True: 0, False: 1.84k]
  ------------------
 3687|      0|    case EOpImageAtomicLoad:
  ------------------
  |  Branch (3687:5): [True: 0, False: 1.84k]
  ------------------
 3688|      0|    case EOpImageAtomicStore:
  ------------------
  |  Branch (3688:5): [True: 0, False: 1.84k]
  ------------------
 3689|      0|    {
 3690|       |        // Make sure the image types have the correct layout() format and correct argument types
 3691|      0|        const TType& imageType = arg0->getType();
 3692|      0|        if (imageType.getSampler().type == EbtInt || imageType.getSampler().type == EbtUint ||
  ------------------
  |  Branch (3692:13): [True: 0, False: 0]
  |  Branch (3692:54): [True: 0, False: 0]
  ------------------
 3693|      0|            imageType.getSampler().type == EbtInt64 || imageType.getSampler().type == EbtUint64) {
  ------------------
  |  Branch (3693:13): [True: 0, False: 0]
  |  Branch (3693:56): [True: 0, False: 0]
  ------------------
 3694|      0|            if (imageType.getQualifier().getFormat() != ElfR32i && imageType.getQualifier().getFormat() != ElfR32ui &&
  ------------------
  |  Branch (3694:17): [True: 0, False: 0]
  |  Branch (3694:68): [True: 0, False: 0]
  ------------------
 3695|      0|                imageType.getQualifier().getFormat() != ElfR64i && imageType.getQualifier().getFormat() != ElfR64ui)
  ------------------
  |  Branch (3695:17): [True: 0, False: 0]
  |  Branch (3695:68): [True: 0, False: 0]
  ------------------
 3696|      0|                error(loc, "only supported on image with format r32i or r32ui", fnCandidate.getName().c_str(), "");
 3697|      0|            if (callNode.getType().getBasicType() == EbtInt64 && imageType.getQualifier().getFormat() != ElfR64i)
  ------------------
  |  Branch (3697:17): [True: 0, False: 0]
  |  Branch (3697:66): [True: 0, False: 0]
  ------------------
 3698|      0|                error(loc, "only supported on image with format r64i", fnCandidate.getName().c_str(), "");
 3699|      0|            else if (callNode.getType().getBasicType() == EbtUint64 && imageType.getQualifier().getFormat() != ElfR64ui)
  ------------------
  |  Branch (3699:22): [True: 0, False: 0]
  |  Branch (3699:72): [True: 0, False: 0]
  ------------------
 3700|      0|                error(loc, "only supported on image with format r64ui", fnCandidate.getName().c_str(), "");
 3701|      0|        } else if(callNode.getType().getBasicType() == EbtFloat16 &&
  ------------------
  |  Branch (3701:19): [True: 0, False: 0]
  ------------------
 3702|      0|                ((callNode.getType().getVectorSize() == 2 && arg0->getType().getQualifier().getFormat() == ElfRg16f) ||
  ------------------
  |  Branch (3702:19): [True: 0, False: 0]
  |  Branch (3702:62): [True: 0, False: 0]
  ------------------
 3703|      0|                  (callNode.getType().getVectorSize() == 4 && arg0->getType().getQualifier().getFormat() == ElfRgba16f))) {
  ------------------
  |  Branch (3703:20): [True: 0, False: 0]
  |  Branch (3703:63): [True: 0, False: 0]
  ------------------
 3704|      0|            if (StartsWith(fnCandidate.getName(), "imageAtomicAdd") ||
  ------------------
  |  Branch (3704:17): [True: 0, False: 0]
  ------------------
 3705|      0|                StartsWith(fnCandidate.getName(), "imageAtomicExchange") ||
  ------------------
  |  Branch (3705:17): [True: 0, False: 0]
  ------------------
 3706|      0|                StartsWith(fnCandidate.getName(), "imageAtomicMin") ||
  ------------------
  |  Branch (3706:17): [True: 0, False: 0]
  ------------------
 3707|      0|                StartsWith(fnCandidate.getName(), "imageAtomicMax")) {
  ------------------
  |  Branch (3707:17): [True: 0, False: 0]
  ------------------
 3708|      0|                requireExtensions(loc, 1, &E_GL_NV_shader_atomic_fp16_vector, fnCandidate.getName().c_str());
 3709|      0|            } else {
 3710|      0|                error(loc, "f16vec2/4 operation not supported on: ", fnCandidate.getName().c_str(), "");
 3711|      0|            }
 3712|      0|        } else if (imageType.getSampler().type == EbtFloat) {
  ------------------
  |  Branch (3712:20): [True: 0, False: 0]
  ------------------
 3713|      0|            if (StartsWith(fnCandidate.getName(), "imageAtomicExchange")) {
  ------------------
  |  Branch (3713:17): [True: 0, False: 0]
  ------------------
 3714|       |                // imageAtomicExchange doesn't require an extension
 3715|      0|            } else if (StartsWith(fnCandidate.getName(), "imageAtomicAdd") ||
  ------------------
  |  Branch (3715:24): [True: 0, False: 0]
  ------------------
 3716|      0|                       StartsWith(fnCandidate.getName(), "imageAtomicLoad") ||
  ------------------
  |  Branch (3716:24): [True: 0, False: 0]
  ------------------
 3717|      0|                       StartsWith(fnCandidate.getName(), "imageAtomicStore")) {
  ------------------
  |  Branch (3717:24): [True: 0, False: 0]
  ------------------
 3718|      0|                requireExtensions(loc, 1, &E_GL_EXT_shader_atomic_float, fnCandidate.getName().c_str());
 3719|      0|            } else if (StartsWith(fnCandidate.getName(), "imageAtomicMin") ||
  ------------------
  |  Branch (3719:24): [True: 0, False: 0]
  ------------------
 3720|      0|                       StartsWith(fnCandidate.getName(), "imageAtomicMax")) {
  ------------------
  |  Branch (3720:24): [True: 0, False: 0]
  ------------------
 3721|      0|                requireExtensions(loc, 1, &E_GL_EXT_shader_atomic_float2, fnCandidate.getName().c_str());
 3722|      0|            } else {
 3723|      0|                error(loc, "only supported on integer images", fnCandidate.getName().c_str(), "");
 3724|      0|            }
 3725|      0|            if (imageType.getQualifier().getFormat() != ElfR32f && isEsProfile())
  ------------------
  |  Branch (3725:17): [True: 0, False: 0]
  |  Branch (3725:68): [True: 0, False: 0]
  ------------------
 3726|      0|                error(loc, "only supported on image with format r32f", fnCandidate.getName().c_str(), "");
 3727|      0|        } else {
 3728|      0|            error(loc, "not supported on this image type", fnCandidate.getName().c_str(), "");
 3729|      0|        }
 3730|       |
 3731|      0|        const size_t maxArgs = imageType.getSampler().isMultiSample() ? 5 : 4;
  ------------------
  |  Branch (3731:32): [True: 0, False: 0]
  ------------------
 3732|      0|        if (argp->size() > maxArgs) {
  ------------------
  |  Branch (3732:13): [True: 0, False: 0]
  ------------------
 3733|      0|            requireExtensions(loc, 1, &E_GL_KHR_memory_scope_semantics, fnCandidate.getName().c_str());
 3734|      0|            memorySemanticsCheck(loc, fnCandidate, callNode);
 3735|      0|        }
 3736|       |
 3737|      0|        break;
 3738|      0|    }
 3739|       |
 3740|      0|    case EOpAtomicAdd:
  ------------------
  |  Branch (3740:5): [True: 0, False: 1.84k]
  ------------------
 3741|      0|    case EOpAtomicSubtract:
  ------------------
  |  Branch (3741:5): [True: 0, False: 1.84k]
  ------------------
 3742|      0|    case EOpAtomicMin:
  ------------------
  |  Branch (3742:5): [True: 0, False: 1.84k]
  ------------------
 3743|      0|    case EOpAtomicMax:
  ------------------
  |  Branch (3743:5): [True: 0, False: 1.84k]
  ------------------
 3744|      0|    case EOpAtomicAnd:
  ------------------
  |  Branch (3744:5): [True: 0, False: 1.84k]
  ------------------
 3745|      0|    case EOpAtomicOr:
  ------------------
  |  Branch (3745:5): [True: 0, False: 1.84k]
  ------------------
 3746|      0|    case EOpAtomicXor:
  ------------------
  |  Branch (3746:5): [True: 0, False: 1.84k]
  ------------------
 3747|      0|    case EOpAtomicExchange:
  ------------------
  |  Branch (3747:5): [True: 0, False: 1.84k]
  ------------------
 3748|      0|    case EOpAtomicCompSwap:
  ------------------
  |  Branch (3748:5): [True: 0, False: 1.84k]
  ------------------
 3749|      0|    case EOpAtomicLoad:
  ------------------
  |  Branch (3749:5): [True: 0, False: 1.84k]
  ------------------
 3750|      0|    case EOpAtomicStore:
  ------------------
  |  Branch (3750:5): [True: 0, False: 1.84k]
  ------------------
 3751|      0|    {
 3752|      0|        if (argp->size() > 3) {
  ------------------
  |  Branch (3752:13): [True: 0, False: 0]
  ------------------
 3753|      0|            requireExtensions(loc, 1, &E_GL_KHR_memory_scope_semantics, fnCandidate.getName().c_str());
 3754|      0|            memorySemanticsCheck(loc, fnCandidate, callNode);
 3755|      0|            if ((callNode.getOp() == EOpAtomicAdd || callNode.getOp() == EOpAtomicExchange ||
  ------------------
  |  Branch (3755:18): [True: 0, False: 0]
  |  Branch (3755:54): [True: 0, False: 0]
  ------------------
 3756|      0|                callNode.getOp() == EOpAtomicLoad || callNode.getOp() == EOpAtomicStore) &&
  ------------------
  |  Branch (3756:17): [True: 0, False: 0]
  |  Branch (3756:54): [True: 0, False: 0]
  ------------------
 3757|      0|                (arg0->getType().getBasicType() == EbtFloat ||
  ------------------
  |  Branch (3757:18): [True: 0, False: 0]
  ------------------
 3758|      0|                 arg0->getType().getBasicType() == EbtDouble)) {
  ------------------
  |  Branch (3758:18): [True: 0, False: 0]
  ------------------
 3759|      0|                requireExtensions(loc, 1, &E_GL_EXT_shader_atomic_float, fnCandidate.getName().c_str());
 3760|      0|            } else if ((callNode.getOp() == EOpAtomicAdd || callNode.getOp() == EOpAtomicExchange ||
  ------------------
  |  Branch (3760:25): [True: 0, False: 0]
  |  Branch (3760:61): [True: 0, False: 0]
  ------------------
 3761|      0|                        callNode.getOp() == EOpAtomicLoad || callNode.getOp() == EOpAtomicStore ||
  ------------------
  |  Branch (3761:25): [True: 0, False: 0]
  |  Branch (3761:62): [True: 0, False: 0]
  ------------------
 3762|      0|                        callNode.getOp() == EOpAtomicMin || callNode.getOp() == EOpAtomicMax) &&
  ------------------
  |  Branch (3762:25): [True: 0, False: 0]
  |  Branch (3762:61): [True: 0, False: 0]
  ------------------
 3763|      0|                       arg0->getType().isFloatingDomain()) {
  ------------------
  |  Branch (3763:24): [True: 0, False: 0]
  ------------------
 3764|      0|                requireExtensions(loc, 1, &E_GL_EXT_shader_atomic_float2, fnCandidate.getName().c_str());
 3765|      0|            }
 3766|      0|        } else if (arg0->getType().getBasicType() == EbtInt64 || arg0->getType().getBasicType() == EbtUint64) {
  ------------------
  |  Branch (3766:20): [True: 0, False: 0]
  |  Branch (3766:66): [True: 0, False: 0]
  ------------------
 3767|      0|            const char* const extensions[2] = { E_GL_NV_shader_atomic_int64,
 3768|      0|                                                E_GL_EXT_shader_atomic_int64 };
 3769|      0|            requireExtensions(loc, 2, extensions, fnCandidate.getName().c_str());
 3770|      0|        } else if ((callNode.getOp() == EOpAtomicAdd || callNode.getOp() == EOpAtomicExchange ||
  ------------------
  |  Branch (3770:21): [True: 0, False: 0]
  |  Branch (3770:57): [True: 0, False: 0]
  ------------------
 3771|      0|                    callNode.getOp() == EOpAtomicMin || callNode.getOp() == EOpAtomicMax) &&
  ------------------
  |  Branch (3771:21): [True: 0, False: 0]
  |  Branch (3771:57): [True: 0, False: 0]
  ------------------
 3772|      0|                   arg0->getType().getBasicType() == EbtFloat16 &&
  ------------------
  |  Branch (3772:20): [True: 0, False: 0]
  ------------------
 3773|      0|                   (arg0->getType().getVectorSize() == 2 || arg0->getType().getVectorSize() == 4 )) {
  ------------------
  |  Branch (3773:21): [True: 0, False: 0]
  |  Branch (3773:61): [True: 0, False: 0]
  ------------------
 3774|      0|            requireExtensions(loc, 1, &E_GL_NV_shader_atomic_fp16_vector, fnCandidate.getName().c_str());
 3775|      0|        } else if ((callNode.getOp() == EOpAtomicAdd || callNode.getOp() == EOpAtomicExchange) &&
  ------------------
  |  Branch (3775:21): [True: 0, False: 0]
  |  Branch (3775:57): [True: 0, False: 0]
  ------------------
 3776|      0|                   (arg0->getType().getBasicType() == EbtFloat ||
  ------------------
  |  Branch (3776:21): [True: 0, False: 0]
  ------------------
 3777|      0|                    arg0->getType().getBasicType() == EbtDouble)) {
  ------------------
  |  Branch (3777:21): [True: 0, False: 0]
  ------------------
 3778|      0|            requireExtensions(loc, 1, &E_GL_EXT_shader_atomic_float, fnCandidate.getName().c_str());
 3779|      0|        } else if ((callNode.getOp() == EOpAtomicAdd || callNode.getOp() == EOpAtomicExchange ||
  ------------------
  |  Branch (3779:21): [True: 0, False: 0]
  |  Branch (3779:57): [True: 0, False: 0]
  ------------------
 3780|      0|                    callNode.getOp() == EOpAtomicLoad || callNode.getOp() == EOpAtomicStore ||
  ------------------
  |  Branch (3780:21): [True: 0, False: 0]
  |  Branch (3780:58): [True: 0, False: 0]
  ------------------
 3781|      0|                    callNode.getOp() == EOpAtomicMin || callNode.getOp() == EOpAtomicMax) &&
  ------------------
  |  Branch (3781:21): [True: 0, False: 0]
  |  Branch (3781:57): [True: 0, False: 0]
  ------------------
 3782|      0|                   arg0->getType().isFloatingDomain()) {
  ------------------
  |  Branch (3782:20): [True: 0, False: 0]
  ------------------
 3783|      0|            requireExtensions(loc, 1, &E_GL_EXT_shader_atomic_float2, fnCandidate.getName().c_str());
 3784|      0|        }
 3785|       |
 3786|      0|        const TIntermTyped* base = TIntermediate::traverseLValueBase(arg0, true, true);
 3787|      0|        const char* errMsg = "Only l-values corresponding to shader block storage or shared variables can be used with "
 3788|      0|                             "atomic memory functions.";
 3789|      0|        if (base) {
  ------------------
  |  Branch (3789:13): [True: 0, False: 0]
  ------------------
 3790|      0|            const TType* refType = (base->getType().isReference()) ? base->getType().getReferentType() : nullptr;
  ------------------
  |  Branch (3790:36): [True: 0, False: 0]
  ------------------
 3791|      0|            const TQualifier& qualifier =
 3792|      0|                (refType != nullptr) ? refType->getQualifier() : base->getType().getQualifier();
  ------------------
  |  Branch (3792:17): [True: 0, False: 0]
  ------------------
 3793|      0|            if (qualifier.storage != EvqShared && qualifier.storage != EvqBuffer &&
  ------------------
  |  Branch (3793:17): [True: 0, False: 0]
  |  Branch (3793:51): [True: 0, False: 0]
  ------------------
 3794|      0|                qualifier.storage != EvqtaskPayloadSharedEXT)
  ------------------
  |  Branch (3794:17): [True: 0, False: 0]
  ------------------
 3795|      0|                error(loc, errMsg, fnCandidate.getName().c_str(), "");
 3796|      0|        } else {
 3797|      0|            error(loc, errMsg, fnCandidate.getName().c_str(), "");
 3798|      0|        }
 3799|       |
 3800|      0|        break;
 3801|      0|    }
 3802|       |
 3803|      0|    case EOpInterpolateAtCentroid:
  ------------------
  |  Branch (3803:5): [True: 0, False: 1.84k]
  ------------------
 3804|      0|    case EOpInterpolateAtSample:
  ------------------
  |  Branch (3804:5): [True: 0, False: 1.84k]
  ------------------
 3805|      0|    case EOpInterpolateAtOffset:
  ------------------
  |  Branch (3805:5): [True: 0, False: 1.84k]
  ------------------
 3806|      0|    case EOpInterpolateAtVertex: {
  ------------------
  |  Branch (3806:5): [True: 0, False: 1.84k]
  ------------------
 3807|      0|        if (arg0->getType().getQualifier().storage != EvqVaryingIn) {
  ------------------
  |  Branch (3807:13): [True: 0, False: 0]
  ------------------
 3808|       |            // Traverse down the left branch of arg0 to ensure this argument is a valid interpolant.
 3809|       |            //
 3810|       |            // For desktop GL >4.3 we effectively only need to ensure that arg0 represents an l-value from an
 3811|       |            // input declaration.
 3812|       |            //
 3813|       |            // For desktop GL <= 4.3 and ES, we must also ensure that swizzling is not used
 3814|       |            //
 3815|       |            // For ES, we must also ensure that a field selection operator (i.e., '.') is not used on a named
 3816|       |            // struct.
 3817|       |
 3818|      0|            const bool esProfile = isEsProfile();
 3819|      0|            const bool swizzleOkay = !esProfile && (version >= 440);
  ------------------
  |  Branch (3819:38): [True: 0, False: 0]
  |  Branch (3819:52): [True: 0, False: 0]
  ------------------
 3820|       |
 3821|      0|            std::string interpolantErrorMsg = "first argument must be an interpolant, or interpolant-array element";
 3822|      0|            bool isValid = true; // Assume that the interpolant is valid until we find a condition making it invalid
 3823|      0|            bool isIn = false;   // Checks whether or not the interpolant is a shader input
 3824|      0|            bool structAccessOp = false; // Whether or not the previous node in the chain is a struct accessor
 3825|      0|            TIntermediate::traverseLValueBase(
 3826|      0|                arg0, swizzleOkay, false,
 3827|      0|                [&isValid, &isIn, &interpolantErrorMsg, esProfile, &structAccessOp](const TIntermNode& n) -> bool {
 3828|      0|                    auto* type = n.getAsTyped();
 3829|      0|                    if (type) {
 3830|      0|                        if (type->getType().getQualifier().storage == EvqVaryingIn) {
 3831|      0|                            isIn = true;
 3832|      0|                        }
 3833|       |                        // If a field accessor was used, it can only be used to access a field with an input block, not a struct.
 3834|      0|                        if (structAccessOp && (type->getType().getBasicType() != EbtBlock)) {
 3835|      0|                            interpolantErrorMsg +=
 3836|      0|                                ". Using the field of a named struct as an interpolant argument is not "
 3837|      0|                                "allowed (ES-only).";
 3838|      0|                            isValid = false;
 3839|      0|                        }
 3840|      0|                    }
 3841|       |
 3842|       |                    // ES has different requirements for interpolants than GL
 3843|      0|                    if (esProfile) {
 3844|       |                        // Swizzling will be taken care of by the 'swizzleOkay' argument passsed to traverseLValueBase,
 3845|       |                        // so we only ned to check whether or not a field accessor has been used with a named struct.
 3846|      0|                        auto* binary = n.getAsBinaryNode();
 3847|      0|                        if (binary && (binary->getOp() == EOpIndexDirectStruct)) {
 3848|      0|                            structAccessOp = true;
 3849|      0|                        }
 3850|      0|                    }
 3851|       |                    // Don't continue traversing if we know we have an invalid interpolant at this point.
 3852|      0|                    return isValid;
 3853|      0|                });
 3854|      0|            if (!isIn || !isValid) {
  ------------------
  |  Branch (3854:17): [True: 0, False: 0]
  |  Branch (3854:26): [True: 0, False: 0]
  ------------------
 3855|      0|                error(loc, interpolantErrorMsg.c_str(), fnCandidate.getName().c_str(), "");
 3856|      0|            }
 3857|      0|        }
 3858|       |
 3859|      0|        if (callNode.getOp() == EOpInterpolateAtVertex) {
  ------------------
  |  Branch (3859:13): [True: 0, False: 0]
  ------------------
 3860|      0|            if (!arg0->getType().getQualifier().isExplicitInterpolation())
  ------------------
  |  Branch (3860:17): [True: 0, False: 0]
  ------------------
 3861|      0|                error(loc, "argument must be qualified as __explicitInterpAMD in", "interpolant", "");
 3862|      0|            else {
 3863|      0|                if (! (*argp)[1]->getAsConstantUnion())
  ------------------
  |  Branch (3863:21): [True: 0, False: 0]
  ------------------
 3864|      0|                    error(loc, "argument must be compile-time constant", "vertex index", "");
 3865|      0|                else {
 3866|      0|                    unsigned vertexIdx = (*argp)[1]->getAsConstantUnion()->getConstArray()[0].getUConst();
 3867|      0|                    if (vertexIdx > 2)
  ------------------
  |  Branch (3867:25): [True: 0, False: 0]
  ------------------
 3868|      0|                        error(loc, "must be in the range [0, 2]", "vertex index", "");
 3869|      0|                }
 3870|      0|            }
 3871|      0|        }
 3872|      0|    } break;
 3873|       |
 3874|      0|    case EOpEmitStreamVertex:
  ------------------
  |  Branch (3874:5): [True: 0, False: 1.84k]
  ------------------
 3875|      0|    case EOpEndStreamPrimitive:
  ------------------
  |  Branch (3875:5): [True: 0, False: 1.84k]
  ------------------
 3876|      0|        if (version == 150)
  ------------------
  |  Branch (3876:13): [True: 0, False: 0]
  ------------------
 3877|      0|            requireExtensions(loc, Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5, "if the verison is 150 , the EmitStreamVertex and EndStreamPrimitive only support at extension GL_ARB_gpu_shader5/GL_NV_gpu_shader5");
 3878|      0|        intermediate.setMultiStream();
 3879|      0|        break;
 3880|       |
 3881|      0|    case EOpSubgroupClusteredAdd:
  ------------------
  |  Branch (3881:5): [True: 0, False: 1.84k]
  ------------------
 3882|      0|    case EOpSubgroupClusteredMul:
  ------------------
  |  Branch (3882:5): [True: 0, False: 1.84k]
  ------------------
 3883|      0|    case EOpSubgroupClusteredMin:
  ------------------
  |  Branch (3883:5): [True: 0, False: 1.84k]
  ------------------
 3884|      0|    case EOpSubgroupClusteredMax:
  ------------------
  |  Branch (3884:5): [True: 0, False: 1.84k]
  ------------------
 3885|      0|    case EOpSubgroupClusteredAnd:
  ------------------
  |  Branch (3885:5): [True: 0, False: 1.84k]
  ------------------
 3886|      0|    case EOpSubgroupClusteredOr:
  ------------------
  |  Branch (3886:5): [True: 0, False: 1.84k]
  ------------------
 3887|      0|    case EOpSubgroupClusteredXor:
  ------------------
  |  Branch (3887:5): [True: 0, False: 1.84k]
  ------------------
 3888|       |        // The <clusterSize> as used in the subgroupClustered<op>() operations must be:
 3889|       |        // - An integral constant expression.
 3890|       |        // - At least 1.
 3891|       |        // - A power of 2.
 3892|      0|        if ((*argp)[1]->getAsConstantUnion() == nullptr)
  ------------------
  |  Branch (3892:13): [True: 0, False: 0]
  ------------------
 3893|      0|            error(loc, "argument must be compile-time constant", "cluster size", "");
 3894|      0|        else {
 3895|      0|            int size = (*argp)[1]->getAsConstantUnion()->getConstArray()[0].getIConst();
 3896|      0|            if (size < 1)
  ------------------
  |  Branch (3896:17): [True: 0, False: 0]
  ------------------
 3897|      0|                error(loc, "argument must be at least 1", "cluster size", "");
 3898|      0|            else if (!IsPow2(size))
  ------------------
  |  Branch (3898:22): [True: 0, False: 0]
  ------------------
 3899|      0|                error(loc, "argument must be a power of 2", "cluster size", "");
 3900|      0|        }
 3901|      0|        break;
 3902|       |
 3903|      0|    case EOpSubgroupBroadcast:
  ------------------
  |  Branch (3903:5): [True: 0, False: 1.84k]
  ------------------
 3904|      0|    case EOpSubgroupQuadBroadcast:
  ------------------
  |  Branch (3904:5): [True: 0, False: 1.84k]
  ------------------
 3905|      0|        if (spvVersion.spv < EShTargetSpv_1_5) {
  ------------------
  |  Branch (3905:13): [True: 0, False: 0]
  ------------------
 3906|       |            // <id> must be an integral constant expression.
 3907|      0|            if ((*argp)[1]->getAsConstantUnion() == nullptr)
  ------------------
  |  Branch (3907:17): [True: 0, False: 0]
  ------------------
 3908|      0|                error(loc, "argument must be compile-time constant", "id", "");
 3909|      0|        }
 3910|      0|        break;
 3911|       |
 3912|      0|    case EOpBarrier:
  ------------------
  |  Branch (3912:5): [True: 0, False: 1.84k]
  ------------------
 3913|      0|    case EOpControlBarrierArriveEXT:
  ------------------
  |  Branch (3913:5): [True: 0, False: 1.84k]
  ------------------
 3914|      0|    case EOpControlBarrierWaitEXT:
  ------------------
  |  Branch (3914:5): [True: 0, False: 1.84k]
  ------------------
 3915|      0|    case EOpMemoryBarrier:
  ------------------
  |  Branch (3915:5): [True: 0, False: 1.84k]
  ------------------
 3916|      0|        if (argp->size() > 0) {
  ------------------
  |  Branch (3916:13): [True: 0, False: 0]
  ------------------
 3917|      0|            requireExtensions(loc, 1, &E_GL_KHR_memory_scope_semantics, fnCandidate.getName().c_str());
 3918|      0|            memorySemanticsCheck(loc, fnCandidate, callNode);
 3919|      0|        }
 3920|      0|        break;
 3921|       |
 3922|      0|    case EOpMix:
  ------------------
  |  Branch (3922:5): [True: 0, False: 1.84k]
  ------------------
 3923|      0|        if (profile == EEsProfile && version < 310) {
  ------------------
  |  Branch (3923:13): [True: 0, False: 0]
  |  Branch (3923:38): [True: 0, False: 0]
  ------------------
 3924|       |            // Look for specific signatures
 3925|      0|            if ((*argp)[0]->getAsTyped()->getBasicType() != EbtFloat &&
  ------------------
  |  Branch (3925:17): [True: 0, False: 0]
  ------------------
 3926|      0|                (*argp)[1]->getAsTyped()->getBasicType() != EbtFloat &&
  ------------------
  |  Branch (3926:17): [True: 0, False: 0]
  ------------------
 3927|      0|                (*argp)[2]->getAsTyped()->getBasicType() == EbtBool) {
  ------------------
  |  Branch (3927:17): [True: 0, False: 0]
  ------------------
 3928|      0|                requireExtensions(loc, 1, &E_GL_EXT_shader_integer_mix, "specific signature of builtin mix");
 3929|      0|            }
 3930|      0|        }
 3931|       |
 3932|      0|        if (profile != EEsProfile && version < 450) {
  ------------------
  |  Branch (3932:13): [True: 0, False: 0]
  |  Branch (3932:38): [True: 0, False: 0]
  ------------------
 3933|      0|            if ((*argp)[0]->getAsTyped()->getBasicType() != EbtFloat &&
  ------------------
  |  Branch (3933:17): [True: 0, False: 0]
  ------------------
 3934|      0|                (*argp)[0]->getAsTyped()->getBasicType() != EbtDouble &&
  ------------------
  |  Branch (3934:17): [True: 0, False: 0]
  ------------------
 3935|      0|                (*argp)[1]->getAsTyped()->getBasicType() != EbtFloat &&
  ------------------
  |  Branch (3935:17): [True: 0, False: 0]
  ------------------
 3936|      0|                (*argp)[1]->getAsTyped()->getBasicType() != EbtDouble &&
  ------------------
  |  Branch (3936:17): [True: 0, False: 0]
  ------------------
 3937|      0|                (*argp)[2]->getAsTyped()->getBasicType() == EbtBool) {
  ------------------
  |  Branch (3937:17): [True: 0, False: 0]
  ------------------
 3938|      0|                requireExtensions(loc, 1, &E_GL_EXT_shader_integer_mix, fnCandidate.getName().c_str());
 3939|      0|            }
 3940|      0|        }
 3941|       |
 3942|      0|        break;
 3943|      0|    case EOpLessThan:
  ------------------
  |  Branch (3943:5): [True: 0, False: 1.84k]
  ------------------
 3944|      0|    case EOpLessThanEqual:
  ------------------
  |  Branch (3944:5): [True: 0, False: 1.84k]
  ------------------
 3945|      0|    case EOpGreaterThan:
  ------------------
  |  Branch (3945:5): [True: 0, False: 1.84k]
  ------------------
 3946|      0|    case EOpGreaterThanEqual:
  ------------------
  |  Branch (3946:5): [True: 0, False: 1.84k]
  ------------------
 3947|      0|    case EOpEqual:
  ------------------
  |  Branch (3947:5): [True: 0, False: 1.84k]
  ------------------
 3948|      0|    case EOpNotEqual:
  ------------------
  |  Branch (3948:5): [True: 0, False: 1.84k]
  ------------------
 3949|      0|        if (profile != EEsProfile && version >= 150 && version < 450) {
  ------------------
  |  Branch (3949:13): [True: 0, False: 0]
  |  Branch (3949:38): [True: 0, False: 0]
  |  Branch (3949:56): [True: 0, False: 0]
  ------------------
 3950|      0|            if ((*argp)[1]->getAsTyped()->getBasicType() == EbtInt64 ||
  ------------------
  |  Branch (3950:17): [True: 0, False: 0]
  ------------------
 3951|      0|                (*argp)[1]->getAsTyped()->getBasicType() == EbtUint64)
  ------------------
  |  Branch (3951:17): [True: 0, False: 0]
  ------------------
 3952|      0|                requireExtensions(loc, 1, &E_GL_NV_gpu_shader5, fnCandidate.getName().c_str());
 3953|      0|        }
 3954|      0|    break;
 3955|      0|    case EOpFma:
  ------------------
  |  Branch (3955:5): [True: 0, False: 1.84k]
  ------------------
 3956|      0|    case EOpFrexp:
  ------------------
  |  Branch (3956:5): [True: 0, False: 1.84k]
  ------------------
 3957|      0|    case EOpLdexp:
  ------------------
  |  Branch (3957:5): [True: 0, False: 1.84k]
  ------------------
 3958|      0|        if (profile != EEsProfile && version < 400) {
  ------------------
  |  Branch (3958:13): [True: 0, False: 0]
  |  Branch (3958:38): [True: 0, False: 0]
  ------------------
 3959|      0|            if ((*argp)[0]->getAsTyped()->getBasicType() == EbtFloat) {
  ------------------
  |  Branch (3959:17): [True: 0, False: 0]
  ------------------
 3960|      0|                requireExtensions(loc, Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5, fnCandidate.getName().c_str());
 3961|      0|            }
 3962|      0|        }
 3963|       |
 3964|      0|        break;
 3965|      0|    case EOpCooperativeVectorMatMulNV:
  ------------------
  |  Branch (3965:5): [True: 0, False: 1.84k]
  ------------------
 3966|      0|    case EOpCooperativeVectorMatMulAddNV:
  ------------------
  |  Branch (3966:5): [True: 0, False: 1.84k]
  ------------------
 3967|      0|        {
 3968|      0|            int inputInterpIdx = 2;
 3969|      0|            int matrixInterpIdx = 5;
 3970|      0|            int biasInterpIdx = 8;
 3971|      0|            int MIdx = callNode.getOp() == EOpCooperativeVectorMatMulAddNV ? 9 : 6;
  ------------------
  |  Branch (3971:24): [True: 0, False: 0]
  ------------------
 3972|      0|            int KIdx = callNode.getOp() == EOpCooperativeVectorMatMulAddNV ? 10 : 7;
  ------------------
  |  Branch (3972:24): [True: 0, False: 0]
  ------------------
 3973|      0|            int matrixLayoutIdx = callNode.getOp() == EOpCooperativeVectorMatMulAddNV ? 11 : 8;
  ------------------
  |  Branch (3973:35): [True: 0, False: 0]
  ------------------
 3974|      0|            int transposeIdx = callNode.getOp() == EOpCooperativeVectorMatMulAddNV ? 12 : 9;
  ------------------
  |  Branch (3974:32): [True: 0, False: 0]
  ------------------
 3975|       |
 3976|      0|            if (!(*argp)[inputInterpIdx]->getAsTyped()->getType().getQualifier().isConstant())
  ------------------
  |  Branch (3976:17): [True: 0, False: 0]
  ------------------
 3977|      0|                error(loc, "argument must be compile-time constant", "inputInterpretation", "");
 3978|      0|            if (!(*argp)[matrixInterpIdx]->getAsTyped()->getType().getQualifier().isConstant())
  ------------------
  |  Branch (3978:17): [True: 0, False: 0]
  ------------------
 3979|      0|                error(loc, "argument must be compile-time constant", "matrixInterpretation", "");
 3980|      0|            if (callNode.getOp() == EOpCooperativeVectorMatMulAddNV) {
  ------------------
  |  Branch (3980:17): [True: 0, False: 0]
  ------------------
 3981|      0|                if (!(*argp)[biasInterpIdx]->getAsTyped()->getType().getQualifier().isConstant())
  ------------------
  |  Branch (3981:21): [True: 0, False: 0]
  ------------------
 3982|      0|                    error(loc, "argument must be compile-time constant", "biasInterpretation", "");
 3983|      0|            }
 3984|      0|            if (!(*argp)[MIdx]->getAsTyped()->getType().getQualifier().isConstant())
  ------------------
  |  Branch (3984:17): [True: 0, False: 0]
  ------------------
 3985|      0|                error(loc, "argument must be compile-time constant", "M", "");
 3986|      0|            if (!(*argp)[KIdx]->getAsTyped()->getType().getQualifier().isConstant())
  ------------------
  |  Branch (3986:17): [True: 0, False: 0]
  ------------------
 3987|      0|                error(loc, "argument must be compile-time constant", "K", "");
 3988|      0|            if (!(*argp)[matrixLayoutIdx]->getAsTyped()->getType().getQualifier().isConstant())
  ------------------
  |  Branch (3988:17): [True: 0, False: 0]
  ------------------
 3989|      0|                error(loc, "argument must be compile-time constant", "matrixLayout", "");
 3990|      0|            if (!(*argp)[transposeIdx]->getAsTyped()->getType().getQualifier().isConstant())
  ------------------
  |  Branch (3990:17): [True: 0, False: 0]
  ------------------
 3991|      0|                error(loc, "argument must be compile-time constant", "transpose", "");
 3992|      0|        }
 3993|      0|        break;
 3994|      0|    case EOpCooperativeVectorOuterProductAccumulateNV:
  ------------------
  |  Branch (3994:5): [True: 0, False: 1.84k]
  ------------------
 3995|      0|        if (!(*argp)[5]->getAsTyped()->getType().getQualifier().isConstant())
  ------------------
  |  Branch (3995:13): [True: 0, False: 0]
  ------------------
 3996|      0|            error(loc, "argument must be compile-time constant", "matrixLayout", "");
 3997|      0|        if (!(*argp)[6]->getAsTyped()->getType().getQualifier().isConstant())
  ------------------
  |  Branch (3997:13): [True: 0, False: 0]
  ------------------
 3998|      0|            error(loc, "argument must be compile-time constant", "matrixInterpretation", "");
 3999|      0|        break;
 4000|       |
 4001|      0|    case EOpCooperativeMatrixLoad:
  ------------------
  |  Branch (4001:5): [True: 0, False: 1.84k]
  ------------------
 4002|      0|    case EOpCooperativeMatrixLoadNV:
  ------------------
  |  Branch (4002:5): [True: 0, False: 1.84k]
  ------------------
 4003|      0|    case EOpCooperativeMatrixLoadTensorNV:
  ------------------
  |  Branch (4003:5): [True: 0, False: 1.84k]
  ------------------
 4004|      0|    case EOpCooperativeMatrixStore:
  ------------------
  |  Branch (4004:5): [True: 0, False: 1.84k]
  ------------------
 4005|      0|    case EOpCooperativeMatrixStoreNV:
  ------------------
  |  Branch (4005:5): [True: 0, False: 1.84k]
  ------------------
 4006|      0|    case EOpCooperativeMatrixStoreTensorNV:
  ------------------
  |  Branch (4006:5): [True: 0, False: 1.84k]
  ------------------
 4007|      0|    {
 4008|      0|        const TIntermTyped *arg1 = (*argp)[1]->getAsTyped();
 4009|      0|        const TIntermTyped* base = TIntermediate::traverseLValueBase(arg1, true, true);
 4010|      0|        const char* errMsg = "Only l-values corresponding to storage block or shared variables can be used with "
 4011|      0|                             "cooperative matrix load/store functions.";
 4012|      0|        if (base) {
  ------------------
  |  Branch (4012:13): [True: 0, False: 0]
  ------------------
 4013|      0|            const TType* refType = (base->getType().isReference()) ? base->getType().getReferentType() : nullptr;
  ------------------
  |  Branch (4013:36): [True: 0, False: 0]
  ------------------
 4014|      0|            const TQualifier& qualifier =
 4015|      0|                (refType != nullptr) ? refType->getQualifier() : base->getType().getQualifier();
  ------------------
  |  Branch (4015:17): [True: 0, False: 0]
  ------------------
 4016|      0|            if (qualifier.storage != EvqShared && qualifier.storage != EvqBuffer)
  ------------------
  |  Branch (4016:17): [True: 0, False: 0]
  |  Branch (4016:51): [True: 0, False: 0]
  ------------------
 4017|      0|                error(loc, errMsg, fnCandidate.getName().c_str(), "");
 4018|      0|        } else {
 4019|      0|            error(loc, errMsg, fnCandidate.getName().c_str(), "");
 4020|      0|        }
 4021|      0|    }
 4022|      0|    break;
 4023|      0|    case EOpCooperativeMatrixTransposeNV:
  ------------------
  |  Branch (4023:5): [True: 0, False: 1.84k]
  ------------------
 4024|      0|    {
 4025|      0|        static constexpr int CM_UseB = 1;   // == gl_MatrixUseB
 4026|      0|        static constexpr int CM_UseAcc = 2; // == gl_MatrixUseAccumulator
 4027|       |
 4028|      0|        auto &dstType = (*argp)[0]->getAsTyped()->getType();
 4029|      0|        auto &srcType = (*argp)[1]->getAsTyped()->getType();
 4030|      0|        int dstUse = dstType.getCoopMatKHRuse();
 4031|      0|        int srcUse = srcType.getCoopMatKHRuse();
 4032|       |
 4033|      0|        const TTypeParameters* dstTypeParameters = dstType.getTypeParameters();
 4034|      0|        const TTypeParameters* srcTypeParameters = srcType.getTypeParameters();
 4035|      0|        if (dstTypeParameters->arraySizes == nullptr || dstTypeParameters->arraySizes->getNumDims() != 4 ||
  ------------------
  |  Branch (4035:13): [True: 0, False: 0]
  |  Branch (4035:57): [True: 0, False: 0]
  ------------------
 4036|      0|            srcTypeParameters->arraySizes == nullptr || srcTypeParameters->arraySizes->getNumDims() != 4) {
  ------------------
  |  Branch (4036:13): [True: 0, False: 0]
  |  Branch (4036:57): [True: 0, False: 0]
  ------------------
 4037|      0|            error(loc, "incomplete type parameters", fnCandidate.getName().c_str(), "");
 4038|      0|        } else {
 4039|      0|            const auto knownDimensionMismatch = [](const TArraySizes& dst, int dstIndex,
 4040|      0|                                                   const TArraySizes& src, int srcIndex) {
 4041|      0|                return !dst.elementEqual(src, dstIndex, srcIndex) && dst.getDimNode(dstIndex) == nullptr &&
 4042|      0|                       src.getDimNode(srcIndex) == nullptr;
 4043|      0|            };
 4044|      0|            if (knownDimensionMismatch(*dstTypeParameters->arraySizes, 0, *srcTypeParameters->arraySizes, 0)) {
  ------------------
  |  Branch (4044:17): [True: 0, False: 0]
  ------------------
 4045|      0|                error(loc, "scope must match", fnCandidate.getName().c_str(), "");
 4046|      0|            }
 4047|      0|            if (knownDimensionMismatch(*dstTypeParameters->arraySizes, 1, *srcTypeParameters->arraySizes, 2) ||
  ------------------
  |  Branch (4047:17): [True: 0, False: 0]
  ------------------
 4048|      0|                knownDimensionMismatch(*dstTypeParameters->arraySizes, 2, *srcTypeParameters->arraySizes, 1)) {
  ------------------
  |  Branch (4048:17): [True: 0, False: 0]
  ------------------
 4049|      0|                error(loc, "rows/columns must be swapped", fnCandidate.getName().c_str(), "");
 4050|      0|            }
 4051|      0|        }
 4052|      0|        if (srcUse != CM_UseAcc) {
  ------------------
  |  Branch (4052:13): [True: 0, False: 0]
  ------------------
 4053|      0|            error(loc, "Cooperative matrix source Use must be Accumulator", fnCandidate.getName().c_str(), "");
 4054|      0|        }
 4055|      0|        if (extensionTurnedOn(E_GL_EXT_cooperative_matrix_maintenance1)) {
  ------------------
  |  Branch (4055:13): [True: 0, False: 0]
  ------------------
 4056|      0|            if (dstUse == CM_UseAcc) {
  ------------------
  |  Branch (4056:17): [True: 0, False: 0]
  ------------------
 4057|      0|                error(loc, "Cooperative matrix result Use must not be Accumulator", fnCandidate.getName().c_str(), "");
 4058|      0|            }
 4059|      0|        } else {
 4060|      0|            if (dstUse != CM_UseB) {
  ------------------
  |  Branch (4060:17): [True: 0, False: 0]
  ------------------
 4061|      0|                error(loc, "Cooperative matrix result Use must be B", fnCandidate.getName().c_str(), "");
 4062|      0|            }
 4063|      0|        }
 4064|      0|    }
 4065|      0|    break;
 4066|       |
 4067|    804|    default:
  ------------------
  |  Branch (4067:5): [True: 804, False: 1.04k]
  ------------------
 4068|    804|        break;
 4069|  1.84k|    }
 4070|       |
 4071|       |    // Texture operations on texture objects (aside from texelFetch on a
 4072|       |    // textureBuffer) require EXT_samplerless_texture_functions.
 4073|  1.84k|    switch (callNode.getOp()) {
 4074|    108|    case EOpTextureQuerySize:
  ------------------
  |  Branch (4074:5): [True: 108, False: 1.74k]
  ------------------
 4075|    186|    case EOpTextureQueryLevels:
  ------------------
  |  Branch (4075:5): [True: 78, False: 1.77k]
  ------------------
 4076|    198|    case EOpTextureQuerySamples:
  ------------------
  |  Branch (4076:5): [True: 12, False: 1.83k]
  ------------------
 4077|    252|    case EOpTextureFetch:
  ------------------
  |  Branch (4077:5): [True: 54, False: 1.79k]
  ------------------
 4078|    288|    case EOpTextureFetchOffset:
  ------------------
  |  Branch (4078:5): [True: 36, False: 1.81k]
  ------------------
 4079|    288|    {
 4080|    288|        const TSampler& sampler = fnCandidate[0].type->getSampler();
 4081|       |
 4082|    288|        const bool isTexture = sampler.isTexture() && !sampler.isCombined();
  ------------------
  |  Branch (4082:32): [True: 288, False: 0]
  |  Branch (4082:55): [True: 0, False: 288]
  ------------------
 4083|    288|        const bool isBuffer = sampler.isBuffer();
 4084|    288|        const bool isFetch = callNode.getOp() == EOpTextureFetch || callNode.getOp() == EOpTextureFetchOffset;
  ------------------
  |  Branch (4084:30): [True: 54, False: 234]
  |  Branch (4084:69): [True: 36, False: 198]
  ------------------
 4085|       |
 4086|    288|        if (isTexture && (!isBuffer || !isFetch))
  ------------------
  |  Branch (4086:13): [True: 0, False: 288]
  |  Branch (4086:27): [True: 0, False: 0]
  |  Branch (4086:40): [True: 0, False: 0]
  ------------------
 4087|      0|            requireExtensions(loc, 1, &E_GL_EXT_samplerless_texture_functions, fnCandidate.getName().c_str());
 4088|       |
 4089|    288|        break;
 4090|    252|    }
 4091|       |
 4092|      0|    case EOpConstructSaturated:
  ------------------
  |  Branch (4092:5): [True: 0, False: 1.84k]
  ------------------
 4093|      0|    {
 4094|      0|        auto &sequence = callNode.getAsAggregate()->getSequence();
 4095|      0|        if (sequence.size() != 2) {
  ------------------
  |  Branch (4095:13): [True: 0, False: 0]
  ------------------
 4096|      0|            error(loc, "requires exactly two parameters", "", "");
 4097|      0|        }
 4098|      0|        auto &op0Type = sequence[0]->getAsTyped()->getType();
 4099|      0|        auto &op1Type = sequence[1]->getAsTyped()->getType();
 4100|      0|        if (op0Type.getBasicType() != EbtFloatE5M2 && op0Type.getBasicType() != EbtFloatE4M3) {
  ------------------
  |  Branch (4100:13): [True: 0, False: 0]
  |  Branch (4100:55): [True: 0, False: 0]
  ------------------
 4101|      0|            error(loc, "first parameter must have floate5m2 or floate4m3 basic type", "", "");
 4102|      0|        }
 4103|      0|        if (op1Type.getBasicType() == EbtFloatE5M2 || op1Type.getBasicType() == EbtFloatE4M3) {
  ------------------
  |  Branch (4103:13): [True: 0, False: 0]
  |  Branch (4103:55): [True: 0, False: 0]
  ------------------
 4104|      0|            error(loc, "second parameter must not have floate5m2 or floate4m3 basic type", "", "");
 4105|      0|        }
 4106|       |
 4107|      0|        if (!(op0Type.isScalar() || op0Type.isVector() || op0Type.isLongVector() || op0Type.isCoopMatKHR())) {
  ------------------
  |  Branch (4107:15): [True: 0, False: 0]
  |  Branch (4107:37): [True: 0, False: 0]
  |  Branch (4107:59): [True: 0, False: 0]
  |  Branch (4107:85): [True: 0, False: 0]
  ------------------
 4108|      0|            error(loc, "first parameter must be scalar, vector, or cooperative matrix", "", "");
 4109|      0|        }
 4110|      0|        if (!(op1Type.isScalar() || op1Type.isVector() || op1Type.isLongVector() || op1Type.isCoopMatKHR())) {
  ------------------
  |  Branch (4110:15): [True: 0, False: 0]
  |  Branch (4110:37): [True: 0, False: 0]
  |  Branch (4110:59): [True: 0, False: 0]
  |  Branch (4110:85): [True: 0, False: 0]
  ------------------
 4111|      0|            error(loc, "second parameter must be scalar, vector, or cooperative matrix", "", "");
 4112|      0|        }
 4113|      0|        if (!(op0Type.sameElementShape(op1Type) || op0Type.sameCoopMatShape(op1Type))) {
  ------------------
  |  Branch (4113:15): [True: 0, False: 0]
  |  Branch (4113:52): [True: 0, False: 0]
  ------------------
 4114|      0|            error(loc, "types must match other than scalar type and coopmat Use", "", "");
 4115|      0|        }
 4116|      0|        break;
 4117|    252|    }
 4118|      0|    case EOpTensorReadARM:
  ------------------
  |  Branch (4118:5): [True: 0, False: 1.84k]
  ------------------
 4119|      0|    case EOpTensorWriteARM:
  ------------------
  |  Branch (4119:5): [True: 0, False: 1.84k]
  ------------------
 4120|      0|    {
 4121|      0|        const TType &tensorType = (*argp)[0]->getAsTyped()->getType();
 4122|       |
 4123|       |        // Check that coordinates argument length matches rank of tensor argument.
 4124|      0|        int tensorRank = tensorType.getTensorRankARM();
 4125|      0|        const TArraySizes *coordArgArrayTy = (*argp)[1]->getAsTyped()->getType().getArraySizes();
 4126|      0|        assert(coordArgArrayTy->getNumDims() == 1 && "expecting 1D coordinate array");
 4127|      0|        if (coordArgArrayTy->getDimSize(0) != tensorRank) {
  ------------------
  |  Branch (4127:13): [True: 0, False: 0]
  ------------------
 4128|      0|            error(loc, "number of coordinates does not match tensor rank", "coord", "");
 4129|      0|        }
 4130|       |
 4131|       |        // Check that tensor element type matches data argument.
 4132|      0|        TBasicType eltTy = tensorType.getBasicType();
 4133|      0|        TBasicType argTy = (*argp)[2]->getAsTyped()->getType().getBasicType();
 4134|      0|        if (eltTy != argTy) {
  ------------------
  |  Branch (4134:13): [True: 0, False: 0]
  ------------------
 4135|      0|            error(loc, "", "data", "data argument type (%s) does not match tensor element type (%s)",
 4136|      0|                  TType::getBasicString(argTy), TType::getBasicString(eltTy));
 4137|      0|        }
 4138|       |
 4139|       |        // Check optional tensor operands.
 4140|      0|        if (argp->size() > 3) {
  ------------------
  |  Branch (4140:13): [True: 0, False: 0]
  ------------------
 4141|      0|            const TIntermConstantUnion* opArg = (*argp)[3]->getAsConstantUnion();
 4142|      0|            if (!opArg) {
  ------------------
  |  Branch (4142:17): [True: 0, False: 0]
  ------------------
 4143|      0|                error(loc, "tensor operands argument must be a constant integral expression", "tensorOps", "");
 4144|      0|            }
 4145|      0|            const unsigned int ops = opArg ? opArg->getConstArray()[0].getUConst() : 0;
  ------------------
  |  Branch (4145:38): [True: 0, False: 0]
  ------------------
 4146|      0|            const int gl_TensorOperandsOutOfBoundsValueARM = 0x2;
 4147|      0|            if (ops & gl_TensorOperandsOutOfBoundsValueARM) {
  ------------------
  |  Branch (4147:17): [True: 0, False: 0]
  ------------------
 4148|       |                // Out-of-bounds values can only be used with reads.
 4149|      0|                if (callNode.getOp() != EOpTensorReadARM) {
  ------------------
  |  Branch (4149:21): [True: 0, False: 0]
  ------------------
 4150|      0|                    error(loc, "out-of-bounds value is only valid with tensorReadARM", "tensorOps", "");
 4151|      0|                }
 4152|       |                // Check that an out-of-bounds value is present.
 4153|      0|                if (argp->size() == 4) {
  ------------------
  |  Branch (4153:21): [True: 0, False: 0]
  ------------------
 4154|      0|                    error(loc, "expecting out-of-bounds value as next argument", "tensorOps", "");
 4155|      0|                } else {
 4156|       |                    // Check constantness of out-of-bounds value.
 4157|      0|                    const TIntermConstantUnion* oobArg = (*argp)[4]->getAsConstantUnion();
 4158|      0|                    if (!oobArg) {
  ------------------
  |  Branch (4158:25): [True: 0, False: 0]
  ------------------
 4159|      0|                        error(loc, "argument following gl_TensorOperandsOutOfBoundsValueARM must be constant", "vararg",
 4160|      0|                              "");
 4161|      0|                    } else if (oobArg->getType().getBasicType() != tensorType.getBasicType()) {
  ------------------
  |  Branch (4161:32): [True: 0, False: 0]
  ------------------
 4162|       |                        // The type of the OOB value does not match the tensor type.
 4163|      0|                        error(loc, "", "vararg",
 4164|      0|                            "out-of-bounds value type (%s) does not match tensor element type (%s)",
 4165|      0|                            TType::getBasicString(oobArg->getBasicType()), TType::getBasicString(eltTy));
 4166|       |
 4167|      0|                    }
 4168|      0|                }
 4169|      0|            }
 4170|      0|        }
 4171|      0|        break;
 4172|      0|    }
 4173|       |
 4174|      0|    case EOpTensorSizeARM:
  ------------------
  |  Branch (4174:5): [True: 0, False: 1.84k]
  ------------------
 4175|      0|    {
 4176|      0|        unsigned int tensorRank = (*argp)[0]->getAsTyped()->getType().getTensorRankARM();
 4177|      0|        const TIntermConstantUnion *dimArg = (*argp)[1]->getAsConstantUnion();
 4178|      0|        if (dimArg) {
  ------------------
  |  Branch (4178:13): [True: 0, False: 0]
  ------------------
 4179|      0|            if (dimArg->getConstArray()[0].getUConst() >= tensorRank) {
  ------------------
  |  Branch (4179:17): [True: 0, False: 0]
  ------------------
 4180|      0|                error(loc, "dimension argument exceeds tensor rank", "dim", "");
 4181|      0|            }
 4182|      0|        } else {
 4183|      0|            error(loc, "dimension argument must be constant", "dim", "");
 4184|      0|        }
 4185|      0|        break;
 4186|      0|    }
 4187|       |
 4188|      0|    case EOpAbortEXT:
  ------------------
  |  Branch (4188:5): [True: 0, False: 1.84k]
  ------------------
 4189|       |        // GL_EXT_abort allows abortEXT() with no arguments at all. Otherwise the message
 4190|       |        // must be a string literal, not merely an expression of string type: isLiteral()
 4191|       |        // is false for e.g. ("msg"). createAbortEXT() assumes this.
 4192|      0|        if (arg0 != nullptr) {
  ------------------
  |  Branch (4192:13): [True: 0, False: 0]
  ------------------
 4193|      0|            const TIntermConstantUnion* message = arg0->getAsConstantUnion();
 4194|      0|            if (message == nullptr || message->getBasicType() != EbtString || ! message->isLiteral())
  ------------------
  |  Branch (4194:17): [True: 0, False: 0]
  |  Branch (4194:39): [True: 0, False: 0]
  |  Branch (4194:79): [True: 0, False: 0]
  ------------------
 4195|      0|                error(loc, "first argument must be a string literal", fnCandidate.getName().c_str(), "");
 4196|      0|        }
 4197|       |        // The message string and the remaining arguments are packed into an explicitly laid
 4198|       |        // out structure type, so every argument has to be something that can be laid out in memory.
 4199|      0|        if (argp != nullptr) {
  ------------------
  |  Branch (4199:13): [True: 0, False: 0]
  ------------------
 4200|      0|            for (int arg = 1; arg < (int)argp->size(); ++arg) {
  ------------------
  |  Branch (4200:31): [True: 0, False: 0]
  ------------------
 4201|      0|                const TIntermTyped* argNode = (*argp)[arg]->getAsTyped();
 4202|      0|                if (argNode == nullptr)
  ------------------
  |  Branch (4202:21): [True: 0, False: 0]
  ------------------
 4203|      0|                    continue;
 4204|      0|                const TType& argType = argNode->getType();
 4205|      0|                if (argType.getBasicType() == EbtString) {
  ------------------
  |  Branch (4205:21): [True: 0, False: 0]
  ------------------
 4206|      0|                    error(loc, "argument cannot be a string, only the message may be a string",
 4207|      0|                          fnCandidate.getName().c_str(), "");
 4208|      0|                } else if (argType.containsOpaque()) {
  ------------------
  |  Branch (4208:28): [True: 0, False: 0]
  ------------------
 4209|      0|                    error(loc, "argument cannot be an opaque type", fnCandidate.getName().c_str(), "");
 4210|      0|                } else if (argType.containsUnsizedArray()) {
  ------------------
  |  Branch (4210:28): [True: 0, False: 0]
  ------------------
 4211|      0|                    error(loc, "argument cannot be a run-time sized array", fnCandidate.getName().c_str(), "");
 4212|      0|                } else if (argType.containsBasicType(EbtBool) && ! argType.isScalar() && ! argType.isVector()) {
  ------------------
  |  Branch (4212:28): [True: 0, False: 0]
  |  Branch (4212:66): [True: 0, False: 0]
  |  Branch (4212:90): [True: 0, False: 0]
  ------------------
 4213|      0|                    error(loc, "argument cannot be an aggregate containing a bool",
 4214|      0|                          fnCandidate.getName().c_str(), "");
 4215|      0|                }
 4216|      0|            }
 4217|      0|        }
 4218|      0|        break;
 4219|      0|    case EOpDebugPrintf:
  ------------------
  |  Branch (4219:5): [True: 0, False: 1.84k]
  ------------------
 4220|      0|    {
 4221|       |        // GL_EXT_debug_printf requires the format to be a string literal, not just
 4222|       |        // an expression of string type: isLiteral() is false for e.g. ("fmt").
 4223|      0|        const TIntermConstantUnion* format = arg0 ? arg0->getAsConstantUnion() : nullptr;
  ------------------
  |  Branch (4223:46): [True: 0, False: 0]
  ------------------
 4224|      0|        if (format == nullptr || format->getBasicType() != EbtString || ! format->isLiteral())
  ------------------
  |  Branch (4224:13): [True: 0, False: 0]
  |  Branch (4224:34): [True: 0, False: 0]
  |  Branch (4224:73): [True: 0, False: 0]
  ------------------
 4225|      0|            error(loc, "first argument must be a string literal", fnCandidate.getName().c_str(), "");
 4226|      0|        break;
 4227|      0|    }
 4228|       |
 4229|  1.56k|    default:
  ------------------
  |  Branch (4229:5): [True: 1.56k, False: 288]
  ------------------
 4230|  1.56k|        break;
 4231|  1.84k|    }
 4232|       |
 4233|  1.84k|    if (callNode.isSubgroup()) {
  ------------------
  |  Branch (4233:9): [True: 0, False: 1.84k]
  ------------------
 4234|       |        // these require SPIR-V 1.3
 4235|      0|        if (spvVersion.spv > 0 && spvVersion.spv < EShTargetSpv_1_3)
  ------------------
  |  Branch (4235:13): [True: 0, False: 0]
  |  Branch (4235:35): [True: 0, False: 0]
  ------------------
 4236|      0|            error(loc, "requires SPIR-V 1.3", "subgroup op", "");
 4237|       |
 4238|       |        // Check that if extended types are being used that the correct extensions are enabled.
 4239|      0|        if (arg0 != nullptr) {
  ------------------
  |  Branch (4239:13): [True: 0, False: 0]
  ------------------
 4240|      0|            const TType& type = arg0->getType();
 4241|      0|            bool enhanced = intermediate.getEnhancedMsgs();
 4242|      0|            switch (type.getBasicType()) {
 4243|      0|            default:
  ------------------
  |  Branch (4243:13): [True: 0, False: 0]
  ------------------
 4244|      0|                break;
 4245|      0|            case EbtInt8:
  ------------------
  |  Branch (4245:13): [True: 0, False: 0]
  ------------------
 4246|      0|            case EbtUint8:
  ------------------
  |  Branch (4246:13): [True: 0, False: 0]
  ------------------
 4247|      0|                requireExtensions(loc, 1, &E_GL_EXT_shader_subgroup_extended_types_int8, type.getCompleteString(enhanced).c_str());
 4248|      0|                break;
 4249|      0|            case EbtInt16:
  ------------------
  |  Branch (4249:13): [True: 0, False: 0]
  ------------------
 4250|      0|            case EbtUint16:
  ------------------
  |  Branch (4250:13): [True: 0, False: 0]
  ------------------
 4251|      0|                requireExtensions(loc, 1, &E_GL_EXT_shader_subgroup_extended_types_int16, type.getCompleteString(enhanced).c_str());
 4252|      0|                break;
 4253|      0|            case EbtInt64:
  ------------------
  |  Branch (4253:13): [True: 0, False: 0]
  ------------------
 4254|      0|            case EbtUint64:
  ------------------
  |  Branch (4254:13): [True: 0, False: 0]
  ------------------
 4255|      0|                requireExtensions(loc, 1, &E_GL_EXT_shader_subgroup_extended_types_int64, type.getCompleteString(enhanced).c_str());
 4256|      0|                break;
 4257|      0|            case EbtFloat16:
  ------------------
  |  Branch (4257:13): [True: 0, False: 0]
  ------------------
 4258|      0|                requireExtensions(loc, 1, &E_GL_EXT_shader_subgroup_extended_types_float16, type.getCompleteString(enhanced).c_str());
 4259|      0|                break;
 4260|      0|            }
 4261|      0|        }
 4262|      0|    }
 4263|  1.84k|}
_ZN7glslang13TParseContext21userFunctionCallCheckERKNS_10TSourceLocERNS_16TIntermAggregateE:
 4396|    147|{
 4397|    147|    TIntermSequence& arguments = callNode.getSequence();
 4398|       |
 4399|    150|    for (int i = 0; i < (int)arguments.size(); ++i)
  ------------------
  |  Branch (4399:21): [True: 3, False: 147]
  ------------------
 4400|      3|        samplerConstructorLocationCheck(loc, "call argument", arguments[i]);
 4401|    147|}
_ZN7glslang13TParseContext31samplerConstructorLocationCheckERKNS_10TSourceLocEPKcP11TIntermNode:
 4407|      3|{
 4408|      3|    if (node->getAsOperator() && node->getAsOperator()->getOp() == EOpConstructTextureSampler)
  ------------------
  |  Branch (4408:9): [True: 0, False: 3]
  |  Branch (4408:34): [True: 0, False: 0]
  ------------------
 4409|      0|        error(loc, "sampler constructor must appear at point of use", token, "");
 4410|      3|}
_ZN7glslang13TParseContext21handleConstructorCallERKNS_10TSourceLocERKNS_11TPublicTypeE:
 4416|    809|{
 4417|    809|    TType type(publicType);
 4418|    809|    type.getQualifier().precision = EpqNone;
 4419|       |
 4420|    809|    if (type.isArray()) {
  ------------------
  |  Branch (4420:9): [True: 3, False: 806]
  ------------------
 4421|      3|        profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed constructor");
 4422|      3|        profileRequires(loc, EEsProfile, 300, nullptr, "arrayed constructor");
 4423|      3|    }
 4424|       |
 4425|       |    // Reuse EOpConstructTextureSampler for bindless image constructor
 4426|       |    // uvec2 imgHandle;
 4427|       |    // imageLoad(image1D(imgHandle), 0);
 4428|    809|    if (type.isImage() && extensionTurnedOn(E_GL_ARB_bindless_texture))
  ------------------
  |  Branch (4428:9): [True: 0, False: 809]
  |  Branch (4428:27): [True: 0, False: 0]
  ------------------
 4429|      0|    {
 4430|      0|        intermediate.setBindlessImageMode(currentCaller, AstRefTypeFunc);
 4431|      0|    }
 4432|       |
 4433|    809|    TOperator op = intermediate.mapTypeToConstructorOp(type);
 4434|       |
 4435|    809|    if (op == EOpNull) {
  ------------------
  |  Branch (4435:9): [True: 0, False: 809]
  ------------------
 4436|      0|        if (intermediate.getEnhancedMsgs() && type.getBasicType() == EbtSampler)
  ------------------
  |  Branch (4436:13): [True: 0, False: 0]
  |  Branch (4436:47): [True: 0, False: 0]
  ------------------
 4437|      0|            error(loc, "function not supported in this version; use texture() instead", "texture*D*", "");
 4438|      0|        else
 4439|      0|            error(loc, "cannot construct this type", type.getBasicString(), "");
 4440|      0|        op = EOpConstructFloat;
 4441|      0|        TType errorType(EbtFloat);
 4442|      0|        type.shallowCopy(errorType);
 4443|      0|    }
 4444|       |
 4445|    809|    TString empty("");
 4446|       |
 4447|    809|    return new TFunction(&empty, type, op);
 4448|    809|}
_ZN7glslang13TParseContext24handlePrecisionQualifierERKNS_10TSourceLocERNS_10TQualifierENS_19TPrecisionQualifierE:
 4452|  99.7k|{
 4453|  99.7k|    if (obeyPrecisionQualifiers())
  ------------------
  |  Branch (4453:9): [True: 99.7k, False: 0]
  ------------------
 4454|  99.7k|        qualifier.precision = precision;
 4455|  99.7k|}
_ZN7glslang13TParseContext23checkPrecisionQualifierERKNS_10TSourceLocENS_19TPrecisionQualifierE:
 4460|  99.7k|{
 4461|  99.7k|    if (precisionManager.shouldWarnAboutDefaults()) {
  ------------------
  |  Branch (4461:9): [True: 0, False: 99.7k]
  ------------------
 4462|      0|        warn(loc, "all default precisions are highp; use precision statements to quiet warning, e.g.:\n"
 4463|      0|                  "         \"precision mediump int; precision highp float;\"", "", "");
 4464|      0|        precisionManager.defaultWarningGiven();
 4465|      0|    }
 4466|  99.7k|}
_ZN7glslang13TParseContext13variableCheckERPNS_12TIntermTypedE:
 4504|  22.2k|{
 4505|  22.2k|    TIntermSymbol* symbol = nodePtr->getAsSymbolNode();
 4506|  22.2k|    if (! symbol)
  ------------------
  |  Branch (4506:9): [True: 14.2k, False: 8.03k]
  ------------------
 4507|  14.2k|        return;
 4508|       |
 4509|  8.03k|    if (symbol->getType().getBasicType() == EbtVoid) {
  ------------------
  |  Branch (4509:9): [True: 3, False: 8.03k]
  ------------------
 4510|      3|        const char *extraInfoFormat = "";
 4511|      3|        if (spvVersion.vulkan != 0 && symbol->getName() == "gl_VertexID") {
  ------------------
  |  Branch (4511:13): [True: 3, False: 0]
  |  Branch (4511:39): [True: 0, False: 3]
  ------------------
 4512|      0|          extraInfoFormat = "(Did you mean gl_VertexIndex?)";
 4513|      3|        } else if (spvVersion.vulkan != 0 && symbol->getName() == "gl_InstanceID") {
  ------------------
  |  Branch (4513:20): [True: 3, False: 0]
  |  Branch (4513:46): [True: 0, False: 3]
  ------------------
 4514|      0|          extraInfoFormat = "(Did you mean gl_InstanceIndex?)";
 4515|      0|        }
 4516|      3|        error(symbol->getLoc(), "undeclared identifier", symbol->getName().c_str(), extraInfoFormat);
 4517|       |
 4518|       |        // Add to symbol table to prevent future error messages on the same name
 4519|      3|        if (symbol->getName().size() > 0) {
  ------------------
  |  Branch (4519:13): [True: 3, False: 0]
  ------------------
 4520|      3|            TVariable* fakeVariable = new TVariable(&symbol->getName(), TType(EbtFloat));
 4521|      3|            symbolTable.insert(*fakeVariable);
 4522|       |
 4523|       |            // substitute a symbol node for this new variable
 4524|      3|            nodePtr = intermediate.addSymbol(*fakeVariable, symbol->getLoc());
 4525|      3|        }
 4526|  8.03k|    } else {
 4527|  8.03k|        switch (symbol->getQualifier().storage) {
 4528|      0|        case EvqPointCoord:
  ------------------
  |  Branch (4528:9): [True: 0, False: 8.03k]
  ------------------
 4529|      0|            profileRequires(symbol->getLoc(), ENoProfile, 120, nullptr, "gl_PointCoord");
 4530|      0|            break;
 4531|  8.03k|        default: break; // some compilers want this
  ------------------
  |  Branch (4531:9): [True: 8.03k, False: 0]
  ------------------
 4532|  8.03k|        }
 4533|  8.03k|    }
 4534|  8.03k|}
_ZN7glslang13TParseContext16lValueErrorCheckERKNS_10TSourceLocEPKcPNS_12TIntermTypedE:
 4543|  2.63k|{
 4544|  2.63k|    TIntermBinary* binaryNode = node->getAsBinaryNode();
 4545|       |
 4546|  2.63k|    if (binaryNode) {
  ------------------
  |  Branch (4546:9): [True: 564, False: 2.07k]
  ------------------
 4547|    564|        bool errorReturn = false;
 4548|       |
 4549|    564|        switch(binaryNode->getOp()) {
 4550|    471|        case EOpIndexDirect:
  ------------------
  |  Branch (4550:9): [True: 471, False: 93]
  ------------------
 4551|    471|        case EOpIndexIndirect:
  ------------------
  |  Branch (4551:9): [True: 0, False: 564]
  ------------------
 4552|       |            // ...  tessellation control shader ...
 4553|       |            // If a per-vertex output variable is used as an l-value, it is a
 4554|       |            // compile-time or link-time error if the expression indicating the
 4555|       |            // vertex index is not the identifier gl_InvocationID.
 4556|    471|            if (language == EShLangTessControl) {
  ------------------
  |  Branch (4556:17): [True: 471, False: 0]
  ------------------
 4557|    471|                const TType& leftType = binaryNode->getLeft()->getType();
 4558|    471|                if (leftType.getQualifier().storage == EvqVaryingOut && ! leftType.getQualifier().patch && binaryNode->getLeft()->getAsSymbolNode()) {
  ------------------
  |  Branch (4558:21): [True: 0, False: 471]
  |  Branch (4558:73): [True: 0, False: 0]
  |  Branch (4558:108): [True: 0, False: 0]
  ------------------
 4559|       |                    // we have a per-vertex output
 4560|      0|                    const TIntermSymbol* rightSymbol = binaryNode->getRight()->getAsSymbolNode();
 4561|      0|                    if (! rightSymbol || rightSymbol->getQualifier().builtIn != EbvInvocationId)
  ------------------
  |  Branch (4561:25): [True: 0, False: 0]
  |  Branch (4561:42): [True: 0, False: 0]
  ------------------
 4562|      0|                        error(loc, "tessellation-control per-vertex output l-value must be indexed with gl_InvocationID", "[]", "");
 4563|      0|                }
 4564|    471|            }
 4565|    471|            break; // left node is checked by base class
 4566|     93|        case EOpVectorSwizzle:
  ------------------
  |  Branch (4566:9): [True: 93, False: 471]
  ------------------
 4567|     93|            errorReturn = lValueErrorCheck(loc, op, binaryNode->getLeft());
 4568|     93|            if (!errorReturn) {
  ------------------
  |  Branch (4568:17): [True: 93, False: 0]
  ------------------
 4569|     93|                int offset[4] = {0,0,0,0};
 4570|       |
 4571|     93|                TIntermTyped* rightNode = binaryNode->getRight();
 4572|     93|                TIntermAggregate *aggrNode = rightNode->getAsAggregate();
 4573|       |
 4574|     93|                for (TIntermSequence::iterator p = aggrNode->getSequence().begin();
 4575|    315|                                               p != aggrNode->getSequence().end(); p++) {
  ------------------
  |  Branch (4575:48): [True: 222, False: 93]
  ------------------
 4576|    222|                    int value = (*p)->getAsTyped()->getAsConstantUnion()->getConstArray()[0].getIConst();
 4577|    222|                    offset[value]++;
 4578|    222|                    if (offset[value] > 1) {
  ------------------
  |  Branch (4578:25): [True: 0, False: 222]
  ------------------
 4579|      0|                        error(loc, " l-value of swizzle cannot have duplicate components", op, "", "");
 4580|       |
 4581|      0|                        return true;
 4582|      0|                    }
 4583|    222|                }
 4584|     93|            }
 4585|       |
 4586|     93|            return errorReturn;
 4587|      0|        default:
  ------------------
  |  Branch (4587:9): [True: 0, False: 564]
  ------------------
 4588|      0|            break;
 4589|    564|        }
 4590|       |
 4591|    471|        if (errorReturn) {
  ------------------
  |  Branch (4591:13): [True: 0, False: 471]
  ------------------
 4592|      0|            error(loc, " l-value required", op, "", "");
 4593|      0|            return true;
 4594|      0|        }
 4595|    471|    }
 4596|       |
 4597|  2.54k|    if (binaryNode && binaryNode->getOp() == EOpIndexDirectStruct && binaryNode->getLeft()->isReference())
  ------------------
  |  Branch (4597:9): [True: 471, False: 2.07k]
  |  Branch (4597:23): [True: 0, False: 471]
  |  Branch (4597:70): [True: 0, False: 0]
  ------------------
 4598|      0|        return false;
 4599|       |
 4600|       |    // Let the base class check errors
 4601|  2.54k|    if (TParseContextBase::lValueErrorCheck(loc, op, node))
  ------------------
  |  Branch (4601:9): [True: 0, False: 2.54k]
  ------------------
 4602|      0|        return true;
 4603|       |
 4604|  2.54k|    const char* symbol = nullptr;
 4605|  2.54k|    TIntermSymbol* symNode = node->getAsSymbolNode();
 4606|  2.54k|    if (symNode != nullptr)
  ------------------
  |  Branch (4606:9): [True: 2.07k, False: 471]
  ------------------
 4607|  2.07k|        symbol = symNode->getName().c_str();
 4608|       |
 4609|  2.54k|    const char* message = nullptr;
 4610|  2.54k|    switch (node->getQualifier().storage) {
 4611|      0|    case EvqVaryingIn:      message = "can't modify shader input";   break;
  ------------------
  |  Branch (4611:5): [True: 0, False: 2.54k]
  ------------------
 4612|      0|    case EvqInstanceId:     message = "can't modify gl_InstanceID";  break;
  ------------------
  |  Branch (4612:5): [True: 0, False: 2.54k]
  ------------------
 4613|      0|    case EvqVertexId:       message = "can't modify gl_VertexID";    break;
  ------------------
  |  Branch (4613:5): [True: 0, False: 2.54k]
  ------------------
 4614|      0|    case EvqFace:           message = "can't modify gl_FrontFace";   break;
  ------------------
  |  Branch (4614:5): [True: 0, False: 2.54k]
  ------------------
 4615|      0|    case EvqFragCoord:      message = "can't modify gl_FragCoord";   break;
  ------------------
  |  Branch (4615:5): [True: 0, False: 2.54k]
  ------------------
 4616|      0|    case EvqPointCoord:     message = "can't modify gl_PointCoord";  break;
  ------------------
  |  Branch (4616:5): [True: 0, False: 2.54k]
  ------------------
 4617|      0|    case EvqFragDepth:
  ------------------
  |  Branch (4617:5): [True: 0, False: 2.54k]
  ------------------
 4618|      0|        intermediate.setDepthReplacing();
 4619|       |        // "In addition, it is an error to statically write to gl_FragDepth in the fragment shader."
 4620|      0|        if (isEsProfile() && intermediate.getEarlyFragmentTests())
  ------------------
  |  Branch (4620:13): [True: 0, False: 0]
  |  Branch (4620:30): [True: 0, False: 0]
  ------------------
 4621|      0|            message = "can't modify gl_FragDepth if using early_fragment_tests";
 4622|      0|        break;
 4623|      0|    case EvqFragStencil:
  ------------------
  |  Branch (4623:5): [True: 0, False: 2.54k]
  ------------------
 4624|      0|        intermediate.setStencilReplacing();
 4625|       |        // "In addition, it is an error to statically write to gl_FragDepth in the fragment shader."
 4626|      0|        if (isEsProfile() && intermediate.getEarlyFragmentTests())
  ------------------
  |  Branch (4626:13): [True: 0, False: 0]
  |  Branch (4626:30): [True: 0, False: 0]
  ------------------
 4627|      0|            message = "can't modify EvqFragStencil if using early_fragment_tests";
 4628|      0|        break;
 4629|       |
 4630|      0|    case EvqtaskPayloadSharedEXT:
  ------------------
  |  Branch (4630:5): [True: 0, False: 2.54k]
  ------------------
 4631|      0|        if (language == EShLangMesh)
  ------------------
  |  Branch (4631:13): [True: 0, False: 0]
  ------------------
 4632|      0|            message = "can't modify variable with storage qualifier taskPayloadSharedEXT in mesh shaders";
 4633|      0|        break;
 4634|  2.54k|    default:
  ------------------
  |  Branch (4634:5): [True: 2.54k, False: 0]
  ------------------
 4635|  2.54k|        break;
 4636|  2.54k|    }
 4637|       |
 4638|  2.54k|    if (message == nullptr && binaryNode == nullptr && symNode == nullptr) {
  ------------------
  |  Branch (4638:9): [True: 2.54k, False: 0]
  |  Branch (4638:31): [True: 2.07k, False: 471]
  |  Branch (4638:56): [True: 0, False: 2.07k]
  ------------------
 4639|      0|        error(loc, " l-value required", op, "", "");
 4640|       |
 4641|      0|        return true;
 4642|      0|    }
 4643|       |
 4644|       |    //
 4645|       |    // Everything else is okay, no error.
 4646|       |    //
 4647|  2.54k|    if (message == nullptr)
  ------------------
  |  Branch (4647:9): [True: 2.54k, False: 0]
  ------------------
 4648|  2.54k|        return false;
 4649|       |
 4650|       |    //
 4651|       |    // If we get here, we have an error and a message.
 4652|       |    //
 4653|      0|    if (symNode)
  ------------------
  |  Branch (4653:9): [True: 0, False: 0]
  ------------------
 4654|      0|        error(loc, " l-value required", op, "\"%s\" (%s)", symbol, message);
 4655|      0|    else
 4656|      0|        error(loc, " l-value required", op, "(%s)", message);
 4657|       |
 4658|      0|    return true;
 4659|  2.54k|}
_ZN7glslang13TParseContext16rValueErrorCheckERKNS_10TSourceLocEPKcPNS_12TIntermTypedE:
 4663|  7.46k|{
 4664|       |    // Let the base class check errors
 4665|  7.46k|    TParseContextBase::rValueErrorCheck(loc, op, node);
 4666|       |
 4667|  7.46k|    TIntermSymbol* symNode = node->getAsSymbolNode();
 4668|  7.46k|    if (!(symNode && symNode->getQualifier().isWriteOnly())) // base class checks
  ------------------
  |  Branch (4668:11): [True: 432, False: 7.03k]
  |  Branch (4668:22): [True: 0, False: 432]
  ------------------
 4669|  7.46k|        if (symNode && symNode->getQualifier().isExplicitInterpolation())
  ------------------
  |  Branch (4669:13): [True: 432, False: 7.03k]
  |  Branch (4669:24): [True: 0, False: 432]
  ------------------
 4670|      0|            error(loc, "can't read from explicitly-interpolated object: ", op, symNode->getName().c_str());
 4671|       |
 4672|       |    // local_size_{xyz} must be assigned or specialized before gl_WorkGroupSize can be assigned.
 4673|  7.46k|    if(node->getQualifier().builtIn == EbvWorkGroupSize &&
  ------------------
  |  Branch (4673:8): [True: 0, False: 7.46k]
  ------------------
 4674|      0|       !(intermediate.isLocalSizeSet() || intermediate.isLocalSizeSpecialized()))
  ------------------
  |  Branch (4674:10): [True: 0, False: 0]
  |  Branch (4674:43): [True: 0, False: 0]
  ------------------
 4675|      0|        error(loc, "can't read from gl_WorkGroupSize before a fixed workgroup size has been declared", op, "");
 4676|  7.46k|}
_ZN7glslang13TParseContext12integerCheckEPKNS_12TIntermTypedEPKc:
 4693|    612|{
 4694|    612|    auto from_type = node->getBasicType();
 4695|    612|    if ((from_type == EbtInt || from_type == EbtUint ||
  ------------------
  |  Branch (4695:10): [True: 612, False: 0]
  |  Branch (4695:33): [True: 0, False: 0]
  ------------------
 4696|      0|         intermediate.canImplicitlyPromote(from_type, EbtInt, EOpNull) ||
  ------------------
  |  Branch (4696:10): [True: 0, False: 0]
  ------------------
 4697|    612|         intermediate.canImplicitlyPromote(from_type, EbtUint, EOpNull)) && node->isScalar())
  ------------------
  |  Branch (4697:10): [True: 0, False: 0]
  |  Branch (4697:77): [True: 612, False: 0]
  ------------------
 4698|    612|        return;
 4699|       |
 4700|      0|    error(node->getLoc(), "scalar integer expression required", token, "");
 4701|      0|}
_ZN7glslang13TParseContext11globalCheckERKNS_10TSourceLocEPKc:
 4723|  25.8k|{
 4724|  25.8k|    if (! symbolTable.atGlobalLevel())
  ------------------
  |  Branch (4724:9): [True: 0, False: 25.8k]
  ------------------
 4725|      0|        error(loc, "not allowed in nested scope", token, "");
 4726|  25.8k|}
_ZN7glslang13TParseContext18reservedErrorCheckERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 4732|   160k|{
 4733|       |    // "Identifiers starting with "gl_" are reserved for use by OpenGL, and may not be
 4734|       |    // declared in a shader; this results in a compile-time error."
 4735|   160k|    if (! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (4735:9): [True: 2.79k, False: 157k]
  ------------------
 4736|       |        // The extension GL_EXT_conservative_depth allows us to declare "gl_FragDepth".
 4737|  2.79k|        if (identifier == "gl_FragDepth" && extensionTurnedOn(E_GL_EXT_conservative_depth))
  ------------------
  |  Branch (4737:13): [True: 0, False: 2.79k]
  |  Branch (4737:45): [True: 0, False: 0]
  ------------------
 4738|      0|            return;
 4739|       |
 4740|  2.79k|        if (builtInName(identifier) && !extensionTurnedOn(E_GL_EXT_spirv_intrinsics))
  ------------------
  |  Branch (4740:13): [True: 0, False: 2.79k]
  |  Branch (4740:40): [True: 0, False: 0]
  ------------------
 4741|       |            // The extension GL_EXT_spirv_intrinsics allows us to declare identifiers starting with "gl_".
 4742|      0|            error(loc, "identifiers starting with \"gl_\" are reserved", identifier.c_str(), "");
 4743|       |
 4744|       |        // "__" are not supposed to be an error.  ES 300 (and desktop) added the clarification:
 4745|       |        // "In addition, all identifiers containing two consecutive underscores (__) are
 4746|       |        // reserved; using such a name does not itself result in an error, but may result
 4747|       |        // in undefined behavior."
 4748|       |        // however, before that, ES tests required an error.
 4749|  2.79k|        if (identifier.find("__") != TString::npos && !extensionTurnedOn(E_GL_EXT_spirv_intrinsics)) {
  ------------------
  |  Branch (4749:13): [True: 0, False: 2.79k]
  |  Branch (4749:55): [True: 0, False: 0]
  ------------------
 4750|       |            // The extension GL_EXT_spirv_intrinsics allows us to declare identifiers starting with "__".
 4751|      0|            if (isEsProfile() && version < 300)
  ------------------
  |  Branch (4751:17): [True: 0, False: 0]
  |  Branch (4751:34): [True: 0, False: 0]
  ------------------
 4752|      0|                error(loc, "identifiers containing consecutive underscores (\"__\") are reserved, and an error if version < 300", identifier.c_str(), "");
 4753|      0|            else
 4754|      0|                warn(loc, "identifiers containing consecutive underscores (\"__\") are reserved", identifier.c_str(), "");
 4755|      0|        }
 4756|  2.79k|    }
 4757|   160k|}
_ZN7glslang13TParseContext20reservedPpErrorCheckERKNS_10TSourceLocEPKcS5_:
 4763|     35|{
 4764|       |    // "__" are not supposed to be an error.  ES 300 (and desktop) added the clarification:
 4765|       |    // "All macro names containing two consecutive underscores ( __ ) are reserved;
 4766|       |    // defining such a name does not itself result in an error, but may result in
 4767|       |    // undefined behavior.  All macro names prefixed with "GL_" ("GL" followed by a
 4768|       |    // single underscore) are also reserved, and defining such a name results in a
 4769|       |    // compile-time error."
 4770|       |    // however, before that, ES tests required an error.
 4771|     35|    if (strncmp(identifier, "GL_", 3) == 0 && !extensionTurnedOn(E_GL_EXT_spirv_intrinsics))
  ------------------
  |  Branch (4771:9): [True: 0, False: 35]
  |  Branch (4771:47): [True: 0, False: 0]
  ------------------
 4772|       |        // The extension GL_EXT_spirv_intrinsics allows us to declare macros prefixed with "GL_".
 4773|      0|        ppError(loc, "names beginning with \"GL_\" can't be (un)defined:", op,  identifier);
 4774|     35|    else if (strncmp(identifier, "defined", 8) == 0)
  ------------------
  |  Branch (4774:14): [True: 0, False: 35]
  ------------------
 4775|      0|        if (relaxedErrors())
  ------------------
  |  Branch (4775:13): [True: 0, False: 0]
  ------------------
 4776|      0|            ppWarn(loc, "\"defined\" is (un)defined:", op,  identifier);
 4777|      0|        else
 4778|      0|            ppError(loc, "\"defined\" can't be (un)defined:", op,  identifier);
 4779|     35|    else if (strstr(identifier, "__") != nullptr && !extensionTurnedOn(E_GL_EXT_spirv_intrinsics)) {
  ------------------
  |  Branch (4779:14): [True: 0, False: 35]
  |  Branch (4779:53): [True: 0, False: 0]
  ------------------
 4780|       |        // The extension GL_EXT_spirv_intrinsics allows us to declare macros prefixed with "__".
 4781|      0|        if (isEsProfile() && version >= 300 &&
  ------------------
  |  Branch (4781:13): [True: 0, False: 0]
  |  Branch (4781:30): [True: 0, False: 0]
  ------------------
 4782|      0|            (strcmp(identifier, "__LINE__") == 0 ||
  ------------------
  |  Branch (4782:14): [True: 0, False: 0]
  ------------------
 4783|      0|             strcmp(identifier, "__FILE__") == 0 ||
  ------------------
  |  Branch (4783:14): [True: 0, False: 0]
  ------------------
 4784|      0|             strcmp(identifier, "__VERSION__") == 0))
  ------------------
  |  Branch (4784:14): [True: 0, False: 0]
  ------------------
 4785|      0|            ppError(loc, "predefined names can't be (un)defined:", op,  identifier);
 4786|      0|        else {
 4787|      0|            if (isEsProfile() && version < 300 && !relaxedErrors())
  ------------------
  |  Branch (4787:17): [True: 0, False: 0]
  |  Branch (4787:34): [True: 0, False: 0]
  |  Branch (4787:51): [True: 0, False: 0]
  ------------------
 4788|      0|                ppError(loc, "names containing consecutive underscores are reserved, and an error if version < 300:", op, identifier);
 4789|      0|            else
 4790|      0|                ppWarn(loc, "names containing consecutive underscores are reserved:", op, identifier);
 4791|      0|        }
 4792|      0|    }
 4793|     35|}
_ZN7glslang13TParseContext11builtInNameERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 4829|  18.3k|{
 4830|  18.3k|    return identifier.compare(0, 3, "gl_") == 0;
 4831|  18.3k|}
_ZN7glslang13TParseContext16constructorErrorERKNS_10TSourceLocEP11TIntermNodeRNS_9TFunctionENS_9TOperatorERNS_5TTypeE:
 4853|    806|{
 4854|       |    // See if the constructor does not establish the main type, only requalifies
 4855|       |    // it, in which case the type comes from the argument instead of from the
 4856|       |    // constructor function.
 4857|    806|    switch (op) {
 4858|      0|    case EOpConstructNonuniform:
  ------------------
  |  Branch (4858:5): [True: 0, False: 806]
  ------------------
 4859|      0|        if (node != nullptr && node->getAsTyped() != nullptr) {
  ------------------
  |  Branch (4859:13): [True: 0, False: 0]
  |  Branch (4859:32): [True: 0, False: 0]
  ------------------
 4860|      0|            type.shallowCopy(node->getAsTyped()->getType());
 4861|      0|            type.getQualifier().makeTemporary();
 4862|      0|            type.getQualifier().nonUniform = true;
 4863|      0|        }
 4864|      0|        break;
 4865|    806|    default:
  ------------------
  |  Branch (4865:5): [True: 806, False: 0]
  ------------------
 4866|    806|        type.shallowCopy(function.getType());
 4867|    806|        break;
 4868|    806|    }
 4869|       |
 4870|    806|    TString constructorString;
 4871|    806|    if (intermediate.getEnhancedMsgs())
  ------------------
  |  Branch (4871:9): [True: 0, False: 806]
  ------------------
 4872|      0|        constructorString.append(type.getCompleteString(true, false, false, true)).append(" constructor");
 4873|    806|    else
 4874|    806|        constructorString.append("constructor");
 4875|       |
 4876|       |    // See if it's a matrix
 4877|    806|    bool constructingMatrix = false;
 4878|    806|    switch (op) {
 4879|     45|    case EOpConstructTextureSampler:
  ------------------
  |  Branch (4879:5): [True: 45, False: 761]
  ------------------
 4880|     45|        return constructorTextureSamplerError(loc, function);
 4881|      0|    case EOpConstructMat2x2:
  ------------------
  |  Branch (4881:5): [True: 0, False: 806]
  ------------------
 4882|      0|    case EOpConstructMat2x3:
  ------------------
  |  Branch (4882:5): [True: 0, False: 806]
  ------------------
 4883|      0|    case EOpConstructMat2x4:
  ------------------
  |  Branch (4883:5): [True: 0, False: 806]
  ------------------
 4884|      0|    case EOpConstructMat3x2:
  ------------------
  |  Branch (4884:5): [True: 0, False: 806]
  ------------------
 4885|      0|    case EOpConstructMat3x3:
  ------------------
  |  Branch (4885:5): [True: 0, False: 806]
  ------------------
 4886|      0|    case EOpConstructMat3x4:
  ------------------
  |  Branch (4886:5): [True: 0, False: 806]
  ------------------
 4887|      0|    case EOpConstructMat4x2:
  ------------------
  |  Branch (4887:5): [True: 0, False: 806]
  ------------------
 4888|      0|    case EOpConstructMat4x3:
  ------------------
  |  Branch (4888:5): [True: 0, False: 806]
  ------------------
 4889|      0|    case EOpConstructMat4x4:
  ------------------
  |  Branch (4889:5): [True: 0, False: 806]
  ------------------
 4890|      0|    case EOpConstructDMat2x2:
  ------------------
  |  Branch (4890:5): [True: 0, False: 806]
  ------------------
 4891|      0|    case EOpConstructDMat2x3:
  ------------------
  |  Branch (4891:5): [True: 0, False: 806]
  ------------------
 4892|      0|    case EOpConstructDMat2x4:
  ------------------
  |  Branch (4892:5): [True: 0, False: 806]
  ------------------
 4893|      0|    case EOpConstructDMat3x2:
  ------------------
  |  Branch (4893:5): [True: 0, False: 806]
  ------------------
 4894|      0|    case EOpConstructDMat3x3:
  ------------------
  |  Branch (4894:5): [True: 0, False: 806]
  ------------------
 4895|      0|    case EOpConstructDMat3x4:
  ------------------
  |  Branch (4895:5): [True: 0, False: 806]
  ------------------
 4896|      0|    case EOpConstructDMat4x2:
  ------------------
  |  Branch (4896:5): [True: 0, False: 806]
  ------------------
 4897|      0|    case EOpConstructDMat4x3:
  ------------------
  |  Branch (4897:5): [True: 0, False: 806]
  ------------------
 4898|      0|    case EOpConstructDMat4x4:
  ------------------
  |  Branch (4898:5): [True: 0, False: 806]
  ------------------
 4899|      0|    case EOpConstructF16Mat2x2:
  ------------------
  |  Branch (4899:5): [True: 0, False: 806]
  ------------------
 4900|      0|    case EOpConstructF16Mat2x3:
  ------------------
  |  Branch (4900:5): [True: 0, False: 806]
  ------------------
 4901|      0|    case EOpConstructF16Mat2x4:
  ------------------
  |  Branch (4901:5): [True: 0, False: 806]
  ------------------
 4902|      0|    case EOpConstructF16Mat3x2:
  ------------------
  |  Branch (4902:5): [True: 0, False: 806]
  ------------------
 4903|      0|    case EOpConstructF16Mat3x3:
  ------------------
  |  Branch (4903:5): [True: 0, False: 806]
  ------------------
 4904|      0|    case EOpConstructF16Mat3x4:
  ------------------
  |  Branch (4904:5): [True: 0, False: 806]
  ------------------
 4905|      0|    case EOpConstructF16Mat4x2:
  ------------------
  |  Branch (4905:5): [True: 0, False: 806]
  ------------------
 4906|      0|    case EOpConstructF16Mat4x3:
  ------------------
  |  Branch (4906:5): [True: 0, False: 806]
  ------------------
 4907|      0|    case EOpConstructF16Mat4x4:
  ------------------
  |  Branch (4907:5): [True: 0, False: 806]
  ------------------
 4908|      0|        constructingMatrix = true;
 4909|      0|        break;
 4910|    761|    default:
  ------------------
  |  Branch (4910:5): [True: 761, False: 45]
  ------------------
 4911|    761|        break;
 4912|    806|    }
 4913|       |
 4914|       |    //
 4915|       |    // Walk the arguments for first-pass checks and collection of information.
 4916|       |    //
 4917|       |
 4918|    761|    int size = 0;
 4919|    761|    bool constType = true;
 4920|    761|    bool specConstType = false;   // value is only valid if constType is true
 4921|    761|    bool full = false;
 4922|    761|    bool overFull = false;
 4923|    761|    bool matrixInMatrix = false;
 4924|    761|    bool arrayArg = false;
 4925|    761|    bool floatArgument = false;
 4926|    761|    bool intArgument = false;
 4927|  1.68k|    for (int arg = 0; arg < function.getParamCount(); ++arg) {
  ------------------
  |  Branch (4927:23): [True: 924, False: 761]
  ------------------
 4928|    924|        if (function[arg].type->isArray()) {
  ------------------
  |  Branch (4928:13): [True: 0, False: 924]
  ------------------
 4929|      0|            if (function[arg].type->isUnsizedArray()) {
  ------------------
  |  Branch (4929:17): [True: 0, False: 0]
  ------------------
 4930|       |                // Can't construct from an unsized array.
 4931|      0|                error(loc, "array argument must be sized", constructorString.c_str(), "");
 4932|      0|                return true;
 4933|      0|            }
 4934|      0|            arrayArg = true;
 4935|      0|        }
 4936|    924|        if (function[arg].type->getBasicType() == EbtString) {
  ------------------
  |  Branch (4936:13): [True: 0, False: 924]
  ------------------
 4937|      0|            error(loc, "cannot convert a string", constructorString.c_str(), "");
 4938|      0|            return true;
 4939|      0|        }
 4940|    924|        if (constructingMatrix && function[arg].type->isMatrix())
  ------------------
  |  Branch (4940:13): [True: 0, False: 924]
  |  Branch (4940:35): [True: 0, False: 0]
  ------------------
 4941|      0|            matrixInMatrix = true;
 4942|       |
 4943|       |        // 'full' will go to true when enough args have been seen.  If we loop
 4944|       |        // again, there is an extra argument.
 4945|    924|        if (full) {
  ------------------
  |  Branch (4945:13): [True: 0, False: 924]
  ------------------
 4946|       |            // For vectors and matrices, it's okay to have too many components
 4947|       |            // available, but not okay to have unused arguments.
 4948|      0|            overFull = true;
 4949|      0|        }
 4950|       |
 4951|    924|        size += function[arg].type->computeNumComponents();
 4952|    924|        if (op != EOpConstructStruct && ! type.isArray() && size >= type.computeNumComponents())
  ------------------
  |  Branch (4952:13): [True: 924, False: 0]
  |  Branch (4952:41): [True: 912, False: 12]
  |  Branch (4952:61): [True: 521, False: 391]
  ------------------
 4953|    521|            full = true;
 4954|       |
 4955|    924|        if (! function[arg].type->getQualifier().isConstant())
  ------------------
  |  Branch (4955:13): [True: 438, False: 486]
  ------------------
 4956|    438|            constType = false;
 4957|    924|        if (function[arg].type->getQualifier().isSpecConstant())
  ------------------
  |  Branch (4957:13): [True: 0, False: 924]
  ------------------
 4958|      0|            specConstType = true;
 4959|    924|        if (function[arg].type->isFloatingDomain())
  ------------------
  |  Branch (4959:13): [True: 654, False: 270]
  ------------------
 4960|    654|            floatArgument = true;
 4961|    924|        if (function[arg].type->isIntegerDomain())
  ------------------
  |  Branch (4961:13): [True: 270, False: 654]
  ------------------
 4962|    270|            intArgument = true;
 4963|    924|        if (type.isStruct()) {
  ------------------
  |  Branch (4963:13): [True: 0, False: 924]
  ------------------
 4964|      0|            if (function[arg].type->contains16BitFloat()) {
  ------------------
  |  Branch (4964:17): [True: 0, False: 0]
  ------------------
 4965|      0|                requireFloat16Arithmetic(loc, constructorString.c_str(), "can't construct structure containing 16-bit type");
 4966|      0|            }
 4967|      0|            if (function[arg].type->contains16BitInt()) {
  ------------------
  |  Branch (4967:17): [True: 0, False: 0]
  ------------------
 4968|      0|                requireInt16Arithmetic(loc, constructorString.c_str(), "can't construct structure containing 16-bit type");
 4969|      0|            }
 4970|      0|            if (function[arg].type->contains8BitInt()) {
  ------------------
  |  Branch (4970:17): [True: 0, False: 0]
  ------------------
 4971|      0|                requireInt8Arithmetic(loc, constructorString.c_str(), "can't construct structure containing 8-bit type");
 4972|      0|            }
 4973|      0|        }
 4974|    924|    }
 4975|    761|    if (op == EOpConstructNonuniform)
  ------------------
  |  Branch (4975:9): [True: 0, False: 761]
  ------------------
 4976|      0|        constType = false;
 4977|       |
 4978|    761|    switch (op) {
 4979|      0|    case EOpConstructFloat16:
  ------------------
  |  Branch (4979:5): [True: 0, False: 761]
  ------------------
 4980|      0|    case EOpConstructF16Vec2:
  ------------------
  |  Branch (4980:5): [True: 0, False: 761]
  ------------------
 4981|      0|    case EOpConstructF16Vec3:
  ------------------
  |  Branch (4981:5): [True: 0, False: 761]
  ------------------
 4982|      0|    case EOpConstructF16Vec4:
  ------------------
  |  Branch (4982:5): [True: 0, False: 761]
  ------------------
 4983|      0|        if (type.isArray())
  ------------------
  |  Branch (4983:13): [True: 0, False: 0]
  ------------------
 4984|      0|            requireFloat16Arithmetic(loc, constructorString.c_str(), "16-bit arrays not supported");
 4985|      0|        if (type.isVector() && function.getParamCount() != 1)
  ------------------
  |  Branch (4985:13): [True: 0, False: 0]
  |  Branch (4985:32): [True: 0, False: 0]
  ------------------
 4986|      0|            requireFloat16Arithmetic(loc, constructorString.c_str(), "16-bit vectors only take vector types");
 4987|      0|        break;
 4988|      0|    case EOpConstructUint16:
  ------------------
  |  Branch (4988:5): [True: 0, False: 761]
  ------------------
 4989|      0|    case EOpConstructU16Vec2:
  ------------------
  |  Branch (4989:5): [True: 0, False: 761]
  ------------------
 4990|      0|    case EOpConstructU16Vec3:
  ------------------
  |  Branch (4990:5): [True: 0, False: 761]
  ------------------
 4991|      0|    case EOpConstructU16Vec4:
  ------------------
  |  Branch (4991:5): [True: 0, False: 761]
  ------------------
 4992|      0|    case EOpConstructInt16:
  ------------------
  |  Branch (4992:5): [True: 0, False: 761]
  ------------------
 4993|      0|    case EOpConstructI16Vec2:
  ------------------
  |  Branch (4993:5): [True: 0, False: 761]
  ------------------
 4994|      0|    case EOpConstructI16Vec3:
  ------------------
  |  Branch (4994:5): [True: 0, False: 761]
  ------------------
 4995|      0|    case EOpConstructI16Vec4:
  ------------------
  |  Branch (4995:5): [True: 0, False: 761]
  ------------------
 4996|      0|        if (type.isArray())
  ------------------
  |  Branch (4996:13): [True: 0, False: 0]
  ------------------
 4997|      0|            requireInt16Arithmetic(loc, constructorString.c_str(), "16-bit arrays not supported");
 4998|      0|        if (type.isVector() && function.getParamCount() != 1)
  ------------------
  |  Branch (4998:13): [True: 0, False: 0]
  |  Branch (4998:32): [True: 0, False: 0]
  ------------------
 4999|      0|            requireInt16Arithmetic(loc, constructorString.c_str(), "16-bit vectors only take vector types");
 5000|      0|        break;
 5001|      0|    case EOpConstructUint8:
  ------------------
  |  Branch (5001:5): [True: 0, False: 761]
  ------------------
 5002|      0|    case EOpConstructU8Vec2:
  ------------------
  |  Branch (5002:5): [True: 0, False: 761]
  ------------------
 5003|      0|    case EOpConstructU8Vec3:
  ------------------
  |  Branch (5003:5): [True: 0, False: 761]
  ------------------
 5004|      0|    case EOpConstructU8Vec4:
  ------------------
  |  Branch (5004:5): [True: 0, False: 761]
  ------------------
 5005|      0|    case EOpConstructInt8:
  ------------------
  |  Branch (5005:5): [True: 0, False: 761]
  ------------------
 5006|      0|    case EOpConstructI8Vec2:
  ------------------
  |  Branch (5006:5): [True: 0, False: 761]
  ------------------
 5007|      0|    case EOpConstructI8Vec3:
  ------------------
  |  Branch (5007:5): [True: 0, False: 761]
  ------------------
 5008|      0|    case EOpConstructI8Vec4:
  ------------------
  |  Branch (5008:5): [True: 0, False: 761]
  ------------------
 5009|      0|        if (type.isArray())
  ------------------
  |  Branch (5009:13): [True: 0, False: 0]
  ------------------
 5010|      0|            requireInt8Arithmetic(loc, constructorString.c_str(), "8-bit arrays not supported");
 5011|      0|        if (type.isVector() && function.getParamCount() != 1)
  ------------------
  |  Branch (5011:13): [True: 0, False: 0]
  |  Branch (5011:32): [True: 0, False: 0]
  ------------------
 5012|      0|            requireInt8Arithmetic(loc, constructorString.c_str(), "8-bit vectors only take vector types");
 5013|      0|        break;
 5014|      0|    case EOpConstructFloatE2M1:
  ------------------
  |  Branch (5014:5): [True: 0, False: 761]
  ------------------
 5015|      0|    case EOpConstructFloatE2M1Vec2:
  ------------------
  |  Branch (5015:5): [True: 0, False: 761]
  ------------------
 5016|      0|    case EOpConstructFloatE2M1Vec3:
  ------------------
  |  Branch (5016:5): [True: 0, False: 761]
  ------------------
 5017|      0|    case EOpConstructFloatE2M1Vec4:
  ------------------
  |  Branch (5017:5): [True: 0, False: 761]
  ------------------
 5018|      0|    case EOpConstructFloatE3M2:
  ------------------
  |  Branch (5018:5): [True: 0, False: 761]
  ------------------
 5019|      0|    case EOpConstructFloatE3M2Vec2:
  ------------------
  |  Branch (5019:5): [True: 0, False: 761]
  ------------------
 5020|      0|    case EOpConstructFloatE3M2Vec3:
  ------------------
  |  Branch (5020:5): [True: 0, False: 761]
  ------------------
 5021|      0|    case EOpConstructFloatE3M2Vec4:
  ------------------
  |  Branch (5021:5): [True: 0, False: 761]
  ------------------
 5022|      0|    case EOpConstructFloatE2M3:
  ------------------
  |  Branch (5022:5): [True: 0, False: 761]
  ------------------
 5023|      0|    case EOpConstructFloatE2M3Vec2:
  ------------------
  |  Branch (5023:5): [True: 0, False: 761]
  ------------------
 5024|      0|    case EOpConstructFloatE2M3Vec3:
  ------------------
  |  Branch (5024:5): [True: 0, False: 761]
  ------------------
 5025|      0|    case EOpConstructFloatE2M3Vec4:
  ------------------
  |  Branch (5025:5): [True: 0, False: 761]
  ------------------
 5026|      0|    case EOpConstructFloatUE8M0:
  ------------------
  |  Branch (5026:5): [True: 0, False: 761]
  ------------------
 5027|      0|    case EOpConstructFloatUE8M0Vec2:
  ------------------
  |  Branch (5027:5): [True: 0, False: 761]
  ------------------
 5028|      0|    case EOpConstructFloatUE8M0Vec3:
  ------------------
  |  Branch (5028:5): [True: 0, False: 761]
  ------------------
 5029|      0|    case EOpConstructFloatUE8M0Vec4:
  ------------------
  |  Branch (5029:5): [True: 0, False: 761]
  ------------------
 5030|      0|    case EOpConstructFloatMXINT8:
  ------------------
  |  Branch (5030:5): [True: 0, False: 761]
  ------------------
 5031|      0|    case EOpConstructFloatMXINT8Vec2:
  ------------------
  |  Branch (5031:5): [True: 0, False: 761]
  ------------------
 5032|      0|    case EOpConstructFloatMXINT8Vec3:
  ------------------
  |  Branch (5032:5): [True: 0, False: 761]
  ------------------
 5033|      0|    case EOpConstructFloatMXINT8Vec4:
  ------------------
  |  Branch (5033:5): [True: 0, False: 761]
  ------------------
 5034|      0|        if (!constType || specConstType) {
  ------------------
  |  Branch (5034:13): [True: 0, False: 0]
  |  Branch (5034:27): [True: 0, False: 0]
  ------------------
 5035|      0|            for (int i = 0; i < function.getParamCount(); ++i) {
  ------------------
  |  Branch (5035:29): [True: 0, False: 0]
  ------------------
 5036|      0|                TIntermNode* arg = function.getParamCount() == 1 ? node : node->getAsAggregate()->getSequence()[i];
  ------------------
  |  Branch (5036:36): [True: 0, False: 0]
  ------------------
 5037|      0|                if (arg->getAsTyped()->getBasicType() != type.getBasicType()) {
  ------------------
  |  Branch (5037:21): [True: 0, False: 0]
  ------------------
 5038|      0|                    error(loc, "constructor argument must be a non-spec constant", constructorString.c_str(), "");
 5039|      0|                    return true;
 5040|      0|                }
 5041|      0|            }
 5042|      0|        }
 5043|      0|        break;
 5044|    761|    default:
  ------------------
  |  Branch (5044:5): [True: 761, False: 0]
  ------------------
 5045|    761|        break;
 5046|    761|    }
 5047|       |
 5048|       |    // inherit constness from children
 5049|    761|    if (constType) {
  ------------------
  |  Branch (5049:9): [True: 323, False: 438]
  ------------------
 5050|    323|        bool makeSpecConst;
 5051|       |        // Finish pinning down spec-const semantics
 5052|    323|        if (specConstType) {
  ------------------
  |  Branch (5052:13): [True: 0, False: 323]
  ------------------
 5053|      0|            switch (op) {
 5054|      0|            case EOpConstructInt8:
  ------------------
  |  Branch (5054:13): [True: 0, False: 0]
  ------------------
 5055|      0|            case EOpConstructInt:
  ------------------
  |  Branch (5055:13): [True: 0, False: 0]
  ------------------
 5056|      0|            case EOpConstructUint:
  ------------------
  |  Branch (5056:13): [True: 0, False: 0]
  ------------------
 5057|      0|            case EOpConstructBool:
  ------------------
  |  Branch (5057:13): [True: 0, False: 0]
  ------------------
 5058|      0|            case EOpConstructBVec2:
  ------------------
  |  Branch (5058:13): [True: 0, False: 0]
  ------------------
 5059|      0|            case EOpConstructBVec3:
  ------------------
  |  Branch (5059:13): [True: 0, False: 0]
  ------------------
 5060|      0|            case EOpConstructBVec4:
  ------------------
  |  Branch (5060:13): [True: 0, False: 0]
  ------------------
 5061|      0|            case EOpConstructIVec2:
  ------------------
  |  Branch (5061:13): [True: 0, False: 0]
  ------------------
 5062|      0|            case EOpConstructIVec3:
  ------------------
  |  Branch (5062:13): [True: 0, False: 0]
  ------------------
 5063|      0|            case EOpConstructIVec4:
  ------------------
  |  Branch (5063:13): [True: 0, False: 0]
  ------------------
 5064|      0|            case EOpConstructUVec2:
  ------------------
  |  Branch (5064:13): [True: 0, False: 0]
  ------------------
 5065|      0|            case EOpConstructUVec3:
  ------------------
  |  Branch (5065:13): [True: 0, False: 0]
  ------------------
 5066|      0|            case EOpConstructUVec4:
  ------------------
  |  Branch (5066:13): [True: 0, False: 0]
  ------------------
 5067|      0|            case EOpConstructUint8:
  ------------------
  |  Branch (5067:13): [True: 0, False: 0]
  ------------------
 5068|      0|            case EOpConstructInt16:
  ------------------
  |  Branch (5068:13): [True: 0, False: 0]
  ------------------
 5069|      0|            case EOpConstructUint16:
  ------------------
  |  Branch (5069:13): [True: 0, False: 0]
  ------------------
 5070|      0|            case EOpConstructInt64:
  ------------------
  |  Branch (5070:13): [True: 0, False: 0]
  ------------------
 5071|      0|            case EOpConstructUint64:
  ------------------
  |  Branch (5071:13): [True: 0, False: 0]
  ------------------
 5072|      0|            case EOpConstructI8Vec2:
  ------------------
  |  Branch (5072:13): [True: 0, False: 0]
  ------------------
 5073|      0|            case EOpConstructI8Vec3:
  ------------------
  |  Branch (5073:13): [True: 0, False: 0]
  ------------------
 5074|      0|            case EOpConstructI8Vec4:
  ------------------
  |  Branch (5074:13): [True: 0, False: 0]
  ------------------
 5075|      0|            case EOpConstructU8Vec2:
  ------------------
  |  Branch (5075:13): [True: 0, False: 0]
  ------------------
 5076|      0|            case EOpConstructU8Vec3:
  ------------------
  |  Branch (5076:13): [True: 0, False: 0]
  ------------------
 5077|      0|            case EOpConstructU8Vec4:
  ------------------
  |  Branch (5077:13): [True: 0, False: 0]
  ------------------
 5078|      0|            case EOpConstructI16Vec2:
  ------------------
  |  Branch (5078:13): [True: 0, False: 0]
  ------------------
 5079|      0|            case EOpConstructI16Vec3:
  ------------------
  |  Branch (5079:13): [True: 0, False: 0]
  ------------------
 5080|      0|            case EOpConstructI16Vec4:
  ------------------
  |  Branch (5080:13): [True: 0, False: 0]
  ------------------
 5081|      0|            case EOpConstructU16Vec2:
  ------------------
  |  Branch (5081:13): [True: 0, False: 0]
  ------------------
 5082|      0|            case EOpConstructU16Vec3:
  ------------------
  |  Branch (5082:13): [True: 0, False: 0]
  ------------------
 5083|      0|            case EOpConstructU16Vec4:
  ------------------
  |  Branch (5083:13): [True: 0, False: 0]
  ------------------
 5084|      0|            case EOpConstructI64Vec2:
  ------------------
  |  Branch (5084:13): [True: 0, False: 0]
  ------------------
 5085|      0|            case EOpConstructI64Vec3:
  ------------------
  |  Branch (5085:13): [True: 0, False: 0]
  ------------------
 5086|      0|            case EOpConstructI64Vec4:
  ------------------
  |  Branch (5086:13): [True: 0, False: 0]
  ------------------
 5087|      0|            case EOpConstructU64Vec2:
  ------------------
  |  Branch (5087:13): [True: 0, False: 0]
  ------------------
 5088|      0|            case EOpConstructU64Vec3:
  ------------------
  |  Branch (5088:13): [True: 0, False: 0]
  ------------------
 5089|      0|            case EOpConstructU64Vec4:
  ------------------
  |  Branch (5089:13): [True: 0, False: 0]
  ------------------
 5090|       |                // This was the list of valid ones, if they aren't converting from float
 5091|       |                // and aren't making an array.
 5092|      0|                makeSpecConst = ! floatArgument && ! type.isArray();
  ------------------
  |  Branch (5092:33): [True: 0, False: 0]
  |  Branch (5092:52): [True: 0, False: 0]
  ------------------
 5093|      0|                break;
 5094|       |
 5095|      0|            case EOpConstructVec2:
  ------------------
  |  Branch (5095:13): [True: 0, False: 0]
  ------------------
 5096|      0|            case EOpConstructVec3:
  ------------------
  |  Branch (5096:13): [True: 0, False: 0]
  ------------------
 5097|      0|            case EOpConstructVec4:
  ------------------
  |  Branch (5097:13): [True: 0, False: 0]
  ------------------
 5098|       |                // This was the list of valid ones, if they aren't converting from int
 5099|       |                // and aren't making an array.
 5100|      0|                makeSpecConst = ! intArgument && !type.isArray();
  ------------------
  |  Branch (5100:33): [True: 0, False: 0]
  |  Branch (5100:50): [True: 0, False: 0]
  ------------------
 5101|      0|                break;
 5102|       |
 5103|      0|            case EOpConstructCooperativeMatrixNV:
  ------------------
  |  Branch (5103:13): [True: 0, False: 0]
  ------------------
 5104|      0|            case EOpConstructCooperativeMatrixKHR:
  ------------------
  |  Branch (5104:13): [True: 0, False: 0]
  ------------------
 5105|      0|            case EOpConstructStruct:
  ------------------
  |  Branch (5105:13): [True: 0, False: 0]
  ------------------
 5106|      0|                {
 5107|      0|                    const char *specConstantCompositeExt[] = { E_GL_EXT_spec_constant_composites };
 5108|      0|                    if (checkExtensionsRequested(loc, 1, specConstantCompositeExt, "spec constant aggregate constructor")) {
  ------------------
  |  Branch (5108:25): [True: 0, False: 0]
  ------------------
 5109|      0|                        makeSpecConst = true;
 5110|      0|                    } else {
 5111|      0|                        makeSpecConst = false;
 5112|      0|                    }
 5113|      0|                }
 5114|      0|                break;
 5115|       |
 5116|      0|            default:
  ------------------
  |  Branch (5116:13): [True: 0, False: 0]
  ------------------
 5117|       |                // anything else wasn't white-listed in the spec as a conversion
 5118|      0|                makeSpecConst = false;
 5119|      0|                break;
 5120|      0|            }
 5121|      0|        } else
 5122|    323|            makeSpecConst = false;
 5123|       |
 5124|    323|        if (makeSpecConst)
  ------------------
  |  Branch (5124:13): [True: 0, False: 323]
  ------------------
 5125|      0|            type.getQualifier().makeSpecConstant();
 5126|    323|        else if (specConstType)
  ------------------
  |  Branch (5126:18): [True: 0, False: 323]
  ------------------
 5127|      0|            type.getQualifier().makeTemporary();
 5128|    323|        else
 5129|    323|            type.getQualifier().storage = EvqConst;
 5130|    323|    }
 5131|       |
 5132|    761|    if (type.isArray()) {
  ------------------
  |  Branch (5132:9): [True: 3, False: 758]
  ------------------
 5133|      3|        if (function.getParamCount() == 0) {
  ------------------
  |  Branch (5133:13): [True: 0, False: 3]
  ------------------
 5134|      0|            error(loc, "array constructor must have at least one argument", constructorString.c_str(), "");
 5135|      0|            return true;
 5136|      0|        }
 5137|       |
 5138|      3|        if (type.isUnsizedArray()) {
  ------------------
  |  Branch (5138:13): [True: 0, False: 3]
  ------------------
 5139|       |            // auto adapt the constructor type to the number of arguments
 5140|      0|            type.changeOuterArraySize(function.getParamCount());
 5141|      3|        } else if (type.getOuterArraySize() != function.getParamCount()) {
  ------------------
  |  Branch (5141:20): [True: 0, False: 3]
  ------------------
 5142|      0|            error(loc, "array constructor needs one argument per array element", constructorString.c_str(), "");
 5143|      0|            return true;
 5144|      0|        }
 5145|       |
 5146|      3|        if (type.isArrayOfArrays()) {
  ------------------
  |  Branch (5146:13): [True: 0, False: 3]
  ------------------
 5147|       |            // Types have to match, but we're still making the type.
 5148|       |            // Finish making the type, and the comparison is done later
 5149|       |            // when checking for conversion.
 5150|      0|            TArraySizes& arraySizes = *type.getArraySizes();
 5151|       |
 5152|       |            // At least the dimensionalities have to match.
 5153|      0|            if (! function[0].type->isArray() ||
  ------------------
  |  Branch (5153:17): [True: 0, False: 0]
  ------------------
 5154|      0|                    arraySizes.getNumDims() != function[0].type->getArraySizes()->getNumDims() + 1) {
  ------------------
  |  Branch (5154:21): [True: 0, False: 0]
  ------------------
 5155|      0|                error(loc, "array constructor argument not correct type to construct array element", constructorString.c_str(), "");
 5156|      0|                return true;
 5157|      0|            }
 5158|       |
 5159|      0|            if (arraySizes.isInnerUnsized()) {
  ------------------
  |  Branch (5159:17): [True: 0, False: 0]
  ------------------
 5160|       |                // "Arrays of arrays ..., and the size for any dimension is optional"
 5161|       |                // That means we need to adopt (from the first argument) the other array sizes into the type.
 5162|      0|                for (int d = 1; d < arraySizes.getNumDims(); ++d) {
  ------------------
  |  Branch (5162:33): [True: 0, False: 0]
  ------------------
 5163|      0|                    if (arraySizes.getDimSize(d) == UnsizedArraySize) {
  ------------------
  |  Branch (5163:25): [True: 0, False: 0]
  ------------------
 5164|      0|                        arraySizes.setDimSize(d, function[0].type->getArraySizes()->getDimSize(d - 1));
 5165|      0|                    }
 5166|      0|                }
 5167|      0|            }
 5168|      0|        }
 5169|      3|    }
 5170|       |
 5171|    761|    if (arrayArg && op != EOpConstructStruct && ! type.isArrayOfArrays()) {
  ------------------
  |  Branch (5171:9): [True: 0, False: 761]
  |  Branch (5171:21): [True: 0, False: 0]
  |  Branch (5171:49): [True: 0, False: 0]
  ------------------
 5172|      0|        error(loc, "constructing non-array constituent from array argument", constructorString.c_str(), "");
 5173|      0|        return true;
 5174|      0|    }
 5175|       |
 5176|    761|    if (matrixInMatrix && ! type.isArray()) {
  ------------------
  |  Branch (5176:9): [True: 0, False: 761]
  |  Branch (5176:27): [True: 0, False: 0]
  ------------------
 5177|      0|        profileRequires(loc, ENoProfile, 120, nullptr, "constructing matrix from matrix");
 5178|       |
 5179|       |        // "If a matrix argument is given to a matrix constructor,
 5180|       |        // it is a compile-time error to have any other arguments."
 5181|      0|        if (function.getParamCount() != 1)
  ------------------
  |  Branch (5181:13): [True: 0, False: 0]
  ------------------
 5182|      0|            error(loc, "matrix constructed from matrix can only have one argument", constructorString.c_str(), "");
 5183|      0|        return false;
 5184|      0|    }
 5185|       |
 5186|    761|    if (overFull) {
  ------------------
  |  Branch (5186:9): [True: 0, False: 761]
  ------------------
 5187|      0|        error(loc, "too many arguments", constructorString.c_str(), "");
 5188|      0|        return true;
 5189|      0|    }
 5190|       |
 5191|    761|    if (op == EOpConstructStruct && ! type.isArray() && (int)type.getStruct()->size() != function.getParamCount()) {
  ------------------
  |  Branch (5191:9): [True: 0, False: 761]
  |  Branch (5191:37): [True: 0, False: 0]
  |  Branch (5191:57): [True: 0, False: 0]
  ------------------
 5192|      0|        error(loc, "Number of constructor parameters does not match the number of structure fields", constructorString.c_str(), "");
 5193|      0|        return true;
 5194|      0|    }
 5195|       |
 5196|    761|    if (type.isLongVector() && !isValidLongVectorElseError(loc, type)) {
  ------------------
  |  Branch (5196:9): [True: 0, False: 761]
  |  Branch (5196:32): [True: 0, False: 0]
  ------------------
 5197|      0|        return true;
 5198|      0|    }
 5199|       |
 5200|    761|    if ((op != EOpConstructStruct && size != 1 && size < type.computeNumComponents()) ||
  ------------------
  |  Branch (5200:10): [True: 761, False: 0]
  |  Branch (5200:38): [True: 326, False: 435]
  |  Branch (5200:51): [True: 0, False: 326]
  ------------------
 5201|    761|        (op == EOpConstructStruct && size < type.computeNumComponents())) {
  ------------------
  |  Branch (5201:10): [True: 0, False: 761]
  |  Branch (5201:38): [True: 0, False: 0]
  ------------------
 5202|      0|        error(loc, "not enough data provided for construction", constructorString.c_str(), "");
 5203|      0|        return true;
 5204|      0|    }
 5205|       |
 5206|    761|    if (type.isCoopMat() && function.getParamCount() != 1) {
  ------------------
  |  Branch (5206:9): [True: 0, False: 761]
  |  Branch (5206:29): [True: 0, False: 0]
  ------------------
 5207|      0|        error(loc, "wrong number of arguments", constructorString.c_str(), "");
 5208|      0|        return true;
 5209|      0|    }
 5210|    761|    if (type.isCoopMat() &&
  ------------------
  |  Branch (5210:9): [True: 0, False: 761]
  ------------------
 5211|      0|        !(function[0].type->isScalar() || function[0].type->isCoopMat())) {
  ------------------
  |  Branch (5211:11): [True: 0, False: 0]
  |  Branch (5211:43): [True: 0, False: 0]
  ------------------
 5212|      0|        error(loc, "Cooperative matrix constructor argument must be scalar or cooperative matrix", constructorString.c_str(), "");
 5213|      0|        return true;
 5214|      0|    }
 5215|       |
 5216|    761|    TIntermTyped* typed = node->getAsTyped();
 5217|    761|    if (typed == nullptr) {
  ------------------
  |  Branch (5217:9): [True: 0, False: 761]
  ------------------
 5218|      0|        error(loc, "constructor argument does not have a type", constructorString.c_str(), "");
 5219|      0|        return true;
 5220|      0|    }
 5221|       |
 5222|    761|    if (type.isCoopMat() && typed->getType().isCoopMat()) {
  ------------------
  |  Branch (5222:9): [True: 0, False: 761]
  |  Branch (5222:29): [True: 0, False: 0]
  ------------------
 5223|      0|        static constexpr int CM_UseA = 0;   // == gl_MatrixUseA
 5224|      0|        static constexpr int CM_UseB = 1;   // == gl_MatrixUseB
 5225|      0|        static constexpr int CM_UseAcc = 2; // == gl_MatrixUseAccumulator
 5226|       |
 5227|      0|        int dstUse = type.getCoopMatKHRuse();
 5228|      0|        int srcUse = typed->getType().getCoopMatKHRuse();
 5229|       |
 5230|      0|        if (extensionTurnedOn(E_GL_EXT_cooperative_matrix_maintenance1)) {
  ------------------
  |  Branch (5230:13): [True: 0, False: 0]
  ------------------
 5231|      0|            bool allowedConversion = srcUse == dstUse ||
  ------------------
  |  Branch (5231:38): [True: 0, False: 0]
  ------------------
 5232|      0|                                    (srcUse == CM_UseAcc && (dstUse == CM_UseA || dstUse == CM_UseB)) ||
  ------------------
  |  Branch (5232:38): [True: 0, False: 0]
  |  Branch (5232:62): [True: 0, False: 0]
  |  Branch (5232:83): [True: 0, False: 0]
  ------------------
 5233|      0|                                    (dstUse == CM_UseAcc && (srcUse == CM_UseA || srcUse == CM_UseB));
  ------------------
  |  Branch (5233:38): [True: 0, False: 0]
  |  Branch (5233:62): [True: 0, False: 0]
  |  Branch (5233:83): [True: 0, False: 0]
  ------------------
 5234|      0|            if (!type.sameCoopMatShape(typed->getType()) || !allowedConversion) {
  ------------------
  |  Branch (5234:17): [True: 0, False: 0]
  |  Branch (5234:61): [True: 0, False: 0]
  ------------------
 5235|      0|                error(loc, "Cooperative matrix type parameters mismatch", constructorString.c_str(), "");
 5236|      0|                return true;
 5237|      0|            }
 5238|      0|        } else if (extensionTurnedOn(E_GL_NV_cooperative_matrix2)) {
  ------------------
  |  Branch (5238:20): [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|            if (!type.sameCoopMatShape(typed->getType()) || !allowedConversion) {
  ------------------
  |  Branch (5241:17): [True: 0, False: 0]
  |  Branch (5241:61): [True: 0, False: 0]
  ------------------
 5242|      0|                error(loc, "Cooperative matrix type parameters mismatch", constructorString.c_str(), "");
 5243|      0|                return true;
 5244|      0|            }
 5245|      0|        } else {
 5246|      0|            if (!type.sameCoopMatShapeAndUse(typed->getType())) {
  ------------------
  |  Branch (5246:17): [True: 0, False: 0]
  ------------------
 5247|      0|                error(loc, "Cooperative matrix type parameters mismatch", constructorString.c_str(), "");
 5248|      0|                return true;
 5249|      0|            }
 5250|      0|        }
 5251|      0|    }
 5252|       |
 5253|    761|    if (op != EOpConstructStruct && op != EOpConstructNonuniform && typed->getBasicType() == EbtSampler) {
  ------------------
  |  Branch (5253:9): [True: 761, False: 0]
  |  Branch (5253:37): [True: 761, False: 0]
  |  Branch (5253:69): [True: 0, False: 761]
  ------------------
 5254|      0|        if (op == EOpConstructUVec2 && extensionTurnedOn(E_GL_ARB_bindless_texture)) {
  ------------------
  |  Branch (5254:13): [True: 0, False: 0]
  |  Branch (5254:40): [True: 0, False: 0]
  ------------------
 5255|      0|            intermediate.setBindlessTextureMode(currentCaller, AstRefTypeFunc);
 5256|      0|        }
 5257|      0|        else {
 5258|      0|            error(loc, "cannot convert a sampler", constructorString.c_str(), "");
 5259|      0|            return true;
 5260|      0|        }
 5261|      0|    }
 5262|    761|    if (op != EOpConstructStruct && typed->isAtomic()) {
  ------------------
  |  Branch (5262:9): [True: 761, False: 0]
  |  Branch (5262:37): [True: 0, False: 761]
  ------------------
 5263|      0|        error(loc, "cannot convert an atomic_uint", constructorString.c_str(), "");
 5264|      0|        return true;
 5265|      0|    }
 5266|    761|    if (typed->getBasicType() == EbtVoid) {
  ------------------
  |  Branch (5266:9): [True: 0, False: 761]
  ------------------
 5267|      0|        error(loc, "cannot convert a void", constructorString.c_str(), "");
 5268|      0|        return true;
 5269|      0|    }
 5270|       |
 5271|    761|    return false;
 5272|    761|}
_ZN7glslang13TParseContext30constructorTextureSamplerErrorERKNS_10TSourceLocERKNS_9TFunctionE:
 5277|     45|{
 5278|     45|    TString constructorName = function.getType().getBasicTypeString();  // TODO: performance: should not be making copy; interface needs to change
 5279|     45|    const char* token = constructorName.c_str();
 5280|       |    // verify the constructor for bindless texture, the input must be ivec2 or uvec2
 5281|     45|    if (function.getParamCount() == 1) {
  ------------------
  |  Branch (5281:9): [True: 0, False: 45]
  ------------------
 5282|      0|        TType* pType = function[0].type;
 5283|      0|        TBasicType basicType = pType->getBasicType();
 5284|      0|        bool isIntegerVec2 = ((basicType == EbtUint || basicType == EbtInt) && pType->getVectorSize() == 2);
  ------------------
  |  Branch (5284:32): [True: 0, False: 0]
  |  Branch (5284:56): [True: 0, False: 0]
  |  Branch (5284:80): [True: 0, False: 0]
  ------------------
 5285|      0|        bool bindlessMode = extensionTurnedOn(E_GL_ARB_bindless_texture);
 5286|      0|        if (isIntegerVec2 && bindlessMode) {
  ------------------
  |  Branch (5286:13): [True: 0, False: 0]
  |  Branch (5286:30): [True: 0, False: 0]
  ------------------
 5287|      0|            if (pType->getSampler().isImage())
  ------------------
  |  Branch (5287:17): [True: 0, False: 0]
  ------------------
 5288|      0|                intermediate.setBindlessImageMode(currentCaller, AstRefTypeFunc);
 5289|      0|            else
 5290|      0|                intermediate.setBindlessTextureMode(currentCaller, AstRefTypeFunc);
 5291|      0|            return false;
 5292|      0|        } else {
 5293|      0|            if (!bindlessMode)
  ------------------
  |  Branch (5293:17): [True: 0, False: 0]
  ------------------
 5294|      0|                error(loc, "sampler-constructor requires the extension GL_ARB_bindless_texture enabled", token, "");
 5295|      0|            else
 5296|      0|                error(loc, "sampler-constructor requires the input to be ivec2 or uvec2", token, "");
 5297|      0|            return true;
 5298|      0|        }
 5299|      0|    }
 5300|       |
 5301|       |    // exactly two arguments needed
 5302|     45|    if (function.getParamCount() != 2) {
  ------------------
  |  Branch (5302:9): [True: 0, False: 45]
  ------------------
 5303|      0|        error(loc, "sampler-constructor requires two arguments", token, "");
 5304|      0|        return true;
 5305|      0|    }
 5306|       |
 5307|       |    // For now, not allowing arrayed constructors, the rest of this function
 5308|       |    // is set up to allow them, if this test is removed:
 5309|     45|    if (function.getType().isArray()) {
  ------------------
  |  Branch (5309:9): [True: 0, False: 45]
  ------------------
 5310|      0|        error(loc, "sampler-constructor cannot make an array of samplers", token, "");
 5311|      0|        return true;
 5312|      0|    }
 5313|       |
 5314|       |    // first argument
 5315|       |    //  * the constructor's first argument must be a texture type
 5316|       |    //  * the dimensionality (1D, 2D, 3D, Cube, Rect, Buffer, MS, and Array)
 5317|       |    //    of the texture type must match that of the constructed sampler type
 5318|       |    //    (that is, the suffixes of the type of the first argument and the
 5319|       |    //    type of the constructor will be spelled the same way)
 5320|     45|    if (function[0].type->getBasicType() != EbtSampler ||
  ------------------
  |  Branch (5320:9): [True: 0, False: 45]
  ------------------
 5321|     45|        ! function[0].type->getSampler().isTexture() ||
  ------------------
  |  Branch (5321:9): [True: 0, False: 45]
  ------------------
 5322|     45|        function[0].type->isArray()) {
  ------------------
  |  Branch (5322:9): [True: 0, False: 45]
  ------------------
 5323|      0|        error(loc, "sampler-constructor first argument must be a scalar *texture* type", token, "");
 5324|      0|        return true;
 5325|      0|    }
 5326|       |
 5327|       |    // simulate the first argument's impact on the result type, so it can be compared with the encapsulated operator!=()
 5328|     45|    TSampler texture = function.getType().getSampler();
 5329|     45|    texture.setCombined(false);
 5330|     45|    texture.shadow = false;
 5331|     45|    if (function[0].type->getSampler().isTileAttachmentQCOM()) {
  ------------------
  |  Branch (5331:9): [True: 0, False: 45]
  ------------------
 5332|       |      //TSampler& texture = const_cast<TFunction&>(function).getWritableType().getSampler();
 5333|      0|      texture.image = true;
 5334|      0|      texture.tileQCOM = true;
 5335|      0|    }
 5336|     45|    if (texture != function[0].type->getSampler()) {
  ------------------
  |  Branch (5336:9): [True: 0, False: 45]
  ------------------
 5337|      0|        error(loc, "sampler-constructor first argument must be a *texture* type"
 5338|      0|                   " matching the dimensionality and sampled type of the constructor", token, "");
 5339|      0|        return true;
 5340|      0|    }
 5341|       |
 5342|       |    // second argument
 5343|       |    //   * the constructor's second argument must be a scalar of type
 5344|       |    //     *sampler* or *samplerShadow*
 5345|     45|    if (  function[1].type->getBasicType() != EbtSampler ||
  ------------------
  |  Branch (5345:11): [True: 0, False: 45]
  ------------------
 5346|     45|        ! function[1].type->getSampler().isPureSampler() ||
  ------------------
  |  Branch (5346:9): [True: 0, False: 45]
  ------------------
 5347|     45|          function[1].type->isArray()) {
  ------------------
  |  Branch (5347:11): [True: 0, False: 45]
  ------------------
 5348|      0|        error(loc, "sampler-constructor second argument must be a scalar sampler or samplerShadow", token, "");
 5349|      0|        return true;
 5350|      0|    }
 5351|       |
 5352|     45|    return false;
 5353|     45|}
_ZN7glslang13TParseContext14voidErrorCheckERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEENS_10TBasicTypeE:
 5360|  16.1k|{
 5361|  16.1k|    if (basicType == EbtVoid) {
  ------------------
  |  Branch (5361:9): [True: 0, False: 16.1k]
  ------------------
 5362|      0|        error(loc, "illegal use of type 'void'", identifier.c_str(), "");
 5363|      0|        return true;
 5364|      0|    }
 5365|       |
 5366|  16.1k|    return false;
 5367|  16.1k|}
_ZN7glslang13TParseContext12samplerCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEEPNS_12TIntermTypedE:
 5384|  15.5k|{
 5385|       |    // Check that the appropriate extension is enabled if external sampler is used.
 5386|       |    // There are two extensions. The correct one must be used based on GLSL version.
 5387|  15.5k|    if (type.getBasicType() == EbtSampler && type.getSampler().isExternal()) {
  ------------------
  |  Branch (5387:9): [True: 264, False: 15.2k]
  |  Branch (5387:46): [True: 0, False: 264]
  ------------------
 5388|      0|        if (version < 300) {
  ------------------
  |  Branch (5388:13): [True: 0, False: 0]
  ------------------
 5389|      0|            requireExtensions(loc, 1, &E_GL_OES_EGL_image_external, "samplerExternalOES");
 5390|      0|        } else {
 5391|      0|            requireExtensions(loc, 1, &E_GL_OES_EGL_image_external_essl3, "samplerExternalOES");
 5392|      0|        }
 5393|      0|    }
 5394|  15.5k|    if (type.getSampler().isYuv()) {
  ------------------
  |  Branch (5394:9): [True: 0, False: 15.5k]
  ------------------
 5395|      0|        requireExtensions(loc, 1, &E_GL_EXT_YUV_target, "__samplerExternal2DY2YEXT");
 5396|      0|    }
 5397|       |
 5398|  15.5k|    if (type.getQualifier().storage == EvqUniform)
  ------------------
  |  Branch (5398:9): [True: 412, False: 15.1k]
  ------------------
 5399|    412|        return;
 5400|       |
 5401|  15.1k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtSampler)) {
  ------------------
  |  Branch (5401:9): [True: 0, False: 15.1k]
  |  Branch (5401:45): [True: 0, False: 0]
  ------------------
 5402|       |        // For bindless texture, sampler can be declared as an struct member
 5403|      0|        if (extensionTurnedOn(E_GL_ARB_bindless_texture)) {
  ------------------
  |  Branch (5403:13): [True: 0, False: 0]
  ------------------
 5404|      0|            if (type.getSampler().isImage())
  ------------------
  |  Branch (5404:17): [True: 0, False: 0]
  ------------------
 5405|      0|                intermediate.setBindlessImageMode(currentCaller, AstRefTypeVar);
 5406|      0|            else
 5407|      0|                intermediate.setBindlessTextureMode(currentCaller, AstRefTypeVar);
 5408|      0|        }
 5409|      0|        else {
 5410|      0|            error(loc, "non-uniform struct contains a sampler or image:", type.getBasicTypeString().c_str(), identifier.c_str());
 5411|      0|        }
 5412|      0|    }
 5413|  15.1k|    else if (type.getBasicType() == EbtSampler && type.getQualifier().storage != EvqUniform) {
  ------------------
  |  Branch (5413:14): [True: 0, False: 15.1k]
  |  Branch (5413:51): [True: 0, False: 0]
  ------------------
 5414|       |        // For bindless texture, sampler can be declared as an input/output/block member
 5415|      0|        if (extensionTurnedOn(E_GL_ARB_bindless_texture)) {
  ------------------
  |  Branch (5415:13): [True: 0, False: 0]
  ------------------
 5416|      0|            if (type.getSampler().isImage())
  ------------------
  |  Branch (5416:17): [True: 0, False: 0]
  ------------------
 5417|      0|                intermediate.setBindlessImageMode(currentCaller, AstRefTypeVar);
 5418|      0|            else
 5419|      0|                intermediate.setBindlessTextureMode(currentCaller, AstRefTypeVar);
 5420|      0|        }
 5421|      0|        else {
 5422|       |            // non-uniform sampler
 5423|       |            // not yet:  okay if it has an initializer
 5424|       |            // if (! initializer)
 5425|      0|            if (type.getSampler().isAttachmentEXT() && type.getQualifier().storage != EvqTileImageEXT)
  ------------------
  |  Branch (5425:17): [True: 0, False: 0]
  |  Branch (5425:56): [True: 0, False: 0]
  ------------------
 5426|      0|                 error(loc, "can only be used in tileImageEXT variables or function parameters:", type.getBasicTypeString().c_str(), identifier.c_str());
 5427|      0|            else if (type.getQualifier().storage != EvqTileImageEXT)
  ------------------
  |  Branch (5427:22): [True: 0, False: 0]
  ------------------
 5428|      0|                 error(loc, "sampler/image types can only be used in uniform variables or function parameters:", type.getBasicTypeString().c_str(), identifier.c_str());
 5429|      0|        }
 5430|      0|    }
 5431|  15.1k|    else if (type.isTensorARM() && type.getQualifier().storage != EvqUniform) {
  ------------------
  |  Branch (5431:14): [True: 0, False: 15.1k]
  |  Branch (5431:36): [True: 0, False: 0]
  ------------------
 5432|      0|        error(loc, "tensorARM types can only be used in uniform variables or function parameters:", "tensorARM", identifier.c_str());
 5433|      0|    }
 5434|  15.1k|}
_ZN7glslang13TParseContext15atomicUintCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5437|  15.5k|{
 5438|  15.5k|    if (type.getQualifier().storage == EvqUniform)
  ------------------
  |  Branch (5438:9): [True: 412, False: 15.1k]
  ------------------
 5439|    412|        return;
 5440|       |
 5441|  15.1k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtAtomicUint))
  ------------------
  |  Branch (5441:9): [True: 0, False: 15.1k]
  |  Branch (5441:45): [True: 0, False: 0]
  ------------------
 5442|      0|        error(loc, "non-uniform struct contains an atomic_uint:", type.getBasicTypeString().c_str(), identifier.c_str());
 5443|  15.1k|    else if (type.getBasicType() == EbtAtomicUint && type.getQualifier().storage != EvqUniform)
  ------------------
  |  Branch (5443:14): [True: 0, False: 15.1k]
  |  Branch (5443:54): [True: 0, False: 0]
  ------------------
 5444|      0|        error(loc, "atomic_uints can only be used in uniform variables or function parameters:", type.getBasicTypeString().c_str(), identifier.c_str());
 5445|  15.1k|}
_ZN7glslang13TParseContext14accStructCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5448|  15.5k|{
 5449|  15.5k|    if (type.getQualifier().storage == EvqUniform)
  ------------------
  |  Branch (5449:9): [True: 412, False: 15.1k]
  ------------------
 5450|    412|        return;
 5451|       |
 5452|  15.1k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtAccStruct))
  ------------------
  |  Branch (5452:9): [True: 0, False: 15.1k]
  |  Branch (5452:45): [True: 0, False: 0]
  ------------------
 5453|      0|        error(loc, "non-uniform struct contains an accelerationStructureNV:", type.getBasicTypeString().c_str(), identifier.c_str());
 5454|  15.1k|    else if (type.getBasicType() == EbtAccStruct && type.getQualifier().storage != EvqUniform)
  ------------------
  |  Branch (5454:14): [True: 0, False: 15.1k]
  |  Branch (5454:53): [True: 0, False: 0]
  ------------------
 5455|      0|        error(loc, "accelerationStructureNV can only be used in uniform variables or function parameters:",
 5456|      0|            type.getBasicTypeString().c_str(), identifier.c_str());
 5457|       |
 5458|  15.1k|}
_ZN7glslang13TParseContext17hitObjectEXTCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5461|  15.5k|{
 5462|  15.5k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtHitObjectEXT)) {
  ------------------
  |  Branch (5462:9): [True: 0, False: 15.5k]
  |  Branch (5462:45): [True: 0, False: 0]
  ------------------
 5463|      0|        error(loc, "struct is not allowed to contain hitObjectEXT:", type.getTypeName().c_str(), identifier.c_str());
 5464|  15.5k|    } else if (type.getBasicType() == EbtHitObjectEXT) {
  ------------------
  |  Branch (5464:16): [True: 0, False: 15.5k]
  ------------------
 5465|      0|        TStorageQualifier qualifier = type.getQualifier().storage;
 5466|      0|        if (qualifier != EvqGlobal && qualifier != EvqTemporary) {
  ------------------
  |  Branch (5466:13): [True: 0, False: 0]
  |  Branch (5466:39): [True: 0, False: 0]
  ------------------
 5467|      0|            error(loc, "hitObjectEXT can only be declared in global or function scope with no storage qualifier:", "hitObjectEXT", identifier.c_str());
 5468|      0|        }
 5469|      0|    }
 5470|  15.5k|}
_ZN7glslang13TParseContext16hitObjectNVCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5472|  15.5k|{
 5473|  15.5k|    if (type.getBasicType() == EbtStruct && ( containsFieldWithBasicType(type, EbtHitObjectNV))) {
  ------------------
  |  Branch (5473:9): [True: 0, False: 15.5k]
  |  Branch (5473:45): [True: 0, False: 0]
  ------------------
 5474|      0|        error(loc, "struct is not allowed to contain hitObjectNV:", type.getTypeName().c_str(), identifier.c_str());
 5475|  15.5k|    } else if ((type.getBasicType() == EbtHitObjectNV)) {
  ------------------
  |  Branch (5475:16): [True: 0, False: 15.5k]
  ------------------
 5476|      0|        TStorageQualifier qualifier = type.getQualifier().storage;
 5477|      0|        if (qualifier != EvqGlobal && qualifier != EvqTemporary) {
  ------------------
  |  Branch (5477:13): [True: 0, False: 0]
  |  Branch (5477:39): [True: 0, False: 0]
  ------------------
 5478|      0|            error(loc, "hitObjectNV can only be declared in global or function scope with no storage qualifier:", "hitObjectNV", identifier.c_str());
 5479|      0|        }
 5480|      0|    }
 5481|  15.5k|}
_ZN7glslang13TParseContext22transparentOpaqueCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5484|  15.5k|{
 5485|  15.5k|    if (parsingBuiltins)
  ------------------
  |  Branch (5485:9): [True: 14.9k, False: 600]
  ------------------
 5486|  14.9k|        return;
 5487|       |
 5488|    600|    if (type.getQualifier().storage != EvqUniform)
  ------------------
  |  Branch (5488:9): [True: 336, False: 264]
  ------------------
 5489|    336|        return;
 5490|       |
 5491|    264|    if (type.containsNonOpaque()) {
  ------------------
  |  Branch (5491:9): [True: 0, False: 264]
  ------------------
 5492|       |        // Vulkan doesn't allow transparent uniforms outside of blocks
 5493|      0|        if (spvVersion.vulkan > 0 && !spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (5493:13): [True: 0, False: 0]
  |  Branch (5493:38): [True: 0, False: 0]
  ------------------
 5494|      0|            vulkanRemoved(loc, "non-opaque uniforms outside a block");
 5495|       |        // OpenGL wants locations on these (unless they are getting automapped)
 5496|      0|        if (spvVersion.openGl > 0 && !type.getQualifier().hasLocation() && !intermediate.getAutoMapLocations())
  ------------------
  |  Branch (5496:13): [True: 0, False: 0]
  |  Branch (5496:38): [True: 0, False: 0]
  |  Branch (5496:76): [True: 0, False: 0]
  ------------------
 5497|      0|            error(loc, "non-opaque uniform variables need a layout(location=L)", identifier.c_str(), "");
 5498|      0|    }
 5499|    264|}
_ZN7glslang13TParseContext20memberQualifierCheckERNS_11TPublicTypeE:
 5505|     37|{
 5506|     37|    globalQualifierFixCheck(publicType.loc, publicType.qualifier, true);
 5507|     37|    checkNoShaderLayouts(publicType.loc, publicType.shaderQualifiers);
 5508|     37|    if (publicType.qualifier.isNonUniform()) {
  ------------------
  |  Branch (5508:9): [True: 0, False: 37]
  ------------------
 5509|      0|        error(publicType.loc, "not allowed on block or structure members", "nonuniformEXT", "");
 5510|      0|        publicType.qualifier.nonUniform = false;
 5511|      0|    }
 5512|     37|    if (publicType.qualifier.isPatch()) {
  ------------------
  |  Branch (5512:9): [True: 0, False: 37]
  ------------------
 5513|      0|        error(publicType.loc, "not allowed on block or structure members",
 5514|      0|              "patch", "");
 5515|      0|    }
 5516|     37|}
_ZN7glslang13TParseContext23globalQualifierFixCheckERKNS_10TSourceLocERNS_10TQualifierEbPKNS_11TPublicTypeE:
 5522|  58.2k|{
 5523|  58.2k|    bool nonuniformOkay = false;
 5524|       |
 5525|       |    // move from parameter/unknown qualifiers to pipeline in/out qualifiers
 5526|  58.2k|    switch (qualifier.storage) {
 5527|  8.83k|    case EvqIn:
  ------------------
  |  Branch (5527:5): [True: 8.83k, False: 49.4k]
  ------------------
 5528|  8.83k|        profileRequires(loc, ENoProfile, 130, nullptr, "in for stage inputs");
 5529|  8.83k|        profileRequires(loc, EEsProfile, 300, nullptr, "in for stage inputs");
 5530|  8.83k|        qualifier.storage = EvqVaryingIn;
 5531|  8.83k|        nonuniformOkay = true;
 5532|  8.83k|        break;
 5533|    734|    case EvqOut:
  ------------------
  |  Branch (5533:5): [True: 734, False: 57.5k]
  ------------------
 5534|    734|        profileRequires(loc, ENoProfile, 130, nullptr, "out for stage outputs");
 5535|    734|        profileRequires(loc, EEsProfile, 300, nullptr, "out for stage outputs");
 5536|    734|        qualifier.storage = EvqVaryingOut;
 5537|    734|        if (intermediate.isInvariantAll())
  ------------------
  |  Branch (5537:13): [True: 0, False: 734]
  ------------------
 5538|      0|            qualifier.invariant = true;
 5539|    734|        break;
 5540|      0|    case EvqInOut:
  ------------------
  |  Branch (5540:5): [True: 0, False: 58.2k]
  ------------------
 5541|      0|        qualifier.storage = EvqVaryingIn;
 5542|      0|        error(loc, "cannot use 'inout' at global scope", "", "");
 5543|      0|        break;
 5544|  43.1k|    case EvqGlobal:
  ------------------
  |  Branch (5544:5): [True: 43.1k, False: 15.1k]
  ------------------
 5545|  43.1k|    case EvqTemporary:
  ------------------
  |  Branch (5545:5): [True: 37, False: 58.2k]
  ------------------
 5546|  43.1k|        nonuniformOkay = true;
 5547|  43.1k|        break;
 5548|    412|    case EvqUniform:
  ------------------
  |  Branch (5548:5): [True: 412, False: 57.8k]
  ------------------
 5549|       |        // According to GLSL spec: The std430 qualifier is supported only for shader storage blocks; a shader using
 5550|       |        // the std430 qualifier on a uniform block will fail to compile.
 5551|       |        // Only check the global declaration: layout(std430) uniform;
 5552|    412|        if (blockName == nullptr &&
  ------------------
  |  Branch (5552:13): [True: 369, False: 43]
  ------------------
 5553|    369|            qualifier.layoutPacking == ElpStd430)
  ------------------
  |  Branch (5553:13): [True: 0, False: 369]
  ------------------
 5554|      0|        {
 5555|      0|            requireExtensions(loc, 1, &E_GL_EXT_scalar_block_layout, "default std430 layout for uniform");
 5556|      0|        }
 5557|       |
 5558|    412|        if (publicType != nullptr && publicType->isImage() &&
  ------------------
  |  Branch (5558:13): [True: 412, False: 0]
  |  Branch (5558:38): [True: 66, False: 346]
  ------------------
 5559|     66|            (qualifier.layoutFormat > ElfExtSizeGuard && qualifier.layoutFormat < ElfCount))
  ------------------
  |  Branch (5559:14): [True: 0, False: 66]
  |  Branch (5559:58): [True: 0, False: 0]
  ------------------
 5560|      0|            qualifier.layoutFormat = mapLegacyLayoutFormat(qualifier.layoutFormat, publicType->sampler.getBasicType());
 5561|       |
 5562|    412|        break;
 5563|  5.13k|    default:
  ------------------
  |  Branch (5563:5): [True: 5.13k, False: 53.1k]
  ------------------
 5564|  5.13k|        break;
 5565|  58.2k|    }
 5566|       |
 5567|  58.2k|    if (!nonuniformOkay && qualifier.isNonUniform())
  ------------------
  |  Branch (5567:9): [True: 6.27k, False: 52.0k]
  |  Branch (5567:28): [True: 0, False: 6.27k]
  ------------------
 5568|      0|        error(loc, "for non-parameter, can only apply to 'in' or no storage qualifier", "nonuniformEXT", "");
 5569|       |
 5570|  58.2k|    if (qualifier.isSpirvByReference())
  ------------------
  |  Branch (5570:9): [True: 0, False: 58.2k]
  ------------------
 5571|      0|        error(loc, "can only apply to parameter", "spirv_by_reference", "");
 5572|       |
 5573|  58.2k|    if (qualifier.isSpirvLiteral())
  ------------------
  |  Branch (5573:9): [True: 0, False: 58.2k]
  ------------------
 5574|      0|        error(loc, "can only apply to parameter", "spirv_literal", "");
 5575|       |
 5576|       |    // Storage qualifier isn't ready for memberQualifierCheck, we should skip invariantCheck for it.
 5577|  58.2k|    if (!isMemberCheck || structNestingLevel > 0)
  ------------------
  |  Branch (5577:9): [True: 58.2k, False: 37]
  |  Branch (5577:27): [True: 0, False: 37]
  ------------------
 5578|  58.2k|        invariantCheck(loc, qualifier);
 5579|       |
 5580|  58.2k|    if (qualifier.isFullQuads()) {
  ------------------
  |  Branch (5580:9): [True: 0, False: 58.2k]
  ------------------
 5581|      0|        if (qualifier.storage != EvqVaryingIn)
  ------------------
  |  Branch (5581:13): [True: 0, False: 0]
  ------------------
 5582|      0|            error(loc, "can only apply to input layout", "full_quads ", "");
 5583|      0|        intermediate.setReqFullQuadsMode();
 5584|      0|    }
 5585|       |
 5586|  58.2k|    if (qualifier.isQuadDeriv()) {
  ------------------
  |  Branch (5586:9): [True: 0, False: 58.2k]
  ------------------
 5587|      0|        if (qualifier.storage != EvqVaryingIn)
  ------------------
  |  Branch (5587:13): [True: 0, False: 0]
  ------------------
 5588|      0|            error(loc, "can only apply to input layout", "quad_derivatives", "");
 5589|      0|        intermediate.setQuadDerivMode();
 5590|      0|    }
 5591|  58.2k|}
_ZN7glslang13TParseContext24globalQualifierTypeCheckERKNS_10TSourceLocERKNS_10TQualifierERKNS_11TPublicTypeE:
 5597|   563k|{
 5598|   563k|    if (! symbolTable.atGlobalLevel())
  ------------------
  |  Branch (5598:9): [True: 240, False: 563k]
  ------------------
 5599|    240|        return;
 5600|       |
 5601|   563k|    if (!(publicType.userDef && publicType.userDef->isReference()) && !publicType.isTensorARM() && !parsingBuiltins) {
  ------------------
  |  Branch (5601:11): [True: 10, False: 563k]
  |  Branch (5601:33): [True: 0, False: 10]
  |  Branch (5601:71): [True: 563k, False: 0]
  |  Branch (5601:100): [True: 609, False: 562k]
  ------------------
 5602|    609|        if (qualifier.isMemoryQualifierImageAndSSBOOnly() && ! publicType.isImage() && publicType.qualifier.storage != EvqBuffer) {
  ------------------
  |  Branch (5602:13): [True: 0, False: 609]
  |  Branch (5602:62): [True: 0, False: 0]
  |  Branch (5602:88): [True: 0, False: 0]
  ------------------
 5603|      0|            error(loc, "memory qualifiers cannot be used on this type", "", "");
 5604|    609|        } else if (qualifier.isMemory() && (publicType.basicType != EbtSampler) && !publicType.qualifier.isUniformOrBuffer()) {
  ------------------
  |  Branch (5604:20): [True: 0, False: 609]
  |  Branch (5604:44): [True: 0, False: 0]
  |  Branch (5604:84): [True: 0, False: 0]
  ------------------
 5605|      0|            error(loc, "memory qualifiers cannot be used on this type", "", "");
 5606|      0|        }
 5607|    609|    }
 5608|       |
 5609|   563k|    if (qualifier.storage == EvqBuffer &&
  ------------------
  |  Branch (5609:9): [True: 0, False: 563k]
  ------------------
 5610|      0|        publicType.basicType != EbtBlock &&
  ------------------
  |  Branch (5610:9): [True: 0, False: 0]
  ------------------
 5611|      0|        !qualifier.hasBufferReference() &&
  ------------------
  |  Branch (5611:9): [True: 0, False: 0]
  ------------------
 5612|      0|        !qualifier.isBufferType())
  ------------------
  |  Branch (5612:9): [True: 0, False: 0]
  ------------------
 5613|      0|        error(loc, "buffers can be declared only as blocks", "buffer", "");
 5614|       |
 5615|   563k|    if (qualifier.storage != EvqVaryingIn && publicType.basicType == EbtDouble &&
  ------------------
  |  Branch (5615:9): [True: 554k, False: 8.81k]
  |  Branch (5615:46): [True: 5.36k, False: 549k]
  ------------------
 5616|  5.36k|        extensionTurnedOn(E_GL_ARB_vertex_attrib_64bit) && language == EShLangVertex &&
  ------------------
  |  Branch (5616:9): [True: 0, False: 5.36k]
  |  Branch (5616:60): [True: 0, False: 0]
  ------------------
 5617|      0|        version < 400) {
  ------------------
  |  Branch (5617:9): [True: 0, False: 0]
  ------------------
 5618|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 410, E_GL_ARB_gpu_shader_fp64, "vertex-shader `double` type");
 5619|      0|    }
 5620|   563k|    if (qualifier.storage != EvqVaryingIn && qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (5620:9): [True: 554k, False: 8.81k]
  |  Branch (5620:46): [True: 553k, False: 656]
  ------------------
 5621|   553k|        return;
 5622|       |
 5623|  9.46k|    if (publicType.shaderQualifiers.hasBlendEquation())
  ------------------
  |  Branch (5623:9): [True: 0, False: 9.46k]
  ------------------
 5624|      0|        error(loc, "can only be applied to a standalone 'out'", "blend equation", "");
 5625|       |
 5626|       |    // now, knowing it is a shader in/out, do all the in/out semantic checks
 5627|       |
 5628|  9.46k|    if (isTypeInt(publicType.basicType) || publicType.basicType == EbtDouble) {
  ------------------
  |  Branch (5628:9): [True: 8.79k, False: 678]
  |  Branch (5628:44): [True: 0, False: 678]
  ------------------
 5629|  8.79k|        profileRequires(loc, EEsProfile, 300, nullptr, "non-float shader input/output");
 5630|  8.79k|        profileRequires(loc, ~EEsProfile, 130, nullptr, "non-float shader input/output");
 5631|  8.79k|    }
 5632|       |
 5633|  9.46k|    if (!qualifier.flat && !qualifier.isExplicitInterpolation() && !qualifier.isPervertexNV() && !qualifier.isPervertexEXT()) {
  ------------------
  |  Branch (5633:9): [True: 7.09k, False: 2.37k]
  |  Branch (5633:28): [True: 7.09k, False: 0]
  |  Branch (5633:68): [True: 7.09k, False: 0]
  |  Branch (5633:98): [True: 7.09k, False: 0]
  ------------------
 5634|  7.09k|        if (isTypeInt(publicType.basicType) ||
  ------------------
  |  Branch (5634:13): [True: 6.41k, False: 678]
  ------------------
 5635|    678|            publicType.basicType == EbtDouble ||
  ------------------
  |  Branch (5635:13): [True: 0, False: 678]
  ------------------
 5636|    678|            (publicType.userDef && (   publicType.userDef->containsBasicType(EbtInt)
  ------------------
  |  Branch (5636:14): [True: 0, False: 678]
  |  Branch (5636:40): [True: 0, False: 0]
  ------------------
 5637|      0|                                    || publicType.userDef->containsBasicType(EbtUint)
  ------------------
  |  Branch (5637:40): [True: 0, False: 0]
  ------------------
 5638|      0|                                    || publicType.userDef->contains16BitInt()
  ------------------
  |  Branch (5638:40): [True: 0, False: 0]
  ------------------
 5639|      0|                                    || publicType.userDef->contains8BitInt()
  ------------------
  |  Branch (5639:40): [True: 0, False: 0]
  ------------------
 5640|      0|                                    || publicType.userDef->contains64BitInt()
  ------------------
  |  Branch (5640:40): [True: 0, False: 0]
  ------------------
 5641|  6.41k|                                    || publicType.userDef->containsDouble()))) {
  ------------------
  |  Branch (5641:40): [True: 0, False: 0]
  ------------------
 5642|  6.41k|            if (qualifier.storage == EvqVaryingIn && language == EShLangFragment)
  ------------------
  |  Branch (5642:17): [True: 5.95k, False: 465]
  |  Branch (5642:54): [True: 0, False: 5.95k]
  ------------------
 5643|      0|                error(loc, "must be qualified as flat", TType::getBasicString(publicType.basicType), GetStorageQualifierString(qualifier.storage));
 5644|  6.41k|            else if (qualifier.storage == EvqVaryingOut && language == EShLangVertex && version == 300)
  ------------------
  |  Branch (5644:22): [True: 465, False: 5.95k]
  |  Branch (5644:60): [True: 66, False: 399]
  |  Branch (5644:89): [True: 0, False: 66]
  ------------------
 5645|      0|                error(loc, "must be qualified as flat", TType::getBasicString(publicType.basicType), GetStorageQualifierString(qualifier.storage));
 5646|  6.41k|        }
 5647|  7.09k|    }
 5648|       |
 5649|  9.46k|    if (qualifier.isPatch() && qualifier.isInterpolation())
  ------------------
  |  Branch (5649:9): [True: 64, False: 9.40k]
  |  Branch (5649:32): [True: 0, False: 64]
  ------------------
 5650|      0|        error(loc, "cannot use interpolation qualifiers with patch", "patch", "");
 5651|       |
 5652|       |    // Only "patch in" is supported via GL_NV_gpu_shader5
 5653|  9.46k|    if (! symbolTable.atBuiltInLevel() && qualifier.isPatch() &&
  ------------------
  |  Branch (5653:9): [True: 72, False: 9.39k]
  |  Branch (5653:43): [True: 0, False: 72]
  ------------------
 5654|      0|        (language == EShLangGeometry) && qualifier.storage != EvqVaryingIn &&
  ------------------
  |  Branch (5654:9): [True: 0, False: 0]
  |  Branch (5654:42): [True: 0, False: 0]
  ------------------
 5655|      0|        extensionTurnedOn(E_GL_NV_gpu_shader5))
  ------------------
  |  Branch (5655:9): [True: 0, False: 0]
  ------------------
 5656|      0|            error(loc, "only 'patch in' is supported in this stage:", "patch", "geometry");
 5657|       |
 5658|  9.46k|    if (qualifier.isTaskPayload() && publicType.basicType == EbtBlock)
  ------------------
  |  Branch (5658:9): [True: 0, False: 9.46k]
  |  Branch (5658:38): [True: 0, False: 0]
  ------------------
 5659|      0|        error(loc, "taskPayloadSharedEXT variables should not be declared as interface blocks", "taskPayloadSharedEXT", "");
 5660|       |
 5661|  9.46k|    if (qualifier.isTaskMemory() && publicType.basicType != EbtBlock)
  ------------------
  |  Branch (5661:9): [True: 0, False: 9.46k]
  |  Branch (5661:37): [True: 0, False: 0]
  ------------------
 5662|      0|        error(loc, "taskNV variables can be declared only as blocks", "taskNV", "");
 5663|       |
 5664|  9.46k|    if (qualifier.storage == EvqVaryingIn) {
  ------------------
  |  Branch (5664:9): [True: 8.81k, False: 656]
  ------------------
 5665|  8.81k|        switch (language) {
 5666|  2.41k|        case EShLangVertex:
  ------------------
  |  Branch (5666:9): [True: 2.41k, False: 6.39k]
  ------------------
 5667|  2.41k|            if (publicType.basicType == EbtStruct) {
  ------------------
  |  Branch (5667:17): [True: 0, False: 2.41k]
  ------------------
 5668|      0|                error(loc, "cannot be a structure", GetStorageQualifierString(qualifier.storage), "");
 5669|      0|                return;
 5670|      0|            }
 5671|  2.41k|            if (publicType.arraySizes) {
  ------------------
  |  Branch (5671:17): [True: 0, False: 2.41k]
  ------------------
 5672|      0|                requireProfile(loc, ~EEsProfile, "vertex input arrays");
 5673|      0|                profileRequires(loc, ENoProfile, 150, nullptr, "vertex input arrays");
 5674|      0|            }
 5675|  2.41k|            if (publicType.basicType == EbtDouble) {
  ------------------
  |  Branch (5675:17): [True: 0, False: 2.41k]
  ------------------
 5676|      0|            	const char* const float64_attrib[] = {E_GL_NV_gpu_shader5, E_GL_ARB_vertex_attrib_64bit};
 5677|      0|                const int Num_float64_attrib = sizeof(float64_attrib) / sizeof(float64_attrib[0]);
 5678|      0|                profileRequires(loc, ~EEsProfile, 410, Num_float64_attrib, float64_attrib, "vertex-shader `double` type input");
 5679|      0|			}
 5680|  2.41k|            if (qualifier.isAuxiliary() || qualifier.isInterpolation() || qualifier.isMemory() || qualifier.invariant)
  ------------------
  |  Branch (5680:17): [True: 0, False: 2.41k]
  |  Branch (5680:44): [True: 0, False: 2.41k]
  |  Branch (5680:75): [True: 0, False: 2.41k]
  |  Branch (5680:99): [True: 0, False: 2.41k]
  ------------------
 5681|      0|                error(loc, "vertex input cannot be further qualified", "", "");
 5682|  2.41k|            break;
 5683|  2.74k|        case EShLangFragment:
  ------------------
  |  Branch (5683:9): [True: 2.74k, False: 6.06k]
  ------------------
 5684|  2.74k|            if (publicType.userDef) {
  ------------------
  |  Branch (5684:17): [True: 0, False: 2.74k]
  ------------------
 5685|      0|                profileRequires(loc, EEsProfile, 300, nullptr, "fragment-shader struct input");
 5686|      0|                profileRequires(loc, ~EEsProfile, 150, nullptr, "fragment-shader struct input");
 5687|      0|                if (publicType.userDef->containsStructure())
  ------------------
  |  Branch (5687:21): [True: 0, False: 0]
  ------------------
 5688|      0|                    requireProfile(loc, ~EEsProfile, "fragment-shader struct input containing structure");
 5689|      0|                if (publicType.userDef->containsArray())
  ------------------
  |  Branch (5689:21): [True: 0, False: 0]
  ------------------
 5690|      0|                    requireProfile(loc, ~EEsProfile, "fragment-shader struct input containing an array");
 5691|      0|            }
 5692|  2.74k|            break;
 5693|    330|       case EShLangCompute:
  ------------------
  |  Branch (5693:8): [True: 330, False: 8.48k]
  ------------------
 5694|    330|            if (! symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (5694:17): [True: 0, False: 330]
  ------------------
 5695|      0|                error(loc, "global storage input qualifier cannot be used in a compute shader", "in", "");
 5696|    330|            break;
 5697|    468|       case EShLangTessControl:
  ------------------
  |  Branch (5697:8): [True: 468, False: 8.34k]
  ------------------
 5698|    468|            if (qualifier.patch)
  ------------------
  |  Branch (5698:17): [True: 0, False: 468]
  ------------------
 5699|      0|                error(loc, "can only use on output in tessellation-control shader", "patch", "");
 5700|    468|            break;
 5701|  2.84k|        default:
  ------------------
  |  Branch (5701:9): [True: 2.84k, False: 5.96k]
  ------------------
 5702|  2.84k|            break;
 5703|  8.81k|        }
 5704|  8.81k|    } else {
 5705|       |        // qualifier.storage == EvqVaryingOut
 5706|    656|        switch (language) {
 5707|    187|        case EShLangVertex:
  ------------------
  |  Branch (5707:9): [True: 187, False: 469]
  ------------------
 5708|    187|            if (publicType.userDef) {
  ------------------
  |  Branch (5708:17): [True: 0, False: 187]
  ------------------
 5709|      0|                profileRequires(loc, EEsProfile, 300, nullptr, "vertex-shader struct output");
 5710|      0|                profileRequires(loc, ~EEsProfile, 150, nullptr, "vertex-shader struct output");
 5711|      0|                if (publicType.userDef->containsStructure())
  ------------------
  |  Branch (5711:21): [True: 0, False: 0]
  ------------------
 5712|      0|                    requireProfile(loc, ~EEsProfile, "vertex-shader struct output containing structure");
 5713|      0|                if (publicType.userDef->containsArray())
  ------------------
  |  Branch (5713:21): [True: 0, False: 0]
  ------------------
 5714|      0|                    requireProfile(loc, ~EEsProfile, "vertex-shader struct output containing an array");
 5715|      0|            }
 5716|       |
 5717|    187|            break;
 5718|    230|        case EShLangFragment:
  ------------------
  |  Branch (5718:9): [True: 230, False: 426]
  ------------------
 5719|    230|            profileRequires(loc, EEsProfile, 300, nullptr, "fragment shader output");
 5720|    230|            if (publicType.basicType == EbtStruct) {
  ------------------
  |  Branch (5720:17): [True: 0, False: 230]
  ------------------
 5721|      0|                error(loc, "cannot be a structure", GetStorageQualifierString(qualifier.storage), "");
 5722|      0|                return;
 5723|      0|            }
 5724|    230|            if (publicType.matrixRows > 0) {
  ------------------
  |  Branch (5724:17): [True: 0, False: 230]
  ------------------
 5725|      0|                error(loc, "cannot be a matrix", GetStorageQualifierString(qualifier.storage), "");
 5726|      0|                return;
 5727|      0|            }
 5728|    230|            if (qualifier.isAuxiliary())
  ------------------
  |  Branch (5728:17): [True: 0, False: 230]
  ------------------
 5729|      0|                error(loc, "can't use auxiliary qualifier on a fragment output", "centroid/sample/patch", "");
 5730|    230|            if (qualifier.isInterpolation())
  ------------------
  |  Branch (5730:17): [True: 0, False: 230]
  ------------------
 5731|      0|                error(loc, "can't use interpolation qualifier on a fragment output", "flat/smooth/noperspective", "");
 5732|    230|            if (publicType.basicType == EbtDouble || publicType.basicType == EbtInt64 || publicType.basicType == EbtUint64)
  ------------------
  |  Branch (5732:17): [True: 0, False: 230]
  |  Branch (5732:54): [True: 0, False: 230]
  |  Branch (5732:90): [True: 0, False: 230]
  ------------------
 5733|      0|                error(loc, "cannot contain a double, int64, or uint64", GetStorageQualifierString(qualifier.storage), "");
 5734|    230|        break;
 5735|       |
 5736|      0|        case EShLangCompute:
  ------------------
  |  Branch (5736:9): [True: 0, False: 656]
  ------------------
 5737|      0|            error(loc, "global storage output qualifier cannot be used in a compute shader", "out", "");
 5738|      0|            break;
 5739|     77|        case EShLangTessEvaluation:
  ------------------
  |  Branch (5739:9): [True: 77, False: 579]
  ------------------
 5740|     77|            if (qualifier.patch)
  ------------------
  |  Branch (5740:17): [True: 0, False: 77]
  ------------------
 5741|      0|                error(loc, "can only use on input in tessellation-evaluation shader", "patch", "");
 5742|     77|            break;
 5743|    162|        default:
  ------------------
  |  Branch (5743:9): [True: 162, False: 494]
  ------------------
 5744|    162|            break;
 5745|    656|        }
 5746|    656|    }
 5747|  9.46k|}
_ZN7glslang13TParseContext15mergeQualifiersERKNS_10TSourceLocERNS_10TQualifierERKS4_b:
 5759|   197k|{
 5760|       |    // Multiple auxiliary qualifiers (mostly done later by 'individual qualifiers')
 5761|   197k|    if (src.isAuxiliary() && dst.isAuxiliary())
  ------------------
  |  Branch (5761:9): [True: 64, False: 197k]
  |  Branch (5761:30): [True: 0, False: 64]
  ------------------
 5762|      0|        error(loc, "can only have one auxiliary qualifier (centroid, patch, and sample)", "", "");
 5763|       |
 5764|       |    // Multiple interpolation qualifiers (mostly done later by 'individual qualifiers')
 5765|   197k|    if (src.isInterpolation() && dst.isInterpolation())
  ------------------
  |  Branch (5765:9): [True: 2.37k, False: 194k]
  |  Branch (5765:34): [True: 0, False: 2.37k]
  ------------------
 5766|      0|        error(loc, "can only have one interpolation qualifier (flat, smooth, noperspective, __explicitInterpAMD)", "", "");
 5767|       |
 5768|       |    // Ordering
 5769|   197k|    if (! force && ((!isEsProfile() && version < 420) ||
  ------------------
  |  Branch (5769:9): [True: 139k, False: 57.7k]
  |  Branch (5769:22): [True: 139k, False: 0]
  |  Branch (5769:40): [True: 109k, False: 29.8k]
  ------------------
 5770|  29.8k|                    (isEsProfile() && version < 310))
  ------------------
  |  Branch (5770:22): [True: 0, False: 29.8k]
  |  Branch (5770:39): [True: 0, False: 0]
  ------------------
 5771|   109k|                && ! extensionTurnedOn(E_GL_ARB_shading_language_420pack)) {
  ------------------
  |  Branch (5771:20): [True: 109k, False: 0]
  ------------------
 5772|       |        // non-function parameters
 5773|   109k|        if (src.isNoContraction() && (dst.invariant || dst.isInterpolation() || dst.isAuxiliary() || dst.storage != EvqTemporary || dst.precision != EpqNone))
  ------------------
  |  Branch (5773:13): [True: 0, False: 109k]
  |  Branch (5773:39): [True: 0, False: 0]
  |  Branch (5773:56): [True: 0, False: 0]
  |  Branch (5773:81): [True: 0, False: 0]
  |  Branch (5773:102): [True: 0, False: 0]
  |  Branch (5773:133): [True: 0, False: 0]
  ------------------
 5774|      0|            error(loc, "precise qualifier must appear first", "", "");
 5775|   109k|        if (src.invariant && (dst.isInterpolation() || dst.isAuxiliary() || dst.storage != EvqTemporary || dst.precision != EpqNone))
  ------------------
  |  Branch (5775:13): [True: 0, False: 109k]
  |  Branch (5775:31): [True: 0, False: 0]
  |  Branch (5775:56): [True: 0, False: 0]
  |  Branch (5775:77): [True: 0, False: 0]
  |  Branch (5775:108): [True: 0, False: 0]
  ------------------
 5776|      0|            error(loc, "invariant qualifier must appear before interpolation, storage, and precision qualifiers ", "", "");
 5777|   109k|        else if (src.isInterpolation() && (dst.isAuxiliary() || dst.storage != EvqTemporary || dst.precision != EpqNone))
  ------------------
  |  Branch (5777:18): [True: 0, False: 109k]
  |  Branch (5777:44): [True: 0, False: 0]
  |  Branch (5777:65): [True: 0, False: 0]
  |  Branch (5777:96): [True: 0, False: 0]
  ------------------
 5778|      0|            error(loc, "interpolation qualifiers must appear before storage and precision qualifiers", "", "");
 5779|   109k|        else if (src.isAuxiliary() && (dst.storage != EvqTemporary || dst.precision != EpqNone))
  ------------------
  |  Branch (5779:18): [True: 0, False: 109k]
  |  Branch (5779:40): [True: 0, False: 0]
  |  Branch (5779:71): [True: 0, False: 0]
  ------------------
 5780|      0|            error(loc, "Auxiliary qualifiers (centroid, patch, and sample) must appear before storage and precision qualifiers", "", "");
 5781|   109k|        else if (src.storage != EvqTemporary && (dst.precision != EpqNone))
  ------------------
  |  Branch (5781:18): [True: 6.53k, False: 103k]
  |  Branch (5781:49): [True: 0, False: 6.53k]
  ------------------
 5782|      0|            error(loc, "precision qualifier must appear as last qualifier", "", "");
 5783|       |
 5784|       |        // function parameters
 5785|   109k|        if (src.isNoContraction() && (dst.storage == EvqConst || dst.storage == EvqIn || dst.storage == EvqOut))
  ------------------
  |  Branch (5785:13): [True: 0, False: 109k]
  |  Branch (5785:39): [True: 0, False: 0]
  |  Branch (5785:66): [True: 0, False: 0]
  |  Branch (5785:90): [True: 0, False: 0]
  ------------------
 5786|      0|            error(loc, "precise qualifier must appear first", "", "");
 5787|   109k|        if (src.storage == EvqConst && (dst.storage == EvqIn || dst.storage == EvqOut))
  ------------------
  |  Branch (5787:13): [True: 0, False: 109k]
  |  Branch (5787:41): [True: 0, False: 0]
  |  Branch (5787:65): [True: 0, False: 0]
  ------------------
 5788|      0|            error(loc, "in/out must appear before const", "", "");
 5789|   109k|    }
 5790|       |
 5791|       |    // Storage qualification
 5792|   197k|    if (dst.storage == EvqTemporary || dst.storage == EvqGlobal)
  ------------------
  |  Branch (5792:9): [True: 130k, False: 66.5k]
  |  Branch (5792:40): [True: 57.7k, False: 8.85k]
  ------------------
 5793|   188k|        dst.storage = src.storage;
 5794|  8.85k|    else if ((dst.storage == EvqIn  && src.storage == EvqOut) ||
  ------------------
  |  Branch (5794:15): [True: 7.61k, False: 1.23k]
  |  Branch (5794:40): [True: 0, False: 7.61k]
  ------------------
 5795|  8.85k|             (dst.storage == EvqOut && src.storage == EvqIn))
  ------------------
  |  Branch (5795:15): [True: 332, False: 8.52k]
  |  Branch (5795:40): [True: 0, False: 332]
  ------------------
 5796|      0|        dst.storage = EvqInOut;
 5797|  8.85k|    else if ((dst.storage == EvqIn    && src.storage == EvqConst) ||
  ------------------
  |  Branch (5797:15): [True: 7.61k, False: 1.23k]
  |  Branch (5797:42): [True: 0, False: 7.61k]
  ------------------
 5798|  8.85k|             (dst.storage == EvqConst && src.storage == EvqIn))
  ------------------
  |  Branch (5798:15): [True: 849, False: 8.00k]
  |  Branch (5798:42): [True: 0, False: 849]
  ------------------
 5799|      0|        dst.storage = EvqConstReadOnly;
 5800|  8.85k|    else if (src.storage != EvqTemporary &&
  ------------------
  |  Branch (5800:14): [True: 7.97k, False: 880]
  ------------------
 5801|  7.97k|             src.storage != EvqGlobal)
  ------------------
  |  Branch (5801:14): [True: 0, False: 7.97k]
  ------------------
 5802|      0|        error(loc, "too many storage qualifiers", GetStorageQualifierString(src.storage), "");
 5803|       |
 5804|       |    // Precision qualifiers
 5805|   197k|    if (! force && src.precision != EpqNone && dst.precision != EpqNone)
  ------------------
  |  Branch (5805:9): [True: 139k, False: 57.7k]
  |  Branch (5805:20): [True: 7.97k, False: 131k]
  |  Branch (5805:48): [True: 0, False: 7.97k]
  ------------------
 5806|      0|        error(loc, "only one precision qualifier allowed", GetPrecisionQualifierString(src.precision), "");
 5807|   197k|    if (dst.precision == EpqNone || (force && src.precision != EpqNone))
  ------------------
  |  Branch (5807:9): [True: 196k, False: 858]
  |  Branch (5807:38): [True: 363, False: 495]
  |  Branch (5807:47): [True: 0, False: 363]
  ------------------
 5808|   196k|        dst.precision = src.precision;
 5809|       |
 5810|   197k|    if (!force && ((src.coherent && (dst.devicecoherent || dst.queuefamilycoherent || dst.workgroupcoherent || dst.subgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5810:9): [True: 139k, False: 57.7k]
  |  Branch (5810:21): [True: 58.3k, False: 81.1k]
  |  Branch (5810:38): [True: 0, False: 58.3k]
  |  Branch (5810:60): [True: 0, False: 58.3k]
  |  Branch (5810:87): [True: 0, False: 58.3k]
  |  Branch (5810:112): [True: 0, False: 58.3k]
  |  Branch (5810:136): [True: 0, False: 58.3k]
  ------------------
 5811|   139k|                   (src.devicecoherent && (dst.coherent || dst.queuefamilycoherent || dst.workgroupcoherent || dst.subgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5811:21): [True: 0, False: 139k]
  |  Branch (5811:44): [True: 0, False: 0]
  |  Branch (5811:60): [True: 0, False: 0]
  |  Branch (5811:87): [True: 0, False: 0]
  |  Branch (5811:112): [True: 0, False: 0]
  |  Branch (5811:136): [True: 0, False: 0]
  ------------------
 5812|   139k|                   (src.queuefamilycoherent && (dst.coherent || dst.devicecoherent || dst.workgroupcoherent || dst.subgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5812:21): [True: 0, False: 139k]
  |  Branch (5812:49): [True: 0, False: 0]
  |  Branch (5812:65): [True: 0, False: 0]
  |  Branch (5812:87): [True: 0, False: 0]
  |  Branch (5812:112): [True: 0, False: 0]
  |  Branch (5812:136): [True: 0, False: 0]
  ------------------
 5813|   139k|                   (src.workgroupcoherent && (dst.coherent || dst.devicecoherent || dst.queuefamilycoherent || dst.subgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5813:21): [True: 0, False: 139k]
  |  Branch (5813:47): [True: 0, False: 0]
  |  Branch (5813:63): [True: 0, False: 0]
  |  Branch (5813:85): [True: 0, False: 0]
  |  Branch (5813:112): [True: 0, False: 0]
  |  Branch (5813:136): [True: 0, False: 0]
  ------------------
 5814|   139k|                   (src.subgroupcoherent  && (dst.coherent || dst.devicecoherent || dst.queuefamilycoherent || dst.workgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5814:21): [True: 0, False: 139k]
  |  Branch (5814:47): [True: 0, False: 0]
  |  Branch (5814:63): [True: 0, False: 0]
  |  Branch (5814:85): [True: 0, False: 0]
  |  Branch (5814:112): [True: 0, False: 0]
  |  Branch (5814:137): [True: 0, False: 0]
  ------------------
 5815|   139k|                   (src.shadercallcoherent && (dst.coherent || dst.devicecoherent || dst.queuefamilycoherent || dst.workgroupcoherent || dst.subgroupcoherent)))) {
  ------------------
  |  Branch (5815:21): [True: 0, False: 139k]
  |  Branch (5815:48): [True: 0, False: 0]
  |  Branch (5815:64): [True: 0, False: 0]
  |  Branch (5815:86): [True: 0, False: 0]
  |  Branch (5815:113): [True: 0, False: 0]
  |  Branch (5815:138): [True: 0, False: 0]
  ------------------
 5816|      0|        error(loc, "only one coherent/devicecoherent/queuefamilycoherent/workgroupcoherent/subgroupcoherent/shadercallcoherent qualifier allowed",
 5817|      0|            GetPrecisionQualifierString(src.precision), "");
 5818|      0|    }
 5819|       |
 5820|       |    // Layout qualifiers
 5821|   197k|    mergeObjectLayoutQualifiers(dst, src, false);
 5822|       |
 5823|       |    // individual qualifiers
 5824|   197k|    bool repeated = false;
 5825|   197k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
 5826|   197k|    MERGE_SINGLETON(invariant);
  ------------------
  |  | 5825|   197k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5825:48): [True: 0, False: 197k]
  |  |  |  Branch (5825:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5827|   197k|    MERGE_SINGLETON(centroid);
  ------------------
  |  | 5825|   197k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5825:48): [True: 0, False: 197k]
  |  |  |  Branch (5825:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5828|   197k|    MERGE_SINGLETON(smooth);
  ------------------
  |  | 5825|   197k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5825:48): [True: 0, False: 197k]
  |  |  |  Branch (5825:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5829|   197k|    MERGE_SINGLETON(flat);
  ------------------
  |  | 5825|   197k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5825:48): [True: 4.46k, False: 192k]
  |  |  |  Branch (5825:61): [True: 0, False: 4.46k]
  |  |  ------------------
  ------------------
 5830|   197k|    MERGE_SINGLETON(specConstant);
  ------------------
  |  | 5825|   197k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5825:48): [True: 0, False: 197k]
  |  |  |  Branch (5825:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5831|   197k|    MERGE_SINGLETON(noContraction);
  ------------------
  |  | 5825|   197k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5825:48): [True: 0, False: 197k]
  |  |  |  Branch (5825:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5832|   197k|    MERGE_SINGLETON(nopersp);
  ------------------
  |  | 5825|   197k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5825:48): [True: 0, False: 197k]
  |  |  |  Branch (5825:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5833|   197k|    MERGE_SINGLETON(explicitInterp);
  ------------------
  |  | 5825|   197k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5825:48): [True: 0, False: 197k]
  |  |  |  Branch (5825:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5834|   197k|    MERGE_SINGLETON(perPrimitiveNV);
  ------------------
  |  | 5825|   197k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5825:48): [True: 10, False: 197k]
  |  |  |  Branch (5825:61): [True: 0, False: 10]
  |  |  ------------------
  ------------------
 5835|   197k|    MERGE_SINGLETON(perViewNV);
  ------------------
  |  | 5825|   197k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5825:48): [True: 0, False: 197k]
  |  |  |  Branch (5825:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5836|   197k|    MERGE_SINGLETON(perTaskNV);
  ------------------
  |  | 5825|   197k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5825:48): [True: 0, False: 197k]
  |  |  |  Branch (5825:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5837|   197k|    MERGE_SINGLETON(patch);
  ------------------
  |  | 5825|   197k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5825:48): [True: 64, False: 197k]
  |  |  |  Branch (5825:61): [True: 0, False: 64]
  |  |  ------------------
  ------------------
 5838|   197k|    MERGE_SINGLETON(sample);
  ------------------
  |  | 5825|   197k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5825:48): [True: 0, False: 197k]
  |  |  |  Branch (5825:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5839|   197k|    MERGE_SINGLETON(coherent);
  ------------------
  |  | 5825|   197k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5825:48): [True: 59.6k, False: 137k]
  |  |  |  Branch (5825:61): [True: 0, False: 59.6k]
  |  |  ------------------
  ------------------
 5840|   197k|    MERGE_SINGLETON(devicecoherent);
  ------------------
  |  | 5825|   197k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5825:48): [True: 0, False: 197k]
  |  |  |  Branch (5825:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5841|   197k|    MERGE_SINGLETON(queuefamilycoherent);
  ------------------
  |  | 5825|   197k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5825:48): [True: 0, False: 197k]
  |  |  |  Branch (5825:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5842|   197k|    MERGE_SINGLETON(workgroupcoherent);
  ------------------
  |  | 5825|   197k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5825:48): [True: 0, False: 197k]
  |  |  |  Branch (5825:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5843|   197k|    MERGE_SINGLETON(subgroupcoherent);
  ------------------
  |  | 5825|   197k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5825:48): [True: 0, False: 197k]
  |  |  |  Branch (5825:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5844|   197k|    MERGE_SINGLETON(shadercallcoherent);
  ------------------
  |  | 5825|   197k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5825:48): [True: 0, False: 197k]
  |  |  |  Branch (5825:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5845|   197k|    MERGE_SINGLETON(nonprivate);
  ------------------
  |  | 5825|   197k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5825:48): [True: 0, False: 197k]
  |  |  |  Branch (5825:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5846|   197k|    MERGE_SINGLETON(volatil);
  ------------------
  |  | 5825|   197k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5825:48): [True: 117k, False: 79.9k]
  |  |  |  Branch (5825:61): [True: 0, False: 117k]
  |  |  ------------------
  ------------------
 5847|   197k|    MERGE_SINGLETON(nontemporal);
  ------------------
  |  | 5825|   197k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5825:48): [True: 710, False: 196k]
  |  |  |  Branch (5825:61): [True: 0, False: 710]
  |  |  ------------------
  ------------------
 5848|   197k|    MERGE_SINGLETON(restrict);
  ------------------
  |  | 5825|   197k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5825:48): [True: 0, False: 197k]
  |  |  |  Branch (5825:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5849|   197k|    MERGE_SINGLETON(readonly);
  ------------------
  |  | 5825|   197k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5825:48): [True: 14.9k, False: 182k]
  |  |  |  Branch (5825:61): [True: 0, False: 14.9k]
  |  |  ------------------
  ------------------
 5850|   197k|    MERGE_SINGLETON(writeonly);
  ------------------
  |  | 5825|   197k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5825:48): [True: 13.4k, False: 183k]
  |  |  |  Branch (5825:61): [True: 0, False: 13.4k]
  |  |  ------------------
  ------------------
 5851|   197k|    MERGE_SINGLETON(nonUniform);
  ------------------
  |  | 5825|   197k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5825:48): [True: 0, False: 197k]
  |  |  |  Branch (5825:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5852|       |
 5853|       |    // SPIR-V storage class qualifier (GL_EXT_spirv_intrinsics)
 5854|   197k|    dst.spirvStorageClass = src.spirvStorageClass;
 5855|       |
 5856|       |    // SPIR-V decorate qualifiers (GL_EXT_spirv_intrinsics)
 5857|   197k|    if (src.hasSpirvDecorate()) {
  ------------------
  |  Branch (5857:9): [True: 0, False: 197k]
  ------------------
 5858|      0|        if (dst.hasSpirvDecorate()) {
  ------------------
  |  Branch (5858:13): [True: 0, False: 0]
  ------------------
 5859|      0|            const TSpirvDecorate& srcSpirvDecorate = src.getSpirvDecorate();
 5860|      0|            TSpirvDecorate& dstSpirvDecorate = dst.getSpirvDecorate();
 5861|      0|            for (auto& decorate : srcSpirvDecorate.decorates) {
  ------------------
  |  Branch (5861:33): [True: 0, False: 0]
  ------------------
 5862|      0|                if (dstSpirvDecorate.decorates.find(decorate.first) != dstSpirvDecorate.decorates.end())
  ------------------
  |  Branch (5862:21): [True: 0, False: 0]
  ------------------
 5863|      0|                    error(loc, "too many SPIR-V decorate qualifiers", "spirv_decorate", "(decoration=%u)", decorate.first);
 5864|      0|                else
 5865|      0|                    dstSpirvDecorate.decorates.insert(decorate);
 5866|      0|            }
 5867|       |
 5868|      0|            for (auto& decorateId : srcSpirvDecorate.decorateIds) {
  ------------------
  |  Branch (5868:35): [True: 0, False: 0]
  ------------------
 5869|      0|                if (dstSpirvDecorate.decorateIds.find(decorateId.first) != dstSpirvDecorate.decorateIds.end())
  ------------------
  |  Branch (5869:21): [True: 0, False: 0]
  ------------------
 5870|      0|                    error(loc, "too many SPIR-V decorate qualifiers", "spirv_decorate_id", "(decoration=%u)", decorateId.first);
 5871|      0|                else
 5872|      0|                    dstSpirvDecorate.decorateIds.insert(decorateId);
 5873|      0|            }
 5874|       |
 5875|      0|            for (auto& decorateString : srcSpirvDecorate.decorateStrings) {
  ------------------
  |  Branch (5875:39): [True: 0, False: 0]
  ------------------
 5876|      0|                if (dstSpirvDecorate.decorates.find(decorateString.first) != dstSpirvDecorate.decorates.end())
  ------------------
  |  Branch (5876:21): [True: 0, False: 0]
  ------------------
 5877|      0|                    error(loc, "too many SPIR-V decorate qualifiers", "spirv_decorate_string", "(decoration=%u)", decorateString.first);
 5878|      0|                else
 5879|      0|                    dstSpirvDecorate.decorateStrings.insert(decorateString);
 5880|      0|            }
 5881|      0|        } else {
 5882|      0|            dst.spirvDecorate = src.spirvDecorate;
 5883|      0|        }
 5884|      0|    }
 5885|       |
 5886|   197k|    if (repeated)
  ------------------
  |  Branch (5886:9): [True: 0, False: 197k]
  ------------------
 5887|      0|        error(loc, "replicated qualifiers", "", "");
 5888|   197k|}
_ZN7glslang13TParseContext23computeSamplerTypeIndexERNS_8TSamplerE:
 5926|   170k|{
 5927|   170k|    int arrayIndex    = sampler.arrayed         ? 1 : 0;
  ------------------
  |  Branch (5927:25): [True: 53.9k, False: 116k]
  ------------------
 5928|   170k|    int shadowIndex   = sampler.shadow          ? 1 : 0;
  ------------------
  |  Branch (5928:25): [True: 14.3k, False: 156k]
  ------------------
 5929|   170k|    int externalIndex = sampler.isExternal()    ? 1 : 0;
  ------------------
  |  Branch (5929:25): [True: 0, False: 170k]
  ------------------
 5930|   170k|    int imageIndex    = sampler.isImageClass()  ? 1 : 0;
  ------------------
  |  Branch (5930:25): [True: 57.3k, False: 113k]
  ------------------
 5931|   170k|    int msIndex       = sampler.isMultiSample() ? 1 : 0;
  ------------------
  |  Branch (5931:25): [True: 13.4k, False: 157k]
  ------------------
 5932|       |
 5933|   170k|    int flattened = EsdNumDims * (EbtNumTypes * (2 * (2 * (2 * (2 * arrayIndex + msIndex) + imageIndex) + shadowIndex) +
 5934|   170k|                                                 externalIndex) + sampler.type) + sampler.dim;
 5935|   170k|    assert(flattened < maxSamplerIndex);
 5936|       |
 5937|   170k|    return flattened;
 5938|   170k|}
_ZN7glslang13TParseContext19getDefaultPrecisionERNS_11TPublicTypeE:
 5941|  1.84M|{
 5942|  1.84M|    if (publicType.basicType == EbtSampler)
  ------------------
  |  Branch (5942:9): [True: 170k, False: 1.67M]
  ------------------
 5943|   170k|        return defaultSamplerPrecision[computeSamplerTypeIndex(publicType.sampler)];
 5944|  1.67M|    else
 5945|  1.67M|        return defaultPrecision[publicType.basicType];
 5946|  1.84M|}
_ZN7glslang13TParseContext23precisionQualifierCheckERKNS_10TSourceLocENS_10TBasicTypeERNS_10TQualifierEb:
 5949|  1.84M|{
 5950|       |    // Built-in symbols are allowed some ambiguous precisions, to be pinned down
 5951|       |    // later by context.
 5952|  1.84M|    if (! obeyPrecisionQualifiers() || parsingBuiltins)
  ------------------
  |  Branch (5952:9): [True: 0, False: 1.84M]
  |  Branch (5952:40): [True: 1.84M, False: 855]
  ------------------
 5953|  1.84M|        return;
 5954|       |
 5955|    855|    if (baseType == EbtAtomicUint && qualifier.precision != EpqNone && qualifier.precision != EpqHigh)
  ------------------
  |  Branch (5955:9): [True: 0, False: 855]
  |  Branch (5955:38): [True: 0, False: 0]
  |  Branch (5955:72): [True: 0, False: 0]
  ------------------
 5956|      0|        error(loc, "atomic counters can only be highp", "atomic_uint", "");
 5957|       |
 5958|    855|    if (hasTypeParameter)
  ------------------
  |  Branch (5958:9): [True: 0, False: 855]
  ------------------
 5959|      0|        return;
 5960|       |
 5961|    855|    if (baseType == EbtFloat || baseType == EbtUint || baseType == EbtInt || baseType == EbtSampler || baseType == EbtAtomicUint) {
  ------------------
  |  Branch (5961:9): [True: 516, False: 339]
  |  Branch (5961:33): [True: 0, False: 339]
  |  Branch (5961:56): [True: 66, False: 273]
  |  Branch (5961:78): [True: 264, False: 9]
  |  Branch (5961:104): [True: 0, False: 9]
  ------------------
 5962|    846|        if (qualifier.precision == EpqNone) {
  ------------------
  |  Branch (5962:13): [True: 0, False: 846]
  ------------------
 5963|      0|            if (relaxedErrors())
  ------------------
  |  Branch (5963:17): [True: 0, False: 0]
  ------------------
 5964|      0|                warn(loc, "type requires declaration of default precision qualifier", TType::getBasicString(baseType), "substituting 'mediump'");
 5965|      0|            else
 5966|      0|                error(loc, "type requires declaration of default precision qualifier", TType::getBasicString(baseType), "");
 5967|      0|            qualifier.precision = EpqMedium;
 5968|      0|            defaultPrecision[baseType] = EpqMedium;
 5969|      0|        }
 5970|    846|    } else if (qualifier.precision != EpqNone)
  ------------------
  |  Branch (5970:16): [True: 0, False: 9]
  ------------------
 5971|      0|        error(loc, "type cannot have precision qualifier", TType::getBasicString(baseType), "");
 5972|    855|}
_ZN7glslang13TParseContext18parameterTypeCheckERKNS_10TSourceLocENS_17TStorageQualifierERKNS_5TTypeE:
 5975|  1.27M|{
 5976|  1.27M|    if ((qualifier == EvqOut || qualifier == EvqInOut) && type.isOpaque() && !intermediate.getBindlessMode())
  ------------------
  |  Branch (5976:10): [True: 12.5k, False: 1.26M]
  |  Branch (5976:33): [True: 700, False: 1.26M]
  |  Branch (5976:59): [True: 0, False: 13.2k]
  |  Branch (5976:78): [True: 0, False: 0]
  ------------------
 5977|      0|        error(loc, "samplers and atomic_uints cannot be output parameters", type.getBasicTypeString().c_str(), "");
 5978|  1.27M|    if (!parsingBuiltins && type.contains16BitFloat())
  ------------------
  |  Branch (5978:9): [True: 6, False: 1.27M]
  |  Branch (5978:29): [True: 0, False: 6]
  ------------------
 5979|      0|        requireFloat16Arithmetic(loc, type.getBasicTypeString().c_str(), "float16 types can only be in uniform block or buffer storage");
 5980|  1.27M|    if (!parsingBuiltins && type.contains16BitInt())
  ------------------
  |  Branch (5980:9): [True: 6, False: 1.27M]
  |  Branch (5980:29): [True: 0, False: 6]
  ------------------
 5981|      0|        requireInt16Arithmetic(loc, type.getBasicTypeString().c_str(), "(u)int16 types can only be in uniform block or buffer storage");
 5982|  1.27M|    if (!parsingBuiltins && type.contains8BitInt())
  ------------------
  |  Branch (5982:9): [True: 6, False: 1.27M]
  |  Branch (5982:29): [True: 0, False: 6]
  ------------------
 5983|      0|        requireInt8Arithmetic(loc, type.getBasicTypeString().c_str(), "(u)int8 types can only be in uniform block or buffer storage");
 5984|  1.27M|}
_ZN7glslang13TParseContext26containsFieldWithBasicTypeERKNS_5TTypeENS_10TBasicTypeE:
 5987|  1.62k|{
 5988|  1.62k|    if (type.getBasicType() == basicType)
  ------------------
  |  Branch (5988:9): [True: 0, False: 1.62k]
  ------------------
 5989|      0|        return true;
 5990|       |
 5991|  1.62k|    if (type.getBasicType() == EbtStruct) {
  ------------------
  |  Branch (5991:9): [True: 0, False: 1.62k]
  ------------------
 5992|      0|        const TTypeList& structure = *type.getStruct();
 5993|      0|        for (unsigned int i = 0; i < structure.size(); ++i) {
  ------------------
  |  Branch (5993:34): [True: 0, False: 0]
  ------------------
 5994|      0|            if (containsFieldWithBasicType(*structure[i].type, basicType))
  ------------------
  |  Branch (5994:17): [True: 0, False: 0]
  ------------------
 5995|      0|                return true;
 5996|      0|        }
 5997|      0|    }
 5998|       |
 5999|  1.62k|    return false;
 6000|  1.62k|}
_ZN7glslang13TParseContext14arraySizeCheckERKNS_10TSourceLocEPNS_12TIntermTypedERNS_10TArraySizeEPKcb:
 6007|  3.69k|{
 6008|  3.69k|    bool isConst = false;
 6009|  3.69k|    sizePair.node = nullptr;
 6010|       |
 6011|  3.69k|    int size = 1;
 6012|       |
 6013|  3.69k|    TIntermConstantUnion* constant = expr->getAsConstantUnion();
 6014|  3.69k|    if (constant) {
  ------------------
  |  Branch (6014:9): [True: 3.69k, False: 0]
  ------------------
 6015|       |        // handle true (non-specialization) constant
 6016|  3.69k|        size = constant->getConstArray()[0].getIConst();
 6017|  3.69k|        isConst = true;
 6018|  3.69k|    } else {
 6019|       |        // see if it's a specialization constant instead
 6020|      0|        if (expr->getQualifier().isSpecConstant()) {
  ------------------
  |  Branch (6020:13): [True: 0, False: 0]
  ------------------
 6021|      0|            isConst = true;
 6022|      0|            sizePair.node = expr;
 6023|      0|            TIntermSymbol* symbol = expr->getAsSymbolNode();
 6024|      0|            if (symbol && symbol->getConstArray().size() > 0)
  ------------------
  |  Branch (6024:17): [True: 0, False: 0]
  |  Branch (6024:27): [True: 0, False: 0]
  ------------------
 6025|      0|                size = symbol->getConstArray()[0].getIConst();
 6026|      0|        } else if (expr->getAsUnaryNode() && expr->getAsUnaryNode()->getOp() == glslang::EOpArrayLength &&
  ------------------
  |  Branch (6026:20): [True: 0, False: 0]
  |  Branch (6026:46): [True: 0, False: 0]
  ------------------
 6027|      0|                   expr->getAsUnaryNode()->getOperand()->getType().isCoopMatNV()) {
  ------------------
  |  Branch (6027:20): [True: 0, False: 0]
  ------------------
 6028|      0|            isConst = true;
 6029|      0|            size = 1;
 6030|      0|            sizePair.node = expr->getAsUnaryNode();
 6031|      0|        }
 6032|      0|    }
 6033|       |
 6034|  3.69k|    sizePair.size = size;
 6035|       |
 6036|  3.69k|    if (isTypeParameter) {
  ------------------
  |  Branch (6036:9): [True: 60, False: 3.63k]
  ------------------
 6037|     60|        if (extensionTurnedOn(E_GL_NV_cooperative_matrix2)) {
  ------------------
  |  Branch (6037:13): [True: 0, False: 60]
  ------------------
 6038|      0|            if (! isConst || (expr->getBasicType() != EbtInt && expr->getBasicType() != EbtUint && expr->getBasicType() != EbtBool)) {
  ------------------
  |  Branch (6038:17): [True: 0, False: 0]
  |  Branch (6038:31): [True: 0, False: 0]
  |  Branch (6038:65): [True: 0, False: 0]
  |  Branch (6038:100): [True: 0, False: 0]
  ------------------
 6039|      0|                error(loc, sizeType, "", "must be a constant integer or boolean expression");
 6040|      0|                return;
 6041|      0|            }
 6042|     60|        } else {
 6043|     60|            if (! isConst || (expr->getBasicType() != EbtInt && expr->getBasicType() != EbtUint)) {
  ------------------
  |  Branch (6043:17): [True: 0, False: 60]
  |  Branch (6043:31): [True: 0, False: 60]
  |  Branch (6043:65): [True: 0, False: 0]
  ------------------
 6044|      0|                error(loc, sizeType, "", "must be a constant integer expression");
 6045|      0|                return;
 6046|      0|            }
 6047|     60|        }
 6048|     60|        if (size < 0) {
  ------------------
  |  Branch (6048:13): [True: 0, False: 60]
  ------------------
 6049|      0|            error(loc, sizeType, "", "must be a non-negative integer");
 6050|      0|            return;
 6051|      0|        }
 6052|  3.63k|    } else {
 6053|  3.63k|        if (! isConst || (expr->getBasicType() != EbtInt && expr->getBasicType() != EbtUint)) {
  ------------------
  |  Branch (6053:13): [True: 0, False: 3.63k]
  |  Branch (6053:27): [True: 0, False: 3.63k]
  |  Branch (6053:61): [True: 0, False: 0]
  ------------------
 6054|      0|            error(loc, sizeType, "", "must be a constant integer expression");
 6055|      0|            return;
 6056|      0|        }
 6057|  3.63k|        if (size <= 0) {
  ------------------
  |  Branch (6057:13): [True: 0, False: 3.63k]
  ------------------
 6058|      0|            error(loc, sizeType, "", "must be a positive integer");
 6059|      0|            return;
 6060|      0|        }
 6061|  3.63k|    }
 6062|  3.69k|}
_ZN7glslang13TParseContext19arrayQualifierErrorERKNS_10TSourceLocERKNS_10TQualifierE:
 6070|    573|{
 6071|    573|    if (qualifier.storage == EvqConst) {
  ------------------
  |  Branch (6071:9): [True: 9, False: 564]
  ------------------
 6072|      9|        profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, "const array");
 6073|      9|        profileRequires(loc, EEsProfile, 300, nullptr, "const array");
 6074|      9|    }
 6075|       |
 6076|    573|    if (qualifier.storage == EvqVaryingIn && language == EShLangVertex) {
  ------------------
  |  Branch (6076:9): [True: 190, False: 383]
  |  Branch (6076:46): [True: 0, False: 190]
  ------------------
 6077|      0|        requireProfile(loc, ~EEsProfile, "vertex input arrays");
 6078|      0|        profileRequires(loc, ENoProfile, 150, nullptr, "vertex input arrays");
 6079|      0|    }
 6080|       |
 6081|    573|    return false;
 6082|    573|}
_ZN7glslang13TParseContext10arrayErrorERKNS_10TSourceLocERKNS_5TTypeE:
 6091|    573|{
 6092|    573|    if (type.getQualifier().storage == EvqVaryingOut && language == EShLangVertex) {
  ------------------
  |  Branch (6092:9): [True: 374, False: 199]
  |  Branch (6092:57): [True: 143, False: 231]
  ------------------
 6093|    143|        if (type.isArrayOfArrays())
  ------------------
  |  Branch (6093:13): [True: 0, False: 143]
  ------------------
 6094|      0|            requireProfile(loc, ~EEsProfile, "vertex-shader array-of-array output");
 6095|    143|        else if (type.isStruct())
  ------------------
  |  Branch (6095:18): [True: 0, False: 143]
  ------------------
 6096|      0|            requireProfile(loc, ~EEsProfile, "vertex-shader array-of-struct output");
 6097|    143|    }
 6098|    573|    if (type.getQualifier().storage == EvqVaryingIn && language == EShLangFragment) {
  ------------------
  |  Branch (6098:9): [True: 190, False: 383]
  |  Branch (6098:56): [True: 142, False: 48]
  ------------------
 6099|    142|        if (type.isArrayOfArrays())
  ------------------
  |  Branch (6099:13): [True: 0, False: 142]
  ------------------
 6100|      0|            requireProfile(loc, ~EEsProfile, "fragment-shader array-of-array input");
 6101|    142|        else if (type.isStruct())
  ------------------
  |  Branch (6101:18): [True: 0, False: 142]
  ------------------
 6102|      0|            requireProfile(loc, ~EEsProfile, "fragment-shader array-of-struct input");
 6103|    142|    }
 6104|    573|    if (type.getQualifier().storage == EvqVaryingOut && language == EShLangFragment) {
  ------------------
  |  Branch (6104:9): [True: 374, False: 199]
  |  Branch (6104:57): [True: 115, False: 259]
  ------------------
 6105|    115|        if (type.isArrayOfArrays())
  ------------------
  |  Branch (6105:13): [True: 0, False: 115]
  ------------------
 6106|      0|            requireProfile(loc, ~EEsProfile, "fragment-shader array-of-array output");
 6107|    115|    }
 6108|       |
 6109|    573|    return false;
 6110|    573|}
_ZN7glslang13TParseContext22arraySizeRequiredCheckERKNS_10TSourceLocERKNS_11TArraySizesE:
 6116|  9.88k|{
 6117|  9.88k|    if (!parsingBuiltins && arraySizes.hasUnsized())
  ------------------
  |  Branch (6117:9): [True: 0, False: 9.88k]
  |  Branch (6117:29): [True: 0, False: 0]
  ------------------
 6118|      0|        error(loc, "array size required", "", "");
 6119|  9.88k|}
_ZN7glslang13TParseContext16structArrayCheckERKNS_10TSourceLocERKNS_5TTypeE:
 6122|     10|{
 6123|     10|    const TTypeList& structure = *type.getStruct();
 6124|     60|    for (int m = 0; m < (int)structure.size(); ++m) {
  ------------------
  |  Branch (6124:21): [True: 50, False: 10]
  ------------------
 6125|     50|        const TType& member = *structure[m].type;
 6126|     50|        if (member.isArray())
  ------------------
  |  Branch (6126:13): [True: 0, False: 50]
  ------------------
 6127|      0|            arraySizeRequiredCheck(structure[m].loc, *member.getArraySizes());
 6128|     50|    }
 6129|     10|}
_ZN7glslang13TParseContext15arraySizesCheckERKNS_10TSourceLocERKNS_10TQualifierEPNS_11TArraySizesEPKNS_12TIntermTypedEb:
 6133|    861|{
 6134|    861|    assert(arraySizes);
 6135|       |
 6136|       |    // always allow special built-in ins/outs sized to topologies
 6137|    861|    if (parsingBuiltins)
  ------------------
  |  Branch (6137:9): [True: 852, False: 9]
  ------------------
 6138|    852|        return;
 6139|       |
 6140|       |    // initializer must be a sized array, in which case
 6141|       |    // allow the initializer to set any unknown array sizes
 6142|      9|    if (initializer != nullptr) {
  ------------------
  |  Branch (6142:9): [True: 9, False: 0]
  ------------------
 6143|      9|        if (initializer->getType().isUnsizedArray())
  ------------------
  |  Branch (6143:13): [True: 0, False: 9]
  ------------------
 6144|      0|            error(loc, "array initializer must be sized", "[]", "");
 6145|      9|        return;
 6146|      9|    }
 6147|       |
 6148|       |    // No environment allows any non-outer-dimension to be implicitly sized
 6149|      0|    if (arraySizes->isInnerUnsized()) {
  ------------------
  |  Branch (6149:9): [True: 0, False: 0]
  ------------------
 6150|      0|        error(loc, "only outermost dimension of an array of arrays can be implicitly sized", "[]", "");
 6151|      0|        arraySizes->clearInnerUnsized();
 6152|      0|    }
 6153|       |
 6154|      0|    if (arraySizes->isInnerSpecialization() &&
  ------------------
  |  Branch (6154:9): [True: 0, False: 0]
  ------------------
 6155|      0|        (qualifier.storage != EvqTemporary && qualifier.storage != EvqGlobal && qualifier.storage != EvqShared && qualifier.storage != EvqConst))
  ------------------
  |  Branch (6155:10): [True: 0, False: 0]
  |  Branch (6155:47): [True: 0, False: 0]
  |  Branch (6155:81): [True: 0, False: 0]
  |  Branch (6155:115): [True: 0, False: 0]
  ------------------
 6156|      0|        error(loc, "only outermost dimension of an array of arrays can be a specialization constant", "[]", "");
 6157|       |
 6158|       |    // desktop always allows outer-dimension-unsized variable arrays,
 6159|      0|    if (!isEsProfile())
  ------------------
  |  Branch (6159:9): [True: 0, False: 0]
  ------------------
 6160|      0|        return;
 6161|       |
 6162|       |    // for ES, if size isn't coming from an initializer, it has to be explicitly declared now,
 6163|       |    // with very few exceptions
 6164|       |
 6165|       |    // implicitly-sized io exceptions:
 6166|      0|    switch (language) {
 6167|      0|    case EShLangGeometry:
  ------------------
  |  Branch (6167:5): [True: 0, False: 0]
  ------------------
 6168|      0|        if (qualifier.storage == EvqVaryingIn)
  ------------------
  |  Branch (6168:13): [True: 0, False: 0]
  ------------------
 6169|      0|            if ((isEsProfile() && version >= 320) ||
  ------------------
  |  Branch (6169:18): [True: 0, False: 0]
  |  Branch (6169:35): [True: 0, False: 0]
  ------------------
 6170|      0|                extensionsTurnedOn(Num_AEP_geometry_shader, AEP_geometry_shader))
  ------------------
  |  Branch (6170:17): [True: 0, False: 0]
  ------------------
 6171|      0|                return;
 6172|      0|        break;
 6173|      0|    case EShLangTessControl:
  ------------------
  |  Branch (6173:5): [True: 0, False: 0]
  ------------------
 6174|      0|        if ( qualifier.storage == EvqVaryingIn ||
  ------------------
  |  Branch (6174:14): [True: 0, False: 0]
  ------------------
 6175|      0|            (qualifier.storage == EvqVaryingOut && ! qualifier.isPatch()))
  ------------------
  |  Branch (6175:14): [True: 0, False: 0]
  |  Branch (6175:52): [True: 0, False: 0]
  ------------------
 6176|      0|            if ((isEsProfile() && version >= 320) ||
  ------------------
  |  Branch (6176:18): [True: 0, False: 0]
  |  Branch (6176:35): [True: 0, False: 0]
  ------------------
 6177|      0|                extensionsTurnedOn(Num_AEP_tessellation_shader, AEP_tessellation_shader))
  ------------------
  |  Branch (6177:17): [True: 0, False: 0]
  ------------------
 6178|      0|                return;
 6179|      0|        break;
 6180|      0|    case EShLangTessEvaluation:
  ------------------
  |  Branch (6180:5): [True: 0, False: 0]
  ------------------
 6181|      0|        if ((qualifier.storage == EvqVaryingIn && ! qualifier.isPatch()) ||
  ------------------
  |  Branch (6181:14): [True: 0, False: 0]
  |  Branch (6181:51): [True: 0, False: 0]
  ------------------
 6182|      0|             qualifier.storage == EvqVaryingOut)
  ------------------
  |  Branch (6182:14): [True: 0, False: 0]
  ------------------
 6183|      0|            if ((isEsProfile() && version >= 320) ||
  ------------------
  |  Branch (6183:18): [True: 0, False: 0]
  |  Branch (6183:35): [True: 0, False: 0]
  ------------------
 6184|      0|                extensionsTurnedOn(Num_AEP_tessellation_shader, AEP_tessellation_shader))
  ------------------
  |  Branch (6184:17): [True: 0, False: 0]
  ------------------
 6185|      0|                return;
 6186|      0|        break;
 6187|      0|    case EShLangMesh:
  ------------------
  |  Branch (6187:5): [True: 0, False: 0]
  ------------------
 6188|      0|        if (qualifier.storage == EvqVaryingOut)
  ------------------
  |  Branch (6188:13): [True: 0, False: 0]
  ------------------
 6189|      0|            if ((isEsProfile() && version >= 320) ||
  ------------------
  |  Branch (6189:18): [True: 0, False: 0]
  |  Branch (6189:35): [True: 0, False: 0]
  ------------------
 6190|      0|                extensionsTurnedOn(Num_AEP_mesh_shader, AEP_mesh_shader))
  ------------------
  |  Branch (6190:17): [True: 0, False: 0]
  ------------------
 6191|      0|                return;
 6192|      0|        break;
 6193|      0|    default:
  ------------------
  |  Branch (6193:5): [True: 0, False: 0]
  ------------------
 6194|      0|        break;
 6195|      0|    }
 6196|       |
 6197|       |    // last member of ssbo block exception:
 6198|      0|    if (qualifier.storage == EvqBuffer && lastMember)
  ------------------
  |  Branch (6198:9): [True: 0, False: 0]
  |  Branch (6198:43): [True: 0, False: 0]
  ------------------
 6199|      0|        return;
 6200|       |
 6201|      0|    if (qualifier.storage == EvqUniform && lastMember && extensionTurnedOn(E_GL_EXT_uniform_buffer_unsized_array))
  ------------------
  |  Branch (6201:9): [True: 0, False: 0]
  |  Branch (6201:44): [True: 0, False: 0]
  |  Branch (6201:58): [True: 0, False: 0]
  ------------------
 6202|      0|        return;
 6203|       |
 6204|      0|    arraySizeRequiredCheck(loc, *arraySizes);
 6205|      0|}
_ZN7glslang13TParseContext24arrayOfArrayVersionCheckERKNS_10TSourceLocEPKNS_11TArraySizesE:
 6208|  26.3k|{
 6209|  26.3k|    if (sizes == nullptr || sizes->getNumDims() == 1)
  ------------------
  |  Branch (6209:9): [True: 15.2k, False: 11.0k]
  |  Branch (6209:29): [True: 10.9k, False: 42]
  ------------------
 6210|  26.2k|        return;
 6211|       |
 6212|     42|    const char* feature = "arrays of arrays";
 6213|       |
 6214|     42|    requireProfile(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, feature);
 6215|     42|    profileRequires(loc, EEsProfile, 310, nullptr, feature);
 6216|     42|    profileRequires(loc, ECoreProfile | ECompatibilityProfile, 430, nullptr, feature);
 6217|     42|}
_ZN7glslang13TParseContext12declareArrayERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_5TTypeERPNS_7TSymbolE:
 6224|    573|{
 6225|    573|    if (symbol == nullptr) {
  ------------------
  |  Branch (6225:9): [True: 573, False: 0]
  ------------------
 6226|    573|        bool currentScope;
 6227|    573|        symbol = symbolTable.find(identifier, nullptr, &currentScope);
 6228|       |
 6229|    573|        if (symbol && builtInName(identifier) && ! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (6229:13): [True: 0, False: 573]
  |  Branch (6229:23): [True: 0, False: 0]
  |  Branch (6229:50): [True: 0, False: 0]
  ------------------
 6230|       |            // bad shader (errors already reported) trying to redeclare a built-in name as an array
 6231|      0|            symbol = nullptr;
 6232|      0|            return;
 6233|      0|        }
 6234|    573|        if (symbol == nullptr || ! currentScope) {
  ------------------
  |  Branch (6234:13): [True: 573, False: 0]
  |  Branch (6234:34): [True: 0, False: 0]
  ------------------
 6235|       |            //
 6236|       |            // Successfully process a new definition.
 6237|       |            // (Redeclarations have to take place at the same scope; otherwise they are hiding declarations)
 6238|       |            //
 6239|    573|            symbol = new TVariable(&identifier, type);
 6240|    573|            symbolTable.insert(*symbol);
 6241|    573|            if (symbolTable.atGlobalLevel())
  ------------------
  |  Branch (6241:17): [True: 570, False: 3]
  ------------------
 6242|    570|                trackLinkage(*symbol);
 6243|       |
 6244|    573|            if (! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (6244:17): [True: 9, False: 564]
  ------------------
 6245|      9|                if (isIoResizeArray(type)) {
  ------------------
  |  Branch (6245:21): [True: 0, False: 9]
  ------------------
 6246|      0|                    ioArraySymbolResizeList.push_back(symbol);
 6247|      0|                    checkIoArraysConsistency(loc, true);
 6248|      0|                } else
 6249|      9|                    fixIoArraySize(loc, symbol->getWritableType());
 6250|      9|            }
 6251|       |
 6252|    573|            return;
 6253|    573|        }
 6254|      0|        if (symbol->getAsAnonMember()) {
  ------------------
  |  Branch (6254:13): [True: 0, False: 0]
  ------------------
 6255|      0|            error(loc, "cannot redeclare a user-block member array", identifier.c_str(), "");
 6256|      0|            symbol = nullptr;
 6257|      0|            return;
 6258|      0|        }
 6259|      0|    }
 6260|       |
 6261|       |    //
 6262|       |    // Process a redeclaration.
 6263|       |    //
 6264|       |
 6265|      0|    if (symbol == nullptr) {
  ------------------
  |  Branch (6265:9): [True: 0, False: 0]
  ------------------
 6266|      0|        error(loc, "array variable name expected", identifier.c_str(), "");
 6267|      0|        return;
 6268|      0|    }
 6269|       |
 6270|       |    // redeclareBuiltinVariable() should have already done the copyUp()
 6271|      0|    TType& existingType = symbol->getWritableType();
 6272|       |
 6273|      0|    if (! existingType.isArray()) {
  ------------------
  |  Branch (6273:9): [True: 0, False: 0]
  ------------------
 6274|      0|        error(loc, "redeclaring non-array as array", identifier.c_str(), "");
 6275|      0|        return;
 6276|      0|    }
 6277|       |
 6278|      0|    if (! existingType.sameElementType(type)) {
  ------------------
  |  Branch (6278:9): [True: 0, False: 0]
  ------------------
 6279|      0|        error(loc, "redeclaration of array with a different element type", identifier.c_str(), "");
 6280|      0|        return;
 6281|      0|    }
 6282|       |
 6283|      0|    if (! existingType.sameInnerArrayness(type)) {
  ------------------
  |  Branch (6283:9): [True: 0, False: 0]
  ------------------
 6284|      0|        error(loc, "redeclaration of array with a different array dimensions or sizes", identifier.c_str(), "");
 6285|      0|        return;
 6286|      0|    }
 6287|       |
 6288|      0|    if (existingType.isSizedArray()) {
  ------------------
  |  Branch (6288:9): [True: 0, False: 0]
  ------------------
 6289|       |        // be more leniant for input arrays to geometry shaders and tessellation control outputs, where the redeclaration is the same size
 6290|      0|        if (! (isIoResizeArray(type) && existingType.getOuterArraySize() == type.getOuterArraySize()))
  ------------------
  |  Branch (6290:16): [True: 0, False: 0]
  |  Branch (6290:41): [True: 0, False: 0]
  ------------------
 6291|      0|            error(loc, "redeclaration of array with size", identifier.c_str(), "");
 6292|      0|        return;
 6293|      0|    }
 6294|       |
 6295|      0|    arrayLimitCheck(loc, identifier, type.getOuterArraySize());
 6296|       |
 6297|      0|    existingType.updateArraySizes(type);
 6298|       |
 6299|      0|    if (isIoResizeArray(type))
  ------------------
  |  Branch (6299:9): [True: 0, False: 0]
  ------------------
 6300|      0|        checkIoArraysConsistency(loc);
 6301|      0|}
_ZN7glslang13TParseContext25checkAndResizeMeshViewDimERKNS_10TSourceLocERNS_5TTypeEb:
 6375|  15.6k|{
 6376|       |    // see if member is a per-view attribute
 6377|  15.6k|    if (!type.getQualifier().isPerView())
  ------------------
  |  Branch (6377:9): [True: 15.5k, False: 25]
  ------------------
 6378|  15.5k|        return;
 6379|       |
 6380|     25|    if ((isBlockMember && type.isArray()) || (!isBlockMember && type.isArrayOfArrays())) {
  ------------------
  |  Branch (6380:10): [True: 25, False: 0]
  |  Branch (6380:27): [True: 25, False: 0]
  |  Branch (6380:47): [True: 0, False: 0]
  |  Branch (6380:65): [True: 0, False: 0]
  ------------------
 6381|       |        // since we don't have the maxMeshViewCountNV set during parsing builtins, we hardcode the value.
 6382|     25|        int maxViewCount = parsingBuiltins ? 4 : resources.maxMeshViewCountNV;
  ------------------
  |  Branch (6382:28): [True: 25, False: 0]
  ------------------
 6383|       |        // For block members, outermost array dimension is the view dimension.
 6384|       |        // For non-block members, outermost array dimension is the vertex/primitive dimension
 6385|       |        // and 2nd outermost is the view dimension.
 6386|     25|        int viewDim = isBlockMember ? 0 : 1;
  ------------------
  |  Branch (6386:23): [True: 25, False: 0]
  ------------------
 6387|     25|        int viewDimSize = type.getArraySizes()->getDimSize(viewDim);
 6388|       |
 6389|     25|        if (viewDimSize != UnsizedArraySize && viewDimSize != maxViewCount)
  ------------------
  |  Branch (6389:13): [True: 0, False: 25]
  |  Branch (6389:48): [True: 0, False: 0]
  ------------------
 6390|      0|            error(loc, "mesh view output array size must be gl_MaxMeshViewCountNV or implicitly sized", "[]", "");
 6391|     25|        else if (viewDimSize == UnsizedArraySize)
  ------------------
  |  Branch (6391:18): [True: 25, False: 0]
  ------------------
 6392|     25|            type.getArraySizes()->setDimSize(viewDim, maxViewCount);
 6393|     25|    }
 6394|      0|    else {
 6395|      0|        error(loc, "requires a view array dimension", "perviewNV", "");
 6396|      0|    }
 6397|     25|}
_ZN7glslang13TParseContext17nonInitConstCheckERKNS_10TSourceLocERNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERNS_5TTypeE:
 6417|  10.6k|{
 6418|       |    //
 6419|       |    // Make the qualifier make sense, given that there is not an initializer.
 6420|       |    //
 6421|  10.6k|    if (type.getQualifier().storage == EvqConst ||
  ------------------
  |  Branch (6421:9): [True: 0, False: 10.6k]
  ------------------
 6422|  10.6k|        type.getQualifier().storage == EvqConstReadOnly) {
  ------------------
  |  Branch (6422:9): [True: 0, False: 10.6k]
  ------------------
 6423|      0|        type.getQualifier().makeTemporary();
 6424|      0|        error(loc, "variables with qualifier 'const' must be initialized", identifier.c_str(), "");
 6425|      0|    }
 6426|  10.6k|}
_ZN7glslang13TParseContext24redeclareBuiltinVariableERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_10TQualifierERKNS_17TShaderQualifiersE:
 6440|  15.5k|{
 6441|  15.5k|    if (! builtInName(identifier) || symbolTable.atBuiltInLevel() || ! symbolTable.atGlobalLevel())
  ------------------
  |  Branch (6441:9): [True: 600, False: 14.9k]
  |  Branch (6441:38): [True: 14.9k, False: 0]
  |  Branch (6441:70): [True: 0, False: 0]
  ------------------
 6442|  15.5k|        return nullptr;
 6443|       |
 6444|      0|    bool nonEsRedecls = (!isEsProfile() && (version >= 130 || identifier == "gl_TexCoord"));
  ------------------
  |  Branch (6444:26): [True: 0, False: 0]
  |  Branch (6444:45): [True: 0, False: 0]
  |  Branch (6444:63): [True: 0, False: 0]
  ------------------
 6445|      0|    bool    esRedecls = (isEsProfile() &&
  ------------------
  |  Branch (6445:26): [True: 0, False: 0]
  ------------------
 6446|      0|                         (version >= 320 || extensionsTurnedOn(Num_AEP_shader_io_blocks, AEP_shader_io_blocks) ||
  ------------------
  |  Branch (6446:27): [True: 0, False: 0]
  |  Branch (6446:45): [True: 0, False: 0]
  ------------------
 6447|      0|                          (identifier == "gl_FragDepth" && extensionTurnedOn(E_GL_EXT_conservative_depth))));
  ------------------
  |  Branch (6447:28): [True: 0, False: 0]
  |  Branch (6447:60): [True: 0, False: 0]
  ------------------
 6448|      0|    if (! esRedecls && ! nonEsRedecls)
  ------------------
  |  Branch (6448:9): [True: 0, False: 0]
  |  Branch (6448:24): [True: 0, False: 0]
  ------------------
 6449|      0|        return nullptr;
 6450|       |
 6451|       |    // Special case when using GL_ARB_separate_shader_objects
 6452|      0|    bool ssoPre150 = false;  // means the only reason this variable is redeclared is due to this combination
 6453|      0|    if (!isEsProfile() && version <= 140 && extensionTurnedOn(E_GL_ARB_separate_shader_objects)) {
  ------------------
  |  Branch (6453:9): [True: 0, False: 0]
  |  Branch (6453:27): [True: 0, False: 0]
  |  Branch (6453:45): [True: 0, False: 0]
  ------------------
 6454|      0|        if (identifier == "gl_Position"     ||
  ------------------
  |  Branch (6454:13): [True: 0, False: 0]
  ------------------
 6455|      0|            identifier == "gl_PointSize"    ||
  ------------------
  |  Branch (6455:13): [True: 0, False: 0]
  ------------------
 6456|      0|            identifier == "gl_ClipVertex"   ||
  ------------------
  |  Branch (6456:13): [True: 0, False: 0]
  ------------------
 6457|      0|            identifier == "gl_FogFragCoord")
  ------------------
  |  Branch (6457:13): [True: 0, False: 0]
  ------------------
 6458|      0|            ssoPre150 = true;
 6459|      0|    }
 6460|       |
 6461|       |    // Potentially redeclaring a built-in variable...
 6462|       |
 6463|      0|    if (ssoPre150 ||
  ------------------
  |  Branch (6463:9): [True: 0, False: 0]
  ------------------
 6464|      0|        (identifier == "gl_FragDepth"           && ((nonEsRedecls && version >= 420) || esRedecls)) ||
  ------------------
  |  Branch (6464:10): [True: 0, False: 0]
  |  Branch (6464:54): [True: 0, False: 0]
  |  Branch (6464:70): [True: 0, False: 0]
  |  Branch (6464:89): [True: 0, False: 0]
  ------------------
 6465|      0|        (identifier == "gl_FragCoord"           && ((nonEsRedecls && version >= 140) || esRedecls)) ||
  ------------------
  |  Branch (6465:10): [True: 0, False: 0]
  |  Branch (6465:54): [True: 0, False: 0]
  |  Branch (6465:70): [True: 0, False: 0]
  |  Branch (6465:89): [True: 0, False: 0]
  ------------------
 6466|      0|         identifier == "gl_ClipDistance"                                                            ||
  ------------------
  |  Branch (6466:10): [True: 0, False: 0]
  ------------------
 6467|      0|         identifier == "gl_CullDistance"                                                            ||
  ------------------
  |  Branch (6467:10): [True: 0, False: 0]
  ------------------
 6468|      0|         identifier == "gl_ShadingRateEXT"                                                          ||
  ------------------
  |  Branch (6468:10): [True: 0, False: 0]
  ------------------
 6469|      0|         identifier == "gl_PrimitiveShadingRateEXT"                                                 ||
  ------------------
  |  Branch (6469:10): [True: 0, False: 0]
  ------------------
 6470|      0|         identifier == "gl_FrontColor"                                                              ||
  ------------------
  |  Branch (6470:10): [True: 0, False: 0]
  ------------------
 6471|      0|         identifier == "gl_BackColor"                                                               ||
  ------------------
  |  Branch (6471:10): [True: 0, False: 0]
  ------------------
 6472|      0|         identifier == "gl_FrontSecondaryColor"                                                     ||
  ------------------
  |  Branch (6472:10): [True: 0, False: 0]
  ------------------
 6473|      0|         identifier == "gl_BackSecondaryColor"                                                      ||
  ------------------
  |  Branch (6473:10): [True: 0, False: 0]
  ------------------
 6474|      0|         identifier == "gl_SecondaryColor"                                                          ||
  ------------------
  |  Branch (6474:10): [True: 0, False: 0]
  ------------------
 6475|      0|        (identifier == "gl_Color"               && language == EShLangFragment)                     ||
  ------------------
  |  Branch (6475:10): [True: 0, False: 0]
  |  Branch (6475:52): [True: 0, False: 0]
  ------------------
 6476|      0|        (identifier == "gl_FragStencilRefARB"   && (nonEsRedecls && version >= 140)
  ------------------
  |  Branch (6476:10): [True: 0, False: 0]
  |  Branch (6476:53): [True: 0, False: 0]
  |  Branch (6476:69): [True: 0, False: 0]
  ------------------
 6477|      0|                                                && language == EShLangFragment)                     ||
  ------------------
  |  Branch (6477:52): [True: 0, False: 0]
  ------------------
 6478|      0|         identifier == "gl_SampleMask"                                                              ||
  ------------------
  |  Branch (6478:10): [True: 0, False: 0]
  ------------------
 6479|      0|         identifier == "gl_EnableOpacityMicromapEXT"                                                ||
  ------------------
  |  Branch (6479:10): [True: 0, False: 0]
  ------------------
 6480|      0|         identifier == "gl_Layer"                                                                   ||
  ------------------
  |  Branch (6480:10): [True: 0, False: 0]
  ------------------
 6481|      0|         identifier == "gl_PrimitiveIndicesNV"                                                      ||
  ------------------
  |  Branch (6481:10): [True: 0, False: 0]
  ------------------
 6482|      0|         identifier == "gl_PrimitivePointIndicesEXT"                                                ||
  ------------------
  |  Branch (6482:10): [True: 0, False: 0]
  ------------------
 6483|      0|         identifier == "gl_PrimitiveLineIndicesEXT"                                                 ||
  ------------------
  |  Branch (6483:10): [True: 0, False: 0]
  ------------------
 6484|      0|         identifier == "gl_PrimitiveTriangleIndicesEXT"                                             ||
  ------------------
  |  Branch (6484:10): [True: 0, False: 0]
  ------------------
 6485|      0|         identifier == "gl_TexCoord") {
  ------------------
  |  Branch (6485:10): [True: 0, False: 0]
  ------------------
 6486|       |
 6487|       |        // Find the existing symbol, if any.
 6488|      0|        bool builtIn;
 6489|      0|        TSymbol* symbol = symbolTable.find(identifier, &builtIn);
 6490|       |
 6491|       |        // If the symbol was not found, this must be a version/profile/stage
 6492|       |        // that doesn't have it.
 6493|      0|        if (! symbol)
  ------------------
  |  Branch (6493:13): [True: 0, False: 0]
  ------------------
 6494|      0|            return nullptr;
 6495|       |
 6496|       |        // If it wasn't at a built-in level, then it's already been redeclared;
 6497|       |        // that is, this is a redeclaration of a redeclaration; reuse that initial
 6498|       |        // redeclaration.  Otherwise, make the new one.
 6499|      0|        if (builtIn) {
  ------------------
  |  Branch (6499:13): [True: 0, False: 0]
  ------------------
 6500|      0|            makeEditable(symbol);
 6501|      0|            symbolTable.amendSymbolIdLevel(*symbol);
 6502|      0|        }
 6503|       |
 6504|       |        // Now, modify the type of the copy, as per the type of the current redeclaration.
 6505|       |
 6506|      0|        TQualifier& symbolQualifier = symbol->getWritableType().getQualifier();
 6507|      0|        if (ssoPre150) {
  ------------------
  |  Branch (6507:13): [True: 0, False: 0]
  ------------------
 6508|      0|            if (intermediate.inIoAccessed(identifier))
  ------------------
  |  Branch (6508:17): [True: 0, False: 0]
  ------------------
 6509|      0|                error(loc, "cannot redeclare after use", identifier.c_str(), "");
 6510|      0|            if (qualifier.hasLayout())
  ------------------
  |  Branch (6510:17): [True: 0, False: 0]
  ------------------
 6511|      0|                error(loc, "cannot apply layout qualifier to", "redeclaration", symbol->getName().c_str());
 6512|      0|            if (qualifier.isMemory() || qualifier.isAuxiliary() || (language == EShLangVertex   && qualifier.storage != EvqVaryingOut) ||
  ------------------
  |  Branch (6512:17): [True: 0, False: 0]
  |  Branch (6512:41): [True: 0, False: 0]
  |  Branch (6512:69): [True: 0, False: 0]
  |  Branch (6512:100): [True: 0, False: 0]
  ------------------
 6513|      0|                                                                   (language == EShLangFragment && qualifier.storage != EvqVaryingIn))
  ------------------
  |  Branch (6513:69): [True: 0, False: 0]
  |  Branch (6513:100): [True: 0, False: 0]
  ------------------
 6514|      0|                error(loc, "cannot change storage, memory, or auxiliary qualification of", "redeclaration", symbol->getName().c_str());
 6515|      0|            if (! qualifier.smooth)
  ------------------
  |  Branch (6515:17): [True: 0, False: 0]
  ------------------
 6516|      0|                error(loc, "cannot change interpolation qualification of", "redeclaration", symbol->getName().c_str());
 6517|      0|        } else if (identifier == "gl_FrontColor"          ||
  ------------------
  |  Branch (6517:20): [True: 0, False: 0]
  ------------------
 6518|      0|                   identifier == "gl_BackColor"           ||
  ------------------
  |  Branch (6518:20): [True: 0, False: 0]
  ------------------
 6519|      0|                   identifier == "gl_FrontSecondaryColor" ||
  ------------------
  |  Branch (6519:20): [True: 0, False: 0]
  ------------------
 6520|      0|                   identifier == "gl_BackSecondaryColor"  ||
  ------------------
  |  Branch (6520:20): [True: 0, False: 0]
  ------------------
 6521|      0|                   identifier == "gl_SecondaryColor"      ||
  ------------------
  |  Branch (6521:20): [True: 0, False: 0]
  ------------------
 6522|      0|                   identifier == "gl_Color") {
  ------------------
  |  Branch (6522:20): [True: 0, False: 0]
  ------------------
 6523|      0|            symbolQualifier.flat = qualifier.flat;
 6524|      0|            symbolQualifier.smooth = qualifier.smooth;
 6525|      0|            symbolQualifier.nopersp = qualifier.nopersp;
 6526|      0|            if (qualifier.hasLayout())
  ------------------
  |  Branch (6526:17): [True: 0, False: 0]
  ------------------
 6527|      0|                error(loc, "cannot apply layout qualifier to", "redeclaration", symbol->getName().c_str());
 6528|      0|            if (qualifier.isMemory() || qualifier.isAuxiliary() || symbol->getType().getQualifier().storage != qualifier.storage)
  ------------------
  |  Branch (6528:17): [True: 0, False: 0]
  |  Branch (6528:41): [True: 0, False: 0]
  |  Branch (6528:68): [True: 0, False: 0]
  ------------------
 6529|      0|                error(loc, "cannot change storage, memory, or auxiliary qualification of", "redeclaration", symbol->getName().c_str());
 6530|      0|        } else if (identifier == "gl_TexCoord"     ||
  ------------------
  |  Branch (6530:20): [True: 0, False: 0]
  ------------------
 6531|      0|                   identifier == "gl_ClipDistance" ||
  ------------------
  |  Branch (6531:20): [True: 0, False: 0]
  ------------------
 6532|      0|                   identifier == "gl_CullDistance") {
  ------------------
  |  Branch (6532:20): [True: 0, False: 0]
  ------------------
 6533|      0|            if (qualifier.hasLayout() || qualifier.isMemory() || qualifier.isAuxiliary() ||
  ------------------
  |  Branch (6533:17): [True: 0, False: 0]
  |  Branch (6533:42): [True: 0, False: 0]
  |  Branch (6533:66): [True: 0, False: 0]
  ------------------
 6534|      0|                qualifier.nopersp != symbolQualifier.nopersp || qualifier.flat != symbolQualifier.flat ||
  ------------------
  |  Branch (6534:17): [True: 0, False: 0]
  |  Branch (6534:65): [True: 0, False: 0]
  ------------------
 6535|      0|                symbolQualifier.storage != qualifier.storage)
  ------------------
  |  Branch (6535:17): [True: 0, False: 0]
  ------------------
 6536|      0|                error(loc, "cannot change qualification of", "redeclaration", symbol->getName().c_str());
 6537|      0|        } else if (identifier == "gl_FragCoord") {
  ------------------
  |  Branch (6537:20): [True: 0, False: 0]
  ------------------
 6538|      0|            if (!intermediate.getTexCoordRedeclared() && intermediate.inIoAccessed("gl_FragCoord"))
  ------------------
  |  Branch (6538:17): [True: 0, False: 0]
  |  Branch (6538:17): [True: 0, False: 0]
  |  Branch (6538:58): [True: 0, False: 0]
  ------------------
 6539|      0|                error(loc, "cannot redeclare after use", "gl_FragCoord", "");
 6540|      0|            if (qualifier.nopersp != symbolQualifier.nopersp || qualifier.flat != symbolQualifier.flat ||
  ------------------
  |  Branch (6540:17): [True: 0, False: 0]
  |  Branch (6540:65): [True: 0, False: 0]
  ------------------
 6541|      0|                qualifier.isMemory() || qualifier.isAuxiliary())
  ------------------
  |  Branch (6541:17): [True: 0, False: 0]
  |  Branch (6541:41): [True: 0, False: 0]
  ------------------
 6542|      0|                error(loc, "can only change layout qualification of", "redeclaration", symbol->getName().c_str());
 6543|      0|            if (qualifier.storage != EvqVaryingIn)
  ------------------
  |  Branch (6543:17): [True: 0, False: 0]
  ------------------
 6544|      0|                error(loc, "cannot change input storage qualification of", "redeclaration", symbol->getName().c_str());
 6545|      0|            if (! builtIn && (publicType.pixelCenterInteger != intermediate.getPixelCenterInteger() ||
  ------------------
  |  Branch (6545:17): [True: 0, False: 0]
  |  Branch (6545:31): [True: 0, False: 0]
  ------------------
 6546|      0|                              publicType.originUpperLeft != intermediate.getOriginUpperLeft()))
  ------------------
  |  Branch (6546:31): [True: 0, False: 0]
  ------------------
 6547|      0|                error(loc, "cannot redeclare with different qualification:", "redeclaration", symbol->getName().c_str());
 6548|       |
 6549|       |
 6550|      0|            intermediate.setTexCoordRedeclared();
 6551|      0|            if (publicType.pixelCenterInteger)
  ------------------
  |  Branch (6551:17): [True: 0, False: 0]
  ------------------
 6552|      0|                intermediate.setPixelCenterInteger();
 6553|      0|            if (publicType.originUpperLeft)
  ------------------
  |  Branch (6553:17): [True: 0, False: 0]
  ------------------
 6554|      0|                intermediate.setOriginUpperLeft();
 6555|      0|        } else if (identifier == "gl_FragDepth") {
  ------------------
  |  Branch (6555:20): [True: 0, False: 0]
  ------------------
 6556|      0|            if (qualifier.nopersp != symbolQualifier.nopersp || qualifier.flat != symbolQualifier.flat ||
  ------------------
  |  Branch (6556:17): [True: 0, False: 0]
  |  Branch (6556:65): [True: 0, False: 0]
  ------------------
 6557|      0|                qualifier.isMemory() || qualifier.isAuxiliary())
  ------------------
  |  Branch (6557:17): [True: 0, False: 0]
  |  Branch (6557:41): [True: 0, False: 0]
  ------------------
 6558|      0|                error(loc, "can only change layout qualification of", "redeclaration", symbol->getName().c_str());
 6559|      0|            if (qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (6559:17): [True: 0, False: 0]
  ------------------
 6560|      0|                error(loc, "cannot change output storage qualification of", "redeclaration", symbol->getName().c_str());
 6561|      0|            if (publicType.layoutDepth != EldNone) {
  ------------------
  |  Branch (6561:17): [True: 0, False: 0]
  ------------------
 6562|      0|                if (intermediate.inIoAccessed("gl_FragDepth"))
  ------------------
  |  Branch (6562:21): [True: 0, False: 0]
  ------------------
 6563|      0|                    error(loc, "cannot redeclare after use", "gl_FragDepth", "");
 6564|      0|                if (! intermediate.setDepth(publicType.layoutDepth))
  ------------------
  |  Branch (6564:21): [True: 0, False: 0]
  ------------------
 6565|      0|                    error(loc, "all redeclarations must use the same depth layout on", "redeclaration", symbol->getName().c_str());
 6566|      0|            }
 6567|      0|        } else if (identifier == "gl_FragStencilRefARB") {
  ------------------
  |  Branch (6567:20): [True: 0, False: 0]
  ------------------
 6568|      0|            if (qualifier.nopersp != symbolQualifier.nopersp || qualifier.flat != symbolQualifier.flat ||
  ------------------
  |  Branch (6568:17): [True: 0, False: 0]
  |  Branch (6568:65): [True: 0, False: 0]
  ------------------
 6569|      0|                qualifier.isMemory() || qualifier.isAuxiliary())
  ------------------
  |  Branch (6569:17): [True: 0, False: 0]
  |  Branch (6569:41): [True: 0, False: 0]
  ------------------
 6570|      0|                error(loc, "can only change layout qualification of", "redeclaration", symbol->getName().c_str());
 6571|      0|            if (qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (6571:17): [True: 0, False: 0]
  ------------------
 6572|      0|                error(loc, "cannot change output storage qualification of", "redeclaration", symbol->getName().c_str());
 6573|      0|            if (publicType.layoutStencil != ElsNone) {
  ------------------
  |  Branch (6573:17): [True: 0, False: 0]
  ------------------
 6574|      0|                if (intermediate.inIoAccessed("gl_FragStencilRefARB"))
  ------------------
  |  Branch (6574:21): [True: 0, False: 0]
  ------------------
 6575|      0|                    error(loc, "cannot redeclare after use", "gl_FragStencilRefARB", "");
 6576|      0|                if (!intermediate.setStencil(publicType.layoutStencil))
  ------------------
  |  Branch (6576:21): [True: 0, False: 0]
  ------------------
 6577|      0|                    error(loc, "all redeclarations must use the same stencil layout on", "redeclaration",
 6578|      0|                          symbol->getName().c_str());
 6579|      0|            }
 6580|      0|        }
 6581|      0|        else if (
 6582|      0|            identifier == "gl_PrimitiveIndicesNV") {
  ------------------
  |  Branch (6582:13): [True: 0, False: 0]
  ------------------
 6583|      0|            if (qualifier.hasLayout())
  ------------------
  |  Branch (6583:17): [True: 0, False: 0]
  ------------------
 6584|      0|                error(loc, "cannot apply layout qualifier to", "redeclaration", 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", symbol->getName().c_str());
 6587|      0|        }
 6588|      0|        else if (identifier == "gl_SampleMask") {
  ------------------
  |  Branch (6588:18): [True: 0, False: 0]
  ------------------
 6589|      0|            if (!publicType.layoutOverrideCoverage) {
  ------------------
  |  Branch (6589:17): [True: 0, False: 0]
  ------------------
 6590|      0|                error(loc, "redeclaration only allowed for override_coverage layout", "redeclaration", symbol->getName().c_str());
 6591|      0|            }
 6592|      0|            intermediate.setLayoutOverrideCoverage();
 6593|      0|        }
 6594|      0|        else if (identifier == "gl_Layer") {
  ------------------
  |  Branch (6594:18): [True: 0, False: 0]
  ------------------
 6595|      0|            if (!qualifier.layoutViewportRelative && qualifier.layoutSecondaryViewportRelativeOffset == -2048)
  ------------------
  |  Branch (6595:17): [True: 0, False: 0]
  |  Branch (6595:54): [True: 0, False: 0]
  ------------------
 6596|      0|                error(loc, "redeclaration only allowed for viewport_relative or secondary_view_offset layout", "redeclaration", symbol->getName().c_str());
 6597|      0|            symbolQualifier.layoutViewportRelative = qualifier.layoutViewportRelative;
 6598|      0|            symbolQualifier.layoutSecondaryViewportRelativeOffset = qualifier.layoutSecondaryViewportRelativeOffset;
 6599|      0|        }
 6600|      0|        else if (identifier == "gl_EnableOpacityMicromapEXT") {
  ------------------
  |  Branch (6600:18): [True: 0, False: 0]
  ------------------
 6601|       |            // GL_EXT_opacity_micromap_ray_query_mode. This branch handles the full-redeclaration form
 6602|       |            //   const bool gl_EnableOpacityMicromapEXT = <true|false>;
 6603|       |            // which sets the built-in's value (emitted as OpConstantTrue/OpConstantFalse). The
 6604|       |            // specialization-constant form is the bare "layout(constant_id = N) gl_EnableOpacityMicromapEXT;"
 6605|       |            // (handled in addQualifierToExisting); per the extension it is not valid to restate the type
 6606|       |            // or specify a value together with constant_id.
 6607|      0|            requireExtensions(loc, 1, &E_GL_EXT_opacity_micromap_ray_query_mode, "gl_EnableOpacityMicromapEXT redeclaration");
 6608|      0|            if (qualifier.hasSpecConstantId())
  ------------------
  |  Branch (6608:17): [True: 0, False: 0]
  ------------------
 6609|      0|                error(loc, "cannot restate the type or specify a value with constant_id; use "
 6610|      0|                           "'layout(constant_id = N) gl_EnableOpacityMicromapEXT;'", "redeclaration",
 6611|      0|                      symbol->getName().c_str());
 6612|      0|            else if (qualifier.storage != EvqConst)
  ------------------
  |  Branch (6612:22): [True: 0, False: 0]
  ------------------
 6613|      0|                error(loc, "can only be redeclared as 'const bool gl_EnableOpacityMicromapEXT = <true|false>;' "
 6614|      0|                           "or 'layout(constant_id = N) gl_EnableOpacityMicromapEXT;'", "redeclaration",
 6615|      0|                      symbol->getName().c_str());
 6616|       |            // For the valid 'const bool = <true|false>;' form the value is captured from the initializer
 6617|       |            // after it is processed (see declareVariable); nothing else to do to the symbol's qualifier here.
 6618|      0|        }
 6619|       |
 6620|       |        // TODO: semantics quality: separate smooth from nothing declared, then use IsInterpolation for several tests above
 6621|       |
 6622|      0|        return symbol;
 6623|      0|    }
 6624|       |
 6625|      0|    return nullptr;
 6626|      0|}
_ZN7glslang13TParseContext20paramCheckFixStorageERKNS_10TSourceLocERKNS_17TStorageQualifierERNS_5TTypeE:
 6853|  1.27M|{
 6854|  1.27M|    switch (qualifier) {
 6855|      0|    case EvqConst:
  ------------------
  |  Branch (6855:5): [True: 0, False: 1.27M]
  ------------------
 6856|      0|    case EvqConstReadOnly:
  ------------------
  |  Branch (6856:5): [True: 0, False: 1.27M]
  ------------------
 6857|      0|        type.getQualifier().storage = EvqConstReadOnly;
 6858|      0|        break;
 6859|     55|    case EvqIn:
  ------------------
  |  Branch (6859:5): [True: 55, False: 1.27M]
  ------------------
 6860|  12.6k|    case EvqOut:
  ------------------
  |  Branch (6860:5): [True: 12.5k, False: 1.26M]
  ------------------
 6861|  13.3k|    case EvqInOut:
  ------------------
  |  Branch (6861:5): [True: 700, False: 1.27M]
  ------------------
 6862|  13.3k|    case EvqTileImageEXT:
  ------------------
  |  Branch (6862:5): [True: 0, False: 1.27M]
  ------------------
 6863|  13.3k|        type.getQualifier().storage = qualifier;
 6864|  13.3k|        break;
 6865|  48.5k|    case EvqGlobal:
  ------------------
  |  Branch (6865:5): [True: 48.5k, False: 1.23M]
  ------------------
 6866|  1.26M|    case EvqTemporary:
  ------------------
  |  Branch (6866:5): [True: 1.21M, False: 61.9k]
  ------------------
 6867|  1.26M|        type.getQualifier().storage = EvqIn;
 6868|  1.26M|        break;
 6869|      0|    default:
  ------------------
  |  Branch (6869:5): [True: 0, False: 1.27M]
  ------------------
 6870|      0|        type.getQualifier().storage = EvqIn;
 6871|      0|        error(loc, "storage qualifier not allowed on function parameter", GetStorageQualifierString(qualifier), "");
 6872|      0|        break;
 6873|  1.27M|    }
 6874|  1.27M|}
_ZN7glslang13TParseContext13paramCheckFixERKNS_10TSourceLocERKNS_10TQualifierERNS_5TTypeE:
 6877|   120k|{
 6878|   120k|    if (qualifier.isMemory()) {
  ------------------
  |  Branch (6878:9): [True: 59.3k, False: 61.2k]
  ------------------
 6879|  59.3k|        type.getQualifier().volatil   = qualifier.volatil;
 6880|  59.3k|        type.getQualifier().nontemporal   = qualifier.nontemporal;
 6881|  59.3k|        type.getQualifier().coherent  = qualifier.coherent;
 6882|  59.3k|        type.getQualifier().devicecoherent  = qualifier.devicecoherent ;
 6883|  59.3k|        type.getQualifier().queuefamilycoherent  = qualifier.queuefamilycoherent;
 6884|  59.3k|        type.getQualifier().workgroupcoherent  = qualifier.workgroupcoherent;
 6885|  59.3k|        type.getQualifier().subgroupcoherent  = qualifier.subgroupcoherent;
 6886|  59.3k|        type.getQualifier().shadercallcoherent = qualifier.shadercallcoherent;
 6887|  59.3k|        type.getQualifier().nonprivate = qualifier.nonprivate;
 6888|  59.3k|        type.getQualifier().readonly  = qualifier.readonly;
 6889|  59.3k|        type.getQualifier().writeonly = qualifier.writeonly;
 6890|  59.3k|        type.getQualifier().restrict  = qualifier.restrict;
 6891|  59.3k|    }
 6892|       |
 6893|   120k|    if (qualifier.isAuxiliary() ||
  ------------------
  |  Branch (6893:9): [True: 0, False: 120k]
  ------------------
 6894|   120k|        qualifier.isInterpolation())
  ------------------
  |  Branch (6894:9): [True: 0, False: 120k]
  ------------------
 6895|      0|        error(loc, "cannot use auxiliary or interpolation qualifiers on a function parameter", "", "");
 6896|   120k|    if (qualifier.hasLayout())
  ------------------
  |  Branch (6896:9): [True: 0, False: 120k]
  ------------------
 6897|      0|        error(loc, "cannot use layout qualifiers on a function parameter", "", "");
 6898|   120k|    if (qualifier.invariant)
  ------------------
  |  Branch (6898:9): [True: 0, False: 120k]
  ------------------
 6899|      0|        error(loc, "cannot use invariant qualifier on a function parameter", "", "");
 6900|   120k|    if (qualifier.isNoContraction()) {
  ------------------
  |  Branch (6900:9): [True: 0, False: 120k]
  ------------------
 6901|      0|        if (qualifier.isParamOutput())
  ------------------
  |  Branch (6901:13): [True: 0, False: 0]
  ------------------
 6902|      0|            type.getQualifier().setNoContraction();
 6903|      0|        else
 6904|      0|            warn(loc, "qualifier has no effect on non-output parameters", "precise", "");
 6905|      0|    }
 6906|   120k|    if (qualifier.isNonUniform())
  ------------------
  |  Branch (6906:9): [True: 0, False: 120k]
  ------------------
 6907|      0|        type.getQualifier().nonUniform = qualifier.nonUniform;
 6908|   120k|    if (qualifier.isSpirvByReference())
  ------------------
  |  Branch (6908:9): [True: 0, False: 120k]
  ------------------
 6909|      0|        type.getQualifier().setSpirvByReference();
 6910|   120k|    if (qualifier.isSpirvLiteral()) {
  ------------------
  |  Branch (6910:9): [True: 0, False: 120k]
  ------------------
 6911|      0|        if (type.getBasicType() == EbtFloat || type.getBasicType() == EbtInt || type.getBasicType() == EbtUint ||
  ------------------
  |  Branch (6911:13): [True: 0, False: 0]
  |  Branch (6911:48): [True: 0, False: 0]
  |  Branch (6911:81): [True: 0, False: 0]
  ------------------
 6912|      0|            type.getBasicType() == EbtBool)
  ------------------
  |  Branch (6912:13): [True: 0, False: 0]
  ------------------
 6913|      0|            type.getQualifier().setSpirvLiteral();
 6914|      0|        else
 6915|      0|            error(loc, "cannot use spirv_literal qualifier", type.getBasicTypeString().c_str(), "");
 6916|      0|    }
 6917|       |
 6918|   120k|    paramCheckFixStorage(loc, qualifier.storage, type);
 6919|   120k|}
_ZN7glslang13TParseContext16nestedBlockCheckERKNS_10TSourceLocEb:
 6922|    104|{
 6923|    104|    if (allowedInnerStruct) {
  ------------------
  |  Branch (6923:9): [True: 0, False: 104]
  ------------------
 6924|      0|        if ((structNestingLevel <= 0 && blockNestingLevel <= 0) ||
  ------------------
  |  Branch (6924:14): [True: 0, False: 0]
  |  Branch (6924:41): [True: 0, False: 0]
  ------------------
 6925|      0|            (structNestingLevel > 0 && blockNestingLevel > 0) ||
  ------------------
  |  Branch (6925:14): [True: 0, False: 0]
  |  Branch (6925:40): [True: 0, False: 0]
  ------------------
 6926|      0|            blockNestingLevel > 1)
  ------------------
  |  Branch (6926:13): [True: 0, False: 0]
  ------------------
 6927|      0|            error(loc, "cannot nest a block definition inside a structure or block", "", "");
 6928|    104|    } else if (structNestingLevel > 0 || blockNestingLevel > 0)
  ------------------
  |  Branch (6928:16): [True: 0, False: 104]
  |  Branch (6928:42): [True: 0, False: 104]
  ------------------
 6929|      0|        error(loc, "cannot nest a block definition inside a structure or block", "", "");
 6930|    104|    ++blockNestingLevel;
 6931|    104|}
_ZN7glslang13TParseContext17nestedStructCheckERKNS_10TSourceLocE:
 6934|     10|{
 6935|     10|    if (structNestingLevel > 0 || blockNestingLevel > 0)
  ------------------
  |  Branch (6935:9): [True: 0, False: 10]
  |  Branch (6935:35): [True: 0, False: 10]
  ------------------
 6936|      0|        error(loc, "cannot nest a structure definition inside a structure or block", "", "");
 6937|     10|    ++structNestingLevel;
 6938|     10|}
_ZN7glslang13TParseContext16arrayObjectCheckERKNS_10TSourceLocERKNS_5TTypeEPKc:
 6941|   554k|{
 6942|       |    // Some versions don't allow comparing arrays or structures containing arrays
 6943|   554k|    if (type.containsArray()) {
  ------------------
  |  Branch (6943:9): [True: 9, False: 554k]
  ------------------
 6944|      9|        profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, op);
 6945|      9|        profileRequires(loc, EEsProfile, 300, nullptr, op);
 6946|      9|    }
 6947|   554k|}
_ZN7glslang13TParseContext11opaqueCheckERKNS_10TSourceLocERKNS_5TTypeEPKc:
 6950|  1.62k|{
 6951|  1.62k|    if (containsFieldWithBasicType(type, EbtSampler) && !extensionTurnedOn(E_GL_ARB_bindless_texture))
  ------------------
  |  Branch (6951:9): [True: 0, False: 1.62k]
  |  Branch (6951:57): [True: 0, False: 0]
  ------------------
 6952|      0|        error(loc, "can't use with samplers or structs containing samplers", op, "");
 6953|  1.62k|}
_ZN7glslang13TParseContext27storage16BitAssignmentCheckERKNS_10TSourceLocERKNS_5TTypeEPKc:
 6962|  1.86k|{
 6963|  1.86k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtFloat16))
  ------------------
  |  Branch (6963:9): [True: 0, False: 1.86k]
  |  Branch (6963:45): [True: 0, False: 0]
  ------------------
 6964|      0|        requireFloat16Arithmetic(loc, op, "can't use with structs containing float16");
 6965|       |
 6966|  1.86k|    if (type.isArray() && type.getBasicType() == EbtFloat16)
  ------------------
  |  Branch (6966:9): [True: 0, False: 1.86k]
  |  Branch (6966:27): [True: 0, False: 0]
  ------------------
 6967|      0|        requireFloat16Arithmetic(loc, op, "can't use with arrays containing float16");
 6968|       |
 6969|  1.86k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtInt16))
  ------------------
  |  Branch (6969:9): [True: 0, False: 1.86k]
  |  Branch (6969:45): [True: 0, False: 0]
  ------------------
 6970|      0|        requireInt16Arithmetic(loc, op, "can't use with structs containing int16");
 6971|       |
 6972|  1.86k|    if (type.isArray() && type.getBasicType() == EbtInt16)
  ------------------
  |  Branch (6972:9): [True: 0, False: 1.86k]
  |  Branch (6972:27): [True: 0, False: 0]
  ------------------
 6973|      0|        requireInt16Arithmetic(loc, op, "can't use with arrays containing int16");
 6974|       |
 6975|  1.86k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtUint16))
  ------------------
  |  Branch (6975:9): [True: 0, False: 1.86k]
  |  Branch (6975:45): [True: 0, False: 0]
  ------------------
 6976|      0|        requireInt16Arithmetic(loc, op, "can't use with structs containing uint16");
 6977|       |
 6978|  1.86k|    if (type.isArray() && type.getBasicType() == EbtUint16)
  ------------------
  |  Branch (6978:9): [True: 0, False: 1.86k]
  |  Branch (6978:27): [True: 0, False: 0]
  ------------------
 6979|      0|        requireInt16Arithmetic(loc, op, "can't use with arrays containing uint16");
 6980|       |
 6981|  1.86k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtInt8))
  ------------------
  |  Branch (6981:9): [True: 0, False: 1.86k]
  |  Branch (6981:45): [True: 0, False: 0]
  ------------------
 6982|      0|        requireInt8Arithmetic(loc, op, "can't use with structs containing int8");
 6983|       |
 6984|  1.86k|    if (type.isArray() && type.getBasicType() == EbtInt8)
  ------------------
  |  Branch (6984:9): [True: 0, False: 1.86k]
  |  Branch (6984:27): [True: 0, False: 0]
  ------------------
 6985|      0|        requireInt8Arithmetic(loc, op, "can't use with arrays containing int8");
 6986|       |
 6987|  1.86k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtUint8))
  ------------------
  |  Branch (6987:9): [True: 0, False: 1.86k]
  |  Branch (6987:45): [True: 0, False: 0]
  ------------------
 6988|      0|        requireInt8Arithmetic(loc, op, "can't use with structs containing uint8");
 6989|       |
 6990|  1.86k|    if (type.isArray() && type.getBasicType() == EbtUint8)
  ------------------
  |  Branch (6990:9): [True: 0, False: 1.86k]
  |  Branch (6990:27): [True: 0, False: 0]
  ------------------
 6991|      0|        requireInt8Arithmetic(loc, op, "can't use with arrays containing uint8");
 6992|  1.86k|}
_ZN7glslang13TParseContext19specializationCheckERKNS_10TSourceLocERKNS_5TTypeEPKc:
 6995|  1.86k|{
 6996|  1.86k|    if (type.containsSpecializationSize())
  ------------------
  |  Branch (6996:9): [True: 0, False: 1.86k]
  ------------------
 6997|      0|        error(loc, "can't use with types containing arrays sized with a specialization constant", op, "");
 6998|  1.86k|}
_ZN7glslang13TParseContext15structTypeCheckERKNS_10TSourceLocERNS_11TPublicTypeE:
 7001|     10|{
 7002|     10|    const TTypeList& typeList = *publicType.userDef->getStruct();
 7003|       |
 7004|       |    // fix and check for member storage qualifiers and types that don't belong within a structure
 7005|     60|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (7005:35): [True: 50, False: 10]
  ------------------
 7006|     50|        TQualifier& memberQualifier = typeList[member].type->getQualifier();
 7007|     50|        const TSourceLoc& memberLoc = typeList[member].loc;
 7008|     50|        if (memberQualifier.isAuxiliary() ||
  ------------------
  |  Branch (7008:13): [True: 0, False: 50]
  ------------------
 7009|     50|            memberQualifier.isInterpolation() ||
  ------------------
  |  Branch (7009:13): [True: 0, False: 50]
  ------------------
 7010|     50|            (memberQualifier.storage != EvqTemporary && memberQualifier.storage != EvqGlobal &&
  ------------------
  |  Branch (7010:14): [True: 50, False: 0]
  |  Branch (7010:57): [True: 0, False: 50]
  ------------------
 7011|      0|             !memberQualifier.layoutDescriptorHeap && !memberQualifier.isBufferType()))
  ------------------
  |  Branch (7011:14): [True: 0, False: 0]
  |  Branch (7011:55): [True: 0, False: 0]
  ------------------
 7012|      0|            error(memberLoc, "cannot use storage or interpolation qualifiers on structure members", typeList[member].type->getFieldName().c_str(), "");
 7013|     50|        if (memberQualifier.isMemory())
  ------------------
  |  Branch (7013:13): [True: 0, False: 50]
  ------------------
 7014|      0|            error(memberLoc, "cannot use memory qualifiers on structure members", typeList[member].type->getFieldName().c_str(), "");
 7015|     50|        if (memberQualifier.hasLayout() && !memberQualifier.isBufferType()) {
  ------------------
  |  Branch (7015:13): [True: 0, False: 50]
  |  Branch (7015:44): [True: 0, False: 0]
  ------------------
 7016|      0|            error(memberLoc, "cannot use layout qualifiers on structure members", typeList[member].type->getFieldName().c_str(), "");
 7017|      0|            memberQualifier.clearLayout();
 7018|      0|        }
 7019|     50|        if (memberQualifier.invariant)
  ------------------
  |  Branch (7019:13): [True: 0, False: 50]
  ------------------
 7020|      0|            error(memberLoc, "cannot use invariant qualifier on structure members", typeList[member].type->getFieldName().c_str(), "");
 7021|     50|    }
 7022|     10|}
_ZN7glslang13TParseContext6finishEv:
 7172|    621|{
 7173|    621|    TParseContextBase::finish();
 7174|       |
 7175|    621|    if (parsingBuiltins)
  ------------------
  |  Branch (7175:9): [True: 607, False: 14]
  ------------------
 7176|    607|        return;
 7177|       |
 7178|       |    // Forward builtin alias to AST for later use
 7179|     14|    intermediate.setBuiltinAliasLookup(symbolTable.collectBuiltinAlias());
 7180|       |
 7181|       |    // Check on array indexes for ES 2.0 (version 100) limitations.
 7182|     14|    for (size_t i = 0; i < needsIndexLimitationChecking.size(); ++i)
  ------------------
  |  Branch (7182:24): [True: 0, False: 14]
  ------------------
 7183|      0|        constantIndexExpressionCheck(needsIndexLimitationChecking[i]);
 7184|       |
 7185|       |    // Check for stages that are enabled by extension.
 7186|       |    // Can't do this at the beginning, it is chicken and egg to add a stage by
 7187|       |    // extension.
 7188|       |    // Stage-specific features were correctly tested for already, this is just
 7189|       |    // about the stage itself.
 7190|     14|    switch (language) {
 7191|      1|    case EShLangGeometry:
  ------------------
  |  Branch (7191:5): [True: 1, False: 13]
  ------------------
 7192|      1|        if (isEsProfile() && version == 310)
  ------------------
  |  Branch (7192:13): [True: 0, False: 1]
  |  Branch (7192:30): [True: 0, False: 0]
  ------------------
 7193|      0|            requireExtensions(getCurrentLoc(), Num_AEP_geometry_shader, AEP_geometry_shader, "geometry shaders");
 7194|      1|        break;
 7195|      8|    case EShLangTessControl:
  ------------------
  |  Branch (7195:5): [True: 8, False: 6]
  ------------------
 7196|     10|    case EShLangTessEvaluation:
  ------------------
  |  Branch (7196:5): [True: 2, False: 12]
  ------------------
 7197|     10|        if (isEsProfile() && version == 310)
  ------------------
  |  Branch (7197:13): [True: 0, False: 10]
  |  Branch (7197:30): [True: 0, False: 0]
  ------------------
 7198|      0|            requireExtensions(getCurrentLoc(), Num_AEP_tessellation_shader, AEP_tessellation_shader, "tessellation shaders");
 7199|     10|        else if (!isEsProfile() && version < 400)
  ------------------
  |  Branch (7199:18): [True: 10, False: 0]
  |  Branch (7199:36): [True: 0, False: 10]
  ------------------
 7200|      0|            requireExtensions(getCurrentLoc(), 1, &E_GL_ARB_tessellation_shader, "tessellation shaders");
 7201|     10|        break;
 7202|      0|    case EShLangCompute:
  ------------------
  |  Branch (7202:5): [True: 0, False: 14]
  ------------------
 7203|      0|        if (!isEsProfile() && version < 430)
  ------------------
  |  Branch (7203:13): [True: 0, False: 0]
  |  Branch (7203:31): [True: 0, False: 0]
  ------------------
 7204|      0|            requireExtensions(getCurrentLoc(), 1, &E_GL_ARB_compute_shader, "compute shaders");
 7205|      0|        break;
 7206|      0|    case EShLangTask:
  ------------------
  |  Branch (7206:5): [True: 0, False: 14]
  ------------------
 7207|      0|        requireExtensions(getCurrentLoc(), Num_AEP_mesh_shader, AEP_mesh_shader, "task shaders");
 7208|      0|        break;
 7209|      0|    case EShLangMesh:
  ------------------
  |  Branch (7209:5): [True: 0, False: 14]
  ------------------
 7210|      0|        requireExtensions(getCurrentLoc(), Num_AEP_mesh_shader, AEP_mesh_shader, "mesh shaders");
 7211|      0|        break;
 7212|      3|    default:
  ------------------
  |  Branch (7212:5): [True: 3, False: 11]
  ------------------
 7213|      3|        break;
 7214|     14|    }
 7215|       |
 7216|     14|    if (intermediate.IsRequestedExtension(E_GL_KHR_compute_shader_derivatives) &&
  ------------------
  |  Branch (7216:9): [True: 0, False: 14]
  ------------------
 7217|      0|        !khrDerivativeLayoutQualifierSpecified) {
  ------------------
  |  Branch (7217:9): [True: 0, False: 0]
  ------------------
 7218|      0|        error(getCurrentLoc(), "requires one of derivative_group_quadsKHR or derivative_group_linearKHR layout qualifiers",
 7219|      0|              E_GL_KHR_compute_shader_derivatives, "");
 7220|      0|    }
 7221|       |
 7222|     14|    if (intermediate.getLayoutDerivativeModeNone() == LayoutDerivativeGroupQuads) {
  ------------------
  |  Branch (7222:9): [True: 0, False: 14]
  ------------------
 7223|      0|        if ((intermediate.getLocalSizeSpecId(0) == TQualifier::layoutNotSet && (intermediate.getLocalSize(0) & 1)) ||
  ------------------
  |  Branch (7223:14): [True: 0, False: 0]
  |  Branch (7223:80): [True: 0, False: 0]
  ------------------
 7224|      0|            (intermediate.getLocalSizeSpecId(1) == TQualifier::layoutNotSet && (intermediate.getLocalSize(1) & 1)))
  ------------------
  |  Branch (7224:14): [True: 0, False: 0]
  |  Branch (7224:80): [True: 0, False: 0]
  ------------------
 7225|      0|            error(getCurrentLoc(), "requires local_size_x and local_size_y to be multiple of two", "derivative_group_quads", "");
 7226|     14|    } else if (intermediate.getLayoutDerivativeModeNone() == LayoutDerivativeGroupLinear) {
  ------------------
  |  Branch (7226:16): [True: 0, False: 14]
  ------------------
 7227|      0|        if (intermediate.getLocalSizeSpecId(0) == TQualifier::layoutNotSet &&
  ------------------
  |  Branch (7227:13): [True: 0, False: 0]
  ------------------
 7228|      0|            intermediate.getLocalSizeSpecId(1) == TQualifier::layoutNotSet &&
  ------------------
  |  Branch (7228:13): [True: 0, False: 0]
  ------------------
 7229|      0|            intermediate.getLocalSizeSpecId(2) == TQualifier::layoutNotSet &&
  ------------------
  |  Branch (7229:13): [True: 0, False: 0]
  ------------------
 7230|      0|            (intermediate.getLocalSize(0) *
  ------------------
  |  Branch (7230:13): [True: 0, False: 0]
  ------------------
 7231|      0|             intermediate.getLocalSize(1) *
 7232|      0|             intermediate.getLocalSize(2)) % 4 != 0)
 7233|      0|            error(getCurrentLoc(), "requires total group size to be multiple of four", "derivative_group_linear", "");
 7234|      0|    }
 7235|       |
 7236|       |    // Set default outputs for GL_NV_geometry_shader_passthrough
 7237|     14|    if (language == EShLangGeometry && extensionTurnedOn(E_SPV_NV_geometry_shader_passthrough)) {
  ------------------
  |  Branch (7237:9): [True: 1, False: 13]
  |  Branch (7237:40): [True: 0, False: 1]
  ------------------
 7238|      0|        if (intermediate.getOutputPrimitive() == ElgNone) {
  ------------------
  |  Branch (7238:13): [True: 0, False: 0]
  ------------------
 7239|      0|            switch (intermediate.getInputPrimitive()) {
 7240|      0|            case ElgPoints:      intermediate.setOutputPrimitive(ElgPoints);    break;
  ------------------
  |  Branch (7240:13): [True: 0, False: 0]
  ------------------
 7241|      0|            case ElgLines:       intermediate.setOutputPrimitive(ElgLineStrip); break;
  ------------------
  |  Branch (7241:13): [True: 0, False: 0]
  ------------------
 7242|      0|            case ElgTriangles:   intermediate.setOutputPrimitive(ElgTriangleStrip); break;
  ------------------
  |  Branch (7242:13): [True: 0, False: 0]
  ------------------
 7243|      0|            default: break;
  ------------------
  |  Branch (7243:13): [True: 0, False: 0]
  ------------------
 7244|      0|            }
 7245|      0|        }
 7246|      0|        if (intermediate.getVertices() == TQualifier::layoutNotSet) {
  ------------------
  |  Branch (7246:13): [True: 0, False: 0]
  ------------------
 7247|      0|            switch (intermediate.getInputPrimitive()) {
 7248|      0|            case ElgPoints:      intermediate.setVertices(1); break;
  ------------------
  |  Branch (7248:13): [True: 0, False: 0]
  ------------------
 7249|      0|            case ElgLines:       intermediate.setVertices(2); break;
  ------------------
  |  Branch (7249:13): [True: 0, False: 0]
  ------------------
 7250|      0|            case ElgTriangles:   intermediate.setVertices(3); break;
  ------------------
  |  Branch (7250:13): [True: 0, False: 0]
  ------------------
 7251|      0|            default: break;
  ------------------
  |  Branch (7251:13): [True: 0, False: 0]
  ------------------
 7252|      0|            }
 7253|      0|        }
 7254|      0|    }
 7255|     14|}
_ZN7glslang13TParseContext18setLayoutQualifierERKNS_10TSourceLocERNS_11TPublicTypeERNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 7264|     66|{
 7265|     66|    std::transform(id.begin(), id.end(), id.begin(), ::tolower);
 7266|       |
 7267|     66|    if (id == TQualifier::getLayoutMatrixString(ElmColumnMajor)) {
  ------------------
  |  Branch (7267:9): [True: 0, False: 66]
  ------------------
 7268|      0|        publicType.qualifier.layoutMatrix = ElmColumnMajor;
 7269|      0|        return;
 7270|      0|    }
 7271|     66|    if (id == TQualifier::getLayoutMatrixString(ElmRowMajor)) {
  ------------------
  |  Branch (7271:9): [True: 0, False: 66]
  ------------------
 7272|      0|        publicType.qualifier.layoutMatrix = ElmRowMajor;
 7273|      0|        return;
 7274|      0|    }
 7275|     66|    if (id == TQualifier::getLayoutPackingString(ElpPacked)) {
  ------------------
  |  Branch (7275:9): [True: 0, False: 66]
  ------------------
 7276|      0|        if (spvVersion.spv != 0) {
  ------------------
  |  Branch (7276:13): [True: 0, False: 0]
  ------------------
 7277|      0|            if (spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (7277:17): [True: 0, False: 0]
  ------------------
 7278|      0|                return; // silently ignore qualifier
 7279|      0|            else
 7280|      0|                spvRemoved(loc, "packed");
 7281|      0|        }
 7282|      0|        publicType.qualifier.layoutPacking = ElpPacked;
 7283|      0|        return;
 7284|      0|    }
 7285|     66|    if (id == TQualifier::getLayoutPackingString(ElpShared)) {
  ------------------
  |  Branch (7285:9): [True: 0, False: 66]
  ------------------
 7286|      0|        if (spvVersion.spv != 0) {
  ------------------
  |  Branch (7286:13): [True: 0, False: 0]
  ------------------
 7287|      0|            if (spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (7287:17): [True: 0, False: 0]
  ------------------
 7288|      0|                return; // silently ignore qualifier
 7289|      0|            else
 7290|      0|                spvRemoved(loc, "shared");
 7291|      0|        }
 7292|      0|        publicType.qualifier.layoutPacking = ElpShared;
 7293|      0|        return;
 7294|      0|    }
 7295|     66|    if (id == TQualifier::getLayoutPackingString(ElpStd140)) {
  ------------------
  |  Branch (7295:9): [True: 0, False: 66]
  ------------------
 7296|      0|        publicType.qualifier.layoutPacking = ElpStd140;
 7297|      0|        return;
 7298|      0|    }
 7299|     66|    if (id == TQualifier::getLayoutPackingString(ElpStd430)) {
  ------------------
  |  Branch (7299:9): [True: 0, False: 66]
  ------------------
 7300|      0|        requireProfile(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, "std430");
 7301|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 430, E_GL_ARB_shader_storage_buffer_object, "std430");
 7302|      0|        profileRequires(loc, EEsProfile, 310, nullptr, "std430");
 7303|      0|        publicType.qualifier.layoutPacking = ElpStd430;
 7304|      0|        return;
 7305|      0|    }
 7306|     66|    if (id == TQualifier::getLayoutPackingString(ElpScalar)) {
  ------------------
  |  Branch (7306:9): [True: 0, False: 66]
  ------------------
 7307|      0|        requireVulkan(loc, "scalar");
 7308|      0|        requireExtensions(loc, 1, &E_GL_EXT_scalar_block_layout, "scalar block layout");
 7309|      0|        publicType.qualifier.layoutPacking = ElpScalar;
 7310|      0|        return;
 7311|      0|    }
 7312|       |    // TODO: compile-time performance: may need to stop doing linear searches
 7313|    132|    for (TLayoutFormat format = (TLayoutFormat)(ElfNone + 1); format < ElfCount; format = (TLayoutFormat)(format + 1)) {
  ------------------
  |  Branch (7313:63): [True: 132, False: 0]
  ------------------
 7314|    132|        if (id == TQualifier::getLayoutFormatString(format)) {
  ------------------
  |  Branch (7314:13): [True: 66, False: 66]
  ------------------
 7315|     66|            if ((format > ElfEsFloatGuard && format < ElfFloatGuard) ||
  ------------------
  |  Branch (7315:18): [True: 0, False: 66]
  |  Branch (7315:46): [True: 0, False: 0]
  ------------------
 7316|     66|                (format > ElfEsIntGuard && format < ElfIntGuard) ||
  ------------------
  |  Branch (7316:18): [True: 0, False: 66]
  |  Branch (7316:44): [True: 0, False: 0]
  ------------------
 7317|     66|                (format > ElfEsUintGuard && format < ElfCount))
  ------------------
  |  Branch (7317:18): [True: 0, False: 66]
  |  Branch (7317:45): [True: 0, False: 0]
  ------------------
 7318|      0|                requireProfile(loc, ENoProfile | ECoreProfile | ECompatibilityProfile, "image load-store format");
 7319|     66|            profileRequires(loc, ENoProfile | ECoreProfile | ECompatibilityProfile, 420, E_GL_ARB_shader_image_load_store, "image load store");
 7320|     66|            profileRequires(loc, EEsProfile, 310, E_GL_ARB_shader_image_load_store, "image load store");
 7321|     66|            publicType.qualifier.layoutFormat = format;
 7322|     66|            return;
 7323|     66|        }
 7324|    132|    }
 7325|      0|    if (id == "descriptor_heap") {
  ------------------
  |  Branch (7325:9): [True: 0, False: 0]
  ------------------
 7326|      0|        requireExtensions(loc, 1, &E_GL_EXT_descriptor_heap, "descriptor_stride");
 7327|      0|        requireVulkan(loc, "descriptor_heap");
 7328|      0|        publicType.qualifier.layoutDescriptorHeap = true;
 7329|      0|        return;
 7330|      0|    }
 7331|      0|    if (id == "push_constant") {
  ------------------
  |  Branch (7331:9): [True: 0, False: 0]
  ------------------
 7332|      0|        requireVulkan(loc, "push_constant");
 7333|      0|        publicType.qualifier.layoutPushConstant = true;
 7334|      0|        return;
 7335|      0|    }
 7336|      0|    if (id == "buffer_reference") {
  ------------------
  |  Branch (7336:9): [True: 0, False: 0]
  ------------------
 7337|      0|        requireVulkan(loc, "buffer_reference");
 7338|      0|        requireExtensions(loc, 1, &E_GL_EXT_buffer_reference, "buffer_reference");
 7339|      0|        publicType.qualifier.layoutBufferReference = true;
 7340|      0|        intermediate.setUseStorageBuffer();
 7341|      0|        intermediate.setUsePhysicalStorageBuffer();
 7342|      0|        return;
 7343|      0|    }
 7344|      0|    if (id == "buffer_type") {
  ------------------
  |  Branch (7344:9): [True: 0, False: 0]
  ------------------
 7345|      0|        requireVulkan(loc, "buffer_type");
 7346|      0|        requireExtensions(loc, 1, &E_GL_EXT_structured_descriptor_heap, "buffer_type");
 7347|      0|        publicType.qualifier.layoutDescriptorBufferType = true;
 7348|      0|        return;
 7349|      0|    }
 7350|      0|    if (id == "bindless_sampler") {
  ------------------
  |  Branch (7350:9): [True: 0, False: 0]
  ------------------
 7351|      0|        requireExtensions(loc, 1, &E_GL_ARB_bindless_texture, "bindless_sampler");
 7352|      0|        publicType.qualifier.layoutBindlessSampler = true;
 7353|      0|        intermediate.setBindlessTextureMode(currentCaller, AstRefTypeLayout);
 7354|      0|        return;
 7355|      0|    }
 7356|      0|    if (id == "bindless_image") {
  ------------------
  |  Branch (7356:9): [True: 0, False: 0]
  ------------------
 7357|      0|        requireExtensions(loc, 1, &E_GL_ARB_bindless_texture, "bindless_image");
 7358|      0|        publicType.qualifier.layoutBindlessImage = true;
 7359|      0|        intermediate.setBindlessImageMode(currentCaller, AstRefTypeLayout);
 7360|      0|        return;
 7361|      0|    }
 7362|      0|    if (id == "bound_sampler") {
  ------------------
  |  Branch (7362:9): [True: 0, False: 0]
  ------------------
 7363|      0|        requireExtensions(loc, 1, &E_GL_ARB_bindless_texture, "bound_sampler");
 7364|      0|        publicType.qualifier.layoutBindlessSampler = false;
 7365|      0|        return;
 7366|      0|    }
 7367|      0|    if (id == "bound_image") {
  ------------------
  |  Branch (7367:9): [True: 0, False: 0]
  ------------------
 7368|      0|        requireExtensions(loc, 1, &E_GL_ARB_bindless_texture, "bound_image");
 7369|      0|        publicType.qualifier.layoutBindlessImage = false;
 7370|      0|        return;
 7371|      0|    }
 7372|      0|    if (language == EShLangGeometry || language == EShLangTessEvaluation || language == EShLangMesh) {
  ------------------
  |  Branch (7372:9): [True: 0, False: 0]
  |  Branch (7372:40): [True: 0, False: 0]
  |  Branch (7372:77): [True: 0, False: 0]
  ------------------
 7373|      0|        if (id == TQualifier::getGeometryString(ElgTriangles)) {
  ------------------
  |  Branch (7373:13): [True: 0, False: 0]
  ------------------
 7374|      0|            publicType.shaderQualifiers.geometry = ElgTriangles;
 7375|      0|            return;
 7376|      0|        }
 7377|      0|        if (language == EShLangGeometry || language == EShLangMesh) {
  ------------------
  |  Branch (7377:13): [True: 0, False: 0]
  |  Branch (7377:44): [True: 0, False: 0]
  ------------------
 7378|      0|            if (id == TQualifier::getGeometryString(ElgPoints)) {
  ------------------
  |  Branch (7378:17): [True: 0, False: 0]
  ------------------
 7379|      0|                publicType.shaderQualifiers.geometry = ElgPoints;
 7380|      0|                return;
 7381|      0|            }
 7382|      0|            if (id == TQualifier::getGeometryString(ElgLines)) {
  ------------------
  |  Branch (7382:17): [True: 0, False: 0]
  ------------------
 7383|      0|                publicType.shaderQualifiers.geometry = ElgLines;
 7384|      0|                return;
 7385|      0|            }
 7386|      0|            if (language == EShLangGeometry) {
  ------------------
  |  Branch (7386:17): [True: 0, False: 0]
  ------------------
 7387|      0|                if (id == TQualifier::getGeometryString(ElgLineStrip)) {
  ------------------
  |  Branch (7387:21): [True: 0, False: 0]
  ------------------
 7388|      0|                    publicType.shaderQualifiers.geometry = ElgLineStrip;
 7389|      0|                    return;
 7390|      0|                }
 7391|      0|                if (id == TQualifier::getGeometryString(ElgLinesAdjacency)) {
  ------------------
  |  Branch (7391:21): [True: 0, False: 0]
  ------------------
 7392|      0|                    publicType.shaderQualifiers.geometry = ElgLinesAdjacency;
 7393|      0|                    return;
 7394|      0|                }
 7395|      0|                if (id == TQualifier::getGeometryString(ElgTrianglesAdjacency)) {
  ------------------
  |  Branch (7395:21): [True: 0, False: 0]
  ------------------
 7396|      0|                    publicType.shaderQualifiers.geometry = ElgTrianglesAdjacency;
 7397|      0|                    return;
 7398|      0|                }
 7399|      0|                if (id == TQualifier::getGeometryString(ElgTriangleStrip)) {
  ------------------
  |  Branch (7399:21): [True: 0, False: 0]
  ------------------
 7400|      0|                    publicType.shaderQualifiers.geometry = ElgTriangleStrip;
 7401|      0|                    return;
 7402|      0|                }
 7403|      0|                if (id == "passthrough") {
  ------------------
  |  Branch (7403:21): [True: 0, False: 0]
  ------------------
 7404|      0|                    requireExtensions(loc, 1, &E_SPV_NV_geometry_shader_passthrough, "geometry shader passthrough");
 7405|      0|                    publicType.qualifier.layoutPassthrough = true;
 7406|      0|                    intermediate.setGeoPassthroughEXT();
 7407|      0|                    return;
 7408|      0|                }
 7409|      0|            }
 7410|      0|        } else {
 7411|      0|            assert(language == EShLangTessEvaluation);
 7412|       |
 7413|       |            // input primitive
 7414|      0|            if (id == TQualifier::getGeometryString(ElgTriangles)) {
  ------------------
  |  Branch (7414:17): [True: 0, False: 0]
  ------------------
 7415|      0|                publicType.shaderQualifiers.geometry = ElgTriangles;
 7416|      0|                return;
 7417|      0|            }
 7418|      0|            if (id == TQualifier::getGeometryString(ElgQuads)) {
  ------------------
  |  Branch (7418:17): [True: 0, False: 0]
  ------------------
 7419|      0|                publicType.shaderQualifiers.geometry = ElgQuads;
 7420|      0|                return;
 7421|      0|            }
 7422|      0|            if (id == TQualifier::getGeometryString(ElgIsolines)) {
  ------------------
  |  Branch (7422:17): [True: 0, False: 0]
  ------------------
 7423|      0|                publicType.shaderQualifiers.geometry = ElgIsolines;
 7424|      0|                return;
 7425|      0|            }
 7426|       |
 7427|       |            // vertex spacing
 7428|      0|            if (id == TQualifier::getVertexSpacingString(EvsEqual)) {
  ------------------
  |  Branch (7428:17): [True: 0, False: 0]
  ------------------
 7429|      0|                publicType.shaderQualifiers.spacing = EvsEqual;
 7430|      0|                return;
 7431|      0|            }
 7432|      0|            if (id == TQualifier::getVertexSpacingString(EvsFractionalEven)) {
  ------------------
  |  Branch (7432:17): [True: 0, False: 0]
  ------------------
 7433|      0|                publicType.shaderQualifiers.spacing = EvsFractionalEven;
 7434|      0|                return;
 7435|      0|            }
 7436|      0|            if (id == TQualifier::getVertexSpacingString(EvsFractionalOdd)) {
  ------------------
  |  Branch (7436:17): [True: 0, False: 0]
  ------------------
 7437|      0|                publicType.shaderQualifiers.spacing = EvsFractionalOdd;
 7438|      0|                return;
 7439|      0|            }
 7440|       |
 7441|       |            // triangle order
 7442|      0|            if (id == TQualifier::getVertexOrderString(EvoCw)) {
  ------------------
  |  Branch (7442:17): [True: 0, False: 0]
  ------------------
 7443|      0|                publicType.shaderQualifiers.order = EvoCw;
 7444|      0|                return;
 7445|      0|            }
 7446|      0|            if (id == TQualifier::getVertexOrderString(EvoCcw)) {
  ------------------
  |  Branch (7446:17): [True: 0, False: 0]
  ------------------
 7447|      0|                publicType.shaderQualifiers.order = EvoCcw;
 7448|      0|                return;
 7449|      0|            }
 7450|       |
 7451|       |            // point mode
 7452|      0|            if (id == "point_mode") {
  ------------------
  |  Branch (7452:17): [True: 0, False: 0]
  ------------------
 7453|      0|                publicType.shaderQualifiers.pointMode = true;
 7454|      0|                return;
 7455|      0|            }
 7456|      0|        }
 7457|      0|    }
 7458|      0|    if (language == EShLangFragment) {
  ------------------
  |  Branch (7458:9): [True: 0, False: 0]
  ------------------
 7459|      0|        if (id == "origin_upper_left") {
  ------------------
  |  Branch (7459:13): [True: 0, False: 0]
  ------------------
 7460|      0|            requireProfile(loc, ECoreProfile | ECompatibilityProfile | ENoProfile, "origin_upper_left");
 7461|      0|            if (profile == ENoProfile) {
  ------------------
  |  Branch (7461:17): [True: 0, False: 0]
  ------------------
 7462|      0|                profileRequires(loc,ECoreProfile | ECompatibilityProfile, 140, E_GL_ARB_fragment_coord_conventions, "origin_upper_left");
 7463|      0|            }
 7464|       |
 7465|      0|            publicType.shaderQualifiers.originUpperLeft = true;
 7466|      0|            return;
 7467|      0|        }
 7468|      0|        if (id == "pixel_center_integer") {
  ------------------
  |  Branch (7468:13): [True: 0, False: 0]
  ------------------
 7469|      0|            requireProfile(loc, ECoreProfile | ECompatibilityProfile | ENoProfile, "pixel_center_integer");
 7470|      0|            if (profile == ENoProfile) {
  ------------------
  |  Branch (7470:17): [True: 0, False: 0]
  ------------------
 7471|      0|                profileRequires(loc,ECoreProfile | ECompatibilityProfile, 140, E_GL_ARB_fragment_coord_conventions, "pixel_center_integer");
 7472|      0|            }
 7473|      0|            publicType.shaderQualifiers.pixelCenterInteger = true;
 7474|      0|            return;
 7475|      0|        }
 7476|      0|        if (id == "early_fragment_tests") {
  ------------------
  |  Branch (7476:13): [True: 0, False: 0]
  ------------------
 7477|      0|            profileRequires(loc, ENoProfile | ECoreProfile | ECompatibilityProfile, 420, E_GL_ARB_shader_image_load_store, "early_fragment_tests");
 7478|      0|            profileRequires(loc, EEsProfile, 310, nullptr, "early_fragment_tests");
 7479|      0|            publicType.shaderQualifiers.earlyFragmentTests = true;
 7480|      0|            return;
 7481|      0|        }
 7482|      0|        if (id == "early_and_late_fragment_tests_amd") {
  ------------------
  |  Branch (7482:13): [True: 0, False: 0]
  ------------------
 7483|      0|            profileRequires(loc, ENoProfile | ECoreProfile | ECompatibilityProfile, 420, E_GL_AMD_shader_early_and_late_fragment_tests, "early_and_late_fragment_tests_amd");
 7484|      0|            profileRequires(loc, EEsProfile, 310, nullptr, "early_and_late_fragment_tests_amd");
 7485|      0|            publicType.shaderQualifiers.earlyAndLateFragmentTestsAMD = true;
 7486|      0|            return;
 7487|      0|        }
 7488|      0|        if (id == "post_depth_coverage") {
  ------------------
  |  Branch (7488:13): [True: 0, False: 0]
  ------------------
 7489|      0|            requireExtensions(loc, Num_post_depth_coverageEXTs, post_depth_coverageEXTs, "post depth coverage");
 7490|      0|            if (extensionTurnedOn(E_GL_ARB_post_depth_coverage)) {
  ------------------
  |  Branch (7490:17): [True: 0, False: 0]
  ------------------
 7491|      0|                publicType.shaderQualifiers.earlyFragmentTests = true;
 7492|      0|            }
 7493|      0|            publicType.shaderQualifiers.postDepthCoverage = true;
 7494|      0|            return;
 7495|      0|        }
 7496|       |        /* id is transformed into lower case in the beginning of this function. */
 7497|      0|        if (id == "non_coherent_color_attachment_readext") {
  ------------------
  |  Branch (7497:13): [True: 0, False: 0]
  ------------------
 7498|      0|            requireExtensions(loc, 1, &E_GL_EXT_shader_tile_image, "non_coherent_color_attachment_readEXT");
 7499|      0|            publicType.shaderQualifiers.nonCoherentColorAttachmentReadEXT = true;
 7500|      0|            return;
 7501|      0|        }
 7502|      0|        if (id == "non_coherent_depth_attachment_readext") {
  ------------------
  |  Branch (7502:13): [True: 0, False: 0]
  ------------------
 7503|      0|            requireExtensions(loc, 1, &E_GL_EXT_shader_tile_image, "non_coherent_depth_attachment_readEXT");
 7504|      0|            publicType.shaderQualifiers.nonCoherentDepthAttachmentReadEXT = true;
 7505|      0|            return;
 7506|      0|        }
 7507|      0|        if (id == "non_coherent_stencil_attachment_readext") {
  ------------------
  |  Branch (7507:13): [True: 0, False: 0]
  ------------------
 7508|      0|            requireExtensions(loc, 1, &E_GL_EXT_shader_tile_image, "non_coherent_stencil_attachment_readEXT");
 7509|      0|            publicType.shaderQualifiers.nonCoherentStencilAttachmentReadEXT = true;
 7510|      0|            return;
 7511|      0|        }
 7512|      0|        for (TLayoutDepth depth = (TLayoutDepth)(EldNone + 1); depth < EldCount; depth = (TLayoutDepth)(depth+1)) {
  ------------------
  |  Branch (7512:64): [True: 0, False: 0]
  ------------------
 7513|      0|            if (id == TQualifier::getLayoutDepthString(depth)) {
  ------------------
  |  Branch (7513:17): [True: 0, False: 0]
  ------------------
 7514|      0|                const char* feature = "depth layout qualifier";
 7515|      0|                requireProfile(loc, ECoreProfile | ECompatibilityProfile | EEsProfile, feature);
 7516|      0|                profileRequires(loc, ECoreProfile | ECompatibilityProfile, 420, E_GL_ARB_conservative_depth, feature);
 7517|      0|                profileRequires(loc, EEsProfile, 0, E_GL_EXT_conservative_depth, feature);
 7518|      0|                publicType.shaderQualifiers.layoutDepth = depth;
 7519|      0|                return;
 7520|      0|            }
 7521|      0|        }
 7522|      0|        for (TLayoutStencil stencil = (TLayoutStencil)(ElsNone + 1); stencil < ElsCount; stencil = (TLayoutStencil)(stencil+1)) {
  ------------------
  |  Branch (7522:70): [True: 0, False: 0]
  ------------------
 7523|      0|            if (id == TQualifier::getLayoutStencilString(stencil)) {
  ------------------
  |  Branch (7523:17): [True: 0, False: 0]
  ------------------
 7524|      0|                requireProfile(loc, ECoreProfile | ECompatibilityProfile, "stencil layout qualifier");
 7525|      0|                profileRequires(loc, ECoreProfile | ECompatibilityProfile, 420, nullptr, "stencil layout qualifier");
 7526|      0|                publicType.shaderQualifiers.layoutStencil = stencil;
 7527|      0|                return;
 7528|      0|            }
 7529|      0|        }
 7530|      0|        for (TInterlockOrdering order = (TInterlockOrdering)(EioNone + 1); order < EioCount; order = (TInterlockOrdering)(order+1)) {
  ------------------
  |  Branch (7530:76): [True: 0, False: 0]
  ------------------
 7531|      0|            if (id == TQualifier::getInterlockOrderingString(order)) {
  ------------------
  |  Branch (7531:17): [True: 0, False: 0]
  ------------------
 7532|      0|                requireProfile(loc, ECoreProfile | ECompatibilityProfile, "fragment shader interlock layout qualifier");
 7533|      0|                profileRequires(loc, ECoreProfile | ECompatibilityProfile, 450, nullptr, "fragment shader interlock layout qualifier");
 7534|      0|                requireExtensions(loc, 1, &E_GL_ARB_fragment_shader_interlock, TQualifier::getInterlockOrderingString(order));
 7535|      0|                if (order == EioShadingRateInterlockOrdered || order == EioShadingRateInterlockUnordered)
  ------------------
  |  Branch (7535:21): [True: 0, False: 0]
  |  Branch (7535:64): [True: 0, False: 0]
  ------------------
 7536|      0|                    requireExtensions(loc, 1, &E_GL_NV_shading_rate_image, TQualifier::getInterlockOrderingString(order));
 7537|      0|                publicType.shaderQualifiers.interlockOrdering = order;
 7538|      0|                return;
 7539|      0|            }
 7540|      0|        }
 7541|      0|        if (id.compare(0, 13, "blend_support") == 0) {
  ------------------
  |  Branch (7541:13): [True: 0, False: 0]
  ------------------
 7542|      0|            bool found = false;
 7543|      0|            for (TBlendEquationShift be = (TBlendEquationShift)0; be < EBlendCount; be = (TBlendEquationShift)(be + 1)) {
  ------------------
  |  Branch (7543:67): [True: 0, False: 0]
  ------------------
 7544|      0|                if (id == TQualifier::getBlendEquationString(be)) {
  ------------------
  |  Branch (7544:21): [True: 0, False: 0]
  ------------------
 7545|      0|                    profileRequires(loc, EEsProfile, 320, E_GL_KHR_blend_equation_advanced, "blend equation");
 7546|      0|                    profileRequires(loc, ~EEsProfile, 0, E_GL_KHR_blend_equation_advanced, "blend equation");
 7547|      0|                    intermediate.addBlendEquation(be);
 7548|      0|                    publicType.shaderQualifiers.blendEquation = true;
 7549|      0|                    found = true;
 7550|      0|                    break;
 7551|      0|                }
 7552|      0|            }
 7553|      0|            if (! found)
  ------------------
  |  Branch (7553:17): [True: 0, False: 0]
  ------------------
 7554|      0|                error(loc, "unknown blend equation", "blend_support", "");
 7555|      0|            return;
 7556|      0|        }
 7557|      0|        if (id == "override_coverage") {
  ------------------
  |  Branch (7557:13): [True: 0, False: 0]
  ------------------
 7558|      0|            requireExtensions(loc, 1, &E_GL_NV_sample_mask_override_coverage, "sample mask override coverage");
 7559|      0|            publicType.shaderQualifiers.layoutOverrideCoverage = true;
 7560|      0|            return;
 7561|      0|        }
 7562|      0|        if (id == "full_quads")
  ------------------
  |  Branch (7562:13): [True: 0, False: 0]
  ------------------
 7563|      0|        {
 7564|      0|            const char* feature = "full_quads qualifier";
 7565|      0|            requireProfile(loc, ECompatibilityProfile | ECoreProfile | EEsProfile, feature);
 7566|      0|            profileRequires(loc, ECoreProfile | ECompatibilityProfile, 140, E_GL_EXT_shader_quad_control, feature);
 7567|      0|            profileRequires(loc, EEsProfile, 310, E_GL_EXT_shader_quad_control, feature);
 7568|      0|            publicType.qualifier.layoutFullQuads = true;
 7569|      0|            return;
 7570|      0|        }
 7571|      0|        if (id == "non_coherent_attachment_readqcom") {
  ------------------
  |  Branch (7571:13): [True: 0, False: 0]
  ------------------
 7572|      0|            requireExtensions(loc, 1, &E_GL_QCOM_tile_shading, "tile shading QCOM");
 7573|      0|            publicType.shaderQualifiers.layoutNonCoherentTileAttachmentReadQCOM = true;
 7574|      0|            return;
 7575|      0|        }
 7576|      0|        if (id == "tile_attachmentqcom") {
  ------------------
  |  Branch (7576:13): [True: 0, False: 0]
  ------------------
 7577|      0|            requireExtensions(loc, 1, &E_GL_QCOM_tile_shading, "tile shading QCOM");
 7578|      0|            publicType.qualifier.layoutTileAttachmentQCOM = true;
 7579|      0|            return;
 7580|      0|        }
 7581|      0|    }
 7582|      0|    if (language == EShLangVertex ||
  ------------------
  |  Branch (7582:9): [True: 0, False: 0]
  ------------------
 7583|      0|        language == EShLangTessControl ||
  ------------------
  |  Branch (7583:9): [True: 0, False: 0]
  ------------------
 7584|      0|        language == EShLangTessEvaluation ||
  ------------------
  |  Branch (7584:9): [True: 0, False: 0]
  ------------------
 7585|      0|        language == EShLangGeometry ) {
  ------------------
  |  Branch (7585:9): [True: 0, False: 0]
  ------------------
 7586|      0|        if (id == "viewport_relative") {
  ------------------
  |  Branch (7586:13): [True: 0, False: 0]
  ------------------
 7587|      0|            requireExtensions(loc, 1, &E_GL_NV_viewport_array2, "view port array2");
 7588|      0|            publicType.qualifier.layoutViewportRelative = true;
 7589|      0|            return;
 7590|      0|        }
 7591|      0|    } else {
 7592|      0|        if (language == EShLangRayGen || language == EShLangIntersect ||
  ------------------
  |  Branch (7592:13): [True: 0, False: 0]
  |  Branch (7592:42): [True: 0, False: 0]
  ------------------
 7593|      0|        language == EShLangAnyHit || language == EShLangClosestHit ||
  ------------------
  |  Branch (7593:9): [True: 0, False: 0]
  |  Branch (7593:38): [True: 0, False: 0]
  ------------------
 7594|      0|        language == EShLangMiss || language == EShLangCallable) {
  ------------------
  |  Branch (7594:9): [True: 0, False: 0]
  |  Branch (7594:36): [True: 0, False: 0]
  ------------------
 7595|      0|            if (id == "shaderrecordnv" || id == "shaderrecordext") {
  ------------------
  |  Branch (7595:17): [True: 0, False: 0]
  |  Branch (7595:43): [True: 0, False: 0]
  ------------------
 7596|      0|                if (id == "shaderrecordnv") {
  ------------------
  |  Branch (7596:21): [True: 0, False: 0]
  ------------------
 7597|      0|                    requireExtensions(loc, 1, &E_GL_NV_ray_tracing, "shader record NV");
 7598|      0|                } else {
 7599|      0|                    requireExtensions(loc, 1, &E_GL_EXT_ray_tracing, "shader record EXT");
 7600|      0|                }
 7601|      0|                publicType.qualifier.layoutShaderRecord = true;
 7602|      0|                return;
 7603|      0|            } else if (id == "hitobjectshaderrecordnv") {
  ------------------
  |  Branch (7603:24): [True: 0, False: 0]
  ------------------
 7604|      0|                requireExtensions(loc, 1, &E_GL_NV_shader_invocation_reorder, "hitobject shader record NV");
 7605|      0|                publicType.qualifier.layoutHitObjectShaderRecordNV = true;
 7606|      0|                return;
 7607|      0|            } else if (id == "hitobjectshaderrecordext") {
  ------------------
  |  Branch (7607:24): [True: 0, False: 0]
  ------------------
 7608|      0|                requireExtensions(loc, 1, &E_GL_EXT_shader_invocation_reorder, "hitobject shader record EXT");
 7609|      0|                publicType.qualifier.layoutHitObjectShaderRecordEXT = true;
 7610|      0|                return;
 7611|      0|            }
 7612|       |
 7613|      0|        }
 7614|      0|    }
 7615|      0|    if (language == EShLangCompute || language == EShLangTask || language == EShLangMesh) {
  ------------------
  |  Branch (7615:9): [True: 0, False: 0]
  |  Branch (7615:39): [True: 0, False: 0]
  |  Branch (7615:66): [True: 0, False: 0]
  ------------------
 7616|      0|        if (id.compare(0, 17, "derivative_group_") == 0) {
  ------------------
  |  Branch (7616:13): [True: 0, False: 0]
  ------------------
 7617|      0|            if (id == "derivative_group_quadsnv" || id == "derivative_group_linearnv") {
  ------------------
  |  Branch (7617:17): [True: 0, False: 0]
  |  Branch (7617:53): [True: 0, False: 0]
  ------------------
 7618|      0|                requireExtensions(loc, 1, &E_GL_NV_compute_shader_derivatives, "compute shader derivatives");
 7619|      0|                if (language != EShLangCompute) {
  ------------------
  |  Branch (7619:21): [True: 0, False: 0]
  ------------------
 7620|      0|                    error(loc, "can only apply to compute shaders", id.c_str(), "");
 7621|      0|                    return;
 7622|      0|                }
 7623|      0|            } else if (id == "derivative_group_quadskhr" || id == "derivative_group_linearkhr") {
  ------------------
  |  Branch (7623:24): [True: 0, False: 0]
  |  Branch (7623:61): [True: 0, False: 0]
  ------------------
 7624|      0|                requireExtensions(loc, 1, &E_GL_KHR_compute_shader_derivatives, "compute shader derivatives");
 7625|      0|                khrDerivativeLayoutQualifierSpecified = true;
 7626|      0|            }
 7627|      0|            if (id == "derivative_group_quadsnv" || id == "derivative_group_quadskhr") {
  ------------------
  |  Branch (7627:17): [True: 0, False: 0]
  |  Branch (7627:53): [True: 0, False: 0]
  ------------------
 7628|      0|                publicType.shaderQualifiers.layoutDerivativeGroupQuads = true;
 7629|      0|                publicType.shaderQualifiers.derivativeGroupExtension =
 7630|      0|                    id == "derivative_group_quadsnv" ? EdgNV : EdgKHR;
  ------------------
  |  Branch (7630:21): [True: 0, False: 0]
  ------------------
 7631|      0|                return;
 7632|      0|            } else if (id == "derivative_group_linearnv" || id == "derivative_group_linearkhr") {
  ------------------
  |  Branch (7632:24): [True: 0, False: 0]
  |  Branch (7632:61): [True: 0, False: 0]
  ------------------
 7633|      0|                publicType.shaderQualifiers.layoutDerivativeGroupLinear = true;
 7634|      0|                publicType.shaderQualifiers.derivativeGroupExtension =
 7635|      0|                    id == "derivative_group_linearnv" ? EdgNV : EdgKHR;
  ------------------
  |  Branch (7635:21): [True: 0, False: 0]
  ------------------
 7636|      0|                return;
 7637|      0|            }
 7638|      0|        }
 7639|      0|    }
 7640|      0|    if (language == EShLangCompute) {
  ------------------
  |  Branch (7640:9): [True: 0, False: 0]
  ------------------
 7641|      0|        if (id == "tile_attachmentqcom") {
  ------------------
  |  Branch (7641:13): [True: 0, False: 0]
  ------------------
 7642|      0|            requireExtensions(loc, 1, &E_GL_QCOM_tile_shading, "tile shading QCOM");
 7643|      0|            publicType.qualifier.layoutTileAttachmentQCOM = true;
 7644|      0|            return;
 7645|      0|        }
 7646|      0|    }
 7647|       |
 7648|      0|    if (id == "primitive_culling") {
  ------------------
  |  Branch (7648:9): [True: 0, False: 0]
  ------------------
 7649|      0|        requireExtensions(loc, 1, &E_GL_EXT_ray_flags_primitive_culling, "primitive culling");
 7650|      0|        publicType.shaderQualifiers.layoutPrimitiveCulling = true;
 7651|      0|        return;
 7652|      0|    }
 7653|       |
 7654|      0|    if (id == "quad_derivatives")
  ------------------
  |  Branch (7654:9): [True: 0, False: 0]
  ------------------
 7655|      0|    {
 7656|      0|        const char* feature = "quad_derivatives qualifier";
 7657|      0|        requireProfile(loc, ECompatibilityProfile | ECoreProfile | EEsProfile, feature);
 7658|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 140, E_GL_EXT_shader_quad_control, feature);
 7659|      0|        profileRequires(loc, EEsProfile, 310, E_GL_EXT_shader_quad_control, feature);
 7660|      0|        publicType.qualifier.layoutQuadDeriv = true;
 7661|      0|        return;
 7662|      0|    }
 7663|       |
 7664|      0|    error(loc, "unrecognized layout identifier, or qualifier requires assignment (e.g., binding = 4)", id.c_str(), "");
 7665|      0|}
_ZN7glslang13TParseContext18setLayoutQualifierERKNS_10TSourceLocERNS_11TPublicTypeERNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEEPKNS_12TIntermTypedE:
 7670|    612|{
 7671|    612|    const char* feature = "layout-id value";
 7672|    612|    const char* nonLiteralFeature = "non-literal layout-id value";
 7673|       |
 7674|    612|    if (id != "heap_offset" && !node->getQualifier().isConstant())
  ------------------
  |  Branch (7674:9): [True: 612, False: 0]
  |  Branch (7674:32): [True: 0, False: 612]
  ------------------
 7675|      0|        error(loc, "constant expression required", "", "");
 7676|       |
 7677|    612|    integerCheck(node, feature);
 7678|    612|    const TIntermConstantUnion* constUnion = node->getAsConstantUnion();
 7679|    612|    int value;
 7680|    612|    bool nonLiteral = false;
 7681|    612|    if (constUnion) {
  ------------------
  |  Branch (7681:9): [True: 612, False: 0]
  ------------------
 7682|    612|        value = constUnion->getConstArray()[0].getIConst();
 7683|    612|        if (! constUnion->isLiteral()) {
  ------------------
  |  Branch (7683:13): [True: 0, False: 612]
  ------------------
 7684|      0|            requireProfile(loc, ECoreProfile | ECompatibilityProfile, nonLiteralFeature);
 7685|      0|            profileRequires(loc, ECoreProfile | ECompatibilityProfile, 440, E_GL_ARB_enhanced_layouts, nonLiteralFeature);
 7686|      0|        }
 7687|    612|    } else {
 7688|       |        // grammar should have give out the error message
 7689|      0|        value = 0;
 7690|      0|        nonLiteral = true;
 7691|      0|    }
 7692|       |
 7693|    612|    if (value < 0) {
  ------------------
  |  Branch (7693:9): [True: 0, False: 612]
  ------------------
 7694|      0|        error(loc, "cannot be negative", feature, "");
 7695|      0|        return;
 7696|      0|    }
 7697|       |
 7698|    612|    std::transform(id.begin(), id.end(), id.begin(), ::tolower);
 7699|       |
 7700|    612|    if (id == "offset") {
  ------------------
  |  Branch (7700:9): [True: 0, False: 612]
  ------------------
 7701|       |        // "offset" can be for either
 7702|       |        //  - uniform offsets
 7703|       |        //  - atomic_uint offsets
 7704|      0|        const char* feature = "offset";
 7705|      0|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (7705:13): [True: 0, False: 0]
  ------------------
 7706|      0|            requireProfile(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, feature);
 7707|      0|            const char* exts[2] = { E_GL_ARB_enhanced_layouts, E_GL_ARB_shader_atomic_counters };
 7708|      0|            profileRequires(loc, ECoreProfile | ECompatibilityProfile, 420, 2, exts, feature);
 7709|      0|            profileRequires(loc, EEsProfile, 310, nullptr, feature);
 7710|      0|        }
 7711|      0|        publicType.qualifier.layoutOffset = value;
 7712|      0|        publicType.qualifier.explicitOffset = true;
 7713|      0|        if (nonLiteral)
  ------------------
  |  Branch (7713:13): [True: 0, False: 0]
  ------------------
 7714|      0|            error(loc, "needs a literal integer", "offset", "");
 7715|      0|        return;
 7716|    612|    } else if (id == "align") {
  ------------------
  |  Branch (7716:16): [True: 0, False: 612]
  ------------------
 7717|      0|        const char* feature = "uniform buffer-member align";
 7718|      0|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (7718:13): [True: 0, False: 0]
  ------------------
 7719|      0|            requireProfile(loc, ECoreProfile | ECompatibilityProfile, feature);
 7720|      0|            profileRequires(loc, ECoreProfile | ECompatibilityProfile, 440, E_GL_ARB_enhanced_layouts, feature);
 7721|      0|        }
 7722|       |        // "The specified alignment must be a power of 2, or a compile-time error results."
 7723|      0|        if (! IsPow2(value))
  ------------------
  |  Branch (7723:13): [True: 0, False: 0]
  ------------------
 7724|      0|            error(loc, "must be a power of 2", "align", "");
 7725|      0|        else
 7726|      0|            publicType.qualifier.layoutAlign = value;
 7727|      0|        if (nonLiteral)
  ------------------
  |  Branch (7727:13): [True: 0, False: 0]
  ------------------
 7728|      0|            error(loc, "needs a literal integer", "align", "");
 7729|      0|        return;
 7730|    612|    } else if (id == "location") {
  ------------------
  |  Branch (7730:16): [True: 72, False: 540]
  ------------------
 7731|     72|        profileRequires(loc, EEsProfile, 300, nullptr, "location");
 7732|     72|        const char* exts[2] = { E_GL_ARB_separate_shader_objects, E_GL_ARB_explicit_attrib_location };
 7733|       |        // GL_ARB_explicit_uniform_location requires 330 or GL_ARB_explicit_attrib_location we do not need to add it here
 7734|     72|        profileRequires(loc, ~EEsProfile, 330, 2, exts, "location");
 7735|     72|        if ((unsigned int)value >= TQualifier::layoutLocationEnd)
  ------------------
  |  Branch (7735:13): [True: 0, False: 72]
  ------------------
 7736|      0|            error(loc, "location is too large", id.c_str(), "");
 7737|     72|        else
 7738|     72|            publicType.qualifier.layoutLocation = value;
 7739|     72|        if (nonLiteral)
  ------------------
  |  Branch (7739:13): [True: 0, False: 72]
  ------------------
 7740|      0|            error(loc, "needs a literal integer", "location", "");
 7741|     72|        return;
 7742|    540|    } else if (id == "set") {
  ------------------
  |  Branch (7742:16): [True: 264, False: 276]
  ------------------
 7743|    264|        if (!relaxSetBindingLimits() && value >= static_cast<int>(TQualifier::layoutSetEnd))
  ------------------
  |  Branch (7743:13): [True: 264, False: 0]
  |  Branch (7743:41): [True: 0, False: 264]
  ------------------
 7744|      0|            error(loc, "set is too large", id.c_str(), "");
 7745|    264|        else
 7746|    264|            publicType.qualifier.layoutSet = value;
 7747|    264|        if (value != 0)
  ------------------
  |  Branch (7747:13): [True: 156, False: 108]
  ------------------
 7748|    156|            requireVulkan(loc, "descriptor set");
 7749|    264|        if (nonLiteral)
  ------------------
  |  Branch (7749:13): [True: 0, False: 264]
  ------------------
 7750|      0|            error(loc, "needs a literal integer", "set", "");
 7751|    264|        return;
 7752|    276|    } else if (id == "binding") {
  ------------------
  |  Branch (7752:16): [True: 264, False: 12]
  ------------------
 7753|    264|        profileRequires(loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, "binding");
 7754|    264|        profileRequires(loc, EEsProfile, 310, nullptr, "binding");
 7755|    264|        if (!relaxSetBindingLimits() && value >= static_cast<int>(TQualifier::layoutBindingEnd))
  ------------------
  |  Branch (7755:13): [True: 264, False: 0]
  |  Branch (7755:41): [True: 0, False: 264]
  ------------------
 7756|      0|            error(loc, "binding is too large", id.c_str(), "");
 7757|    264|        else
 7758|    264|            publicType.qualifier.layoutBinding = value;
 7759|    264|        if (nonLiteral)
  ------------------
  |  Branch (7759:13): [True: 0, False: 264]
  ------------------
 7760|      0|            error(loc, "needs a literal integer", "binding", "");
 7761|    264|        return;
 7762|    264|    }
 7763|     12|    if (id == "constant_id") {
  ------------------
  |  Branch (7763:9): [True: 0, False: 12]
  ------------------
 7764|      0|        requireSpv(loc, "constant_id");
 7765|      0|        if ((unsigned)value >= TQualifier::layoutSpecConstantIdEnd) {
  ------------------
  |  Branch (7765:13): [True: 0, False: 0]
  ------------------
 7766|      0|            error(loc, "specialization-constant id is too large", id.c_str(), "");
 7767|      0|        } else {
 7768|      0|            publicType.qualifier.layoutSpecConstantId = value;
 7769|      0|            publicType.qualifier.specConstant = true;
 7770|      0|            if (! intermediate.addUsedConstantId(value))
  ------------------
  |  Branch (7770:17): [True: 0, False: 0]
  ------------------
 7771|      0|                error(loc, "specialization-constant id already used", id.c_str(), "");
 7772|      0|        }
 7773|      0|        if (nonLiteral)
  ------------------
  |  Branch (7773:13): [True: 0, False: 0]
  ------------------
 7774|      0|            error(loc, "needs a literal integer", "constant_id", "");
 7775|      0|        return;
 7776|      0|    }
 7777|     12|    if (id == "component") {
  ------------------
  |  Branch (7777:9): [True: 0, False: 12]
  ------------------
 7778|      0|        requireProfile(loc, ECoreProfile | ECompatibilityProfile, "component");
 7779|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 440, E_GL_ARB_enhanced_layouts, "component");
 7780|      0|        if ((unsigned)value >= TQualifier::layoutComponentEnd)
  ------------------
  |  Branch (7780:13): [True: 0, False: 0]
  ------------------
 7781|      0|            error(loc, "component is too large", id.c_str(), "");
 7782|      0|        else
 7783|      0|            publicType.qualifier.layoutComponent = value;
 7784|      0|        if (nonLiteral)
  ------------------
  |  Branch (7784:13): [True: 0, False: 0]
  ------------------
 7785|      0|            error(loc, "needs a literal integer", "component", "");
 7786|      0|        return;
 7787|      0|    }
 7788|     12|    if (id.compare(0, 4, "xfb_") == 0) {
  ------------------
  |  Branch (7788:9): [True: 0, False: 12]
  ------------------
 7789|       |        // "Any shader making any static use (after preprocessing) of any of these
 7790|       |        // *xfb_* qualifiers will cause the shader to be in a transform feedback
 7791|       |        // capturing mode and hence responsible for describing the transform feedback
 7792|       |        // setup."
 7793|      0|        intermediate.setXfbMode();
 7794|      0|        const char* feature = "transform feedback qualifier";
 7795|      0|        requireStage(loc, (EShLanguageMask)(EShLangVertexMask | EShLangGeometryMask | EShLangTessControlMask | EShLangTessEvaluationMask), feature);
 7796|      0|        requireProfile(loc, ECoreProfile | ECompatibilityProfile, feature);
 7797|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 440, E_GL_ARB_enhanced_layouts, feature);
 7798|      0|        if (id == "xfb_buffer") {
  ------------------
  |  Branch (7798:13): [True: 0, False: 0]
  ------------------
 7799|       |            // "It is a compile-time error to specify an *xfb_buffer* that is greater than
 7800|       |            // the implementation-dependent constant gl_MaxTransformFeedbackBuffers."
 7801|      0|            if (value >= resources.maxTransformFeedbackBuffers)
  ------------------
  |  Branch (7801:17): [True: 0, False: 0]
  ------------------
 7802|      0|                error(loc, "buffer is too large:", id.c_str(), "gl_MaxTransformFeedbackBuffers is %d", resources.maxTransformFeedbackBuffers);
 7803|      0|            if (value >= (int)TQualifier::layoutXfbBufferEnd)
  ------------------
  |  Branch (7803:17): [True: 0, False: 0]
  ------------------
 7804|      0|                error(loc, "buffer is too large:", id.c_str(), "internal max is %d", TQualifier::layoutXfbBufferEnd-1);
 7805|      0|            else
 7806|      0|                publicType.qualifier.layoutXfbBuffer = value;
 7807|      0|            if (nonLiteral)
  ------------------
  |  Branch (7807:17): [True: 0, False: 0]
  ------------------
 7808|      0|                error(loc, "needs a literal integer", "xfb_buffer", "");
 7809|      0|            return;
 7810|      0|        } else if (id == "xfb_offset") {
  ------------------
  |  Branch (7810:20): [True: 0, False: 0]
  ------------------
 7811|      0|            if (value >= (int)TQualifier::layoutXfbOffsetEnd)
  ------------------
  |  Branch (7811:17): [True: 0, False: 0]
  ------------------
 7812|      0|                error(loc, "offset is too large:", id.c_str(), "internal max is %d", TQualifier::layoutXfbOffsetEnd-1);
 7813|      0|            else
 7814|      0|                publicType.qualifier.layoutXfbOffset = value;
 7815|      0|            if (nonLiteral)
  ------------------
  |  Branch (7815:17): [True: 0, False: 0]
  ------------------
 7816|      0|                error(loc, "needs a literal integer", "xfb_offset", "");
 7817|      0|            return;
 7818|      0|        } else if (id == "xfb_stride") {
  ------------------
  |  Branch (7818:20): [True: 0, False: 0]
  ------------------
 7819|       |            // "The resulting stride (implicit or explicit), when divided by 4, must be less than or equal to the
 7820|       |            // implementation-dependent constant gl_MaxTransformFeedbackInterleavedComponents."
 7821|      0|            if (value > 4 * resources.maxTransformFeedbackInterleavedComponents) {
  ------------------
  |  Branch (7821:17): [True: 0, False: 0]
  ------------------
 7822|      0|                error(loc, "1/4 stride is too large:", id.c_str(), "gl_MaxTransformFeedbackInterleavedComponents is %d",
 7823|      0|                    resources.maxTransformFeedbackInterleavedComponents);
 7824|      0|            }
 7825|      0|            if (value >= (int)TQualifier::layoutXfbStrideEnd)
  ------------------
  |  Branch (7825:17): [True: 0, False: 0]
  ------------------
 7826|      0|                error(loc, "stride is too large:", id.c_str(), "internal max is %d", TQualifier::layoutXfbStrideEnd-1);
 7827|      0|            else
 7828|      0|                publicType.qualifier.layoutXfbStride = value;
 7829|      0|            if (nonLiteral)
  ------------------
  |  Branch (7829:17): [True: 0, False: 0]
  ------------------
 7830|      0|                error(loc, "needs a literal integer", "xfb_stride", "");
 7831|      0|            return;
 7832|      0|        }
 7833|      0|    }
 7834|     12|    if (id == "input_attachment_index") {
  ------------------
  |  Branch (7834:9): [True: 12, False: 0]
  ------------------
 7835|     12|        requireVulkan(loc, "input_attachment_index");
 7836|     12|        if (value >= (int)TQualifier::layoutAttachmentEnd)
  ------------------
  |  Branch (7836:13): [True: 0, False: 12]
  ------------------
 7837|      0|            error(loc, "attachment index is too large", id.c_str(), "");
 7838|     12|        else
 7839|     12|            publicType.qualifier.layoutAttachment = value;
 7840|     12|        if (nonLiteral)
  ------------------
  |  Branch (7840:13): [True: 0, False: 12]
  ------------------
 7841|      0|            error(loc, "needs a literal integer", "input_attachment_index", "");
 7842|     12|        return;
 7843|     12|    }
 7844|      0|    if (id == "num_views") {
  ------------------
  |  Branch (7844:9): [True: 0, False: 0]
  ------------------
 7845|      0|        requireExtensions(loc, Num_OVR_multiview_EXTs, OVR_multiview_EXTs, "num_views");
 7846|      0|        publicType.shaderQualifiers.numViews = value;
 7847|      0|        if (nonLiteral)
  ------------------
  |  Branch (7847:13): [True: 0, False: 0]
  ------------------
 7848|      0|            error(loc, "needs a literal integer", "num_views", "");
 7849|      0|        return;
 7850|      0|    }
 7851|      0|    if (language == EShLangVertex ||
  ------------------
  |  Branch (7851:9): [True: 0, False: 0]
  ------------------
 7852|      0|        language == EShLangTessControl ||
  ------------------
  |  Branch (7852:9): [True: 0, False: 0]
  ------------------
 7853|      0|        language == EShLangTessEvaluation ||
  ------------------
  |  Branch (7853:9): [True: 0, False: 0]
  ------------------
 7854|      0|        language == EShLangGeometry) {
  ------------------
  |  Branch (7854:9): [True: 0, False: 0]
  ------------------
 7855|      0|        if (id == "secondary_view_offset") {
  ------------------
  |  Branch (7855:13): [True: 0, False: 0]
  ------------------
 7856|      0|            requireExtensions(loc, 1, &E_GL_NV_stereo_view_rendering, "stereo view rendering");
 7857|      0|            publicType.qualifier.layoutSecondaryViewportRelativeOffset = value;
 7858|      0|            if (nonLiteral)
  ------------------
  |  Branch (7858:17): [True: 0, False: 0]
  ------------------
 7859|      0|                error(loc, "needs a literal integer", "secondary_view_offset", "");
 7860|      0|            return;
 7861|      0|        }
 7862|      0|    }
 7863|       |
 7864|      0|    if (id == "buffer_reference_align") {
  ------------------
  |  Branch (7864:9): [True: 0, False: 0]
  ------------------
 7865|      0|        requireExtensions(loc, 1, &E_GL_EXT_buffer_reference, "buffer_reference_align");
 7866|      0|        if (! IsPow2(value))
  ------------------
  |  Branch (7866:13): [True: 0, False: 0]
  ------------------
 7867|      0|            error(loc, "must be a power of 2", "buffer_reference_align", "");
 7868|      0|        else
 7869|      0|            publicType.qualifier.layoutBufferReferenceAlign = IntLog2(value);
 7870|      0|        if (nonLiteral)
  ------------------
  |  Branch (7870:13): [True: 0, False: 0]
  ------------------
 7871|      0|            error(loc, "needs a literal integer", "buffer_reference_align", "");
 7872|      0|        return;
 7873|      0|    }
 7874|       |
 7875|      0|    if (id == "bank") {
  ------------------
  |  Branch (7875:9): [True: 0, False: 0]
  ------------------
 7876|      0|        requireExtensions(loc, 1, &E_GL_NV_push_constant_bank, "bank");
 7877|      0|        if (nonLiteral)
  ------------------
  |  Branch (7877:13): [True: 0, False: 0]
  ------------------
 7878|      0|            error(loc, "needs a literal integer", id.c_str(), "");
 7879|      0|        else if (value < 0 || (unsigned int)value >= TQualifier::layoutBankEnd)
  ------------------
  |  Branch (7879:18): [True: 0, False: 0]
  |  Branch (7879:31): [True: 0, False: 0]
  ------------------
 7880|      0|            error(loc, "bank out of range", id.c_str(), "");
 7881|      0|        else
 7882|      0|            publicType.qualifier.layoutBank = value;
 7883|      0|        return;
 7884|      0|    }
 7885|      0|    if (id == "member_offset") {
  ------------------
  |  Branch (7885:9): [True: 0, False: 0]
  ------------------
 7886|      0|        requireExtensions(loc, 1, &E_GL_NV_push_constant_bank, "member_offset");
 7887|      0|        if (nonLiteral)
  ------------------
  |  Branch (7887:13): [True: 0, False: 0]
  ------------------
 7888|      0|            error(loc, "needs a literal integer", id.c_str(), "");
 7889|      0|        else if (value < 0)
  ------------------
  |  Branch (7889:18): [True: 0, False: 0]
  ------------------
 7890|      0|            error(loc, "must be equal or greater than 0", id.c_str(), "");
 7891|      0|        else
 7892|      0|            publicType.qualifier.layoutMemberOffset = value;
 7893|      0|        return;
 7894|      0|    }
 7895|       |
 7896|      0|    if (id == "descriptor_stride") {
  ------------------
  |  Branch (7896:9): [True: 0, False: 0]
  ------------------
 7897|      0|        requireExtensions(loc, 1, &E_GL_EXT_descriptor_heap, "descriptor_stride");
 7898|      0|        requireVulkan(loc, "descriptor_stride");
 7899|      0|        if (!IsPow2(value))
  ------------------
  |  Branch (7899:13): [True: 0, False: 0]
  ------------------
 7900|      0|            error(loc, "must be a power of 2", "descriptor_stride", "");
 7901|      0|        else
 7902|      0|            publicType.qualifier.layoutDescriptorStride = uint32_t(value);
 7903|      0|        return;
 7904|      0|    }
 7905|       |
 7906|      0|    if (id == "descriptor_size") {
  ------------------
  |  Branch (7906:9): [True: 0, False: 0]
  ------------------
 7907|      0|        requireExtensions(loc, 1, &E_GL_EXT_descriptor_heap, "descriptor_size");
 7908|      0|        requireExtensions(loc, 1, &E_GL_EXT_structured_descriptor_heap, "descriptor_size");
 7909|      0|        requireVulkan(loc, "descriptor_size");
 7910|      0|        if (nonLiteral)
  ------------------
  |  Branch (7910:13): [True: 0, False: 0]
  ------------------
 7911|      0|            error(loc, "needs a literal integer", "descriptor_size", "");
 7912|      0|        else
 7913|      0|            publicType.qualifier.layoutDescriptorSize = uint32_t(value);
 7914|      0|        return;
 7915|      0|    }
 7916|       |
 7917|      0|    if (id == "heap_offset") {
  ------------------
  |  Branch (7917:9): [True: 0, False: 0]
  ------------------
 7918|      0|        requireExtensions(loc, 1, &E_GL_EXT_descriptor_heap, "heap_offset");
 7919|      0|        requireExtensions(loc, 1, &E_GL_EXT_structured_descriptor_heap, "heap_offset");
 7920|      0|        requireVulkan(loc, "heap_offset");
 7921|      0|        if (nonLiteral) {
  ------------------
  |  Branch (7921:13): [True: 0, False: 0]
  ------------------
 7922|      0|            if (!node->getQualifier().isConstant() && !node->getQualifier().isUniform() &&
  ------------------
  |  Branch (7922:17): [True: 0, False: 0]
  |  Branch (7922:55): [True: 0, False: 0]
  ------------------
 7923|      0|                !node->getQualifier().isReadOnly()) {
  ------------------
  |  Branch (7923:17): [True: 0, False: 0]
  ------------------
 7924|      0|                error(loc, "must be a literal or read-only variable value", "heap_offset", "");
 7925|      0|                return;
 7926|      0|            }
 7927|      0|            publicType.qualifier.layoutHeapOffsetNode = const_cast<TIntermTyped*>(node);
 7928|      0|        } else {
 7929|      0|            publicType.qualifier.layoutHeapOffset = uint32_t(value);
 7930|      0|        }
 7931|      0|        return;
 7932|      0|    }
 7933|       |
 7934|      0|    switch (language) {
 7935|      0|    case EShLangTessControl:
  ------------------
  |  Branch (7935:5): [True: 0, False: 0]
  ------------------
 7936|      0|        if (id == "vertices") {
  ------------------
  |  Branch (7936:13): [True: 0, False: 0]
  ------------------
 7937|      0|            if (value == 0)
  ------------------
  |  Branch (7937:17): [True: 0, False: 0]
  ------------------
 7938|      0|                error(loc, "must be greater than 0", "vertices", "");
 7939|      0|            else
 7940|      0|                publicType.shaderQualifiers.vertices = value;
 7941|      0|            if (nonLiteral)
  ------------------
  |  Branch (7941:17): [True: 0, False: 0]
  ------------------
 7942|      0|                error(loc, "needs a literal integer", "vertices", "");
 7943|      0|            return;
 7944|      0|        }
 7945|      0|        break;
 7946|       |
 7947|      0|    case EShLangGeometry:
  ------------------
  |  Branch (7947:5): [True: 0, False: 0]
  ------------------
 7948|      0|        if (id == "invocations") {
  ------------------
  |  Branch (7948:13): [True: 0, False: 0]
  ------------------
 7949|      0|            profileRequires(loc, ECompatibilityProfile | ECoreProfile, 400,
 7950|      0|                Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5, "invocations");
 7951|       |
 7952|      0|            if (value == 0)
  ------------------
  |  Branch (7952:17): [True: 0, False: 0]
  ------------------
 7953|      0|                error(loc, "must be at least 1", "invocations", "");
 7954|      0|            else
 7955|      0|                publicType.shaderQualifiers.invocations = value;
 7956|      0|            if (nonLiteral)
  ------------------
  |  Branch (7956:17): [True: 0, False: 0]
  ------------------
 7957|      0|                error(loc, "needs a literal integer", "invocations", "");
 7958|      0|            return;
 7959|      0|        }
 7960|      0|        if (id == "max_vertices") {
  ------------------
  |  Branch (7960:13): [True: 0, False: 0]
  ------------------
 7961|      0|            publicType.shaderQualifiers.vertices = value;
 7962|      0|            if (value > resources.maxGeometryOutputVertices)
  ------------------
  |  Branch (7962:17): [True: 0, False: 0]
  ------------------
 7963|      0|                error(loc, "too large, must be less than gl_MaxGeometryOutputVertices", "max_vertices", "");
 7964|      0|            if (nonLiteral)
  ------------------
  |  Branch (7964:17): [True: 0, False: 0]
  ------------------
 7965|      0|                error(loc, "needs a literal integer", "max_vertices", "");
 7966|      0|            return;
 7967|      0|        }
 7968|      0|        if (id == "stream") {
  ------------------
  |  Branch (7968:13): [True: 0, False: 0]
  ------------------
 7969|      0|            requireProfile(loc, ~EEsProfile, "selecting output stream");
 7970|      0|            publicType.qualifier.layoutStream = value;
 7971|      0|            if (value > 0)
  ------------------
  |  Branch (7971:17): [True: 0, False: 0]
  ------------------
 7972|      0|                intermediate.setMultiStream();
 7973|      0|            if (nonLiteral)
  ------------------
  |  Branch (7973:17): [True: 0, False: 0]
  ------------------
 7974|      0|                error(loc, "needs a literal integer", "stream", "");
 7975|      0|            return;
 7976|      0|        }
 7977|      0|        break;
 7978|       |
 7979|      0|    case EShLangFragment:
  ------------------
  |  Branch (7979:5): [True: 0, False: 0]
  ------------------
 7980|      0|        if (id == "index") {
  ------------------
  |  Branch (7980:13): [True: 0, False: 0]
  ------------------
 7981|      0|            requireProfile(loc, ECompatibilityProfile | ECoreProfile | EEsProfile, "index layout qualifier on fragment output");
 7982|      0|            const char* exts[2] = { E_GL_ARB_separate_shader_objects, E_GL_ARB_explicit_attrib_location };
 7983|      0|            profileRequires(loc, ECompatibilityProfile | ECoreProfile, 330, 2, exts, "index layout qualifier on fragment output");
 7984|      0|            profileRequires(loc, EEsProfile ,310, E_GL_EXT_blend_func_extended, "index layout qualifier on fragment output");
 7985|       |            // "It is also a compile-time error if a fragment shader sets a layout index to less than 0 or greater than 1."
 7986|      0|            if (value < 0 || value > 1) {
  ------------------
  |  Branch (7986:17): [True: 0, False: 0]
  |  Branch (7986:30): [True: 0, False: 0]
  ------------------
 7987|      0|                value = 0;
 7988|      0|                error(loc, "value must be 0 or 1", "index", "");
 7989|      0|            }
 7990|       |
 7991|      0|            publicType.qualifier.layoutIndex = value;
 7992|      0|            if (nonLiteral)
  ------------------
  |  Branch (7992:17): [True: 0, False: 0]
  ------------------
 7993|      0|                error(loc, "needs a literal integer", "index", "");
 7994|      0|            return;
 7995|      0|        }
 7996|      0|        break;
 7997|       |
 7998|      0|    case EShLangMesh:
  ------------------
  |  Branch (7998:5): [True: 0, False: 0]
  ------------------
 7999|      0|        if (id == "max_vertices") {
  ------------------
  |  Branch (7999:13): [True: 0, False: 0]
  ------------------
 8000|      0|            requireExtensions(loc, Num_AEP_mesh_shader, AEP_mesh_shader, "max_vertices");
 8001|      0|            publicType.shaderQualifiers.vertices = value;
 8002|      0|            int max = extensionTurnedOn(E_GL_EXT_mesh_shader) ? resources.maxMeshOutputVerticesEXT
  ------------------
  |  Branch (8002:23): [True: 0, False: 0]
  ------------------
 8003|      0|                                                              : resources.maxMeshOutputVerticesNV;
 8004|      0|            if (value > max) {
  ------------------
  |  Branch (8004:17): [True: 0, False: 0]
  ------------------
 8005|      0|                TString maxsErrtring = "too large, must be less than ";
 8006|      0|                maxsErrtring.append(extensionTurnedOn(E_GL_EXT_mesh_shader) ? "gl_MaxMeshOutputVerticesEXT"
  ------------------
  |  Branch (8006:37): [True: 0, False: 0]
  ------------------
 8007|      0|                                                                            : "gl_MaxMeshOutputVerticesNV");
 8008|      0|                error(loc, maxsErrtring.c_str(), "max_vertices", "");
 8009|      0|            }
 8010|      0|            if (nonLiteral)
  ------------------
  |  Branch (8010:17): [True: 0, False: 0]
  ------------------
 8011|      0|                error(loc, "needs a literal integer", "max_vertices", "");
 8012|      0|            return;
 8013|      0|        }
 8014|      0|        if (id == "max_primitives") {
  ------------------
  |  Branch (8014:13): [True: 0, False: 0]
  ------------------
 8015|      0|            requireExtensions(loc, Num_AEP_mesh_shader, AEP_mesh_shader, "max_primitives");
 8016|      0|            publicType.shaderQualifiers.primitives = value;
 8017|      0|            int max = extensionTurnedOn(E_GL_EXT_mesh_shader) ? resources.maxMeshOutputPrimitivesEXT
  ------------------
  |  Branch (8017:23): [True: 0, False: 0]
  ------------------
 8018|      0|                                                              : resources.maxMeshOutputPrimitivesNV;
 8019|      0|            if (value > max) {
  ------------------
  |  Branch (8019:17): [True: 0, False: 0]
  ------------------
 8020|      0|                TString maxsErrtring = "too large, must be less than ";
 8021|      0|                maxsErrtring.append(extensionTurnedOn(E_GL_EXT_mesh_shader) ? "gl_MaxMeshOutputPrimitivesEXT"
  ------------------
  |  Branch (8021:37): [True: 0, False: 0]
  ------------------
 8022|      0|                                                                            : "gl_MaxMeshOutputPrimitivesNV");
 8023|      0|                error(loc, maxsErrtring.c_str(), "max_primitives", "");
 8024|      0|            }
 8025|      0|            if (nonLiteral)
  ------------------
  |  Branch (8025:17): [True: 0, False: 0]
  ------------------
 8026|      0|                error(loc, "needs a literal integer", "max_primitives", "");
 8027|      0|            return;
 8028|      0|        }
 8029|      0|        [[fallthrough]];
 8030|       |
 8031|      0|    case EShLangTask:
  ------------------
  |  Branch (8031:5): [True: 0, False: 0]
  ------------------
 8032|       |        // Fall through
 8033|      0|    case EShLangCompute:
  ------------------
  |  Branch (8033:5): [True: 0, False: 0]
  ------------------
 8034|      0|        if (id.compare(0, 11, "local_size_") == 0) {
  ------------------
  |  Branch (8034:13): [True: 0, False: 0]
  ------------------
 8035|      0|            if (language == EShLangMesh || language == EShLangTask) {
  ------------------
  |  Branch (8035:17): [True: 0, False: 0]
  |  Branch (8035:44): [True: 0, False: 0]
  ------------------
 8036|      0|                requireExtensions(loc, Num_AEP_mesh_shader, AEP_mesh_shader, "gl_WorkGroupSize");
 8037|      0|            } else {
 8038|      0|                profileRequires(loc, EEsProfile, 310, nullptr, "gl_WorkGroupSize");
 8039|      0|                profileRequires(loc, ~EEsProfile, 430, E_GL_ARB_compute_shader, "gl_WorkGroupSize");
 8040|      0|            }
 8041|      0|            if (nonLiteral)
  ------------------
  |  Branch (8041:17): [True: 0, False: 0]
  ------------------
 8042|      0|                error(loc, "needs a literal integer", "local_size", "");
 8043|      0|            if (id.size() == 12 && value == 0) {
  ------------------
  |  Branch (8043:17): [True: 0, False: 0]
  |  Branch (8043:36): [True: 0, False: 0]
  ------------------
 8044|      0|                error(loc, "must be at least 1", id.c_str(), "");
 8045|      0|                return;
 8046|      0|            }
 8047|      0|            if (id == "local_size_x") {
  ------------------
  |  Branch (8047:17): [True: 0, False: 0]
  ------------------
 8048|      0|                publicType.shaderQualifiers.localSize[0] = value;
 8049|      0|                publicType.shaderQualifiers.localSizeNotDefault[0] = true;
 8050|      0|                return;
 8051|      0|            }
 8052|      0|            if (id == "local_size_y") {
  ------------------
  |  Branch (8052:17): [True: 0, False: 0]
  ------------------
 8053|      0|                publicType.shaderQualifiers.localSize[1] = value;
 8054|      0|                publicType.shaderQualifiers.localSizeNotDefault[1] = true;
 8055|      0|                return;
 8056|      0|            }
 8057|      0|            if (id == "local_size_z") {
  ------------------
  |  Branch (8057:17): [True: 0, False: 0]
  ------------------
 8058|      0|                publicType.shaderQualifiers.localSize[2] = value;
 8059|      0|                publicType.shaderQualifiers.localSizeNotDefault[2] = true;
 8060|      0|                return;
 8061|      0|            }
 8062|      0|            if (spvVersion.spv != 0) {
  ------------------
  |  Branch (8062:17): [True: 0, False: 0]
  ------------------
 8063|      0|                if (id == "local_size_x_id") {
  ------------------
  |  Branch (8063:21): [True: 0, False: 0]
  ------------------
 8064|      0|                    publicType.shaderQualifiers.localSizeSpecId[0] = value;
 8065|      0|                    return;
 8066|      0|                }
 8067|      0|                if (id == "local_size_y_id") {
  ------------------
  |  Branch (8067:21): [True: 0, False: 0]
  ------------------
 8068|      0|                    publicType.shaderQualifiers.localSizeSpecId[1] = value;
 8069|      0|                    return;
 8070|      0|                }
 8071|      0|                if (id == "local_size_z_id") {
  ------------------
  |  Branch (8071:21): [True: 0, False: 0]
  ------------------
 8072|      0|                    publicType.shaderQualifiers.localSizeSpecId[2] = value;
 8073|      0|                    return;
 8074|      0|                }
 8075|      0|            }
 8076|      0|        }
 8077|      0|        if (id.compare(0, 18, "shading_rate_xqcom") == 0 ||
  ------------------
  |  Branch (8077:13): [True: 0, False: 0]
  ------------------
 8078|      0|            id.compare(0, 18, "shading_rate_yqcom") == 0 ||
  ------------------
  |  Branch (8078:13): [True: 0, False: 0]
  ------------------
 8079|      0|            id.compare(0, 18, "shading_rate_zqcom") == 0) {
  ------------------
  |  Branch (8079:13): [True: 0, False: 0]
  ------------------
 8080|      0|            requireExtensions(loc, 1, &E_GL_QCOM_tile_shading, "tile shading QCOM");
 8081|      0|            if (nonLiteral)
  ------------------
  |  Branch (8081:17): [True: 0, False: 0]
  ------------------
 8082|      0|                error(loc, "needs a literal integer", "shading_rate_*QCOM", "");
 8083|      0|            if (id.size() == 18 && value == 0) {
  ------------------
  |  Branch (8083:17): [True: 0, False: 0]
  |  Branch (8083:36): [True: 0, False: 0]
  ------------------
 8084|      0|                error(loc, "must be at least 1", id.c_str(), "");
 8085|      0|                return;
 8086|      0|            }
 8087|      0|            if (id == "shading_rate_xqcom") {
  ------------------
  |  Branch (8087:17): [True: 0, False: 0]
  ------------------
 8088|      0|                publicType.shaderQualifiers.layoutTileShadingRateQCOM[0] = value;
 8089|      0|                publicType.shaderQualifiers.layoutTileShadingRateQCOMNotDefault[0] = true;
 8090|      0|                if (! IsPow2(value))
  ------------------
  |  Branch (8090:21): [True: 0, False: 0]
  ------------------
 8091|      0|                    error(loc, "must be a power of 2", id.c_str(), "");
 8092|      0|                return;
 8093|      0|            }
 8094|      0|            if (id == "shading_rate_yqcom") {
  ------------------
  |  Branch (8094:17): [True: 0, False: 0]
  ------------------
 8095|      0|                publicType.shaderQualifiers.layoutTileShadingRateQCOM[1] = value;
 8096|      0|                publicType.shaderQualifiers.layoutTileShadingRateQCOMNotDefault[1] = true;
 8097|      0|                if (! IsPow2(value))
  ------------------
  |  Branch (8097:21): [True: 0, False: 0]
  ------------------
 8098|      0|                    error(loc, "must be a power of 2", id.c_str(), "");
 8099|      0|                return;
 8100|      0|            }
 8101|      0|            if (id == "shading_rate_zqcom") {
  ------------------
  |  Branch (8101:17): [True: 0, False: 0]
  ------------------
 8102|      0|                publicType.shaderQualifiers.layoutTileShadingRateQCOM[2] = value;
 8103|      0|                publicType.shaderQualifiers.layoutTileShadingRateQCOMNotDefault[2] = true;
 8104|      0|                if (value <= 0)
  ------------------
  |  Branch (8104:21): [True: 0, False: 0]
  ------------------
 8105|      0|                    error(loc, "must be a positive value", id.c_str(), "");
 8106|      0|                return;
 8107|      0|            }
 8108|      0|        }
 8109|      0|        break;
 8110|       |
 8111|      0|    default:
  ------------------
  |  Branch (8111:5): [True: 0, False: 0]
  ------------------
 8112|      0|        break;
 8113|      0|    }
 8114|       |
 8115|      0|    error(loc, "there is no such layout identifier for this stage taking an assigned value", id.c_str(), "");
 8116|      0|}
_ZN7glslang13TParseContext27mergeObjectLayoutQualifiersERNS_10TQualifierERKS1_b:
 8133|   197k|{
 8134|   197k|    if (src.hasMatrix())
  ------------------
  |  Branch (8134:9): [True: 0, False: 197k]
  ------------------
 8135|      0|        dst.layoutMatrix = src.layoutMatrix;
 8136|   197k|    if (src.hasPacking())
  ------------------
  |  Branch (8136:9): [True: 0, False: 197k]
  ------------------
 8137|      0|        dst.layoutPacking = src.layoutPacking;
 8138|       |
 8139|   197k|    if (src.hasStream())
  ------------------
  |  Branch (8139:9): [True: 10, False: 197k]
  ------------------
 8140|     10|        dst.layoutStream = src.layoutStream;
 8141|   197k|    if (src.hasFormat())
  ------------------
  |  Branch (8141:9): [True: 132, False: 197k]
  ------------------
 8142|    132|        dst.layoutFormat = src.layoutFormat;
 8143|   197k|    if (src.hasXfbBuffer())
  ------------------
  |  Branch (8143:9): [True: 58, False: 197k]
  ------------------
 8144|     58|        dst.layoutXfbBuffer = src.layoutXfbBuffer;
 8145|   197k|    if (src.hasBufferReferenceAlign())
  ------------------
  |  Branch (8145:9): [True: 0, False: 197k]
  ------------------
 8146|      0|        dst.layoutBufferReferenceAlign = src.layoutBufferReferenceAlign;
 8147|       |
 8148|   197k|    if (src.hasAlign())
  ------------------
  |  Branch (8148:9): [True: 0, False: 197k]
  ------------------
 8149|      0|        dst.layoutAlign = src.layoutAlign;
 8150|       |
 8151|   197k|    if (! inheritOnly) {
  ------------------
  |  Branch (8151:9): [True: 197k, False: 196]
  ------------------
 8152|   197k|        if (src.hasLocation())
  ------------------
  |  Branch (8152:13): [True: 72, False: 197k]
  ------------------
 8153|     72|            dst.layoutLocation = src.layoutLocation;
 8154|   197k|        if (src.hasOffset())
  ------------------
  |  Branch (8154:13): [True: 0, False: 197k]
  ------------------
 8155|      0|            dst.layoutOffset = src.layoutOffset;
 8156|   197k|        if (src.hasSet())
  ------------------
  |  Branch (8156:13): [True: 264, False: 197k]
  ------------------
 8157|    264|            dst.layoutSet = src.layoutSet;
 8158|   197k|        if (src.hasBinding())
  ------------------
  |  Branch (8158:13): [True: 528, False: 196k]
  ------------------
 8159|    528|            dst.layoutBinding = src.layoutBinding;
 8160|       |
 8161|   197k|        if (src.hasSpecConstantId())
  ------------------
  |  Branch (8161:13): [True: 0, False: 197k]
  ------------------
 8162|      0|            dst.layoutSpecConstantId = src.layoutSpecConstantId;
 8163|       |
 8164|   197k|        if (src.hasComponent())
  ------------------
  |  Branch (8164:13): [True: 0, False: 197k]
  ------------------
 8165|      0|            dst.layoutComponent = src.layoutComponent;
 8166|   197k|        if (src.hasIndex())
  ------------------
  |  Branch (8166:13): [True: 0, False: 197k]
  ------------------
 8167|      0|            dst.layoutIndex = src.layoutIndex;
 8168|   197k|        if (src.hasXfbStride())
  ------------------
  |  Branch (8168:13): [True: 0, False: 197k]
  ------------------
 8169|      0|            dst.layoutXfbStride = src.layoutXfbStride;
 8170|   197k|        if (src.hasXfbOffset())
  ------------------
  |  Branch (8170:13): [True: 0, False: 197k]
  ------------------
 8171|      0|            dst.layoutXfbOffset = src.layoutXfbOffset;
 8172|   197k|        if (src.hasAttachment())
  ------------------
  |  Branch (8172:13): [True: 24, False: 197k]
  ------------------
 8173|     24|            dst.layoutAttachment = src.layoutAttachment;
 8174|   197k|        if (src.layoutDescriptorHeap)
  ------------------
  |  Branch (8174:13): [True: 0, False: 197k]
  ------------------
 8175|      0|            dst.layoutDescriptorHeap = true;
 8176|   197k|        if (src.descriptorHeapDescriptorNode)
  ------------------
  |  Branch (8176:13): [True: 0, False: 197k]
  ------------------
 8177|      0|            dst.descriptorHeapDescriptorNode = true;
 8178|   197k|        if (src.layoutDescriptorStride != TQualifier::layoutDescriptorStrideEnd)
  ------------------
  |  Branch (8178:13): [True: 0, False: 197k]
  ------------------
 8179|      0|            dst.layoutDescriptorStride = src.layoutDescriptorStride;
 8180|   197k|        if (src.layoutDescriptorSize != TQualifier::layoutDescriptorSizeEnd)
  ------------------
  |  Branch (8180:13): [True: 0, False: 197k]
  ------------------
 8181|      0|            dst.layoutDescriptorSize = src.layoutDescriptorSize;
 8182|   197k|        if (src.layoutHeapOffset != 0)
  ------------------
  |  Branch (8182:13): [True: 0, False: 197k]
  ------------------
 8183|      0|            dst.layoutHeapOffset = src.layoutHeapOffset;
 8184|   197k|        if (src.layoutHeapOffsetNode != nullptr)
  ------------------
  |  Branch (8184:13): [True: 0, False: 197k]
  ------------------
 8185|      0|            dst.layoutHeapOffsetNode = src.layoutHeapOffsetNode;
 8186|   197k|        if (src.layoutPushConstant)
  ------------------
  |  Branch (8186:13): [True: 0, False: 197k]
  ------------------
 8187|      0|            dst.layoutPushConstant = true;
 8188|       |
 8189|   197k|        if (src.layoutBufferReference)
  ------------------
  |  Branch (8189:13): [True: 0, False: 197k]
  ------------------
 8190|      0|            dst.layoutBufferReference = true;
 8191|   197k|        if (src.layoutDescriptorBufferType)
  ------------------
  |  Branch (8191:13): [True: 0, False: 197k]
  ------------------
 8192|      0|            dst.layoutDescriptorBufferType = true;
 8193|       |
 8194|   197k|        if (src.layoutPassthrough)
  ------------------
  |  Branch (8194:13): [True: 0, False: 197k]
  ------------------
 8195|      0|            dst.layoutPassthrough = true;
 8196|   197k|        if (src.layoutViewportRelative)
  ------------------
  |  Branch (8196:13): [True: 0, False: 197k]
  ------------------
 8197|      0|            dst.layoutViewportRelative = true;
 8198|   197k|        if (src.layoutSecondaryViewportRelativeOffset != -2048)
  ------------------
  |  Branch (8198:13): [True: 0, False: 197k]
  ------------------
 8199|      0|            dst.layoutSecondaryViewportRelativeOffset = src.layoutSecondaryViewportRelativeOffset;
 8200|   197k|        if (src.layoutShaderRecord)
  ------------------
  |  Branch (8200:13): [True: 0, False: 197k]
  ------------------
 8201|      0|            dst.layoutShaderRecord = true;
 8202|   197k|        if (src.layoutFullQuads)
  ------------------
  |  Branch (8202:13): [True: 0, False: 197k]
  ------------------
 8203|      0|            dst.layoutFullQuads = true;
 8204|   197k|        if (src.layoutQuadDeriv)
  ------------------
  |  Branch (8204:13): [True: 0, False: 197k]
  ------------------
 8205|      0|            dst.layoutQuadDeriv = true;
 8206|   197k|        if (src.layoutBindlessSampler)
  ------------------
  |  Branch (8206:13): [True: 0, False: 197k]
  ------------------
 8207|      0|            dst.layoutBindlessSampler = true;
 8208|   197k|        if (src.layoutBindlessImage)
  ------------------
  |  Branch (8208:13): [True: 0, False: 197k]
  ------------------
 8209|      0|            dst.layoutBindlessImage = true;
 8210|   197k|        if (src.pervertexNV)
  ------------------
  |  Branch (8210:13): [True: 0, False: 197k]
  ------------------
 8211|      0|            dst.pervertexNV = true;
 8212|   197k|        if (src.pervertexEXT)
  ------------------
  |  Branch (8212:13): [True: 0, False: 197k]
  ------------------
 8213|      0|            dst.pervertexEXT = true;
 8214|   197k|        if (src.layoutHitObjectShaderRecordNV)
  ------------------
  |  Branch (8214:13): [True: 0, False: 197k]
  ------------------
 8215|      0|            dst.layoutHitObjectShaderRecordNV = true;
 8216|   197k|        dst.layoutTileAttachmentQCOM |= src.layoutTileAttachmentQCOM;
 8217|   197k|        if (src.layoutHitObjectShaderRecordEXT)
  ------------------
  |  Branch (8217:13): [True: 0, False: 197k]
  ------------------
 8218|      0|            dst.layoutHitObjectShaderRecordEXT = true;
 8219|   197k|        if (src.hasBank())
  ------------------
  |  Branch (8219:13): [True: 0, False: 197k]
  ------------------
 8220|      0|            dst.layoutBank = src.layoutBank;
 8221|   197k|        if (src.hasMemberOffset())
  ------------------
  |  Branch (8221:13): [True: 0, False: 197k]
  ------------------
 8222|      0|            dst.layoutMemberOffset = src.layoutMemberOffset;
 8223|   197k|    }
 8224|   197k|}
_ZN7glslang13TParseContext17layoutObjectCheckERKNS_10TSourceLocERKNS_7TSymbolE:
 8228|  15.6k|{
 8229|  15.6k|    const TType& type = symbol.getType();
 8230|  15.6k|    const TQualifier& qualifier = type.getQualifier();
 8231|       |
 8232|       |    // first, cross check WRT to just the type
 8233|  15.6k|    layoutTypeCheck(loc, type);
 8234|       |
 8235|       |    // now, any remaining error checking based on the object itself
 8236|       |
 8237|  15.6k|    if (qualifier.hasAnyLocation()) {
  ------------------
  |  Branch (8237:9): [True: 72, False: 15.5k]
  ------------------
 8238|     72|        switch (qualifier.storage) {
 8239|      0|        case EvqUniform:
  ------------------
  |  Branch (8239:9): [True: 0, False: 72]
  ------------------
 8240|      0|        case EvqBuffer:
  ------------------
  |  Branch (8240:9): [True: 0, False: 72]
  ------------------
 8241|      0|            if (symbol.getAsVariable() == nullptr)
  ------------------
  |  Branch (8241:17): [True: 0, False: 0]
  ------------------
 8242|      0|                error(loc, "can only be used on variable declaration", "location", "");
 8243|      0|            break;
 8244|     72|        default:
  ------------------
  |  Branch (8244:9): [True: 72, False: 0]
  ------------------
 8245|     72|            break;
 8246|     72|        }
 8247|     72|    }
 8248|       |
 8249|       |    // user-variable location check, which are required for SPIR-V in/out:
 8250|       |    //  - variables have it directly,
 8251|       |    //  - blocks have it on each member (already enforced), so check first one
 8252|  15.6k|    if (spvVersion.spv > 0 && !parsingBuiltins && qualifier.builtIn == EbvNone &&
  ------------------
  |  Branch (8252:9): [True: 15.6k, False: 0]
  |  Branch (8252:31): [True: 600, False: 15.0k]
  |  Branch (8252:51): [True: 600, False: 0]
  ------------------
 8253|    600|        !qualifier.hasLocation() && !intermediate.getAutoMapLocations()) {
  ------------------
  |  Branch (8253:9): [True: 528, False: 72]
  |  Branch (8253:37): [True: 176, False: 352]
  ------------------
 8254|       |
 8255|    176|        switch (qualifier.storage) {
 8256|      0|        case EvqVaryingIn:
  ------------------
  |  Branch (8256:9): [True: 0, False: 176]
  ------------------
 8257|      0|        case EvqVaryingOut:
  ------------------
  |  Branch (8257:9): [True: 0, False: 176]
  ------------------
 8258|      0|            if (!type.getQualifier().isTaskMemory() && !type.getQualifier().hasSpirvDecorate() &&
  ------------------
  |  Branch (8258:17): [True: 0, False: 0]
  |  Branch (8258:56): [True: 0, False: 0]
  ------------------
 8259|      0|                (type.getBasicType() != EbtBlock ||
  ------------------
  |  Branch (8259:18): [True: 0, False: 0]
  ------------------
 8260|      0|                 (type.getStruct()->size() > 0 &&
  ------------------
  |  Branch (8260:19): [True: 0, False: 0]
  ------------------
 8261|      0|                  !(*type.getStruct())[0].type->getQualifier().hasLocation() &&
  ------------------
  |  Branch (8261:19): [True: 0, False: 0]
  ------------------
 8262|      0|                   (*type.getStruct())[0].type->getQualifier().builtIn == EbvNone)))
  ------------------
  |  Branch (8262:20): [True: 0, False: 0]
  ------------------
 8263|      0|                error(loc, "SPIR-V requires location for user input/output", "location", "");
 8264|      0|            break;
 8265|    176|        default:
  ------------------
  |  Branch (8265:9): [True: 176, False: 0]
  ------------------
 8266|    176|            break;
 8267|    176|        }
 8268|    176|    }
 8269|       |
 8270|       |    // Check packing and matrix
 8271|  15.6k|    if (qualifier.hasUniformLayout()) {
  ------------------
  |  Branch (8271:9): [True: 264, False: 15.3k]
  ------------------
 8272|    264|        switch (qualifier.storage) {
 8273|    264|        case EvqUniform:
  ------------------
  |  Branch (8273:9): [True: 264, False: 0]
  ------------------
 8274|    264|        case EvqBuffer:
  ------------------
  |  Branch (8274:9): [True: 0, False: 264]
  ------------------
 8275|    264|            if (type.getBasicType() != EbtBlock) {
  ------------------
  |  Branch (8275:17): [True: 264, False: 0]
  ------------------
 8276|    264|                if (qualifier.hasMatrix())
  ------------------
  |  Branch (8276:21): [True: 0, False: 264]
  ------------------
 8277|      0|                    error(loc, "cannot specify matrix layout on a variable declaration", "layout", "");
 8278|    264|                if (qualifier.hasPacking())
  ------------------
  |  Branch (8278:21): [True: 0, False: 264]
  ------------------
 8279|      0|                    error(loc, "cannot specify packing on a variable declaration", "layout", "");
 8280|       |                // "The offset qualifier can only be used on block members of blocks..."
 8281|    264|                if (qualifier.hasOffset() && !type.isAtomic())
  ------------------
  |  Branch (8281:21): [True: 0, False: 264]
  |  Branch (8281:46): [True: 0, False: 0]
  ------------------
 8282|      0|                    error(loc, "cannot specify on a variable declaration", "offset", "");
 8283|       |                // "The align qualifier can only be used on blocks or block members..."
 8284|    264|                if (qualifier.hasAlign())
  ------------------
  |  Branch (8284:21): [True: 0, False: 264]
  ------------------
 8285|      0|                    error(loc, "cannot specify on a variable declaration", "align", "");
 8286|    264|                if (qualifier.isPushConstant())
  ------------------
  |  Branch (8286:21): [True: 0, False: 264]
  ------------------
 8287|      0|                    error(loc, "can only specify on a uniform block", "push_constant", "");
 8288|    264|                if (qualifier.isShaderRecord())
  ------------------
  |  Branch (8288:21): [True: 0, False: 264]
  ------------------
 8289|      0|                    error(loc, "can only specify on a buffer block", "shaderRecordNV", "");
 8290|    264|                if (qualifier.hasLocation() && type.isAtomic())
  ------------------
  |  Branch (8290:21): [True: 0, False: 264]
  |  Branch (8290:48): [True: 0, False: 0]
  ------------------
 8291|      0|                    error(loc, "cannot specify on atomic counter", "location", "");
 8292|    264|            }
 8293|    264|            break;
 8294|      0|        default:
  ------------------
  |  Branch (8294:9): [True: 0, False: 264]
  ------------------
 8295|       |            // these were already filtered by layoutTypeCheck() (or its callees)
 8296|      0|            break;
 8297|    264|        }
 8298|    264|    }
 8299|       |
 8300|       |    // Check that an in/out variable or block doesn't contain a boolean member
 8301|       |    // Don't enforce if redeclaring a builtin, which are allowed to contain bool
 8302|  15.6k|    if (!parsingBuiltins && type.containsBasicType(EbtBool) && !builtInName(symbol.getName())) {
  ------------------
  |  Branch (8302:9): [True: 600, False: 15.0k]
  |  Branch (8302:29): [True: 0, False: 600]
  |  Branch (8302:64): [True: 0, False: 0]
  ------------------
 8303|      0|        switch(qualifier.storage) {
 8304|      0|        case EvqVaryingIn:
  ------------------
  |  Branch (8304:9): [True: 0, False: 0]
  ------------------
 8305|      0|        case EvqVaryingOut:
  ------------------
  |  Branch (8305:9): [True: 0, False: 0]
  ------------------
 8306|      0|        {
 8307|      0|            const char *reason = type.getBasicType() == EbtBool ? "cannot be bool" : "cannot contain bool";
  ------------------
  |  Branch (8307:34): [True: 0, False: 0]
  ------------------
 8308|      0|            error(loc, reason, GetStorageQualifierString(qualifier.storage), "");
 8309|      0|            break;
 8310|      0|        }
 8311|      0|        default:
  ------------------
  |  Branch (8311:9): [True: 0, False: 0]
  ------------------
 8312|      0|            break;
 8313|      0|        }
 8314|      0|    }
 8315|  15.6k|}
_ZN7glslang13TParseContext30layoutMemberLocationArrayCheckERKNS_10TSourceLocEbPNS_11TArraySizesE:
 8326|     98|{
 8327|     98|    if (memberWithLocation && arraySizes != nullptr) {
  ------------------
  |  Branch (8327:9): [True: 0, False: 98]
  |  Branch (8327:31): [True: 0, False: 0]
  ------------------
 8328|      0|        if (arraySizes->getNumDims() > (currentBlockQualifier.isArrayedIo(language) ? 1 : 0))
  ------------------
  |  Branch (8328:13): [True: 0, False: 0]
  |  Branch (8328:41): [True: 0, False: 0]
  ------------------
 8329|      0|            error(loc, "cannot use in a block array where new locations are needed for each block element",
 8330|      0|                       "location", "");
 8331|      0|    }
 8332|     98|}
_ZN7glslang13TParseContext15layoutTypeCheckERKNS_10TSourceLocERKNS_5TTypeE:
 8336|  16.1k|{
 8337|  16.1k|    const TQualifier& qualifier = type.getQualifier();
 8338|       |
 8339|       |    // first, intra-layout qualifier-only error checking
 8340|  16.1k|    layoutQualifierCheck(loc, qualifier);
 8341|       |
 8342|       |    // now, error checking combining type and qualifier
 8343|       |
 8344|  16.1k|    if (qualifier.hasAnyLocation()) {
  ------------------
  |  Branch (8344:9): [True: 72, False: 16.0k]
  ------------------
 8345|     72|        if (qualifier.hasLocation()) {
  ------------------
  |  Branch (8345:13): [True: 72, False: 0]
  ------------------
 8346|     72|            if (qualifier.storage == EvqVaryingOut && language == EShLangFragment) {
  ------------------
  |  Branch (8346:17): [True: 6, False: 66]
  |  Branch (8346:55): [True: 0, False: 6]
  ------------------
 8347|      0|                if (qualifier.layoutLocation >= (unsigned int)resources.maxDrawBuffers)
  ------------------
  |  Branch (8347:21): [True: 0, False: 0]
  ------------------
 8348|      0|                    error(loc, "too large for fragment output", "location", "");
 8349|      0|            }
 8350|     72|        }
 8351|     72|        if (qualifier.hasComponent()) {
  ------------------
  |  Branch (8351:13): [True: 0, False: 72]
  ------------------
 8352|       |            // "It is a compile-time error if this sequence of components gets larger than 3."
 8353|      0|            if (qualifier.layoutComponent + type.getVectorSize() * (type.getBasicType() == EbtDouble ? 2 : 1) > 4)
  ------------------
  |  Branch (8353:17): [True: 0, False: 0]
  |  Branch (8353:69): [True: 0, False: 0]
  ------------------
 8354|      0|                error(loc, "type overflows the available 4 components", "component", "");
 8355|       |
 8356|       |            // "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."
 8357|      0|            if (type.isMatrix() || type.getBasicType() == EbtBlock || type.getBasicType() == EbtStruct)
  ------------------
  |  Branch (8357:17): [True: 0, False: 0]
  |  Branch (8357:36): [True: 0, False: 0]
  |  Branch (8357:71): [True: 0, False: 0]
  ------------------
 8358|      0|                error(loc, "cannot apply to a matrix, structure, or block", "component", "");
 8359|       |
 8360|       |            // " It is a compile-time error to use component 1 or 3 as the beginning of a double or dvec2."
 8361|      0|            if (type.getBasicType() == EbtDouble)
  ------------------
  |  Branch (8361:17): [True: 0, False: 0]
  ------------------
 8362|      0|                if (qualifier.layoutComponent & 1)
  ------------------
  |  Branch (8362:21): [True: 0, False: 0]
  ------------------
 8363|      0|                    error(loc, "doubles cannot start on an odd-numbered component", "component", "");
 8364|      0|        }
 8365|       |
 8366|     72|        switch (qualifier.storage) {
 8367|     66|        case EvqVaryingIn:
  ------------------
  |  Branch (8367:9): [True: 66, False: 6]
  ------------------
 8368|     72|        case EvqVaryingOut:
  ------------------
  |  Branch (8368:9): [True: 6, False: 66]
  ------------------
 8369|     72|            if (type.getBasicType() == EbtBlock)
  ------------------
  |  Branch (8369:17): [True: 0, False: 72]
  ------------------
 8370|      0|                profileRequires(loc, ECoreProfile | ECompatibilityProfile, 440, E_GL_ARB_enhanced_layouts, "location qualifier on in/out block");
 8371|     72|            if (type.getQualifier().isTaskMemory())
  ------------------
  |  Branch (8371:17): [True: 0, False: 72]
  ------------------
 8372|      0|                error(loc, "cannot apply to taskNV in/out blocks", "location", "");
 8373|     72|            break;
 8374|      0|        case EvqUniform:
  ------------------
  |  Branch (8374:9): [True: 0, False: 72]
  ------------------
 8375|      0|        case EvqBuffer:
  ------------------
  |  Branch (8375:9): [True: 0, False: 72]
  ------------------
 8376|      0|            if (type.getBasicType() == EbtBlock)
  ------------------
  |  Branch (8376:17): [True: 0, False: 0]
  ------------------
 8377|      0|                error(loc, "cannot apply to uniform or buffer block", "location", "");
 8378|      0|            else if (type.getBasicType() == EbtSampler && type.getSampler().isAttachmentEXT())
  ------------------
  |  Branch (8378:22): [True: 0, False: 0]
  |  Branch (8378:59): [True: 0, False: 0]
  ------------------
 8379|      0|                error(loc, "only applies to", "location", "%s with storage tileImageEXT", type.getBasicTypeString().c_str());
 8380|      0|            break;
 8381|      0|        case EvqtaskPayloadSharedEXT:
  ------------------
  |  Branch (8381:9): [True: 0, False: 72]
  ------------------
 8382|      0|            error(loc, "cannot apply to taskPayloadSharedEXT", "location", "");
 8383|      0|            break;
 8384|      0|        case EvqPayload:
  ------------------
  |  Branch (8384:9): [True: 0, False: 72]
  ------------------
 8385|      0|        case EvqPayloadIn:
  ------------------
  |  Branch (8385:9): [True: 0, False: 72]
  ------------------
 8386|      0|        case EvqHitAttr:
  ------------------
  |  Branch (8386:9): [True: 0, False: 72]
  ------------------
 8387|      0|        case EvqCallableData:
  ------------------
  |  Branch (8387:9): [True: 0, False: 72]
  ------------------
 8388|      0|        case EvqCallableDataIn:
  ------------------
  |  Branch (8388:9): [True: 0, False: 72]
  ------------------
 8389|      0|        case EvqHitObjectAttrNV:
  ------------------
  |  Branch (8389:9): [True: 0, False: 72]
  ------------------
 8390|      0|        case EvqHitObjectAttrEXT:
  ------------------
  |  Branch (8390:9): [True: 0, False: 72]
  ------------------
 8391|      0|        case EvqSpirvStorageClass:
  ------------------
  |  Branch (8391:9): [True: 0, False: 72]
  ------------------
 8392|      0|            break;
 8393|      0|        case EvqTileImageEXT:
  ------------------
  |  Branch (8393:9): [True: 0, False: 72]
  ------------------
 8394|      0|            break;
 8395|      0|        default:
  ------------------
  |  Branch (8395:9): [True: 0, False: 72]
  ------------------
 8396|      0|            error(loc, "can only apply to uniform, buffer, in, or out storage qualifiers", "location", "");
 8397|      0|            break;
 8398|     72|        }
 8399|       |
 8400|     72|        bool typeCollision;
 8401|     72|        int repeated = intermediate.addUsedLocation(qualifier, type, typeCollision);
 8402|     72|        if (repeated >= 0 && ! typeCollision)
  ------------------
  |  Branch (8402:13): [True: 0, False: 72]
  |  Branch (8402:30): [True: 0, False: 0]
  ------------------
 8403|      0|            error(loc, "overlapping use of location", "location", "%d", repeated);
 8404|       |        // When location aliasing, the aliases sharing the location must have the same underlying numerical type and bit width(
 8405|       |        // floating - point or integer, 32 - bit versus 64 - bit,etc.)
 8406|     72|        if (typeCollision && (qualifier.isPipeInput() || qualifier.isPipeOutput() || qualifier.storage == EvqTileImageEXT))
  ------------------
  |  Branch (8406:13): [True: 0, False: 72]
  |  Branch (8406:31): [True: 0, False: 0]
  |  Branch (8406:58): [True: 0, False: 0]
  |  Branch (8406:86): [True: 0, False: 0]
  ------------------
 8407|      0|            error(loc, "the aliases sharing the location", "location", "%d must be the same basic type and interpolation qualification", repeated);
 8408|     72|    }
 8409|       |
 8410|  16.1k|    if (qualifier.hasXfbOffset() && qualifier.hasXfbBuffer()) {
  ------------------
  |  Branch (8410:9): [True: 0, False: 16.1k]
  |  Branch (8410:37): [True: 0, False: 0]
  ------------------
 8411|      0|        if (type.isUnsizedArray()) {
  ------------------
  |  Branch (8411:13): [True: 0, False: 0]
  ------------------
 8412|      0|            error(loc, "unsized array", "xfb_offset", "in buffer %d", qualifier.layoutXfbBuffer);
 8413|      0|        } else {
 8414|      0|            int repeated = intermediate.addXfbBufferOffset(type);
 8415|      0|            if (repeated >= 0)
  ------------------
  |  Branch (8415:17): [True: 0, False: 0]
  ------------------
 8416|      0|                error(loc, "overlapping offsets at", "xfb_offset", "offset %d in buffer %d", repeated, qualifier.layoutXfbBuffer);
 8417|      0|        }
 8418|       |
 8419|       |        // "The offset must be a multiple of the size of the first component of the first
 8420|       |        // qualified variable or block member, or a compile-time error results. Further, if applied to an aggregate
 8421|       |        // containing a double or 64-bit integer, the offset must also be a multiple of 8..."
 8422|      0|        if ((type.containsBasicType(EbtDouble) || type.containsBasicType(EbtInt64) || type.containsBasicType(EbtUint64)) &&
  ------------------
  |  Branch (8422:14): [True: 0, False: 0]
  |  Branch (8422:51): [True: 0, False: 0]
  |  Branch (8422:87): [True: 0, False: 0]
  ------------------
 8423|      0|            ! IsMultipleOfPow2(qualifier.layoutXfbOffset, 8))
  ------------------
  |  Branch (8423:13): [True: 0, False: 0]
  ------------------
 8424|      0|            error(loc, "type contains double or 64-bit integer; xfb_offset must be a multiple of 8", "xfb_offset", "");
 8425|      0|        else if ((type.containsBasicType(EbtBool) || type.containsBasicType(EbtFloat) ||
  ------------------
  |  Branch (8425:19): [True: 0, False: 0]
  |  Branch (8425:54): [True: 0, False: 0]
  ------------------
 8426|      0|                  type.containsBasicType(EbtInt) || type.containsBasicType(EbtUint)) &&
  ------------------
  |  Branch (8426:19): [True: 0, False: 0]
  |  Branch (8426:53): [True: 0, False: 0]
  ------------------
 8427|      0|                 ! IsMultipleOfPow2(qualifier.layoutXfbOffset, 4))
  ------------------
  |  Branch (8427:18): [True: 0, False: 0]
  ------------------
 8428|      0|            error(loc, "must be a multiple of size of first component", "xfb_offset", "");
 8429|       |        // ..., if applied to an aggregate containing a half float or 16-bit integer, the offset must also be a multiple of 2..."
 8430|      0|        else if ((type.contains16BitFloat() || type.containsBasicType(EbtInt16) || type.containsBasicType(EbtUint16)) &&
  ------------------
  |  Branch (8430:19): [True: 0, False: 0]
  |  Branch (8430:48): [True: 0, False: 0]
  |  Branch (8430:84): [True: 0, False: 0]
  ------------------
 8431|      0|                 !IsMultipleOfPow2(qualifier.layoutXfbOffset, 2))
  ------------------
  |  Branch (8431:18): [True: 0, False: 0]
  ------------------
 8432|      0|            error(loc, "type contains half float or 16-bit integer; xfb_offset must be a multiple of 2", "xfb_offset", "");
 8433|      0|    }
 8434|  16.1k|    if (qualifier.hasXfbStride() && qualifier.hasXfbBuffer()) {
  ------------------
  |  Branch (8434:9): [True: 0, False: 16.1k]
  |  Branch (8434:37): [True: 0, False: 0]
  ------------------
 8435|      0|        if (! intermediate.setXfbBufferStride(qualifier.layoutXfbBuffer, qualifier.layoutXfbStride))
  ------------------
  |  Branch (8435:13): [True: 0, False: 0]
  ------------------
 8436|      0|            error(loc, "all stride settings must match for xfb buffer", "xfb_stride", "%d", qualifier.layoutXfbBuffer);
 8437|      0|    }
 8438|       |
 8439|  16.1k|    if (qualifier.hasBinding()) {
  ------------------
  |  Branch (8439:9): [True: 264, False: 15.8k]
  ------------------
 8440|       |        // Binding checking, from the spec:
 8441|       |        //
 8442|       |        // "If the binding point for any uniform or shader storage block instance is less than zero, or greater than or
 8443|       |        // equal to the implementation-dependent maximum number of uniform buffer bindings, a compile-time
 8444|       |        // error will occur. When the binding identifier is used with a uniform or shader storage block instanced as
 8445|       |        // an array of size N, all elements of the array from binding through binding + N - 1 must be within this
 8446|       |        // range."
 8447|       |        //
 8448|    264|        if (!type.isOpaque() && type.getBasicType() != EbtBlock && type.getBasicType() != EbtSpirvType)
  ------------------
  |  Branch (8448:13): [True: 0, False: 264]
  |  Branch (8448:33): [True: 0, False: 0]
  |  Branch (8448:68): [True: 0, False: 0]
  ------------------
 8449|      0|            error(loc, "requires block, or sampler/image, or atomic-counter type", "binding", "");
 8450|    264|        if (type.getBasicType() == EbtSampler) {
  ------------------
  |  Branch (8450:13): [True: 264, False: 0]
  ------------------
 8451|    264|            int lastBinding = qualifier.layoutBinding;
 8452|    264|            if (type.isArray()) {
  ------------------
  |  Branch (8452:17): [True: 0, False: 264]
  ------------------
 8453|      0|                if (spvVersion.vulkan == 0) {
  ------------------
  |  Branch (8453:21): [True: 0, False: 0]
  ------------------
 8454|      0|                    if (type.isSizedArray())
  ------------------
  |  Branch (8454:25): [True: 0, False: 0]
  ------------------
 8455|      0|                        lastBinding += (type.getCumulativeArraySize() - 1);
 8456|      0|                    else {
 8457|      0|                        warn(loc, "assuming binding count of one for compile-time checking of binding numbers for unsized array", "[]", "");
 8458|      0|                    }
 8459|      0|                }
 8460|      0|            }
 8461|    264|            if (spvVersion.vulkan == 0 && lastBinding >= resources.maxCombinedTextureImageUnits)
  ------------------
  |  Branch (8461:17): [True: 0, False: 264]
  |  Branch (8461:43): [True: 0, False: 0]
  ------------------
 8462|      0|                error(loc, "sampler binding not less than gl_MaxCombinedTextureImageUnits", "binding", type.isArray() ? "(using array)" : "");
  ------------------
  |  Branch (8462:104): [True: 0, False: 0]
  ------------------
 8463|    264|        }
 8464|    264|        if (type.isAtomic() && !spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (8464:13): [True: 0, False: 264]
  |  Branch (8464:32): [True: 0, False: 0]
  ------------------
 8465|      0|            if (qualifier.layoutBinding >= resources.maxAtomicCounterBindings) {
  ------------------
  |  Branch (8465:17): [True: 0, False: 0]
  ------------------
 8466|      0|                error(loc, "atomic_uint binding is too large; see gl_MaxAtomicCounterBindings", "binding", "");
 8467|      0|                return;
 8468|      0|            }
 8469|      0|        }
 8470|  15.8k|    } else if (!intermediate.getAutoMapBindings()) {
  ------------------
  |  Branch (8470:16): [True: 15.6k, False: 224]
  ------------------
 8471|       |        // some types require bindings
 8472|       |
 8473|       |        // atomic_uint
 8474|  15.6k|        if (type.isAtomic())
  ------------------
  |  Branch (8474:13): [True: 0, False: 15.6k]
  ------------------
 8475|      0|            error(loc, "layout(binding=X) is required", "atomic_uint", "");
 8476|       |
 8477|       |        // SPIR-V
 8478|  15.6k|        if (spvVersion.spv > 0) {
  ------------------
  |  Branch (8478:13): [True: 15.6k, False: 0]
  ------------------
 8479|  15.6k|            if (qualifier.isUniformOrBuffer() && !intermediate.IsRequestedExtension(E_GL_EXT_descriptor_heap)) {
  ------------------
  |  Branch (8479:17): [True: 148, False: 15.4k]
  |  Branch (8479:50): [True: 148, False: 0]
  ------------------
 8480|    148|                if (type.getBasicType() == EbtBlock && !qualifier.isPushConstant() &&
  ------------------
  |  Branch (8480:21): [True: 0, False: 148]
  |  Branch (8480:56): [True: 0, False: 0]
  ------------------
 8481|      0|                       !qualifier.isShaderRecord() &&
  ------------------
  |  Branch (8481:24): [True: 0, False: 0]
  ------------------
 8482|      0|                       !qualifier.hasAttachment() &&
  ------------------
  |  Branch (8482:24): [True: 0, False: 0]
  ------------------
 8483|      0|                       !qualifier.hasBufferReference())
  ------------------
  |  Branch (8483:24): [True: 0, False: 0]
  ------------------
 8484|      0|                    error(loc, "uniform/buffer blocks require layout(binding=X)", "binding", "");
 8485|    148|                else if (spvVersion.vulkan > 0 && type.getBasicType() == EbtSampler && !type.getSampler().isAttachmentEXT())
  ------------------
  |  Branch (8485:26): [True: 148, False: 0]
  |  Branch (8485:51): [True: 0, False: 148]
  |  Branch (8485:88): [True: 0, False: 0]
  ------------------
 8486|      0|                    error(loc, "sampler/texture/image requires layout(binding=X)", "binding", "");
 8487|    148|            }
 8488|  15.6k|        }
 8489|  15.6k|    }
 8490|       |
 8491|       |    // some things can't have arrays of arrays
 8492|  16.1k|    if (type.isArrayOfArrays()) {
  ------------------
  |  Branch (8492:9): [True: 15, False: 16.1k]
  ------------------
 8493|     15|        if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (8493:13): [True: 15, False: 0]
  ------------------
 8494|     15|            if (type.isOpaque() || (type.getQualifier().isUniformOrBuffer() && type.getBasicType() == EbtBlock))
  ------------------
  |  Branch (8494:17): [True: 0, False: 15]
  |  Branch (8494:37): [True: 0, False: 15]
  |  Branch (8494:80): [True: 0, False: 0]
  ------------------
 8495|      0|                warn(loc, "Generating SPIR-V array-of-arrays, but Vulkan only supports single array level for this resource", "[][]", "");
 8496|     15|        }
 8497|     15|    }
 8498|       |
 8499|       |    // "The offset qualifier can only be used on block members of blocks..."
 8500|  16.1k|    if (qualifier.hasOffset()) {
  ------------------
  |  Branch (8500:9): [True: 0, False: 16.1k]
  ------------------
 8501|      0|        if (type.getBasicType() == EbtBlock)
  ------------------
  |  Branch (8501:13): [True: 0, False: 0]
  ------------------
 8502|      0|            error(loc, "only applies to block members, not blocks", "offset", "");
 8503|      0|    }
 8504|       |
 8505|       |    // Image format
 8506|  16.1k|    if (qualifier.hasFormat()) {
  ------------------
  |  Branch (8506:9): [True: 66, False: 16.0k]
  ------------------
 8507|     66|        if (! type.isImage() && !intermediate.getBindlessImageMode())
  ------------------
  |  Branch (8507:13): [True: 0, False: 66]
  |  Branch (8507:33): [True: 0, False: 0]
  ------------------
 8508|      0|            error(loc, "only apply to images", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8509|     66|        else {
 8510|     66|            if (type.getSampler().type == EbtFloat && qualifier.getFormat() > ElfFloatGuard)
  ------------------
  |  Branch (8510:17): [True: 66, False: 0]
  |  Branch (8510:55): [True: 0, False: 66]
  ------------------
 8511|      0|                error(loc, "does not apply to floating point images", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8512|     66|            if (type.getSampler().type == EbtInt && (qualifier.getFormat() < ElfFloatGuard || qualifier.getFormat() > ElfIntGuard))
  ------------------
  |  Branch (8512:17): [True: 0, False: 66]
  |  Branch (8512:54): [True: 0, False: 0]
  |  Branch (8512:95): [True: 0, False: 0]
  ------------------
 8513|      0|                error(loc, "does not apply to signed integer images", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8514|     66|            if (type.getSampler().type == EbtUint && qualifier.getFormat() < ElfIntGuard)
  ------------------
  |  Branch (8514:17): [True: 0, False: 66]
  |  Branch (8514:54): [True: 0, False: 0]
  ------------------
 8515|      0|                error(loc, "does not apply to unsigned integer images", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8516|       |
 8517|     66|            if (isEsProfile()) {
  ------------------
  |  Branch (8517:17): [True: 0, False: 66]
  ------------------
 8518|       |                // "Except for image variables qualified with the format qualifiers r32f, r32i, and r32ui, image variables must
 8519|       |                // specify either memory qualifier readonly or the memory qualifier writeonly."
 8520|      0|                if (! (qualifier.getFormat() == ElfR32f || qualifier.getFormat() == ElfR32i || qualifier.getFormat() == ElfR32ui)) {
  ------------------
  |  Branch (8520:24): [True: 0, False: 0]
  |  Branch (8520:60): [True: 0, False: 0]
  |  Branch (8520:96): [True: 0, False: 0]
  ------------------
 8521|      0|                    if (! qualifier.isReadOnly() && ! qualifier.isWriteOnly())
  ------------------
  |  Branch (8521:25): [True: 0, False: 0]
  |  Branch (8521:53): [True: 0, False: 0]
  ------------------
 8522|      0|                        error(loc, "format requires readonly or writeonly memory qualifier", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8523|      0|                }
 8524|      0|            }
 8525|     66|        }
 8526|  16.0k|    } else if (type.isImage() && ! qualifier.isWriteOnly() && !intermediate.getBindlessImageMode()) {
  ------------------
  |  Branch (8526:16): [True: 0, False: 16.0k]
  |  Branch (8526:34): [True: 0, False: 0]
  |  Branch (8526:63): [True: 0, False: 0]
  ------------------
 8527|      0|        const char *explanation = "image variables not declared 'writeonly' and without a format layout qualifier";
 8528|      0|        requireProfile(loc, ECoreProfile | ECompatibilityProfile, explanation);
 8529|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 0, E_GL_EXT_shader_image_load_formatted, explanation);
 8530|      0|    }
 8531|       |
 8532|  16.1k|    if (qualifier.isPushConstant()) {
  ------------------
  |  Branch (8532:9): [True: 0, False: 16.1k]
  ------------------
 8533|      0|        if (type.getBasicType() != EbtBlock)
  ------------------
  |  Branch (8533:13): [True: 0, False: 0]
  ------------------
 8534|      0|            error(loc, "can only be used with a block", "push_constant", "");
 8535|      0|        if (type.isArray())
  ------------------
  |  Branch (8535:13): [True: 0, False: 0]
  ------------------
 8536|      0|            error(loc, "Push constants blocks can't be an array", "push_constant", "");
 8537|      0|    }
 8538|       |
 8539|  16.1k|    if (type.getBasicType() == EbtReference) {
  ------------------
  |  Branch (8539:9): [True: 0, False: 16.1k]
  ------------------
 8540|      0|        if (qualifier.isPipeInput())
  ------------------
  |  Branch (8540:13): [True: 0, False: 0]
  ------------------
 8541|      0|            error(loc, "cannot contain any structs with buffer_reference.", "in",
 8542|      0|                  "If you want to interface shader stages with a buffer_reference cast to a uint64 or uvec2 instead.");
 8543|      0|        if (qualifier.isPipeOutput())
  ------------------
  |  Branch (8543:13): [True: 0, False: 0]
  ------------------
 8544|      0|            error(loc, "cannot contain any structs with buffer_reference.", "out",
 8545|      0|                  "If you want to interface shader stages with a buffer_reference cast to a uint64 or uvec2 instead.");
 8546|      0|    }
 8547|       |
 8548|  16.1k|    if (qualifier.hasBufferReference() && type.getBasicType() != EbtBlock)
  ------------------
  |  Branch (8548:9): [True: 0, False: 16.1k]
  |  Branch (8548:43): [True: 0, False: 0]
  ------------------
 8549|      0|        error(loc, "can only be used with a block", "buffer_reference", "");
 8550|       |
 8551|  16.1k|    if (qualifier.isShaderRecord() && type.getBasicType() != EbtBlock)
  ------------------
  |  Branch (8551:9): [True: 0, False: 16.1k]
  |  Branch (8551:39): [True: 0, False: 0]
  ------------------
 8552|      0|        error(loc, "can only be used with a block", "shaderRecordNV", "");
 8553|       |
 8554|       |    // input attachment
 8555|  16.1k|    if (type.isSubpass()) {
  ------------------
  |  Branch (8555:9): [True: 12, False: 16.1k]
  ------------------
 8556|     12|        if (extensionTurnedOn(E_GL_EXT_shader_tile_image))
  ------------------
  |  Branch (8556:13): [True: 0, False: 12]
  ------------------
 8557|      0|            error(loc, "cannot be used with GL_EXT_shader_tile_image enabled", type.getSampler().getString().c_str(),
 8558|      0|                  "");
 8559|     12|        if (!qualifier.hasAttachment() && (type.isArray() || !extensionTurnedOn(E_GL_EXT_optional_input_attachment_index)))
  ------------------
  |  Branch (8559:13): [True: 0, False: 12]
  |  Branch (8559:44): [True: 0, False: 0]
  |  Branch (8559:62): [True: 0, False: 0]
  ------------------
 8560|      0|            error(loc, "requires an input_attachment_index layout qualifier", "subpass", "");
 8561|  16.1k|    } else {
 8562|  16.1k|        if (qualifier.hasAttachment())
  ------------------
  |  Branch (8562:13): [True: 0, False: 16.1k]
  ------------------
 8563|      0|            error(loc, "can only be used with a subpass", "input_attachment_index", "");
 8564|  16.1k|    }
 8565|       |
 8566|       |    // specialization-constant id
 8567|  16.1k|    if (qualifier.hasSpecConstantId()) {
  ------------------
  |  Branch (8567:9): [True: 0, False: 16.1k]
  ------------------
 8568|      0|        if (type.getQualifier().storage != EvqConst)
  ------------------
  |  Branch (8568:13): [True: 0, False: 0]
  ------------------
 8569|      0|            error(loc, "can only be applied to 'const'-qualified scalar", "constant_id", "");
 8570|      0|        if (! type.isScalar())
  ------------------
  |  Branch (8570:13): [True: 0, False: 0]
  ------------------
 8571|      0|            error(loc, "can only be applied to a scalar", "constant_id", "");
 8572|      0|        switch (type.getBasicType())
 8573|      0|        {
 8574|      0|        case EbtInt8:
  ------------------
  |  Branch (8574:9): [True: 0, False: 0]
  ------------------
 8575|      0|        case EbtUint8:
  ------------------
  |  Branch (8575:9): [True: 0, False: 0]
  ------------------
 8576|      0|        case EbtInt16:
  ------------------
  |  Branch (8576:9): [True: 0, False: 0]
  ------------------
 8577|      0|        case EbtUint16:
  ------------------
  |  Branch (8577:9): [True: 0, False: 0]
  ------------------
 8578|      0|        case EbtInt:
  ------------------
  |  Branch (8578:9): [True: 0, False: 0]
  ------------------
 8579|      0|        case EbtUint:
  ------------------
  |  Branch (8579:9): [True: 0, False: 0]
  ------------------
 8580|      0|        case EbtInt64:
  ------------------
  |  Branch (8580:9): [True: 0, False: 0]
  ------------------
 8581|      0|        case EbtUint64:
  ------------------
  |  Branch (8581:9): [True: 0, False: 0]
  ------------------
 8582|      0|        case EbtBool:
  ------------------
  |  Branch (8582:9): [True: 0, False: 0]
  ------------------
 8583|      0|        case EbtFloat:
  ------------------
  |  Branch (8583:9): [True: 0, False: 0]
  ------------------
 8584|      0|        case EbtDouble:
  ------------------
  |  Branch (8584:9): [True: 0, False: 0]
  ------------------
 8585|      0|        case EbtFloat16:
  ------------------
  |  Branch (8585:9): [True: 0, False: 0]
  ------------------
 8586|      0|        case EbtBFloat16:
  ------------------
  |  Branch (8586:9): [True: 0, False: 0]
  ------------------
 8587|      0|        case EbtFloatE5M2:
  ------------------
  |  Branch (8587:9): [True: 0, False: 0]
  ------------------
 8588|      0|        case EbtFloatE4M3:
  ------------------
  |  Branch (8588:9): [True: 0, False: 0]
  ------------------
 8589|      0|        case EbtFloatE2M1:
  ------------------
  |  Branch (8589:9): [True: 0, False: 0]
  ------------------
 8590|      0|        case EbtFloatE3M2:
  ------------------
  |  Branch (8590:9): [True: 0, False: 0]
  ------------------
 8591|      0|        case EbtFloatE2M3:
  ------------------
  |  Branch (8591:9): [True: 0, False: 0]
  ------------------
 8592|      0|        case EbtFloatUE8M0:
  ------------------
  |  Branch (8592:9): [True: 0, False: 0]
  ------------------
 8593|      0|        case EbtFloatMXINT8:
  ------------------
  |  Branch (8593:9): [True: 0, False: 0]
  ------------------
 8594|      0|            break;
 8595|      0|        default:
  ------------------
  |  Branch (8595:9): [True: 0, False: 0]
  ------------------
 8596|      0|            error(loc, "cannot be applied to this type", "constant_id", "");
 8597|      0|            break;
 8598|      0|        }
 8599|      0|    }
 8600|  16.1k|}
_ZN7glslang13TParseContext20layoutQualifierCheckERKNS_10TSourceLocERKNS_10TQualifierE:
 8619|  16.1k|{
 8620|  16.1k|    if (qualifier.storage == EvqShared && qualifier.hasLayout()) {
  ------------------
  |  Branch (8620:9): [True: 0, False: 16.1k]
  |  Branch (8620:43): [True: 0, False: 0]
  ------------------
 8621|      0|        if (spvVersion.spv > 0 && spvVersion.spv < EShTargetSpv_1_4) {
  ------------------
  |  Branch (8621:13): [True: 0, False: 0]
  |  Branch (8621:35): [True: 0, False: 0]
  ------------------
 8622|      0|            error(loc, "shared block requires at least SPIR-V 1.4", "shared block", "");
 8623|      0|        }
 8624|      0|        profileRequires(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, 0, E_GL_EXT_shared_memory_block, "shared block");
 8625|      0|    }
 8626|       |
 8627|       |    // "It is a compile-time error to use *component* without also specifying the location qualifier (order does not matter)."
 8628|  16.1k|    if (qualifier.hasComponent() && ! qualifier.hasLocation())
  ------------------
  |  Branch (8628:9): [True: 0, False: 16.1k]
  |  Branch (8628:37): [True: 0, False: 0]
  ------------------
 8629|      0|        error(loc, "must specify 'location' to use 'component'", "component", "");
 8630|       |
 8631|  16.1k|    if (qualifier.hasAnyLocation()) {
  ------------------
  |  Branch (8631:9): [True: 72, False: 16.0k]
  ------------------
 8632|       |
 8633|       |        // "As with input layout qualifiers, all shaders except compute shaders
 8634|       |        // allow *location* layout qualifiers on output variable declarations,
 8635|       |        // output block declarations, and output block member declarations."
 8636|       |
 8637|     72|        switch (qualifier.storage) {
 8638|     66|        case EvqVaryingIn:
  ------------------
  |  Branch (8638:9): [True: 66, False: 6]
  ------------------
 8639|     66|        {
 8640|     66|            const char* feature = "location qualifier on input";
 8641|     66|            if (isEsProfile() && version < 310)
  ------------------
  |  Branch (8641:17): [True: 0, False: 66]
  |  Branch (8641:34): [True: 0, False: 0]
  ------------------
 8642|      0|                requireStage(loc, EShLangVertex, feature);
 8643|     66|            else
 8644|     66|                requireStage(loc, (EShLanguageMask)~EShLangComputeMask, feature);
 8645|     66|            if (language == EShLangVertex) {
  ------------------
  |  Branch (8645:17): [True: 0, False: 66]
  ------------------
 8646|      0|                const char* exts[2] = { E_GL_ARB_separate_shader_objects, E_GL_ARB_explicit_attrib_location };
 8647|      0|                profileRequires(loc, ~EEsProfile, 330, 2, exts, feature);
 8648|      0|                profileRequires(loc, EEsProfile, 300, nullptr, feature);
 8649|     66|            } else {
 8650|     66|                profileRequires(loc, ~EEsProfile, 410, E_GL_ARB_separate_shader_objects, feature);
 8651|     66|                profileRequires(loc, EEsProfile, 310, nullptr, feature);
 8652|     66|            }
 8653|     66|            break;
 8654|      0|        }
 8655|      6|        case EvqVaryingOut:
  ------------------
  |  Branch (8655:9): [True: 6, False: 66]
  ------------------
 8656|      6|        {
 8657|      6|            const char* feature = "location qualifier on output";
 8658|      6|            if (isEsProfile() && version < 310)
  ------------------
  |  Branch (8658:17): [True: 0, False: 6]
  |  Branch (8658:34): [True: 0, False: 0]
  ------------------
 8659|      0|                requireStage(loc, EShLangFragment, feature);
 8660|      6|            else
 8661|      6|                requireStage(loc, (EShLanguageMask)~EShLangComputeMask, feature);
 8662|      6|            if (language == EShLangFragment) {
  ------------------
  |  Branch (8662:17): [True: 0, False: 6]
  ------------------
 8663|      0|                const char* exts[2] = { E_GL_ARB_separate_shader_objects, E_GL_ARB_explicit_attrib_location };
 8664|      0|                profileRequires(loc, ~EEsProfile, 330, 2, exts, feature);
 8665|      0|                profileRequires(loc, EEsProfile, 300, nullptr, feature);
 8666|      6|            } else {
 8667|      6|                profileRequires(loc, ~EEsProfile, 410, E_GL_ARB_separate_shader_objects, feature);
 8668|      6|                profileRequires(loc, EEsProfile, 310, nullptr, feature);
 8669|      6|            }
 8670|      6|            break;
 8671|      0|        }
 8672|      0|        case EvqUniform:
  ------------------
  |  Branch (8672:9): [True: 0, False: 72]
  ------------------
 8673|      0|        case EvqBuffer:
  ------------------
  |  Branch (8673:9): [True: 0, False: 72]
  ------------------
 8674|      0|        {
 8675|      0|            const char* feature = "location qualifier on uniform or buffer";
 8676|      0|            requireProfile(loc, EEsProfile | ECoreProfile | ECompatibilityProfile | ENoProfile, feature);
 8677|      0|            profileRequires(loc, ~EEsProfile, 330, E_GL_ARB_explicit_attrib_location, feature);
 8678|      0|            profileRequires(loc, ~EEsProfile, 430, E_GL_ARB_explicit_uniform_location, feature);
 8679|      0|            profileRequires(loc, EEsProfile, 310, nullptr, feature);
 8680|      0|            break;
 8681|      0|        }
 8682|      0|        default:
  ------------------
  |  Branch (8682:9): [True: 0, False: 72]
  ------------------
 8683|      0|            break;
 8684|     72|        }
 8685|     72|        if (qualifier.hasIndex()) {
  ------------------
  |  Branch (8685:13): [True: 0, False: 72]
  ------------------
 8686|      0|            if (qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (8686:17): [True: 0, False: 0]
  ------------------
 8687|      0|                error(loc, "can only be used on an output", "index", "");
 8688|      0|            if (! qualifier.hasLocation())
  ------------------
  |  Branch (8688:17): [True: 0, False: 0]
  ------------------
 8689|      0|                error(loc, "can only be used with an explicit location", "index", "");
 8690|      0|        }
 8691|     72|    }
 8692|       |
 8693|  16.1k|    if (qualifier.hasBinding()) {
  ------------------
  |  Branch (8693:9): [True: 264, False: 15.8k]
  ------------------
 8694|    264|        if (! qualifier.isUniformOrBuffer() && !qualifier.isTaskMemory() && !qualifier.isTileAttachmentQCOM())
  ------------------
  |  Branch (8694:13): [True: 0, False: 264]
  |  Branch (8694:48): [True: 0, False: 0]
  |  Branch (8694:77): [True: 0, False: 0]
  ------------------
 8695|      0|            error(loc, "requires uniform or buffer or tile image storage qualifier", "binding", "");
 8696|    264|    }
 8697|  16.1k|    if (qualifier.hasStream()) {
  ------------------
  |  Branch (8697:9): [True: 111, False: 16.0k]
  ------------------
 8698|    111|        if (!qualifier.isPipeOutput())
  ------------------
  |  Branch (8698:13): [True: 0, False: 111]
  ------------------
 8699|      0|            error(loc, "can only be used on an output", "stream", "");
 8700|    111|    }
 8701|  16.1k|    if (qualifier.hasXfb()) {
  ------------------
  |  Branch (8701:9): [True: 715, False: 15.4k]
  ------------------
 8702|    715|        if (!qualifier.isPipeOutput())
  ------------------
  |  Branch (8702:13): [True: 0, False: 715]
  ------------------
 8703|      0|            error(loc, "can only be used on an output", "xfb layout qualifier", "");
 8704|    715|    }
 8705|  16.1k|    if (qualifier.hasUniformLayout()) {
  ------------------
  |  Branch (8705:9): [True: 264, False: 15.8k]
  ------------------
 8706|    264|        if (!storageCanHaveLayoutInBlock(qualifier.storage) && !qualifier.isTaskMemory()) {
  ------------------
  |  Branch (8706:13): [True: 0, False: 264]
  |  Branch (8706:64): [True: 0, False: 0]
  ------------------
 8707|      0|            if (qualifier.hasMatrix() || qualifier.hasPacking())
  ------------------
  |  Branch (8707:17): [True: 0, False: 0]
  |  Branch (8707:42): [True: 0, False: 0]
  ------------------
 8708|      0|                error(loc, "matrix or packing qualifiers can only be used on a uniform or buffer", "layout", "");
 8709|      0|            if (qualifier.hasOffset() || qualifier.hasAlign())
  ------------------
  |  Branch (8709:17): [True: 0, False: 0]
  |  Branch (8709:42): [True: 0, False: 0]
  ------------------
 8710|      0|                error(loc, "offset/align can only be used on a uniform or buffer", "layout", "");
 8711|      0|        }
 8712|    264|    }
 8713|  16.1k|    if (qualifier.isPushConstant()) {
  ------------------
  |  Branch (8713:9): [True: 0, False: 16.1k]
  ------------------
 8714|      0|        if (qualifier.storage != EvqUniform)
  ------------------
  |  Branch (8714:13): [True: 0, False: 0]
  ------------------
 8715|      0|            error(loc, "can only be used with a uniform", "push_constant", "");
 8716|      0|        if (qualifier.hasSet())
  ------------------
  |  Branch (8716:13): [True: 0, False: 0]
  ------------------
 8717|      0|            error(loc, "cannot be used with push_constant", "set", "");
 8718|      0|        if (qualifier.hasBinding())
  ------------------
  |  Branch (8718:13): [True: 0, False: 0]
  ------------------
 8719|      0|            error(loc, "cannot be used with push_constant", "binding", "");
 8720|      0|    }
 8721|  16.1k|    if (qualifier.hasBufferReference()) {
  ------------------
  |  Branch (8721:9): [True: 0, False: 16.1k]
  ------------------
 8722|      0|        if (qualifier.storage != EvqBuffer)
  ------------------
  |  Branch (8722:13): [True: 0, False: 0]
  ------------------
 8723|      0|            error(loc, "can only be used with buffer", "buffer_reference", "");
 8724|      0|    }
 8725|  16.1k|    if (qualifier.isBufferType()) {
  ------------------
  |  Branch (8725:9): [True: 0, False: 16.1k]
  ------------------
 8726|      0|        if (qualifier.storage != EvqUniform && qualifier.storage != EvqBuffer)
  ------------------
  |  Branch (8726:13): [True: 0, False: 0]
  |  Branch (8726:48): [True: 0, False: 0]
  ------------------
 8727|      0|            error(loc, "can only be used with uniform or buffer", "buffer_type", "");
 8728|      0|    }
 8729|  16.1k|    if (qualifier.isShaderRecord()) {
  ------------------
  |  Branch (8729:9): [True: 0, False: 16.1k]
  ------------------
 8730|      0|        if (qualifier.storage != EvqBuffer)
  ------------------
  |  Branch (8730:13): [True: 0, False: 0]
  ------------------
 8731|      0|            error(loc, "can only be used with a buffer", "shaderRecordNV", "");
 8732|      0|        if (qualifier.hasBinding())
  ------------------
  |  Branch (8732:13): [True: 0, False: 0]
  ------------------
 8733|      0|            error(loc, "cannot be used with shaderRecordNV", "binding", "");
 8734|      0|        if (qualifier.hasSet())
  ------------------
  |  Branch (8734:13): [True: 0, False: 0]
  ------------------
 8735|      0|            error(loc, "cannot be used with shaderRecordNV", "set", "");
 8736|       |
 8737|      0|    }
 8738|       |
 8739|  16.1k|    if (qualifier.storage == EvqTileImageEXT) {
  ------------------
  |  Branch (8739:9): [True: 0, False: 16.1k]
  ------------------
 8740|      0|        if (qualifier.hasSet())
  ------------------
  |  Branch (8740:13): [True: 0, False: 0]
  ------------------
 8741|      0|            error(loc, "cannot be used with tileImageEXT", "set", "");
 8742|      0|        if (!qualifier.hasLocation())
  ------------------
  |  Branch (8742:13): [True: 0, False: 0]
  ------------------
 8743|      0|            error(loc, "can only be used with an explicit location", "tileImageEXT", "");
 8744|      0|    }
 8745|       |
 8746|  16.1k|    if (qualifier.storage == EvqHitAttr && qualifier.hasLayout()) {
  ------------------
  |  Branch (8746:9): [True: 0, False: 16.1k]
  |  Branch (8746:44): [True: 0, False: 0]
  ------------------
 8747|      0|        error(loc, "cannot apply layout qualifiers to hitAttributeNV variable", "hitAttributeNV", "");
 8748|      0|    }
 8749|  16.1k|    if (qualifier.hasBank()) {
  ------------------
  |  Branch (8749:9): [True: 0, False: 16.1k]
  ------------------
 8750|      0|        if (!qualifier.isPushConstant())
  ------------------
  |  Branch (8750:13): [True: 0, False: 0]
  ------------------
 8751|      0|            error(loc, "can only be used with push_constant", "bank", "");
 8752|      0|    }
 8753|  16.1k|    if (qualifier.hasMemberOffset()) {
  ------------------
  |  Branch (8753:9): [True: 0, False: 16.1k]
  ------------------
 8754|      0|        if (!qualifier.isPushConstant())
  ------------------
  |  Branch (8754:13): [True: 0, False: 0]
  ------------------
 8755|      0|            error(loc, "can only be used with push_constant", "member_offset", "");
 8756|      0|    }
 8757|       |
 8758|  16.1k|    if (qualifier.layoutDescriptorStride != TQualifier::layoutDescriptorStrideEnd &&
  ------------------
  |  Branch (8758:9): [True: 0, False: 16.1k]
  ------------------
 8759|      0|        !qualifier.layoutDescriptorHeap)
  ------------------
  |  Branch (8759:9): [True: 0, False: 0]
  ------------------
 8760|      0|        error(loc, "must specify 'descriptor_heap' to use 'descriptor_stride'", "descriptor_stride", "");
 8761|  16.1k|    if ((qualifier.layoutHeapOffset != 0 || qualifier.layoutHeapOffsetNode != nullptr) && !qualifier.layoutDescriptorHeap &&
  ------------------
  |  Branch (8761:10): [True: 0, False: 16.1k]
  |  Branch (8761:45): [True: 0, False: 16.1k]
  |  Branch (8761:91): [True: 0, False: 0]
  ------------------
 8762|      0|        qualifier.storage != EvqSamplerHeap && qualifier.storage != EvqResourceHeap)
  ------------------
  |  Branch (8762:9): [True: 0, False: 0]
  |  Branch (8762:48): [True: 0, False: 0]
  ------------------
 8763|      0|        error(loc, "must specify 'descriptor_heap' to use 'heap_offset'", "heap_offset", "");
 8764|  16.1k|}
_ZN7glslang13TParseContext20checkNoShaderLayoutsERKNS_10TSourceLocERKNS_17TShaderQualifiersE:
 8768|   178k|{
 8769|   178k|    const char* message = "can only apply to a standalone qualifier";
 8770|       |
 8771|   178k|    if (shaderQualifiers.geometry != ElgNone)
  ------------------
  |  Branch (8771:9): [True: 0, False: 178k]
  ------------------
 8772|      0|        error(loc, message, TQualifier::getGeometryString(shaderQualifiers.geometry), "");
 8773|   178k|    if (shaderQualifiers.spacing != EvsNone)
  ------------------
  |  Branch (8773:9): [True: 0, False: 178k]
  ------------------
 8774|      0|        error(loc, message, TQualifier::getVertexSpacingString(shaderQualifiers.spacing), "");
 8775|   178k|    if (shaderQualifiers.order != EvoNone)
  ------------------
  |  Branch (8775:9): [True: 0, False: 178k]
  ------------------
 8776|      0|        error(loc, message, TQualifier::getVertexOrderString(shaderQualifiers.order), "");
 8777|   178k|    if (shaderQualifiers.pointMode)
  ------------------
  |  Branch (8777:9): [True: 0, False: 178k]
  ------------------
 8778|      0|        error(loc, message, "point_mode", "");
 8779|   178k|    if (shaderQualifiers.invocations != TQualifier::layoutNotSet)
  ------------------
  |  Branch (8779:9): [True: 0, False: 178k]
  ------------------
 8780|      0|        error(loc, message, "invocations", "");
 8781|   713k|    for (int i = 0; i < 3; ++i) {
  ------------------
  |  Branch (8781:21): [True: 535k, False: 178k]
  ------------------
 8782|   535k|        if (shaderQualifiers.localSize[i] > 1)
  ------------------
  |  Branch (8782:13): [True: 0, False: 535k]
  ------------------
 8783|      0|            error(loc, message, "local_size", "");
 8784|   535k|        if (shaderQualifiers.localSizeSpecId[i] != TQualifier::layoutNotSet)
  ------------------
  |  Branch (8784:13): [True: 0, False: 535k]
  ------------------
 8785|      0|            error(loc, message, "local_size id", "");
 8786|   535k|    }
 8787|   178k|    if (shaderQualifiers.vertices != TQualifier::layoutNotSet) {
  ------------------
  |  Branch (8787:9): [True: 0, False: 178k]
  ------------------
 8788|      0|        if (language == EShLangGeometry || language == EShLangMesh)
  ------------------
  |  Branch (8788:13): [True: 0, False: 0]
  |  Branch (8788:44): [True: 0, False: 0]
  ------------------
 8789|      0|            error(loc, message, "max_vertices", "");
 8790|      0|        else if (language == EShLangTessControl)
  ------------------
  |  Branch (8790:18): [True: 0, False: 0]
  ------------------
 8791|      0|            error(loc, message, "vertices", "");
 8792|      0|        else
 8793|      0|            assert(0);
 8794|      0|    }
 8795|   178k|    if (shaderQualifiers.earlyFragmentTests)
  ------------------
  |  Branch (8795:9): [True: 0, False: 178k]
  ------------------
 8796|      0|        error(loc, message, "early_fragment_tests", "");
 8797|   178k|    if (shaderQualifiers.postDepthCoverage)
  ------------------
  |  Branch (8797:9): [True: 0, False: 178k]
  ------------------
 8798|      0|        error(loc, message, "post_depth_coverage", "");
 8799|   178k|    if (shaderQualifiers.nonCoherentColorAttachmentReadEXT)
  ------------------
  |  Branch (8799:9): [True: 0, False: 178k]
  ------------------
 8800|      0|        error(loc, message, "non_coherent_color_attachment_readEXT", "");
 8801|   178k|    if (shaderQualifiers.nonCoherentDepthAttachmentReadEXT)
  ------------------
  |  Branch (8801:9): [True: 0, False: 178k]
  ------------------
 8802|      0|        error(loc, message, "non_coherent_depth_attachment_readEXT", "");
 8803|   178k|    if (shaderQualifiers.nonCoherentStencilAttachmentReadEXT)
  ------------------
  |  Branch (8803:9): [True: 0, False: 178k]
  ------------------
 8804|      0|        error(loc, message, "non_coherent_stencil_attachment_readEXT", "");
 8805|   178k|    if (shaderQualifiers.primitives != TQualifier::layoutNotSet) {
  ------------------
  |  Branch (8805:9): [True: 0, False: 178k]
  ------------------
 8806|      0|        if (language == EShLangMesh)
  ------------------
  |  Branch (8806:13): [True: 0, False: 0]
  ------------------
 8807|      0|            error(loc, message, "max_primitives", "");
 8808|      0|        else
 8809|      0|            assert(0);
 8810|      0|    }
 8811|   178k|    if (shaderQualifiers.hasBlendEquation())
  ------------------
  |  Branch (8811:9): [True: 0, False: 178k]
  ------------------
 8812|      0|        error(loc, message, "blend equation", "");
 8813|   178k|    if (shaderQualifiers.numViews != TQualifier::layoutNotSet)
  ------------------
  |  Branch (8813:9): [True: 0, False: 178k]
  ------------------
 8814|      0|        error(loc, message, "num_views", "");
 8815|   178k|    if (shaderQualifiers.interlockOrdering != EioNone)
  ------------------
  |  Branch (8815:9): [True: 0, False: 178k]
  ------------------
 8816|      0|        error(loc, message, TQualifier::getInterlockOrderingString(shaderQualifiers.interlockOrdering), "");
 8817|   178k|    if (shaderQualifiers.layoutPrimitiveCulling)
  ------------------
  |  Branch (8817:9): [True: 0, False: 178k]
  ------------------
 8818|      0|        error(loc, "can only be applied as standalone", "primitive_culling", "");
 8819|       |
 8820|   178k|    if (shaderQualifiers.layoutNonCoherentTileAttachmentReadQCOM)
  ------------------
  |  Branch (8820:9): [True: 0, False: 178k]
  ------------------
 8821|      0|        error(loc, message, "non_coherent_attachment_readQCOM", "");
 8822|   178k|    if (shaderQualifiers.layoutTileShadingRateQCOM[0] >= 1)
  ------------------
  |  Branch (8822:9): [True: 0, False: 178k]
  ------------------
 8823|      0|        error(loc, message, "shading_rate_xQCOM", "");
 8824|   178k|    if (shaderQualifiers.layoutTileShadingRateQCOM[1] >= 1)
  ------------------
  |  Branch (8824:9): [True: 0, False: 178k]
  ------------------
 8825|      0|        error(loc, message, "shading_rate_yQCOM", "");
 8826|   178k|    if (shaderQualifiers.layoutTileShadingRateQCOM[2] >= 1)
  ------------------
  |  Branch (8826:9): [True: 0, False: 178k]
  ------------------
 8827|      0|        error(loc, message, "shading_rate_zQCOM", "");
 8828|   178k|}
_ZN7glslang13TParseContext9fixOffsetERKNS_10TSourceLocERNS_7TSymbolE:
 8832|  15.5k|{
 8833|  15.5k|    const TQualifier& qualifier = symbol.getType().getQualifier();
 8834|  15.5k|    if (symbol.getType().isAtomic()) {
  ------------------
  |  Branch (8834:9): [True: 0, False: 15.5k]
  ------------------
 8835|      0|        if (qualifier.hasBinding() && (int)qualifier.layoutBinding < resources.maxAtomicCounterBindings) {
  ------------------
  |  Branch (8835:13): [True: 0, False: 0]
  |  Branch (8835:39): [True: 0, False: 0]
  ------------------
 8836|       |
 8837|       |            // Set the offset
 8838|      0|            int offset;
 8839|      0|            if (qualifier.hasOffset())
  ------------------
  |  Branch (8839:17): [True: 0, False: 0]
  ------------------
 8840|      0|                offset = qualifier.layoutOffset;
 8841|      0|            else
 8842|      0|                offset = atomicUintOffsets[qualifier.layoutBinding];
 8843|       |
 8844|      0|            if (offset % 4 != 0)
  ------------------
  |  Branch (8844:17): [True: 0, False: 0]
  ------------------
 8845|      0|                error(loc, "atomic counters offset should align based on 4:", "offset", "%d", offset);
 8846|       |
 8847|      0|            symbol.getWritableType().getQualifier().layoutOffset = offset;
 8848|       |
 8849|       |            // Check for overlap
 8850|      0|            int numOffsets = 4;
 8851|      0|            if (symbol.getType().isArray()) {
  ------------------
  |  Branch (8851:17): [True: 0, False: 0]
  ------------------
 8852|      0|                if (symbol.getType().isSizedArray() && !symbol.getType().getArraySizes()->isInnerUnsized())
  ------------------
  |  Branch (8852:21): [True: 0, False: 0]
  |  Branch (8852:56): [True: 0, False: 0]
  ------------------
 8853|      0|                    numOffsets *= symbol.getType().getCumulativeArraySize();
 8854|      0|                else {
 8855|       |                    // "It is a compile-time error to declare an unsized array of atomic_uint."
 8856|      0|                    error(loc, "array must be explicitly sized", "atomic_uint", "");
 8857|      0|                }
 8858|      0|            }
 8859|      0|            int repeated = intermediate.addUsedOffsets(qualifier.layoutBinding, offset, numOffsets);
 8860|      0|            if (repeated >= 0)
  ------------------
  |  Branch (8860:17): [True: 0, False: 0]
  ------------------
 8861|      0|                error(loc, "atomic counters sharing the same offset:", "offset", "%d", repeated);
 8862|       |
 8863|       |            // Bump the default offset
 8864|      0|            atomicUintOffsets[qualifier.layoutBinding] = offset + numOffsets;
 8865|      0|        }
 8866|      0|    }
 8867|  15.5k|}
_ZN7glslang13TParseContext12findFunctionERKNS_10TSourceLocERKNS_9TFunctionERb:
 8875|  2.18k|{
 8876|  2.18k|    if (symbolTable.isFunctionNameVariable(call.getName())) {
  ------------------
  |  Branch (8876:9): [True: 0, False: 2.18k]
  ------------------
 8877|      0|        error(loc, "can't use function syntax on variable", call.getName().c_str(), "");
 8878|      0|        return nullptr;
 8879|      0|    }
 8880|       |
 8881|  2.18k|    const TFunction* function = nullptr;
 8882|       |
 8883|       |    // debugPrintfEXT has var args and is in the symbol table as "debugPrintfEXT()",
 8884|       |    // mangled to "debugPrintfEXT("
 8885|  2.18k|    if (call.getName() == "debugPrintfEXT") {
  ------------------
  |  Branch (8885:9): [True: 0, False: 2.18k]
  ------------------
 8886|      0|        TSymbol* symbol = symbolTable.find("debugPrintfEXT(", &builtIn);
 8887|      0|        if (symbol)
  ------------------
  |  Branch (8887:13): [True: 0, False: 0]
  ------------------
 8888|      0|            return symbol->getAsFunction();
 8889|      0|    }
 8890|       |    // abortEXT has usage (var args) as similar as debugPrintfEXT.
 8891|  2.18k|    if (call.getName() == "abortEXT") {
  ------------------
  |  Branch (8891:9): [True: 0, False: 2.18k]
  ------------------
 8892|      0|        TSymbol* symbol = symbolTable.find("abortEXT(", &builtIn);
 8893|      0|        if (symbol)
  ------------------
  |  Branch (8893:13): [True: 0, False: 0]
  ------------------
 8894|      0|            return symbol->getAsFunction();
 8895|      0|    }
 8896|       |
 8897|       |    // coopMatPerElementNV is variadic. There is some function signature error
 8898|       |    // checking in handleCoopMat2FunctionCall.
 8899|  2.18k|    if (call.getName() == "coopMatPerElementNV") {
  ------------------
  |  Branch (8899:9): [True: 0, False: 2.18k]
  ------------------
 8900|      0|        TSymbol* symbol = symbolTable.find("coopMatPerElementNV(", &builtIn);
 8901|      0|        if (symbol)
  ------------------
  |  Branch (8901:13): [True: 0, False: 0]
  ------------------
 8902|      0|            return symbol->getAsFunction();
 8903|      0|    }
 8904|  2.18k|    if (call.getName() == "coopMatPerElementEXT") {
  ------------------
  |  Branch (8904:9): [True: 0, False: 2.18k]
  ------------------
 8905|      0|        TSymbol* symbol = symbolTable.find("coopMatPerElementEXT(", &builtIn);
 8906|      0|        if (symbol)
  ------------------
  |  Branch (8906:13): [True: 0, False: 0]
  ------------------
 8907|      0|            return symbol->getAsFunction();
 8908|      0|    }
 8909|  2.18k|    if (call.getName() == "saturatedConvertEXT") {
  ------------------
  |  Branch (8909:9): [True: 0, False: 2.18k]
  ------------------
 8910|      0|        TSymbol* symbol = symbolTable.find("saturatedConvertEXT(", &builtIn);
 8911|      0|        if (symbol)
  ------------------
  |  Branch (8911:13): [True: 0, False: 0]
  ------------------
 8912|      0|            return symbol->getAsFunction();
 8913|      0|    }
 8914|       |
 8915|  2.18k|    bool explicitTypesEnabled = extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (8915:33): [True: 0, False: 2.18k]
  ------------------
 8916|  2.18k|                                extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int8) ||
  ------------------
  |  Branch (8916:33): [True: 0, False: 2.18k]
  ------------------
 8917|  2.18k|                                extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int16) ||
  ------------------
  |  Branch (8917:33): [True: 0, False: 2.18k]
  ------------------
 8918|  2.18k|                                extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int32) ||
  ------------------
  |  Branch (8918:33): [True: 0, False: 2.18k]
  ------------------
 8919|  2.18k|                                extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int64) ||
  ------------------
  |  Branch (8919:33): [True: 0, False: 2.18k]
  ------------------
 8920|  2.18k|                                extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float16) ||
  ------------------
  |  Branch (8920:33): [True: 0, False: 2.18k]
  ------------------
 8921|  2.18k|                                extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float32) ||
  ------------------
  |  Branch (8921:33): [True: 0, False: 2.18k]
  ------------------
 8922|  2.18k|                                extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float64);
  ------------------
  |  Branch (8922:33): [True: 0, False: 2.18k]
  ------------------
 8923|       |
 8924|  2.18k|    if (isEsProfile())
  ------------------
  |  Branch (8924:9): [True: 0, False: 2.18k]
  ------------------
 8925|      0|        function = (explicitTypesEnabled && version >= 310)
  ------------------
  |  Branch (8925:21): [True: 0, False: 0]
  |  Branch (8925:45): [True: 0, False: 0]
  ------------------
 8926|      0|                   ? findFunctionExplicitTypes(loc, call, builtIn)
 8927|      0|                   : ((extensionTurnedOn(E_GL_EXT_shader_implicit_conversions) && version >= 310)
  ------------------
  |  Branch (8927:24): [True: 0, False: 0]
  |  Branch (8927:83): [True: 0, False: 0]
  ------------------
 8928|      0|                      ? findFunction120(loc, call, builtIn)
 8929|      0|                      : findFunctionExact(loc, call, builtIn));
 8930|  2.18k|    else if (version < 120)
  ------------------
  |  Branch (8930:14): [True: 0, False: 2.18k]
  ------------------
 8931|      0|        function = findFunctionExact(loc, call, builtIn);
 8932|  2.18k|    else if (version < 400) {
  ------------------
  |  Branch (8932:14): [True: 0, False: 2.18k]
  ------------------
 8933|      0|        bool needfindFunction400 = extensionTurnedOn(E_GL_ARB_gpu_shader_fp64)
  ------------------
  |  Branch (8933:36): [True: 0, False: 0]
  ------------------
 8934|      0|                                  || extensionTurnedOn(E_GL_ARB_gpu_shader5)
  ------------------
  |  Branch (8934:38): [True: 0, False: 0]
  ------------------
 8935|      0|                                  || extensionTurnedOn(E_GL_NV_gpu_shader5);
  ------------------
  |  Branch (8935:38): [True: 0, False: 0]
  ------------------
 8936|      0|        function = needfindFunction400 ? findFunction400(loc, call, builtIn) : findFunction120(loc, call, builtIn);
  ------------------
  |  Branch (8936:20): [True: 0, False: 0]
  ------------------
 8937|      0|    }
 8938|  2.18k|    else if (explicitTypesEnabled)
  ------------------
  |  Branch (8938:14): [True: 0, False: 2.18k]
  ------------------
 8939|      0|        function = findFunctionExplicitTypes(loc, call, builtIn);
 8940|  2.18k|    else
 8941|  2.18k|        function = findFunction400(loc, call, builtIn);
 8942|       |
 8943|  2.18k|    return function;
 8944|  2.18k|}
_ZN7glslang13TParseContext15findFunction400ERKNS_10TSourceLocERKNS_9TFunctionERb:
 9069|  2.18k|{
 9070|       |    // first, look for an exact match
 9071|  2.18k|    TSymbol* symbol = symbolTable.find(call.getMangledName(), &builtIn);
 9072|  2.18k|    if (symbol)
  ------------------
  |  Branch (9072:9): [True: 1.99k, False: 192]
  ------------------
 9073|  1.99k|        return symbol->getAsFunction();
 9074|       |
 9075|       |    // no exact match, use the generic selector, parameterized by the GLSL rules
 9076|       |
 9077|       |    // create list of candidates to send
 9078|    192|    TVector<const TFunction*> candidateList;
 9079|    192|    symbolTable.findFunctionNameList(call.getMangledName(), candidateList, builtIn);
 9080|       |
 9081|       |    // can 'from' convert to 'to'?
 9082|    192|    const auto convertible = [this,builtIn](const TType& from, const TType& to, TOperator op, int param) -> bool {
 9083|    192|        if (from == to)
 9084|    192|            return true;
 9085|    192|        if (from.coopMatParameterOK(to))
 9086|    192|            return true;
 9087|    192|        if (from.tensorParameterOK(to))
 9088|    192|            return true;
 9089|    192|        if (from.getBasicType() == EbtFunction && to.getBasicType() == EbtFunction)
 9090|    192|            return true;
 9091|    192|        if (from.coopVecParameterOK(to))
 9092|    192|            return true;
 9093|       |        // Allow a sized array to be passed through an unsized array parameter, for coopMatLoad/Store functions
 9094|    192|        if (builtIn && from.isArray() && to.isUnsizedArray()) {
 9095|    192|            TType fromElementType(from, 0);
 9096|    192|            TType toElementType(to, 0);
 9097|       |            // Load/store tensor functions allow any element type for the pointer
 9098|    192|            if ((op == EOpCooperativeMatrixLoadTensorNV || op == EOpCooperativeMatrixStoreTensorNV) &&
 9099|    192|                param == 1) {
 9100|    192|                return true;
 9101|    192|            }
 9102|    192|            if (fromElementType == toElementType)
 9103|    192|                return true;
 9104|    192|        }
 9105|    192|        if (TType::vectorAndLongVectorMatch(from, to))
 9106|    192|            return true;
 9107|    192|        if (from.isArray() || to.isArray() || ! from.sameElementShape(to))
 9108|    192|            return false;
 9109|    192|        if (from.isCoopMat() && to.isCoopMat())
 9110|    192|            return from.sameCoopMatBaseType(to);
 9111|    192|        if (from.isCoopVecNV() && to.isCoopVecNV())
 9112|    192|            return from.sameCoopVecBaseType(to);
 9113|    192|        if (from.isLongVector() && to.isLongVector())
 9114|    192|            return from.sameLongVectorBaseType(to);
 9115|    192|        if (from.isTensorARM() && to.isTensorARM())
 9116|    192|            return from.sameTensorBaseTypeARM(to);
 9117|    192|        return intermediate.canImplicitlyPromote(from.getBasicType(), to.getBasicType());
 9118|    192|    };
 9119|       |
 9120|       |    // Is 'to2' a better conversion than 'to1'?
 9121|       |    // Ties should not be considered as better.
 9122|       |    // Assumes 'convertible' already said true.
 9123|    192|    const auto better = [&](const TType& from, const TType& to1, const TType& to2) -> bool {
 9124|       |        // 1. exact match
 9125|    192|        bool to2Matches = from == to2 || (from.isLongVector() && to2.getBasicType() == EbtLongVector);
 9126|    192|        bool to1Matches = from == to1 || (from.isLongVector() && to1.getBasicType() == EbtLongVector);
 9127|    192|        if (to2Matches)
 9128|    192|            return !to1Matches;
 9129|    192|        if (to1Matches)
 9130|    192|            return false;
 9131|       |
 9132|    192|        if (extensionTurnedOn(E_GL_NV_gpu_shader5)) {
 9133|       |            // This map refers to the conversion table mentioned under the
 9134|       |            // section "Modify Section 6.1, Function Definitions, p. 63" in NV_gpu_shader5 spec
 9135|    192|            const static std::map<int, std::vector<int>> conversionTable = {
 9136|    192|                {EbtInt8,   {EbtInt, EbtInt64}},
 9137|    192|                {EbtInt16,  {EbtInt, EbtInt64}},
 9138|    192|                {EbtInt,    {EbtInt64}},
 9139|    192|                {EbtUint8,  {EbtUint, EbtUint64}},
 9140|    192|                {EbtUint16, {EbtUint, EbtUint64}},
 9141|    192|                {EbtUint,   {EbtUint64}},
 9142|    192|            };
 9143|    192|            auto source = conversionTable.find(from.getBasicType());
 9144|    192|            if (source != conversionTable.end()) {
 9145|    192|                for (auto destination : source->second) {
 9146|    192|                    if (to2.getBasicType() == destination &&
 9147|    192|                        to1.getBasicType() != destination) // to2 is better then to1
 9148|    192|                        return true;
 9149|    192|                    else if (to1.getBasicType() == destination &&
 9150|    192|                             to2.getBasicType() != destination) // This means to1 is better then to2
 9151|    192|                        return false;
 9152|    192|                }
 9153|    192|            }
 9154|    192|        }
 9155|       |        // 2. float -> double is better
 9156|    192|        if (from.getBasicType() == EbtFloat) {
 9157|    192|            if (to2.getBasicType() == EbtDouble && to1.getBasicType() != EbtDouble)
 9158|    192|                return true;
 9159|    192|        }
 9160|       |
 9161|       |        // 3. -> float is better than -> double
 9162|    192|        return to2.getBasicType() == EbtFloat && to1.getBasicType() == EbtDouble;
 9163|    192|    };
 9164|       |
 9165|       |    // for ambiguity reporting
 9166|    192|    bool tie = false;
 9167|       |
 9168|       |    // send to the generic selector
 9169|    192|    const TFunction* bestMatch = selectFunction(candidateList, call, convertible, better, tie);
 9170|       |
 9171|    192|    if (bestMatch == nullptr)
  ------------------
  |  Branch (9171:9): [True: 192, False: 0]
  ------------------
 9172|    192|        error(loc, "no matching overloaded function found", call.getName().c_str(), "");
 9173|      0|    else if (tie)
  ------------------
  |  Branch (9173:14): [True: 0, False: 0]
  ------------------
 9174|      0|        error(loc, "ambiguous best function under implicit type conversion", call.getName().c_str(), "");
 9175|       |
 9176|    192|    return bestMatch;
 9177|  2.18k|}
_ZN7glslang13TParseContext19declareTypeDefaultsERKNS_10TSourceLocERKNS_11TPublicTypeE:
 9355|     19|{
 9356|     19|    if (publicType.basicType == EbtAtomicUint && publicType.qualifier.hasBinding()) {
  ------------------
  |  Branch (9356:9): [True: 0, False: 19]
  |  Branch (9356:50): [True: 0, False: 0]
  ------------------
 9357|      0|        if (publicType.qualifier.layoutBinding >= resources.maxAtomicCounterBindings) {
  ------------------
  |  Branch (9357:13): [True: 0, False: 0]
  ------------------
 9358|      0|            error(loc, "atomic_uint binding is too large", "binding", "");
 9359|      0|            return;
 9360|      0|        }
 9361|      0|        if (publicType.qualifier.hasOffset())
  ------------------
  |  Branch (9361:13): [True: 0, False: 0]
  ------------------
 9362|      0|            atomicUintOffsets[publicType.qualifier.layoutBinding] = publicType.qualifier.layoutOffset;
 9363|      0|        return;
 9364|      0|    }
 9365|       |
 9366|     19|    if (publicType.arraySizes) {
  ------------------
  |  Branch (9366:9): [True: 0, False: 19]
  ------------------
 9367|      0|        error(loc, "expect an array name", "", "");
 9368|      0|    }
 9369|       |
 9370|     19|    if (publicType.qualifier.hasLayout() && !publicType.qualifier.hasBufferReference())
  ------------------
  |  Branch (9370:9): [True: 0, False: 19]
  |  Branch (9370:45): [True: 0, False: 0]
  ------------------
 9371|      0|        warn(loc, "useless application of layout qualifier", "layout", "");
 9372|     19|}
_ZN7glslang13TParseContext19typeParametersCheckERKNS_10TSourceLocERKNS_11TPublicTypeE:
 9375|  1.84M|{
 9376|  1.84M|    if (parsingBuiltins)
  ------------------
  |  Branch (9376:9): [True: 1.84M, False: 1.59k]
  ------------------
 9377|  1.84M|        return;
 9378|  1.59k|    if (publicType.isCoopmatKHR()) {
  ------------------
  |  Branch (9378:9): [True: 0, False: 1.59k]
  ------------------
 9379|      0|        if (publicType.typeParameters == nullptr) {
  ------------------
  |  Branch (9379:13): [True: 0, False: 0]
  ------------------
 9380|      0|            error(loc, "coopmat missing type parameters", "", "");
 9381|      0|            return;
 9382|      0|        }
 9383|      0|        switch (publicType.typeParameters->basicType) {
 9384|      0|        case EbtFloat:
  ------------------
  |  Branch (9384:9): [True: 0, False: 0]
  ------------------
 9385|      0|        case EbtFloat16:
  ------------------
  |  Branch (9385:9): [True: 0, False: 0]
  ------------------
 9386|      0|        case EbtBFloat16:
  ------------------
  |  Branch (9386:9): [True: 0, False: 0]
  ------------------
 9387|      0|        case EbtFloatE5M2:
  ------------------
  |  Branch (9387:9): [True: 0, False: 0]
  ------------------
 9388|      0|        case EbtFloatE4M3:
  ------------------
  |  Branch (9388:9): [True: 0, False: 0]
  ------------------
 9389|      0|        case EbtInt:
  ------------------
  |  Branch (9389:9): [True: 0, False: 0]
  ------------------
 9390|      0|        case EbtInt8:
  ------------------
  |  Branch (9390:9): [True: 0, False: 0]
  ------------------
 9391|      0|        case EbtInt16:
  ------------------
  |  Branch (9391:9): [True: 0, False: 0]
  ------------------
 9392|      0|        case EbtUint:
  ------------------
  |  Branch (9392:9): [True: 0, False: 0]
  ------------------
 9393|      0|        case EbtUint8:
  ------------------
  |  Branch (9393:9): [True: 0, False: 0]
  ------------------
 9394|      0|        case EbtUint16:
  ------------------
  |  Branch (9394:9): [True: 0, False: 0]
  ------------------
 9395|      0|        case EbtSpirvType:
  ------------------
  |  Branch (9395:9): [True: 0, False: 0]
  ------------------
 9396|      0|            break;
 9397|      0|        default:
  ------------------
  |  Branch (9397:9): [True: 0, False: 0]
  ------------------
 9398|      0|            error(loc, "coopmat invalid basic type", TType::getBasicString(publicType.typeParameters->basicType), "");
 9399|      0|            break;
 9400|      0|        }
 9401|      0|        if (publicType.typeParameters->arraySizes->getNumDims() != 4) {
  ------------------
  |  Branch (9401:13): [True: 0, False: 0]
  ------------------
 9402|      0|            error(loc, "coopmat incorrect number of type parameters", "", "");
 9403|      0|            return;
 9404|      0|        }
 9405|      0|        int use = publicType.typeParameters->arraySizes->getDimSize(3);
 9406|      0|        if (use < 0 || use > 2) {
  ------------------
  |  Branch (9406:13): [True: 0, False: 0]
  |  Branch (9406:24): [True: 0, False: 0]
  ------------------
 9407|      0|            error(loc, "coopmat invalid matrix Use", "", "");
 9408|      0|            return;
 9409|      0|        }
 9410|      0|    }
 9411|  1.59k|    if (publicType.isTensorLayoutNV()) {
  ------------------
  |  Branch (9411:9): [True: 0, False: 1.59k]
  ------------------
 9412|      0|        if (publicType.typeParameters == nullptr) {
  ------------------
  |  Branch (9412:13): [True: 0, False: 0]
  ------------------
 9413|      0|            error(loc, "tensorLayout missing type parameters", "", "");
 9414|      0|            return;
 9415|      0|        }
 9416|      0|        if (publicType.typeParameters->arraySizes->getNumDims() > 2) {
  ------------------
  |  Branch (9416:13): [True: 0, False: 0]
  ------------------
 9417|      0|            error(loc, "tensorLayout incorrect number of type parameters", "", "");
 9418|      0|            return;
 9419|      0|        }
 9420|      0|        if (publicType.typeParameters && publicType.typeParameters->arraySizes->getNumDims() < 2) {
  ------------------
  |  Branch (9420:13): [True: 0, False: 0]
  |  Branch (9420:42): [True: 0, False: 0]
  ------------------
 9421|      0|            while (publicType.typeParameters->arraySizes->getNumDims() < 2) {
  ------------------
  |  Branch (9421:20): [True: 0, False: 0]
  ------------------
 9422|      0|                publicType.typeParameters->arraySizes->addInnerSize(0);
 9423|      0|            }
 9424|      0|        }
 9425|      0|    }
 9426|  1.59k|    if (publicType.isTensorViewNV()) {
  ------------------
  |  Branch (9426:9): [True: 0, False: 1.59k]
  ------------------
 9427|      0|        if (publicType.typeParameters == nullptr) {
  ------------------
  |  Branch (9427:13): [True: 0, False: 0]
  ------------------
 9428|      0|            error(loc, "tensorView missing type parameters", "", "");
 9429|      0|            return;
 9430|      0|        }
 9431|      0|        if (publicType.typeParameters->arraySizes->getNumDims() < 1 ||
  ------------------
  |  Branch (9431:13): [True: 0, False: 0]
  ------------------
 9432|      0|            publicType.typeParameters->arraySizes->getNumDims() > 7) {
  ------------------
  |  Branch (9432:13): [True: 0, False: 0]
  ------------------
 9433|      0|            error(loc, "tensorView incorrect number of type parameters", "", "");
 9434|      0|            return;
 9435|      0|        }
 9436|      0|        if (publicType.typeParameters && publicType.typeParameters->arraySizes->getNumDims() < 7) {
  ------------------
  |  Branch (9436:13): [True: 0, False: 0]
  |  Branch (9436:42): [True: 0, False: 0]
  ------------------
 9437|      0|            uint32_t numDims = publicType.typeParameters->arraySizes->getNumDims();
 9438|      0|            while (numDims < 7) {
  ------------------
  |  Branch (9438:20): [True: 0, False: 0]
  ------------------
 9439|      0|                uint32_t dim = (numDims == 1) ? 0 : (numDims - 2);
  ------------------
  |  Branch (9439:32): [True: 0, False: 0]
  ------------------
 9440|      0|                publicType.typeParameters->arraySizes->addInnerSize(dim);
 9441|      0|                numDims++;
 9442|      0|            }
 9443|      0|        }
 9444|      0|    }
 9445|  1.59k|    if (publicType.isTensorARM()) {
  ------------------
  |  Branch (9445:9): [True: 0, False: 1.59k]
  ------------------
 9446|      0|        if (publicType.typeParameters == nullptr) {
  ------------------
  |  Branch (9446:13): [True: 0, False: 0]
  ------------------
 9447|      0|            error(loc, "tensor type is missing type parameters", "", "");
 9448|      0|            return;
 9449|      0|        }
 9450|      0|        if (publicType.typeParameters->arraySizes == nullptr) {
  ------------------
  |  Branch (9450:13): [True: 0, False: 0]
  ------------------
 9451|      0|            error(loc, "tensor type is missing rank information", "", "");
 9452|      0|            return;
 9453|      0|        }
 9454|      0|        if (publicType.typeParameters->arraySizes->getNumDims() != 1) {
  ------------------
  |  Branch (9454:13): [True: 0, False: 0]
  ------------------
 9455|      0|            error(loc, "tensor type requires exactly 1 rank specifier", "", "");
 9456|      0|            return;
 9457|      0|        }
 9458|      0|        if (publicType.typeParameters->arraySizes->getDimSize(0) < 1) {
  ------------------
  |  Branch (9458:13): [True: 0, False: 0]
  ------------------
 9459|      0|            error(loc, "tensor rank must be greater than or equal to 1", "", "");
 9460|      0|            return;
 9461|      0|        }
 9462|      0|    }
 9463|  1.59k|    if (publicType.isLongVector() && !isValidLongVectorElseError(loc, publicType)) {
  ------------------
  |  Branch (9463:9): [True: 0, False: 1.59k]
  |  Branch (9463:38): [True: 0, False: 0]
  ------------------
 9464|      0|        return;
 9465|      0|    }
 9466|  1.59k|}
_ZN7glslang13TParseContext15declareVariableERKNS_10TSourceLocERNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_11TPublicTypeEPNS_11TArraySizesEPNS_12TIntermTypedE:
 9839|  15.5k|{
 9840|       |    // Make a fresh type that combines the characteristics from the individual
 9841|       |    // identifier syntax and the declaration-type syntax.
 9842|  15.5k|    TType type(publicType);
 9843|  15.5k|    type.transferArraySizes(arraySizes);
 9844|  15.5k|    type.copyArrayInnerSizes(publicType.arraySizes);
 9845|  15.5k|    arrayOfArrayVersionCheck(loc, type.getArraySizes());
 9846|       |
 9847|  15.5k|    if (initializer) {
  ------------------
  |  Branch (9847:9): [True: 4.90k, False: 10.6k]
  ------------------
 9848|  4.90k|        if (type.getBasicType() == EbtRayQuery) {
  ------------------
  |  Branch (9848:13): [True: 0, False: 4.90k]
  ------------------
 9849|      0|            error(loc, "ray queries can only be initialized by using the rayQueryInitializeEXT intrinsic:", "=", identifier.c_str());
 9850|  4.90k|        } else if ((type.getBasicType() == EbtHitObjectNV) || (type.getBasicType() == EbtHitObjectEXT)) {
  ------------------
  |  Branch (9850:20): [True: 0, False: 4.90k]
  |  Branch (9850:63): [True: 0, False: 4.90k]
  ------------------
 9851|      0|            error(loc, "hit objects cannot be initialized using initializers", "=", identifier.c_str());
 9852|      0|        }
 9853|       |
 9854|  4.90k|    }
 9855|       |
 9856|  15.5k|    if (type.isCoopMatKHR()) {
  ------------------
  |  Branch (9856:9): [True: 0, False: 15.5k]
  ------------------
 9857|      0|        intermediate.setUseVulkanMemoryModel();
 9858|      0|        intermediate.setUseStorageBuffer();
 9859|       |
 9860|      0|        if (!publicType.typeParameters || !publicType.typeParameters->arraySizes ||
  ------------------
  |  Branch (9860:13): [True: 0, False: 0]
  |  Branch (9860:43): [True: 0, False: 0]
  ------------------
 9861|      0|            publicType.typeParameters->arraySizes->getNumDims() != 4) {
  ------------------
  |  Branch (9861:13): [True: 0, False: 0]
  ------------------
 9862|      0|            error(loc, "unexpected number type parameters", identifier.c_str(), "");
 9863|      0|        }
 9864|      0|        if (publicType.typeParameters) {
  ------------------
  |  Branch (9864:13): [True: 0, False: 0]
  ------------------
 9865|      0|            if (!isTypeFloat(publicType.typeParameters->basicType) &&
  ------------------
  |  Branch (9865:17): [True: 0, False: 0]
  ------------------
 9866|      0|                !isTypeInt(publicType.typeParameters->basicType) && publicType.typeParameters->basicType != EbtSpirvType) {
  ------------------
  |  Branch (9866:17): [True: 0, False: 0]
  |  Branch (9866:69): [True: 0, False: 0]
  ------------------
 9867|      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(), "");
 9868|      0|            }
 9869|      0|        }
 9870|      0|    }
 9871|  15.5k|    else if (type.isCoopMatNV()) {
  ------------------
  |  Branch (9871:14): [True: 0, False: 15.5k]
  ------------------
 9872|      0|        intermediate.setUseVulkanMemoryModel();
 9873|      0|        intermediate.setUseStorageBuffer();
 9874|       |
 9875|      0|        if (!publicType.typeParameters || !publicType.typeParameters->arraySizes || publicType.typeParameters->arraySizes->getNumDims() != 4) {
  ------------------
  |  Branch (9875:13): [True: 0, False: 0]
  |  Branch (9875:43): [True: 0, False: 0]
  |  Branch (9875:85): [True: 0, False: 0]
  ------------------
 9876|      0|            error(loc, "expected four type parameters", identifier.c_str(), "");
 9877|      0|        } else {
 9878|      0|            if (isTypeFloat(publicType.basicType) &&
  ------------------
  |  Branch (9878:17): [True: 0, False: 0]
  ------------------
 9879|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 16 &&
  ------------------
  |  Branch (9879:17): [True: 0, False: 0]
  ------------------
 9880|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 32 &&
  ------------------
  |  Branch (9880:17): [True: 0, False: 0]
  ------------------
 9881|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 64) {
  ------------------
  |  Branch (9881:17): [True: 0, False: 0]
  ------------------
 9882|      0|                error(loc, "expected 16, 32, or 64 bits for first type parameter", identifier.c_str(), "");
 9883|      0|            }
 9884|      0|            if (isTypeInt(publicType.basicType) &&
  ------------------
  |  Branch (9884:17): [True: 0, False: 0]
  ------------------
 9885|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 8 &&
  ------------------
  |  Branch (9885:17): [True: 0, False: 0]
  ------------------
 9886|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 16 &&
  ------------------
  |  Branch (9886:17): [True: 0, False: 0]
  ------------------
 9887|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 32) {
  ------------------
  |  Branch (9887:17): [True: 0, False: 0]
  ------------------
 9888|      0|                error(loc, "expected 8, 16, or 32 bits for first type parameter", identifier.c_str(), "");
 9889|      0|            }
 9890|      0|        }
 9891|  15.5k|    } else if (type.isTensorLayoutNV()) {
  ------------------
  |  Branch (9891:16): [True: 0, False: 15.5k]
  ------------------
 9892|      0|        if (!publicType.typeParameters || publicType.typeParameters->arraySizes->getNumDims() > 2) {
  ------------------
  |  Branch (9892:13): [True: 0, False: 0]
  |  Branch (9892:43): [True: 0, False: 0]
  ------------------
 9893|      0|            error(loc, "expected 1-2 type parameters", identifier.c_str(), "");
 9894|      0|        }
 9895|  15.5k|    } else if (type.isTensorViewNV()) {
  ------------------
  |  Branch (9895:16): [True: 0, False: 15.5k]
  ------------------
 9896|      0|        if (!publicType.typeParameters || publicType.typeParameters->arraySizes->getNumDims() > 7) {
  ------------------
  |  Branch (9896:13): [True: 0, False: 0]
  |  Branch (9896:43): [True: 0, False: 0]
  ------------------
 9897|      0|            error(loc, "expected 1-7 type parameters", identifier.c_str(), "");
 9898|      0|        }
 9899|  15.5k|    } else if (type.isCoopVecNV()) {
  ------------------
  |  Branch (9899:16): [True: 0, False: 15.5k]
  ------------------
 9900|      0|        intermediate.setUseVulkanMemoryModel();
 9901|      0|        intermediate.setUseStorageBuffer();
 9902|       |
 9903|      0|        if (!publicType.typeParameters || !publicType.typeParameters->arraySizes || publicType.typeParameters->arraySizes->getNumDims() != 1) {
  ------------------
  |  Branch (9903:13): [True: 0, False: 0]
  |  Branch (9903:43): [True: 0, False: 0]
  |  Branch (9903:85): [True: 0, False: 0]
  ------------------
 9904|      0|            error(loc, "expected two type parameters", identifier.c_str(), "");
 9905|      0|        } else if (publicType.typeParameters->arraySizes->getDimNode(0) == nullptr && publicType.typeParameters->arraySizes->getDimSize(0) <= 0) {
  ------------------
  |  Branch (9905:20): [True: 0, False: 0]
  |  Branch (9905:87): [True: 0, False: 0]
  ------------------
 9906|      0|            error(loc, "expected positive number of components", identifier.c_str(), "");
 9907|      0|        }
 9908|  15.5k|    } else if (type.isLongVector()) {
  ------------------
  |  Branch (9908:16): [True: 0, False: 15.5k]
  ------------------
 9909|      0|        intermediate.setUseStorageBuffer();
 9910|       |
 9911|      0|        if (!publicType.typeParameters || !publicType.typeParameters->arraySizes || publicType.typeParameters->arraySizes->getNumDims() != 1) {
  ------------------
  |  Branch (9911:13): [True: 0, False: 0]
  |  Branch (9911:43): [True: 0, False: 0]
  |  Branch (9911:85): [True: 0, False: 0]
  ------------------
 9912|      0|            error(loc, "expected two type parameters", identifier.c_str(), "");
 9913|      0|        } else if (publicType.typeParameters->arraySizes->getDimNode(0) == nullptr && publicType.typeParameters->arraySizes->getDimSize(0) <= 0) {
  ------------------
  |  Branch (9913:20): [True: 0, False: 0]
  |  Branch (9913:87): [True: 0, False: 0]
  ------------------
 9914|      0|            error(loc, "expected positive number of components", identifier.c_str(), "");
 9915|      0|        }
 9916|  15.5k|    } else if (type.isTensorARM()) {
  ------------------
  |  Branch (9916:16): [True: 0, False: 15.5k]
  ------------------
 9917|      0|        intermediate.setUseStorageBuffer();
 9918|       |
 9919|      0|        if (!publicType.typeParameters || publicType.typeParameters->arraySizes->getNumDims() != 1) {
  ------------------
  |  Branch (9919:13): [True: 0, False: 0]
  |  Branch (9919:43): [True: 0, False: 0]
  ------------------
 9920|      0|            error(loc, "expected two type parameters", identifier.c_str(), "");
 9921|      0|        }
 9922|      0|        if (publicType.typeParameters) {
  ------------------
  |  Branch (9922:13): [True: 0, False: 0]
  ------------------
 9923|      0|            if (publicType.typeParameters->basicType != EbtBool &&
  ------------------
  |  Branch (9923:17): [True: 0, False: 0]
  ------------------
 9924|      0|                publicType.typeParameters->basicType != EbtInt8 &&
  ------------------
  |  Branch (9924:17): [True: 0, False: 0]
  ------------------
 9925|      0|                publicType.typeParameters->basicType != EbtInt16 &&
  ------------------
  |  Branch (9925:17): [True: 0, False: 0]
  ------------------
 9926|      0|                publicType.typeParameters->basicType != EbtInt &&
  ------------------
  |  Branch (9926:17): [True: 0, False: 0]
  ------------------
 9927|      0|                publicType.typeParameters->basicType != EbtInt64 &&
  ------------------
  |  Branch (9927:17): [True: 0, False: 0]
  ------------------
 9928|      0|                publicType.typeParameters->basicType != EbtUint8 &&
  ------------------
  |  Branch (9928:17): [True: 0, False: 0]
  ------------------
 9929|      0|                publicType.typeParameters->basicType != EbtUint16 &&
  ------------------
  |  Branch (9929:17): [True: 0, False: 0]
  ------------------
 9930|      0|                publicType.typeParameters->basicType != EbtUint &&
  ------------------
  |  Branch (9930:17): [True: 0, False: 0]
  ------------------
 9931|      0|                publicType.typeParameters->basicType != EbtUint64 &&
  ------------------
  |  Branch (9931:17): [True: 0, False: 0]
  ------------------
 9932|      0|                publicType.typeParameters->basicType != EbtFloat16 &&
  ------------------
  |  Branch (9932:17): [True: 0, False: 0]
  ------------------
 9933|      0|                publicType.typeParameters->basicType != EbtFloat &&
  ------------------
  |  Branch (9933:17): [True: 0, False: 0]
  ------------------
 9934|      0|                publicType.typeParameters->basicType != EbtDouble &&
  ------------------
  |  Branch (9934:17): [True: 0, False: 0]
  ------------------
 9935|      0|                publicType.typeParameters->basicType != EbtBFloat16 &&
  ------------------
  |  Branch (9935:17): [True: 0, False: 0]
  ------------------
 9936|      0|                publicType.typeParameters->basicType != EbtFloatE5M2 &&
  ------------------
  |  Branch (9936:17): [True: 0, False: 0]
  ------------------
 9937|      0|                publicType.typeParameters->basicType != EbtFloatE4M3) {
  ------------------
  |  Branch (9937:17): [True: 0, False: 0]
  ------------------
 9938|      0|                error(loc, "expected bool, integer or floating point type parameter", identifier.c_str(), "");
 9939|      0|            }
 9940|       |
 9941|      0|            if (publicType.typeParameters->basicType == EbtBFloat16) {
  ------------------
  |  Branch (9941:17): [True: 0, False: 0]
  ------------------
 9942|      0|                requireExtensions(loc, 1, &E_GL_ARM_tensors_bfloat16, "tensor with bfloat16_t type");
 9943|      0|            }
 9944|       |
 9945|      0|            if (publicType.typeParameters->basicType == EbtFloatE5M2) {
  ------------------
  |  Branch (9945:17): [True: 0, False: 0]
  ------------------
 9946|      0|                requireExtensions(loc, 1, &E_GL_ARM_tensors_float_e5m2, "tensor with floate5m2_t type");
 9947|      0|            }
 9948|       |
 9949|      0|            if (publicType.typeParameters->basicType == EbtFloatE4M3) {
  ------------------
  |  Branch (9949:17): [True: 0, False: 0]
  ------------------
 9950|      0|                requireExtensions(loc, 1, &E_GL_ARM_tensors_float_e4m3, "tensor with floate4m3_t type");
 9951|      0|            }
 9952|      0|        }
 9953|  15.5k|    } else {
 9954|  15.5k|        if (publicType.typeParameters && publicType.typeParameters->arraySizes->getNumDims() != 0) {
  ------------------
  |  Branch (9954:13): [True: 0, False: 15.5k]
  |  Branch (9954:42): [True: 0, False: 0]
  ------------------
 9955|      0|            error(loc, "unexpected type parameters", identifier.c_str(), "");
 9956|      0|        }
 9957|  15.5k|    }
 9958|       |
 9959|  15.5k|    if (voidErrorCheck(loc, identifier, type.getBasicType()))
  ------------------
  |  Branch (9959:9): [True: 0, False: 15.5k]
  ------------------
 9960|      0|        return nullptr;
 9961|       |
 9962|  15.5k|    if (initializer)
  ------------------
  |  Branch (9962:9): [True: 4.90k, False: 10.6k]
  ------------------
 9963|  4.90k|        rValueErrorCheck(loc, "initializer", initializer);
 9964|  10.6k|    else
 9965|  10.6k|        nonInitConstCheck(loc, identifier, type);
 9966|       |
 9967|  15.5k|    samplerCheck(loc, type, identifier, initializer);
 9968|  15.5k|    transparentOpaqueCheck(loc, type, identifier);
 9969|  15.5k|    atomicUintCheck(loc, type, identifier);
 9970|  15.5k|    accStructCheck(loc, type, identifier);
 9971|  15.5k|    hitObjectNVCheck(loc, type, identifier);
 9972|  15.5k|    hitObjectEXTCheck(loc, type, identifier);
 9973|  15.5k|    checkAndResizeMeshViewDim(loc, type, /*isBlockMember*/ false);
 9974|  15.5k|    if (type.getQualifier().storage == EvqConst && type.containsReference()) {
  ------------------
  |  Branch (9974:9): [True: 4.66k, False: 10.8k]
  |  Branch (9974:52): [True: 0, False: 4.66k]
  ------------------
 9975|      0|        error(loc, "variables with reference type can't have qualifier 'const'", "qualifier", "");
 9976|      0|    }
 9977|       |
 9978|  15.5k|    if (type.getQualifier().storage != EvqUniform && type.getQualifier().storage != EvqBuffer) {
  ------------------
  |  Branch (9978:9): [True: 15.1k, False: 412]
  |  Branch (9978:54): [True: 15.1k, False: 0]
  ------------------
 9979|  15.1k|        if (type.contains16BitFloat())
  ------------------
  |  Branch (9979:13): [True: 0, False: 15.1k]
  ------------------
 9980|      0|            requireFloat16Arithmetic(loc, "qualifier", "float16 types can only be in uniform block or buffer storage");
 9981|  15.1k|        if (type.contains16BitInt())
  ------------------
  |  Branch (9981:13): [True: 0, False: 15.1k]
  ------------------
 9982|      0|            requireInt16Arithmetic(loc, "qualifier", "(u)int16 types can only be in uniform block or buffer storage");
 9983|  15.1k|        if (type.contains8BitInt())
  ------------------
  |  Branch (9983:13): [True: 0, False: 15.1k]
  ------------------
 9984|      0|            requireInt8Arithmetic(loc, "qualifier", "(u)int8 types can only be in uniform block or buffer storage");
 9985|  15.1k|    }
 9986|  15.5k|    if (type.getBasicType() == EbtBFloat16 &&
  ------------------
  |  Branch (9986:9): [True: 0, False: 15.5k]
  ------------------
 9987|      0|        (type.getQualifier().storage == EvqVaryingIn || type.getQualifier().storage == EvqVaryingOut))
  ------------------
  |  Branch (9987:10): [True: 0, False: 0]
  |  Branch (9987:57): [True: 0, False: 0]
  ------------------
 9988|      0|        error(loc, "qualifier", "bfloat16 types not allowed as input/output", "");
 9989|       |
 9990|  15.5k|    if ((type.getBasicType() == EbtFloatE5M2 || type.getBasicType() == EbtFloatE4M3) &&
  ------------------
  |  Branch (9990:10): [True: 0, False: 15.5k]
  |  Branch (9990:49): [True: 0, False: 15.5k]
  ------------------
 9991|      0|        (type.getQualifier().storage == EvqVaryingIn || type.getQualifier().storage == EvqVaryingOut))
  ------------------
  |  Branch (9991:10): [True: 0, False: 0]
  |  Branch (9991:57): [True: 0, False: 0]
  ------------------
 9992|      0|        error(loc, "qualifier", "fp8 types not allowed as input/output", "");
 9993|       |
 9994|  15.5k|    if (type.containsOcpMicroscalingFloat() &&
  ------------------
  |  Branch (9994:9): [True: 0, False: 15.5k]
  ------------------
 9995|      0|        (type.getQualifier().storage == EvqVaryingIn || type.getQualifier().storage == EvqVaryingOut))
  ------------------
  |  Branch (9995:10): [True: 0, False: 0]
  |  Branch (9995:57): [True: 0, False: 0]
  ------------------
 9996|      0|        error(loc, "qualifier", "microscaling types not allowed as input/output", "");
 9997|       |
 9998|  15.5k|    if (type.containsOcpMicroscalingNonByteFloat() &&
  ------------------
  |  Branch (9998:9): [True: 0, False: 15.5k]
  ------------------
 9999|      0|        (type.getQualifier().storage == EvqUniform || type.getQualifier().storage == EvqBuffer || type.getQualifier().storage == EvqShared))
  ------------------
  |  Branch (9999:10): [True: 0, False: 0]
  |  Branch (9999:55): [True: 0, False: 0]
  |  Branch (9999:99): [True: 0, False: 0]
  ------------------
10000|      0|        error(loc, "qualifier", "sub-byte sized types not allowed in storage class", "");
10001|       |
10002|  15.5k|    if (type.getQualifier().storage == EvqtaskPayloadSharedEXT)
  ------------------
  |  Branch (10002:9): [True: 0, False: 15.5k]
  ------------------
10003|      0|        intermediate.addTaskPayloadEXTCount();
10004|  15.5k|    if (type.getQualifier().storage == EvqShared && type.containsCoopMat())
  ------------------
  |  Branch (10004:9): [True: 0, False: 15.5k]
  |  Branch (10004:53): [True: 0, False: 0]
  ------------------
10005|      0|        error(loc, "qualifier", "Cooperative matrix types must not be used in shared memory", "");
10006|       |
10007|  15.5k|    if (profile == EEsProfile) {
  ------------------
  |  Branch (10007:9): [True: 0, False: 15.5k]
  ------------------
10008|      0|        if (type.getQualifier().isPipeInput() && type.getBasicType() == EbtStruct) {
  ------------------
  |  Branch (10008:13): [True: 0, False: 0]
  |  Branch (10008:50): [True: 0, False: 0]
  ------------------
10009|      0|            if (type.getQualifier().isArrayedIo(language)) {
  ------------------
  |  Branch (10009:17): [True: 0, False: 0]
  ------------------
10010|      0|                TType perVertexType(type, 0);
10011|      0|                if (perVertexType.containsArray() && perVertexType.containsBuiltIn() == false) {
  ------------------
  |  Branch (10011:21): [True: 0, False: 0]
  |  Branch (10011:54): [True: 0, False: 0]
  ------------------
10012|      0|                    error(loc, "A per vertex structure containing an array is not allowed as input in ES", type.getTypeName().c_str(), "");
10013|      0|                }
10014|      0|            }
10015|      0|            else if (type.containsArray() && type.containsBuiltIn() == false) {
  ------------------
  |  Branch (10015:22): [True: 0, False: 0]
  |  Branch (10015:46): [True: 0, False: 0]
  ------------------
10016|      0|                error(loc, "A structure containing an array is not allowed as input in ES", type.getTypeName().c_str(), "");
10017|      0|            }
10018|      0|            if (type.containsStructure())
  ------------------
  |  Branch (10018:17): [True: 0, False: 0]
  ------------------
10019|      0|                error(loc, "A structure containing an struct is not allowed as input in ES", type.getTypeName().c_str(), "");
10020|      0|        }
10021|      0|    }
10022|       |
10023|  15.5k|    if (identifier != "gl_FragCoord" && (publicType.shaderQualifiers.originUpperLeft || publicType.shaderQualifiers.pixelCenterInteger))
  ------------------
  |  Branch (10023:9): [True: 15.4k, False: 115]
  |  Branch (10023:42): [True: 0, False: 15.4k]
  |  Branch (10023:89): [True: 0, False: 15.4k]
  ------------------
10024|      0|        error(loc, "can only apply origin_upper_left and pixel_center_origin to gl_FragCoord", "layout qualifier", "");
10025|  15.5k|    if (identifier != "gl_FragDepth" && publicType.shaderQualifiers.getDepth() != EldNone)
  ------------------
  |  Branch (10025:9): [True: 15.4k, False: 115]
  |  Branch (10025:41): [True: 0, False: 15.4k]
  ------------------
10026|      0|        error(loc, "can only apply depth layout to gl_FragDepth", "layout qualifier", "");
10027|  15.5k|    if (identifier != "gl_FragStencilRefARB" && publicType.shaderQualifiers.getStencil() != ElsNone)
  ------------------
  |  Branch (10027:9): [True: 15.4k, False: 115]
  |  Branch (10027:49): [True: 0, False: 15.4k]
  ------------------
10028|      0|        error(loc, "can only apply depth layout to gl_FragStencilRefARB", "layout qualifier", "");
10029|       |
10030|       |    // Check for redeclaration of built-ins and/or attempting to declare a reserved name
10031|  15.5k|    TSymbol* symbol = redeclareBuiltinVariable(loc, identifier, type.getQualifier(), publicType.shaderQualifiers);
10032|  15.5k|    if (symbol == nullptr)
  ------------------
  |  Branch (10032:9): [True: 15.5k, False: 0]
  ------------------
10033|  15.5k|        reservedErrorCheck(loc, identifier);
10034|       |
10035|  15.5k|    if (symbol == nullptr && spvVersion.vulkan > 0 && spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (10035:9): [True: 15.5k, False: 0]
  |  Branch (10035:30): [True: 15.5k, False: 0]
  |  Branch (10035:55): [True: 0, False: 15.5k]
  ------------------
10036|      0|        bool remapped = vkRelaxedRemapUniformVariable(loc, identifier, publicType, arraySizes, initializer, type);
10037|       |
10038|      0|        if (remapped) {
  ------------------
  |  Branch (10038:13): [True: 0, False: 0]
  ------------------
10039|      0|            return nullptr;
10040|      0|        }
10041|      0|    }
10042|       |
10043|  15.5k|    inheritGlobalDefaults(type.getQualifier());
10044|       |
10045|       |    // Declare the variable
10046|  15.5k|    if (type.isArray()) {
  ------------------
  |  Branch (10046:9): [True: 573, False: 14.9k]
  ------------------
10047|       |        // Check that implicit sizing is only where allowed.
10048|    573|        arraySizesCheck(loc, type.getQualifier(), type.getArraySizes(), initializer, false);
10049|       |
10050|    573|        if (! arrayQualifierError(loc, type.getQualifier()) && ! arrayError(loc, type))
  ------------------
  |  Branch (10050:13): [True: 573, False: 0]
  |  Branch (10050:64): [True: 573, False: 0]
  ------------------
10051|    573|            declareArray(loc, identifier, type, symbol);
10052|       |
10053|    573|        if (initializer) {
  ------------------
  |  Branch (10053:13): [True: 9, False: 564]
  ------------------
10054|      9|            profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, "initializer");
10055|      9|            profileRequires(loc, EEsProfile, 300, nullptr, "initializer");
10056|      9|        }
10057|  14.9k|    } else {
10058|       |        // non-array case
10059|  14.9k|        if (symbol == nullptr)
  ------------------
  |  Branch (10059:13): [True: 14.9k, False: 0]
  ------------------
10060|  14.9k|            symbol = declareNonArray(loc, identifier, type);
10061|      0|        else if (type != symbol->getType())
  ------------------
  |  Branch (10061:18): [True: 0, False: 0]
  ------------------
10062|      0|            error(loc, "cannot change the type of", "redeclaration", symbol->getName().c_str());
10063|  14.9k|    }
10064|       |
10065|  15.5k|    if (symbol == nullptr)
  ------------------
  |  Branch (10065:9): [True: 0, False: 15.5k]
  ------------------
10066|      0|        return nullptr;
10067|       |
10068|       |    // Deal with initializer
10069|  15.5k|    TIntermNode* initNode = nullptr;
10070|  15.5k|    if (symbol != nullptr && initializer) {
  ------------------
  |  Branch (10070:9): [True: 15.5k, False: 0]
  |  Branch (10070:30): [True: 4.90k, False: 10.6k]
  ------------------
10071|  4.90k|        TVariable* variable = symbol->getAsVariable();
10072|  4.90k|        if (! variable) {
  ------------------
  |  Branch (10072:13): [True: 0, False: 4.90k]
  ------------------
10073|      0|            error(loc, "initializer requires a variable, not a member", identifier.c_str(), "");
10074|      0|            return nullptr;
10075|      0|        }
10076|  4.90k|        initNode = executeInitializer(loc, initializer, variable);
10077|       |
10078|       |        // GL_EXT_opacity_micromap_ray_query_mode: capture the value of a
10079|       |        // 'const bool gl_EnableOpacityMicromapEXT = <true|false>;' redeclaration so the back end can emit
10080|       |        // the OpacityMicromapIdKHR execution mode operand as OpConstantTrue/OpConstantFalse. The
10081|       |        // specialization-constant form goes through addQualifierToExisting instead.
10082|  4.90k|        if (identifier == "gl_EnableOpacityMicromapEXT" && !variable->getType().getQualifier().hasSpecConstantId()) {
  ------------------
  |  Branch (10082:13): [True: 0, False: 4.90k]
  |  Branch (10082:60): [True: 0, False: 0]
  ------------------
10083|      0|            const TConstUnionArray& constArray = variable->getConstArray();
10084|      0|            if (constArray.size() > 0)
  ------------------
  |  Branch (10084:17): [True: 0, False: 0]
  ------------------
10085|      0|                intermediate.setEnableOpacityMicromapDefault(constArray[0].getBConst());
10086|      0|        }
10087|  4.90k|    }
10088|       |
10089|       |    // EXT_descriptor_heap
10090|  15.5k|    if (!untypedHeapCheck(symbol, type, loc, identifier.c_str())) {
  ------------------
  |  Branch (10090:9): [True: 0, False: 15.5k]
  ------------------
10091|      0|        return nullptr;
10092|      0|    }
10093|       |
10094|       |    // look for errors in layout qualifier use
10095|  15.5k|    layoutObjectCheck(loc, *symbol);
10096|       |
10097|       |    // fix up
10098|  15.5k|    fixOffset(loc, *symbol);
10099|       |
10100|       |    // TODO: The decl AST is turned on based on debug info right now. We should expose it as an explicit option.
10101|  15.5k|    if (intermediate.getDebugInfo()) {
  ------------------
  |  Branch (10101:9): [True: 0, False: 15.5k]
  ------------------
10102|      0|        TVariable* variable = symbol->getAsVariable();
10103|      0|        if (variable) {
  ------------------
  |  Branch (10103:13): [True: 0, False: 0]
  ------------------
10104|      0|            auto decl = new TIntermVariableDecl(intermediate.addSymbol(*variable, loc), initNode);
10105|      0|            decl->setLoc(loc);
10106|      0|            return decl;
10107|      0|        }
10108|      0|        else {
10109|       |            // We ignore builtins redeclarations
10110|      0|            return nullptr;
10111|      0|        }
10112|      0|    }
10113|  15.5k|    else {
10114|  15.5k|        return initNode;
10115|  15.5k|    }
10116|  15.5k|}
_ZNK7glslang13TParseContext21inheritGlobalDefaultsERNS_10TQualifierE:
10120|  15.5k|{
10121|  15.5k|    if (dst.storage == EvqVaryingOut) {
  ------------------
  |  Branch (10121:9): [True: 656, False: 14.8k]
  ------------------
10122|    656|        if (! dst.hasStream() && language == EShLangGeometry)
  ------------------
  |  Branch (10122:13): [True: 656, False: 0]
  |  Branch (10122:34): [True: 66, False: 590]
  ------------------
10123|     66|            dst.layoutStream = globalOutputDefaults.layoutStream;
10124|    656|        if (! dst.hasXfbBuffer())
  ------------------
  |  Branch (10124:13): [True: 656, False: 0]
  ------------------
10125|    656|            dst.layoutXfbBuffer = globalOutputDefaults.layoutXfbBuffer;
10126|    656|    }
10127|  15.5k|}
_ZN7glslang13TParseContext15declareNonArrayERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_5TTypeE:
10151|  14.9k|{
10152|       |    // make a new variable
10153|  14.9k|    TVariable* variable = new TVariable(&identifier, type);
10154|       |
10155|  14.9k|    ioArrayCheck(loc, type, identifier);
10156|       |
10157|       |    // add variable to symbol table
10158|  14.9k|    if (symbolTable.insert(*variable)) {
  ------------------
  |  Branch (10158:9): [True: 14.9k, False: 0]
  ------------------
10159|  14.9k|        if (symbolTable.atGlobalLevel())
  ------------------
  |  Branch (10159:13): [True: 14.7k, False: 237]
  ------------------
10160|  14.7k|            trackLinkage(*variable);
10161|  14.9k|        return variable;
10162|  14.9k|    }
10163|       |
10164|      0|    error(loc, "redefinition", variable->getName().c_str(), "");
10165|      0|    return nullptr;
10166|  14.9k|}
_ZN7glslang13TParseContext18executeInitializerERKNS_10TSourceLocEPNS_12TIntermTypedEPNS_9TVariableE:
10175|  4.90k|{
10176|       |    // A null initializer is an aggregate that hasn't had an op assigned yet
10177|       |    // (still EOpNull, no relation to nullInit), and has no children.
10178|  4.90k|    bool nullInit = initializer->getAsAggregate() && initializer->getAsAggregate()->getOp() == EOpNull &&
  ------------------
  |  Branch (10178:21): [True: 6, False: 4.89k]
  |  Branch (10178:54): [True: 6, False: 0]
  ------------------
10179|      6|        initializer->getAsAggregate()->getSequence().size() == 0;
  ------------------
  |  Branch (10179:9): [True: 0, False: 6]
  ------------------
10180|       |
10181|       |    //
10182|       |    // Identifier must be of type constant, a global, or a temporary, and
10183|       |    // starting at version 120, desktop allows uniforms to have initializers.
10184|       |    //
10185|  4.90k|    TStorageQualifier qualifier = variable->getType().getQualifier().storage;
10186|  4.90k|    if (! (qualifier == EvqTemporary || qualifier == EvqGlobal || qualifier == EvqConst ||
  ------------------
  |  Branch (10186:12): [True: 237, False: 4.66k]
  |  Branch (10186:41): [True: 0, False: 4.66k]
  |  Branch (10186:67): [True: 4.66k, False: 0]
  ------------------
10187|      0|           (qualifier == EvqUniform && !isEsProfile() && version >= 120))) {
  ------------------
  |  Branch (10187:13): [True: 0, False: 0]
  |  Branch (10187:40): [True: 0, False: 0]
  |  Branch (10187:58): [True: 0, False: 0]
  ------------------
10188|      0|        if (qualifier == EvqShared) {
  ------------------
  |  Branch (10188:13): [True: 0, False: 0]
  ------------------
10189|       |            // GL_EXT_null_initializer allows this for shared, if it's a null initializer
10190|      0|            if (nullInit) {
  ------------------
  |  Branch (10190:17): [True: 0, False: 0]
  ------------------
10191|      0|                const char* feature = "initialization with shared qualifier";
10192|      0|                profileRequires(loc, EEsProfile, 0, E_GL_EXT_null_initializer, feature);
10193|      0|                profileRequires(loc, ~EEsProfile, 0, E_GL_EXT_null_initializer, feature);
10194|      0|            } else {
10195|      0|                error(loc, "initializer can only be a null initializer ('{}')", "shared", "");
10196|      0|            }
10197|      0|        } else {
10198|      0|            error(loc, " cannot initialize this type of qualifier ",
10199|      0|                  variable->getType().getStorageQualifierString(), "");
10200|      0|            return nullptr;
10201|      0|        }
10202|      0|    }
10203|       |
10204|  4.90k|    if (nullInit) {
  ------------------
  |  Branch (10204:9): [True: 0, False: 4.90k]
  ------------------
10205|       |        // only some types can be null initialized
10206|      0|        if (variable->getType().containsUnsizedArray()) {
  ------------------
  |  Branch (10206:13): [True: 0, False: 0]
  ------------------
10207|      0|            error(loc, "null initializers can't size unsized arrays", "{}", "");
10208|      0|            return nullptr;
10209|      0|        }
10210|      0|        if (variable->getType().containsOpaque()) {
  ------------------
  |  Branch (10210:13): [True: 0, False: 0]
  ------------------
10211|      0|            error(loc, "null initializers can't be used on opaque values", "{}", "");
10212|      0|            return nullptr;
10213|      0|        }
10214|      0|        variable->getWritableType().getQualifier().setNullInit();
10215|      0|        return nullptr;
10216|      0|    }
10217|       |
10218|  4.90k|    arrayObjectCheck(loc, variable->getType(), "array initializer");
10219|       |
10220|       |    //
10221|       |    // If the initializer was from braces { ... }, we convert the whole subtree to a
10222|       |    // constructor-style subtree, allowing the rest of the code to operate
10223|       |    // identically for both kinds of initializers.
10224|       |    //
10225|       |    // Type can't be deduced from the initializer list, so a skeletal type to
10226|       |    // follow has to be passed in.  Constness and specialization-constness
10227|       |    // should be deduced bottom up, not dictated by the skeletal type.
10228|       |    //
10229|  4.90k|    TType skeletalType;
10230|  4.90k|    skeletalType.shallowCopy(variable->getType());
10231|  4.90k|    skeletalType.getQualifier().makeTemporary();
10232|  4.90k|    initializer = convertInitializerList(loc, skeletalType, initializer);
10233|  4.90k|    if (! initializer) {
  ------------------
  |  Branch (10233:9): [True: 0, False: 4.90k]
  ------------------
10234|       |        // error recovery; don't leave const without constant values
10235|      0|        if (qualifier == EvqConst)
  ------------------
  |  Branch (10235:13): [True: 0, False: 0]
  ------------------
10236|      0|            variable->getWritableType().getQualifier().makeTemporary();
10237|      0|        return nullptr;
10238|      0|    }
10239|       |
10240|       |    // Fix outer arrayness if variable is unsized, getting size from the initializer
10241|  4.90k|    if (initializer->getType().isSizedArray() && variable->getType().isUnsizedArray())
  ------------------
  |  Branch (10241:9): [True: 9, False: 4.89k]
  |  Branch (10241:50): [True: 0, False: 9]
  ------------------
10242|      0|        variable->getWritableType().changeOuterArraySize(initializer->getType().getOuterArraySize());
10243|       |
10244|       |    // Inner arrayness can also get set by an initializer
10245|  4.90k|    if (initializer->getType().isArrayOfArrays() && variable->getType().isArrayOfArrays() &&
  ------------------
  |  Branch (10245:9): [True: 0, False: 4.90k]
  |  Branch (10245:53): [True: 0, False: 0]
  ------------------
10246|      0|        initializer->getType().getArraySizes()->getNumDims() ==
  ------------------
  |  Branch (10246:9): [True: 0, False: 0]
  ------------------
10247|      0|           variable->getType().getArraySizes()->getNumDims()) {
10248|       |        // adopt unsized sizes from the initializer's sizes
10249|      0|        for (int d = 1; d < variable->getType().getArraySizes()->getNumDims(); ++d) {
  ------------------
  |  Branch (10249:25): [True: 0, False: 0]
  ------------------
10250|      0|            if (variable->getType().getArraySizes()->getDimSize(d) == UnsizedArraySize) {
  ------------------
  |  Branch (10250:17): [True: 0, False: 0]
  ------------------
10251|      0|                variable->getWritableType().getArraySizes()->setDimSize(d,
10252|      0|                    initializer->getType().getArraySizes()->getDimSize(d));
10253|      0|            }
10254|      0|        }
10255|      0|    }
10256|       |
10257|       |    // Uniforms require a compile-time constant initializer
10258|  4.90k|    if (qualifier == EvqUniform && ! initializer->getType().getQualifier().isFrontEndConstant()) {
  ------------------
  |  Branch (10258:9): [True: 0, False: 4.90k]
  |  Branch (10258:36): [True: 0, False: 0]
  ------------------
10259|      0|        error(loc, "uniform initializers must be constant", "=", "'%s'",
10260|      0|              variable->getType().getCompleteString(intermediate.getEnhancedMsgs()).c_str());
10261|      0|        variable->getWritableType().getQualifier().makeTemporary();
10262|      0|        return nullptr;
10263|      0|    }
10264|       |    // Global consts require a constant initializer (specialization constant is okay)
10265|  4.90k|    if (qualifier == EvqConst && symbolTable.atGlobalLevel() && ! initializer->getType().getQualifier().isConstant()) {
  ------------------
  |  Branch (10265:9): [True: 4.66k, False: 237]
  |  Branch (10265:34): [True: 4.66k, False: 3]
  |  Branch (10265:65): [True: 0, False: 4.66k]
  ------------------
10266|      0|        error(loc, "global const initializers must be constant", "=", "'%s'",
10267|      0|              variable->getType().getCompleteString(intermediate.getEnhancedMsgs()).c_str());
10268|      0|        variable->getWritableType().getQualifier().makeTemporary();
10269|      0|        return nullptr;
10270|      0|    }
10271|       |
10272|       |    // Const variables require a constant initializer, depending on version
10273|  4.90k|    if (qualifier == EvqConst) {
  ------------------
  |  Branch (10273:9): [True: 4.66k, False: 237]
  ------------------
10274|  4.66k|        if (! initializer->getType().getQualifier().isConstant()) {
  ------------------
  |  Branch (10274:13): [True: 0, False: 4.66k]
  ------------------
10275|      0|            const char* initFeature = "non-constant initializer";
10276|      0|            requireProfile(loc, ~EEsProfile, initFeature);
10277|      0|            profileRequires(loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, initFeature);
10278|      0|            variable->getWritableType().getQualifier().storage = EvqConstReadOnly;
10279|      0|            qualifier = EvqConstReadOnly;
10280|      0|        }
10281|  4.66k|    } else {
10282|       |        // Non-const global variables in ES need a const initializer.
10283|       |        //
10284|       |        // "In declarations of global variables with no storage qualifier or with a const
10285|       |        // qualifier any initializer must be a constant expression."
10286|    237|        if (symbolTable.atGlobalLevel() && ! initializer->getType().getQualifier().isConstant()) {
  ------------------
  |  Branch (10286:13): [True: 0, False: 237]
  |  Branch (10286:44): [True: 0, False: 0]
  ------------------
10287|      0|            const char* initFeature =
10288|      0|                "non-constant global initializer (needs GL_EXT_shader_non_constant_global_initializers)";
10289|      0|            if (isEsProfile()) {
  ------------------
  |  Branch (10289:17): [True: 0, False: 0]
  ------------------
10290|      0|                if (relaxedErrors() && ! extensionTurnedOn(E_GL_EXT_shader_non_constant_global_initializers))
  ------------------
  |  Branch (10290:21): [True: 0, False: 0]
  |  Branch (10290:40): [True: 0, False: 0]
  ------------------
10291|      0|                    warn(loc, "not allowed in this version", initFeature, "");
10292|      0|                else
10293|      0|                    profileRequires(loc, EEsProfile, 0, E_GL_EXT_shader_non_constant_global_initializers, initFeature);
10294|      0|            }
10295|      0|        }
10296|    237|    }
10297|       |
10298|  4.90k|    if (qualifier == EvqConst || qualifier == EvqUniform) {
  ------------------
  |  Branch (10298:9): [True: 4.66k, False: 237]
  |  Branch (10298:34): [True: 0, False: 237]
  ------------------
10299|       |        // Compile-time tagging of the variable with its constant value...
10300|       |
10301|  4.66k|        initializer = intermediate.addConversion(EOpAssign, variable->getType(), initializer);
10302|  4.66k|        if (! initializer || ! initializer->getType().getQualifier().isConstant() ||
  ------------------
  |  Branch (10302:13): [True: 0, False: 4.66k]
  |  Branch (10302:30): [True: 0, False: 4.66k]
  ------------------
10303|  4.66k|            variable->getType() != initializer->getType()) {
  ------------------
  |  Branch (10303:13): [True: 0, False: 4.66k]
  ------------------
10304|      0|            error(loc, "non-matching or non-convertible constant type for const initializer",
10305|      0|                  variable->getType().getStorageQualifierString(), "");
10306|      0|            variable->getWritableType().getQualifier().makeTemporary();
10307|      0|            return nullptr;
10308|      0|        }
10309|       |
10310|       |        // We either have a folded constant in getAsConstantUnion, or we have to use
10311|       |        // the initializer's subtree in the AST to represent the computation of a
10312|       |        // specialization constant.
10313|  4.66k|        assert(initializer->getAsConstantUnion() || initializer->getType().getQualifier().isSpecConstant());
10314|  4.66k|        if (initializer->getAsConstantUnion())
  ------------------
  |  Branch (10314:13): [True: 4.66k, False: 0]
  ------------------
10315|  4.66k|            variable->setConstArray(initializer->getAsConstantUnion()->getConstArray());
10316|      0|        else {
10317|       |            // It's a specialization constant.
10318|      0|            variable->getWritableType().getQualifier().makeSpecConstant();
10319|       |
10320|       |            // Keep the subtree that computes the specialization constant with the variable.
10321|       |            // Later, a symbol node will adopt the subtree from the variable.
10322|      0|            variable->setConstSubtree(initializer);
10323|      0|        }
10324|  4.66k|    } else {
10325|       |        // normal assigning of a value to a variable...
10326|    237|        specializationCheck(loc, initializer->getType(), "initializer");
10327|    237|        TIntermSymbol* intermSymbol = intermediate.addSymbol(*variable, loc);
10328|    237|        TIntermTyped* initNode = intermediate.addAssign(EOpAssign, intermSymbol, initializer, loc);
10329|    237|        if (! initNode)
  ------------------
  |  Branch (10329:13): [True: 0, False: 237]
  ------------------
10330|      0|            assignError(loc, "=", intermSymbol->getCompleteString(intermediate.getEnhancedMsgs()), initializer->getCompleteString(intermediate.getEnhancedMsgs()));
10331|       |
10332|    237|        return initNode;
10333|    237|    }
10334|       |
10335|  4.66k|    return nullptr;
10336|  4.90k|}
_ZN7glslang13TParseContext22convertInitializerListERKNS_10TSourceLocERKNS_5TTypeEPNS_12TIntermTypedE:
10349|  4.92k|{
10350|       |    // Will operate recursively.  Once a subtree is found that is constructor style,
10351|       |    // everything below it is already good: Only the "top part" of the initializer
10352|       |    // can be an initializer list, where "top part" can extend for several (or all) levels.
10353|       |
10354|       |    // see if we have bottomed out in the tree within the initializer-list part
10355|  4.92k|    TIntermAggregate* initList = initializer->getAsAggregate();
10356|  4.92k|    if (! initList || initList->getOp() != EOpNull)
  ------------------
  |  Branch (10356:9): [True: 4.91k, False: 6]
  |  Branch (10356:23): [True: 0, False: 6]
  ------------------
10357|  4.91k|        return initializer;
10358|       |
10359|       |    // Of the initializer-list set of nodes, need to process bottom up,
10360|       |    // so recurse deep, then process on the way up.
10361|       |
10362|       |    // Go down the tree here...
10363|      6|    if (type.isArray()) {
  ------------------
  |  Branch (10363:9): [True: 6, False: 0]
  ------------------
10364|       |        // The type's array might be unsized, which could be okay, so base sizes on the size of the aggregate.
10365|       |        // Later on, initializer execution code will deal with array size logic.
10366|      6|        TType arrayType;
10367|      6|        arrayType.shallowCopy(type);                     // sharing struct stuff is fine
10368|      6|        arrayType.copyArraySizes(*type.getArraySizes());  // but get a fresh copy of the array information, to edit below
10369|       |
10370|       |        // a nested empty initializer list ({}) has no elements to size the array or
10371|       |        // derive its element type from, so reject it before the getSequence()[0] read below
10372|      6|        if (initList->getSequence().empty()) {
  ------------------
  |  Branch (10372:13): [True: 0, False: 6]
  ------------------
10373|      0|            error(loc, "array initializer must be non-empty", "initializer list", "");
10374|      0|            return nullptr;
10375|      0|        }
10376|       |
10377|       |        // edit array sizes to fill in unsized dimensions
10378|      6|        arrayType.changeOuterArraySize((int)initList->getSequence().size());
10379|      6|        TIntermTyped* firstInit = initList->getSequence()[0]->getAsTyped();
10380|      6|        if (arrayType.isArrayOfArrays() && firstInit->getType().isArray() &&
  ------------------
  |  Branch (10380:13): [True: 0, False: 6]
  |  Branch (10380:44): [True: 0, False: 0]
  ------------------
10381|      0|            arrayType.getArraySizes()->getNumDims() == firstInit->getType().getArraySizes()->getNumDims() + 1) {
  ------------------
  |  Branch (10381:13): [True: 0, False: 0]
  ------------------
10382|      0|            for (int d = 1; d < arrayType.getArraySizes()->getNumDims(); ++d) {
  ------------------
  |  Branch (10382:29): [True: 0, False: 0]
  ------------------
10383|      0|                if (arrayType.getArraySizes()->getDimSize(d) == UnsizedArraySize)
  ------------------
  |  Branch (10383:21): [True: 0, False: 0]
  ------------------
10384|      0|                    arrayType.getArraySizes()->setDimSize(d, firstInit->getType().getArraySizes()->getDimSize(d - 1));
10385|      0|            }
10386|      0|        }
10387|       |
10388|      6|        TType elementType(arrayType, 0); // dereferenced type
10389|     30|        for (size_t i = 0; i < initList->getSequence().size(); ++i) {
  ------------------
  |  Branch (10389:28): [True: 24, False: 6]
  ------------------
10390|     24|            initList->getSequence()[i] = convertInitializerList(loc, elementType, initList->getSequence()[i]->getAsTyped());
10391|     24|            if (initList->getSequence()[i] == nullptr)
  ------------------
  |  Branch (10391:17): [True: 0, False: 24]
  ------------------
10392|      0|                return nullptr;
10393|     24|        }
10394|       |
10395|      6|        return addConstructor(loc, initList, arrayType);
10396|      6|    } else if (type.isStruct()) {
  ------------------
  |  Branch (10396:16): [True: 0, False: 0]
  ------------------
10397|      0|        if (type.getStruct()->size() != initList->getSequence().size()) {
  ------------------
  |  Branch (10397:13): [True: 0, False: 0]
  ------------------
10398|      0|            error(loc, "wrong number of structure members", "initializer list", "");
10399|      0|            return nullptr;
10400|      0|        }
10401|      0|        for (size_t i = 0; i < type.getStruct()->size(); ++i) {
  ------------------
  |  Branch (10401:28): [True: 0, False: 0]
  ------------------
10402|      0|            initList->getSequence()[i] = convertInitializerList(loc, *(*type.getStruct())[i].type, initList->getSequence()[i]->getAsTyped());
10403|      0|            if (initList->getSequence()[i] == nullptr)
  ------------------
  |  Branch (10403:17): [True: 0, False: 0]
  ------------------
10404|      0|                return nullptr;
10405|      0|        }
10406|      0|    } else if (type.isMatrix()) {
  ------------------
  |  Branch (10406:16): [True: 0, False: 0]
  ------------------
10407|      0|        if (type.getMatrixCols() != (int)initList->getSequence().size()) {
  ------------------
  |  Branch (10407:13): [True: 0, False: 0]
  ------------------
10408|      0|            error(loc, "wrong number of matrix columns:", "initializer list", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str());
10409|      0|            return nullptr;
10410|      0|        }
10411|      0|        TType vectorType(type, 0); // dereferenced type
10412|      0|        for (int i = 0; i < type.getMatrixCols(); ++i) {
  ------------------
  |  Branch (10412:25): [True: 0, False: 0]
  ------------------
10413|      0|            initList->getSequence()[i] = convertInitializerList(loc, vectorType, initList->getSequence()[i]->getAsTyped());
10414|      0|            if (initList->getSequence()[i] == nullptr)
  ------------------
  |  Branch (10414:17): [True: 0, False: 0]
  ------------------
10415|      0|                return nullptr;
10416|      0|        }
10417|      0|    } else if (type.isVector()) {
  ------------------
  |  Branch (10417:16): [True: 0, False: 0]
  ------------------
10418|      0|        if (type.getVectorSize() != (int)initList->getSequence().size()) {
  ------------------
  |  Branch (10418:13): [True: 0, False: 0]
  ------------------
10419|      0|            error(loc, "wrong vector size (or rows in a matrix column):", "initializer list", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str());
10420|      0|            return nullptr;
10421|      0|        }
10422|      0|        TBasicType destType = type.getBasicType();
10423|      0|        for (int i = 0; i < type.getVectorSize(); ++i) {
  ------------------
  |  Branch (10423:25): [True: 0, False: 0]
  ------------------
10424|      0|            TBasicType initType = initList->getSequence()[i]->getAsTyped()->getBasicType();
10425|      0|            if (destType != initType && !intermediate.canImplicitlyPromote(initType, destType)) {
  ------------------
  |  Branch (10425:17): [True: 0, False: 0]
  |  Branch (10425:41): [True: 0, False: 0]
  ------------------
10426|      0|                error(loc, "type mismatch in initializer list", "initializer list", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str());
10427|      0|                return nullptr;
10428|      0|            }
10429|       |
10430|      0|        }
10431|      0|    } else {
10432|      0|        error(loc, "unexpected initializer-list type:", "initializer list", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str());
10433|      0|        return nullptr;
10434|      0|    }
10435|       |
10436|       |    // Now that the subtree is processed, process this node as if the
10437|       |    // initializer list is a set of arguments to a constructor.
10438|      0|    TIntermNode* emulatedConstructorArguments;
10439|      0|    if (initList->getSequence().size() == 1)
  ------------------
  |  Branch (10439:9): [True: 0, False: 0]
  ------------------
10440|      0|        emulatedConstructorArguments = initList->getSequence()[0];
10441|      0|    else
10442|      0|        emulatedConstructorArguments = initList;
10443|      0|    return addConstructor(loc, emulatedConstructorArguments, type);
10444|      6|}
_ZN7glslang13TParseContext14addConstructorERKNS_10TSourceLocEP11TIntermNodeRKNS_5TTypeE:
10456|    812|{
10457|    812|    if (node == nullptr || node->getAsTyped() == nullptr)
  ------------------
  |  Branch (10457:9): [True: 0, False: 812]
  |  Branch (10457:28): [True: 0, False: 812]
  ------------------
10458|      0|        return nullptr;
10459|    812|    rValueErrorCheck(loc, "constructor", node->getAsTyped());
10460|       |
10461|    812|    TIntermAggregate* aggrNode = node->getAsAggregate();
10462|    812|    TOperator op = intermediate.mapTypeToConstructorOp(type);
10463|       |
10464|       |    // Combined texture-sampler constructors are completely semantic checked
10465|       |    // in constructorTextureSamplerError()
10466|    812|    if (op == EOpConstructTextureSampler) {
  ------------------
  |  Branch (10466:9): [True: 45, False: 767]
  ------------------
10467|     45|        if (aggrNode != nullptr) {
  ------------------
  |  Branch (10467:13): [True: 45, False: 0]
  ------------------
10468|     45|            if (aggrNode->getSequence()[1]->getAsTyped()->getType().getSampler().shadow) {
  ------------------
  |  Branch (10468:17): [True: 21, False: 24]
  ------------------
10469|       |                // Transfer depth into the texture (SPIR-V image) type, as a hint
10470|       |                // for tools to know this texture/image is a depth image.
10471|     21|                aggrNode->getSequence()[0]->getAsTyped()->getWritableType().getSampler().shadow = true;
10472|     21|            }
10473|     45|            return intermediate.setAggregateOperator(aggrNode, op, type, loc);
10474|     45|        }
10475|     45|    }
10476|       |
10477|    767|    TTypeList::const_iterator memberTypes;
10478|    767|    if (op == EOpConstructStruct)
  ------------------
  |  Branch (10478:9): [True: 0, False: 767]
  ------------------
10479|      0|        memberTypes = type.getStruct()->begin();
10480|       |
10481|    767|    TType elementType;
10482|    767|    if (type.isArray()) {
  ------------------
  |  Branch (10482:9): [True: 9, False: 758]
  ------------------
10483|      9|        TType dereferenced(type, 0);
10484|      9|        elementType.shallowCopy(dereferenced);
10485|      9|    } else
10486|    758|        elementType.shallowCopy(type);
10487|       |
10488|    767|    bool singleArg;
10489|    767|    if (aggrNode) {
  ------------------
  |  Branch (10489:9): [True: 98, False: 669]
  ------------------
10490|     98|        if (aggrNode->getOp() != EOpNull)
  ------------------
  |  Branch (10490:13): [True: 6, False: 92]
  ------------------
10491|      6|            singleArg = true;
10492|     92|        else
10493|     92|            singleArg = false;
10494|     98|    } else
10495|    669|        singleArg = true;
10496|       |
10497|    767|    TIntermTyped *newNode;
10498|    767|    if (singleArg) {
  ------------------
  |  Branch (10498:9): [True: 675, False: 92]
  ------------------
10499|       |        // If structure constructor or array constructor is being called
10500|       |        // for only one parameter inside the structure, we need to call constructAggregate function once.
10501|    675|        if (type.isArray())
  ------------------
  |  Branch (10501:13): [True: 0, False: 675]
  ------------------
10502|      0|            newNode = constructAggregate(node, elementType, 1, node->getLoc());
10503|    675|        else if (op == EOpConstructStruct)
  ------------------
  |  Branch (10503:18): [True: 0, False: 675]
  ------------------
10504|      0|            newNode = constructAggregate(node, *(*memberTypes).type, 1, node->getLoc());
10505|    675|        else
10506|    675|            newNode = constructBuiltIn(type, op, node->getAsTyped(), node->getLoc(), false);
10507|       |
10508|    675|        if (newNode && (type.isArray() || op == EOpConstructStruct))
  ------------------
  |  Branch (10508:13): [True: 675, False: 0]
  |  Branch (10508:25): [True: 0, False: 675]
  |  Branch (10508:43): [True: 0, False: 675]
  ------------------
10509|      0|            newNode = intermediate.setAggregateOperator(newNode, EOpConstructStruct, type, loc);
10510|       |
10511|    675|        return newNode;
10512|    675|    }
10513|       |
10514|       |    //
10515|       |    // Handle list of arguments.
10516|       |    //
10517|     92|    TIntermSequence &sequenceVector = aggrNode->getSequence();    // Stores the information about the parameter to the constructor
10518|       |    // if the structure constructor contains more than one parameter, then construct
10519|       |    // each parameter
10520|       |
10521|     92|    int paramCount = 0;  // keeps track of the constructor parameter number being checked
10522|       |
10523|       |    // We don't know "top down" whether type is a specialization constant,
10524|       |    // but a const becomes a specialization constant if any of its children are.
10525|     92|    bool hasSpecConst = false;
10526|     92|    bool isConstConstructor = true;
10527|       |
10528|       |    // for each parameter to the constructor call, check to see if the right type is passed or convert them
10529|       |    // to the right type if possible (and allowed).
10530|       |    // for structure constructors, just check if the right type is passed, no conversion is allowed.
10531|     92|    for (TIntermSequence::iterator p = sequenceVector.begin();
10532|    365|                                   p != sequenceVector.end(); p++, paramCount++) {
  ------------------
  |  Branch (10532:36): [True: 273, False: 92]
  ------------------
10533|    273|        if (type.isArray())
  ------------------
  |  Branch (10533:13): [True: 36, False: 237]
  ------------------
10534|     36|            newNode = constructAggregate(*p, elementType, paramCount+1, node->getLoc());
10535|    237|        else if (op == EOpConstructStruct)
  ------------------
  |  Branch (10535:18): [True: 0, False: 237]
  ------------------
10536|      0|            newNode = constructAggregate(*p, *(memberTypes[paramCount]).type, paramCount+1, node->getLoc());
10537|    237|        else
10538|    237|            newNode = constructBuiltIn(type, op, (*p)->getAsTyped(), node->getLoc(), true);
10539|       |
10540|    273|        if (newNode) {
  ------------------
  |  Branch (10540:13): [True: 273, False: 0]
  ------------------
10541|    273|            *p = newNode;
10542|    273|            if (!newNode->getType().getQualifier().isConstant())
  ------------------
  |  Branch (10542:17): [True: 0, False: 273]
  ------------------
10543|      0|                isConstConstructor = false;
10544|    273|            if (newNode->getType().getQualifier().isSpecConstant())
  ------------------
  |  Branch (10544:17): [True: 0, False: 273]
  ------------------
10545|      0|                hasSpecConst = true;
10546|    273|        } else
10547|      0|            return nullptr;
10548|    273|    }
10549|       |
10550|     92|    TIntermTyped* ret_node = intermediate.setAggregateOperator(aggrNode, op, type, loc);
10551|       |
10552|     92|    const char *specConstantCompositeExt[] = { E_GL_EXT_spec_constant_composites };
10553|     92|    if (checkExtensionsRequested(loc, 1, specConstantCompositeExt, "spec constant aggregate constructor")) {
  ------------------
  |  Branch (10553:9): [True: 0, False: 92]
  ------------------
10554|      0|        if (isConstConstructor && hasSpecConst) {
  ------------------
  |  Branch (10554:13): [True: 0, False: 0]
  |  Branch (10554:35): [True: 0, False: 0]
  ------------------
10555|      0|            ret_node->getWritableType().getQualifier().makeSpecConstant();
10556|      0|        }
10557|      0|    }
10558|       |
10559|     92|    TIntermAggregate *agg_node = ret_node->getAsAggregate();
10560|     92|    if (agg_node && (agg_node->isVector() || agg_node->isArray() || agg_node->isMatrix()))
  ------------------
  |  Branch (10560:9): [True: 0, False: 92]
  |  Branch (10560:22): [True: 0, False: 0]
  |  Branch (10560:46): [True: 0, False: 0]
  |  Branch (10560:69): [True: 0, False: 0]
  ------------------
10561|      0|        agg_node->updatePrecision();
10562|       |
10563|     92|    return ret_node;
10564|     92|}
_ZN7glslang13TParseContext16constructBuiltInERKNS_5TTypeENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocEb:
10575|    912|{
10576|       |    // If we are changing a matrix in both domain of basic type and to a non matrix,
10577|       |    // do the shape change first (by default, below, basic type is changed before shape).
10578|       |    // This avoids requesting a matrix of a new type that is going to be discarded anyway.
10579|       |    // TODO: This could be generalized to more type combinations, but that would require
10580|       |    // more extensive testing and full algorithm rework. For now, the need to do two changes makes
10581|       |    // the recursive call work, and avoids the most egregious case of creating integer matrices.
10582|    912|    if (node->getType().isMatrix() && (type.isScalar() || type.isVector()) &&
  ------------------
  |  Branch (10582:9): [True: 0, False: 912]
  |  Branch (10582:40): [True: 0, False: 0]
  |  Branch (10582:59): [True: 0, False: 0]
  ------------------
10583|      0|            type.isFloatingDomain() != node->getType().isFloatingDomain()) {
  ------------------
  |  Branch (10583:13): [True: 0, False: 0]
  ------------------
10584|      0|        TType transitionType(node->getBasicType(), glslang::EvqTemporary, type.getVectorSize(), 0, 0, node->isVector());
10585|      0|        TOperator transitionOp = intermediate.mapTypeToConstructorOp(transitionType);
10586|      0|        node = constructBuiltIn(transitionType, transitionOp, node, loc, false);
10587|      0|    }
10588|       |
10589|    912|    TIntermTyped* newNode;
10590|    912|    TOperator basicOp;
10591|       |
10592|       |    //
10593|       |    // First, convert types as needed.
10594|       |    //
10595|    912|    switch (op) {
10596|      9|    case EOpConstructVec2:
  ------------------
  |  Branch (10596:5): [True: 9, False: 903]
  ------------------
10597|      9|    case EOpConstructVec3:
  ------------------
  |  Branch (10597:5): [True: 0, False: 912]
  ------------------
10598|    225|    case EOpConstructVec4:
  ------------------
  |  Branch (10598:5): [True: 216, False: 696]
  ------------------
10599|    225|    case EOpConstructMat2x2:
  ------------------
  |  Branch (10599:5): [True: 0, False: 912]
  ------------------
10600|    225|    case EOpConstructMat2x3:
  ------------------
  |  Branch (10600:5): [True: 0, False: 912]
  ------------------
10601|    225|    case EOpConstructMat2x4:
  ------------------
  |  Branch (10601:5): [True: 0, False: 912]
  ------------------
10602|    225|    case EOpConstructMat3x2:
  ------------------
  |  Branch (10602:5): [True: 0, False: 912]
  ------------------
10603|    225|    case EOpConstructMat3x3:
  ------------------
  |  Branch (10603:5): [True: 0, False: 912]
  ------------------
10604|    225|    case EOpConstructMat3x4:
  ------------------
  |  Branch (10604:5): [True: 0, False: 912]
  ------------------
10605|    225|    case EOpConstructMat4x2:
  ------------------
  |  Branch (10605:5): [True: 0, False: 912]
  ------------------
10606|    225|    case EOpConstructMat4x3:
  ------------------
  |  Branch (10606:5): [True: 0, False: 912]
  ------------------
10607|    225|    case EOpConstructMat4x4:
  ------------------
  |  Branch (10607:5): [True: 0, False: 912]
  ------------------
10608|    225|    case EOpConstructFloat:
  ------------------
  |  Branch (10608:5): [True: 0, False: 912]
  ------------------
10609|    225|        basicOp = EOpConstructFloat;
10610|    225|        break;
10611|       |
10612|    144|    case EOpConstructIVec2:
  ------------------
  |  Branch (10612:5): [True: 144, False: 768]
  ------------------
10613|    402|    case EOpConstructIVec3:
  ------------------
  |  Branch (10613:5): [True: 258, False: 654]
  ------------------
10614|    408|    case EOpConstructIVec4:
  ------------------
  |  Branch (10614:5): [True: 6, False: 906]
  ------------------
10615|    606|    case EOpConstructInt:
  ------------------
  |  Branch (10615:5): [True: 198, False: 714]
  ------------------
10616|    606|        basicOp = EOpConstructInt;
10617|    606|        break;
10618|       |
10619|      0|    case EOpConstructUVec2:
  ------------------
  |  Branch (10619:5): [True: 0, False: 912]
  ------------------
10620|      0|        if (node->getType().getBasicType() == EbtReference) {
  ------------------
  |  Branch (10620:13): [True: 0, False: 0]
  ------------------
10621|      0|            requireExtensions(loc, 1, &E_GL_EXT_buffer_reference_uvec2, "reference conversion to uvec2");
10622|      0|            TIntermTyped* newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvPtrToUvec2, true, node,
10623|      0|                type);
10624|      0|            return newNode;
10625|      0|        } else if (node->getType().getBasicType() == EbtSampler) {
  ------------------
  |  Branch (10625:20): [True: 0, False: 0]
  ------------------
10626|      0|            requireExtensions(loc, 1, &E_GL_ARB_bindless_texture, "sampler conversion to uvec2");
10627|       |            // force the basic type of the constructor param to uvec2, otherwise spv builder will
10628|       |            // report some errors
10629|      0|            TIntermTyped* newSrcNode = intermediate.createConversion(EbtUint, node);
10630|      0|            newSrcNode->getAsTyped()->getWritableType().setVectorSize(2);
10631|       |
10632|      0|            TIntermTyped* newNode =
10633|      0|                intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConstructUVec2, false, newSrcNode, type);
10634|      0|            return newNode;
10635|      0|        }
10636|      0|        [[fallthrough]];
10637|     81|    case EOpConstructUVec3:
  ------------------
  |  Branch (10637:5): [True: 81, False: 831]
  ------------------
10638|     81|    case EOpConstructUVec4:
  ------------------
  |  Branch (10638:5): [True: 0, False: 912]
  ------------------
10639|     81|    case EOpConstructUint:
  ------------------
  |  Branch (10639:5): [True: 0, False: 912]
  ------------------
10640|     81|        basicOp = EOpConstructUint;
10641|     81|        break;
10642|       |
10643|      0|    case EOpConstructBVec2:
  ------------------
  |  Branch (10643:5): [True: 0, False: 912]
  ------------------
10644|      0|    case EOpConstructBVec3:
  ------------------
  |  Branch (10644:5): [True: 0, False: 912]
  ------------------
10645|      0|    case EOpConstructBVec4:
  ------------------
  |  Branch (10645:5): [True: 0, False: 912]
  ------------------
10646|      0|    case EOpConstructBool:
  ------------------
  |  Branch (10646:5): [True: 0, False: 912]
  ------------------
10647|      0|        basicOp = EOpConstructBool;
10648|      0|        break;
10649|      0|    case EOpConstructTextureSampler:
  ------------------
  |  Branch (10649:5): [True: 0, False: 912]
  ------------------
10650|      0|        if ((node->getType().getBasicType() == EbtUint || node->getType().getBasicType() == EbtInt) &&
  ------------------
  |  Branch (10650:14): [True: 0, False: 0]
  |  Branch (10650:59): [True: 0, False: 0]
  ------------------
10651|      0|            node->getType().getVectorSize() == 2) {
  ------------------
  |  Branch (10651:13): [True: 0, False: 0]
  ------------------
10652|      0|            requireExtensions(loc, 1, &E_GL_ARB_bindless_texture, "ivec2/uvec2 convert to texture handle");
10653|       |            // No matter ivec2 or uvec2, Set EOpPackUint2x32 just to generate an opBitcast op code
10654|      0|            TIntermTyped* newNode =
10655|      0|                intermediate.addBuiltInFunctionCall(node->getLoc(), EOpPackUint2x32, true, node, type);
10656|      0|            return newNode;
10657|      0|        }
10658|      0|        [[fallthrough]];
10659|      0|    case EOpConstructDVec2:
  ------------------
  |  Branch (10659:5): [True: 0, False: 912]
  ------------------
10660|      0|    case EOpConstructDVec3:
  ------------------
  |  Branch (10660:5): [True: 0, False: 912]
  ------------------
10661|      0|    case EOpConstructDVec4:
  ------------------
  |  Branch (10661:5): [True: 0, False: 912]
  ------------------
10662|      0|    case EOpConstructDMat2x2:
  ------------------
  |  Branch (10662:5): [True: 0, False: 912]
  ------------------
10663|      0|    case EOpConstructDMat2x3:
  ------------------
  |  Branch (10663:5): [True: 0, False: 912]
  ------------------
10664|      0|    case EOpConstructDMat2x4:
  ------------------
  |  Branch (10664:5): [True: 0, False: 912]
  ------------------
10665|      0|    case EOpConstructDMat3x2:
  ------------------
  |  Branch (10665:5): [True: 0, False: 912]
  ------------------
10666|      0|    case EOpConstructDMat3x3:
  ------------------
  |  Branch (10666:5): [True: 0, False: 912]
  ------------------
10667|      0|    case EOpConstructDMat3x4:
  ------------------
  |  Branch (10667:5): [True: 0, False: 912]
  ------------------
10668|      0|    case EOpConstructDMat4x2:
  ------------------
  |  Branch (10668:5): [True: 0, False: 912]
  ------------------
10669|      0|    case EOpConstructDMat4x3:
  ------------------
  |  Branch (10669:5): [True: 0, False: 912]
  ------------------
10670|      0|    case EOpConstructDMat4x4:
  ------------------
  |  Branch (10670:5): [True: 0, False: 912]
  ------------------
10671|      0|    case EOpConstructDouble:
  ------------------
  |  Branch (10671:5): [True: 0, False: 912]
  ------------------
10672|      0|        basicOp = EOpConstructDouble;
10673|      0|        break;
10674|       |
10675|      0|    case EOpConstructF16Vec2:
  ------------------
  |  Branch (10675:5): [True: 0, False: 912]
  ------------------
10676|      0|    case EOpConstructF16Vec3:
  ------------------
  |  Branch (10676:5): [True: 0, False: 912]
  ------------------
10677|      0|    case EOpConstructF16Vec4:
  ------------------
  |  Branch (10677:5): [True: 0, False: 912]
  ------------------
10678|      0|    case EOpConstructF16Mat2x2:
  ------------------
  |  Branch (10678:5): [True: 0, False: 912]
  ------------------
10679|      0|    case EOpConstructF16Mat2x3:
  ------------------
  |  Branch (10679:5): [True: 0, False: 912]
  ------------------
10680|      0|    case EOpConstructF16Mat2x4:
  ------------------
  |  Branch (10680:5): [True: 0, False: 912]
  ------------------
10681|      0|    case EOpConstructF16Mat3x2:
  ------------------
  |  Branch (10681:5): [True: 0, False: 912]
  ------------------
10682|      0|    case EOpConstructF16Mat3x3:
  ------------------
  |  Branch (10682:5): [True: 0, False: 912]
  ------------------
10683|      0|    case EOpConstructF16Mat3x4:
  ------------------
  |  Branch (10683:5): [True: 0, False: 912]
  ------------------
10684|      0|    case EOpConstructF16Mat4x2:
  ------------------
  |  Branch (10684:5): [True: 0, False: 912]
  ------------------
10685|      0|    case EOpConstructF16Mat4x3:
  ------------------
  |  Branch (10685:5): [True: 0, False: 912]
  ------------------
10686|      0|    case EOpConstructF16Mat4x4:
  ------------------
  |  Branch (10686:5): [True: 0, False: 912]
  ------------------
10687|      0|    case EOpConstructFloat16:
  ------------------
  |  Branch (10687:5): [True: 0, False: 912]
  ------------------
10688|      0|        basicOp = EOpConstructFloat16;
10689|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10690|       |        // so construct a 32-bit type and convert
10691|       |        // and do not generate any conversion if it is an identity conversion, i.e. float16_t(<float16_t> var)
10692|      0|        if (!intermediate.getArithemeticFloat16Enabled() && (node->getBasicType() != EbtFloat16)) {
  ------------------
  |  Branch (10692:13): [True: 0, False: 0]
  |  Branch (10692:61): [True: 0, False: 0]
  ------------------
10693|      0|            TType tempType(EbtFloat, EvqTemporary, type.getVectorSize());
10694|      0|            newNode = node;
10695|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10695:17): [True: 0, False: 0]
  ------------------
10696|      0|                TOperator aggregateOp;
10697|      0|                if (op == EOpConstructFloat16)
  ------------------
  |  Branch (10697:21): [True: 0, False: 0]
  ------------------
10698|      0|                    aggregateOp = EOpConstructFloat;
10699|      0|                else
10700|      0|                    aggregateOp = (TOperator)(EOpConstructVec2 + op - EOpConstructF16Vec2);
10701|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10702|      0|            }
10703|      0|            newNode = intermediate.addConversion(EbtFloat16, newNode);
10704|      0|            return newNode;
10705|      0|        }
10706|      0|        break;
10707|       |
10708|      0|    case EOpConstructBF16Vec2:
  ------------------
  |  Branch (10708:5): [True: 0, False: 912]
  ------------------
10709|      0|    case EOpConstructBF16Vec3:
  ------------------
  |  Branch (10709:5): [True: 0, False: 912]
  ------------------
10710|      0|    case EOpConstructBF16Vec4:
  ------------------
  |  Branch (10710:5): [True: 0, False: 912]
  ------------------
10711|      0|    case EOpConstructBFloat16:
  ------------------
  |  Branch (10711:5): [True: 0, False: 912]
  ------------------
10712|      0|        basicOp = EOpConstructBFloat16;
10713|      0|        break;
10714|       |
10715|      0|    case EOpConstructFloatE5M2Vec2:
  ------------------
  |  Branch (10715:5): [True: 0, False: 912]
  ------------------
10716|      0|    case EOpConstructFloatE5M2Vec3:
  ------------------
  |  Branch (10716:5): [True: 0, False: 912]
  ------------------
10717|      0|    case EOpConstructFloatE5M2Vec4:
  ------------------
  |  Branch (10717:5): [True: 0, False: 912]
  ------------------
10718|      0|    case EOpConstructFloatE5M2:
  ------------------
  |  Branch (10718:5): [True: 0, False: 912]
  ------------------
10719|      0|        basicOp = EOpConstructFloatE5M2;
10720|      0|        break;
10721|       |
10722|      0|    case EOpConstructFloatE4M3Vec2:
  ------------------
  |  Branch (10722:5): [True: 0, False: 912]
  ------------------
10723|      0|    case EOpConstructFloatE4M3Vec3:
  ------------------
  |  Branch (10723:5): [True: 0, False: 912]
  ------------------
10724|      0|    case EOpConstructFloatE4M3Vec4:
  ------------------
  |  Branch (10724:5): [True: 0, False: 912]
  ------------------
10725|      0|    case EOpConstructFloatE4M3:
  ------------------
  |  Branch (10725:5): [True: 0, False: 912]
  ------------------
10726|      0|        basicOp = EOpConstructFloatE4M3;
10727|      0|        break;
10728|       |
10729|      0|    case EOpConstructFloatE2M1Vec2:
  ------------------
  |  Branch (10729:5): [True: 0, False: 912]
  ------------------
10730|      0|    case EOpConstructFloatE2M1Vec3:
  ------------------
  |  Branch (10730:5): [True: 0, False: 912]
  ------------------
10731|      0|    case EOpConstructFloatE2M1Vec4:
  ------------------
  |  Branch (10731:5): [True: 0, False: 912]
  ------------------
10732|      0|    case EOpConstructFloatE2M1:
  ------------------
  |  Branch (10732:5): [True: 0, False: 912]
  ------------------
10733|      0|        basicOp = EOpConstructFloatE2M1;
10734|      0|        break;
10735|       |
10736|      0|    case EOpConstructFloatE3M2Vec2:
  ------------------
  |  Branch (10736:5): [True: 0, False: 912]
  ------------------
10737|      0|    case EOpConstructFloatE3M2Vec3:
  ------------------
  |  Branch (10737:5): [True: 0, False: 912]
  ------------------
10738|      0|    case EOpConstructFloatE3M2Vec4:
  ------------------
  |  Branch (10738:5): [True: 0, False: 912]
  ------------------
10739|      0|    case EOpConstructFloatE3M2:
  ------------------
  |  Branch (10739:5): [True: 0, False: 912]
  ------------------
10740|      0|        basicOp = EOpConstructFloatE3M2;
10741|      0|        break;
10742|       |
10743|      0|    case EOpConstructFloatE2M3Vec2:
  ------------------
  |  Branch (10743:5): [True: 0, False: 912]
  ------------------
10744|      0|    case EOpConstructFloatE2M3Vec3:
  ------------------
  |  Branch (10744:5): [True: 0, False: 912]
  ------------------
10745|      0|    case EOpConstructFloatE2M3Vec4:
  ------------------
  |  Branch (10745:5): [True: 0, False: 912]
  ------------------
10746|      0|    case EOpConstructFloatE2M3:
  ------------------
  |  Branch (10746:5): [True: 0, False: 912]
  ------------------
10747|      0|        basicOp = EOpConstructFloatE2M3;
10748|      0|        break;
10749|       |
10750|      0|    case EOpConstructFloatUE8M0Vec2:
  ------------------
  |  Branch (10750:5): [True: 0, False: 912]
  ------------------
10751|      0|    case EOpConstructFloatUE8M0Vec3:
  ------------------
  |  Branch (10751:5): [True: 0, False: 912]
  ------------------
10752|      0|    case EOpConstructFloatUE8M0Vec4:
  ------------------
  |  Branch (10752:5): [True: 0, False: 912]
  ------------------
10753|      0|    case EOpConstructFloatUE8M0:
  ------------------
  |  Branch (10753:5): [True: 0, False: 912]
  ------------------
10754|      0|        basicOp = EOpConstructFloatUE8M0;
10755|      0|        break;
10756|       |
10757|      0|    case EOpConstructFloatMXINT8Vec2:
  ------------------
  |  Branch (10757:5): [True: 0, False: 912]
  ------------------
10758|      0|    case EOpConstructFloatMXINT8Vec3:
  ------------------
  |  Branch (10758:5): [True: 0, False: 912]
  ------------------
10759|      0|    case EOpConstructFloatMXINT8Vec4:
  ------------------
  |  Branch (10759:5): [True: 0, False: 912]
  ------------------
10760|      0|    case EOpConstructFloatMXINT8:
  ------------------
  |  Branch (10760:5): [True: 0, False: 912]
  ------------------
10761|      0|        basicOp = EOpConstructFloatMXINT8;
10762|      0|        break;
10763|       |
10764|      0|    case EOpConstructI8Vec2:
  ------------------
  |  Branch (10764:5): [True: 0, False: 912]
  ------------------
10765|      0|    case EOpConstructI8Vec3:
  ------------------
  |  Branch (10765:5): [True: 0, False: 912]
  ------------------
10766|      0|    case EOpConstructI8Vec4:
  ------------------
  |  Branch (10766:5): [True: 0, False: 912]
  ------------------
10767|      0|    case EOpConstructInt8:
  ------------------
  |  Branch (10767:5): [True: 0, False: 912]
  ------------------
10768|      0|        basicOp = EOpConstructInt8;
10769|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10770|       |        // so construct a 32-bit type and convert
10771|       |        // and do not generate any conversion if it is an identity conversion, i.e. int8_t(<int8_t> var)
10772|      0|        if (!intermediate.getArithemeticInt8Enabled() && (node->getBasicType() != EbtInt8)) {
  ------------------
  |  Branch (10772:13): [True: 0, False: 0]
  |  Branch (10772:58): [True: 0, False: 0]
  ------------------
10773|      0|            TType tempType(EbtInt, EvqTemporary, type.getVectorSize());
10774|      0|            newNode = node;
10775|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10775:17): [True: 0, False: 0]
  ------------------
10776|      0|                TOperator aggregateOp;
10777|      0|                if (op == EOpConstructInt8)
  ------------------
  |  Branch (10777:21): [True: 0, False: 0]
  ------------------
10778|      0|                    aggregateOp = EOpConstructInt;
10779|      0|                else
10780|      0|                    aggregateOp = (TOperator)(EOpConstructIVec2 + op - EOpConstructI8Vec2);
10781|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10782|      0|            }
10783|      0|            newNode = intermediate.addConversion(EbtInt8, newNode);
10784|      0|            return newNode;
10785|      0|        }
10786|      0|        break;
10787|       |
10788|      0|    case EOpConstructU8Vec2:
  ------------------
  |  Branch (10788:5): [True: 0, False: 912]
  ------------------
10789|      0|    case EOpConstructU8Vec3:
  ------------------
  |  Branch (10789:5): [True: 0, False: 912]
  ------------------
10790|      0|    case EOpConstructU8Vec4:
  ------------------
  |  Branch (10790:5): [True: 0, False: 912]
  ------------------
10791|      0|    case EOpConstructUint8:
  ------------------
  |  Branch (10791:5): [True: 0, False: 912]
  ------------------
10792|      0|        basicOp = EOpConstructUint8;
10793|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10794|       |        // so construct a 32-bit type and convert
10795|       |        // and do not generate any conversion if it is an identity conversion, i.e. uint8_t(<uint8_t> var)
10796|      0|        if (!intermediate.getArithemeticInt8Enabled() && (node->getBasicType() != EbtUint8)) {
  ------------------
  |  Branch (10796:13): [True: 0, False: 0]
  |  Branch (10796:58): [True: 0, False: 0]
  ------------------
10797|      0|            TType tempType(EbtUint, EvqTemporary, type.getVectorSize());
10798|      0|            newNode = node;
10799|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10799:17): [True: 0, False: 0]
  ------------------
10800|      0|                TOperator aggregateOp;
10801|      0|                if (op == EOpConstructUint8)
  ------------------
  |  Branch (10801:21): [True: 0, False: 0]
  ------------------
10802|      0|                    aggregateOp = EOpConstructUint;
10803|      0|                else
10804|      0|                    aggregateOp = (TOperator)(EOpConstructUVec2 + op - EOpConstructU8Vec2);
10805|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10806|      0|            }
10807|      0|            newNode = intermediate.addConversion(EbtUint8, newNode);
10808|      0|            return newNode;
10809|      0|        }
10810|      0|        break;
10811|       |
10812|      0|    case EOpConstructI16Vec2:
  ------------------
  |  Branch (10812:5): [True: 0, False: 912]
  ------------------
10813|      0|    case EOpConstructI16Vec3:
  ------------------
  |  Branch (10813:5): [True: 0, False: 912]
  ------------------
10814|      0|    case EOpConstructI16Vec4:
  ------------------
  |  Branch (10814:5): [True: 0, False: 912]
  ------------------
10815|      0|    case EOpConstructInt16:
  ------------------
  |  Branch (10815:5): [True: 0, False: 912]
  ------------------
10816|      0|        basicOp = EOpConstructInt16;
10817|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10818|       |        // so construct a 32-bit type and convert
10819|       |        // and do not generate any conversion if it is an identity conversion, i.e. int16_t(<int16_t> var)
10820|      0|        if (!intermediate.getArithemeticInt16Enabled() && (node->getBasicType() != EbtInt16)) {
  ------------------
  |  Branch (10820:13): [True: 0, False: 0]
  |  Branch (10820:59): [True: 0, False: 0]
  ------------------
10821|      0|            TType tempType(EbtInt, EvqTemporary, type.getVectorSize());
10822|      0|            newNode = node;
10823|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10823:17): [True: 0, False: 0]
  ------------------
10824|      0|                TOperator aggregateOp;
10825|      0|                if (op == EOpConstructInt16)
  ------------------
  |  Branch (10825:21): [True: 0, False: 0]
  ------------------
10826|      0|                    aggregateOp = EOpConstructInt;
10827|      0|                else
10828|      0|                    aggregateOp = (TOperator)(EOpConstructIVec2 + op - EOpConstructI16Vec2);
10829|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10830|      0|            }
10831|      0|            newNode = intermediate.addConversion(EbtInt16, newNode);
10832|      0|            return newNode;
10833|      0|        }
10834|      0|        break;
10835|       |
10836|      0|    case EOpConstructU16Vec2:
  ------------------
  |  Branch (10836:5): [True: 0, False: 912]
  ------------------
10837|      0|    case EOpConstructU16Vec3:
  ------------------
  |  Branch (10837:5): [True: 0, False: 912]
  ------------------
10838|      0|    case EOpConstructU16Vec4:
  ------------------
  |  Branch (10838:5): [True: 0, False: 912]
  ------------------
10839|      0|    case EOpConstructUint16:
  ------------------
  |  Branch (10839:5): [True: 0, False: 912]
  ------------------
10840|      0|        basicOp = EOpConstructUint16;
10841|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10842|       |        // so construct a 32-bit type and convert
10843|       |        // and do not generate any conversion if it is an identity conversion, i.e. uint16_t(<uint16_t> var)
10844|      0|        if (!intermediate.getArithemeticInt16Enabled() && (node->getBasicType() != EbtUint16)) {
  ------------------
  |  Branch (10844:13): [True: 0, False: 0]
  |  Branch (10844:59): [True: 0, False: 0]
  ------------------
10845|      0|            TType tempType(EbtUint, EvqTemporary, type.getVectorSize());
10846|      0|            newNode = node;
10847|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10847:17): [True: 0, False: 0]
  ------------------
10848|      0|                TOperator aggregateOp;
10849|      0|                if (op == EOpConstructUint16)
  ------------------
  |  Branch (10849:21): [True: 0, False: 0]
  ------------------
10850|      0|                    aggregateOp = EOpConstructUint;
10851|      0|                else
10852|      0|                    aggregateOp = (TOperator)(EOpConstructUVec2 + op - EOpConstructU16Vec2);
10853|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10854|      0|            }
10855|      0|            newNode = intermediate.addConversion(EbtUint16, newNode);
10856|      0|            return newNode;
10857|      0|        }
10858|      0|        break;
10859|       |
10860|      0|    case EOpConstructI64Vec2:
  ------------------
  |  Branch (10860:5): [True: 0, False: 912]
  ------------------
10861|      0|    case EOpConstructI64Vec3:
  ------------------
  |  Branch (10861:5): [True: 0, False: 912]
  ------------------
10862|      0|    case EOpConstructI64Vec4:
  ------------------
  |  Branch (10862:5): [True: 0, False: 912]
  ------------------
10863|      0|    case EOpConstructInt64:
  ------------------
  |  Branch (10863:5): [True: 0, False: 912]
  ------------------
10864|      0|        basicOp = EOpConstructInt64;
10865|      0|        break;
10866|       |
10867|      0|    case EOpConstructUint64:
  ------------------
  |  Branch (10867:5): [True: 0, False: 912]
  ------------------
10868|      0|        if (type.isScalar() && node->getType().isReference()) {
  ------------------
  |  Branch (10868:13): [True: 0, False: 0]
  |  Branch (10868:32): [True: 0, False: 0]
  ------------------
10869|      0|            TIntermTyped* newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvPtrToUint64, true, node, type);
10870|      0|            return newNode;
10871|      0|        }
10872|      0|        [[fallthrough]];
10873|      0|    case EOpConstructU64Vec2:
  ------------------
  |  Branch (10873:5): [True: 0, False: 912]
  ------------------
10874|      0|    case EOpConstructU64Vec3:
  ------------------
  |  Branch (10874:5): [True: 0, False: 912]
  ------------------
10875|      0|    case EOpConstructU64Vec4:
  ------------------
  |  Branch (10875:5): [True: 0, False: 912]
  ------------------
10876|      0|        basicOp = EOpConstructUint64;
10877|      0|        break;
10878|       |
10879|      0|    case EOpConstructNonuniform:
  ------------------
  |  Branch (10879:5): [True: 0, False: 912]
  ------------------
10880|       |        // Make a nonuniform copy of node
10881|      0|        newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpCopyObject, true, node, type);
10882|      0|        return newNode;
10883|       |
10884|      0|    case EOpConstructReference:
  ------------------
  |  Branch (10884:5): [True: 0, False: 912]
  ------------------
10885|       |        // construct reference from reference
10886|      0|        if (node->getType().isReference()) {
  ------------------
  |  Branch (10886:13): [True: 0, False: 0]
  ------------------
10887|      0|            newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConstructReference, true, node, type);
10888|      0|            return newNode;
10889|       |        // construct reference from uint64
10890|      0|        } else if (node->getType().isScalar() && node->getType().getBasicType() == EbtUint64) {
  ------------------
  |  Branch (10890:20): [True: 0, False: 0]
  |  Branch (10890:50): [True: 0, False: 0]
  ------------------
10891|      0|            TIntermTyped* newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvUint64ToPtr, true, node,
10892|      0|                type);
10893|      0|            return newNode;
10894|       |        // construct reference from uvec2
10895|      0|        } else if (node->getType().isVector() && node->getType().getBasicType() == EbtUint &&
  ------------------
  |  Branch (10895:20): [True: 0, False: 0]
  |  Branch (10895:50): [True: 0, False: 0]
  ------------------
10896|      0|                   node->getVectorSize() == 2) {
  ------------------
  |  Branch (10896:20): [True: 0, False: 0]
  ------------------
10897|      0|            requireExtensions(loc, 1, &E_GL_EXT_buffer_reference_uvec2, "uvec2 conversion to reference");
10898|      0|            TIntermTyped* newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvUvec2ToPtr, true, node,
10899|      0|                type);
10900|      0|            return newNode;
10901|      0|        } else {
10902|      0|            return nullptr;
10903|      0|        }
10904|       |
10905|      0|    case EOpConstructCooperativeVectorNV:
  ------------------
  |  Branch (10905:5): [True: 0, False: 912]
  ------------------
10906|      0|        if (!node->getType().isCoopVecNV()) {
  ------------------
  |  Branch (10906:13): [True: 0, False: 0]
  ------------------
10907|      0|            if (type.getBasicType() != node->getType().getBasicType()) {
  ------------------
  |  Branch (10907:17): [True: 0, False: 0]
  ------------------
10908|      0|                node = intermediate.addConversion(type.getBasicType(), node);
10909|      0|                if (node == nullptr)
  ------------------
  |  Branch (10909:21): [True: 0, False: 0]
  ------------------
10910|      0|                    return nullptr;
10911|      0|            }
10912|      0|        }
10913|      0|        if (type.getBasicType() != node->getType().getBasicType()) {
  ------------------
  |  Branch (10913:13): [True: 0, False: 0]
  ------------------
10914|      0|            intermediate.buildConvertOp(type.getBasicType(), node->getType().getBasicType(), op);
10915|      0|            node = intermediate.addUnaryNode(op, node, node->getLoc(), type);
10916|      0|            return node;
10917|      0|        }
10918|      0|        if (subset) {
  ------------------
  |  Branch (10918:13): [True: 0, False: 0]
  ------------------
10919|      0|            return node;
10920|      0|        }
10921|       |
10922|      0|        node = intermediate.setAggregateOperator(node, op, type, node->getLoc());
10923|       |
10924|      0|        return node;
10925|       |
10926|      0|    case EOpConstructCooperativeMatrixNV:
  ------------------
  |  Branch (10926:5): [True: 0, False: 912]
  ------------------
10927|      0|    case EOpConstructCooperativeMatrixKHR:
  ------------------
  |  Branch (10927:5): [True: 0, False: 912]
  ------------------
10928|      0|        if (node->getType() == type) {
  ------------------
  |  Branch (10928:13): [True: 0, False: 0]
  ------------------
10929|      0|            return node;
10930|      0|        }
10931|      0|        if (!node->getType().isCoopMat()) {
  ------------------
  |  Branch (10931:13): [True: 0, False: 0]
  ------------------
10932|      0|            if (type.getBasicType() != node->getType().getBasicType()) {
  ------------------
  |  Branch (10932:17): [True: 0, False: 0]
  ------------------
10933|      0|                node = intermediate.addConversion(type.getBasicType(), node);
10934|      0|                if (node == nullptr)
  ------------------
  |  Branch (10934:21): [True: 0, False: 0]
  ------------------
10935|      0|                    return nullptr;
10936|      0|            }
10937|      0|            node = intermediate.setAggregateOperator(node, op, type, node->getLoc());
10938|      0|        } else if (type.sameCoopMatShape(node->getType()) && !type.sameCoopMatUse(node->getType()) &&
  ------------------
  |  Branch (10938:20): [True: 0, False: 0]
  |  Branch (10938:62): [True: 0, False: 0]
  ------------------
10939|      0|                   type.getBasicType() == node->getType().getBasicType()) {
  ------------------
  |  Branch (10939:20): [True: 0, False: 0]
  ------------------
10940|      0|            node = intermediate.setAggregateOperator(node, op, type, node->getLoc());
10941|      0|        } else {
10942|      0|            TOperator op = EOpConvNumeric;
10943|       |
10944|      0|            node = intermediate.addUnaryNode(op, node, node->getLoc(), type);
10945|       |            // If it's a (non-specialization) constant, it must be folded.
10946|      0|            if (node->getAsUnaryNode()->getOperand()->getAsConstantUnion())
  ------------------
  |  Branch (10946:17): [True: 0, False: 0]
  ------------------
10947|      0|                return node->getAsUnaryNode()->getOperand()->getAsConstantUnion()->fold(op, node->getType());
10948|      0|        }
10949|       |
10950|      0|        return node;
10951|       |
10952|      0|    case EOpConstructAccStruct:
  ------------------
  |  Branch (10952:5): [True: 0, False: 912]
  ------------------
10953|      0|        if ((node->getType().isScalar() && node->getType().getBasicType() == EbtUint64)) {
  ------------------
  |  Branch (10953:14): [True: 0, False: 0]
  |  Branch (10953:44): [True: 0, False: 0]
  ------------------
10954|       |            // construct acceleration structure from uint64
10955|      0|            requireExtensions(loc, Num_ray_tracing_EXTs, ray_tracing_EXTs, "uint64_t conversion to acclerationStructureEXT");
10956|      0|            return intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvUint64ToAccStruct, true, node,
10957|      0|                type);
10958|      0|        } else if (node->getType().isVector() && node->getType().getBasicType() == EbtUint && node->getVectorSize() == 2) {
  ------------------
  |  Branch (10958:20): [True: 0, False: 0]
  |  Branch (10958:50): [True: 0, False: 0]
  |  Branch (10958:95): [True: 0, False: 0]
  ------------------
10959|       |            // construct acceleration structure from uint64
10960|      0|            requireExtensions(loc, Num_ray_tracing_EXTs, ray_tracing_EXTs, "uvec2 conversion to accelerationStructureEXT");
10961|      0|            return intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvUvec2ToAccStruct, true, node,
10962|      0|                type);
10963|      0|        } else
10964|      0|            return nullptr;
10965|       |
10966|      0|    default:
  ------------------
  |  Branch (10966:5): [True: 0, False: 912]
  ------------------
10967|      0|        error(loc, "unsupported construction", "", "");
10968|       |
10969|      0|        return nullptr;
10970|    912|    }
10971|    912|    newNode = intermediate.addUnaryMath(basicOp, node, node->getLoc());
10972|    912|    if (newNode == nullptr) {
  ------------------
  |  Branch (10972:9): [True: 0, False: 912]
  ------------------
10973|      0|        error(loc, "can't convert", "constructor", "");
10974|      0|        return nullptr;
10975|      0|    }
10976|       |
10977|       |    //
10978|       |    // Now, if there still isn't an operation to do the construction, and we need one, add one.
10979|       |    //
10980|       |
10981|       |    // Otherwise, skip out early.
10982|    912|    if (subset || (newNode != node && newNode->getType() == type))
  ------------------
  |  Branch (10982:9): [True: 237, False: 675]
  |  Branch (10982:20): [True: 435, False: 240]
  |  Branch (10982:39): [True: 435, False: 0]
  ------------------
10983|    672|        return newNode;
10984|       |
10985|       |    // setAggregateOperator will insert a new node for the constructor, as needed.
10986|    240|    return intermediate.setAggregateOperator(newNode, op, type, loc);
10987|    912|}
_ZN7glslang13TParseContext12makeVariadicEPNS_9TFunctionERKNS_10TSourceLocE:
10989|    300|void TParseContext::makeVariadic(TFunction *F, const TSourceLoc &loc) {
10990|    300|    if (parsingBuiltins) {
  ------------------
  |  Branch (10990:9): [True: 300, False: 0]
  ------------------
10991|    300|        F->setVariadic();
10992|    300|    } else {
10993|      0|        error(loc, "variadic argument specifier is only available for builtins", "...", "");
10994|      0|    }
10995|    300|}
_ZN7glslang13TParseContext19getParamWithDefaultERKNS_11TPublicTypeEPNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEEPNS_12TIntermTypedERKNS_10TSourceLocE:
10999|    300|{
11000|    300|    if (!parsingBuiltins) {
  ------------------
  |  Branch (11000:9): [True: 0, False: 300]
  ------------------
11001|      0|        error(loc, "default argument values are only available for builtins", "=", "");
11002|      0|        initializer = nullptr;
11003|      0|    }
11004|    300|    if (ty.arraySizes) {
  ------------------
  |  Branch (11004:9): [True: 0, False: 300]
  ------------------
11005|      0|        error(loc, "array arguments cannot be default-initialized", identifier->c_str(), "");
11006|      0|        initializer = nullptr;
11007|      0|    }
11008|    300|    if (ty.basicType == EbtVoid) {
  ------------------
  |  Branch (11008:9): [True: 0, False: 300]
  ------------------
11009|      0|        error(loc, "illegal use of type 'void'", identifier->c_str(), "");
11010|      0|        initializer = nullptr;
11011|      0|    }
11012|    300|    reservedErrorCheck(loc, *identifier);
11013|    300|    TParameter param = {identifier, new TType(ty), initializer};
11014|    300|    return param;
11015|    300|}
_ZN7glslang13TParseContext18constructAggregateEP11TIntermNodeRKNS_5TTypeEiRKNS_10TSourceLocE:
11023|     36|{
11024|     36|    TIntermTyped* converted = intermediate.addConversion(EOpConstructStruct, type, node->getAsTyped());
11025|     36|    if (! converted || converted->getType() != type) {
  ------------------
  |  Branch (11025:9): [True: 0, False: 36]
  |  Branch (11025:24): [True: 0, False: 36]
  ------------------
11026|      0|        bool enhanced = intermediate.getEnhancedMsgs();
11027|      0|        error(loc, "", "constructor", "cannot convert parameter %d from '%s' to '%s'", paramCount,
11028|      0|              node->getAsTyped()->getType().getCompleteString(enhanced).c_str(), type.getCompleteString(enhanced).c_str());
11029|       |
11030|      0|        return nullptr;
11031|      0|    }
11032|       |
11033|     36|    return converted;
11034|     36|}
_ZN7glslang13TParseContext23inheritMemoryQualifiersERKNS_10TQualifierERS1_:
11038|    470|{
11039|    470|    if (from.isReadOnly())
  ------------------
  |  Branch (11039:9): [True: 0, False: 470]
  ------------------
11040|      0|        to.readonly = from.readonly;
11041|    470|    if (from.isWriteOnly())
  ------------------
  |  Branch (11041:9): [True: 0, False: 470]
  ------------------
11042|      0|        to.writeonly = from.writeonly;
11043|    470|    if (from.coherent)
  ------------------
  |  Branch (11043:9): [True: 0, False: 470]
  ------------------
11044|      0|        to.coherent = from.coherent;
11045|    470|    if (from.volatil)
  ------------------
  |  Branch (11045:9): [True: 0, False: 470]
  ------------------
11046|      0|        to.volatil = from.volatil;
11047|    470|    if (from.nontemporal)
  ------------------
  |  Branch (11047:9): [True: 0, False: 470]
  ------------------
11048|      0|        to.nontemporal = from.nontemporal;
11049|    470|    if (from.restrict)
  ------------------
  |  Branch (11049:9): [True: 0, False: 470]
  ------------------
11050|      0|        to.restrict = from.restrict;
11051|    470|}
_ZN7glslang13TParseContext16untypedHeapCheckEPNS_7TSymbolERKNS_5TTypeERKNS_10TSourceLocEPKc:
11126|  15.6k|{
11127|       |    // EXT_descriptor_heap
11128|  15.6k|    bool isHeapStruct =
11129|  15.6k|        (type.getQualifier().storage == EvqSamplerHeap || type.getQualifier().storage == EvqResourceHeap);
  ------------------
  |  Branch (11129:10): [True: 0, False: 15.6k]
  |  Branch (11129:59): [True: 0, False: 15.6k]
  ------------------
11130|       |
11131|  15.6k|    if (intermediate.IsRequestedExtension(E_GL_EXT_descriptor_heap) && spvVersion.vulkan > 0 &&
  ------------------
  |  Branch (11131:9): [True: 0, False: 15.6k]
  |  Branch (11131:72): [True: 0, False: 0]
  ------------------
11132|      0|        !type.getQualifier().hasSet() && !type.getQualifier().hasBinding()) {
  ------------------
  |  Branch (11132:9): [True: 0, False: 0]
  |  Branch (11132:42): [True: 0, False: 0]
  ------------------
11133|      0|        if (type.getQualifier().layoutDescriptorHeap || isHeapStruct) {
  ------------------
  |  Branch (11133:13): [True: 0, False: 0]
  |  Branch (11133:57): [True: 0, False: 0]
  ------------------
11134|      0|            if ((intermediate.isEsProfile() && intermediate.getVersion() < 310) ||
  ------------------
  |  Branch (11134:18): [True: 0, False: 0]
  |  Branch (11134:48): [True: 0, False: 0]
  ------------------
11135|      0|                (!intermediate.isEsProfile() && intermediate.getVersion() < 420)) {
  ------------------
  |  Branch (11135:18): [True: 0, False: 0]
  |  Branch (11135:49): [True: 0, False: 0]
  ------------------
11136|      0|                TString warnMsg = "layout(descriptor_heap) is turned on beyond version/profile limits.";
11137|      0|                infoSink.info.message(EPrefixWarning, warnMsg.c_str());
11138|      0|            }
11139|      0|            if (IsAnonymous(symbol->getName()) &&
  ------------------
  |  Branch (11139:17): [True: 0, False: 0]
  ------------------
11140|      0|                (type.getQualifier().isUniformOrBuffer() || type.getBasicType() == EbtBlock)) {
  ------------------
  |  Branch (11140:18): [True: 0, False: 0]
  |  Branch (11140:61): [True: 0, False: 0]
  ------------------
11141|      0|                error(loc, "layout(descriptor_heap) decorated block should be explicitly "
11142|      0|                    "declared with a run-time sized array type.", name, "");
11143|      0|                return false;
11144|      0|            }
11145|      0|            if (type.getBasicType() == EbtSampler && type.getSampler().isCombined()) {
  ------------------
  |  Branch (11145:17): [True: 0, False: 0]
  |  Branch (11145:54): [True: 0, False: 0]
  ------------------
11146|      0|                error(loc, "layout(descriptor_heap) cannot be used with combined image samplers.",
11147|      0|                      name, "");
11148|      0|                return false;
11149|      0|            }
11150|      0|            if (!type.containsHeapArray() && !isHeapStruct) {
  ------------------
  |  Branch (11150:17): [True: 0, False: 0]
  |  Branch (11150:46): [True: 0, False: 0]
  ------------------
11151|      0|                error(loc, "layout(descriptor_heap) decorated variable could only be declared as an array.",
11152|      0|                      name, "");
11153|      0|                return false;
11154|      0|            }
11155|       |
11156|      0|            if (isHeapStruct && type.isArray()) {
  ------------------
  |  Branch (11156:17): [True: 0, False: 0]
  |  Branch (11156:33): [True: 0, False: 0]
  ------------------
11157|      0|                error(loc, "resourceheap / samplerheap block cannot itself be an array.", name, "");
11158|      0|                return false;
11159|      0|            }
11160|       |
11161|      0|            descHeapBuiltinRemap(&symbol->getWritableType(), true);
11162|      0|        }
11163|      0|    }
11164|  15.6k|    return true;
11165|  15.6k|}
_ZN7glslang13TParseContext12declareBlockERKNS_10TSourceLocERNS_7TVectorINS_8TTypeLocEEEPKNSt3__112basic_stringIcNS8_11char_traitsIcEENS_14pool_allocatorIcEEEEPNS_11TArraySizesE:
11177|     98|{
11178|     98|    if (spvVersion.vulkan > 0 && spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (11178:9): [True: 98, False: 0]
  |  Branch (11178:34): [True: 0, False: 98]
  ------------------
11179|      0|        blockStorageRemap(loc, blockName, currentBlockQualifier);
11180|     98|    blockStageIoCheck(loc, currentBlockQualifier);
11181|     98|    blockQualifierCheck(loc, currentBlockQualifier, instanceName != nullptr);
11182|     98|    if (arraySizes != nullptr) {
  ------------------
  |  Branch (11182:9): [True: 56, False: 42]
  ------------------
11183|     56|        arraySizesCheck(loc, currentBlockQualifier, arraySizes, nullptr, false);
11184|     56|        arrayOfArrayVersionCheck(loc, arraySizes);
11185|     56|        if (arraySizes->getNumDims() > 1)
  ------------------
  |  Branch (11185:13): [True: 0, False: 56]
  ------------------
11186|      0|            requireProfile(loc, ~EEsProfile, "array-of-array of block");
11187|     56|    }
11188|       |
11189|       |    // Inherit and check member storage qualifiers WRT to the block-level qualifier.
11190|    568|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11190:35): [True: 470, False: 98]
  ------------------
11191|    470|        TType& memberType = *typeList[member].type;
11192|    470|        TQualifier& memberQualifier = memberType.getQualifier();
11193|    470|        const TSourceLoc& memberLoc = typeList[member].loc;
11194|    470|        const bool heapBufferTypeMember =
11195|    470|            isResourceHeapBufferTypeMember(currentBlockQualifier, memberQualifier);
11196|    470|        const bool heapBlockMember =
11197|    470|            currentBlockQualifier.storage == EvqResourceHeap || currentBlockQualifier.storage == EvqSamplerHeap;
  ------------------
  |  Branch (11197:13): [True: 0, False: 470]
  |  Branch (11197:65): [True: 0, False: 470]
  ------------------
11198|    470|        if (memberQualifier.layoutDescriptorHeap && !heapBlockMember)
  ------------------
  |  Branch (11198:13): [True: 0, False: 470]
  |  Branch (11198:53): [True: 0, False: 0]
  ------------------
11199|      0|            error(memberLoc, "can only be used on resourceheap or samplerheap block members", "descriptor heap member", "");
11200|    470|        if (memberQualifier.storage != EvqTemporary && memberQualifier.storage != EvqGlobal &&
  ------------------
  |  Branch (11200:13): [True: 445, False: 25]
  |  Branch (11200:56): [True: 0, False: 445]
  ------------------
11201|      0|            memberQualifier.storage != currentBlockQualifier.storage && !heapBufferTypeMember)
  ------------------
  |  Branch (11201:13): [True: 0, False: 0]
  |  Branch (11201:73): [True: 0, False: 0]
  ------------------
11202|      0|            error(memberLoc, "member storage qualifier cannot contradict block storage qualifier", memberType.getFieldName().c_str(), "");
11203|    470|        if (!heapBufferTypeMember)
  ------------------
  |  Branch (11203:13): [True: 470, False: 0]
  ------------------
11204|    470|            memberQualifier.storage = currentBlockQualifier.storage;
11205|    470|        globalQualifierFixCheck(memberLoc, memberQualifier);
11206|    470|        inheritMemoryQualifiers(currentBlockQualifier, memberQualifier);
11207|    470|        if (currentBlockQualifier.perPrimitiveNV)
  ------------------
  |  Branch (11207:13): [True: 55, False: 415]
  ------------------
11208|     55|            memberQualifier.perPrimitiveNV = currentBlockQualifier.perPrimitiveNV;
11209|    470|        if (currentBlockQualifier.perViewNV)
  ------------------
  |  Branch (11209:13): [True: 0, False: 470]
  ------------------
11210|      0|            memberQualifier.perViewNV = currentBlockQualifier.perViewNV;
11211|    470|        if (currentBlockQualifier.perTaskNV)
  ------------------
  |  Branch (11211:13): [True: 0, False: 470]
  ------------------
11212|      0|            memberQualifier.perTaskNV = currentBlockQualifier.perTaskNV;
11213|    470|        if (currentBlockQualifier.storage == EvqtaskPayloadSharedEXT)
  ------------------
  |  Branch (11213:13): [True: 0, False: 470]
  ------------------
11214|      0|            memberQualifier.storage = EvqtaskPayloadSharedEXT;
11215|    470|        if (memberQualifier.storage == EvqSpirvStorageClass)
  ------------------
  |  Branch (11215:13): [True: 0, False: 470]
  ------------------
11216|      0|            error(memberLoc, "member cannot have a spirv_storage_class qualifier", memberType.getFieldName().c_str(), "");
11217|    470|        if (memberQualifier.hasSpirvDecorate() && !memberQualifier.getSpirvDecorate().decorateIds.empty())
  ------------------
  |  Branch (11217:13): [True: 0, False: 470]
  |  Branch (11217:51): [True: 0, False: 0]
  ------------------
11218|      0|            error(memberLoc, "member cannot have a spirv_decorate_id qualifier", memberType.getFieldName().c_str(), "");
11219|    470|        if ((currentBlockQualifier.storage == EvqUniform || currentBlockQualifier.storage == EvqBuffer) && (memberQualifier.isInterpolation() || memberQualifier.isAuxiliary()))
  ------------------
  |  Branch (11219:14): [True: 0, False: 470]
  |  Branch (11219:61): [True: 0, False: 470]
  |  Branch (11219:109): [True: 0, False: 0]
  |  Branch (11219:146): [True: 0, False: 0]
  ------------------
11220|      0|            error(memberLoc, "member of uniform or buffer block cannot have an auxiliary or interpolation qualifier", memberType.getFieldName().c_str(), "");
11221|    470|        if (memberType.isArray())
  ------------------
  |  Branch (11221:13): [True: 232, False: 238]
  ------------------
11222|    232|            arraySizesCheck(memberLoc, currentBlockQualifier, memberType.getArraySizes(), nullptr, member == typeList.size() - 1);
11223|    470|        if (memberQualifier.hasOffset()) {
  ------------------
  |  Branch (11223:13): [True: 0, False: 470]
  ------------------
11224|      0|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (11224:17): [True: 0, False: 0]
  ------------------
11225|      0|                profileRequires(memberLoc, ~EEsProfile, 440, E_GL_ARB_enhanced_layouts, "\"offset\" on block member");
11226|      0|                profileRequires(memberLoc, EEsProfile, 300, E_GL_ARB_enhanced_layouts, "\"offset\" on block member");
11227|      0|            }
11228|      0|        }
11229|       |
11230|    470|        if (memberQualifier.layoutDescriptorSize != TQualifier::layoutDescriptorSizeEnd && !heapBlockMember)
  ------------------
  |  Branch (11230:13): [True: 0, False: 470]
  |  Branch (11230:92): [True: 0, False: 0]
  ------------------
11231|      0|            error(memberLoc, "can only be used on resourceheap or samplerheap block members", "descriptor_size", "");
11232|       |
11233|       |        // For bindless texture, sampler can be declared as uniform/storage block member,
11234|    470|        if (memberType.containsOpaque() && !extensionTurnedOn(E_GL_EXT_structured_descriptor_heap)) {
  ------------------
  |  Branch (11234:13): [True: 0, False: 470]
  |  Branch (11234:44): [True: 0, False: 0]
  ------------------
11235|      0|            if (memberType.containsSampler() && extensionTurnedOn(E_GL_ARB_bindless_texture))
  ------------------
  |  Branch (11235:17): [True: 0, False: 0]
  |  Branch (11235:49): [True: 0, False: 0]
  ------------------
11236|      0|                updateBindlessQualifier(memberType);
11237|      0|            else
11238|      0|                error(memberLoc, "member of block cannot be or contain a sampler, image, or atomic_uint type", typeList[member].type->getFieldName().c_str(), "");
11239|      0|        }
11240|       |
11241|    470|        if (memberType.containsCoopMat())
  ------------------
  |  Branch (11241:13): [True: 0, False: 470]
  ------------------
11242|      0|            error(memberLoc, "member of block cannot be or contain a cooperative matrix type", typeList[member].type->getFieldName().c_str(), "");
11243|       |
11244|    470|        if (memberType.containsCoopVec())
  ------------------
  |  Branch (11244:13): [True: 0, False: 470]
  ------------------
11245|      0|            error(memberLoc, "member of block cannot be or contain a cooperative vector type", typeList[member].type->getFieldName().c_str(), "");
11246|       |
11247|    470|        if (memberType.containsOcpMicroscalingNonByteFloat())
  ------------------
  |  Branch (11247:13): [True: 0, False: 470]
  ------------------
11248|      0|            error(memberLoc, "member of block cannot be or contain a sub-byte type", typeList[member].type->getFieldName().c_str(), "");
11249|    470|    }
11250|       |
11251|       |    // This might be a redeclaration of a built-in block.  If so, redeclareBuiltinBlock() will
11252|       |    // do all the rest.
11253|     98|    if (! symbolTable.atBuiltInLevel() && builtInName(*blockName)) {
  ------------------
  |  Branch (11253:9): [True: 0, False: 98]
  |  Branch (11253:43): [True: 0, False: 0]
  ------------------
11254|      0|        redeclareBuiltinBlock(loc, typeList, *blockName, instanceName, arraySizes);
11255|      0|        return nullptr;
11256|      0|    }
11257|       |
11258|       |    // Not a redeclaration of a built-in; check that all names are user names.
11259|     98|    reservedErrorCheck(loc, *blockName);
11260|     98|    if (instanceName)
  ------------------
  |  Branch (11260:9): [True: 56, False: 42]
  ------------------
11261|     56|        reservedErrorCheck(loc, *instanceName);
11262|    568|    for (unsigned int member = 0; member < typeList.size(); ++member)
  ------------------
  |  Branch (11262:35): [True: 470, False: 98]
  ------------------
11263|    470|        reservedErrorCheck(typeList[member].loc, typeList[member].type->getFieldName());
11264|       |
11265|       |    // Make default block qualification, and adjust the member qualifications
11266|       |
11267|     98|    TQualifier defaultQualification;
11268|     98|    switch (currentBlockQualifier.storage) {
11269|      0|    case EvqUniform:    defaultQualification = globalUniformDefaults;    break;
  ------------------
  |  Branch (11269:5): [True: 0, False: 98]
  ------------------
11270|      0|    case EvqBuffer:     defaultQualification = globalBufferDefaults;     break;
  ------------------
  |  Branch (11270:5): [True: 0, False: 98]
  ------------------
11271|     20|    case EvqVaryingIn:  defaultQualification = globalInputDefaults;      break;
  ------------------
  |  Branch (11271:5): [True: 20, False: 78]
  ------------------
11272|     78|    case EvqVaryingOut: defaultQualification = globalOutputDefaults;     break;
  ------------------
  |  Branch (11272:5): [True: 78, False: 20]
  ------------------
11273|      0|    case EvqShared:     defaultQualification = globalSharedDefaults;     break;
  ------------------
  |  Branch (11273:5): [True: 0, False: 98]
  ------------------
11274|      0|    default:            defaultQualification.clear();                    break;
  ------------------
  |  Branch (11274:5): [True: 0, False: 98]
  ------------------
11275|     98|    }
11276|       |
11277|       |    // Special case for "push_constant uniform", which has a default of std430,
11278|       |    // contrary to normal uniform defaults, and can't have a default tracked for it.
11279|     98|    if ((currentBlockQualifier.isPushConstant() && !currentBlockQualifier.hasPacking()) ||
  ------------------
  |  Branch (11279:10): [True: 0, False: 98]
  |  Branch (11279:52): [True: 0, False: 0]
  ------------------
11280|     98|        (currentBlockQualifier.isShaderRecord() && !currentBlockQualifier.hasPacking()))
  ------------------
  |  Branch (11280:10): [True: 0, False: 98]
  |  Branch (11280:52): [True: 0, False: 0]
  ------------------
11281|      0|        currentBlockQualifier.layoutPacking = ElpStd430;
11282|       |
11283|       |    // Special case for "taskNV in/out", which has a default of std430,
11284|     98|    if (currentBlockQualifier.isTaskMemory() && !currentBlockQualifier.hasPacking())
  ------------------
  |  Branch (11284:9): [True: 0, False: 98]
  |  Branch (11284:49): [True: 0, False: 0]
  ------------------
11285|      0|        currentBlockQualifier.layoutPacking = ElpStd430;
11286|       |
11287|       |    // fix and check for member layout qualifiers
11288|       |
11289|     98|    mergeObjectLayoutQualifiers(defaultQualification, currentBlockQualifier, true);
11290|       |
11291|       |    // "The align qualifier can only be used on blocks or block members, and only for blocks declared with std140 or std430 layouts."
11292|     98|    if (currentBlockQualifier.hasAlign()) {
  ------------------
  |  Branch (11292:9): [True: 0, False: 98]
  ------------------
11293|      0|        if (defaultQualification.layoutPacking != ElpStd140 &&
  ------------------
  |  Branch (11293:13): [True: 0, False: 0]
  ------------------
11294|      0|            defaultQualification.layoutPacking != ElpStd430 &&
  ------------------
  |  Branch (11294:13): [True: 0, False: 0]
  ------------------
11295|      0|            defaultQualification.layoutPacking != ElpScalar) {
  ------------------
  |  Branch (11295:13): [True: 0, False: 0]
  ------------------
11296|      0|            error(loc, "can only be used with std140, std430, or scalar layout packing", "align", "");
11297|      0|            defaultQualification.layoutAlign = -1;
11298|      0|        }
11299|      0|    }
11300|       |
11301|     98|    bool memberWithLocation = false;
11302|     98|    bool memberWithoutLocation = false;
11303|     98|    bool memberWithPerViewQualifier = false;
11304|    568|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11304:35): [True: 470, False: 98]
  ------------------
11305|    470|        TQualifier& memberQualifier = typeList[member].type->getQualifier();
11306|    470|        const TSourceLoc& memberLoc = typeList[member].loc;
11307|    470|        const bool heapBufferTypeMember =
11308|    470|            isResourceHeapBufferTypeMember(currentBlockQualifier, memberQualifier);
11309|    470|        if (memberQualifier.hasStream()) {
  ------------------
  |  Branch (11309:13): [True: 0, False: 470]
  ------------------
11310|      0|            if (defaultQualification.layoutStream != memberQualifier.layoutStream)
  ------------------
  |  Branch (11310:17): [True: 0, False: 0]
  ------------------
11311|      0|                error(memberLoc, "member cannot contradict block", "stream", "");
11312|      0|        }
11313|       |
11314|       |        // "This includes a block's inheritance of the
11315|       |        // current global default buffer, a block member's inheritance of the block's
11316|       |        // buffer, and the requirement that any *xfb_buffer* declared on a block
11317|       |        // member must match the buffer inherited from the block."
11318|    470|        if (memberQualifier.hasXfbBuffer()) {
  ------------------
  |  Branch (11318:13): [True: 0, False: 470]
  ------------------
11319|      0|            if (defaultQualification.layoutXfbBuffer != memberQualifier.layoutXfbBuffer)
  ------------------
  |  Branch (11319:17): [True: 0, False: 0]
  ------------------
11320|      0|                error(memberLoc, "member cannot contradict block (or what block inherited from global)", "xfb_buffer", "");
11321|      0|        }
11322|       |
11323|    470|        if (memberQualifier.hasPacking() && !heapBufferTypeMember)
  ------------------
  |  Branch (11323:13): [True: 0, False: 470]
  |  Branch (11323:45): [True: 0, False: 0]
  ------------------
11324|      0|            error(memberLoc, "member of block cannot have a packing layout qualifier", typeList[member].type->getFieldName().c_str(), "");
11325|    470|        if (memberQualifier.hasLocation()) {
  ------------------
  |  Branch (11325:13): [True: 0, False: 470]
  ------------------
11326|      0|            const char* feature = "location on block member";
11327|      0|            switch (currentBlockQualifier.storage) {
11328|      0|            case EvqVaryingIn:
  ------------------
  |  Branch (11328:13): [True: 0, False: 0]
  ------------------
11329|      0|            case EvqVaryingOut:
  ------------------
  |  Branch (11329:13): [True: 0, False: 0]
  ------------------
11330|      0|                requireProfile(memberLoc, ECoreProfile | ECompatibilityProfile | EEsProfile, feature);
11331|      0|                profileRequires(memberLoc, ECoreProfile | ECompatibilityProfile, 440, E_GL_ARB_enhanced_layouts, feature);
11332|      0|                profileRequires(memberLoc, EEsProfile, 320, Num_AEP_shader_io_blocks, AEP_shader_io_blocks, feature);
11333|      0|                memberWithLocation = true;
11334|      0|                break;
11335|      0|            default:
  ------------------
  |  Branch (11335:13): [True: 0, False: 0]
  ------------------
11336|      0|                error(memberLoc, "can only use in an in/out block", feature, "");
11337|      0|                break;
11338|      0|            }
11339|      0|        } else
11340|    470|            memberWithoutLocation = true;
11341|       |
11342|       |        // "The offset qualifier can only be used on block members of blocks declared with std140 or std430 layouts."
11343|       |        // "The align qualifier can only be used on blocks or block members, and only for blocks declared with std140 or std430 layouts."
11344|    470|        if (memberQualifier.hasAlign() || memberQualifier.hasOffset()) {
  ------------------
  |  Branch (11344:13): [True: 0, False: 470]
  |  Branch (11344:43): [True: 0, False: 470]
  ------------------
11345|      0|            if (defaultQualification.layoutPacking != ElpStd140 &&
  ------------------
  |  Branch (11345:17): [True: 0, False: 0]
  ------------------
11346|      0|                defaultQualification.layoutPacking != ElpStd430 &&
  ------------------
  |  Branch (11346:17): [True: 0, False: 0]
  ------------------
11347|      0|                defaultQualification.layoutPacking != ElpScalar)
  ------------------
  |  Branch (11347:17): [True: 0, False: 0]
  ------------------
11348|      0|                error(memberLoc, "can only be used with std140, std430, or scalar layout packing", "offset/align", "");
11349|      0|        }
11350|       |
11351|    470|        if (memberQualifier.isPerView()) {
  ------------------
  |  Branch (11351:13): [True: 25, False: 445]
  ------------------
11352|     25|            memberWithPerViewQualifier = true;
11353|     25|        }
11354|       |
11355|    470|        TQualifier newMemberQualification = defaultQualification;
11356|    470|        mergeQualifiers(memberLoc, newMemberQualification, memberQualifier, false);
11357|    470|        memberQualifier = newMemberQualification;
11358|    470|    }
11359|       |
11360|     98|    layoutMemberLocationArrayCheck(loc, memberWithLocation, arraySizes);
11361|       |
11362|       |    // Ensure that the block has an XfbBuffer assigned. This is needed
11363|       |    // because if the block has a XfbOffset assigned, then it is
11364|       |    // assumed that it has implicitly assigned the current global
11365|       |    // XfbBuffer, and because it's members need to be assigned a
11366|       |    // XfbOffset if they lack it.
11367|     98|    if (currentBlockQualifier.storage == EvqVaryingOut && globalOutputDefaults.hasXfbBuffer()) {
  ------------------
  |  Branch (11367:9): [True: 78, False: 20]
  |  Branch (11367:59): [True: 58, False: 20]
  ------------------
11368|     58|       if (!currentBlockQualifier.hasXfbBuffer() && currentBlockQualifier.hasXfbOffset())
  ------------------
  |  Branch (11368:12): [True: 58, False: 0]
  |  Branch (11368:53): [True: 0, False: 58]
  ------------------
11369|      0|          currentBlockQualifier.layoutXfbBuffer = globalOutputDefaults.layoutXfbBuffer;
11370|     58|    }
11371|       |
11372|       |    // Process the members
11373|     98|    fixBlockLocations(loc, currentBlockQualifier, typeList, memberWithLocation, memberWithoutLocation);
11374|     98|    fixXfbOffsets(currentBlockQualifier, typeList);
11375|     98|    fixBlockUniformOffsets(currentBlockQualifier, typeList);
11376|     98|    fixBlockUniformLayoutMatrix(currentBlockQualifier, &typeList, nullptr);
11377|     98|    fixBlockUniformLayoutPacking(currentBlockQualifier, &typeList, nullptr);
11378|    568|    for (unsigned int member = 0; member < typeList.size(); ++member)
  ------------------
  |  Branch (11378:35): [True: 470, False: 98]
  ------------------
11379|    470|        layoutTypeCheck(typeList[member].loc, *typeList[member].type);
11380|       |
11381|     98|    if (memberWithPerViewQualifier) {
  ------------------
  |  Branch (11381:9): [True: 10, False: 88]
  ------------------
11382|     75|        for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11382:39): [True: 65, False: 10]
  ------------------
11383|     65|            checkAndResizeMeshViewDim(typeList[member].loc, *typeList[member].type, /*isBlockMember*/ true);
11384|     65|        }
11385|     10|    }
11386|       |
11387|       |    // reverse merge, so that currentBlockQualifier now has all layout information
11388|       |    // (can't use defaultQualification directly, it's missing other non-layout-default-class qualifiers)
11389|     98|    mergeObjectLayoutQualifiers(currentBlockQualifier, defaultQualification, true);
11390|       |
11391|       |    //
11392|       |    // Build and add the interface block as a new type named 'blockName'
11393|       |    //
11394|       |
11395|     98|    TType blockType(&typeList, *blockName, currentBlockQualifier);
11396|     98|    if (arraySizes != nullptr)
  ------------------
  |  Branch (11396:9): [True: 56, False: 42]
  ------------------
11397|     56|        blockType.transferArraySizes(arraySizes);
11398|       |
11399|     98|    if (arraySizes == nullptr)
  ------------------
  |  Branch (11399:9): [True: 42, False: 56]
  ------------------
11400|     42|        ioArrayCheck(loc, blockType, instanceName ? *instanceName : *blockName);
  ------------------
  |  Branch (11400:38): [True: 0, False: 42]
  ------------------
11401|     98|    if (currentBlockQualifier.hasBufferReference()) {
  ------------------
  |  Branch (11401:9): [True: 0, False: 98]
  ------------------
11402|       |
11403|      0|        if (currentBlockQualifier.storage != EvqBuffer)
  ------------------
  |  Branch (11403:13): [True: 0, False: 0]
  ------------------
11404|      0|            error(loc, "can only be used with buffer", "buffer_reference", "");
11405|       |
11406|       |        // Create the block reference type. If it was forward-declared, detect that
11407|       |        // as a referent struct type with no members. Replace the referent type with
11408|       |        // blockType.
11409|      0|        TType blockNameType(EbtReference, blockType, *blockName);
11410|      0|        TVariable* blockNameVar = new TVariable(blockName, blockNameType, true);
11411|      0|        if (! symbolTable.insert(*blockNameVar)) {
  ------------------
  |  Branch (11411:13): [True: 0, False: 0]
  ------------------
11412|      0|            TSymbol* existingName = symbolTable.find(*blockName);
11413|      0|            if (existingName->getType().isReference() &&
  ------------------
  |  Branch (11413:17): [True: 0, False: 0]
  ------------------
11414|      0|                existingName->getType().getReferentType()->getStruct() &&
  ------------------
  |  Branch (11414:17): [True: 0, False: 0]
  ------------------
11415|      0|                existingName->getType().getReferentType()->getStruct()->size() == 0 &&
  ------------------
  |  Branch (11415:17): [True: 0, False: 0]
  ------------------
11416|      0|                existingName->getType().getQualifier().storage == blockType.getQualifier().storage) {
  ------------------
  |  Branch (11416:17): [True: 0, False: 0]
  ------------------
11417|      0|                existingName->getType().getReferentType()->deepCopy(blockType);
11418|      0|            } else {
11419|      0|                error(loc, "block name cannot be redefined", blockName->c_str(), "");
11420|      0|            }
11421|      0|        }
11422|      0|        if (!instanceName) {
  ------------------
  |  Branch (11422:13): [True: 0, False: 0]
  ------------------
11423|      0|            return nullptr;
11424|      0|        }
11425|     98|    } else if (currentBlockQualifier.isBufferType()) {
  ------------------
  |  Branch (11425:16): [True: 0, False: 98]
  ------------------
11426|       |        // buffer_type creates an opaque type named by the block, not a global block instance.
11427|      0|        TVariable* blockNameVar = new TVariable(blockName, blockType, true);
11428|      0|        if (! symbolTable.insert(*blockNameVar)) {
  ------------------
  |  Branch (11428:13): [True: 0, False: 0]
  ------------------
11429|      0|            error(loc, "block name cannot be redefined", blockName->c_str(), "");
11430|      0|            return nullptr;
11431|      0|        }
11432|      0|        if (!instanceName)
  ------------------
  |  Branch (11432:13): [True: 0, False: 0]
  ------------------
11433|      0|            return nullptr;
11434|     98|    } else {
11435|       |        //
11436|       |        // Don't make a user-defined type out of block name; that will cause an error
11437|       |        // if the same block name gets reused in a different interface.
11438|       |        //
11439|       |        // "Block names have no other use within a shader
11440|       |        // beyond interface matching; it is a compile-time error to use a block name at global scope for anything
11441|       |        // other than as a block name (e.g., use of a block name for a global variable name or function name is
11442|       |        // currently reserved)."
11443|       |        //
11444|       |        // Use the symbol table to prevent normal reuse of the block's name, as a variable entry,
11445|       |        // whose type is EbtBlock, but without all the structure; that will come from the type
11446|       |        // the instances point to.
11447|       |        //
11448|     98|        TType blockNameType(EbtBlock, blockType.getQualifier().storage);
11449|     98|        TVariable* blockNameVar = new TVariable(blockName, blockNameType);
11450|     98|        if (! symbolTable.insert(*blockNameVar)) {
  ------------------
  |  Branch (11450:13): [True: 10, False: 88]
  ------------------
11451|     10|            TSymbol* existingName = symbolTable.find(*blockName);
11452|     10|            if (existingName->getType().getBasicType() == EbtBlock) {
  ------------------
  |  Branch (11452:17): [True: 10, False: 0]
  ------------------
11453|     10|                if (existingName->getType().getQualifier().storage == blockType.getQualifier().storage) {
  ------------------
  |  Branch (11453:21): [True: 0, False: 10]
  ------------------
11454|      0|                    error(loc, "Cannot reuse block name within the same interface:", blockName->c_str(), blockType.getStorageQualifierString());
11455|      0|                    return nullptr;
11456|      0|                }
11457|     10|            } else {
11458|      0|                error(loc, "block name cannot redefine a non-block name", blockName->c_str(), "");
11459|      0|                return nullptr;
11460|      0|            }
11461|     10|        }
11462|     98|    }
11463|       |
11464|       |    // Add the variable, as anonymous or named instanceName.
11465|       |    // Make an anonymous variable if no name was provided.
11466|     98|    if (! instanceName)
  ------------------
  |  Branch (11466:9): [True: 42, False: 56]
  ------------------
11467|     42|        instanceName = NewPoolTString("");
11468|       |
11469|     98|    TVariable& variable = *new TVariable(instanceName, blockType);
11470|     98|    if (! symbolTable.insert(variable)) {
  ------------------
  |  Branch (11470:9): [True: 0, False: 98]
  ------------------
11471|      0|        if (*instanceName == "")
  ------------------
  |  Branch (11471:13): [True: 0, False: 0]
  ------------------
11472|      0|            error(loc, "nameless block contains a member that already has a name at global scope", blockName->c_str(), "");
11473|      0|        else
11474|      0|            error(loc, "block instance name redefinition", variable.getName().c_str(), "");
11475|       |
11476|      0|        return nullptr;
11477|      0|    }
11478|       |
11479|       |    // EXT_descriptor_heap
11480|     98|    if (!untypedHeapCheck(&variable, blockType, loc, blockName->c_str())) {
  ------------------
  |  Branch (11480:9): [True: 0, False: 98]
  ------------------
11481|      0|        return nullptr;
11482|      0|    }
11483|       |
11484|       |    // Check for general layout qualifier errors
11485|     98|    layoutObjectCheck(loc, variable);
11486|       |
11487|       |    // fix up
11488|     98|    if (isIoResizeArray(blockType)) {
  ------------------
  |  Branch (11488:9): [True: 46, False: 52]
  ------------------
11489|     46|        ioArraySymbolResizeList.push_back(&variable);
11490|     46|        checkIoArraysConsistency(loc, true);
11491|     46|    } else
11492|     52|        fixIoArraySize(loc, variable.getWritableType());
11493|       |
11494|       |    // Save it in the AST for linker use.
11495|     98|    trackLinkage(variable);
11496|       |
11497|     98|    TIntermAggregate* declNode = nullptr;
11498|     98|    if (intermediate.getDebugInfo()) {
  ------------------
  |  Branch (11498:9): [True: 0, False: 98]
  ------------------
11499|      0|        auto blockDeclNode = new TIntermVariableDecl(intermediate.addSymbol(variable, loc), nullptr);
11500|      0|        blockDeclNode->setLoc(loc);
11501|       |
11502|       |        // We have to wrap the declaration with a sequence to fit the same processing logic with variables.
11503|      0|        declNode = new TIntermAggregate(EOpSequence);
11504|      0|        declNode->getSequence().push_back(blockDeclNode);
11505|      0|    }
11506|     98|    return declNode;
11507|     98|}
_ZN7glslang13TParseContext17blockStageIoCheckERKNS_10TSourceLocERKNS_10TQualifierE:
11523|     98|{
11524|     98|    const char *extsrt[2] = { E_GL_NV_ray_tracing, E_GL_EXT_ray_tracing };
11525|     98|    switch (qualifier.storage) {
11526|      0|    case EvqUniform:
  ------------------
  |  Branch (11526:5): [True: 0, False: 98]
  ------------------
11527|      0|        profileRequires(loc, EEsProfile, 300, nullptr, "uniform block");
11528|      0|        profileRequires(loc, ENoProfile, 140, E_GL_ARB_uniform_buffer_object, "uniform block");
11529|      0|        if (currentBlockQualifier.layoutPacking == ElpStd430 && ! currentBlockQualifier.isPushConstant())
  ------------------
  |  Branch (11529:13): [True: 0, False: 0]
  |  Branch (11529:65): [True: 0, False: 0]
  ------------------
11530|      0|            requireExtensions(loc, 1, &E_GL_EXT_scalar_block_layout, "std430 requires the buffer storage qualifier");
11531|      0|        break;
11532|      0|    case EvqBuffer:
  ------------------
  |  Branch (11532:5): [True: 0, False: 98]
  ------------------
11533|      0|        requireProfile(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, "buffer block");
11534|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 430, E_GL_ARB_shader_storage_buffer_object, "buffer block");
11535|      0|        profileRequires(loc, EEsProfile, 310, nullptr, "buffer block");
11536|      0|        break;
11537|     20|    case EvqVaryingIn:
  ------------------
  |  Branch (11537:5): [True: 20, False: 78]
  ------------------
11538|     20|        profileRequires(loc, ~EEsProfile, 150, E_GL_ARB_separate_shader_objects, "input block");
11539|       |        // It is a compile-time error to have an input block in a vertex shader or an output block in a fragment shader
11540|       |        // "Compute shaders do not permit user-defined input variables..."
11541|     20|        requireStage(loc, (EShLanguageMask)(EShLangTessControlMask|EShLangTessEvaluationMask|EShLangGeometryMask|
11542|     20|            EShLangFragmentMask|EShLangMeshMask), "input block");
11543|     20|        if (language == EShLangFragment) {
  ------------------
  |  Branch (11543:13): [True: 0, False: 20]
  ------------------
11544|      0|            profileRequires(loc, EEsProfile, 320, Num_AEP_shader_io_blocks, AEP_shader_io_blocks, "fragment input block");
11545|     20|        } else if (language == EShLangMesh && ! qualifier.isTaskMemory()) {
  ------------------
  |  Branch (11545:20): [True: 0, False: 20]
  |  Branch (11545:47): [True: 0, False: 0]
  ------------------
11546|      0|            error(loc, "input blocks cannot be used in a mesh shader", "out", "");
11547|      0|        }
11548|     20|        break;
11549|     78|    case EvqVaryingOut:
  ------------------
  |  Branch (11549:5): [True: 78, False: 20]
  ------------------
11550|     78|        profileRequires(loc, ~EEsProfile, 150, E_GL_ARB_separate_shader_objects, "output block");
11551|     78|        requireStage(loc, (EShLanguageMask)(EShLangVertexMask|EShLangTessControlMask|EShLangTessEvaluationMask|
11552|     78|            EShLangGeometryMask|EShLangMeshMask|EShLangTaskMask), "output block");
11553|       |        // ES 310 can have a block before shader_io is turned on, so skip this test for built-ins
11554|     78|        if (language == EShLangVertex && ! parsingBuiltins) {
  ------------------
  |  Branch (11554:13): [True: 16, False: 62]
  |  Branch (11554:42): [True: 0, False: 16]
  ------------------
11555|      0|            profileRequires(loc, EEsProfile, 320, Num_AEP_shader_io_blocks, AEP_shader_io_blocks, "vertex output block");
11556|     78|        } else if (language == EShLangMesh && qualifier.isTaskMemory()) {
  ------------------
  |  Branch (11556:20): [True: 20, False: 58]
  |  Branch (11556:47): [True: 0, False: 20]
  ------------------
11557|      0|            error(loc, "can only use on input blocks in mesh shader", "taskNV", "");
11558|     78|        } else if (language == EShLangTask && ! qualifier.isTaskMemory()) {
  ------------------
  |  Branch (11558:20): [True: 0, False: 78]
  |  Branch (11558:47): [True: 0, False: 0]
  ------------------
11559|      0|            error(loc, "output blocks cannot be used in a task shader", "out", "");
11560|      0|        }
11561|     78|        break;
11562|      0|    case EvqShared:
  ------------------
  |  Branch (11562:5): [True: 0, False: 98]
  ------------------
11563|      0|        if (spvVersion.spv > 0 && spvVersion.spv < EShTargetSpv_1_4) {
  ------------------
  |  Branch (11563:13): [True: 0, False: 0]
  |  Branch (11563:35): [True: 0, False: 0]
  ------------------
11564|      0|            error(loc, "shared block requires at least SPIR-V 1.4", "shared block", "");
11565|      0|        }
11566|      0|        profileRequires(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, 0, E_GL_EXT_shared_memory_block, "shared block");
11567|      0|        break;
11568|      0|    case EvqPayload:
  ------------------
  |  Branch (11568:5): [True: 0, False: 98]
  ------------------
11569|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "rayPayloadNV block");
11570|      0|        requireStage(loc, (EShLanguageMask)(EShLangRayGenMask | EShLangAnyHitMask | EShLangClosestHitMask | EShLangMissMask),
11571|      0|            "rayPayloadNV block");
11572|      0|        break;
11573|      0|    case EvqPayloadIn:
  ------------------
  |  Branch (11573:5): [True: 0, False: 98]
  ------------------
11574|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "rayPayloadInNV block");
11575|      0|        requireStage(loc, (EShLanguageMask)(EShLangAnyHitMask | EShLangClosestHitMask | EShLangMissMask),
11576|      0|            "rayPayloadInNV block");
11577|      0|        break;
11578|      0|    case EvqHitAttr:
  ------------------
  |  Branch (11578:5): [True: 0, False: 98]
  ------------------
11579|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "hitAttributeNV block");
11580|      0|        requireStage(loc, (EShLanguageMask)(EShLangIntersectMask | EShLangAnyHitMask | EShLangClosestHitMask), "hitAttributeNV block");
11581|      0|        break;
11582|      0|    case EvqCallableData:
  ------------------
  |  Branch (11582:5): [True: 0, False: 98]
  ------------------
11583|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "callableDataNV block");
11584|      0|        requireStage(loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask | EShLangMissMask | EShLangCallableMask),
11585|      0|            "callableDataNV block");
11586|      0|        break;
11587|      0|    case EvqCallableDataIn:
  ------------------
  |  Branch (11587:5): [True: 0, False: 98]
  ------------------
11588|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "callableDataInNV block");
11589|      0|        requireStage(loc, (EShLanguageMask)(EShLangCallableMask), "callableDataInNV block");
11590|      0|        break;
11591|      0|    case EvqHitObjectAttrNV:
  ------------------
  |  Branch (11591:5): [True: 0, False: 98]
  ------------------
11592|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_NV_shader_invocation_reorder, "hitObjectAttributeNV block");
11593|      0|        requireStage(loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask | EShLangMissMask), "hitObjectAttributeNV block");
11594|      0|        break;
11595|      0|    case EvqHitObjectAttrEXT:
  ------------------
  |  Branch (11595:5): [True: 0, False: 98]
  ------------------
11596|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_shader_invocation_reorder, "hitObjectAttributeEXT block");
11597|      0|        requireStage(loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask | EShLangMissMask), "hitObjectAttributeEXT block");
11598|      0|        break;
11599|      0|    case EvqResourceHeap:
  ------------------
  |  Branch (11599:5): [True: 0, False: 98]
  ------------------
11600|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_structured_descriptor_heap, "resourceheap block");
11601|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_descriptor_heap, "resourceheap block");
11602|      0|        break;
11603|      0|    case EvqSamplerHeap:
  ------------------
  |  Branch (11603:5): [True: 0, False: 98]
  ------------------
11604|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_structured_descriptor_heap, "samplerheap block");
11605|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_descriptor_heap, "samplerheap block");
11606|      0|        break;
11607|      0|    default:
  ------------------
  |  Branch (11607:5): [True: 0, False: 98]
  ------------------
11608|      0|        error(loc, "only uniform, buffer, in, or out blocks are supported", blockName->c_str(), "");
11609|      0|        break;
11610|     98|    }
11611|     98|}
_ZN7glslang13TParseContext19blockQualifierCheckERKNS_10TSourceLocERKNS_10TQualifierEb:
11615|     98|{
11616|       |    // The 4.5 specification says:
11617|       |    //
11618|       |    // interface-block :
11619|       |    //    layout-qualifieropt interface-qualifier  block-name { member-list } instance-nameopt ;
11620|       |    //
11621|       |    // interface-qualifier :
11622|       |    //    in
11623|       |    //    out
11624|       |    //    patch in
11625|       |    //    patch out
11626|       |    //    uniform
11627|       |    //    buffer
11628|       |    //
11629|       |    // Note however memory qualifiers aren't included, yet the specification also says
11630|       |    //
11631|       |    // "...memory qualifiers may also be used in the declaration of shader storage blocks..."
11632|       |
11633|     98|    if (qualifier.isInterpolation())
  ------------------
  |  Branch (11633:9): [True: 0, False: 98]
  ------------------
11634|      0|        error(loc, "cannot use interpolation qualifiers on an interface block", "flat/smooth/noperspective", "");
11635|     98|    if (qualifier.centroid)
  ------------------
  |  Branch (11635:9): [True: 0, False: 98]
  ------------------
11636|      0|        error(loc, "cannot use centroid qualifier on an interface block", "centroid", "");
11637|     98|    if (qualifier.isSample())
  ------------------
  |  Branch (11637:9): [True: 0, False: 98]
  ------------------
11638|      0|        error(loc, "cannot use sample qualifier on an interface block", "sample", "");
11639|     98|    if (qualifier.invariant)
  ------------------
  |  Branch (11639:9): [True: 0, False: 98]
  ------------------
11640|      0|        error(loc, "cannot use invariant qualifier on an interface block", "invariant", "");
11641|     98|    if (qualifier.isPushConstant())
  ------------------
  |  Branch (11641:9): [True: 0, False: 98]
  ------------------
11642|      0|        intermediate.addPushConstantCount();
11643|     98|    if (qualifier.isShaderRecord())
  ------------------
  |  Branch (11643:9): [True: 0, False: 98]
  ------------------
11644|      0|        intermediate.addShaderRecordCount();
11645|     98|    if (qualifier.isTaskMemory())
  ------------------
  |  Branch (11645:9): [True: 0, False: 98]
  ------------------
11646|      0|        intermediate.addTaskNVCount();
11647|     98|    if (qualifier.isBufferType()) {
  ------------------
  |  Branch (11647:9): [True: 0, False: 98]
  ------------------
11648|      0|        if (qualifier.storage != EvqUniform && qualifier.storage != EvqBuffer)
  ------------------
  |  Branch (11648:13): [True: 0, False: 0]
  |  Branch (11648:48): [True: 0, False: 0]
  ------------------
11649|      0|            error(loc, "can only be used with uniform or buffer", "buffer_type", "");
11650|      0|        if (instanceName)
  ------------------
  |  Branch (11650:13): [True: 0, False: 0]
  ------------------
11651|      0|            error(loc, "cannot have an instance name", "buffer_type", "");
11652|      0|        if (qualifier.hasSet())
  ------------------
  |  Branch (11652:13): [True: 0, False: 0]
  ------------------
11653|      0|            error(loc, "cannot be used with buffer_type", "set", "");
11654|      0|        if (qualifier.hasBinding())
  ------------------
  |  Branch (11654:13): [True: 0, False: 0]
  ------------------
11655|      0|            error(loc, "cannot be used with buffer_type", "binding", "");
11656|      0|    }
11657|     98|}
_ZN7glslang13TParseContext17fixBlockLocationsERKNS_10TSourceLocERNS_10TQualifierERNS_7TVectorINS_8TTypeLocEEEbb:
11667|     98|{
11668|       |    // "If a block has no block-level location layout qualifier, it is required that either all or none of its members
11669|       |    // have a location layout qualifier, or a compile-time error results."
11670|     98|    if (! qualifier.hasLocation() && memberWithLocation && memberWithoutLocation)
  ------------------
  |  Branch (11670:9): [True: 98, False: 0]
  |  Branch (11670:38): [True: 0, False: 98]
  |  Branch (11670:60): [True: 0, False: 0]
  ------------------
11671|      0|        error(loc, "either the block needs a location, or all members need a location, or no members have a location", "location", "");
11672|     98|    else {
11673|     98|        if (memberWithLocation) {
  ------------------
  |  Branch (11673:13): [True: 0, False: 98]
  ------------------
11674|       |            // remove any block-level location and make it per *every* member
11675|      0|            int nextLocation = 0;  // by the rule above, initial value is not relevant
11676|      0|            if (qualifier.hasAnyLocation()) {
  ------------------
  |  Branch (11676:17): [True: 0, False: 0]
  ------------------
11677|      0|                nextLocation = qualifier.layoutLocation;
11678|      0|                qualifier.layoutLocation = TQualifier::layoutLocationEnd;
11679|      0|                if (qualifier.hasComponent()) {
  ------------------
  |  Branch (11679:21): [True: 0, False: 0]
  ------------------
11680|       |                    // "It is a compile-time error to apply the *component* qualifier to a ... block"
11681|      0|                    error(loc, "cannot apply to a block", "component", "");
11682|      0|                }
11683|      0|                if (qualifier.hasIndex()) {
  ------------------
  |  Branch (11683:21): [True: 0, False: 0]
  ------------------
11684|      0|                    error(loc, "cannot apply to a block", "index", "");
11685|      0|                }
11686|      0|            }
11687|      0|            for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11687:43): [True: 0, False: 0]
  ------------------
11688|      0|                TQualifier& memberQualifier = typeList[member].type->getQualifier();
11689|      0|                const TSourceLoc& memberLoc = typeList[member].loc;
11690|      0|                if (! memberQualifier.hasLocation()) {
  ------------------
  |  Branch (11690:21): [True: 0, False: 0]
  ------------------
11691|      0|                    if (nextLocation >= (int)TQualifier::layoutLocationEnd)
  ------------------
  |  Branch (11691:25): [True: 0, False: 0]
  ------------------
11692|      0|                        error(memberLoc, "location is too large", "location", "");
11693|      0|                    memberQualifier.layoutLocation = nextLocation;
11694|      0|                    memberQualifier.layoutComponent = TQualifier::layoutComponentEnd;
11695|      0|                }
11696|      0|                nextLocation = memberQualifier.layoutLocation + intermediate.computeTypeLocationSize(
11697|      0|                                    *typeList[member].type, language);
11698|      0|            }
11699|      0|        }
11700|     98|    }
11701|     98|}
_ZN7glslang13TParseContext13fixXfbOffsetsERNS_10TQualifierERNS_7TVectorINS_8TTypeLocEEE:
11704|     98|{
11705|       |    // "If a block is qualified with xfb_offset, all its
11706|       |    // members are assigned transform feedback buffer offsets. If a block is not qualified with xfb_offset, any
11707|       |    // members of that block not qualified with an xfb_offset will not be assigned transform feedback buffer
11708|       |    // offsets."
11709|       |
11710|     98|    if (! qualifier.hasXfbBuffer() || ! qualifier.hasXfbOffset())
  ------------------
  |  Branch (11710:9): [True: 98, False: 0]
  |  Branch (11710:39): [True: 0, False: 0]
  ------------------
11711|     98|        return;
11712|       |
11713|      0|    int nextOffset = qualifier.layoutXfbOffset;
11714|      0|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11714:35): [True: 0, False: 0]
  ------------------
11715|      0|        TQualifier& memberQualifier = typeList[member].type->getQualifier();
11716|      0|        bool contains64BitType = false;
11717|      0|        bool contains32BitType = false;
11718|      0|        bool contains16BitType = false;
11719|      0|        int memberSize = intermediate.computeTypeXfbSize(*typeList[member].type, contains64BitType, contains32BitType, contains16BitType);
11720|       |        // see if we need to auto-assign an offset to this member
11721|      0|        if (! memberQualifier.hasXfbOffset()) {
  ------------------
  |  Branch (11721:13): [True: 0, False: 0]
  ------------------
11722|       |            // "if applied to an aggregate containing a double or 64-bit integer, the offset must also be a multiple of 8"
11723|      0|            if (contains64BitType)
  ------------------
  |  Branch (11723:17): [True: 0, False: 0]
  ------------------
11724|      0|                RoundToPow2(nextOffset, 8);
11725|      0|            else if (contains32BitType)
  ------------------
  |  Branch (11725:22): [True: 0, False: 0]
  ------------------
11726|      0|                RoundToPow2(nextOffset, 4);
11727|      0|            else if (contains16BitType)
  ------------------
  |  Branch (11727:22): [True: 0, False: 0]
  ------------------
11728|      0|                RoundToPow2(nextOffset, 2);
11729|      0|            memberQualifier.layoutXfbOffset = nextOffset;
11730|      0|        } else
11731|      0|            nextOffset = memberQualifier.layoutXfbOffset;
11732|      0|        nextOffset += memberSize;
11733|      0|    }
11734|       |
11735|       |    // The above gave all block members an offset, so we can take it off the block now,
11736|       |    // which will avoid double counting the offset usage.
11737|      0|    qualifier.layoutXfbOffset = TQualifier::layoutXfbOffsetEnd;
11738|      0|}
_ZN7glslang13TParseContext22fixBlockUniformOffsetsERNS_10TQualifierERNS_7TVectorINS_8TTypeLocEEE:
11747|     98|{
11748|     98|    if (!storageCanHaveLayoutInBlock(qualifier.storage) && !qualifier.isTaskMemory())
  ------------------
  |  Branch (11748:9): [True: 98, False: 0]
  |  Branch (11748:60): [True: 98, False: 0]
  ------------------
11749|     98|        return;
11750|      0|    if (qualifier.layoutPacking != ElpStd140 && qualifier.layoutPacking != ElpStd430 && qualifier.layoutPacking != ElpScalar)
  ------------------
  |  Branch (11750:9): [True: 0, False: 0]
  |  Branch (11750:49): [True: 0, False: 0]
  |  Branch (11750:89): [True: 0, False: 0]
  ------------------
11751|      0|        return;
11752|       |
11753|      0|    int offset = 0;
11754|      0|    int memberSize;
11755|      0|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11755:35): [True: 0, False: 0]
  ------------------
11756|      0|        TQualifier& memberQualifier = typeList[member].type->getQualifier();
11757|      0|        const TSourceLoc& memberLoc = typeList[member].loc;
11758|       |
11759|       |        // "When align is applied to an array, it effects only the start of the array, not the array's internal stride."
11760|       |
11761|       |        // modify just the children's view of matrix layout, if there is one for this member
11762|      0|        TLayoutMatrix subMatrixLayout = typeList[member].type->getQualifier().layoutMatrix;
11763|      0|        int dummyStride;
11764|      0|        int memberAlignment = intermediate.getMemberAlignment(*typeList[member].type, memberSize, dummyStride, qualifier.layoutPacking,
11765|      0|                                                              subMatrixLayout != ElmNone ? subMatrixLayout == ElmRowMajor : qualifier.layoutMatrix == ElmRowMajor);
  ------------------
  |  Branch (11765:63): [True: 0, False: 0]
  ------------------
11766|      0|        if (memberQualifier.hasOffset()) {
  ------------------
  |  Branch (11766:13): [True: 0, False: 0]
  ------------------
11767|       |            // "The specified offset must be a multiple
11768|       |            // of the base alignment of the type of the block member it qualifies, or a compile-time error results."
11769|      0|            if (! IsMultipleOfPow2(memberQualifier.layoutOffset, memberAlignment))
  ------------------
  |  Branch (11769:17): [True: 0, False: 0]
  ------------------
11770|      0|                error(memberLoc, "must be a multiple of the member's alignment", "offset",
11771|      0|                    "(layout offset = %d | member alignment = %d)", memberQualifier.layoutOffset, memberAlignment);
11772|       |
11773|       |            // GLSL: "It is a compile-time error to specify an offset that is smaller than the offset of the previous
11774|       |            // member in the block or that lies within the previous member of the block"
11775|      0|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (11775:17): [True: 0, False: 0]
  ------------------
11776|      0|                if (memberQualifier.layoutOffset < offset)
  ------------------
  |  Branch (11776:21): [True: 0, False: 0]
  ------------------
11777|      0|                    error(memberLoc, "cannot lie in previous members", "offset", "");
11778|       |
11779|       |                // "The offset qualifier forces the qualified member to start at or after the specified
11780|       |                // integral-constant expression, which will be its byte offset from the beginning of the buffer.
11781|       |                // "The actual offset of a member is computed as
11782|       |                // follows: If offset was declared, start with that offset, otherwise start with the next available offset."
11783|      0|                offset = std::max(offset, memberQualifier.layoutOffset);
11784|      0|            } else {
11785|       |                // TODO: Vulkan: "It is a compile-time error to have any offset, explicit or assigned,
11786|       |                // that lies within another member of the block."
11787|       |
11788|      0|                offset = memberQualifier.layoutOffset;
11789|      0|            }
11790|      0|        }
11791|       |
11792|       |        // "The actual alignment of a member will be the greater of the specified align alignment and the standard
11793|       |        // (e.g., std140) base alignment for the member's type."
11794|      0|        if (memberQualifier.hasAlign())
  ------------------
  |  Branch (11794:13): [True: 0, False: 0]
  ------------------
11795|      0|            memberAlignment = std::max(memberAlignment, memberQualifier.layoutAlign);
11796|       |
11797|       |        // "If the resulting offset is not a multiple of the actual alignment,
11798|       |        // increase it to the first offset that is a multiple of
11799|       |        // the actual alignment."
11800|      0|        RoundToPow2(offset, memberAlignment);
11801|      0|        typeList[member].type->getQualifier().layoutOffset = offset;
11802|      0|        offset += memberSize;
11803|      0|    }
11804|      0|}
_ZN7glslang13TParseContext27fixBlockUniformLayoutMatrixERNS_10TQualifierEPNS_7TVectorINS_8TTypeLocEEES6_:
11812|     98|{
11813|     98|    assert(tmpTypeList == nullptr || originTypeList->size() == tmpTypeList->size());
11814|    568|    for (unsigned int member = 0; member < originTypeList->size(); ++member) {
  ------------------
  |  Branch (11814:35): [True: 470, False: 98]
  ------------------
11815|    470|        if (qualifier.layoutPacking != ElpNone) {
  ------------------
  |  Branch (11815:13): [True: 0, False: 470]
  ------------------
11816|      0|            if (tmpTypeList == nullptr) {
  ------------------
  |  Branch (11816:17): [True: 0, False: 0]
  ------------------
11817|      0|                if (((*originTypeList)[member].type->isMatrix() ||
  ------------------
  |  Branch (11817:22): [True: 0, False: 0]
  ------------------
11818|      0|                     (*originTypeList)[member].type->getBasicType() == EbtStruct) &&
  ------------------
  |  Branch (11818:22): [True: 0, False: 0]
  ------------------
11819|      0|                    (*originTypeList)[member].type->getQualifier().layoutMatrix == ElmNone) {
  ------------------
  |  Branch (11819:21): [True: 0, False: 0]
  ------------------
11820|      0|                    (*originTypeList)[member].type->getQualifier().layoutMatrix = qualifier.layoutMatrix;
11821|      0|                }
11822|      0|            } else {
11823|      0|                if (((*tmpTypeList)[member].type->isMatrix() ||
  ------------------
  |  Branch (11823:22): [True: 0, False: 0]
  ------------------
11824|      0|                     (*tmpTypeList)[member].type->getBasicType() == EbtStruct) &&
  ------------------
  |  Branch (11824:22): [True: 0, False: 0]
  ------------------
11825|      0|                    (*tmpTypeList)[member].type->getQualifier().layoutMatrix == ElmNone) {
  ------------------
  |  Branch (11825:21): [True: 0, False: 0]
  ------------------
11826|      0|                    (*tmpTypeList)[member].type->getQualifier().layoutMatrix = qualifier.layoutMatrix;
11827|      0|                }
11828|      0|            }
11829|      0|        }
11830|       |
11831|    470|        if ((*originTypeList)[member].type->getBasicType() == EbtStruct) {
  ------------------
  |  Branch (11831:13): [True: 0, False: 470]
  ------------------
11832|      0|            TQualifier* memberQualifier = nullptr;
11833|       |            // block member can be declare a matrix style, so it should be update to the member's style
11834|      0|            if ((*originTypeList)[member].type->getQualifier().layoutMatrix == ElmNone) {
  ------------------
  |  Branch (11834:17): [True: 0, False: 0]
  ------------------
11835|      0|                memberQualifier = &qualifier;
11836|      0|            } else {
11837|      0|                memberQualifier = &((*originTypeList)[member].type->getQualifier());
11838|      0|            }
11839|       |
11840|      0|            const TType* tmpType = tmpTypeList == nullptr ?
  ------------------
  |  Branch (11840:36): [True: 0, False: 0]
  ------------------
11841|      0|                (*originTypeList)[member].type->clone() : (*tmpTypeList)[member].type;
11842|       |
11843|      0|            fixBlockUniformLayoutMatrix(*memberQualifier, (*originTypeList)[member].type->getWritableStruct(),
11844|      0|                                        tmpType->getWritableStruct());
11845|       |
11846|      0|            const TTypeList* structure = recordStructCopy(matrixFixRecord, (*originTypeList)[member].type, tmpType);
11847|       |
11848|      0|            if (tmpTypeList == nullptr) {
  ------------------
  |  Branch (11848:17): [True: 0, False: 0]
  ------------------
11849|      0|                (*originTypeList)[member].type->setStruct(const_cast<TTypeList*>(structure));
11850|      0|            }
11851|      0|            if (tmpTypeList != nullptr) {
  ------------------
  |  Branch (11851:17): [True: 0, False: 0]
  ------------------
11852|      0|                (*tmpTypeList)[member].type->setStruct(const_cast<TTypeList*>(structure));
11853|      0|            }
11854|      0|        }
11855|    470|    }
11856|     98|}
_ZN7glslang13TParseContext28fixBlockUniformLayoutPackingERNS_10TQualifierEPNS_7TVectorINS_8TTypeLocEEES6_:
11864|     98|{
11865|     98|    assert(tmpTypeList == nullptr || originTypeList->size() == tmpTypeList->size());
11866|    568|    for (unsigned int member = 0; member < originTypeList->size(); ++member) {
  ------------------
  |  Branch (11866:35): [True: 470, False: 98]
  ------------------
11867|    470|        if (qualifier.layoutPacking != ElpNone) {
  ------------------
  |  Branch (11867:13): [True: 0, False: 470]
  ------------------
11868|      0|            if (tmpTypeList == nullptr) {
  ------------------
  |  Branch (11868:17): [True: 0, False: 0]
  ------------------
11869|      0|                if ((*originTypeList)[member].type->getQualifier().layoutPacking == ElpNone &&
  ------------------
  |  Branch (11869:21): [True: 0, False: 0]
  ------------------
11870|      0|                    !(*originTypeList)[member].type->isScalarOrVector()) {
  ------------------
  |  Branch (11870:21): [True: 0, False: 0]
  ------------------
11871|      0|                    (*originTypeList)[member].type->getQualifier().layoutPacking = qualifier.layoutPacking;
11872|      0|                }
11873|      0|            } else {
11874|      0|                if ((*tmpTypeList)[member].type->getQualifier().layoutPacking == ElpNone &&
  ------------------
  |  Branch (11874:21): [True: 0, False: 0]
  ------------------
11875|      0|                    !(*tmpTypeList)[member].type->isScalarOrVector()) {
  ------------------
  |  Branch (11875:21): [True: 0, False: 0]
  ------------------
11876|      0|                    (*tmpTypeList)[member].type->getQualifier().layoutPacking = qualifier.layoutPacking;
11877|      0|                }
11878|      0|            }
11879|      0|        }
11880|       |
11881|    470|        if ((*originTypeList)[member].type->getBasicType() == EbtStruct) {
  ------------------
  |  Branch (11881:13): [True: 0, False: 470]
  ------------------
11882|       |            // Deep copy the type in pool.
11883|       |            // Because, struct use in different block may have different layout qualifier.
11884|       |            // We have to new a object to distinguish between them.
11885|      0|            const TType* tmpType = tmpTypeList == nullptr ?
  ------------------
  |  Branch (11885:36): [True: 0, False: 0]
  ------------------
11886|      0|                (*originTypeList)[member].type->clone() : (*tmpTypeList)[member].type;
11887|       |
11888|      0|            fixBlockUniformLayoutPacking(qualifier, (*originTypeList)[member].type->getWritableStruct(),
11889|      0|                                         tmpType->getWritableStruct());
11890|       |
11891|      0|            const TTypeList* structure = recordStructCopy(packingFixRecord, (*originTypeList)[member].type, tmpType);
11892|       |
11893|      0|            if (tmpTypeList == nullptr) {
  ------------------
  |  Branch (11893:17): [True: 0, False: 0]
  ------------------
11894|      0|                (*originTypeList)[member].type->setStruct(const_cast<TTypeList*>(structure));
11895|      0|            }
11896|      0|            if (tmpTypeList != nullptr) {
  ------------------
  |  Branch (11896:17): [True: 0, False: 0]
  ------------------
11897|      0|                (*tmpTypeList)[member].type->setStruct(const_cast<TTypeList*>(structure));
11898|      0|            }
11899|      0|        }
11900|    470|    }
11901|     98|}
_ZN7glslang13TParseContext14invariantCheckERKNS_10TSourceLocERKNS_10TQualifierE:
11990|  58.2k|{
11991|  58.2k|    if (! qualifier.invariant)
  ------------------
  |  Branch (11991:9): [True: 58.2k, False: 0]
  ------------------
11992|  58.2k|        return;
11993|       |
11994|      0|    bool pipeOut = qualifier.isPipeOutput();
11995|      0|    bool pipeIn = qualifier.isPipeInput();
11996|      0|    if ((version >= 300 && isEsProfile()) || (!isEsProfile() && version >= 420)) {
  ------------------
  |  Branch (11996:10): [True: 0, False: 0]
  |  Branch (11996:28): [True: 0, False: 0]
  |  Branch (11996:47): [True: 0, False: 0]
  |  Branch (11996:65): [True: 0, False: 0]
  ------------------
11997|      0|        if (! pipeOut)
  ------------------
  |  Branch (11997:13): [True: 0, False: 0]
  ------------------
11998|      0|            error(loc, "can only apply to an output", "invariant", "");
11999|      0|    } else {
12000|      0|        if ((language == EShLangVertex && pipeIn) || (! pipeOut && ! pipeIn))
  ------------------
  |  Branch (12000:14): [True: 0, False: 0]
  |  Branch (12000:43): [True: 0, False: 0]
  |  Branch (12000:55): [True: 0, False: 0]
  |  Branch (12000:68): [True: 0, False: 0]
  ------------------
12001|      0|            error(loc, "can only apply to an output, or to an input in a non-vertex stage\n", "invariant", "");
12002|      0|    }
12003|      0|}
ParseHelper.cpp:_ZN7glslangL27storageCanHaveLayoutInBlockENS_17TStorageQualifierE:
 8603|    362|{
 8604|    362|    switch (storage) {
 8605|    264|    case EvqUniform:
  ------------------
  |  Branch (8605:5): [True: 264, False: 98]
  ------------------
 8606|    264|    case EvqBuffer:
  ------------------
  |  Branch (8606:5): [True: 0, False: 362]
  ------------------
 8607|    264|    case EvqShared:
  ------------------
  |  Branch (8607:5): [True: 0, False: 362]
  ------------------
 8608|    264|    case EvqSamplerHeap:
  ------------------
  |  Branch (8608:5): [True: 0, False: 362]
  ------------------
 8609|    264|    case EvqResourceHeap:
  ------------------
  |  Branch (8609:5): [True: 0, False: 362]
  ------------------
 8610|    264|        return true;
 8611|     98|    default:
  ------------------
  |  Branch (8611:5): [True: 98, False: 264]
  ------------------
 8612|     98|        return false;
 8613|    362|    }
 8614|    362|}
ParseHelper.cpp:_ZN7glslangL30isResourceHeapBufferTypeMemberERKNS_10TQualifierES2_:
11168|    940|{
11169|    940|    return blockQualifier.storage == EvqResourceHeap && memberQualifier.isBufferType();
  ------------------
  |  Branch (11169:12): [True: 0, False: 940]
  |  Branch (11169:57): [True: 0, False: 0]
  ------------------
11170|    940|}

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

_ZN7glslang13TInputScanner17consumeWhiteSpaceERb:
   68|  2.13M|{
   69|  2.13M|    int c = peek();  // don't accidentally consume anything other than whitespace
   70|  3.11M|    while (c == ' ' || c == '\t' || c == '\r' || c == '\n') {
  ------------------
  |  Branch (70:12): [True: 69.8k, False: 3.04M]
  |  Branch (70:24): [True: 60.4k, False: 2.98M]
  |  Branch (70:37): [True: 487k, False: 2.50M]
  |  Branch (70:50): [True: 369k, False: 2.13M]
  ------------------
   71|   986k|        if (c == '\r' || c == '\n')
  ------------------
  |  Branch (71:13): [True: 487k, False: 499k]
  |  Branch (71:26): [True: 369k, False: 130k]
  ------------------
   72|   856k|            foundNonSpaceTab = true;
   73|   986k|        get();
   74|   986k|        c = peek();
   75|   986k|    }
   76|  2.13M|}
_ZN7glslang13TInputScanner14consumeCommentEv:
   80|  10.7k|{
   81|  10.7k|    if (peek() != '/')
  ------------------
  |  Branch (81:9): [True: 0, False: 10.7k]
  ------------------
   82|      0|        return false;
   83|       |
   84|  10.7k|    get();  // consume the '/'
   85|  10.7k|    int c = peek();
   86|  10.7k|    if (c == '/') {
  ------------------
  |  Branch (86:9): [True: 74, False: 10.6k]
  ------------------
   87|       |
   88|       |        // a '//' style comment
   89|     74|        get();  // consume the second '/'
   90|     74|        c = get();
   91|    330|        do {
   92|   119k|            while (c != EndOfInput && c != '\\' && c != '\r' && c != '\n')
  ------------------
  |  Branch (92:20): [True: 119k, False: 2]
  |  Branch (92:39): [True: 119k, False: 256]
  |  Branch (92:52): [True: 119k, False: 0]
  |  Branch (92:65): [True: 119k, False: 72]
  ------------------
   93|   119k|                c = get();
   94|       |
   95|    330|            if (c == EndOfInput || c == '\r' || c == '\n') {
  ------------------
  |  Branch (95:17): [True: 2, False: 328]
  |  Branch (95:36): [True: 0, False: 328]
  |  Branch (95:49): [True: 72, False: 256]
  ------------------
   96|    343|                while (c == '\r' || c == '\n')
  ------------------
  |  Branch (96:24): [True: 0, False: 343]
  |  Branch (96:37): [True: 269, False: 74]
  ------------------
   97|    269|                    c = get();
   98|       |
   99|       |                // we reached the end of the comment
  100|     74|                break;
  101|    256|            } else {
  102|       |                // it's a '\', so we need to keep going, after skipping what's escaped
  103|       |
  104|       |                // read the skipped character
  105|    256|                c = get();
  106|       |
  107|       |                // if it's a two-character newline, skip both characters
  108|    256|                if (c == '\r' && peek() == '\n')
  ------------------
  |  Branch (108:21): [True: 0, False: 256]
  |  Branch (108:34): [True: 0, False: 0]
  ------------------
  109|      0|                    get();
  110|    256|                c = get();
  111|    256|            }
  112|    330|        } while (true);
  ------------------
  |  Branch (112:18): [True: 256, Folded]
  ------------------
  113|       |
  114|       |        // put back the last non-comment character
  115|     74|        if (c != EndOfInput)
  ------------------
  |  Branch (115:13): [True: 72, False: 2]
  ------------------
  116|     72|            unget();
  117|       |
  118|     74|        return true;
  119|  10.6k|    } else if (c == '*') {
  ------------------
  |  Branch (119:16): [True: 0, False: 10.6k]
  ------------------
  120|       |
  121|       |        // a '/*' style comment
  122|      0|        get();  // consume the '*'
  123|      0|        c = get();
  124|      0|        do {
  125|      0|            while (c != EndOfInput && c != '*')
  ------------------
  |  Branch (125:20): [True: 0, False: 0]
  |  Branch (125:39): [True: 0, False: 0]
  ------------------
  126|      0|                c = get();
  127|      0|            if (c == '*') {
  ------------------
  |  Branch (127:17): [True: 0, False: 0]
  ------------------
  128|      0|                c = get();
  129|      0|                if (c == '/')
  ------------------
  |  Branch (129:21): [True: 0, False: 0]
  ------------------
  130|      0|                    break;  // end of comment
  131|       |                // not end of comment
  132|      0|            } else // end of input
  133|      0|                break;
  134|      0|        } while (true);
  ------------------
  |  Branch (134:18): [True: 0, Folded]
  ------------------
  135|       |
  136|      0|        return true;
  137|  10.6k|    } else {
  138|       |        // it's not a comment, put the '/' back
  139|  10.6k|        unget();
  140|       |
  141|  10.6k|        return false;
  142|  10.6k|    }
  143|  10.7k|}
_ZN7glslang13TInputScanner24consumeWhitespaceCommentERb:
  147|  2.13M|{
  148|  2.13M|    do {
  149|  2.13M|        consumeWhiteSpace(foundNonSpaceTab);
  150|       |
  151|       |        // if not starting a comment now, then done
  152|  2.13M|        int c = peek();
  153|  2.13M|        if (c != '/' || c == EndOfInput)
  ------------------
  |  Branch (153:13): [True: 2.12M, False: 10.7k]
  |  Branch (153:25): [True: 0, False: 10.7k]
  ------------------
  154|  2.12M|            return;
  155|       |
  156|       |        // skip potential comment
  157|  10.7k|        foundNonSpaceTab = true;
  158|  10.7k|        if (! consumeComment())
  ------------------
  |  Branch (158:13): [True: 10.6k, False: 74]
  ------------------
  159|  10.6k|            return;
  160|       |
  161|  10.7k|    } while (true);
  ------------------
  |  Branch (161:14): [True: 74, Folded]
  ------------------
  162|  2.13M|}
_ZN7glslang13TInputScanner11scanVersionERiR8EProfileRb:
  176|    121|{
  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|    121|    bool versionNotFirst = false;  // means not first WRT comments and white space, nothing more
  182|    121|    notFirstToken = false;         // means not first WRT to real tokens
  183|    121|    version = 0;                   // means not found
  184|    121|    profile = ENoProfile;
  185|       |
  186|    121|    bool foundNonSpaceTab = false;
  187|    121|    bool lookingInMiddle = false;
  188|    121|    int c;
  189|  2.13M|    do {
  190|  2.13M|        if (lookingInMiddle) {
  ------------------
  |  Branch (190:13): [True: 2.13M, False: 121]
  ------------------
  191|  2.13M|            notFirstToken = true;
  192|       |            // make forward progress by finishing off the current line plus extra new lines
  193|  2.13M|            if (peek() != '\n' && peek() != '\r') {
  ------------------
  |  Branch (193:17): [True: 357k, False: 1.77M]
  |  Branch (193:35): [True: 349k, False: 7.80k]
  ------------------
  194|  27.5M|                do {
  195|  27.5M|                    c = get();
  196|  27.5M|                } while (c != EndOfInput && c != '\n' && c != '\r');
  ------------------
  |  Branch (196:26): [True: 27.5M, False: 97]
  |  Branch (196:45): [True: 27.1M, False: 322k]
  |  Branch (196:58): [True: 27.1M, False: 27.1k]
  ------------------
  197|   349k|            }
  198|  8.37M|            while (peek() == '\n' || peek() == '\r')
  ------------------
  |  Branch (198:20): [True: 5.01M, False: 3.35M]
  |  Branch (198:38): [True: 1.22M, False: 2.13M]
  ------------------
  199|  6.24M|                get();
  200|  2.13M|            if (peek() == EndOfInput)
  ------------------
  |  Branch (200:17): [True: 110, False: 2.13M]
  ------------------
  201|    110|                return true;
  202|  2.13M|        }
  203|  2.13M|        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|  2.13M|        consumeWhitespaceComment(foundNonSpaceTab);
  208|  2.13M|        if (foundNonSpaceTab)
  ------------------
  |  Branch (208:13): [True: 284k, False: 1.84M]
  ------------------
  209|   284k|            versionNotFirst = true;
  210|       |
  211|       |        // "#"
  212|  2.13M|        if (get() != '#') {
  ------------------
  |  Branch (212:13): [True: 2.06M, False: 64.9k]
  ------------------
  213|  2.06M|            versionNotFirst = true;
  214|  2.06M|            continue;
  215|  2.06M|        }
  216|       |
  217|       |        // whitespace
  218|  64.9k|        do {
  219|  64.9k|            c = get();
  220|  64.9k|        } while (c == ' ' || c == '\t');
  ------------------
  |  Branch (220:18): [True: 13, False: 64.9k]
  |  Branch (220:30): [True: 0, False: 64.9k]
  ------------------
  221|       |
  222|       |        // "version"
  223|  64.9k|        if (    c != 'v' ||
  ------------------
  |  Branch (223:17): [True: 64.9k, False: 12]
  ------------------
  224|     12|            get() != 'e' ||
  ------------------
  |  Branch (224:13): [True: 1, False: 11]
  ------------------
  225|     11|            get() != 'r' ||
  ------------------
  |  Branch (225:13): [True: 0, False: 11]
  ------------------
  226|     11|            get() != 's' ||
  ------------------
  |  Branch (226:13): [True: 0, False: 11]
  ------------------
  227|     11|            get() != 'i' ||
  ------------------
  |  Branch (227:13): [True: 0, False: 11]
  ------------------
  228|     11|            get() != 'o' ||
  ------------------
  |  Branch (228:13): [True: 0, False: 11]
  ------------------
  229|  64.9k|            get() != 'n') {
  ------------------
  |  Branch (229:13): [True: 0, False: 11]
  ------------------
  230|  64.9k|            versionNotFirst = true;
  231|  64.9k|            continue;
  232|  64.9k|        }
  233|       |
  234|       |        // whitespace
  235|     22|        do {
  236|     22|            c = get();
  237|     22|        } while (c == ' ' || c == '\t');
  ------------------
  |  Branch (237:18): [True: 11, False: 11]
  |  Branch (237:30): [True: 0, False: 11]
  ------------------
  238|       |
  239|       |        // version number
  240|     44|        while (c >= '0' && c <= '9') {
  ------------------
  |  Branch (240:16): [True: 33, False: 11]
  |  Branch (240:28): [True: 33, False: 0]
  ------------------
  241|     33|            version = 10 * version + (c - '0');
  242|     33|            c = get();
  243|     33|        }
  244|     11|        if (version == 0) {
  ------------------
  |  Branch (244:13): [True: 0, False: 11]
  ------------------
  245|      0|            versionNotFirst = true;
  246|      0|            continue;
  247|      0|        }
  248|       |
  249|       |        // whitespace
  250|     19|        while (c == ' ' || c == '\t')
  ------------------
  |  Branch (250:16): [True: 8, False: 11]
  |  Branch (250:28): [True: 0, False: 11]
  ------------------
  251|      8|            c = get();
  252|       |
  253|       |        // profile
  254|     11|        const int maxProfileLength = 13;  // not including any 0
  255|     11|        char profileString[maxProfileLength];
  256|     11|        int profileLength;
  257|     43|        for (profileLength = 0; profileLength < maxProfileLength; ++profileLength) {
  ------------------
  |  Branch (257:33): [True: 43, False: 0]
  ------------------
  258|     43|            if (c == EndOfInput || c == ' ' || c == '\t' || c == '\n' || c == '\r')
  ------------------
  |  Branch (258:17): [True: 0, False: 43]
  |  Branch (258:36): [True: 0, False: 43]
  |  Branch (258:48): [True: 0, False: 43]
  |  Branch (258:61): [True: 9, False: 34]
  |  Branch (258:74): [True: 2, False: 32]
  ------------------
  259|     11|                break;
  260|     32|            profileString[profileLength] = (char)c;
  261|     32|            c = get();
  262|     32|        }
  263|     11|        if (c != EndOfInput && c != ' ' && c != '\t' && c != '\n' && c != '\r') {
  ------------------
  |  Branch (263:13): [True: 11, False: 0]
  |  Branch (263:32): [True: 11, False: 0]
  |  Branch (263:44): [True: 11, False: 0]
  |  Branch (263:57): [True: 2, False: 9]
  |  Branch (263:70): [True: 0, False: 2]
  ------------------
  264|      0|            versionNotFirst = true;
  265|      0|            continue;
  266|      0|        }
  267|       |
  268|     11|        if (profileLength == 2 && strncmp(profileString, "es", profileLength) == 0)
  ------------------
  |  Branch (268:13): [True: 0, False: 11]
  |  Branch (268:35): [True: 0, False: 0]
  ------------------
  269|      0|            profile = EEsProfile;
  270|     11|        else if (profileLength == 4 && strncmp(profileString, "core", profileLength) == 0)
  ------------------
  |  Branch (270:18): [True: 8, False: 3]
  |  Branch (270:40): [True: 8, False: 0]
  ------------------
  271|      8|            profile = ECoreProfile;
  272|      3|        else if (profileLength == 13 && strncmp(profileString, "compatibility", profileLength) == 0)
  ------------------
  |  Branch (272:18): [True: 0, False: 3]
  |  Branch (272:41): [True: 0, False: 0]
  ------------------
  273|      0|            profile = ECompatibilityProfile;
  274|       |
  275|     11|        return versionNotFirst;
  276|  2.13M|    } while (true);
  ------------------
  |  Branch (276:14): [True: 2.13M, Folded]
  ------------------
  277|    121|}
_Z5yylexP7YYSTYPERN7glslang13TParseContextE:
  294|  5.33M|{
  295|  5.33M|    glslang::TParserToken token(*glslangTokenDesc);
  296|       |
  297|  5.33M|    return parseContext.getScanContext()->tokenize(parseContext.getPpContext(), token);
  298|  5.33M|}
_ZN7glslang12TScanContext8tokenizeEPNS_10TPpContextERNS_12TParserTokenE:
  859|  5.33M|{
  860|  5.55M|    do {
  861|  5.55M|        parserToken = &token;
  862|  5.55M|        TPpToken ppToken;
  863|  5.55M|        int token = pp->tokenize(ppToken);
  864|  5.55M|        if (token == EndOfInput)
  ------------------
  |  Branch (864:13): [True: 610, False: 5.55M]
  ------------------
  865|    610|            return 0;
  866|       |
  867|  5.55M|        tokenText = ppToken.name;
  868|  5.55M|        loc = ppToken.loc;
  869|  5.55M|        parserToken->sType.lex.loc = loc;
  870|  5.55M|        switch (token) {
  871|   566k|        case ';':  afterType = false; afterBuffer = false; inDeclaratorList = false; afterDeclarator = false; angleBracketDepth = 0; squareBracketDepth = 0; parenDepth = 0; return SEMICOLON;
  ------------------
  |  Branch (871:9): [True: 566k, False: 4.98M]
  ------------------
  872|   739k|        case ',':
  ------------------
  |  Branch (872:9): [True: 739k, False: 4.81M]
  ------------------
  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|   739k|            if (afterDeclarator) {
  ------------------
  |  Branch (877:17): [True: 0, False: 739k]
  ------------------
  878|      0|                inDeclaratorList = true;
  879|      0|            }
  880|   739k|            afterType = false;
  881|   739k|            afterDeclarator = false;
  882|   739k|            return COMMA;
  883|      0|        case ':':                       return COLON;
  ------------------
  |  Branch (883:9): [True: 0, False: 5.55M]
  ------------------
  884|  5.81k|        case '=':  afterType = false; inDeclaratorList = false; afterDeclarator = false; return EQUAL;
  ------------------
  |  Branch (884:9): [True: 5.81k, False: 5.54M]
  ------------------
  885|   551k|        case '(':  afterType = false; inDeclaratorList = false; afterDeclarator = false; parenDepth++; return LEFT_PAREN;
  ------------------
  |  Branch (885:9): [True: 551k, False: 5.00M]
  ------------------
  886|   551k|        case ')':  afterType = false; inDeclaratorList = false; afterDeclarator = false; if (parenDepth > 0) parenDepth--; return RIGHT_PAREN;
  ------------------
  |  Branch (886:9): [True: 551k, False: 5.00M]
  |  Branch (886:94): [True: 551k, False: 0]
  ------------------
  887|  1.48k|        case '.':  field = true;        return DOT;
  ------------------
  |  Branch (887:9): [True: 1.48k, False: 5.55M]
  ------------------
  888|      0|        case '!':                       return BANG;
  ------------------
  |  Branch (888:9): [True: 0, False: 5.55M]
  ------------------
  889|    118|        case '-':                       return DASH;
  ------------------
  |  Branch (889:9): [True: 118, False: 5.55M]
  ------------------
  890|      0|        case '~':                       return TILDE;
  ------------------
  |  Branch (890:9): [True: 0, False: 5.55M]
  ------------------
  891|      3|        case '+':                       return PLUS;
  ------------------
  |  Branch (891:9): [True: 3, False: 5.55M]
  ------------------
  892|      0|        case '*':                       return STAR;
  ------------------
  |  Branch (892:9): [True: 0, False: 5.55M]
  ------------------
  893|      0|        case '/':                       return SLASH;
  ------------------
  |  Branch (893:9): [True: 0, False: 5.55M]
  ------------------
  894|      0|        case '%':                       return PERCENT;
  ------------------
  |  Branch (894:9): [True: 0, False: 5.55M]
  ------------------
  895|     60|        case '<':                       angleBracketDepth++; return LEFT_ANGLE;
  ------------------
  |  Branch (895:9): [True: 60, False: 5.55M]
  ------------------
  896|     61|        case '>':                       if (angleBracketDepth > 0) angleBracketDepth--; return RIGHT_ANGLE;
  ------------------
  |  Branch (896:9): [True: 61, False: 5.55M]
  |  Branch (896:45): [True: 60, False: 1]
  ------------------
  897|      0|        case '|':                       return VERTICAL_BAR;
  ------------------
  |  Branch (897:9): [True: 0, False: 5.55M]
  ------------------
  898|      0|        case '^':                       return CARET;
  ------------------
  |  Branch (898:9): [True: 0, False: 5.55M]
  ------------------
  899|      0|        case '&':                       return AMPERSAND;
  ------------------
  |  Branch (899:9): [True: 0, False: 5.55M]
  ------------------
  900|      0|        case '?':                       return QUESTION;
  ------------------
  |  Branch (900:9): [True: 0, False: 5.55M]
  ------------------
  901|  10.7k|        case '[':                       squareBracketDepth++; return LEFT_BRACKET;
  ------------------
  |  Branch (901:9): [True: 10.7k, False: 5.54M]
  ------------------
  902|  10.7k|        case ']':                       if (squareBracketDepth > 0) squareBracketDepth--; return RIGHT_BRACKET;
  ------------------
  |  Branch (902:9): [True: 10.7k, False: 5.54M]
  |  Branch (902:45): [True: 10.7k, False: 0]
  ------------------
  903|    366|        case '{':  afterStruct = false; afterBuffer = false; inDeclaratorList = false; afterDeclarator = false; angleBracketDepth = 0; squareBracketDepth = 0; parenDepth = 0; return LEFT_BRACE;
  ------------------
  |  Branch (903:9): [True: 366, False: 5.55M]
  ------------------
  904|    354|        case '}':  inDeclaratorList = false; afterDeclarator = false; angleBracketDepth = 0; squareBracketDepth = 0; parenDepth = 0; return RIGHT_BRACE;
  ------------------
  |  Branch (904:9): [True: 354, False: 5.55M]
  ------------------
  905|      0|        case '\\':
  ------------------
  |  Branch (905:9): [True: 0, False: 5.55M]
  ------------------
  906|      0|            parseContext.error(loc, "illegal use of escape character", "\\", "");
  907|      0|            break;
  908|       |
  909|  1.62k|        case PPAtomAddAssign:          return ADD_ASSIGN;
  ------------------
  |  Branch (909:9): [True: 1.62k, False: 5.55M]
  ------------------
  910|      0|        case PPAtomSubAssign:          return SUB_ASSIGN;
  ------------------
  |  Branch (910:9): [True: 0, False: 5.55M]
  ------------------
  911|      0|        case PPAtomMulAssign:          return MUL_ASSIGN;
  ------------------
  |  Branch (911:9): [True: 0, False: 5.55M]
  ------------------
  912|      0|        case PPAtomDivAssign:          return DIV_ASSIGN;
  ------------------
  |  Branch (912:9): [True: 0, False: 5.55M]
  ------------------
  913|      0|        case PPAtomModAssign:          return MOD_ASSIGN;
  ------------------
  |  Branch (913:9): [True: 0, False: 5.55M]
  ------------------
  914|       |
  915|      0|        case PpAtomRight:              return RIGHT_OP;
  ------------------
  |  Branch (915:9): [True: 0, False: 5.55M]
  ------------------
  916|      0|        case PpAtomLeft:               return LEFT_OP;
  ------------------
  |  Branch (916:9): [True: 0, False: 5.55M]
  ------------------
  917|       |
  918|      0|        case PpAtomRightAssign:        return RIGHT_ASSIGN;
  ------------------
  |  Branch (918:9): [True: 0, False: 5.55M]
  ------------------
  919|      0|        case PpAtomLeftAssign:         return LEFT_ASSIGN;
  ------------------
  |  Branch (919:9): [True: 0, False: 5.55M]
  ------------------
  920|      0|        case PpAtomAndAssign:          return AND_ASSIGN;
  ------------------
  |  Branch (920:9): [True: 0, False: 5.55M]
  ------------------
  921|      0|        case PpAtomOrAssign:           return OR_ASSIGN;
  ------------------
  |  Branch (921:9): [True: 0, False: 5.55M]
  ------------------
  922|      0|        case PpAtomXorAssign:          return XOR_ASSIGN;
  ------------------
  |  Branch (922:9): [True: 0, False: 5.55M]
  ------------------
  923|       |
  924|      0|        case PpAtomAnd:                return AND_OP;
  ------------------
  |  Branch (924:9): [True: 0, False: 5.55M]
  ------------------
  925|      0|        case PpAtomOr:                 return OR_OP;
  ------------------
  |  Branch (925:9): [True: 0, False: 5.55M]
  ------------------
  926|      0|        case PpAtomXor:                return XOR_OP;
  ------------------
  |  Branch (926:9): [True: 0, False: 5.55M]
  ------------------
  927|       |
  928|      0|        case PpAtomEQ:                 return EQ_OP;
  ------------------
  |  Branch (928:9): [True: 0, False: 5.55M]
  ------------------
  929|      0|        case PpAtomGE:                 return GE_OP;
  ------------------
  |  Branch (929:9): [True: 0, False: 5.55M]
  ------------------
  930|      0|        case PpAtomNE:                 return NE_OP;
  ------------------
  |  Branch (930:9): [True: 0, False: 5.55M]
  ------------------
  931|      0|        case PpAtomLE:                 return LE_OP;
  ------------------
  |  Branch (931:9): [True: 0, False: 5.55M]
  ------------------
  932|       |
  933|      0|        case PpAtomDecrement:          return DEC_OP;
  ------------------
  |  Branch (933:9): [True: 0, False: 5.55M]
  ------------------
  934|      0|        case PpAtomIncrement:          return INC_OP;
  ------------------
  |  Branch (934:9): [True: 0, False: 5.55M]
  ------------------
  935|       |
  936|     12|        case PpAtomColonColon:
  ------------------
  |  Branch (936:9): [True: 12, False: 5.55M]
  ------------------
  937|     12|            parseContext.error(loc, "not supported", "::", "");
  938|     12|            break;
  939|       |
  940|      0|        case PpAtomConstString:        parserToken->sType.lex.string = NewPoolTString(tokenText);     return STRING_LITERAL;
  ------------------
  |  Branch (940:9): [True: 0, False: 5.55M]
  ------------------
  941|  9.33k|        case PpAtomConstInt:           parserToken->sType.lex.i    = ppToken.ival;       return INTCONSTANT;
  ------------------
  |  Branch (941:9): [True: 9.33k, False: 5.54M]
  ------------------
  942|    322|        case PpAtomConstUint:          parserToken->sType.lex.i    = ppToken.ival;       return UINTCONSTANT;
  ------------------
  |  Branch (942:9): [True: 322, False: 5.55M]
  ------------------
  943|    219|        case PpAtomConstFloat:         parserToken->sType.lex.d    = ppToken.dval;       return FLOATCONSTANT;
  ------------------
  |  Branch (943:9): [True: 219, False: 5.55M]
  ------------------
  944|      0|        case PpAtomConstInt16:         parserToken->sType.lex.i    = ppToken.ival;       return INT16CONSTANT;
  ------------------
  |  Branch (944:9): [True: 0, False: 5.55M]
  ------------------
  945|      0|        case PpAtomConstUint16:        parserToken->sType.lex.i    = ppToken.ival;       return UINT16CONSTANT;
  ------------------
  |  Branch (945:9): [True: 0, False: 5.55M]
  ------------------
  946|      0|        case PpAtomConstInt64:         parserToken->sType.lex.i64  = ppToken.i64val;     return INT64CONSTANT;
  ------------------
  |  Branch (946:9): [True: 0, False: 5.55M]
  ------------------
  947|      0|        case PpAtomConstUint64:        parserToken->sType.lex.i64  = ppToken.i64val;     return UINT64CONSTANT;
  ------------------
  |  Branch (947:9): [True: 0, False: 5.55M]
  ------------------
  948|      0|        case PpAtomConstDouble:        parserToken->sType.lex.d    = ppToken.dval;       return DOUBLECONSTANT;
  ------------------
  |  Branch (948:9): [True: 0, False: 5.55M]
  ------------------
  949|      0|        case PpAtomConstFloat16:       parserToken->sType.lex.d    = ppToken.dval;       return FLOAT16CONSTANT;
  ------------------
  |  Branch (949:9): [True: 0, False: 5.55M]
  ------------------
  950|      0|        case PpAtomConstFloatE2M1:     parserToken->sType.lex.d    = ppToken.dval;       return FLOATE2M1CONSTANT;
  ------------------
  |  Branch (950:9): [True: 0, False: 5.55M]
  ------------------
  951|      0|        case PpAtomConstFloatE3M2:     parserToken->sType.lex.d    = ppToken.dval;       return FLOATE3M2CONSTANT;
  ------------------
  |  Branch (951:9): [True: 0, False: 5.55M]
  ------------------
  952|      0|        case PpAtomConstFloatE2M3:     parserToken->sType.lex.d    = ppToken.dval;       return FLOATE2M3CONSTANT;
  ------------------
  |  Branch (952:9): [True: 0, False: 5.55M]
  ------------------
  953|      0|        case PpAtomConstFloatUE8M0:    parserToken->sType.lex.d    = ppToken.dval;       return FLOATUE8M0CONSTANT;
  ------------------
  |  Branch (953:9): [True: 0, False: 5.55M]
  ------------------
  954|      0|        case PpAtomConstFloatMXINT8:   parserToken->sType.lex.d    = ppToken.dval;       return FLOATMXINT8CONSTANT;
  ------------------
  |  Branch (954:9): [True: 0, False: 5.55M]
  ------------------
  955|  2.88M|        case PpAtomIdentifier:
  ------------------
  |  Branch (955:9): [True: 2.88M, False: 2.67M]
  ------------------
  956|  2.88M|        {
  957|  2.88M|            int token = tokenizeIdentifier();
  958|  2.88M|            field = false;
  959|  2.88M|            return token;
  960|      0|        }
  961|       |
  962|      0|        case EndOfInput:               return 0;
  ------------------
  |  Branch (962:9): [True: 0, False: 5.55M]
  ------------------
  963|       |
  964|   223k|        default:
  ------------------
  |  Branch (964:9): [True: 223k, False: 5.33M]
  ------------------
  965|   223k|            char buf[2];
  966|   223k|            buf[0] = (char)token;
  967|   223k|            buf[1] = 0;
  968|   223k|            parseContext.error(loc, "unexpected token", buf, "");
  969|   223k|            break;
  970|  5.55M|        }
  971|  5.55M|    } while (true);
  ------------------
  |  Branch (971:14): [True: 223k, Folded]
  ------------------
  972|  5.33M|}
_ZN7glslang12TScanContext18tokenizeIdentifierEv:
  975|  2.88M|{
  976|  2.88M|    if (ReservedSet.find(tokenText) != ReservedSet.end())
  ------------------
  |  Branch (976:9): [True: 0, False: 2.88M]
  ------------------
  977|      0|        return reservedWord();
  978|       |
  979|  2.88M|    auto it = KeywordMap.find(tokenText);
  980|  2.88M|    if (it == KeywordMap.end()) {
  ------------------
  |  Branch (980:9): [True: 718k, False: 2.16M]
  ------------------
  981|       |        // Should have an identifier of some sort
  982|   718k|        return identifierOrType();
  983|   718k|    }
  984|  2.16M|    keyword = it->second;
  985|       |
  986|  2.16M|    switch (keyword) {
  987|  4.66k|    case CONST:
  ------------------
  |  Branch (987:5): [True: 4.66k, False: 2.15M]
  ------------------
  988|  5.07k|    case UNIFORM:
  ------------------
  |  Branch (988:5): [True: 412, False: 2.16M]
  ------------------
  989|  5.07k|    case TILEIMAGEEXT:
  ------------------
  |  Branch (989:5): [True: 0, False: 2.16M]
  ------------------
  990|  13.9k|    case IN:
  ------------------
  |  Branch (990:5): [True: 8.88k, False: 2.15M]
  ------------------
  991|  27.2k|    case OUT:
  ------------------
  |  Branch (991:5): [True: 13.3k, False: 2.14M]
  ------------------
  992|  27.9k|    case INOUT:
  ------------------
  |  Branch (992:5): [True: 700, False: 2.16M]
  ------------------
  993|  27.9k|    case BREAK:
  ------------------
  |  Branch (993:5): [True: 0, False: 2.16M]
  ------------------
  994|  27.9k|    case CONTINUE:
  ------------------
  |  Branch (994:5): [True: 0, False: 2.16M]
  ------------------
  995|  27.9k|    case DO:
  ------------------
  |  Branch (995:5): [True: 0, False: 2.16M]
  ------------------
  996|  27.9k|    case FOR:
  ------------------
  |  Branch (996:5): [True: 0, False: 2.16M]
  ------------------
  997|  27.9k|    case WHILE:
  ------------------
  |  Branch (997:5): [True: 0, False: 2.16M]
  ------------------
  998|  27.9k|    case IF:
  ------------------
  |  Branch (998:5): [True: 0, False: 2.16M]
  ------------------
  999|  27.9k|    case ELSE:
  ------------------
  |  Branch (999:5): [True: 0, False: 2.16M]
  ------------------
 1000|  27.9k|    case DISCARD:
  ------------------
  |  Branch (1000:5): [True: 0, False: 2.16M]
  ------------------
 1001|  28.2k|    case RETURN:
  ------------------
  |  Branch (1001:5): [True: 234, False: 2.16M]
  ------------------
 1002|  28.2k|    case CASE:
  ------------------
  |  Branch (1002:5): [True: 0, False: 2.16M]
  ------------------
 1003|  28.2k|        return keyword;
 1004|       |
 1005|      0|    case TERMINATE_INVOCATION:
  ------------------
  |  Branch (1005:5): [True: 0, False: 2.16M]
  ------------------
 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: 2.16M]
  ------------------
 1011|      0|    case IGNORE_INTERSECTION:
  ------------------
  |  Branch (1011:5): [True: 0, False: 2.16M]
  ------------------
 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: 2.16M]
  ------------------
 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|     10|    case STRUCT:
  ------------------
  |  Branch (1024:5): [True: 10, False: 2.16M]
  ------------------
 1025|     10|        afterStruct = true;
 1026|     10|        return keyword;
 1027|       |
 1028|      0|    case SWITCH:
  ------------------
  |  Branch (1028:5): [True: 0, False: 2.16M]
  ------------------
 1029|      0|    case DEFAULT:
  ------------------
  |  Branch (1029:5): [True: 0, False: 2.16M]
  ------------------
 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|  13.5k|    case VOID:
  ------------------
  |  Branch (1035:5): [True: 13.5k, False: 2.14M]
  ------------------
 1036|  31.6k|    case BOOL:
  ------------------
  |  Branch (1036:5): [True: 18.0k, False: 2.14M]
  ------------------
 1037|   123k|    case FLOAT:
  ------------------
  |  Branch (1037:5): [True: 91.9k, False: 2.07M]
  ------------------
 1038|   366k|    case INT:
  ------------------
  |  Branch (1038:5): [True: 243k, False: 1.91M]
  ------------------
 1039|   378k|    case BVEC2:
  ------------------
  |  Branch (1039:5): [True: 11.8k, False: 2.15M]
  ------------------
 1040|   390k|    case BVEC3:
  ------------------
  |  Branch (1040:5): [True: 11.8k, False: 2.15M]
  ------------------
 1041|   402k|    case BVEC4:
  ------------------
  |  Branch (1041:5): [True: 11.8k, False: 2.15M]
  ------------------
 1042|   477k|    case VEC2:
  ------------------
  |  Branch (1042:5): [True: 75.6k, False: 2.08M]
  ------------------
 1043|   542k|    case VEC3:
  ------------------
  |  Branch (1043:5): [True: 64.8k, False: 2.09M]
  ------------------
 1044|   624k|    case VEC4:
  ------------------
  |  Branch (1044:5): [True: 81.1k, False: 2.08M]
  ------------------
 1045|   705k|    case IVEC2:
  ------------------
  |  Branch (1045:5): [True: 81.5k, False: 2.08M]
  ------------------
 1046|   766k|    case IVEC3:
  ------------------
  |  Branch (1046:5): [True: 60.7k, False: 2.10M]
  ------------------
 1047|   816k|    case IVEC4:
  ------------------
  |  Branch (1047:5): [True: 50.6k, False: 2.11M]
  ------------------
 1048|   817k|    case MAT2:
  ------------------
  |  Branch (1048:5): [True: 684, False: 2.16M]
  ------------------
 1049|   818k|    case MAT3:
  ------------------
  |  Branch (1049:5): [True: 684, False: 2.16M]
  ------------------
 1050|   818k|    case MAT4:
  ------------------
  |  Branch (1050:5): [True: 684, False: 2.16M]
  ------------------
 1051|   827k|    case SAMPLER2D:
  ------------------
  |  Branch (1051:5): [True: 8.69k, False: 2.15M]
  ------------------
 1052|   828k|    case SAMPLERCUBE:
  ------------------
  |  Branch (1052:5): [True: 1.12k, False: 2.16M]
  ------------------
 1053|   828k|        afterType = true;
 1054|   828k|        return keyword;
 1055|       |
 1056|      0|    case BOOLCONSTANT:
  ------------------
  |  Branch (1056:5): [True: 0, False: 2.16M]
  ------------------
 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: 2.16M]
  ------------------
 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|  2.37k|    case FLAT:
  ------------------
  |  Branch (1068:5): [True: 2.37k, False: 2.16M]
  ------------------
 1069|  2.37k|        if (parseContext.isEsProfile() && parseContext.version < 300)
  ------------------
  |  Branch (1069:13): [True: 0, False: 2.37k]
  |  Branch (1069:43): [True: 0, False: 0]
  ------------------
 1070|      0|            reservedWord();
 1071|  2.37k|        else if (!parseContext.isEsProfile() && parseContext.version < 130)
  ------------------
  |  Branch (1071:18): [True: 2.37k, False: 0]
  |  Branch (1071:49): [True: 0, False: 2.37k]
  ------------------
 1072|      0|            return identifierOrType();
 1073|  2.37k|        return keyword;
 1074|      0|    case CENTROID:
  ------------------
  |  Branch (1074:5): [True: 0, False: 2.16M]
  ------------------
 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: 2.16M]
  ------------------
 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: 2.16M]
  ------------------
 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: 2.16M]
  ------------------
 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: 2.16M]
  ------------------
 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: 2.16M]
  ------------------
 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: 2.16M]
  ------------------
 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: 2.16M]
  ------------------
 1111|      0|    case VARYING:
  ------------------
  |  Branch (1111:5): [True: 0, False: 2.16M]
  ------------------
 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: 2.16M]
  ------------------
 1116|      0|    case PAYLOADINNV:
  ------------------
  |  Branch (1116:5): [True: 0, False: 2.16M]
  ------------------
 1117|      0|    case HITATTRNV:
  ------------------
  |  Branch (1117:5): [True: 0, False: 2.16M]
  ------------------
 1118|      0|    case CALLDATANV:
  ------------------
  |  Branch (1118:5): [True: 0, False: 2.16M]
  ------------------
 1119|      0|    case CALLDATAINNV:
  ------------------
  |  Branch (1119:5): [True: 0, False: 2.16M]
  ------------------
 1120|      0|    case ACCSTRUCTNV:
  ------------------
  |  Branch (1120:5): [True: 0, False: 2.16M]
  ------------------
 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: 2.16M]
  ------------------
 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: 2.16M]
  ------------------
 1133|      0|    case PAYLOADINEXT:
  ------------------
  |  Branch (1133:5): [True: 0, False: 2.16M]
  ------------------
 1134|      0|    case HITATTREXT:
  ------------------
  |  Branch (1134:5): [True: 0, False: 2.16M]
  ------------------
 1135|      0|    case CALLDATAEXT:
  ------------------
  |  Branch (1135:5): [True: 0, False: 2.16M]
  ------------------
 1136|      0|    case CALLDATAINEXT:
  ------------------
  |  Branch (1136:5): [True: 0, False: 2.16M]
  ------------------
 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: 2.16M]
  ------------------
 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: 2.16M]
  ------------------
 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|  59.0k|    case COHERENT:
  ------------------
  |  Branch (1154:5): [True: 59.0k, False: 2.10M]
  ------------------
 1155|  59.0k|    case DEVICECOHERENT:
  ------------------
  |  Branch (1155:5): [True: 0, False: 2.16M]
  ------------------
 1156|  59.0k|    case QUEUEFAMILYCOHERENT:
  ------------------
  |  Branch (1156:5): [True: 0, False: 2.16M]
  ------------------
 1157|  59.0k|    case WORKGROUPCOHERENT:
  ------------------
  |  Branch (1157:5): [True: 0, False: 2.16M]
  ------------------
 1158|  59.0k|    case SUBGROUPCOHERENT:
  ------------------
  |  Branch (1158:5): [True: 0, False: 2.16M]
  ------------------
 1159|  59.0k|    case SHADERCALLCOHERENT:
  ------------------
  |  Branch (1159:5): [True: 0, False: 2.16M]
  ------------------
 1160|  59.0k|    case NONPRIVATE:
  ------------------
  |  Branch (1160:5): [True: 0, False: 2.16M]
  ------------------
 1161|  59.0k|    case RESTRICT:
  ------------------
  |  Branch (1161:5): [True: 0, False: 2.16M]
  ------------------
 1162|  64.0k|    case READONLY:
  ------------------
  |  Branch (1162:5): [True: 5.01k, False: 2.15M]
  ------------------
 1163|  68.7k|    case WRITEONLY:
  ------------------
  |  Branch (1163:5): [True: 4.62k, False: 2.15M]
  ------------------
 1164|  68.7k|        if (parseContext.isEsProfile() && parseContext.version >= 310)
  ------------------
  |  Branch (1164:13): [True: 0, False: 68.7k]
  |  Branch (1164:43): [True: 0, False: 0]
  ------------------
 1165|      0|            return keyword;
 1166|  68.7k|        return es30ReservedFromGLSL(parseContext.extensionTurnedOn(E_GL_ARB_shader_image_load_store) ? 130 : 420);
  ------------------
  |  Branch (1166:37): [True: 0, False: 68.7k]
  ------------------
 1167|  59.9k|    case VOLATILE:
  ------------------
  |  Branch (1167:5): [True: 59.9k, False: 2.10M]
  ------------------
 1168|  59.9k|        if (parseContext.isEsProfile() && parseContext.version >= 310)
  ------------------
  |  Branch (1168:13): [True: 0, False: 59.9k]
  |  Branch (1168:43): [True: 0, False: 0]
  ------------------
 1169|      0|            return keyword;
 1170|  59.9k|        if (! parseContext.symbolTable.atBuiltInLevel() && (parseContext.isEsProfile() ||
  ------------------
  |  Branch (1170:13): [True: 0, False: 59.9k]
  |  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|  59.9k|        return keyword;
 1174|  58.1k|    case NONTEMPORAL:
  ------------------
  |  Branch (1174:5): [True: 58.1k, False: 2.10M]
  ------------------
 1175|  58.1k|        if (parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (1175:13): [True: 58.1k, False: 0]
  ------------------
 1176|  58.1k|            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|     64|    case PATCH:
  ------------------
  |  Branch (1183:5): [True: 64, False: 2.16M]
  ------------------
 1184|     64|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1184:13): [True: 64, 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|     64|            return keyword;
 1190|       |
 1191|      0|        return es30ReservedFromGLSL(400);
 1192|       |
 1193|      0|    case SAMPLE:
  ------------------
  |  Branch (1193:5): [True: 0, False: 2.16M]
  ------------------
 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: 2.16M]
  ------------------
 1204|      0|        return es30ReservedFromGLSL(400);
 1205|       |
 1206|      0|    case SHARED:
  ------------------
  |  Branch (1206:5): [True: 0, False: 2.16M]
  ------------------
 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|    402|    case LAYOUT:
  ------------------
  |  Branch (1211:5): [True: 402, False: 2.16M]
  ------------------
 1212|    402|    {
 1213|    402|        const int numLayoutExts = 2;
 1214|    402|        const char* layoutExts[numLayoutExts] = { E_GL_ARB_shading_language_420pack,
 1215|    402|                                                  E_GL_ARB_explicit_attrib_location };
 1216|    402|        if ((parseContext.isEsProfile() && parseContext.version < 300) ||
  ------------------
  |  Branch (1216:14): [True: 0, False: 402]
  |  Branch (1216:44): [True: 0, False: 0]
  ------------------
 1217|    402|            (!parseContext.isEsProfile() && parseContext.version < 140 &&
  ------------------
  |  Branch (1217:14): [True: 402, False: 0]
  |  Branch (1217:45): [True: 0, False: 402]
  ------------------
 1218|      0|            ! parseContext.extensionsTurnedOn(numLayoutExts, layoutExts)))
  ------------------
  |  Branch (1218:13): [True: 0, False: 0]
  ------------------
 1219|      0|            return identifierOrType();
 1220|    402|        return keyword;
 1221|    402|    }
 1222|       |
 1223|  98.4k|    case HIGH_PRECISION:
  ------------------
  |  Branch (1223:5): [True: 98.4k, False: 2.06M]
  ------------------
 1224|  99.3k|    case MEDIUM_PRECISION:
  ------------------
  |  Branch (1224:5): [True: 972, False: 2.16M]
  ------------------
 1225|  99.7k|    case LOW_PRECISION:
  ------------------
  |  Branch (1225:5): [True: 320, False: 2.16M]
  ------------------
 1226|  99.7k|    case PRECISION:
  ------------------
  |  Branch (1226:5): [True: 0, False: 2.16M]
  ------------------
 1227|  99.7k|        return precisionKeyword();
 1228|       |
 1229|      0|    case MAT2X2:
  ------------------
  |  Branch (1229:5): [True: 0, False: 2.16M]
  ------------------
 1230|    654|    case MAT2X3:
  ------------------
  |  Branch (1230:5): [True: 654, False: 2.16M]
  ------------------
 1231|  1.30k|    case MAT2X4:
  ------------------
  |  Branch (1231:5): [True: 654, False: 2.16M]
  ------------------
 1232|  1.96k|    case MAT3X2:
  ------------------
  |  Branch (1232:5): [True: 654, False: 2.16M]
  ------------------
 1233|  1.96k|    case MAT3X3:
  ------------------
  |  Branch (1233:5): [True: 0, False: 2.16M]
  ------------------
 1234|  2.61k|    case MAT3X4:
  ------------------
  |  Branch (1234:5): [True: 654, False: 2.16M]
  ------------------
 1235|  3.27k|    case MAT4X2:
  ------------------
  |  Branch (1235:5): [True: 654, False: 2.16M]
  ------------------
 1236|  3.92k|    case MAT4X3:
  ------------------
  |  Branch (1236:5): [True: 654, False: 2.16M]
  ------------------
 1237|  3.92k|    case MAT4X4:
  ------------------
  |  Branch (1237:5): [True: 0, False: 2.16M]
  ------------------
 1238|  3.92k|        return matNxM();
 1239|       |
 1240|     90|    case DMAT2:
  ------------------
  |  Branch (1240:5): [True: 90, False: 2.16M]
  ------------------
 1241|    180|    case DMAT3:
  ------------------
  |  Branch (1241:5): [True: 90, False: 2.16M]
  ------------------
 1242|    270|    case DMAT4:
  ------------------
  |  Branch (1242:5): [True: 90, False: 2.16M]
  ------------------
 1243|    270|    case DMAT2X2:
  ------------------
  |  Branch (1243:5): [True: 0, False: 2.16M]
  ------------------
 1244|    330|    case DMAT2X3:
  ------------------
  |  Branch (1244:5): [True: 60, False: 2.16M]
  ------------------
 1245|    390|    case DMAT2X4:
  ------------------
  |  Branch (1245:5): [True: 60, False: 2.16M]
  ------------------
 1246|    450|    case DMAT3X2:
  ------------------
  |  Branch (1246:5): [True: 60, False: 2.16M]
  ------------------
 1247|    450|    case DMAT3X3:
  ------------------
  |  Branch (1247:5): [True: 0, False: 2.16M]
  ------------------
 1248|    510|    case DMAT3X4:
  ------------------
  |  Branch (1248:5): [True: 60, False: 2.16M]
  ------------------
 1249|    570|    case DMAT4X2:
  ------------------
  |  Branch (1249:5): [True: 60, False: 2.16M]
  ------------------
 1250|    630|    case DMAT4X3:
  ------------------
  |  Branch (1250:5): [True: 60, False: 2.16M]
  ------------------
 1251|    630|    case DMAT4X4:
  ------------------
  |  Branch (1251:5): [True: 0, False: 2.16M]
  ------------------
 1252|    630|        return dMat();
 1253|       |
 1254|    329|    case IMAGE1D:
  ------------------
  |  Branch (1254:5): [True: 329, False: 2.16M]
  ------------------
 1255|  2.52k|    case IIMAGE1D:
  ------------------
  |  Branch (1255:5): [True: 2.19k, False: 2.16M]
  ------------------
 1256|  4.71k|    case UIMAGE1D:
  ------------------
  |  Branch (1256:5): [True: 2.19k, False: 2.16M]
  ------------------
 1257|  5.04k|    case IMAGE1DARRAY:
  ------------------
  |  Branch (1257:5): [True: 329, False: 2.16M]
  ------------------
 1258|  7.24k|    case IIMAGE1DARRAY:
  ------------------
  |  Branch (1258:5): [True: 2.19k, False: 2.16M]
  ------------------
 1259|  9.43k|    case UIMAGE1DARRAY:
  ------------------
  |  Branch (1259:5): [True: 2.19k, False: 2.16M]
  ------------------
 1260|  9.76k|    case IMAGE2DRECT:
  ------------------
  |  Branch (1260:5): [True: 324, False: 2.16M]
  ------------------
 1261|  11.9k|    case IIMAGE2DRECT:
  ------------------
  |  Branch (1261:5): [True: 2.19k, False: 2.16M]
  ------------------
 1262|  14.1k|    case UIMAGE2DRECT:
  ------------------
  |  Branch (1262:5): [True: 2.19k, False: 2.16M]
  ------------------
 1263|  14.1k|        afterType = true;
 1264|  14.1k|        return firstGenerationImage(false);
 1265|       |
 1266|    115|    case I64IMAGE1D:
  ------------------
  |  Branch (1266:5): [True: 115, False: 2.16M]
  ------------------
 1267|    230|    case U64IMAGE1D:
  ------------------
  |  Branch (1267:5): [True: 115, False: 2.16M]
  ------------------
 1268|    345|    case I64IMAGE1DARRAY:
  ------------------
  |  Branch (1268:5): [True: 115, False: 2.16M]
  ------------------
 1269|    460|    case U64IMAGE1DARRAY:
  ------------------
  |  Branch (1269:5): [True: 115, False: 2.16M]
  ------------------
 1270|    570|    case I64IMAGE2DRECT:
  ------------------
  |  Branch (1270:5): [True: 110, False: 2.16M]
  ------------------
 1271|    680|    case U64IMAGE2DRECT:
  ------------------
  |  Branch (1271:5): [True: 110, False: 2.16M]
  ------------------
 1272|    680|        afterType = true;
 1273|    680|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1273:13): [True: 680, False: 0]
  ------------------
 1274|    680|            parseContext.extensionTurnedOn(E_GL_EXT_shader_image_int64)) {
  ------------------
  |  Branch (1274:13): [True: 0, False: 0]
  ------------------
 1275|    680|            return firstGenerationImage(false);
 1276|    680|        }
 1277|      0|        return identifierOrType();
 1278|       |
 1279|    319|    case IMAGEBUFFER:
  ------------------
  |  Branch (1279:5): [True: 319, False: 2.16M]
  ------------------
 1280|  2.50k|    case IIMAGEBUFFER:
  ------------------
  |  Branch (1280:5): [True: 2.18k, False: 2.16M]
  ------------------
 1281|  4.68k|    case UIMAGEBUFFER:
  ------------------
  |  Branch (1281:5): [True: 2.18k, False: 2.16M]
  ------------------
 1282|  4.68k|        afterType = true;
 1283|  4.68k|        if ((parseContext.isEsProfile() && parseContext.version >= 320) ||
  ------------------
  |  Branch (1283:14): [True: 0, False: 4.68k]
  |  Branch (1283:44): [True: 0, False: 0]
  ------------------
 1284|  4.68k|            parseContext.extensionsTurnedOn(Num_AEP_texture_buffer, AEP_texture_buffer))
  ------------------
  |  Branch (1284:13): [True: 0, False: 4.68k]
  ------------------
 1285|      0|            return keyword;
 1286|  4.68k|        return firstGenerationImage(false);
 1287|       |
 1288|    105|    case I64IMAGEBUFFER:
  ------------------
  |  Branch (1288:5): [True: 105, False: 2.16M]
  ------------------
 1289|    210|    case U64IMAGEBUFFER:
  ------------------
  |  Branch (1289:5): [True: 105, False: 2.16M]
  ------------------
 1290|    210|        afterType = true;
 1291|    210|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1291:13): [True: 210, False: 0]
  ------------------
 1292|    210|            parseContext.extensionTurnedOn(E_GL_EXT_shader_image_int64)) {
  ------------------
  |  Branch (1292:13): [True: 0, False: 0]
  ------------------
 1293|    210|            if ((parseContext.isEsProfile() && parseContext.version >= 320) ||
  ------------------
  |  Branch (1293:18): [True: 0, False: 210]
  |  Branch (1293:48): [True: 0, False: 0]
  ------------------
 1294|    210|                parseContext.extensionsTurnedOn(Num_AEP_texture_buffer, AEP_texture_buffer))
  ------------------
  |  Branch (1294:17): [True: 0, False: 210]
  ------------------
 1295|      0|                return keyword;
 1296|    210|            return firstGenerationImage(false);
 1297|    210|        }
 1298|      0|        return identifierOrType();
 1299|       |
 1300|    339|    case IMAGE2D:
  ------------------
  |  Branch (1300:5): [True: 339, False: 2.16M]
  ------------------
 1301|  2.54k|    case IIMAGE2D:
  ------------------
  |  Branch (1301:5): [True: 2.20k, False: 2.16M]
  ------------------
 1302|  4.74k|    case UIMAGE2D:
  ------------------
  |  Branch (1302:5): [True: 2.20k, False: 2.16M]
  ------------------
 1303|  5.08k|    case IMAGE3D:
  ------------------
  |  Branch (1303:5): [True: 339, False: 2.16M]
  ------------------
 1304|  7.29k|    case IIMAGE3D:
  ------------------
  |  Branch (1304:5): [True: 2.20k, False: 2.16M]
  ------------------
 1305|  9.49k|    case UIMAGE3D:
  ------------------
  |  Branch (1305:5): [True: 2.20k, False: 2.16M]
  ------------------
 1306|  9.83k|    case IMAGECUBE:
  ------------------
  |  Branch (1306:5): [True: 339, False: 2.16M]
  ------------------
 1307|  12.0k|    case IIMAGECUBE:
  ------------------
  |  Branch (1307:5): [True: 2.20k, False: 2.16M]
  ------------------
 1308|  14.2k|    case UIMAGECUBE:
  ------------------
  |  Branch (1308:5): [True: 2.20k, False: 2.16M]
  ------------------
 1309|  14.5k|    case IMAGE2DARRAY:
  ------------------
  |  Branch (1309:5): [True: 339, False: 2.16M]
  ------------------
 1310|  16.7k|    case IIMAGE2DARRAY:
  ------------------
  |  Branch (1310:5): [True: 2.20k, False: 2.16M]
  ------------------
 1311|  18.9k|    case UIMAGE2DARRAY:
  ------------------
  |  Branch (1311:5): [True: 2.20k, False: 2.16M]
  ------------------
 1312|  18.9k|        afterType = true;
 1313|  18.9k|        return firstGenerationImage(true);
 1314|       |
 1315|    125|    case I64IMAGE2D:
  ------------------
  |  Branch (1315:5): [True: 125, False: 2.16M]
  ------------------
 1316|    250|    case U64IMAGE2D:
  ------------------
  |  Branch (1316:5): [True: 125, False: 2.16M]
  ------------------
 1317|    375|    case I64IMAGE3D:
  ------------------
  |  Branch (1317:5): [True: 125, False: 2.16M]
  ------------------
 1318|    500|    case U64IMAGE3D:
  ------------------
  |  Branch (1318:5): [True: 125, False: 2.16M]
  ------------------
 1319|    625|    case I64IMAGECUBE:
  ------------------
  |  Branch (1319:5): [True: 125, False: 2.16M]
  ------------------
 1320|    750|    case U64IMAGECUBE:
  ------------------
  |  Branch (1320:5): [True: 125, False: 2.16M]
  ------------------
 1321|    875|    case I64IMAGE2DARRAY:
  ------------------
  |  Branch (1321:5): [True: 125, False: 2.16M]
  ------------------
 1322|  1.00k|    case U64IMAGE2DARRAY:
  ------------------
  |  Branch (1322:5): [True: 125, False: 2.16M]
  ------------------
 1323|  1.00k|        afterType = true;
 1324|  1.00k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1324:13): [True: 1.00k, False: 0]
  ------------------
 1325|      0|            parseContext.extensionTurnedOn(E_GL_EXT_shader_image_int64))
  ------------------
  |  Branch (1325:13): [True: 0, False: 0]
  ------------------
 1326|  1.00k|            return firstGenerationImage(true);
 1327|      0|        return identifierOrType();
 1328|       |
 1329|    339|    case IMAGECUBEARRAY:
  ------------------
  |  Branch (1329:5): [True: 339, False: 2.16M]
  ------------------
 1330|  2.54k|    case IIMAGECUBEARRAY:
  ------------------
  |  Branch (1330:5): [True: 2.20k, False: 2.16M]
  ------------------
 1331|  4.74k|    case UIMAGECUBEARRAY:
  ------------------
  |  Branch (1331:5): [True: 2.20k, False: 2.16M]
  ------------------
 1332|  4.74k|        afterType = true;
 1333|  4.74k|        if ((parseContext.isEsProfile() && parseContext.version >= 320) ||
  ------------------
  |  Branch (1333:14): [True: 0, False: 4.74k]
  |  Branch (1333:44): [True: 0, False: 0]
  ------------------
 1334|  4.74k|            parseContext.extensionsTurnedOn(Num_AEP_texture_cube_map_array, AEP_texture_cube_map_array))
  ------------------
  |  Branch (1334:13): [True: 0, False: 4.74k]
  ------------------
 1335|      0|            return keyword;
 1336|  4.74k|        return secondGenerationImage();
 1337|       |
 1338|    125|    case I64IMAGECUBEARRAY:
  ------------------
  |  Branch (1338:5): [True: 125, False: 2.16M]
  ------------------
 1339|    250|    case U64IMAGECUBEARRAY:
  ------------------
  |  Branch (1339:5): [True: 125, False: 2.16M]
  ------------------
 1340|    250|        afterType = true;
 1341|    250|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1341:13): [True: 250, False: 0]
  ------------------
 1342|    250|            parseContext.extensionTurnedOn(E_GL_EXT_shader_image_int64)) {
  ------------------
  |  Branch (1342:13): [True: 0, False: 0]
  ------------------
 1343|    250|            if ((parseContext.isEsProfile() && parseContext.version >= 320) ||
  ------------------
  |  Branch (1343:18): [True: 0, False: 250]
  |  Branch (1343:48): [True: 0, False: 0]
  ------------------
 1344|    250|                parseContext.extensionsTurnedOn(Num_AEP_texture_cube_map_array, AEP_texture_cube_map_array))
  ------------------
  |  Branch (1344:17): [True: 0, False: 250]
  ------------------
 1345|      0|                return keyword;
 1346|    250|            return secondGenerationImage();
 1347|    250|        }
 1348|      0|        return identifierOrType();
 1349|       |
 1350|    329|    case IMAGE2DMS:
  ------------------
  |  Branch (1350:5): [True: 329, False: 2.16M]
  ------------------
 1351|  2.52k|    case IIMAGE2DMS:
  ------------------
  |  Branch (1351:5): [True: 2.19k, False: 2.16M]
  ------------------
 1352|  4.71k|    case UIMAGE2DMS:
  ------------------
  |  Branch (1352:5): [True: 2.19k, False: 2.16M]
  ------------------
 1353|  5.04k|    case IMAGE2DMSARRAY:
  ------------------
  |  Branch (1353:5): [True: 329, False: 2.16M]
  ------------------
 1354|  7.24k|    case IIMAGE2DMSARRAY:
  ------------------
  |  Branch (1354:5): [True: 2.19k, False: 2.16M]
  ------------------
 1355|  9.43k|    case UIMAGE2DMSARRAY:
  ------------------
  |  Branch (1355:5): [True: 2.19k, False: 2.16M]
  ------------------
 1356|  9.43k|        afterType = true;
 1357|  9.43k|        return secondGenerationImage();
 1358|       |
 1359|    115|    case I64IMAGE2DMS:
  ------------------
  |  Branch (1359:5): [True: 115, False: 2.16M]
  ------------------
 1360|    230|    case U64IMAGE2DMS:
  ------------------
  |  Branch (1360:5): [True: 115, False: 2.16M]
  ------------------
 1361|    345|    case I64IMAGE2DMSARRAY:
  ------------------
  |  Branch (1361:5): [True: 115, False: 2.16M]
  ------------------
 1362|    460|    case U64IMAGE2DMSARRAY:
  ------------------
  |  Branch (1362:5): [True: 115, False: 2.16M]
  ------------------
 1363|    460|        afterType = true;
 1364|    460|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1364:13): [True: 460, False: 0]
  ------------------
 1365|    460|            parseContext.extensionTurnedOn(E_GL_EXT_shader_image_int64)) {
  ------------------
  |  Branch (1365:13): [True: 0, False: 0]
  ------------------
 1366|    460|            return secondGenerationImage();
 1367|    460|        }
 1368|      0|        return identifierOrType();
 1369|       |
 1370|  2.40k|    case DOUBLE:
  ------------------
  |  Branch (1370:5): [True: 2.40k, False: 2.16M]
  ------------------
 1371|  4.52k|    case DVEC2:
  ------------------
  |  Branch (1371:5): [True: 2.11k, False: 2.16M]
  ------------------
 1372|  6.65k|    case DVEC3:
  ------------------
  |  Branch (1372:5): [True: 2.12k, False: 2.16M]
  ------------------
 1373|  8.76k|    case DVEC4:
  ------------------
  |  Branch (1373:5): [True: 2.11k, False: 2.16M]
  ------------------
 1374|  8.76k|        afterType = true;
 1375|  8.76k|        if (parseContext.isEsProfile() || parseContext.version < 150 ||
  ------------------
  |  Branch (1375:13): [True: 0, False: 8.76k]
  |  Branch (1375:43): [True: 0, False: 8.76k]
  ------------------
 1376|  8.76k|            (!parseContext.symbolTable.atBuiltInLevel() &&
  ------------------
  |  Branch (1376:14): [True: 0, False: 8.76k]
  ------------------
 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|  8.76k|        return keyword;
 1381|       |
 1382|  18.2k|    case INT64_T:
  ------------------
  |  Branch (1382:5): [True: 18.2k, False: 2.14M]
  ------------------
 1383|  39.6k|    case UINT64_T:
  ------------------
  |  Branch (1383:5): [True: 21.4k, False: 2.14M]
  ------------------
 1384|  55.2k|    case I64VEC2:
  ------------------
  |  Branch (1384:5): [True: 15.6k, False: 2.14M]
  ------------------
 1385|  70.8k|    case I64VEC3:
  ------------------
  |  Branch (1385:5): [True: 15.5k, False: 2.14M]
  ------------------
 1386|  86.7k|    case I64VEC4:
  ------------------
  |  Branch (1386:5): [True: 15.8k, False: 2.14M]
  ------------------
 1387|   102k|    case U64VEC2:
  ------------------
  |  Branch (1387:5): [True: 15.7k, False: 2.14M]
  ------------------
 1388|   118k|    case U64VEC3:
  ------------------
  |  Branch (1388:5): [True: 15.7k, False: 2.14M]
  ------------------
 1389|   134k|    case U64VEC4:
  ------------------
  |  Branch (1389:5): [True: 16.0k, False: 2.14M]
  ------------------
 1390|   134k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1390:13): [True: 134k, 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|   134k|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int64)) {
  ------------------
  |  Branch (1394:13): [True: 0, False: 0]
  ------------------
 1395|   134k|            afterType = true;
 1396|   134k|            return keyword;
 1397|   134k|        }
 1398|      0|        return identifierOrType();
 1399|       |
 1400|  14.3k|    case INT8_T:
  ------------------
  |  Branch (1400:5): [True: 14.3k, False: 2.14M]
  ------------------
 1401|  28.6k|    case UINT8_T:
  ------------------
  |  Branch (1401:5): [True: 14.2k, False: 2.14M]
  ------------------
 1402|  42.5k|    case I8VEC2:
  ------------------
  |  Branch (1402:5): [True: 13.9k, False: 2.14M]
  ------------------
 1403|  56.4k|    case I8VEC3:
  ------------------
  |  Branch (1403:5): [True: 13.8k, False: 2.14M]
  ------------------
 1404|  70.3k|    case I8VEC4:
  ------------------
  |  Branch (1404:5): [True: 13.9k, False: 2.14M]
  ------------------
 1405|  84.2k|    case U8VEC2:
  ------------------
  |  Branch (1405:5): [True: 13.8k, False: 2.14M]
  ------------------
 1406|  98.0k|    case U8VEC3:
  ------------------
  |  Branch (1406:5): [True: 13.8k, False: 2.14M]
  ------------------
 1407|   111k|    case U8VEC4:
  ------------------
  |  Branch (1407:5): [True: 13.8k, False: 2.14M]
  ------------------
 1408|   111k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1408:13): [True: 111k, 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|   111k|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int8)) {
  ------------------
  |  Branch (1412:13): [True: 0, False: 0]
  ------------------
 1413|   111k|            afterType = true;
 1414|   111k|            return keyword;
 1415|   111k|        }
 1416|      0|        return identifierOrType();
 1417|       |
 1418|  16.1k|    case INT16_T:
  ------------------
  |  Branch (1418:5): [True: 16.1k, False: 2.14M]
  ------------------
 1419|  32.2k|    case UINT16_T:
  ------------------
  |  Branch (1419:5): [True: 16.1k, False: 2.14M]
  ------------------
 1420|  47.9k|    case I16VEC2:
  ------------------
  |  Branch (1420:5): [True: 15.6k, False: 2.14M]
  ------------------
 1421|  63.5k|    case I16VEC3:
  ------------------
  |  Branch (1421:5): [True: 15.6k, False: 2.14M]
  ------------------
 1422|  79.2k|    case I16VEC4:
  ------------------
  |  Branch (1422:5): [True: 15.6k, False: 2.14M]
  ------------------
 1423|  95.1k|    case U16VEC2:
  ------------------
  |  Branch (1423:5): [True: 15.8k, False: 2.14M]
  ------------------
 1424|   110k|    case U16VEC3:
  ------------------
  |  Branch (1424:5): [True: 15.8k, False: 2.14M]
  ------------------
 1425|   126k|    case U16VEC4:
  ------------------
  |  Branch (1425:5): [True: 15.8k, False: 2.14M]
  ------------------
 1426|   126k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1426:13): [True: 126k, 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|   126k|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int16)) {
  ------------------
  |  Branch (1431:13): [True: 0, False: 0]
  ------------------
 1432|   126k|            afterType = true;
 1433|   126k|            return keyword;
 1434|   126k|        }
 1435|      0|        return identifierOrType();
 1436|    400|    case INT32_T:
  ------------------
  |  Branch (1436:5): [True: 400, False: 2.16M]
  ------------------
 1437|    810|    case UINT32_T:
  ------------------
  |  Branch (1437:5): [True: 410, False: 2.16M]
  ------------------
 1438|    840|    case I32VEC2:
  ------------------
  |  Branch (1438:5): [True: 30, False: 2.16M]
  ------------------
 1439|    860|    case I32VEC3:
  ------------------
  |  Branch (1439:5): [True: 20, False: 2.16M]
  ------------------
 1440|    880|    case I32VEC4:
  ------------------
  |  Branch (1440:5): [True: 20, False: 2.16M]
  ------------------
 1441|    920|    case U32VEC2:
  ------------------
  |  Branch (1441:5): [True: 40, False: 2.16M]
  ------------------
 1442|    960|    case U32VEC3:
  ------------------
  |  Branch (1442:5): [True: 40, False: 2.16M]
  ------------------
 1443|    980|    case U32VEC4:
  ------------------
  |  Branch (1443:5): [True: 20, False: 2.16M]
  ------------------
 1444|    980|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1444:13): [True: 980, 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|    980|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int32)) {
  ------------------
  |  Branch (1447:13): [True: 0, False: 0]
  ------------------
 1448|    980|            afterType = true;
 1449|    980|            return keyword;
 1450|    980|        }
 1451|      0|        return identifierOrType();
 1452|    380|    case FLOAT32_T:
  ------------------
  |  Branch (1452:5): [True: 380, False: 2.16M]
  ------------------
 1453|    400|    case F32VEC2:
  ------------------
  |  Branch (1453:5): [True: 20, False: 2.16M]
  ------------------
 1454|    420|    case F32VEC3:
  ------------------
  |  Branch (1454:5): [True: 20, False: 2.16M]
  ------------------
 1455|    440|    case F32VEC4:
  ------------------
  |  Branch (1455:5): [True: 20, False: 2.16M]
  ------------------
 1456|    440|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1456:13): [True: 440, 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|    440|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float32)) {
  ------------------
  |  Branch (1459:13): [True: 0, False: 0]
  ------------------
 1460|    440|            afterType = true;
 1461|    440|            return keyword;
 1462|    440|        }
 1463|      0|        return identifierOrType();
 1464|      0|    case F32MAT2:
  ------------------
  |  Branch (1464:5): [True: 0, False: 2.16M]
  ------------------
 1465|      0|    case F32MAT3:
  ------------------
  |  Branch (1465:5): [True: 0, False: 2.16M]
  ------------------
 1466|      0|    case F32MAT4:
  ------------------
  |  Branch (1466:5): [True: 0, False: 2.16M]
  ------------------
 1467|      0|    case F32MAT2X2:
  ------------------
  |  Branch (1467:5): [True: 0, False: 2.16M]
  ------------------
 1468|      0|    case F32MAT2X3:
  ------------------
  |  Branch (1468:5): [True: 0, False: 2.16M]
  ------------------
 1469|      0|    case F32MAT2X4:
  ------------------
  |  Branch (1469:5): [True: 0, False: 2.16M]
  ------------------
 1470|      0|    case F32MAT3X2:
  ------------------
  |  Branch (1470:5): [True: 0, False: 2.16M]
  ------------------
 1471|      0|    case F32MAT3X3:
  ------------------
  |  Branch (1471:5): [True: 0, False: 2.16M]
  ------------------
 1472|      0|    case F32MAT3X4:
  ------------------
  |  Branch (1472:5): [True: 0, False: 2.16M]
  ------------------
 1473|      0|    case F32MAT4X2:
  ------------------
  |  Branch (1473:5): [True: 0, False: 2.16M]
  ------------------
 1474|      0|    case F32MAT4X3:
  ------------------
  |  Branch (1474:5): [True: 0, False: 2.16M]
  ------------------
 1475|      0|    case F32MAT4X4:
  ------------------
  |  Branch (1475:5): [True: 0, False: 2.16M]
  ------------------
 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|  1.17k|    case FLOAT64_T:
  ------------------
  |  Branch (1484:5): [True: 1.17k, False: 2.16M]
  ------------------
 1485|  2.12k|    case F64VEC2:
  ------------------
  |  Branch (1485:5): [True: 942, False: 2.16M]
  ------------------
 1486|  3.01k|    case F64VEC3:
  ------------------
  |  Branch (1486:5): [True: 898, False: 2.16M]
  ------------------
 1487|  3.91k|    case F64VEC4:
  ------------------
  |  Branch (1487:5): [True: 898, False: 2.16M]
  ------------------
 1488|  3.91k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1488:13): [True: 3.91k, 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|  3.91k|             parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float64)) {
  ------------------
  |  Branch (1492:14): [True: 0, False: 0]
  ------------------
 1493|  3.91k|            afterType = true;
 1494|  3.91k|            return keyword;
 1495|  3.91k|        }
 1496|      0|        return identifierOrType();
 1497|      0|    case F64MAT2:
  ------------------
  |  Branch (1497:5): [True: 0, False: 2.16M]
  ------------------
 1498|      0|    case F64MAT3:
  ------------------
  |  Branch (1498:5): [True: 0, False: 2.16M]
  ------------------
 1499|      0|    case F64MAT4:
  ------------------
  |  Branch (1499:5): [True: 0, False: 2.16M]
  ------------------
 1500|      0|    case F64MAT2X2:
  ------------------
  |  Branch (1500:5): [True: 0, False: 2.16M]
  ------------------
 1501|      0|    case F64MAT2X3:
  ------------------
  |  Branch (1501:5): [True: 0, False: 2.16M]
  ------------------
 1502|      0|    case F64MAT2X4:
  ------------------
  |  Branch (1502:5): [True: 0, False: 2.16M]
  ------------------
 1503|      0|    case F64MAT3X2:
  ------------------
  |  Branch (1503:5): [True: 0, False: 2.16M]
  ------------------
 1504|      0|    case F64MAT3X3:
  ------------------
  |  Branch (1504:5): [True: 0, False: 2.16M]
  ------------------
 1505|      0|    case F64MAT3X4:
  ------------------
  |  Branch (1505:5): [True: 0, False: 2.16M]
  ------------------
 1506|      0|    case F64MAT4X2:
  ------------------
  |  Branch (1506:5): [True: 0, False: 2.16M]
  ------------------
 1507|      0|    case F64MAT4X3:
  ------------------
  |  Branch (1507:5): [True: 0, False: 2.16M]
  ------------------
 1508|      0|    case F64MAT4X4:
  ------------------
  |  Branch (1508:5): [True: 0, False: 2.16M]
  ------------------
 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|  19.3k|    case FLOAT16_T:
  ------------------
  |  Branch (1517:5): [True: 19.3k, False: 2.14M]
  ------------------
 1518|  34.1k|    case F16VEC2:
  ------------------
  |  Branch (1518:5): [True: 14.8k, False: 2.14M]
  ------------------
 1519|  47.5k|    case F16VEC3:
  ------------------
  |  Branch (1519:5): [True: 13.3k, False: 2.14M]
  ------------------
 1520|  68.0k|    case F16VEC4:
  ------------------
  |  Branch (1520:5): [True: 20.5k, False: 2.14M]
  ------------------
 1521|  68.0k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1521:13): [True: 68.0k, 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|  68.0k|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float16)) {
  ------------------
  |  Branch (1526:13): [True: 0, False: 0]
  ------------------
 1527|  68.0k|            afterType = true;
 1528|  68.0k|            return keyword;
 1529|  68.0k|        }
 1530|      0|        return identifierOrType();
 1531|       |
 1532|     45|    case F16MAT2:
  ------------------
  |  Branch (1532:5): [True: 45, False: 2.16M]
  ------------------
 1533|     90|    case F16MAT3:
  ------------------
  |  Branch (1533:5): [True: 45, False: 2.16M]
  ------------------
 1534|    135|    case F16MAT4:
  ------------------
  |  Branch (1534:5): [True: 45, False: 2.16M]
  ------------------
 1535|    135|    case F16MAT2X2:
  ------------------
  |  Branch (1535:5): [True: 0, False: 2.16M]
  ------------------
 1536|    165|    case F16MAT2X3:
  ------------------
  |  Branch (1536:5): [True: 30, False: 2.16M]
  ------------------
 1537|    195|    case F16MAT2X4:
  ------------------
  |  Branch (1537:5): [True: 30, False: 2.16M]
  ------------------
 1538|    225|    case F16MAT3X2:
  ------------------
  |  Branch (1538:5): [True: 30, False: 2.16M]
  ------------------
 1539|    225|    case F16MAT3X3:
  ------------------
  |  Branch (1539:5): [True: 0, False: 2.16M]
  ------------------
 1540|    255|    case F16MAT3X4:
  ------------------
  |  Branch (1540:5): [True: 30, False: 2.16M]
  ------------------
 1541|    285|    case F16MAT4X2:
  ------------------
  |  Branch (1541:5): [True: 30, False: 2.16M]
  ------------------
 1542|    315|    case F16MAT4X3:
  ------------------
  |  Branch (1542:5): [True: 30, False: 2.16M]
  ------------------
 1543|    315|    case F16MAT4X4:
  ------------------
  |  Branch (1543:5): [True: 0, False: 2.16M]
  ------------------
 1544|    315|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1544:13): [True: 315, 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|    315|            parseContext.extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float16)) {
  ------------------
  |  Branch (1547:13): [True: 0, False: 0]
  ------------------
 1548|    315|            afterType = true;
 1549|    315|            return keyword;
 1550|    315|        }
 1551|       |
 1552|      0|        return identifierOrType();
 1553|       |
 1554|     90|    case BFLOAT16_T:
  ------------------
  |  Branch (1554:5): [True: 90, False: 2.16M]
  ------------------
 1555|    140|    case BF16VEC2:
  ------------------
  |  Branch (1555:5): [True: 50, False: 2.16M]
  ------------------
 1556|    170|    case BF16VEC3:
  ------------------
  |  Branch (1556:5): [True: 30, False: 2.16M]
  ------------------
 1557|    220|    case BF16VEC4:
  ------------------
  |  Branch (1557:5): [True: 50, False: 2.16M]
  ------------------
 1558|    220|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1558:13): [True: 220, False: 0]
  ------------------
 1559|    220|            parseContext.extensionTurnedOn(E_GL_EXT_bfloat16)) {
  ------------------
  |  Branch (1559:13): [True: 0, False: 0]
  ------------------
 1560|    220|            afterType = true;
 1561|    220|            return keyword;
 1562|    220|        }
 1563|       |
 1564|      0|        return identifierOrType();
 1565|       |
 1566|     60|    case FLOATE5M2_T:
  ------------------
  |  Branch (1566:5): [True: 60, False: 2.16M]
  ------------------
 1567|    100|    case FE5M2VEC2:
  ------------------
  |  Branch (1567:5): [True: 40, False: 2.16M]
  ------------------
 1568|    120|    case FE5M2VEC3:
  ------------------
  |  Branch (1568:5): [True: 20, False: 2.16M]
  ------------------
 1569|    160|    case FE5M2VEC4:
  ------------------
  |  Branch (1569:5): [True: 40, False: 2.16M]
  ------------------
 1570|    160|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1570:13): [True: 160, False: 0]
  ------------------
 1571|    160|            parseContext.extensionTurnedOn(E_GL_EXT_float_e5m2)) {
  ------------------
  |  Branch (1571:13): [True: 0, False: 0]
  ------------------
 1572|    160|            afterType = true;
 1573|    160|            return keyword;
 1574|    160|        }
 1575|       |
 1576|      0|        return identifierOrType();
 1577|       |
 1578|     60|    case FLOATE4M3_T:
  ------------------
  |  Branch (1578:5): [True: 60, False: 2.16M]
  ------------------
 1579|    100|    case FE4M3VEC2:
  ------------------
  |  Branch (1579:5): [True: 40, False: 2.16M]
  ------------------
 1580|    120|    case FE4M3VEC3:
  ------------------
  |  Branch (1580:5): [True: 20, False: 2.16M]
  ------------------
 1581|    160|    case FE4M3VEC4:
  ------------------
  |  Branch (1581:5): [True: 40, False: 2.16M]
  ------------------
 1582|    160|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1582:13): [True: 160, False: 0]
  ------------------
 1583|    160|            parseContext.extensionTurnedOn(E_GL_EXT_float_e4m3)) {
  ------------------
  |  Branch (1583:13): [True: 0, False: 0]
  ------------------
 1584|    160|            afterType = true;
 1585|    160|            return keyword;
 1586|    160|        }
 1587|       |
 1588|      0|        return identifierOrType();
 1589|       |
 1590|     25|    case FLOATE2M1_T:
  ------------------
  |  Branch (1590:5): [True: 25, False: 2.16M]
  ------------------
 1591|     40|    case FE2M1VEC2:
  ------------------
  |  Branch (1591:5): [True: 15, False: 2.16M]
  ------------------
 1592|     45|    case FE2M1VEC3:
  ------------------
  |  Branch (1592:5): [True: 5, False: 2.16M]
  ------------------
 1593|     60|    case FE2M1VEC4:
  ------------------
  |  Branch (1593:5): [True: 15, False: 2.16M]
  ------------------
 1594|     60|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1594:13): [True: 60, False: 0]
  ------------------
 1595|     60|            parseContext.extensionTurnedOn(E_GL_EXT_float_e2m1)) {
  ------------------
  |  Branch (1595:13): [True: 0, False: 0]
  ------------------
 1596|     60|            afterType = true;
 1597|     60|            return keyword;
 1598|     60|        }
 1599|       |
 1600|      0|        return identifierOrType();
 1601|       |
 1602|     25|    case FLOATE3M2_T:
  ------------------
  |  Branch (1602:5): [True: 25, False: 2.16M]
  ------------------
 1603|     30|    case FE3M2VEC2:
  ------------------
  |  Branch (1603:5): [True: 5, False: 2.16M]
  ------------------
 1604|     35|    case FE3M2VEC3:
  ------------------
  |  Branch (1604:5): [True: 5, False: 2.16M]
  ------------------
 1605|     50|    case FE3M2VEC4:
  ------------------
  |  Branch (1605:5): [True: 15, False: 2.16M]
  ------------------
 1606|     50|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1606:13): [True: 50, False: 0]
  ------------------
 1607|     50|            parseContext.extensionTurnedOn(E_GL_EXT_float_e3m2)) {
  ------------------
  |  Branch (1607:13): [True: 0, False: 0]
  ------------------
 1608|     50|            afterType = true;
 1609|     50|            return keyword;
 1610|     50|        }
 1611|       |
 1612|      0|        return identifierOrType();
 1613|       |
 1614|     25|    case FLOATE2M3_T:
  ------------------
  |  Branch (1614:5): [True: 25, False: 2.16M]
  ------------------
 1615|     30|    case FE2M3VEC2:
  ------------------
  |  Branch (1615:5): [True: 5, False: 2.16M]
  ------------------
 1616|     35|    case FE2M3VEC3:
  ------------------
  |  Branch (1616:5): [True: 5, False: 2.16M]
  ------------------
 1617|     50|    case FE2M3VEC4:
  ------------------
  |  Branch (1617:5): [True: 15, False: 2.16M]
  ------------------
 1618|     50|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1618:13): [True: 50, False: 0]
  ------------------
 1619|     50|            parseContext.extensionTurnedOn(E_GL_EXT_float_e2m3)) {
  ------------------
  |  Branch (1619:13): [True: 0, False: 0]
  ------------------
 1620|     50|            afterType = true;
 1621|     50|            return keyword;
 1622|     50|        }
 1623|       |
 1624|      0|        return identifierOrType();
 1625|       |
 1626|     20|    case FLOATUE8M0_T:
  ------------------
  |  Branch (1626:5): [True: 20, False: 2.16M]
  ------------------
 1627|     40|    case FUE8M0VEC2:
  ------------------
  |  Branch (1627:5): [True: 20, False: 2.16M]
  ------------------
 1628|     60|    case FUE8M0VEC3:
  ------------------
  |  Branch (1628:5): [True: 20, False: 2.16M]
  ------------------
 1629|     80|    case FUE8M0VEC4:
  ------------------
  |  Branch (1629:5): [True: 20, False: 2.16M]
  ------------------
 1630|     80|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1630:13): [True: 80, False: 0]
  ------------------
 1631|     80|            parseContext.extensionTurnedOn(E_GL_EXT_float_ue8m0)) {
  ------------------
  |  Branch (1631:13): [True: 0, False: 0]
  ------------------
 1632|     80|            afterType = true;
 1633|     80|            return keyword;
 1634|     80|        }
 1635|       |
 1636|      0|        return identifierOrType();
 1637|       |
 1638|     20|    case FLOATMXINT8_T:
  ------------------
  |  Branch (1638:5): [True: 20, False: 2.16M]
  ------------------
 1639|     40|    case FMXINT8VEC2:
  ------------------
  |  Branch (1639:5): [True: 20, False: 2.16M]
  ------------------
 1640|     60|    case FMXINT8VEC3:
  ------------------
  |  Branch (1640:5): [True: 20, False: 2.16M]
  ------------------
 1641|     80|    case FMXINT8VEC4:
  ------------------
  |  Branch (1641:5): [True: 20, False: 2.16M]
  ------------------
 1642|     80|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1642:13): [True: 80, False: 0]
  ------------------
 1643|     80|            parseContext.extensionTurnedOn(E_GL_EXT_float_mxint8)) {
  ------------------
  |  Branch (1643:13): [True: 0, False: 0]
  ------------------
 1644|     80|            afterType = true;
 1645|     80|            return keyword;
 1646|     80|        }
 1647|       |
 1648|      0|        return identifierOrType();
 1649|       |
 1650|  1.12k|    case SAMPLERCUBEARRAY:
  ------------------
  |  Branch (1650:5): [True: 1.12k, False: 2.16M]
  ------------------
 1651|  1.94k|    case SAMPLERCUBEARRAYSHADOW:
  ------------------
  |  Branch (1651:5): [True: 823, False: 2.16M]
  ------------------
 1652|  3.05k|    case ISAMPLERCUBEARRAY:
  ------------------
  |  Branch (1652:5): [True: 1.11k, False: 2.16M]
  ------------------
 1653|  4.16k|    case USAMPLERCUBEARRAY:
  ------------------
  |  Branch (1653:5): [True: 1.11k, False: 2.16M]
  ------------------
 1654|  4.16k|        afterType = true;
 1655|  4.16k|        if ((parseContext.isEsProfile() && parseContext.version >= 320) ||
  ------------------
  |  Branch (1655:14): [True: 0, False: 4.16k]
  |  Branch (1655:44): [True: 0, False: 0]
  ------------------
 1656|  4.16k|            parseContext.extensionsTurnedOn(Num_AEP_texture_cube_map_array, AEP_texture_cube_map_array))
  ------------------
  |  Branch (1656:13): [True: 0, False: 4.16k]
  ------------------
 1657|      0|            return keyword;
 1658|  4.16k|        if (parseContext.isEsProfile() || (parseContext.version < 400 &&
  ------------------
  |  Branch (1658:13): [True: 0, False: 4.16k]
  |  Branch (1658:44): [True: 2.70k, False: 1.46k]
  ------------------
 1659|  2.70k|            ! parseContext.extensionTurnedOn(E_GL_ARB_texture_cube_map_array)
  ------------------
  |  Branch (1659:13): [True: 2.70k, False: 0]
  ------------------
 1660|  2.70k|            && ! parseContext.extensionsTurnedOn(Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5)))
  ------------------
  |  Branch (1660:16): [True: 2.70k, False: 0]
  ------------------
 1661|  2.70k|            reservedWord();
 1662|  4.16k|        return keyword;
 1663|       |
 1664|    120|    case TEXTURECUBEARRAY:
  ------------------
  |  Branch (1664:5): [True: 120, False: 2.16M]
  ------------------
 1665|    234|    case ITEXTURECUBEARRAY:
  ------------------
  |  Branch (1665:5): [True: 114, False: 2.16M]
  ------------------
 1666|    348|    case UTEXTURECUBEARRAY:
  ------------------
  |  Branch (1666:5): [True: 114, False: 2.16M]
  ------------------
 1667|    348|        if (parseContext.spvVersion.vulkan > 0)
  ------------------
  |  Branch (1667:13): [True: 348, False: 0]
  ------------------
 1668|    348|            return keyword;
 1669|      0|        else
 1670|      0|            return identifierOrType();
 1671|       |
 1672|   154k|    case UINT:
  ------------------
  |  Branch (1672:5): [True: 154k, False: 2.00M]
  ------------------
 1673|   177k|    case UVEC2:
  ------------------
  |  Branch (1673:5): [True: 22.3k, False: 2.14M]
  ------------------
 1674|   197k|    case UVEC3:
  ------------------
  |  Branch (1674:5): [True: 20.4k, False: 2.14M]
  ------------------
 1675|   345k|    case UVEC4:
  ------------------
  |  Branch (1675:5): [True: 147k, False: 2.01M]
  ------------------
 1676|   346k|    case SAMPLERCUBESHADOW:
  ------------------
  |  Branch (1676:5): [True: 906, False: 2.16M]
  ------------------
 1677|   350k|    case SAMPLER2DARRAY:
  ------------------
  |  Branch (1677:5): [True: 4.66k, False: 2.15M]
  ------------------
 1678|   352k|    case SAMPLER2DARRAYSHADOW:
  ------------------
  |  Branch (1678:5): [True: 1.55k, False: 2.16M]
  ------------------
 1679|   359k|    case ISAMPLER2D:
  ------------------
  |  Branch (1679:5): [True: 7.01k, False: 2.15M]
  ------------------
 1680|   362k|    case ISAMPLER3D:
  ------------------
  |  Branch (1680:5): [True: 3.06k, False: 2.15M]
  ------------------
 1681|   363k|    case ISAMPLERCUBE:
  ------------------
  |  Branch (1681:5): [True: 1.11k, False: 2.16M]
  ------------------
 1682|   368k|    case ISAMPLER2DARRAY:
  ------------------
  |  Branch (1682:5): [True: 4.54k, False: 2.15M]
  ------------------
 1683|   375k|    case USAMPLER2D:
  ------------------
  |  Branch (1683:5): [True: 7.01k, False: 2.15M]
  ------------------
 1684|   378k|    case USAMPLER3D:
  ------------------
  |  Branch (1684:5): [True: 3.06k, False: 2.15M]
  ------------------
 1685|   379k|    case USAMPLERCUBE:
  ------------------
  |  Branch (1685:5): [True: 1.11k, False: 2.16M]
  ------------------
 1686|   383k|    case USAMPLER2DARRAY:
  ------------------
  |  Branch (1686:5): [True: 4.54k, False: 2.15M]
  ------------------
 1687|   383k|        afterType = true;
 1688|   383k|        if (keyword == SAMPLER2DARRAY || keyword == SAMPLER2DARRAYSHADOW) {
  ------------------
  |  Branch (1688:13): [True: 4.66k, False: 379k]
  |  Branch (1688:42): [True: 1.55k, False: 377k]
  ------------------
 1689|  6.21k|            if (!parseContext.isEsProfile() &&
  ------------------
  |  Branch (1689:17): [True: 6.21k, False: 0]
  ------------------
 1690|  6.21k|                (parseContext.extensionTurnedOn(E_GL_EXT_texture_array) || parseContext.symbolTable.atBuiltInLevel())) {
  ------------------
  |  Branch (1690:18): [True: 0, False: 6.21k]
  |  Branch (1690:76): [True: 6.19k, False: 18]
  ------------------
 1691|  6.19k|                return keyword;
 1692|  6.19k|            }
 1693|  6.21k|        }
 1694|   377k|        return nonreservedKeyword(300, 130);
 1695|       |
 1696|  3.09k|    case SAMPLER3D:
  ------------------
  |  Branch (1696:5): [True: 3.09k, False: 2.15M]
  ------------------
 1697|  3.09k|        afterType = true;
 1698|  3.09k|        if (parseContext.isEsProfile() && parseContext.version < 300) {
  ------------------
  |  Branch (1698:13): [True: 0, False: 3.09k]
  |  Branch (1698:43): [True: 0, False: 0]
  ------------------
 1699|      0|            if (!parseContext.extensionTurnedOn(E_GL_OES_texture_3D))
  ------------------
  |  Branch (1699:17): [True: 0, False: 0]
  ------------------
 1700|      0|                reservedWord();
 1701|      0|        }
 1702|  3.09k|        return keyword;
 1703|       |
 1704|  2.63k|    case SAMPLER2DSHADOW:
  ------------------
  |  Branch (1704:5): [True: 2.63k, False: 2.16M]
  ------------------
 1705|  2.63k|        afterType = true;
 1706|  2.63k|        if (parseContext.isEsProfile() && parseContext.version < 300) {
  ------------------
  |  Branch (1706:13): [True: 0, False: 2.63k]
  |  Branch (1706:43): [True: 0, False: 0]
  ------------------
 1707|      0|            if (!parseContext.extensionTurnedOn(E_GL_EXT_shadow_samplers))
  ------------------
  |  Branch (1707:17): [True: 0, False: 0]
  ------------------
 1708|      0|                reservedWord();
 1709|      0|        }
 1710|  2.63k|        return keyword;
 1711|       |
 1712|    348|    case TEXTURE2D:
  ------------------
  |  Branch (1712:5): [True: 348, False: 2.16M]
  ------------------
 1713|    468|    case TEXTURECUBE:
  ------------------
  |  Branch (1713:5): [True: 120, False: 2.16M]
  ------------------
 1714|    816|    case TEXTURE2DARRAY:
  ------------------
  |  Branch (1714:5): [True: 348, False: 2.16M]
  ------------------
 1715|  1.15k|    case ITEXTURE2D:
  ------------------
  |  Branch (1715:5): [True: 342, False: 2.16M]
  ------------------
 1716|  1.50k|    case ITEXTURE3D:
  ------------------
  |  Branch (1716:5): [True: 342, False: 2.16M]
  ------------------
 1717|  1.61k|    case ITEXTURECUBE:
  ------------------
  |  Branch (1717:5): [True: 114, False: 2.16M]
  ------------------
 1718|  1.95k|    case ITEXTURE2DARRAY:
  ------------------
  |  Branch (1718:5): [True: 342, False: 2.16M]
  ------------------
 1719|  2.29k|    case UTEXTURE2D:
  ------------------
  |  Branch (1719:5): [True: 342, False: 2.16M]
  ------------------
 1720|  2.64k|    case UTEXTURE3D:
  ------------------
  |  Branch (1720:5): [True: 342, False: 2.16M]
  ------------------
 1721|  2.75k|    case UTEXTURECUBE:
  ------------------
  |  Branch (1721:5): [True: 114, False: 2.16M]
  ------------------
 1722|  3.09k|    case UTEXTURE2DARRAY:
  ------------------
  |  Branch (1722:5): [True: 342, False: 2.16M]
  ------------------
 1723|  3.44k|    case TEXTURE3D:
  ------------------
  |  Branch (1723:5): [True: 348, False: 2.16M]
  ------------------
 1724|  3.45k|    case SAMPLER:
  ------------------
  |  Branch (1724:5): [True: 6, False: 2.16M]
  ------------------
 1725|  3.45k|    case SAMPLERSHADOW:
  ------------------
  |  Branch (1725:5): [True: 6, False: 2.16M]
  ------------------
 1726|  3.45k|        if (parseContext.spvVersion.vulkan > 0)
  ------------------
  |  Branch (1726:13): [True: 3.45k, False: 0]
  ------------------
 1727|  3.45k|            return keyword;
 1728|      0|        else
 1729|      0|            return identifierOrType();
 1730|       |
 1731|  4.10k|    case ISAMPLER1D:
  ------------------
  |  Branch (1731:5): [True: 4.10k, False: 2.15M]
  ------------------
 1732|  5.74k|    case ISAMPLER1DARRAY:
  ------------------
  |  Branch (1732:5): [True: 1.64k, False: 2.16M]
  ------------------
 1733|  6.95k|    case SAMPLER1DARRAYSHADOW:
  ------------------
  |  Branch (1733:5): [True: 1.21k, False: 2.16M]
  ------------------
 1734|  11.0k|    case USAMPLER1D:
  ------------------
  |  Branch (1734:5): [True: 4.10k, False: 2.15M]
  ------------------
 1735|  12.7k|    case USAMPLER1DARRAY:
  ------------------
  |  Branch (1735:5): [True: 1.64k, False: 2.16M]
  ------------------
 1736|  12.7k|        afterType = true;
 1737|  12.7k|        if (keyword == SAMPLER1DARRAYSHADOW) {
  ------------------
  |  Branch (1737:13): [True: 1.21k, False: 11.4k]
  ------------------
 1738|  1.21k|            if (!parseContext.isEsProfile() &&
  ------------------
  |  Branch (1738:17): [True: 1.21k, False: 0]
  ------------------
 1739|  1.21k|                (parseContext.extensionTurnedOn(E_GL_EXT_texture_array) || parseContext.symbolTable.atBuiltInLevel())) {
  ------------------
  |  Branch (1739:18): [True: 0, False: 1.21k]
  |  Branch (1739:76): [True: 1.20k, False: 9]
  ------------------
 1740|  1.20k|                return keyword;
 1741|  1.20k|            }
 1742|  1.21k|        }
 1743|  11.5k|        return es30ReservedFromGLSL(130);
 1744|  3.33k|    case ISAMPLER2DRECT:
  ------------------
  |  Branch (1744:5): [True: 3.33k, False: 2.15M]
  ------------------
 1745|  6.67k|    case USAMPLER2DRECT:
  ------------------
  |  Branch (1745:5): [True: 3.33k, False: 2.15M]
  ------------------
 1746|  6.67k|        afterType = true;
 1747|  6.67k|        return es30ReservedFromGLSL(140);
 1748|       |
 1749|    224|    case SAMPLERBUFFER:
  ------------------
  |  Branch (1749:5): [True: 224, False: 2.16M]
  ------------------
 1750|    224|        afterType = true;
 1751|    224|        if ((parseContext.isEsProfile() && parseContext.version >= 320) ||
  ------------------
  |  Branch (1751:14): [True: 0, False: 224]
  |  Branch (1751:44): [True: 0, False: 0]
  ------------------
 1752|    224|            parseContext.extensionsTurnedOn(Num_AEP_texture_buffer, AEP_texture_buffer))
  ------------------
  |  Branch (1752:13): [True: 0, False: 224]
  ------------------
 1753|      0|            return keyword;
 1754|    224|        return es30ReservedFromGLSL(130);
 1755|       |
 1756|    218|    case ISAMPLERBUFFER:
  ------------------
  |  Branch (1756:5): [True: 218, False: 2.16M]
  ------------------
 1757|    436|    case USAMPLERBUFFER:
  ------------------
  |  Branch (1757:5): [True: 218, False: 2.16M]
  ------------------
 1758|    436|        afterType = true;
 1759|    436|        if ((parseContext.isEsProfile() && parseContext.version >= 320) ||
  ------------------
  |  Branch (1759:14): [True: 0, False: 436]
  |  Branch (1759:44): [True: 0, False: 0]
  ------------------
 1760|    436|            parseContext.extensionsTurnedOn(Num_AEP_texture_buffer, AEP_texture_buffer))
  ------------------
  |  Branch (1760:13): [True: 0, False: 436]
  ------------------
 1761|      0|            return keyword;
 1762|    436|        return es30ReservedFromGLSL(140);
 1763|       |
 1764|    244|    case SAMPLER2DMS:
  ------------------
  |  Branch (1764:5): [True: 244, False: 2.16M]
  ------------------
 1765|    482|    case ISAMPLER2DMS:
  ------------------
  |  Branch (1765:5): [True: 238, False: 2.16M]
  ------------------
 1766|    720|    case USAMPLER2DMS:
  ------------------
  |  Branch (1766:5): [True: 238, False: 2.16M]
  ------------------
 1767|    720|        afterType = true;
 1768|    720|        if (parseContext.isEsProfile() && parseContext.version >= 310)
  ------------------
  |  Branch (1768:13): [True: 0, False: 720]
  |  Branch (1768:43): [True: 0, False: 0]
  ------------------
 1769|      0|            return keyword;
 1770|    720|        if (!parseContext.isEsProfile() && (parseContext.version > 140 ||
  ------------------
  |  Branch (1770:13): [True: 720, False: 0]
  |  Branch (1770:45): [True: 126, False: 594]
  ------------------
 1771|    594|            (parseContext.version == 140 && parseContext.extensionsTurnedOn(1, &E_GL_ARB_texture_multisample))))
  ------------------
  |  Branch (1771:14): [True: 594, False: 0]
  |  Branch (1771:45): [True: 0, False: 594]
  ------------------
 1772|    126|            return keyword;
 1773|    594|        return es30ReservedFromGLSL(150);
 1774|       |
 1775|    244|    case SAMPLER2DMSARRAY:
  ------------------
  |  Branch (1775:5): [True: 244, False: 2.16M]
  ------------------
 1776|    482|    case ISAMPLER2DMSARRAY:
  ------------------
  |  Branch (1776:5): [True: 238, False: 2.16M]
  ------------------
 1777|    720|    case USAMPLER2DMSARRAY:
  ------------------
  |  Branch (1777:5): [True: 238, False: 2.16M]
  ------------------
 1778|    720|        afterType = true;
 1779|    720|        if ((parseContext.isEsProfile() && parseContext.version >= 320) ||
  ------------------
  |  Branch (1779:14): [True: 0, False: 720]
  |  Branch (1779:44): [True: 0, False: 0]
  ------------------
 1780|    720|            parseContext.extensionsTurnedOn(1, &E_GL_OES_texture_storage_multisample_2d_array))
  ------------------
  |  Branch (1780:13): [True: 0, False: 720]
  ------------------
 1781|      0|            return keyword;
 1782|    720|        if (!parseContext.isEsProfile() && (parseContext.version > 140 ||
  ------------------
  |  Branch (1782:13): [True: 720, False: 0]
  |  Branch (1782:45): [True: 126, False: 594]
  ------------------
 1783|    594|            (parseContext.version == 140 && parseContext.extensionsTurnedOn(1, &E_GL_ARB_texture_multisample))))
  ------------------
  |  Branch (1783:14): [True: 594, False: 0]
  |  Branch (1783:45): [True: 0, False: 594]
  ------------------
 1784|    126|            return keyword;
 1785|    594|        return es30ReservedFromGLSL(150);
 1786|       |
 1787|  4.11k|    case SAMPLER1D:
  ------------------
  |  Branch (1787:5): [True: 4.11k, False: 2.15M]
  ------------------
 1788|  6.23k|    case SAMPLER1DSHADOW:
  ------------------
  |  Branch (1788:5): [True: 2.11k, False: 2.16M]
  ------------------
 1789|  6.23k|        afterType = true;
 1790|  6.23k|        if (parseContext.isEsProfile())
  ------------------
  |  Branch (1790:13): [True: 0, False: 6.23k]
  ------------------
 1791|      0|            reservedWord();
 1792|  6.23k|        return keyword;
 1793|       |
 1794|  3.34k|    case SAMPLER2DRECT:
  ------------------
  |  Branch (1794:5): [True: 3.34k, False: 2.15M]
  ------------------
 1795|  4.80k|    case SAMPLER2DRECTSHADOW:
  ------------------
  |  Branch (1795:5): [True: 1.46k, False: 2.16M]
  ------------------
 1796|  4.80k|        afterType = true;
 1797|  4.80k|        if (parseContext.isEsProfile())
  ------------------
  |  Branch (1797:13): [True: 0, False: 4.80k]
  ------------------
 1798|      0|            reservedWord();
 1799|  4.80k|        else if (parseContext.version < 140 && ! parseContext.symbolTable.atBuiltInLevel() && ! parseContext.extensionTurnedOn(E_GL_ARB_texture_rectangle)) {
  ------------------
  |  Branch (1799:18): [True: 0, False: 4.80k]
  |  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|  4.80k|        return keyword;
 1806|       |
 1807|  1.75k|    case SAMPLER1DARRAY:
  ------------------
  |  Branch (1807:5): [True: 1.75k, False: 2.16M]
  ------------------
 1808|  1.75k|        afterType = true;
 1809|  1.75k|        if (parseContext.isEsProfile() && parseContext.version == 300)
  ------------------
  |  Branch (1809:13): [True: 0, False: 1.75k]
  |  Branch (1809:43): [True: 0, False: 0]
  ------------------
 1810|      0|            reservedWord();
 1811|  1.75k|        else if ((parseContext.isEsProfile() && parseContext.version < 300) ||
  ------------------
  |  Branch (1811:19): [True: 0, False: 1.75k]
  |  Branch (1811:49): [True: 0, False: 0]
  ------------------
 1812|  1.75k|                 ((!parseContext.isEsProfile() && parseContext.version < 130) &&
  ------------------
  |  Branch (1812:20): [True: 1.75k, False: 0]
  |  Branch (1812:51): [True: 0, False: 1.75k]
  ------------------
 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|  1.75k|        return keyword;
 1817|       |
 1818|      0|    case SAMPLEREXTERNALOES:
  ------------------
  |  Branch (1818:5): [True: 0, False: 2.16M]
  ------------------
 1819|      0|        afterType = true;
 1820|      0|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1820:13): [True: 0, 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|      0|            return keyword;
 1824|      0|        return identifierOrType();
 1825|       |
 1826|      0|    case SAMPLEREXTERNAL2DY2YEXT:
  ------------------
  |  Branch (1826:5): [True: 0, False: 2.16M]
  ------------------
 1827|      0|        afterType = true;
 1828|      0|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1828:13): [True: 0, False: 0]
  ------------------
 1829|      0|            parseContext.extensionTurnedOn(E_GL_EXT_YUV_target))
  ------------------
  |  Branch (1829:13): [True: 0, False: 0]
  ------------------
 1830|      0|            return keyword;
 1831|      0|        return identifierOrType();
 1832|       |
 1833|    332|    case ITEXTURE1DARRAY:
  ------------------
  |  Branch (1833:5): [True: 332, False: 2.16M]
  ------------------
 1834|    664|    case UTEXTURE1D:
  ------------------
  |  Branch (1834:5): [True: 332, False: 2.16M]
  ------------------
 1835|    996|    case ITEXTURE1D:
  ------------------
  |  Branch (1835:5): [True: 332, False: 2.16M]
  ------------------
 1836|  1.32k|    case UTEXTURE1DARRAY:
  ------------------
  |  Branch (1836:5): [True: 332, False: 2.16M]
  ------------------
 1837|  1.55k|    case TEXTUREBUFFER:
  ------------------
  |  Branch (1837:5): [True: 224, False: 2.16M]
  ------------------
 1838|  1.88k|    case ITEXTURE2DRECT:
  ------------------
  |  Branch (1838:5): [True: 337, False: 2.16M]
  ------------------
 1839|  2.22k|    case UTEXTURE2DRECT:
  ------------------
  |  Branch (1839:5): [True: 337, False: 2.16M]
  ------------------
 1840|  2.44k|    case ITEXTUREBUFFER:
  ------------------
  |  Branch (1840:5): [True: 218, False: 2.16M]
  ------------------
 1841|  2.66k|    case UTEXTUREBUFFER:
  ------------------
  |  Branch (1841:5): [True: 218, False: 2.16M]
  ------------------
 1842|  2.89k|    case TEXTURE2DMS:
  ------------------
  |  Branch (1842:5): [True: 234, False: 2.16M]
  ------------------
 1843|  3.12k|    case ITEXTURE2DMS:
  ------------------
  |  Branch (1843:5): [True: 228, False: 2.16M]
  ------------------
 1844|  3.35k|    case UTEXTURE2DMS:
  ------------------
  |  Branch (1844:5): [True: 228, False: 2.16M]
  ------------------
 1845|  3.58k|    case TEXTURE2DMSARRAY:
  ------------------
  |  Branch (1845:5): [True: 234, False: 2.16M]
  ------------------
 1846|  3.81k|    case ITEXTURE2DMSARRAY:
  ------------------
  |  Branch (1846:5): [True: 228, False: 2.16M]
  ------------------
 1847|  4.04k|    case UTEXTURE2DMSARRAY:
  ------------------
  |  Branch (1847:5): [True: 228, False: 2.16M]
  ------------------
 1848|  4.38k|    case TEXTURE1D:
  ------------------
  |  Branch (1848:5): [True: 338, False: 2.16M]
  ------------------
 1849|  4.72k|    case TEXTURE2DRECT:
  ------------------
  |  Branch (1849:5): [True: 343, False: 2.16M]
  ------------------
 1850|  5.06k|    case TEXTURE1DARRAY:
  ------------------
  |  Branch (1850:5): [True: 338, False: 2.16M]
  ------------------
 1851|  5.06k|        if (parseContext.spvVersion.vulkan > 0)
  ------------------
  |  Branch (1851:13): [True: 5.06k, False: 0]
  ------------------
 1852|  5.06k|            return keyword;
 1853|      0|        else
 1854|      0|            return identifierOrType();
 1855|       |
 1856|    121|    case SUBPASSINPUT:
  ------------------
  |  Branch (1856:5): [True: 121, False: 2.16M]
  ------------------
 1857|    264|    case SUBPASSINPUTMS:
  ------------------
  |  Branch (1857:5): [True: 143, False: 2.16M]
  ------------------
 1858|    379|    case ISUBPASSINPUT:
  ------------------
  |  Branch (1858:5): [True: 115, False: 2.16M]
  ------------------
 1859|    516|    case ISUBPASSINPUTMS:
  ------------------
  |  Branch (1859:5): [True: 137, False: 2.16M]
  ------------------
 1860|    631|    case USUBPASSINPUT:
  ------------------
  |  Branch (1860:5): [True: 115, False: 2.16M]
  ------------------
 1861|    768|    case USUBPASSINPUTMS:
  ------------------
  |  Branch (1861:5): [True: 137, False: 2.16M]
  ------------------
 1862|    998|    case ATTACHMENTEXT:
  ------------------
  |  Branch (1862:5): [True: 230, False: 2.16M]
  ------------------
 1863|  1.22k|    case IATTACHMENTEXT:
  ------------------
  |  Branch (1863:5): [True: 230, False: 2.16M]
  ------------------
 1864|  1.45k|    case UATTACHMENTEXT:
  ------------------
  |  Branch (1864:5): [True: 230, False: 2.16M]
  ------------------
 1865|  1.45k|        if (parseContext.spvVersion.vulkan > 0)
  ------------------
  |  Branch (1865:13): [True: 1.45k, False: 0]
  ------------------
 1866|  1.45k|            return keyword;
 1867|      0|        else
 1868|      0|            return identifierOrType();
 1869|       |
 1870|    848|    case F16SAMPLER1D:
  ------------------
  |  Branch (1870:5): [True: 848, False: 2.16M]
  ------------------
 1871|  2.77k|    case F16SAMPLER2D:
  ------------------
  |  Branch (1871:5): [True: 1.92k, False: 2.16M]
  ------------------
 1872|  3.83k|    case F16SAMPLER3D:
  ------------------
  |  Branch (1872:5): [True: 1.05k, False: 2.16M]
  ------------------
 1873|  4.47k|    case F16SAMPLER2DRECT:
  ------------------
  |  Branch (1873:5): [True: 641, False: 2.16M]
  ------------------
 1874|  5.15k|    case F16SAMPLERCUBE:
  ------------------
  |  Branch (1874:5): [True: 684, False: 2.16M]
  ------------------
 1875|  5.64k|    case F16SAMPLER1DARRAY:
  ------------------
  |  Branch (1875:5): [True: 492, False: 2.16M]
  ------------------
 1876|  7.21k|    case F16SAMPLER2DARRAY:
  ------------------
  |  Branch (1876:5): [True: 1.57k, False: 2.16M]
  ------------------
 1877|  7.90k|    case F16SAMPLERCUBEARRAY:
  ------------------
  |  Branch (1877:5): [True: 684, False: 2.16M]
  ------------------
 1878|  7.91k|    case F16SAMPLERBUFFER:
  ------------------
  |  Branch (1878:5): [True: 15, False: 2.16M]
  ------------------
 1879|  7.94k|    case F16SAMPLER2DMS:
  ------------------
  |  Branch (1879:5): [True: 30, False: 2.16M]
  ------------------
 1880|  7.97k|    case F16SAMPLER2DMSARRAY:
  ------------------
  |  Branch (1880:5): [True: 30, False: 2.16M]
  ------------------
 1881|  8.57k|    case F16SAMPLER1DSHADOW:
  ------------------
  |  Branch (1881:5): [True: 600, False: 2.16M]
  ------------------
 1882|  9.58k|    case F16SAMPLER2DSHADOW:
  ------------------
  |  Branch (1882:5): [True: 1.00k, False: 2.16M]
  ------------------
 1883|  10.0k|    case F16SAMPLER1DARRAYSHADOW:
  ------------------
  |  Branch (1883:5): [True: 452, False: 2.16M]
  ------------------
 1884|  10.4k|    case F16SAMPLER2DARRAYSHADOW:
  ------------------
  |  Branch (1884:5): [True: 464, False: 2.16M]
  ------------------
 1885|  10.8k|    case F16SAMPLER2DRECTSHADOW:
  ------------------
  |  Branch (1885:5): [True: 401, False: 2.16M]
  ------------------
 1886|  11.3k|    case F16SAMPLERCUBESHADOW:
  ------------------
  |  Branch (1886:5): [True: 452, False: 2.16M]
  ------------------
 1887|  11.6k|    case F16SAMPLERCUBEARRAYSHADOW:
  ------------------
  |  Branch (1887:5): [True: 276, False: 2.16M]
  ------------------
 1888|       |
 1889|  11.7k|    case F16IMAGE1D:
  ------------------
  |  Branch (1889:5): [True: 115, False: 2.16M]
  ------------------
 1890|  11.8k|    case F16IMAGE2D:
  ------------------
  |  Branch (1890:5): [True: 125, False: 2.16M]
  ------------------
 1891|  11.9k|    case F16IMAGE3D:
  ------------------
  |  Branch (1891:5): [True: 125, False: 2.16M]
  ------------------
 1892|  12.1k|    case F16IMAGE2DRECT:
  ------------------
  |  Branch (1892:5): [True: 110, False: 2.16M]
  ------------------
 1893|  12.2k|    case F16IMAGECUBE:
  ------------------
  |  Branch (1893:5): [True: 125, False: 2.16M]
  ------------------
 1894|  12.3k|    case F16IMAGE1DARRAY:
  ------------------
  |  Branch (1894:5): [True: 115, False: 2.16M]
  ------------------
 1895|  12.4k|    case F16IMAGE2DARRAY:
  ------------------
  |  Branch (1895:5): [True: 125, False: 2.16M]
  ------------------
 1896|  12.5k|    case F16IMAGECUBEARRAY:
  ------------------
  |  Branch (1896:5): [True: 125, False: 2.16M]
  ------------------
 1897|  12.6k|    case F16IMAGEBUFFER:
  ------------------
  |  Branch (1897:5): [True: 105, False: 2.16M]
  ------------------
 1898|  12.8k|    case F16IMAGE2DMS:
  ------------------
  |  Branch (1898:5): [True: 115, False: 2.16M]
  ------------------
 1899|  12.9k|    case F16IMAGE2DMSARRAY:
  ------------------
  |  Branch (1899:5): [True: 115, False: 2.16M]
  ------------------
 1900|       |
 1901|  12.9k|    case F16TEXTURE1D:
  ------------------
  |  Branch (1901:5): [True: 30, False: 2.16M]
  ------------------
 1902|  13.0k|    case F16TEXTURE2D:
  ------------------
  |  Branch (1902:5): [True: 50, False: 2.16M]
  ------------------
 1903|  13.0k|    case F16TEXTURE3D:
  ------------------
  |  Branch (1903:5): [True: 50, False: 2.16M]
  ------------------
 1904|  13.1k|    case F16TEXTURE2DRECT:
  ------------------
  |  Branch (1904:5): [True: 45, False: 2.16M]
  ------------------
 1905|  13.1k|    case F16TEXTURECUBE:
  ------------------
  |  Branch (1905:5): [True: 10, False: 2.16M]
  ------------------
 1906|  13.1k|    case F16TEXTURE1DARRAY:
  ------------------
  |  Branch (1906:5): [True: 30, False: 2.16M]
  ------------------
 1907|  13.1k|    case F16TEXTURE2DARRAY:
  ------------------
  |  Branch (1907:5): [True: 50, False: 2.16M]
  ------------------
 1908|  13.2k|    case F16TEXTURECUBEARRAY:
  ------------------
  |  Branch (1908:5): [True: 10, False: 2.16M]
  ------------------
 1909|  13.2k|    case F16TEXTUREBUFFER:
  ------------------
  |  Branch (1909:5): [True: 15, False: 2.16M]
  ------------------
 1910|  13.2k|    case F16TEXTURE2DMS:
  ------------------
  |  Branch (1910:5): [True: 30, False: 2.16M]
  ------------------
 1911|  13.2k|    case F16TEXTURE2DMSARRAY:
  ------------------
  |  Branch (1911:5): [True: 30, False: 2.16M]
  ------------------
 1912|       |
 1913|  13.2k|    case F16SUBPASSINPUT:
  ------------------
  |  Branch (1913:5): [True: 11, False: 2.16M]
  ------------------
 1914|  13.2k|    case F16SUBPASSINPUTMS:
  ------------------
  |  Branch (1914:5): [True: 11, False: 2.16M]
  ------------------
 1915|  13.2k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1915:13): [True: 13.2k, False: 0]
  ------------------
 1916|  13.2k|            parseContext.extensionTurnedOn(E_GL_AMD_gpu_shader_half_float_fetch)) {
  ------------------
  |  Branch (1916:13): [True: 0, False: 0]
  ------------------
 1917|  13.2k|            afterType = true;
 1918|  13.2k|            return keyword;
 1919|  13.2k|        }
 1920|      0|        return identifierOrType();
 1921|       |
 1922|      0|    case EXPLICITINTERPAMD:
  ------------------
  |  Branch (1922:5): [True: 0, False: 2.16M]
  ------------------
 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: 2.16M]
  ------------------
 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: 2.16M]
  ------------------
 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: 2.16M]
  ------------------
 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|      5|    case PERPRIMITIVENV:
  ------------------
  |  Branch (1952:5): [True: 5, False: 2.16M]
  ------------------
 1953|     42|    case PERVIEWNV:
  ------------------
  |  Branch (1953:5): [True: 37, False: 2.16M]
  ------------------
 1954|     42|    case PERTASKNV:
  ------------------
  |  Branch (1954:5): [True: 0, False: 2.16M]
  ------------------
 1955|     42|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1955:13): [True: 42, False: 0]
  ------------------
 1956|      0|            parseContext.extensionTurnedOn(E_GL_NV_mesh_shader))
  ------------------
  |  Branch (1956:13): [True: 0, False: 0]
  ------------------
 1957|     42|            return keyword;
 1958|      0|        return identifierOrType();
 1959|       |
 1960|      5|    case PERPRIMITIVEEXT:
  ------------------
  |  Branch (1960:5): [True: 5, False: 2.16M]
  ------------------
 1961|      5|    case TASKPAYLOADWORKGROUPEXT:
  ------------------
  |  Branch (1961:5): [True: 0, False: 2.16M]
  ------------------
 1962|      5|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1962:13): [True: 5, False: 0]
  ------------------
 1963|      0|            parseContext.extensionTurnedOn(E_GL_EXT_mesh_shader))
  ------------------
  |  Branch (1963:13): [True: 0, False: 0]
  ------------------
 1964|      5|            return keyword;
 1965|      0|        return identifierOrType();
 1966|       |
 1967|    231|    case FCOOPMATNV:
  ------------------
  |  Branch (1967:5): [True: 231, False: 2.16M]
  ------------------
 1968|    231|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1968:13): [True: 231, False: 0]
  ------------------
 1969|    231|            parseContext.extensionTurnedOn(E_GL_NV_cooperative_matrix)) {
  ------------------
  |  Branch (1969:13): [True: 0, False: 0]
  ------------------
 1970|    231|            afterType = true;
 1971|    231|            return keyword;
 1972|    231|        }
 1973|      0|        return identifierOrType();
 1974|       |
 1975|    308|    case UCOOPMATNV:
  ------------------
  |  Branch (1975:5): [True: 308, False: 2.16M]
  ------------------
 1976|    616|    case ICOOPMATNV:
  ------------------
  |  Branch (1976:5): [True: 308, False: 2.16M]
  ------------------
 1977|    616|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1977:13): [True: 616, False: 0]
  ------------------
 1978|    616|            parseContext.extensionTurnedOn(E_GL_NV_integer_cooperative_matrix)) {
  ------------------
  |  Branch (1978:13): [True: 0, False: 0]
  ------------------
 1979|    616|            afterType = true;
 1980|    616|            return keyword;
 1981|    616|        }
 1982|      0|        return identifierOrType();
 1983|    305|    case TENSORARM:
  ------------------
  |  Branch (1983:5): [True: 305, False: 2.16M]
  ------------------
 1984|    305|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1984:13): [True: 305, False: 0]
  ------------------
 1985|    305|            parseContext.extensionTurnedOn(E_GL_ARM_tensors)) {
  ------------------
  |  Branch (1985:13): [True: 0, False: 0]
  ------------------
 1986|    305|            afterType = true;
 1987|    305|            return keyword;
 1988|    305|        }
 1989|      0|        return identifierOrType();
 1990|       |
 1991|  1.08k|    case COOPMAT:
  ------------------
  |  Branch (1991:5): [True: 1.08k, False: 2.16M]
  ------------------
 1992|  1.08k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (1992:13): [True: 1.08k, False: 0]
  ------------------
 1993|  1.08k|            parseContext.extensionTurnedOn(E_GL_KHR_cooperative_matrix)) {
  ------------------
  |  Branch (1993:13): [True: 0, False: 0]
  ------------------
 1994|  1.08k|            afterType = true;
 1995|  1.08k|            return keyword;
 1996|  1.08k|        }
 1997|      0|        return identifierOrType();
 1998|       |
 1999|  3.97k|    case COOPVECNV:
  ------------------
  |  Branch (1999:5): [True: 3.97k, False: 2.15M]
  ------------------
 2000|  3.97k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (2000:13): [True: 3.97k, False: 0]
  ------------------
 2001|  3.97k|            parseContext.extensionTurnedOn(E_GL_NV_cooperative_vector)) {
  ------------------
  |  Branch (2001:13): [True: 0, False: 0]
  ------------------
 2002|  3.97k|            afterType = true;
 2003|  3.97k|            return keyword;
 2004|  3.97k|        }
 2005|      0|        return identifierOrType();
 2006|       |
 2007|  42.1k|    case VECTOR:
  ------------------
  |  Branch (2007:5): [True: 42.1k, False: 2.12M]
  ------------------
 2008|  42.1k|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (2008:13): [True: 42.1k, False: 0]
  ------------------
 2009|  42.1k|            parseContext.extensionTurnedOn(E_GL_EXT_long_vector)) {
  ------------------
  |  Branch (2009:13): [True: 0, False: 0]
  ------------------
 2010|  42.1k|            afterType = true;
 2011|  42.1k|            return keyword;
 2012|  42.1k|        }
 2013|      0|        return identifierOrType();
 2014|       |
 2015|      0|    case DEMOTE:
  ------------------
  |  Branch (2015:5): [True: 0, False: 2.16M]
  ------------------
 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: 2.16M]
  ------------------
 2022|      0|    case SPIRV_EXECUTION_MODE:
  ------------------
  |  Branch (2022:5): [True: 0, False: 2.16M]
  ------------------
 2023|      0|    case SPIRV_EXECUTION_MODE_ID:
  ------------------
  |  Branch (2023:5): [True: 0, False: 2.16M]
  ------------------
 2024|      0|    case SPIRV_DECORATE:
  ------------------
  |  Branch (2024:5): [True: 0, False: 2.16M]
  ------------------
 2025|      0|    case SPIRV_DECORATE_ID:
  ------------------
  |  Branch (2025:5): [True: 0, False: 2.16M]
  ------------------
 2026|      0|    case SPIRV_DECORATE_STRING:
  ------------------
  |  Branch (2026:5): [True: 0, False: 2.16M]
  ------------------
 2027|      0|    case SPIRV_TYPE:
  ------------------
  |  Branch (2027:5): [True: 0, False: 2.16M]
  ------------------
 2028|      0|    case SPIRV_STORAGE_CLASS:
  ------------------
  |  Branch (2028:5): [True: 0, False: 2.16M]
  ------------------
 2029|      0|    case SPIRV_BY_REFERENCE:
  ------------------
  |  Branch (2029:5): [True: 0, False: 2.16M]
  ------------------
 2030|      0|    case SPIRV_LITERAL:
  ------------------
  |  Branch (2030:5): [True: 0, False: 2.16M]
  ------------------
 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: 2.16M]
  ------------------
 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: 2.16M]
  ------------------
 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: 2.16M]
  ------------------
 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: 2.16M]
  ------------------
 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|     70|    case FUNCTION:
  ------------------
  |  Branch (2064:5): [True: 70, False: 2.16M]
  ------------------
 2065|    370|    case TENSORLAYOUTNV:
  ------------------
  |  Branch (2065:5): [True: 300, False: 2.16M]
  ------------------
 2066|    555|    case TENSORVIEWNV:
  ------------------
  |  Branch (2066:5): [True: 185, False: 2.16M]
  ------------------
 2067|    555|        if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (2067:13): [True: 555, False: 0]
  ------------------
 2068|    555|            parseContext.extensionTurnedOn(E_GL_NV_cooperative_matrix2)) {
  ------------------
  |  Branch (2068:13): [True: 0, False: 0]
  ------------------
 2069|    555|            afterType = true;
 2070|    555|            return keyword;
 2071|    555|        }
 2072|      0|        return identifierOrType();
 2073|       |
 2074|      0|    case RESOURCEHEAP:
  ------------------
  |  Branch (2074:5): [True: 0, False: 2.16M]
  ------------------
 2075|      0|    case SAMPLERHEAP:
  ------------------
  |  Branch (2075:5): [True: 0, False: 2.16M]
  ------------------
 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: 2.16M]
  ------------------
 2082|      0|    case NOINLINE:
  ------------------
  |  Branch (2082:5): [True: 0, False: 2.16M]
  ------------------
 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: 2.16M]
  ------------------
 2088|      0|        parseContext.infoSink.info.message(EPrefixInternalError, "Unknown glslang keyword", loc);
 2089|      0|        return 0;
 2090|  2.16M|    }
 2091|  2.16M|}
_ZN7glslang12TScanContext16identifierOrTypeEv:
 2094|   718k|{
 2095|   718k|    parserToken->sType.lex.string = NewPoolTString(tokenText);
 2096|   718k|    if (field)
  ------------------
  |  Branch (2096:9): [True: 582, False: 717k]
  ------------------
 2097|    582|        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|   717k|    if (afterType && angleBracketDepth == 0 && squareBracketDepth == 0 && parenDepth == 0) {
  ------------------
  |  Branch (2102:9): [True: 705k, False: 12.0k]
  |  Branch (2102:22): [True: 705k, False: 0]
  |  Branch (2102:48): [True: 705k, False: 0]
  |  Branch (2102:75): [True: 564k, False: 141k]
  ------------------
 2103|   564k|        afterDeclarator = true;
 2104|   564k|        afterType = false;
 2105|   564k|        return IDENTIFIER;
 2106|   564k|    }
 2107|       |
 2108|   153k|    parserToken->sType.lex.symbol = parseContext.symbolTable.find(*parserToken->sType.lex.string);
 2109|   153k|    if ((afterType == false && afterStruct == false) && parserToken->sType.lex.symbol != nullptr) {
  ------------------
  |  Branch (2109:10): [True: 12.0k, False: 141k]
  |  Branch (2109:32): [True: 12.0k, False: 10]
  |  Branch (2109:57): [True: 8.86k, False: 3.16k]
  ------------------
 2110|  8.86k|        if (const TVariable* variable = parserToken->sType.lex.symbol->getAsVariable()) {
  ------------------
  |  Branch (2110:30): [True: 8.86k, False: 0]
  ------------------
 2111|  8.86k|            if (variable->isUserType() &&
  ------------------
  |  Branch (2111:17): [True: 60, False: 8.80k]
  ------------------
 2112|       |                // treat redeclaration of forward-declared buffer/uniform reference as an identifier
 2113|     60|                !(variable->getType().isReference() && afterBuffer)) {
  ------------------
  |  Branch (2113:19): [True: 0, False: 60]
  |  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|     60|                if (inDeclaratorList) {
  ------------------
  |  Branch (2117:21): [True: 0, False: 60]
  ------------------
 2118|      0|                    return IDENTIFIER;
 2119|      0|                }
 2120|       |
 2121|     60|                afterType = true;
 2122|     60|                return TYPE_NAME;
 2123|     60|            }
 2124|  8.86k|        }
 2125|  8.86k|    }
 2126|       |
 2127|   153k|    return IDENTIFIER;
 2128|   153k|}
_ZN7glslang12TScanContext12reservedWordEv:
 2134|  2.70k|{
 2135|  2.70k|    if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (2135:9): [True: 0, False: 2.70k]
  ------------------
 2136|      0|        parseContext.error(loc, "Reserved word.", tokenText, "", "");
 2137|       |
 2138|  2.70k|    return 0;
 2139|  2.70k|}
_ZN7glslang12TScanContext20es30ReservedFromGLSLEi:
 2158|  88.7k|{
 2159|  88.7k|    if (parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (2159:9): [True: 88.7k, False: 15]
  ------------------
 2160|  88.7k|        return keyword;
 2161|       |
 2162|     15|    if ((parseContext.isEsProfile() && parseContext.version < 300) ||
  ------------------
  |  Branch (2162:10): [True: 0, False: 15]
  |  Branch (2162:40): [True: 0, False: 0]
  ------------------
 2163|     15|        (!parseContext.isEsProfile() && parseContext.version < version)) {
  ------------------
  |  Branch (2163:10): [True: 15, False: 0]
  |  Branch (2163:41): [True: 0, False: 15]
  ------------------
 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|     15|    } else if (parseContext.isEsProfile() && parseContext.version >= 300)
  ------------------
  |  Branch (2168:16): [True: 0, False: 15]
  |  Branch (2168:46): [True: 0, False: 0]
  ------------------
 2169|      0|        reservedWord();
 2170|       |
 2171|     15|    return keyword;
 2172|     15|}
_ZN7glslang12TScanContext18nonreservedKeywordEii:
 2177|   377k|{
 2178|   377k|    if ((parseContext.isEsProfile() && parseContext.version < esVersion) ||
  ------------------
  |  Branch (2178:10): [True: 0, False: 377k]
  |  Branch (2178:40): [True: 0, False: 0]
  ------------------
 2179|   377k|        (!parseContext.isEsProfile() && parseContext.version < nonEsVersion)) {
  ------------------
  |  Branch (2179:10): [True: 377k, False: 0]
  |  Branch (2179:41): [True: 0, False: 377k]
  ------------------
 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|   377k|    return keyword;
 2187|   377k|}
_ZN7glslang12TScanContext16precisionKeywordEv:
 2190|  99.7k|{
 2191|  99.7k|    if (parseContext.isEsProfile() || parseContext.version >= 130)
  ------------------
  |  Branch (2191:9): [True: 0, False: 99.7k]
  |  Branch (2191:39): [True: 99.7k, False: 0]
  ------------------
 2192|  99.7k|        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|  99.7k|}
_ZN7glslang12TScanContext6matNxMEv:
 2201|  3.92k|{
 2202|  3.92k|    afterType = true;
 2203|       |
 2204|  3.92k|    if (parseContext.version > 110)
  ------------------
  |  Branch (2204:9): [True: 3.92k, False: 0]
  ------------------
 2205|  3.92k|        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|  3.92k|}
_ZN7glslang12TScanContext4dMatEv:
 2214|    630|{
 2215|    630|    afterType = true;
 2216|       |
 2217|    630|    if (parseContext.isEsProfile() && parseContext.version >= 300) {
  ------------------
  |  Branch (2217:9): [True: 0, False: 630]
  |  Branch (2217:39): [True: 0, False: 0]
  ------------------
 2218|      0|        reservedWord();
 2219|       |
 2220|      0|        return keyword;
 2221|      0|    }
 2222|       |
 2223|    630|    if (!parseContext.isEsProfile() && (parseContext.version >= 400 ||
  ------------------
  |  Branch (2223:9): [True: 630, False: 0]
  |  Branch (2223:41): [True: 567, False: 63]
  ------------------
 2224|     63|        parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (2224:9): [True: 63, 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|    630|        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|    630|}
_ZN7glslang12TScanContext20firstGenerationImageEb:
 2237|  39.7k|{
 2238|  39.7k|    if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (2238:9): [True: 39.6k, False: 48]
  ------------------
 2239|     48|        (!parseContext.isEsProfile() && (parseContext.version >= 420 ||
  ------------------
  |  Branch (2239:10): [True: 48, False: 0]
  |  Branch (2239:42): [True: 48, 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|  39.7k|        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|  14.8k|{
 2259|  14.8k|    if (parseContext.isEsProfile() && parseContext.version >= 310) {
  ------------------
  |  Branch (2259:9): [True: 0, False: 14.8k]
  |  Branch (2259:39): [True: 0, False: 0]
  ------------------
 2260|      0|        reservedWord();
 2261|      0|        return keyword;
 2262|      0|    }
 2263|       |
 2264|  14.8k|    if (parseContext.symbolTable.atBuiltInLevel() ||
  ------------------
  |  Branch (2264:9): [True: 14.8k, False: 18]
  ------------------
 2265|     18|        (!parseContext.isEsProfile() &&
  ------------------
  |  Branch (2265:10): [True: 18, False: 0]
  ------------------
 2266|     18|         (parseContext.version >= 420 || parseContext.extensionTurnedOn(E_GL_ARB_shader_image_load_store))))
  ------------------
  |  Branch (2266:11): [True: 18, False: 0]
  |  Branch (2266:42): [True: 0, False: 0]
  ------------------
 2267|  14.8k|        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|  14.8k|}
_ZN7glslang12TParserTokenC2ER7YYSTYPE:
  282|  5.33M|    explicit TParserToken(YYSTYPE& b) : sType(b) { }
Scan.cpp:_ZNK12_GLOBAL__N_18str_hashclEPKc:
  313|  5.76M|    {
  314|       |        // djb2
  315|  5.76M|        unsigned long hash = 5381;
  316|  5.76M|        int c;
  317|       |
  318|  53.2M|        while ((c = *str++) != 0)
  ------------------
  |  Branch (318:16): [True: 47.5M, False: 5.76M]
  ------------------
  319|  47.5M|            hash = ((hash << 5) + hash) + c;
  320|       |
  321|  5.76M|        return hash;
  322|  5.76M|    }
Scan.cpp:_ZNK12_GLOBAL__N_16str_eqclEPKcS2_:
  305|  2.16M|    {
  306|  2.16M|        return strcmp(lhs, rhs) == 0;
  307|  2.16M|    }

ShInitialize:
 1361|    139|{
 1362|    139|#ifndef DISABLE_THREAD_SUPPORT
 1363|    139|    const std::lock_guard<std::mutex> lock(init_lock);
 1364|    139|#endif
 1365|    139|    ++NumberOfClients;
 1366|       |
 1367|    139|    if (PerProcessGPA == nullptr)
  ------------------
  |  Branch (1367:9): [True: 139, False: 0]
  ------------------
 1368|    139|        PerProcessGPA = new TPoolAllocator();
 1369|       |
 1370|    139|    return 1;
 1371|    139|}
ShFinalize:
 1418|    139|{
 1419|    139|#ifndef DISABLE_THREAD_SUPPORT
 1420|    139|    const std::lock_guard<std::mutex> lock(init_lock);
 1421|    139|#endif
 1422|    139|    --NumberOfClients;
 1423|    139|    assert(NumberOfClients >= 0);
 1424|    139|    if (NumberOfClients > 0)
  ------------------
  |  Branch (1424:9): [True: 0, False: 139]
  ------------------
 1425|      0|        return 1;
 1426|       |
 1427|  2.50k|    for (int version = 0; version < VersionCount; ++version) {
  ------------------
  |  Branch (1427:27): [True: 2.36k, False: 139]
  ------------------
 1428|  11.8k|        for (int spvVersion = 0; spvVersion < SpvVersionCount; ++spvVersion) {
  ------------------
  |  Branch (1428:34): [True: 9.45k, False: 2.36k]
  ------------------
 1429|  47.2k|            for (int p = 0; p < ProfileCount; ++p) {
  ------------------
  |  Branch (1429:29): [True: 37.8k, False: 9.45k]
  ------------------
 1430|   113k|                for (int source = 0; source < SourceCount; ++source) {
  ------------------
  |  Branch (1430:38): [True: 75.6k, False: 37.8k]
  ------------------
 1431|  1.13M|                    for (int stage = 0; stage < EShLangCount; ++stage) {
  ------------------
  |  Branch (1431:41): [True: 1.05M, False: 75.6k]
  ------------------
 1432|  1.05M|                        delete SharedSymbolTables[version][spvVersion][p][source][stage];
 1433|  1.05M|                        SharedSymbolTables[version][spvVersion][p][source][stage] = nullptr;
 1434|  1.05M|                    }
 1435|  75.6k|                }
 1436|  37.8k|            }
 1437|  9.45k|        }
 1438|  2.36k|    }
 1439|       |
 1440|  2.50k|    for (int version = 0; version < VersionCount; ++version) {
  ------------------
  |  Branch (1440:27): [True: 2.36k, False: 139]
  ------------------
 1441|  11.8k|        for (int spvVersion = 0; spvVersion < SpvVersionCount; ++spvVersion) {
  ------------------
  |  Branch (1441:34): [True: 9.45k, False: 2.36k]
  ------------------
 1442|  47.2k|            for (int p = 0; p < ProfileCount; ++p) {
  ------------------
  |  Branch (1442:29): [True: 37.8k, False: 9.45k]
  ------------------
 1443|   113k|                for (int source = 0; source < SourceCount; ++source) {
  ------------------
  |  Branch (1443:38): [True: 75.6k, False: 37.8k]
  ------------------
 1444|   226k|                    for (int pc = 0; pc < EPcCount; ++pc) {
  ------------------
  |  Branch (1444:38): [True: 151k, False: 75.6k]
  ------------------
 1445|   151k|                        delete CommonSymbolTable[version][spvVersion][p][source][pc];
 1446|   151k|                        CommonSymbolTable[version][spvVersion][p][source][pc] = nullptr;
 1447|   151k|                    }
 1448|  75.6k|                }
 1449|  37.8k|            }
 1450|  9.45k|        }
 1451|  2.36k|    }
 1452|       |
 1453|    139|    if (PerProcessGPA != nullptr) {
  ------------------
  |  Branch (1453:9): [True: 139, False: 0]
  ------------------
 1454|    139|        delete PerProcessGPA;
 1455|    139|        PerProcessGPA = nullptr;
 1456|    139|    }
 1457|       |
 1458|    139|    return 1;
 1459|    139|}
_ZN7glslang17InitializeProcessEv:
 1747|    139|{
 1748|    139|    return ShInitialize() != 0;
 1749|    139|}
_ZN7glslang15FinalizeProcessEv:
 1752|    139|{
 1753|    139|    ShFinalize();
 1754|    139|}
_ZN7glslang7TShaderC2E11EShLanguage:
 1767|    232|    : stage(s), lengths(nullptr), stringNames(nullptr), preamble(""), overrideVersion(0)
 1768|    232|{
 1769|    232|    pool = new TPoolAllocator;
 1770|    232|    infoSink = new TInfoSink;
 1771|    232|    compiler = new TDeferredCompiler(stage, *infoSink);
 1772|    232|    intermediate = new TIntermediate(s);
 1773|       |
 1774|       |    // clear environment (avoid constructors in them for use in a C interface)
 1775|    232|    environment.input.languageFamily = EShSourceNone;
 1776|    232|    environment.input.dialect = EShClientNone;
 1777|    232|    environment.input.vulkanRulesRelaxed = false;
 1778|    232|    environment.client.client = EShClientNone;
 1779|    232|    environment.target.language = EShTargetNone;
 1780|    232|    environment.target.hlslFunctionality1 = false;
 1781|    232|}
_ZN7glslang7TShaderD2Ev:
 1784|    232|{
 1785|    232|    delete infoSink;
 1786|    232|    delete compiler;
 1787|    232|    delete intermediate;
 1788|    232|    delete pool;
 1789|    232|}
_ZN7glslang7TShader29setStringsWithLengthsAndNamesEPKPKcPKiS4_i:
 1807|    232|{
 1808|    232|    strings = s;
 1809|    232|    numStrings = n;
 1810|    232|    lengths = l;
 1811|    232|    stringNames = names;
 1812|    232|}
_ZN7glslang7TShader13setEntryPointEPKc:
 1815|     66|{
 1816|     66|    intermediate->setEntryPointName(entryPoint);
 1817|     66|}
_ZN7glslang7TShader10setInvertYEb:
 1842|    232|void TShader::setInvertY(bool invert)                   { intermediate->setInvertY(invert); }
_ZN7glslang7TShader17setNanMinMaxClampEb:
 1845|    232|void TShader::setNanMinMaxClamp(bool useNonNan)         { intermediate->setNanMinMaxClamp(useNonNan); }
_ZN7glslang7TShader15setShiftBindingENS_13TResourceTypeEj:
 1849|    396|void TShader::setShiftBinding(TResourceType res, unsigned int base) {
 1850|    396|    intermediate->setShiftBinding(res, base);
 1851|    396|}
_ZN7glslang7TShader22setShiftSamplerBindingEj:
 1859|     66|void TShader::setShiftSamplerBinding(unsigned int base) { setShiftBinding(EResSampler, base); }
_ZN7glslang7TShader22setShiftTextureBindingEj:
 1861|     66|void TShader::setShiftTextureBinding(unsigned int base) { setShiftBinding(EResTexture, base); }
_ZN7glslang7TShader20setShiftImageBindingEj:
 1863|     66|void TShader::setShiftImageBinding(unsigned int base)   { setShiftBinding(EResImage, base); }
_ZN7glslang7TShader18setShiftUboBindingEj:
 1865|     66|void TShader::setShiftUboBinding(unsigned int base)     { setShiftBinding(EResUbo, base); }
_ZN7glslang7TShader18setShiftUavBindingEj:
 1869|     66|void TShader::setShiftUavBinding(unsigned int base)     { setShiftBinding(EResUav, base); }
_ZN7glslang7TShader19setShiftSsboBindingEj:
 1871|     66|void TShader::setShiftSsboBinding(unsigned int base)    { setShiftBinding(EResSsbo, base); }
_ZN7glslang7TShader18setAutoMapBindingsEb:
 1873|     66|void TShader::setAutoMapBindings(bool map)              { intermediate->setAutoMapBindings(map); }
_ZN7glslang7TShader19setAutoMapLocationsEb:
 1877|     66|void TShader::setAutoMapLocations(bool map)             { intermediate->setAutoMapLocations(map); }
_ZN7glslang7TShader21setResourceSetBindingERKNSt3__16vectorINS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS6_IS8_EEEE:
 1888|     66|void TShader::setResourceSetBinding(const std::vector<std::string>& base)   { intermediate->setResourceSetBinding(base); }
_ZN7glslang7TShader16setHlslIoMappingEb:
 1905|     66|void TShader::setHlslIoMapping(bool hlslIoMap)          { intermediate->setHlslIoMapping(hlslIoMap); }
_ZN7glslang7TShader5parseEPK16TBuiltInResourcei8EProfilebb11EShMessagesRNS0_8IncluderE:
 1916|     66|{
 1917|     66|    SetThreadPoolAllocator(pool);
 1918|       |
 1919|     66|    if (! preamble)
  ------------------
  |  Branch (1919:9): [True: 0, False: 66]
  ------------------
 1920|      0|        preamble = "";
 1921|       |
 1922|     66|    return CompileDeferred(compiler, strings, numStrings, lengths, stringNames,
 1923|     66|                           preamble, EShOptNone, builtInResources, defaultVersion,
 1924|     66|                           defaultProfile, forceDefaultVersionAndProfile, overrideVersion,
 1925|     66|                           forwardCompatible, messages, *intermediate, includer, sourceEntryPointName,
 1926|     66|                           &environment, compileOnly);
 1927|     66|}
_ZN7glslang7TShader10preprocessEPK16TBuiltInResourcei8EProfilebb11EShMessagesPNSt3__112basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEERNS0_8IncluderE:
 1940|    166|{
 1941|    166|    SetThreadPoolAllocator(pool);
 1942|       |
 1943|    166|    if (! preamble)
  ------------------
  |  Branch (1943:9): [True: 0, False: 166]
  ------------------
 1944|      0|        preamble = "";
 1945|       |
 1946|    166|    return PreprocessDeferred(compiler, strings, numStrings, lengths, stringNames, preamble,
 1947|    166|                              EShOptNone, builtInResources, defaultVersion,
 1948|    166|                              defaultProfile, forceDefaultVersionAndProfile, overrideVersion,
 1949|    166|                              forwardCompatible, message, includer, *intermediate, output_string,
 1950|    166|                              &environment);
 1951|    166|}
_ZN7glslang7TShader10getInfoLogEv:
 1954|    232|{
 1955|    232|    return infoSink->info.c_str();
 1956|    232|}
ShaderLang.cpp:_ZN12_GLOBAL__N_115CompileDeferredEP9TCompilerPKPKciPKiS5_S3_20EShOptimizationLevelPK16TBuiltInResourcei8EProfilebib11EShMessagesRN7glslang13TIntermediateERNSE_7TShader8IncluderENSt3__112basic_stringIcNSK_11char_traitsIcEENSK_9allocatorIcEEEEPNSE_12TEnvironmentEb:
 1346|     66|{
 1347|     66|    DoFullParse parser;
 1348|     66|    return ProcessDeferred(compiler, shaderStrings, numStrings, inputLengths, stringNames,
 1349|     66|                           preamble, optLevel, resources, defaultVersion,
 1350|     66|                           defaultProfile, forceDefaultVersionAndProfile, overrideVersion,
 1351|     66|                           forwardCompatible, messages, intermediate, parser,
 1352|     66|                           true, includer, sourceEntryPointName, environment, compileOnly);
 1353|     66|}
ShaderLang.cpp:_ZN12_GLOBAL__N_115ProcessDeferredINS_11DoFullParseEEEbP9TCompilerPKPKciPKiS7_S5_20EShOptimizationLevelPK16TBuiltInResourcei8EProfilebib11EShMessagesRN7glslang13TIntermediateERT_bRNSG_7TShader8IncluderENSt3__112basic_stringIcNSO_11char_traitsIcEENSO_9allocatorIcEEEEPKNSG_12TEnvironmentEb:
  822|     66|{
  823|       |    // This must be undone (.pop()) by the caller, after it finishes consuming the created tree.
  824|     66|    GetThreadPoolAllocator().push();
  825|       |
  826|     66|    if (numStrings == 0)
  ------------------
  |  Branch (826:9): [True: 0, False: 66]
  ------------------
  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|     66|    const int numPre = 2;
  839|     66|    const int numPost = requireNonempty? 1 : 0;
  ------------------
  |  Branch (839:25): [True: 66, False: 0]
  ------------------
  840|     66|    const int numTotal = numPre + numStrings + numPost;
  841|     66|    std::unique_ptr<size_t[]> lengths(new size_t[numTotal]);
  842|     66|    std::unique_ptr<const char*[]> strings(new const char*[numTotal]);
  843|     66|    std::unique_ptr<const char*[]> names(new const char*[numTotal]);
  844|    132|    for (int s = 0; s < numStrings; ++s) {
  ------------------
  |  Branch (844:21): [True: 66, False: 66]
  ------------------
  845|     66|        strings[s + numPre] = shaderStrings[s];
  846|     66|        if (inputLengths == nullptr || inputLengths[s] < 0)
  ------------------
  |  Branch (846:13): [True: 0, False: 66]
  |  Branch (846:40): [True: 0, False: 66]
  ------------------
  847|      0|            lengths[s + numPre] = strlen(shaderStrings[s]);
  848|     66|        else
  849|     66|            lengths[s + numPre] = inputLengths[s];
  850|     66|    }
  851|     66|    if (stringNames != nullptr) {
  ------------------
  |  Branch (851:9): [True: 66, False: 0]
  ------------------
  852|    132|        for (int s = 0; s < numStrings; ++s)
  ------------------
  |  Branch (852:25): [True: 66, False: 66]
  ------------------
  853|     66|            names[s + numPre] = stringNames[s];
  854|     66|    } else {
  855|      0|        for (int s = 0; s < numStrings; ++s)
  ------------------
  |  Branch (855:25): [True: 0, False: 0]
  ------------------
  856|      0|            names[s + numPre] = nullptr;
  857|      0|    }
  858|       |
  859|       |    // Get all the stages, languages, clients, and other environment
  860|       |    // stuff sorted out.
  861|     66|    EShSource sourceGuess = (messages & EShMsgReadHlsl) != 0 ? EShSourceHlsl : EShSourceGlsl;
  ------------------
  |  Branch (861:29): [True: 46, False: 20]
  ------------------
  862|     66|    SpvVersion spvVersion;
  863|     66|    EShLanguage stage = compiler->getLanguage();
  864|     66|    TranslateEnvironment(environment, messages, sourceGuess, stage, spvVersion);
  865|     66|#ifdef ENABLE_HLSL
  866|     66|    EShSource source = sourceGuess;
  867|     66|    if (environment != nullptr && environment->target.hlslFunctionality1)
  ------------------
  |  Branch (867:9): [True: 66, False: 0]
  |  Branch (867:35): [True: 40, False: 26]
  ------------------
  868|     40|        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|     66|    glslang::TInputScanner userInput(numStrings, &strings[numPre], &lengths[numPre]);
  876|     66|    int version = 0;
  877|     66|    EProfile profile = ENoProfile;
  878|     66|    bool versionNotFirstToken = false;
  879|     66|    bool versionNotFirst = (source == EShSourceHlsl)
  ------------------
  |  Branch (879:28): [True: 46, False: 20]
  ------------------
  880|     66|                                ? true
  881|     66|                                : userInput.scanVersion(version, profile, versionNotFirstToken);
  882|     66|    bool versionNotFound = version == 0;
  883|     66|    if (forceDefaultVersionAndProfile && source == EShSourceGlsl) {
  ------------------
  |  Branch (883:9): [True: 0, False: 66]
  |  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|     66|    if (source == EShSourceGlsl && overrideVersion != 0) {
  ------------------
  |  Branch (900:9): [True: 20, False: 46]
  |  Branch (900:36): [True: 0, False: 20]
  ------------------
  901|      0|        version = overrideVersion;
  902|      0|    }
  903|       |
  904|     66|    bool goodVersion = DeduceVersionProfile(compiler->infoSink, stage,
  905|     66|                                            versionNotFirst, defaultVersion, source, version, profile, spvVersion);
  906|     66|    bool versionWillBeError = (versionNotFound || (profile == EEsProfile && version >= 300 && versionNotFirst));
  ------------------
  |  Branch (906:32): [True: 60, False: 6]
  |  Branch (906:52): [True: 0, False: 6]
  |  Branch (906:77): [True: 0, False: 0]
  |  Branch (906:95): [True: 0, False: 0]
  ------------------
  907|     66|    bool warnVersionNotFirst = false;
  908|     66|    if (! versionWillBeError && versionNotFirstToken) {
  ------------------
  |  Branch (908:9): [True: 6, False: 60]
  |  Branch (908:33): [True: 0, False: 6]
  ------------------
  909|      0|        if (messages & EShMsgRelaxedErrors)
  ------------------
  |  Branch (909:13): [True: 0, False: 0]
  ------------------
  910|      0|            warnVersionNotFirst = true;
  911|      0|        else
  912|      0|            versionWillBeError = true;
  913|      0|    }
  914|       |
  915|     66|    intermediate.setSource(source);
  916|     66|    intermediate.setVersion(version);
  917|     66|    intermediate.setProfile(profile);
  918|     66|    intermediate.setSpv(spvVersion);
  919|     66|    RecordProcesses(intermediate, messages, sourceEntryPointName);
  920|     66|    if (spvVersion.vulkan > 0)
  ------------------
  |  Branch (920:9): [True: 66, False: 0]
  ------------------
  921|     66|        intermediate.setOriginUpperLeft();
  922|     66|#ifdef ENABLE_HLSL
  923|     66|    if ((messages & EShMsgHlslOffsets) || source == EShSourceHlsl)
  ------------------
  |  Branch (923:9): [True: 42, False: 24]
  |  Branch (923:43): [True: 8, False: 16]
  ------------------
  924|     50|        intermediate.setHlslOffsets();
  925|     66|#endif
  926|     66|    if (messages & EShMsgDebugInfo) {
  ------------------
  |  Branch (926:9): [True: 0, False: 66]
  ------------------
  927|      0|        intermediate.setSourceFile(names[numPre]);
  928|      0|        for (int s = 0; s < numStrings; ++s) {
  ------------------
  |  Branch (928:25): [True: 0, False: 0]
  ------------------
  929|       |            // The string may not be null-terminated, so make sure we provide
  930|       |            // the length along with the string.
  931|      0|            intermediate.addSourceText(strings[numPre + s], lengths[numPre + s]);
  932|      0|        }
  933|      0|    }
  934|     66|    if (!SetupBuiltinSymbolTable(version, profile, spvVersion, source)) {
  ------------------
  |  Branch (934:9): [True: 6, False: 60]
  ------------------
  935|      6|        return false;
  936|      6|    }
  937|       |
  938|     60|    TSymbolTable* cachedTable = SharedSymbolTables[MapVersionToIndex(version)]
  939|     60|                                                  [MapSpvVersionToIndex(spvVersion)]
  940|     60|                                                  [MapProfileToIndex(profile)]
  941|     60|                                                  [MapSourceToIndex(source)]
  942|     60|                                                  [stage];
  943|       |
  944|       |    // Dynamically allocate the symbol table so we can control when it is deallocated WRT the pool.
  945|     60|    std::unique_ptr<TSymbolTable> symbolTable(new TSymbolTable);
  946|     60|    if (cachedTable)
  ------------------
  |  Branch (946:9): [True: 60, False: 0]
  ------------------
  947|     60|        symbolTable->adoptLevels(*cachedTable);
  948|       |
  949|     60|    if (intermediate.getUniqueId() != 0)
  ------------------
  |  Branch (949:9): [True: 0, False: 60]
  ------------------
  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|     60|    if (! AddContextSpecificSymbols(resources, compiler->infoSink, *symbolTable, version, profile, spvVersion,
  ------------------
  |  Branch (954:9): [True: 0, False: 60]
  ------------------
  955|     60|                                    stage, source)) {
  956|      0|        return false;
  957|      0|    }
  958|       |
  959|     60|    if (messages & EShMsgBuiltinSymbolTable)
  ------------------
  |  Branch (959:9): [True: 0, False: 60]
  ------------------
  960|      0|        DumpBuiltinSymbolTable(compiler->infoSink, *symbolTable);
  961|       |
  962|       |    //
  963|       |    // Now we can process the full shader under proper symbols and rules.
  964|       |    //
  965|       |
  966|     60|    std::unique_ptr<TParseContextBase> parseContext(CreateParseContext(*symbolTable, intermediate, version, profile, source,
  967|     60|                                                    stage, compiler->infoSink,
  968|     60|                                                    spvVersion, forwardCompatible, messages, false, sourceEntryPointName));
  969|     60|    parseContext->compileOnly = compileOnly;
  970|     60|    TPpContext ppContext(*parseContext, names[numPre] ? names[numPre] : "", includer);
  ------------------
  |  Branch (970:41): [True: 60, False: 0]
  ------------------
  971|       |
  972|       |    // only GLSL (bison triggered, really) needs an externally set scan context
  973|     60|    glslang::TScanContext scanContext(*parseContext);
  974|     60|    if (source == EShSourceGlsl)
  ------------------
  |  Branch (974:9): [True: 14, False: 46]
  ------------------
  975|     14|        parseContext->setScanContext(&scanContext);
  976|       |
  977|     60|    parseContext->setPpContext(&ppContext);
  978|     60|    parseContext->setLimits(*resources);
  979|     60|    if (! goodVersion)
  ------------------
  |  Branch (979:9): [True: 8, False: 52]
  ------------------
  980|      8|        parseContext->addError();
  981|     60|    if (warnVersionNotFirst) {
  ------------------
  |  Branch (981:9): [True: 0, False: 60]
  ------------------
  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|     60|    parseContext->initializeExtensionBehavior();
  988|       |
  989|       |    // Fill in the strings as outlined above.
  990|     60|    std::string preamble;
  991|     60|    parseContext->getPreamble(preamble);
  992|     60|    strings[0] = preamble.c_str();
  993|     60|    lengths[0] = strlen(strings[0]);
  994|     60|    names[0] = nullptr;
  995|     60|    strings[1] = customPreamble;
  996|     60|    lengths[1] = strlen(strings[1]);
  997|     60|    names[1] = nullptr;
  998|     60|    assert(2 == numPre);
  999|     60|    if (requireNonempty) {
  ------------------
  |  Branch (999:9): [True: 60, False: 0]
  ------------------
 1000|     60|        const int postIndex = numStrings + numPre;
 1001|     60|        strings[postIndex] = "\n int;";
 1002|     60|        lengths[postIndex] = strlen(strings[numStrings + numPre]);
 1003|     60|        names[postIndex] = nullptr;
 1004|     60|    }
 1005|     60|    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|     60|    symbolTable->push();
 1009|       |
 1010|     60|    bool success = processingContext(*parseContext, ppContext, fullInput,
 1011|     60|                                     versionWillBeError, *symbolTable,
 1012|     60|                                     intermediate, optLevel, messages);
 1013|     60|    intermediate.setUniqueId(symbolTable->getMaxSymbolId());
 1014|     60|    return success;
 1015|     60|}
ShaderLang.cpp:_ZN12_GLOBAL__N_120TranslateEnvironmentEPKN7glslang12TEnvironmentER11EShMessagesRNS0_9EShSourceER11EShLanguageRNS0_10SpvVersionE:
  702|    232|{
  703|       |    // Set up environmental defaults, first ignoring 'environment'.
  704|    232|    if (messages & EShMsgSpvRules)
  ------------------
  |  Branch (704:9): [True: 232, False: 0]
  ------------------
  705|    232|        spvVersion.spv = EShTargetSpv_1_0;
  706|    232|    if (messages & EShMsgVulkanRules) {
  ------------------
  |  Branch (706:9): [True: 232, False: 0]
  ------------------
  707|    232|        spvVersion.vulkan = EShTargetVulkan_1_0;
  708|    232|        spvVersion.vulkanGlsl = 100;
  709|    232|    } else if (spvVersion.spv != 0)
  ------------------
  |  Branch (709:16): [True: 0, False: 0]
  ------------------
  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|    232|    if (environment != nullptr) {
  ------------------
  |  Branch (715:9): [True: 232, False: 0]
  ------------------
  716|       |        // input language
  717|    232|        if (environment->input.languageFamily != EShSourceNone) {
  ------------------
  |  Branch (717:13): [True: 0, False: 232]
  ------------------
  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|    232|        switch (environment->client.client) {
  752|    232|        case EShClientVulkan:
  ------------------
  |  Branch (752:9): [True: 232, False: 0]
  ------------------
  753|    232|            spvVersion.vulkan = environment->client.version;
  754|    232|            break;
  755|      0|        default:
  ------------------
  |  Branch (755:9): [True: 0, False: 232]
  ------------------
  756|      0|            break;
  757|    232|        }
  758|       |
  759|       |        // generated code
  760|    232|        switch (environment->target.language) {
  761|     66|        case EshTargetSpv:
  ------------------
  |  Branch (761:9): [True: 66, False: 166]
  ------------------
  762|     66|            spvVersion.spv = environment->target.version;
  763|     66|            break;
  764|    166|        default:
  ------------------
  |  Branch (764:9): [True: 166, False: 66]
  ------------------
  765|    166|            break;
  766|    232|        }
  767|    232|    }
  768|    232|}
ShaderLang.cpp:_ZN12_GLOBAL__N_120DeduceVersionProfileER9TInfoSink11EShLanguagebiN7glslang9EShSourceERiR8EProfileRKNS3_10SpvVersionE:
  512|    232|{
  513|    232|    const int FirstProfileVersion = 150;
  514|    232|    bool correct = true;
  515|       |
  516|    232|    if (source == EShSourceHlsl) {
  ------------------
  |  Branch (516:9): [True: 111, False: 121]
  ------------------
  517|    111|        version = 500;          // shader model; currently a characteristic of glslang, not the input
  518|    111|        profile = ECoreProfile; // allow doubles in prototype parsing
  519|    111|        return correct;
  520|    111|    }
  521|       |
  522|       |    // Get a version...
  523|    121|    if (version == 0) {
  ------------------
  |  Branch (523:9): [True: 110, False: 11]
  ------------------
  524|    110|        version = defaultVersion;
  525|       |        // infoSink.info.message(EPrefixWarning, "#version: statement missing; use #version on first line of shader");
  526|    110|    }
  527|       |
  528|       |    // Get a good profile...
  529|    121|    if (profile == ENoProfile) {
  ------------------
  |  Branch (529:9): [True: 113, False: 8]
  ------------------
  530|    113|        if (version == 300 || version == 310 || version == 320) {
  ------------------
  |  Branch (530:13): [True: 0, False: 113]
  |  Branch (530:31): [True: 0, False: 113]
  |  Branch (530:49): [True: 0, False: 113]
  ------------------
  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|    113|        } else if (version == 100)
  ------------------
  |  Branch (534:20): [True: 0, False: 113]
  ------------------
  535|      0|            profile = EEsProfile;
  536|    113|        else if (version >= FirstProfileVersion)
  ------------------
  |  Branch (536:18): [True: 3, False: 110]
  ------------------
  537|      3|            profile = ECoreProfile;
  538|    110|        else
  539|    110|            profile = ENoProfile;
  540|    113|    } else {
  541|       |        // a profile was provided...
  542|      8|        if (version < 150) {
  ------------------
  |  Branch (542:13): [True: 0, False: 8]
  ------------------
  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|      8|        } else if (version == 300 || version == 310 || version == 320) {
  ------------------
  |  Branch (549:20): [True: 0, False: 8]
  |  Branch (549:38): [True: 0, False: 8]
  |  Branch (549:56): [True: 0, False: 8]
  ------------------
  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|      8|        } else {
  556|      8|            if (profile == EEsProfile) {
  ------------------
  |  Branch (556:17): [True: 0, False: 8]
  ------------------
  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|      8|        }
  566|      8|    }
  567|       |
  568|       |    // Fix version...
  569|    121|    switch (version) {
  570|       |    // ES versions
  571|      0|    case 100: break;
  ------------------
  |  Branch (571:5): [True: 0, False: 121]
  ------------------
  572|      0|    case 300: break;
  ------------------
  |  Branch (572:5): [True: 0, False: 121]
  ------------------
  573|      0|    case 310: break;
  ------------------
  |  Branch (573:5): [True: 0, False: 121]
  ------------------
  574|      0|    case 320: break;
  ------------------
  |  Branch (574:5): [True: 0, False: 121]
  ------------------
  575|       |
  576|       |    // desktop versions
  577|    110|    case 110: break;
  ------------------
  |  Branch (577:5): [True: 110, False: 11]
  ------------------
  578|      0|    case 120: break;
  ------------------
  |  Branch (578:5): [True: 0, False: 121]
  ------------------
  579|      0|    case 130: break;
  ------------------
  |  Branch (579:5): [True: 0, False: 121]
  ------------------
  580|      0|    case 140: break;
  ------------------
  |  Branch (580:5): [True: 0, False: 121]
  ------------------
  581|      0|    case 150: break;
  ------------------
  |  Branch (581:5): [True: 0, False: 121]
  ------------------
  582|      0|    case 330: break;
  ------------------
  |  Branch (582:5): [True: 0, False: 121]
  ------------------
  583|      0|    case 400: break;
  ------------------
  |  Branch (583:5): [True: 0, False: 121]
  ------------------
  584|      0|    case 410: break;
  ------------------
  |  Branch (584:5): [True: 0, False: 121]
  ------------------
  585|      0|    case 420: break;
  ------------------
  |  Branch (585:5): [True: 0, False: 121]
  ------------------
  586|      0|    case 430: break;
  ------------------
  |  Branch (586:5): [True: 0, False: 121]
  ------------------
  587|      0|    case 440: break;
  ------------------
  |  Branch (587:5): [True: 0, False: 121]
  ------------------
  588|     11|    case 450: break;
  ------------------
  |  Branch (588:5): [True: 11, False: 110]
  ------------------
  589|      0|    case 460: break;
  ------------------
  |  Branch (589:5): [True: 0, False: 121]
  ------------------
  590|       |
  591|       |    // unknown version
  592|      0|    default:
  ------------------
  |  Branch (592:5): [True: 0, False: 121]
  ------------------
  593|      0|        correct = false;
  594|      0|        infoSink.info.message(EPrefixError, "version not supported");
  595|      0|        if (profile == EEsProfile)
  ------------------
  |  Branch (595:13): [True: 0, False: 0]
  ------------------
  596|      0|            version = 310;
  597|      0|        else {
  598|      0|            version = 450;
  599|      0|            profile = ECoreProfile;
  600|      0|        }
  601|      0|        break;
  602|    121|    }
  603|       |
  604|       |    // Correct for stage type...
  605|    121|    switch (stage) {
  606|      1|    case EShLangGeometry:
  ------------------
  |  Branch (606:5): [True: 1, False: 120]
  ------------------
  607|      1|        if ((profile == EEsProfile && version < 310) ||
  ------------------
  |  Branch (607:14): [True: 0, False: 1]
  |  Branch (607:39): [True: 0, False: 0]
  ------------------
  608|      1|            (profile != EEsProfile && version < 150)) {
  ------------------
  |  Branch (608:14): [True: 1, False: 0]
  |  Branch (608:39): [True: 1, False: 0]
  ------------------
  609|      1|            correct = false;
  610|      1|            infoSink.info.message(EPrefixError, "#version: geometry shaders require es profile with version 310 or non-es profile with version 150 or above");
  611|      1|            version = (profile == EEsProfile) ? 310 : 150;
  ------------------
  |  Branch (611:23): [True: 0, False: 1]
  ------------------
  612|      1|            if (profile == EEsProfile || profile == ENoProfile)
  ------------------
  |  Branch (612:17): [True: 0, False: 1]
  |  Branch (612:42): [True: 1, False: 0]
  ------------------
  613|      1|                profile = ECoreProfile;
  614|      1|        }
  615|      1|        break;
  616|      8|    case EShLangTessControl:
  ------------------
  |  Branch (616:5): [True: 8, False: 113]
  ------------------
  617|     10|    case EShLangTessEvaluation:
  ------------------
  |  Branch (617:5): [True: 2, False: 119]
  ------------------
  618|     10|        if ((profile == EEsProfile && version < 310) ||
  ------------------
  |  Branch (618:14): [True: 0, False: 10]
  |  Branch (618:39): [True: 0, False: 0]
  ------------------
  619|     10|            (profile != EEsProfile && version < 150)) {
  ------------------
  |  Branch (619:14): [True: 10, False: 0]
  |  Branch (619:39): [True: 4, False: 6]
  ------------------
  620|      4|            correct = false;
  621|      4|            infoSink.info.message(EPrefixError, "#version: tessellation shaders require es profile with version 310 or non-es profile with version 150 or above");
  622|      4|            version = (profile == EEsProfile) ? 310 : 400; // 150 supports the extension, correction is to 400 which does not
  ------------------
  |  Branch (622:23): [True: 0, False: 4]
  ------------------
  623|      4|            if (profile == EEsProfile || profile == ENoProfile)
  ------------------
  |  Branch (623:17): [True: 0, False: 4]
  |  Branch (623:42): [True: 4, False: 0]
  ------------------
  624|      4|                profile = ECoreProfile;
  625|      4|        }
  626|     10|        break;
  627|      0|    case EShLangCompute:
  ------------------
  |  Branch (627:5): [True: 0, False: 121]
  ------------------
  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: 121]
  ------------------
  636|      0|    case EShLangIntersect:
  ------------------
  |  Branch (636:5): [True: 0, False: 121]
  ------------------
  637|      0|    case EShLangAnyHit:
  ------------------
  |  Branch (637:5): [True: 0, False: 121]
  ------------------
  638|      0|    case EShLangClosestHit:
  ------------------
  |  Branch (638:5): [True: 0, False: 121]
  ------------------
  639|      0|    case EShLangMiss:
  ------------------
  |  Branch (639:5): [True: 0, False: 121]
  ------------------
  640|      0|    case EShLangCallable:
  ------------------
  |  Branch (640:5): [True: 0, False: 121]
  ------------------
  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|      6|    case EShLangMesh:
  ------------------
  |  Branch (647:5): [True: 6, False: 115]
  ------------------
  648|      6|    case EShLangTask:
  ------------------
  |  Branch (648:5): [True: 0, False: 121]
  ------------------
  649|      6|        if ((profile == EEsProfile && version < 320) ||
  ------------------
  |  Branch (649:14): [True: 0, False: 6]
  |  Branch (649:39): [True: 0, False: 0]
  ------------------
  650|      6|            (profile != EEsProfile && version < 450)) {
  ------------------
  |  Branch (650:14): [True: 6, False: 0]
  |  Branch (650:39): [True: 6, False: 0]
  ------------------
  651|      6|            correct = false;
  652|      6|            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|      6|            version = profile == EEsProfile ? 320 : 450;
  ------------------
  |  Branch (653:23): [True: 0, False: 6]
  ------------------
  654|      6|        }
  655|      6|        break;
  656|    104|    default:
  ------------------
  |  Branch (656:5): [True: 104, False: 17]
  ------------------
  657|    104|        break;
  658|    121|    }
  659|       |
  660|    121|    if (profile == EEsProfile && version >= 300 && versionNotFirst) {
  ------------------
  |  Branch (660:9): [True: 0, False: 121]
  |  Branch (660:34): [True: 0, False: 0]
  |  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|    121|    if (spvVersion.spv != 0) {
  ------------------
  |  Branch (666:9): [True: 121, False: 0]
  ------------------
  667|    121|        switch (profile) {
  668|      0|        case EEsProfile:
  ------------------
  |  Branch (668:9): [True: 0, False: 121]
  ------------------
  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: 121]
  ------------------
  676|      0|            infoSink.info.message(EPrefixError, "#version: compilation for SPIR-V does not support the compatibility profile");
  677|      0|            break;
  678|    121|        default:
  ------------------
  |  Branch (678:9): [True: 121, False: 0]
  ------------------
  679|    121|            if (spvVersion.vulkan > 0 && version < 140) {
  ------------------
  |  Branch (679:17): [True: 121, False: 0]
  |  Branch (679:42): [True: 99, False: 22]
  ------------------
  680|     99|                correct = false;
  681|     99|                infoSink.info.message(EPrefixError, "#version: Desktop shaders for Vulkan SPIR-V require version 140 or higher");
  682|     99|                version = 140;
  683|     99|            }
  684|    121|            if (spvVersion.openGl >= 100 && version < 330) {
  ------------------
  |  Branch (684:17): [True: 0, False: 121]
  |  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|    121|            break;
  690|    121|        }
  691|    121|    }
  692|       |
  693|    121|    return correct;
  694|    121|}
ShaderLang.cpp:_ZN12_GLOBAL__N_115RecordProcessesERN7glslang13TIntermediateE11EShMessagesRKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEE:
  773|    232|{
  774|    232|    if ((messages & EShMsgRelaxedErrors) != 0)
  ------------------
  |  Branch (774:9): [True: 0, False: 232]
  ------------------
  775|      0|        intermediate.addProcess("relaxed-errors");
  776|    232|    if ((messages & EShMsgSuppressWarnings) != 0)
  ------------------
  |  Branch (776:9): [True: 0, False: 232]
  ------------------
  777|      0|        intermediate.addProcess("suppress-warnings");
  778|    232|    if ((messages & EShMsgKeepUncalled) != 0)
  ------------------
  |  Branch (778:9): [True: 0, False: 232]
  ------------------
  779|      0|        intermediate.addProcess("keep-uncalled");
  780|    232|    if ((messages & EShMsgRelaxSetBindingLimits) != 0)
  ------------------
  |  Branch (780:9): [True: 0, False: 232]
  ------------------
  781|      0|        intermediate.setRelaxSetBindingLimits(true);
  782|    232|    if (sourceEntryPointName.size() > 0) {
  ------------------
  |  Branch (782:9): [True: 0, False: 232]
  ------------------
  783|      0|        intermediate.addProcess("source-entrypoint");
  784|      0|        intermediate.addProcessArgument(sourceEntryPointName);
  785|      0|    }
  786|    232|}
ShaderLang.cpp:_ZN12_GLOBAL__N_123SetupBuiltinSymbolTableEi8EProfileRKN7glslang10SpvVersionENS1_9EShSourceE:
  427|    232|{
  428|    232|    TInfoSink infoSink;
  429|    232|    bool success;
  430|       |
  431|       |    // Make sure only one thread tries to do this at a time
  432|    232|#ifndef DISABLE_THREAD_SUPPORT
  433|    232|    const std::lock_guard<std::mutex> lock(init_lock);
  434|    232|#endif
  435|       |
  436|       |    // See if it's already been done for this version/profile combination
  437|    232|    int versionIndex = MapVersionToIndex(version);
  438|    232|    int spvVersionIndex = MapSpvVersionToIndex(spvVersion);
  439|    232|    int profileIndex = MapProfileToIndex(profile);
  440|    232|    int sourceIndex = MapSourceToIndex(source);
  441|    232|    if (CommonSymbolTable[versionIndex][spvVersionIndex][profileIndex][sourceIndex][EPcGeneral]) {
  ------------------
  |  Branch (441:9): [True: 70, False: 162]
  ------------------
  442|     70|        return true;
  443|     70|    }
  444|       |
  445|       |    // Switch to a new pool
  446|    162|    TPoolAllocator& previousAllocator = GetThreadPoolAllocator();
  447|    162|    TPoolAllocator* builtInPoolAllocator = new TPoolAllocator;
  448|    162|    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|    162|    TSymbolTable* commonTable[EPcCount];
  452|    162|    TSymbolTable* stageTables[EShLangCount];
  453|    486|    for (int precClass = 0; precClass < EPcCount; ++precClass)
  ------------------
  |  Branch (453:29): [True: 324, False: 162]
  ------------------
  454|    324|        commonTable[precClass] = new TSymbolTable;
  455|  2.43k|    for (int stage = 0; stage < EShLangCount; ++stage)
  ------------------
  |  Branch (455:25): [True: 2.26k, False: 162]
  ------------------
  456|  2.26k|        stageTables[stage] = new TSymbolTable;
  457|       |
  458|       |    // Generate the local symbol tables using the new pool
  459|    162|    if (!InitializeSymbolTables(infoSink, commonTable, stageTables, version, profile, spvVersion, source)) {
  ------------------
  |  Branch (459:9): [True: 6, False: 156]
  ------------------
  460|      6|        success = false;
  461|      6|        goto cleanup;
  462|      6|    }
  463|       |
  464|       |    // Switch to the process-global pool
  465|    156|    SetThreadPoolAllocator(PerProcessGPA);
  466|       |
  467|       |    // Copy the local symbol tables from the new pool to the global tables using the process-global pool
  468|    468|    for (int precClass = 0; precClass < EPcCount; ++precClass) {
  ------------------
  |  Branch (468:29): [True: 312, False: 156]
  ------------------
  469|    312|        if (! commonTable[precClass]->isEmpty()) {
  ------------------
  |  Branch (469:13): [True: 156, False: 156]
  ------------------
  470|    156|            CommonSymbolTable[versionIndex][spvVersionIndex][profileIndex][sourceIndex][precClass] = new TSymbolTable;
  471|    156|            CommonSymbolTable[versionIndex][spvVersionIndex][profileIndex][sourceIndex][precClass]->copyTable(*commonTable[precClass]);
  472|    156|            CommonSymbolTable[versionIndex][spvVersionIndex][profileIndex][sourceIndex][precClass]->readOnly();
  473|    156|        }
  474|    312|    }
  475|  2.34k|    for (int stage = 0; stage < EShLangCount; ++stage) {
  ------------------
  |  Branch (475:25): [True: 2.18k, False: 156]
  ------------------
  476|  2.18k|        if (! stageTables[stage]->isEmpty()) {
  ------------------
  |  Branch (476:13): [True: 951, False: 1.23k]
  ------------------
  477|    951|            SharedSymbolTables[versionIndex][spvVersionIndex][profileIndex][sourceIndex][stage] = new TSymbolTable;
  478|    951|            SharedSymbolTables[versionIndex][spvVersionIndex][profileIndex][sourceIndex][stage]->adoptLevels(*CommonSymbolTable
  479|    951|                              [versionIndex][spvVersionIndex][profileIndex][sourceIndex][CommonIndex(profile, (EShLanguage)stage)]);
  480|    951|            SharedSymbolTables[versionIndex][spvVersionIndex][profileIndex][sourceIndex][stage]->copyTable(*stageTables[stage]);
  481|    951|            SharedSymbolTables[versionIndex][spvVersionIndex][profileIndex][sourceIndex][stage]->readOnly();
  482|    951|        }
  483|  2.18k|    }
  484|    156|    success = true;
  485|       |
  486|    162|cleanup:
  487|       |    // Clean up the local tables before deleting the pool they used.
  488|    486|    for (int precClass = 0; precClass < EPcCount; ++precClass)
  ------------------
  |  Branch (488:29): [True: 324, False: 162]
  ------------------
  489|    324|        delete commonTable[precClass];
  490|  2.43k|    for (int stage = 0; stage < EShLangCount; ++stage)
  ------------------
  |  Branch (490:25): [True: 2.26k, False: 162]
  ------------------
  491|  2.26k|        delete stageTables[stage];
  492|       |
  493|    162|    delete builtInPoolAllocator;
  494|    162|    SetThreadPoolAllocator(&previousAllocator);
  495|       |
  496|    162|    return success;
  497|    156|}
ShaderLang.cpp:_ZN12_GLOBAL__N_122InitializeSymbolTablesER9TInfoSinkPPN7glslang12TSymbolTableES5_i8EProfileRKNS2_10SpvVersionENS2_9EShSourceE:
  322|    162|{
  323|    162|    bool success = true;
  324|    162|    std::unique_ptr<TBuiltInParseables> builtInParseables(CreateBuiltInParseables(infoSink, source));
  325|       |
  326|    162|    if (builtInParseables == nullptr)
  ------------------
  |  Branch (326:9): [True: 0, False: 162]
  ------------------
  327|      0|        return false;
  328|       |
  329|    162|    builtInParseables->initialize(version, profile, spvVersion);
  330|       |
  331|       |    // do the common tables
  332|    162|    success &= InitializeSymbolTable(builtInParseables->getCommonString(), version, profile, spvVersion, EShLangVertex, source,
  333|    162|                          infoSink, *commonTable[EPcGeneral]);
  334|    162|    if (profile == EEsProfile)
  ------------------
  |  Branch (334:9): [True: 0, False: 162]
  ------------------
  335|      0|        success &= InitializeSymbolTable(builtInParseables->getCommonString(), version, profile, spvVersion, EShLangFragment, source,
  336|      0|                              infoSink, *commonTable[EPcFragment]);
  337|       |
  338|       |    // do the per-stage tables
  339|       |
  340|       |    // always have vertex and fragment
  341|    162|    success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangVertex, source,
  342|    162|                               infoSink, commonTable, symbolTables);
  343|    162|    success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangFragment, source,
  344|    162|                               infoSink, commonTable, symbolTables);
  345|       |
  346|       |    // check for tessellation
  347|    162|    if ((profile != EEsProfile && version >= 150) ||
  ------------------
  |  Branch (347:10): [True: 162, False: 0]
  |  Branch (347:35): [True: 63, False: 99]
  ------------------
  348|     99|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (348:10): [True: 0, False: 99]
  |  Branch (348:35): [True: 0, False: 0]
  ------------------
  349|     63|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangTessControl, source,
  350|     63|                                   infoSink, commonTable, symbolTables);
  351|     63|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangTessEvaluation, source,
  352|     63|                                   infoSink, commonTable, symbolTables);
  353|     63|    }
  354|       |
  355|       |    // check for geometry
  356|    162|    if ((profile != EEsProfile && version >= 150) ||
  ------------------
  |  Branch (356:10): [True: 162, False: 0]
  |  Branch (356:35): [True: 63, False: 99]
  ------------------
  357|     99|        (profile == EEsProfile && version >= 310))
  ------------------
  |  Branch (357:10): [True: 0, False: 99]
  |  Branch (357:35): [True: 0, False: 0]
  ------------------
  358|     63|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangGeometry, source,
  359|     63|                                   infoSink, commonTable, symbolTables);
  360|       |
  361|       |    // check for compute
  362|    162|    if ((profile != EEsProfile && version >= 420) ||
  ------------------
  |  Branch (362:10): [True: 162, False: 0]
  |  Branch (362:35): [True: 58, False: 104]
  ------------------
  363|    104|        (profile == EEsProfile && version >= 310))
  ------------------
  |  Branch (363:10): [True: 0, False: 104]
  |  Branch (363:35): [True: 0, False: 0]
  ------------------
  364|     58|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangCompute, source,
  365|     58|                                   infoSink, commonTable, symbolTables);
  366|       |
  367|       |    // check for ray tracing stages
  368|    162|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (368:9): [True: 162, False: 0]
  |  Branch (368:34): [True: 58, False: 104]
  ------------------
  369|     58|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangRayGen, source,
  370|     58|            infoSink, commonTable, symbolTables);
  371|     58|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangIntersect, source,
  372|     58|            infoSink, commonTable, symbolTables);
  373|     58|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangAnyHit, source,
  374|     58|            infoSink, commonTable, symbolTables);
  375|     58|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangClosestHit, source,
  376|     58|            infoSink, commonTable, symbolTables);
  377|     58|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangMiss, source,
  378|     58|            infoSink, commonTable, symbolTables);
  379|     58|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangCallable, source,
  380|     58|            infoSink, commonTable, symbolTables);
  381|     58|    }
  382|       |
  383|       |    // check for mesh
  384|    162|    if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (384:10): [True: 162, False: 0]
  |  Branch (384:35): [True: 58, False: 104]
  ------------------
  385|    104|        (profile == EEsProfile && version >= 320))
  ------------------
  |  Branch (385:10): [True: 0, False: 104]
  |  Branch (385:35): [True: 0, False: 0]
  ------------------
  386|     58|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangMesh, source,
  387|     58|                                   infoSink, commonTable, symbolTables);
  388|       |
  389|       |    // check for task
  390|    162|    if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (390:10): [True: 162, False: 0]
  |  Branch (390:35): [True: 58, False: 104]
  ------------------
  391|    104|        (profile == EEsProfile && version >= 320))
  ------------------
  |  Branch (391:10): [True: 0, False: 104]
  |  Branch (391:35): [True: 0, False: 0]
  ------------------
  392|     58|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangTask, source,
  393|     58|                                   infoSink, commonTable, symbolTables);
  394|       |
  395|    162|    return success;
  396|    162|}
ShaderLang.cpp:_ZN12_GLOBAL__N_123CreateBuiltInParseablesER9TInfoSinkN7glslang9EShSourceE:
   94|    388|{
   95|    388|    switch (source) {
   96|    230|    case EShSourceGlsl: return new TBuiltIns();              // GLSL builtIns
  ------------------
  |  Branch (96:5): [True: 230, False: 158]
  ------------------
   97|      0|#ifdef ENABLE_HLSL
   98|    158|    case EShSourceHlsl: return new TBuiltInParseablesHlsl(); // HLSL intrinsics
  ------------------
  |  Branch (98:5): [True: 158, False: 230]
  ------------------
   99|      0|#endif
  100|       |
  101|      0|    default:
  ------------------
  |  Branch (101:5): [True: 0, False: 388]
  ------------------
  102|      0|        infoSink.info.message(EPrefixInternalError, "Unable to determine source language");
  103|      0|        return nullptr;
  104|    388|    }
  105|    388|}
ShaderLang.cpp:_ZN12_GLOBAL__N_121InitializeSymbolTableERKNSt3__112basic_stringIcNS0_11char_traitsIcEEN7glslang14pool_allocatorIcEEEEi8EProfileRKNS4_10SpvVersionE11EShLanguageNS4_9EShSourceER9TInfoSinkRNS4_12TSymbolTableE:
  249|  1.42k|{
  250|  1.42k|    TIntermediate intermediate(language, version, profile);
  251|       |
  252|  1.42k|    intermediate.setSource(source);
  253|       |
  254|  1.42k|    std::unique_ptr<TParseContextBase> parseContext(CreateParseContext(symbolTable, intermediate, version, profile, source,
  255|  1.42k|                                                                       language, infoSink, spvVersion, true, EShMsgDefault,
  256|  1.42k|                                                                       true));
  257|       |
  258|  1.42k|    TShader::ForbidIncluder includer;
  259|  1.42k|    TPpContext ppContext(*parseContext, "", includer);
  260|  1.42k|    TScanContext scanContext(*parseContext);
  261|  1.42k|    parseContext->setScanContext(&scanContext);
  262|  1.42k|    parseContext->setPpContext(&ppContext);
  263|       |
  264|       |    //
  265|       |    // Push the symbol table to give it an initial scope.  This
  266|       |    // push should not have a corresponding pop, so that built-ins
  267|       |    // are preserved, and the test for an empty table fails.
  268|       |    //
  269|       |
  270|  1.42k|    symbolTable.push();
  271|       |
  272|  1.42k|    const char* builtInShaders[2];
  273|  1.42k|    size_t builtInLengths[2];
  274|  1.42k|    builtInShaders[0] = builtIns.c_str();
  275|  1.42k|    builtInLengths[0] = builtIns.size();
  276|       |
  277|  1.42k|    if (builtInLengths[0] == 0)
  ------------------
  |  Branch (277:9): [True: 769, False: 654]
  ------------------
  278|    769|        return true;
  279|       |
  280|    654|    TInputScanner input(1, builtInShaders, builtInLengths);
  281|    654|    if (! parseContext->parseShaderStrings(ppContext, input) != 0) {
  ------------------
  |  Branch (281:9): [True: 12, False: 642]
  ------------------
  282|     12|        infoSink.info.message(EPrefixInternalError, "Unable to parse built-ins");
  283|     12|        printf("Unable to parse built-ins\n%s\n", infoSink.info.c_str());
  284|     12|        printf("%s\n", builtInShaders[0]);
  285|       |
  286|     12|        return false;
  287|     12|    }
  288|       |
  289|    642|    return true;
  290|    654|}
ShaderLang.cpp:_ZN12_GLOBAL__N_126InitializeStageSymbolTableERN7glslang18TBuiltInParseablesEi8EProfileRKNS0_10SpvVersionE11EShLanguageNS0_9EShSourceER9TInfoSinkPPNS0_12TSymbolTableESD_:
  303|  1.03k|{
  304|  1.03k|    (*symbolTables[language]).adoptLevels(*commonTable[CommonIndex(profile, language)]);
  305|  1.03k|    if (!InitializeSymbolTable(builtInParseables.getStageString(language), version, profile, spvVersion, language, source,
  ------------------
  |  Branch (305:9): [True: 6, False: 1.02k]
  ------------------
  306|  1.03k|                          infoSink, *symbolTables[language]))
  307|      6|        return false;
  308|  1.02k|    builtInParseables.identifyBuiltIns(version, profile, spvVersion, language, *symbolTables[language]);
  309|  1.02k|    if (profile == EEsProfile && version >= 300)
  ------------------
  |  Branch (309:9): [True: 0, False: 1.02k]
  |  Branch (309:34): [True: 0, False: 0]
  ------------------
  310|      0|        (*symbolTables[language]).setNoBuiltInRedeclarations();
  311|  1.02k|    if (version == 110)
  ------------------
  |  Branch (311:9): [True: 0, False: 1.02k]
  ------------------
  312|      0|        (*symbolTables[language]).setSeparateNameSpaces();
  313|       |
  314|  1.02k|    return true;
  315|  1.03k|}
ShaderLang.cpp:_ZN12_GLOBAL__N_111CommonIndexE8EProfile11EShLanguage:
  293|  1.98k|{
  294|  1.98k|    return (profile == EEsProfile && language == EShLangFragment) ? EPcFragment : EPcGeneral;
  ------------------
  |  Branch (294:13): [True: 0, False: 1.98k]
  |  Branch (294:38): [True: 0, False: 0]
  ------------------
  295|  1.98k|}
ShaderLang.cpp:_ZN12_GLOBAL__N_117MapVersionToIndexEi:
  138|    458|{
  139|    458|    int index = 0;
  140|       |
  141|    458|    switch (version) {
  142|      0|    case 100: index =  0; break;
  ------------------
  |  Branch (142:5): [True: 0, False: 458]
  ------------------
  143|      0|    case 110: index =  1; break;
  ------------------
  |  Branch (143:5): [True: 0, False: 458]
  ------------------
  144|      0|    case 120: index =  2; break;
  ------------------
  |  Branch (144:5): [True: 0, False: 458]
  ------------------
  145|      0|    case 130: index =  3; break;
  ------------------
  |  Branch (145:5): [True: 0, False: 458]
  ------------------
  146|    198|    case 140: index =  4; break;
  ------------------
  |  Branch (146:5): [True: 198, False: 260]
  ------------------
  147|      2|    case 150: index =  5; break;
  ------------------
  |  Branch (147:5): [True: 2, False: 456]
  ------------------
  148|      0|    case 300: index =  6; break;
  ------------------
  |  Branch (148:5): [True: 0, False: 458]
  ------------------
  149|      0|    case 330: index =  7; break;
  ------------------
  |  Branch (149:5): [True: 0, False: 458]
  ------------------
  150|      8|    case 400: index =  8; break;
  ------------------
  |  Branch (150:5): [True: 8, False: 450]
  ------------------
  151|      0|    case 410: index =  9; break;
  ------------------
  |  Branch (151:5): [True: 0, False: 458]
  ------------------
  152|      0|    case 420: index = 10; break;
  ------------------
  |  Branch (152:5): [True: 0, False: 458]
  ------------------
  153|      0|    case 430: index = 11; break;
  ------------------
  |  Branch (153:5): [True: 0, False: 458]
  ------------------
  154|      0|    case 440: index = 12; break;
  ------------------
  |  Branch (154:5): [True: 0, False: 458]
  ------------------
  155|      0|    case 310: index = 13; break;
  ------------------
  |  Branch (155:5): [True: 0, False: 458]
  ------------------
  156|     28|    case 450: index = 14; break;
  ------------------
  |  Branch (156:5): [True: 28, False: 430]
  ------------------
  157|    222|    case 500: index =  0; break; // HLSL
  ------------------
  |  Branch (157:5): [True: 222, False: 236]
  ------------------
  158|      0|    case 320: index = 15; break;
  ------------------
  |  Branch (158:5): [True: 0, False: 458]
  ------------------
  159|      0|    case 460: index = 16; break;
  ------------------
  |  Branch (159:5): [True: 0, False: 458]
  ------------------
  160|      0|    default:  assert(0);  break;
  ------------------
  |  Branch (160:5): [True: 0, False: 458]
  ------------------
  161|    458|    }
  162|       |
  163|    458|    assert(index < VersionCount);
  164|       |
  165|    458|    return index;
  166|    458|}
ShaderLang.cpp:_ZN12_GLOBAL__N_120MapSpvVersionToIndexERKN7glslang10SpvVersionE:
  171|    458|{
  172|    458|    int index = 0;
  173|       |
  174|    458|    if (spvVersion.openGl > 0)
  ------------------
  |  Branch (174:9): [True: 0, False: 458]
  ------------------
  175|      0|        index = 1;
  176|    458|    else if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (176:14): [True: 458, False: 0]
  ------------------
  177|    458|        if (!spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (177:13): [True: 458, False: 0]
  ------------------
  178|    458|            index = 2;
  179|      0|        else
  180|      0|            index = 3;
  181|    458|    }
  182|       |
  183|    458|    assert(index < SpvVersionCount);
  184|       |
  185|    458|    return index;
  186|    458|}
ShaderLang.cpp:_ZN12_GLOBAL__N_117MapProfileToIndexE8EProfile:
  191|    458|{
  192|    458|    int index = 0;
  193|       |
  194|    458|    switch (profile) {
  195|    204|    case ENoProfile:            index = 0; break;
  ------------------
  |  Branch (195:5): [True: 204, False: 254]
  ------------------
  196|    254|    case ECoreProfile:          index = 1; break;
  ------------------
  |  Branch (196:5): [True: 254, False: 204]
  ------------------
  197|      0|    case ECompatibilityProfile: index = 2; break;
  ------------------
  |  Branch (197:5): [True: 0, False: 458]
  ------------------
  198|      0|    case EEsProfile:            index = 3; break;
  ------------------
  |  Branch (198:5): [True: 0, False: 458]
  ------------------
  199|      0|    default:                               break;
  ------------------
  |  Branch (199:5): [True: 0, False: 458]
  ------------------
  200|    458|    }
  201|       |
  202|    458|    assert(index < ProfileCount);
  203|       |
  204|    458|    return index;
  205|    458|}
ShaderLang.cpp:_ZN12_GLOBAL__N_116MapSourceToIndexEN7glslang9EShSourceE:
  210|    458|{
  211|    458|    int index = 0;
  212|       |
  213|    458|    switch (source) {
  214|    236|    case EShSourceGlsl: index = 0; break;
  ------------------
  |  Branch (214:5): [True: 236, False: 222]
  ------------------
  215|    222|    case EShSourceHlsl: index = 1; break;
  ------------------
  |  Branch (215:5): [True: 222, False: 236]
  ------------------
  216|      0|    default:                       break;
  ------------------
  |  Branch (216:5): [True: 0, False: 458]
  ------------------
  217|    458|    }
  218|       |
  219|    458|    assert(index < SourceCount);
  220|       |
  221|    458|    return index;
  222|    458|}
ShaderLang.cpp:_ZN12_GLOBAL__N_125AddContextSpecificSymbolsEPK16TBuiltInResourceR9TInfoSinkRN7glslang12TSymbolTableEi8EProfileRKNS5_10SpvVersionE11EShLanguageNS5_9EShSourceE:
  400|    226|{
  401|    226|    std::unique_ptr<TBuiltInParseables> builtInParseables(CreateBuiltInParseables(infoSink, source));
  402|       |
  403|    226|    if (builtInParseables == nullptr)
  ------------------
  |  Branch (403:9): [True: 0, False: 226]
  ------------------
  404|      0|        return false;
  405|       |
  406|    226|    builtInParseables->initialize(*resources, version, profile, spvVersion, language);
  407|    226|    if (!InitializeSymbolTable(builtInParseables->getCommonString(), version, profile, spvVersion, language, source, infoSink, symbolTable))
  ------------------
  |  Branch (407:9): [True: 0, False: 226]
  ------------------
  408|      0|        return false;
  409|    226|    builtInParseables->identifyBuiltIns(version, profile, spvVersion, language, symbolTable, *resources);
  410|       |
  411|    226|    return true;
  412|    226|}
ShaderLang.cpp:_ZN12_GLOBAL__N_118CreateParseContextERN7glslang12TSymbolTableERNS0_13TIntermediateEi8EProfileNS0_9EShSourceE11EShLanguageR9TInfoSinkNS0_10SpvVersionEb11EShMessagesbNSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEE:
  113|  1.64k|{
  114|  1.64k|    switch (source) {
  115|    722|    case EShSourceGlsl: {
  ------------------
  |  Branch (115:5): [True: 722, False: 927]
  ------------------
  116|    722|        if (sourceEntryPointName.size() == 0)
  ------------------
  |  Branch (116:13): [True: 722, False: 0]
  ------------------
  117|    722|            intermediate.setEntryPointName("main");
  118|    722|        TString entryPoint = sourceEntryPointName.c_str();
  119|    722|        return new TParseContext(symbolTable, intermediate, parsingBuiltIns, version, profile, spvVersion,
  120|    722|                                 language, infoSink, forwardCompatible, messages, &entryPoint);
  121|      0|    }
  122|      0|#ifdef ENABLE_HLSL
  123|    927|    case EShSourceHlsl:
  ------------------
  |  Branch (123:5): [True: 927, False: 722]
  ------------------
  124|    927|        return new HlslParseContext(symbolTable, intermediate, parsingBuiltIns, version, profile, spvVersion,
  125|    927|                                    language, infoSink, sourceEntryPointName.c_str(), forwardCompatible, messages);
  126|      0|#endif
  127|      0|    default:
  ------------------
  |  Branch (127:5): [True: 0, False: 1.64k]
  ------------------
  128|      0|        infoSink.info.message(EPrefixInternalError, "Unable to determine source language");
  129|      0|        return nullptr;
  130|  1.64k|    }
  131|  1.64k|}
ShaderLang.cpp:_ZN12_GLOBAL__N_111DoFullParseclERN7glslang17TParseContextBaseERNS1_10TPpContextERNS1_13TInputScannerEbRNS1_12TSymbolTableERNS1_13TIntermediateE20EShOptimizationLevel11EShMessages:
 1257|     60|    {
 1258|     60|        bool success = true;
 1259|       |        // Parse the full shader.
 1260|     60|        if (! parseContext.parseShaderStrings(ppContext, fullInput, versionWillBeError))
  ------------------
  |  Branch (1260:13): [True: 60, False: 0]
  ------------------
 1261|     60|            success = false;
 1262|       |
 1263|     60|        if (success && intermediate.getTreeRoot()) {
  ------------------
  |  Branch (1263:13): [True: 0, False: 60]
  |  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|     60|        } else if (! success) {
  ------------------
  |  Branch (1268:20): [True: 60, False: 0]
  ------------------
 1269|     60|            parseContext.infoSink.info.prefix(EPrefixError);
 1270|     60|            parseContext.infoSink.info << parseContext.getNumErrors() << " compilation errors.  No code generated.\n\n";
 1271|     60|        }
 1272|       |
 1273|     60|        if (messages & EShMsgAST)
  ------------------
  |  Branch (1273:13): [True: 0, False: 60]
  ------------------
 1274|      0|            intermediate.output(parseContext.infoSink, true);
 1275|       |
 1276|     60|        return success;
 1277|     60|    }
_ZN7glslang17TDeferredCompilerC2E11EShLanguageR9TInfoSink:
 1758|    232|    TDeferredCompiler(EShLanguage s, TInfoSink& i) : TCompiler(s, i) { }
ShaderLang.cpp:_ZN12_GLOBAL__N_118PreprocessDeferredEP9TCompilerPKPKciPKiS5_S3_20EShOptimizationLevelPK16TBuiltInResourcei8EProfilebib11EShMessagesRN7glslang7TShader8IncluderERNSE_13TIntermediateEPNSt3__112basic_stringIcNSK_11char_traitsIcEENSK_9allocatorIcEEEEPNSE_12TEnvironmentE:
 1306|    166|{
 1307|    166|    DoPreprocessing parser(outputString);
 1308|    166|    return ProcessDeferred(compiler, shaderStrings, numStrings, inputLengths, stringNames,
 1309|    166|                           preamble, optLevel, resources, defaultVersion,
 1310|    166|                           defaultProfile, forceDefaultVersionAndProfile, overrideVersion,
 1311|    166|                           forwardCompatible, messages, intermediate, parser,
 1312|    166|                           false, includer, "", environment);
 1313|    166|}
ShaderLang.cpp:_ZN12_GLOBAL__N_115DoPreprocessingC2EPNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
 1109|    166|    explicit DoPreprocessing(std::string* string): outputString(string) {}
ShaderLang.cpp:_ZN12_GLOBAL__N_115ProcessDeferredINS_15DoPreprocessingEEEbP9TCompilerPKPKciPKiS7_S5_20EShOptimizationLevelPK16TBuiltInResourcei8EProfilebib11EShMessagesRN7glslang13TIntermediateERT_bRNSG_7TShader8IncluderENSt3__112basic_stringIcNSO_11char_traitsIcEENSO_9allocatorIcEEEEPKNSG_12TEnvironmentEb:
  822|    166|{
  823|       |    // This must be undone (.pop()) by the caller, after it finishes consuming the created tree.
  824|    166|    GetThreadPoolAllocator().push();
  825|       |
  826|    166|    if (numStrings == 0)
  ------------------
  |  Branch (826:9): [True: 0, False: 166]
  ------------------
  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|    166|    const int numPre = 2;
  839|    166|    const int numPost = requireNonempty? 1 : 0;
  ------------------
  |  Branch (839:25): [True: 0, False: 166]
  ------------------
  840|    166|    const int numTotal = numPre + numStrings + numPost;
  841|    166|    std::unique_ptr<size_t[]> lengths(new size_t[numTotal]);
  842|    166|    std::unique_ptr<const char*[]> strings(new const char*[numTotal]);
  843|    166|    std::unique_ptr<const char*[]> names(new const char*[numTotal]);
  844|    332|    for (int s = 0; s < numStrings; ++s) {
  ------------------
  |  Branch (844:21): [True: 166, False: 166]
  ------------------
  845|    166|        strings[s + numPre] = shaderStrings[s];
  846|    166|        if (inputLengths == nullptr || inputLengths[s] < 0)
  ------------------
  |  Branch (846:13): [True: 0, False: 166]
  |  Branch (846:40): [True: 0, False: 166]
  ------------------
  847|      0|            lengths[s + numPre] = strlen(shaderStrings[s]);
  848|    166|        else
  849|    166|            lengths[s + numPre] = inputLengths[s];
  850|    166|    }
  851|    166|    if (stringNames != nullptr) {
  ------------------
  |  Branch (851:9): [True: 166, False: 0]
  ------------------
  852|    332|        for (int s = 0; s < numStrings; ++s)
  ------------------
  |  Branch (852:25): [True: 166, False: 166]
  ------------------
  853|    166|            names[s + numPre] = stringNames[s];
  854|    166|    } else {
  855|      0|        for (int s = 0; s < numStrings; ++s)
  ------------------
  |  Branch (855:25): [True: 0, False: 0]
  ------------------
  856|      0|            names[s + numPre] = nullptr;
  857|      0|    }
  858|       |
  859|       |    // Get all the stages, languages, clients, and other environment
  860|       |    // stuff sorted out.
  861|    166|    EShSource sourceGuess = (messages & EShMsgReadHlsl) != 0 ? EShSourceHlsl : EShSourceGlsl;
  ------------------
  |  Branch (861:29): [True: 65, False: 101]
  ------------------
  862|    166|    SpvVersion spvVersion;
  863|    166|    EShLanguage stage = compiler->getLanguage();
  864|    166|    TranslateEnvironment(environment, messages, sourceGuess, stage, spvVersion);
  865|    166|#ifdef ENABLE_HLSL
  866|    166|    EShSource source = sourceGuess;
  867|    166|    if (environment != nullptr && environment->target.hlslFunctionality1)
  ------------------
  |  Branch (867:9): [True: 166, False: 0]
  |  Branch (867:35): [True: 69, False: 97]
  ------------------
  868|     69|        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|    166|    glslang::TInputScanner userInput(numStrings, &strings[numPre], &lengths[numPre]);
  876|    166|    int version = 0;
  877|    166|    EProfile profile = ENoProfile;
  878|    166|    bool versionNotFirstToken = false;
  879|    166|    bool versionNotFirst = (source == EShSourceHlsl)
  ------------------
  |  Branch (879:28): [True: 65, False: 101]
  ------------------
  880|    166|                                ? true
  881|    166|                                : userInput.scanVersion(version, profile, versionNotFirstToken);
  882|    166|    bool versionNotFound = version == 0;
  883|    166|    if (forceDefaultVersionAndProfile && source == EShSourceGlsl) {
  ------------------
  |  Branch (883:9): [True: 0, False: 166]
  |  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|    166|    if (source == EShSourceGlsl && overrideVersion != 0) {
  ------------------
  |  Branch (900:9): [True: 101, False: 65]
  |  Branch (900:36): [True: 0, False: 101]
  ------------------
  901|      0|        version = overrideVersion;
  902|      0|    }
  903|       |
  904|    166|    bool goodVersion = DeduceVersionProfile(compiler->infoSink, stage,
  905|    166|                                            versionNotFirst, defaultVersion, source, version, profile, spvVersion);
  906|    166|    bool versionWillBeError = (versionNotFound || (profile == EEsProfile && version >= 300 && versionNotFirst));
  ------------------
  |  Branch (906:32): [True: 161, False: 5]
  |  Branch (906:52): [True: 0, False: 5]
  |  Branch (906:77): [True: 0, False: 0]
  |  Branch (906:95): [True: 0, False: 0]
  ------------------
  907|    166|    bool warnVersionNotFirst = false;
  908|    166|    if (! versionWillBeError && versionNotFirstToken) {
  ------------------
  |  Branch (908:9): [True: 5, False: 161]
  |  Branch (908:33): [True: 0, False: 5]
  ------------------
  909|      0|        if (messages & EShMsgRelaxedErrors)
  ------------------
  |  Branch (909:13): [True: 0, False: 0]
  ------------------
  910|      0|            warnVersionNotFirst = true;
  911|      0|        else
  912|      0|            versionWillBeError = true;
  913|      0|    }
  914|       |
  915|    166|    intermediate.setSource(source);
  916|    166|    intermediate.setVersion(version);
  917|    166|    intermediate.setProfile(profile);
  918|    166|    intermediate.setSpv(spvVersion);
  919|    166|    RecordProcesses(intermediate, messages, sourceEntryPointName);
  920|    166|    if (spvVersion.vulkan > 0)
  ------------------
  |  Branch (920:9): [True: 166, False: 0]
  ------------------
  921|    166|        intermediate.setOriginUpperLeft();
  922|    166|#ifdef ENABLE_HLSL
  923|    166|    if ((messages & EShMsgHlslOffsets) || source == EShSourceHlsl)
  ------------------
  |  Branch (923:9): [True: 76, False: 90]
  |  Branch (923:43): [True: 11, False: 79]
  ------------------
  924|     87|        intermediate.setHlslOffsets();
  925|    166|#endif
  926|    166|    if (messages & EShMsgDebugInfo) {
  ------------------
  |  Branch (926:9): [True: 0, False: 166]
  ------------------
  927|      0|        intermediate.setSourceFile(names[numPre]);
  928|      0|        for (int s = 0; s < numStrings; ++s) {
  ------------------
  |  Branch (928:25): [True: 0, False: 0]
  ------------------
  929|       |            // The string may not be null-terminated, so make sure we provide
  930|       |            // the length along with the string.
  931|      0|            intermediate.addSourceText(strings[numPre + s], lengths[numPre + s]);
  932|      0|        }
  933|      0|    }
  934|    166|    if (!SetupBuiltinSymbolTable(version, profile, spvVersion, source)) {
  ------------------
  |  Branch (934:9): [True: 0, False: 166]
  ------------------
  935|      0|        return false;
  936|      0|    }
  937|       |
  938|    166|    TSymbolTable* cachedTable = SharedSymbolTables[MapVersionToIndex(version)]
  939|    166|                                                  [MapSpvVersionToIndex(spvVersion)]
  940|    166|                                                  [MapProfileToIndex(profile)]
  941|    166|                                                  [MapSourceToIndex(source)]
  942|    166|                                                  [stage];
  943|       |
  944|       |    // Dynamically allocate the symbol table so we can control when it is deallocated WRT the pool.
  945|    166|    std::unique_ptr<TSymbolTable> symbolTable(new TSymbolTable);
  946|    166|    if (cachedTable)
  ------------------
  |  Branch (946:9): [True: 166, False: 0]
  ------------------
  947|    166|        symbolTable->adoptLevels(*cachedTable);
  948|       |
  949|    166|    if (intermediate.getUniqueId() != 0)
  ------------------
  |  Branch (949:9): [True: 0, False: 166]
  ------------------
  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|    166|    if (! AddContextSpecificSymbols(resources, compiler->infoSink, *symbolTable, version, profile, spvVersion,
  ------------------
  |  Branch (954:9): [True: 0, False: 166]
  ------------------
  955|    166|                                    stage, source)) {
  956|      0|        return false;
  957|      0|    }
  958|       |
  959|    166|    if (messages & EShMsgBuiltinSymbolTable)
  ------------------
  |  Branch (959:9): [True: 0, False: 166]
  ------------------
  960|      0|        DumpBuiltinSymbolTable(compiler->infoSink, *symbolTable);
  961|       |
  962|       |    //
  963|       |    // Now we can process the full shader under proper symbols and rules.
  964|       |    //
  965|       |
  966|    166|    std::unique_ptr<TParseContextBase> parseContext(CreateParseContext(*symbolTable, intermediate, version, profile, source,
  967|    166|                                                    stage, compiler->infoSink,
  968|    166|                                                    spvVersion, forwardCompatible, messages, false, sourceEntryPointName));
  969|    166|    parseContext->compileOnly = compileOnly;
  970|    166|    TPpContext ppContext(*parseContext, names[numPre] ? names[numPre] : "", includer);
  ------------------
  |  Branch (970:41): [True: 166, False: 0]
  ------------------
  971|       |
  972|       |    // only GLSL (bison triggered, really) needs an externally set scan context
  973|    166|    glslang::TScanContext scanContext(*parseContext);
  974|    166|    if (source == EShSourceGlsl)
  ------------------
  |  Branch (974:9): [True: 101, False: 65]
  ------------------
  975|    101|        parseContext->setScanContext(&scanContext);
  976|       |
  977|    166|    parseContext->setPpContext(&ppContext);
  978|    166|    parseContext->setLimits(*resources);
  979|    166|    if (! goodVersion)
  ------------------
  |  Branch (979:9): [True: 96, False: 70]
  ------------------
  980|     96|        parseContext->addError();
  981|    166|    if (warnVersionNotFirst) {
  ------------------
  |  Branch (981:9): [True: 0, False: 166]
  ------------------
  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|    166|    parseContext->initializeExtensionBehavior();
  988|       |
  989|       |    // Fill in the strings as outlined above.
  990|    166|    std::string preamble;
  991|    166|    parseContext->getPreamble(preamble);
  992|    166|    strings[0] = preamble.c_str();
  993|    166|    lengths[0] = strlen(strings[0]);
  994|    166|    names[0] = nullptr;
  995|    166|    strings[1] = customPreamble;
  996|    166|    lengths[1] = strlen(strings[1]);
  997|    166|    names[1] = nullptr;
  998|    166|    assert(2 == numPre);
  999|    166|    if (requireNonempty) {
  ------------------
  |  Branch (999:9): [True: 0, False: 166]
  ------------------
 1000|      0|        const int postIndex = numStrings + numPre;
 1001|      0|        strings[postIndex] = "\n int;";
 1002|      0|        lengths[postIndex] = strlen(strings[numStrings + numPre]);
 1003|      0|        names[postIndex] = nullptr;
 1004|      0|    }
 1005|    166|    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|    166|    symbolTable->push();
 1009|       |
 1010|    166|    bool success = processingContext(*parseContext, ppContext, fullInput,
 1011|    166|                                     versionWillBeError, *symbolTable,
 1012|    166|                                     intermediate, optLevel, messages);
 1013|    166|    intermediate.setUniqueId(symbolTable->getMaxSymbolId());
 1014|    166|    return success;
 1015|    166|}
ShaderLang.cpp:_ZN12_GLOBAL__N_115DoPreprocessingclERN7glslang17TParseContextBaseERNS1_10TPpContextERNS1_13TInputScannerEbRNS1_12TSymbolTableERNS1_13TIntermediateE20EShOptimizationLevel11EShMessages:
 1114|    166|    {
 1115|       |        // This is a list of tokens that do not require a space before or after.
 1116|    166|        static const std::string noNeededSpaceBeforeTokens = ";)[].,";
 1117|    166|        static const std::string noNeededSpaceAfterTokens = ".([";
 1118|    166|        glslang::TPpToken ppToken;
 1119|       |
 1120|    166|        parseContext.setScanner(&input);
 1121|    166|        ppContext.setInput(input, versionWillBeError);
 1122|       |
 1123|    166|        std::string outputBuffer;
 1124|    166|        SourceLineSynchronizer lineSync(
 1125|    166|            std::bind(&TInputScanner::getLastValidSourceIndex, &input), &outputBuffer);
 1126|       |
 1127|    166|        parseContext.setExtensionCallback([&lineSync, &outputBuffer](
 1128|    166|            int line, const char* extension, const char* behavior) {
 1129|    166|                lineSync.syncToLine(line);
 1130|    166|                outputBuffer += "#extension ";
 1131|    166|                outputBuffer += extension;
 1132|    166|                outputBuffer += " : ";
 1133|    166|                outputBuffer += behavior;
 1134|    166|        });
 1135|       |
 1136|    166|        parseContext.setLineCallback([&lineSync, &outputBuffer, &parseContext](
 1137|    166|            int curLineNum, int newLineNum, bool hasSource, int sourceNum, const char* sourceName) {
 1138|       |            // SourceNum is the number of the source-string that is being parsed.
 1139|    166|            lineSync.syncToLine(curLineNum);
 1140|    166|            outputBuffer += "#line ";
 1141|    166|            outputBuffer += std::to_string(newLineNum);
 1142|    166|            if (hasSource) {
 1143|    166|                outputBuffer += ' ';
 1144|    166|                if (sourceName != nullptr) {
 1145|    166|                    outputBuffer += '\"';
 1146|    166|                    outputBuffer += sourceName;
 1147|    166|                    outputBuffer += '\"';
 1148|    166|                } else {
 1149|    166|                    outputBuffer += std::to_string(sourceNum);
 1150|    166|                }
 1151|    166|            }
 1152|    166|            if (parseContext.lineDirectiveShouldSetNextLine()) {
 1153|       |                // newLineNum is the new line number for the line following the #line
 1154|       |                // directive. So the new line number for the current line is
 1155|    166|                newLineNum -= 1;
 1156|    166|            }
 1157|    166|            outputBuffer += '\n';
 1158|       |            // And we are at the next line of the #line directive now.
 1159|    166|            lineSync.setLineNum(newLineNum + 1);
 1160|    166|        });
 1161|       |
 1162|    166|        parseContext.setVersionCallback(
 1163|    166|            [&lineSync, &outputBuffer](int line, int version, const char* str) {
 1164|    166|                lineSync.syncToLine(line);
 1165|    166|                outputBuffer += "#version ";
 1166|    166|                outputBuffer += std::to_string(version);
 1167|    166|                if (str) {
 1168|    166|                    outputBuffer += ' ';
 1169|    166|                    outputBuffer += str;
 1170|    166|                }
 1171|    166|            });
 1172|       |
 1173|    166|        parseContext.setPragmaCallback([&lineSync, &outputBuffer](
 1174|    166|            int line, const glslang::TVector<glslang::TString>& ops) {
 1175|    166|                lineSync.syncToLine(line);
 1176|    166|                outputBuffer += "#pragma ";
 1177|    166|                for(size_t i = 0; i < ops.size(); ++i) {
 1178|    166|                    outputBuffer += ops[i].c_str();
 1179|    166|                }
 1180|    166|        });
 1181|       |
 1182|    166|        parseContext.setErrorCallback([&lineSync, &outputBuffer](
 1183|    166|            int line, const char* errorMessage) {
 1184|    166|                lineSync.syncToLine(line);
 1185|    166|                outputBuffer += "#error ";
 1186|    166|                outputBuffer += errorMessage;
 1187|    166|        });
 1188|       |
 1189|    166|        int lastToken = EndOfInput; // lastToken records the last token processed.
 1190|    166|        std::string lastTokenName;
 1191|  22.2M|        do {
 1192|  22.2M|            int token = ppContext.tokenize(ppToken);
 1193|  22.2M|            if (token == EndOfInput)
  ------------------
  |  Branch (1193:17): [True: 166, False: 22.2M]
  ------------------
 1194|    166|                break;
 1195|       |
 1196|  22.2M|            bool isNewString = lineSync.syncToMostRecentString();
 1197|  22.2M|            bool isNewLine = lineSync.syncToLine(ppToken.loc.line);
 1198|       |
 1199|  22.2M|            if (isNewLine) {
  ------------------
  |  Branch (1199:17): [True: 2.03M, False: 20.2M]
  ------------------
 1200|       |                // Don't emit whitespace onto empty lines.
 1201|       |                // Copy any whitespace characters at the start of a line
 1202|       |                // from the input to the output.
 1203|  2.03M|                if (ppToken.loc.column > 0)
  ------------------
  |  Branch (1203:21): [True: 2.03M, False: 0]
  ------------------
 1204|  2.03M|                    outputBuffer += std::string(ppToken.loc.column - 1, ' ');
 1205|  2.03M|            }
 1206|       |
 1207|       |            // Output a space in between tokens, but not at the start of a line,
 1208|       |            // and also not around special tokens. This helps with readability
 1209|       |            // and consistency.
 1210|  22.2M|            if (!isNewString && !isNewLine && lastToken != EndOfInput) {
  ------------------
  |  Branch (1210:17): [True: 22.2M, False: 158]
  |  Branch (1210:33): [True: 20.2M, False: 2.03M]
  |  Branch (1210:47): [True: 20.2M, False: 0]
  ------------------
 1211|       |                // left parenthesis need a leading space, except it is in a function-call-like context.
 1212|       |                // examples: `for (xxx)`, `a * (b + c)`, `vec(2.0)`, `foo(x, y, z)`
 1213|  20.2M|                if (token == '(') {
  ------------------
  |  Branch (1213:21): [True: 11.8k, False: 20.2M]
  ------------------
 1214|  11.8k|                    if (lastToken != PpAtomIdentifier ||
  ------------------
  |  Branch (1214:25): [True: 3.52k, False: 8.33k]
  ------------------
 1215|  8.33k|                        lastTokenName == "if" ||
  ------------------
  |  Branch (1215:25): [True: 0, False: 8.33k]
  ------------------
 1216|  8.33k|                        lastTokenName == "for" ||
  ------------------
  |  Branch (1216:25): [True: 0, False: 8.33k]
  ------------------
 1217|  8.33k|                        lastTokenName == "while" ||
  ------------------
  |  Branch (1217:25): [True: 0, False: 8.33k]
  ------------------
 1218|  8.33k|                        lastTokenName == "switch")
  ------------------
  |  Branch (1218:25): [True: 0, False: 8.33k]
  ------------------
 1219|  3.52k|                        outputBuffer += ' ';
 1220|  20.2M|                } else if ((noNeededSpaceBeforeTokens.find((char)token) == std::string::npos) &&
  ------------------
  |  Branch (1220:28): [True: 19.2M, False: 943k]
  ------------------
 1221|  19.2M|                    (noNeededSpaceAfterTokens.find((char)lastToken) == std::string::npos)) {
  ------------------
  |  Branch (1221:21): [True: 19.2M, False: 32.1k]
  ------------------
 1222|  19.2M|                    outputBuffer += ' ';
 1223|  19.2M|                }
 1224|  20.2M|            }
 1225|  22.2M|            if (token == PpAtomIdentifier)
  ------------------
  |  Branch (1225:17): [True: 1.43M, False: 20.8M]
  ------------------
 1226|  1.43M|                lastTokenName = ppToken.name;
 1227|  22.2M|            lastToken = token;
 1228|  22.2M|            if (token == PpAtomConstString) {
  ------------------
  |  Branch (1228:17): [True: 54.5k, False: 22.2M]
  ------------------
 1229|  54.5k|                outputBuffer += "\"";
 1230|  54.5k|                appendEscapedString(outputBuffer, ppToken.name);
 1231|  54.5k|                outputBuffer += "\"";
 1232|  22.2M|            } else {
 1233|  22.2M|                outputBuffer += ppToken.name;
 1234|  22.2M|            }
 1235|  22.2M|        } while (true);
  ------------------
  |  Branch (1235:18): [True: 22.2M, Folded]
  ------------------
 1236|    166|        outputBuffer += '\n';
 1237|    166|        *outputString = std::move(outputBuffer);
 1238|       |
 1239|    166|        bool success = true;
 1240|    166|        if (parseContext.getNumErrors() > 0) {
  ------------------
  |  Branch (1240:13): [True: 123, False: 43]
  ------------------
 1241|    123|            success = false;
 1242|    123|            parseContext.infoSink.info.prefix(EPrefixError);
 1243|    123|            parseContext.infoSink.info << parseContext.getNumErrors() << " compilation errors.  No code generated.\n\n";
 1244|    123|        }
 1245|    166|        return success;
 1246|    166|    }
ShaderLang.cpp:_ZN12_GLOBAL__N_122SourceLineSynchronizerC2ERKNSt3__18functionIFivEEEPNS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
 1024|    166|      : getLastSourceIndex(lastSourceIndex), output(output), lastSource(-1), lastLine(0) {}
ShaderLang.cpp:_ZZN12_GLOBAL__N_115DoPreprocessingclERN7glslang17TParseContextBaseERNS1_10TPpContextERNS1_13TInputScannerEbRNS1_12TSymbolTableERNS1_13TIntermediateE20EShOptimizationLevel11EShMessagesENKUliPKcSF_E_clEiSF_SF_:
 1128|    188|            int line, const char* extension, const char* behavior) {
 1129|    188|                lineSync.syncToLine(line);
 1130|    188|                outputBuffer += "#extension ";
 1131|    188|                outputBuffer += extension;
 1132|    188|                outputBuffer += " : ";
 1133|    188|                outputBuffer += behavior;
 1134|    188|        });
ShaderLang.cpp:_ZZN12_GLOBAL__N_115DoPreprocessingclERN7glslang17TParseContextBaseERNS1_10TPpContextERNS1_13TInputScannerEbRNS1_12TSymbolTableERNS1_13TIntermediateE20EShOptimizationLevel11EShMessagesENKUliiPKcE_clEiiSF_:
 1163|      6|            [&lineSync, &outputBuffer](int line, int version, const char* str) {
 1164|      6|                lineSync.syncToLine(line);
 1165|      6|                outputBuffer += "#version ";
 1166|      6|                outputBuffer += std::to_string(version);
 1167|      6|                if (str) {
  ------------------
  |  Branch (1167:21): [True: 2, False: 4]
  ------------------
 1168|      2|                    outputBuffer += ' ';
 1169|      2|                    outputBuffer += str;
 1170|      2|                }
 1171|      6|            });
ShaderLang.cpp:_ZZN12_GLOBAL__N_115DoPreprocessingclERN7glslang17TParseContextBaseERNS1_10TPpContextERNS1_13TInputScannerEbRNS1_12TSymbolTableERNS1_13TIntermediateE20EShOptimizationLevel11EShMessagesENKUliPKcE_clEiSF_:
 1183|      9|            int line, const char* errorMessage) {
 1184|      9|                lineSync.syncToLine(line);
 1185|      9|                outputBuffer += "#error ";
 1186|      9|                outputBuffer += errorMessage;
 1187|      9|        });
ShaderLang.cpp:_ZN12_GLOBAL__N_122SourceLineSynchronizer22syncToMostRecentStringEv:
 1031|  44.5M|    bool syncToMostRecentString() {
 1032|  44.5M|        if (getLastSourceIndex() != lastSource) {
  ------------------
  |  Branch (1032:13): [True: 330, False: 44.5M]
  ------------------
 1033|       |            // After switching to a new source string, we need to reset lastLine
 1034|       |            // because line number resets every time a new source string is
 1035|       |            // used. We also need to output a newline to separate the output
 1036|       |            // from the previous source string (if there is one).
 1037|    330|            if (lastSource != -1 || lastLine != 0)
  ------------------
  |  Branch (1037:17): [True: 164, False: 166]
  |  Branch (1037:37): [True: 0, False: 166]
  ------------------
 1038|    164|                *output += '\n';
 1039|    330|            lastSource = getLastSourceIndex();
 1040|    330|            lastLine = -1;
 1041|    330|            return true;
 1042|    330|        }
 1043|  44.5M|        return false;
 1044|  44.5M|    }
ShaderLang.cpp:_ZN12_GLOBAL__N_122SourceLineSynchronizer10syncToLineEi:
 1049|  22.2M|    bool syncToLine(int tokenLine) {
 1050|  22.2M|        syncToMostRecentString();
 1051|  22.2M|        const bool newLineStarted = lastLine < tokenLine;
 1052|  28.0M|        for (; lastLine < tokenLine; ++lastLine) {
  ------------------
  |  Branch (1052:16): [True: 5.74M, False: 22.2M]
  ------------------
 1053|  5.74M|            if (lastLine > 0) *output += '\n';
  ------------------
  |  Branch (1053:17): [True: 5.74M, False: 660]
  ------------------
 1054|  5.74M|        }
 1055|  22.2M|        return newLineStarted;
 1056|  22.2M|    }
ShaderLang.cpp:_ZN12_GLOBAL__N_119appendEscapedStringERNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPKc:
 1083|  54.5k|static void appendEscapedString(std::string& output, const char* string) {
 1084|       |
 1085|   196k|    for (const char* p = string; *p != '\0'; ++p) {
  ------------------
  |  Branch (1085:34): [True: 141k, False: 54.5k]
  ------------------
 1086|   141k|        switch (*p) {
 1087|      0|        case '"': output += "\\\""; break;
  ------------------
  |  Branch (1087:9): [True: 0, False: 141k]
  ------------------
 1088|      0|        case '\\': output += "\\\\"; break;
  ------------------
  |  Branch (1088:9): [True: 0, False: 141k]
  ------------------
 1089|      1|        case '\a': output += "\\a"; break;
  ------------------
  |  Branch (1089:9): [True: 1, False: 141k]
  ------------------
 1090|     44|        case '\b': output += "\\b"; break;
  ------------------
  |  Branch (1090:9): [True: 44, False: 141k]
  ------------------
 1091|  2.23k|        case '\f': output += "\\f"; break;
  ------------------
  |  Branch (1091:9): [True: 2.23k, False: 139k]
  ------------------
 1092|      0|        case '\n': output += "\\n"; break;
  ------------------
  |  Branch (1092:9): [True: 0, False: 141k]
  ------------------
 1093|      0|        case '\r': output += "\\r"; break;
  ------------------
  |  Branch (1093:9): [True: 0, False: 141k]
  ------------------
 1094|  1.48k|        case '\t': output += "\\t"; break;
  ------------------
  |  Branch (1094:9): [True: 1.48k, False: 140k]
  ------------------
 1095|      1|        case '\v': output += "\\v"; break;
  ------------------
  |  Branch (1095:9): [True: 1, False: 141k]
  ------------------
 1096|   137k|        default:
  ------------------
  |  Branch (1096:9): [True: 137k, False: 3.76k]
  ------------------
 1097|   137k|            output += *p;
 1098|   137k|            break;
 1099|   141k|        }
 1100|   141k|    }
 1101|  54.5k|}

_ZNK7glslang5TType16buildMangledNameERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEE:
   57|  1.71M|{
   58|  1.71M|    if (isTensorARM())
  ------------------
  |  Branch (58:9): [True: 305, False: 1.71M]
  ------------------
   59|    305|        mangledName += 'T';
   60|  1.71M|    else if (isMatrix())
  ------------------
  |  Branch (60:14): [True: 180k, False: 1.53M]
  ------------------
   61|   180k|        mangledName += 'm';
   62|  1.53M|    else if (isVector())
  ------------------
  |  Branch (62:14): [True: 723k, False: 806k]
  ------------------
   63|   723k|        mangledName += 'v';
   64|       |
   65|  1.71M|    if (isCoopVecNV())
  ------------------
  |  Branch (65:9): [True: 3.93k, False: 1.70M]
  ------------------
   66|  3.93k|        mangledName += "coopvec";
   67|       |
   68|  1.71M|    switch (basicType) {
   69|   392k|    case EbtFloat:              mangledName += 'f';      break;
  ------------------
  |  Branch (69:5): [True: 392k, False: 1.31M]
  ------------------
   70|   434k|    case EbtInt:                mangledName += 'i';      break;
  ------------------
  |  Branch (70:5): [True: 434k, False: 1.27M]
  ------------------
   71|   331k|    case EbtUint:               mangledName += 'u';      break;
  ------------------
  |  Branch (71:5): [True: 331k, False: 1.37M]
  ------------------
   72|  26.2k|    case EbtBool:               mangledName += 'b';      break;
  ------------------
  |  Branch (72:5): [True: 26.2k, False: 1.68M]
  ------------------
   73|  18.4k|    case EbtDouble:             mangledName += 'd';      break;
  ------------------
  |  Branch (73:5): [True: 18.4k, False: 1.69M]
  ------------------
   74|  39.6k|    case EbtFloat16:            mangledName += "f16";    break;
  ------------------
  |  Branch (74:5): [True: 39.6k, False: 1.67M]
  ------------------
   75|    160|    case EbtBFloat16:           mangledName += "bf16";   break;
  ------------------
  |  Branch (75:5): [True: 160, False: 1.71M]
  ------------------
   76|    120|    case EbtFloatE5M2:          mangledName += "fe5m2";  break;
  ------------------
  |  Branch (76:5): [True: 120, False: 1.71M]
  ------------------
   77|    120|    case EbtFloatE4M3:          mangledName += "fe4m3";  break;
  ------------------
  |  Branch (77:5): [True: 120, False: 1.71M]
  ------------------
   78|     20|    case EbtFloatE2M1:          mangledName += "fe2m1";  break;
  ------------------
  |  Branch (78:5): [True: 20, False: 1.71M]
  ------------------
   79|     15|    case EbtFloatE3M2:          mangledName += "fe3m2";  break;
  ------------------
  |  Branch (79:5): [True: 15, False: 1.71M]
  ------------------
   80|     15|    case EbtFloatE2M3:          mangledName += "fe2m3";  break;
  ------------------
  |  Branch (80:5): [True: 15, False: 1.71M]
  ------------------
   81|     40|    case EbtFloatUE8M0:         mangledName += "fue8m0";  break;
  ------------------
  |  Branch (81:5): [True: 40, False: 1.71M]
  ------------------
   82|     40|    case EbtFloatMXINT8:        mangledName += "fmxint8";break;
  ------------------
  |  Branch (82:5): [True: 40, False: 1.71M]
  ------------------
   83|  29.0k|    case EbtInt8:               mangledName += "i8";     break;
  ------------------
  |  Branch (83:5): [True: 29.0k, False: 1.68M]
  ------------------
   84|  28.9k|    case EbtUint8:              mangledName += "u8";     break;
  ------------------
  |  Branch (84:5): [True: 28.9k, False: 1.68M]
  ------------------
   85|  33.9k|    case EbtInt16:              mangledName += "i16";    break;
  ------------------
  |  Branch (85:5): [True: 33.9k, False: 1.67M]
  ------------------
   86|  33.7k|    case EbtUint16:             mangledName += "u16";    break;
  ------------------
  |  Branch (86:5): [True: 33.7k, False: 1.67M]
  ------------------
   87|  35.0k|    case EbtInt64:              mangledName += "i64";    break;
  ------------------
  |  Branch (87:5): [True: 35.0k, False: 1.67M]
  ------------------
   88|  37.2k|    case EbtUint64:             mangledName += "u64";    break;
  ------------------
  |  Branch (88:5): [True: 37.2k, False: 1.67M]
  ------------------
   89|      0|    case EbtAtomicUint:         mangledName += "au";     break;
  ------------------
  |  Branch (89:5): [True: 0, False: 1.71M]
  ------------------
   90|      0|    case EbtAccStruct:          mangledName += "as";     break;
  ------------------
  |  Branch (90:5): [True: 0, False: 1.71M]
  ------------------
   91|      0|    case EbtRayQuery:           mangledName += "rq";     break;
  ------------------
  |  Branch (91:5): [True: 0, False: 1.71M]
  ------------------
   92|      0|    case EbtSpirvType:          mangledName += "spv-t";  break;
  ------------------
  |  Branch (92:5): [True: 0, False: 1.71M]
  ------------------
   93|      0|    case EbtHitObjectNV:        mangledName += "ho";     break;
  ------------------
  |  Branch (93:5): [True: 0, False: 1.71M]
  ------------------
   94|      0|    case EbtHitObjectEXT:       mangledName += "ho";     break;
  ------------------
  |  Branch (94:5): [True: 0, False: 1.71M]
  ------------------
   95|    185|    case EbtTensorLayoutNV:     mangledName += "tl";     break;
  ------------------
  |  Branch (95:5): [True: 185, False: 1.71M]
  ------------------
   96|     95|    case EbtTensorViewNV:       mangledName += "tv";     break;
  ------------------
  |  Branch (96:5): [True: 95, False: 1.71M]
  ------------------
   97|   240k|    case EbtSampler:
  ------------------
  |  Branch (97:5): [True: 240k, False: 1.47M]
  ------------------
   98|   240k|        switch (sampler.type) {
   99|  13.2k|        case EbtFloat16: mangledName += "f16"; break;
  ------------------
  |  Branch (99:9): [True: 13.2k, False: 226k]
  ------------------
  100|  66.9k|        case EbtInt:   mangledName += "i"; break;
  ------------------
  |  Branch (100:9): [True: 66.9k, False: 173k]
  ------------------
  101|  66.9k|        case EbtUint:  mangledName += "u"; break;
  ------------------
  |  Branch (101:9): [True: 66.9k, False: 173k]
  ------------------
  102|  1.30k|        case EbtInt64:   mangledName += "i64"; break;
  ------------------
  |  Branch (102:9): [True: 1.30k, False: 238k]
  ------------------
  103|  1.30k|        case EbtUint64:  mangledName += "u64"; break;
  ------------------
  |  Branch (103:9): [True: 1.30k, False: 238k]
  ------------------
  104|  90.3k|        default: break; // some compilers want this
  ------------------
  |  Branch (104:9): [True: 90.3k, False: 149k]
  ------------------
  105|   240k|        }
  106|   240k|        if (sampler.isImageClass())
  ------------------
  |  Branch (106:13): [True: 61.1k, False: 179k]
  ------------------
  107|  61.1k|            mangledName += "I";  // a normal image or subpass
  108|   179k|        else if (sampler.isPureSampler())
  ------------------
  |  Branch (108:18): [True: 29.3k, False: 149k]
  ------------------
  109|  29.3k|            mangledName += "p";  // a "pure" sampler
  110|   149k|        else if (!sampler.isCombined())
  ------------------
  |  Branch (110:18): [True: 43.7k, False: 105k]
  ------------------
  111|  43.7k|            mangledName += "t";  // a "pure" texture
  112|   105k|        else
  113|   105k|            mangledName += "s";  // traditional combined sampler
  114|   240k|        if (sampler.isArrayed())
  ------------------
  |  Branch (114:13): [True: 71.4k, False: 168k]
  ------------------
  115|  71.4k|            mangledName += "A";
  116|   240k|        if (sampler.isShadow())
  ------------------
  |  Branch (116:13): [True: 26.2k, False: 213k]
  ------------------
  117|  26.2k|            mangledName += "S";
  118|   240k|        if (sampler.isExternal())
  ------------------
  |  Branch (118:13): [True: 0, False: 240k]
  ------------------
  119|      0|            mangledName += "E";
  120|   240k|        if (sampler.isYuv())
  ------------------
  |  Branch (120:13): [True: 0, False: 240k]
  ------------------
  121|      0|            mangledName += "Y";
  122|   240k|        switch (sampler.dim) {
  123|  93.0k|        case Esd2D:       mangledName += "2";  break;
  ------------------
  |  Branch (123:9): [True: 93.0k, False: 147k]
  ------------------
  124|  19.3k|        case Esd3D:       mangledName += "3";  break;
  ------------------
  |  Branch (124:9): [True: 19.3k, False: 220k]
  ------------------
  125|  27.9k|        case EsdCube:     mangledName += "C";  break;
  ------------------
  |  Branch (125:9): [True: 27.9k, False: 212k]
  ------------------
  126|  42.1k|        case Esd1D:       mangledName += "1";  break;
  ------------------
  |  Branch (126:9): [True: 42.1k, False: 198k]
  ------------------
  127|  18.8k|        case EsdRect:     mangledName += "R2"; break;
  ------------------
  |  Branch (127:9): [True: 18.8k, False: 221k]
  ------------------
  128|  6.92k|        case EsdBuffer:   mangledName += "B";  break;
  ------------------
  |  Branch (128:9): [True: 6.92k, False: 233k]
  ------------------
  129|  1.91k|        case EsdSubpass:  mangledName += "P";  break;
  ------------------
  |  Branch (129:9): [True: 1.91k, False: 238k]
  ------------------
  130|  30.0k|        default: break; // some compilers want this
  ------------------
  |  Branch (130:9): [True: 30.0k, False: 210k]
  ------------------
  131|   240k|        }
  132|       |
  133|   240k|#ifdef ENABLE_HLSL
  134|   240k|        if (sampler.hasReturnStruct()) {
  ------------------
  |  Branch (134:13): [True: 0, False: 240k]
  ------------------
  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|   240k|        } else {
  142|   240k|            switch (sampler.getVectorSize()) {
  ------------------
  |  Branch (142:21): [True: 240k, False: 0]
  ------------------
  143|  7.33k|            case 1: mangledName += "1"; break;
  ------------------
  |  Branch (143:13): [True: 7.33k, False: 232k]
  ------------------
  144|  21.4k|            case 2: mangledName += "2"; break;
  ------------------
  |  Branch (144:13): [True: 21.4k, False: 218k]
  ------------------
  145|  2.96k|            case 3: mangledName += "3"; break;
  ------------------
  |  Branch (145:13): [True: 2.96k, False: 237k]
  ------------------
  146|   208k|            case 4: break; // default to prior name mangle behavior
  ------------------
  |  Branch (146:13): [True: 208k, False: 31.7k]
  ------------------
  147|   240k|            }
  148|   240k|        }
  149|   240k|#endif
  150|       |
  151|   240k|        if (sampler.isMultiSample())
  ------------------
  |  Branch (151:13): [True: 15.5k, False: 224k]
  ------------------
  152|  15.5k|            mangledName += "M";
  153|   240k|        break;
  154|     60|    case EbtStruct:
  ------------------
  |  Branch (154:5): [True: 60, False: 1.71M]
  ------------------
  155|     60|    case EbtBlock:
  ------------------
  |  Branch (155:5): [True: 0, False: 1.71M]
  ------------------
  156|     60|        if (basicType == EbtStruct)
  ------------------
  |  Branch (156:13): [True: 60, False: 0]
  ------------------
  157|     60|            mangledName += "struct-";
  158|      0|        else
  159|      0|            mangledName += "block-";
  160|     60|        if (typeName)
  ------------------
  |  Branch (160:13): [True: 60, False: 0]
  ------------------
  161|     60|            mangledName += *typeName;
  162|    360|        for (unsigned int i = 0; i < structure->size(); ++i) {
  ------------------
  |  Branch (162:34): [True: 300, False: 60]
  ------------------
  163|    300|            if ((*structure)[i].type->getBasicType() == EbtVoid)
  ------------------
  |  Branch (163:17): [True: 0, False: 300]
  ------------------
  164|      0|                continue;
  165|    300|            mangledName += '-';
  166|    300|            (*structure)[i].type->buildMangledName(mangledName);
  167|    300|        }
  168|     60|        break;
  169|  29.7k|    default:
  ------------------
  |  Branch (169:5): [True: 29.7k, False: 1.68M]
  ------------------
  170|  29.7k|        break;
  171|  1.71M|    }
  172|       |
  173|  1.71M|    if (getVectorSize() > 0)
  ------------------
  |  Branch (173:9): [True: 1.53M, False: 180k]
  ------------------
  174|  1.53M|        mangledName += static_cast<char>('0' + getVectorSize());
  175|   180k|    else {
  176|   180k|        mangledName += static_cast<char>('0' + getMatrixCols());
  177|   180k|        mangledName += static_cast<char>('0' + getMatrixRows());
  178|   180k|    }
  179|       |
  180|  1.71M|    if (typeParameters) {
  ------------------
  |  Branch (180:9): [True: 30, False: 1.71M]
  ------------------
  181|     30|        const int maxSize = 11;
  182|     30|        char buf[maxSize];
  183|     60|        for (int i = 0; i < typeParameters->arraySizes->getNumDims(); ++i) {
  ------------------
  |  Branch (183:25): [True: 30, False: 30]
  ------------------
  184|     30|            if (typeParameters->arraySizes->getDimNode(i)) {
  ------------------
  |  Branch (184:17): [True: 0, False: 30]
  ------------------
  185|      0|                if (typeParameters->arraySizes->getDimNode(i)->getAsSymbolNode())
  ------------------
  |  Branch (185:21): [True: 0, False: 0]
  ------------------
  186|      0|                    snprintf(buf, maxSize, "s%lld", typeParameters->arraySizes->getDimNode(i)->getAsSymbolNode()->getId());
  187|      0|                else
  188|      0|                    snprintf(buf, maxSize, "s%p", typeParameters->arraySizes->getDimNode(i));
  189|      0|            } else
  190|     30|                snprintf(buf, maxSize, "%d", typeParameters->arraySizes->getDimSize(i));
  191|     30|            mangledName += '<';
  192|     30|            mangledName += buf;
  193|     30|            mangledName += '>';
  194|     30|        }
  195|     30|    }
  196|       |
  197|  1.71M|    if (arraySizes) {
  ------------------
  |  Branch (197:9): [True: 9.96k, False: 1.70M]
  ------------------
  198|  9.96k|        const int maxSize = 11;
  199|  9.96k|        char buf[maxSize];
  200|  19.9k|        for (int i = 0; i < arraySizes->getNumDims(); ++i) {
  ------------------
  |  Branch (200:25): [True: 9.96k, False: 9.96k]
  ------------------
  201|  9.96k|            if (arraySizes->getDimNode(i)) {
  ------------------
  |  Branch (201:17): [True: 0, False: 9.96k]
  ------------------
  202|      0|                if (arraySizes->getDimNode(i)->getAsSymbolNode())
  ------------------
  |  Branch (202:21): [True: 0, False: 0]
  ------------------
  203|      0|                    snprintf(buf, maxSize, "s%lld", arraySizes->getDimNode(i)->getAsSymbolNode()->getId());
  204|      0|                else
  205|      0|                    snprintf(buf, maxSize, "s%p", (void*)(arraySizes->getDimNode(i)));
  206|      0|            } else
  207|  9.96k|                snprintf(buf, maxSize, "%d", arraySizes->getDimSize(i));
  208|  9.96k|            mangledName += '[';
  209|  9.96k|            mangledName += buf;
  210|  9.96k|            mangledName += ']';
  211|  9.96k|        }
  212|  9.96k|    }
  213|  1.71M|}
_ZN7glslang9TFunctionD2Ev:
  297|  1.45M|{
  298|  4.79M|    for (TParamList::iterator i = parameters.begin(); i != parameters.end(); ++i)
  ------------------
  |  Branch (298:55): [True: 3.34M, False: 1.45M]
  ------------------
  299|  3.34M|        delete (*i).type;
  300|  1.45M|}
_ZN7glslang17TSymbolTableLevelD2Ev:
  306|  3.00k|{
  307|  1.47M|    for (tLevel::iterator it = level.begin(); it != level.end(); ++it) {
  ------------------
  |  Branch (307:47): [True: 1.47M, False: 3.00k]
  ------------------
  308|  1.47M|        const TString& name = it->first;
  309|  1.47M|        auto retargetIter = std::find_if(retargetedSymbols.begin(), retargetedSymbols.end(),
  310|  1.47M|                                      [&name](const std::pair<TString, TString>& i) { return i.first == name; });
  311|  1.47M|        if (retargetIter == retargetedSymbols.end())
  ------------------
  |  Branch (311:13): [True: 1.47M, False: 0]
  ------------------
  312|  1.47M|            delete (*it).second;
  313|  1.47M|    }
  314|       |
  315|       |
  316|  3.00k|    delete [] defaultPrecision;
  317|  3.00k|}
_ZN7glslang17TSymbolTableLevel16relateToOperatorEPKcNS_9TOperatorE:
  324|   559k|{
  325|   559k|    tLevel::const_iterator candidate = level.lower_bound(name);
  326|  4.99M|    while (candidate != level.end()) {
  ------------------
  |  Branch (326:12): [True: 4.78M, False: 208k]
  ------------------
  327|  4.78M|        const TString& candidateName = (*candidate).first;
  328|  4.78M|        TString::size_type parenAt = candidateName.find_first_of('(');
  329|  4.78M|        if (parenAt != candidateName.npos && candidateName.compare(0, parenAt, name) == 0) {
  ------------------
  |  Branch (329:13): [True: 4.76M, False: 24.4k]
  |  Branch (329:46): [True: 4.43M, False: 325k]
  ------------------
  330|  4.43M|            TFunction* function = (*candidate).second->getAsFunction();
  331|  4.43M|            function->relateToOperator(op);
  332|  4.43M|        } else
  333|   350k|            break;
  334|  4.43M|        ++candidate;
  335|  4.43M|    }
  336|   559k|}
_ZN7glslang17TSymbolTableLevel21setFunctionExtensionsEPKciPKS2_:
  341|  56.2k|{
  342|  56.2k|    tLevel::const_iterator candidate = level.lower_bound(name);
  343|   385k|    while (candidate != level.end()) {
  ------------------
  |  Branch (343:12): [True: 378k, False: 6.55k]
  ------------------
  344|   378k|        const TString& candidateName = (*candidate).first;
  345|   378k|        TString::size_type parenAt = candidateName.find_first_of('(');
  346|   378k|        if (parenAt != candidateName.npos && candidateName.compare(0, parenAt, name) == 0) {
  ------------------
  |  Branch (346:13): [True: 376k, False: 2.26k]
  |  Branch (346:46): [True: 328k, False: 47.4k]
  ------------------
  347|   328k|            TSymbol* symbol = candidate->second;
  348|   328k|            symbol->setExtensions(num, extensions);
  349|   328k|        } else
  350|  49.7k|            break;
  351|   328k|        ++candidate;
  352|   328k|    }
  353|  56.2k|}
_ZN7glslang17TSymbolTableLevel29setFunctionExtensionsCallbackEPKcRKNSt3__18functionIFNS3_6vectorIS2_NS3_9allocatorIS2_EEEES2_EEE:
  357|    220|{
  358|    220|    tLevel::const_iterator candidate = level.lower_bound(name);
  359|  3.56k|    while (candidate != level.end()) {
  ------------------
  |  Branch (359:12): [True: 3.56k, False: 0]
  ------------------
  360|  3.56k|        const TString& candidateName = (*candidate).first;
  361|  3.56k|        TString::size_type parenAt = candidateName.find_first_of('(');
  362|  3.56k|        if (parenAt != candidateName.npos && candidateName.compare(0, parenAt, name) == 0) {
  ------------------
  |  Branch (362:13): [True: 3.56k, False: 0]
  |  Branch (362:46): [True: 3.34k, False: 220]
  ------------------
  363|  3.34k|            TSymbol* symbol = candidate->second;
  364|       |
  365|  3.34k|            auto exts = func(candidateName.c_str());
  366|  3.34k|            symbol->setExtensions(exts.size(), exts.data());
  367|  3.34k|        } else
  368|    220|            break;
  369|  3.34k|        ++candidate;
  370|  3.34k|    }
  371|    220|}
_ZN7glslang17TSymbolTableLevel8readOnlyEv:
  387|  2.05k|{
  388|  5.04M|    for (tLevel::iterator it = level.begin(); it != level.end(); ++it)
  ------------------
  |  Branch (388:47): [True: 5.03M, False: 2.05k]
  ------------------
  389|  5.03M|        (*it).second->makeReadOnly();
  390|  2.05k|}
_ZN7glslang7TSymbolC2ERKS0_:
  396|   724k|{
  397|   724k|    name = NewPoolTString(copyOf.name->c_str());
  398|   724k|    mangledName = NewPoolTString(copyOf.mangledName->c_str());
  399|   724k|    uniqueId = copyOf.uniqueId;
  400|   724k|    writable = true;
  401|   724k|}
_ZN7glslang9TVariableC2ERKS0_:
  403|  8.63k|TVariable::TVariable(const TVariable& copyOf) : TSymbol(copyOf)
  404|  8.63k|{
  405|  8.63k|    type.deepCopy(copyOf.type);
  406|  8.63k|    userType = copyOf.userType;
  407|       |
  408|       |    // we don't support specialization-constant subtrees in cloned tables, only extensions
  409|  8.63k|    constSubtree = nullptr;
  410|  8.63k|    extensions = nullptr;
  411|  8.63k|    memberExtensions = nullptr;
  412|  8.63k|    if (copyOf.getNumExtensions() > 0)
  ------------------
  |  Branch (412:9): [True: 6.02k, False: 2.61k]
  ------------------
  413|  6.02k|        setExtensions(copyOf.getNumExtensions(), copyOf.getExtensions());
  414|  8.63k|    if (copyOf.hasMemberExtensions()) {
  ------------------
  |  Branch (414:9): [True: 30, False: 8.60k]
  ------------------
  415|    215|        for (int m = 0; m < (int)copyOf.type.getStruct()->size(); ++m) {
  ------------------
  |  Branch (415:25): [True: 185, False: 30]
  ------------------
  416|    185|            if (copyOf.getNumMemberExtensions(m) > 0)
  ------------------
  |  Branch (416:17): [True: 145, False: 40]
  ------------------
  417|    145|                setMemberExtensions(m, copyOf.getNumMemberExtensions(m), copyOf.getMemberExtensions(m));
  418|    185|        }
  419|     30|    }
  420|       |
  421|  8.63k|    if (! copyOf.constArray.empty()) {
  ------------------
  |  Branch (421:9): [True: 585, False: 8.05k]
  ------------------
  422|       |        assert(! copyOf.type.isStruct());
  423|    585|        TConstUnionArray newArray(copyOf.constArray, 0, copyOf.constArray.size());
  424|    585|        constArray = newArray;
  425|    585|    }
  426|  8.63k|}
_ZNK7glslang9TVariable5cloneEv:
  429|  8.63k|{
  430|  8.63k|    TVariable *variable = new TVariable(*this);
  431|       |
  432|  8.63k|    return variable;
  433|  8.63k|}
_ZN7glslang9TFunctionC2ERKS0_:
  435|   716k|TFunction::TFunction(const TFunction& copyOf) : TSymbol(copyOf)
  436|   716k|{
  437|  2.36M|    for (unsigned int i = 0; i < copyOf.parameters.size(); ++i) {
  ------------------
  |  Branch (437:30): [True: 1.64M, False: 716k]
  ------------------
  438|  1.64M|        TParameter param{};
  439|  1.64M|        parameters.push_back(param);
  440|  1.64M|        (void)parameters.back().copyParam(copyOf.parameters[i]);
  441|  1.64M|    }
  442|       |
  443|   716k|    extensions = nullptr;
  444|   716k|    if (copyOf.getNumExtensions() > 0)
  ------------------
  |  Branch (444:9): [True: 328k, False: 387k]
  ------------------
  445|   328k|        setExtensions(copyOf.getNumExtensions(), copyOf.getExtensions());
  446|   716k|    returnType.deepCopy(copyOf.returnType);
  447|   716k|    mangledName = copyOf.mangledName;
  448|   716k|    op = copyOf.op;
  449|   716k|    defined = copyOf.defined;
  450|   716k|    prototyped = copyOf.prototyped;
  451|   716k|    implicitThis = copyOf.implicitThis;
  452|   716k|    variadic = copyOf.variadic;
  453|   716k|    illegalImplicitThis = copyOf.illegalImplicitThis;
  454|   716k|    defaultParamCount = copyOf.defaultParamCount;
  455|   716k|    spirvInst = copyOf.spirvInst;
  456|   716k|    functionControl = copyOf.functionControl;
  457|   716k|}
_ZNK7glslang9TFunction5cloneEv:
  460|   716k|{
  461|   716k|    TFunction *function = new TFunction(*this);
  462|       |
  463|   716k|    return function;
  464|   716k|}
_ZNK7glslang17TSymbolTableLevel5cloneEv:
  477|  1.10k|{
  478|  1.10k|    TSymbolTableLevel *symTableLevel = new TSymbolTableLevel();
  479|  1.10k|    symTableLevel->anonId = anonId;
  480|  1.10k|    symTableLevel->thisLevel = thisLevel;
  481|  1.10k|    symTableLevel->retargetedSymbols.clear();
  482|  1.10k|    for (auto &s : retargetedSymbols) {
  ------------------
  |  Branch (482:18): [True: 0, False: 1.10k]
  ------------------
  483|      0|        symTableLevel->retargetedSymbols.push_back({s.first, s.second});
  484|      0|    }
  485|  1.10k|    std::vector<bool> containerCopied(anonId, false);
  486|  1.10k|    tLevel::const_iterator iter;
  487|   725k|    for (iter = level.begin(); iter != level.end(); ++iter) {
  ------------------
  |  Branch (487:32): [True: 724k, False: 1.10k]
  ------------------
  488|   724k|        const TAnonMember* anon = iter->second->getAsAnonMember();
  489|   724k|        if (anon) {
  ------------------
  |  Branch (489:13): [True: 105, False: 724k]
  ------------------
  490|       |            // Insert all the anonymous members of this same container at once,
  491|       |            // avoid inserting the remaining members in the future, once this has been done,
  492|       |            // allowing them to all be part of the same new container.
  493|    105|            if (! containerCopied[anon->getAnonId()]) {
  ------------------
  |  Branch (493:17): [True: 30, False: 75]
  ------------------
  494|     30|                TVariable* container = anon->getAnonContainer().clone();
  495|     30|                container->changeName(NewPoolTString(""));
  496|       |                // insert the container and all its members
  497|     30|                symTableLevel->insert(*container, false);
  498|     30|                containerCopied[anon->getAnonId()] = true;
  499|     30|            }
  500|   724k|        } else {
  501|   724k|            const TString& name = iter->first;
  502|   724k|            auto retargetIter = std::find_if(retargetedSymbols.begin(), retargetedSymbols.end(),
  503|   724k|                                          [&name](const std::pair<TString, TString>& i) { return i.first == name; });
  504|   724k|            if (retargetIter != retargetedSymbols.end())
  ------------------
  |  Branch (504:17): [True: 0, False: 724k]
  ------------------
  505|      0|                continue;
  506|   724k|            symTableLevel->insert(*iter->second->clone(), false);
  507|   724k|        }
  508|   724k|    }
  509|       |    // Now point retargeted symbols to the newly created versions of them
  510|  1.10k|    for (auto &s : retargetedSymbols) {
  ------------------
  |  Branch (510:18): [True: 0, False: 1.10k]
  ------------------
  511|      0|        TSymbol* sym = symTableLevel->find(s.second);
  512|      0|        if (!sym)
  ------------------
  |  Branch (512:13): [True: 0, False: 0]
  ------------------
  513|      0|            continue;
  514|      0|        symTableLevel->insert(s.first, sym);
  515|      0|    }
  516|       |
  517|  1.10k|    return symTableLevel;
  518|  1.10k|}
_ZN7glslang12TSymbolTable9copyTableERKS0_:
  521|  1.10k|{
  522|  1.10k|    assert(adoptedLevels == copyOf.adoptedLevels);
  523|       |
  524|  1.10k|    uniqueId = copyOf.uniqueId;
  525|  1.10k|    noBuiltInRedeclarations = copyOf.noBuiltInRedeclarations;
  526|  1.10k|    separateNameSpaces = copyOf.separateNameSpaces;
  527|  2.21k|    for (unsigned int i = copyOf.adoptedLevels; i < copyOf.table.size(); ++i)
  ------------------
  |  Branch (527:49): [True: 1.10k, False: 1.10k]
  ------------------
  528|  1.10k|        table.push_back(copyOf.table[i]->clone());
  529|  1.10k|}

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

_Z7yyparsePN7glslang13TParseContextE:
 5637|    621|{
 5638|       |/* Lookahead token kind.  */
 5639|    621|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|    621|YY_INITIAL_VALUE (static YYSTYPE yyval_default;)
  ------------------
  |  |  958|    621|# define YY_INITIAL_VALUE(Value) Value
  ------------------
 5646|    621|YYSTYPE yylval YY_INITIAL_VALUE (= yyval_default);
  ------------------
  |  |  958|    621|# define YY_INITIAL_VALUE(Value) Value
  ------------------
 5647|       |
 5648|       |    /* Number of syntax errors so far.  */
 5649|    621|    int yynerrs = 0;
 5650|       |
 5651|    621|    yy_state_fast_t yystate = 0;
 5652|       |    /* Number of tokens to shift before error messages enabled.  */
 5653|    621|    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|    621|    YYPTRDIFF_T yystacksize = YYINITDEPTH;
  ------------------
  |  |  865|    621|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
                  YYPTRDIFF_T yystacksize = YYINITDEPTH;
  ------------------
  |  | 5321|    621|# define YYINITDEPTH 200
  ------------------
 5660|       |
 5661|       |    /* The state stack: array, bottom, top.  */
 5662|    621|    yy_state_t yyssa[YYINITDEPTH];
 5663|    621|    yy_state_t *yyss = yyssa;
 5664|    621|    yy_state_t *yyssp = yyss;
 5665|       |
 5666|       |    /* The semantic value stack: array, bottom, top.  */
 5667|    621|    YYSTYPE yyvsa[YYINITDEPTH];
 5668|    621|    YYSTYPE *yyvs = yyvsa;
 5669|    621|    YYSTYPE *yyvsp = yyvs;
 5670|       |
 5671|    621|  int yyn;
 5672|       |  /* The return value of yyparse.  */
 5673|    621|  int yyresult;
 5674|       |  /* Lookahead symbol kind.  */
 5675|    621|  yysymbol_kind_t yytoken = YYSYMBOL_YYEMPTY;
 5676|       |  /* The variables used to return semantic value and location from the
 5677|       |     action routines.  */
 5678|    621|  YYSTYPE yyval;
 5679|       |
 5680|       |  /* Buffer for error messages, and its allocated size.  */
 5681|    621|  char yymsgbuf[128];
 5682|    621|  char *yymsg = yymsgbuf;
 5683|    621|  YYPTRDIFF_T yymsg_alloc = sizeof yymsgbuf;
  ------------------
  |  |  865|    621|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5684|       |
 5685|    621|#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|    621|  int yylen = 0;
 5690|       |
 5691|    621|  YYDPRINTF ((stderr, "Starting parse\n"));
  ------------------
  |  | 5199|    621|# define YYDPRINTF(Args)                        \
  |  | 5200|    621|do {                                            \
  |  | 5201|    621|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (5201:7): [True: 0, False: 621]
  |  |  ------------------
  |  | 5202|    621|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5203|    621|} while (0)
  |  |  ------------------
  |  |  |  Branch (5203:10): [Folded, False: 621]
  |  |  ------------------
  ------------------
 5692|       |
 5693|    621|  yychar = YYEMPTY; /* Cause a token to be read.  */
 5694|       |
 5695|    621|  goto yysetstate;
 5696|       |
 5697|       |
 5698|       |/*------------------------------------------------------------.
 5699|       || yynewstate -- push a new state, which is found in yystate.  |
 5700|       |`------------------------------------------------------------*/
 5701|  19.9M|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|  19.9M|  yyssp++;
 5705|       |
 5706|       |
 5707|       |/*--------------------------------------------------------------------.
 5708|       || yysetstate -- set current state (the top of the stack) to yystate.  |
 5709|       |`--------------------------------------------------------------------*/
 5710|  19.9M|yysetstate:
 5711|  19.9M|  YYDPRINTF ((stderr, "Entering state %d\n", yystate));
  ------------------
  |  | 5199|  19.9M|# define YYDPRINTF(Args)                        \
  |  | 5200|  19.9M|do {                                            \
  |  | 5201|  19.9M|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (5201:7): [True: 0, False: 19.9M]
  |  |  ------------------
  |  | 5202|  19.9M|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5203|  19.9M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5203:10): [Folded, False: 19.9M]
  |  |  ------------------
  ------------------
 5712|  19.9M|  YY_ASSERT (0 <= yystate && yystate < YYNSTATES);
  ------------------
  |  |  981|  19.9M|#define YY_ASSERT(E) ((void) (0 && (E)))
  |  |  ------------------
  |  |  |  Branch (981:31): [Folded, False: 19.9M]
  |  |  |  Branch (981:37): [True: 0, False: 0]
  |  |  |  Branch (981:37): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5713|  19.9M|  YY_IGNORE_USELESS_CAST_BEGIN
 5714|  19.9M|  *yyssp = YY_CAST (yy_state_t, yystate);
  ------------------
  |  |  100|  19.9M|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  ------------------
 5715|  19.9M|  YY_IGNORE_USELESS_CAST_END
 5716|  19.9M|  YY_STACK_PRINT (yyss, yyssp);
  ------------------
  |  | 5271|  19.9M|# define YY_STACK_PRINT(Bottom, Top)                            \
  |  | 5272|  19.9M|do {                                                            \
  |  | 5273|  19.9M|  if (yydebug)                                                  \
  |  |  ------------------
  |  |  |  Branch (5273:7): [True: 0, False: 19.9M]
  |  |  ------------------
  |  | 5274|  19.9M|    yy_stack_print ((Bottom), (Top));                           \
  |  | 5275|  19.9M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5275:10): [Folded, False: 19.9M]
  |  |  ------------------
  ------------------
 5717|       |
 5718|  19.9M|  if (yyss + yystacksize - 1 <= yyssp)
  ------------------
  |  Branch (5718:7): [True: 0, False: 19.9M]
  ------------------
 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|  19.9M|#endif /* !defined yyoverflow && !defined YYSTACK_RELOCATE */
 5780|       |
 5781|       |
 5782|  19.9M|  if (yystate == YYFINAL)
  ------------------
  |  | 1111|  19.9M|#define YYFINAL  496
  ------------------
  |  Branch (5782:7): [True: 598, False: 19.9M]
  ------------------
 5783|    598|    YYACCEPT;
  ------------------
  |  | 5161|    598|#define YYACCEPT        goto yyacceptlab
  ------------------
 5784|       |
 5785|  19.9M|  goto yybackup;
 5786|       |
 5787|       |
 5788|       |/*-----------.
 5789|       || yybackup.  |
 5790|       |`-----------*/
 5791|  19.9M|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|  19.9M|  yyn = yypact[yystate];
 5797|  19.9M|  if (yypact_value_is_default (yyn))
  ------------------
  |  | 1490|  19.9M|  ((Yyn) == YYPACT_NINF)
  |  |  ------------------
  |  |  |  | 1487|  19.9M|#define YYPACT_NINF (-901)
  |  |  ------------------
  |  |  |  Branch (1490:3): [True: 8.31M, False: 11.6M]
  |  |  ------------------
  ------------------
 5798|  8.31M|    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|  11.6M|  if (yychar == YYEMPTY)
  ------------------
  |  Branch (5803:7): [True: 5.33M, False: 6.33M]
  ------------------
 5804|  5.33M|    {
 5805|  5.33M|      YYDPRINTF ((stderr, "Reading a token\n"));
  ------------------
  |  | 5199|  5.33M|# define YYDPRINTF(Args)                        \
  |  | 5200|  5.33M|do {                                            \
  |  | 5201|  5.33M|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (5201:7): [True: 0, False: 5.33M]
  |  |  ------------------
  |  | 5202|  5.33M|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5203|  5.33M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5203:10): [Folded, False: 5.33M]
  |  |  ------------------
  ------------------
 5806|  5.33M|      yychar = yylex (&yylval, parseContext);
  ------------------
  |  |  783|  5.33M|#define parseContext (*pParseContext)
  ------------------
 5807|  5.33M|    }
 5808|       |
 5809|  11.6M|  if (yychar <= YYEOF)
  ------------------
  |  Branch (5809:7): [True: 628, False: 11.6M]
  ------------------
 5810|    628|    {
 5811|    628|      yychar = YYEOF;
 5812|    628|      yytoken = YYSYMBOL_YYEOF;
 5813|    628|      YYDPRINTF ((stderr, "Now at end of input.\n"));
  ------------------
  |  | 5199|    628|# define YYDPRINTF(Args)                        \
  |  | 5200|    628|do {                                            \
  |  | 5201|    628|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (5201:7): [True: 0, False: 628]
  |  |  ------------------
  |  | 5202|    628|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5203|    628|} while (0)
  |  |  ------------------
  |  |  |  Branch (5203:10): [Folded, False: 628]
  |  |  ------------------
  ------------------
 5814|    628|    }
 5815|  11.6M|  else if (yychar == YYerror)
  ------------------
  |  Branch (5815:12): [True: 0, False: 11.6M]
  ------------------
 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|  11.6M|  else
 5826|  11.6M|    {
 5827|  11.6M|      yytoken = YYTRANSLATE (yychar);
  ------------------
  |  | 1131|  11.6M|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  | 1125|  11.6M|#define YYMAXUTOK   769
  |  |  ------------------
  |  |  |  Branch (1131:4): [True: 11.6M, False: 0]
  |  |  |  Branch (1131:18): [True: 11.6M, False: 0]
  |  |  ------------------
  |  | 1132|  11.6M|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  100|  11.6M|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  |  | 1133|  11.6M|   : YYSYMBOL_YYUNDEF)
  ------------------
 5828|  11.6M|      YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
  ------------------
  |  | 5208|  11.6M|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 5209|  11.6M|do {                                                                      \
  |  | 5210|  11.6M|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (5210:7): [True: 0, False: 11.6M]
  |  |  ------------------
  |  | 5211|  11.6M|    {                                                                     \
  |  | 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|  11.6M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5217:10): [Folded, False: 11.6M]
  |  |  ------------------
  ------------------
 5829|  11.6M|    }
 5830|       |
 5831|       |  /* If the proper action on seeing token YYTOKEN is to reduce or to
 5832|       |     detect an error, take that action.  */
 5833|  11.6M|  yyn += yytoken;
 5834|  11.6M|  if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
  ------------------
  |  | 1113|  11.6M|#define YYLAST   15602
  ------------------
  |  Branch (5834:7): [True: 24, False: 11.6M]
  |  Branch (5834:18): [True: 0, False: 11.6M]
  |  Branch (5834:34): [True: 6.33M, False: 5.33M]
  ------------------
 5835|  6.33M|    goto yydefault;
 5836|  5.33M|  yyn = yytable[yyn];
 5837|  5.33M|  if (yyn <= 0)
  ------------------
  |  Branch (5837:7): [True: 2.18k, False: 5.33M]
  ------------------
 5838|  2.18k|    {
 5839|  2.18k|      if (yytable_value_is_error (yyn))
  ------------------
  |  | 1495|  2.18k|  0
  |  |  ------------------
  |  |  |  Branch (1495:3): [Folded, False: 2.18k]
  |  |  ------------------
  ------------------
 5840|      0|        goto yyerrlab;
 5841|  2.18k|      yyn = -yyn;
 5842|  2.18k|      goto yyreduce;
 5843|  2.18k|    }
 5844|       |
 5845|       |  /* Count tokens shifted since error; after three, turn off error
 5846|       |     status.  */
 5847|  5.33M|  if (yyerrstatus)
  ------------------
  |  Branch (5847:7): [True: 0, False: 5.33M]
  ------------------
 5848|      0|    yyerrstatus--;
 5849|       |
 5850|       |  /* Shift the lookahead token.  */
 5851|  5.33M|  YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
  ------------------
  |  | 5208|  5.33M|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 5209|  5.33M|do {                                                                      \
  |  | 5210|  5.33M|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (5210:7): [True: 0, False: 5.33M]
  |  |  ------------------
  |  | 5211|  5.33M|    {                                                                     \
  |  | 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|  5.33M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5217:10): [Folded, False: 5.33M]
  |  |  ------------------
  ------------------
 5852|  5.33M|  yystate = yyn;
 5853|  5.33M|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 5854|  5.33M|  *++yyvsp = yylval;
 5855|  5.33M|  YY_IGNORE_MAYBE_UNINITIALIZED_END
 5856|       |
 5857|       |  /* Discard the shifted token.  */
 5858|  5.33M|  yychar = YYEMPTY;
 5859|  5.33M|  goto yynewstate;
 5860|       |
 5861|       |
 5862|       |/*-----------------------------------------------------------.
 5863|       || yydefault -- do the default action for the current state.  |
 5864|       |`-----------------------------------------------------------*/
 5865|  14.6M|yydefault:
 5866|  14.6M|  yyn = yydefact[yystate];
 5867|  14.6M|  if (yyn == 0)
  ------------------
  |  Branch (5867:7): [True: 23, False: 14.6M]
  ------------------
 5868|     23|    goto yyerrlab;
 5869|  14.6M|  goto yyreduce;
 5870|       |
 5871|       |
 5872|       |/*-----------------------------.
 5873|       || yyreduce -- do a reduction.  |
 5874|       |`-----------------------------*/
 5875|  14.6M|yyreduce:
 5876|       |  /* yyn is the number of a rule to reduce with.  */
 5877|  14.6M|  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|  14.6M|  yyval = yyvsp[1-yylen];
 5888|       |
 5889|       |
 5890|  14.6M|  YY_REDUCE_PRINT (yyn);
  ------------------
  |  | 5302|  14.6M|# define YY_REDUCE_PRINT(Rule)          \
  |  | 5303|  14.6M|do {                                    \
  |  | 5304|  14.6M|  if (yydebug)                          \
  |  |  ------------------
  |  |  |  Branch (5304:7): [True: 0, False: 14.6M]
  |  |  ------------------
  |  | 5305|  14.6M|    yy_reduce_print (yyssp, yyvsp, Rule, pParseContext); \
  |  | 5306|  14.6M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5306:10): [Folded, False: 14.6M]
  |  |  ------------------
  ------------------
 5891|  14.6M|  switch (yyn)
 5892|  14.6M|    {
 5893|  10.9k|  case 2: /* variable_identifier: IDENTIFIER  */
  ------------------
  |  Branch (5893:3): [True: 10.9k, False: 14.6M]
  ------------------
 5894|  10.9k|#line 371 "MachineIndependent/glslang.y"
 5895|  10.9k|                 {
 5896|  10.9k|        (yyval.interm.intermTypedNode) = parseContext.handleVariable((yyvsp[0].lex).loc, (yyvsp[0].lex).symbol, (yyvsp[0].lex).string);
  ------------------
  |  |  783|  10.9k|#define parseContext (*pParseContext)
  ------------------
 5897|  10.9k|    }
 5898|  10.9k|#line 5899 "MachineIndependent/glslang_tab.cpp"
 5899|  10.9k|    break;
 5900|       |
 5901|  10.9k|  case 3: /* primary_expression: variable_identifier  */
  ------------------
  |  Branch (5901:3): [True: 10.9k, False: 14.6M]
  ------------------
 5902|  10.9k|#line 377 "MachineIndependent/glslang.y"
 5903|  10.9k|                          {
 5904|  10.9k|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 5905|  10.9k|    }
 5906|  10.9k|#line 5907 "MachineIndependent/glslang_tab.cpp"
 5907|  10.9k|    break;
 5908|       |
 5909|      0|  case 4: /* primary_expression: LEFT_PAREN expression RIGHT_PAREN  */
  ------------------
  |  Branch (5909:3): [True: 0, False: 14.6M]
  ------------------
 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|    219|  case 5: /* primary_expression: FLOATCONSTANT  */
  ------------------
  |  Branch (5919:3): [True: 219, False: 14.6M]
  ------------------
 5920|    219|#line 385 "MachineIndependent/glslang.y"
 5921|    219|                    {
 5922|    219|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|    219|#define parseContext (*pParseContext)
  ------------------
 5923|    219|    }
 5924|    219|#line 5925 "MachineIndependent/glslang_tab.cpp"
 5925|    219|    break;
 5926|       |
 5927|  9.33k|  case 6: /* primary_expression: INTCONSTANT  */
  ------------------
  |  Branch (5927:3): [True: 9.33k, False: 14.6M]
  ------------------
 5928|  9.33k|#line 388 "MachineIndependent/glslang.y"
 5929|  9.33k|                  {
 5930|  9.33k|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|  9.33k|#define parseContext (*pParseContext)
  ------------------
 5931|  9.33k|    }
 5932|  9.33k|#line 5933 "MachineIndependent/glslang_tab.cpp"
 5933|  9.33k|    break;
 5934|       |
 5935|    322|  case 7: /* primary_expression: UINTCONSTANT  */
  ------------------
  |  Branch (5935:3): [True: 322, False: 14.6M]
  ------------------
 5936|    322|#line 391 "MachineIndependent/glslang.y"
 5937|    322|                   {
 5938|    322|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned literal");
  ------------------
  |  |  783|    322|#define parseContext (*pParseContext)
  ------------------
 5939|    322|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|    322|#define parseContext (*pParseContext)
  ------------------
 5940|    322|    }
 5941|    322|#line 5942 "MachineIndependent/glslang_tab.cpp"
 5942|    322|    break;
 5943|       |
 5944|      0|  case 8: /* primary_expression: BOOLCONSTANT  */
  ------------------
  |  Branch (5944:3): [True: 0, False: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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|  20.8k|  case 23: /* postfix_expression: primary_expression  */
  ------------------
  |  Branch (6079:3): [True: 20.8k, False: 14.6M]
  ------------------
 6080|  20.8k|#line 458 "MachineIndependent/glslang.y"
 6081|  20.8k|                         {
 6082|  20.8k|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6083|  20.8k|    }
 6084|  20.8k|#line 6085 "MachineIndependent/glslang_tab.cpp"
 6085|  20.8k|    break;
 6086|       |
 6087|      0|  case 24: /* postfix_expression: postfix_expression LEFT_BRACKET integer_expression RIGHT_BRACKET  */
  ------------------
  |  Branch (6087:3): [True: 0, False: 14.6M]
  ------------------
 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|  2.99k|  case 25: /* postfix_expression: function_call  */
  ------------------
  |  Branch (6095:3): [True: 2.99k, False: 14.6M]
  ------------------
 6096|  2.99k|#line 464 "MachineIndependent/glslang.y"
 6097|  2.99k|                    {
 6098|  2.99k|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6099|  2.99k|    }
 6100|  2.99k|#line 6101 "MachineIndependent/glslang_tab.cpp"
 6101|  2.99k|    break;
 6102|       |
 6103|    582|  case 26: /* postfix_expression: postfix_expression DOT IDENTIFIER  */
  ------------------
  |  Branch (6103:3): [True: 582, False: 14.6M]
  ------------------
 6104|    582|#line 467 "MachineIndependent/glslang.y"
 6105|    582|                                        {
 6106|    582|        (yyval.interm.intermTypedNode) = parseContext.handleDotDereference((yyvsp[0].lex).loc, (yyvsp[-2].interm.intermTypedNode), *(yyvsp[0].lex).string);
  ------------------
  |  |  783|    582|#define parseContext (*pParseContext)
  ------------------
 6107|    582|    }
 6108|    582|#line 6109 "MachineIndependent/glslang_tab.cpp"
 6109|    582|    break;
 6110|       |
 6111|      0|  case 27: /* postfix_expression: postfix_expression INC_OP  */
  ------------------
  |  Branch (6111:3): [True: 0, False: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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|  2.99k|  case 30: /* function_call: function_call_or_method  */
  ------------------
  |  Branch (6140:3): [True: 2.99k, False: 14.6M]
  ------------------
 6141|  2.99k|#line 490 "MachineIndependent/glslang.y"
 6142|  2.99k|                              {
 6143|  2.99k|        (yyval.interm.intermTypedNode) = parseContext.handleFunctionCall((yyvsp[0].interm).loc, (yyvsp[0].interm).function, (yyvsp[0].interm).intermNode);
  ------------------
  |  |  783|  2.99k|#define parseContext (*pParseContext)
  ------------------
 6144|  2.99k|        delete (yyvsp[0].interm).function;
 6145|  2.99k|    }
 6146|  2.99k|#line 6147 "MachineIndependent/glslang_tab.cpp"
 6147|  2.99k|    break;
 6148|       |
 6149|  2.99k|  case 31: /* function_call_or_method: function_call_generic  */
  ------------------
  |  Branch (6149:3): [True: 2.99k, False: 14.6M]
  ------------------
 6150|  2.99k|#line 497 "MachineIndependent/glslang.y"
 6151|  2.99k|                            {
 6152|  2.99k|        (yyval.interm) = (yyvsp[0].interm);
 6153|  2.99k|    }
 6154|  2.99k|#line 6155 "MachineIndependent/glslang_tab.cpp"
 6155|  2.99k|    break;
 6156|       |
 6157|  2.84k|  case 32: /* function_call_generic: function_call_header_with_parameters RIGHT_PAREN  */
  ------------------
  |  Branch (6157:3): [True: 2.84k, False: 14.6M]
  ------------------
 6158|  2.84k|#line 503 "MachineIndependent/glslang.y"
 6159|  2.84k|                                                       {
 6160|  2.84k|        (yyval.interm) = (yyvsp[-1].interm);
 6161|  2.84k|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6162|  2.84k|    }
 6163|  2.84k|#line 6164 "MachineIndependent/glslang_tab.cpp"
 6164|  2.84k|    break;
 6165|       |
 6166|    144|  case 33: /* function_call_generic: function_call_header_no_parameters RIGHT_PAREN  */
  ------------------
  |  Branch (6166:3): [True: 144, False: 14.6M]
  ------------------
 6167|    144|#line 507 "MachineIndependent/glslang.y"
 6168|    144|                                                     {
 6169|    144|        (yyval.interm) = (yyvsp[-1].interm);
 6170|    144|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6171|    144|    }
 6172|    144|#line 6173 "MachineIndependent/glslang_tab.cpp"
 6173|    144|    break;
 6174|       |
 6175|      0|  case 34: /* function_call_header_no_parameters: function_call_header VOID  */
  ------------------
  |  Branch (6175:3): [True: 0, False: 14.6M]
  ------------------
 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|    144|  case 35: /* function_call_header_no_parameters: function_call_header  */
  ------------------
  |  Branch (6183:3): [True: 144, False: 14.6M]
  ------------------
 6184|    144|#line 517 "MachineIndependent/glslang.y"
 6185|    144|                           {
 6186|    144|        (yyval.interm) = (yyvsp[0].interm);
 6187|    144|    }
 6188|    144|#line 6189 "MachineIndependent/glslang_tab.cpp"
 6189|    144|    break;
 6190|       |
 6191|  2.84k|  case 36: /* function_call_header_with_parameters: function_call_header assignment_expression  */
  ------------------
  |  Branch (6191:3): [True: 2.84k, False: 14.6M]
  ------------------
 6192|  2.84k|#line 523 "MachineIndependent/glslang.y"
 6193|  2.84k|                                                 {
 6194|  2.84k|        if (parseContext.spvVersion.vulkan > 0
  ------------------
  |  |  783|  2.84k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6194:13): [True: 2.84k, False: 0]
  ------------------
 6195|  2.84k|            && parseContext.spvVersion.vulkanRelaxed
  ------------------
  |  |  783|  2.84k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6195:16): [True: 0, False: 2.84k]
  ------------------
 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|  2.84k|        else
 6202|  2.84k|        {
 6203|  2.84k|            TParameter param = { 0, new TType, {} };
 6204|  2.84k|            param.type->shallowCopy((yyvsp[0].interm.intermTypedNode)->getType());
 6205|       |
 6206|  2.84k|            (yyvsp[-1].interm).function->addParameter(param);
 6207|  2.84k|            (yyval.interm).function = (yyvsp[-1].interm).function;
 6208|  2.84k|            (yyval.interm).intermNode = (yyvsp[0].interm.intermTypedNode);
 6209|  2.84k|        }
 6210|  2.84k|    }
 6211|  2.84k|#line 6212 "MachineIndependent/glslang_tab.cpp"
 6212|  2.84k|    break;
 6213|       |
 6214|  5.23k|  case 37: /* function_call_header_with_parameters: function_call_header_with_parameters COMMA assignment_expression  */
  ------------------
  |  Branch (6214:3): [True: 5.23k, False: 14.6M]
  ------------------
 6215|  5.23k|#line 541 "MachineIndependent/glslang.y"
 6216|  5.23k|                                                                       {
 6217|  5.23k|        if (parseContext.spvVersion.vulkan > 0
  ------------------
  |  |  783|  5.23k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6217:13): [True: 5.23k, False: 0]
  ------------------
 6218|  5.23k|            && parseContext.spvVersion.vulkanRelaxed
  ------------------
  |  |  783|  5.23k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6218:16): [True: 0, False: 5.23k]
  ------------------
 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|  5.23k|        else
 6229|  5.23k|        {
 6230|  5.23k|            TParameter param = { 0, new TType, {} };
 6231|  5.23k|            param.type->shallowCopy((yyvsp[0].interm.intermTypedNode)->getType());
 6232|       |
 6233|  5.23k|            (yyvsp[-2].interm).function->addParameter(param);
 6234|  5.23k|            (yyval.interm).function = (yyvsp[-2].interm).function;
 6235|  5.23k|            (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-2].interm).intermNode, (yyvsp[0].interm.intermTypedNode), (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|  5.23k|#define parseContext (*pParseContext)
  ------------------
 6236|  5.23k|        }
 6237|  5.23k|    }
 6238|  5.23k|#line 6239 "MachineIndependent/glslang_tab.cpp"
 6239|  5.23k|    break;
 6240|       |
 6241|  2.99k|  case 38: /* function_call_header: function_identifier LEFT_PAREN  */
  ------------------
  |  Branch (6241:3): [True: 2.99k, False: 14.6M]
  ------------------
 6242|  2.99k|#line 566 "MachineIndependent/glslang.y"
 6243|  2.99k|                                     {
 6244|  2.99k|        (yyval.interm) = (yyvsp[-1].interm);
 6245|  2.99k|    }
 6246|  2.99k|#line 6247 "MachineIndependent/glslang_tab.cpp"
 6247|  2.99k|    break;
 6248|       |
 6249|    809|  case 39: /* function_identifier: type_specifier  */
  ------------------
  |  Branch (6249:3): [True: 809, False: 14.6M]
  ------------------
 6250|    809|#line 574 "MachineIndependent/glslang.y"
 6251|    809|                     {
 6252|       |        // Constructor
 6253|    809|        (yyval.interm).intermNode = 0;
 6254|    809|        (yyval.interm).function = parseContext.handleConstructorCall((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type));
  ------------------
  |  |  783|    809|#define parseContext (*pParseContext)
  ------------------
 6255|    809|    }
 6256|    809|#line 6257 "MachineIndependent/glslang_tab.cpp"
 6257|    809|    break;
 6258|       |
 6259|  2.18k|  case 40: /* function_identifier: postfix_expression  */
  ------------------
  |  Branch (6259:3): [True: 2.18k, False: 14.6M]
  ------------------
 6260|  2.18k|#line 579 "MachineIndependent/glslang.y"
 6261|  2.18k|                         {
 6262|       |        //
 6263|       |        // Should be a method or subroutine call, but we haven't recognized the arguments yet.
 6264|       |        //
 6265|  2.18k|        (yyval.interm).function = 0;
 6266|  2.18k|        (yyval.interm).intermNode = 0;
 6267|       |
 6268|  2.18k|        TIntermMethod* method = (yyvsp[0].interm.intermTypedNode)->getAsMethodNode();
 6269|  2.18k|        if (method) {
  ------------------
  |  Branch (6269:13): [True: 0, False: 2.18k]
  ------------------
 6270|      0|            (yyval.interm).function = new TFunction(&method->getMethodName(), method->getType(), EOpArrayLength);
 6271|      0|            (yyval.interm).intermNode = method->getObject();
 6272|  2.18k|        } else {
 6273|  2.18k|            TIntermSymbol* symbol = (yyvsp[0].interm.intermTypedNode)->getAsSymbolNode();
 6274|  2.18k|            if (symbol) {
  ------------------
  |  Branch (6274:17): [True: 2.18k, False: 0]
  ------------------
 6275|  2.18k|                parseContext.reservedErrorCheck(symbol->getLoc(), symbol->getName());
  ------------------
  |  |  783|  2.18k|#define parseContext (*pParseContext)
  ------------------
 6276|  2.18k|                TFunction *function = new TFunction(&symbol->getName(), TType(EbtVoid));
 6277|  2.18k|                (yyval.interm).function = function;
 6278|  2.18k|            } else
 6279|      0|                parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "function call, method, or subroutine call expected", "", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6280|  2.18k|        }
 6281|       |
 6282|  2.18k|        if ((yyval.interm).function == 0) {
  ------------------
  |  Branch (6282:13): [True: 0, False: 2.18k]
  ------------------
 6283|       |            // error recover
 6284|      0|            TString* empty = NewPoolTString("");
 6285|      0|            (yyval.interm).function = new TFunction(empty, TType(EbtVoid), EOpNull);
 6286|      0|        }
 6287|  2.18k|    }
 6288|  2.18k|#line 6289 "MachineIndependent/glslang_tab.cpp"
 6289|  2.18k|    break;
 6290|       |
 6291|      0|  case 41: /* function_identifier: non_uniform_qualifier  */
  ------------------
  |  Branch (6291:3): [True: 0, False: 14.6M]
  ------------------
 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|  21.6k|  case 42: /* unary_expression: postfix_expression  */
  ------------------
  |  Branch (6301:3): [True: 21.6k, False: 14.6M]
  ------------------
 6302|  21.6k|#line 614 "MachineIndependent/glslang.y"
 6303|  21.6k|                         {
 6304|  21.6k|        parseContext.variableCheck((yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|  21.6k|#define parseContext (*pParseContext)
  ------------------
 6305|  21.6k|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6306|  21.6k|        if (TIntermMethod* method = (yyvsp[0].interm.intermTypedNode)->getAsMethodNode())
  ------------------
  |  Branch (6306:28): [True: 0, False: 21.6k]
  ------------------
 6307|      0|            parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "incomplete method syntax", method->getMethodName().c_str(), "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6308|  21.6k|    }
 6309|  21.6k|#line 6310 "MachineIndependent/glslang_tab.cpp"
 6310|  21.6k|    break;
 6311|       |
 6312|      0|  case 43: /* unary_expression: INC_OP unary_expression  */
  ------------------
  |  Branch (6312:3): [True: 0, False: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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|    118|  case 45: /* unary_expression: unary_operator unary_expression  */
  ------------------
  |  Branch (6330:3): [True: 118, False: 14.6M]
  ------------------
 6331|    118|#line 628 "MachineIndependent/glslang.y"
 6332|    118|                                      {
 6333|    118|        if ((yyvsp[-1].interm).op != EOpNull) {
  ------------------
  |  Branch (6333:13): [True: 118, False: 0]
  ------------------
 6334|    118|            char errorOp[2] = {0, 0};
 6335|    118|            switch((yyvsp[-1].interm).op) {
 6336|    118|            case EOpNegative:   errorOp[0] = '-'; break;
  ------------------
  |  Branch (6336:13): [True: 118, False: 0]
  ------------------
 6337|      0|            case EOpLogicalNot: errorOp[0] = '!'; break;
  ------------------
  |  Branch (6337:13): [True: 0, False: 118]
  ------------------
 6338|      0|            case EOpBitwiseNot: errorOp[0] = '~'; break;
  ------------------
  |  Branch (6338:13): [True: 0, False: 118]
  ------------------
 6339|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (6339:13): [True: 0, False: 118]
  ------------------
 6340|    118|            }
 6341|    118|            (yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[-1].interm).loc, errorOp, (yyvsp[-1].interm).op, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|    118|#define parseContext (*pParseContext)
  ------------------
 6342|    118|        } 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|    118|    }
 6348|    118|#line 6349 "MachineIndependent/glslang_tab.cpp"
 6349|    118|    break;
 6350|       |
 6351|    118|  case 46: /* unary_expression: LEFT_PAREN type_specifier_nonarray RIGHT_PAREN unary_expression  */
  ------------------
  |  Branch (6351:3): [True: 0, False: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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|    118|  case 48: /* unary_operator: DASH  */
  ------------------
  |  Branch (6365:3): [True: 118, False: 14.6M]
  ------------------
 6366|    118|#line 652 "MachineIndependent/glslang.y"
 6367|    118|            { (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpNegative; }
 6368|    118|#line 6369 "MachineIndependent/glslang_tab.cpp"
 6369|    118|    break;
 6370|       |
 6371|      0|  case 49: /* unary_operator: BANG  */
  ------------------
  |  Branch (6371:3): [True: 0, False: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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|  19.9k|  case 51: /* multiplicative_expression: unary_expression  */
  ------------------
  |  Branch (6384:3): [True: 19.9k, False: 14.6M]
  ------------------
 6385|  19.9k|#line 660 "MachineIndependent/glslang.y"
 6386|  19.9k|                       { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6387|  19.9k|#line 6388 "MachineIndependent/glslang_tab.cpp"
 6388|  19.9k|    break;
 6389|       |
 6390|      0|  case 52: /* multiplicative_expression: multiplicative_expression STAR unary_expression  */
  ------------------
  |  Branch (6390:3): [True: 0, False: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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|  19.9k|  case 55: /* additive_expression: multiplicative_expression  */
  ------------------
  |  Branch (6421:3): [True: 19.9k, False: 14.6M]
  ------------------
 6422|  19.9k|#line 680 "MachineIndependent/glslang.y"
 6423|  19.9k|                                { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6424|  19.9k|#line 6425 "MachineIndependent/glslang_tab.cpp"
 6425|  19.9k|    break;
 6426|       |
 6427|      3|  case 56: /* additive_expression: additive_expression PLUS multiplicative_expression  */
  ------------------
  |  Branch (6427:3): [True: 3, False: 14.6M]
  ------------------
 6428|      3|#line 681 "MachineIndependent/glslang.y"
 6429|      3|                                                         {
 6430|      3|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "+", EOpAdd, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      3|#define parseContext (*pParseContext)
  ------------------
 6431|      3|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6431:13): [True: 0, False: 3]
  ------------------
 6432|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6433|      3|    }
 6434|      3|#line 6435 "MachineIndependent/glslang_tab.cpp"
 6435|      3|    break;
 6436|       |
 6437|      0|  case 57: /* additive_expression: additive_expression DASH multiplicative_expression  */
  ------------------
  |  Branch (6437:3): [True: 0, False: 14.6M]
  ------------------
 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|  19.9k|  case 58: /* shift_expression: additive_expression  */
  ------------------
  |  Branch (6447:3): [True: 19.9k, False: 14.6M]
  ------------------
 6448|  19.9k|#line 694 "MachineIndependent/glslang.y"
 6449|  19.9k|                          { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6450|  19.9k|#line 6451 "MachineIndependent/glslang_tab.cpp"
 6451|  19.9k|    break;
 6452|       |
 6453|      0|  case 59: /* shift_expression: shift_expression LEFT_OP additive_expression  */
  ------------------
  |  Branch (6453:3): [True: 0, False: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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|  19.9k|  case 61: /* relational_expression: shift_expression  */
  ------------------
  |  Branch (6475:3): [True: 19.9k, False: 14.6M]
  ------------------
 6476|  19.9k|#line 710 "MachineIndependent/glslang.y"
 6477|  19.9k|                       { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6478|  19.9k|#line 6479 "MachineIndependent/glslang_tab.cpp"
 6479|  19.9k|    break;
 6480|       |
 6481|      0|  case 62: /* relational_expression: relational_expression LEFT_ANGLE shift_expression  */
  ------------------
  |  Branch (6481:3): [True: 0, False: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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|  19.9k|  case 66: /* equality_expression: relational_expression  */
  ------------------
  |  Branch (6521:3): [True: 19.9k, False: 14.6M]
  ------------------
 6522|  19.9k|#line 734 "MachineIndependent/glslang.y"
 6523|  19.9k|                            { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6524|  19.9k|#line 6525 "MachineIndependent/glslang_tab.cpp"
 6525|  19.9k|    break;
 6526|       |
 6527|      0|  case 67: /* equality_expression: equality_expression EQ_OP relational_expression  */
  ------------------
  |  Branch (6527:3): [True: 0, False: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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|  19.9k|  case 69: /* and_expression: equality_expression  */
  ------------------
  |  Branch (6555:3): [True: 19.9k, False: 14.6M]
  ------------------
 6556|  19.9k|#line 756 "MachineIndependent/glslang.y"
 6557|  19.9k|                          { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6558|  19.9k|#line 6559 "MachineIndependent/glslang_tab.cpp"
 6559|  19.9k|    break;
 6560|       |
 6561|      0|  case 70: /* and_expression: and_expression AMPERSAND equality_expression  */
  ------------------
  |  Branch (6561:3): [True: 0, False: 14.6M]
  ------------------
 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|  19.9k|  case 71: /* exclusive_or_expression: and_expression  */
  ------------------
  |  Branch (6572:3): [True: 19.9k, False: 14.6M]
  ------------------
 6573|  19.9k|#line 766 "MachineIndependent/glslang.y"
 6574|  19.9k|                     { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6575|  19.9k|#line 6576 "MachineIndependent/glslang_tab.cpp"
 6576|  19.9k|    break;
 6577|       |
 6578|      0|  case 72: /* exclusive_or_expression: exclusive_or_expression CARET and_expression  */
  ------------------
  |  Branch (6578:3): [True: 0, False: 14.6M]
  ------------------
 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|  19.9k|  case 73: /* inclusive_or_expression: exclusive_or_expression  */
  ------------------
  |  Branch (6589:3): [True: 19.9k, False: 14.6M]
  ------------------
 6590|  19.9k|#line 776 "MachineIndependent/glslang.y"
 6591|  19.9k|                              { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6592|  19.9k|#line 6593 "MachineIndependent/glslang_tab.cpp"
 6593|  19.9k|    break;
 6594|       |
 6595|      0|  case 74: /* inclusive_or_expression: inclusive_or_expression VERTICAL_BAR exclusive_or_expression  */
  ------------------
  |  Branch (6595:3): [True: 0, False: 14.6M]
  ------------------
 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|  19.9k|  case 75: /* logical_and_expression: inclusive_or_expression  */
  ------------------
  |  Branch (6606:3): [True: 19.9k, False: 14.6M]
  ------------------
 6607|  19.9k|#line 786 "MachineIndependent/glslang.y"
 6608|  19.9k|                              { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6609|  19.9k|#line 6610 "MachineIndependent/glslang_tab.cpp"
 6610|  19.9k|    break;
 6611|       |
 6612|      0|  case 76: /* logical_and_expression: logical_and_expression AND_OP inclusive_or_expression  */
  ------------------
  |  Branch (6612:3): [True: 0, False: 14.6M]
  ------------------
 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|  19.9k|  case 77: /* logical_xor_expression: logical_and_expression  */
  ------------------
  |  Branch (6622:3): [True: 19.9k, False: 14.6M]
  ------------------
 6623|  19.9k|#line 795 "MachineIndependent/glslang.y"
 6624|  19.9k|                             { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6625|  19.9k|#line 6626 "MachineIndependent/glslang_tab.cpp"
 6626|  19.9k|    break;
 6627|       |
 6628|      0|  case 78: /* logical_xor_expression: logical_xor_expression XOR_OP logical_and_expression  */
  ------------------
  |  Branch (6628:3): [True: 0, False: 14.6M]
  ------------------
 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|  19.9k|  case 79: /* logical_or_expression: logical_xor_expression  */
  ------------------
  |  Branch (6638:3): [True: 19.9k, False: 14.6M]
  ------------------
 6639|  19.9k|#line 804 "MachineIndependent/glslang.y"
 6640|  19.9k|                             { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6641|  19.9k|#line 6642 "MachineIndependent/glslang_tab.cpp"
 6642|  19.9k|    break;
 6643|       |
 6644|      0|  case 80: /* logical_or_expression: logical_or_expression OR_OP logical_xor_expression  */
  ------------------
  |  Branch (6644:3): [True: 0, False: 14.6M]
  ------------------
 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|  19.9k|  case 81: /* conditional_expression: logical_or_expression  */
  ------------------
  |  Branch (6654:3): [True: 19.9k, False: 14.6M]
  ------------------
 6655|  19.9k|#line 813 "MachineIndependent/glslang.y"
 6656|  19.9k|                            { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6657|  19.9k|#line 6658 "MachineIndependent/glslang_tab.cpp"
 6658|  19.9k|    break;
 6659|       |
 6660|      0|  case 82: /* $@1: %empty  */
  ------------------
  |  Branch (6660:3): [True: 0, False: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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|  16.3k|  case 84: /* assignment_expression: conditional_expression  */
  ------------------
  |  Branch (6685:3): [True: 16.3k, False: 14.6M]
  ------------------
 6686|  16.3k|#line 832 "MachineIndependent/glslang.y"
 6687|  16.3k|                             { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6688|  16.3k|#line 6689 "MachineIndependent/glslang_tab.cpp"
 6689|  16.3k|    break;
 6690|       |
 6691|  1.62k|  case 85: /* assignment_expression: unary_expression assignment_operator assignment_expression  */
  ------------------
  |  Branch (6691:3): [True: 1.62k, False: 14.6M]
  ------------------
 6692|  1.62k|#line 833 "MachineIndependent/glslang.y"
 6693|  1.62k|                                                                 {
 6694|  1.62k|        parseContext.arrayObjectCheck((yyvsp[-1].interm).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "array assignment");
  ------------------
  |  |  783|  1.62k|#define parseContext (*pParseContext)
  ------------------
 6695|  1.62k|        parseContext.opaqueCheck((yyvsp[-1].interm).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "=");
  ------------------
  |  |  783|  1.62k|#define parseContext (*pParseContext)
  ------------------
 6696|  1.62k|        parseContext.storage16BitAssignmentCheck((yyvsp[-1].interm).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "=");
  ------------------
  |  |  783|  1.62k|#define parseContext (*pParseContext)
  ------------------
 6697|  1.62k|        parseContext.specializationCheck((yyvsp[-1].interm).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "=");
  ------------------
  |  |  783|  1.62k|#define parseContext (*pParseContext)
  ------------------
 6698|  1.62k|        parseContext.lValueErrorCheck((yyvsp[-1].interm).loc, "assign", (yyvsp[-2].interm.intermTypedNode));
  ------------------
  |  |  783|  1.62k|#define parseContext (*pParseContext)
  ------------------
 6699|  1.62k|        parseContext.rValueErrorCheck((yyvsp[-1].interm).loc, "assign", (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|  1.62k|#define parseContext (*pParseContext)
  ------------------
 6700|  1.62k|        (yyval.interm.intermTypedNode) = parseContext.addAssign((yyvsp[-1].interm).loc, (yyvsp[-1].interm).op, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|  1.62k|#define parseContext (*pParseContext)
  ------------------
 6701|  1.62k|        if ((yyval.interm.intermTypedNode) == 0) {
  ------------------
  |  Branch (6701:13): [True: 0, False: 1.62k]
  ------------------
 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|  1.62k|    }
 6706|  1.62k|#line 6707 "MachineIndependent/glslang_tab.cpp"
 6707|  1.62k|    break;
 6708|       |
 6709|      3|  case 86: /* assignment_operator: EQUAL  */
  ------------------
  |  Branch (6709:3): [True: 3, False: 14.6M]
  ------------------
 6710|      3|#line 849 "MachineIndependent/glslang.y"
 6711|      3|            {
 6712|      3|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6713|      3|        (yyval.interm).op = EOpAssign;
 6714|      3|    }
 6715|      3|#line 6716 "MachineIndependent/glslang_tab.cpp"
 6716|      3|    break;
 6717|       |
 6718|      0|  case 87: /* assignment_operator: MUL_ASSIGN  */
  ------------------
  |  Branch (6718:3): [True: 0, False: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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|  1.62k|  case 90: /* assignment_operator: ADD_ASSIGN  */
  ------------------
  |  Branch (6746:3): [True: 1.62k, False: 14.6M]
  ------------------
 6747|  1.62k|#line 866 "MachineIndependent/glslang.y"
 6748|  1.62k|                 {
 6749|  1.62k|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6750|  1.62k|        (yyval.interm).op = EOpAddAssign;
 6751|  1.62k|    }
 6752|  1.62k|#line 6753 "MachineIndependent/glslang_tab.cpp"
 6753|  1.62k|    break;
 6754|       |
 6755|      0|  case 91: /* assignment_operator: SUB_ASSIGN  */
  ------------------
  |  Branch (6755:3): [True: 0, False: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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|  2.41k|  case 97: /* expression: assignment_expression  */
  ------------------
  |  Branch (6809:3): [True: 2.41k, False: 14.6M]
  ------------------
 6810|  2.41k|#line 897 "MachineIndependent/glslang.y"
 6811|  2.41k|                            {
 6812|  2.41k|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6813|  2.41k|    }
 6814|  2.41k|#line 6815 "MachineIndependent/glslang_tab.cpp"
 6815|  2.41k|    break;
 6816|       |
 6817|      0|  case 98: /* expression: expression COMMA assignment_expression  */
  ------------------
  |  Branch (6817:3): [True: 0, False: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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|   547k|  case 100: /* declaration: function_prototype SEMICOLON  */
  ------------------
  |  Branch (6839:3): [True: 547k, False: 14.1M]
  ------------------
 6840|   547k|#line 918 "MachineIndependent/glslang.y"
 6841|   547k|                                   {
 6842|   547k|        parseContext.handleFunctionDeclarator((yyvsp[-1].interm).loc, *(yyvsp[-1].interm).function, true /* prototype */);
  ------------------
  |  |  783|   547k|#define parseContext (*pParseContext)
  ------------------
 6843|   547k|        (yyval.interm.intermNode) = 0;
 6844|       |        // TODO: 4.0 functionality: subroutines: make the identifier a user type for this signature
 6845|   547k|    }
 6846|   547k|#line 6847 "MachineIndependent/glslang_tab.cpp"
 6847|   547k|    break;
 6848|       |
 6849|      0|  case 101: /* declaration: spirv_instruction_qualifier function_prototype SEMICOLON  */
  ------------------
  |  Branch (6849:3): [True: 0, False: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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|  15.5k|  case 103: /* declaration: init_declarator_list SEMICOLON  */
  ------------------
  |  Branch (6871:3): [True: 15.5k, False: 14.6M]
  ------------------
 6872|  15.5k|#line 935 "MachineIndependent/glslang.y"
 6873|  15.5k|                                     {
 6874|  15.5k|        if ((yyvsp[-1].interm).intermNode && (yyvsp[-1].interm).intermNode->getAsAggregate())
  ------------------
  |  Branch (6874:13): [True: 237, False: 15.3k]
  |  Branch (6874:46): [True: 237, False: 0]
  ------------------
 6875|    237|            (yyvsp[-1].interm).intermNode->getAsAggregate()->setOperator(EOpSequence);
 6876|  15.5k|        (yyval.interm.intermNode) = (yyvsp[-1].interm).intermNode;
 6877|  15.5k|    }
 6878|  15.5k|#line 6879 "MachineIndependent/glslang_tab.cpp"
 6879|  15.5k|    break;
 6880|       |
 6881|      0|  case 104: /* declaration: PRECISION precision_qualifier type_specifier SEMICOLON  */
  ------------------
  |  Branch (6881:3): [True: 0, False: 14.6M]
  ------------------
 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|     42|  case 105: /* declaration: block_structure SEMICOLON  */
  ------------------
  |  Branch (6893:3): [True: 42, False: 14.6M]
  ------------------
 6894|     42|#line 947 "MachineIndependent/glslang.y"
 6895|     42|                                {
 6896|     42|        (yyval.interm.intermNode) = parseContext.declareBlock((yyvsp[-1].interm).loc, *(yyvsp[-1].interm).typeList);
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 6897|     42|    }
 6898|     42|#line 6899 "MachineIndependent/glslang_tab.cpp"
 6899|     42|    break;
 6900|       |
 6901|      0|  case 106: /* declaration: block_structure IDENTIFIER SEMICOLON  */
  ------------------
  |  Branch (6901:3): [True: 0, False: 14.6M]
  ------------------
 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|     56|  case 107: /* declaration: block_structure IDENTIFIER array_specifier SEMICOLON  */
  ------------------
  |  Branch (6909:3): [True: 56, False: 14.6M]
  ------------------
 6910|     56|#line 953 "MachineIndependent/glslang.y"
 6911|     56|                                                           {
 6912|     56|        (yyval.interm.intermNode) = parseContext.declareBlock((yyvsp[-3].interm).loc, *(yyvsp[-3].interm).typeList, (yyvsp[-2].lex).string, (yyvsp[-1].interm).arraySizes);
  ------------------
  |  |  783|     56|#define parseContext (*pParseContext)
  ------------------
 6913|     56|    }
 6914|     56|#line 6915 "MachineIndependent/glslang_tab.cpp"
 6915|     56|    break;
 6916|       |
 6917|      0|  case 108: /* declaration: type_qualifier SEMICOLON  */
  ------------------
  |  Branch (6917:3): [True: 0, False: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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|    104|  case 110: /* $@2: %empty  */
  ------------------
  |  Branch (6937:3): [True: 104, False: 14.6M]
  ------------------
 6938|    104|#line 969 "MachineIndependent/glslang.y"
 6939|    104|                                           { parseContext.nestedBlockCheck((yyvsp[-2].interm.type).loc); }
  ------------------
  |  |  783|    104|#define parseContext (*pParseContext)
  ------------------
 6940|    104|#line 6941 "MachineIndependent/glslang_tab.cpp"
 6941|    104|    break;
 6942|       |
 6943|     98|  case 111: /* block_structure: type_qualifier IDENTIFIER LEFT_BRACE $@2 struct_declaration_list RIGHT_BRACE  */
  ------------------
  |  Branch (6943:3): [True: 98, False: 14.6M]
  ------------------
 6944|     98|#line 969 "MachineIndependent/glslang.y"
 6945|     98|                                                                                                                          {
 6946|     98|        --parseContext.blockNestingLevel;
  ------------------
  |  |  783|     98|#define parseContext (*pParseContext)
  ------------------
 6947|     98|        parseContext.blockName = (yyvsp[-4].lex).string;
  ------------------
  |  |  783|     98|#define parseContext (*pParseContext)
  ------------------
 6948|     98|        parseContext.globalQualifierFixCheck((yyvsp[-5].interm.type).loc, (yyvsp[-5].interm.type).qualifier);
  ------------------
  |  |  783|     98|#define parseContext (*pParseContext)
  ------------------
 6949|     98|        parseContext.checkNoShaderLayouts((yyvsp[-5].interm.type).loc, (yyvsp[-5].interm.type).shaderQualifiers);
  ------------------
  |  |  783|     98|#define parseContext (*pParseContext)
  ------------------
 6950|     98|        parseContext.currentBlockQualifier = (yyvsp[-5].interm.type).qualifier;
  ------------------
  |  |  783|    196|#define parseContext (*pParseContext)
  ------------------
 6951|     98|        (yyval.interm).loc = (yyvsp[-5].interm.type).loc;
 6952|     98|        (yyval.interm).typeList = (yyvsp[-1].interm.typeList);
 6953|     98|    }
 6954|     98|#line 6955 "MachineIndependent/glslang_tab.cpp"
 6955|     98|    break;
 6956|       |
 6957|      0|  case 112: /* identifier_list: IDENTIFIER  */
  ------------------
  |  Branch (6957:3): [True: 0, False: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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|   548k|  case 114: /* function_prototype: function_declarator RIGHT_PAREN  */
  ------------------
  |  Branch (6975:3): [True: 548k, False: 14.1M]
  ------------------
 6976|   548k|#line 992 "MachineIndependent/glslang.y"
 6977|   548k|                                       {
 6978|   548k|        (yyval.interm).function = (yyvsp[-1].interm.function);
 6979|   548k|        if (parseContext.compileOnly) (yyval.interm).function->setExport();
  ------------------
  |  |  783|   548k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6979:13): [True: 0, False: 548k]
  ------------------
 6980|   548k|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6981|   548k|    }
 6982|   548k|#line 6983 "MachineIndependent/glslang_tab.cpp"
 6983|   548k|    break;
 6984|       |
 6985|      0|  case 115: /* function_prototype: function_declarator RIGHT_PAREN attribute  */
  ------------------
  |  Branch (6985:3): [True: 0, False: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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|  1.70k|  case 118: /* function_declarator: function_header  */
  ------------------
  |  Branch (7025:3): [True: 1.70k, False: 14.6M]
  ------------------
 7026|  1.70k|#line 1025 "MachineIndependent/glslang.y"
 7027|  1.70k|                      {
 7028|  1.70k|        (yyval.interm.function) = (yyvsp[0].interm.function);
 7029|  1.70k|    }
 7030|  1.70k|#line 7031 "MachineIndependent/glslang_tab.cpp"
 7031|  1.70k|    break;
 7032|       |
 7033|   546k|  case 119: /* function_declarator: function_header_with_parameters  */
  ------------------
  |  Branch (7033:3): [True: 546k, False: 14.1M]
  ------------------
 7034|   546k|#line 1028 "MachineIndependent/glslang.y"
 7035|   546k|                                      {
 7036|   546k|        (yyval.interm.function) = (yyvsp[0].interm.function);
 7037|   546k|    }
 7038|   546k|#line 7039 "MachineIndependent/glslang_tab.cpp"
 7039|   546k|    break;
 7040|       |
 7041|   546k|  case 120: /* function_header_with_parameters: function_header parameter_declaration  */
  ------------------
  |  Branch (7041:3): [True: 546k, False: 14.1M]
  ------------------
 7042|   546k|#line 1035 "MachineIndependent/glslang.y"
 7043|   546k|                                            {
 7044|       |        // Add the parameter
 7045|   546k|        (yyval.interm.function) = (yyvsp[-1].interm.function);
 7046|   546k|        if ((yyvsp[0].interm).param.type->getBasicType() != EbtVoid)
  ------------------
  |  Branch (7046:13): [True: 546k, False: 230]
  ------------------
 7047|   546k|        {
 7048|   546k|            if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
  ------------------
  |  |  783|   546k|#define parseContext (*pParseContext)
  ------------------
                          if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
  ------------------
  |  |  783|   546k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7048:19): [True: 546k, False: 0]
  |  Branch (7048:57): [True: 0, False: 546k]
  ------------------
 7049|   546k|                (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|   546k|        }
 7053|    230|        else
 7054|    230|            delete (yyvsp[0].interm).param.type;
 7055|   546k|    }
 7056|   546k|#line 7057 "MachineIndependent/glslang_tab.cpp"
 7057|   546k|    break;
 7058|       |
 7059|   733k|  case 121: /* function_header_with_parameters: function_header_with_parameters COMMA parameter_declaration  */
  ------------------
  |  Branch (7059:3): [True: 733k, False: 13.9M]
  ------------------
 7060|   733k|#line 1048 "MachineIndependent/glslang.y"
 7061|   733k|                                                                  {
 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|   733k|        if ((yyvsp[0].interm).param.type->getBasicType() == EbtVoid) {
  ------------------
  |  Branch (7066:13): [True: 0, False: 733k]
  ------------------
 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|   733k|        } else {
 7073|       |            // Add the parameter
 7074|   733k|            (yyval.interm.function) = (yyvsp[-2].interm.function);
 7075|   733k|            if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
  ------------------
  |  |  783|   733k|#define parseContext (*pParseContext)
  ------------------
                          if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
  ------------------
  |  |  783|   733k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7075:19): [True: 733k, False: 0]
  |  Branch (7075:57): [True: 0, False: 733k]
  ------------------
 7076|   733k|                (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|   733k|        }
 7080|   733k|    }
 7081|   733k|#line 7082 "MachineIndependent/glslang_tab.cpp"
 7082|   733k|    break;
 7083|       |
 7084|    300|  case 122: /* function_header_with_parameters: function_header_with_parameters COMMA DOT DOT DOT  */
  ------------------
  |  Branch (7084:3): [True: 300, False: 14.6M]
  ------------------
 7085|    300|#line 1068 "MachineIndependent/glslang.y"
 7086|    300|                                                        {
 7087|    300|        (yyval.interm.function) = (yyvsp[-4].interm.function);
 7088|    300|        parseContext.makeVariadic((yyvsp[-4].interm.function), (yyvsp[-2].lex).loc);
  ------------------
  |  |  783|    300|#define parseContext (*pParseContext)
  ------------------
 7089|    300|    }
 7090|    300|#line 7091 "MachineIndependent/glslang_tab.cpp"
 7091|    300|    break;
 7092|       |
 7093|   548k|  case 123: /* function_header: fully_specified_type IDENTIFIER LEFT_PAREN  */
  ------------------
  |  Branch (7093:3): [True: 548k, False: 14.1M]
  ------------------
 7094|   548k|#line 1075 "MachineIndependent/glslang.y"
 7095|   548k|                                                 {
 7096|   548k|        if ((yyvsp[-2].interm.type).qualifier.storage != EvqGlobal && (yyvsp[-2].interm.type).qualifier.storage != EvqTemporary) {
  ------------------
  |  Branch (7096:13): [True: 0, False: 548k]
  |  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|   548k|        if ((yyvsp[-2].interm.type).arraySizes)
  ------------------
  |  Branch (7100:13): [True: 0, False: 548k]
  ------------------
 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|   548k|        TFunction *function;
 7105|   548k|        TType type((yyvsp[-2].interm.type));
 7106|       |
 7107|       |        // Potentially rename shader entry point function.  No-op most of the time.
 7108|   548k|        parseContext.renameShaderFunction((yyvsp[-1].lex).string);
  ------------------
  |  |  783|   548k|#define parseContext (*pParseContext)
  ------------------
 7109|       |
 7110|       |        // Make the function
 7111|   548k|        function = new TFunction((yyvsp[-1].lex).string, type);
 7112|   548k|        (yyval.interm.function) = function;
 7113|   548k|    }
 7114|   548k|#line 7115 "MachineIndependent/glslang_tab.cpp"
 7115|   548k|    break;
 7116|       |
 7117|   140k|  case 124: /* parameter_declarator: type_specifier IDENTIFIER  */
  ------------------
  |  Branch (7117:3): [True: 140k, False: 14.5M]
  ------------------
 7118|   140k|#line 1098 "MachineIndependent/glslang.y"
 7119|   140k|                                {
 7120|   140k|        if ((yyvsp[-1].interm.type).arraySizes) {
  ------------------
  |  Branch (7120:13): [True: 5.26k, False: 135k]
  ------------------
 7121|  5.26k|            parseContext.profileRequires((yyvsp[-1].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  783|  5.26k|#define parseContext (*pParseContext)
  ------------------
 7122|  5.26k|            parseContext.profileRequires((yyvsp[-1].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  783|  5.26k|#define parseContext (*pParseContext)
  ------------------
 7123|  5.26k|            parseContext.arraySizeRequiredCheck((yyvsp[-1].interm.type).loc, *(yyvsp[-1].interm.type).arraySizes);
  ------------------
  |  |  783|  5.26k|#define parseContext (*pParseContext)
  ------------------
 7124|  5.26k|        }
 7125|   140k|        if ((yyvsp[-1].interm.type).basicType == EbtVoid) {
  ------------------
  |  Branch (7125:13): [True: 0, False: 140k]
  ------------------
 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|   140k|        parseContext.reservedErrorCheck((yyvsp[0].lex).loc, *(yyvsp[0].lex).string);
  ------------------
  |  |  783|   140k|#define parseContext (*pParseContext)
  ------------------
 7129|       |
 7130|   140k|        TParameter param = {(yyvsp[0].lex).string, new TType((yyvsp[-1].interm.type)), {}};
 7131|   140k|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 7132|   140k|        (yyval.interm).param = param;
 7133|   140k|    }
 7134|   140k|#line 7135 "MachineIndependent/glslang_tab.cpp"
 7135|   140k|    break;
 7136|       |
 7137|  1.09k|  case 125: /* parameter_declarator: type_specifier IDENTIFIER array_specifier  */
  ------------------
  |  Branch (7137:3): [True: 1.09k, False: 14.6M]
  ------------------
 7138|  1.09k|#line 1113 "MachineIndependent/glslang.y"
 7139|  1.09k|                                                {
 7140|  1.09k|        if ((yyvsp[-2].interm.type).arraySizes) {
  ------------------
  |  Branch (7140:13): [True: 0, False: 1.09k]
  ------------------
 7141|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7142|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7143|      0|            parseContext.arraySizeRequiredCheck((yyvsp[-2].interm.type).loc, *(yyvsp[-2].interm.type).arraySizes);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7144|      0|        }
 7145|  1.09k|        TType* type = new TType((yyvsp[-2].interm.type));
 7146|  1.09k|        type->transferArraySizes((yyvsp[0].interm).arraySizes);
 7147|  1.09k|        type->copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
 7148|       |
 7149|  1.09k|        parseContext.arrayOfArrayVersionCheck((yyvsp[-1].lex).loc, type->getArraySizes());
  ------------------
  |  |  783|  1.09k|#define parseContext (*pParseContext)
  ------------------
 7150|  1.09k|        parseContext.arraySizeRequiredCheck((yyvsp[0].interm).loc, *(yyvsp[0].interm).arraySizes);
  ------------------
  |  |  783|  1.09k|#define parseContext (*pParseContext)
  ------------------
 7151|  1.09k|        parseContext.reservedErrorCheck((yyvsp[-1].lex).loc, *(yyvsp[-1].lex).string);
  ------------------
  |  |  783|  1.09k|#define parseContext (*pParseContext)
  ------------------
 7152|       |
 7153|  1.09k|        TParameter param = { (yyvsp[-1].lex).string, type, {} };
 7154|       |
 7155|  1.09k|        (yyval.interm).loc = (yyvsp[-1].lex).loc;
 7156|  1.09k|        (yyval.interm).param = param;
 7157|  1.09k|    }
 7158|  1.09k|#line 7159 "MachineIndependent/glslang_tab.cpp"
 7159|  1.09k|    break;
 7160|       |
 7161|    300|  case 126: /* parameter_declarator: type_specifier IDENTIFIER EQUAL initializer  */
  ------------------
  |  Branch (7161:3): [True: 300, False: 14.6M]
  ------------------
 7162|    300|#line 1132 "MachineIndependent/glslang.y"
 7163|    300|                                                  {
 7164|    300|        TParameter param = parseContext.getParamWithDefault((yyvsp[-3].interm.type), (yyvsp[-2].lex).string, (yyvsp[0].interm.intermTypedNode), (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|    300|#define parseContext (*pParseContext)
  ------------------
 7165|    300|        (yyval.interm).loc = (yyvsp[-2].lex).loc;
 7166|    300|        (yyval.interm).param = param;
 7167|    300|    }
 7168|    300|#line 7169 "MachineIndependent/glslang_tab.cpp"
 7169|    300|    break;
 7170|       |
 7171|  5.81k|  case 127: /* parameter_declaration: type_qualifier parameter_declarator  */
  ------------------
  |  Branch (7171:3): [True: 5.81k, False: 14.6M]
  ------------------
 7172|  5.81k|#line 1143 "MachineIndependent/glslang.y"
 7173|  5.81k|                                          {
 7174|  5.81k|        (yyval.interm) = (yyvsp[0].interm);
 7175|  5.81k|        if ((yyvsp[-1].interm.type).qualifier.precision != EpqNone)
  ------------------
  |  Branch (7175:13): [True: 330, False: 5.48k]
  ------------------
 7176|    330|            (yyval.interm).param.type->getQualifier().precision = (yyvsp[-1].interm.type).qualifier.precision;
 7177|  5.81k|        parseContext.precisionQualifierCheck((yyval.interm).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier(), (yyval.interm).param.type->hasTypeParameter());
  ------------------
  |  |  783|  5.81k|#define parseContext (*pParseContext)
  ------------------
 7178|       |
 7179|  5.81k|        parseContext.checkNoShaderLayouts((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).shaderQualifiers);
  ------------------
  |  |  783|  5.81k|#define parseContext (*pParseContext)
  ------------------
 7180|  5.81k|        parseContext.parameterTypeCheck((yyvsp[0].interm).loc, (yyvsp[-1].interm.type).qualifier.storage, *(yyval.interm).param.type);
  ------------------
  |  |  783|  5.81k|#define parseContext (*pParseContext)
  ------------------
 7181|  5.81k|        parseContext.paramCheckFix((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, *(yyval.interm).param.type);
  ------------------
  |  |  783|  5.81k|#define parseContext (*pParseContext)
  ------------------
 7182|       |
 7183|  5.81k|    }
 7184|  5.81k|#line 7185 "MachineIndependent/glslang_tab.cpp"
 7185|  5.81k|    break;
 7186|       |
 7187|   135k|  case 128: /* parameter_declaration: parameter_declarator  */
  ------------------
  |  Branch (7187:3): [True: 135k, False: 14.5M]
  ------------------
 7188|   135k|#line 1154 "MachineIndependent/glslang.y"
 7189|   135k|                           {
 7190|   135k|        (yyval.interm) = (yyvsp[0].interm);
 7191|       |
 7192|   135k|        parseContext.parameterTypeCheck((yyvsp[0].interm).loc, EvqIn, *(yyvsp[0].interm).param.type);
  ------------------
  |  |  783|   135k|#define parseContext (*pParseContext)
  ------------------
 7193|   135k|        parseContext.paramCheckFixStorage((yyvsp[0].interm).loc, EvqTemporary, *(yyval.interm).param.type);
  ------------------
  |  |  783|   135k|#define parseContext (*pParseContext)
  ------------------
 7194|   135k|        parseContext.precisionQualifierCheck((yyval.interm).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier(), (yyval.interm).param.type->hasTypeParameter());
  ------------------
  |  |  783|   135k|#define parseContext (*pParseContext)
  ------------------
 7195|   135k|    }
 7196|   135k|#line 7197 "MachineIndependent/glslang_tab.cpp"
 7197|   135k|    break;
 7198|       |
 7199|   114k|  case 129: /* parameter_declaration: type_qualifier parameter_type_specifier  */
  ------------------
  |  Branch (7199:3): [True: 114k, False: 14.5M]
  ------------------
 7200|   114k|#line 1164 "MachineIndependent/glslang.y"
 7201|   114k|                                              {
 7202|   114k|        (yyval.interm) = (yyvsp[0].interm);
 7203|   114k|        if ((yyvsp[-1].interm.type).qualifier.precision != EpqNone)
  ------------------
  |  Branch (7203:13): [True: 48.5k, False: 66.2k]
  ------------------
 7204|  48.5k|            (yyval.interm).param.type->getQualifier().precision = (yyvsp[-1].interm.type).qualifier.precision;
 7205|   114k|        parseContext.precisionQualifierCheck((yyvsp[-1].interm.type).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier(), (yyval.interm).param.type->hasTypeParameter());
  ------------------
  |  |  783|   114k|#define parseContext (*pParseContext)
  ------------------
 7206|       |
 7207|   114k|        parseContext.checkNoShaderLayouts((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).shaderQualifiers);
  ------------------
  |  |  783|   114k|#define parseContext (*pParseContext)
  ------------------
 7208|   114k|        parseContext.parameterTypeCheck((yyvsp[0].interm).loc, (yyvsp[-1].interm.type).qualifier.storage, *(yyval.interm).param.type);
  ------------------
  |  |  783|   114k|#define parseContext (*pParseContext)
  ------------------
 7209|   114k|        parseContext.paramCheckFix((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, *(yyval.interm).param.type);
  ------------------
  |  |  783|   114k|#define parseContext (*pParseContext)
  ------------------
 7210|   114k|    }
 7211|   114k|#line 7212 "MachineIndependent/glslang_tab.cpp"
 7212|   114k|    break;
 7213|       |
 7214|  1.02M|  case 130: /* parameter_declaration: parameter_type_specifier  */
  ------------------
  |  Branch (7214:3): [True: 1.02M, False: 13.6M]
  ------------------
 7215|  1.02M|#line 1174 "MachineIndependent/glslang.y"
 7216|  1.02M|                               {
 7217|  1.02M|        (yyval.interm) = (yyvsp[0].interm);
 7218|       |
 7219|  1.02M|        parseContext.parameterTypeCheck((yyvsp[0].interm).loc, EvqIn, *(yyvsp[0].interm).param.type);
  ------------------
  |  |  783|  1.02M|#define parseContext (*pParseContext)
  ------------------
 7220|  1.02M|        parseContext.paramCheckFixStorage((yyvsp[0].interm).loc, EvqTemporary, *(yyval.interm).param.type);
  ------------------
  |  |  783|  1.02M|#define parseContext (*pParseContext)
  ------------------
 7221|  1.02M|        parseContext.precisionQualifierCheck((yyval.interm).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier(), (yyval.interm).param.type->hasTypeParameter());
  ------------------
  |  |  783|  1.02M|#define parseContext (*pParseContext)
  ------------------
 7222|  1.02M|    }
 7223|  1.02M|#line 7224 "MachineIndependent/glslang_tab.cpp"
 7224|  1.02M|    break;
 7225|       |
 7226|  1.13M|  case 131: /* parameter_type_specifier: type_specifier  */
  ------------------
  |  Branch (7226:3): [True: 1.13M, False: 13.5M]
  ------------------
 7227|  1.13M|#line 1184 "MachineIndependent/glslang.y"
 7228|  1.13M|                     {
 7229|  1.13M|        TParameter param = { 0, new TType((yyvsp[0].interm.type)), {} };
 7230|  1.13M|        (yyval.interm).param = param;
 7231|  1.13M|        if ((yyvsp[0].interm.type).arraySizes)
  ------------------
  |  Branch (7231:13): [True: 3.53k, False: 1.13M]
  ------------------
 7232|  3.53k|            parseContext.arraySizeRequiredCheck((yyvsp[0].interm.type).loc, *(yyvsp[0].interm.type).arraySizes);
  ------------------
  |  |  783|  3.53k|#define parseContext (*pParseContext)
  ------------------
 7233|  1.13M|    }
 7234|  1.13M|#line 7235 "MachineIndependent/glslang_tab.cpp"
 7235|  1.13M|    break;
 7236|       |
 7237|  15.5k|  case 132: /* init_declarator_list: single_declaration  */
  ------------------
  |  Branch (7237:3): [True: 15.5k, False: 14.6M]
  ------------------
 7238|  15.5k|#line 1193 "MachineIndependent/glslang.y"
 7239|  15.5k|                         {
 7240|  15.5k|        (yyval.interm) = (yyvsp[0].interm);
 7241|  15.5k|    }
 7242|  15.5k|#line 7243 "MachineIndependent/glslang_tab.cpp"
 7243|  15.5k|    break;
 7244|       |
 7245|      0|  case 133: /* init_declarator_list: init_declarator_list COMMA IDENTIFIER  */
  ------------------
  |  Branch (7245:3): [True: 0, False: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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|     19|  case 137: /* single_declaration: fully_specified_type  */
  ------------------
  |  Branch (7285:3): [True: 19, False: 14.6M]
  ------------------
 7286|     19|#line 1219 "MachineIndependent/glslang.y"
 7287|     19|                           {
 7288|     19|        (yyval.interm).type = (yyvsp[0].interm.type);
 7289|     19|        (yyval.interm).intermNode = 0;
 7290|     19|        parseContext.declareTypeDefaults((yyval.interm).loc, (yyval.interm).type);
  ------------------
  |  |  783|     19|#define parseContext (*pParseContext)
  ------------------
 7291|     19|    }
 7292|     19|#line 7293 "MachineIndependent/glslang_tab.cpp"
 7293|     19|    break;
 7294|       |
 7295|  10.0k|  case 138: /* single_declaration: fully_specified_type IDENTIFIER  */
  ------------------
  |  Branch (7295:3): [True: 10.0k, False: 14.6M]
  ------------------
 7296|  10.0k|#line 1224 "MachineIndependent/glslang.y"
 7297|  10.0k|                                      {
 7298|  10.0k|        (yyval.interm).type = (yyvsp[-1].interm.type);
 7299|  10.0k|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[0].lex).loc, *(yyvsp[0].lex).string, (yyvsp[-1].interm.type));
  ------------------
  |  |  783|  10.0k|#define parseContext (*pParseContext)
  ------------------
 7300|  10.0k|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate(nullptr, declNode, (yyvsp[0].lex).loc);
  ------------------
  |  |  783|  10.0k|#define parseContext (*pParseContext)
  ------------------
 7301|       |
 7302|  10.0k|    }
 7303|  10.0k|#line 7304 "MachineIndependent/glslang_tab.cpp"
 7304|  10.0k|    break;
 7305|       |
 7306|    564|  case 139: /* single_declaration: fully_specified_type IDENTIFIER array_specifier  */
  ------------------
  |  Branch (7306:3): [True: 564, False: 14.6M]
  ------------------
 7307|    564|#line 1230 "MachineIndependent/glslang.y"
 7308|    564|                                                      {
 7309|    564|        (yyval.interm).type = (yyvsp[-2].interm.type);
 7310|    564|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-1].lex).loc, *(yyvsp[-1].lex).string, (yyvsp[-2].interm.type), (yyvsp[0].interm).arraySizes);
  ------------------
  |  |  783|    564|#define parseContext (*pParseContext)
  ------------------
 7311|    564|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate(nullptr, declNode, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|    564|#define parseContext (*pParseContext)
  ------------------
 7312|    564|    }
 7313|    564|#line 7314 "MachineIndependent/glslang_tab.cpp"
 7314|    564|    break;
 7315|       |
 7316|      9|  case 140: /* single_declaration: fully_specified_type IDENTIFIER array_specifier EQUAL initializer  */
  ------------------
  |  Branch (7316:3): [True: 9, False: 14.6M]
  ------------------
 7317|      9|#line 1235 "MachineIndependent/glslang.y"
 7318|      9|                                                                        {
 7319|      9|        (yyval.interm).type = (yyvsp[-4].interm.type);
 7320|      9|        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|      9|#define parseContext (*pParseContext)
  ------------------
 7321|      9|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate(nullptr, declNode, (yyvsp[-3].lex).loc);
  ------------------
  |  |  783|      9|#define parseContext (*pParseContext)
  ------------------
 7322|      9|    }
 7323|      9|#line 7324 "MachineIndependent/glslang_tab.cpp"
 7324|      9|    break;
 7325|       |
 7326|  4.89k|  case 141: /* single_declaration: fully_specified_type IDENTIFIER EQUAL initializer  */
  ------------------
  |  Branch (7326:3): [True: 4.89k, False: 14.6M]
  ------------------
 7327|  4.89k|#line 1240 "MachineIndependent/glslang.y"
 7328|  4.89k|                                                        {
 7329|  4.89k|        (yyval.interm).type = (yyvsp[-3].interm.type);
 7330|  4.89k|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string, (yyvsp[-3].interm.type), 0, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|  4.89k|#define parseContext (*pParseContext)
  ------------------
 7331|  4.89k|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate(nullptr, declNode, (yyvsp[-2].lex).loc);
  ------------------
  |  |  783|  4.89k|#define parseContext (*pParseContext)
  ------------------
 7332|  4.89k|    }
 7333|  4.89k|#line 7334 "MachineIndependent/glslang_tab.cpp"
 7334|  4.89k|    break;
 7335|       |
 7336|   505k|  case 142: /* fully_specified_type: type_specifier  */
  ------------------
  |  Branch (7336:3): [True: 505k, False: 14.1M]
  ------------------
 7337|   505k|#line 1249 "MachineIndependent/glslang.y"
 7338|   505k|                     {
 7339|   505k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7340|       |
 7341|   505k|        parseContext.globalQualifierTypeCheck((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).qualifier, (yyval.interm.type));
  ------------------
  |  |  783|   505k|#define parseContext (*pParseContext)
  ------------------
 7342|   505k|        if ((yyvsp[0].interm.type).arraySizes) {
  ------------------
  |  Branch (7342:13): [True: 0, False: 505k]
  ------------------
 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|   505k|        parseContext.precisionQualifierCheck((yyval.interm.type).loc, (yyval.interm.type).basicType, (yyval.interm.type).qualifier, (yyval.interm.type).hasTypeParameter());
  ------------------
  |  |  783|   505k|#define parseContext (*pParseContext)
  ------------------
 7347|   505k|    }
 7348|   505k|#line 7349 "MachineIndependent/glslang_tab.cpp"
 7349|   505k|    break;
 7350|       |
 7351|  57.6k|  case 143: /* fully_specified_type: type_qualifier type_specifier  */
  ------------------
  |  Branch (7351:3): [True: 57.6k, False: 14.5M]
  ------------------
 7352|  57.6k|#line 1259 "MachineIndependent/glslang.y"
 7353|  57.6k|                                     {
 7354|  57.6k|        parseContext.globalQualifierFixCheck((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, false, &(yyvsp[0].interm.type));
  ------------------
  |  |  783|  57.6k|#define parseContext (*pParseContext)
  ------------------
 7355|  57.6k|        parseContext.globalQualifierTypeCheck((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, (yyvsp[0].interm.type));
  ------------------
  |  |  783|  57.6k|#define parseContext (*pParseContext)
  ------------------
 7356|       |
 7357|  57.6k|        if ((yyvsp[0].interm.type).arraySizes) {
  ------------------
  |  Branch (7357:13): [True: 0, False: 57.6k]
  ------------------
 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|  57.6k|        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: 57.6k]
  |  Branch (7362:50): [True: 0, False: 0]
  ------------------
 7363|      0|            (yyvsp[0].interm.type).arraySizes = nullptr;
 7364|       |
 7365|  57.6k|        parseContext.checkNoShaderLayouts((yyvsp[0].interm.type).loc, (yyvsp[-1].interm.type).shaderQualifiers);
  ------------------
  |  |  783|  57.6k|#define parseContext (*pParseContext)
  ------------------
 7366|  57.6k|        (yyvsp[0].interm.type).shaderQualifiers.merge((yyvsp[-1].interm.type).shaderQualifiers);
 7367|  57.6k|        parseContext.mergeQualifiers((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).qualifier, (yyvsp[-1].interm.type).qualifier, true);
  ------------------
  |  |  783|  57.6k|#define parseContext (*pParseContext)
  ------------------
 7368|  57.6k|        parseContext.precisionQualifierCheck((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).basicType, (yyvsp[0].interm.type).qualifier, (yyvsp[0].interm.type).hasTypeParameter());
  ------------------
  |  |  783|  57.6k|#define parseContext (*pParseContext)
  ------------------
 7369|       |
 7370|  57.6k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7371|       |
 7372|  57.6k|        if (! (yyval.interm.type).qualifier.isInterpolation() &&
  ------------------
  |  Branch (7372:13): [True: 55.3k, False: 2.37k]
  ------------------
 7373|  55.3k|            ((parseContext.language == EShLangVertex   && (yyval.interm.type).qualifier.storage == EvqVaryingOut) ||
  ------------------
  |  |  783|  55.3k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7373:15): [True: 48.6k, False: 6.68k]
  |  Branch (7373:59): [True: 187, False: 48.4k]
  ------------------
 7374|  55.1k|             (parseContext.language == EShLangFragment && (yyval.interm.type).qualifier.storage == EvqVaryingIn)))
  ------------------
  |  |  783|  55.1k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7374:15): [True: 1.11k, False: 54.0k]
  |  Branch (7374:59): [True: 373, False: 745]
  ------------------
 7375|    560|            (yyval.interm.type).qualifier.smooth = true;
 7376|  57.6k|    }
 7377|  57.6k|#line 7378 "MachineIndependent/glslang_tab.cpp"
 7378|  57.6k|    break;
 7379|       |
 7380|      0|  case 144: /* invariant_qualifier: INVARIANT  */
  ------------------
  |  Branch (7380:3): [True: 0, False: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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|  2.37k|  case 146: /* interpolation_qualifier: FLAT  */
  ------------------
  |  Branch (7403:3): [True: 2.37k, False: 14.6M]
  ------------------
 7404|  2.37k|#line 1302 "MachineIndependent/glslang.y"
 7405|  2.37k|           {
 7406|  2.37k|        parseContext.globalCheck((yyvsp[0].lex).loc, "flat");
  ------------------
  |  |  783|  2.37k|#define parseContext (*pParseContext)
  ------------------
 7407|  2.37k|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "flat");
  ------------------
  |  |  783|  2.37k|#define parseContext (*pParseContext)
  ------------------
 7408|  2.37k|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 300, 0, "flat");
  ------------------
  |  |  783|  2.37k|#define parseContext (*pParseContext)
  ------------------
 7409|  2.37k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7410|  2.37k|        (yyval.interm.type).qualifier.flat = true;
 7411|  2.37k|    }
 7412|  2.37k|#line 7413 "MachineIndependent/glslang_tab.cpp"
 7413|  2.37k|    break;
 7414|       |
 7415|      0|  case 147: /* interpolation_qualifier: NOPERSPECTIVE  */
  ------------------
  |  Branch (7415:3): [True: 0, False: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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: 14.6M]
  ------------------
 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|      5|  case 151: /* interpolation_qualifier: PERPRIMITIVENV  */
  ------------------
  |  Branch (7465:3): [True: 5, False: 14.6M]
  ------------------
 7466|      5|#line 1339 "MachineIndependent/glslang.y"
 7467|      5|                     {
 7468|       |        // No need for profile version or extension check. Shader stage already checks both.
 7469|      5|        parseContext.globalCheck((yyvsp[0].lex).loc, "perprimitiveNV");
  ------------------
  |  |  783|      5|#define parseContext (*pParseContext)
  ------------------
 7470|      5|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangFragmentMask | EShLangMeshMask), "perprimitiveNV");
  ------------------
  |  |  783|      5|#define parseContext (*pParseContext)
  ------------------
 7471|       |        // Fragment shader stage doesn't check for extension. So we explicitly add below extension check.
 7472|      5|        if (parseContext.language == EShLangFragment)
  ------------------
  |  |  783|      5|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7472:13): [True: 0, False: 5]
  ------------------
 7473|      0|            parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_NV_mesh_shader, "perprimitiveNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7474|      5|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7475|      5|        (yyval.interm.type).qualifier.perPrimitiveNV = true;
 7476|      5|    }
 7477|      5|#line 7478 "MachineIndependent/glslang_tab.cpp"
 7478|      5|    break;
 7479|       |
 7480|      5|  case 152: /* interpolation_qualifier: PERPRIMITIVEEXT  */
  ------------------
  |  Branch (7480:3): [True: 5, False: 14.6M]
  ------------------
 7481|      5|#line 1349 "MachineIndependent/glslang.y"
 7482|      5|                      {
 7483|       |        // No need for profile version or extension check. Shader stage already checks both.
 7484|      5|        parseContext.globalCheck((yyvsp[0].lex).loc, "perprimitiveEXT");
  ------------------
  |  |  783|      5|#define parseContext (*pParseContext)
  ------------------
 7485|      5|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangFragmentMask | EShLangMeshMask), "perprimitiveEXT");
  ------------------
  |  |  783|      5|#define parseContext (*pParseContext)
  ------------------
 7486|       |        // Fragment shader stage doesn't check for extension. So we explicitly add below extension check.
 7487|      5|        if (parseContext.language == EShLangFragment)
  ------------------
  |  |  783|      5|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7487:13): [True: 0, False: 5]
  ------------------
 7488|      0|            parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_mesh_shader, "perprimitiveEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7489|      5|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7490|      5|        (yyval.interm.type).qualifier.perPrimitiveNV = true;
 7491|      5|    }
 7492|      5|#line 7493 "MachineIndependent/glslang_tab.cpp"
 7493|      5|    break;
 7494|       |
 7495|     37|  case 153: /* interpolation_qualifier: PERVIEWNV  */
  ------------------
  |  Branch (7495:3): [True: 37, False: 14.6M]
  ------------------
 7496|     37|#line 1359 "MachineIndependent/glslang.y"
 7497|     37|                {
 7498|       |        // No need for profile version or extension check. Shader stage already checks both.
 7499|     37|        parseContext.globalCheck((yyvsp[0].lex).loc, "perviewNV");
  ------------------
  |  |  783|     37|#define parseContext (*pParseContext)
  ------------------
 7500|     37|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangMesh, "perviewNV");
  ------------------
  |  |  783|     37|#define parseContext (*pParseContext)
  ------------------
 7501|     37|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7502|     37|        (yyval.interm.type).qualifier.perViewNV = true;
 7503|     37|    }
 7504|     37|#line 7505 "MachineIndependent/glslang_tab.cpp"
 7505|     37|    break;
 7506|       |
 7507|      0|  case 154: /* interpolation_qualifier: PERTASKNV  */
  ------------------
  |  Branch (7507:3): [True: 0, False: 14.6M]
  ------------------
 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|    402|  case 155: /* layout_qualifier: LAYOUT LEFT_PAREN layout_qualifier_id_list RIGHT_PAREN  */
  ------------------
  |  Branch (7519:3): [True: 402, False: 14.6M]
  ------------------
 7520|    402|#line 1376 "MachineIndependent/glslang.y"
 7521|    402|                                                             {
 7522|    402|        (yyval.interm.type) = (yyvsp[-1].interm.type);
 7523|    402|    }
 7524|    402|#line 7525 "MachineIndependent/glslang_tab.cpp"
 7525|    402|    break;
 7526|       |
 7527|    402|  case 156: /* layout_qualifier_id_list: layout_qualifier_id  */
  ------------------
  |  Branch (7527:3): [True: 402, False: 14.6M]
  ------------------
 7528|    402|#line 1382 "MachineIndependent/glslang.y"
 7529|    402|                          {
 7530|    402|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7531|    402|    }
 7532|    402|#line 7533 "MachineIndependent/glslang_tab.cpp"
 7533|    402|    break;
 7534|       |
 7535|    276|  case 157: /* layout_qualifier_id_list: layout_qualifier_id_list COMMA layout_qualifier_id  */
  ------------------
  |  Branch (7535:3): [True: 276, False: 14.6M]
  ------------------
 7536|    276|#line 1385 "MachineIndependent/glslang.y"
 7537|    276|                                                         {
 7538|    276|        (yyval.interm.type) = (yyvsp[-2].interm.type);
 7539|    276|        (yyval.interm.type).shaderQualifiers.merge((yyvsp[0].interm.type).shaderQualifiers);
 7540|    276|        parseContext.mergeObjectLayoutQualifiers((yyval.interm.type).qualifier, (yyvsp[0].interm.type).qualifier, false);
  ------------------
  |  |  783|    276|#define parseContext (*pParseContext)
  ------------------
 7541|    276|    }
 7542|    276|#line 7543 "MachineIndependent/glslang_tab.cpp"
 7543|    276|    break;
 7544|       |
 7545|     66|  case 158: /* layout_qualifier_id: IDENTIFIER  */
  ------------------
  |  Branch (7545:3): [True: 66, False: 14.6M]
  ------------------
 7546|     66|#line 1392 "MachineIndependent/glslang.y"
 7547|     66|                 {
 7548|     66|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7549|     66|        parseContext.setLayoutQualifier((yyvsp[0].lex).loc, (yyval.interm.type), *(yyvsp[0].lex).string);
  ------------------
  |  |  783|     66|#define parseContext (*pParseContext)
  ------------------
 7550|     66|    }
 7551|     66|#line 7552 "MachineIndependent/glslang_tab.cpp"
 7552|     66|    break;
 7553|       |
 7554|    612|  case 159: /* layout_qualifier_id: IDENTIFIER EQUAL assignment_expression  */
  ------------------
  |  Branch (7554:3): [True: 612, False: 14.6M]
  ------------------
 7555|    612|#line 1396 "MachineIndependent/glslang.y"
 7556|    612|                                             {
 7557|    612|        (yyval.interm.type).init((yyvsp[-2].lex).loc);
 7558|    612|        parseContext.setLayoutQualifier((yyvsp[-2].lex).loc, (yyval.interm.type), *(yyvsp[-2].lex).string, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|    612|#define parseContext (*pParseContext)
  ------------------
 7559|    612|    }
 7560|    612|#line 7561 "MachineIndependent/glslang_tab.cpp"
 7561|    612|    break;
 7562|       |
 7563|      0|  case 160: /* layout_qualifier_id: SHARED  */
  ------------------
  |  Branch (7563:3): [True: 0, False: 14.6M]
  ------------------
 7564|      0|#line 1400 "MachineIndependent/glslang.y"
 7565|      0|             { // because "shared" is both an identifier and a keyword
 7566|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7567|      0|        TString strShared("shared");
 7568|      0|        parseContext.setLayoutQualifier((yyvsp[0].lex).loc, (yyval.interm.type), strShared);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7569|      0|    }
 7570|      0|#line 7571 "MachineIndependent/glslang_tab.cpp"
 7571|      0|    break;
 7572|       |
 7573|      0|  case 161: /* precise_qualifier: PRECISE  */
  ------------------
  |  Branch (7573:3): [True: 0, False: 14.6M]
  ------------------
 7574|      0|#line 1408 "MachineIndependent/glslang.y"
 7575|      0|              {
 7576|      0|        parseContext.profileRequires((yyval.interm.type).loc, ECoreProfile | ECompatibilityProfile, 400, E_GL_ARB_gpu_shader5, "precise");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7577|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 320, Num_AEP_gpu_shader5, AEP_gpu_shader5, "precise");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7578|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7579|      0|        (yyval.interm.type).qualifier.noContraction = true;
 7580|      0|    }
 7581|      0|#line 7582 "MachineIndependent/glslang_tab.cpp"
 7582|      0|    break;
 7583|       |
 7584|   178k|  case 162: /* type_qualifier: single_type_qualifier  */
  ------------------
  |  Branch (7584:3): [True: 178k, False: 14.4M]
  ------------------
 7585|   178k|#line 1417 "MachineIndependent/glslang.y"
 7586|   178k|                            {
 7587|   178k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7588|   178k|    }
 7589|   178k|#line 7590 "MachineIndependent/glslang_tab.cpp"
 7590|   178k|    break;
 7591|       |
 7592|   139k|  case 163: /* type_qualifier: type_qualifier single_type_qualifier  */
  ------------------
  |  Branch (7592:3): [True: 139k, False: 14.5M]
  ------------------
 7593|   139k|#line 1420 "MachineIndependent/glslang.y"
 7594|   139k|                                           {
 7595|   139k|        (yyval.interm.type) = (yyvsp[-1].interm.type);
 7596|   139k|        if ((yyval.interm.type).basicType == EbtVoid)
  ------------------
  |  Branch (7596:13): [True: 139k, False: 0]
  ------------------
 7597|   139k|            (yyval.interm.type).basicType = (yyvsp[0].interm.type).basicType;
 7598|       |
 7599|   139k|        (yyval.interm.type).shaderQualifiers.merge((yyvsp[0].interm.type).shaderQualifiers);
 7600|   139k|        parseContext.mergeQualifiers((yyval.interm.type).loc, (yyval.interm.type).qualifier, (yyvsp[0].interm.type).qualifier, false);
  ------------------
  |  |  783|   139k|#define parseContext (*pParseContext)
  ------------------
 7601|   139k|    }
 7602|   139k|#line 7603 "MachineIndependent/glslang_tab.cpp"
 7603|   139k|    break;
 7604|       |
 7605|   214k|  case 164: /* single_type_qualifier: storage_qualifier  */
  ------------------
  |  Branch (7605:3): [True: 214k, False: 14.4M]
  ------------------
 7606|   214k|#line 1431 "MachineIndependent/glslang.y"
 7607|   214k|                        {
 7608|   214k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7609|   214k|    }
 7610|   214k|#line 7611 "MachineIndependent/glslang_tab.cpp"
 7611|   214k|    break;
 7612|       |
 7613|    402|  case 165: /* single_type_qualifier: layout_qualifier  */
  ------------------
  |  Branch (7613:3): [True: 402, False: 14.6M]
  ------------------
 7614|    402|#line 1434 "MachineIndependent/glslang.y"
 7615|    402|                       {
 7616|    402|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7617|    402|    }
 7618|    402|#line 7619 "MachineIndependent/glslang_tab.cpp"
 7619|    402|    break;
 7620|       |
 7621|  99.7k|  case 166: /* single_type_qualifier: precision_qualifier  */
  ------------------
  |  Branch (7621:3): [True: 99.7k, False: 14.5M]
  ------------------
 7622|  99.7k|#line 1437 "MachineIndependent/glslang.y"
 7623|  99.7k|                          {
 7624|  99.7k|        parseContext.checkPrecisionQualifier((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).qualifier.precision);
  ------------------
  |  |  783|  99.7k|#define parseContext (*pParseContext)
  ------------------
 7625|  99.7k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7626|  99.7k|    }
 7627|  99.7k|#line 7628 "MachineIndependent/glslang_tab.cpp"
 7628|  99.7k|    break;
 7629|       |
 7630|  2.42k|  case 167: /* single_type_qualifier: interpolation_qualifier  */
  ------------------
  |  Branch (7630:3): [True: 2.42k, False: 14.6M]
  ------------------
 7631|  2.42k|#line 1441 "MachineIndependent/glslang.y"
 7632|  2.42k|                              {
 7633|       |        // allow inheritance of storage qualifier from block declaration
 7634|  2.42k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7635|  2.42k|    }
 7636|  2.42k|#line 7637 "MachineIndependent/glslang_tab.cpp"
 7637|  2.42k|    break;
 7638|       |
 7639|      0|  case 168: /* single_type_qualifier: invariant_qualifier  */
  ------------------
  |  Branch (7639:3): [True: 0, False: 14.6M]
  ------------------
 7640|      0|#line 1445 "MachineIndependent/glslang.y"
 7641|      0|                          {
 7642|       |        // allow inheritance of storage qualifier from block declaration
 7643|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7644|      0|    }
 7645|      0|#line 7646 "MachineIndependent/glslang_tab.cpp"
 7646|      0|    break;
 7647|       |
 7648|      0|  case 169: /* single_type_qualifier: precise_qualifier  */
  ------------------
  |  Branch (7648:3): [True: 0, False: 14.6M]
  ------------------
 7649|      0|#line 1449 "MachineIndependent/glslang.y"
 7650|      0|                        {
 7651|       |        // allow inheritance of storage qualifier from block declaration
 7652|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7653|      0|    }
 7654|      0|#line 7655 "MachineIndependent/glslang_tab.cpp"
 7655|      0|    break;
 7656|       |
 7657|      0|  case 170: /* single_type_qualifier: non_uniform_qualifier  */
  ------------------
  |  Branch (7657:3): [True: 0, False: 14.6M]
  ------------------
 7658|      0|#line 1453 "MachineIndependent/glslang.y"
 7659|      0|                            {
 7660|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7661|      0|    }
 7662|      0|#line 7663 "MachineIndependent/glslang_tab.cpp"
 7663|      0|    break;
 7664|       |
 7665|      0|  case 171: /* single_type_qualifier: spirv_storage_class_qualifier  */
  ------------------
  |  Branch (7665:3): [True: 0, False: 14.6M]
  ------------------
 7666|      0|#line 1456 "MachineIndependent/glslang.y"
 7667|      0|                                    {
 7668|      0|        parseContext.globalCheck((yyvsp[0].interm.type).loc, "spirv_storage_class");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7669|      0|        parseContext.requireExtensions((yyvsp[0].interm.type).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V storage class qualifier");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7670|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7671|      0|    }
 7672|      0|#line 7673 "MachineIndependent/glslang_tab.cpp"
 7673|      0|    break;
 7674|       |
 7675|      0|  case 172: /* single_type_qualifier: spirv_decorate_qualifier  */
  ------------------
  |  Branch (7675:3): [True: 0, False: 14.6M]
  ------------------
 7676|      0|#line 1461 "MachineIndependent/glslang.y"
 7677|      0|                               {
 7678|      0|        parseContext.requireExtensions((yyvsp[0].interm.type).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V decorate qualifier");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7679|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7680|      0|    }
 7681|      0|#line 7682 "MachineIndependent/glslang_tab.cpp"
 7682|      0|    break;
 7683|       |
 7684|      0|  case 173: /* single_type_qualifier: SPIRV_BY_REFERENCE  */
  ------------------
  |  Branch (7684:3): [True: 0, False: 14.6M]
  ------------------
 7685|      0|#line 1465 "MachineIndependent/glslang.y"
 7686|      0|                         {
 7687|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_spirv_intrinsics, "spirv_by_reference");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7688|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7689|      0|        (yyval.interm.type).qualifier.setSpirvByReference();
 7690|      0|    }
 7691|      0|#line 7692 "MachineIndependent/glslang_tab.cpp"
 7692|      0|    break;
 7693|       |
 7694|      0|  case 174: /* single_type_qualifier: SPIRV_LITERAL  */
  ------------------
  |  Branch (7694:3): [True: 0, False: 14.6M]
  ------------------
 7695|      0|#line 1470 "MachineIndependent/glslang.y"
 7696|      0|                    {
 7697|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_spirv_intrinsics, "spirv_by_literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7698|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7699|      0|        (yyval.interm.type).qualifier.setSpirvLiteral();
 7700|      0|    }
 7701|      0|#line 7702 "MachineIndependent/glslang_tab.cpp"
 7702|      0|    break;
 7703|       |
 7704|  4.66k|  case 175: /* storage_qualifier: CONST  */
  ------------------
  |  Branch (7704:3): [True: 4.66k, False: 14.6M]
  ------------------
 7705|  4.66k|#line 1478 "MachineIndependent/glslang.y"
 7706|  4.66k|            {
 7707|  4.66k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7708|  4.66k|        (yyval.interm.type).qualifier.storage = EvqConst;  // will later turn into EvqConstReadOnly, if the initializer is not constant
 7709|  4.66k|    }
 7710|  4.66k|#line 7711 "MachineIndependent/glslang_tab.cpp"
 7711|  4.66k|    break;
 7712|       |
 7713|    700|  case 176: /* storage_qualifier: INOUT  */
  ------------------
  |  Branch (7713:3): [True: 700, False: 14.6M]
  ------------------
 7714|    700|#line 1482 "MachineIndependent/glslang.y"
 7715|    700|            {
 7716|    700|        parseContext.globalCheck((yyvsp[0].lex).loc, "inout");
  ------------------
  |  |  783|    700|#define parseContext (*pParseContext)
  ------------------
 7717|    700|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7718|    700|        (yyval.interm.type).qualifier.storage = EvqInOut;
 7719|    700|    }
 7720|    700|#line 7721 "MachineIndependent/glslang_tab.cpp"
 7721|    700|    break;
 7722|       |
 7723|  8.88k|  case 177: /* storage_qualifier: IN  */
  ------------------
  |  Branch (7723:3): [True: 8.88k, False: 14.6M]
  ------------------
 7724|  8.88k|#line 1487 "MachineIndependent/glslang.y"
 7725|  8.88k|         {
 7726|  8.88k|        parseContext.globalCheck((yyvsp[0].lex).loc, "in");
  ------------------
  |  |  783|  8.88k|#define parseContext (*pParseContext)
  ------------------
 7727|  8.88k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7728|       |        // whether this is a parameter "in" or a pipeline "in" will get sorted out a bit later
 7729|  8.88k|        (yyval.interm.type).qualifier.storage = EvqIn;
 7730|  8.88k|    }
 7731|  8.88k|#line 7732 "MachineIndependent/glslang_tab.cpp"
 7732|  8.88k|    break;
 7733|       |
 7734|  13.3k|  case 178: /* storage_qualifier: OUT  */
  ------------------
  |  Branch (7734:3): [True: 13.3k, False: 14.6M]
  ------------------
 7735|  13.3k|#line 1493 "MachineIndependent/glslang.y"
 7736|  13.3k|          {
 7737|  13.3k|        parseContext.globalCheck((yyvsp[0].lex).loc, "out");
  ------------------
  |  |  783|  13.3k|#define parseContext (*pParseContext)
  ------------------
 7738|  13.3k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7739|       |        // whether this is a parameter "out" or a pipeline "out" will get sorted out a bit later
 7740|  13.3k|        (yyval.interm.type).qualifier.storage = EvqOut;
 7741|  13.3k|    }
 7742|  13.3k|#line 7743 "MachineIndependent/glslang_tab.cpp"
 7743|  13.3k|    break;
 7744|       |
 7745|      0|  case 179: /* storage_qualifier: CENTROID  */
  ------------------
  |  Branch (7745:3): [True: 0, False: 14.6M]
  ------------------
 7746|      0|#line 1499 "MachineIndependent/glslang.y"
 7747|      0|               {
 7748|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 120, 0, "centroid");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7749|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 300, 0, "centroid");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7750|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "centroid");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7751|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7752|      0|        (yyval.interm.type).qualifier.centroid = true;
 7753|      0|    }
 7754|      0|#line 7755 "MachineIndependent/glslang_tab.cpp"
 7755|      0|    break;
 7756|       |
 7757|    412|  case 180: /* storage_qualifier: UNIFORM  */
  ------------------
  |  Branch (7757:3): [True: 412, False: 14.6M]
  ------------------
 7758|    412|#line 1506 "MachineIndependent/glslang.y"
 7759|    412|              {
 7760|    412|        parseContext.globalCheck((yyvsp[0].lex).loc, "uniform");
  ------------------
  |  |  783|    412|#define parseContext (*pParseContext)
  ------------------
 7761|    412|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7762|    412|        (yyval.interm.type).qualifier.storage = EvqUniform;
 7763|    412|    }
 7764|    412|#line 7765 "MachineIndependent/glslang_tab.cpp"
 7765|    412|    break;
 7766|       |
 7767|      0|  case 181: /* storage_qualifier: TILEIMAGEEXT  */
  ------------------
  |  Branch (7767:3): [True: 0, False: 14.6M]
  ------------------
 7768|      0|#line 1511 "MachineIndependent/glslang.y"
 7769|      0|                   {
 7770|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "tileImageEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7771|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7772|      0|        (yyval.interm.type).qualifier.storage = EvqTileImageEXT;
 7773|      0|    }
 7774|      0|#line 7775 "MachineIndependent/glslang_tab.cpp"
 7775|      0|    break;
 7776|       |
 7777|      0|  case 182: /* storage_qualifier: SHARED  */
  ------------------
  |  Branch (7777:3): [True: 0, False: 14.6M]
  ------------------
 7778|      0|#line 1516 "MachineIndependent/glslang.y"
 7779|      0|             {
 7780|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "shared");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7781|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, 430, E_GL_ARB_compute_shader, "shared");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7782|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 310, 0, "shared");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7783|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangComputeMask | EShLangMeshMask | EShLangTaskMask), "shared");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7784|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7785|      0|        (yyval.interm.type).qualifier.storage = EvqShared;
 7786|      0|    }
 7787|      0|#line 7788 "MachineIndependent/glslang_tab.cpp"
 7788|      0|    break;
 7789|       |
 7790|      0|  case 183: /* storage_qualifier: BUFFER  */
  ------------------
  |  Branch (7790:3): [True: 0, False: 14.6M]
  ------------------
 7791|      0|#line 1524 "MachineIndependent/glslang.y"
 7792|      0|             {
 7793|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "buffer");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7794|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7795|      0|        (yyval.interm.type).qualifier.storage = EvqBuffer;
 7796|      0|    }
 7797|      0|#line 7798 "MachineIndependent/glslang_tab.cpp"
 7798|      0|    break;
 7799|       |
 7800|      0|  case 184: /* storage_qualifier: ATTRIBUTE  */
  ------------------
  |  Branch (7800:3): [True: 0, False: 14.6M]
  ------------------
 7801|      0|#line 1529 "MachineIndependent/glslang.y"
 7802|      0|                {
 7803|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangVertex, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7804|      0|        parseContext.checkDeprecated((yyvsp[0].lex).loc, ECoreProfile, 130, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7805|      0|        parseContext.checkDeprecated((yyvsp[0].lex).loc, ENoProfile, 130, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7806|      0|        parseContext.requireNotRemoved((yyvsp[0].lex).loc, ECoreProfile, 420, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7807|      0|        parseContext.requireNotRemoved((yyvsp[0].lex).loc, EEsProfile, 300, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7808|       |
 7809|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7810|       |
 7811|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7812|      0|        (yyval.interm.type).qualifier.storage = EvqVaryingIn;
 7813|      0|    }
 7814|      0|#line 7815 "MachineIndependent/glslang_tab.cpp"
 7815|      0|    break;
 7816|       |
 7817|      0|  case 185: /* storage_qualifier: VARYING  */
  ------------------
  |  Branch (7817:3): [True: 0, False: 14.6M]
  ------------------
 7818|      0|#line 1541 "MachineIndependent/glslang.y"
 7819|      0|              {
 7820|      0|        parseContext.checkDeprecated((yyvsp[0].lex).loc, ENoProfile, 130, "varying");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7821|      0|        parseContext.checkDeprecated((yyvsp[0].lex).loc, ECoreProfile, 130, "varying");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7822|      0|        parseContext.requireNotRemoved((yyvsp[0].lex).loc, ECoreProfile, 420, "varying");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7823|      0|        parseContext.requireNotRemoved((yyvsp[0].lex).loc, EEsProfile, 300, "varying");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7824|       |
 7825|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "varying");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7826|       |
 7827|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7828|      0|        if (parseContext.language == EShLangVertex)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7828:13): [True: 0, False: 0]
  ------------------
 7829|      0|            (yyval.interm.type).qualifier.storage = EvqVaryingOut;
 7830|      0|        else
 7831|      0|            (yyval.interm.type).qualifier.storage = EvqVaryingIn;
 7832|      0|    }
 7833|      0|#line 7834 "MachineIndependent/glslang_tab.cpp"
 7834|      0|    break;
 7835|       |
 7836|     64|  case 186: /* storage_qualifier: PATCH  */
  ------------------
  |  Branch (7836:3): [True: 64, False: 14.6M]
  ------------------
 7837|     64|#line 1555 "MachineIndependent/glslang.y"
 7838|     64|            {
 7839|     64|        parseContext.globalCheck((yyvsp[0].lex).loc, "patch");
  ------------------
  |  |  783|     64|#define parseContext (*pParseContext)
  ------------------
 7840|     64|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangTessControlMask | EShLangTessEvaluationMask), "patch");
  ------------------
  |  |  783|     64|#define parseContext (*pParseContext)
  ------------------
 7841|     64|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7842|     64|        (yyval.interm.type).qualifier.patch = true;
 7843|     64|    }
 7844|     64|#line 7845 "MachineIndependent/glslang_tab.cpp"
 7845|     64|    break;
 7846|       |
 7847|      0|  case 187: /* storage_qualifier: SAMPLE  */
  ------------------
  |  Branch (7847:3): [True: 0, False: 14.6M]
  ------------------
 7848|      0|#line 1561 "MachineIndependent/glslang.y"
 7849|      0|             {
 7850|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "sample");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7851|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7852|      0|        (yyval.interm.type).qualifier.sample = true;
 7853|      0|    }
 7854|      0|#line 7855 "MachineIndependent/glslang_tab.cpp"
 7855|      0|    break;
 7856|       |
 7857|      0|  case 188: /* storage_qualifier: RESOURCEHEAP  */
  ------------------
  |  Branch (7857:3): [True: 0, False: 14.6M]
  ------------------
 7858|      0|#line 1566 "MachineIndependent/glslang.y"
 7859|      0|                   {
 7860|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "resourceHeap");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7861|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7862|      0|        (yyval.interm.type).qualifier.storage = EvqResourceHeap;
 7863|      0|    }
 7864|      0|#line 7865 "MachineIndependent/glslang_tab.cpp"
 7865|      0|    break;
 7866|       |
 7867|      0|  case 189: /* storage_qualifier: SAMPLERHEAP  */
  ------------------
  |  Branch (7867:3): [True: 0, False: 14.6M]
  ------------------
 7868|      0|#line 1571 "MachineIndependent/glslang.y"
 7869|      0|                  {
 7870|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "samplerHeap");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7871|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7872|      0|        (yyval.interm.type).qualifier.storage = EvqSamplerHeap;
 7873|      0|    }
 7874|      0|#line 7875 "MachineIndependent/glslang_tab.cpp"
 7875|      0|    break;
 7876|       |
 7877|      0|  case 190: /* storage_qualifier: HITATTRNV  */
  ------------------
  |  Branch (7877:3): [True: 0, False: 14.6M]
  ------------------
 7878|      0|#line 1576 "MachineIndependent/glslang.y"
 7879|      0|                {
 7880|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "hitAttributeNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7881|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangIntersectMask | EShLangClosestHitMask
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7882|      0|            | EShLangAnyHitMask), "hitAttributeNV");
 7883|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "hitAttributeNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7884|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7885|      0|        (yyval.interm.type).qualifier.storage = EvqHitAttr;
 7886|      0|    }
 7887|      0|#line 7888 "MachineIndependent/glslang_tab.cpp"
 7888|      0|    break;
 7889|       |
 7890|      0|  case 191: /* storage_qualifier: HITOBJECTATTRNV  */
  ------------------
  |  Branch (7890:3): [True: 0, False: 14.6M]
  ------------------
 7891|      0|#line 1584 "MachineIndependent/glslang.y"
 7892|      0|                      {
 7893|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "hitAttributeNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7894|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7895|      0|            | EShLangMissMask), "hitObjectAttributeNV");
 7896|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_shader_invocation_reorder, "hitObjectAttributeNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7897|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7898|      0|        (yyval.interm.type).qualifier.storage = EvqHitObjectAttrNV;
 7899|      0|    }
 7900|      0|#line 7901 "MachineIndependent/glslang_tab.cpp"
 7901|      0|    break;
 7902|       |
 7903|      0|  case 192: /* storage_qualifier: HITOBJECTATTREXT  */
  ------------------
  |  Branch (7903:3): [True: 0, False: 14.6M]
  ------------------
 7904|      0|#line 1592 "MachineIndependent/glslang.y"
 7905|      0|                       {
 7906|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "hitAttributeEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7907|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7908|      0|            | EShLangMissMask), "hitObjectAttributeEXT");
 7909|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_shader_invocation_reorder, "hitObjectAttributeEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7910|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7911|      0|        (yyval.interm.type).qualifier.storage = EvqHitObjectAttrEXT;
 7912|      0|    }
 7913|      0|#line 7914 "MachineIndependent/glslang_tab.cpp"
 7914|      0|    break;
 7915|       |
 7916|      0|  case 193: /* storage_qualifier: HITATTREXT  */
  ------------------
  |  Branch (7916:3): [True: 0, False: 14.6M]
  ------------------
 7917|      0|#line 1600 "MachineIndependent/glslang.y"
 7918|      0|                 {
 7919|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "hitAttributeEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7920|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangIntersectMask | EShLangClosestHitMask
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7921|      0|            | EShLangAnyHitMask), "hitAttributeEXT");
 7922|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "hitAttributeNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7923|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7924|      0|        (yyval.interm.type).qualifier.storage = EvqHitAttr;
 7925|      0|    }
 7926|      0|#line 7927 "MachineIndependent/glslang_tab.cpp"
 7927|      0|    break;
 7928|       |
 7929|      0|  case 194: /* storage_qualifier: PAYLOADNV  */
  ------------------
  |  Branch (7929:3): [True: 0, False: 14.6M]
  ------------------
 7930|      0|#line 1608 "MachineIndependent/glslang.y"
 7931|      0|                {
 7932|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "rayPayloadNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7933|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask |
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7934|      0|            EShLangAnyHitMask | EShLangMissMask), "rayPayloadNV");
 7935|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "rayPayloadNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7936|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7937|      0|        (yyval.interm.type).qualifier.storage = EvqPayload;
 7938|      0|    }
 7939|      0|#line 7940 "MachineIndependent/glslang_tab.cpp"
 7940|      0|    break;
 7941|       |
 7942|      0|  case 195: /* storage_qualifier: PAYLOADEXT  */
  ------------------
  |  Branch (7942:3): [True: 0, False: 14.6M]
  ------------------
 7943|      0|#line 1616 "MachineIndependent/glslang.y"
 7944|      0|                 {
 7945|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "rayPayloadEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7946|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask |
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7947|      0|            EShLangAnyHitMask | EShLangMissMask), "rayPayloadEXT");
 7948|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "rayPayloadEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7949|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7950|      0|        (yyval.interm.type).qualifier.storage = EvqPayload;
 7951|      0|    }
 7952|      0|#line 7953 "MachineIndependent/glslang_tab.cpp"
 7953|      0|    break;
 7954|       |
 7955|      0|  case 196: /* storage_qualifier: PAYLOADINNV  */
  ------------------
  |  Branch (7955:3): [True: 0, False: 14.6M]
  ------------------
 7956|      0|#line 1624 "MachineIndependent/glslang.y"
 7957|      0|                  {
 7958|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "rayPayloadInNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7959|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangClosestHitMask |
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7960|      0|            EShLangAnyHitMask | EShLangMissMask), "rayPayloadInNV");
 7961|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "rayPayloadInNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7962|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7963|      0|        (yyval.interm.type).qualifier.storage = EvqPayloadIn;
 7964|      0|    }
 7965|      0|#line 7966 "MachineIndependent/glslang_tab.cpp"
 7966|      0|    break;
 7967|       |
 7968|      0|  case 197: /* storage_qualifier: PAYLOADINEXT  */
  ------------------
  |  Branch (7968:3): [True: 0, False: 14.6M]
  ------------------
 7969|      0|#line 1632 "MachineIndependent/glslang.y"
 7970|      0|                   {
 7971|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "rayPayloadInEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7972|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangClosestHitMask |
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7973|      0|            EShLangAnyHitMask | EShLangMissMask), "rayPayloadInEXT");
 7974|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "rayPayloadInEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7975|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7976|      0|        (yyval.interm.type).qualifier.storage = EvqPayloadIn;
 7977|      0|    }
 7978|      0|#line 7979 "MachineIndependent/glslang_tab.cpp"
 7979|      0|    break;
 7980|       |
 7981|      0|  case 198: /* storage_qualifier: CALLDATANV  */
  ------------------
  |  Branch (7981:3): [True: 0, False: 14.6M]
  ------------------
 7982|      0|#line 1640 "MachineIndependent/glslang.y"
 7983|      0|                 {
 7984|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "callableDataNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7985|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask |
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7986|      0|            EShLangClosestHitMask | EShLangMissMask | EShLangCallableMask), "callableDataNV");
 7987|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "callableDataNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7988|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7989|      0|        (yyval.interm.type).qualifier.storage = EvqCallableData;
 7990|      0|    }
 7991|      0|#line 7992 "MachineIndependent/glslang_tab.cpp"
 7992|      0|    break;
 7993|       |
 7994|      0|  case 199: /* storage_qualifier: CALLDATAEXT  */
  ------------------
  |  Branch (7994:3): [True: 0, False: 14.6M]
  ------------------
 7995|      0|#line 1648 "MachineIndependent/glslang.y"
 7996|      0|                  {
 7997|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "callableDataEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7998|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask |
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7999|      0|            EShLangClosestHitMask | EShLangMissMask | EShLangCallableMask), "callableDataEXT");
 8000|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "callableDataEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8001|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8002|      0|        (yyval.interm.type).qualifier.storage = EvqCallableData;
 8003|      0|    }
 8004|      0|#line 8005 "MachineIndependent/glslang_tab.cpp"
 8005|      0|    break;
 8006|       |
 8007|      0|  case 200: /* storage_qualifier: CALLDATAINNV  */
  ------------------
  |  Branch (8007:3): [True: 0, False: 14.6M]
  ------------------
 8008|      0|#line 1656 "MachineIndependent/glslang.y"
 8009|      0|                   {
 8010|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "callableDataInNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8011|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangCallableMask), "callableDataInNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8012|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "callableDataInNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8013|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8014|      0|        (yyval.interm.type).qualifier.storage = EvqCallableDataIn;
 8015|      0|    }
 8016|      0|#line 8017 "MachineIndependent/glslang_tab.cpp"
 8017|      0|    break;
 8018|       |
 8019|      0|  case 201: /* storage_qualifier: CALLDATAINEXT  */
  ------------------
  |  Branch (8019:3): [True: 0, False: 14.6M]
  ------------------
 8020|      0|#line 1663 "MachineIndependent/glslang.y"
 8021|      0|                    {
 8022|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "callableDataInEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8023|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangCallableMask), "callableDataInEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8024|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "callableDataInEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8025|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8026|      0|        (yyval.interm.type).qualifier.storage = EvqCallableDataIn;
 8027|      0|    }
 8028|      0|#line 8029 "MachineIndependent/glslang_tab.cpp"
 8029|      0|    break;
 8030|       |
 8031|  59.0k|  case 202: /* storage_qualifier: COHERENT  */
  ------------------
  |  Branch (8031:3): [True: 59.0k, False: 14.5M]
  ------------------
 8032|  59.0k|#line 1670 "MachineIndependent/glslang.y"
 8033|  59.0k|               {
 8034|  59.0k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8035|  59.0k|        (yyval.interm.type).qualifier.coherent = true;
 8036|  59.0k|    }
 8037|  59.0k|#line 8038 "MachineIndependent/glslang_tab.cpp"
 8038|  59.0k|    break;
 8039|       |
 8040|      0|  case 203: /* storage_qualifier: DEVICECOHERENT  */
  ------------------
  |  Branch (8040:3): [True: 0, False: 14.6M]
  ------------------
 8041|      0|#line 1674 "MachineIndependent/glslang.y"
 8042|      0|                     {
 8043|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8044|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "devicecoherent");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8045|      0|        (yyval.interm.type).qualifier.devicecoherent = true;
 8046|      0|    }
 8047|      0|#line 8048 "MachineIndependent/glslang_tab.cpp"
 8048|      0|    break;
 8049|       |
 8050|      0|  case 204: /* storage_qualifier: QUEUEFAMILYCOHERENT  */
  ------------------
  |  Branch (8050:3): [True: 0, False: 14.6M]
  ------------------
 8051|      0|#line 1679 "MachineIndependent/glslang.y"
 8052|      0|                          {
 8053|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8054|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "queuefamilycoherent");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8055|      0|        (yyval.interm.type).qualifier.queuefamilycoherent = true;
 8056|      0|    }
 8057|      0|#line 8058 "MachineIndependent/glslang_tab.cpp"
 8058|      0|    break;
 8059|       |
 8060|      0|  case 205: /* storage_qualifier: WORKGROUPCOHERENT  */
  ------------------
  |  Branch (8060:3): [True: 0, False: 14.6M]
  ------------------
 8061|      0|#line 1684 "MachineIndependent/glslang.y"
 8062|      0|                        {
 8063|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8064|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "workgroupcoherent");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8065|      0|        (yyval.interm.type).qualifier.workgroupcoherent = true;
 8066|      0|    }
 8067|      0|#line 8068 "MachineIndependent/glslang_tab.cpp"
 8068|      0|    break;
 8069|       |
 8070|      0|  case 206: /* storage_qualifier: SUBGROUPCOHERENT  */
  ------------------
  |  Branch (8070:3): [True: 0, False: 14.6M]
  ------------------
 8071|      0|#line 1689 "MachineIndependent/glslang.y"
 8072|      0|                       {
 8073|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8074|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "subgroupcoherent");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8075|      0|        (yyval.interm.type).qualifier.subgroupcoherent = true;
 8076|      0|    }
 8077|      0|#line 8078 "MachineIndependent/glslang_tab.cpp"
 8078|      0|    break;
 8079|       |
 8080|      0|  case 207: /* storage_qualifier: NONPRIVATE  */
  ------------------
  |  Branch (8080:3): [True: 0, False: 14.6M]
  ------------------
 8081|      0|#line 1694 "MachineIndependent/glslang.y"
 8082|      0|                 {
 8083|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8084|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "nonprivate");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8085|      0|        (yyval.interm.type).qualifier.nonprivate = true;
 8086|      0|    }
 8087|      0|#line 8088 "MachineIndependent/glslang_tab.cpp"
 8088|      0|    break;
 8089|       |
 8090|      0|  case 208: /* storage_qualifier: SHADERCALLCOHERENT  */
  ------------------
  |  Branch (8090:3): [True: 0, False: 14.6M]
  ------------------
 8091|      0|#line 1699 "MachineIndependent/glslang.y"
 8092|      0|                         {
 8093|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8094|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_ray_tracing, "shadercallcoherent");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8095|      0|        (yyval.interm.type).qualifier.shadercallcoherent = true;
 8096|      0|    }
 8097|      0|#line 8098 "MachineIndependent/glslang_tab.cpp"
 8098|      0|    break;
 8099|       |
 8100|  59.9k|  case 209: /* storage_qualifier: VOLATILE  */
  ------------------
  |  Branch (8100:3): [True: 59.9k, False: 14.5M]
  ------------------
 8101|  59.9k|#line 1704 "MachineIndependent/glslang.y"
 8102|  59.9k|               {
 8103|  59.9k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8104|  59.9k|        (yyval.interm.type).qualifier.volatil = true;
 8105|  59.9k|    }
 8106|  59.9k|#line 8107 "MachineIndependent/glslang_tab.cpp"
 8107|  59.9k|    break;
 8108|       |
 8109|      0|  case 210: /* storage_qualifier: RESTRICT  */
  ------------------
  |  Branch (8109:3): [True: 0, False: 14.6M]
  ------------------
 8110|      0|#line 1708 "MachineIndependent/glslang.y"
 8111|      0|               {
 8112|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8113|      0|        (yyval.interm.type).qualifier.restrict = true;
 8114|      0|    }
 8115|      0|#line 8116 "MachineIndependent/glslang_tab.cpp"
 8116|      0|    break;
 8117|       |
 8118|  5.01k|  case 211: /* storage_qualifier: READONLY  */
  ------------------
  |  Branch (8118:3): [True: 5.01k, False: 14.6M]
  ------------------
 8119|  5.01k|#line 1712 "MachineIndependent/glslang.y"
 8120|  5.01k|               {
 8121|  5.01k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8122|  5.01k|        (yyval.interm.type).qualifier.readonly = true;
 8123|  5.01k|    }
 8124|  5.01k|#line 8125 "MachineIndependent/glslang_tab.cpp"
 8125|  5.01k|    break;
 8126|       |
 8127|  4.62k|  case 212: /* storage_qualifier: WRITEONLY  */
  ------------------
  |  Branch (8127:3): [True: 4.62k, False: 14.6M]
  ------------------
 8128|  4.62k|#line 1716 "MachineIndependent/glslang.y"
 8129|  4.62k|                {
 8130|  4.62k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8131|  4.62k|        (yyval.interm.type).qualifier.writeonly = true;
 8132|  4.62k|    }
 8133|  4.62k|#line 8134 "MachineIndependent/glslang_tab.cpp"
 8134|  4.62k|    break;
 8135|       |
 8136|  58.1k|  case 213: /* storage_qualifier: NONTEMPORAL  */
  ------------------
  |  Branch (8136:3): [True: 58.1k, False: 14.5M]
  ------------------
 8137|  58.1k|#line 1720 "MachineIndependent/glslang.y"
 8138|  58.1k|                  {
 8139|  58.1k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8140|  58.1k|        (yyval.interm.type).qualifier.nontemporal  = true;
 8141|  58.1k|    }
 8142|  58.1k|#line 8143 "MachineIndependent/glslang_tab.cpp"
 8143|  58.1k|    break;
 8144|       |
 8145|      0|  case 214: /* storage_qualifier: SUBROUTINE  */
  ------------------
  |  Branch (8145:3): [True: 0, False: 14.6M]
  ------------------
 8146|      0|#line 1724 "MachineIndependent/glslang.y"
 8147|      0|                 {
 8148|      0|        parseContext.spvRemoved((yyvsp[0].lex).loc, "subroutine");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8149|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "subroutine");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8150|      0|        parseContext.unimplemented((yyvsp[0].lex).loc, "subroutine");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8151|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8152|      0|    }
 8153|      0|#line 8154 "MachineIndependent/glslang_tab.cpp"
 8154|      0|    break;
 8155|       |
 8156|      0|  case 215: /* storage_qualifier: SUBROUTINE LEFT_PAREN type_name_list RIGHT_PAREN  */
  ------------------
  |  Branch (8156:3): [True: 0, False: 14.6M]
  ------------------
 8157|      0|#line 1730 "MachineIndependent/glslang.y"
 8158|      0|                                                       {
 8159|      0|        parseContext.spvRemoved((yyvsp[-3].lex).loc, "subroutine");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8160|      0|        parseContext.globalCheck((yyvsp[-3].lex).loc, "subroutine");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8161|      0|        parseContext.unimplemented((yyvsp[-3].lex).loc, "subroutine");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8162|      0|        (yyval.interm.type).init((yyvsp[-3].lex).loc);
 8163|      0|    }
 8164|      0|#line 8165 "MachineIndependent/glslang_tab.cpp"
 8165|      0|    break;
 8166|       |
 8167|      0|  case 216: /* storage_qualifier: TASKPAYLOADWORKGROUPEXT  */
  ------------------
  |  Branch (8167:3): [True: 0, False: 14.6M]
  ------------------
 8168|      0|#line 1736 "MachineIndependent/glslang.y"
 8169|      0|                              {
 8170|       |        // No need for profile version or extension check. Shader stage already checks both.
 8171|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "taskPayloadSharedEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8172|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangTaskMask | EShLangMeshMask), "taskPayloadSharedEXT  ");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8173|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8174|      0|        (yyval.interm.type).qualifier.storage = EvqtaskPayloadSharedEXT;
 8175|      0|    }
 8176|      0|#line 8177 "MachineIndependent/glslang_tab.cpp"
 8177|      0|    break;
 8178|       |
 8179|      0|  case 217: /* non_uniform_qualifier: NONUNIFORM  */
  ------------------
  |  Branch (8179:3): [True: 0, False: 14.6M]
  ------------------
 8180|      0|#line 1746 "MachineIndependent/glslang.y"
 8181|      0|                 {
 8182|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8183|      0|        (yyval.interm.type).qualifier.nonUniform = true;
 8184|      0|    }
 8185|      0|#line 8186 "MachineIndependent/glslang_tab.cpp"
 8186|      0|    break;
 8187|       |
 8188|      0|  case 218: /* type_name_list: IDENTIFIER  */
  ------------------
  |  Branch (8188:3): [True: 0, False: 14.6M]
  ------------------
 8189|      0|#line 1753 "MachineIndependent/glslang.y"
 8190|      0|                 {
 8191|       |        // TODO
 8192|      0|    }
 8193|      0|#line 8194 "MachineIndependent/glslang_tab.cpp"
 8194|      0|    break;
 8195|       |
 8196|      0|  case 219: /* type_name_list: type_name_list COMMA IDENTIFIER  */
  ------------------
  |  Branch (8196:3): [True: 0, False: 14.6M]
  ------------------
 8197|      0|#line 1756 "MachineIndependent/glslang.y"
 8198|      0|                                      {
 8199|       |        // TODO: 4.0 semantics: subroutines
 8200|       |        // 1) make sure each identifier is a type declared earlier with SUBROUTINE
 8201|       |        // 2) save all of the identifiers for future comparison with the declared function
 8202|      0|    }
 8203|      0|#line 8204 "MachineIndependent/glslang_tab.cpp"
 8204|      0|    break;
 8205|       |
 8206|  1.83M|  case 220: /* type_specifier: type_specifier_nonarray type_parameter_specifier_opt  */
  ------------------
  |  Branch (8206:3): [True: 1.83M, False: 12.8M]
  ------------------
 8207|  1.83M|#line 1764 "MachineIndependent/glslang.y"
 8208|  1.83M|                                                           {
 8209|  1.83M|        (yyval.interm.type) = (yyvsp[-1].interm.type);
 8210|  1.83M|        (yyval.interm.type).qualifier.precision = parseContext.getDefaultPrecision((yyval.interm.type));
  ------------------
  |  |  783|  1.83M|#define parseContext (*pParseContext)
  ------------------
 8211|  1.83M|        (yyval.interm.type).typeParameters = (yyvsp[0].interm.typeParameters);
 8212|  1.83M|        parseContext.typeParametersCheck((yyvsp[-1].interm.type).loc, (yyval.interm.type));
  ------------------
  |  |  783|  1.83M|#define parseContext (*pParseContext)
  ------------------
 8213|       |
 8214|  1.83M|    }
 8215|  1.83M|#line 8216 "MachineIndependent/glslang_tab.cpp"
 8216|  1.83M|    break;
 8217|       |
 8218|  8.80k|  case 221: /* type_specifier: type_specifier_nonarray type_parameter_specifier_opt array_specifier  */
  ------------------
  |  Branch (8218:3): [True: 8.80k, False: 14.6M]
  ------------------
 8219|  8.80k|#line 1771 "MachineIndependent/glslang.y"
 8220|  8.80k|                                                                           {
 8221|  8.80k|        parseContext.arrayOfArrayVersionCheck((yyvsp[0].interm).loc, (yyvsp[0].interm).arraySizes);
  ------------------
  |  |  783|  8.80k|#define parseContext (*pParseContext)
  ------------------
 8222|  8.80k|        (yyval.interm.type) = (yyvsp[-2].interm.type);
 8223|  8.80k|        (yyval.interm.type).qualifier.precision = parseContext.getDefaultPrecision((yyval.interm.type));
  ------------------
  |  |  783|  8.80k|#define parseContext (*pParseContext)
  ------------------
 8224|  8.80k|        (yyval.interm.type).typeParameters = (yyvsp[-1].interm.typeParameters);
 8225|  8.80k|        (yyval.interm.type).arraySizes = (yyvsp[0].interm).arraySizes;
 8226|  8.80k|        parseContext.typeParametersCheck((yyvsp[-2].interm.type).loc, (yyval.interm.type));
  ------------------
  |  |  783|  8.80k|#define parseContext (*pParseContext)
  ------------------
 8227|  8.80k|    }
 8228|  8.80k|#line 8229 "MachineIndependent/glslang_tab.cpp"
 8229|  8.80k|    break;
 8230|       |
 8231|  7.14k|  case 222: /* array_specifier: LEFT_BRACKET RIGHT_BRACKET  */
  ------------------
  |  Branch (8231:3): [True: 7.14k, False: 14.6M]
  ------------------
 8232|  7.14k|#line 1782 "MachineIndependent/glslang.y"
 8233|  7.14k|                                 {
 8234|  7.14k|        (yyval.interm).loc = (yyvsp[-1].lex).loc;
 8235|  7.14k|        (yyval.interm).arraySizes = new TArraySizes;
 8236|  7.14k|        (yyval.interm).arraySizes->addInnerSize();
 8237|  7.14k|    }
 8238|  7.14k|#line 8239 "MachineIndependent/glslang_tab.cpp"
 8239|  7.14k|    break;
 8240|       |
 8241|  3.63k|  case 223: /* array_specifier: LEFT_BRACKET conditional_expression RIGHT_BRACKET  */
  ------------------
  |  Branch (8241:3): [True: 3.63k, False: 14.6M]
  ------------------
 8242|  3.63k|#line 1787 "MachineIndependent/glslang.y"
 8243|  3.63k|                                                        {
 8244|  3.63k|        (yyval.interm).loc = (yyvsp[-2].lex).loc;
 8245|  3.63k|        (yyval.interm).arraySizes = new TArraySizes;
 8246|       |
 8247|  3.63k|        TArraySize size;
 8248|  3.63k|        parseContext.arraySizeCheck((yyvsp[-1].interm.intermTypedNode)->getLoc(), (yyvsp[-1].interm.intermTypedNode), size, "array size");
  ------------------
  |  |  783|  3.63k|#define parseContext (*pParseContext)
  ------------------
 8249|  3.63k|        (yyval.interm).arraySizes->addInnerSize(size);
 8250|  3.63k|    }
 8251|  3.63k|#line 8252 "MachineIndependent/glslang_tab.cpp"
 8252|  3.63k|    break;
 8253|       |
 8254|     21|  case 224: /* array_specifier: array_specifier LEFT_BRACKET RIGHT_BRACKET  */
  ------------------
  |  Branch (8254:3): [True: 21, False: 14.6M]
  ------------------
 8255|     21|#line 1795 "MachineIndependent/glslang.y"
 8256|     21|                                                 {
 8257|     21|        (yyval.interm) = (yyvsp[-2].interm);
 8258|     21|        (yyval.interm).arraySizes->addInnerSize();
 8259|     21|    }
 8260|     21|#line 8261 "MachineIndependent/glslang_tab.cpp"
 8261|     21|    break;
 8262|       |
 8263|      0|  case 225: /* array_specifier: array_specifier LEFT_BRACKET conditional_expression RIGHT_BRACKET  */
  ------------------
  |  Branch (8263:3): [True: 0, False: 14.6M]
  ------------------
 8264|      0|#line 1799 "MachineIndependent/glslang.y"
 8265|      0|                                                                        {
 8266|      0|        (yyval.interm) = (yyvsp[-3].interm);
 8267|       |
 8268|      0|        TArraySize size;
 8269|      0|        parseContext.arraySizeCheck((yyvsp[-1].interm.intermTypedNode)->getLoc(), (yyvsp[-1].interm.intermTypedNode), size, "array size");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8270|      0|        (yyval.interm).arraySizes->addInnerSize(size);
 8271|      0|    }
 8272|      0|#line 8273 "MachineIndependent/glslang_tab.cpp"
 8273|      0|    break;
 8274|       |
 8275|     60|  case 226: /* type_parameter_specifier_opt: type_parameter_specifier  */
  ------------------
  |  Branch (8275:3): [True: 60, False: 14.6M]
  ------------------
 8276|     60|#line 1809 "MachineIndependent/glslang.y"
 8277|     60|                               {
 8278|     60|        (yyval.interm.typeParameters) = (yyvsp[0].interm.typeParameters);
 8279|     60|    }
 8280|     60|#line 8281 "MachineIndependent/glslang_tab.cpp"
 8281|     60|    break;
 8282|       |
 8283|  1.84M|  case 227: /* type_parameter_specifier_opt: %empty  */
  ------------------
  |  Branch (8283:3): [True: 1.84M, False: 12.8M]
  ------------------
 8284|  1.84M|#line 1812 "MachineIndependent/glslang.y"
 8285|  1.84M|                        {
 8286|  1.84M|        (yyval.interm.typeParameters) = 0;
 8287|  1.84M|    }
 8288|  1.84M|#line 8289 "MachineIndependent/glslang_tab.cpp"
 8289|  1.84M|    break;
 8290|       |
 8291|     60|  case 228: /* type_parameter_specifier: LEFT_ANGLE type_parameter_specifier_list RIGHT_ANGLE  */
  ------------------
  |  Branch (8291:3): [True: 60, False: 14.6M]
  ------------------
 8292|     60|#line 1818 "MachineIndependent/glslang.y"
 8293|     60|                                                           {
 8294|     60|        (yyval.interm.typeParameters) = (yyvsp[-1].interm.typeParameters);
 8295|     60|    }
 8296|     60|#line 8297 "MachineIndependent/glslang_tab.cpp"
 8297|     60|    break;
 8298|       |
 8299|     60|  case 229: /* type_parameter_specifier_list: type_specifier  */
  ------------------
  |  Branch (8299:3): [True: 60, False: 14.6M]
  ------------------
 8300|     60|#line 1824 "MachineIndependent/glslang.y"
 8301|     60|                     {
 8302|     60|        (yyval.interm.typeParameters) = new TTypeParameters;
 8303|     60|        (yyval.interm.typeParameters)->arraySizes = new TArraySizes;
 8304|     60|        (yyval.interm.typeParameters)->spirvType = (yyvsp[0].interm.type).spirvType;
 8305|     60|        (yyval.interm.typeParameters)->basicType = (yyvsp[0].interm.type).basicType;
 8306|     60|    }
 8307|     60|#line 8308 "MachineIndependent/glslang_tab.cpp"
 8308|     60|    break;
 8309|       |
 8310|      0|  case 230: /* type_parameter_specifier_list: unary_expression  */
  ------------------
  |  Branch (8310:3): [True: 0, False: 14.6M]
  ------------------
 8311|      0|#line 1830 "MachineIndependent/glslang.y"
 8312|      0|                       {
 8313|      0|        (yyval.interm.typeParameters) = new TTypeParameters;
 8314|      0|        (yyval.interm.typeParameters)->arraySizes = new TArraySizes;
 8315|       |
 8316|      0|        TArraySize size;
 8317|      0|        parseContext.arraySizeCheck((yyvsp[0].interm.intermTypedNode)->getLoc(), (yyvsp[0].interm.intermTypedNode), size, "type parameter", true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8318|      0|        (yyval.interm.typeParameters)->arraySizes->addInnerSize(size);
 8319|      0|    }
 8320|      0|#line 8321 "MachineIndependent/glslang_tab.cpp"
 8321|      0|    break;
 8322|       |
 8323|     60|  case 231: /* type_parameter_specifier_list: type_parameter_specifier_list COMMA unary_expression  */
  ------------------
  |  Branch (8323:3): [True: 60, False: 14.6M]
  ------------------
 8324|     60|#line 1838 "MachineIndependent/glslang.y"
 8325|     60|                                                           {
 8326|     60|        (yyval.interm.typeParameters) = (yyvsp[-2].interm.typeParameters);
 8327|       |
 8328|     60|        TArraySize size;
 8329|     60|        parseContext.arraySizeCheck((yyvsp[0].interm.intermTypedNode)->getLoc(), (yyvsp[0].interm.intermTypedNode), size, "type parameter", true);
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
 8330|     60|        (yyval.interm.typeParameters)->arraySizes->addInnerSize(size);
 8331|     60|    }
 8332|     60|#line 8333 "MachineIndependent/glslang_tab.cpp"
 8333|     60|    break;
 8334|       |
 8335|  13.5k|  case 232: /* type_specifier_nonarray: VOID  */
  ------------------
  |  Branch (8335:3): [True: 13.5k, False: 14.6M]
  ------------------
 8336|  13.5k|#line 1848 "MachineIndependent/glslang.y"
 8337|  13.5k|           {
 8338|  13.5k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  13.5k|#define parseContext (*pParseContext)
  ------------------
 8339|  13.5k|        (yyval.interm.type).basicType = EbtVoid;
 8340|  13.5k|    }
 8341|  13.5k|#line 8342 "MachineIndependent/glslang_tab.cpp"
 8342|  13.5k|    break;
 8343|       |
 8344|  91.9k|  case 233: /* type_specifier_nonarray: FLOAT  */
  ------------------
  |  Branch (8344:3): [True: 91.9k, False: 14.5M]
  ------------------
 8345|  91.9k|#line 1852 "MachineIndependent/glslang.y"
 8346|  91.9k|            {
 8347|  91.9k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  91.9k|#define parseContext (*pParseContext)
  ------------------
 8348|  91.9k|        (yyval.interm.type).basicType = EbtFloat;
 8349|  91.9k|    }
 8350|  91.9k|#line 8351 "MachineIndependent/glslang_tab.cpp"
 8351|  91.9k|    break;
 8352|       |
 8353|   243k|  case 234: /* type_specifier_nonarray: INT  */
  ------------------
  |  Branch (8353:3): [True: 243k, False: 14.4M]
  ------------------
 8354|   243k|#line 1856 "MachineIndependent/glslang.y"
 8355|   243k|          {
 8356|   243k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|   243k|#define parseContext (*pParseContext)
  ------------------
 8357|   243k|        (yyval.interm.type).basicType = EbtInt;
 8358|   243k|    }
 8359|   243k|#line 8360 "MachineIndependent/glslang_tab.cpp"
 8360|   243k|    break;
 8361|       |
 8362|   154k|  case 235: /* type_specifier_nonarray: UINT  */
  ------------------
  |  Branch (8362:3): [True: 154k, False: 14.4M]
  ------------------
 8363|   154k|#line 1860 "MachineIndependent/glslang.y"
 8364|   154k|           {
 8365|   154k|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer");
  ------------------
  |  |  783|   154k|#define parseContext (*pParseContext)
  ------------------
 8366|   154k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|   154k|#define parseContext (*pParseContext)
  ------------------
 8367|   154k|        (yyval.interm.type).basicType = EbtUint;
 8368|   154k|    }
 8369|   154k|#line 8370 "MachineIndependent/glslang_tab.cpp"
 8370|   154k|    break;
 8371|       |
 8372|  18.0k|  case 236: /* type_specifier_nonarray: BOOL  */
  ------------------
  |  Branch (8372:3): [True: 18.0k, False: 14.6M]
  ------------------
 8373|  18.0k|#line 1865 "MachineIndependent/glslang.y"
 8374|  18.0k|           {
 8375|  18.0k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  18.0k|#define parseContext (*pParseContext)
  ------------------
 8376|  18.0k|        (yyval.interm.type).basicType = EbtBool;
 8377|  18.0k|    }
 8378|  18.0k|#line 8379 "MachineIndependent/glslang_tab.cpp"
 8379|  18.0k|    break;
 8380|       |
 8381|  75.6k|  case 237: /* type_specifier_nonarray: VEC2  */
  ------------------
  |  Branch (8381:3): [True: 75.6k, False: 14.5M]
  ------------------
 8382|  75.6k|#line 1869 "MachineIndependent/glslang.y"
 8383|  75.6k|           {
 8384|  75.6k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  75.6k|#define parseContext (*pParseContext)
  ------------------
 8385|  75.6k|        (yyval.interm.type).basicType = EbtFloat;
 8386|  75.6k|        (yyval.interm.type).setVector(2);
 8387|  75.6k|    }
 8388|  75.6k|#line 8389 "MachineIndependent/glslang_tab.cpp"
 8389|  75.6k|    break;
 8390|       |
 8391|  64.8k|  case 238: /* type_specifier_nonarray: VEC3  */
  ------------------
  |  Branch (8391:3): [True: 64.8k, False: 14.5M]
  ------------------
 8392|  64.8k|#line 1874 "MachineIndependent/glslang.y"
 8393|  64.8k|           {
 8394|  64.8k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  64.8k|#define parseContext (*pParseContext)
  ------------------
 8395|  64.8k|        (yyval.interm.type).basicType = EbtFloat;
 8396|  64.8k|        (yyval.interm.type).setVector(3);
 8397|  64.8k|    }
 8398|  64.8k|#line 8399 "MachineIndependent/glslang_tab.cpp"
 8399|  64.8k|    break;
 8400|       |
 8401|  81.1k|  case 239: /* type_specifier_nonarray: VEC4  */
  ------------------
  |  Branch (8401:3): [True: 81.1k, False: 14.5M]
  ------------------
 8402|  81.1k|#line 1879 "MachineIndependent/glslang.y"
 8403|  81.1k|           {
 8404|  81.1k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  81.1k|#define parseContext (*pParseContext)
  ------------------
 8405|  81.1k|        (yyval.interm.type).basicType = EbtFloat;
 8406|  81.1k|        (yyval.interm.type).setVector(4);
 8407|  81.1k|    }
 8408|  81.1k|#line 8409 "MachineIndependent/glslang_tab.cpp"
 8409|  81.1k|    break;
 8410|       |
 8411|  11.8k|  case 240: /* type_specifier_nonarray: BVEC2  */
  ------------------
  |  Branch (8411:3): [True: 11.8k, False: 14.6M]
  ------------------
 8412|  11.8k|#line 1884 "MachineIndependent/glslang.y"
 8413|  11.8k|            {
 8414|  11.8k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  11.8k|#define parseContext (*pParseContext)
  ------------------
 8415|  11.8k|        (yyval.interm.type).basicType = EbtBool;
 8416|  11.8k|        (yyval.interm.type).setVector(2);
 8417|  11.8k|    }
 8418|  11.8k|#line 8419 "MachineIndependent/glslang_tab.cpp"
 8419|  11.8k|    break;
 8420|       |
 8421|  11.8k|  case 241: /* type_specifier_nonarray: BVEC3  */
  ------------------
  |  Branch (8421:3): [True: 11.8k, False: 14.6M]
  ------------------
 8422|  11.8k|#line 1889 "MachineIndependent/glslang.y"
 8423|  11.8k|            {
 8424|  11.8k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  11.8k|#define parseContext (*pParseContext)
  ------------------
 8425|  11.8k|        (yyval.interm.type).basicType = EbtBool;
 8426|  11.8k|        (yyval.interm.type).setVector(3);
 8427|  11.8k|    }
 8428|  11.8k|#line 8429 "MachineIndependent/glslang_tab.cpp"
 8429|  11.8k|    break;
 8430|       |
 8431|  11.8k|  case 242: /* type_specifier_nonarray: BVEC4  */
  ------------------
  |  Branch (8431:3): [True: 11.8k, False: 14.6M]
  ------------------
 8432|  11.8k|#line 1894 "MachineIndependent/glslang.y"
 8433|  11.8k|            {
 8434|  11.8k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  11.8k|#define parseContext (*pParseContext)
  ------------------
 8435|  11.8k|        (yyval.interm.type).basicType = EbtBool;
 8436|  11.8k|        (yyval.interm.type).setVector(4);
 8437|  11.8k|    }
 8438|  11.8k|#line 8439 "MachineIndependent/glslang_tab.cpp"
 8439|  11.8k|    break;
 8440|       |
 8441|  81.5k|  case 243: /* type_specifier_nonarray: IVEC2  */
  ------------------
  |  Branch (8441:3): [True: 81.5k, False: 14.5M]
  ------------------
 8442|  81.5k|#line 1899 "MachineIndependent/glslang.y"
 8443|  81.5k|            {
 8444|  81.5k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  81.5k|#define parseContext (*pParseContext)
  ------------------
 8445|  81.5k|        (yyval.interm.type).basicType = EbtInt;
 8446|  81.5k|        (yyval.interm.type).setVector(2);
 8447|  81.5k|    }
 8448|  81.5k|#line 8449 "MachineIndependent/glslang_tab.cpp"
 8449|  81.5k|    break;
 8450|       |
 8451|  60.7k|  case 244: /* type_specifier_nonarray: IVEC3  */
  ------------------
  |  Branch (8451:3): [True: 60.7k, False: 14.5M]
  ------------------
 8452|  60.7k|#line 1904 "MachineIndependent/glslang.y"
 8453|  60.7k|            {
 8454|  60.7k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  60.7k|#define parseContext (*pParseContext)
  ------------------
 8455|  60.7k|        (yyval.interm.type).basicType = EbtInt;
 8456|  60.7k|        (yyval.interm.type).setVector(3);
 8457|  60.7k|    }
 8458|  60.7k|#line 8459 "MachineIndependent/glslang_tab.cpp"
 8459|  60.7k|    break;
 8460|       |
 8461|  50.6k|  case 245: /* type_specifier_nonarray: IVEC4  */
  ------------------
  |  Branch (8461:3): [True: 50.6k, False: 14.6M]
  ------------------
 8462|  50.6k|#line 1909 "MachineIndependent/glslang.y"
 8463|  50.6k|            {
 8464|  50.6k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  50.6k|#define parseContext (*pParseContext)
  ------------------
 8465|  50.6k|        (yyval.interm.type).basicType = EbtInt;
 8466|  50.6k|        (yyval.interm.type).setVector(4);
 8467|  50.6k|    }
 8468|  50.6k|#line 8469 "MachineIndependent/glslang_tab.cpp"
 8469|  50.6k|    break;
 8470|       |
 8471|  22.3k|  case 246: /* type_specifier_nonarray: UVEC2  */
  ------------------
  |  Branch (8471:3): [True: 22.3k, False: 14.6M]
  ------------------
 8472|  22.3k|#line 1914 "MachineIndependent/glslang.y"
 8473|  22.3k|            {
 8474|  22.3k|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer vector");
  ------------------
  |  |  783|  22.3k|#define parseContext (*pParseContext)
  ------------------
 8475|  22.3k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  22.3k|#define parseContext (*pParseContext)
  ------------------
 8476|  22.3k|        (yyval.interm.type).basicType = EbtUint;
 8477|  22.3k|        (yyval.interm.type).setVector(2);
 8478|  22.3k|    }
 8479|  22.3k|#line 8480 "MachineIndependent/glslang_tab.cpp"
 8480|  22.3k|    break;
 8481|       |
 8482|  20.4k|  case 247: /* type_specifier_nonarray: UVEC3  */
  ------------------
  |  Branch (8482:3): [True: 20.4k, False: 14.6M]
  ------------------
 8483|  20.4k|#line 1920 "MachineIndependent/glslang.y"
 8484|  20.4k|            {
 8485|  20.4k|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer vector");
  ------------------
  |  |  783|  20.4k|#define parseContext (*pParseContext)
  ------------------
 8486|  20.4k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  20.4k|#define parseContext (*pParseContext)
  ------------------
 8487|  20.4k|        (yyval.interm.type).basicType = EbtUint;
 8488|  20.4k|        (yyval.interm.type).setVector(3);
 8489|  20.4k|    }
 8490|  20.4k|#line 8491 "MachineIndependent/glslang_tab.cpp"
 8491|  20.4k|    break;
 8492|       |
 8493|   147k|  case 248: /* type_specifier_nonarray: UVEC4  */
  ------------------
  |  Branch (8493:3): [True: 147k, False: 14.5M]
  ------------------
 8494|   147k|#line 1926 "MachineIndependent/glslang.y"
 8495|   147k|            {
 8496|   147k|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer vector");
  ------------------
  |  |  783|   147k|#define parseContext (*pParseContext)
  ------------------
 8497|   147k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|   147k|#define parseContext (*pParseContext)
  ------------------
 8498|   147k|        (yyval.interm.type).basicType = EbtUint;
 8499|   147k|        (yyval.interm.type).setVector(4);
 8500|   147k|    }
 8501|   147k|#line 8502 "MachineIndependent/glslang_tab.cpp"
 8502|   147k|    break;
 8503|       |
 8504|    684|  case 249: /* type_specifier_nonarray: MAT2  */
  ------------------
  |  Branch (8504:3): [True: 684, False: 14.6M]
  ------------------
 8505|    684|#line 1932 "MachineIndependent/glslang.y"
 8506|    684|           {
 8507|    684|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    684|#define parseContext (*pParseContext)
  ------------------
 8508|    684|        (yyval.interm.type).basicType = EbtFloat;
 8509|    684|        (yyval.interm.type).setMatrix(2, 2);
 8510|    684|    }
 8511|    684|#line 8512 "MachineIndependent/glslang_tab.cpp"
 8512|    684|    break;
 8513|       |
 8514|    684|  case 250: /* type_specifier_nonarray: MAT3  */
  ------------------
  |  Branch (8514:3): [True: 684, False: 14.6M]
  ------------------
 8515|    684|#line 1937 "MachineIndependent/glslang.y"
 8516|    684|           {
 8517|    684|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    684|#define parseContext (*pParseContext)
  ------------------
 8518|    684|        (yyval.interm.type).basicType = EbtFloat;
 8519|    684|        (yyval.interm.type).setMatrix(3, 3);
 8520|    684|    }
 8521|    684|#line 8522 "MachineIndependent/glslang_tab.cpp"
 8522|    684|    break;
 8523|       |
 8524|    684|  case 251: /* type_specifier_nonarray: MAT4  */
  ------------------
  |  Branch (8524:3): [True: 684, False: 14.6M]
  ------------------
 8525|    684|#line 1942 "MachineIndependent/glslang.y"
 8526|    684|           {
 8527|    684|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    684|#define parseContext (*pParseContext)
  ------------------
 8528|    684|        (yyval.interm.type).basicType = EbtFloat;
 8529|    684|        (yyval.interm.type).setMatrix(4, 4);
 8530|    684|    }
 8531|    684|#line 8532 "MachineIndependent/glslang_tab.cpp"
 8532|    684|    break;
 8533|       |
 8534|      0|  case 252: /* type_specifier_nonarray: MAT2X2  */
  ------------------
  |  Branch (8534:3): [True: 0, False: 14.6M]
  ------------------
 8535|      0|#line 1947 "MachineIndependent/glslang.y"
 8536|      0|             {
 8537|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8538|      0|        (yyval.interm.type).basicType = EbtFloat;
 8539|      0|        (yyval.interm.type).setMatrix(2, 2);
 8540|      0|    }
 8541|      0|#line 8542 "MachineIndependent/glslang_tab.cpp"
 8542|      0|    break;
 8543|       |
 8544|    654|  case 253: /* type_specifier_nonarray: MAT2X3  */
  ------------------
  |  Branch (8544:3): [True: 654, False: 14.6M]
  ------------------
 8545|    654|#line 1952 "MachineIndependent/glslang.y"
 8546|    654|             {
 8547|    654|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    654|#define parseContext (*pParseContext)
  ------------------
 8548|    654|        (yyval.interm.type).basicType = EbtFloat;
 8549|    654|        (yyval.interm.type).setMatrix(2, 3);
 8550|    654|    }
 8551|    654|#line 8552 "MachineIndependent/glslang_tab.cpp"
 8552|    654|    break;
 8553|       |
 8554|    654|  case 254: /* type_specifier_nonarray: MAT2X4  */
  ------------------
  |  Branch (8554:3): [True: 654, False: 14.6M]
  ------------------
 8555|    654|#line 1957 "MachineIndependent/glslang.y"
 8556|    654|             {
 8557|    654|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    654|#define parseContext (*pParseContext)
  ------------------
 8558|    654|        (yyval.interm.type).basicType = EbtFloat;
 8559|    654|        (yyval.interm.type).setMatrix(2, 4);
 8560|    654|    }
 8561|    654|#line 8562 "MachineIndependent/glslang_tab.cpp"
 8562|    654|    break;
 8563|       |
 8564|    654|  case 255: /* type_specifier_nonarray: MAT3X2  */
  ------------------
  |  Branch (8564:3): [True: 654, False: 14.6M]
  ------------------
 8565|    654|#line 1962 "MachineIndependent/glslang.y"
 8566|    654|             {
 8567|    654|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    654|#define parseContext (*pParseContext)
  ------------------
 8568|    654|        (yyval.interm.type).basicType = EbtFloat;
 8569|    654|        (yyval.interm.type).setMatrix(3, 2);
 8570|    654|    }
 8571|    654|#line 8572 "MachineIndependent/glslang_tab.cpp"
 8572|    654|    break;
 8573|       |
 8574|      0|  case 256: /* type_specifier_nonarray: MAT3X3  */
  ------------------
  |  Branch (8574:3): [True: 0, False: 14.6M]
  ------------------
 8575|      0|#line 1967 "MachineIndependent/glslang.y"
 8576|      0|             {
 8577|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8578|      0|        (yyval.interm.type).basicType = EbtFloat;
 8579|      0|        (yyval.interm.type).setMatrix(3, 3);
 8580|      0|    }
 8581|      0|#line 8582 "MachineIndependent/glslang_tab.cpp"
 8582|      0|    break;
 8583|       |
 8584|    654|  case 257: /* type_specifier_nonarray: MAT3X4  */
  ------------------
  |  Branch (8584:3): [True: 654, False: 14.6M]
  ------------------
 8585|    654|#line 1972 "MachineIndependent/glslang.y"
 8586|    654|             {
 8587|    654|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    654|#define parseContext (*pParseContext)
  ------------------
 8588|    654|        (yyval.interm.type).basicType = EbtFloat;
 8589|    654|        (yyval.interm.type).setMatrix(3, 4);
 8590|    654|    }
 8591|    654|#line 8592 "MachineIndependent/glslang_tab.cpp"
 8592|    654|    break;
 8593|       |
 8594|    654|  case 258: /* type_specifier_nonarray: MAT4X2  */
  ------------------
  |  Branch (8594:3): [True: 654, False: 14.6M]
  ------------------
 8595|    654|#line 1977 "MachineIndependent/glslang.y"
 8596|    654|             {
 8597|    654|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    654|#define parseContext (*pParseContext)
  ------------------
 8598|    654|        (yyval.interm.type).basicType = EbtFloat;
 8599|    654|        (yyval.interm.type).setMatrix(4, 2);
 8600|    654|    }
 8601|    654|#line 8602 "MachineIndependent/glslang_tab.cpp"
 8602|    654|    break;
 8603|       |
 8604|    654|  case 259: /* type_specifier_nonarray: MAT4X3  */
  ------------------
  |  Branch (8604:3): [True: 654, False: 14.6M]
  ------------------
 8605|    654|#line 1982 "MachineIndependent/glslang.y"
 8606|    654|             {
 8607|    654|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    654|#define parseContext (*pParseContext)
  ------------------
 8608|    654|        (yyval.interm.type).basicType = EbtFloat;
 8609|    654|        (yyval.interm.type).setMatrix(4, 3);
 8610|    654|    }
 8611|    654|#line 8612 "MachineIndependent/glslang_tab.cpp"
 8612|    654|    break;
 8613|       |
 8614|      0|  case 260: /* type_specifier_nonarray: MAT4X4  */
  ------------------
  |  Branch (8614:3): [True: 0, False: 14.6M]
  ------------------
 8615|      0|#line 1987 "MachineIndependent/glslang.y"
 8616|      0|             {
 8617|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8618|      0|        (yyval.interm.type).basicType = EbtFloat;
 8619|      0|        (yyval.interm.type).setMatrix(4, 4);
 8620|      0|    }
 8621|      0|#line 8622 "MachineIndependent/glslang_tab.cpp"
 8622|      0|    break;
 8623|       |
 8624|  2.40k|  case 261: /* type_specifier_nonarray: DOUBLE  */
  ------------------
  |  Branch (8624:3): [True: 2.40k, False: 14.6M]
  ------------------
 8625|  2.40k|#line 1992 "MachineIndependent/glslang.y"
 8626|  2.40k|             {
 8627|  2.40k|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double");
  ------------------
  |  |  783|  2.40k|#define parseContext (*pParseContext)
  ------------------
 8628|  2.40k|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|  2.40k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8628:13): [True: 0, False: 2.40k]
  ------------------
 8629|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8630|  2.40k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.40k|#define parseContext (*pParseContext)
  ------------------
 8631|  2.40k|        (yyval.interm.type).basicType = EbtDouble;
 8632|  2.40k|    }
 8633|  2.40k|#line 8634 "MachineIndependent/glslang_tab.cpp"
 8634|  2.40k|    break;
 8635|       |
 8636|     90|  case 262: /* type_specifier_nonarray: BFLOAT16_T  */
  ------------------
  |  Branch (8636:3): [True: 90, False: 14.6M]
  ------------------
 8637|     90|#line 1999 "MachineIndependent/glslang.y"
 8638|     90|                 {
 8639|     90|        parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "bfloat16_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     90|#define parseContext (*pParseContext)
  ------------------
                      parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "bfloat16_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     90|#define parseContext (*pParseContext)
  ------------------
 8640|     90|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     90|#define parseContext (*pParseContext)
  ------------------
 8641|     90|        (yyval.interm.type).basicType = EbtBFloat16;
 8642|     90|    }
 8643|     90|#line 8644 "MachineIndependent/glslang_tab.cpp"
 8644|     90|    break;
 8645|       |
 8646|     60|  case 263: /* type_specifier_nonarray: FLOATE5M2_T  */
  ------------------
  |  Branch (8646:3): [True: 60, False: 14.6M]
  ------------------
 8647|     60|#line 2004 "MachineIndependent/glslang.y"
 8648|     60|                  {
 8649|     60|        parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "floate5m2_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "floate5m2_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
 8650|     60|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
 8651|     60|        (yyval.interm.type).basicType = EbtFloatE5M2;
 8652|     60|    }
 8653|     60|#line 8654 "MachineIndependent/glslang_tab.cpp"
 8654|     60|    break;
 8655|       |
 8656|     60|  case 264: /* type_specifier_nonarray: FLOATE4M3_T  */
  ------------------
  |  Branch (8656:3): [True: 60, False: 14.6M]
  ------------------
 8657|     60|#line 2009 "MachineIndependent/glslang.y"
 8658|     60|                  {
 8659|     60|        parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "floate4m3_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "floate4m3_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
 8660|     60|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
 8661|     60|        (yyval.interm.type).basicType = EbtFloatE4M3;
 8662|     60|    }
 8663|     60|#line 8664 "MachineIndependent/glslang_tab.cpp"
 8664|     60|    break;
 8665|       |
 8666|     25|  case 265: /* type_specifier_nonarray: FLOATE2M1_T  */
  ------------------
  |  Branch (8666:3): [True: 25, False: 14.6M]
  ------------------
 8667|     25|#line 2014 "MachineIndependent/glslang.y"
 8668|     25|                  {
 8669|     25|        parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "floate2m1_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "floate2m1_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
 8670|     25|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
 8671|     25|        (yyval.interm.type).basicType = EbtFloatE2M1;
 8672|     25|    }
 8673|     25|#line 8674 "MachineIndependent/glslang_tab.cpp"
 8674|     25|    break;
 8675|       |
 8676|     25|  case 266: /* type_specifier_nonarray: FLOATE3M2_T  */
  ------------------
  |  Branch (8676:3): [True: 25, False: 14.6M]
  ------------------
 8677|     25|#line 2019 "MachineIndependent/glslang.y"
 8678|     25|                  {
 8679|     25|        parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "floate3m2_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "floate3m2_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
 8680|     25|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
 8681|     25|        (yyval.interm.type).basicType = EbtFloatE3M2;
 8682|     25|    }
 8683|     25|#line 8684 "MachineIndependent/glslang_tab.cpp"
 8684|     25|    break;
 8685|       |
 8686|     25|  case 267: /* type_specifier_nonarray: FLOATE2M3_T  */
  ------------------
  |  Branch (8686:3): [True: 25, False: 14.6M]
  ------------------
 8687|     25|#line 2024 "MachineIndependent/glslang.y"
 8688|     25|                  {
 8689|     25|        parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "floate2m3_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "floate2m3_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
 8690|     25|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     25|#define parseContext (*pParseContext)
  ------------------
 8691|     25|        (yyval.interm.type).basicType = EbtFloatE2M3;
 8692|     25|    }
 8693|     25|#line 8694 "MachineIndependent/glslang_tab.cpp"
 8694|     25|    break;
 8695|       |
 8696|     20|  case 268: /* type_specifier_nonarray: FLOATUE8M0_T  */
  ------------------
  |  Branch (8696:3): [True: 20, False: 14.6M]
  ------------------
 8697|     20|#line 2029 "MachineIndependent/glslang.y"
 8698|     20|                   {
 8699|     20|        parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "floatue8m0_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "floatue8m0_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
 8700|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
 8701|     20|        (yyval.interm.type).basicType = EbtFloatUE8M0;
 8702|     20|    }
 8703|     20|#line 8704 "MachineIndependent/glslang_tab.cpp"
 8704|     20|    break;
 8705|       |
 8706|     20|  case 269: /* type_specifier_nonarray: FLOATMXINT8_T  */
  ------------------
  |  Branch (8706:3): [True: 20, False: 14.6M]
  ------------------
 8707|     20|#line 2034 "MachineIndependent/glslang.y"
 8708|     20|                    {
 8709|     20|        parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "floatmxint8_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "floatmxint8_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
 8710|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
 8711|     20|        (yyval.interm.type).basicType = EbtFloatMXINT8;
 8712|     20|    }
 8713|     20|#line 8714 "MachineIndependent/glslang_tab.cpp"
 8714|     20|    break;
 8715|       |
 8716|  19.3k|  case 270: /* type_specifier_nonarray: FLOAT16_T  */
  ------------------
  |  Branch (8716:3): [True: 19.3k, False: 14.6M]
  ------------------
 8717|  19.3k|#line 2039 "MachineIndependent/glslang.y"
 8718|  19.3k|                {
 8719|  19.3k|        parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "float16_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  19.3k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "float16_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  19.3k|#define parseContext (*pParseContext)
  ------------------
 8720|  19.3k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  19.3k|#define parseContext (*pParseContext)
  ------------------
 8721|  19.3k|        (yyval.interm.type).basicType = EbtFloat16;
 8722|  19.3k|    }
 8723|  19.3k|#line 8724 "MachineIndependent/glslang_tab.cpp"
 8724|  19.3k|    break;
 8725|       |
 8726|    380|  case 271: /* type_specifier_nonarray: FLOAT32_T  */
  ------------------
  |  Branch (8726:3): [True: 380, False: 14.6M]
  ------------------
 8727|    380|#line 2044 "MachineIndependent/glslang.y"
 8728|    380|                {
 8729|    380|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    380|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    380|#define parseContext (*pParseContext)
  ------------------
 8730|    380|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    380|#define parseContext (*pParseContext)
  ------------------
 8731|    380|        (yyval.interm.type).basicType = EbtFloat;
 8732|    380|    }
 8733|    380|#line 8734 "MachineIndependent/glslang_tab.cpp"
 8734|    380|    break;
 8735|       |
 8736|  1.17k|  case 272: /* type_specifier_nonarray: FLOAT64_T  */
  ------------------
  |  Branch (8736:3): [True: 1.17k, False: 14.6M]
  ------------------
 8737|  1.17k|#line 2049 "MachineIndependent/glslang.y"
 8738|  1.17k|                {
 8739|  1.17k|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.17k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.17k|#define parseContext (*pParseContext)
  ------------------
 8740|  1.17k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.17k|#define parseContext (*pParseContext)
  ------------------
 8741|  1.17k|        (yyval.interm.type).basicType = EbtDouble;
 8742|  1.17k|    }
 8743|  1.17k|#line 8744 "MachineIndependent/glslang_tab.cpp"
 8744|  1.17k|    break;
 8745|       |
 8746|  14.3k|  case 273: /* type_specifier_nonarray: INT8_T  */
  ------------------
  |  Branch (8746:3): [True: 14.3k, False: 14.6M]
  ------------------
 8747|  14.3k|#line 2054 "MachineIndependent/glslang.y"
 8748|  14.3k|             {
 8749|  14.3k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  14.3k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  14.3k|#define parseContext (*pParseContext)
  ------------------
 8750|  14.3k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  14.3k|#define parseContext (*pParseContext)
  ------------------
 8751|  14.3k|        (yyval.interm.type).basicType = EbtInt8;
 8752|  14.3k|    }
 8753|  14.3k|#line 8754 "MachineIndependent/glslang_tab.cpp"
 8754|  14.3k|    break;
 8755|       |
 8756|  14.2k|  case 274: /* type_specifier_nonarray: UINT8_T  */
  ------------------
  |  Branch (8756:3): [True: 14.2k, False: 14.6M]
  ------------------
 8757|  14.2k|#line 2059 "MachineIndependent/glslang.y"
 8758|  14.2k|              {
 8759|  14.2k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  14.2k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  14.2k|#define parseContext (*pParseContext)
  ------------------
 8760|  14.2k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  14.2k|#define parseContext (*pParseContext)
  ------------------
 8761|  14.2k|        (yyval.interm.type).basicType = EbtUint8;
 8762|  14.2k|    }
 8763|  14.2k|#line 8764 "MachineIndependent/glslang_tab.cpp"
 8764|  14.2k|    break;
 8765|       |
 8766|  16.1k|  case 275: /* type_specifier_nonarray: INT16_T  */
  ------------------
  |  Branch (8766:3): [True: 16.1k, False: 14.6M]
  ------------------
 8767|  16.1k|#line 2064 "MachineIndependent/glslang.y"
 8768|  16.1k|              {
 8769|  16.1k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  16.1k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  16.1k|#define parseContext (*pParseContext)
  ------------------
 8770|  16.1k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  16.1k|#define parseContext (*pParseContext)
  ------------------
 8771|  16.1k|        (yyval.interm.type).basicType = EbtInt16;
 8772|  16.1k|    }
 8773|  16.1k|#line 8774 "MachineIndependent/glslang_tab.cpp"
 8774|  16.1k|    break;
 8775|       |
 8776|  16.1k|  case 276: /* type_specifier_nonarray: UINT16_T  */
  ------------------
  |  Branch (8776:3): [True: 16.1k, False: 14.6M]
  ------------------
 8777|  16.1k|#line 2069 "MachineIndependent/glslang.y"
 8778|  16.1k|               {
 8779|  16.1k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  16.1k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  16.1k|#define parseContext (*pParseContext)
  ------------------
 8780|  16.1k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  16.1k|#define parseContext (*pParseContext)
  ------------------
 8781|  16.1k|        (yyval.interm.type).basicType = EbtUint16;
 8782|  16.1k|    }
 8783|  16.1k|#line 8784 "MachineIndependent/glslang_tab.cpp"
 8784|  16.1k|    break;
 8785|       |
 8786|    400|  case 277: /* type_specifier_nonarray: INT32_T  */
  ------------------
  |  Branch (8786:3): [True: 400, False: 14.6M]
  ------------------
 8787|    400|#line 2074 "MachineIndependent/glslang.y"
 8788|    400|              {
 8789|    400|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    400|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    400|#define parseContext (*pParseContext)
  ------------------
 8790|    400|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    400|#define parseContext (*pParseContext)
  ------------------
 8791|    400|        (yyval.interm.type).basicType = EbtInt;
 8792|    400|    }
 8793|    400|#line 8794 "MachineIndependent/glslang_tab.cpp"
 8794|    400|    break;
 8795|       |
 8796|    410|  case 278: /* type_specifier_nonarray: UINT32_T  */
  ------------------
  |  Branch (8796:3): [True: 410, False: 14.6M]
  ------------------
 8797|    410|#line 2079 "MachineIndependent/glslang.y"
 8798|    410|               {
 8799|    410|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    410|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    410|#define parseContext (*pParseContext)
  ------------------
 8800|    410|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    410|#define parseContext (*pParseContext)
  ------------------
 8801|    410|        (yyval.interm.type).basicType = EbtUint;
 8802|    410|    }
 8803|    410|#line 8804 "MachineIndependent/glslang_tab.cpp"
 8804|    410|    break;
 8805|       |
 8806|  18.2k|  case 279: /* type_specifier_nonarray: INT64_T  */
  ------------------
  |  Branch (8806:3): [True: 18.2k, False: 14.6M]
  ------------------
 8807|  18.2k|#line 2084 "MachineIndependent/glslang.y"
 8808|  18.2k|              {
 8809|  18.2k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  18.2k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  18.2k|#define parseContext (*pParseContext)
  ------------------
 8810|  18.2k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  18.2k|#define parseContext (*pParseContext)
  ------------------
 8811|  18.2k|        (yyval.interm.type).basicType = EbtInt64;
 8812|  18.2k|    }
 8813|  18.2k|#line 8814 "MachineIndependent/glslang_tab.cpp"
 8814|  18.2k|    break;
 8815|       |
 8816|  21.4k|  case 280: /* type_specifier_nonarray: UINT64_T  */
  ------------------
  |  Branch (8816:3): [True: 21.4k, False: 14.6M]
  ------------------
 8817|  21.4k|#line 2089 "MachineIndependent/glslang.y"
 8818|  21.4k|               {
 8819|  21.4k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  21.4k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  21.4k|#define parseContext (*pParseContext)
  ------------------
 8820|  21.4k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  21.4k|#define parseContext (*pParseContext)
  ------------------
 8821|  21.4k|        (yyval.interm.type).basicType = EbtUint64;
 8822|  21.4k|    }
 8823|  21.4k|#line 8824 "MachineIndependent/glslang_tab.cpp"
 8824|  21.4k|    break;
 8825|       |
 8826|  2.11k|  case 281: /* type_specifier_nonarray: DVEC2  */
  ------------------
  |  Branch (8826:3): [True: 2.11k, False: 14.6M]
  ------------------
 8827|  2.11k|#line 2094 "MachineIndependent/glslang.y"
 8828|  2.11k|            {
 8829|  2.11k|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double vector");
  ------------------
  |  |  783|  2.11k|#define parseContext (*pParseContext)
  ------------------
 8830|  2.11k|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|  2.11k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8830:13): [True: 0, False: 2.11k]
  ------------------
 8831|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double vector");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8832|  2.11k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.11k|#define parseContext (*pParseContext)
  ------------------
 8833|  2.11k|        (yyval.interm.type).basicType = EbtDouble;
 8834|  2.11k|        (yyval.interm.type).setVector(2);
 8835|  2.11k|    }
 8836|  2.11k|#line 8837 "MachineIndependent/glslang_tab.cpp"
 8837|  2.11k|    break;
 8838|       |
 8839|  2.12k|  case 282: /* type_specifier_nonarray: DVEC3  */
  ------------------
  |  Branch (8839:3): [True: 2.12k, False: 14.6M]
  ------------------
 8840|  2.12k|#line 2102 "MachineIndependent/glslang.y"
 8841|  2.12k|            {
 8842|  2.12k|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double vector");
  ------------------
  |  |  783|  2.12k|#define parseContext (*pParseContext)
  ------------------
 8843|  2.12k|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|  2.12k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8843:13): [True: 0, False: 2.12k]
  ------------------
 8844|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double vector");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8845|  2.12k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.12k|#define parseContext (*pParseContext)
  ------------------
 8846|  2.12k|        (yyval.interm.type).basicType = EbtDouble;
 8847|  2.12k|        (yyval.interm.type).setVector(3);
 8848|  2.12k|    }
 8849|  2.12k|#line 8850 "MachineIndependent/glslang_tab.cpp"
 8850|  2.12k|    break;
 8851|       |
 8852|  2.11k|  case 283: /* type_specifier_nonarray: DVEC4  */
  ------------------
  |  Branch (8852:3): [True: 2.11k, False: 14.6M]
  ------------------
 8853|  2.11k|#line 2110 "MachineIndependent/glslang.y"
 8854|  2.11k|            {
 8855|  2.11k|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double vector");
  ------------------
  |  |  783|  2.11k|#define parseContext (*pParseContext)
  ------------------
 8856|  2.11k|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|  2.11k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8856:13): [True: 0, False: 2.11k]
  ------------------
 8857|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double vector");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8858|  2.11k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.11k|#define parseContext (*pParseContext)
  ------------------
 8859|  2.11k|        (yyval.interm.type).basicType = EbtDouble;
 8860|  2.11k|        (yyval.interm.type).setVector(4);
 8861|  2.11k|    }
 8862|  2.11k|#line 8863 "MachineIndependent/glslang_tab.cpp"
 8863|  2.11k|    break;
 8864|       |
 8865|     50|  case 284: /* type_specifier_nonarray: BF16VEC2  */
  ------------------
  |  Branch (8865:3): [True: 50, False: 14.6M]
  ------------------
 8866|     50|#line 2118 "MachineIndependent/glslang.y"
 8867|     50|               {
 8868|     50|        parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
                      parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
 8869|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
 8870|     50|        (yyval.interm.type).basicType = EbtBFloat16;
 8871|     50|        (yyval.interm.type).setVector(2);
 8872|     50|    }
 8873|     50|#line 8874 "MachineIndependent/glslang_tab.cpp"
 8874|     50|    break;
 8875|       |
 8876|     30|  case 285: /* type_specifier_nonarray: BF16VEC3  */
  ------------------
  |  Branch (8876:3): [True: 30, False: 14.6M]
  ------------------
 8877|     30|#line 2124 "MachineIndependent/glslang.y"
 8878|     30|               {
 8879|     30|        parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
                      parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
 8880|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
 8881|     30|        (yyval.interm.type).basicType = EbtBFloat16;
 8882|     30|        (yyval.interm.type).setVector(3);
 8883|     30|    }
 8884|     30|#line 8885 "MachineIndependent/glslang_tab.cpp"
 8885|     30|    break;
 8886|       |
 8887|     50|  case 286: /* type_specifier_nonarray: BF16VEC4  */
  ------------------
  |  Branch (8887:3): [True: 50, False: 14.6M]
  ------------------
 8888|     50|#line 2130 "MachineIndependent/glslang.y"
 8889|     50|               {
 8890|     50|        parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
                      parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
 8891|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
 8892|     50|        (yyval.interm.type).basicType = EbtBFloat16;
 8893|     50|        (yyval.interm.type).setVector(4);
 8894|     50|    }
 8895|     50|#line 8896 "MachineIndependent/glslang_tab.cpp"
 8896|     50|    break;
 8897|       |
 8898|     40|  case 287: /* type_specifier_nonarray: FE5M2VEC2  */
  ------------------
  |  Branch (8898:3): [True: 40, False: 14.6M]
  ------------------
 8899|     40|#line 2136 "MachineIndependent/glslang.y"
 8900|     40|                {
 8901|     40|        parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     40|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     40|#define parseContext (*pParseContext)
  ------------------
 8902|     40|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     40|#define parseContext (*pParseContext)
  ------------------
 8903|     40|        (yyval.interm.type).basicType = EbtFloatE5M2;
 8904|     40|        (yyval.interm.type).setVector(2);
 8905|     40|    }
 8906|     40|#line 8907 "MachineIndependent/glslang_tab.cpp"
 8907|     40|    break;
 8908|       |
 8909|     20|  case 288: /* type_specifier_nonarray: FE5M2VEC3  */
  ------------------
  |  Branch (8909:3): [True: 20, False: 14.6M]
  ------------------
 8910|     20|#line 2142 "MachineIndependent/glslang.y"
 8911|     20|                {
 8912|     20|        parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
 8913|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
 8914|     20|        (yyval.interm.type).basicType = EbtFloatE5M2;
 8915|     20|        (yyval.interm.type).setVector(3);
 8916|     20|    }
 8917|     20|#line 8918 "MachineIndependent/glslang_tab.cpp"
 8918|     20|    break;
 8919|       |
 8920|     40|  case 289: /* type_specifier_nonarray: FE5M2VEC4  */
  ------------------
  |  Branch (8920:3): [True: 40, False: 14.6M]
  ------------------
 8921|     40|#line 2148 "MachineIndependent/glslang.y"
 8922|     40|                {
 8923|     40|        parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     40|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     40|#define parseContext (*pParseContext)
  ------------------
 8924|     40|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     40|#define parseContext (*pParseContext)
  ------------------
 8925|     40|        (yyval.interm.type).basicType = EbtFloatE5M2;
 8926|     40|        (yyval.interm.type).setVector(4);
 8927|     40|    }
 8928|     40|#line 8929 "MachineIndependent/glslang_tab.cpp"
 8929|     40|    break;
 8930|       |
 8931|     40|  case 290: /* type_specifier_nonarray: FE4M3VEC2  */
  ------------------
  |  Branch (8931:3): [True: 40, False: 14.6M]
  ------------------
 8932|     40|#line 2154 "MachineIndependent/glslang.y"
 8933|     40|                {
 8934|     40|        parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     40|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     40|#define parseContext (*pParseContext)
  ------------------
 8935|     40|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     40|#define parseContext (*pParseContext)
  ------------------
 8936|     40|        (yyval.interm.type).basicType = EbtFloatE4M3;
 8937|     40|        (yyval.interm.type).setVector(2);
 8938|     40|    }
 8939|     40|#line 8940 "MachineIndependent/glslang_tab.cpp"
 8940|     40|    break;
 8941|       |
 8942|     20|  case 291: /* type_specifier_nonarray: FE4M3VEC3  */
  ------------------
  |  Branch (8942:3): [True: 20, False: 14.6M]
  ------------------
 8943|     20|#line 2160 "MachineIndependent/glslang.y"
 8944|     20|                {
 8945|     20|        parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
 8946|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
 8947|     20|        (yyval.interm.type).basicType = EbtFloatE4M3;
 8948|     20|        (yyval.interm.type).setVector(3);
 8949|     20|    }
 8950|     20|#line 8951 "MachineIndependent/glslang_tab.cpp"
 8951|     20|    break;
 8952|       |
 8953|     40|  case 292: /* type_specifier_nonarray: FE4M3VEC4  */
  ------------------
  |  Branch (8953:3): [True: 40, False: 14.6M]
  ------------------
 8954|     40|#line 2166 "MachineIndependent/glslang.y"
 8955|     40|                {
 8956|     40|        parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     40|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     40|#define parseContext (*pParseContext)
  ------------------
 8957|     40|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     40|#define parseContext (*pParseContext)
  ------------------
 8958|     40|        (yyval.interm.type).basicType = EbtFloatE4M3;
 8959|     40|        (yyval.interm.type).setVector(4);
 8960|     40|    }
 8961|     40|#line 8962 "MachineIndependent/glslang_tab.cpp"
 8962|     40|    break;
 8963|       |
 8964|     15|  case 293: /* type_specifier_nonarray: FE2M1VEC2  */
  ------------------
  |  Branch (8964:3): [True: 15, False: 14.6M]
  ------------------
 8965|     15|#line 2172 "MachineIndependent/glslang.y"
 8966|     15|                {
 8967|     15|        parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     15|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     15|#define parseContext (*pParseContext)
  ------------------
 8968|     15|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     15|#define parseContext (*pParseContext)
  ------------------
 8969|     15|        (yyval.interm.type).basicType = EbtFloatE2M1;
 8970|     15|        (yyval.interm.type).setVector(2);
 8971|     15|    }
 8972|     15|#line 8973 "MachineIndependent/glslang_tab.cpp"
 8973|     15|    break;
 8974|       |
 8975|      5|  case 294: /* type_specifier_nonarray: FE2M1VEC3  */
  ------------------
  |  Branch (8975:3): [True: 5, False: 14.6M]
  ------------------
 8976|      5|#line 2178 "MachineIndependent/glslang.y"
 8977|      5|                {
 8978|      5|        parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      5|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      5|#define parseContext (*pParseContext)
  ------------------
 8979|      5|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      5|#define parseContext (*pParseContext)
  ------------------
 8980|      5|        (yyval.interm.type).basicType = EbtFloatE2M1;
 8981|      5|        (yyval.interm.type).setVector(3);
 8982|      5|    }
 8983|      5|#line 8984 "MachineIndependent/glslang_tab.cpp"
 8984|      5|    break;
 8985|       |
 8986|     15|  case 295: /* type_specifier_nonarray: FE2M1VEC4  */
  ------------------
  |  Branch (8986:3): [True: 15, False: 14.6M]
  ------------------
 8987|     15|#line 2184 "MachineIndependent/glslang.y"
 8988|     15|                {
 8989|     15|        parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     15|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     15|#define parseContext (*pParseContext)
  ------------------
 8990|     15|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     15|#define parseContext (*pParseContext)
  ------------------
 8991|     15|        (yyval.interm.type).basicType = EbtFloatE2M1;
 8992|     15|        (yyval.interm.type).setVector(4);
 8993|     15|    }
 8994|     15|#line 8995 "MachineIndependent/glslang_tab.cpp"
 8995|     15|    break;
 8996|       |
 8997|      5|  case 296: /* type_specifier_nonarray: FE3M2VEC2  */
  ------------------
  |  Branch (8997:3): [True: 5, False: 14.6M]
  ------------------
 8998|      5|#line 2190 "MachineIndependent/glslang.y"
 8999|      5|                {
 9000|      5|        parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      5|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      5|#define parseContext (*pParseContext)
  ------------------
 9001|      5|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      5|#define parseContext (*pParseContext)
  ------------------
 9002|      5|        (yyval.interm.type).basicType = EbtFloatE3M2;
 9003|      5|        (yyval.interm.type).setVector(2);
 9004|      5|    }
 9005|      5|#line 9006 "MachineIndependent/glslang_tab.cpp"
 9006|      5|    break;
 9007|       |
 9008|      5|  case 297: /* type_specifier_nonarray: FE3M2VEC3  */
  ------------------
  |  Branch (9008:3): [True: 5, False: 14.6M]
  ------------------
 9009|      5|#line 2196 "MachineIndependent/glslang.y"
 9010|      5|                {
 9011|      5|        parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      5|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      5|#define parseContext (*pParseContext)
  ------------------
 9012|      5|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      5|#define parseContext (*pParseContext)
  ------------------
 9013|      5|        (yyval.interm.type).basicType = EbtFloatE3M2;
 9014|      5|        (yyval.interm.type).setVector(3);
 9015|      5|    }
 9016|      5|#line 9017 "MachineIndependent/glslang_tab.cpp"
 9017|      5|    break;
 9018|       |
 9019|     15|  case 298: /* type_specifier_nonarray: FE3M2VEC4  */
  ------------------
  |  Branch (9019:3): [True: 15, False: 14.6M]
  ------------------
 9020|     15|#line 2202 "MachineIndependent/glslang.y"
 9021|     15|                {
 9022|     15|        parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     15|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     15|#define parseContext (*pParseContext)
  ------------------
 9023|     15|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     15|#define parseContext (*pParseContext)
  ------------------
 9024|     15|        (yyval.interm.type).basicType = EbtFloatE3M2;
 9025|     15|        (yyval.interm.type).setVector(4);
 9026|     15|    }
 9027|     15|#line 9028 "MachineIndependent/glslang_tab.cpp"
 9028|     15|    break;
 9029|       |
 9030|      5|  case 299: /* type_specifier_nonarray: FE2M3VEC2  */
  ------------------
  |  Branch (9030:3): [True: 5, False: 14.6M]
  ------------------
 9031|      5|#line 2208 "MachineIndependent/glslang.y"
 9032|      5|                {
 9033|      5|        parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      5|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      5|#define parseContext (*pParseContext)
  ------------------
 9034|      5|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      5|#define parseContext (*pParseContext)
  ------------------
 9035|      5|        (yyval.interm.type).basicType = EbtFloatE2M3;
 9036|      5|        (yyval.interm.type).setVector(2);
 9037|      5|    }
 9038|      5|#line 9039 "MachineIndependent/glslang_tab.cpp"
 9039|      5|    break;
 9040|       |
 9041|      5|  case 300: /* type_specifier_nonarray: FE2M3VEC3  */
  ------------------
  |  Branch (9041:3): [True: 5, False: 14.6M]
  ------------------
 9042|      5|#line 2214 "MachineIndependent/glslang.y"
 9043|      5|                {
 9044|      5|        parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      5|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      5|#define parseContext (*pParseContext)
  ------------------
 9045|      5|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      5|#define parseContext (*pParseContext)
  ------------------
 9046|      5|        (yyval.interm.type).basicType = EbtFloatE2M3;
 9047|      5|        (yyval.interm.type).setVector(3);
 9048|      5|    }
 9049|      5|#line 9050 "MachineIndependent/glslang_tab.cpp"
 9050|      5|    break;
 9051|       |
 9052|     15|  case 301: /* type_specifier_nonarray: FE2M3VEC4  */
  ------------------
  |  Branch (9052:3): [True: 15, False: 14.6M]
  ------------------
 9053|     15|#line 2220 "MachineIndependent/glslang.y"
 9054|     15|                {
 9055|     15|        parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     15|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     15|#define parseContext (*pParseContext)
  ------------------
 9056|     15|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     15|#define parseContext (*pParseContext)
  ------------------
 9057|     15|        (yyval.interm.type).basicType = EbtFloatE2M3;
 9058|     15|        (yyval.interm.type).setVector(4);
 9059|     15|    }
 9060|     15|#line 9061 "MachineIndependent/glslang_tab.cpp"
 9061|     15|    break;
 9062|       |
 9063|     20|  case 302: /* type_specifier_nonarray: FUE8M0VEC2  */
  ------------------
  |  Branch (9063:3): [True: 20, False: 14.6M]
  ------------------
 9064|     20|#line 2226 "MachineIndependent/glslang.y"
 9065|     20|                 {
 9066|     20|        parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
 9067|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
 9068|     20|        (yyval.interm.type).basicType = EbtFloatUE8M0;
 9069|     20|        (yyval.interm.type).setVector(2);
 9070|     20|    }
 9071|     20|#line 9072 "MachineIndependent/glslang_tab.cpp"
 9072|     20|    break;
 9073|       |
 9074|     20|  case 303: /* type_specifier_nonarray: FUE8M0VEC3  */
  ------------------
  |  Branch (9074:3): [True: 20, False: 14.6M]
  ------------------
 9075|     20|#line 2232 "MachineIndependent/glslang.y"
 9076|     20|                 {
 9077|     20|        parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
 9078|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
 9079|     20|        (yyval.interm.type).basicType = EbtFloatUE8M0;
 9080|     20|        (yyval.interm.type).setVector(3);
 9081|     20|    }
 9082|     20|#line 9083 "MachineIndependent/glslang_tab.cpp"
 9083|     20|    break;
 9084|       |
 9085|     20|  case 304: /* type_specifier_nonarray: FUE8M0VEC4  */
  ------------------
  |  Branch (9085:3): [True: 20, False: 14.6M]
  ------------------
 9086|     20|#line 2238 "MachineIndependent/glslang.y"
 9087|     20|                 {
 9088|     20|        parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
 9089|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
 9090|     20|        (yyval.interm.type).basicType = EbtFloatUE8M0;
 9091|     20|        (yyval.interm.type).setVector(4);
 9092|     20|    }
 9093|     20|#line 9094 "MachineIndependent/glslang_tab.cpp"
 9094|     20|    break;
 9095|       |
 9096|     20|  case 305: /* type_specifier_nonarray: FMXINT8VEC2  */
  ------------------
  |  Branch (9096:3): [True: 20, False: 14.6M]
  ------------------
 9097|     20|#line 2244 "MachineIndependent/glslang.y"
 9098|     20|                  {
 9099|     20|        parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
 9100|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
 9101|     20|        (yyval.interm.type).basicType = EbtFloatMXINT8;
 9102|     20|        (yyval.interm.type).setVector(2);
 9103|     20|    }
 9104|     20|#line 9105 "MachineIndependent/glslang_tab.cpp"
 9105|     20|    break;
 9106|       |
 9107|     20|  case 306: /* type_specifier_nonarray: FMXINT8VEC3  */
  ------------------
  |  Branch (9107:3): [True: 20, False: 14.6M]
  ------------------
 9108|     20|#line 2250 "MachineIndependent/glslang.y"
 9109|     20|                  {
 9110|     20|        parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
 9111|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
 9112|     20|        (yyval.interm.type).basicType = EbtFloatMXINT8;
 9113|     20|        (yyval.interm.type).setVector(3);
 9114|     20|    }
 9115|     20|#line 9116 "MachineIndependent/glslang_tab.cpp"
 9116|     20|    break;
 9117|       |
 9118|     20|  case 307: /* type_specifier_nonarray: FMXINT8VEC4  */
  ------------------
  |  Branch (9118:3): [True: 20, False: 14.6M]
  ------------------
 9119|     20|#line 2256 "MachineIndependent/glslang.y"
 9120|     20|                  {
 9121|     20|        parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
 9122|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
 9123|     20|        (yyval.interm.type).basicType = EbtFloatMXINT8;
 9124|     20|        (yyval.interm.type).setVector(4);
 9125|     20|    }
 9126|     20|#line 9127 "MachineIndependent/glslang_tab.cpp"
 9127|     20|    break;
 9128|       |
 9129|  14.8k|  case 308: /* type_specifier_nonarray: F16VEC2  */
  ------------------
  |  Branch (9129:3): [True: 14.8k, False: 14.6M]
  ------------------
 9130|  14.8k|#line 2262 "MachineIndependent/glslang.y"
 9131|  14.8k|              {
 9132|  14.8k|        parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  14.8k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  14.8k|#define parseContext (*pParseContext)
  ------------------
 9133|  14.8k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  14.8k|#define parseContext (*pParseContext)
  ------------------
 9134|  14.8k|        (yyval.interm.type).basicType = EbtFloat16;
 9135|  14.8k|        (yyval.interm.type).setVector(2);
 9136|  14.8k|    }
 9137|  14.8k|#line 9138 "MachineIndependent/glslang_tab.cpp"
 9138|  14.8k|    break;
 9139|       |
 9140|  13.3k|  case 309: /* type_specifier_nonarray: F16VEC3  */
  ------------------
  |  Branch (9140:3): [True: 13.3k, False: 14.6M]
  ------------------
 9141|  13.3k|#line 2268 "MachineIndependent/glslang.y"
 9142|  13.3k|              {
 9143|  13.3k|        parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  13.3k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  13.3k|#define parseContext (*pParseContext)
  ------------------
 9144|  13.3k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  13.3k|#define parseContext (*pParseContext)
  ------------------
 9145|  13.3k|        (yyval.interm.type).basicType = EbtFloat16;
 9146|  13.3k|        (yyval.interm.type).setVector(3);
 9147|  13.3k|    }
 9148|  13.3k|#line 9149 "MachineIndependent/glslang_tab.cpp"
 9149|  13.3k|    break;
 9150|       |
 9151|  20.5k|  case 310: /* type_specifier_nonarray: F16VEC4  */
  ------------------
  |  Branch (9151:3): [True: 20.5k, False: 14.6M]
  ------------------
 9152|  20.5k|#line 2274 "MachineIndependent/glslang.y"
 9153|  20.5k|              {
 9154|  20.5k|        parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  20.5k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  20.5k|#define parseContext (*pParseContext)
  ------------------
 9155|  20.5k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  20.5k|#define parseContext (*pParseContext)
  ------------------
 9156|  20.5k|        (yyval.interm.type).basicType = EbtFloat16;
 9157|  20.5k|        (yyval.interm.type).setVector(4);
 9158|  20.5k|    }
 9159|  20.5k|#line 9160 "MachineIndependent/glslang_tab.cpp"
 9160|  20.5k|    break;
 9161|       |
 9162|     20|  case 311: /* type_specifier_nonarray: F32VEC2  */
  ------------------
  |  Branch (9162:3): [True: 20, False: 14.6M]
  ------------------
 9163|     20|#line 2280 "MachineIndependent/glslang.y"
 9164|     20|              {
 9165|     20|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
 9166|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
 9167|     20|        (yyval.interm.type).basicType = EbtFloat;
 9168|     20|        (yyval.interm.type).setVector(2);
 9169|     20|    }
 9170|     20|#line 9171 "MachineIndependent/glslang_tab.cpp"
 9171|     20|    break;
 9172|       |
 9173|     20|  case 312: /* type_specifier_nonarray: F32VEC3  */
  ------------------
  |  Branch (9173:3): [True: 20, False: 14.6M]
  ------------------
 9174|     20|#line 2286 "MachineIndependent/glslang.y"
 9175|     20|              {
 9176|     20|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
 9177|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
 9178|     20|        (yyval.interm.type).basicType = EbtFloat;
 9179|     20|        (yyval.interm.type).setVector(3);
 9180|     20|    }
 9181|     20|#line 9182 "MachineIndependent/glslang_tab.cpp"
 9182|     20|    break;
 9183|       |
 9184|     20|  case 313: /* type_specifier_nonarray: F32VEC4  */
  ------------------
  |  Branch (9184:3): [True: 20, False: 14.6M]
  ------------------
 9185|     20|#line 2292 "MachineIndependent/glslang.y"
 9186|     20|              {
 9187|     20|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
 9188|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
 9189|     20|        (yyval.interm.type).basicType = EbtFloat;
 9190|     20|        (yyval.interm.type).setVector(4);
 9191|     20|    }
 9192|     20|#line 9193 "MachineIndependent/glslang_tab.cpp"
 9193|     20|    break;
 9194|       |
 9195|    942|  case 314: /* type_specifier_nonarray: F64VEC2  */
  ------------------
  |  Branch (9195:3): [True: 942, False: 14.6M]
  ------------------
 9196|    942|#line 2298 "MachineIndependent/glslang.y"
 9197|    942|              {
 9198|    942|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    942|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    942|#define parseContext (*pParseContext)
  ------------------
 9199|    942|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    942|#define parseContext (*pParseContext)
  ------------------
 9200|    942|        (yyval.interm.type).basicType = EbtDouble;
 9201|    942|        (yyval.interm.type).setVector(2);
 9202|    942|    }
 9203|    942|#line 9204 "MachineIndependent/glslang_tab.cpp"
 9204|    942|    break;
 9205|       |
 9206|    898|  case 315: /* type_specifier_nonarray: F64VEC3  */
  ------------------
  |  Branch (9206:3): [True: 898, False: 14.6M]
  ------------------
 9207|    898|#line 2304 "MachineIndependent/glslang.y"
 9208|    898|              {
 9209|    898|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    898|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    898|#define parseContext (*pParseContext)
  ------------------
 9210|    898|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    898|#define parseContext (*pParseContext)
  ------------------
 9211|    898|        (yyval.interm.type).basicType = EbtDouble;
 9212|    898|        (yyval.interm.type).setVector(3);
 9213|    898|    }
 9214|    898|#line 9215 "MachineIndependent/glslang_tab.cpp"
 9215|    898|    break;
 9216|       |
 9217|    898|  case 316: /* type_specifier_nonarray: F64VEC4  */
  ------------------
  |  Branch (9217:3): [True: 898, False: 14.6M]
  ------------------
 9218|    898|#line 2310 "MachineIndependent/glslang.y"
 9219|    898|              {
 9220|    898|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    898|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    898|#define parseContext (*pParseContext)
  ------------------
 9221|    898|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    898|#define parseContext (*pParseContext)
  ------------------
 9222|    898|        (yyval.interm.type).basicType = EbtDouble;
 9223|    898|        (yyval.interm.type).setVector(4);
 9224|    898|    }
 9225|    898|#line 9226 "MachineIndependent/glslang_tab.cpp"
 9226|    898|    break;
 9227|       |
 9228|  13.9k|  case 317: /* type_specifier_nonarray: I8VEC2  */
  ------------------
  |  Branch (9228:3): [True: 13.9k, False: 14.6M]
  ------------------
 9229|  13.9k|#line 2316 "MachineIndependent/glslang.y"
 9230|  13.9k|             {
 9231|  13.9k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  13.9k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  13.9k|#define parseContext (*pParseContext)
  ------------------
 9232|  13.9k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  13.9k|#define parseContext (*pParseContext)
  ------------------
 9233|  13.9k|        (yyval.interm.type).basicType = EbtInt8;
 9234|  13.9k|        (yyval.interm.type).setVector(2);
 9235|  13.9k|    }
 9236|  13.9k|#line 9237 "MachineIndependent/glslang_tab.cpp"
 9237|  13.9k|    break;
 9238|       |
 9239|  13.8k|  case 318: /* type_specifier_nonarray: I8VEC3  */
  ------------------
  |  Branch (9239:3): [True: 13.8k, False: 14.6M]
  ------------------
 9240|  13.8k|#line 2322 "MachineIndependent/glslang.y"
 9241|  13.8k|             {
 9242|  13.8k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  13.8k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  13.8k|#define parseContext (*pParseContext)
  ------------------
 9243|  13.8k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  13.8k|#define parseContext (*pParseContext)
  ------------------
 9244|  13.8k|        (yyval.interm.type).basicType = EbtInt8;
 9245|  13.8k|        (yyval.interm.type).setVector(3);
 9246|  13.8k|    }
 9247|  13.8k|#line 9248 "MachineIndependent/glslang_tab.cpp"
 9248|  13.8k|    break;
 9249|       |
 9250|  13.9k|  case 319: /* type_specifier_nonarray: I8VEC4  */
  ------------------
  |  Branch (9250:3): [True: 13.9k, False: 14.6M]
  ------------------
 9251|  13.9k|#line 2328 "MachineIndependent/glslang.y"
 9252|  13.9k|             {
 9253|  13.9k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  13.9k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  13.9k|#define parseContext (*pParseContext)
  ------------------
 9254|  13.9k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  13.9k|#define parseContext (*pParseContext)
  ------------------
 9255|  13.9k|        (yyval.interm.type).basicType = EbtInt8;
 9256|  13.9k|        (yyval.interm.type).setVector(4);
 9257|  13.9k|    }
 9258|  13.9k|#line 9259 "MachineIndependent/glslang_tab.cpp"
 9259|  13.9k|    break;
 9260|       |
 9261|  15.6k|  case 320: /* type_specifier_nonarray: I16VEC2  */
  ------------------
  |  Branch (9261:3): [True: 15.6k, False: 14.6M]
  ------------------
 9262|  15.6k|#line 2334 "MachineIndependent/glslang.y"
 9263|  15.6k|              {
 9264|  15.6k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  15.6k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  15.6k|#define parseContext (*pParseContext)
  ------------------
 9265|  15.6k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  15.6k|#define parseContext (*pParseContext)
  ------------------
 9266|  15.6k|        (yyval.interm.type).basicType = EbtInt16;
 9267|  15.6k|        (yyval.interm.type).setVector(2);
 9268|  15.6k|    }
 9269|  15.6k|#line 9270 "MachineIndependent/glslang_tab.cpp"
 9270|  15.6k|    break;
 9271|       |
 9272|  15.6k|  case 321: /* type_specifier_nonarray: I16VEC3  */
  ------------------
  |  Branch (9272:3): [True: 15.6k, False: 14.6M]
  ------------------
 9273|  15.6k|#line 2340 "MachineIndependent/glslang.y"
 9274|  15.6k|              {
 9275|  15.6k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  15.6k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  15.6k|#define parseContext (*pParseContext)
  ------------------
 9276|  15.6k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  15.6k|#define parseContext (*pParseContext)
  ------------------
 9277|  15.6k|        (yyval.interm.type).basicType = EbtInt16;
 9278|  15.6k|        (yyval.interm.type).setVector(3);
 9279|  15.6k|    }
 9280|  15.6k|#line 9281 "MachineIndependent/glslang_tab.cpp"
 9281|  15.6k|    break;
 9282|       |
 9283|  15.6k|  case 322: /* type_specifier_nonarray: I16VEC4  */
  ------------------
  |  Branch (9283:3): [True: 15.6k, False: 14.6M]
  ------------------
 9284|  15.6k|#line 2346 "MachineIndependent/glslang.y"
 9285|  15.6k|              {
 9286|  15.6k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  15.6k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  15.6k|#define parseContext (*pParseContext)
  ------------------
 9287|  15.6k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  15.6k|#define parseContext (*pParseContext)
  ------------------
 9288|  15.6k|        (yyval.interm.type).basicType = EbtInt16;
 9289|  15.6k|        (yyval.interm.type).setVector(4);
 9290|  15.6k|    }
 9291|  15.6k|#line 9292 "MachineIndependent/glslang_tab.cpp"
 9292|  15.6k|    break;
 9293|       |
 9294|     30|  case 323: /* type_specifier_nonarray: I32VEC2  */
  ------------------
  |  Branch (9294:3): [True: 30, False: 14.6M]
  ------------------
 9295|     30|#line 2352 "MachineIndependent/glslang.y"
 9296|     30|              {
 9297|     30|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
 9298|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
 9299|     30|        (yyval.interm.type).basicType = EbtInt;
 9300|     30|        (yyval.interm.type).setVector(2);
 9301|     30|    }
 9302|     30|#line 9303 "MachineIndependent/glslang_tab.cpp"
 9303|     30|    break;
 9304|       |
 9305|     20|  case 324: /* type_specifier_nonarray: I32VEC3  */
  ------------------
  |  Branch (9305:3): [True: 20, False: 14.6M]
  ------------------
 9306|     20|#line 2358 "MachineIndependent/glslang.y"
 9307|     20|              {
 9308|     20|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
 9309|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
 9310|     20|        (yyval.interm.type).basicType = EbtInt;
 9311|     20|        (yyval.interm.type).setVector(3);
 9312|     20|    }
 9313|     20|#line 9314 "MachineIndependent/glslang_tab.cpp"
 9314|     20|    break;
 9315|       |
 9316|     20|  case 325: /* type_specifier_nonarray: I32VEC4  */
  ------------------
  |  Branch (9316:3): [True: 20, False: 14.6M]
  ------------------
 9317|     20|#line 2364 "MachineIndependent/glslang.y"
 9318|     20|              {
 9319|     20|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
 9320|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
 9321|     20|        (yyval.interm.type).basicType = EbtInt;
 9322|     20|        (yyval.interm.type).setVector(4);
 9323|     20|    }
 9324|     20|#line 9325 "MachineIndependent/glslang_tab.cpp"
 9325|     20|    break;
 9326|       |
 9327|  15.6k|  case 326: /* type_specifier_nonarray: I64VEC2  */
  ------------------
  |  Branch (9327:3): [True: 15.6k, False: 14.6M]
  ------------------
 9328|  15.6k|#line 2370 "MachineIndependent/glslang.y"
 9329|  15.6k|              {
 9330|  15.6k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  15.6k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  15.6k|#define parseContext (*pParseContext)
  ------------------
 9331|  15.6k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  15.6k|#define parseContext (*pParseContext)
  ------------------
 9332|  15.6k|        (yyval.interm.type).basicType = EbtInt64;
 9333|  15.6k|        (yyval.interm.type).setVector(2);
 9334|  15.6k|    }
 9335|  15.6k|#line 9336 "MachineIndependent/glslang_tab.cpp"
 9336|  15.6k|    break;
 9337|       |
 9338|  15.5k|  case 327: /* type_specifier_nonarray: I64VEC3  */
  ------------------
  |  Branch (9338:3): [True: 15.5k, False: 14.6M]
  ------------------
 9339|  15.5k|#line 2376 "MachineIndependent/glslang.y"
 9340|  15.5k|              {
 9341|  15.5k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  15.5k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  15.5k|#define parseContext (*pParseContext)
  ------------------
 9342|  15.5k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  15.5k|#define parseContext (*pParseContext)
  ------------------
 9343|  15.5k|        (yyval.interm.type).basicType = EbtInt64;
 9344|  15.5k|        (yyval.interm.type).setVector(3);
 9345|  15.5k|    }
 9346|  15.5k|#line 9347 "MachineIndependent/glslang_tab.cpp"
 9347|  15.5k|    break;
 9348|       |
 9349|  15.8k|  case 328: /* type_specifier_nonarray: I64VEC4  */
  ------------------
  |  Branch (9349:3): [True: 15.8k, False: 14.6M]
  ------------------
 9350|  15.8k|#line 2382 "MachineIndependent/glslang.y"
 9351|  15.8k|              {
 9352|  15.8k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  15.8k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  15.8k|#define parseContext (*pParseContext)
  ------------------
 9353|  15.8k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  15.8k|#define parseContext (*pParseContext)
  ------------------
 9354|  15.8k|        (yyval.interm.type).basicType = EbtInt64;
 9355|  15.8k|        (yyval.interm.type).setVector(4);
 9356|  15.8k|    }
 9357|  15.8k|#line 9358 "MachineIndependent/glslang_tab.cpp"
 9358|  15.8k|    break;
 9359|       |
 9360|  13.8k|  case 329: /* type_specifier_nonarray: U8VEC2  */
  ------------------
  |  Branch (9360:3): [True: 13.8k, False: 14.6M]
  ------------------
 9361|  13.8k|#line 2388 "MachineIndependent/glslang.y"
 9362|  13.8k|             {
 9363|  13.8k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  13.8k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  13.8k|#define parseContext (*pParseContext)
  ------------------
 9364|  13.8k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  13.8k|#define parseContext (*pParseContext)
  ------------------
 9365|  13.8k|        (yyval.interm.type).basicType = EbtUint8;
 9366|  13.8k|        (yyval.interm.type).setVector(2);
 9367|  13.8k|    }
 9368|  13.8k|#line 9369 "MachineIndependent/glslang_tab.cpp"
 9369|  13.8k|    break;
 9370|       |
 9371|  13.8k|  case 330: /* type_specifier_nonarray: U8VEC3  */
  ------------------
  |  Branch (9371:3): [True: 13.8k, False: 14.6M]
  ------------------
 9372|  13.8k|#line 2394 "MachineIndependent/glslang.y"
 9373|  13.8k|             {
 9374|  13.8k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  13.8k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  13.8k|#define parseContext (*pParseContext)
  ------------------
 9375|  13.8k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  13.8k|#define parseContext (*pParseContext)
  ------------------
 9376|  13.8k|        (yyval.interm.type).basicType = EbtUint8;
 9377|  13.8k|        (yyval.interm.type).setVector(3);
 9378|  13.8k|    }
 9379|  13.8k|#line 9380 "MachineIndependent/glslang_tab.cpp"
 9380|  13.8k|    break;
 9381|       |
 9382|  13.8k|  case 331: /* type_specifier_nonarray: U8VEC4  */
  ------------------
  |  Branch (9382:3): [True: 13.8k, False: 14.6M]
  ------------------
 9383|  13.8k|#line 2400 "MachineIndependent/glslang.y"
 9384|  13.8k|             {
 9385|  13.8k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  13.8k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  13.8k|#define parseContext (*pParseContext)
  ------------------
 9386|  13.8k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  13.8k|#define parseContext (*pParseContext)
  ------------------
 9387|  13.8k|        (yyval.interm.type).basicType = EbtUint8;
 9388|  13.8k|        (yyval.interm.type).setVector(4);
 9389|  13.8k|    }
 9390|  13.8k|#line 9391 "MachineIndependent/glslang_tab.cpp"
 9391|  13.8k|    break;
 9392|       |
 9393|  15.8k|  case 332: /* type_specifier_nonarray: U16VEC2  */
  ------------------
  |  Branch (9393:3): [True: 15.8k, False: 14.6M]
  ------------------
 9394|  15.8k|#line 2406 "MachineIndependent/glslang.y"
 9395|  15.8k|              {
 9396|  15.8k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  15.8k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  15.8k|#define parseContext (*pParseContext)
  ------------------
 9397|  15.8k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  15.8k|#define parseContext (*pParseContext)
  ------------------
 9398|  15.8k|        (yyval.interm.type).basicType = EbtUint16;
 9399|  15.8k|        (yyval.interm.type).setVector(2);
 9400|  15.8k|    }
 9401|  15.8k|#line 9402 "MachineIndependent/glslang_tab.cpp"
 9402|  15.8k|    break;
 9403|       |
 9404|  15.8k|  case 333: /* type_specifier_nonarray: U16VEC3  */
  ------------------
  |  Branch (9404:3): [True: 15.8k, False: 14.6M]
  ------------------
 9405|  15.8k|#line 2412 "MachineIndependent/glslang.y"
 9406|  15.8k|              {
 9407|  15.8k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  15.8k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  15.8k|#define parseContext (*pParseContext)
  ------------------
 9408|  15.8k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  15.8k|#define parseContext (*pParseContext)
  ------------------
 9409|  15.8k|        (yyval.interm.type).basicType = EbtUint16;
 9410|  15.8k|        (yyval.interm.type).setVector(3);
 9411|  15.8k|    }
 9412|  15.8k|#line 9413 "MachineIndependent/glslang_tab.cpp"
 9413|  15.8k|    break;
 9414|       |
 9415|  15.8k|  case 334: /* type_specifier_nonarray: U16VEC4  */
  ------------------
  |  Branch (9415:3): [True: 15.8k, False: 14.6M]
  ------------------
 9416|  15.8k|#line 2418 "MachineIndependent/glslang.y"
 9417|  15.8k|              {
 9418|  15.8k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  15.8k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  15.8k|#define parseContext (*pParseContext)
  ------------------
 9419|  15.8k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  15.8k|#define parseContext (*pParseContext)
  ------------------
 9420|  15.8k|        (yyval.interm.type).basicType = EbtUint16;
 9421|  15.8k|        (yyval.interm.type).setVector(4);
 9422|  15.8k|    }
 9423|  15.8k|#line 9424 "MachineIndependent/glslang_tab.cpp"
 9424|  15.8k|    break;
 9425|       |
 9426|     40|  case 335: /* type_specifier_nonarray: U32VEC2  */
  ------------------
  |  Branch (9426:3): [True: 40, False: 14.6M]
  ------------------
 9427|     40|#line 2424 "MachineIndependent/glslang.y"
 9428|     40|              {
 9429|     40|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     40|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     40|#define parseContext (*pParseContext)
  ------------------
 9430|     40|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     40|#define parseContext (*pParseContext)
  ------------------
 9431|     40|        (yyval.interm.type).basicType = EbtUint;
 9432|     40|        (yyval.interm.type).setVector(2);
 9433|     40|    }
 9434|     40|#line 9435 "MachineIndependent/glslang_tab.cpp"
 9435|     40|    break;
 9436|       |
 9437|     40|  case 336: /* type_specifier_nonarray: U32VEC3  */
  ------------------
  |  Branch (9437:3): [True: 40, False: 14.6M]
  ------------------
 9438|     40|#line 2430 "MachineIndependent/glslang.y"
 9439|     40|              {
 9440|     40|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     40|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     40|#define parseContext (*pParseContext)
  ------------------
 9441|     40|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     40|#define parseContext (*pParseContext)
  ------------------
 9442|     40|        (yyval.interm.type).basicType = EbtUint;
 9443|     40|        (yyval.interm.type).setVector(3);
 9444|     40|    }
 9445|     40|#line 9446 "MachineIndependent/glslang_tab.cpp"
 9446|     40|    break;
 9447|       |
 9448|     20|  case 337: /* type_specifier_nonarray: U32VEC4  */
  ------------------
  |  Branch (9448:3): [True: 20, False: 14.6M]
  ------------------
 9449|     20|#line 2436 "MachineIndependent/glslang.y"
 9450|     20|              {
 9451|     20|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
 9452|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
 9453|     20|        (yyval.interm.type).basicType = EbtUint;
 9454|     20|        (yyval.interm.type).setVector(4);
 9455|     20|    }
 9456|     20|#line 9457 "MachineIndependent/glslang_tab.cpp"
 9457|     20|    break;
 9458|       |
 9459|  15.7k|  case 338: /* type_specifier_nonarray: U64VEC2  */
  ------------------
  |  Branch (9459:3): [True: 15.7k, False: 14.6M]
  ------------------
 9460|  15.7k|#line 2442 "MachineIndependent/glslang.y"
 9461|  15.7k|              {
 9462|  15.7k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  15.7k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  15.7k|#define parseContext (*pParseContext)
  ------------------
 9463|  15.7k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  15.7k|#define parseContext (*pParseContext)
  ------------------
 9464|  15.7k|        (yyval.interm.type).basicType = EbtUint64;
 9465|  15.7k|        (yyval.interm.type).setVector(2);
 9466|  15.7k|    }
 9467|  15.7k|#line 9468 "MachineIndependent/glslang_tab.cpp"
 9468|  15.7k|    break;
 9469|       |
 9470|  15.7k|  case 339: /* type_specifier_nonarray: U64VEC3  */
  ------------------
  |  Branch (9470:3): [True: 15.7k, False: 14.6M]
  ------------------
 9471|  15.7k|#line 2448 "MachineIndependent/glslang.y"
 9472|  15.7k|              {
 9473|  15.7k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  15.7k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  15.7k|#define parseContext (*pParseContext)
  ------------------
 9474|  15.7k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  15.7k|#define parseContext (*pParseContext)
  ------------------
 9475|  15.7k|        (yyval.interm.type).basicType = EbtUint64;
 9476|  15.7k|        (yyval.interm.type).setVector(3);
 9477|  15.7k|    }
 9478|  15.7k|#line 9479 "MachineIndependent/glslang_tab.cpp"
 9479|  15.7k|    break;
 9480|       |
 9481|  16.0k|  case 340: /* type_specifier_nonarray: U64VEC4  */
  ------------------
  |  Branch (9481:3): [True: 16.0k, False: 14.6M]
  ------------------
 9482|  16.0k|#line 2454 "MachineIndependent/glslang.y"
 9483|  16.0k|              {
 9484|  16.0k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  16.0k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  16.0k|#define parseContext (*pParseContext)
  ------------------
 9485|  16.0k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  16.0k|#define parseContext (*pParseContext)
  ------------------
 9486|  16.0k|        (yyval.interm.type).basicType = EbtUint64;
 9487|  16.0k|        (yyval.interm.type).setVector(4);
 9488|  16.0k|    }
 9489|  16.0k|#line 9490 "MachineIndependent/glslang_tab.cpp"
 9490|  16.0k|    break;
 9491|       |
 9492|     90|  case 341: /* type_specifier_nonarray: DMAT2  */
  ------------------
  |  Branch (9492:3): [True: 90, False: 14.6M]
  ------------------
 9493|     90|#line 2460 "MachineIndependent/glslang.y"
 9494|     90|            {
 9495|     90|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|     90|#define parseContext (*pParseContext)
  ------------------
 9496|     90|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|     90|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9496:13): [True: 0, False: 90]
  ------------------
 9497|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9498|     90|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     90|#define parseContext (*pParseContext)
  ------------------
 9499|     90|        (yyval.interm.type).basicType = EbtDouble;
 9500|     90|        (yyval.interm.type).setMatrix(2, 2);
 9501|     90|    }
 9502|     90|#line 9503 "MachineIndependent/glslang_tab.cpp"
 9503|     90|    break;
 9504|       |
 9505|     90|  case 342: /* type_specifier_nonarray: DMAT3  */
  ------------------
  |  Branch (9505:3): [True: 90, False: 14.6M]
  ------------------
 9506|     90|#line 2468 "MachineIndependent/glslang.y"
 9507|     90|            {
 9508|     90|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|     90|#define parseContext (*pParseContext)
  ------------------
 9509|     90|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|     90|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9509:13): [True: 0, False: 90]
  ------------------
 9510|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9511|     90|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     90|#define parseContext (*pParseContext)
  ------------------
 9512|     90|        (yyval.interm.type).basicType = EbtDouble;
 9513|     90|        (yyval.interm.type).setMatrix(3, 3);
 9514|     90|    }
 9515|     90|#line 9516 "MachineIndependent/glslang_tab.cpp"
 9516|     90|    break;
 9517|       |
 9518|     90|  case 343: /* type_specifier_nonarray: DMAT4  */
  ------------------
  |  Branch (9518:3): [True: 90, False: 14.6M]
  ------------------
 9519|     90|#line 2476 "MachineIndependent/glslang.y"
 9520|     90|            {
 9521|     90|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|     90|#define parseContext (*pParseContext)
  ------------------
 9522|     90|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|     90|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9522:13): [True: 0, False: 90]
  ------------------
 9523|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9524|     90|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     90|#define parseContext (*pParseContext)
  ------------------
 9525|     90|        (yyval.interm.type).basicType = EbtDouble;
 9526|     90|        (yyval.interm.type).setMatrix(4, 4);
 9527|     90|    }
 9528|     90|#line 9529 "MachineIndependent/glslang_tab.cpp"
 9529|     90|    break;
 9530|       |
 9531|      0|  case 344: /* type_specifier_nonarray: DMAT2X2  */
  ------------------
  |  Branch (9531:3): [True: 0, False: 14.6M]
  ------------------
 9532|      0|#line 2484 "MachineIndependent/glslang.y"
 9533|      0|              {
 9534|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9535|      0|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9535:13): [True: 0, False: 0]
  ------------------
 9536|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9537|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9538|      0|        (yyval.interm.type).basicType = EbtDouble;
 9539|      0|        (yyval.interm.type).setMatrix(2, 2);
 9540|      0|    }
 9541|      0|#line 9542 "MachineIndependent/glslang_tab.cpp"
 9542|      0|    break;
 9543|       |
 9544|     60|  case 345: /* type_specifier_nonarray: DMAT2X3  */
  ------------------
  |  Branch (9544:3): [True: 60, False: 14.6M]
  ------------------
 9545|     60|#line 2492 "MachineIndependent/glslang.y"
 9546|     60|              {
 9547|     60|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
 9548|     60|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9548:13): [True: 0, False: 60]
  ------------------
 9549|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9550|     60|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
 9551|     60|        (yyval.interm.type).basicType = EbtDouble;
 9552|     60|        (yyval.interm.type).setMatrix(2, 3);
 9553|     60|    }
 9554|     60|#line 9555 "MachineIndependent/glslang_tab.cpp"
 9555|     60|    break;
 9556|       |
 9557|     60|  case 346: /* type_specifier_nonarray: DMAT2X4  */
  ------------------
  |  Branch (9557:3): [True: 60, False: 14.6M]
  ------------------
 9558|     60|#line 2500 "MachineIndependent/glslang.y"
 9559|     60|              {
 9560|     60|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
 9561|     60|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9561:13): [True: 0, False: 60]
  ------------------
 9562|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9563|     60|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
 9564|     60|        (yyval.interm.type).basicType = EbtDouble;
 9565|     60|        (yyval.interm.type).setMatrix(2, 4);
 9566|     60|    }
 9567|     60|#line 9568 "MachineIndependent/glslang_tab.cpp"
 9568|     60|    break;
 9569|       |
 9570|     60|  case 347: /* type_specifier_nonarray: DMAT3X2  */
  ------------------
  |  Branch (9570:3): [True: 60, False: 14.6M]
  ------------------
 9571|     60|#line 2508 "MachineIndependent/glslang.y"
 9572|     60|              {
 9573|     60|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
 9574|     60|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9574:13): [True: 0, False: 60]
  ------------------
 9575|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9576|     60|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
 9577|     60|        (yyval.interm.type).basicType = EbtDouble;
 9578|     60|        (yyval.interm.type).setMatrix(3, 2);
 9579|     60|    }
 9580|     60|#line 9581 "MachineIndependent/glslang_tab.cpp"
 9581|     60|    break;
 9582|       |
 9583|      0|  case 348: /* type_specifier_nonarray: DMAT3X3  */
  ------------------
  |  Branch (9583:3): [True: 0, False: 14.6M]
  ------------------
 9584|      0|#line 2516 "MachineIndependent/glslang.y"
 9585|      0|              {
 9586|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9587|      0|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9587:13): [True: 0, False: 0]
  ------------------
 9588|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9589|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9590|      0|        (yyval.interm.type).basicType = EbtDouble;
 9591|      0|        (yyval.interm.type).setMatrix(3, 3);
 9592|      0|    }
 9593|      0|#line 9594 "MachineIndependent/glslang_tab.cpp"
 9594|      0|    break;
 9595|       |
 9596|     60|  case 349: /* type_specifier_nonarray: DMAT3X4  */
  ------------------
  |  Branch (9596:3): [True: 60, False: 14.6M]
  ------------------
 9597|     60|#line 2524 "MachineIndependent/glslang.y"
 9598|     60|              {
 9599|     60|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
 9600|     60|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9600:13): [True: 0, False: 60]
  ------------------
 9601|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9602|     60|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
 9603|     60|        (yyval.interm.type).basicType = EbtDouble;
 9604|     60|        (yyval.interm.type).setMatrix(3, 4);
 9605|     60|    }
 9606|     60|#line 9607 "MachineIndependent/glslang_tab.cpp"
 9607|     60|    break;
 9608|       |
 9609|     60|  case 350: /* type_specifier_nonarray: DMAT4X2  */
  ------------------
  |  Branch (9609:3): [True: 60, False: 14.6M]
  ------------------
 9610|     60|#line 2532 "MachineIndependent/glslang.y"
 9611|     60|              {
 9612|     60|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
 9613|     60|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9613:13): [True: 0, False: 60]
  ------------------
 9614|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9615|     60|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
 9616|     60|        (yyval.interm.type).basicType = EbtDouble;
 9617|     60|        (yyval.interm.type).setMatrix(4, 2);
 9618|     60|    }
 9619|     60|#line 9620 "MachineIndependent/glslang_tab.cpp"
 9620|     60|    break;
 9621|       |
 9622|     60|  case 351: /* type_specifier_nonarray: DMAT4X3  */
  ------------------
  |  Branch (9622:3): [True: 60, False: 14.6M]
  ------------------
 9623|     60|#line 2540 "MachineIndependent/glslang.y"
 9624|     60|              {
 9625|     60|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
 9626|     60|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9626:13): [True: 0, False: 60]
  ------------------
 9627|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9628|     60|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
 9629|     60|        (yyval.interm.type).basicType = EbtDouble;
 9630|     60|        (yyval.interm.type).setMatrix(4, 3);
 9631|     60|    }
 9632|     60|#line 9633 "MachineIndependent/glslang_tab.cpp"
 9633|     60|    break;
 9634|       |
 9635|      0|  case 352: /* type_specifier_nonarray: DMAT4X4  */
  ------------------
  |  Branch (9635:3): [True: 0, False: 14.6M]
  ------------------
 9636|      0|#line 2548 "MachineIndependent/glslang.y"
 9637|      0|              {
 9638|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9639|      0|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9639:13): [True: 0, False: 0]
  ------------------
 9640|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9641|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9642|      0|        (yyval.interm.type).basicType = EbtDouble;
 9643|      0|        (yyval.interm.type).setMatrix(4, 4);
 9644|      0|    }
 9645|      0|#line 9646 "MachineIndependent/glslang_tab.cpp"
 9646|      0|    break;
 9647|       |
 9648|     45|  case 353: /* type_specifier_nonarray: F16MAT2  */
  ------------------
  |  Branch (9648:3): [True: 45, False: 14.6M]
  ------------------
 9649|     45|#line 2556 "MachineIndependent/glslang.y"
 9650|     45|              {
 9651|     45|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     45|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     45|#define parseContext (*pParseContext)
  ------------------
 9652|     45|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     45|#define parseContext (*pParseContext)
  ------------------
 9653|     45|        (yyval.interm.type).basicType = EbtFloat16;
 9654|     45|        (yyval.interm.type).setMatrix(2, 2);
 9655|     45|    }
 9656|     45|#line 9657 "MachineIndependent/glslang_tab.cpp"
 9657|     45|    break;
 9658|       |
 9659|     45|  case 354: /* type_specifier_nonarray: F16MAT3  */
  ------------------
  |  Branch (9659:3): [True: 45, False: 14.6M]
  ------------------
 9660|     45|#line 2562 "MachineIndependent/glslang.y"
 9661|     45|              {
 9662|     45|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     45|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     45|#define parseContext (*pParseContext)
  ------------------
 9663|     45|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     45|#define parseContext (*pParseContext)
  ------------------
 9664|     45|        (yyval.interm.type).basicType = EbtFloat16;
 9665|     45|        (yyval.interm.type).setMatrix(3, 3);
 9666|     45|    }
 9667|     45|#line 9668 "MachineIndependent/glslang_tab.cpp"
 9668|     45|    break;
 9669|       |
 9670|     45|  case 355: /* type_specifier_nonarray: F16MAT4  */
  ------------------
  |  Branch (9670:3): [True: 45, False: 14.6M]
  ------------------
 9671|     45|#line 2568 "MachineIndependent/glslang.y"
 9672|     45|              {
 9673|     45|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     45|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     45|#define parseContext (*pParseContext)
  ------------------
 9674|     45|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     45|#define parseContext (*pParseContext)
  ------------------
 9675|     45|        (yyval.interm.type).basicType = EbtFloat16;
 9676|     45|        (yyval.interm.type).setMatrix(4, 4);
 9677|     45|    }
 9678|     45|#line 9679 "MachineIndependent/glslang_tab.cpp"
 9679|     45|    break;
 9680|       |
 9681|      0|  case 356: /* type_specifier_nonarray: F16MAT2X2  */
  ------------------
  |  Branch (9681:3): [True: 0, False: 14.6M]
  ------------------
 9682|      0|#line 2574 "MachineIndependent/glslang.y"
 9683|      0|                {
 9684|      0|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9685|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9686|      0|        (yyval.interm.type).basicType = EbtFloat16;
 9687|      0|        (yyval.interm.type).setMatrix(2, 2);
 9688|      0|    }
 9689|      0|#line 9690 "MachineIndependent/glslang_tab.cpp"
 9690|      0|    break;
 9691|       |
 9692|     30|  case 357: /* type_specifier_nonarray: F16MAT2X3  */
  ------------------
  |  Branch (9692:3): [True: 30, False: 14.6M]
  ------------------
 9693|     30|#line 2580 "MachineIndependent/glslang.y"
 9694|     30|                {
 9695|     30|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
 9696|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
 9697|     30|        (yyval.interm.type).basicType = EbtFloat16;
 9698|     30|        (yyval.interm.type).setMatrix(2, 3);
 9699|     30|    }
 9700|     30|#line 9701 "MachineIndependent/glslang_tab.cpp"
 9701|     30|    break;
 9702|       |
 9703|     30|  case 358: /* type_specifier_nonarray: F16MAT2X4  */
  ------------------
  |  Branch (9703:3): [True: 30, False: 14.6M]
  ------------------
 9704|     30|#line 2586 "MachineIndependent/glslang.y"
 9705|     30|                {
 9706|     30|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
 9707|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
 9708|     30|        (yyval.interm.type).basicType = EbtFloat16;
 9709|     30|        (yyval.interm.type).setMatrix(2, 4);
 9710|     30|    }
 9711|     30|#line 9712 "MachineIndependent/glslang_tab.cpp"
 9712|     30|    break;
 9713|       |
 9714|     30|  case 359: /* type_specifier_nonarray: F16MAT3X2  */
  ------------------
  |  Branch (9714:3): [True: 30, False: 14.6M]
  ------------------
 9715|     30|#line 2592 "MachineIndependent/glslang.y"
 9716|     30|                {
 9717|     30|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
 9718|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
 9719|     30|        (yyval.interm.type).basicType = EbtFloat16;
 9720|     30|        (yyval.interm.type).setMatrix(3, 2);
 9721|     30|    }
 9722|     30|#line 9723 "MachineIndependent/glslang_tab.cpp"
 9723|     30|    break;
 9724|       |
 9725|      0|  case 360: /* type_specifier_nonarray: F16MAT3X3  */
  ------------------
  |  Branch (9725:3): [True: 0, False: 14.6M]
  ------------------
 9726|      0|#line 2598 "MachineIndependent/glslang.y"
 9727|      0|                {
 9728|      0|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9729|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9730|      0|        (yyval.interm.type).basicType = EbtFloat16;
 9731|      0|        (yyval.interm.type).setMatrix(3, 3);
 9732|      0|    }
 9733|      0|#line 9734 "MachineIndependent/glslang_tab.cpp"
 9734|      0|    break;
 9735|       |
 9736|     30|  case 361: /* type_specifier_nonarray: F16MAT3X4  */
  ------------------
  |  Branch (9736:3): [True: 30, False: 14.6M]
  ------------------
 9737|     30|#line 2604 "MachineIndependent/glslang.y"
 9738|     30|                {
 9739|     30|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
 9740|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
 9741|     30|        (yyval.interm.type).basicType = EbtFloat16;
 9742|     30|        (yyval.interm.type).setMatrix(3, 4);
 9743|     30|    }
 9744|     30|#line 9745 "MachineIndependent/glslang_tab.cpp"
 9745|     30|    break;
 9746|       |
 9747|     30|  case 362: /* type_specifier_nonarray: F16MAT4X2  */
  ------------------
  |  Branch (9747:3): [True: 30, False: 14.6M]
  ------------------
 9748|     30|#line 2610 "MachineIndependent/glslang.y"
 9749|     30|                {
 9750|     30|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
 9751|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
 9752|     30|        (yyval.interm.type).basicType = EbtFloat16;
 9753|     30|        (yyval.interm.type).setMatrix(4, 2);
 9754|     30|    }
 9755|     30|#line 9756 "MachineIndependent/glslang_tab.cpp"
 9756|     30|    break;
 9757|       |
 9758|     30|  case 363: /* type_specifier_nonarray: F16MAT4X3  */
  ------------------
  |  Branch (9758:3): [True: 30, False: 14.6M]
  ------------------
 9759|     30|#line 2616 "MachineIndependent/glslang.y"
 9760|     30|                {
 9761|     30|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
 9762|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
 9763|     30|        (yyval.interm.type).basicType = EbtFloat16;
 9764|     30|        (yyval.interm.type).setMatrix(4, 3);
 9765|     30|    }
 9766|     30|#line 9767 "MachineIndependent/glslang_tab.cpp"
 9767|     30|    break;
 9768|       |
 9769|      0|  case 364: /* type_specifier_nonarray: F16MAT4X4  */
  ------------------
  |  Branch (9769:3): [True: 0, False: 14.6M]
  ------------------
 9770|      0|#line 2622 "MachineIndependent/glslang.y"
 9771|      0|                {
 9772|      0|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9773|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9774|      0|        (yyval.interm.type).basicType = EbtFloat16;
 9775|      0|        (yyval.interm.type).setMatrix(4, 4);
 9776|      0|    }
 9777|      0|#line 9778 "MachineIndependent/glslang_tab.cpp"
 9778|      0|    break;
 9779|       |
 9780|      0|  case 365: /* type_specifier_nonarray: F32MAT2  */
  ------------------
  |  Branch (9780:3): [True: 0, False: 14.6M]
  ------------------
 9781|      0|#line 2628 "MachineIndependent/glslang.y"
 9782|      0|              {
 9783|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9784|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9785|      0|        (yyval.interm.type).basicType = EbtFloat;
 9786|      0|        (yyval.interm.type).setMatrix(2, 2);
 9787|      0|    }
 9788|      0|#line 9789 "MachineIndependent/glslang_tab.cpp"
 9789|      0|    break;
 9790|       |
 9791|      0|  case 366: /* type_specifier_nonarray: F32MAT3  */
  ------------------
  |  Branch (9791:3): [True: 0, False: 14.6M]
  ------------------
 9792|      0|#line 2634 "MachineIndependent/glslang.y"
 9793|      0|              {
 9794|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9795|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9796|      0|        (yyval.interm.type).basicType = EbtFloat;
 9797|      0|        (yyval.interm.type).setMatrix(3, 3);
 9798|      0|    }
 9799|      0|#line 9800 "MachineIndependent/glslang_tab.cpp"
 9800|      0|    break;
 9801|       |
 9802|      0|  case 367: /* type_specifier_nonarray: F32MAT4  */
  ------------------
  |  Branch (9802:3): [True: 0, False: 14.6M]
  ------------------
 9803|      0|#line 2640 "MachineIndependent/glslang.y"
 9804|      0|              {
 9805|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9806|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9807|      0|        (yyval.interm.type).basicType = EbtFloat;
 9808|      0|        (yyval.interm.type).setMatrix(4, 4);
 9809|      0|    }
 9810|      0|#line 9811 "MachineIndependent/glslang_tab.cpp"
 9811|      0|    break;
 9812|       |
 9813|      0|  case 368: /* type_specifier_nonarray: F32MAT2X2  */
  ------------------
  |  Branch (9813:3): [True: 0, False: 14.6M]
  ------------------
 9814|      0|#line 2646 "MachineIndependent/glslang.y"
 9815|      0|                {
 9816|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9817|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9818|      0|        (yyval.interm.type).basicType = EbtFloat;
 9819|      0|        (yyval.interm.type).setMatrix(2, 2);
 9820|      0|    }
 9821|      0|#line 9822 "MachineIndependent/glslang_tab.cpp"
 9822|      0|    break;
 9823|       |
 9824|      0|  case 369: /* type_specifier_nonarray: F32MAT2X3  */
  ------------------
  |  Branch (9824:3): [True: 0, False: 14.6M]
  ------------------
 9825|      0|#line 2652 "MachineIndependent/glslang.y"
 9826|      0|                {
 9827|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9828|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9829|      0|        (yyval.interm.type).basicType = EbtFloat;
 9830|      0|        (yyval.interm.type).setMatrix(2, 3);
 9831|      0|    }
 9832|      0|#line 9833 "MachineIndependent/glslang_tab.cpp"
 9833|      0|    break;
 9834|       |
 9835|      0|  case 370: /* type_specifier_nonarray: F32MAT2X4  */
  ------------------
  |  Branch (9835:3): [True: 0, False: 14.6M]
  ------------------
 9836|      0|#line 2658 "MachineIndependent/glslang.y"
 9837|      0|                {
 9838|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9839|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9840|      0|        (yyval.interm.type).basicType = EbtFloat;
 9841|      0|        (yyval.interm.type).setMatrix(2, 4);
 9842|      0|    }
 9843|      0|#line 9844 "MachineIndependent/glslang_tab.cpp"
 9844|      0|    break;
 9845|       |
 9846|      0|  case 371: /* type_specifier_nonarray: F32MAT3X2  */
  ------------------
  |  Branch (9846:3): [True: 0, False: 14.6M]
  ------------------
 9847|      0|#line 2664 "MachineIndependent/glslang.y"
 9848|      0|                {
 9849|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9850|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9851|      0|        (yyval.interm.type).basicType = EbtFloat;
 9852|      0|        (yyval.interm.type).setMatrix(3, 2);
 9853|      0|    }
 9854|      0|#line 9855 "MachineIndependent/glslang_tab.cpp"
 9855|      0|    break;
 9856|       |
 9857|      0|  case 372: /* type_specifier_nonarray: F32MAT3X3  */
  ------------------
  |  Branch (9857:3): [True: 0, False: 14.6M]
  ------------------
 9858|      0|#line 2670 "MachineIndependent/glslang.y"
 9859|      0|                {
 9860|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9861|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9862|      0|        (yyval.interm.type).basicType = EbtFloat;
 9863|      0|        (yyval.interm.type).setMatrix(3, 3);
 9864|      0|    }
 9865|      0|#line 9866 "MachineIndependent/glslang_tab.cpp"
 9866|      0|    break;
 9867|       |
 9868|      0|  case 373: /* type_specifier_nonarray: F32MAT3X4  */
  ------------------
  |  Branch (9868:3): [True: 0, False: 14.6M]
  ------------------
 9869|      0|#line 2676 "MachineIndependent/glslang.y"
 9870|      0|                {
 9871|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9872|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9873|      0|        (yyval.interm.type).basicType = EbtFloat;
 9874|      0|        (yyval.interm.type).setMatrix(3, 4);
 9875|      0|    }
 9876|      0|#line 9877 "MachineIndependent/glslang_tab.cpp"
 9877|      0|    break;
 9878|       |
 9879|      0|  case 374: /* type_specifier_nonarray: F32MAT4X2  */
  ------------------
  |  Branch (9879:3): [True: 0, False: 14.6M]
  ------------------
 9880|      0|#line 2682 "MachineIndependent/glslang.y"
 9881|      0|                {
 9882|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9883|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9884|      0|        (yyval.interm.type).basicType = EbtFloat;
 9885|      0|        (yyval.interm.type).setMatrix(4, 2);
 9886|      0|    }
 9887|      0|#line 9888 "MachineIndependent/glslang_tab.cpp"
 9888|      0|    break;
 9889|       |
 9890|      0|  case 375: /* type_specifier_nonarray: F32MAT4X3  */
  ------------------
  |  Branch (9890:3): [True: 0, False: 14.6M]
  ------------------
 9891|      0|#line 2688 "MachineIndependent/glslang.y"
 9892|      0|                {
 9893|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9894|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9895|      0|        (yyval.interm.type).basicType = EbtFloat;
 9896|      0|        (yyval.interm.type).setMatrix(4, 3);
 9897|      0|    }
 9898|      0|#line 9899 "MachineIndependent/glslang_tab.cpp"
 9899|      0|    break;
 9900|       |
 9901|      0|  case 376: /* type_specifier_nonarray: F32MAT4X4  */
  ------------------
  |  Branch (9901:3): [True: 0, False: 14.6M]
  ------------------
 9902|      0|#line 2694 "MachineIndependent/glslang.y"
 9903|      0|                {
 9904|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9905|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9906|      0|        (yyval.interm.type).basicType = EbtFloat;
 9907|      0|        (yyval.interm.type).setMatrix(4, 4);
 9908|      0|    }
 9909|      0|#line 9910 "MachineIndependent/glslang_tab.cpp"
 9910|      0|    break;
 9911|       |
 9912|      0|  case 377: /* type_specifier_nonarray: F64MAT2  */
  ------------------
  |  Branch (9912:3): [True: 0, False: 14.6M]
  ------------------
 9913|      0|#line 2700 "MachineIndependent/glslang.y"
 9914|      0|              {
 9915|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9916|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9917|      0|        (yyval.interm.type).basicType = EbtDouble;
 9918|      0|        (yyval.interm.type).setMatrix(2, 2);
 9919|      0|    }
 9920|      0|#line 9921 "MachineIndependent/glslang_tab.cpp"
 9921|      0|    break;
 9922|       |
 9923|      0|  case 378: /* type_specifier_nonarray: F64MAT3  */
  ------------------
  |  Branch (9923:3): [True: 0, False: 14.6M]
  ------------------
 9924|      0|#line 2706 "MachineIndependent/glslang.y"
 9925|      0|              {
 9926|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9927|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9928|      0|        (yyval.interm.type).basicType = EbtDouble;
 9929|      0|        (yyval.interm.type).setMatrix(3, 3);
 9930|      0|    }
 9931|      0|#line 9932 "MachineIndependent/glslang_tab.cpp"
 9932|      0|    break;
 9933|       |
 9934|      0|  case 379: /* type_specifier_nonarray: F64MAT4  */
  ------------------
  |  Branch (9934:3): [True: 0, False: 14.6M]
  ------------------
 9935|      0|#line 2712 "MachineIndependent/glslang.y"
 9936|      0|              {
 9937|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9938|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9939|      0|        (yyval.interm.type).basicType = EbtDouble;
 9940|      0|        (yyval.interm.type).setMatrix(4, 4);
 9941|      0|    }
 9942|      0|#line 9943 "MachineIndependent/glslang_tab.cpp"
 9943|      0|    break;
 9944|       |
 9945|      0|  case 380: /* type_specifier_nonarray: F64MAT2X2  */
  ------------------
  |  Branch (9945:3): [True: 0, False: 14.6M]
  ------------------
 9946|      0|#line 2718 "MachineIndependent/glslang.y"
 9947|      0|                {
 9948|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9949|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9950|      0|        (yyval.interm.type).basicType = EbtDouble;
 9951|      0|        (yyval.interm.type).setMatrix(2, 2);
 9952|      0|    }
 9953|      0|#line 9954 "MachineIndependent/glslang_tab.cpp"
 9954|      0|    break;
 9955|       |
 9956|      0|  case 381: /* type_specifier_nonarray: F64MAT2X3  */
  ------------------
  |  Branch (9956:3): [True: 0, False: 14.6M]
  ------------------
 9957|      0|#line 2724 "MachineIndependent/glslang.y"
 9958|      0|                {
 9959|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9960|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9961|      0|        (yyval.interm.type).basicType = EbtDouble;
 9962|      0|        (yyval.interm.type).setMatrix(2, 3);
 9963|      0|    }
 9964|      0|#line 9965 "MachineIndependent/glslang_tab.cpp"
 9965|      0|    break;
 9966|       |
 9967|      0|  case 382: /* type_specifier_nonarray: F64MAT2X4  */
  ------------------
  |  Branch (9967:3): [True: 0, False: 14.6M]
  ------------------
 9968|      0|#line 2730 "MachineIndependent/glslang.y"
 9969|      0|                {
 9970|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9971|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9972|      0|        (yyval.interm.type).basicType = EbtDouble;
 9973|      0|        (yyval.interm.type).setMatrix(2, 4);
 9974|      0|    }
 9975|      0|#line 9976 "MachineIndependent/glslang_tab.cpp"
 9976|      0|    break;
 9977|       |
 9978|      0|  case 383: /* type_specifier_nonarray: F64MAT3X2  */
  ------------------
  |  Branch (9978:3): [True: 0, False: 14.6M]
  ------------------
 9979|      0|#line 2736 "MachineIndependent/glslang.y"
 9980|      0|                {
 9981|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9982|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9983|      0|        (yyval.interm.type).basicType = EbtDouble;
 9984|      0|        (yyval.interm.type).setMatrix(3, 2);
 9985|      0|    }
 9986|      0|#line 9987 "MachineIndependent/glslang_tab.cpp"
 9987|      0|    break;
 9988|       |
 9989|      0|  case 384: /* type_specifier_nonarray: F64MAT3X3  */
  ------------------
  |  Branch (9989:3): [True: 0, False: 14.6M]
  ------------------
 9990|      0|#line 2742 "MachineIndependent/glslang.y"
 9991|      0|                {
 9992|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9993|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9994|      0|        (yyval.interm.type).basicType = EbtDouble;
 9995|      0|        (yyval.interm.type).setMatrix(3, 3);
 9996|      0|    }
 9997|      0|#line 9998 "MachineIndependent/glslang_tab.cpp"
 9998|      0|    break;
 9999|       |
10000|      0|  case 385: /* type_specifier_nonarray: F64MAT3X4  */
  ------------------
  |  Branch (10000:3): [True: 0, False: 14.6M]
  ------------------
10001|      0|#line 2748 "MachineIndependent/glslang.y"
10002|      0|                {
10003|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10004|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10005|      0|        (yyval.interm.type).basicType = EbtDouble;
10006|      0|        (yyval.interm.type).setMatrix(3, 4);
10007|      0|    }
10008|      0|#line 10009 "MachineIndependent/glslang_tab.cpp"
10009|      0|    break;
10010|       |
10011|      0|  case 386: /* type_specifier_nonarray: F64MAT4X2  */
  ------------------
  |  Branch (10011:3): [True: 0, False: 14.6M]
  ------------------
10012|      0|#line 2754 "MachineIndependent/glslang.y"
10013|      0|                {
10014|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10015|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10016|      0|        (yyval.interm.type).basicType = EbtDouble;
10017|      0|        (yyval.interm.type).setMatrix(4, 2);
10018|      0|    }
10019|      0|#line 10020 "MachineIndependent/glslang_tab.cpp"
10020|      0|    break;
10021|       |
10022|      0|  case 387: /* type_specifier_nonarray: F64MAT4X3  */
  ------------------
  |  Branch (10022:3): [True: 0, False: 14.6M]
  ------------------
10023|      0|#line 2760 "MachineIndependent/glslang.y"
10024|      0|                {
10025|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10026|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10027|      0|        (yyval.interm.type).basicType = EbtDouble;
10028|      0|        (yyval.interm.type).setMatrix(4, 3);
10029|      0|    }
10030|      0|#line 10031 "MachineIndependent/glslang_tab.cpp"
10031|      0|    break;
10032|       |
10033|      0|  case 388: /* type_specifier_nonarray: F64MAT4X4  */
  ------------------
  |  Branch (10033:3): [True: 0, False: 14.6M]
  ------------------
10034|      0|#line 2766 "MachineIndependent/glslang.y"
10035|      0|                {
10036|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10037|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10038|      0|        (yyval.interm.type).basicType = EbtDouble;
10039|      0|        (yyval.interm.type).setMatrix(4, 4);
10040|      0|    }
10041|      0|#line 10042 "MachineIndependent/glslang_tab.cpp"
10042|      0|    break;
10043|       |
10044|      0|  case 389: /* type_specifier_nonarray: ACCSTRUCTNV  */
  ------------------
  |  Branch (10044:3): [True: 0, False: 14.6M]
  ------------------
10045|      0|#line 2772 "MachineIndependent/glslang.y"
10046|      0|                  {
10047|      0|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10048|      0|       (yyval.interm.type).basicType = EbtAccStruct;
10049|      0|    }
10050|      0|#line 10051 "MachineIndependent/glslang_tab.cpp"
10051|      0|    break;
10052|       |
10053|      0|  case 390: /* type_specifier_nonarray: ACCSTRUCTEXT  */
  ------------------
  |  Branch (10053:3): [True: 0, False: 14.6M]
  ------------------
10054|      0|#line 2776 "MachineIndependent/glslang.y"
10055|      0|                   {
10056|      0|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10057|      0|       (yyval.interm.type).basicType = EbtAccStruct;
10058|      0|    }
10059|      0|#line 10060 "MachineIndependent/glslang_tab.cpp"
10060|      0|    break;
10061|       |
10062|      0|  case 391: /* type_specifier_nonarray: RAYQUERYEXT  */
  ------------------
  |  Branch (10062:3): [True: 0, False: 14.6M]
  ------------------
10063|      0|#line 2780 "MachineIndependent/glslang.y"
10064|      0|                  {
10065|      0|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10066|      0|       (yyval.interm.type).basicType = EbtRayQuery;
10067|      0|    }
10068|      0|#line 10069 "MachineIndependent/glslang_tab.cpp"
10069|      0|    break;
10070|       |
10071|      0|  case 392: /* type_specifier_nonarray: ATOMIC_UINT  */
  ------------------
  |  Branch (10071:3): [True: 0, False: 14.6M]
  ------------------
10072|      0|#line 2784 "MachineIndependent/glslang.y"
10073|      0|                  {
10074|      0|        parseContext.vulkanRemoved((yyvsp[0].lex).loc, "atomic counter types");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10075|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10076|      0|        (yyval.interm.type).basicType = EbtAtomicUint;
10077|      0|    }
10078|      0|#line 10079 "MachineIndependent/glslang_tab.cpp"
10079|      0|    break;
10080|       |
10081|  4.11k|  case 393: /* type_specifier_nonarray: SAMPLER1D  */
  ------------------
  |  Branch (10081:3): [True: 4.11k, False: 14.6M]
  ------------------
10082|  4.11k|#line 2789 "MachineIndependent/glslang.y"
10083|  4.11k|                {
10084|  4.11k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  4.11k|#define parseContext (*pParseContext)
  ------------------
10085|  4.11k|        (yyval.interm.type).basicType = EbtSampler;
10086|  4.11k|        (yyval.interm.type).sampler.set(EbtFloat, Esd1D);
10087|  4.11k|    }
10088|  4.11k|#line 10089 "MachineIndependent/glslang_tab.cpp"
10089|  4.11k|    break;
10090|       |
10091|  8.69k|  case 394: /* type_specifier_nonarray: SAMPLER2D  */
  ------------------
  |  Branch (10091:3): [True: 8.69k, False: 14.6M]
  ------------------
10092|  8.69k|#line 2794 "MachineIndependent/glslang.y"
10093|  8.69k|                {
10094|  8.69k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  8.69k|#define parseContext (*pParseContext)
  ------------------
10095|  8.69k|        (yyval.interm.type).basicType = EbtSampler;
10096|  8.69k|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D);
10097|  8.69k|    }
10098|  8.69k|#line 10099 "MachineIndependent/glslang_tab.cpp"
10099|  8.69k|    break;
10100|       |
10101|  3.09k|  case 395: /* type_specifier_nonarray: SAMPLER3D  */
  ------------------
  |  Branch (10101:3): [True: 3.09k, False: 14.6M]
  ------------------
10102|  3.09k|#line 2799 "MachineIndependent/glslang.y"
10103|  3.09k|                {
10104|  3.09k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  3.09k|#define parseContext (*pParseContext)
  ------------------
10105|  3.09k|        (yyval.interm.type).basicType = EbtSampler;
10106|  3.09k|        (yyval.interm.type).sampler.set(EbtFloat, Esd3D);
10107|  3.09k|    }
10108|  3.09k|#line 10109 "MachineIndependent/glslang_tab.cpp"
10109|  3.09k|    break;
10110|       |
10111|  1.12k|  case 396: /* type_specifier_nonarray: SAMPLERCUBE  */
  ------------------
  |  Branch (10111:3): [True: 1.12k, False: 14.6M]
  ------------------
10112|  1.12k|#line 2804 "MachineIndependent/glslang.y"
10113|  1.12k|                  {
10114|  1.12k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.12k|#define parseContext (*pParseContext)
  ------------------
10115|  1.12k|        (yyval.interm.type).basicType = EbtSampler;
10116|  1.12k|        (yyval.interm.type).sampler.set(EbtFloat, EsdCube);
10117|  1.12k|    }
10118|  1.12k|#line 10119 "MachineIndependent/glslang_tab.cpp"
10119|  1.12k|    break;
10120|       |
10121|  2.63k|  case 397: /* type_specifier_nonarray: SAMPLER2DSHADOW  */
  ------------------
  |  Branch (10121:3): [True: 2.63k, False: 14.6M]
  ------------------
10122|  2.63k|#line 2809 "MachineIndependent/glslang.y"
10123|  2.63k|                      {
10124|  2.63k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.63k|#define parseContext (*pParseContext)
  ------------------
10125|  2.63k|        (yyval.interm.type).basicType = EbtSampler;
10126|  2.63k|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, false, true);
10127|  2.63k|    }
10128|  2.63k|#line 10129 "MachineIndependent/glslang_tab.cpp"
10129|  2.63k|    break;
10130|       |
10131|    906|  case 398: /* type_specifier_nonarray: SAMPLERCUBESHADOW  */
  ------------------
  |  Branch (10131:3): [True: 906, False: 14.6M]
  ------------------
10132|    906|#line 2814 "MachineIndependent/glslang.y"
10133|    906|                        {
10134|    906|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    906|#define parseContext (*pParseContext)
  ------------------
10135|    906|        (yyval.interm.type).basicType = EbtSampler;
10136|    906|        (yyval.interm.type).sampler.set(EbtFloat, EsdCube, false, true);
10137|    906|    }
10138|    906|#line 10139 "MachineIndependent/glslang_tab.cpp"
10139|    906|    break;
10140|       |
10141|  4.66k|  case 399: /* type_specifier_nonarray: SAMPLER2DARRAY  */
  ------------------
  |  Branch (10141:3): [True: 4.66k, False: 14.6M]
  ------------------
10142|  4.66k|#line 2819 "MachineIndependent/glslang.y"
10143|  4.66k|                     {
10144|  4.66k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  4.66k|#define parseContext (*pParseContext)
  ------------------
10145|  4.66k|        (yyval.interm.type).basicType = EbtSampler;
10146|  4.66k|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, true);
10147|  4.66k|    }
10148|  4.66k|#line 10149 "MachineIndependent/glslang_tab.cpp"
10149|  4.66k|    break;
10150|       |
10151|  1.55k|  case 400: /* type_specifier_nonarray: SAMPLER2DARRAYSHADOW  */
  ------------------
  |  Branch (10151:3): [True: 1.55k, False: 14.6M]
  ------------------
10152|  1.55k|#line 2824 "MachineIndependent/glslang.y"
10153|  1.55k|                           {
10154|  1.55k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.55k|#define parseContext (*pParseContext)
  ------------------
10155|  1.55k|        (yyval.interm.type).basicType = EbtSampler;
10156|  1.55k|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, true, true);
10157|  1.55k|    }
10158|  1.55k|#line 10159 "MachineIndependent/glslang_tab.cpp"
10159|  1.55k|    break;
10160|       |
10161|  2.11k|  case 401: /* type_specifier_nonarray: SAMPLER1DSHADOW  */
  ------------------
  |  Branch (10161:3): [True: 2.11k, False: 14.6M]
  ------------------
10162|  2.11k|#line 2829 "MachineIndependent/glslang.y"
10163|  2.11k|                      {
10164|  2.11k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.11k|#define parseContext (*pParseContext)
  ------------------
10165|  2.11k|        (yyval.interm.type).basicType = EbtSampler;
10166|  2.11k|        (yyval.interm.type).sampler.set(EbtFloat, Esd1D, false, true);
10167|  2.11k|    }
10168|  2.11k|#line 10169 "MachineIndependent/glslang_tab.cpp"
10169|  2.11k|    break;
10170|       |
10171|  1.75k|  case 402: /* type_specifier_nonarray: SAMPLER1DARRAY  */
  ------------------
  |  Branch (10171:3): [True: 1.75k, False: 14.6M]
  ------------------
10172|  1.75k|#line 2834 "MachineIndependent/glslang.y"
10173|  1.75k|                     {
10174|  1.75k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.75k|#define parseContext (*pParseContext)
  ------------------
10175|  1.75k|        (yyval.interm.type).basicType = EbtSampler;
10176|  1.75k|        (yyval.interm.type).sampler.set(EbtFloat, Esd1D, true);
10177|  1.75k|    }
10178|  1.75k|#line 10179 "MachineIndependent/glslang_tab.cpp"
10179|  1.75k|    break;
10180|       |
10181|  1.21k|  case 403: /* type_specifier_nonarray: SAMPLER1DARRAYSHADOW  */
  ------------------
  |  Branch (10181:3): [True: 1.21k, False: 14.6M]
  ------------------
10182|  1.21k|#line 2839 "MachineIndependent/glslang.y"
10183|  1.21k|                           {
10184|  1.21k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.21k|#define parseContext (*pParseContext)
  ------------------
10185|  1.21k|        (yyval.interm.type).basicType = EbtSampler;
10186|  1.21k|        (yyval.interm.type).sampler.set(EbtFloat, Esd1D, true, true);
10187|  1.21k|    }
10188|  1.21k|#line 10189 "MachineIndependent/glslang_tab.cpp"
10189|  1.21k|    break;
10190|       |
10191|  1.12k|  case 404: /* type_specifier_nonarray: SAMPLERCUBEARRAY  */
  ------------------
  |  Branch (10191:3): [True: 1.12k, False: 14.6M]
  ------------------
10192|  1.12k|#line 2844 "MachineIndependent/glslang.y"
10193|  1.12k|                       {
10194|  1.12k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.12k|#define parseContext (*pParseContext)
  ------------------
10195|  1.12k|        (yyval.interm.type).basicType = EbtSampler;
10196|  1.12k|        (yyval.interm.type).sampler.set(EbtFloat, EsdCube, true);
10197|  1.12k|    }
10198|  1.12k|#line 10199 "MachineIndependent/glslang_tab.cpp"
10199|  1.12k|    break;
10200|       |
10201|    823|  case 405: /* type_specifier_nonarray: SAMPLERCUBEARRAYSHADOW  */
  ------------------
  |  Branch (10201:3): [True: 823, False: 14.6M]
  ------------------
10202|    823|#line 2849 "MachineIndependent/glslang.y"
10203|    823|                             {
10204|    823|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    823|#define parseContext (*pParseContext)
  ------------------
10205|    823|        (yyval.interm.type).basicType = EbtSampler;
10206|    823|        (yyval.interm.type).sampler.set(EbtFloat, EsdCube, true, true);
10207|    823|    }
10208|    823|#line 10209 "MachineIndependent/glslang_tab.cpp"
10209|    823|    break;
10210|       |
10211|    848|  case 406: /* type_specifier_nonarray: F16SAMPLER1D  */
  ------------------
  |  Branch (10211:3): [True: 848, False: 14.6M]
  ------------------
10212|    848|#line 2854 "MachineIndependent/glslang.y"
10213|    848|                   {
10214|    848|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    848|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    848|#define parseContext (*pParseContext)
  ------------------
10215|    848|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    848|#define parseContext (*pParseContext)
  ------------------
10216|    848|        (yyval.interm.type).basicType = EbtSampler;
10217|    848|        (yyval.interm.type).sampler.set(EbtFloat16, Esd1D);
10218|    848|    }
10219|    848|#line 10220 "MachineIndependent/glslang_tab.cpp"
10220|    848|    break;
10221|       |
10222|  1.92k|  case 407: /* type_specifier_nonarray: F16SAMPLER2D  */
  ------------------
  |  Branch (10222:3): [True: 1.92k, False: 14.6M]
  ------------------
10223|  1.92k|#line 2860 "MachineIndependent/glslang.y"
10224|  1.92k|                   {
10225|  1.92k|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.92k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.92k|#define parseContext (*pParseContext)
  ------------------
10226|  1.92k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.92k|#define parseContext (*pParseContext)
  ------------------
10227|  1.92k|        (yyval.interm.type).basicType = EbtSampler;
10228|  1.92k|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D);
10229|  1.92k|    }
10230|  1.92k|#line 10231 "MachineIndependent/glslang_tab.cpp"
10231|  1.92k|    break;
10232|       |
10233|  1.05k|  case 408: /* type_specifier_nonarray: F16SAMPLER3D  */
  ------------------
  |  Branch (10233:3): [True: 1.05k, False: 14.6M]
  ------------------
10234|  1.05k|#line 2866 "MachineIndependent/glslang.y"
10235|  1.05k|                   {
10236|  1.05k|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.05k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.05k|#define parseContext (*pParseContext)
  ------------------
10237|  1.05k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.05k|#define parseContext (*pParseContext)
  ------------------
10238|  1.05k|        (yyval.interm.type).basicType = EbtSampler;
10239|  1.05k|        (yyval.interm.type).sampler.set(EbtFloat16, Esd3D);
10240|  1.05k|    }
10241|  1.05k|#line 10242 "MachineIndependent/glslang_tab.cpp"
10242|  1.05k|    break;
10243|       |
10244|    684|  case 409: /* type_specifier_nonarray: F16SAMPLERCUBE  */
  ------------------
  |  Branch (10244:3): [True: 684, False: 14.6M]
  ------------------
10245|    684|#line 2872 "MachineIndependent/glslang.y"
10246|    684|                     {
10247|    684|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    684|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    684|#define parseContext (*pParseContext)
  ------------------
10248|    684|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    684|#define parseContext (*pParseContext)
  ------------------
10249|    684|        (yyval.interm.type).basicType = EbtSampler;
10250|    684|        (yyval.interm.type).sampler.set(EbtFloat16, EsdCube);
10251|    684|    }
10252|    684|#line 10253 "MachineIndependent/glslang_tab.cpp"
10253|    684|    break;
10254|       |
10255|    600|  case 410: /* type_specifier_nonarray: F16SAMPLER1DSHADOW  */
  ------------------
  |  Branch (10255:3): [True: 600, False: 14.6M]
  ------------------
10256|    600|#line 2878 "MachineIndependent/glslang.y"
10257|    600|                         {
10258|    600|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    600|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    600|#define parseContext (*pParseContext)
  ------------------
10259|    600|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    600|#define parseContext (*pParseContext)
  ------------------
10260|    600|        (yyval.interm.type).basicType = EbtSampler;
10261|    600|        (yyval.interm.type).sampler.set(EbtFloat16, Esd1D, false, true);
10262|    600|    }
10263|    600|#line 10264 "MachineIndependent/glslang_tab.cpp"
10264|    600|    break;
10265|       |
10266|  1.00k|  case 411: /* type_specifier_nonarray: F16SAMPLER2DSHADOW  */
  ------------------
  |  Branch (10266:3): [True: 1.00k, False: 14.6M]
  ------------------
10267|  1.00k|#line 2884 "MachineIndependent/glslang.y"
10268|  1.00k|                         {
10269|  1.00k|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.00k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.00k|#define parseContext (*pParseContext)
  ------------------
10270|  1.00k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.00k|#define parseContext (*pParseContext)
  ------------------
10271|  1.00k|        (yyval.interm.type).basicType = EbtSampler;
10272|  1.00k|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, false, true);
10273|  1.00k|    }
10274|  1.00k|#line 10275 "MachineIndependent/glslang_tab.cpp"
10275|  1.00k|    break;
10276|       |
10277|    452|  case 412: /* type_specifier_nonarray: F16SAMPLERCUBESHADOW  */
  ------------------
  |  Branch (10277:3): [True: 452, False: 14.6M]
  ------------------
10278|    452|#line 2890 "MachineIndependent/glslang.y"
10279|    452|                           {
10280|    452|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    452|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    452|#define parseContext (*pParseContext)
  ------------------
10281|    452|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    452|#define parseContext (*pParseContext)
  ------------------
10282|    452|        (yyval.interm.type).basicType = EbtSampler;
10283|    452|        (yyval.interm.type).sampler.set(EbtFloat16, EsdCube, false, true);
10284|    452|    }
10285|    452|#line 10286 "MachineIndependent/glslang_tab.cpp"
10286|    452|    break;
10287|       |
10288|    492|  case 413: /* type_specifier_nonarray: F16SAMPLER1DARRAY  */
  ------------------
  |  Branch (10288:3): [True: 492, False: 14.6M]
  ------------------
10289|    492|#line 2896 "MachineIndependent/glslang.y"
10290|    492|                        {
10291|    492|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    492|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    492|#define parseContext (*pParseContext)
  ------------------
10292|    492|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    492|#define parseContext (*pParseContext)
  ------------------
10293|    492|        (yyval.interm.type).basicType = EbtSampler;
10294|    492|        (yyval.interm.type).sampler.set(EbtFloat16, Esd1D, true);
10295|    492|    }
10296|    492|#line 10297 "MachineIndependent/glslang_tab.cpp"
10297|    492|    break;
10298|       |
10299|  1.57k|  case 414: /* type_specifier_nonarray: F16SAMPLER2DARRAY  */
  ------------------
  |  Branch (10299:3): [True: 1.57k, False: 14.6M]
  ------------------
10300|  1.57k|#line 2902 "MachineIndependent/glslang.y"
10301|  1.57k|                        {
10302|  1.57k|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.57k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.57k|#define parseContext (*pParseContext)
  ------------------
10303|  1.57k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.57k|#define parseContext (*pParseContext)
  ------------------
10304|  1.57k|        (yyval.interm.type).basicType = EbtSampler;
10305|  1.57k|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, true);
10306|  1.57k|    }
10307|  1.57k|#line 10308 "MachineIndependent/glslang_tab.cpp"
10308|  1.57k|    break;
10309|       |
10310|    452|  case 415: /* type_specifier_nonarray: F16SAMPLER1DARRAYSHADOW  */
  ------------------
  |  Branch (10310:3): [True: 452, False: 14.6M]
  ------------------
10311|    452|#line 2908 "MachineIndependent/glslang.y"
10312|    452|                              {
10313|    452|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    452|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    452|#define parseContext (*pParseContext)
  ------------------
10314|    452|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    452|#define parseContext (*pParseContext)
  ------------------
10315|    452|        (yyval.interm.type).basicType = EbtSampler;
10316|    452|        (yyval.interm.type).sampler.set(EbtFloat16, Esd1D, true, true);
10317|    452|    }
10318|    452|#line 10319 "MachineIndependent/glslang_tab.cpp"
10319|    452|    break;
10320|       |
10321|    464|  case 416: /* type_specifier_nonarray: F16SAMPLER2DARRAYSHADOW  */
  ------------------
  |  Branch (10321:3): [True: 464, False: 14.6M]
  ------------------
10322|    464|#line 2914 "MachineIndependent/glslang.y"
10323|    464|                              {
10324|    464|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    464|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    464|#define parseContext (*pParseContext)
  ------------------
10325|    464|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    464|#define parseContext (*pParseContext)
  ------------------
10326|    464|        (yyval.interm.type).basicType = EbtSampler;
10327|    464|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, true, true);
10328|    464|    }
10329|    464|#line 10330 "MachineIndependent/glslang_tab.cpp"
10330|    464|    break;
10331|       |
10332|    684|  case 417: /* type_specifier_nonarray: F16SAMPLERCUBEARRAY  */
  ------------------
  |  Branch (10332:3): [True: 684, False: 14.6M]
  ------------------
10333|    684|#line 2920 "MachineIndependent/glslang.y"
10334|    684|                          {
10335|    684|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    684|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    684|#define parseContext (*pParseContext)
  ------------------
10336|    684|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    684|#define parseContext (*pParseContext)
  ------------------
10337|    684|        (yyval.interm.type).basicType = EbtSampler;
10338|    684|        (yyval.interm.type).sampler.set(EbtFloat16, EsdCube, true);
10339|    684|    }
10340|    684|#line 10341 "MachineIndependent/glslang_tab.cpp"
10341|    684|    break;
10342|       |
10343|    276|  case 418: /* type_specifier_nonarray: F16SAMPLERCUBEARRAYSHADOW  */
  ------------------
  |  Branch (10343:3): [True: 276, False: 14.6M]
  ------------------
10344|    276|#line 2926 "MachineIndependent/glslang.y"
10345|    276|                                {
10346|    276|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    276|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    276|#define parseContext (*pParseContext)
  ------------------
10347|    276|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    276|#define parseContext (*pParseContext)
  ------------------
10348|    276|        (yyval.interm.type).basicType = EbtSampler;
10349|    276|        (yyval.interm.type).sampler.set(EbtFloat16, EsdCube, true, true);
10350|    276|    }
10351|    276|#line 10352 "MachineIndependent/glslang_tab.cpp"
10352|    276|    break;
10353|       |
10354|  4.10k|  case 419: /* type_specifier_nonarray: ISAMPLER1D  */
  ------------------
  |  Branch (10354:3): [True: 4.10k, False: 14.6M]
  ------------------
10355|  4.10k|#line 2932 "MachineIndependent/glslang.y"
10356|  4.10k|                 {
10357|  4.10k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  4.10k|#define parseContext (*pParseContext)
  ------------------
10358|  4.10k|        (yyval.interm.type).basicType = EbtSampler;
10359|  4.10k|        (yyval.interm.type).sampler.set(EbtInt, Esd1D);
10360|  4.10k|    }
10361|  4.10k|#line 10362 "MachineIndependent/glslang_tab.cpp"
10362|  4.10k|    break;
10363|       |
10364|  7.01k|  case 420: /* type_specifier_nonarray: ISAMPLER2D  */
  ------------------
  |  Branch (10364:3): [True: 7.01k, False: 14.6M]
  ------------------
10365|  7.01k|#line 2937 "MachineIndependent/glslang.y"
10366|  7.01k|                 {
10367|  7.01k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  7.01k|#define parseContext (*pParseContext)
  ------------------
10368|  7.01k|        (yyval.interm.type).basicType = EbtSampler;
10369|  7.01k|        (yyval.interm.type).sampler.set(EbtInt, Esd2D);
10370|  7.01k|    }
10371|  7.01k|#line 10372 "MachineIndependent/glslang_tab.cpp"
10372|  7.01k|    break;
10373|       |
10374|  3.06k|  case 421: /* type_specifier_nonarray: ISAMPLER3D  */
  ------------------
  |  Branch (10374:3): [True: 3.06k, False: 14.6M]
  ------------------
10375|  3.06k|#line 2942 "MachineIndependent/glslang.y"
10376|  3.06k|                 {
10377|  3.06k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  3.06k|#define parseContext (*pParseContext)
  ------------------
10378|  3.06k|        (yyval.interm.type).basicType = EbtSampler;
10379|  3.06k|        (yyval.interm.type).sampler.set(EbtInt, Esd3D);
10380|  3.06k|    }
10381|  3.06k|#line 10382 "MachineIndependent/glslang_tab.cpp"
10382|  3.06k|    break;
10383|       |
10384|  1.11k|  case 422: /* type_specifier_nonarray: ISAMPLERCUBE  */
  ------------------
  |  Branch (10384:3): [True: 1.11k, False: 14.6M]
  ------------------
10385|  1.11k|#line 2947 "MachineIndependent/glslang.y"
10386|  1.11k|                   {
10387|  1.11k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.11k|#define parseContext (*pParseContext)
  ------------------
10388|  1.11k|        (yyval.interm.type).basicType = EbtSampler;
10389|  1.11k|        (yyval.interm.type).sampler.set(EbtInt, EsdCube);
10390|  1.11k|    }
10391|  1.11k|#line 10392 "MachineIndependent/glslang_tab.cpp"
10392|  1.11k|    break;
10393|       |
10394|  4.54k|  case 423: /* type_specifier_nonarray: ISAMPLER2DARRAY  */
  ------------------
  |  Branch (10394:3): [True: 4.54k, False: 14.6M]
  ------------------
10395|  4.54k|#line 2952 "MachineIndependent/glslang.y"
10396|  4.54k|                      {
10397|  4.54k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  4.54k|#define parseContext (*pParseContext)
  ------------------
10398|  4.54k|        (yyval.interm.type).basicType = EbtSampler;
10399|  4.54k|        (yyval.interm.type).sampler.set(EbtInt, Esd2D, true);
10400|  4.54k|    }
10401|  4.54k|#line 10402 "MachineIndependent/glslang_tab.cpp"
10402|  4.54k|    break;
10403|       |
10404|  7.01k|  case 424: /* type_specifier_nonarray: USAMPLER2D  */
  ------------------
  |  Branch (10404:3): [True: 7.01k, False: 14.6M]
  ------------------
10405|  7.01k|#line 2957 "MachineIndependent/glslang.y"
10406|  7.01k|                 {
10407|  7.01k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  7.01k|#define parseContext (*pParseContext)
  ------------------
10408|  7.01k|        (yyval.interm.type).basicType = EbtSampler;
10409|  7.01k|        (yyval.interm.type).sampler.set(EbtUint, Esd2D);
10410|  7.01k|    }
10411|  7.01k|#line 10412 "MachineIndependent/glslang_tab.cpp"
10412|  7.01k|    break;
10413|       |
10414|  3.06k|  case 425: /* type_specifier_nonarray: USAMPLER3D  */
  ------------------
  |  Branch (10414:3): [True: 3.06k, False: 14.6M]
  ------------------
10415|  3.06k|#line 2962 "MachineIndependent/glslang.y"
10416|  3.06k|                 {
10417|  3.06k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  3.06k|#define parseContext (*pParseContext)
  ------------------
10418|  3.06k|        (yyval.interm.type).basicType = EbtSampler;
10419|  3.06k|        (yyval.interm.type).sampler.set(EbtUint, Esd3D);
10420|  3.06k|    }
10421|  3.06k|#line 10422 "MachineIndependent/glslang_tab.cpp"
10422|  3.06k|    break;
10423|       |
10424|  1.11k|  case 426: /* type_specifier_nonarray: USAMPLERCUBE  */
  ------------------
  |  Branch (10424:3): [True: 1.11k, False: 14.6M]
  ------------------
10425|  1.11k|#line 2967 "MachineIndependent/glslang.y"
10426|  1.11k|                   {
10427|  1.11k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.11k|#define parseContext (*pParseContext)
  ------------------
10428|  1.11k|        (yyval.interm.type).basicType = EbtSampler;
10429|  1.11k|        (yyval.interm.type).sampler.set(EbtUint, EsdCube);
10430|  1.11k|    }
10431|  1.11k|#line 10432 "MachineIndependent/glslang_tab.cpp"
10432|  1.11k|    break;
10433|       |
10434|  1.64k|  case 427: /* type_specifier_nonarray: ISAMPLER1DARRAY  */
  ------------------
  |  Branch (10434:3): [True: 1.64k, False: 14.6M]
  ------------------
10435|  1.64k|#line 2972 "MachineIndependent/glslang.y"
10436|  1.64k|                      {
10437|  1.64k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.64k|#define parseContext (*pParseContext)
  ------------------
10438|  1.64k|        (yyval.interm.type).basicType = EbtSampler;
10439|  1.64k|        (yyval.interm.type).sampler.set(EbtInt, Esd1D, true);
10440|  1.64k|    }
10441|  1.64k|#line 10442 "MachineIndependent/glslang_tab.cpp"
10442|  1.64k|    break;
10443|       |
10444|  1.11k|  case 428: /* type_specifier_nonarray: ISAMPLERCUBEARRAY  */
  ------------------
  |  Branch (10444:3): [True: 1.11k, False: 14.6M]
  ------------------
10445|  1.11k|#line 2977 "MachineIndependent/glslang.y"
10446|  1.11k|                        {
10447|  1.11k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.11k|#define parseContext (*pParseContext)
  ------------------
10448|  1.11k|        (yyval.interm.type).basicType = EbtSampler;
10449|  1.11k|        (yyval.interm.type).sampler.set(EbtInt, EsdCube, true);
10450|  1.11k|    }
10451|  1.11k|#line 10452 "MachineIndependent/glslang_tab.cpp"
10452|  1.11k|    break;
10453|       |
10454|  4.10k|  case 429: /* type_specifier_nonarray: USAMPLER1D  */
  ------------------
  |  Branch (10454:3): [True: 4.10k, False: 14.6M]
  ------------------
10455|  4.10k|#line 2982 "MachineIndependent/glslang.y"
10456|  4.10k|                 {
10457|  4.10k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  4.10k|#define parseContext (*pParseContext)
  ------------------
10458|  4.10k|        (yyval.interm.type).basicType = EbtSampler;
10459|  4.10k|        (yyval.interm.type).sampler.set(EbtUint, Esd1D);
10460|  4.10k|    }
10461|  4.10k|#line 10462 "MachineIndependent/glslang_tab.cpp"
10462|  4.10k|    break;
10463|       |
10464|  1.64k|  case 430: /* type_specifier_nonarray: USAMPLER1DARRAY  */
  ------------------
  |  Branch (10464:3): [True: 1.64k, False: 14.6M]
  ------------------
10465|  1.64k|#line 2987 "MachineIndependent/glslang.y"
10466|  1.64k|                      {
10467|  1.64k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.64k|#define parseContext (*pParseContext)
  ------------------
10468|  1.64k|        (yyval.interm.type).basicType = EbtSampler;
10469|  1.64k|        (yyval.interm.type).sampler.set(EbtUint, Esd1D, true);
10470|  1.64k|    }
10471|  1.64k|#line 10472 "MachineIndependent/glslang_tab.cpp"
10472|  1.64k|    break;
10473|       |
10474|  1.11k|  case 431: /* type_specifier_nonarray: USAMPLERCUBEARRAY  */
  ------------------
  |  Branch (10474:3): [True: 1.11k, False: 14.6M]
  ------------------
10475|  1.11k|#line 2992 "MachineIndependent/glslang.y"
10476|  1.11k|                        {
10477|  1.11k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.11k|#define parseContext (*pParseContext)
  ------------------
10478|  1.11k|        (yyval.interm.type).basicType = EbtSampler;
10479|  1.11k|        (yyval.interm.type).sampler.set(EbtUint, EsdCube, true);
10480|  1.11k|    }
10481|  1.11k|#line 10482 "MachineIndependent/glslang_tab.cpp"
10482|  1.11k|    break;
10483|       |
10484|    120|  case 432: /* type_specifier_nonarray: TEXTURECUBEARRAY  */
  ------------------
  |  Branch (10484:3): [True: 120, False: 14.6M]
  ------------------
10485|    120|#line 2997 "MachineIndependent/glslang.y"
10486|    120|                       {
10487|    120|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    120|#define parseContext (*pParseContext)
  ------------------
10488|    120|        (yyval.interm.type).basicType = EbtSampler;
10489|    120|        (yyval.interm.type).sampler.setTexture(EbtFloat, EsdCube, true);
10490|    120|    }
10491|    120|#line 10492 "MachineIndependent/glslang_tab.cpp"
10492|    120|    break;
10493|       |
10494|    114|  case 433: /* type_specifier_nonarray: ITEXTURECUBEARRAY  */
  ------------------
  |  Branch (10494:3): [True: 114, False: 14.6M]
  ------------------
10495|    114|#line 3002 "MachineIndependent/glslang.y"
10496|    114|                        {
10497|    114|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    114|#define parseContext (*pParseContext)
  ------------------
10498|    114|        (yyval.interm.type).basicType = EbtSampler;
10499|    114|        (yyval.interm.type).sampler.setTexture(EbtInt, EsdCube, true);
10500|    114|    }
10501|    114|#line 10502 "MachineIndependent/glslang_tab.cpp"
10502|    114|    break;
10503|       |
10504|    114|  case 434: /* type_specifier_nonarray: UTEXTURECUBEARRAY  */
  ------------------
  |  Branch (10504:3): [True: 114, False: 14.6M]
  ------------------
10505|    114|#line 3007 "MachineIndependent/glslang.y"
10506|    114|                        {
10507|    114|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    114|#define parseContext (*pParseContext)
  ------------------
10508|    114|        (yyval.interm.type).basicType = EbtSampler;
10509|    114|        (yyval.interm.type).sampler.setTexture(EbtUint, EsdCube, true);
10510|    114|    }
10511|    114|#line 10512 "MachineIndependent/glslang_tab.cpp"
10512|    114|    break;
10513|       |
10514|  4.54k|  case 435: /* type_specifier_nonarray: USAMPLER2DARRAY  */
  ------------------
  |  Branch (10514:3): [True: 4.54k, False: 14.6M]
  ------------------
10515|  4.54k|#line 3012 "MachineIndependent/glslang.y"
10516|  4.54k|                      {
10517|  4.54k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  4.54k|#define parseContext (*pParseContext)
  ------------------
10518|  4.54k|        (yyval.interm.type).basicType = EbtSampler;
10519|  4.54k|        (yyval.interm.type).sampler.set(EbtUint, Esd2D, true);
10520|  4.54k|    }
10521|  4.54k|#line 10522 "MachineIndependent/glslang_tab.cpp"
10522|  4.54k|    break;
10523|       |
10524|    348|  case 436: /* type_specifier_nonarray: TEXTURE2D  */
  ------------------
  |  Branch (10524:3): [True: 348, False: 14.6M]
  ------------------
10525|    348|#line 3017 "MachineIndependent/glslang.y"
10526|    348|                {
10527|    348|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    348|#define parseContext (*pParseContext)
  ------------------
10528|    348|        (yyval.interm.type).basicType = EbtSampler;
10529|    348|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D);
10530|    348|    }
10531|    348|#line 10532 "MachineIndependent/glslang_tab.cpp"
10532|    348|    break;
10533|       |
10534|    348|  case 437: /* type_specifier_nonarray: TEXTURE3D  */
  ------------------
  |  Branch (10534:3): [True: 348, False: 14.6M]
  ------------------
10535|    348|#line 3022 "MachineIndependent/glslang.y"
10536|    348|                {
10537|    348|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    348|#define parseContext (*pParseContext)
  ------------------
10538|    348|        (yyval.interm.type).basicType = EbtSampler;
10539|    348|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd3D);
10540|    348|    }
10541|    348|#line 10542 "MachineIndependent/glslang_tab.cpp"
10542|    348|    break;
10543|       |
10544|    348|  case 438: /* type_specifier_nonarray: TEXTURE2DARRAY  */
  ------------------
  |  Branch (10544:3): [True: 348, False: 14.6M]
  ------------------
10545|    348|#line 3027 "MachineIndependent/glslang.y"
10546|    348|                     {
10547|    348|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    348|#define parseContext (*pParseContext)
  ------------------
10548|    348|        (yyval.interm.type).basicType = EbtSampler;
10549|    348|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D, true);
10550|    348|    }
10551|    348|#line 10552 "MachineIndependent/glslang_tab.cpp"
10552|    348|    break;
10553|       |
10554|    120|  case 439: /* type_specifier_nonarray: TEXTURECUBE  */
  ------------------
  |  Branch (10554:3): [True: 120, False: 14.6M]
  ------------------
10555|    120|#line 3032 "MachineIndependent/glslang.y"
10556|    120|                  {
10557|    120|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    120|#define parseContext (*pParseContext)
  ------------------
10558|    120|        (yyval.interm.type).basicType = EbtSampler;
10559|    120|        (yyval.interm.type).sampler.setTexture(EbtFloat, EsdCube);
10560|    120|    }
10561|    120|#line 10562 "MachineIndependent/glslang_tab.cpp"
10562|    120|    break;
10563|       |
10564|    342|  case 440: /* type_specifier_nonarray: ITEXTURE2D  */
  ------------------
  |  Branch (10564:3): [True: 342, False: 14.6M]
  ------------------
10565|    342|#line 3037 "MachineIndependent/glslang.y"
10566|    342|                 {
10567|    342|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    342|#define parseContext (*pParseContext)
  ------------------
10568|    342|        (yyval.interm.type).basicType = EbtSampler;
10569|    342|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd2D);
10570|    342|    }
10571|    342|#line 10572 "MachineIndependent/glslang_tab.cpp"
10572|    342|    break;
10573|       |
10574|    342|  case 441: /* type_specifier_nonarray: ITEXTURE3D  */
  ------------------
  |  Branch (10574:3): [True: 342, False: 14.6M]
  ------------------
10575|    342|#line 3042 "MachineIndependent/glslang.y"
10576|    342|                 {
10577|    342|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    342|#define parseContext (*pParseContext)
  ------------------
10578|    342|        (yyval.interm.type).basicType = EbtSampler;
10579|    342|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd3D);
10580|    342|    }
10581|    342|#line 10582 "MachineIndependent/glslang_tab.cpp"
10582|    342|    break;
10583|       |
10584|    114|  case 442: /* type_specifier_nonarray: ITEXTURECUBE  */
  ------------------
  |  Branch (10584:3): [True: 114, False: 14.6M]
  ------------------
10585|    114|#line 3047 "MachineIndependent/glslang.y"
10586|    114|                   {
10587|    114|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    114|#define parseContext (*pParseContext)
  ------------------
10588|    114|        (yyval.interm.type).basicType = EbtSampler;
10589|    114|        (yyval.interm.type).sampler.setTexture(EbtInt, EsdCube);
10590|    114|    }
10591|    114|#line 10592 "MachineIndependent/glslang_tab.cpp"
10592|    114|    break;
10593|       |
10594|    342|  case 443: /* type_specifier_nonarray: ITEXTURE2DARRAY  */
  ------------------
  |  Branch (10594:3): [True: 342, False: 14.6M]
  ------------------
10595|    342|#line 3052 "MachineIndependent/glslang.y"
10596|    342|                      {
10597|    342|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    342|#define parseContext (*pParseContext)
  ------------------
10598|    342|        (yyval.interm.type).basicType = EbtSampler;
10599|    342|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd2D, true);
10600|    342|    }
10601|    342|#line 10602 "MachineIndependent/glslang_tab.cpp"
10602|    342|    break;
10603|       |
10604|    342|  case 444: /* type_specifier_nonarray: UTEXTURE2D  */
  ------------------
  |  Branch (10604:3): [True: 342, False: 14.6M]
  ------------------
10605|    342|#line 3057 "MachineIndependent/glslang.y"
10606|    342|                 {
10607|    342|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    342|#define parseContext (*pParseContext)
  ------------------
10608|    342|        (yyval.interm.type).basicType = EbtSampler;
10609|    342|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd2D);
10610|    342|    }
10611|    342|#line 10612 "MachineIndependent/glslang_tab.cpp"
10612|    342|    break;
10613|       |
10614|    342|  case 445: /* type_specifier_nonarray: UTEXTURE3D  */
  ------------------
  |  Branch (10614:3): [True: 342, False: 14.6M]
  ------------------
10615|    342|#line 3062 "MachineIndependent/glslang.y"
10616|    342|                 {
10617|    342|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    342|#define parseContext (*pParseContext)
  ------------------
10618|    342|        (yyval.interm.type).basicType = EbtSampler;
10619|    342|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd3D);
10620|    342|    }
10621|    342|#line 10622 "MachineIndependent/glslang_tab.cpp"
10622|    342|    break;
10623|       |
10624|    114|  case 446: /* type_specifier_nonarray: UTEXTURECUBE  */
  ------------------
  |  Branch (10624:3): [True: 114, False: 14.6M]
  ------------------
10625|    114|#line 3067 "MachineIndependent/glslang.y"
10626|    114|                   {
10627|    114|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    114|#define parseContext (*pParseContext)
  ------------------
10628|    114|        (yyval.interm.type).basicType = EbtSampler;
10629|    114|        (yyval.interm.type).sampler.setTexture(EbtUint, EsdCube);
10630|    114|    }
10631|    114|#line 10632 "MachineIndependent/glslang_tab.cpp"
10632|    114|    break;
10633|       |
10634|    342|  case 447: /* type_specifier_nonarray: UTEXTURE2DARRAY  */
  ------------------
  |  Branch (10634:3): [True: 342, False: 14.6M]
  ------------------
10635|    342|#line 3072 "MachineIndependent/glslang.y"
10636|    342|                      {
10637|    342|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    342|#define parseContext (*pParseContext)
  ------------------
10638|    342|        (yyval.interm.type).basicType = EbtSampler;
10639|    342|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd2D, true);
10640|    342|    }
10641|    342|#line 10642 "MachineIndependent/glslang_tab.cpp"
10642|    342|    break;
10643|       |
10644|      6|  case 448: /* type_specifier_nonarray: SAMPLER  */
  ------------------
  |  Branch (10644:3): [True: 6, False: 14.6M]
  ------------------
10645|      6|#line 3077 "MachineIndependent/glslang.y"
10646|      6|              {
10647|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
10648|      6|        (yyval.interm.type).basicType = EbtSampler;
10649|      6|        (yyval.interm.type).sampler.setPureSampler(false);
10650|      6|    }
10651|      6|#line 10652 "MachineIndependent/glslang_tab.cpp"
10652|      6|    break;
10653|       |
10654|      6|  case 449: /* type_specifier_nonarray: SAMPLERSHADOW  */
  ------------------
  |  Branch (10654:3): [True: 6, False: 14.6M]
  ------------------
10655|      6|#line 3082 "MachineIndependent/glslang.y"
10656|      6|                    {
10657|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
10658|      6|        (yyval.interm.type).basicType = EbtSampler;
10659|      6|        (yyval.interm.type).sampler.setPureSampler(true);
10660|      6|    }
10661|      6|#line 10662 "MachineIndependent/glslang_tab.cpp"
10662|      6|    break;
10663|       |
10664|  3.34k|  case 450: /* type_specifier_nonarray: SAMPLER2DRECT  */
  ------------------
  |  Branch (10664:3): [True: 3.34k, False: 14.6M]
  ------------------
10665|  3.34k|#line 3087 "MachineIndependent/glslang.y"
10666|  3.34k|                    {
10667|  3.34k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  3.34k|#define parseContext (*pParseContext)
  ------------------
10668|  3.34k|        (yyval.interm.type).basicType = EbtSampler;
10669|  3.34k|        (yyval.interm.type).sampler.set(EbtFloat, EsdRect);
10670|  3.34k|    }
10671|  3.34k|#line 10672 "MachineIndependent/glslang_tab.cpp"
10672|  3.34k|    break;
10673|       |
10674|  1.46k|  case 451: /* type_specifier_nonarray: SAMPLER2DRECTSHADOW  */
  ------------------
  |  Branch (10674:3): [True: 1.46k, False: 14.6M]
  ------------------
10675|  1.46k|#line 3092 "MachineIndependent/glslang.y"
10676|  1.46k|                          {
10677|  1.46k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.46k|#define parseContext (*pParseContext)
  ------------------
10678|  1.46k|        (yyval.interm.type).basicType = EbtSampler;
10679|  1.46k|        (yyval.interm.type).sampler.set(EbtFloat, EsdRect, false, true);
10680|  1.46k|    }
10681|  1.46k|#line 10682 "MachineIndependent/glslang_tab.cpp"
10682|  1.46k|    break;
10683|       |
10684|    641|  case 452: /* type_specifier_nonarray: F16SAMPLER2DRECT  */
  ------------------
  |  Branch (10684:3): [True: 641, False: 14.6M]
  ------------------
10685|    641|#line 3097 "MachineIndependent/glslang.y"
10686|    641|                       {
10687|    641|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    641|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    641|#define parseContext (*pParseContext)
  ------------------
10688|    641|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    641|#define parseContext (*pParseContext)
  ------------------
10689|    641|        (yyval.interm.type).basicType = EbtSampler;
10690|    641|        (yyval.interm.type).sampler.set(EbtFloat16, EsdRect);
10691|    641|    }
10692|    641|#line 10693 "MachineIndependent/glslang_tab.cpp"
10693|    641|    break;
10694|       |
10695|    401|  case 453: /* type_specifier_nonarray: F16SAMPLER2DRECTSHADOW  */
  ------------------
  |  Branch (10695:3): [True: 401, False: 14.6M]
  ------------------
10696|    401|#line 3103 "MachineIndependent/glslang.y"
10697|    401|                             {
10698|    401|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    401|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    401|#define parseContext (*pParseContext)
  ------------------
10699|    401|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    401|#define parseContext (*pParseContext)
  ------------------
10700|    401|        (yyval.interm.type).basicType = EbtSampler;
10701|    401|        (yyval.interm.type).sampler.set(EbtFloat16, EsdRect, false, true);
10702|    401|    }
10703|    401|#line 10704 "MachineIndependent/glslang_tab.cpp"
10704|    401|    break;
10705|       |
10706|  3.33k|  case 454: /* type_specifier_nonarray: ISAMPLER2DRECT  */
  ------------------
  |  Branch (10706:3): [True: 3.33k, False: 14.6M]
  ------------------
10707|  3.33k|#line 3109 "MachineIndependent/glslang.y"
10708|  3.33k|                     {
10709|  3.33k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  3.33k|#define parseContext (*pParseContext)
  ------------------
10710|  3.33k|        (yyval.interm.type).basicType = EbtSampler;
10711|  3.33k|        (yyval.interm.type).sampler.set(EbtInt, EsdRect);
10712|  3.33k|    }
10713|  3.33k|#line 10714 "MachineIndependent/glslang_tab.cpp"
10714|  3.33k|    break;
10715|       |
10716|  3.33k|  case 455: /* type_specifier_nonarray: USAMPLER2DRECT  */
  ------------------
  |  Branch (10716:3): [True: 3.33k, False: 14.6M]
  ------------------
10717|  3.33k|#line 3114 "MachineIndependent/glslang.y"
10718|  3.33k|                     {
10719|  3.33k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  3.33k|#define parseContext (*pParseContext)
  ------------------
10720|  3.33k|        (yyval.interm.type).basicType = EbtSampler;
10721|  3.33k|        (yyval.interm.type).sampler.set(EbtUint, EsdRect);
10722|  3.33k|    }
10723|  3.33k|#line 10724 "MachineIndependent/glslang_tab.cpp"
10724|  3.33k|    break;
10725|       |
10726|    224|  case 456: /* type_specifier_nonarray: SAMPLERBUFFER  */
  ------------------
  |  Branch (10726:3): [True: 224, False: 14.6M]
  ------------------
10727|    224|#line 3119 "MachineIndependent/glslang.y"
10728|    224|                    {
10729|    224|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    224|#define parseContext (*pParseContext)
  ------------------
10730|    224|        (yyval.interm.type).basicType = EbtSampler;
10731|    224|        (yyval.interm.type).sampler.set(EbtFloat, EsdBuffer);
10732|    224|    }
10733|    224|#line 10734 "MachineIndependent/glslang_tab.cpp"
10734|    224|    break;
10735|       |
10736|     15|  case 457: /* type_specifier_nonarray: F16SAMPLERBUFFER  */
  ------------------
  |  Branch (10736:3): [True: 15, False: 14.6M]
  ------------------
10737|     15|#line 3124 "MachineIndependent/glslang.y"
10738|     15|                       {
10739|     15|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     15|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     15|#define parseContext (*pParseContext)
  ------------------
10740|     15|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     15|#define parseContext (*pParseContext)
  ------------------
10741|     15|        (yyval.interm.type).basicType = EbtSampler;
10742|     15|        (yyval.interm.type).sampler.set(EbtFloat16, EsdBuffer);
10743|     15|    }
10744|     15|#line 10745 "MachineIndependent/glslang_tab.cpp"
10745|     15|    break;
10746|       |
10747|    218|  case 458: /* type_specifier_nonarray: ISAMPLERBUFFER  */
  ------------------
  |  Branch (10747:3): [True: 218, False: 14.6M]
  ------------------
10748|    218|#line 3130 "MachineIndependent/glslang.y"
10749|    218|                     {
10750|    218|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    218|#define parseContext (*pParseContext)
  ------------------
10751|    218|        (yyval.interm.type).basicType = EbtSampler;
10752|    218|        (yyval.interm.type).sampler.set(EbtInt, EsdBuffer);
10753|    218|    }
10754|    218|#line 10755 "MachineIndependent/glslang_tab.cpp"
10755|    218|    break;
10756|       |
10757|    218|  case 459: /* type_specifier_nonarray: USAMPLERBUFFER  */
  ------------------
  |  Branch (10757:3): [True: 218, False: 14.6M]
  ------------------
10758|    218|#line 3135 "MachineIndependent/glslang.y"
10759|    218|                     {
10760|    218|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    218|#define parseContext (*pParseContext)
  ------------------
10761|    218|        (yyval.interm.type).basicType = EbtSampler;
10762|    218|        (yyval.interm.type).sampler.set(EbtUint, EsdBuffer);
10763|    218|    }
10764|    218|#line 10765 "MachineIndependent/glslang_tab.cpp"
10765|    218|    break;
10766|       |
10767|    244|  case 460: /* type_specifier_nonarray: SAMPLER2DMS  */
  ------------------
  |  Branch (10767:3): [True: 244, False: 14.6M]
  ------------------
10768|    244|#line 3140 "MachineIndependent/glslang.y"
10769|    244|                  {
10770|    244|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    244|#define parseContext (*pParseContext)
  ------------------
10771|    244|        (yyval.interm.type).basicType = EbtSampler;
10772|    244|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, false, false, true);
10773|    244|    }
10774|    244|#line 10775 "MachineIndependent/glslang_tab.cpp"
10775|    244|    break;
10776|       |
10777|     30|  case 461: /* type_specifier_nonarray: F16SAMPLER2DMS  */
  ------------------
  |  Branch (10777:3): [True: 30, False: 14.6M]
  ------------------
10778|     30|#line 3145 "MachineIndependent/glslang.y"
10779|     30|                     {
10780|     30|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
10781|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
10782|     30|        (yyval.interm.type).basicType = EbtSampler;
10783|     30|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, false, false, true);
10784|     30|    }
10785|     30|#line 10786 "MachineIndependent/glslang_tab.cpp"
10786|     30|    break;
10787|       |
10788|    238|  case 462: /* type_specifier_nonarray: ISAMPLER2DMS  */
  ------------------
  |  Branch (10788:3): [True: 238, False: 14.6M]
  ------------------
10789|    238|#line 3151 "MachineIndependent/glslang.y"
10790|    238|                   {
10791|    238|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    238|#define parseContext (*pParseContext)
  ------------------
10792|    238|        (yyval.interm.type).basicType = EbtSampler;
10793|    238|        (yyval.interm.type).sampler.set(EbtInt, Esd2D, false, false, true);
10794|    238|    }
10795|    238|#line 10796 "MachineIndependent/glslang_tab.cpp"
10796|    238|    break;
10797|       |
10798|    238|  case 463: /* type_specifier_nonarray: USAMPLER2DMS  */
  ------------------
  |  Branch (10798:3): [True: 238, False: 14.6M]
  ------------------
10799|    238|#line 3156 "MachineIndependent/glslang.y"
10800|    238|                   {
10801|    238|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    238|#define parseContext (*pParseContext)
  ------------------
10802|    238|        (yyval.interm.type).basicType = EbtSampler;
10803|    238|        (yyval.interm.type).sampler.set(EbtUint, Esd2D, false, false, true);
10804|    238|    }
10805|    238|#line 10806 "MachineIndependent/glslang_tab.cpp"
10806|    238|    break;
10807|       |
10808|    244|  case 464: /* type_specifier_nonarray: SAMPLER2DMSARRAY  */
  ------------------
  |  Branch (10808:3): [True: 244, False: 14.6M]
  ------------------
10809|    244|#line 3161 "MachineIndependent/glslang.y"
10810|    244|                       {
10811|    244|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    244|#define parseContext (*pParseContext)
  ------------------
10812|    244|        (yyval.interm.type).basicType = EbtSampler;
10813|    244|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, true, false, true);
10814|    244|    }
10815|    244|#line 10816 "MachineIndependent/glslang_tab.cpp"
10816|    244|    break;
10817|       |
10818|     30|  case 465: /* type_specifier_nonarray: F16SAMPLER2DMSARRAY  */
  ------------------
  |  Branch (10818:3): [True: 30, False: 14.6M]
  ------------------
10819|     30|#line 3166 "MachineIndependent/glslang.y"
10820|     30|                          {
10821|     30|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
10822|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
10823|     30|        (yyval.interm.type).basicType = EbtSampler;
10824|     30|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, true, false, true);
10825|     30|    }
10826|     30|#line 10827 "MachineIndependent/glslang_tab.cpp"
10827|     30|    break;
10828|       |
10829|    238|  case 466: /* type_specifier_nonarray: ISAMPLER2DMSARRAY  */
  ------------------
  |  Branch (10829:3): [True: 238, False: 14.6M]
  ------------------
10830|    238|#line 3172 "MachineIndependent/glslang.y"
10831|    238|                        {
10832|    238|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    238|#define parseContext (*pParseContext)
  ------------------
10833|    238|        (yyval.interm.type).basicType = EbtSampler;
10834|    238|        (yyval.interm.type).sampler.set(EbtInt, Esd2D, true, false, true);
10835|    238|    }
10836|    238|#line 10837 "MachineIndependent/glslang_tab.cpp"
10837|    238|    break;
10838|       |
10839|    238|  case 467: /* type_specifier_nonarray: USAMPLER2DMSARRAY  */
  ------------------
  |  Branch (10839:3): [True: 238, False: 14.6M]
  ------------------
10840|    238|#line 3177 "MachineIndependent/glslang.y"
10841|    238|                        {
10842|    238|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    238|#define parseContext (*pParseContext)
  ------------------
10843|    238|        (yyval.interm.type).basicType = EbtSampler;
10844|    238|        (yyval.interm.type).sampler.set(EbtUint, Esd2D, true, false, true);
10845|    238|    }
10846|    238|#line 10847 "MachineIndependent/glslang_tab.cpp"
10847|    238|    break;
10848|       |
10849|    338|  case 468: /* type_specifier_nonarray: TEXTURE1D  */
  ------------------
  |  Branch (10849:3): [True: 338, False: 14.6M]
  ------------------
10850|    338|#line 3182 "MachineIndependent/glslang.y"
10851|    338|                {
10852|    338|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    338|#define parseContext (*pParseContext)
  ------------------
10853|    338|        (yyval.interm.type).basicType = EbtSampler;
10854|    338|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd1D);
10855|    338|    }
10856|    338|#line 10857 "MachineIndependent/glslang_tab.cpp"
10857|    338|    break;
10858|       |
10859|     30|  case 469: /* type_specifier_nonarray: F16TEXTURE1D  */
  ------------------
  |  Branch (10859:3): [True: 30, False: 14.6M]
  ------------------
10860|     30|#line 3187 "MachineIndependent/glslang.y"
10861|     30|                   {
10862|     30|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
10863|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
10864|     30|        (yyval.interm.type).basicType = EbtSampler;
10865|     30|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd1D);
10866|     30|    }
10867|     30|#line 10868 "MachineIndependent/glslang_tab.cpp"
10868|     30|    break;
10869|       |
10870|     50|  case 470: /* type_specifier_nonarray: F16TEXTURE2D  */
  ------------------
  |  Branch (10870:3): [True: 50, False: 14.6M]
  ------------------
10871|     50|#line 3193 "MachineIndependent/glslang.y"
10872|     50|                   {
10873|     50|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
10874|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
10875|     50|        (yyval.interm.type).basicType = EbtSampler;
10876|     50|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D);
10877|     50|    }
10878|     50|#line 10879 "MachineIndependent/glslang_tab.cpp"
10879|     50|    break;
10880|       |
10881|     50|  case 471: /* type_specifier_nonarray: F16TEXTURE3D  */
  ------------------
  |  Branch (10881:3): [True: 50, False: 14.6M]
  ------------------
10882|     50|#line 3199 "MachineIndependent/glslang.y"
10883|     50|                   {
10884|     50|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
10885|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
10886|     50|        (yyval.interm.type).basicType = EbtSampler;
10887|     50|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd3D);
10888|     50|    }
10889|     50|#line 10890 "MachineIndependent/glslang_tab.cpp"
10890|     50|    break;
10891|       |
10892|     10|  case 472: /* type_specifier_nonarray: F16TEXTURECUBE  */
  ------------------
  |  Branch (10892:3): [True: 10, False: 14.6M]
  ------------------
10893|     10|#line 3205 "MachineIndependent/glslang.y"
10894|     10|                     {
10895|     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)
  ------------------
10896|     10|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
10897|     10|        (yyval.interm.type).basicType = EbtSampler;
10898|     10|        (yyval.interm.type).sampler.setTexture(EbtFloat16, EsdCube);
10899|     10|    }
10900|     10|#line 10901 "MachineIndependent/glslang_tab.cpp"
10901|     10|    break;
10902|       |
10903|    338|  case 473: /* type_specifier_nonarray: TEXTURE1DARRAY  */
  ------------------
  |  Branch (10903:3): [True: 338, False: 14.6M]
  ------------------
10904|    338|#line 3211 "MachineIndependent/glslang.y"
10905|    338|                     {
10906|    338|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    338|#define parseContext (*pParseContext)
  ------------------
10907|    338|        (yyval.interm.type).basicType = EbtSampler;
10908|    338|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd1D, true);
10909|    338|    }
10910|    338|#line 10911 "MachineIndependent/glslang_tab.cpp"
10911|    338|    break;
10912|       |
10913|     30|  case 474: /* type_specifier_nonarray: F16TEXTURE1DARRAY  */
  ------------------
  |  Branch (10913:3): [True: 30, False: 14.6M]
  ------------------
10914|     30|#line 3216 "MachineIndependent/glslang.y"
10915|     30|                        {
10916|     30|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
10917|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
10918|     30|        (yyval.interm.type).basicType = EbtSampler;
10919|     30|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd1D, true);
10920|     30|    }
10921|     30|#line 10922 "MachineIndependent/glslang_tab.cpp"
10922|     30|    break;
10923|       |
10924|     50|  case 475: /* type_specifier_nonarray: F16TEXTURE2DARRAY  */
  ------------------
  |  Branch (10924:3): [True: 50, False: 14.6M]
  ------------------
10925|     50|#line 3222 "MachineIndependent/glslang.y"
10926|     50|                        {
10927|     50|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
10928|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     50|#define parseContext (*pParseContext)
  ------------------
10929|     50|        (yyval.interm.type).basicType = EbtSampler;
10930|     50|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D, true);
10931|     50|    }
10932|     50|#line 10933 "MachineIndependent/glslang_tab.cpp"
10933|     50|    break;
10934|       |
10935|     10|  case 476: /* type_specifier_nonarray: F16TEXTURECUBEARRAY  */
  ------------------
  |  Branch (10935:3): [True: 10, False: 14.6M]
  ------------------
10936|     10|#line 3228 "MachineIndependent/glslang.y"
10937|     10|                          {
10938|     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)
  ------------------
10939|     10|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
10940|     10|        (yyval.interm.type).basicType = EbtSampler;
10941|     10|        (yyval.interm.type).sampler.setTexture(EbtFloat16, EsdCube, true);
10942|     10|    }
10943|     10|#line 10944 "MachineIndependent/glslang_tab.cpp"
10944|     10|    break;
10945|       |
10946|    332|  case 477: /* type_specifier_nonarray: ITEXTURE1D  */
  ------------------
  |  Branch (10946:3): [True: 332, False: 14.6M]
  ------------------
10947|    332|#line 3234 "MachineIndependent/glslang.y"
10948|    332|                 {
10949|    332|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    332|#define parseContext (*pParseContext)
  ------------------
10950|    332|        (yyval.interm.type).basicType = EbtSampler;
10951|    332|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd1D);
10952|    332|    }
10953|    332|#line 10954 "MachineIndependent/glslang_tab.cpp"
10954|    332|    break;
10955|       |
10956|    332|  case 478: /* type_specifier_nonarray: ITEXTURE1DARRAY  */
  ------------------
  |  Branch (10956:3): [True: 332, False: 14.6M]
  ------------------
10957|    332|#line 3239 "MachineIndependent/glslang.y"
10958|    332|                      {
10959|    332|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    332|#define parseContext (*pParseContext)
  ------------------
10960|    332|        (yyval.interm.type).basicType = EbtSampler;
10961|    332|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd1D, true);
10962|    332|    }
10963|    332|#line 10964 "MachineIndependent/glslang_tab.cpp"
10964|    332|    break;
10965|       |
10966|    332|  case 479: /* type_specifier_nonarray: UTEXTURE1D  */
  ------------------
  |  Branch (10966:3): [True: 332, False: 14.6M]
  ------------------
10967|    332|#line 3244 "MachineIndependent/glslang.y"
10968|    332|                 {
10969|    332|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    332|#define parseContext (*pParseContext)
  ------------------
10970|    332|        (yyval.interm.type).basicType = EbtSampler;
10971|    332|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd1D);
10972|    332|    }
10973|    332|#line 10974 "MachineIndependent/glslang_tab.cpp"
10974|    332|    break;
10975|       |
10976|    332|  case 480: /* type_specifier_nonarray: UTEXTURE1DARRAY  */
  ------------------
  |  Branch (10976:3): [True: 332, False: 14.6M]
  ------------------
10977|    332|#line 3249 "MachineIndependent/glslang.y"
10978|    332|                      {
10979|    332|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    332|#define parseContext (*pParseContext)
  ------------------
10980|    332|        (yyval.interm.type).basicType = EbtSampler;
10981|    332|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd1D, true);
10982|    332|    }
10983|    332|#line 10984 "MachineIndependent/glslang_tab.cpp"
10984|    332|    break;
10985|       |
10986|    343|  case 481: /* type_specifier_nonarray: TEXTURE2DRECT  */
  ------------------
  |  Branch (10986:3): [True: 343, False: 14.6M]
  ------------------
10987|    343|#line 3254 "MachineIndependent/glslang.y"
10988|    343|                    {
10989|    343|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    343|#define parseContext (*pParseContext)
  ------------------
10990|    343|        (yyval.interm.type).basicType = EbtSampler;
10991|    343|        (yyval.interm.type).sampler.setTexture(EbtFloat, EsdRect);
10992|    343|    }
10993|    343|#line 10994 "MachineIndependent/glslang_tab.cpp"
10994|    343|    break;
10995|       |
10996|     45|  case 482: /* type_specifier_nonarray: F16TEXTURE2DRECT  */
  ------------------
  |  Branch (10996:3): [True: 45, False: 14.6M]
  ------------------
10997|     45|#line 3259 "MachineIndependent/glslang.y"
10998|     45|                       {
10999|     45|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     45|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     45|#define parseContext (*pParseContext)
  ------------------
11000|     45|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     45|#define parseContext (*pParseContext)
  ------------------
11001|     45|        (yyval.interm.type).basicType = EbtSampler;
11002|     45|        (yyval.interm.type).sampler.setTexture(EbtFloat16, EsdRect);
11003|     45|    }
11004|     45|#line 11005 "MachineIndependent/glslang_tab.cpp"
11005|     45|    break;
11006|       |
11007|    337|  case 483: /* type_specifier_nonarray: ITEXTURE2DRECT  */
  ------------------
  |  Branch (11007:3): [True: 337, False: 14.6M]
  ------------------
11008|    337|#line 3265 "MachineIndependent/glslang.y"
11009|    337|                     {
11010|    337|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    337|#define parseContext (*pParseContext)
  ------------------
11011|    337|        (yyval.interm.type).basicType = EbtSampler;
11012|    337|        (yyval.interm.type).sampler.setTexture(EbtInt, EsdRect);
11013|    337|    }
11014|    337|#line 11015 "MachineIndependent/glslang_tab.cpp"
11015|    337|    break;
11016|       |
11017|    337|  case 484: /* type_specifier_nonarray: UTEXTURE2DRECT  */
  ------------------
  |  Branch (11017:3): [True: 337, False: 14.6M]
  ------------------
11018|    337|#line 3270 "MachineIndependent/glslang.y"
11019|    337|                     {
11020|    337|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    337|#define parseContext (*pParseContext)
  ------------------
11021|    337|        (yyval.interm.type).basicType = EbtSampler;
11022|    337|        (yyval.interm.type).sampler.setTexture(EbtUint, EsdRect);
11023|    337|    }
11024|    337|#line 11025 "MachineIndependent/glslang_tab.cpp"
11025|    337|    break;
11026|       |
11027|    224|  case 485: /* type_specifier_nonarray: TEXTUREBUFFER  */
  ------------------
  |  Branch (11027:3): [True: 224, False: 14.6M]
  ------------------
11028|    224|#line 3275 "MachineIndependent/glslang.y"
11029|    224|                    {
11030|    224|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    224|#define parseContext (*pParseContext)
  ------------------
11031|    224|        (yyval.interm.type).basicType = EbtSampler;
11032|    224|        (yyval.interm.type).sampler.setTexture(EbtFloat, EsdBuffer);
11033|    224|    }
11034|    224|#line 11035 "MachineIndependent/glslang_tab.cpp"
11035|    224|    break;
11036|       |
11037|     15|  case 486: /* type_specifier_nonarray: F16TEXTUREBUFFER  */
  ------------------
  |  Branch (11037:3): [True: 15, False: 14.6M]
  ------------------
11038|     15|#line 3280 "MachineIndependent/glslang.y"
11039|     15|                       {
11040|     15|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     15|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     15|#define parseContext (*pParseContext)
  ------------------
11041|     15|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     15|#define parseContext (*pParseContext)
  ------------------
11042|     15|        (yyval.interm.type).basicType = EbtSampler;
11043|     15|        (yyval.interm.type).sampler.setTexture(EbtFloat16, EsdBuffer);
11044|     15|    }
11045|     15|#line 11046 "MachineIndependent/glslang_tab.cpp"
11046|     15|    break;
11047|       |
11048|    218|  case 487: /* type_specifier_nonarray: ITEXTUREBUFFER  */
  ------------------
  |  Branch (11048:3): [True: 218, False: 14.6M]
  ------------------
11049|    218|#line 3286 "MachineIndependent/glslang.y"
11050|    218|                     {
11051|    218|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    218|#define parseContext (*pParseContext)
  ------------------
11052|    218|        (yyval.interm.type).basicType = EbtSampler;
11053|    218|        (yyval.interm.type).sampler.setTexture(EbtInt, EsdBuffer);
11054|    218|    }
11055|    218|#line 11056 "MachineIndependent/glslang_tab.cpp"
11056|    218|    break;
11057|       |
11058|    218|  case 488: /* type_specifier_nonarray: UTEXTUREBUFFER  */
  ------------------
  |  Branch (11058:3): [True: 218, False: 14.6M]
  ------------------
11059|    218|#line 3291 "MachineIndependent/glslang.y"
11060|    218|                     {
11061|    218|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    218|#define parseContext (*pParseContext)
  ------------------
11062|    218|        (yyval.interm.type).basicType = EbtSampler;
11063|    218|        (yyval.interm.type).sampler.setTexture(EbtUint, EsdBuffer);
11064|    218|    }
11065|    218|#line 11066 "MachineIndependent/glslang_tab.cpp"
11066|    218|    break;
11067|       |
11068|    234|  case 489: /* type_specifier_nonarray: TEXTURE2DMS  */
  ------------------
  |  Branch (11068:3): [True: 234, False: 14.6M]
  ------------------
11069|    234|#line 3296 "MachineIndependent/glslang.y"
11070|    234|                  {
11071|    234|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    234|#define parseContext (*pParseContext)
  ------------------
11072|    234|        (yyval.interm.type).basicType = EbtSampler;
11073|    234|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D, false, false, true);
11074|    234|    }
11075|    234|#line 11076 "MachineIndependent/glslang_tab.cpp"
11076|    234|    break;
11077|       |
11078|     30|  case 490: /* type_specifier_nonarray: F16TEXTURE2DMS  */
  ------------------
  |  Branch (11078:3): [True: 30, False: 14.6M]
  ------------------
11079|     30|#line 3301 "MachineIndependent/glslang.y"
11080|     30|                     {
11081|     30|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
11082|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
11083|     30|        (yyval.interm.type).basicType = EbtSampler;
11084|     30|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D, false, false, true);
11085|     30|    }
11086|     30|#line 11087 "MachineIndependent/glslang_tab.cpp"
11087|     30|    break;
11088|       |
11089|    228|  case 491: /* type_specifier_nonarray: ITEXTURE2DMS  */
  ------------------
  |  Branch (11089:3): [True: 228, False: 14.6M]
  ------------------
11090|    228|#line 3307 "MachineIndependent/glslang.y"
11091|    228|                   {
11092|    228|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    228|#define parseContext (*pParseContext)
  ------------------
11093|    228|        (yyval.interm.type).basicType = EbtSampler;
11094|    228|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd2D, false, false, true);
11095|    228|    }
11096|    228|#line 11097 "MachineIndependent/glslang_tab.cpp"
11097|    228|    break;
11098|       |
11099|    228|  case 492: /* type_specifier_nonarray: UTEXTURE2DMS  */
  ------------------
  |  Branch (11099:3): [True: 228, False: 14.6M]
  ------------------
11100|    228|#line 3312 "MachineIndependent/glslang.y"
11101|    228|                   {
11102|    228|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    228|#define parseContext (*pParseContext)
  ------------------
11103|    228|        (yyval.interm.type).basicType = EbtSampler;
11104|    228|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd2D, false, false, true);
11105|    228|    }
11106|    228|#line 11107 "MachineIndependent/glslang_tab.cpp"
11107|    228|    break;
11108|       |
11109|    234|  case 493: /* type_specifier_nonarray: TEXTURE2DMSARRAY  */
  ------------------
  |  Branch (11109:3): [True: 234, False: 14.6M]
  ------------------
11110|    234|#line 3317 "MachineIndependent/glslang.y"
11111|    234|                       {
11112|    234|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    234|#define parseContext (*pParseContext)
  ------------------
11113|    234|        (yyval.interm.type).basicType = EbtSampler;
11114|    234|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D, true, false, true);
11115|    234|    }
11116|    234|#line 11117 "MachineIndependent/glslang_tab.cpp"
11117|    234|    break;
11118|       |
11119|     30|  case 494: /* type_specifier_nonarray: F16TEXTURE2DMSARRAY  */
  ------------------
  |  Branch (11119:3): [True: 30, False: 14.6M]
  ------------------
11120|     30|#line 3322 "MachineIndependent/glslang.y"
11121|     30|                          {
11122|     30|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
11123|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
11124|     30|        (yyval.interm.type).basicType = EbtSampler;
11125|     30|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D, true, false, true);
11126|     30|    }
11127|     30|#line 11128 "MachineIndependent/glslang_tab.cpp"
11128|     30|    break;
11129|       |
11130|    228|  case 495: /* type_specifier_nonarray: ITEXTURE2DMSARRAY  */
  ------------------
  |  Branch (11130:3): [True: 228, False: 14.6M]
  ------------------
11131|    228|#line 3328 "MachineIndependent/glslang.y"
11132|    228|                        {
11133|    228|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    228|#define parseContext (*pParseContext)
  ------------------
11134|    228|        (yyval.interm.type).basicType = EbtSampler;
11135|    228|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd2D, true, false, true);
11136|    228|    }
11137|    228|#line 11138 "MachineIndependent/glslang_tab.cpp"
11138|    228|    break;
11139|       |
11140|    228|  case 496: /* type_specifier_nonarray: UTEXTURE2DMSARRAY  */
  ------------------
  |  Branch (11140:3): [True: 228, False: 14.6M]
  ------------------
11141|    228|#line 3333 "MachineIndependent/glslang.y"
11142|    228|                        {
11143|    228|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    228|#define parseContext (*pParseContext)
  ------------------
11144|    228|        (yyval.interm.type).basicType = EbtSampler;
11145|    228|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd2D, true, false, true);
11146|    228|    }
11147|    228|#line 11148 "MachineIndependent/glslang_tab.cpp"
11148|    228|    break;
11149|       |
11150|    329|  case 497: /* type_specifier_nonarray: IMAGE1D  */
  ------------------
  |  Branch (11150:3): [True: 329, False: 14.6M]
  ------------------
11151|    329|#line 3338 "MachineIndependent/glslang.y"
11152|    329|              {
11153|    329|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    329|#define parseContext (*pParseContext)
  ------------------
11154|    329|        (yyval.interm.type).basicType = EbtSampler;
11155|    329|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd1D);
11156|    329|    }
11157|    329|#line 11158 "MachineIndependent/glslang_tab.cpp"
11158|    329|    break;
11159|       |
11160|    115|  case 498: /* type_specifier_nonarray: F16IMAGE1D  */
  ------------------
  |  Branch (11160:3): [True: 115, False: 14.6M]
  ------------------
11161|    115|#line 3343 "MachineIndependent/glslang.y"
11162|    115|                 {
11163|    115|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    115|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    115|#define parseContext (*pParseContext)
  ------------------
11164|    115|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    115|#define parseContext (*pParseContext)
  ------------------
11165|    115|        (yyval.interm.type).basicType = EbtSampler;
11166|    115|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd1D);
11167|    115|    }
11168|    115|#line 11169 "MachineIndependent/glslang_tab.cpp"
11169|    115|    break;
11170|       |
11171|  2.19k|  case 499: /* type_specifier_nonarray: IIMAGE1D  */
  ------------------
  |  Branch (11171:3): [True: 2.19k, False: 14.6M]
  ------------------
11172|  2.19k|#line 3349 "MachineIndependent/glslang.y"
11173|  2.19k|               {
11174|  2.19k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.19k|#define parseContext (*pParseContext)
  ------------------
11175|  2.19k|        (yyval.interm.type).basicType = EbtSampler;
11176|  2.19k|        (yyval.interm.type).sampler.setImage(EbtInt, Esd1D);
11177|  2.19k|    }
11178|  2.19k|#line 11179 "MachineIndependent/glslang_tab.cpp"
11179|  2.19k|    break;
11180|       |
11181|  2.19k|  case 500: /* type_specifier_nonarray: UIMAGE1D  */
  ------------------
  |  Branch (11181:3): [True: 2.19k, False: 14.6M]
  ------------------
11182|  2.19k|#line 3354 "MachineIndependent/glslang.y"
11183|  2.19k|               {
11184|  2.19k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.19k|#define parseContext (*pParseContext)
  ------------------
11185|  2.19k|        (yyval.interm.type).basicType = EbtSampler;
11186|  2.19k|        (yyval.interm.type).sampler.setImage(EbtUint, Esd1D);
11187|  2.19k|    }
11188|  2.19k|#line 11189 "MachineIndependent/glslang_tab.cpp"
11189|  2.19k|    break;
11190|       |
11191|    339|  case 501: /* type_specifier_nonarray: IMAGE2D  */
  ------------------
  |  Branch (11191:3): [True: 339, False: 14.6M]
  ------------------
11192|    339|#line 3359 "MachineIndependent/glslang.y"
11193|    339|              {
11194|    339|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    339|#define parseContext (*pParseContext)
  ------------------
11195|    339|        (yyval.interm.type).basicType = EbtSampler;
11196|    339|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd2D);
11197|    339|    }
11198|    339|#line 11199 "MachineIndependent/glslang_tab.cpp"
11199|    339|    break;
11200|       |
11201|    125|  case 502: /* type_specifier_nonarray: F16IMAGE2D  */
  ------------------
  |  Branch (11201:3): [True: 125, False: 14.6M]
  ------------------
11202|    125|#line 3364 "MachineIndependent/glslang.y"
11203|    125|                 {
11204|    125|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    125|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    125|#define parseContext (*pParseContext)
  ------------------
11205|    125|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    125|#define parseContext (*pParseContext)
  ------------------
11206|    125|        (yyval.interm.type).basicType = EbtSampler;
11207|    125|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D);
11208|    125|    }
11209|    125|#line 11210 "MachineIndependent/glslang_tab.cpp"
11210|    125|    break;
11211|       |
11212|  2.20k|  case 503: /* type_specifier_nonarray: IIMAGE2D  */
  ------------------
  |  Branch (11212:3): [True: 2.20k, False: 14.6M]
  ------------------
11213|  2.20k|#line 3370 "MachineIndependent/glslang.y"
11214|  2.20k|               {
11215|  2.20k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.20k|#define parseContext (*pParseContext)
  ------------------
11216|  2.20k|        (yyval.interm.type).basicType = EbtSampler;
11217|  2.20k|        (yyval.interm.type).sampler.setImage(EbtInt, Esd2D);
11218|  2.20k|    }
11219|  2.20k|#line 11220 "MachineIndependent/glslang_tab.cpp"
11220|  2.20k|    break;
11221|       |
11222|  2.20k|  case 504: /* type_specifier_nonarray: UIMAGE2D  */
  ------------------
  |  Branch (11222:3): [True: 2.20k, False: 14.6M]
  ------------------
11223|  2.20k|#line 3375 "MachineIndependent/glslang.y"
11224|  2.20k|               {
11225|  2.20k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.20k|#define parseContext (*pParseContext)
  ------------------
11226|  2.20k|        (yyval.interm.type).basicType = EbtSampler;
11227|  2.20k|        (yyval.interm.type).sampler.setImage(EbtUint, Esd2D);
11228|  2.20k|    }
11229|  2.20k|#line 11230 "MachineIndependent/glslang_tab.cpp"
11230|  2.20k|    break;
11231|       |
11232|    339|  case 505: /* type_specifier_nonarray: IMAGE3D  */
  ------------------
  |  Branch (11232:3): [True: 339, False: 14.6M]
  ------------------
11233|    339|#line 3380 "MachineIndependent/glslang.y"
11234|    339|              {
11235|    339|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    339|#define parseContext (*pParseContext)
  ------------------
11236|    339|        (yyval.interm.type).basicType = EbtSampler;
11237|    339|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd3D);
11238|    339|    }
11239|    339|#line 11240 "MachineIndependent/glslang_tab.cpp"
11240|    339|    break;
11241|       |
11242|    125|  case 506: /* type_specifier_nonarray: F16IMAGE3D  */
  ------------------
  |  Branch (11242:3): [True: 125, False: 14.6M]
  ------------------
11243|    125|#line 3385 "MachineIndependent/glslang.y"
11244|    125|                 {
11245|    125|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    125|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    125|#define parseContext (*pParseContext)
  ------------------
11246|    125|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    125|#define parseContext (*pParseContext)
  ------------------
11247|    125|        (yyval.interm.type).basicType = EbtSampler;
11248|    125|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd3D);
11249|    125|    }
11250|    125|#line 11251 "MachineIndependent/glslang_tab.cpp"
11251|    125|    break;
11252|       |
11253|  2.20k|  case 507: /* type_specifier_nonarray: IIMAGE3D  */
  ------------------
  |  Branch (11253:3): [True: 2.20k, False: 14.6M]
  ------------------
11254|  2.20k|#line 3391 "MachineIndependent/glslang.y"
11255|  2.20k|               {
11256|  2.20k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.20k|#define parseContext (*pParseContext)
  ------------------
11257|  2.20k|        (yyval.interm.type).basicType = EbtSampler;
11258|  2.20k|        (yyval.interm.type).sampler.setImage(EbtInt, Esd3D);
11259|  2.20k|    }
11260|  2.20k|#line 11261 "MachineIndependent/glslang_tab.cpp"
11261|  2.20k|    break;
11262|       |
11263|  2.20k|  case 508: /* type_specifier_nonarray: UIMAGE3D  */
  ------------------
  |  Branch (11263:3): [True: 2.20k, False: 14.6M]
  ------------------
11264|  2.20k|#line 3396 "MachineIndependent/glslang.y"
11265|  2.20k|               {
11266|  2.20k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.20k|#define parseContext (*pParseContext)
  ------------------
11267|  2.20k|        (yyval.interm.type).basicType = EbtSampler;
11268|  2.20k|        (yyval.interm.type).sampler.setImage(EbtUint, Esd3D);
11269|  2.20k|    }
11270|  2.20k|#line 11271 "MachineIndependent/glslang_tab.cpp"
11271|  2.20k|    break;
11272|       |
11273|    324|  case 509: /* type_specifier_nonarray: IMAGE2DRECT  */
  ------------------
  |  Branch (11273:3): [True: 324, False: 14.6M]
  ------------------
11274|    324|#line 3401 "MachineIndependent/glslang.y"
11275|    324|                  {
11276|    324|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    324|#define parseContext (*pParseContext)
  ------------------
11277|    324|        (yyval.interm.type).basicType = EbtSampler;
11278|    324|        (yyval.interm.type).sampler.setImage(EbtFloat, EsdRect);
11279|    324|    }
11280|    324|#line 11281 "MachineIndependent/glslang_tab.cpp"
11281|    324|    break;
11282|       |
11283|    110|  case 510: /* type_specifier_nonarray: F16IMAGE2DRECT  */
  ------------------
  |  Branch (11283:3): [True: 110, False: 14.6M]
  ------------------
11284|    110|#line 3406 "MachineIndependent/glslang.y"
11285|    110|                     {
11286|    110|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    110|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    110|#define parseContext (*pParseContext)
  ------------------
11287|    110|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    110|#define parseContext (*pParseContext)
  ------------------
11288|    110|        (yyval.interm.type).basicType = EbtSampler;
11289|    110|        (yyval.interm.type).sampler.setImage(EbtFloat16, EsdRect);
11290|    110|    }
11291|    110|#line 11292 "MachineIndependent/glslang_tab.cpp"
11292|    110|    break;
11293|       |
11294|  2.19k|  case 511: /* type_specifier_nonarray: IIMAGE2DRECT  */
  ------------------
  |  Branch (11294:3): [True: 2.19k, False: 14.6M]
  ------------------
11295|  2.19k|#line 3412 "MachineIndependent/glslang.y"
11296|  2.19k|                   {
11297|  2.19k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.19k|#define parseContext (*pParseContext)
  ------------------
11298|  2.19k|        (yyval.interm.type).basicType = EbtSampler;
11299|  2.19k|        (yyval.interm.type).sampler.setImage(EbtInt, EsdRect);
11300|  2.19k|    }
11301|  2.19k|#line 11302 "MachineIndependent/glslang_tab.cpp"
11302|  2.19k|    break;
11303|       |
11304|  2.19k|  case 512: /* type_specifier_nonarray: UIMAGE2DRECT  */
  ------------------
  |  Branch (11304:3): [True: 2.19k, False: 14.6M]
  ------------------
11305|  2.19k|#line 3417 "MachineIndependent/glslang.y"
11306|  2.19k|                   {
11307|  2.19k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.19k|#define parseContext (*pParseContext)
  ------------------
11308|  2.19k|        (yyval.interm.type).basicType = EbtSampler;
11309|  2.19k|        (yyval.interm.type).sampler.setImage(EbtUint, EsdRect);
11310|  2.19k|    }
11311|  2.19k|#line 11312 "MachineIndependent/glslang_tab.cpp"
11312|  2.19k|    break;
11313|       |
11314|    339|  case 513: /* type_specifier_nonarray: IMAGECUBE  */
  ------------------
  |  Branch (11314:3): [True: 339, False: 14.6M]
  ------------------
11315|    339|#line 3422 "MachineIndependent/glslang.y"
11316|    339|                {
11317|    339|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    339|#define parseContext (*pParseContext)
  ------------------
11318|    339|        (yyval.interm.type).basicType = EbtSampler;
11319|    339|        (yyval.interm.type).sampler.setImage(EbtFloat, EsdCube);
11320|    339|    }
11321|    339|#line 11322 "MachineIndependent/glslang_tab.cpp"
11322|    339|    break;
11323|       |
11324|    125|  case 514: /* type_specifier_nonarray: F16IMAGECUBE  */
  ------------------
  |  Branch (11324:3): [True: 125, False: 14.6M]
  ------------------
11325|    125|#line 3427 "MachineIndependent/glslang.y"
11326|    125|                   {
11327|    125|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    125|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    125|#define parseContext (*pParseContext)
  ------------------
11328|    125|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    125|#define parseContext (*pParseContext)
  ------------------
11329|    125|        (yyval.interm.type).basicType = EbtSampler;
11330|    125|        (yyval.interm.type).sampler.setImage(EbtFloat16, EsdCube);
11331|    125|    }
11332|    125|#line 11333 "MachineIndependent/glslang_tab.cpp"
11333|    125|    break;
11334|       |
11335|  2.20k|  case 515: /* type_specifier_nonarray: IIMAGECUBE  */
  ------------------
  |  Branch (11335:3): [True: 2.20k, False: 14.6M]
  ------------------
11336|  2.20k|#line 3433 "MachineIndependent/glslang.y"
11337|  2.20k|                 {
11338|  2.20k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.20k|#define parseContext (*pParseContext)
  ------------------
11339|  2.20k|        (yyval.interm.type).basicType = EbtSampler;
11340|  2.20k|        (yyval.interm.type).sampler.setImage(EbtInt, EsdCube);
11341|  2.20k|    }
11342|  2.20k|#line 11343 "MachineIndependent/glslang_tab.cpp"
11343|  2.20k|    break;
11344|       |
11345|  2.20k|  case 516: /* type_specifier_nonarray: UIMAGECUBE  */
  ------------------
  |  Branch (11345:3): [True: 2.20k, False: 14.6M]
  ------------------
11346|  2.20k|#line 3438 "MachineIndependent/glslang.y"
11347|  2.20k|                 {
11348|  2.20k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.20k|#define parseContext (*pParseContext)
  ------------------
11349|  2.20k|        (yyval.interm.type).basicType = EbtSampler;
11350|  2.20k|        (yyval.interm.type).sampler.setImage(EbtUint, EsdCube);
11351|  2.20k|    }
11352|  2.20k|#line 11353 "MachineIndependent/glslang_tab.cpp"
11353|  2.20k|    break;
11354|       |
11355|    319|  case 517: /* type_specifier_nonarray: IMAGEBUFFER  */
  ------------------
  |  Branch (11355:3): [True: 319, False: 14.6M]
  ------------------
11356|    319|#line 3443 "MachineIndependent/glslang.y"
11357|    319|                  {
11358|    319|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    319|#define parseContext (*pParseContext)
  ------------------
11359|    319|        (yyval.interm.type).basicType = EbtSampler;
11360|    319|        (yyval.interm.type).sampler.setImage(EbtFloat, EsdBuffer);
11361|    319|    }
11362|    319|#line 11363 "MachineIndependent/glslang_tab.cpp"
11363|    319|    break;
11364|       |
11365|    105|  case 518: /* type_specifier_nonarray: F16IMAGEBUFFER  */
  ------------------
  |  Branch (11365:3): [True: 105, False: 14.6M]
  ------------------
11366|    105|#line 3448 "MachineIndependent/glslang.y"
11367|    105|                     {
11368|    105|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    105|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    105|#define parseContext (*pParseContext)
  ------------------
11369|    105|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    105|#define parseContext (*pParseContext)
  ------------------
11370|    105|        (yyval.interm.type).basicType = EbtSampler;
11371|    105|        (yyval.interm.type).sampler.setImage(EbtFloat16, EsdBuffer);
11372|    105|    }
11373|    105|#line 11374 "MachineIndependent/glslang_tab.cpp"
11374|    105|    break;
11375|       |
11376|  2.18k|  case 519: /* type_specifier_nonarray: IIMAGEBUFFER  */
  ------------------
  |  Branch (11376:3): [True: 2.18k, False: 14.6M]
  ------------------
11377|  2.18k|#line 3454 "MachineIndependent/glslang.y"
11378|  2.18k|                   {
11379|  2.18k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.18k|#define parseContext (*pParseContext)
  ------------------
11380|  2.18k|        (yyval.interm.type).basicType = EbtSampler;
11381|  2.18k|        (yyval.interm.type).sampler.setImage(EbtInt, EsdBuffer);
11382|  2.18k|    }
11383|  2.18k|#line 11384 "MachineIndependent/glslang_tab.cpp"
11384|  2.18k|    break;
11385|       |
11386|  2.18k|  case 520: /* type_specifier_nonarray: UIMAGEBUFFER  */
  ------------------
  |  Branch (11386:3): [True: 2.18k, False: 14.6M]
  ------------------
11387|  2.18k|#line 3459 "MachineIndependent/glslang.y"
11388|  2.18k|                   {
11389|  2.18k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.18k|#define parseContext (*pParseContext)
  ------------------
11390|  2.18k|        (yyval.interm.type).basicType = EbtSampler;
11391|  2.18k|        (yyval.interm.type).sampler.setImage(EbtUint, EsdBuffer);
11392|  2.18k|    }
11393|  2.18k|#line 11394 "MachineIndependent/glslang_tab.cpp"
11394|  2.18k|    break;
11395|       |
11396|    329|  case 521: /* type_specifier_nonarray: IMAGE1DARRAY  */
  ------------------
  |  Branch (11396:3): [True: 329, False: 14.6M]
  ------------------
11397|    329|#line 3464 "MachineIndependent/glslang.y"
11398|    329|                   {
11399|    329|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    329|#define parseContext (*pParseContext)
  ------------------
11400|    329|        (yyval.interm.type).basicType = EbtSampler;
11401|    329|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd1D, true);
11402|    329|    }
11403|    329|#line 11404 "MachineIndependent/glslang_tab.cpp"
11404|    329|    break;
11405|       |
11406|    115|  case 522: /* type_specifier_nonarray: F16IMAGE1DARRAY  */
  ------------------
  |  Branch (11406:3): [True: 115, False: 14.6M]
  ------------------
11407|    115|#line 3469 "MachineIndependent/glslang.y"
11408|    115|                      {
11409|    115|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    115|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    115|#define parseContext (*pParseContext)
  ------------------
11410|    115|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    115|#define parseContext (*pParseContext)
  ------------------
11411|    115|        (yyval.interm.type).basicType = EbtSampler;
11412|    115|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd1D, true);
11413|    115|    }
11414|    115|#line 11415 "MachineIndependent/glslang_tab.cpp"
11415|    115|    break;
11416|       |
11417|  2.19k|  case 523: /* type_specifier_nonarray: IIMAGE1DARRAY  */
  ------------------
  |  Branch (11417:3): [True: 2.19k, False: 14.6M]
  ------------------
11418|  2.19k|#line 3475 "MachineIndependent/glslang.y"
11419|  2.19k|                    {
11420|  2.19k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.19k|#define parseContext (*pParseContext)
  ------------------
11421|  2.19k|        (yyval.interm.type).basicType = EbtSampler;
11422|  2.19k|        (yyval.interm.type).sampler.setImage(EbtInt, Esd1D, true);
11423|  2.19k|    }
11424|  2.19k|#line 11425 "MachineIndependent/glslang_tab.cpp"
11425|  2.19k|    break;
11426|       |
11427|  2.19k|  case 524: /* type_specifier_nonarray: UIMAGE1DARRAY  */
  ------------------
  |  Branch (11427:3): [True: 2.19k, False: 14.6M]
  ------------------
11428|  2.19k|#line 3480 "MachineIndependent/glslang.y"
11429|  2.19k|                    {
11430|  2.19k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.19k|#define parseContext (*pParseContext)
  ------------------
11431|  2.19k|        (yyval.interm.type).basicType = EbtSampler;
11432|  2.19k|        (yyval.interm.type).sampler.setImage(EbtUint, Esd1D, true);
11433|  2.19k|    }
11434|  2.19k|#line 11435 "MachineIndependent/glslang_tab.cpp"
11435|  2.19k|    break;
11436|       |
11437|    339|  case 525: /* type_specifier_nonarray: IMAGE2DARRAY  */
  ------------------
  |  Branch (11437:3): [True: 339, False: 14.6M]
  ------------------
11438|    339|#line 3485 "MachineIndependent/glslang.y"
11439|    339|                   {
11440|    339|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    339|#define parseContext (*pParseContext)
  ------------------
11441|    339|        (yyval.interm.type).basicType = EbtSampler;
11442|    339|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd2D, true);
11443|    339|    }
11444|    339|#line 11445 "MachineIndependent/glslang_tab.cpp"
11445|    339|    break;
11446|       |
11447|    125|  case 526: /* type_specifier_nonarray: F16IMAGE2DARRAY  */
  ------------------
  |  Branch (11447:3): [True: 125, False: 14.6M]
  ------------------
11448|    125|#line 3490 "MachineIndependent/glslang.y"
11449|    125|                      {
11450|    125|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    125|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    125|#define parseContext (*pParseContext)
  ------------------
11451|    125|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    125|#define parseContext (*pParseContext)
  ------------------
11452|    125|        (yyval.interm.type).basicType = EbtSampler;
11453|    125|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D, true);
11454|    125|    }
11455|    125|#line 11456 "MachineIndependent/glslang_tab.cpp"
11456|    125|    break;
11457|       |
11458|  2.20k|  case 527: /* type_specifier_nonarray: IIMAGE2DARRAY  */
  ------------------
  |  Branch (11458:3): [True: 2.20k, False: 14.6M]
  ------------------
11459|  2.20k|#line 3496 "MachineIndependent/glslang.y"
11460|  2.20k|                    {
11461|  2.20k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.20k|#define parseContext (*pParseContext)
  ------------------
11462|  2.20k|        (yyval.interm.type).basicType = EbtSampler;
11463|  2.20k|        (yyval.interm.type).sampler.setImage(EbtInt, Esd2D, true);
11464|  2.20k|    }
11465|  2.20k|#line 11466 "MachineIndependent/glslang_tab.cpp"
11466|  2.20k|    break;
11467|       |
11468|  2.20k|  case 528: /* type_specifier_nonarray: UIMAGE2DARRAY  */
  ------------------
  |  Branch (11468:3): [True: 2.20k, False: 14.6M]
  ------------------
11469|  2.20k|#line 3501 "MachineIndependent/glslang.y"
11470|  2.20k|                    {
11471|  2.20k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.20k|#define parseContext (*pParseContext)
  ------------------
11472|  2.20k|        (yyval.interm.type).basicType = EbtSampler;
11473|  2.20k|        (yyval.interm.type).sampler.setImage(EbtUint, Esd2D, true);
11474|  2.20k|    }
11475|  2.20k|#line 11476 "MachineIndependent/glslang_tab.cpp"
11476|  2.20k|    break;
11477|       |
11478|    339|  case 529: /* type_specifier_nonarray: IMAGECUBEARRAY  */
  ------------------
  |  Branch (11478:3): [True: 339, False: 14.6M]
  ------------------
11479|    339|#line 3506 "MachineIndependent/glslang.y"
11480|    339|                     {
11481|    339|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    339|#define parseContext (*pParseContext)
  ------------------
11482|    339|        (yyval.interm.type).basicType = EbtSampler;
11483|    339|        (yyval.interm.type).sampler.setImage(EbtFloat, EsdCube, true);
11484|    339|    }
11485|    339|#line 11486 "MachineIndependent/glslang_tab.cpp"
11486|    339|    break;
11487|       |
11488|    125|  case 530: /* type_specifier_nonarray: F16IMAGECUBEARRAY  */
  ------------------
  |  Branch (11488:3): [True: 125, False: 14.6M]
  ------------------
11489|    125|#line 3511 "MachineIndependent/glslang.y"
11490|    125|                        {
11491|    125|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    125|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    125|#define parseContext (*pParseContext)
  ------------------
11492|    125|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    125|#define parseContext (*pParseContext)
  ------------------
11493|    125|        (yyval.interm.type).basicType = EbtSampler;
11494|    125|        (yyval.interm.type).sampler.setImage(EbtFloat16, EsdCube, true);
11495|    125|    }
11496|    125|#line 11497 "MachineIndependent/glslang_tab.cpp"
11497|    125|    break;
11498|       |
11499|  2.20k|  case 531: /* type_specifier_nonarray: IIMAGECUBEARRAY  */
  ------------------
  |  Branch (11499:3): [True: 2.20k, False: 14.6M]
  ------------------
11500|  2.20k|#line 3517 "MachineIndependent/glslang.y"
11501|  2.20k|                      {
11502|  2.20k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.20k|#define parseContext (*pParseContext)
  ------------------
11503|  2.20k|        (yyval.interm.type).basicType = EbtSampler;
11504|  2.20k|        (yyval.interm.type).sampler.setImage(EbtInt, EsdCube, true);
11505|  2.20k|    }
11506|  2.20k|#line 11507 "MachineIndependent/glslang_tab.cpp"
11507|  2.20k|    break;
11508|       |
11509|  2.20k|  case 532: /* type_specifier_nonarray: UIMAGECUBEARRAY  */
  ------------------
  |  Branch (11509:3): [True: 2.20k, False: 14.6M]
  ------------------
11510|  2.20k|#line 3522 "MachineIndependent/glslang.y"
11511|  2.20k|                      {
11512|  2.20k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.20k|#define parseContext (*pParseContext)
  ------------------
11513|  2.20k|        (yyval.interm.type).basicType = EbtSampler;
11514|  2.20k|        (yyval.interm.type).sampler.setImage(EbtUint, EsdCube, true);
11515|  2.20k|    }
11516|  2.20k|#line 11517 "MachineIndependent/glslang_tab.cpp"
11517|  2.20k|    break;
11518|       |
11519|    329|  case 533: /* type_specifier_nonarray: IMAGE2DMS  */
  ------------------
  |  Branch (11519:3): [True: 329, False: 14.6M]
  ------------------
11520|    329|#line 3527 "MachineIndependent/glslang.y"
11521|    329|                {
11522|    329|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    329|#define parseContext (*pParseContext)
  ------------------
11523|    329|        (yyval.interm.type).basicType = EbtSampler;
11524|    329|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd2D, false, false, true);
11525|    329|    }
11526|    329|#line 11527 "MachineIndependent/glslang_tab.cpp"
11527|    329|    break;
11528|       |
11529|    115|  case 534: /* type_specifier_nonarray: F16IMAGE2DMS  */
  ------------------
  |  Branch (11529:3): [True: 115, False: 14.6M]
  ------------------
11530|    115|#line 3532 "MachineIndependent/glslang.y"
11531|    115|                   {
11532|    115|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    115|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    115|#define parseContext (*pParseContext)
  ------------------
11533|    115|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    115|#define parseContext (*pParseContext)
  ------------------
11534|    115|        (yyval.interm.type).basicType = EbtSampler;
11535|    115|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D, false, false, true);
11536|    115|    }
11537|    115|#line 11538 "MachineIndependent/glslang_tab.cpp"
11538|    115|    break;
11539|       |
11540|  2.19k|  case 535: /* type_specifier_nonarray: IIMAGE2DMS  */
  ------------------
  |  Branch (11540:3): [True: 2.19k, False: 14.6M]
  ------------------
11541|  2.19k|#line 3538 "MachineIndependent/glslang.y"
11542|  2.19k|                 {
11543|  2.19k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.19k|#define parseContext (*pParseContext)
  ------------------
11544|  2.19k|        (yyval.interm.type).basicType = EbtSampler;
11545|  2.19k|        (yyval.interm.type).sampler.setImage(EbtInt, Esd2D, false, false, true);
11546|  2.19k|    }
11547|  2.19k|#line 11548 "MachineIndependent/glslang_tab.cpp"
11548|  2.19k|    break;
11549|       |
11550|  2.19k|  case 536: /* type_specifier_nonarray: UIMAGE2DMS  */
  ------------------
  |  Branch (11550:3): [True: 2.19k, False: 14.6M]
  ------------------
11551|  2.19k|#line 3543 "MachineIndependent/glslang.y"
11552|  2.19k|                 {
11553|  2.19k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.19k|#define parseContext (*pParseContext)
  ------------------
11554|  2.19k|        (yyval.interm.type).basicType = EbtSampler;
11555|  2.19k|        (yyval.interm.type).sampler.setImage(EbtUint, Esd2D, false, false, true);
11556|  2.19k|    }
11557|  2.19k|#line 11558 "MachineIndependent/glslang_tab.cpp"
11558|  2.19k|    break;
11559|       |
11560|    329|  case 537: /* type_specifier_nonarray: IMAGE2DMSARRAY  */
  ------------------
  |  Branch (11560:3): [True: 329, False: 14.6M]
  ------------------
11561|    329|#line 3548 "MachineIndependent/glslang.y"
11562|    329|                     {
11563|    329|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    329|#define parseContext (*pParseContext)
  ------------------
11564|    329|        (yyval.interm.type).basicType = EbtSampler;
11565|    329|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd2D, true, false, true);
11566|    329|    }
11567|    329|#line 11568 "MachineIndependent/glslang_tab.cpp"
11568|    329|    break;
11569|       |
11570|    115|  case 538: /* type_specifier_nonarray: F16IMAGE2DMSARRAY  */
  ------------------
  |  Branch (11570:3): [True: 115, False: 14.6M]
  ------------------
11571|    115|#line 3553 "MachineIndependent/glslang.y"
11572|    115|                        {
11573|    115|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    115|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    115|#define parseContext (*pParseContext)
  ------------------
11574|    115|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    115|#define parseContext (*pParseContext)
  ------------------
11575|    115|        (yyval.interm.type).basicType = EbtSampler;
11576|    115|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D, true, false, true);
11577|    115|    }
11578|    115|#line 11579 "MachineIndependent/glslang_tab.cpp"
11579|    115|    break;
11580|       |
11581|  2.19k|  case 539: /* type_specifier_nonarray: IIMAGE2DMSARRAY  */
  ------------------
  |  Branch (11581:3): [True: 2.19k, False: 14.6M]
  ------------------
11582|  2.19k|#line 3559 "MachineIndependent/glslang.y"
11583|  2.19k|                      {
11584|  2.19k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.19k|#define parseContext (*pParseContext)
  ------------------
11585|  2.19k|        (yyval.interm.type).basicType = EbtSampler;
11586|  2.19k|        (yyval.interm.type).sampler.setImage(EbtInt, Esd2D, true, false, true);
11587|  2.19k|    }
11588|  2.19k|#line 11589 "MachineIndependent/glslang_tab.cpp"
11589|  2.19k|    break;
11590|       |
11591|  2.19k|  case 540: /* type_specifier_nonarray: UIMAGE2DMSARRAY  */
  ------------------
  |  Branch (11591:3): [True: 2.19k, False: 14.6M]
  ------------------
11592|  2.19k|#line 3564 "MachineIndependent/glslang.y"
11593|  2.19k|                      {
11594|  2.19k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.19k|#define parseContext (*pParseContext)
  ------------------
11595|  2.19k|        (yyval.interm.type).basicType = EbtSampler;
11596|  2.19k|        (yyval.interm.type).sampler.setImage(EbtUint, Esd2D, true, false, true);
11597|  2.19k|    }
11598|  2.19k|#line 11599 "MachineIndependent/glslang_tab.cpp"
11599|  2.19k|    break;
11600|       |
11601|    115|  case 541: /* type_specifier_nonarray: I64IMAGE1D  */
  ------------------
  |  Branch (11601:3): [True: 115, False: 14.6M]
  ------------------
11602|    115|#line 3569 "MachineIndependent/glslang.y"
11603|    115|                 {
11604|    115|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    115|#define parseContext (*pParseContext)
  ------------------
11605|    115|        (yyval.interm.type).basicType = EbtSampler;
11606|    115|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd1D);
11607|    115|    }
11608|    115|#line 11609 "MachineIndependent/glslang_tab.cpp"
11609|    115|    break;
11610|       |
11611|    115|  case 542: /* type_specifier_nonarray: U64IMAGE1D  */
  ------------------
  |  Branch (11611:3): [True: 115, False: 14.6M]
  ------------------
11612|    115|#line 3574 "MachineIndependent/glslang.y"
11613|    115|                 {
11614|    115|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    115|#define parseContext (*pParseContext)
  ------------------
11615|    115|        (yyval.interm.type).basicType = EbtSampler;
11616|    115|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd1D);
11617|    115|    }
11618|    115|#line 11619 "MachineIndependent/glslang_tab.cpp"
11619|    115|    break;
11620|       |
11621|    125|  case 543: /* type_specifier_nonarray: I64IMAGE2D  */
  ------------------
  |  Branch (11621:3): [True: 125, False: 14.6M]
  ------------------
11622|    125|#line 3579 "MachineIndependent/glslang.y"
11623|    125|                 {
11624|    125|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    125|#define parseContext (*pParseContext)
  ------------------
11625|    125|        (yyval.interm.type).basicType = EbtSampler;
11626|    125|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd2D);
11627|    125|    }
11628|    125|#line 11629 "MachineIndependent/glslang_tab.cpp"
11629|    125|    break;
11630|       |
11631|    125|  case 544: /* type_specifier_nonarray: U64IMAGE2D  */
  ------------------
  |  Branch (11631:3): [True: 125, False: 14.6M]
  ------------------
11632|    125|#line 3584 "MachineIndependent/glslang.y"
11633|    125|                 {
11634|    125|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    125|#define parseContext (*pParseContext)
  ------------------
11635|    125|        (yyval.interm.type).basicType = EbtSampler;
11636|    125|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd2D);
11637|    125|    }
11638|    125|#line 11639 "MachineIndependent/glslang_tab.cpp"
11639|    125|    break;
11640|       |
11641|    125|  case 545: /* type_specifier_nonarray: I64IMAGE3D  */
  ------------------
  |  Branch (11641:3): [True: 125, False: 14.6M]
  ------------------
11642|    125|#line 3589 "MachineIndependent/glslang.y"
11643|    125|                 {
11644|    125|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    125|#define parseContext (*pParseContext)
  ------------------
11645|    125|        (yyval.interm.type).basicType = EbtSampler;
11646|    125|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd3D);
11647|    125|    }
11648|    125|#line 11649 "MachineIndependent/glslang_tab.cpp"
11649|    125|    break;
11650|       |
11651|    125|  case 546: /* type_specifier_nonarray: U64IMAGE3D  */
  ------------------
  |  Branch (11651:3): [True: 125, False: 14.6M]
  ------------------
11652|    125|#line 3594 "MachineIndependent/glslang.y"
11653|    125|                 {
11654|    125|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    125|#define parseContext (*pParseContext)
  ------------------
11655|    125|        (yyval.interm.type).basicType = EbtSampler;
11656|    125|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd3D);
11657|    125|    }
11658|    125|#line 11659 "MachineIndependent/glslang_tab.cpp"
11659|    125|    break;
11660|       |
11661|    110|  case 547: /* type_specifier_nonarray: I64IMAGE2DRECT  */
  ------------------
  |  Branch (11661:3): [True: 110, False: 14.6M]
  ------------------
11662|    110|#line 3599 "MachineIndependent/glslang.y"
11663|    110|                     {
11664|    110|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    110|#define parseContext (*pParseContext)
  ------------------
11665|    110|        (yyval.interm.type).basicType = EbtSampler;
11666|    110|        (yyval.interm.type).sampler.setImage(EbtInt64, EsdRect);
11667|    110|    }
11668|    110|#line 11669 "MachineIndependent/glslang_tab.cpp"
11669|    110|    break;
11670|       |
11671|    110|  case 548: /* type_specifier_nonarray: U64IMAGE2DRECT  */
  ------------------
  |  Branch (11671:3): [True: 110, False: 14.6M]
  ------------------
11672|    110|#line 3604 "MachineIndependent/glslang.y"
11673|    110|                     {
11674|    110|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    110|#define parseContext (*pParseContext)
  ------------------
11675|    110|        (yyval.interm.type).basicType = EbtSampler;
11676|    110|        (yyval.interm.type).sampler.setImage(EbtUint64, EsdRect);
11677|    110|    }
11678|    110|#line 11679 "MachineIndependent/glslang_tab.cpp"
11679|    110|    break;
11680|       |
11681|    125|  case 549: /* type_specifier_nonarray: I64IMAGECUBE  */
  ------------------
  |  Branch (11681:3): [True: 125, False: 14.6M]
  ------------------
11682|    125|#line 3609 "MachineIndependent/glslang.y"
11683|    125|                   {
11684|    125|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    125|#define parseContext (*pParseContext)
  ------------------
11685|    125|        (yyval.interm.type).basicType = EbtSampler;
11686|    125|        (yyval.interm.type).sampler.setImage(EbtInt64, EsdCube);
11687|    125|    }
11688|    125|#line 11689 "MachineIndependent/glslang_tab.cpp"
11689|    125|    break;
11690|       |
11691|    125|  case 550: /* type_specifier_nonarray: U64IMAGECUBE  */
  ------------------
  |  Branch (11691:3): [True: 125, False: 14.6M]
  ------------------
11692|    125|#line 3614 "MachineIndependent/glslang.y"
11693|    125|                   {
11694|    125|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    125|#define parseContext (*pParseContext)
  ------------------
11695|    125|        (yyval.interm.type).basicType = EbtSampler;
11696|    125|        (yyval.interm.type).sampler.setImage(EbtUint64, EsdCube);
11697|    125|    }
11698|    125|#line 11699 "MachineIndependent/glslang_tab.cpp"
11699|    125|    break;
11700|       |
11701|    105|  case 551: /* type_specifier_nonarray: I64IMAGEBUFFER  */
  ------------------
  |  Branch (11701:3): [True: 105, False: 14.6M]
  ------------------
11702|    105|#line 3619 "MachineIndependent/glslang.y"
11703|    105|                     {
11704|    105|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    105|#define parseContext (*pParseContext)
  ------------------
11705|    105|        (yyval.interm.type).basicType = EbtSampler;
11706|    105|        (yyval.interm.type).sampler.setImage(EbtInt64, EsdBuffer);
11707|    105|    }
11708|    105|#line 11709 "MachineIndependent/glslang_tab.cpp"
11709|    105|    break;
11710|       |
11711|    105|  case 552: /* type_specifier_nonarray: U64IMAGEBUFFER  */
  ------------------
  |  Branch (11711:3): [True: 105, False: 14.6M]
  ------------------
11712|    105|#line 3624 "MachineIndependent/glslang.y"
11713|    105|                     {
11714|    105|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    105|#define parseContext (*pParseContext)
  ------------------
11715|    105|        (yyval.interm.type).basicType = EbtSampler;
11716|    105|        (yyval.interm.type).sampler.setImage(EbtUint64, EsdBuffer);
11717|    105|    }
11718|    105|#line 11719 "MachineIndependent/glslang_tab.cpp"
11719|    105|    break;
11720|       |
11721|    115|  case 553: /* type_specifier_nonarray: I64IMAGE1DARRAY  */
  ------------------
  |  Branch (11721:3): [True: 115, False: 14.6M]
  ------------------
11722|    115|#line 3629 "MachineIndependent/glslang.y"
11723|    115|                      {
11724|    115|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    115|#define parseContext (*pParseContext)
  ------------------
11725|    115|        (yyval.interm.type).basicType = EbtSampler;
11726|    115|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd1D, true);
11727|    115|    }
11728|    115|#line 11729 "MachineIndependent/glslang_tab.cpp"
11729|    115|    break;
11730|       |
11731|    115|  case 554: /* type_specifier_nonarray: U64IMAGE1DARRAY  */
  ------------------
  |  Branch (11731:3): [True: 115, False: 14.6M]
  ------------------
11732|    115|#line 3634 "MachineIndependent/glslang.y"
11733|    115|                      {
11734|    115|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    115|#define parseContext (*pParseContext)
  ------------------
11735|    115|        (yyval.interm.type).basicType = EbtSampler;
11736|    115|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd1D, true);
11737|    115|    }
11738|    115|#line 11739 "MachineIndependent/glslang_tab.cpp"
11739|    115|    break;
11740|       |
11741|    125|  case 555: /* type_specifier_nonarray: I64IMAGE2DARRAY  */
  ------------------
  |  Branch (11741:3): [True: 125, False: 14.6M]
  ------------------
11742|    125|#line 3639 "MachineIndependent/glslang.y"
11743|    125|                      {
11744|    125|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    125|#define parseContext (*pParseContext)
  ------------------
11745|    125|        (yyval.interm.type).basicType = EbtSampler;
11746|    125|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd2D, true);
11747|    125|    }
11748|    125|#line 11749 "MachineIndependent/glslang_tab.cpp"
11749|    125|    break;
11750|       |
11751|    125|  case 556: /* type_specifier_nonarray: U64IMAGE2DARRAY  */
  ------------------
  |  Branch (11751:3): [True: 125, False: 14.6M]
  ------------------
11752|    125|#line 3644 "MachineIndependent/glslang.y"
11753|    125|                      {
11754|    125|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    125|#define parseContext (*pParseContext)
  ------------------
11755|    125|        (yyval.interm.type).basicType = EbtSampler;
11756|    125|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd2D, true);
11757|    125|    }
11758|    125|#line 11759 "MachineIndependent/glslang_tab.cpp"
11759|    125|    break;
11760|       |
11761|    125|  case 557: /* type_specifier_nonarray: I64IMAGECUBEARRAY  */
  ------------------
  |  Branch (11761:3): [True: 125, False: 14.6M]
  ------------------
11762|    125|#line 3649 "MachineIndependent/glslang.y"
11763|    125|                        {
11764|    125|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    125|#define parseContext (*pParseContext)
  ------------------
11765|    125|        (yyval.interm.type).basicType = EbtSampler;
11766|    125|        (yyval.interm.type).sampler.setImage(EbtInt64, EsdCube, true);
11767|    125|    }
11768|    125|#line 11769 "MachineIndependent/glslang_tab.cpp"
11769|    125|    break;
11770|       |
11771|    125|  case 558: /* type_specifier_nonarray: U64IMAGECUBEARRAY  */
  ------------------
  |  Branch (11771:3): [True: 125, False: 14.6M]
  ------------------
11772|    125|#line 3654 "MachineIndependent/glslang.y"
11773|    125|                        {
11774|    125|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    125|#define parseContext (*pParseContext)
  ------------------
11775|    125|        (yyval.interm.type).basicType = EbtSampler;
11776|    125|        (yyval.interm.type).sampler.setImage(EbtUint64, EsdCube, true);
11777|    125|    }
11778|    125|#line 11779 "MachineIndependent/glslang_tab.cpp"
11779|    125|    break;
11780|       |
11781|    115|  case 559: /* type_specifier_nonarray: I64IMAGE2DMS  */
  ------------------
  |  Branch (11781:3): [True: 115, False: 14.6M]
  ------------------
11782|    115|#line 3659 "MachineIndependent/glslang.y"
11783|    115|                   {
11784|    115|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    115|#define parseContext (*pParseContext)
  ------------------
11785|    115|        (yyval.interm.type).basicType = EbtSampler;
11786|    115|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd2D, false, false, true);
11787|    115|    }
11788|    115|#line 11789 "MachineIndependent/glslang_tab.cpp"
11789|    115|    break;
11790|       |
11791|    115|  case 560: /* type_specifier_nonarray: U64IMAGE2DMS  */
  ------------------
  |  Branch (11791:3): [True: 115, False: 14.6M]
  ------------------
11792|    115|#line 3664 "MachineIndependent/glslang.y"
11793|    115|                   {
11794|    115|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    115|#define parseContext (*pParseContext)
  ------------------
11795|    115|        (yyval.interm.type).basicType = EbtSampler;
11796|    115|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd2D, false, false, true);
11797|    115|    }
11798|    115|#line 11799 "MachineIndependent/glslang_tab.cpp"
11799|    115|    break;
11800|       |
11801|    115|  case 561: /* type_specifier_nonarray: I64IMAGE2DMSARRAY  */
  ------------------
  |  Branch (11801:3): [True: 115, False: 14.6M]
  ------------------
11802|    115|#line 3669 "MachineIndependent/glslang.y"
11803|    115|                        {
11804|    115|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    115|#define parseContext (*pParseContext)
  ------------------
11805|    115|        (yyval.interm.type).basicType = EbtSampler;
11806|    115|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd2D, true, false, true);
11807|    115|    }
11808|    115|#line 11809 "MachineIndependent/glslang_tab.cpp"
11809|    115|    break;
11810|       |
11811|    115|  case 562: /* type_specifier_nonarray: U64IMAGE2DMSARRAY  */
  ------------------
  |  Branch (11811:3): [True: 115, False: 14.6M]
  ------------------
11812|    115|#line 3674 "MachineIndependent/glslang.y"
11813|    115|                        {
11814|    115|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    115|#define parseContext (*pParseContext)
  ------------------
11815|    115|        (yyval.interm.type).basicType = EbtSampler;
11816|    115|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd2D, true, false, true);
11817|    115|    }
11818|    115|#line 11819 "MachineIndependent/glslang_tab.cpp"
11819|    115|    break;
11820|       |
11821|      0|  case 563: /* type_specifier_nonarray: SAMPLEREXTERNALOES  */
  ------------------
  |  Branch (11821:3): [True: 0, False: 14.6M]
  ------------------
11822|      0|#line 3679 "MachineIndependent/glslang.y"
11823|      0|                         {  // GL_OES_EGL_image_external
11824|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11825|      0|        (yyval.interm.type).basicType = EbtSampler;
11826|      0|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D);
11827|      0|        (yyval.interm.type).sampler.external = true;
11828|      0|    }
11829|      0|#line 11830 "MachineIndependent/glslang_tab.cpp"
11830|      0|    break;
11831|       |
11832|      0|  case 564: /* type_specifier_nonarray: SAMPLEREXTERNAL2DY2YEXT  */
  ------------------
  |  Branch (11832:3): [True: 0, False: 14.6M]
  ------------------
11833|      0|#line 3685 "MachineIndependent/glslang.y"
11834|      0|                              { // GL_EXT_YUV_target
11835|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11836|      0|        (yyval.interm.type).basicType = EbtSampler;
11837|      0|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D);
11838|      0|        (yyval.interm.type).sampler.yuv = true;
11839|      0|    }
11840|      0|#line 11841 "MachineIndependent/glslang_tab.cpp"
11841|      0|    break;
11842|       |
11843|    230|  case 565: /* type_specifier_nonarray: ATTACHMENTEXT  */
  ------------------
  |  Branch (11843:3): [True: 230, False: 14.6M]
  ------------------
11844|    230|#line 3691 "MachineIndependent/glslang.y"
11845|    230|                    {
11846|    230|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "attachmentEXT input");
  ------------------
  |  |  783|    230|#define parseContext (*pParseContext)
  ------------------
11847|    230|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    230|#define parseContext (*pParseContext)
  ------------------
11848|    230|        (yyval.interm.type).basicType = EbtSampler;
11849|    230|        (yyval.interm.type).sampler.setAttachmentEXT(EbtFloat);
11850|    230|    }
11851|    230|#line 11852 "MachineIndependent/glslang_tab.cpp"
11852|    230|    break;
11853|       |
11854|    230|  case 566: /* type_specifier_nonarray: IATTACHMENTEXT  */
  ------------------
  |  Branch (11854:3): [True: 230, False: 14.6M]
  ------------------
11855|    230|#line 3697 "MachineIndependent/glslang.y"
11856|    230|                     {
11857|    230|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "attachmentEXT input");
  ------------------
  |  |  783|    230|#define parseContext (*pParseContext)
  ------------------
11858|    230|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    230|#define parseContext (*pParseContext)
  ------------------
11859|    230|        (yyval.interm.type).basicType = EbtSampler;
11860|    230|        (yyval.interm.type).sampler.setAttachmentEXT(EbtInt);
11861|    230|    }
11862|    230|#line 11863 "MachineIndependent/glslang_tab.cpp"
11863|    230|    break;
11864|       |
11865|    230|  case 567: /* type_specifier_nonarray: UATTACHMENTEXT  */
  ------------------
  |  Branch (11865:3): [True: 230, False: 14.6M]
  ------------------
11866|    230|#line 3703 "MachineIndependent/glslang.y"
11867|    230|                     {
11868|    230|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "attachmentEXT input");
  ------------------
  |  |  783|    230|#define parseContext (*pParseContext)
  ------------------
11869|    230|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    230|#define parseContext (*pParseContext)
  ------------------
11870|    230|        (yyval.interm.type).basicType = EbtSampler;
11871|    230|        (yyval.interm.type).sampler.setAttachmentEXT(EbtUint);
11872|    230|    }
11873|    230|#line 11874 "MachineIndependent/glslang_tab.cpp"
11874|    230|    break;
11875|       |
11876|    121|  case 568: /* type_specifier_nonarray: SUBPASSINPUT  */
  ------------------
  |  Branch (11876:3): [True: 121, False: 14.6M]
  ------------------
11877|    121|#line 3709 "MachineIndependent/glslang.y"
11878|    121|                   {
11879|    121|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|    121|#define parseContext (*pParseContext)
  ------------------
11880|    121|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    121|#define parseContext (*pParseContext)
  ------------------
11881|    121|        (yyval.interm.type).basicType = EbtSampler;
11882|    121|        (yyval.interm.type).sampler.setSubpass(EbtFloat);
11883|    121|    }
11884|    121|#line 11885 "MachineIndependent/glslang_tab.cpp"
11885|    121|    break;
11886|       |
11887|    143|  case 569: /* type_specifier_nonarray: SUBPASSINPUTMS  */
  ------------------
  |  Branch (11887:3): [True: 143, False: 14.6M]
  ------------------
11888|    143|#line 3715 "MachineIndependent/glslang.y"
11889|    143|                     {
11890|    143|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|    143|#define parseContext (*pParseContext)
  ------------------
11891|    143|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    143|#define parseContext (*pParseContext)
  ------------------
11892|    143|        (yyval.interm.type).basicType = EbtSampler;
11893|    143|        (yyval.interm.type).sampler.setSubpass(EbtFloat, true);
11894|    143|    }
11895|    143|#line 11896 "MachineIndependent/glslang_tab.cpp"
11896|    143|    break;
11897|       |
11898|     11|  case 570: /* type_specifier_nonarray: F16SUBPASSINPUT  */
  ------------------
  |  Branch (11898:3): [True: 11, False: 14.6M]
  ------------------
11899|     11|#line 3721 "MachineIndependent/glslang.y"
11900|     11|                      {
11901|     11|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float subpass input", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     11|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float subpass input", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     11|#define parseContext (*pParseContext)
  ------------------
11902|     11|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|     11|#define parseContext (*pParseContext)
  ------------------
11903|     11|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     11|#define parseContext (*pParseContext)
  ------------------
11904|     11|        (yyval.interm.type).basicType = EbtSampler;
11905|     11|        (yyval.interm.type).sampler.setSubpass(EbtFloat16);
11906|     11|    }
11907|     11|#line 11908 "MachineIndependent/glslang_tab.cpp"
11908|     11|    break;
11909|       |
11910|     11|  case 571: /* type_specifier_nonarray: F16SUBPASSINPUTMS  */
  ------------------
  |  Branch (11910:3): [True: 11, False: 14.6M]
  ------------------
11911|     11|#line 3728 "MachineIndependent/glslang.y"
11912|     11|                        {
11913|     11|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float subpass input", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     11|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float subpass input", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     11|#define parseContext (*pParseContext)
  ------------------
11914|     11|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|     11|#define parseContext (*pParseContext)
  ------------------
11915|     11|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     11|#define parseContext (*pParseContext)
  ------------------
11916|     11|        (yyval.interm.type).basicType = EbtSampler;
11917|     11|        (yyval.interm.type).sampler.setSubpass(EbtFloat16, true);
11918|     11|    }
11919|     11|#line 11920 "MachineIndependent/glslang_tab.cpp"
11920|     11|    break;
11921|       |
11922|    115|  case 572: /* type_specifier_nonarray: ISUBPASSINPUT  */
  ------------------
  |  Branch (11922:3): [True: 115, False: 14.6M]
  ------------------
11923|    115|#line 3735 "MachineIndependent/glslang.y"
11924|    115|                    {
11925|    115|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|    115|#define parseContext (*pParseContext)
  ------------------
11926|    115|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    115|#define parseContext (*pParseContext)
  ------------------
11927|    115|        (yyval.interm.type).basicType = EbtSampler;
11928|    115|        (yyval.interm.type).sampler.setSubpass(EbtInt);
11929|    115|    }
11930|    115|#line 11931 "MachineIndependent/glslang_tab.cpp"
11931|    115|    break;
11932|       |
11933|    137|  case 573: /* type_specifier_nonarray: ISUBPASSINPUTMS  */
  ------------------
  |  Branch (11933:3): [True: 137, False: 14.6M]
  ------------------
11934|    137|#line 3741 "MachineIndependent/glslang.y"
11935|    137|                      {
11936|    137|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|    137|#define parseContext (*pParseContext)
  ------------------
11937|    137|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    137|#define parseContext (*pParseContext)
  ------------------
11938|    137|        (yyval.interm.type).basicType = EbtSampler;
11939|    137|        (yyval.interm.type).sampler.setSubpass(EbtInt, true);
11940|    137|    }
11941|    137|#line 11942 "MachineIndependent/glslang_tab.cpp"
11942|    137|    break;
11943|       |
11944|    115|  case 574: /* type_specifier_nonarray: USUBPASSINPUT  */
  ------------------
  |  Branch (11944:3): [True: 115, False: 14.6M]
  ------------------
11945|    115|#line 3747 "MachineIndependent/glslang.y"
11946|    115|                    {
11947|    115|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|    115|#define parseContext (*pParseContext)
  ------------------
11948|    115|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    115|#define parseContext (*pParseContext)
  ------------------
11949|    115|        (yyval.interm.type).basicType = EbtSampler;
11950|    115|        (yyval.interm.type).sampler.setSubpass(EbtUint);
11951|    115|    }
11952|    115|#line 11953 "MachineIndependent/glslang_tab.cpp"
11953|    115|    break;
11954|       |
11955|    137|  case 575: /* type_specifier_nonarray: USUBPASSINPUTMS  */
  ------------------
  |  Branch (11955:3): [True: 137, False: 14.6M]
  ------------------
11956|    137|#line 3753 "MachineIndependent/glslang.y"
11957|    137|                      {
11958|    137|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|    137|#define parseContext (*pParseContext)
  ------------------
11959|    137|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    137|#define parseContext (*pParseContext)
  ------------------
11960|    137|        (yyval.interm.type).basicType = EbtSampler;
11961|    137|        (yyval.interm.type).sampler.setSubpass(EbtUint, true);
11962|    137|    }
11963|    137|#line 11964 "MachineIndependent/glslang_tab.cpp"
11964|    137|    break;
11965|       |
11966|    231|  case 576: /* type_specifier_nonarray: FCOOPMATNV  */
  ------------------
  |  Branch (11966:3): [True: 231, False: 14.6M]
  ------------------
11967|    231|#line 3759 "MachineIndependent/glslang.y"
11968|    231|                 {
11969|    231|        parseContext.fcoopmatCheckNV((yyvsp[0].lex).loc, "fcoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    231|#define parseContext (*pParseContext)
  ------------------
                      parseContext.fcoopmatCheckNV((yyvsp[0].lex).loc, "fcoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    231|#define parseContext (*pParseContext)
  ------------------
11970|    231|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    231|#define parseContext (*pParseContext)
  ------------------
11971|    231|        (yyval.interm.type).basicType = EbtFloat;
11972|    231|        (yyval.interm.type).coopmatNV = true;
11973|    231|        (yyval.interm.type).coopmatKHR = false;
11974|    231|    }
11975|    231|#line 11976 "MachineIndependent/glslang_tab.cpp"
11976|    231|    break;
11977|       |
11978|    308|  case 577: /* type_specifier_nonarray: ICOOPMATNV  */
  ------------------
  |  Branch (11978:3): [True: 308, False: 14.6M]
  ------------------
11979|    308|#line 3766 "MachineIndependent/glslang.y"
11980|    308|                 {
11981|    308|        parseContext.intcoopmatCheckNV((yyvsp[0].lex).loc, "icoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    308|#define parseContext (*pParseContext)
  ------------------
                      parseContext.intcoopmatCheckNV((yyvsp[0].lex).loc, "icoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    308|#define parseContext (*pParseContext)
  ------------------
11982|    308|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    308|#define parseContext (*pParseContext)
  ------------------
11983|    308|        (yyval.interm.type).basicType = EbtInt;
11984|    308|        (yyval.interm.type).coopmatNV = true;
11985|    308|        (yyval.interm.type).coopmatKHR = false;
11986|    308|    }
11987|    308|#line 11988 "MachineIndependent/glslang_tab.cpp"
11988|    308|    break;
11989|       |
11990|    308|  case 578: /* type_specifier_nonarray: UCOOPMATNV  */
  ------------------
  |  Branch (11990:3): [True: 308, False: 14.6M]
  ------------------
11991|    308|#line 3773 "MachineIndependent/glslang.y"
11992|    308|                 {
11993|    308|        parseContext.intcoopmatCheckNV((yyvsp[0].lex).loc, "ucoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    308|#define parseContext (*pParseContext)
  ------------------
                      parseContext.intcoopmatCheckNV((yyvsp[0].lex).loc, "ucoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    308|#define parseContext (*pParseContext)
  ------------------
11994|    308|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    308|#define parseContext (*pParseContext)
  ------------------
11995|    308|        (yyval.interm.type).basicType = EbtUint;
11996|    308|        (yyval.interm.type).coopmatNV = true;
11997|    308|        (yyval.interm.type).coopmatKHR = false;
11998|    308|    }
11999|    308|#line 12000 "MachineIndependent/glslang_tab.cpp"
12000|    308|    break;
12001|       |
12002|  1.08k|  case 579: /* type_specifier_nonarray: COOPMAT  */
  ------------------
  |  Branch (12002:3): [True: 1.08k, False: 14.6M]
  ------------------
12003|  1.08k|#line 3780 "MachineIndependent/glslang.y"
12004|  1.08k|              {
12005|  1.08k|        parseContext.coopmatCheck((yyvsp[0].lex).loc, "coopmat", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.08k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.coopmatCheck((yyvsp[0].lex).loc, "coopmat", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.08k|#define parseContext (*pParseContext)
  ------------------
12006|  1.08k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.08k|#define parseContext (*pParseContext)
  ------------------
12007|  1.08k|        (yyval.interm.type).basicType = EbtCoopmat;
12008|  1.08k|        (yyval.interm.type).coopmatNV = false;
12009|  1.08k|        (yyval.interm.type).coopmatKHR = true;
12010|  1.08k|    }
12011|  1.08k|#line 12012 "MachineIndependent/glslang_tab.cpp"
12012|  1.08k|    break;
12013|       |
12014|    300|  case 580: /* type_specifier_nonarray: TENSORLAYOUTNV  */
  ------------------
  |  Branch (12014:3): [True: 300, False: 14.6M]
  ------------------
12015|    300|#line 3787 "MachineIndependent/glslang.y"
12016|    300|                     {
12017|    300|        parseContext.tensorLayoutViewCheck((yyvsp[0].lex).loc, "tensorLayoutNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    300|#define parseContext (*pParseContext)
  ------------------
                      parseContext.tensorLayoutViewCheck((yyvsp[0].lex).loc, "tensorLayoutNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    300|#define parseContext (*pParseContext)
  ------------------
12018|    300|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    300|#define parseContext (*pParseContext)
  ------------------
12019|    300|        (yyval.interm.type).basicType = EbtTensorLayoutNV;
12020|    300|    }
12021|    300|#line 12022 "MachineIndependent/glslang_tab.cpp"
12022|    300|    break;
12023|       |
12024|    185|  case 581: /* type_specifier_nonarray: TENSORVIEWNV  */
  ------------------
  |  Branch (12024:3): [True: 185, False: 14.6M]
  ------------------
12025|    185|#line 3792 "MachineIndependent/glslang.y"
12026|    185|                   {
12027|    185|        parseContext.tensorLayoutViewCheck((yyvsp[0].lex).loc, "tensorViewNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    185|#define parseContext (*pParseContext)
  ------------------
                      parseContext.tensorLayoutViewCheck((yyvsp[0].lex).loc, "tensorViewNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    185|#define parseContext (*pParseContext)
  ------------------
12028|    185|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    185|#define parseContext (*pParseContext)
  ------------------
12029|    185|        (yyval.interm.type).basicType = EbtTensorViewNV;
12030|    185|    }
12031|    185|#line 12032 "MachineIndependent/glslang_tab.cpp"
12032|    185|    break;
12033|       |
12034|     70|  case 582: /* type_specifier_nonarray: FUNCTION  */
  ------------------
  |  Branch (12034:3): [True: 70, False: 14.6M]
  ------------------
12035|     70|#line 3797 "MachineIndependent/glslang.y"
12036|     70|               {
12037|     70|        (yyval.interm.type).init((yyvsp[0].lex).loc);
12038|     70|        (yyval.interm.type).basicType = EbtFunction;
12039|     70|    }
12040|     70|#line 12041 "MachineIndependent/glslang_tab.cpp"
12041|     70|    break;
12042|       |
12043|  3.97k|  case 583: /* type_specifier_nonarray: COOPVECNV  */
  ------------------
  |  Branch (12043:3): [True: 3.97k, False: 14.6M]
  ------------------
12044|  3.97k|#line 3801 "MachineIndependent/glslang.y"
12045|  3.97k|                {
12046|  3.97k|        parseContext.coopvecCheck((yyvsp[0].lex).loc, "coopvecNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  3.97k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.coopvecCheck((yyvsp[0].lex).loc, "coopvecNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  3.97k|#define parseContext (*pParseContext)
  ------------------
12047|  3.97k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  3.97k|#define parseContext (*pParseContext)
  ------------------
12048|  3.97k|        (yyval.interm.type).basicType = EbtCoopvecNV;
12049|  3.97k|        (yyval.interm.type).coopvecNV = true;
12050|  3.97k|    }
12051|  3.97k|#line 12052 "MachineIndependent/glslang_tab.cpp"
12052|  3.97k|    break;
12053|       |
12054|    305|  case 584: /* type_specifier_nonarray: TENSORARM  */
  ------------------
  |  Branch (12054:3): [True: 305, False: 14.6M]
  ------------------
12055|    305|#line 3807 "MachineIndependent/glslang.y"
12056|    305|                {
12057|    305|        parseContext.tensorCheckARM((yyvsp[0].lex).loc, "tensorARM", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    305|#define parseContext (*pParseContext)
  ------------------
                      parseContext.tensorCheckARM((yyvsp[0].lex).loc, "tensorARM", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    305|#define parseContext (*pParseContext)
  ------------------
12058|    305|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    305|#define parseContext (*pParseContext)
  ------------------
12059|    305|        (yyval.interm.type).tensorRankARM = 1; // placeholder value
12060|    305|        (yyval.interm.type).basicType = EbtTensorARM;
12061|    305|    }
12062|    305|#line 12063 "MachineIndependent/glslang_tab.cpp"
12063|    305|    break;
12064|       |
12065|  42.1k|  case 585: /* type_specifier_nonarray: VECTOR  */
  ------------------
  |  Branch (12065:3): [True: 42.1k, False: 14.6M]
  ------------------
12066|  42.1k|#line 3813 "MachineIndependent/glslang.y"
12067|  42.1k|             {
12068|  42.1k|        parseContext.longVectorCheck((yyvsp[0].lex).loc, "vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  42.1k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.longVectorCheck((yyvsp[0].lex).loc, "vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  42.1k|#define parseContext (*pParseContext)
  ------------------
12069|  42.1k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  42.1k|#define parseContext (*pParseContext)
  ------------------
12070|  42.1k|        (yyval.interm.type).basicType = EbtLongVector;
12071|  42.1k|        (yyval.interm.type).longVector = true;
12072|  42.1k|    }
12073|  42.1k|#line 12074 "MachineIndependent/glslang_tab.cpp"
12074|  42.1k|    break;
12075|       |
12076|      0|  case 586: /* type_specifier_nonarray: spirv_type_specifier  */
  ------------------
  |  Branch (12076:3): [True: 0, False: 14.6M]
  ------------------
12077|      0|#line 3819 "MachineIndependent/glslang.y"
12078|      0|                           {
12079|      0|        parseContext.requireExtensions((yyvsp[0].interm.type).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V type specifier");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12080|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
12081|      0|    }
12082|      0|#line 12083 "MachineIndependent/glslang_tab.cpp"
12083|      0|    break;
12084|       |
12085|      0|  case 587: /* type_specifier_nonarray: HITOBJECTNV  */
  ------------------
  |  Branch (12085:3): [True: 0, False: 14.6M]
  ------------------
12086|      0|#line 3823 "MachineIndependent/glslang.y"
12087|      0|                  {
12088|      0|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12089|      0|       (yyval.interm.type).basicType = EbtHitObjectNV;
12090|      0|    }
12091|      0|#line 12092 "MachineIndependent/glslang_tab.cpp"
12092|      0|    break;
12093|       |
12094|      0|  case 588: /* type_specifier_nonarray: HITOBJECTEXT  */
  ------------------
  |  Branch (12094:3): [True: 0, False: 14.6M]
  ------------------
12095|      0|#line 3827 "MachineIndependent/glslang.y"
12096|      0|                   {
12097|      0|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12098|      0|       (yyval.interm.type).basicType = EbtHitObjectEXT;
12099|      0|    }
12100|      0|#line 12101 "MachineIndependent/glslang_tab.cpp"
12101|      0|    break;
12102|       |
12103|     10|  case 589: /* type_specifier_nonarray: struct_specifier  */
  ------------------
  |  Branch (12103:3): [True: 10, False: 14.6M]
  ------------------
12104|     10|#line 3831 "MachineIndependent/glslang.y"
12105|     10|                       {
12106|     10|        (yyval.interm.type) = (yyvsp[0].interm.type);
12107|     10|        (yyval.interm.type).qualifier.storage = parseContext.symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary;
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12107:49): [True: 10, False: 0]
  ------------------
12108|     10|        parseContext.structTypeCheck((yyval.interm.type).loc, (yyval.interm.type));
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
12109|     10|    }
12110|     10|#line 12111 "MachineIndependent/glslang_tab.cpp"
12111|     10|    break;
12112|       |
12113|     60|  case 590: /* type_specifier_nonarray: TYPE_NAME  */
  ------------------
  |  Branch (12113:3): [True: 60, False: 14.6M]
  ------------------
12114|     60|#line 3836 "MachineIndependent/glslang.y"
12115|     60|                {
12116|       |        //
12117|       |        // This is for user defined type names.  The lexical phase looked up the
12118|       |        // type.
12119|       |        //
12120|     60|        if (const TVariable* variable = ((yyvsp[0].lex).symbol)->getAsVariable()) {
  ------------------
  |  Branch (12120:30): [True: 60, False: 0]
  ------------------
12121|     60|            const TType& structure = variable->getType();
12122|     60|            (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
12123|     60|            (yyval.interm.type).basicType = EbtStruct;
12124|     60|            (yyval.interm.type).userDef = &structure;
12125|     60|            if (structure.getQualifier().isBufferType())
  ------------------
  |  Branch (12125:17): [True: 0, False: 60]
  ------------------
12126|      0|                (yyval.interm.type).qualifier = structure.getQualifier();
12127|     60|        } else
12128|      0|            parseContext.error((yyvsp[0].lex).loc, "expected type name", (yyvsp[0].lex).string->c_str(), "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12129|     60|    }
12130|     60|#line 12131 "MachineIndependent/glslang_tab.cpp"
12131|     60|    break;
12132|       |
12133|  98.4k|  case 591: /* precision_qualifier: HIGH_PRECISION  */
  ------------------
  |  Branch (12133:3): [True: 98.4k, False: 14.5M]
  ------------------
12134|  98.4k|#line 3854 "MachineIndependent/glslang.y"
12135|  98.4k|                     {
12136|  98.4k|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "highp precision qualifier");
  ------------------
  |  |  783|  98.4k|#define parseContext (*pParseContext)
  ------------------
12137|  98.4k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  98.4k|#define parseContext (*pParseContext)
  ------------------
12138|  98.4k|        parseContext.handlePrecisionQualifier((yyvsp[0].lex).loc, (yyval.interm.type).qualifier, EpqHigh);
  ------------------
  |  |  783|  98.4k|#define parseContext (*pParseContext)
  ------------------
12139|  98.4k|    }
12140|  98.4k|#line 12141 "MachineIndependent/glslang_tab.cpp"
12141|  98.4k|    break;
12142|       |
12143|    972|  case 592: /* precision_qualifier: MEDIUM_PRECISION  */
  ------------------
  |  Branch (12143:3): [True: 972, False: 14.6M]
  ------------------
12144|    972|#line 3859 "MachineIndependent/glslang.y"
12145|    972|                       {
12146|    972|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "mediump precision qualifier");
  ------------------
  |  |  783|    972|#define parseContext (*pParseContext)
  ------------------
12147|    972|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    972|#define parseContext (*pParseContext)
  ------------------
12148|    972|        parseContext.handlePrecisionQualifier((yyvsp[0].lex).loc, (yyval.interm.type).qualifier, EpqMedium);
  ------------------
  |  |  783|    972|#define parseContext (*pParseContext)
  ------------------
12149|    972|    }
12150|    972|#line 12151 "MachineIndependent/glslang_tab.cpp"
12151|    972|    break;
12152|       |
12153|    320|  case 593: /* precision_qualifier: LOW_PRECISION  */
  ------------------
  |  Branch (12153:3): [True: 320, False: 14.6M]
  ------------------
12154|    320|#line 3864 "MachineIndependent/glslang.y"
12155|    320|                    {
12156|    320|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "lowp precision qualifier");
  ------------------
  |  |  783|    320|#define parseContext (*pParseContext)
  ------------------
12157|    320|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    320|#define parseContext (*pParseContext)
  ------------------
12158|    320|        parseContext.handlePrecisionQualifier((yyvsp[0].lex).loc, (yyval.interm.type).qualifier, EpqLow);
  ------------------
  |  |  783|    320|#define parseContext (*pParseContext)
  ------------------
12159|    320|    }
12160|    320|#line 12161 "MachineIndependent/glslang_tab.cpp"
12161|    320|    break;
12162|       |
12163|     10|  case 594: /* $@3: %empty  */
  ------------------
  |  Branch (12163:3): [True: 10, False: 14.6M]
  ------------------
12164|     10|#line 3872 "MachineIndependent/glslang.y"
12165|     10|                                   { parseContext.nestedStructCheck((yyvsp[-2].lex).loc); }
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
12166|     10|#line 12167 "MachineIndependent/glslang_tab.cpp"
12167|     10|    break;
12168|       |
12169|     10|  case 595: /* struct_specifier: STRUCT IDENTIFIER LEFT_BRACE $@3 struct_declaration_list RIGHT_BRACE  */
  ------------------
  |  Branch (12169:3): [True: 10, False: 14.6M]
  ------------------
12170|     10|#line 3872 "MachineIndependent/glslang.y"
12171|     10|                                                                                                                   {
12172|     10|        TType* structure = new TType((yyvsp[-1].interm.typeList), *(yyvsp[-4].lex).string);
12173|     10|        parseContext.structArrayCheck((yyvsp[-4].lex).loc, *structure);
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
12174|       |
12175|     10|        TVariable* userTypeDef = new TVariable((yyvsp[-4].lex).string, *structure, true);
12176|     10|        if (! parseContext.symbolTable.insert(*userTypeDef))
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12176:13): [True: 0, False: 10]
  ------------------
12177|      0|            parseContext.error((yyvsp[-4].lex).loc, "redefinition", (yyvsp[-4].lex).string->c_str(), "struct");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12178|     10|        else if (parseContext.spvVersion.vulkanRelaxed
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12178:18): [True: 0, False: 10]
  ------------------
12179|      0|                 && structure->containsOpaque())
  ------------------
  |  Branch (12179:21): [True: 0, False: 0]
  ------------------
12180|      0|            parseContext.relaxedSymbols.push_back(structure->getTypeName());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12181|       |
12182|     10|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
12183|     10|        (yyval.interm.type).basicType = EbtStruct;
12184|     10|        (yyval.interm.type).userDef = structure;
12185|     10|        --parseContext.structNestingLevel;
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
12186|     10|    }
12187|     10|#line 12188 "MachineIndependent/glslang_tab.cpp"
12188|     10|    break;
12189|       |
12190|      0|  case 596: /* $@4: %empty  */
  ------------------
  |  Branch (12190:3): [True: 0, False: 14.6M]
  ------------------
12191|      0|#line 3888 "MachineIndependent/glslang.y"
12192|      0|                        { parseContext.nestedStructCheck((yyvsp[-1].lex).loc); }
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12193|      0|#line 12194 "MachineIndependent/glslang_tab.cpp"
12194|      0|    break;
12195|       |
12196|      0|  case 597: /* struct_specifier: STRUCT LEFT_BRACE $@4 struct_declaration_list RIGHT_BRACE  */
  ------------------
  |  Branch (12196:3): [True: 0, False: 14.6M]
  ------------------
12197|      0|#line 3888 "MachineIndependent/glslang.y"
12198|      0|                                                                                                        {
12199|      0|        TType* structure = new TType((yyvsp[-1].interm.typeList), TString(""));
12200|      0|        (yyval.interm.type).init((yyvsp[-4].lex).loc);
12201|      0|        (yyval.interm.type).basicType = EbtStruct;
12202|      0|        (yyval.interm.type).userDef = structure;
12203|      0|        --parseContext.structNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12204|      0|    }
12205|      0|#line 12206 "MachineIndependent/glslang_tab.cpp"
12206|      0|    break;
12207|       |
12208|    114|  case 598: /* struct_declaration_list: struct_declaration  */
  ------------------
  |  Branch (12208:3): [True: 114, False: 14.6M]
  ------------------
12209|    114|#line 3898 "MachineIndependent/glslang.y"
12210|    114|                         {
12211|    114|        (yyval.interm.typeList) = (yyvsp[0].interm.typeList);
12212|    114|    }
12213|    114|#line 12214 "MachineIndependent/glslang_tab.cpp"
12214|    114|    break;
12215|       |
12216|    442|  case 599: /* struct_declaration_list: struct_declaration_list struct_declaration  */
  ------------------
  |  Branch (12216:3): [True: 442, False: 14.6M]
  ------------------
12217|    442|#line 3901 "MachineIndependent/glslang.y"
12218|    442|                                                 {
12219|    442|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
12220|    884|        for (unsigned int i = 0; i < (yyvsp[0].interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (12220:34): [True: 442, False: 442]
  ------------------
12221|  1.70k|            for (unsigned int j = 0; j < (yyval.interm.typeList)->size(); ++j) {
  ------------------
  |  Branch (12221:38): [True: 1.26k, False: 442]
  ------------------
12222|  1.26k|                if ((*(yyval.interm.typeList))[j].type->getFieldName() == (*(yyvsp[0].interm.typeList))[i].type->getFieldName())
  ------------------
  |  Branch (12222:21): [True: 0, False: 1.26k]
  ------------------
12223|      0|                    parseContext.error((*(yyvsp[0].interm.typeList))[i].loc, "duplicate member name:", "", (*(yyvsp[0].interm.typeList))[i].type->getFieldName().c_str());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12224|  1.26k|            }
12225|    442|            (yyval.interm.typeList)->push_back((*(yyvsp[0].interm.typeList))[i]);
12226|    442|        }
12227|    442|    }
12228|    442|#line 12229 "MachineIndependent/glslang_tab.cpp"
12229|    442|    break;
12230|       |
12231|    556|  case 600: /* struct_declaration: struct_declaration_no_inline_block  */
  ------------------
  |  Branch (12231:3): [True: 556, False: 14.6M]
  ------------------
12232|    556|#line 3914 "MachineIndependent/glslang.y"
12233|    556|                                         {
12234|    556|        (yyval.interm.typeList) = (yyvsp[0].interm.typeList);
12235|    556|    }
12236|    556|#line 12237 "MachineIndependent/glslang_tab.cpp"
12237|    556|    break;
12238|       |
12239|      0|  case 601: /* struct_declaration: block_heap_inner_structure struct_declarator_list SEMICOLON  */
  ------------------
  |  Branch (12239:3): [True: 0, False: 14.6M]
  ------------------
12240|      0|#line 3917 "MachineIndependent/glslang.y"
12241|      0|                                                                  {
12242|      0|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
12243|      0|        parseContext.voidErrorCheck((yyvsp[-2].interm.type).loc, (*(yyvsp[-1].interm.typeList))[0].type->getFieldName(), (yyvsp[-2].interm.type).basicType);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12244|      0|        parseContext.precisionQualifierCheck((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).basicType, (yyvsp[-2].interm.type).qualifier, (yyvsp[-2].interm.type).hasTypeParameter());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12245|       |
12246|      0|        for (unsigned int i = 0; i < (yyval.interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (12246:34): [True: 0, False: 0]
  ------------------
12247|      0|            TType type((yyvsp[-2].interm.type));
12248|      0|            type.setFieldName((*(yyval.interm.typeList))[i].type->getFieldName());
12249|      0|            type.transferArraySizes((*(yyval.interm.typeList))[i].type->getArraySizes());
12250|      0|            type.copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
12251|      0|            parseContext.arrayOfArrayVersionCheck((*(yyval.interm.typeList))[i].loc, type.getArraySizes());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12252|      0|            (*(yyval.interm.typeList))[i].type->shallowCopy(type);
12253|      0|        }
12254|      0|    }
12255|      0|#line 12256 "MachineIndependent/glslang_tab.cpp"
12256|      0|    break;
12257|       |
12258|      0|  case 602: /* $@5: %empty  */
  ------------------
  |  Branch (12258:3): [True: 0, False: 14.6M]
  ------------------
12259|      0|#line 3934 "MachineIndependent/glslang.y"
12260|      0|                                { parseContext.nestedBlockCheck((yyvsp[-1].interm.type).loc, true); }
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12261|      0|#line 12262 "MachineIndependent/glslang_tab.cpp"
12262|      0|    break;
12263|       |
12264|      0|  case 603: /* block_heap_inner_structure: type_qualifier LEFT_BRACE $@5 struct_declaration_no_inline_block_list RIGHT_BRACE  */
  ------------------
  |  Branch (12264:3): [True: 0, False: 14.6M]
  ------------------
12265|      0|#line 3934 "MachineIndependent/glslang.y"
12266|      0|                                                                                                                                     {
12267|      0|        --parseContext.blockNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12268|      0|        parseContext.globalQualifierFixCheck((yyvsp[-4].interm.type).loc, (yyvsp[-4].interm.type).qualifier);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12269|      0|        parseContext.checkNoShaderLayouts((yyvsp[-4].interm.type).loc, (yyvsp[-4].interm.type).shaderQualifiers);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12270|      0|        (yyval.interm.type).init((yyvsp[-4].interm.type).loc);
12271|      0|        TType* innerStructure = new TType((yyvsp[-1].interm.typeList), TString(""), (yyvsp[-4].interm.type).qualifier);
12272|      0|        if (! (yyvsp[-4].interm.type).qualifier.hasBufferReference())
  ------------------
  |  Branch (12272:13): [True: 0, False: 0]
  ------------------
12273|      0|            parseContext.error((yyvsp[-4].interm.type).loc, "only buffer_reference blocks can be declared inline inside a heap block", "", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12274|      0|        TType* referenceType = new TType(EbtReference, *innerStructure, TString(""));
12275|      0|        (yyval.interm.type).basicType = EbtReference;
12276|      0|        (yyval.interm.type).userDef = referenceType;
12277|      0|        (yyval.interm.type).qualifier.layoutDescriptorHeap = true;
12278|      0|    }
12279|      0|#line 12280 "MachineIndependent/glslang_tab.cpp"
12280|      0|    break;
12281|       |
12282|      0|  case 604: /* struct_declaration_no_inline_block_list: struct_declaration_no_inline_block  */
  ------------------
  |  Branch (12282:3): [True: 0, False: 14.6M]
  ------------------
12283|      0|#line 3950 "MachineIndependent/glslang.y"
12284|      0|                                         {
12285|      0|        (yyval.interm.typeList) = (yyvsp[0].interm.typeList);
12286|      0|    }
12287|      0|#line 12288 "MachineIndependent/glslang_tab.cpp"
12288|      0|    break;
12289|       |
12290|      0|  case 605: /* struct_declaration_no_inline_block_list: struct_declaration_no_inline_block_list struct_declaration_no_inline_block  */
  ------------------
  |  Branch (12290:3): [True: 0, False: 14.6M]
  ------------------
12291|      0|#line 3953 "MachineIndependent/glslang.y"
12292|      0|                                                                                 {
12293|      0|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
12294|      0|        for (unsigned int i = 0; i < (yyvsp[0].interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (12294:34): [True: 0, False: 0]
  ------------------
12295|      0|            for (unsigned int j = 0; j < (yyval.interm.typeList)->size(); ++j) {
  ------------------
  |  Branch (12295:38): [True: 0, False: 0]
  ------------------
12296|      0|                if ((*(yyval.interm.typeList))[j].type->getFieldName() == (*(yyvsp[0].interm.typeList))[i].type->getFieldName())
  ------------------
  |  Branch (12296:21): [True: 0, False: 0]
  ------------------
12297|      0|                    parseContext.error((*(yyvsp[0].interm.typeList))[i].loc, "duplicate member name:", "", (*(yyvsp[0].interm.typeList))[i].type->getFieldName().c_str());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12298|      0|            }
12299|      0|            (yyval.interm.typeList)->push_back((*(yyvsp[0].interm.typeList))[i]);
12300|      0|        }
12301|      0|    }
12302|      0|#line 12303 "MachineIndependent/glslang_tab.cpp"
12303|      0|    break;
12304|       |
12305|    519|  case 606: /* struct_declaration_no_inline_block: type_specifier struct_declarator_list SEMICOLON  */
  ------------------
  |  Branch (12305:3): [True: 519, False: 14.6M]
  ------------------
12306|    519|#line 3966 "MachineIndependent/glslang.y"
12307|    519|                                                      {
12308|    519|        if ((yyvsp[-2].interm.type).arraySizes) {
  ------------------
  |  Branch (12308:13): [True: 0, False: 519]
  ------------------
12309|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12310|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12311|      0|            if (parseContext.isEsProfile())
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12311:17): [True: 0, False: 0]
  ------------------
12312|      0|                parseContext.arraySizeRequiredCheck((yyvsp[-2].interm.type).loc, *(yyvsp[-2].interm.type).arraySizes);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12313|      0|        }
12314|       |
12315|    519|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
12316|       |
12317|    519|        parseContext.voidErrorCheck((yyvsp[-2].interm.type).loc, (*(yyvsp[-1].interm.typeList))[0].type->getFieldName(), (yyvsp[-2].interm.type).basicType);
  ------------------
  |  |  783|    519|#define parseContext (*pParseContext)
  ------------------
12318|    519|        parseContext.precisionQualifierCheck((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).basicType, (yyvsp[-2].interm.type).qualifier, (yyvsp[-2].interm.type).hasTypeParameter());
  ------------------
  |  |  783|    519|#define parseContext (*pParseContext)
  ------------------
12319|       |
12320|  1.03k|        for (unsigned int i = 0; i < (yyval.interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (12320:34): [True: 519, False: 519]
  ------------------
12321|    519|            TType type((yyvsp[-2].interm.type));
12322|    519|            type.setFieldName((*(yyval.interm.typeList))[i].type->getFieldName());
12323|    519|            type.transferArraySizes((*(yyval.interm.typeList))[i].type->getArraySizes());
12324|    519|            type.copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
12325|    519|            parseContext.arrayOfArrayVersionCheck((*(yyval.interm.typeList))[i].loc, type.getArraySizes());
  ------------------
  |  |  783|    519|#define parseContext (*pParseContext)
  ------------------
12326|    519|            (*(yyval.interm.typeList))[i].type->shallowCopy(type);
12327|    519|        }
12328|    519|    }
12329|    519|#line 12330 "MachineIndependent/glslang_tab.cpp"
12330|    519|    break;
12331|       |
12332|     37|  case 607: /* struct_declaration_no_inline_block: type_qualifier type_specifier struct_declarator_list SEMICOLON  */
  ------------------
  |  Branch (12332:3): [True: 37, False: 14.6M]
  ------------------
12333|     37|#line 3988 "MachineIndependent/glslang.y"
12334|     37|                                                                     {
12335|     37|        if ((yyvsp[-2].interm.type).arraySizes) {
  ------------------
  |  Branch (12335:13): [True: 0, False: 37]
  ------------------
12336|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12337|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12338|      0|            if (parseContext.isEsProfile())
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12338:17): [True: 0, False: 0]
  ------------------
12339|      0|                parseContext.arraySizeRequiredCheck((yyvsp[-2].interm.type).loc, *(yyvsp[-2].interm.type).arraySizes);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12340|      0|        }
12341|       |
12342|     37|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
12343|       |
12344|     37|        parseContext.memberQualifierCheck((yyvsp[-3].interm.type));
  ------------------
  |  |  783|     37|#define parseContext (*pParseContext)
  ------------------
12345|     37|        parseContext.voidErrorCheck((yyvsp[-2].interm.type).loc, (*(yyvsp[-1].interm.typeList))[0].type->getFieldName(), (yyvsp[-2].interm.type).basicType);
  ------------------
  |  |  783|     37|#define parseContext (*pParseContext)
  ------------------
12346|     37|        parseContext.mergeQualifiers((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).qualifier, (yyvsp[-3].interm.type).qualifier, true);
  ------------------
  |  |  783|     37|#define parseContext (*pParseContext)
  ------------------
12347|     37|        parseContext.precisionQualifierCheck((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).basicType, (yyvsp[-2].interm.type).qualifier, (yyvsp[-2].interm.type).hasTypeParameter());
  ------------------
  |  |  783|     37|#define parseContext (*pParseContext)
  ------------------
12348|       |
12349|     74|        for (unsigned int i = 0; i < (yyval.interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (12349:34): [True: 37, False: 37]
  ------------------
12350|     37|            TType type((yyvsp[-2].interm.type));
12351|     37|            type.setFieldName((*(yyval.interm.typeList))[i].type->getFieldName());
12352|     37|            type.transferArraySizes((*(yyval.interm.typeList))[i].type->getArraySizes());
12353|     37|            type.copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
12354|     37|            parseContext.arrayOfArrayVersionCheck((*(yyval.interm.typeList))[i].loc, type.getArraySizes());
  ------------------
  |  |  783|     37|#define parseContext (*pParseContext)
  ------------------
12355|     37|            (*(yyval.interm.typeList))[i].type->shallowCopy(type);
12356|     37|        }
12357|     37|    }
12358|     37|#line 12359 "MachineIndependent/glslang_tab.cpp"
12359|     37|    break;
12360|       |
12361|    556|  case 608: /* struct_declarator_list: struct_declarator  */
  ------------------
  |  Branch (12361:3): [True: 556, False: 14.6M]
  ------------------
12362|    556|#line 4015 "MachineIndependent/glslang.y"
12363|    556|                        {
12364|    556|        (yyval.interm.typeList) = new TTypeList;
12365|    556|        (yyval.interm.typeList)->push_back((yyvsp[0].interm.typeLine));
12366|    556|    }
12367|    556|#line 12368 "MachineIndependent/glslang_tab.cpp"
12368|    556|    break;
12369|       |
12370|      0|  case 609: /* struct_declarator_list: struct_declarator_list COMMA struct_declarator  */
  ------------------
  |  Branch (12370:3): [True: 0, False: 14.6M]
  ------------------
12371|      0|#line 4019 "MachineIndependent/glslang.y"
12372|      0|                                                     {
12373|      0|        (yyval.interm.typeList)->push_back((yyvsp[0].interm.typeLine));
12374|      0|    }
12375|      0|#line 12376 "MachineIndependent/glslang_tab.cpp"
12376|      0|    break;
12377|       |
12378|    300|  case 610: /* struct_declarator: IDENTIFIER  */
  ------------------
  |  Branch (12378:3): [True: 300, False: 14.6M]
  ------------------
12379|    300|#line 4025 "MachineIndependent/glslang.y"
12380|    300|                 {
12381|    300|        (yyval.interm.typeLine).type = new TType(EbtVoid);
12382|    300|        (yyval.interm.typeLine).loc = (yyvsp[0].lex).loc;
12383|    300|        (yyval.interm.typeLine).type->setFieldName(*(yyvsp[0].lex).string);
12384|    300|    }
12385|    300|#line 12386 "MachineIndependent/glslang_tab.cpp"
12386|    300|    break;
12387|       |
12388|    256|  case 611: /* struct_declarator: IDENTIFIER array_specifier  */
  ------------------
  |  Branch (12388:3): [True: 256, False: 14.6M]
  ------------------
12389|    256|#line 4030 "MachineIndependent/glslang.y"
12390|    256|                                 {
12391|    256|        parseContext.arrayOfArrayVersionCheck((yyvsp[-1].lex).loc, (yyvsp[0].interm).arraySizes);
  ------------------
  |  |  783|    256|#define parseContext (*pParseContext)
  ------------------
12392|       |
12393|    256|        (yyval.interm.typeLine).type = new TType(EbtVoid);
12394|    256|        (yyval.interm.typeLine).loc = (yyvsp[-1].lex).loc;
12395|    256|        (yyval.interm.typeLine).type->setFieldName(*(yyvsp[-1].lex).string);
12396|    256|        (yyval.interm.typeLine).type->transferArraySizes((yyvsp[0].interm).arraySizes);
12397|    256|    }
12398|    256|#line 12399 "MachineIndependent/glslang_tab.cpp"
12399|    256|    break;
12400|       |
12401|  5.21k|  case 612: /* initializer: assignment_expression  */
  ------------------
  |  Branch (12401:3): [True: 5.21k, False: 14.6M]
  ------------------
12402|  5.21k|#line 4041 "MachineIndependent/glslang.y"
12403|  5.21k|                            {
12404|  5.21k|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
12405|  5.21k|    }
12406|  5.21k|#line 12407 "MachineIndependent/glslang_tab.cpp"
12407|  5.21k|    break;
12408|       |
12409|      6|  case 613: /* initializer: LEFT_BRACE initializer_list RIGHT_BRACE  */
  ------------------
  |  Branch (12409:3): [True: 6, False: 14.6M]
  ------------------
12410|      6|#line 4044 "MachineIndependent/glslang.y"
12411|      6|                                              {
12412|      6|        const char* initFeature = "{ } style initializers";
12413|      6|        parseContext.requireProfile((yyvsp[-2].lex).loc, ~EEsProfile, initFeature);
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
12414|      6|        parseContext.profileRequires((yyvsp[-2].lex).loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, initFeature);
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
12415|      6|        (yyval.interm.intermTypedNode) = (yyvsp[-1].interm.intermTypedNode);
12416|      6|    }
12417|      6|#line 12418 "MachineIndependent/glslang_tab.cpp"
12418|      6|    break;
12419|       |
12420|      0|  case 614: /* initializer: LEFT_BRACE initializer_list COMMA RIGHT_BRACE  */
  ------------------
  |  Branch (12420:3): [True: 0, False: 14.6M]
  ------------------
12421|      0|#line 4050 "MachineIndependent/glslang.y"
12422|      0|                                                    {
12423|      0|        const char* initFeature = "{ } style initializers";
12424|      0|        parseContext.requireProfile((yyvsp[-3].lex).loc, ~EEsProfile, initFeature);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12425|      0|        parseContext.profileRequires((yyvsp[-3].lex).loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, initFeature);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12426|      0|        (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
12427|      0|    }
12428|      0|#line 12429 "MachineIndependent/glslang_tab.cpp"
12429|      0|    break;
12430|       |
12431|      0|  case 615: /* initializer: LEFT_BRACE RIGHT_BRACE  */
  ------------------
  |  Branch (12431:3): [True: 0, False: 14.6M]
  ------------------
12432|      0|#line 4056 "MachineIndependent/glslang.y"
12433|      0|                             {
12434|      0|        const char* initFeature = "empty { } initializer";
12435|      0|        parseContext.profileRequires((yyvsp[-1].lex).loc, EEsProfile, 0, E_GL_EXT_null_initializer, initFeature);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12436|      0|        parseContext.profileRequires((yyvsp[-1].lex).loc, ~EEsProfile, 0, E_GL_EXT_null_initializer, initFeature);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12437|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.makeAggregate((yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12438|      0|    }
12439|      0|#line 12440 "MachineIndependent/glslang_tab.cpp"
12440|      0|    break;
12441|       |
12442|      6|  case 616: /* initializer_list: initializer  */
  ------------------
  |  Branch (12442:3): [True: 6, False: 14.6M]
  ------------------
12443|      6|#line 4065 "MachineIndependent/glslang.y"
12444|      6|                  {
12445|      6|        (yyval.interm.intermTypedNode) = parseContext.intermediate.growAggregate(0, (yyvsp[0].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode)->getLoc());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
12446|      6|    }
12447|      6|#line 12448 "MachineIndependent/glslang_tab.cpp"
12448|      6|    break;
12449|       |
12450|     18|  case 617: /* initializer_list: initializer_list COMMA initializer  */
  ------------------
  |  Branch (12450:3): [True: 18, False: 14.6M]
  ------------------
12451|     18|#line 4068 "MachineIndependent/glslang.y"
12452|     18|                                         {
12453|     18|        (yyval.interm.intermTypedNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
12454|     18|    }
12455|     18|#line 12456 "MachineIndependent/glslang_tab.cpp"
12456|     18|    break;
12457|       |
12458|    240|  case 618: /* declaration_statement: declaration  */
  ------------------
  |  Branch (12458:3): [True: 240, False: 14.6M]
  ------------------
12459|    240|#line 4074 "MachineIndependent/glslang.y"
12460|    240|                  { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12461|    240|#line 12462 "MachineIndependent/glslang_tab.cpp"
12462|    240|    break;
12463|       |
12464|      0|  case 619: /* statement: compound_statement  */
  ------------------
  |  Branch (12464:3): [True: 0, False: 14.6M]
  ------------------
12465|      0|#line 4078 "MachineIndependent/glslang.y"
12466|      0|                          { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12467|      0|#line 12468 "MachineIndependent/glslang_tab.cpp"
12468|      0|    break;
12469|       |
12470|  2.65k|  case 620: /* statement: simple_statement  */
  ------------------
  |  Branch (12470:3): [True: 2.65k, False: 14.6M]
  ------------------
12471|  2.65k|#line 4079 "MachineIndependent/glslang.y"
12472|  2.65k|                          { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12473|  2.65k|#line 12474 "MachineIndependent/glslang_tab.cpp"
12474|  2.65k|    break;
12475|       |
12476|    240|  case 621: /* simple_statement: declaration_statement  */
  ------------------
  |  Branch (12476:3): [True: 240, False: 14.6M]
  ------------------
12477|    240|#line 4085 "MachineIndependent/glslang.y"
12478|    240|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12479|    240|#line 12480 "MachineIndependent/glslang_tab.cpp"
12480|    240|    break;
12481|       |
12482|  2.18k|  case 622: /* simple_statement: expression_statement  */
  ------------------
  |  Branch (12482:3): [True: 2.18k, False: 14.6M]
  ------------------
12483|  2.18k|#line 4086 "MachineIndependent/glslang.y"
12484|  2.18k|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12485|  2.18k|#line 12486 "MachineIndependent/glslang_tab.cpp"
12486|  2.18k|    break;
12487|       |
12488|      0|  case 623: /* simple_statement: selection_statement  */
  ------------------
  |  Branch (12488:3): [True: 0, False: 14.6M]
  ------------------
12489|      0|#line 4087 "MachineIndependent/glslang.y"
12490|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12491|      0|#line 12492 "MachineIndependent/glslang_tab.cpp"
12492|      0|    break;
12493|       |
12494|      0|  case 624: /* simple_statement: switch_statement  */
  ------------------
  |  Branch (12494:3): [True: 0, False: 14.6M]
  ------------------
12495|      0|#line 4088 "MachineIndependent/glslang.y"
12496|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12497|      0|#line 12498 "MachineIndependent/glslang_tab.cpp"
12498|      0|    break;
12499|       |
12500|      0|  case 625: /* simple_statement: case_label  */
  ------------------
  |  Branch (12500:3): [True: 0, False: 14.6M]
  ------------------
12501|      0|#line 4089 "MachineIndependent/glslang.y"
12502|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12503|      0|#line 12504 "MachineIndependent/glslang_tab.cpp"
12504|      0|    break;
12505|       |
12506|      0|  case 626: /* simple_statement: iteration_statement  */
  ------------------
  |  Branch (12506:3): [True: 0, False: 14.6M]
  ------------------
12507|      0|#line 4090 "MachineIndependent/glslang.y"
12508|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12509|      0|#line 12510 "MachineIndependent/glslang_tab.cpp"
12510|      0|    break;
12511|       |
12512|    234|  case 627: /* simple_statement: jump_statement  */
  ------------------
  |  Branch (12512:3): [True: 234, False: 14.6M]
  ------------------
12513|    234|#line 4091 "MachineIndependent/glslang.y"
12514|    234|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12515|    234|#line 12516 "MachineIndependent/glslang_tab.cpp"
12516|    234|    break;
12517|       |
12518|      0|  case 628: /* simple_statement: demote_statement  */
  ------------------
  |  Branch (12518:3): [True: 0, False: 14.6M]
  ------------------
12519|      0|#line 4092 "MachineIndependent/glslang.y"
12520|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12521|      0|#line 12522 "MachineIndependent/glslang_tab.cpp"
12522|      0|    break;
12523|       |
12524|      0|  case 629: /* demote_statement: DEMOTE SEMICOLON  */
  ------------------
  |  Branch (12524:3): [True: 0, False: 14.6M]
  ------------------
12525|      0|#line 4096 "MachineIndependent/glslang.y"
12526|      0|                       {
12527|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangFragment, "demote");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12528|      0|        parseContext.requireExtensions((yyvsp[-1].lex).loc, 1, &E_GL_EXT_demote_to_helper_invocation, "demote");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12529|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpDemote, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12530|      0|    }
12531|      0|#line 12532 "MachineIndependent/glslang_tab.cpp"
12532|      0|    break;
12533|       |
12534|      0|  case 630: /* compound_statement: LEFT_BRACE RIGHT_BRACE  */
  ------------------
  |  Branch (12534:3): [True: 0, False: 14.6M]
  ------------------
12535|      0|#line 4104 "MachineIndependent/glslang.y"
12536|      0|                             { (yyval.interm.intermNode) = 0; }
12537|      0|#line 12538 "MachineIndependent/glslang_tab.cpp"
12538|      0|    break;
12539|       |
12540|      0|  case 631: /* $@6: %empty  */
  ------------------
  |  Branch (12540:3): [True: 0, False: 14.6M]
  ------------------
12541|      0|#line 4105 "MachineIndependent/glslang.y"
12542|      0|                 {
12543|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12544|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12545|      0|    }
12546|      0|#line 12547 "MachineIndependent/glslang_tab.cpp"
12547|      0|    break;
12548|       |
12549|      0|  case 632: /* $@7: %empty  */
  ------------------
  |  Branch (12549:3): [True: 0, False: 14.6M]
  ------------------
12550|      0|#line 4109 "MachineIndependent/glslang.y"
12551|      0|                     {
12552|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12553|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12554|      0|    }
12555|      0|#line 12556 "MachineIndependent/glslang_tab.cpp"
12556|      0|    break;
12557|       |
12558|      0|  case 633: /* compound_statement: LEFT_BRACE $@6 statement_list $@7 RIGHT_BRACE  */
  ------------------
  |  Branch (12558:3): [True: 0, False: 14.6M]
  ------------------
12559|      0|#line 4113 "MachineIndependent/glslang.y"
12560|      0|                  {
12561|      0|        if ((yyvsp[-2].interm.intermNode) && (yyvsp[-2].interm.intermNode)->getAsAggregate()) {
  ------------------
  |  Branch (12561:13): [True: 0, False: 0]
  |  Branch (12561:46): [True: 0, False: 0]
  ------------------
12562|      0|            (yyvsp[-2].interm.intermNode)->getAsAggregate()->setOperator(parseContext.intermediate.getDebugInfo() ? EOpScope : EOpSequence);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12562:74): [True: 0, False: 0]
  ------------------
12563|      0|            (yyvsp[-2].interm.intermNode)->getAsAggregate()->setEndLoc((yyvsp[0].lex).loc);
12564|      0|        }
12565|      0|        (yyval.interm.intermNode) = (yyvsp[-2].interm.intermNode);
12566|      0|    }
12567|      0|#line 12568 "MachineIndependent/glslang_tab.cpp"
12568|      0|    break;
12569|       |
12570|      0|  case 634: /* statement_no_new_scope: compound_statement_no_new_scope  */
  ------------------
  |  Branch (12570:3): [True: 0, False: 14.6M]
  ------------------
12571|      0|#line 4123 "MachineIndependent/glslang.y"
12572|      0|                                      { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12573|      0|#line 12574 "MachineIndependent/glslang_tab.cpp"
12574|      0|    break;
12575|       |
12576|      0|  case 635: /* statement_no_new_scope: simple_statement  */
  ------------------
  |  Branch (12576:3): [True: 0, False: 14.6M]
  ------------------
12577|      0|#line 4124 "MachineIndependent/glslang.y"
12578|      0|                                      { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12579|      0|#line 12580 "MachineIndependent/glslang_tab.cpp"
12580|      0|    break;
12581|       |
12582|      0|  case 636: /* $@8: %empty  */
  ------------------
  |  Branch (12582:3): [True: 0, False: 14.6M]
  ------------------
12583|      0|#line 4128 "MachineIndependent/glslang.y"
12584|      0|      {
12585|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12586|      0|    }
12587|      0|#line 12588 "MachineIndependent/glslang_tab.cpp"
12588|      0|    break;
12589|       |
12590|      0|  case 637: /* statement_scoped: $@8 compound_statement  */
  ------------------
  |  Branch (12590:3): [True: 0, False: 14.6M]
  ------------------
12591|      0|#line 4131 "MachineIndependent/glslang.y"
12592|      0|                          {
12593|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12594|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12595|      0|    }
12596|      0|#line 12597 "MachineIndependent/glslang_tab.cpp"
12597|      0|    break;
12598|       |
12599|      0|  case 638: /* $@9: %empty  */
  ------------------
  |  Branch (12599:3): [True: 0, False: 14.6M]
  ------------------
12600|      0|#line 4135 "MachineIndependent/glslang.y"
12601|      0|      {
12602|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12603|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12604|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12605|      0|    }
12606|      0|#line 12607 "MachineIndependent/glslang_tab.cpp"
12607|      0|    break;
12608|       |
12609|      0|  case 639: /* statement_scoped: $@9 simple_statement  */
  ------------------
  |  Branch (12609:3): [True: 0, False: 14.6M]
  ------------------
12610|      0|#line 4140 "MachineIndependent/glslang.y"
12611|      0|                       {
12612|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12613|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12614|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12615|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12616|      0|    }
12617|      0|#line 12618 "MachineIndependent/glslang_tab.cpp"
12618|      0|    break;
12619|       |
12620|      0|  case 640: /* compound_statement_no_new_scope: LEFT_BRACE RIGHT_BRACE  */
  ------------------
  |  Branch (12620:3): [True: 0, False: 14.6M]
  ------------------
12621|      0|#line 4149 "MachineIndependent/glslang.y"
12622|      0|                             {
12623|      0|        (yyval.interm.intermNode) = 0;
12624|      0|    }
12625|      0|#line 12626 "MachineIndependent/glslang_tab.cpp"
12626|      0|    break;
12627|       |
12628|    240|  case 641: /* compound_statement_no_new_scope: LEFT_BRACE statement_list RIGHT_BRACE  */
  ------------------
  |  Branch (12628:3): [True: 240, False: 14.6M]
  ------------------
12629|    240|#line 4152 "MachineIndependent/glslang.y"
12630|    240|                                            {
12631|    240|        if ((yyvsp[-1].interm.intermNode) && (yyvsp[-1].interm.intermNode)->getAsAggregate()) {
  ------------------
  |  Branch (12631:13): [True: 240, False: 0]
  |  Branch (12631:46): [True: 240, False: 0]
  ------------------
12632|    240|            (yyvsp[-1].interm.intermNode)->getAsAggregate()->setOperator(EOpSequence);
12633|    240|            (yyvsp[-1].interm.intermNode)->getAsAggregate()->setEndLoc((yyvsp[0].lex).loc);
12634|    240|        }
12635|    240|        (yyval.interm.intermNode) = (yyvsp[-1].interm.intermNode);
12636|    240|    }
12637|    240|#line 12638 "MachineIndependent/glslang_tab.cpp"
12638|    240|    break;
12639|       |
12640|    246|  case 642: /* statement_list: statement  */
  ------------------
  |  Branch (12640:3): [True: 246, False: 14.6M]
  ------------------
12641|    246|#line 4162 "MachineIndependent/glslang.y"
12642|    246|                {
12643|    246|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|    246|#define parseContext (*pParseContext)
  ------------------
12644|    246|        if ((yyvsp[0].interm.intermNode) && (yyvsp[0].interm.intermNode)->getAsBranchNode() && ((yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpCase ||
  ------------------
  |  Branch (12644:13): [True: 246, False: 0]
  |  Branch (12644:45): [True: 3, False: 243]
  |  Branch (12644:97): [True: 0, False: 3]
  ------------------
12645|      3|                                            (yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpDefault)) {
  ------------------
  |  Branch (12645:45): [True: 0, False: 3]
  ------------------
12646|      0|            parseContext.wrapupSwitchSubsequence(0, (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12647|      0|            (yyval.interm.intermNode) = 0;  // start a fresh subsequence for what's after this case
12648|      0|        }
12649|    246|    }
12650|    246|#line 12651 "MachineIndependent/glslang_tab.cpp"
12651|    246|    break;
12652|       |
12653|  2.40k|  case 643: /* statement_list: statement_list statement  */
  ------------------
  |  Branch (12653:3): [True: 2.40k, False: 14.6M]
  ------------------
12654|  2.40k|#line 4170 "MachineIndependent/glslang.y"
12655|  2.40k|                               {
12656|  2.40k|        if ((yyvsp[0].interm.intermNode) && (yyvsp[0].interm.intermNode)->getAsBranchNode() && ((yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpCase ||
  ------------------
  |  Branch (12656:13): [True: 2.40k, False: 3]
  |  Branch (12656:45): [True: 231, False: 2.17k]
  |  Branch (12656:97): [True: 0, False: 231]
  ------------------
12657|    231|                                            (yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpDefault)) {
  ------------------
  |  Branch (12657:45): [True: 0, False: 231]
  ------------------
12658|      0|            parseContext.wrapupSwitchSubsequence((yyvsp[-1].interm.intermNode) ? (yyvsp[-1].interm.intermNode)->getAsAggregate() : 0, (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12658:50): [True: 0, False: 0]
  ------------------
12659|      0|            (yyval.interm.intermNode) = 0;  // start a fresh subsequence for what's after this case
12660|      0|        } else
12661|  2.40k|            (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-1].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|  2.40k|#define parseContext (*pParseContext)
  ------------------
12662|  2.40k|    }
12663|  2.40k|#line 12664 "MachineIndependent/glslang_tab.cpp"
12664|  2.40k|    break;
12665|       |
12666|      0|  case 644: /* expression_statement: SEMICOLON  */
  ------------------
  |  Branch (12666:3): [True: 0, False: 14.6M]
  ------------------
12667|      0|#line 4181 "MachineIndependent/glslang.y"
12668|      0|                 { (yyval.interm.intermNode) = 0; }
12669|      0|#line 12670 "MachineIndependent/glslang_tab.cpp"
12670|      0|    break;
12671|       |
12672|  2.18k|  case 645: /* expression_statement: expression SEMICOLON  */
  ------------------
  |  Branch (12672:3): [True: 2.18k, False: 14.6M]
  ------------------
12673|  2.18k|#line 4182 "MachineIndependent/glslang.y"
12674|  2.18k|                            { (yyval.interm.intermNode) = static_cast<TIntermNode*>((yyvsp[-1].interm.intermTypedNode)); }
12675|  2.18k|#line 12676 "MachineIndependent/glslang_tab.cpp"
12676|  2.18k|    break;
12677|       |
12678|      0|  case 646: /* selection_statement: selection_statement_nonattributed  */
  ------------------
  |  Branch (12678:3): [True: 0, False: 14.6M]
  ------------------
12679|      0|#line 4186 "MachineIndependent/glslang.y"
12680|      0|                                        {
12681|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12682|      0|    }
12683|      0|#line 12684 "MachineIndependent/glslang_tab.cpp"
12684|      0|    break;
12685|       |
12686|      0|  case 647: /* selection_statement: attribute selection_statement_nonattributed  */
  ------------------
  |  Branch (12686:3): [True: 0, False: 14.6M]
  ------------------
12687|      0|#line 4189 "MachineIndependent/glslang.y"
12688|      0|                                                  {
12689|      0|        parseContext.requireExtensions((yyvsp[0].interm.intermNode)->getLoc(), 1, &E_GL_EXT_control_flow_attributes, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12690|      0|        parseContext.handleSelectionAttributes(*(yyvsp[-1].interm.attributes), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12691|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12692|      0|    }
12693|      0|#line 12694 "MachineIndependent/glslang_tab.cpp"
12694|      0|    break;
12695|       |
12696|      0|  case 648: /* selection_statement_nonattributed: IF LEFT_PAREN expression RIGHT_PAREN selection_rest_statement  */
  ------------------
  |  Branch (12696:3): [True: 0, False: 14.6M]
  ------------------
12697|      0|#line 4196 "MachineIndependent/glslang.y"
12698|      0|                                                                    {
12699|      0|        parseContext.boolCheck((yyvsp[-4].lex).loc, (yyvsp[-2].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12700|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addSelection((yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.nodePair), (yyvsp[-4].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12701|      0|    }
12702|      0|#line 12703 "MachineIndependent/glslang_tab.cpp"
12703|      0|    break;
12704|       |
12705|      0|  case 649: /* selection_rest_statement: statement_scoped ELSE statement_scoped  */
  ------------------
  |  Branch (12705:3): [True: 0, False: 14.6M]
  ------------------
12706|      0|#line 4203 "MachineIndependent/glslang.y"
12707|      0|                                             {
12708|      0|        (yyval.interm.nodePair).node1 = (yyvsp[-2].interm.intermNode);
12709|      0|        (yyval.interm.nodePair).node2 = (yyvsp[0].interm.intermNode);
12710|      0|    }
12711|      0|#line 12712 "MachineIndependent/glslang_tab.cpp"
12712|      0|    break;
12713|       |
12714|      0|  case 650: /* selection_rest_statement: statement_scoped  */
  ------------------
  |  Branch (12714:3): [True: 0, False: 14.6M]
  ------------------
12715|      0|#line 4207 "MachineIndependent/glslang.y"
12716|      0|                       {
12717|      0|        (yyval.interm.nodePair).node1 = (yyvsp[0].interm.intermNode);
12718|      0|        (yyval.interm.nodePair).node2 = 0;
12719|      0|    }
12720|      0|#line 12721 "MachineIndependent/glslang_tab.cpp"
12721|      0|    break;
12722|       |
12723|      0|  case 651: /* condition: expression  */
  ------------------
  |  Branch (12723:3): [True: 0, False: 14.6M]
  ------------------
12724|      0|#line 4215 "MachineIndependent/glslang.y"
12725|      0|                 {
12726|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermTypedNode);
12727|      0|        parseContext.boolCheck((yyvsp[0].interm.intermTypedNode)->getLoc(), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12728|      0|    }
12729|      0|#line 12730 "MachineIndependent/glslang_tab.cpp"
12730|      0|    break;
12731|       |
12732|      0|  case 652: /* condition: fully_specified_type IDENTIFIER EQUAL initializer  */
  ------------------
  |  Branch (12732:3): [True: 0, False: 14.6M]
  ------------------
12733|      0|#line 4219 "MachineIndependent/glslang.y"
12734|      0|                                                        {
12735|      0|        parseContext.boolCheck((yyvsp[-2].lex).loc, (yyvsp[-3].interm.type));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12736|       |
12737|      0|        TType type((yyvsp[-3].interm.type));
12738|      0|        (yyval.interm.intermNode) = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string, (yyvsp[-3].interm.type), 0, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12739|      0|    }
12740|      0|#line 12741 "MachineIndependent/glslang_tab.cpp"
12741|      0|    break;
12742|       |
12743|      0|  case 653: /* switch_statement: switch_statement_nonattributed  */
  ------------------
  |  Branch (12743:3): [True: 0, False: 14.6M]
  ------------------
12744|      0|#line 4228 "MachineIndependent/glslang.y"
12745|      0|                                     {
12746|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12747|      0|    }
12748|      0|#line 12749 "MachineIndependent/glslang_tab.cpp"
12749|      0|    break;
12750|       |
12751|      0|  case 654: /* switch_statement: attribute switch_statement_nonattributed  */
  ------------------
  |  Branch (12751:3): [True: 0, False: 14.6M]
  ------------------
12752|      0|#line 4231 "MachineIndependent/glslang.y"
12753|      0|                                               {
12754|      0|        parseContext.requireExtensions((yyvsp[0].interm.intermNode)->getLoc(), 1, &E_GL_EXT_control_flow_attributes, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12755|      0|        parseContext.handleSwitchAttributes(*(yyvsp[-1].interm.attributes), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12756|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12757|      0|    }
12758|      0|#line 12759 "MachineIndependent/glslang_tab.cpp"
12759|      0|    break;
12760|       |
12761|      0|  case 655: /* $@10: %empty  */
  ------------------
  |  Branch (12761:3): [True: 0, False: 14.6M]
  ------------------
12762|      0|#line 4238 "MachineIndependent/glslang.y"
12763|      0|                                               {
12764|       |        // start new switch sequence on the switch stack
12765|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12766|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12767|      0|        parseContext.switchSequenceStack.push_back(new TIntermSequence);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12768|      0|        parseContext.switchLevel.push_back(parseContext.statementNestingLevel);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.switchLevel.push_back(parseContext.statementNestingLevel);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12769|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12770|      0|    }
12771|      0|#line 12772 "MachineIndependent/glslang_tab.cpp"
12772|      0|    break;
12773|       |
12774|      0|  case 656: /* switch_statement_nonattributed: SWITCH LEFT_PAREN expression RIGHT_PAREN $@10 LEFT_BRACE switch_statement_list RIGHT_BRACE  */
  ------------------
  |  Branch (12774:3): [True: 0, False: 14.6M]
  ------------------
12775|      0|#line 4246 "MachineIndependent/glslang.y"
12776|      0|                                                 {
12777|      0|        (yyval.interm.intermNode) = parseContext.addSwitch((yyvsp[-7].lex).loc, (yyvsp[-5].interm.intermTypedNode), (yyvsp[-1].interm.intermNode) ? (yyvsp[-1].interm.intermNode)->getAsAggregate() : 0);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12777:117): [True: 0, False: 0]
  ------------------
12778|      0|        delete parseContext.switchSequenceStack.back();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12779|      0|        parseContext.switchSequenceStack.pop_back();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12780|      0|        parseContext.switchLevel.pop_back();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12781|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12782|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12783|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12784|      0|    }
12785|      0|#line 12786 "MachineIndependent/glslang_tab.cpp"
12786|      0|    break;
12787|       |
12788|      0|  case 657: /* switch_statement_list: %empty  */
  ------------------
  |  Branch (12788:3): [True: 0, False: 14.6M]
  ------------------
12789|      0|#line 4258 "MachineIndependent/glslang.y"
12790|      0|                    {
12791|      0|        (yyval.interm.intermNode) = 0;
12792|      0|    }
12793|      0|#line 12794 "MachineIndependent/glslang_tab.cpp"
12794|      0|    break;
12795|       |
12796|      0|  case 658: /* switch_statement_list: statement_list  */
  ------------------
  |  Branch (12796:3): [True: 0, False: 14.6M]
  ------------------
12797|      0|#line 4261 "MachineIndependent/glslang.y"
12798|      0|                     {
12799|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12800|      0|    }
12801|      0|#line 12802 "MachineIndependent/glslang_tab.cpp"
12802|      0|    break;
12803|       |
12804|      0|  case 659: /* case_label: CASE expression COLON  */
  ------------------
  |  Branch (12804:3): [True: 0, False: 14.6M]
  ------------------
12805|      0|#line 4267 "MachineIndependent/glslang.y"
12806|      0|                            {
12807|      0|        (yyval.interm.intermNode) = 0;
12808|      0|        if (parseContext.switchLevel.size() == 0)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12808:13): [True: 0, False: 0]
  ------------------
12809|      0|            parseContext.error((yyvsp[-2].lex).loc, "cannot appear outside switch statement", "case", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12810|      0|        else if (parseContext.switchLevel.back() != parseContext.statementNestingLevel)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      else if (parseContext.switchLevel.back() != parseContext.statementNestingLevel)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12810:18): [True: 0, False: 0]
  ------------------
12811|      0|            parseContext.error((yyvsp[-2].lex).loc, "cannot be nested inside control flow", "case", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12812|      0|        else {
12813|      0|            parseContext.constantValueCheck((yyvsp[-1].interm.intermTypedNode), "case");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12814|      0|            parseContext.integerCheck((yyvsp[-1].interm.intermTypedNode), "case");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12815|      0|            (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpCase, (yyvsp[-1].interm.intermTypedNode), (yyvsp[-2].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12816|      0|        }
12817|      0|    }
12818|      0|#line 12819 "MachineIndependent/glslang_tab.cpp"
12819|      0|    break;
12820|       |
12821|      0|  case 660: /* case_label: DEFAULT COLON  */
  ------------------
  |  Branch (12821:3): [True: 0, False: 14.6M]
  ------------------
12822|      0|#line 4279 "MachineIndependent/glslang.y"
12823|      0|                    {
12824|      0|        (yyval.interm.intermNode) = 0;
12825|      0|        if (parseContext.switchLevel.size() == 0)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12825:13): [True: 0, False: 0]
  ------------------
12826|      0|            parseContext.error((yyvsp[-1].lex).loc, "cannot appear outside switch statement", "default", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12827|      0|        else if (parseContext.switchLevel.back() != parseContext.statementNestingLevel)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      else if (parseContext.switchLevel.back() != parseContext.statementNestingLevel)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12827:18): [True: 0, False: 0]
  ------------------
12828|      0|            parseContext.error((yyvsp[-1].lex).loc, "cannot be nested inside control flow", "default", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12829|      0|        else
12830|      0|            (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpDefault, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12831|      0|    }
12832|      0|#line 12833 "MachineIndependent/glslang_tab.cpp"
12833|      0|    break;
12834|       |
12835|      0|  case 661: /* iteration_statement: iteration_statement_nonattributed  */
  ------------------
  |  Branch (12835:3): [True: 0, False: 14.6M]
  ------------------
12836|      0|#line 4291 "MachineIndependent/glslang.y"
12837|      0|                                        {
12838|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12839|      0|    }
12840|      0|#line 12841 "MachineIndependent/glslang_tab.cpp"
12841|      0|    break;
12842|       |
12843|      0|  case 662: /* iteration_statement: attribute iteration_statement_nonattributed  */
  ------------------
  |  Branch (12843:3): [True: 0, False: 14.6M]
  ------------------
12844|      0|#line 4294 "MachineIndependent/glslang.y"
12845|      0|                                                  {
12846|      0|        const char * extensions[3] = { E_GL_EXT_control_flow_attributes, E_GL_EXT_control_flow_attributes2, E_GL_QCOM_multiple_wait_queues };
12847|      0|        parseContext.requireExtensions((yyvsp[0].interm.intermNode)->getLoc(), 3, extensions, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12848|      0|        parseContext.handleLoopAttributes(*(yyvsp[-1].interm.attributes), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12849|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12850|      0|    }
12851|      0|#line 12852 "MachineIndependent/glslang_tab.cpp"
12852|      0|    break;
12853|       |
12854|      0|  case 663: /* $@11: %empty  */
  ------------------
  |  Branch (12854:3): [True: 0, False: 14.6M]
  ------------------
12855|      0|#line 4302 "MachineIndependent/glslang.y"
12856|      0|                       {
12857|      0|        if (! parseContext.limits.whileLoops)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12857:13): [True: 0, False: 0]
  ------------------
12858|      0|            parseContext.error((yyvsp[-1].lex).loc, "while loops not available", "limitation", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12859|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12860|      0|        ++parseContext.loopNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12861|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12862|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12863|      0|    }
12864|      0|#line 12865 "MachineIndependent/glslang_tab.cpp"
12865|      0|    break;
12866|       |
12867|      0|  case 664: /* iteration_statement_nonattributed: WHILE LEFT_PAREN $@11 condition RIGHT_PAREN statement_no_new_scope  */
  ------------------
  |  Branch (12867:3): [True: 0, False: 14.6M]
  ------------------
12868|      0|#line 4310 "MachineIndependent/glslang.y"
12869|      0|                                                   {
12870|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12871|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addLoop((yyvsp[0].interm.intermNode), (yyvsp[-2].interm.intermNode), 0, true, (yyvsp[-5].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12872|      0|        if (parseContext.intermediate.getDebugInfo()) {
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12872:13): [True: 0, False: 0]
  ------------------
12873|      0|            (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyval.interm.intermNode), (yyvsp[-5].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12874|      0|            (yyval.interm.intermNode)->getAsAggregate()->setOperator(EOpScope);
12875|      0|        }
12876|      0|        --parseContext.loopNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12877|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12878|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12879|      0|    }
12880|      0|#line 12881 "MachineIndependent/glslang_tab.cpp"
12881|      0|    break;
12882|       |
12883|      0|  case 665: /* $@12: %empty  */
  ------------------
  |  Branch (12883:3): [True: 0, False: 14.6M]
  ------------------
12884|      0|#line 4321 "MachineIndependent/glslang.y"
12885|      0|         {
12886|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12887|      0|        ++parseContext.loopNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12888|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12889|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12890|      0|    }
12891|      0|#line 12892 "MachineIndependent/glslang_tab.cpp"
12892|      0|    break;
12893|       |
12894|      0|  case 666: /* iteration_statement_nonattributed: DO $@12 statement WHILE LEFT_PAREN expression RIGHT_PAREN SEMICOLON  */
  ------------------
  |  Branch (12894:3): [True: 0, False: 14.6M]
  ------------------
12895|      0|#line 4327 "MachineIndependent/glslang.y"
12896|      0|                                                                  {
12897|      0|        if (! parseContext.limits.whileLoops)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12897:13): [True: 0, False: 0]
  ------------------
12898|      0|            parseContext.error((yyvsp[-7].lex).loc, "do-while loops not available", "limitation", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12899|       |
12900|      0|        parseContext.boolCheck((yyvsp[0].lex).loc, (yyvsp[-2].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12901|       |
12902|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addLoop((yyvsp[-5].interm.intermNode), (yyvsp[-2].interm.intermTypedNode), 0, false, (yyvsp[-4].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12903|      0|        if (parseContext.intermediate.getDebugInfo()) {
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12903:13): [True: 0, False: 0]
  ------------------
12904|      0|            (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyval.interm.intermNode), (yyvsp[-4].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12905|      0|            (yyval.interm.intermNode)->getAsAggregate()->setOperator(EOpScope);
12906|      0|        }
12907|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12908|      0|        --parseContext.loopNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12909|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12910|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12911|      0|    }
12912|      0|#line 12913 "MachineIndependent/glslang_tab.cpp"
12913|      0|    break;
12914|       |
12915|      0|  case 667: /* $@13: %empty  */
  ------------------
  |  Branch (12915:3): [True: 0, False: 14.6M]
  ------------------
12916|      0|#line 4343 "MachineIndependent/glslang.y"
12917|      0|                     {
12918|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12919|      0|        ++parseContext.loopNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12920|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12921|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12922|      0|    }
12923|      0|#line 12924 "MachineIndependent/glslang_tab.cpp"
12924|      0|    break;
12925|       |
12926|      0|  case 668: /* iteration_statement_nonattributed: FOR LEFT_PAREN $@13 for_init_statement for_rest_statement RIGHT_PAREN statement_no_new_scope  */
  ------------------
  |  Branch (12926:3): [True: 0, False: 14.6M]
  ------------------
12927|      0|#line 4349 "MachineIndependent/glslang.y"
12928|      0|                                                                               {
12929|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12930|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[-3].interm.intermNode), (yyvsp[-5].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12931|      0|        TIntermLoop* forLoop = parseContext.intermediate.addLoop((yyvsp[0].interm.intermNode), reinterpret_cast<TIntermTyped*>((yyvsp[-2].interm.nodePair).node1), reinterpret_cast<TIntermTyped*>((yyvsp[-2].interm.nodePair).node2), true, (yyvsp[-6].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12932|      0|        if (! parseContext.limits.nonInductiveForLoops)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12932:13): [True: 0, False: 0]
  ------------------
12933|      0|            parseContext.inductiveLoopCheck((yyvsp[-6].lex).loc, (yyvsp[-3].interm.intermNode), forLoop);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12934|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyval.interm.intermNode), forLoop, (yyvsp[-6].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12935|      0|        (yyval.interm.intermNode)->getAsAggregate()->setOperator(parseContext.intermediate.getDebugInfo() ? EOpScope : EOpSequence);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12935:66): [True: 0, False: 0]
  ------------------
12936|      0|        --parseContext.loopNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12937|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12938|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12939|      0|    }
12940|      0|#line 12941 "MachineIndependent/glslang_tab.cpp"
12941|      0|    break;
12942|       |
12943|      0|  case 669: /* for_init_statement: expression_statement  */
  ------------------
  |  Branch (12943:3): [True: 0, False: 14.6M]
  ------------------
12944|      0|#line 4364 "MachineIndependent/glslang.y"
12945|      0|                           {
12946|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12947|      0|    }
12948|      0|#line 12949 "MachineIndependent/glslang_tab.cpp"
12949|      0|    break;
12950|       |
12951|      0|  case 670: /* for_init_statement: declaration_statement  */
  ------------------
  |  Branch (12951:3): [True: 0, False: 14.6M]
  ------------------
12952|      0|#line 4367 "MachineIndependent/glslang.y"
12953|      0|                            {
12954|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12955|      0|    }
12956|      0|#line 12957 "MachineIndependent/glslang_tab.cpp"
12957|      0|    break;
12958|       |
12959|      0|  case 671: /* conditionopt: condition  */
  ------------------
  |  Branch (12959:3): [True: 0, False: 14.6M]
  ------------------
12960|      0|#line 4373 "MachineIndependent/glslang.y"
12961|      0|                {
12962|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12963|      0|    }
12964|      0|#line 12965 "MachineIndependent/glslang_tab.cpp"
12965|      0|    break;
12966|       |
12967|      0|  case 672: /* conditionopt: %empty  */
  ------------------
  |  Branch (12967:3): [True: 0, False: 14.6M]
  ------------------
12968|      0|#line 4376 "MachineIndependent/glslang.y"
12969|      0|                        {
12970|      0|        (yyval.interm.intermNode) = 0;
12971|      0|    }
12972|      0|#line 12973 "MachineIndependent/glslang_tab.cpp"
12973|      0|    break;
12974|       |
12975|      0|  case 673: /* for_rest_statement: conditionopt SEMICOLON  */
  ------------------
  |  Branch (12975:3): [True: 0, False: 14.6M]
  ------------------
12976|      0|#line 4382 "MachineIndependent/glslang.y"
12977|      0|                             {
12978|      0|        (yyval.interm.nodePair).node1 = (yyvsp[-1].interm.intermNode);
12979|      0|        (yyval.interm.nodePair).node2 = 0;
12980|      0|    }
12981|      0|#line 12982 "MachineIndependent/glslang_tab.cpp"
12982|      0|    break;
12983|       |
12984|      0|  case 674: /* for_rest_statement: conditionopt SEMICOLON expression  */
  ------------------
  |  Branch (12984:3): [True: 0, False: 14.6M]
  ------------------
12985|      0|#line 4386 "MachineIndependent/glslang.y"
12986|      0|                                         {
12987|      0|        (yyval.interm.nodePair).node1 = (yyvsp[-2].interm.intermNode);
12988|      0|        (yyval.interm.nodePair).node2 = (yyvsp[0].interm.intermTypedNode);
12989|      0|    }
12990|      0|#line 12991 "MachineIndependent/glslang_tab.cpp"
12991|      0|    break;
12992|       |
12993|      0|  case 675: /* jump_statement: CONTINUE SEMICOLON  */
  ------------------
  |  Branch (12993:3): [True: 0, False: 14.6M]
  ------------------
12994|      0|#line 4393 "MachineIndependent/glslang.y"
12995|      0|                         {
12996|      0|        if (parseContext.loopNestingLevel <= 0)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12996:13): [True: 0, False: 0]
  ------------------
12997|      0|            parseContext.error((yyvsp[-1].lex).loc, "continue statement only allowed in loops", "", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12998|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpContinue, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12999|      0|    }
13000|      0|#line 13001 "MachineIndependent/glslang_tab.cpp"
13001|      0|    break;
13002|       |
13003|      0|  case 676: /* jump_statement: BREAK SEMICOLON  */
  ------------------
  |  Branch (13003:3): [True: 0, False: 14.6M]
  ------------------
13004|      0|#line 4398 "MachineIndependent/glslang.y"
13005|      0|                      {
13006|      0|        if (parseContext.loopNestingLevel + parseContext.switchSequenceStack.size() <= 0)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      if (parseContext.loopNestingLevel + parseContext.switchSequenceStack.size() <= 0)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (13006:13): [True: 0, False: 0]
  ------------------
13007|      0|            parseContext.error((yyvsp[-1].lex).loc, "break statement only allowed in switch and loops", "", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13008|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpBreak, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13009|      0|    }
13010|      0|#line 13011 "MachineIndependent/glslang_tab.cpp"
13011|      0|    break;
13012|       |
13013|      0|  case 677: /* jump_statement: RETURN SEMICOLON  */
  ------------------
  |  Branch (13013:3): [True: 0, False: 14.6M]
  ------------------
13014|      0|#line 4403 "MachineIndependent/glslang.y"
13015|      0|                       {
13016|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpReturn, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13017|      0|        if (parseContext.currentFunctionType->getBasicType() != EbtVoid)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (13017:13): [True: 0, False: 0]
  ------------------
13018|      0|            parseContext.error((yyvsp[-1].lex).loc, "non-void function must return a value", "return", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13019|      0|        if (parseContext.inMain)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (13019:13): [True: 0, False: 0]
  ------------------
13020|      0|            parseContext.postEntryPointReturn = true;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13021|      0|    }
13022|      0|#line 13023 "MachineIndependent/glslang_tab.cpp"
13023|      0|    break;
13024|       |
13025|    234|  case 678: /* jump_statement: RETURN expression SEMICOLON  */
  ------------------
  |  Branch (13025:3): [True: 234, False: 14.6M]
  ------------------
13026|    234|#line 4410 "MachineIndependent/glslang.y"
13027|    234|                                  {
13028|    234|        (yyval.interm.intermNode) = parseContext.handleReturnValue((yyvsp[-2].lex).loc, (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  783|    234|#define parseContext (*pParseContext)
  ------------------
13029|    234|    }
13030|    234|#line 13031 "MachineIndependent/glslang_tab.cpp"
13031|    234|    break;
13032|       |
13033|      0|  case 679: /* jump_statement: DISCARD SEMICOLON  */
  ------------------
  |  Branch (13033:3): [True: 0, False: 14.6M]
  ------------------
13034|      0|#line 4413 "MachineIndependent/glslang.y"
13035|      0|                        {
13036|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangFragment, "discard");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13037|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpKill, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13038|      0|    }
13039|      0|#line 13040 "MachineIndependent/glslang_tab.cpp"
13040|      0|    break;
13041|       |
13042|      0|  case 680: /* jump_statement: TERMINATE_INVOCATION SEMICOLON  */
  ------------------
  |  Branch (13042:3): [True: 0, False: 14.6M]
  ------------------
13043|      0|#line 4417 "MachineIndependent/glslang.y"
13044|      0|                                     {
13045|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangFragment, "terminateInvocation");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13046|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpTerminateInvocation, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13047|      0|    }
13048|      0|#line 13049 "MachineIndependent/glslang_tab.cpp"
13049|      0|    break;
13050|       |
13051|      0|  case 681: /* jump_statement: TERMINATE_RAY SEMICOLON  */
  ------------------
  |  Branch (13051:3): [True: 0, False: 14.6M]
  ------------------
13052|      0|#line 4421 "MachineIndependent/glslang.y"
13053|      0|                              {
13054|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangAnyHit, "terminateRayEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13055|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpTerminateRayKHR, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13056|      0|    }
13057|      0|#line 13058 "MachineIndependent/glslang_tab.cpp"
13058|      0|    break;
13059|       |
13060|      0|  case 682: /* jump_statement: IGNORE_INTERSECTION SEMICOLON  */
  ------------------
  |  Branch (13060:3): [True: 0, False: 14.6M]
  ------------------
13061|      0|#line 4425 "MachineIndependent/glslang.y"
13062|      0|                                    {
13063|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangAnyHit, "ignoreIntersectionEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13064|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpIgnoreIntersectionKHR, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13065|      0|    }
13066|      0|#line 13067 "MachineIndependent/glslang_tab.cpp"
13067|      0|    break;
13068|       |
13069|    616|  case 683: /* translation_unit: external_declaration  */
  ------------------
  |  Branch (13069:3): [True: 616, False: 14.6M]
  ------------------
13070|    616|#line 4434 "MachineIndependent/glslang.y"
13071|    616|                           {
13072|    616|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
13073|    616|        parseContext.intermediate.setTreeRoot((yyval.interm.intermNode));
  ------------------
  |  |  783|    616|#define parseContext (*pParseContext)
  ------------------
13074|    616|    }
13075|    616|#line 13076 "MachineIndependent/glslang_tab.cpp"
13076|    616|    break;
13077|       |
13078|   562k|  case 684: /* translation_unit: translation_unit external_declaration  */
  ------------------
  |  Branch (13078:3): [True: 562k, False: 14.0M]
  ------------------
13079|   562k|#line 4438 "MachineIndependent/glslang.y"
13080|   562k|                                            {
13081|   562k|        if ((yyvsp[0].interm.intermNode) != nullptr) {
  ------------------
  |  Branch (13081:13): [True: 240, False: 562k]
  ------------------
13082|    240|            (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-1].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|    240|#define parseContext (*pParseContext)
  ------------------
13083|    240|            parseContext.intermediate.setTreeRoot((yyval.interm.intermNode));
  ------------------
  |  |  783|    240|#define parseContext (*pParseContext)
  ------------------
13084|    240|        }
13085|   562k|    }
13086|   562k|#line 13087 "MachineIndependent/glslang_tab.cpp"
13087|   562k|    break;
13088|       |
13089|    240|  case 685: /* external_declaration: function_definition  */
  ------------------
  |  Branch (13089:3): [True: 240, False: 14.6M]
  ------------------
13090|    240|#line 4447 "MachineIndependent/glslang.y"
13091|    240|                          {
13092|    240|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
13093|    240|    }
13094|    240|#line 13095 "MachineIndependent/glslang_tab.cpp"
13095|    240|    break;
13096|       |
13097|   563k|  case 686: /* external_declaration: declaration  */
  ------------------
  |  Branch (13097:3): [True: 563k, False: 14.0M]
  ------------------
13098|   563k|#line 4450 "MachineIndependent/glslang.y"
13099|   563k|                  {
13100|   563k|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
13101|   563k|    }
13102|   563k|#line 13103 "MachineIndependent/glslang_tab.cpp"
13103|   563k|    break;
13104|       |
13105|      0|  case 687: /* external_declaration: SEMICOLON  */
  ------------------
  |  Branch (13105:3): [True: 0, False: 14.6M]
  ------------------
13106|      0|#line 4453 "MachineIndependent/glslang.y"
13107|      0|                {
13108|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ~EEsProfile, "extraneous semicolon");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13109|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ~EEsProfile, 460, nullptr, "extraneous semicolon");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13110|      0|        (yyval.interm.intermNode) = nullptr;
13111|      0|    }
13112|      0|#line 13113 "MachineIndependent/glslang_tab.cpp"
13113|      0|    break;
13114|       |
13115|    246|  case 688: /* $@14: %empty  */
  ------------------
  |  Branch (13115:3): [True: 246, False: 14.6M]
  ------------------
13116|    246|#line 4461 "MachineIndependent/glslang.y"
13117|    246|                         {
13118|    246|        (yyvsp[0].interm).function = parseContext.handleFunctionDeclarator((yyvsp[0].interm).loc, *(yyvsp[0].interm).function, false /* not prototype */);
  ------------------
  |  |  783|    246|#define parseContext (*pParseContext)
  ------------------
13119|    246|        (yyvsp[0].interm).intermNode = parseContext.handleFunctionDefinition((yyvsp[0].interm).loc, *(yyvsp[0].interm).function);
  ------------------
  |  |  783|    246|#define parseContext (*pParseContext)
  ------------------
13120|       |
13121|       |        // For ES 100 only, according to ES shading language 100 spec: A function
13122|       |        // body has a scope nested inside the function's definition.
13123|    246|        if (parseContext.profile == EEsProfile && parseContext.version == 100)
  ------------------
  |  |  783|    246|#define parseContext (*pParseContext)
  ------------------
                      if (parseContext.profile == EEsProfile && parseContext.version == 100)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (13123:13): [True: 0, False: 246]
  |  Branch (13123:51): [True: 0, False: 0]
  ------------------
13124|      0|        {
13125|      0|            parseContext.symbolTable.push();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13126|      0|            ++parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13127|      0|        }
13128|    246|    }
13129|    246|#line 13130 "MachineIndependent/glslang_tab.cpp"
13130|    246|    break;
13131|       |
13132|    240|  case 689: /* function_definition: function_prototype $@14 compound_statement_no_new_scope  */
  ------------------
  |  Branch (13132:3): [True: 240, False: 14.6M]
  ------------------
13133|    240|#line 4473 "MachineIndependent/glslang.y"
13134|    240|                                    {
13135|       |        //   May be best done as post process phase on intermediate code
13136|    240|        if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsValue)
  ------------------
  |  |  783|    240|#define parseContext (*pParseContext)
  ------------------
                      if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsValue)
  ------------------
  |  |  783|    234|#define parseContext (*pParseContext)
  ------------------
  |  Branch (13136:13): [True: 234, False: 6]
  |  Branch (13136:76): [True: 0, False: 234]
  ------------------
13137|      0|            parseContext.error((yyvsp[-2].interm).loc, "function does not return a value:", "", (yyvsp[-2].interm).function->getName().c_str());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13138|    240|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|    240|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|    240|#define parseContext (*pParseContext)
  ------------------
13139|    240|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm).intermNode, (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|    240|#define parseContext (*pParseContext)
  ------------------
13140|    240|        (yyval.interm.intermNode)->getAsAggregate()->setLinkType((yyvsp[-2].interm).function->getLinkType());
13141|    240|        (yyval.interm.intermNode)->getAsAggregate()->setFunctionControl((yyvsp[-2].interm).function->getFunctionControl());
13142|    240|        parseContext.intermediate.setAggregateOperator((yyval.interm.intermNode), EOpFunction, (yyvsp[-2].interm).function->getType(), (yyvsp[-2].interm).loc);
  ------------------
  |  |  783|    240|#define parseContext (*pParseContext)
  ------------------
13143|    240|        (yyval.interm.intermNode)->getAsAggregate()->setName((yyvsp[-2].interm).function->getMangledName().c_str());
13144|       |
13145|       |        // store the pragma information for debug and optimize and other vendor specific
13146|       |        // information. This information can be queried from the parse tree
13147|    240|        (yyval.interm.intermNode)->getAsAggregate()->setOptimize(parseContext.contextPragma.optimize);
  ------------------
  |  |  783|    240|#define parseContext (*pParseContext)
  ------------------
13148|    240|        (yyval.interm.intermNode)->getAsAggregate()->setDebug(parseContext.contextPragma.debug);
  ------------------
  |  |  783|    240|#define parseContext (*pParseContext)
  ------------------
13149|    240|        (yyval.interm.intermNode)->getAsAggregate()->setPragmaTable(parseContext.contextPragma.pragmaTable);
  ------------------
  |  |  783|    240|#define parseContext (*pParseContext)
  ------------------
13150|       |
13151|       |        // Set currentFunctionType to empty pointer when goes outside of the function
13152|    240|        parseContext.currentFunctionType = nullptr;
  ------------------
  |  |  783|    240|#define parseContext (*pParseContext)
  ------------------
13153|       |
13154|       |        // For ES 100 only, according to ES shading language 100 spec: A function
13155|       |        // body has a scope nested inside the function's definition.
13156|    240|        if (parseContext.profile == EEsProfile && parseContext.version == 100)
  ------------------
  |  |  783|    240|#define parseContext (*pParseContext)
  ------------------
                      if (parseContext.profile == EEsProfile && parseContext.version == 100)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (13156:13): [True: 0, False: 240]
  |  Branch (13156:51): [True: 0, False: 0]
  ------------------
13157|      0|        {
13158|      0|            parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                          parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13159|      0|            --parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13160|      0|        }
13161|    240|    }
13162|    240|#line 13163 "MachineIndependent/glslang_tab.cpp"
13163|    240|    break;
13164|       |
13165|      0|  case 690: /* attribute: LEFT_BRACKET LEFT_BRACKET attribute_list RIGHT_BRACKET RIGHT_BRACKET  */
  ------------------
  |  Branch (13165:3): [True: 0, False: 14.6M]
  ------------------
13166|      0|#line 4504 "MachineIndependent/glslang.y"
13167|      0|                                                                           {
13168|      0|        (yyval.interm.attributes) = (yyvsp[-2].interm.attributes);
13169|      0|    }
13170|      0|#line 13171 "MachineIndependent/glslang_tab.cpp"
13171|      0|    break;
13172|       |
13173|      0|  case 691: /* attribute_list: single_attribute  */
  ------------------
  |  Branch (13173:3): [True: 0, False: 14.6M]
  ------------------
13174|      0|#line 4509 "MachineIndependent/glslang.y"
13175|      0|                       {
13176|      0|        (yyval.interm.attributes) = (yyvsp[0].interm.attributes);
13177|      0|    }
13178|      0|#line 13179 "MachineIndependent/glslang_tab.cpp"
13179|      0|    break;
13180|       |
13181|      0|  case 692: /* attribute_list: attribute_list COMMA single_attribute  */
  ------------------
  |  Branch (13181:3): [True: 0, False: 14.6M]
  ------------------
13182|      0|#line 4512 "MachineIndependent/glslang.y"
13183|      0|                                            {
13184|      0|        (yyval.interm.attributes) = parseContext.mergeAttributes((yyvsp[-2].interm.attributes), (yyvsp[0].interm.attributes));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13185|      0|    }
13186|      0|#line 13187 "MachineIndependent/glslang_tab.cpp"
13187|      0|    break;
13188|       |
13189|      0|  case 693: /* single_attribute: IDENTIFIER  */
  ------------------
  |  Branch (13189:3): [True: 0, False: 14.6M]
  ------------------
13190|      0|#line 4517 "MachineIndependent/glslang.y"
13191|      0|                 {
13192|      0|        (yyval.interm.attributes) = parseContext.makeAttributes(*(yyvsp[0].lex).string);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13193|      0|    }
13194|      0|#line 13195 "MachineIndependent/glslang_tab.cpp"
13195|      0|    break;
13196|       |
13197|      0|  case 694: /* single_attribute: IDENTIFIER LEFT_PAREN constant_expression RIGHT_PAREN  */
  ------------------
  |  Branch (13197:3): [True: 0, False: 14.6M]
  ------------------
13198|      0|#line 4520 "MachineIndependent/glslang.y"
13199|      0|                                                            {
13200|      0|        (yyval.interm.attributes) = parseContext.makeAttributes(*(yyvsp[-3].lex).string, (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13201|      0|    }
13202|      0|#line 13203 "MachineIndependent/glslang_tab.cpp"
13203|      0|    break;
13204|       |
13205|      0|  case 695: /* single_attribute: INLINE  */
  ------------------
  |  Branch (13205:3): [True: 0, False: 14.6M]
  ------------------
13206|      0|#line 4523 "MachineIndependent/glslang.y"
13207|      0|             {
13208|      0|        (yyval.interm.attributes) = parseContext.makeAttributes(TString("inline"));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13209|      0|    }
13210|      0|#line 13211 "MachineIndependent/glslang_tab.cpp"
13211|      0|    break;
13212|       |
13213|      0|  case 696: /* single_attribute: NOINLINE  */
  ------------------
  |  Branch (13213:3): [True: 0, False: 14.6M]
  ------------------
13214|      0|#line 4526 "MachineIndependent/glslang.y"
13215|      0|               {
13216|      0|        (yyval.interm.attributes) = parseContext.makeAttributes(TString("noinline"));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13217|      0|    }
13218|      0|#line 13219 "MachineIndependent/glslang_tab.cpp"
13219|      0|    break;
13220|       |
13221|      0|  case 697: /* spirv_requirements_list: spirv_requirements_parameter  */
  ------------------
  |  Branch (13221:3): [True: 0, False: 14.6M]
  ------------------
13222|      0|#line 4531 "MachineIndependent/glslang.y"
13223|      0|                                   {
13224|      0|        (yyval.interm.spirvReq) = (yyvsp[0].interm.spirvReq);
13225|      0|    }
13226|      0|#line 13227 "MachineIndependent/glslang_tab.cpp"
13227|      0|    break;
13228|       |
13229|      0|  case 698: /* spirv_requirements_list: spirv_requirements_list COMMA spirv_requirements_parameter  */
  ------------------
  |  Branch (13229:3): [True: 0, False: 14.6M]
  ------------------
13230|      0|#line 4534 "MachineIndependent/glslang.y"
13231|      0|                                                                 {
13232|      0|        (yyval.interm.spirvReq) = parseContext.mergeSpirvRequirements((yyvsp[-1].lex).loc, (yyvsp[-2].interm.spirvReq), (yyvsp[0].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13233|      0|    }
13234|      0|#line 13235 "MachineIndependent/glslang_tab.cpp"
13235|      0|    break;
13236|       |
13237|      0|  case 699: /* spirv_requirements_parameter: IDENTIFIER EQUAL LEFT_BRACKET spirv_extension_list RIGHT_BRACKET  */
  ------------------
  |  Branch (13237:3): [True: 0, False: 14.6M]
  ------------------
13238|      0|#line 4539 "MachineIndependent/glslang.y"
13239|      0|                                                                       {
13240|      0|        (yyval.interm.spirvReq) = parseContext.makeSpirvRequirement((yyvsp[-3].lex).loc, *(yyvsp[-4].lex).string, (yyvsp[-1].interm.intermNode)->getAsAggregate(), nullptr);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13241|      0|    }
13242|      0|#line 13243 "MachineIndependent/glslang_tab.cpp"
13243|      0|    break;
13244|       |
13245|      0|  case 700: /* spirv_requirements_parameter: IDENTIFIER EQUAL LEFT_BRACKET spirv_capability_list RIGHT_BRACKET  */
  ------------------
  |  Branch (13245:3): [True: 0, False: 14.6M]
  ------------------
13246|      0|#line 4542 "MachineIndependent/glslang.y"
13247|      0|                                                                        {
13248|      0|        (yyval.interm.spirvReq) = parseContext.makeSpirvRequirement((yyvsp[-3].lex).loc, *(yyvsp[-4].lex).string, nullptr, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13249|      0|    }
13250|      0|#line 13251 "MachineIndependent/glslang_tab.cpp"
13251|      0|    break;
13252|       |
13253|      0|  case 701: /* spirv_extension_list: STRING_LITERAL  */
  ------------------
  |  Branch (13253:3): [True: 0, False: 14.6M]
  ------------------
13254|      0|#line 4547 "MachineIndependent/glslang.y"
13255|      0|                     {
13256|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13257|      0|    }
13258|      0|#line 13259 "MachineIndependent/glslang_tab.cpp"
13259|      0|    break;
13260|       |
13261|      0|  case 702: /* spirv_extension_list: spirv_extension_list COMMA STRING_LITERAL  */
  ------------------
  |  Branch (13261:3): [True: 0, False: 14.6M]
  ------------------
13262|      0|#line 4550 "MachineIndependent/glslang.y"
13263|      0|                                                {
13264|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13265|      0|    }
13266|      0|#line 13267 "MachineIndependent/glslang_tab.cpp"
13267|      0|    break;
13268|       |
13269|      0|  case 703: /* spirv_capability_list: INTCONSTANT  */
  ------------------
  |  Branch (13269:3): [True: 0, False: 14.6M]
  ------------------
13270|      0|#line 4555 "MachineIndependent/glslang.y"
13271|      0|                  {
13272|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13273|      0|    }
13274|      0|#line 13275 "MachineIndependent/glslang_tab.cpp"
13275|      0|    break;
13276|       |
13277|      0|  case 704: /* spirv_capability_list: spirv_capability_list COMMA INTCONSTANT  */
  ------------------
  |  Branch (13277:3): [True: 0, False: 14.6M]
  ------------------
13278|      0|#line 4558 "MachineIndependent/glslang.y"
13279|      0|                                              {
13280|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13281|      0|    }
13282|      0|#line 13283 "MachineIndependent/glslang_tab.cpp"
13283|      0|    break;
13284|       |
13285|      0|  case 705: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE LEFT_PAREN INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (13285:3): [True: 0, False: 14.6M]
  ------------------
13286|      0|#line 4563 "MachineIndependent/glslang.y"
13287|      0|                                                              {
13288|      0|        parseContext.intermediate.insertSpirvExecutionMode((yyvsp[-1].lex).i);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13289|      0|        (yyval.interm.intermNode) = 0;
13290|      0|    }
13291|      0|#line 13292 "MachineIndependent/glslang_tab.cpp"
13292|      0|    break;
13293|       |
13294|      0|  case 706: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (13294:3): [True: 0, False: 14.6M]
  ------------------
13295|      0|#line 4567 "MachineIndependent/glslang.y"
13296|      0|                                                                                            {
13297|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13298|      0|        parseContext.intermediate.insertSpirvExecutionMode((yyvsp[-1].lex).i);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13299|      0|        (yyval.interm.intermNode) = 0;
13300|      0|    }
13301|      0|#line 13302 "MachineIndependent/glslang_tab.cpp"
13302|      0|    break;
13303|       |
13304|      0|  case 707: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE LEFT_PAREN INTCONSTANT COMMA spirv_execution_mode_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13304:3): [True: 0, False: 14.6M]
  ------------------
13305|      0|#line 4572 "MachineIndependent/glslang.y"
13306|      0|                                                                                                        {
13307|      0|        parseContext.intermediate.insertSpirvExecutionMode((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13308|      0|        (yyval.interm.intermNode) = 0;
13309|      0|    }
13310|      0|#line 13311 "MachineIndependent/glslang_tab.cpp"
13311|      0|    break;
13312|       |
13313|      0|  case 708: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_execution_mode_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13313:3): [True: 0, False: 14.6M]
  ------------------
13314|      0|#line 4576 "MachineIndependent/glslang.y"
13315|      0|                                                                                                                                      {
13316|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13317|      0|        parseContext.intermediate.insertSpirvExecutionMode((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13318|      0|        (yyval.interm.intermNode) = 0;
13319|      0|    }
13320|      0|#line 13321 "MachineIndependent/glslang_tab.cpp"
13321|      0|    break;
13322|       |
13323|      0|  case 709: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE_ID LEFT_PAREN INTCONSTANT COMMA spirv_execution_mode_id_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13323:3): [True: 0, False: 14.6M]
  ------------------
13324|      0|#line 4581 "MachineIndependent/glslang.y"
13325|      0|                                                                                                              {
13326|      0|        parseContext.intermediate.insertSpirvExecutionModeId((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13327|      0|        (yyval.interm.intermNode) = 0;
13328|      0|    }
13329|      0|#line 13330 "MachineIndependent/glslang_tab.cpp"
13330|      0|    break;
13331|       |
13332|      0|  case 710: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE_ID LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_execution_mode_id_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13332:3): [True: 0, False: 14.6M]
  ------------------
13333|      0|#line 4585 "MachineIndependent/glslang.y"
13334|      0|                                                                                                                                            {
13335|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13336|      0|        parseContext.intermediate.insertSpirvExecutionModeId((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13337|      0|        (yyval.interm.intermNode) = 0;
13338|      0|    }
13339|      0|#line 13340 "MachineIndependent/glslang_tab.cpp"
13340|      0|    break;
13341|       |
13342|      0|  case 711: /* spirv_execution_mode_parameter_list: spirv_execution_mode_parameter  */
  ------------------
  |  Branch (13342:3): [True: 0, False: 14.6M]
  ------------------
13343|      0|#line 4592 "MachineIndependent/glslang.y"
13344|      0|                                     {
13345|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13346|      0|    }
13347|      0|#line 13348 "MachineIndependent/glslang_tab.cpp"
13348|      0|    break;
13349|       |
13350|      0|  case 712: /* spirv_execution_mode_parameter_list: spirv_execution_mode_parameter_list COMMA spirv_execution_mode_parameter  */
  ------------------
  |  Branch (13350:3): [True: 0, False: 14.6M]
  ------------------
13351|      0|#line 4595 "MachineIndependent/glslang.y"
13352|      0|                                                                               {
13353|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13354|      0|    }
13355|      0|#line 13356 "MachineIndependent/glslang_tab.cpp"
13356|      0|    break;
13357|       |
13358|      0|  case 713: /* spirv_execution_mode_parameter: FLOATCONSTANT  */
  ------------------
  |  Branch (13358:3): [True: 0, False: 14.6M]
  ------------------
13359|      0|#line 4600 "MachineIndependent/glslang.y"
13360|      0|                    {
13361|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13362|      0|    }
13363|      0|#line 13364 "MachineIndependent/glslang_tab.cpp"
13364|      0|    break;
13365|       |
13366|      0|  case 714: /* spirv_execution_mode_parameter: INTCONSTANT  */
  ------------------
  |  Branch (13366:3): [True: 0, False: 14.6M]
  ------------------
13367|      0|#line 4603 "MachineIndependent/glslang.y"
13368|      0|                  {
13369|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13370|      0|    }
13371|      0|#line 13372 "MachineIndependent/glslang_tab.cpp"
13372|      0|    break;
13373|       |
13374|      0|  case 715: /* spirv_execution_mode_parameter: UINTCONSTANT  */
  ------------------
  |  Branch (13374:3): [True: 0, False: 14.6M]
  ------------------
13375|      0|#line 4606 "MachineIndependent/glslang.y"
13376|      0|                   {
13377|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13378|      0|    }
13379|      0|#line 13380 "MachineIndependent/glslang_tab.cpp"
13380|      0|    break;
13381|       |
13382|      0|  case 716: /* spirv_execution_mode_parameter: BOOLCONSTANT  */
  ------------------
  |  Branch (13382:3): [True: 0, False: 14.6M]
  ------------------
13383|      0|#line 4609 "MachineIndependent/glslang.y"
13384|      0|                   {
13385|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).b, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13386|      0|    }
13387|      0|#line 13388 "MachineIndependent/glslang_tab.cpp"
13388|      0|    break;
13389|       |
13390|      0|  case 717: /* spirv_execution_mode_parameter: STRING_LITERAL  */
  ------------------
  |  Branch (13390:3): [True: 0, False: 14.6M]
  ------------------
13391|      0|#line 4612 "MachineIndependent/glslang.y"
13392|      0|                     {
13393|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13394|      0|    }
13395|      0|#line 13396 "MachineIndependent/glslang_tab.cpp"
13396|      0|    break;
13397|       |
13398|      0|  case 718: /* spirv_execution_mode_id_parameter_list: constant_expression  */
  ------------------
  |  Branch (13398:3): [True: 0, False: 14.6M]
  ------------------
13399|      0|#line 4617 "MachineIndependent/glslang.y"
13400|      0|                          {
13401|      0|        if ((yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtFloat &&
  ------------------
  |  Branch (13401:13): [True: 0, False: 0]
  ------------------
13402|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtInt &&
  ------------------
  |  Branch (13402:13): [True: 0, False: 0]
  ------------------
13403|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtUint &&
  ------------------
  |  Branch (13403:13): [True: 0, False: 0]
  ------------------
13404|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtBool &&
  ------------------
  |  Branch (13404:13): [True: 0, False: 0]
  ------------------
13405|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtString)
  ------------------
  |  Branch (13405:13): [True: 0, False: 0]
  ------------------
13406|      0|            parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "this type not allowed", (yyvsp[0].interm.intermTypedNode)->getType().getBasicString(), "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13407|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13408|      0|    }
13409|      0|#line 13410 "MachineIndependent/glslang_tab.cpp"
13410|      0|    break;
13411|       |
13412|      0|  case 719: /* spirv_execution_mode_id_parameter_list: spirv_execution_mode_id_parameter_list COMMA constant_expression  */
  ------------------
  |  Branch (13412:3): [True: 0, False: 14.6M]
  ------------------
13413|      0|#line 4626 "MachineIndependent/glslang.y"
13414|      0|                                                                       {
13415|      0|        if ((yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtFloat &&
  ------------------
  |  Branch (13415:13): [True: 0, False: 0]
  ------------------
13416|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtInt &&
  ------------------
  |  Branch (13416:13): [True: 0, False: 0]
  ------------------
13417|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtUint &&
  ------------------
  |  Branch (13417:13): [True: 0, False: 0]
  ------------------
13418|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtBool &&
  ------------------
  |  Branch (13418:13): [True: 0, False: 0]
  ------------------
13419|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtString)
  ------------------
  |  Branch (13419:13): [True: 0, False: 0]
  ------------------
13420|      0|            parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "this type not allowed", (yyvsp[0].interm.intermTypedNode)->getType().getBasicString(), "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13421|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13422|      0|    }
13423|      0|#line 13424 "MachineIndependent/glslang_tab.cpp"
13424|      0|    break;
13425|       |
13426|      0|  case 720: /* spirv_storage_class_qualifier: SPIRV_STORAGE_CLASS LEFT_PAREN INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (13426:3): [True: 0, False: 14.6M]
  ------------------
13427|      0|#line 4637 "MachineIndependent/glslang.y"
13428|      0|                                                             {
13429|      0|        (yyval.interm.type).init((yyvsp[-3].lex).loc);
13430|      0|        (yyval.interm.type).qualifier.storage = EvqSpirvStorageClass;
13431|      0|        (yyval.interm.type).qualifier.spirvStorageClass = (yyvsp[-1].lex).i;
13432|      0|    }
13433|      0|#line 13434 "MachineIndependent/glslang_tab.cpp"
13434|      0|    break;
13435|       |
13436|      0|  case 721: /* spirv_storage_class_qualifier: SPIRV_STORAGE_CLASS LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (13436:3): [True: 0, False: 14.6M]
  ------------------
13437|      0|#line 4642 "MachineIndependent/glslang.y"
13438|      0|                                                                                           {
13439|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
13440|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13441|      0|        (yyval.interm.type).qualifier.storage = EvqSpirvStorageClass;
13442|      0|        (yyval.interm.type).qualifier.spirvStorageClass = (yyvsp[-1].lex).i;
13443|      0|    }
13444|      0|#line 13445 "MachineIndependent/glslang_tab.cpp"
13445|      0|    break;
13446|       |
13447|      0|  case 722: /* spirv_decorate_qualifier: SPIRV_DECORATE LEFT_PAREN INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (13447:3): [True: 0, False: 14.6M]
  ------------------
13448|      0|#line 4650 "MachineIndependent/glslang.y"
13449|      0|                                                       {
13450|      0|        (yyval.interm.type).init((yyvsp[-3].lex).loc);
13451|      0|        (yyval.interm.type).qualifier.setSpirvDecorate((yyvsp[-1].lex).i);
13452|      0|    }
13453|      0|#line 13454 "MachineIndependent/glslang_tab.cpp"
13454|      0|    break;
13455|       |
13456|      0|  case 723: /* spirv_decorate_qualifier: SPIRV_DECORATE LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (13456:3): [True: 0, False: 14.6M]
  ------------------
13457|      0|#line 4654 "MachineIndependent/glslang.y"
13458|      0|                                                                                     {
13459|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
13460|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13461|      0|        (yyval.interm.type).qualifier.setSpirvDecorate((yyvsp[-1].lex).i);
13462|      0|    }
13463|      0|#line 13464 "MachineIndependent/glslang_tab.cpp"
13464|      0|    break;
13465|       |
13466|      0|  case 724: /* spirv_decorate_qualifier: SPIRV_DECORATE LEFT_PAREN INTCONSTANT COMMA spirv_decorate_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13466:3): [True: 0, False: 14.6M]
  ------------------
13467|      0|#line 4659 "MachineIndependent/glslang.y"
13468|      0|                                                                                            {
13469|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
13470|      0|        (yyval.interm.type).qualifier.setSpirvDecorate((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
13471|      0|    }
13472|      0|#line 13473 "MachineIndependent/glslang_tab.cpp"
13473|      0|    break;
13474|       |
13475|      0|  case 725: /* spirv_decorate_qualifier: SPIRV_DECORATE LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_decorate_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13475:3): [True: 0, False: 14.6M]
  ------------------
13476|      0|#line 4663 "MachineIndependent/glslang.y"
13477|      0|                                                                                                                          {
13478|      0|        (yyval.interm.type).init((yyvsp[-7].lex).loc);
13479|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13480|      0|        (yyval.interm.type).qualifier.setSpirvDecorate((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
13481|      0|    }
13482|      0|#line 13483 "MachineIndependent/glslang_tab.cpp"
13483|      0|    break;
13484|       |
13485|      0|  case 726: /* spirv_decorate_qualifier: SPIRV_DECORATE_ID LEFT_PAREN INTCONSTANT COMMA spirv_decorate_id_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13485:3): [True: 0, False: 14.6M]
  ------------------
13486|      0|#line 4668 "MachineIndependent/glslang.y"
13487|      0|                                                                                                  {
13488|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
13489|      0|        (yyval.interm.type).qualifier.setSpirvDecorateId((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
13490|      0|    }
13491|      0|#line 13492 "MachineIndependent/glslang_tab.cpp"
13492|      0|    break;
13493|       |
13494|      0|  case 727: /* spirv_decorate_qualifier: SPIRV_DECORATE_ID LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_decorate_id_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13494:3): [True: 0, False: 14.6M]
  ------------------
13495|      0|#line 4672 "MachineIndependent/glslang.y"
13496|      0|                                                                                                                                {
13497|      0|        (yyval.interm.type).init((yyvsp[-7].lex).loc);
13498|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13499|      0|        (yyval.interm.type).qualifier.setSpirvDecorateId((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
13500|      0|    }
13501|      0|#line 13502 "MachineIndependent/glslang_tab.cpp"
13502|      0|    break;
13503|       |
13504|      0|  case 728: /* spirv_decorate_qualifier: SPIRV_DECORATE_STRING LEFT_PAREN INTCONSTANT COMMA spirv_decorate_string_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13504:3): [True: 0, False: 14.6M]
  ------------------
13505|      0|#line 4677 "MachineIndependent/glslang.y"
13506|      0|                                                                                                          {
13507|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
13508|      0|        (yyval.interm.type).qualifier.setSpirvDecorateString((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
13509|      0|    }
13510|      0|#line 13511 "MachineIndependent/glslang_tab.cpp"
13511|      0|    break;
13512|       |
13513|      0|  case 729: /* spirv_decorate_qualifier: SPIRV_DECORATE_STRING LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_decorate_string_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13513:3): [True: 0, False: 14.6M]
  ------------------
13514|      0|#line 4681 "MachineIndependent/glslang.y"
13515|      0|                                                                                                                                        {
13516|      0|        (yyval.interm.type).init((yyvsp[-7].lex).loc);
13517|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13518|      0|        (yyval.interm.type).qualifier.setSpirvDecorateString((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
13519|      0|    }
13520|      0|#line 13521 "MachineIndependent/glslang_tab.cpp"
13521|      0|    break;
13522|       |
13523|      0|  case 730: /* spirv_decorate_parameter_list: spirv_decorate_parameter  */
  ------------------
  |  Branch (13523:3): [True: 0, False: 14.6M]
  ------------------
13524|      0|#line 4688 "MachineIndependent/glslang.y"
13525|      0|                               {
13526|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13527|      0|    }
13528|      0|#line 13529 "MachineIndependent/glslang_tab.cpp"
13529|      0|    break;
13530|       |
13531|      0|  case 731: /* spirv_decorate_parameter_list: spirv_decorate_parameter_list COMMA spirv_decorate_parameter  */
  ------------------
  |  Branch (13531:3): [True: 0, False: 14.6M]
  ------------------
13532|      0|#line 4691 "MachineIndependent/glslang.y"
13533|      0|                                                                   {
13534|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13535|      0|    }
13536|      0|#line 13537 "MachineIndependent/glslang_tab.cpp"
13537|      0|    break;
13538|       |
13539|      0|  case 732: /* spirv_decorate_parameter: FLOATCONSTANT  */
  ------------------
  |  Branch (13539:3): [True: 0, False: 14.6M]
  ------------------
13540|      0|#line 4696 "MachineIndependent/glslang.y"
13541|      0|                    {
13542|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13543|      0|    }
13544|      0|#line 13545 "MachineIndependent/glslang_tab.cpp"
13545|      0|    break;
13546|       |
13547|      0|  case 733: /* spirv_decorate_parameter: INTCONSTANT  */
  ------------------
  |  Branch (13547:3): [True: 0, False: 14.6M]
  ------------------
13548|      0|#line 4699 "MachineIndependent/glslang.y"
13549|      0|                  {
13550|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13551|      0|    }
13552|      0|#line 13553 "MachineIndependent/glslang_tab.cpp"
13553|      0|    break;
13554|       |
13555|      0|  case 734: /* spirv_decorate_parameter: UINTCONSTANT  */
  ------------------
  |  Branch (13555:3): [True: 0, False: 14.6M]
  ------------------
13556|      0|#line 4702 "MachineIndependent/glslang.y"
13557|      0|                   {
13558|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13559|      0|    }
13560|      0|#line 13561 "MachineIndependent/glslang_tab.cpp"
13561|      0|    break;
13562|       |
13563|      0|  case 735: /* spirv_decorate_parameter: BOOLCONSTANT  */
  ------------------
  |  Branch (13563:3): [True: 0, False: 14.6M]
  ------------------
13564|      0|#line 4705 "MachineIndependent/glslang.y"
13565|      0|                   {
13566|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).b, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13567|      0|    }
13568|      0|#line 13569 "MachineIndependent/glslang_tab.cpp"
13569|      0|    break;
13570|       |
13571|      0|  case 736: /* spirv_decorate_id_parameter_list: spirv_decorate_id_parameter  */
  ------------------
  |  Branch (13571:3): [True: 0, False: 14.6M]
  ------------------
13572|      0|#line 4710 "MachineIndependent/glslang.y"
13573|      0|                                  {
13574|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13575|      0|    }
13576|      0|#line 13577 "MachineIndependent/glslang_tab.cpp"
13577|      0|    break;
13578|       |
13579|      0|  case 737: /* spirv_decorate_id_parameter_list: spirv_decorate_id_parameter_list COMMA spirv_decorate_id_parameter  */
  ------------------
  |  Branch (13579:3): [True: 0, False: 14.6M]
  ------------------
13580|      0|#line 4713 "MachineIndependent/glslang.y"
13581|      0|                                                                         {
13582|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13583|      0|    }
13584|      0|#line 13585 "MachineIndependent/glslang_tab.cpp"
13585|      0|    break;
13586|       |
13587|      0|  case 738: /* spirv_decorate_id_parameter: variable_identifier  */
  ------------------
  |  Branch (13587:3): [True: 0, False: 14.6M]
  ------------------
13588|      0|#line 4718 "MachineIndependent/glslang.y"
13589|      0|                          {
13590|      0|        if ((yyvsp[0].interm.intermTypedNode)->getAsConstantUnion() || (yyvsp[0].interm.intermTypedNode)->getAsSymbolNode())
  ------------------
  |  Branch (13590:13): [True: 0, False: 0]
  |  Branch (13590:72): [True: 0, False: 0]
  ------------------
13591|      0|            (yyval.interm.intermNode) = (yyvsp[0].interm.intermTypedNode);
13592|      0|        else
13593|      0|            parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "only allow constants or variables which are not elements of a composite", "", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13594|      0|    }
13595|      0|#line 13596 "MachineIndependent/glslang_tab.cpp"
13596|      0|    break;
13597|       |
13598|      0|  case 739: /* spirv_decorate_id_parameter: FLOATCONSTANT  */
  ------------------
  |  Branch (13598:3): [True: 0, False: 14.6M]
  ------------------
13599|      0|#line 4724 "MachineIndependent/glslang.y"
13600|      0|                    {
13601|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13602|      0|    }
13603|      0|#line 13604 "MachineIndependent/glslang_tab.cpp"
13604|      0|    break;
13605|       |
13606|      0|  case 740: /* spirv_decorate_id_parameter: INTCONSTANT  */
  ------------------
  |  Branch (13606:3): [True: 0, False: 14.6M]
  ------------------
13607|      0|#line 4727 "MachineIndependent/glslang.y"
13608|      0|                  {
13609|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13610|      0|    }
13611|      0|#line 13612 "MachineIndependent/glslang_tab.cpp"
13612|      0|    break;
13613|       |
13614|      0|  case 741: /* spirv_decorate_id_parameter: UINTCONSTANT  */
  ------------------
  |  Branch (13614:3): [True: 0, False: 14.6M]
  ------------------
13615|      0|#line 4730 "MachineIndependent/glslang.y"
13616|      0|                   {
13617|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13618|      0|    }
13619|      0|#line 13620 "MachineIndependent/glslang_tab.cpp"
13620|      0|    break;
13621|       |
13622|      0|  case 742: /* spirv_decorate_id_parameter: BOOLCONSTANT  */
  ------------------
  |  Branch (13622:3): [True: 0, False: 14.6M]
  ------------------
13623|      0|#line 4733 "MachineIndependent/glslang.y"
13624|      0|                   {
13625|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).b, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13626|      0|    }
13627|      0|#line 13628 "MachineIndependent/glslang_tab.cpp"
13628|      0|    break;
13629|       |
13630|      0|  case 743: /* spirv_decorate_string_parameter_list: STRING_LITERAL  */
  ------------------
  |  Branch (13630:3): [True: 0, False: 14.6M]
  ------------------
13631|      0|#line 4738 "MachineIndependent/glslang.y"
13632|      0|                     {
13633|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13634|      0|            parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13635|      0|    }
13636|      0|#line 13637 "MachineIndependent/glslang_tab.cpp"
13637|      0|    break;
13638|       |
13639|      0|  case 744: /* spirv_decorate_string_parameter_list: spirv_decorate_string_parameter_list COMMA STRING_LITERAL  */
  ------------------
  |  Branch (13639:3): [True: 0, False: 14.6M]
  ------------------
13640|      0|#line 4742 "MachineIndependent/glslang.y"
13641|      0|                                                                {
13642|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13643|      0|    }
13644|      0|#line 13645 "MachineIndependent/glslang_tab.cpp"
13645|      0|    break;
13646|       |
13647|      0|  case 745: /* spirv_type_specifier: SPIRV_TYPE LEFT_PAREN spirv_instruction_qualifier_list COMMA spirv_type_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13647:3): [True: 0, False: 14.6M]
  ------------------
13648|      0|#line 4747 "MachineIndependent/glslang.y"
13649|      0|                                                                                                         {
13650|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13651|      0|        (yyval.interm.type).setSpirvType(*(yyvsp[-3].interm.spirvInst), (yyvsp[-1].interm.spirvTypeParams));
13652|      0|    }
13653|      0|#line 13654 "MachineIndependent/glslang_tab.cpp"
13654|      0|    break;
13655|       |
13656|      0|  case 746: /* spirv_type_specifier: SPIRV_TYPE LEFT_PAREN spirv_requirements_list COMMA spirv_instruction_qualifier_list COMMA spirv_type_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13656:3): [True: 0, False: 14.6M]
  ------------------
13657|      0|#line 4751 "MachineIndependent/glslang.y"
13658|      0|                                                                                                                                       {
13659|      0|        (yyval.interm.type).init((yyvsp[-7].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13660|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13661|      0|        (yyval.interm.type).setSpirvType(*(yyvsp[-3].interm.spirvInst), (yyvsp[-1].interm.spirvTypeParams));
13662|      0|    }
13663|      0|#line 13664 "MachineIndependent/glslang_tab.cpp"
13664|      0|    break;
13665|       |
13666|      0|  case 747: /* spirv_type_specifier: SPIRV_TYPE LEFT_PAREN spirv_instruction_qualifier_list RIGHT_PAREN  */
  ------------------
  |  Branch (13666:3): [True: 0, False: 14.6M]
  ------------------
13667|      0|#line 4756 "MachineIndependent/glslang.y"
13668|      0|                                                                         {
13669|      0|        (yyval.interm.type).init((yyvsp[-3].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13670|      0|        (yyval.interm.type).setSpirvType(*(yyvsp[-1].interm.spirvInst));
13671|      0|    }
13672|      0|#line 13673 "MachineIndependent/glslang_tab.cpp"
13673|      0|    break;
13674|       |
13675|      0|  case 748: /* spirv_type_specifier: SPIRV_TYPE LEFT_PAREN spirv_requirements_list COMMA spirv_instruction_qualifier_list RIGHT_PAREN  */
  ------------------
  |  Branch (13675:3): [True: 0, False: 14.6M]
  ------------------
13676|      0|#line 4760 "MachineIndependent/glslang.y"
13677|      0|                                                                                                       {
13678|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13679|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13680|      0|        (yyval.interm.type).setSpirvType(*(yyvsp[-1].interm.spirvInst));
13681|      0|    }
13682|      0|#line 13683 "MachineIndependent/glslang_tab.cpp"
13683|      0|    break;
13684|       |
13685|      0|  case 749: /* spirv_type_parameter_list: spirv_type_parameter  */
  ------------------
  |  Branch (13685:3): [True: 0, False: 14.6M]
  ------------------
13686|      0|#line 4767 "MachineIndependent/glslang.y"
13687|      0|                           {
13688|      0|        (yyval.interm.spirvTypeParams) = (yyvsp[0].interm.spirvTypeParams);
13689|      0|    }
13690|      0|#line 13691 "MachineIndependent/glslang_tab.cpp"
13691|      0|    break;
13692|       |
13693|      0|  case 750: /* spirv_type_parameter_list: spirv_type_parameter_list COMMA spirv_type_parameter  */
  ------------------
  |  Branch (13693:3): [True: 0, False: 14.6M]
  ------------------
13694|      0|#line 4770 "MachineIndependent/glslang.y"
13695|      0|                                                           {
13696|      0|        (yyval.interm.spirvTypeParams) = parseContext.mergeSpirvTypeParameters((yyvsp[-2].interm.spirvTypeParams), (yyvsp[0].interm.spirvTypeParams));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13697|      0|    }
13698|      0|#line 13699 "MachineIndependent/glslang_tab.cpp"
13699|      0|    break;
13700|       |
13701|      0|  case 751: /* spirv_type_parameter: constant_expression  */
  ------------------
  |  Branch (13701:3): [True: 0, False: 14.6M]
  ------------------
13702|      0|#line 4775 "MachineIndependent/glslang.y"
13703|      0|                          {
13704|      0|        (yyval.interm.spirvTypeParams) = parseContext.makeSpirvTypeParameters((yyvsp[0].interm.intermTypedNode)->getLoc(), (yyvsp[0].interm.intermTypedNode)->getAsConstantUnion());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13705|      0|    }
13706|      0|#line 13707 "MachineIndependent/glslang_tab.cpp"
13707|      0|    break;
13708|       |
13709|      0|  case 752: /* spirv_type_parameter: type_specifier_nonarray  */
  ------------------
  |  Branch (13709:3): [True: 0, False: 14.6M]
  ------------------
13710|      0|#line 4778 "MachineIndependent/glslang.y"
13711|      0|                              {
13712|      0|        (yyval.interm.spirvTypeParams) = parseContext.makeSpirvTypeParameters((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13713|      0|    }
13714|      0|#line 13715 "MachineIndependent/glslang_tab.cpp"
13715|      0|    break;
13716|       |
13717|      0|  case 753: /* spirv_instruction_qualifier: SPIRV_INSTRUCTION LEFT_PAREN spirv_instruction_qualifier_list RIGHT_PAREN  */
  ------------------
  |  Branch (13717:3): [True: 0, False: 14.6M]
  ------------------
13718|      0|#line 4783 "MachineIndependent/glslang.y"
13719|      0|                                                                                {
13720|      0|        (yyval.interm.spirvInst) = (yyvsp[-1].interm.spirvInst);
13721|      0|    }
13722|      0|#line 13723 "MachineIndependent/glslang_tab.cpp"
13723|      0|    break;
13724|       |
13725|      0|  case 754: /* spirv_instruction_qualifier: SPIRV_INSTRUCTION LEFT_PAREN spirv_requirements_list COMMA spirv_instruction_qualifier_list RIGHT_PAREN  */
  ------------------
  |  Branch (13725:3): [True: 0, False: 14.6M]
  ------------------
13726|      0|#line 4786 "MachineIndependent/glslang.y"
13727|      0|                                                                                                              {
13728|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13729|      0|        (yyval.interm.spirvInst) = (yyvsp[-1].interm.spirvInst);
13730|      0|    }
13731|      0|#line 13732 "MachineIndependent/glslang_tab.cpp"
13732|      0|    break;
13733|       |
13734|      0|  case 755: /* spirv_instruction_qualifier_list: spirv_instruction_qualifier_id  */
  ------------------
  |  Branch (13734:3): [True: 0, False: 14.6M]
  ------------------
13735|      0|#line 4792 "MachineIndependent/glslang.y"
13736|      0|                                     {
13737|      0|        (yyval.interm.spirvInst) = (yyvsp[0].interm.spirvInst);
13738|      0|    }
13739|      0|#line 13740 "MachineIndependent/glslang_tab.cpp"
13740|      0|    break;
13741|       |
13742|      0|  case 756: /* spirv_instruction_qualifier_list: spirv_instruction_qualifier_list COMMA spirv_instruction_qualifier_id  */
  ------------------
  |  Branch (13742:3): [True: 0, False: 14.6M]
  ------------------
13743|      0|#line 4795 "MachineIndependent/glslang.y"
13744|      0|                                                                            {
13745|      0|        (yyval.interm.spirvInst) = parseContext.mergeSpirvInstruction((yyvsp[-1].lex).loc, (yyvsp[-2].interm.spirvInst), (yyvsp[0].interm.spirvInst));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13746|      0|    }
13747|      0|#line 13748 "MachineIndependent/glslang_tab.cpp"
13748|      0|    break;
13749|       |
13750|      0|  case 757: /* spirv_instruction_qualifier_id: IDENTIFIER EQUAL STRING_LITERAL  */
  ------------------
  |  Branch (13750:3): [True: 0, False: 14.6M]
  ------------------
13751|      0|#line 4800 "MachineIndependent/glslang.y"
13752|      0|                                      {
13753|      0|        (yyval.interm.spirvInst) = parseContext.makeSpirvInstruction((yyvsp[-1].lex).loc, *(yyvsp[-2].lex).string, *(yyvsp[0].lex).string);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13754|      0|    }
13755|      0|#line 13756 "MachineIndependent/glslang_tab.cpp"
13756|      0|    break;
13757|       |
13758|      0|  case 758: /* spirv_instruction_qualifier_id: IDENTIFIER EQUAL INTCONSTANT  */
  ------------------
  |  Branch (13758:3): [True: 0, False: 14.6M]
  ------------------
13759|      0|#line 4803 "MachineIndependent/glslang.y"
13760|      0|                                   {
13761|      0|        (yyval.interm.spirvInst) = parseContext.makeSpirvInstruction((yyvsp[-1].lex).loc, *(yyvsp[-2].lex).string, (yyvsp[0].lex).i);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13762|      0|    }
13763|      0|#line 13764 "MachineIndependent/glslang_tab.cpp"
13764|      0|    break;
13765|       |
13766|       |
13767|      0|#line 13768 "MachineIndependent/glslang_tab.cpp"
13768|       |
13769|      0|      default: break;
  ------------------
  |  Branch (13769:7): [True: 0, False: 14.6M]
  ------------------
13770|  14.6M|    }
13771|       |  /* User semantic actions sometimes alter yychar, and that requires
13772|       |     that yytoken be updated with the new translation.  We take the
13773|       |     approach of translating immediately before every use of yytoken.
13774|       |     One alternative is translating here after every semantic action,
13775|       |     but that translation would be missed if the semantic action invokes
13776|       |     YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or
13777|       |     if it invokes YYBACKUP.  In the case of YYABORT or YYACCEPT, an
13778|       |     incorrect destructor might then be invoked immediately.  In the
13779|       |     case of YYERROR or YYBACKUP, subsequent parser actions might lead
13780|       |     to an incorrect destructor call or verbose syntax error message
13781|       |     before the lookahead is translated.  */
13782|  14.6M|  YY_SYMBOL_PRINT ("-> $$ =", YY_CAST (yysymbol_kind_t, yyr1[yyn]), &yyval, &yyloc);
  ------------------
  |  | 5208|  14.6M|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 5209|  14.6M|do {                                                                      \
  |  | 5210|  14.6M|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (5210:7): [True: 0, False: 14.6M]
  |  |  ------------------
  |  | 5211|  14.6M|    {                                                                     \
  |  | 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|  14.6M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5217:10): [Folded, False: 14.6M]
  |  |  ------------------
  ------------------
13783|       |
13784|  14.6M|  YYPOPSTACK (yylen);
  ------------------
  |  | 5685|  14.6M|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13785|  14.6M|  yylen = 0;
13786|       |
13787|  14.6M|  *++yyvsp = yyval;
13788|       |
13789|       |  /* Now 'shift' the result of the reduction.  Determine what state
13790|       |     that goes to, based on the state we popped back to and the rule
13791|       |     number reduced by.  */
13792|  14.6M|  {
13793|  14.6M|    const int yylhs = yyr1[yyn] - YYNTOKENS;
  ------------------
  |  | 1116|  14.6M|#define YYNTOKENS  515
  ------------------
13794|  14.6M|    const int yyi = yypgoto[yylhs] + *yyssp;
13795|  14.6M|    yystate = (0 <= yyi && yyi <= YYLAST && yycheck[yyi] == *yyssp
  ------------------
  |  | 1113|  22.2M|#define YYLAST   15602
  ------------------
  |  Branch (13795:16): [True: 7.59M, False: 7.05M]
  |  Branch (13795:28): [True: 7.59M, False: 0]
  |  Branch (13795:45): [True: 4.79M, False: 2.79M]
  ------------------
13796|  14.6M|               ? yytable[yyi]
13797|  14.6M|               : yydefgoto[yylhs]);
13798|  14.6M|  }
13799|       |
13800|  14.6M|  goto yynewstate;
13801|       |
13802|       |
13803|       |/*--------------------------------------.
13804|       || yyerrlab -- here on detecting error.  |
13805|       |`--------------------------------------*/
13806|     23|yyerrlab:
13807|       |  /* Make sure we have latest lookahead translation.  See comments at
13808|       |     user semantic actions for why this is necessary.  */
13809|     23|  yytoken = yychar == YYEMPTY ? YYSYMBOL_YYEMPTY : YYTRANSLATE (yychar);
  ------------------
  |  | 1131|     46|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  | 1125|     23|#define YYMAXUTOK   769
  |  |  ------------------
  |  |  |  Branch (1131:4): [True: 23, False: 0]
  |  |  |  Branch (1131:18): [True: 23, False: 0]
  |  |  ------------------
  |  | 1132|     46|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  100|     23|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  |  | 1133|     46|   : YYSYMBOL_YYUNDEF)
  ------------------
  |  Branch (13809:13): [True: 0, False: 23]
  ------------------
13810|       |  /* If not already recovering from an error, report this error.  */
13811|     23|  if (!yyerrstatus)
  ------------------
  |  Branch (13811:7): [True: 23, False: 0]
  ------------------
13812|     23|    {
13813|     23|      ++yynerrs;
13814|     23|      {
13815|     23|        yypcontext_t yyctx
13816|     23|          = {yyssp, yytoken};
13817|     23|        char const *yymsgp = YY_("syntax error");
  ------------------
  |  |  915|     23|#  define YY_(Msgid) Msgid
  ------------------
13818|     23|        int yysyntax_error_status;
13819|     23|        yysyntax_error_status = yysyntax_error (&yymsg_alloc, &yymsg, &yyctx);
13820|     23|        if (yysyntax_error_status == 0)
  ------------------
  |  Branch (13820:13): [True: 23, False: 0]
  ------------------
13821|     23|          yymsgp = yymsg;
13822|      0|        else if (yysyntax_error_status == -1)
  ------------------
  |  Branch (13822:18): [True: 0, False: 0]
  ------------------
13823|      0|          {
13824|      0|            if (yymsg != yymsgbuf)
  ------------------
  |  Branch (13824:17): [True: 0, False: 0]
  ------------------
13825|      0|              YYSTACK_FREE (yymsg);
  ------------------
  |  | 1023|      0|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  | 1042|      0|#   define YYFREE free
  |  |  ------------------
  ------------------
13826|      0|            yymsg = YY_CAST (char *,
  ------------------
  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  ------------------
13827|      0|                             YYSTACK_ALLOC (YY_CAST (YYSIZE_T, yymsg_alloc)));
13828|      0|            if (yymsg)
  ------------------
  |  Branch (13828:17): [True: 0, False: 0]
  ------------------
13829|      0|              {
13830|      0|                yysyntax_error_status
13831|      0|                  = yysyntax_error (&yymsg_alloc, &yymsg, &yyctx);
13832|      0|                yymsgp = yymsg;
13833|      0|              }
13834|      0|            else
13835|      0|              {
13836|      0|                yymsg = yymsgbuf;
13837|      0|                yymsg_alloc = sizeof yymsgbuf;
13838|      0|                yysyntax_error_status = YYENOMEM;
13839|      0|              }
13840|      0|          }
13841|     23|        yyerror (pParseContext, yymsgp);
  ------------------
  |  |  784|     23|#define yyerror(context, msg) context->parserError(msg)
  ------------------
13842|     23|        if (yysyntax_error_status == YYENOMEM)
  ------------------
  |  Branch (13842:13): [True: 0, False: 23]
  ------------------
13843|      0|          YYNOMEM;
  ------------------
  |  | 5164|      0|#define YYNOMEM         goto yyexhaustedlab
  ------------------
13844|     23|      }
13845|     23|    }
13846|       |
13847|     23|  if (yyerrstatus == 3)
  ------------------
  |  Branch (13847:7): [True: 0, False: 23]
  ------------------
13848|      0|    {
13849|       |      /* If just tried and failed to reuse lookahead token after an
13850|       |         error, discard it.  */
13851|       |
13852|      0|      if (yychar <= YYEOF)
  ------------------
  |  Branch (13852:11): [True: 0, False: 0]
  ------------------
13853|      0|        {
13854|       |          /* Return failure if at end of input.  */
13855|      0|          if (yychar == YYEOF)
  ------------------
  |  Branch (13855:15): [True: 0, False: 0]
  ------------------
13856|      0|            YYABORT;
  ------------------
  |  | 5162|      0|#define YYABORT         goto yyabortlab
  ------------------
13857|      0|        }
13858|      0|      else
13859|      0|        {
13860|      0|          yydestruct ("Error: discarding",
13861|      0|                      yytoken, &yylval, pParseContext);
13862|      0|          yychar = YYEMPTY;
13863|      0|        }
13864|      0|    }
13865|       |
13866|       |  /* Else will try to reuse lookahead token after shifting the error
13867|       |     token.  */
13868|     23|  goto yyerrlab1;
13869|       |
13870|       |
13871|       |/*---------------------------------------------------.
13872|       || yyerrorlab -- error raised explicitly by YYERROR.  |
13873|       |`---------------------------------------------------*/
13874|     23|yyerrorlab:
13875|       |  /* Pacify compilers when the user code never invokes YYERROR and the
13876|       |     label yyerrorlab therefore never appears in user code.  */
13877|      0|  if (0)
  ------------------
  |  Branch (13877:7): [Folded, False: 0]
  ------------------
13878|      0|    YYERROR;
  ------------------
  |  | 5163|      0|#define YYERROR         goto yyerrorlab
  ------------------
13879|      0|  ++yynerrs;
13880|       |
13881|       |  /* Do not reclaim the symbols of the rule whose action triggered
13882|       |     this YYERROR.  */
13883|      0|  YYPOPSTACK (yylen);
  ------------------
  |  | 5685|      0|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13884|      0|  yylen = 0;
13885|      0|  YY_STACK_PRINT (yyss, yyssp);
  ------------------
  |  | 5271|      0|# define YY_STACK_PRINT(Bottom, Top)                            \
  |  | 5272|      0|do {                                                            \
  |  | 5273|      0|  if (yydebug)                                                  \
  |  |  ------------------
  |  |  |  Branch (5273:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 5274|      0|    yy_stack_print ((Bottom), (Top));                           \
  |  | 5275|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (5275:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
13886|      0|  yystate = *yyssp;
13887|      0|  goto yyerrlab1;
13888|       |
13889|       |
13890|       |/*-------------------------------------------------------------.
13891|       || yyerrlab1 -- common code for both syntax error and YYERROR.  |
13892|       |`-------------------------------------------------------------*/
13893|     23|yyerrlab1:
13894|     23|  yyerrstatus = 3;      /* Each real token shifted decrements this.  */
13895|       |
13896|       |  /* Pop stack until we find a state that shifts the error token.  */
13897|     23|  for (;;)
13898|    113|    {
13899|    113|      yyn = yypact[yystate];
13900|    113|      if (!yypact_value_is_default (yyn))
  ------------------
  |  | 1490|    113|  ((Yyn) == YYPACT_NINF)
  |  |  ------------------
  |  |  |  | 1487|    113|#define YYPACT_NINF (-901)
  |  |  ------------------
  ------------------
  |  Branch (13900:11): [True: 107, False: 6]
  ------------------
13901|    107|        {
13902|    107|          yyn += YYSYMBOL_YYerror;
13903|    107|          if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror)
  ------------------
  |  | 1113|    181|#define YYLAST   15602
  ------------------
  |  Branch (13903:15): [True: 74, False: 33]
  |  Branch (13903:27): [True: 74, False: 0]
  |  Branch (13903:44): [True: 0, False: 74]
  ------------------
13904|      0|            {
13905|      0|              yyn = yytable[yyn];
13906|      0|              if (0 < yyn)
  ------------------
  |  Branch (13906:19): [True: 0, False: 0]
  ------------------
13907|      0|                break;
13908|      0|            }
13909|    107|        }
13910|       |
13911|       |      /* Pop the current state because it cannot handle the error token.  */
13912|    113|      if (yyssp == yyss)
  ------------------
  |  Branch (13912:11): [True: 23, False: 90]
  ------------------
13913|     23|        YYABORT;
  ------------------
  |  | 5162|     23|#define YYABORT         goto yyabortlab
  ------------------
13914|       |
13915|       |
13916|     90|      yydestruct ("Error: popping",
13917|     90|                  YY_ACCESSING_SYMBOL (yystate), yyvsp, pParseContext);
  ------------------
  |  | 1302|     90|#define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State])
  |  |  ------------------
  |  |  |  |  100|     90|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  ------------------
13918|     90|      YYPOPSTACK (1);
  ------------------
  |  | 5685|     90|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13919|     90|      yystate = *yyssp;
13920|     90|      YY_STACK_PRINT (yyss, yyssp);
  ------------------
  |  | 5271|     90|# define YY_STACK_PRINT(Bottom, Top)                            \
  |  | 5272|     90|do {                                                            \
  |  | 5273|     90|  if (yydebug)                                                  \
  |  |  ------------------
  |  |  |  Branch (5273:7): [True: 0, False: 90]
  |  |  ------------------
  |  | 5274|     90|    yy_stack_print ((Bottom), (Top));                           \
  |  | 5275|     90|} while (0)
  |  |  ------------------
  |  |  |  Branch (5275:10): [Folded, False: 90]
  |  |  ------------------
  ------------------
13921|     90|    }
13922|       |
13923|      0|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
13924|      0|  *++yyvsp = yylval;
13925|      0|  YY_IGNORE_MAYBE_UNINITIALIZED_END
13926|       |
13927|       |
13928|       |  /* Shift the error token.  */
13929|      0|  YY_SYMBOL_PRINT ("Shifting", YY_ACCESSING_SYMBOL (yyn), yyvsp, yylsp);
  ------------------
  |  | 5208|      0|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 5209|      0|do {                                                                      \
  |  | 5210|      0|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (5210:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 5211|      0|    {                                                                     \
  |  | 5212|      0|      YYFPRINTF (stderr, "%s ", Title);                                   \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5213|      0|      yy_symbol_print (stderr,                                            \
  |  | 5214|      0|                  Kind, Value, pParseContext); \
  |  | 5215|      0|      YYFPRINTF (stderr, "\n");                                           \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5216|      0|    }                                                                     \
  |  | 5217|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (5217:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
13930|       |
13931|      0|  yystate = yyn;
13932|      0|  goto yynewstate;
13933|       |
13934|       |
13935|       |/*-------------------------------------.
13936|       || yyacceptlab -- YYACCEPT comes here.  |
13937|       |`-------------------------------------*/
13938|    598|yyacceptlab:
13939|    598|  yyresult = 0;
13940|    598|  goto yyreturnlab;
13941|       |
13942|       |
13943|       |/*-----------------------------------.
13944|       || yyabortlab -- YYABORT comes here.  |
13945|       |`-----------------------------------*/
13946|     23|yyabortlab:
13947|     23|  yyresult = 1;
13948|     23|  goto yyreturnlab;
13949|       |
13950|       |
13951|       |/*-----------------------------------------------------------.
13952|       || yyexhaustedlab -- YYNOMEM (memory exhaustion) comes here.  |
13953|       |`-----------------------------------------------------------*/
13954|      0|yyexhaustedlab:
13955|      0|  yyerror (pParseContext, YY_("memory exhausted"));
  ------------------
  |  |  784|      0|#define yyerror(context, msg) context->parserError(msg)
  ------------------
13956|      0|  yyresult = 2;
13957|      0|  goto yyreturnlab;
13958|       |
13959|       |
13960|       |/*----------------------------------------------------------.
13961|       || yyreturnlab -- parsing is finished, clean up and return.  |
13962|       |`----------------------------------------------------------*/
13963|    621|yyreturnlab:
13964|    621|  if (yychar != YYEMPTY)
  ------------------
  |  Branch (13964:7): [True: 23, False: 598]
  ------------------
13965|     23|    {
13966|       |      /* Make sure we have latest lookahead translation.  See comments at
13967|       |         user semantic actions for why this is necessary.  */
13968|     23|      yytoken = YYTRANSLATE (yychar);
  ------------------
  |  | 1131|     23|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  | 1125|     23|#define YYMAXUTOK   769
  |  |  ------------------
  |  |  |  Branch (1131:4): [True: 23, False: 0]
  |  |  |  Branch (1131:18): [True: 23, False: 0]
  |  |  ------------------
  |  | 1132|     23|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  100|     23|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  |  | 1133|     23|   : YYSYMBOL_YYUNDEF)
  ------------------
13969|     23|      yydestruct ("Cleanup: discarding lookahead",
13970|     23|                  yytoken, &yylval, pParseContext);
13971|     23|    }
13972|       |  /* Do not reclaim the symbols of the rule whose action triggered
13973|       |     this YYABORT or YYACCEPT.  */
13974|    621|  YYPOPSTACK (yylen);
  ------------------
  |  | 5685|    621|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13975|    621|  YY_STACK_PRINT (yyss, yyssp);
  ------------------
  |  | 5271|    621|# define YY_STACK_PRINT(Bottom, Top)                            \
  |  | 5272|    621|do {                                                            \
  |  | 5273|    621|  if (yydebug)                                                  \
  |  |  ------------------
  |  |  |  Branch (5273:7): [True: 0, False: 621]
  |  |  ------------------
  |  | 5274|    621|    yy_stack_print ((Bottom), (Top));                           \
  |  | 5275|    621|} while (0)
  |  |  ------------------
  |  |  |  Branch (5275:10): [Folded, False: 621]
  |  |  ------------------
  ------------------
13976|  1.81k|  while (yyssp != yyss)
  ------------------
  |  Branch (13976:10): [True: 1.19k, False: 621]
  ------------------
13977|  1.19k|    {
13978|  1.19k|      yydestruct ("Cleanup: popping",
13979|  1.19k|                  YY_ACCESSING_SYMBOL (+*yyssp), yyvsp, pParseContext);
  ------------------
  |  | 1302|  1.19k|#define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State])
  |  |  ------------------
  |  |  |  |  100|  1.19k|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  ------------------
13980|  1.19k|      YYPOPSTACK (1);
  ------------------
  |  | 5685|  1.19k|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13981|  1.19k|    }
13982|    621|#ifndef yyoverflow
13983|    621|  if (yyss != yyssa)
  ------------------
  |  Branch (13983:7): [True: 0, False: 621]
  ------------------
13984|      0|    YYSTACK_FREE (yyss);
  ------------------
  |  | 1023|      0|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  | 1042|      0|#   define YYFREE free
  |  |  ------------------
  ------------------
13985|    621|#endif
13986|    621|  if (yymsg != yymsgbuf)
  ------------------
  |  Branch (13986:7): [True: 0, False: 621]
  ------------------
13987|      0|    YYSTACK_FREE (yymsg);
  ------------------
  |  | 1023|      0|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  | 1042|      0|#   define YYFREE free
  |  |  ------------------
  ------------------
13988|    621|  return yyresult;
13989|     23|}
glslang_tab.cpp:_ZL14yysyntax_errorPlPPcPK12yypcontext_t:
 5529|     23|{
 5530|     23|  enum { YYARGS_MAX = 5 };
 5531|       |  /* Internationalized format string. */
 5532|     23|  const char *yyformat = YY_NULLPTR;
  ------------------
  |  |  110|     23|#    define YY_NULLPTR nullptr
  ------------------
 5533|       |  /* Arguments of yyformat: reported tokens (one for the "unexpected",
 5534|       |     one per "expected"). */
 5535|     23|  yysymbol_kind_t yyarg[YYARGS_MAX];
 5536|       |  /* Cumulated lengths of YYARG.  */
 5537|     23|  YYPTRDIFF_T yysize = 0;
  ------------------
  |  |  865|     23|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5538|       |
 5539|       |  /* Actual size of YYARG. */
 5540|     23|  int yycount = yy_syntax_error_arguments (yyctx, yyarg, YYARGS_MAX);
 5541|     23|  if (yycount == YYENOMEM)
  ------------------
  |  Branch (5541:7): [True: 0, False: 23]
  ------------------
 5542|      0|    return YYENOMEM;
 5543|       |
 5544|     23|  switch (yycount)
 5545|     23|    {
 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: 23]
  ------------------
 5551|      0|      YYCASE_(0, YY_("syntax error"));
  ------------------
  |  | 5547|      0|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5547:7): [True: 0, False: 23]
  |  |  ------------------
  |  | 5548|      0|        yyformat = S;                       \
  |  | 5549|      0|        break
  ------------------
 5552|     11|      YYCASE_(1, YY_("syntax error, unexpected %s"));
  ------------------
  |  | 5547|     11|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5547:7): [True: 11, False: 12]
  |  |  ------------------
  |  | 5548|     11|        yyformat = S;                       \
  |  | 5549|     11|        break
  ------------------
 5553|      3|      YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s"));
  ------------------
  |  | 5547|      3|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5547:7): [True: 3, False: 20]
  |  |  ------------------
  |  | 5548|      3|        yyformat = S;                       \
  |  | 5549|      3|        break
  ------------------
 5554|      9|      YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s"));
  ------------------
  |  | 5547|      9|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5547:7): [True: 9, False: 14]
  |  |  ------------------
  |  | 5548|      9|        yyformat = S;                       \
  |  | 5549|      9|        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: 23]
  |  |  ------------------
  |  | 5548|      0|        yyformat = S;                       \
  |  | 5549|      0|        break
  ------------------
 5556|     23|      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: 23]
  |  |  ------------------
  |  | 5548|      0|        yyformat = S;                       \
  |  | 5549|      0|        break
  ------------------
 5557|     23|#undef YYCASE_
 5558|     23|    }
 5559|       |
 5560|       |  /* Compute error message size.  Don't count the "%s"s, but reserve
 5561|       |     room for the terminator.  */
 5562|     23|  yysize = yystrlen (yyformat) - 2 * yycount + 1;
  ------------------
  |  | 5388|     23|#  define yystrlen(S) (YY_CAST (YYPTRDIFF_T, strlen (S)))
  |  |  ------------------
  |  |  |  |  100|     23|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  ------------------
 5563|     23|  {
 5564|     23|    int yyi;
 5565|     67|    for (yyi = 0; yyi < yycount; ++yyi)
  ------------------
  |  Branch (5565:19): [True: 44, False: 23]
  ------------------
 5566|     44|      {
 5567|     44|        YYPTRDIFF_T yysize1
  ------------------
  |  |  865|     44|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5568|     44|          = yysize + yytnamerr (YY_NULLPTR, yytname[yyarg[yyi]]);
  ------------------
  |  |  110|     44|#    define YY_NULLPTR nullptr
  ------------------
 5569|     44|        if (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM)
  ------------------
  |  | 1025|     44|#   define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
  |  |  ------------------
  |  |  |  |  893|     44|  YY_CAST (YYPTRDIFF_T,                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|     88|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (100:50): [True: 44, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5569:13): [True: 44, False: 0]
  |  Branch (5569:34): [True: 44, False: 0]
  ------------------
 5570|     44|          yysize = yysize1;
 5571|      0|        else
 5572|      0|          return YYENOMEM;
 5573|     44|      }
 5574|     23|  }
 5575|       |
 5576|     23|  if (*yymsg_alloc < yysize)
  ------------------
  |  Branch (5576:7): [True: 0, False: 23]
  ------------------
 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|     23|  {
 5589|     23|    char *yyp = *yymsg;
 5590|     23|    int yyi = 0;
 5591|    822|    while ((*yyp = *yyformat) != '\0')
  ------------------
  |  Branch (5591:12): [True: 799, False: 23]
  ------------------
 5592|    799|      if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount)
  ------------------
  |  Branch (5592:11): [True: 44, False: 755]
  |  Branch (5592:26): [True: 44, False: 0]
  |  Branch (5592:48): [True: 44, False: 0]
  ------------------
 5593|     44|        {
 5594|     44|          yyp += yytnamerr (yyp, yytname[yyarg[yyi++]]);
 5595|     44|          yyformat += 2;
 5596|     44|        }
 5597|    755|      else
 5598|    755|        {
 5599|    755|          ++yyp;
 5600|    755|          ++yyformat;
 5601|    755|        }
 5602|     23|  }
 5603|     23|  return 0;
 5604|     23|}
glslang_tab.cpp:_ZL25yy_syntax_error_argumentsPK12yypcontext_tP15yysymbol_kind_ti:
 5476|     23|{
 5477|       |  /* Actual size of YYARG. */
 5478|     23|  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|     23|  if (yyctx->yytoken != YYSYMBOL_YYEMPTY)
  ------------------
  |  Branch (5502:7): [True: 23, False: 0]
  ------------------
 5503|     23|    {
 5504|     23|      int yyn;
 5505|     23|      if (yyarg)
  ------------------
  |  Branch (5505:11): [True: 23, False: 0]
  ------------------
 5506|     23|        yyarg[yycount] = yyctx->yytoken;
 5507|     23|      ++yycount;
 5508|     23|      yyn = yypcontext_expected_tokens (yyctx,
 5509|     23|                                        yyarg ? yyarg + 1 : yyarg, yyargn - 1);
  ------------------
  |  Branch (5509:41): [True: 23, False: 0]
  ------------------
 5510|     23|      if (yyn == YYENOMEM)
  ------------------
  |  Branch (5510:11): [True: 0, False: 23]
  ------------------
 5511|      0|        return YYENOMEM;
 5512|     23|      else
 5513|     23|        yycount += yyn;
 5514|     23|    }
 5515|     23|  return yycount;
 5516|     23|}
glslang_tab.cpp:_ZL26yypcontext_expected_tokensPK12yypcontext_tP15yysymbol_kind_ti:
 5352|     23|{
 5353|       |  /* Actual size of YYARG. */
 5354|     23|  int yycount = 0;
 5355|     23|  int yyn = yypact[+*yyctx->yyssp];
 5356|     23|  if (!yypact_value_is_default (yyn))
  ------------------
  |  | 1490|     23|  ((Yyn) == YYPACT_NINF)
  |  |  ------------------
  |  |  |  | 1487|     23|#define YYPACT_NINF (-901)
  |  |  ------------------
  ------------------
  |  Branch (5356:7): [True: 23, False: 0]
  ------------------
 5357|     23|    {
 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|     23|      int yyxbegin = yyn < 0 ? -yyn : 0;
  ------------------
  |  Branch (5361:22): [True: 12, False: 11]
  ------------------
 5362|       |      /* Stay within bounds of both yycheck and yytname.  */
 5363|     23|      int yychecklim = YYLAST - yyn + 1;
  ------------------
  |  | 1113|     23|#define YYLAST   15602
  ------------------
 5364|     23|      int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
  ------------------
  |  | 1116|     23|#define YYNTOKENS  515
  ------------------
                    int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
  ------------------
  |  | 1116|     23|#define YYNTOKENS  515
  ------------------
  |  Branch (5364:20): [True: 0, False: 23]
  ------------------
 5365|     23|      int yyx;
 5366|  4.36k|      for (yyx = yyxbegin; yyx < yyxend; ++yyx)
  ------------------
  |  Branch (5366:28): [True: 4.35k, False: 12]
  ------------------
 5367|  4.35k|        if (yycheck[yyx + yyn] == yyx && yyx != YYSYMBOL_YYerror
  ------------------
  |  Branch (5367:13): [True: 76, False: 4.28k]
  |  Branch (5367:42): [True: 76, False: 0]
  ------------------
 5368|      0|            && !yytable_value_is_error (yytable[yyx + yyn]))
  ------------------
  |  | 1495|      0|  0
  ------------------
  |  Branch (5368:16): [True: 0, Folded]
  ------------------
 5369|     76|          {
 5370|     76|            if (!yyarg)
  ------------------
  |  Branch (5370:17): [True: 0, False: 76]
  ------------------
 5371|      0|              ++yycount;
 5372|     76|            else if (yycount == yyargn)
  ------------------
  |  Branch (5372:22): [True: 11, False: 65]
  ------------------
 5373|     11|              return 0;
 5374|     65|            else
 5375|     65|              yyarg[yycount++] = YY_CAST (yysymbol_kind_t, yyx);
  ------------------
  |  |  100|     65|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  ------------------
 5376|     76|          }
 5377|     23|    }
 5378|     12|  if (yyarg && yycount == 0 && 0 < yyargn)
  ------------------
  |  Branch (5378:7): [True: 12, False: 0]
  |  Branch (5378:16): [True: 0, False: 12]
  |  Branch (5378:32): [True: 0, False: 0]
  ------------------
 5379|      0|    yyarg[0] = YYSYMBOL_YYEMPTY;
 5380|     12|  return yycount;
 5381|     23|}
glslang_tab.cpp:_ZL9yytnamerrPcPKc:
 5432|     88|{
 5433|     88|  if (*yystr == '"')
  ------------------
  |  Branch (5433:7): [True: 24, False: 64]
  ------------------
 5434|     24|    {
 5435|     24|      YYPTRDIFF_T yyn = 0;
  ------------------
  |  |  865|     24|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5436|     24|      char const *yyp = yystr;
 5437|     24|      for (;;)
 5438|    288|        switch (*++yyp)
 5439|    288|          {
 5440|      0|          case '\'':
  ------------------
  |  Branch (5440:11): [True: 0, False: 288]
  ------------------
 5441|      0|          case ',':
  ------------------
  |  Branch (5441:11): [True: 0, False: 288]
  ------------------
 5442|      0|            goto do_not_strip_quotes;
 5443|       |
 5444|      0|          case '\\':
  ------------------
  |  Branch (5444:11): [True: 0, False: 288]
  ------------------
 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|    264|          default:
  ------------------
  |  Branch (5451:11): [True: 264, False: 24]
  ------------------
 5452|    264|            if (yyres)
  ------------------
  |  Branch (5452:17): [True: 132, False: 132]
  ------------------
 5453|    132|              yyres[yyn] = *yyp;
 5454|    264|            yyn++;
 5455|    264|            break;
 5456|       |
 5457|     24|          case '"':
  ------------------
  |  Branch (5457:11): [True: 24, False: 264]
  ------------------
 5458|     24|            if (yyres)
  ------------------
  |  Branch (5458:17): [True: 12, False: 12]
  ------------------
 5459|     12|              yyres[yyn] = '\0';
 5460|     24|            return yyn;
 5461|    288|          }
 5462|      0|    do_not_strip_quotes: ;
 5463|      0|    }
 5464|       |
 5465|     64|  if (yyres)
  ------------------
  |  Branch (5465:7): [True: 32, False: 32]
  ------------------
 5466|     32|    return yystpcpy (yyres, yystr) - yyres;
  ------------------
  |  | 5404|     32|#  define yystpcpy stpcpy
  ------------------
 5467|     32|  else
 5468|     32|    return yystrlen (yystr);
  ------------------
  |  | 5388|     32|#  define yystrlen(S) (YY_CAST (YYPTRDIFF_T, strlen (S)))
  |  |  ------------------
  |  |  |  |  100|     32|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  ------------------
 5469|     64|}
glslang_tab.cpp:_ZL10yydestructPKc15yysymbol_kind_tP7YYSTYPEPN7glslang13TParseContextE:
 5614|  1.30k|{
 5615|  1.30k|  YY_USE (yyvaluep);
  ------------------
  |  |  938|  1.30k|# define YY_USE(E) ((void) (E))
  ------------------
 5616|  1.30k|  YY_USE (pParseContext);
  ------------------
  |  |  938|  1.30k|# define YY_USE(E) ((void) (E))
  ------------------
 5617|  1.30k|  if (!yymsg)
  ------------------
  |  Branch (5617:7): [True: 0, False: 1.30k]
  ------------------
 5618|      0|    yymsg = "Deleting";
 5619|  1.30k|  YY_SYMBOL_PRINT (yymsg, yykind, yyvaluep, yylocationp);
  ------------------
  |  | 5208|  1.30k|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 5209|  1.30k|do {                                                                      \
  |  | 5210|  1.30k|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (5210:7): [True: 0, False: 1.30k]
  |  |  ------------------
  |  | 5211|  1.30k|    {                                                                     \
  |  | 5212|      0|      YYFPRINTF (stderr, "%s ", Title);                                   \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5213|      0|      yy_symbol_print (stderr,                                            \
  |  | 5214|      0|                  Kind, Value, pParseContext); \
  |  | 5215|      0|      YYFPRINTF (stderr, "\n");                                           \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5216|      0|    }                                                                     \
  |  | 5217|  1.30k|} while (0)
  |  |  ------------------
  |  |  |  Branch (5217:10): [Folded, False: 1.30k]
  |  |  ------------------
  ------------------
 5620|       |
 5621|  1.30k|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 5622|  1.30k|  YY_USE (yykind);
  ------------------
  |  |  938|  1.30k|# define YY_USE(E) ((void) (E))
  ------------------
 5623|  1.30k|  YY_IGNORE_MAYBE_UNINITIALIZED_END
 5624|  1.30k|}

_ZN7glslang13TIntermediate15addUsedLocationERKNS_10TQualifierERKNS_5TTypeERb:
 1971|     72|{
 1972|     72|    typeCollision = false;
 1973|       |
 1974|     72|    int set;
 1975|     72|    if (qualifier.isPipeInput())
  ------------------
  |  Branch (1975:9): [True: 66, False: 6]
  ------------------
 1976|     66|        set = 0;
 1977|      6|    else if (qualifier.isPipeOutput())
  ------------------
  |  Branch (1977:14): [True: 6, False: 0]
  ------------------
 1978|      6|        set = 1;
 1979|      0|    else if (qualifier.storage == EvqUniform)
  ------------------
  |  Branch (1979:14): [True: 0, False: 0]
  ------------------
 1980|      0|        set = 2;
 1981|      0|    else if (qualifier.storage == EvqBuffer)
  ------------------
  |  Branch (1981:14): [True: 0, False: 0]
  ------------------
 1982|      0|        set = 3;
 1983|      0|    else if (qualifier.storage == EvqTileImageEXT)
  ------------------
  |  Branch (1983:14): [True: 0, False: 0]
  ------------------
 1984|      0|        set = 4;
 1985|      0|    else if (qualifier.isAnyPayload())
  ------------------
  |  Branch (1985:14): [True: 0, False: 0]
  ------------------
 1986|      0|        set = 0;
 1987|      0|    else if (qualifier.isAnyCallable())
  ------------------
  |  Branch (1987:14): [True: 0, False: 0]
  ------------------
 1988|      0|        set = 1;
 1989|      0|    else if (qualifier.isHitObjectAttrNV())
  ------------------
  |  Branch (1989:14): [True: 0, False: 0]
  ------------------
 1990|      0|        set = 2;
 1991|      0|    else if (qualifier.isHitObjectAttrEXT())
  ------------------
  |  Branch (1991:14): [True: 0, False: 0]
  ------------------
 1992|      0|        set = 2;
 1993|      0|    else
 1994|      0|        return -1;
 1995|       |
 1996|     72|    int size;
 1997|     72|    if (qualifier.isAnyPayload() || qualifier.isAnyCallable()) {
  ------------------
  |  Branch (1997:9): [True: 0, False: 72]
  |  Branch (1997:37): [True: 0, False: 72]
  ------------------
 1998|      0|        size = 1;
 1999|     72|    } else if (qualifier.isUniformOrBuffer() || qualifier.isTaskMemory()) {
  ------------------
  |  Branch (1999:16): [True: 0, False: 72]
  |  Branch (1999:49): [True: 0, False: 72]
  ------------------
 2000|      0|        if (type.isSizedArray())
  ------------------
  |  Branch (2000:13): [True: 0, False: 0]
  ------------------
 2001|      0|            size = type.getCumulativeArraySize();
 2002|      0|        else
 2003|      0|            size = 1;
 2004|     72|    } else {
 2005|       |        // Strip off the outer array dimension for those having an extra one.
 2006|     72|        if (type.isArray() && qualifier.isArrayedIo(language)) {
  ------------------
  |  Branch (2006:13): [True: 0, False: 72]
  |  Branch (2006:31): [True: 0, False: 0]
  ------------------
 2007|      0|            TType elementType(type, 0);
 2008|      0|            size = computeTypeLocationSize(elementType, language);
 2009|      0|        } else
 2010|     72|            size = computeTypeLocationSize(type, language);
 2011|     72|    }
 2012|       |
 2013|       |    // Locations, and components within locations.
 2014|       |    //
 2015|       |    // Almost always, dealing with components means a single location is involved.
 2016|       |    // The exception is a dvec3. From the spec:
 2017|       |    //
 2018|       |    // "A dvec3 will consume all four components of the first location and components 0 and 1 of
 2019|       |    // the second location. This leaves components 2 and 3 available for other component-qualified
 2020|       |    // declarations."
 2021|       |    //
 2022|       |    // That means, without ever mentioning a component, a component range
 2023|       |    // for a different location gets specified, if it's not a vertex shader input. (!)
 2024|       |    // (A vertex shader input will show using only one location, even for a dvec3/4.)
 2025|       |    //
 2026|       |    // So, for the case of dvec3, we need two independent ioRanges.
 2027|       |    //
 2028|       |    // For raytracing IO (payloads and callabledata) each declaration occupies a single
 2029|       |    // slot irrespective of type.
 2030|     72|    int collision = -1; // no collision
 2031|     72|    if (qualifier.isAnyPayload() || qualifier.isAnyCallable() || qualifier.isHitObjectAttrNV() || qualifier.isHitObjectAttrEXT()) {
  ------------------
  |  Branch (2031:9): [True: 0, False: 72]
  |  Branch (2031:37): [True: 0, False: 72]
  |  Branch (2031:66): [True: 0, False: 72]
  |  Branch (2031:99): [True: 0, False: 72]
  ------------------
 2032|      0|        TRange range(qualifier.layoutLocation, qualifier.layoutLocation);
 2033|      0|        collision = checkLocationRT(set, qualifier.layoutLocation);
 2034|      0|        if (collision < 0)
  ------------------
  |  Branch (2034:13): [True: 0, False: 0]
  ------------------
 2035|      0|            usedIoRT[set].push_back(range);
 2036|      0|        return collision;
 2037|      0|    }
 2038|     72|    if (size == 2 && type.getBasicType() == EbtDouble && type.getVectorSize() == 3 &&
  ------------------
  |  Branch (2038:9): [True: 0, False: 72]
  |  Branch (2038:22): [True: 0, False: 0]
  |  Branch (2038:58): [True: 0, False: 0]
  ------------------
 2039|      0|        (qualifier.isPipeInput() || qualifier.isPipeOutput())) {
  ------------------
  |  Branch (2039:10): [True: 0, False: 0]
  |  Branch (2039:37): [True: 0, False: 0]
  ------------------
 2040|       |        // Dealing with dvec3 in/out split across two locations.
 2041|       |        // Need two io-ranges.
 2042|       |        // The case where the dvec3 doesn't start at component 0 was previously caught as overflow.
 2043|       |
 2044|       |        // First range:
 2045|      0|        TRange locationRange(qualifier.layoutLocation, qualifier.layoutLocation);
 2046|      0|        TRange componentRange(0, 3);
 2047|      0|        TIoRange range(locationRange, componentRange, type.getBasicType(), 0, qualifier.centroid, qualifier.smooth, qualifier.flat, qualifier.sample, qualifier.patch);
 2048|       |
 2049|       |        // check for collisions
 2050|      0|        collision = checkLocationRange(set, range, type, typeCollision);
 2051|      0|        if (collision < 0) {
  ------------------
  |  Branch (2051:13): [True: 0, False: 0]
  ------------------
 2052|      0|            usedIo[set].push_back(range);
 2053|       |
 2054|       |            // Second range:
 2055|      0|            TRange locationRange2(qualifier.layoutLocation + 1, qualifier.layoutLocation + 1);
 2056|      0|            TRange componentRange2(0, 1);
 2057|      0|            TIoRange range2(locationRange2, componentRange2, type.getBasicType(), 0, qualifier.centroid, qualifier.smooth, qualifier.flat, qualifier.sample, qualifier.patch);
 2058|       |
 2059|       |            // check for collisions
 2060|      0|            collision = checkLocationRange(set, range2, type, typeCollision);
 2061|      0|            if (collision < 0)
  ------------------
  |  Branch (2061:17): [True: 0, False: 0]
  ------------------
 2062|      0|                usedIo[set].push_back(range2);
 2063|      0|        }
 2064|      0|        return collision;
 2065|      0|    }
 2066|       |
 2067|       |    // Not a dvec3 in/out split across two locations, generic path.
 2068|       |    // Need a single IO-range block.
 2069|       |
 2070|     72|    TRange locationRange(qualifier.layoutLocation, qualifier.layoutLocation + size - 1);
 2071|     72|    TRange componentRange(0, 3);
 2072|     72|    if (qualifier.hasComponent() || type.getVectorSize() > 0) {
  ------------------
  |  Branch (2072:9): [True: 0, False: 72]
  |  Branch (2072:37): [True: 72, False: 0]
  ------------------
 2073|     72|        int consumedComponents = type.getVectorSize() * (type.getBasicType() == EbtDouble ? 2 : 1);
  ------------------
  |  Branch (2073:58): [True: 0, False: 72]
  ------------------
 2074|     72|        if (qualifier.hasComponent())
  ------------------
  |  Branch (2074:13): [True: 0, False: 72]
  ------------------
 2075|      0|            componentRange.start = qualifier.layoutComponent;
 2076|     72|        componentRange.last  = componentRange.start + consumedComponents - 1;
 2077|     72|    }
 2078|       |
 2079|       |    // combine location and component ranges
 2080|     72|    TBasicType basicTy = type.getBasicType();
 2081|     72|    if (basicTy == EbtSampler && type.getSampler().isAttachmentEXT())
  ------------------
  |  Branch (2081:9): [True: 0, False: 72]
  |  Branch (2081:34): [True: 0, False: 0]
  ------------------
 2082|      0|        basicTy = type.getSampler().type;
 2083|     72|    TIoRange range(locationRange, componentRange, basicTy, qualifier.hasIndex() ? qualifier.getIndex() : 0, qualifier.centroid, qualifier.smooth, qualifier.flat, qualifier.sample, qualifier.patch);
  ------------------
  |  Branch (2083:60): [True: 0, False: 72]
  ------------------
 2084|       |
 2085|       |    // check for collisions, except for vertex inputs on desktop targeting OpenGL
 2086|     72|    if (! (!isEsProfile() && language == EShLangVertex && qualifier.isPipeInput()) || spvVersion.vulkan > 0)
  ------------------
  |  Branch (2086:12): [True: 72, False: 0]
  |  Branch (2086:30): [True: 0, False: 72]
  |  Branch (2086:59): [True: 0, False: 0]
  |  Branch (2086:87): [True: 0, False: 0]
  ------------------
 2087|     72|        collision = checkLocationRange(set, range, type, typeCollision);
 2088|       |
 2089|     72|    if (collision < 0)
  ------------------
  |  Branch (2089:9): [True: 72, False: 0]
  ------------------
 2090|     72|        usedIo[set].push_back(range);
 2091|       |
 2092|     72|    return collision;
 2093|     72|}
_ZN7glslang13TIntermediate18checkLocationRangeEiRKNS_8TIoRangeERKNS_5TTypeERb:
 2119|     72|{
 2120|    402|    for (size_t r = 0; r < usedIo[set].size(); ++r) {
  ------------------
  |  Branch (2120:24): [True: 330, False: 72]
  ------------------
 2121|    330|        if (range.overlap(usedIo[set][r])) {
  ------------------
  |  Branch (2121:13): [True: 0, False: 330]
  ------------------
 2122|       |            // there is a collision; pick one
 2123|      0|            return std::max(range.location.start, usedIo[set][r].location.start);
 2124|    330|        } else if (range.location.overlap(usedIo[set][r].location) &&
  ------------------
  |  Branch (2124:20): [True: 0, False: 330]
  ------------------
 2125|      0|                   (!checkCompatibleTypes(type.getBasicType(), usedIo[set][r].basicType) ||
  ------------------
  |  Branch (2125:21): [True: 0, False: 0]
  ------------------
 2126|      0|                    type.getQualifier().centroid != usedIo[set][r].centroid ||
  ------------------
  |  Branch (2126:21): [True: 0, False: 0]
  ------------------
 2127|      0|                    type.getQualifier().smooth != usedIo[set][r].smooth ||
  ------------------
  |  Branch (2127:21): [True: 0, False: 0]
  ------------------
 2128|      0|                    type.getQualifier().flat != usedIo[set][r].flat ||
  ------------------
  |  Branch (2128:21): [True: 0, False: 0]
  ------------------
 2129|      0|                    type.getQualifier().sample != usedIo[set][r].sample ||
  ------------------
  |  Branch (2129:21): [True: 0, False: 0]
  ------------------
 2130|      0|                    type.getQualifier().patch != usedIo[set][r].patch)) {
  ------------------
  |  Branch (2130:21): [True: 0, False: 0]
  ------------------
 2131|       |            // aliased-type mismatch
 2132|      0|            typeCollision = true;
 2133|      0|            return std::max(range.location.start, usedIo[set][r].location.start);
 2134|      0|        }
 2135|    330|    }
 2136|       |
 2137|       |    // check typeCollision between tileImageEXT and out
 2138|     72|    if (set == 4 || set == 1) {
  ------------------
  |  Branch (2138:9): [True: 0, False: 72]
  |  Branch (2138:21): [True: 6, False: 66]
  ------------------
 2139|       |      // if the set is "tileImageEXT", check against "out" and vice versa
 2140|      6|      int againstSet = (set == 4) ? 1 : 4;
  ------------------
  |  Branch (2140:24): [True: 0, False: 6]
  ------------------
 2141|      6|      for (size_t r = 0; r < usedIo[againstSet].size(); ++r) {
  ------------------
  |  Branch (2141:26): [True: 0, False: 6]
  ------------------
 2142|      0|        if (range.location.overlap(usedIo[againstSet][r].location) && type.getBasicType() != usedIo[againstSet][r].basicType) {
  ------------------
  |  Branch (2142:13): [True: 0, False: 0]
  |  Branch (2142:71): [True: 0, False: 0]
  ------------------
 2143|       |            // aliased-type mismatch
 2144|      0|            typeCollision = true;
 2145|      0|            return std::max(range.location.start, usedIo[againstSet][r].location.start);
 2146|      0|        }
 2147|      0|      }
 2148|      6|    }
 2149|       |
 2150|     72|    return -1; // no collision
 2151|     72|}
_ZN7glslang13TIntermediate23computeTypeLocationSizeERKNS_5TTypeE11EShLanguage:
 2203|     72|{
 2204|       |    // "If the declared input is an array of size n and each element takes m locations, it will be assigned m * n
 2205|       |    // consecutive locations..."
 2206|     72|    if (type.isArray()) {
  ------------------
  |  Branch (2206:9): [True: 0, False: 72]
  ------------------
 2207|       |        // TODO: perf: this can be flattened by using getCumulativeArraySize(), and a deref that discards all arrayness
 2208|       |        // TODO: are there valid cases of having an unsized array with a location?  If so, running this code too early.
 2209|      0|        TType elementType(type, 0);
 2210|      0|        if (type.isSizedArray() && !type.getQualifier().isPerView())
  ------------------
  |  Branch (2210:13): [True: 0, False: 0]
  |  Branch (2210:36): [True: 0, False: 0]
  ------------------
 2211|      0|            return type.getOuterArraySize() * computeTypeLocationSize(elementType, stage);
 2212|      0|        else {
 2213|       |            // unset perViewNV attributes for arrayed per-view outputs: "perviewNV vec4 v[MAX_VIEWS][3];"
 2214|      0|            elementType.getQualifier().perViewNV = false;
 2215|      0|            return computeTypeLocationSize(elementType, stage);
 2216|      0|        }
 2217|      0|    }
 2218|       |
 2219|       |    // "The locations consumed by block and structure members are determined by applying the rules above
 2220|       |    // recursively..."
 2221|     72|    if (type.isStruct()) {
  ------------------
  |  Branch (2221:9): [True: 0, False: 72]
  ------------------
 2222|      0|        int size = 0;
 2223|      0|        for (int member = 0; member < (int)type.getStruct()->size(); ++member) {
  ------------------
  |  Branch (2223:30): [True: 0, False: 0]
  ------------------
 2224|      0|            TType memberType(type, member);
 2225|      0|            size += computeTypeLocationSize(memberType, stage);
 2226|      0|        }
 2227|      0|        return size;
 2228|      0|    }
 2229|       |
 2230|       |    // ES: "If a shader input is any scalar or vector type, it will consume a single location."
 2231|       |
 2232|       |    // Desktop: "If a vertex shader input is any scalar or vector type, it will consume a single location. If a non-vertex
 2233|       |    // shader input is a scalar or vector type other than dvec3 or dvec4, it will consume a single location, while
 2234|       |    // types dvec3 or dvec4 will consume two consecutive locations. Inputs of type double and dvec2 will
 2235|       |    // consume only a single location, in all stages."
 2236|     72|    if (type.isScalar())
  ------------------
  |  Branch (2236:9): [True: 36, False: 36]
  ------------------
 2237|     36|        return 1;
 2238|     36|    if (type.isVector()) {
  ------------------
  |  Branch (2238:9): [True: 36, False: 0]
  ------------------
 2239|     36|        if (stage == EShLangVertex && type.getQualifier().isPipeInput())
  ------------------
  |  Branch (2239:13): [True: 0, False: 36]
  |  Branch (2239:39): [True: 0, False: 0]
  ------------------
 2240|      0|            return 1;
 2241|     36|        if (type.getBasicType() == EbtDouble && type.getVectorSize() > 2)
  ------------------
  |  Branch (2241:13): [True: 0, False: 36]
  |  Branch (2241:49): [True: 0, False: 0]
  ------------------
 2242|      0|            return 2;
 2243|     36|        else
 2244|     36|            return 1;
 2245|     36|    }
 2246|       |
 2247|       |    // "If the declared input is an n x m single- or double-precision matrix, ...
 2248|       |    // The number of locations assigned for each matrix will be the same as
 2249|       |    // for an n-element array of m-component vectors..."
 2250|      0|    if (type.isMatrix()) {
  ------------------
  |  Branch (2250:9): [True: 0, False: 0]
  ------------------
 2251|      0|        TType columnType(type, 0);
 2252|      0|        return type.getMatrixCols() * computeTypeLocationSize(columnType, stage);
 2253|      0|    }
 2254|       |
 2255|      0|    assert(0);
 2256|      0|    return 1;
 2257|      0|}

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

_ZN7glslang10TPpContext9CPPdefineEPNS_8TPpTokenE:
   96|  38.7k|{
   97|  38.7k|    MacroSymbol mac;
   98|       |
   99|       |    // get the macro name
  100|  38.7k|    int token = scanToken(ppToken);
  101|  38.7k|    if (token != PpAtomIdentifier) {
  ------------------
  |  Branch (101:9): [True: 0, False: 38.7k]
  ------------------
  102|      0|        parseContext.ppError(ppToken->loc, "must be followed by macro name", "#define", "");
  103|      0|        return token;
  104|      0|    }
  105|  38.7k|    if (ppToken->loc.string >= 0) {
  ------------------
  |  Branch (105:9): [True: 36, False: 38.6k]
  ------------------
  106|       |        // We are in user code; check for reserved name use:
  107|     36|        parseContext.reservedPpErrorCheck(ppToken->loc, ppToken->name, "#define");
  108|     36|    }
  109|       |
  110|       |    // save the macro name
  111|  38.7k|    const int defAtom = atomStrings.getAddAtom(ppToken->name);
  112|  38.7k|    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|  38.7k|    token = scanToken(ppToken);
  116|  38.7k|    if (token == '(' && !ppToken->space) {
  ------------------
  |  Branch (116:9): [True: 21, False: 38.6k]
  |  Branch (116:25): [True: 21, False: 0]
  ------------------
  117|     21|        mac.functionLike = 1;
  118|     40|        do {
  119|     40|            token = scanToken(ppToken);
  120|     40|            if (mac.args.size() == 0 && token == ')')
  ------------------
  |  Branch (120:17): [True: 21, False: 19]
  |  Branch (120:41): [True: 0, False: 21]
  ------------------
  121|      0|                break;
  122|     40|            if (token != PpAtomIdentifier) {
  ------------------
  |  Branch (122:17): [True: 0, False: 40]
  ------------------
  123|      0|                parseContext.ppError(ppToken->loc, "bad argument", "#define", "");
  124|       |
  125|      0|                return token;
  126|      0|            }
  127|     40|            const int argAtom = atomStrings.getAddAtom(ppToken->name);
  128|       |
  129|       |            // check for duplication of parameter name
  130|     40|            bool duplicate = false;
  131|     59|            for (size_t a = 0; a < mac.args.size(); ++a) {
  ------------------
  |  Branch (131:32): [True: 19, False: 40]
  ------------------
  132|     19|                if (mac.args[a] == argAtom) {
  ------------------
  |  Branch (132:21): [True: 0, False: 19]
  ------------------
  133|      0|                    parseContext.ppError(ppToken->loc, "duplicate macro parameter", "#define", "");
  134|      0|                    duplicate = true;
  135|      0|                    break;
  136|      0|                }
  137|     19|            }
  138|     40|            if (! duplicate)
  ------------------
  |  Branch (138:17): [True: 40, False: 0]
  ------------------
  139|     40|                mac.args.push_back(argAtom);
  140|     40|            token = scanToken(ppToken);
  141|     40|        } while (token == ',');
  ------------------
  |  Branch (141:18): [True: 19, False: 21]
  ------------------
  142|     21|        if (token != ')') {
  ------------------
  |  Branch (142:13): [True: 0, False: 21]
  ------------------
  143|      0|            parseContext.ppError(ppToken->loc, "missing parenthesis", "#define", "");
  144|       |
  145|      0|            return token;
  146|      0|        }
  147|       |
  148|     21|        token = scanToken(ppToken);
  149|  38.6k|    } else if (token != '\n' && token != EndOfInput && !ppToken->space) {
  ------------------
  |  Branch (149:16): [True: 38.6k, False: 3]
  |  Branch (149:33): [True: 38.6k, False: 0]
  |  Branch (149:56): [True: 0, False: 38.6k]
  ------------------
  150|      0|        parseContext.ppWarn(ppToken->loc, "missing space after macro name", "#define", "");
  151|       |
  152|      0|        return token;
  153|      0|    }
  154|       |
  155|  38.7k|    int pendingPoundSymbols = 0;
  156|  38.7k|    TPpToken savePound;
  157|       |    // record the definition of the macro
  158|  77.4k|    while (token != '\n' && token != EndOfInput) {
  ------------------
  |  Branch (158:12): [True: 38.7k, False: 38.7k]
  |  Branch (158:29): [True: 38.7k, False: 0]
  ------------------
  159|  38.7k|        if (token == '#') {
  ------------------
  |  Branch (159:13): [True: 0, False: 38.7k]
  ------------------
  160|      0|            pendingPoundSymbols++;
  161|      0|            if (pendingPoundSymbols == 0) {
  ------------------
  |  Branch (161:17): [True: 0, False: 0]
  ------------------
  162|      0|                savePound = *ppToken;
  163|      0|            }
  164|  38.7k|        } else if (pendingPoundSymbols == 0) {
  ------------------
  |  Branch (164:20): [True: 38.7k, False: 0]
  ------------------
  165|  38.7k|            mac.body.putToken(token, ppToken);
  166|  38.7k|        } else if (pendingPoundSymbols == 1) {
  ------------------
  |  Branch (166:20): [True: 0, False: 0]
  ------------------
  167|       |            // A single #: stringify
  168|      0|            parseContext.requireProfile(ppToken->loc, ~EEsProfile, "stringify (#)");
  169|      0|            parseContext.profileRequires(ppToken->loc, ~EEsProfile, 130, nullptr, "stringify (#)");
  170|      0|            bool isArg = false;
  171|      0|            if (token == PpAtomIdentifier) {
  ------------------
  |  Branch (171:17): [True: 0, False: 0]
  ------------------
  172|      0|                for (int i = (int)mac.args.size() - 1; i >= 0; i--) {
  ------------------
  |  Branch (172:56): [True: 0, False: 0]
  ------------------
  173|      0|                    if (strcmp(atomStrings.getString(mac.args[i]), ppToken->name) == 0) {
  ------------------
  |  Branch (173:25): [True: 0, False: 0]
  ------------------
  174|      0|                        isArg = true;
  175|      0|                        break;
  176|      0|                    }
  177|      0|                }
  178|      0|            }
  179|      0|            if (!isArg) {
  ------------------
  |  Branch (179:17): [True: 0, False: 0]
  ------------------
  180|      0|                parseContext.ppError(ppToken->loc, "'#' is not followed by a macro parameter.", "#", "");
  181|      0|                return token;
  182|      0|            }
  183|      0|            mac.body.putToken(tStringifyLevelInput::PUSH, ppToken);
  184|      0|            mac.body.putToken(token, ppToken);
  185|      0|            mac.body.putToken(tStringifyLevelInput::POP, ppToken);
  186|      0|            pendingPoundSymbols = 0;
  187|      0|        } else if (pendingPoundSymbols % 2 == 0) {
  ------------------
  |  Branch (187:20): [True: 0, False: 0]
  ------------------
  188|       |            // Any number of pastes '##' in a row: idempotent, just becomes one paste
  189|      0|            parseContext.requireProfile(ppToken->loc, ~EEsProfile, "token pasting (##)");
  190|      0|            parseContext.profileRequires(ppToken->loc, ~EEsProfile, 130, nullptr, "token pasting (##)");
  191|      0|            for (int i = 0; i < pendingPoundSymbols / 2; i++) {
  ------------------
  |  Branch (191:29): [True: 0, False: 0]
  ------------------
  192|      0|                mac.body.putToken(PpAtomPaste, &savePound);
  193|      0|            }
  194|      0|            mac.body.putToken(token, ppToken);
  195|      0|            pendingPoundSymbols = 0;
  196|      0|        } else {
  197|       |            // An odd number of '#' i.e., mix of paste and stringify: does not give valid preprocessing token
  198|      0|            parseContext.ppError(ppToken->loc, "Illegal sequence of paste (##) and stringify (#).", "#", "");
  199|      0|            return token;
  200|      0|        }
  201|       |
  202|  38.7k|        token = scanToken(ppToken);
  203|  38.7k|    }
  204|  38.7k|    if (pendingPoundSymbols != 0) {
  ------------------
  |  Branch (204:9): [True: 0, False: 38.7k]
  ------------------
  205|      0|        parseContext.ppError(ppToken->loc, "Macro ended with incomplete '#' paste/stringify operators", "#", "");
  206|      0|    }
  207|       |
  208|       |    // check for duplicate definition
  209|  38.7k|    MacroSymbol* existing = lookupMacroDef(defAtom);
  210|  38.7k|    if (existing != nullptr) {
  ------------------
  |  Branch (210:9): [True: 25, False: 38.6k]
  ------------------
  211|     25|        if (! existing->undef) {
  ------------------
  |  Branch (211:13): [True: 25, 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|     25|            if (existing->functionLike != mac.functionLike) {
  ------------------
  |  Branch (217:17): [True: 0, False: 25]
  ------------------
  218|      0|                parseContext.ppError(defineLoc, "Macro redefined; function-like versus object-like:", "#define",
  219|      0|                    atomStrings.getString(defAtom));
  220|     25|            } else if (existing->args.size() != mac.args.size()) {
  ------------------
  |  Branch (220:24): [True: 0, False: 25]
  ------------------
  221|      0|                parseContext.ppError(defineLoc, "Macro redefined; different number of arguments:", "#define",
  222|      0|                    atomStrings.getString(defAtom));
  223|     25|            } else {
  224|     25|                if (existing->args != mac.args) {
  ------------------
  |  Branch (224:21): [True: 0, False: 25]
  ------------------
  225|      0|                    parseContext.ppError(defineLoc, "Macro redefined; different argument names:", "#define",
  226|      0|                       atomStrings.getString(defAtom));
  227|      0|                }
  228|       |                // set up to compare the two
  229|     25|                existing->body.reset();
  230|     25|                mac.body.reset();
  231|     25|                int newToken;
  232|     25|                bool firstToken = true;
  233|     87|                do {
  234|     87|                    int oldToken;
  235|     87|                    TPpToken oldPpToken;
  236|     87|                    TPpToken newPpToken;
  237|     87|                    oldToken = existing->body.getToken(parseContext, &oldPpToken);
  238|     87|                    newToken = mac.body.getToken(parseContext, &newPpToken);
  239|       |                    // for the first token, preceding spaces don't matter
  240|     87|                    if (firstToken) {
  ------------------
  |  Branch (240:25): [True: 25, False: 62]
  ------------------
  241|     25|                        newPpToken.space = oldPpToken.space;
  242|     25|                        firstToken = false;
  243|     25|                    }
  244|     87|                    if (oldToken != newToken || oldPpToken != newPpToken) {
  ------------------
  |  Branch (244:25): [True: 0, False: 87]
  |  Branch (244:49): [True: 10, False: 77]
  ------------------
  245|     10|                        parseContext.ppError(defineLoc, "Macro redefined; different substitutions:", "#define",
  246|     10|                            atomStrings.getString(defAtom));
  247|     10|                        break;
  248|     10|                    }
  249|     87|                } while (newToken != EndOfInput);
  ------------------
  |  Branch (249:26): [True: 62, False: 15]
  ------------------
  250|     25|            }
  251|     25|        }
  252|     25|        *existing = mac;
  253|     25|    } else
  254|  38.6k|        addMacroDef(defAtom, mac);
  255|       |
  256|  38.7k|    return '\n';
  257|  38.7k|}
_ZN7glslang10TPpContext7CPPelseEiPNS_8TPpTokenE:
  287|     10|{
  288|     10|    inElseSkip = true;
  289|     10|    int depth = 0;
  290|     10|    int token = scanToken(ppToken);
  291|       |
  292|    843|    while (token != EndOfInput) {
  ------------------
  |  Branch (292:12): [True: 842, False: 1]
  ------------------
  293|    842|        if (token != '#') {
  ------------------
  |  Branch (293:13): [True: 770, False: 72]
  ------------------
  294|  22.0k|            while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (294:20): [True: 21.2k, False: 769]
  |  Branch (294:37): [True: 21.2k, False: 1]
  ------------------
  295|  21.2k|                token = scanToken(ppToken);
  296|       |
  297|    770|            if (token == EndOfInput)
  ------------------
  |  Branch (297:17): [True: 1, False: 769]
  ------------------
  298|      1|                return token;
  299|       |
  300|    769|            token = scanToken(ppToken);
  301|    769|            continue;
  302|    770|        }
  303|       |
  304|     72|        if ((token = scanToken(ppToken)) != PpAtomIdentifier)
  ------------------
  |  Branch (304:13): [True: 0, False: 72]
  ------------------
  305|      0|            continue;
  306|       |
  307|     72|        int nextAtom = atomStrings.getAtom(ppToken->name);
  308|     72|        if (nextAtom == PpAtomIf || nextAtom == PpAtomIfdef || nextAtom == PpAtomIfndef) {
  ------------------
  |  Branch (308:13): [True: 4, False: 68]
  |  Branch (308:37): [True: 9, False: 59]
  |  Branch (308:64): [True: 3, False: 56]
  ------------------
  309|     16|            depth++;
  310|     16|            if (ifdepth >= maxIfNesting || elsetracker >= maxIfNesting) {
  ------------------
  |  Branch (310:17): [True: 0, False: 16]
  |  Branch (310:44): [True: 0, False: 16]
  ------------------
  311|      0|                parseContext.ppError(ppToken->loc, "maximum nesting depth exceeded", "#if/#ifdef/#ifndef", "");
  312|      0|                return EndOfInput;
  313|     16|            } else {
  314|     16|                ifdepth++;
  315|     16|                elsetracker++;
  316|     16|            }
  317|     56|        } else if (nextAtom == PpAtomEndif) {
  ------------------
  |  Branch (317:20): [True: 20, False: 36]
  ------------------
  318|     20|            token = extraTokenCheck(nextAtom, ppToken, scanToken(ppToken));
  319|     20|            if (elsetracker >= 0)
  ------------------
  |  Branch (319:17): [True: 19, False: 1]
  ------------------
  320|     19|                elseSeen[elsetracker] = false;
  321|     20|            --elsetracker;
  322|     20|            if (depth == 0) {
  ------------------
  |  Branch (322:17): [True: 6, False: 14]
  ------------------
  323|       |                // found the #endif we are looking for
  324|      6|                if (ifdepth > 0)
  ------------------
  |  Branch (324:21): [True: 5, False: 1]
  ------------------
  325|      5|                    --ifdepth;
  326|      6|                break;
  327|      6|            }
  328|     14|            --depth;
  329|     14|            if (ifdepth > 0)
  ------------------
  |  Branch (329:17): [True: 14, False: 0]
  ------------------
  330|     14|                --ifdepth;
  331|     36|        } else if (matchelse && depth == 0) {
  ------------------
  |  Branch (331:20): [True: 32, False: 4]
  |  Branch (331:33): [True: 14, False: 18]
  ------------------
  332|     14|            if (nextAtom == PpAtomElse) {
  ------------------
  |  Branch (332:17): [True: 2, False: 12]
  ------------------
  333|      2|                elseSeen[elsetracker] = true;
  334|      2|                token = extraTokenCheck(nextAtom, ppToken, scanToken(ppToken));
  335|       |                // found the #else we are looking for
  336|      2|                break;
  337|     12|            } else if (nextAtom == PpAtomElif) {
  ------------------
  |  Branch (337:24): [True: 0, False: 12]
  ------------------
  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|     22|        } else if (nextAtom == PpAtomElse) {
  ------------------
  |  Branch (350:20): [True: 4, False: 18]
  ------------------
  351|      4|            if (elseSeen[elsetracker])
  ------------------
  |  Branch (351:17): [True: 1, False: 3]
  ------------------
  352|      1|                parseContext.ppError(ppToken->loc, "#else after #else", "#else", "");
  353|      3|            else
  354|      3|                elseSeen[elsetracker] = true;
  355|      4|            token = extraTokenCheck(nextAtom, ppToken, scanToken(ppToken));
  356|     18|        } else if (nextAtom == PpAtomElif) {
  ------------------
  |  Branch (356:20): [True: 0, False: 18]
  ------------------
  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|     72|    }
  361|       |
  362|      9|    inElseSkip = false;
  363|      9|    return token;
  364|     10|}
_ZN7glslang10TPpContext15extraTokenCheckEiPNS_8TPpTokenEi:
  368|     39|{
  369|     39|    if (token != '\n' && token != EndOfInput) {
  ------------------
  |  Branch (369:9): [True: 9, False: 30]
  |  Branch (369:26): [True: 9, False: 0]
  ------------------
  370|      9|        static const char* message = "unexpected tokens following directive";
  371|       |
  372|      9|        const char* label;
  373|      9|        if (contextAtom == PpAtomElse)
  ------------------
  |  Branch (373:13): [True: 0, False: 9]
  ------------------
  374|      0|            label = "#else";
  375|      9|        else if (contextAtom == PpAtomElif)
  ------------------
  |  Branch (375:18): [True: 0, False: 9]
  ------------------
  376|      0|            label = "#elif";
  377|      9|        else if (contextAtom == PpAtomEndif)
  ------------------
  |  Branch (377:18): [True: 5, False: 4]
  ------------------
  378|      5|            label = "#endif";
  379|      4|        else if (contextAtom == PpAtomIf)
  ------------------
  |  Branch (379:18): [True: 4, False: 0]
  ------------------
  380|      4|            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|      9|        if (parseContext.relaxedErrors())
  ------------------
  |  Branch (386:13): [True: 0, False: 9]
  ------------------
  387|      0|            parseContext.ppWarn(ppToken->loc, message, label, "");
  388|      9|        else
  389|      9|            parseContext.ppError(ppToken->loc, message, label, "");
  390|       |
  391|  35.7k|        while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (391:16): [True: 35.7k, False: 8]
  |  Branch (391:33): [True: 35.7k, False: 1]
  ------------------
  392|  35.7k|            token = scanToken(ppToken);
  393|      9|    }
  394|       |
  395|     39|    return token;
  396|     39|}
_ZN7glslang10TPpContext4evalEiibRiRbPNS_8TPpTokenE:
  470|     15|{
  471|     15|    TSourceLoc loc = ppToken->loc;  // because we sometimes read the newline before reporting the error
  472|     15|    if (token == PpAtomIdentifier) {
  ------------------
  |  Branch (472:9): [True: 1, False: 14]
  ------------------
  473|      1|        if (strcmp("defined", ppToken->name) == 0) {
  ------------------
  |  Branch (473:13): [True: 0, False: 1]
  ------------------
  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|      1|        } else {
  510|      1|            token = tokenPaste(token, *ppToken);
  511|      1|            token = evalToToken(token, shortCircuit, res, err, ppToken);
  512|      1|            return eval(token, precedence, shortCircuit, res, err, ppToken);
  513|      1|        }
  514|     14|    } else if (token == PpAtomConstInt) {
  ------------------
  |  Branch (514:16): [True: 2, False: 12]
  ------------------
  515|      2|        res = ppToken->ival;
  516|      2|        token = scanToken(ppToken);
  517|     12|    } else if (token == '(') {
  ------------------
  |  Branch (517:16): [True: 4, False: 8]
  ------------------
  518|      4|        token = scanToken(ppToken);
  519|      4|        token = eval(token, MIN_PRECEDENCE, shortCircuit, res, err, ppToken);
  520|      4|        if (! err) {
  ------------------
  |  Branch (520:13): [True: 0, False: 4]
  ------------------
  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|      8|    } else {
  531|      8|        int op = NUM_ELEMENTS(unop) - 1;
  ------------------
  |  |  467|      8|#define NUM_ELEMENTS(A) (sizeof(A) / sizeof(A[0]))
  ------------------
  532|     32|        for (; op >= 0; op--) {
  ------------------
  |  Branch (532:16): [True: 28, False: 4]
  ------------------
  533|     28|            if (unop[op].token == token)
  ------------------
  |  Branch (533:17): [True: 4, False: 24]
  ------------------
  534|      4|                break;
  535|     28|        }
  536|      8|        if (op >= 0) {
  ------------------
  |  Branch (536:13): [True: 4, False: 4]
  ------------------
  537|      4|            token = scanToken(ppToken);
  538|      4|            token = eval(token, UNARY, shortCircuit, res, err, ppToken);
  539|      4|            res = unop[op].op(res);
  540|      4|        } else {
  541|      4|            parseContext.ppError(loc, "bad expression", "preprocessor evaluation", "");
  542|      4|            err = true;
  543|      4|            res = 0;
  544|       |
  545|      4|            return token;
  546|      4|        }
  547|      8|    }
  548|       |
  549|     10|    token = evalToToken(token, shortCircuit, res, err, ppToken);
  550|       |
  551|       |    // Perform evaluation of binary operation, if there is one, otherwise we are done.
  552|     11|    while (! err) {
  ------------------
  |  Branch (552:12): [True: 3, False: 8]
  ------------------
  553|      3|        if (token == ')' || token == '\n')
  ------------------
  |  Branch (553:13): [True: 0, False: 3]
  |  Branch (553:29): [True: 2, False: 1]
  ------------------
  554|      2|            break;
  555|      1|        int op;
  556|     13|        for (op = NUM_ELEMENTS(binop) - 1; op >= 0; op--) {
  ------------------
  |  |  467|      1|#define NUM_ELEMENTS(A) (sizeof(A) / sizeof(A[0]))
  ------------------
  |  Branch (556:44): [True: 13, False: 0]
  ------------------
  557|     13|            if (binop[op].token == token)
  ------------------
  |  Branch (557:17): [True: 1, False: 12]
  ------------------
  558|      1|                break;
  559|     13|        }
  560|      1|        if (op < 0 || binop[op].precedence <= precedence)
  ------------------
  |  Branch (560:13): [True: 0, False: 1]
  |  Branch (560:23): [True: 0, False: 1]
  ------------------
  561|      0|            break;
  562|      1|        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|      1|        if (! shortCircuit) {
  ------------------
  |  Branch (566:13): [True: 1, False: 0]
  ------------------
  567|      1|            if ((token == PpAtomOr  && leftSide == 1) ||
  ------------------
  |  Branch (567:18): [True: 0, False: 1]
  |  Branch (567:40): [True: 0, False: 0]
  ------------------
  568|      1|                (token == PpAtomAnd && leftSide == 0))
  ------------------
  |  Branch (568:18): [True: 0, False: 1]
  |  Branch (568:40): [True: 0, False: 0]
  ------------------
  569|      0|                shortCircuit = true;
  570|      1|        }
  571|       |
  572|      1|        token = scanToken(ppToken);
  573|      1|        token = eval(token, binop[op].precedence, shortCircuit, res, err, ppToken);
  574|       |
  575|      1|        if (binop[op].op == op_div || binop[op].op == op_mod) {
  ------------------
  |  Branch (575:13): [True: 0, False: 1]
  |  Branch (575:39): [True: 0, False: 1]
  ------------------
  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|      1|        res = binop[op].op(leftSide, res);
  582|      1|    }
  583|       |
  584|     10|    return token;
  585|     15|}
_ZN7glslang10TPpContext11evalToTokenEibRiRbPNS_8TPpTokenE:
  589|     11|{
  590|     12|    while (token == PpAtomIdentifier && strcmp("defined", ppToken->name) != 0) {
  ------------------
  |  Branch (590:12): [True: 1, False: 11]
  |  Branch (590:41): [True: 1, False: 0]
  ------------------
  591|      1|        switch (MacroExpand(ppToken, true, false)) {
  ------------------
  |  Branch (591:17): [True: 1, False: 0]
  ------------------
  592|      0|        case MacroExpandNotStarted:
  ------------------
  |  Branch (592:9): [True: 0, False: 1]
  ------------------
  593|      0|        case MacroExpandError:
  ------------------
  |  Branch (593:9): [True: 0, False: 1]
  ------------------
  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: 1]
  ------------------
  599|      0|            break;
  600|      1|        case MacroExpandUndef:
  ------------------
  |  Branch (600:9): [True: 1, False: 0]
  ------------------
  601|      1|            if (! shortCircuit && parseContext.isEsProfile()) {
  ------------------
  |  Branch (601:17): [True: 1, False: 0]
  |  Branch (601:35): [True: 0, False: 1]
  ------------------
  602|      0|                const char* message = "undefined macro in expression not allowed in es profile";
  603|      0|                if (parseContext.relaxedErrors())
  ------------------
  |  Branch (603:21): [True: 0, False: 0]
  ------------------
  604|      0|                    parseContext.ppWarn(ppToken->loc, message, "preprocessor evaluation", ppToken->name);
  605|      0|                else
  606|      0|                    parseContext.ppError(ppToken->loc, message, "preprocessor evaluation", ppToken->name);
  607|      0|            }
  608|      1|            break;
  609|      1|        }
  610|      1|        token = scanToken(ppToken);
  611|      1|        if (err)
  ------------------
  |  Branch (611:13): [True: 0, False: 1]
  ------------------
  612|      0|            break;
  613|      1|    }
  614|       |
  615|     11|    return token;
  616|     11|}
_ZN7glslang10TPpContext5CPPifEPNS_8TPpTokenE:
  620|      5|{
  621|      5|    int token = scanToken(ppToken);
  622|      5|    if (ifdepth >= maxIfNesting || elsetracker >= maxIfNesting) {
  ------------------
  |  Branch (622:9): [True: 0, False: 5]
  |  Branch (622:36): [True: 0, False: 5]
  ------------------
  623|      0|        parseContext.ppError(ppToken->loc, "maximum nesting depth exceeded", "#if", "");
  624|      0|        return EndOfInput;
  625|      5|    } else {
  626|      5|        elsetracker++;
  627|      5|        ifdepth++;
  628|      5|    }
  629|      5|    int res = 0;
  630|      5|    bool err = false;
  631|      5|    token = eval(token, MIN_PRECEDENCE, false, res, err, ppToken);
  632|      5|    token = extraTokenCheck(PpAtomIf, ppToken, token);
  633|      5|    if (!res && !err)
  ------------------
  |  Branch (633:9): [True: 5, False: 0]
  |  Branch (633:17): [True: 1, False: 4]
  ------------------
  634|      1|        token = CPPelse(1, ppToken);
  635|       |
  636|      5|    return token;
  637|      5|}
_ZN7glslang10TPpContext8CPPifdefEiPNS_8TPpTokenE:
  641|      6|{
  642|      6|    int token = scanToken(ppToken);
  643|      6|    if (ifdepth >= maxIfNesting || elsetracker >= maxIfNesting) {
  ------------------
  |  Branch (643:9): [True: 0, False: 6]
  |  Branch (643:36): [True: 0, False: 6]
  ------------------
  644|      0|        parseContext.ppError(ppToken->loc, "maximum nesting depth exceeded", "#ifdef", "");
  645|      0|        return EndOfInput;
  646|      6|    } else {
  647|      6|        elsetracker++;
  648|      6|        ifdepth++;
  649|      6|    }
  650|       |
  651|      6|    if (token != PpAtomIdentifier) {
  ------------------
  |  Branch (651:9): [True: 0, False: 6]
  ------------------
  652|      0|        if (defined)
  ------------------
  |  Branch (652:13): [True: 0, False: 0]
  ------------------
  653|      0|            parseContext.ppError(ppToken->loc, "must be followed by macro name", "#ifdef", "");
  654|      0|        else
  655|      0|            parseContext.ppError(ppToken->loc, "must be followed by macro name", "#ifndef", "");
  656|      6|    } else {
  657|      6|        MacroSymbol* macro = lookupMacroDef(atomStrings.getAtom(ppToken->name));
  658|      6|        token = scanToken(ppToken);
  659|      6|        if (token != '\n') {
  ------------------
  |  Branch (659:13): [True: 0, False: 6]
  ------------------
  660|      0|            parseContext.ppError(ppToken->loc, "unexpected tokens following #ifdef directive - expected a newline", "#ifdef", "");
  661|      0|            while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (661:20): [True: 0, False: 0]
  |  Branch (661:37): [True: 0, False: 0]
  ------------------
  662|      0|                token = scanToken(ppToken);
  663|      0|        }
  664|      6|        if (((macro != nullptr && !macro->undef) ? 1 : 0) != defined)
  ------------------
  |  Branch (664:13): [True: 5, False: 1]
  |  Branch (664:15): [True: 0, False: 6]
  |  Branch (664:35): [True: 0, False: 0]
  ------------------
  665|      5|            token = CPPelse(1, ppToken);
  666|      6|    }
  667|       |
  668|      6|    return token;
  669|      6|}
_ZN7glslang10TPpContext8CPPerrorEPNS_8TPpTokenE:
  818|      9|{
  819|      9|    disableEscapeSequences = true;
  820|      9|    int token = scanToken(ppToken);
  821|      9|    disableEscapeSequences = false;
  822|      9|    std::string message;
  823|      9|    TSourceLoc loc = ppToken->loc;
  824|       |
  825|   280k|    while (token != '\n' && token != EndOfInput) {
  ------------------
  |  Branch (825:12): [True: 280k, False: 6]
  |  Branch (825:29): [True: 280k, False: 3]
  ------------------
  826|   280k|        if (token == PpAtomConstInt16 || token == PpAtomConstUint16 ||
  ------------------
  |  Branch (826:13): [True: 0, False: 280k]
  |  Branch (826:42): [True: 0, False: 280k]
  ------------------
  827|   280k|            token == PpAtomConstInt   || token == PpAtomConstUint   ||
  ------------------
  |  Branch (827:13): [True: 7.84k, False: 272k]
  |  Branch (827:42): [True: 0, False: 272k]
  ------------------
  828|   272k|            token == PpAtomConstInt64 || token == PpAtomConstUint64 ||
  ------------------
  |  Branch (828:13): [True: 0, False: 272k]
  |  Branch (828:42): [True: 0, False: 272k]
  ------------------
  829|   272k|            token == PpAtomConstFloat16 ||
  ------------------
  |  Branch (829:13): [True: 0, False: 272k]
  ------------------
  830|   272k|            token == PpAtomConstFloatE2M1 ||
  ------------------
  |  Branch (830:13): [True: 0, False: 272k]
  ------------------
  831|   272k|            token == PpAtomConstFloatE3M2 ||
  ------------------
  |  Branch (831:13): [True: 0, False: 272k]
  ------------------
  832|   272k|            token == PpAtomConstFloatE2M3 ||
  ------------------
  |  Branch (832:13): [True: 0, False: 272k]
  ------------------
  833|   272k|            token == PpAtomConstFloatUE8M0 ||
  ------------------
  |  Branch (833:13): [True: 0, False: 272k]
  ------------------
  834|   272k|            token == PpAtomConstFloatMXINT8 ||
  ------------------
  |  Branch (834:13): [True: 0, False: 272k]
  ------------------
  835|   272k|            token == PpAtomConstFloat || token == PpAtomConstDouble) {
  ------------------
  |  Branch (835:13): [True: 0, False: 272k]
  |  Branch (835:42): [True: 0, False: 272k]
  ------------------
  836|  7.84k|                message.append(ppToken->name);
  837|   272k|        } else if (token == PpAtomIdentifier || token == PpAtomConstString) {
  ------------------
  |  Branch (837:20): [True: 57.2k, False: 215k]
  |  Branch (837:49): [True: 0, False: 215k]
  ------------------
  838|  57.2k|            message.append(ppToken->name);
  839|   215k|        } else {
  840|   215k|            message.append(atomStrings.getString(token));
  841|   215k|        }
  842|   280k|        message.append(" ");
  843|   280k|        token = scanToken(ppToken);
  844|   280k|    }
  845|      9|    parseContext.notifyErrorDirective(loc.line, message.c_str());
  846|       |    // store this msg into the shader's information log..set the Compile Error flag!!!!
  847|      9|    parseContext.ppError(loc, message.c_str(), "#error", "");
  848|       |
  849|      9|    return '\n';
  850|      9|}
_ZN7glslang10TPpContext10CPPversionEPNS_8TPpTokenE:
  897|     12|{
  898|     12|    int token = scanToken(ppToken);
  899|       |
  900|     12|    if (errorOnVersion || versionSeen) {
  ------------------
  |  Branch (900:9): [True: 1, False: 11]
  |  Branch (900:27): [True: 0, False: 11]
  ------------------
  901|      1|        if (parseContext.isReadingHLSL())
  ------------------
  |  Branch (901:13): [True: 1, False: 0]
  ------------------
  902|      1|            parseContext.ppError(ppToken->loc, "invalid preprocessor command", "#version", "");
  903|      0|        else
  904|      0|            parseContext.ppError(ppToken->loc, "must occur first in shader", "#version", "");
  905|      1|    }
  906|     12|    versionSeen = true;
  907|       |
  908|     12|    if (token == '\n') {
  ------------------
  |  Branch (908:9): [True: 0, False: 12]
  ------------------
  909|      0|        parseContext.ppError(ppToken->loc, "must be followed by version number", "#version", "");
  910|       |
  911|      0|        return token;
  912|      0|    }
  913|       |
  914|     12|    if (token != PpAtomConstInt)
  ------------------
  |  Branch (914:9): [True: 0, False: 12]
  ------------------
  915|      0|        parseContext.ppError(ppToken->loc, "must be followed by version number", "#version", "");
  916|       |
  917|     12|    ppToken->ival = atoi(ppToken->name);
  918|     12|    int versionNumber = ppToken->ival;
  919|     12|    int line = ppToken->loc.line;
  920|     12|    token = scanToken(ppToken);
  921|       |
  922|     12|    if (token == '\n') {
  ------------------
  |  Branch (922:9): [True: 4, False: 8]
  ------------------
  923|      4|        parseContext.notifyVersion(line, versionNumber, nullptr);
  924|      4|        return token;
  925|      8|    } else {
  926|      8|        int profileAtom = atomStrings.getAtom(ppToken->name);
  927|      8|        if (profileAtom != PpAtomCore &&
  ------------------
  |  Branch (927:13): [True: 0, False: 8]
  ------------------
  928|      0|            profileAtom != PpAtomCompatibility &&
  ------------------
  |  Branch (928:13): [True: 0, False: 0]
  ------------------
  929|      0|            profileAtom != PpAtomEs)
  ------------------
  |  Branch (929:13): [True: 0, False: 0]
  ------------------
  930|      0|            parseContext.ppError(ppToken->loc, "bad profile name; use es, core, or compatibility", "#version", "");
  931|      8|        parseContext.notifyVersion(line, versionNumber, ppToken->name);
  932|      8|        token = scanToken(ppToken);
  933|       |
  934|      8|        if (token == '\n')
  ------------------
  |  Branch (934:13): [True: 8, False: 0]
  ------------------
  935|      8|            return token;
  936|      0|        else
  937|      0|            parseContext.ppError(ppToken->loc, "bad tokens following profile -- expected newline", "#version", "");
  938|      8|    }
  939|       |
  940|      0|    return token;
  941|     12|}
_ZN7glslang10TPpContext12CPPextensionEPNS_8TPpTokenE:
  945|    266|{
  946|    266|    int line = ppToken->loc.line;
  947|    266|    int token = scanToken(ppToken);
  948|    266|    char extensionName[MaxTokenLength + 1];
  949|       |
  950|    266|    if (token=='\n') {
  ------------------
  |  Branch (950:9): [True: 0, False: 266]
  ------------------
  951|      0|        parseContext.ppError(ppToken->loc, "extension name not specified", "#extension", "");
  952|      0|        return token;
  953|      0|    }
  954|       |
  955|    266|    if (token != PpAtomIdentifier)
  ------------------
  |  Branch (955:9): [True: 0, False: 266]
  ------------------
  956|      0|        parseContext.ppError(ppToken->loc, "extension name expected", "#extension", "");
  957|       |
  958|    266|    snprintf(extensionName, sizeof(extensionName), "%s", ppToken->name);
  959|       |
  960|    266|    token = scanToken(ppToken);
  961|    266|    if (token != ':') {
  ------------------
  |  Branch (961:9): [True: 0, False: 266]
  ------------------
  962|      0|        parseContext.ppError(ppToken->loc, "':' missing after extension name", "#extension", "");
  963|      0|        return token;
  964|      0|    }
  965|       |
  966|    266|    token = scanToken(ppToken);
  967|    266|    if (token != PpAtomIdentifier) {
  ------------------
  |  Branch (967:9): [True: 0, False: 266]
  ------------------
  968|      0|        parseContext.ppError(ppToken->loc, "behavior for extension not specified", "#extension", "");
  969|      0|        return token;
  970|      0|    }
  971|       |
  972|    266|    parseContext.updateExtensionBehavior(line, extensionName, ppToken->name);
  973|    266|    parseContext.notifyExtensionDirective(line, extensionName, ppToken->name);
  974|       |
  975|    266|    token = scanToken(ppToken);
  976|    266|    if (token == '\n')
  ------------------
  |  Branch (976:9): [True: 266, False: 0]
  ------------------
  977|    266|        return token;
  978|      0|    else
  979|      0|        parseContext.ppError(ppToken->loc,  "extra tokens -- expected newline", "#extension","");
  980|       |
  981|      0|    return token;
  982|    266|}
_ZN7glslang10TPpContext11readCPPlineEPNS_8TPpTokenE:
  985|   167k|{
  986|   167k|    int token = scanToken(ppToken);
  987|       |
  988|   167k|    if (token == PpAtomIdentifier) {
  ------------------
  |  Branch (988:9): [True: 39.0k, False: 128k]
  ------------------
  989|  39.0k|        switch (atomStrings.getAtom(ppToken->name)) {
  990|  38.7k|        case PpAtomDefine:
  ------------------
  |  Branch (990:9): [True: 38.7k, False: 379]
  ------------------
  991|  38.7k|            token = CPPdefine(ppToken);
  992|  38.7k|            break;
  993|      4|        case PpAtomElse:
  ------------------
  |  Branch (993:9): [True: 4, False: 39.0k]
  ------------------
  994|      4|            if (elseSeen[elsetracker])
  ------------------
  |  Branch (994:17): [True: 0, False: 4]
  ------------------
  995|      0|                parseContext.ppError(ppToken->loc, "#else after #else", "#else", "");
  996|      4|            elseSeen[elsetracker] = true;
  997|      4|            if (ifdepth == 0)
  ------------------
  |  Branch (997:17): [True: 3, False: 1]
  ------------------
  998|      3|                parseContext.ppError(ppToken->loc, "mismatched statements", "#else", "");
  999|      4|            token = extraTokenCheck(PpAtomElse, ppToken, scanToken(ppToken));
 1000|      4|            token = CPPelse(0, ppToken);
 1001|      4|            break;
 1002|      0|        case PpAtomElif:
  ------------------
  |  Branch (1002:9): [True: 0, False: 39.0k]
  ------------------
 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|      4|        case PpAtomEndif:
  ------------------
  |  Branch (1013:9): [True: 4, False: 39.0k]
  ------------------
 1014|      4|            if (ifdepth == 0)
  ------------------
  |  Branch (1014:17): [True: 1, False: 3]
  ------------------
 1015|      1|                parseContext.ppError(ppToken->loc, "mismatched statements", "#endif", "");
 1016|      3|            else {
 1017|      3|                if (elsetracker >= 0)
  ------------------
  |  Branch (1017:21): [True: 3, False: 0]
  ------------------
 1018|      3|                    elseSeen[elsetracker] = false;
 1019|      3|                --elsetracker;
 1020|      3|                --ifdepth;
 1021|      3|            }
 1022|      4|            token = extraTokenCheck(PpAtomEndif, ppToken, scanToken(ppToken));
 1023|      4|            break;
 1024|      5|        case PpAtomIf:
  ------------------
  |  Branch (1024:9): [True: 5, False: 39.0k]
  ------------------
 1025|      5|            token = CPPif(ppToken);
 1026|      5|            break;
 1027|      5|        case PpAtomIfdef:
  ------------------
  |  Branch (1027:9): [True: 5, False: 39.0k]
  ------------------
 1028|      5|            token = CPPifdef(1, ppToken);
 1029|      5|            break;
 1030|      1|        case PpAtomIfndef:
  ------------------
  |  Branch (1030:9): [True: 1, False: 39.0k]
  ------------------
 1031|      1|            token = CPPifdef(0, ppToken);
 1032|      1|            break;
 1033|      0|        case PpAtomLine:
  ------------------
  |  Branch (1033:9): [True: 0, False: 39.0k]
  ------------------
 1034|      0|            token = CPPline(ppToken);
 1035|      0|            break;
 1036|      0|        case PpAtomInclude:
  ------------------
  |  Branch (1036:9): [True: 0, False: 39.0k]
  ------------------
 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: 39.0k]
  ------------------
 1044|      0|            token = CPPpragma(ppToken);
 1045|      0|            break;
 1046|      0|        case PpAtomUndef:
  ------------------
  |  Branch (1046:9): [True: 0, False: 39.0k]
  ------------------
 1047|      0|            token = CPPundef(ppToken);
 1048|      0|            break;
 1049|      9|        case PpAtomError:
  ------------------
  |  Branch (1049:9): [True: 9, False: 39.0k]
  ------------------
 1050|      9|            token = CPPerror(ppToken);
 1051|      9|            break;
 1052|     12|        case PpAtomVersion:
  ------------------
  |  Branch (1052:9): [True: 12, False: 39.0k]
  ------------------
 1053|     12|            token = CPPversion(ppToken);
 1054|     12|            break;
 1055|    266|        case PpAtomExtension:
  ------------------
  |  Branch (1055:9): [True: 266, False: 38.8k]
  ------------------
 1056|    266|            token = CPPextension(ppToken);
 1057|    266|            break;
 1058|     73|        default:
  ------------------
  |  Branch (1058:9): [True: 73, False: 39.0k]
  ------------------
 1059|     73|            parseContext.ppError(ppToken->loc, "invalid directive:", "#", ppToken->name);
 1060|     73|            break;
 1061|  39.0k|        }
 1062|   128k|    } else if (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (1062:16): [True: 439, False: 128k]
  |  Branch (1062:33): [True: 437, False: 2]
  ------------------
 1063|    437|        parseContext.ppError(ppToken->loc, "invalid directive", "#", "");
 1064|       |
 1065|   182k|    while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (1065:12): [True: 14.3k, False: 167k]
  |  Branch (1065:29): [True: 14.3k, False: 6]
  ------------------
 1066|  14.3k|        token = scanToken(ppToken);
 1067|       |
 1068|   167k|    return token;
 1069|   167k|}
_ZN7glslang10TPpContext15PrescanMacroArgERNS0_11TokenStreamEPNS_8TPpTokenEb:
 1107|    199|{
 1108|       |    // expand the argument
 1109|    199|    TokenStream* expandedArg = new TokenStream;
 1110|    199|    pushInput(new tMarkerInput(this));
 1111|    199|    pushTokenStreamInput(arg);
 1112|    199|    int token;
 1113|  2.43k|    while ((token = scanToken(ppToken)) != tMarkerInput::marker && token != EndOfInput) {
  ------------------
  |  Branch (1113:12): [True: 2.23k, False: 199]
  |  Branch (1113:68): [True: 2.23k, False: 0]
  ------------------
 1114|  2.23k|        token = tokenPaste(token, *ppToken);
 1115|  2.23k|        if (token == PpAtomIdentifier) {
  ------------------
  |  Branch (1115:13): [True: 17, False: 2.21k]
  ------------------
 1116|     17|            switch (MacroExpand(ppToken, false, newLineOkay)) {
  ------------------
  |  Branch (1116:21): [True: 17, False: 0]
  ------------------
 1117|     17|            case MacroExpandNotStarted:
  ------------------
  |  Branch (1117:13): [True: 17, False: 0]
  ------------------
 1118|     17|                break;
 1119|      0|            case MacroExpandError:
  ------------------
  |  Branch (1119:13): [True: 0, False: 17]
  ------------------
 1120|       |                // toss the rest of the pushed-input argument by scanning until tMarkerInput
 1121|      0|                while ((token = scanToken(ppToken)) != tMarkerInput::marker && token != EndOfInput)
  ------------------
  |  Branch (1121:24): [True: 0, False: 0]
  |  Branch (1121:80): [True: 0, False: 0]
  ------------------
 1122|      0|                    ;
 1123|      0|                break;
 1124|      0|            case MacroExpandStarted:
  ------------------
  |  Branch (1124:13): [True: 0, False: 17]
  ------------------
 1125|      0|            case MacroExpandUndef:
  ------------------
  |  Branch (1125:13): [True: 0, False: 17]
  ------------------
 1126|      0|                continue;
 1127|     17|            }
 1128|     17|        }
 1129|  2.23k|        if (token == tMarkerInput::marker || token == EndOfInput)
  ------------------
  |  Branch (1129:13): [True: 0, False: 2.23k]
  |  Branch (1129:46): [True: 0, False: 2.23k]
  ------------------
 1130|      0|            break;
 1131|  2.23k|        expandedArg->putToken(token, ppToken);
 1132|  2.23k|    }
 1133|       |
 1134|    199|    if (token != tMarkerInput::marker) {
  ------------------
  |  Branch (1134:9): [True: 0, False: 199]
  ------------------
 1135|       |        // Error, or MacroExpand ate the marker, so had bad input, recover
 1136|      0|        delete expandedArg;
 1137|      0|        expandedArg = nullptr;
 1138|      0|    }
 1139|       |
 1140|    199|    return expandedArg;
 1141|    199|}
_ZN7glslang10TPpContext11tMacroInput4scanEPNS_8TPpTokenE:
 1148|    346|{
 1149|    346|    int token;
 1150|    346|    do {
 1151|    346|        token = mac->body.getToken(pp->parseContext, ppToken);
 1152|    346|    } while (token == ' ');  // handle white space in macro
  ------------------
  |  Branch (1152:14): [True: 0, False: 346]
  ------------------
 1153|       |
 1154|       |    // Hash operators basically turn off a round of macro substitution
 1155|       |    // (the round done on the argument before the round done on the RHS of the
 1156|       |    // macro definition):
 1157|       |    //
 1158|       |    // "A parameter in the replacement list, unless preceded by a # or ##
 1159|       |    // preprocessing token or followed by a ## preprocessing token (see below),
 1160|       |    // is replaced by the corresponding argument after all macros contained
 1161|       |    // therein have been expanded."
 1162|       |    //
 1163|       |    // "If, in the replacement list, a parameter is immediately preceded or
 1164|       |    // followed by a ## preprocessing token, the parameter is replaced by the
 1165|       |    // corresponding argument's preprocessing token sequence."
 1166|       |
 1167|    346|    bool pasting = false;
 1168|    346|    if (postpaste) {
  ------------------
  |  Branch (1168:9): [True: 0, False: 346]
  ------------------
 1169|       |        // don't expand next token
 1170|      0|        pasting = true;
 1171|      0|        postpaste = false;
 1172|      0|    }
 1173|       |
 1174|    346|    if (prepaste) {
  ------------------
  |  Branch (1174:9): [True: 0, False: 346]
  ------------------
 1175|       |        // already know we should be on a ##, verify
 1176|      0|        assert(token == PpAtomPaste);
 1177|      0|        prepaste = false;
 1178|      0|        postpaste = true;
 1179|      0|    }
 1180|       |
 1181|       |    // see if are preceding a ##
 1182|    346|    if (mac->body.peekTokenizedPasting(false)) {
  ------------------
  |  Branch (1182:9): [True: 0, False: 346]
  ------------------
 1183|      0|        prepaste = true;
 1184|      0|        pasting = true;
 1185|      0|    }
 1186|       |
 1187|       |
 1188|       |    // TODO: preprocessor:  properly handle whitespace (or lack of it) between tokens when expanding
 1189|    346|    if (token == PpAtomIdentifier) {
  ------------------
  |  Branch (1189:9): [True: 105, False: 241]
  ------------------
 1190|    105|        int i;
 1191|    159|        for (i = (int)mac->args.size() - 1; i >= 0; i--)
  ------------------
  |  Branch (1191:45): [True: 156, False: 3]
  ------------------
 1192|    156|            if (strcmp(pp->atomStrings.getString(mac->args[i]), ppToken->name) == 0)
  ------------------
  |  Branch (1192:17): [True: 102, False: 54]
  ------------------
 1193|    102|                break;
 1194|    105|        if (i >= 0) {
  ------------------
  |  Branch (1194:13): [True: 102, False: 3]
  ------------------
 1195|    102|            TokenStream* arg = expandedArgs[i];
 1196|    102|            bool expanded = !!arg && !pasting;
  ------------------
  |  Branch (1196:29): [True: 102, False: 0]
  |  Branch (1196:38): [True: 102, False: 0]
  ------------------
 1197|       |            // HLSL does expand macros before concatenation
 1198|    102|            if (arg == nullptr || (pasting && !pp->parseContext.isReadingHLSL()) ) {
  ------------------
  |  Branch (1198:17): [True: 0, False: 102]
  |  Branch (1198:36): [True: 0, False: 102]
  |  Branch (1198:47): [True: 0, False: 0]
  ------------------
 1199|      0|                arg = args[i];
 1200|      0|            }
 1201|    102|            pp->pushTokenStreamInput(*arg, prepaste, expanded);
 1202|       |
 1203|    102|            return pp->scanToken(ppToken);
 1204|    102|        }
 1205|    105|    }
 1206|       |
 1207|    244|    if (token == EndOfInput)
  ------------------
  |  Branch (1207:9): [True: 114, False: 130]
  ------------------
 1208|    114|        mac->busy = 0;
 1209|       |
 1210|    244|    return token;
 1211|    346|}
_ZN7glslang10TPpContext10tZeroInput4scanEPNS_8TPpTokenE:
 1215|      2|{
 1216|      2|    if (done)
  ------------------
  |  Branch (1216:9): [True: 1, False: 1]
  ------------------
 1217|      1|        return EndOfInput;
 1218|       |
 1219|      1|    ppToken->name[0] = '0';
 1220|      1|    ppToken->name[1] = 0;
 1221|      1|    ppToken->ival = 0;
 1222|      1|    ppToken->space = false;
 1223|      1|    done = true;
 1224|       |
 1225|      1|    return PpAtomConstInt;
 1226|      2|}
_ZN7glslang10TPpContext11MacroExpandEPNS_8TPpTokenEbb:
 1241|  5.19M|{
 1242|  5.19M|    ppToken->space = false;
 1243|  5.19M|    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|  5.19M|    if (macroExpandDepth >= maxMacroExpandDepth) {
  ------------------
  |  Branch (1247:9): [True: 0, False: 5.19M]
  ------------------
 1248|      0|        parseContext.ppError(ppToken->loc, "macro expansion depth limit exceeded",
 1249|      0|                             "macro expansion", ppToken->name);
 1250|      0|        return MacroExpandNotStarted;
 1251|      0|    }
 1252|  5.19M|    struct DepthGuard {
 1253|  5.19M|        int& d;
 1254|  5.19M|        explicit DepthGuard(int& d_) : d(d_) { ++d; }
 1255|  5.19M|        ~DepthGuard() { --d; }
 1256|  5.19M|    } guard(macroExpandDepth);
 1257|       |
 1258|  5.19M|    if (ppToken->fullyExpanded)
  ------------------
  |  Branch (1258:9): [True: 17, False: 5.19M]
  ------------------
 1259|     17|        return MacroExpandNotStarted;
 1260|       |
 1261|  5.19M|    switch (macroAtom) {
 1262|      0|    case PpAtomLineMacro:
  ------------------
  |  Branch (1262:5): [True: 0, False: 5.19M]
  ------------------
 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: 5.19M]
  ------------------
 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: 5.19M]
  ------------------
 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|  5.19M|    default:
  ------------------
  |  Branch (1285:5): [True: 5.19M, False: 0]
  ------------------
 1286|  5.19M|        break;
 1287|  5.19M|    }
 1288|       |
 1289|  5.19M|    MacroSymbol* macro = macroAtom == 0 ? nullptr : lookupMacroDef(macroAtom);
  ------------------
  |  Branch (1289:26): [True: 5.19M, False: 291]
  ------------------
 1290|       |
 1291|       |    // no recursive expansions
 1292|  5.19M|    if (macro != nullptr && macro->busy) {
  ------------------
  |  Branch (1292:9): [True: 116, False: 5.19M]
  |  Branch (1292:29): [True: 0, False: 116]
  ------------------
 1293|      0|        ppToken->fullyExpanded = true;
 1294|      0|        return MacroExpandNotStarted;
 1295|      0|    }
 1296|       |
 1297|       |    // not expanding undefined macros
 1298|  5.19M|    if ((macro == nullptr || macro->undef) && ! expandUndef)
  ------------------
  |  Branch (1298:10): [True: 5.19M, False: 116]
  |  Branch (1298:30): [True: 0, False: 116]
  |  Branch (1298:47): [True: 5.19M, False: 1]
  ------------------
 1299|  5.19M|        return MacroExpandNotStarted;
 1300|       |
 1301|       |    // 0 is the value of an undefined macro
 1302|    117|    if ((macro == nullptr || macro->undef) && expandUndef) {
  ------------------
  |  Branch (1302:10): [True: 1, False: 116]
  |  Branch (1302:30): [True: 0, False: 116]
  |  Branch (1302:47): [True: 1, False: 0]
  ------------------
 1303|      1|        pushInput(new tZeroInput(this));
 1304|      1|        return MacroExpandUndef;
 1305|      1|    }
 1306|       |
 1307|    116|    tMacroInput *in = new tMacroInput(this);
 1308|       |
 1309|    116|    TSourceLoc loc = ppToken->loc;  // in case we go to the next line before discovering the error
 1310|    116|    in->mac = macro;
 1311|    116|    if (macro->functionLike) {
  ------------------
  |  Branch (1311:9): [True: 102, False: 14]
  ------------------
 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|    102|        TPpToken parenToken;
 1316|    102|        int token = scanToken(&parenToken);
 1317|    102|        if (newLineOkay) {
  ------------------
  |  Branch (1317:13): [True: 102, False: 0]
  ------------------
 1318|    102|            while (token == '\n')
  ------------------
  |  Branch (1318:20): [True: 0, False: 102]
  ------------------
 1319|      0|                token = scanToken(&parenToken);
 1320|    102|        }
 1321|    102|        if (token != '(') {
  ------------------
  |  Branch (1321:13): [True: 2, False: 100]
  ------------------
 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|      2|            UngetToken(token, &parenToken);
 1325|      2|            delete in;
 1326|      2|            return MacroExpandNotStarted;
 1327|      2|        }
 1328|    100|        in->args.resize(in->mac->args.size());
 1329|    299|        for (size_t i = 0; i < in->mac->args.size(); i++)
  ------------------
  |  Branch (1329:28): [True: 199, False: 100]
  ------------------
 1330|    199|            in->args[i] = new TokenStream;
 1331|    100|        in->expandedArgs.resize(in->mac->args.size());
 1332|    299|        for (size_t i = 0; i < in->mac->args.size(); i++)
  ------------------
  |  Branch (1332:28): [True: 199, False: 100]
  ------------------
 1333|    199|            in->expandedArgs[i] = nullptr;
 1334|    100|        size_t arg = 0;
 1335|    100|        bool tokenRecorded = false;
 1336|    199|        do {
 1337|    199|            TVector<char> nestStack;
 1338|  2.43k|            while (true) {
  ------------------
  |  Branch (1338:20): [True: 2.43k, Folded]
  ------------------
 1339|  2.43k|                token = scanToken(ppToken);
 1340|  2.43k|                if (token == EndOfInput || token == tMarkerInput::marker) {
  ------------------
  |  Branch (1340:21): [True: 0, False: 2.43k]
  |  Branch (1340:44): [True: 0, False: 2.43k]
  ------------------
 1341|      0|                    parseContext.ppError(loc, "End of input in macro", "macro expansion", atomStrings.getString(macroAtom));
 1342|      0|                    delete in;
 1343|      0|                    return MacroExpandError;
 1344|      0|                }
 1345|  2.43k|                if (token == '\n') {
  ------------------
  |  Branch (1345:21): [True: 0, False: 2.43k]
  ------------------
 1346|      0|                    if (! newLineOkay) {
  ------------------
  |  Branch (1346:25): [True: 0, False: 0]
  ------------------
 1347|      0|                        parseContext.ppError(loc, "End of line in macro substitution:", "macro expansion", atomStrings.getString(macroAtom));
 1348|      0|                        delete in;
 1349|      0|                        return MacroExpandError;
 1350|      0|                    }
 1351|      0|                    continue;
 1352|      0|                }
 1353|  2.43k|                if (token == '#') {
  ------------------
  |  Branch (1353:21): [True: 0, False: 2.43k]
  ------------------
 1354|      0|                    parseContext.ppError(ppToken->loc, "unexpected '#'", "macro expansion", atomStrings.getString(macroAtom));
 1355|      0|                    delete in;
 1356|      0|                    return MacroExpandError;
 1357|      0|                }
 1358|  2.43k|                if (in->mac->args.size() == 0 && token != ')')
  ------------------
  |  Branch (1358:21): [True: 0, False: 2.43k]
  |  Branch (1358:50): [True: 0, False: 0]
  ------------------
 1359|      0|                    break;
 1360|  2.43k|                if (nestStack.size() == 0 && (token == ',' || token == ')'))
  ------------------
  |  Branch (1360:21): [True: 796, False: 1.63k]
  |  Branch (1360:47): [True: 190, False: 606]
  |  Branch (1360:63): [True: 9, False: 597]
  ------------------
 1361|    199|                    break;
 1362|  2.23k|                if (token == '(')
  ------------------
  |  Branch (1362:21): [True: 273, False: 1.96k]
  ------------------
 1363|    273|                    nestStack.push_back(')');
 1364|  1.96k|                else if (token == '{' && parseContext.isReadingHLSL())
  ------------------
  |  Branch (1364:26): [True: 532, False: 1.43k]
  |  Branch (1364:42): [True: 0, False: 532]
  ------------------
 1365|      0|                    nestStack.push_back('}');
 1366|  1.96k|                else if (nestStack.size() > 0 && token == nestStack.back())
  ------------------
  |  Branch (1366:26): [True: 1.45k, False: 506]
  |  Branch (1366:50): [True: 273, False: 1.18k]
  ------------------
 1367|    273|                    nestStack.pop_back();
 1368|       |
 1369|       |                //Macro replacement list is expanded in the last stage.
 1370|  2.23k|                if (atomStrings.getAtom(ppToken->name) == PpAtomLineMacro)
  ------------------
  |  Branch (1370:21): [True: 0, False: 2.23k]
  ------------------
 1371|      0|                    ppToken->ival = parseContext.getCurrentLoc().line;
 1372|       |
 1373|  2.23k|                in->args[arg]->putToken(token, ppToken);
 1374|  2.23k|                tokenRecorded = true;
 1375|  2.23k|            }
 1376|       |            // end of single argument scan
 1377|       |
 1378|    199|            if (token == ')') {
  ------------------
  |  Branch (1378:17): [True: 9, False: 190]
  ------------------
 1379|       |                // closing paren of call
 1380|      9|                if (in->mac->args.size() == 1 && !tokenRecorded)
  ------------------
  |  Branch (1380:21): [True: 1, False: 8]
  |  Branch (1380:50): [True: 0, False: 1]
  ------------------
 1381|      0|                    break;
 1382|      9|                arg++;
 1383|      9|                break;
 1384|      9|            }
 1385|    190|            arg++;
 1386|    190|        } while (arg < in->mac->args.size());
  ------------------
  |  Branch (1386:18): [True: 99, False: 91]
  ------------------
 1387|       |        // end of all arguments scan
 1388|       |
 1389|    100|        if (arg < in->mac->args.size())
  ------------------
  |  Branch (1389:13): [True: 0, False: 100]
  ------------------
 1390|      0|            parseContext.ppError(loc, "Too few args in Macro", "macro expansion", atomStrings.getString(macroAtom));
 1391|    100|        else if (token != ')') {
  ------------------
  |  Branch (1391:18): [True: 91, False: 9]
  ------------------
 1392|       |            // Error recover code; find end of call, if possible
 1393|     91|            int depth = 0;
 1394|  1.66k|            while (token != EndOfInput && (depth > 0 || token != ')')) {
  ------------------
  |  Branch (1394:20): [True: 1.66k, False: 0]
  |  Branch (1394:44): [True: 107, False: 1.55k]
  |  Branch (1394:57): [True: 1.46k, False: 91]
  ------------------
 1395|  1.57k|                if (token == ')' || token == '}')
  ------------------
  |  Branch (1395:21): [True: 4, False: 1.57k]
  |  Branch (1395:37): [True: 195, False: 1.37k]
  ------------------
 1396|    199|                    depth--;
 1397|  1.57k|                token = scanToken(ppToken);
 1398|  1.57k|                if (token == '(' || token == '{')
  ------------------
  |  Branch (1398:21): [True: 13, False: 1.56k]
  |  Branch (1398:37): [True: 22, False: 1.53k]
  ------------------
 1399|     35|                    depth++;
 1400|  1.57k|            }
 1401|       |
 1402|     91|            if (token == EndOfInput) {
  ------------------
  |  Branch (1402:17): [True: 0, False: 91]
  ------------------
 1403|      0|                parseContext.ppError(loc, "End of input in macro", "macro expansion", atomStrings.getString(macroAtom));
 1404|      0|                delete in;
 1405|      0|                return MacroExpandError;
 1406|      0|            }
 1407|     91|            parseContext.ppError(loc, "Too many args in macro", "macro expansion", atomStrings.getString(macroAtom));
 1408|     91|        }
 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|    299|        for (size_t i = 0; i < in->mac->args.size(); i++)
  ------------------
  |  Branch (1412:28): [True: 199, False: 100]
  ------------------
 1413|    199|            in->expandedArgs[i] = PrescanMacroArg(*in->args[i], ppToken, newLineOkay);
 1414|    100|    }
 1415|       |
 1416|    114|    pushInput(in);
 1417|    114|    macro->busy = 1;
 1418|    114|    macro->body.reset();
 1419|       |
 1420|    114|    return MacroExpandStarted;
 1421|    116|}
Pp.cpp:_ZN7glslang12_GLOBAL__N_16op_negEi:
  429|      4|    int op_neg(int a) { return a == INT_MIN ? INT_MIN : -a; }
  ------------------
  |  Branch (429:32): [True: 0, False: 4]
  ------------------
Pp.cpp:_ZN7glslang12_GLOBAL__N_15op_eqEii:
  411|      1|    int op_eq(int a, int b) { return a == b; }
Pp.cpp:_ZZN7glslang10TPpContext11MacroExpandEPNS_8TPpTokenEbbEN10DepthGuardC2ERi:
 1254|  5.19M|        explicit DepthGuard(int& d_) : d(d_) { ++d; }
Pp.cpp:_ZZN7glslang10TPpContext11MacroExpandEPNS_8TPpTokenEbbEN10DepthGuardD2Ev:
 1255|  5.19M|        ~DepthGuard() { --d; }

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

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

_ZN7glslang8TPpTokenC2Ev:
   93|  41.5M|    TPpToken() { clear(); }
_ZN7glslang8TPpToken5clearEv:
   95|  88.0M|    {
   96|  88.0M|        space = false;
   97|  88.0M|        i64val = 0;
   98|  88.0M|        loc.init();
   99|  88.0M|        name[0] = 0;
  100|  88.0M|        fullyExpanded = false;
  101|  88.0M|    }
_ZNK7glslang8TPpTokeneqERKS0_:
  105|     87|    {
  106|     87|        return space == right.space &&
  ------------------
  |  Branch (106:16): [True: 87, False: 0]
  ------------------
  107|     87|               ival == right.ival && dval == right.dval && i64val == right.i64val &&
  ------------------
  |  Branch (107:16): [True: 87, False: 0]
  |  Branch (107:38): [True: 79, False: 8]
  |  Branch (107:60): [True: 79, False: 0]
  ------------------
  108|     79|               strncmp(name, right.name, MaxTokenLength) == 0;
  ------------------
  |  Branch (108:16): [True: 77, False: 2]
  ------------------
  109|     87|    }
_ZNK7glslang8TPpTokenneERKS0_:
  110|     87|    bool operator!=(const TPpToken& right) const { return ! operator==(right); }
_ZNK7glslang14TStringAtomMap7getAtomEPKc:
  141|  5.27M|    {
  142|  5.27M|        auto it = atomMap.find(s);
  143|  5.27M|        return it == atomMap.end() ? 0 : it->second;
  ------------------
  |  Branch (143:16): [True: 5.23M, False: 39.5k]
  ------------------
  144|  5.27M|    }
_ZN7glslang14TStringAtomMap10getAddAtomEPKc:
  148|  38.7k|    {
  149|  38.7k|        int atom = getAtom(s);
  150|  38.7k|        if (atom == 0) {
  ------------------
  |  Branch (150:13): [True: 38.6k, False: 61]
  ------------------
  151|  38.6k|            atom = nextAtom++;
  152|  38.6k|            addAtomFixed(s, atom);
  153|  38.6k|        }
  154|  38.7k|        return atom;
  155|  38.7k|    }
_ZNK7glslang14TStringAtomMap9getStringEi:
  158|  25.7M|    const char* getString(int atom) const { return stringMap[atom]->c_str(); }
_ZN7glslang14TStringAtomMap12addAtomFixedEPKci:
  176|   150k|    {
  177|   150k|        auto it = atomMap.insert(std::pair<TString, int>(s, atom)).first;
  178|   150k|        if (stringMap.size() < (size_t)atom + 1)
  ------------------
  |  Branch (178:13): [True: 2.10k, False: 148k]
  ------------------
  179|  2.10k|            stringMap.resize(atom + 100, &badToken);
  180|   150k|        stringMap[atom] = &it->first;
  181|   150k|    }
_ZN7glslang10TPpContext6tInputC2EPS0_:
  208|  1.49k|        tInput(TPpContext* p) : done(false), pp(p) { }
_ZN7glslang10TPpContext6tInputD2Ev:
  209|  1.49k|        virtual ~tInput() { }
_ZN7glslang10TPpContext6tInput11peekPastingEv:
  214|  45.8M|        virtual bool peekPasting() { return false; }             // true when about to see ##
_ZN7glslang10TPpContext6tInput13isStringInputEv:
  218|  3.69k|        virtual bool isStringInput() { return false; }
_ZN7glslang10TPpContext6tInput15notifyActivatedEv:
  221|  1.49k|        virtual void notifyActivated() {}
_ZN7glslang10TPpContext6tInput13notifyDeletedEv:
  223|  1.49k|        virtual void notifyDeleted() {}
_ZN7glslang10TPpContext9pushInputEPNS0_6tInputE:
  232|  1.49k|    {
  233|  1.49k|        inputStack.push_back(in);
  234|  1.49k|        in->notifyActivated();
  235|  1.49k|    }
_ZN7glslang10TPpContext8popInputEv:
  237|  1.49k|    {
  238|  1.49k|        inputStack.back()->notifyDeleted();
  239|  1.49k|        delete inputStack.back();
  240|  1.49k|        inputStack.pop_back();
  241|  1.49k|    }
_ZN7glslang10TPpContext11TokenStream5TokenC2EiRKNS_8TPpTokenE:
  255|  43.2k|                atom(atom),
  256|  43.2k|                space(ppToken.space),
  257|  43.2k|                i64val(ppToken.i64val),
  258|  43.2k|                name(ppToken.name) { }
_ZN7glslang10TPpContext11TokenStream5Token3getERNS_8TPpTokenE:
  260|  3.63k|            {
  261|  3.63k|                ppToken.clear();
  262|  3.63k|                ppToken.space = space;
  263|  3.63k|                ppToken.i64val = i64val;
  264|  3.63k|                snprintf(ppToken.name, sizeof(ppToken.name), "%s", name.c_str());
  265|  3.63k|                return atom;
  266|  3.63k|            }
_ZNK7glslang10TPpContext11TokenStream5Token6isAtomEi:
  267|  6.25k|            bool isAtom(int a) const { return atom == a; }
_ZN7glslang10TPpContext11TokenStreamC2Ev:
  278|  77.7k|        TokenStream() : currentPos(0) { }
_ZN7glslang10TPpContext11TokenStream9peekTokenEi:
  281|  7.21k|        bool peekToken(int atom) { return !atEnd() && stream[currentPos].isAtom(atom); }
  ------------------
  |  Branch (281:43): [True: 6.25k, False: 962]
  |  Branch (281:55): [True: 0, False: 6.25k]
  ------------------
_ZN7glslang10TPpContext11TokenStream5atEndEv:
  317|  14.8k|        bool atEnd() { return currentPos >= stream.size(); }
_ZN7glslang10TPpContext11TokenStream5resetEv:
  319|    465|        void reset() { currentPos = 0; }
_ZN7glslang10TPpContext11MacroSymbolC2Ev:
  331|  77.3k|        MacroSymbol() : functionLike(0), busy(0), undef(0) { }
_ZN7glslang10TPpContext14lookupMacroDefEi:
  342|  39.0k|    {
  343|  39.0k|        auto existingMacroIt = macroDefs.find(atom);
  344|  39.0k|        return (existingMacroIt == macroDefs.end()) ? nullptr : &(existingMacroIt->second);
  ------------------
  |  Branch (344:16): [True: 38.9k, False: 141]
  ------------------
  345|  39.0k|    }
_ZN7glslang10TPpContext11addMacroDefEiRNS0_11MacroSymbolE:
  346|  38.6k|    void addMacroDef(int atom, MacroSymbol& macroDef) { macroDefs[atom] = macroDef; }
_ZN7glslang10TPpContext9scanTokenEPNS_8TPpTokenE:
  369|  46.5M|    {
  370|  46.5M|        int token = EndOfInput;
  371|       |
  372|  46.5M|        while (! inputStack.empty()) {
  ------------------
  |  Branch (372:16): [True: 46.5M, False: 823]
  ------------------
  373|  46.5M|            token = inputStack.back()->scan(ppToken);
  374|  46.5M|            if (token != EndOfInput || inputStack.empty())
  ------------------
  |  Branch (374:17): [True: 46.5M, False: 1.43k]
  |  Branch (374:40): [True: 0, False: 1.43k]
  ------------------
  375|  46.5M|                break;
  376|  1.43k|            popInput();
  377|  1.43k|        }
  378|  46.5M|        if (!inputStack.empty() && inputStack.back()->isStringInput() && !inElseSkip) {
  ------------------
  |  Branch (378:13): [True: 46.5M, False: 823]
  |  Branch (378:36): [True: 46.5M, False: 3.69k]
  |  Branch (378:74): [True: 46.5M, False: 22.1k]
  ------------------
  379|  46.5M|            if (token == '\n') {
  ------------------
  |  Branch (379:17): [True: 13.8M, False: 32.6M]
  ------------------
  380|  13.8M|                lastLineTokens.clear();
  381|  13.8M|                lastLineTokenLocs.clear();
  382|  32.6M|            } else {
  383|  32.6M|                lastLineTokens.push_back(token);
  384|  32.6M|                lastLineTokenLocs.push_back(ppToken->loc);
  385|  32.6M|            }
  386|  46.5M|        }
  387|  46.5M|        return token;
  388|  46.5M|    }
_ZN7glslang10TPpContext7getCharEv:
  389|  2.19M|    int  getChar() { return inputStack.back()->getch(); }
_ZN7glslang10TPpContext9ungetCharEv:
  390|   177k|    void ungetChar() { inputStack.back()->ungetch(); }
_ZN7glslang10TPpContext11peekPastingEv:
  391|  45.8M|    bool peekPasting() { return !inputStack.empty() && inputStack.back()->peekPasting(); }
  ------------------
  |  Branch (391:33): [True: 45.8M, False: 814]
  |  Branch (391:56): [True: 0, False: 45.8M]
  ------------------
_ZN7glslang10TPpContext11tMacroInputC2EPS0_:
  407|    116|        tMacroInput(TPpContext* pp) : tInput(pp), prepaste(false), postpaste(false) { }
_ZN7glslang10TPpContext11tMacroInputD2Ev:
  409|    116|        {
  410|    315|            for (size_t i = 0; i < args.size(); ++i)
  ------------------
  |  Branch (410:32): [True: 199, False: 116]
  ------------------
  411|    199|                delete args[i];
  412|    315|            for (size_t i = 0; i < expandedArgs.size(); ++i)
  ------------------
  |  Branch (412:32): [True: 199, False: 116]
  ------------------
  413|    199|                delete expandedArgs[i];
  414|    116|        }
_ZN7glslang10TPpContext11tMacroInput11peekPastingEv:
  419|    130|        bool peekPasting() override { return prepaste; }
_ZN7glslang10TPpContext12tMarkerInputC2EPS0_:
  435|    199|        tMarkerInput(TPpContext* pp) : tInput(pp) { }
_ZN7glslang10TPpContext12tMarkerInput4scanEPNS_8TPpTokenE:
  437|    398|        {
  438|    398|            if (done)
  ------------------
  |  Branch (438:17): [True: 199, False: 199]
  ------------------
  439|    199|                return EndOfInput;
  440|    199|            done = true;
  441|       |
  442|    199|            return marker;
  443|    398|        }
_ZN7glslang10TPpContext10tZeroInputC2EPS0_:
  460|      1|        tZeroInput(TPpContext* pp) : tInput(pp) { }
_ZN7glslang10TPpContext11tTokenInputC2EPS0_PNS0_11TokenStreamEbb:
  509|    301|            tInput(pp),
  510|    301|            tokens(t),
  511|    301|            lastTokenPastes(prepasting),
  512|    301|            preExpanded(expanded) { }
_ZN7glslang10TPpContext11tTokenInput4scanEPNS_8TPpTokenE:
  513|  3.56k|        virtual int scan(TPpToken *ppToken) override {
  514|  3.56k|            int token = tokens->getToken(pp->parseContext, ppToken);
  515|  3.56k|            ppToken->fullyExpanded = preExpanded;
  516|  3.56k|            if (tokens->atEnd() && token == PpAtomIdentifier) {
  ------------------
  |  Branch (516:17): [True: 602, False: 2.96k]
  |  Branch (516:36): [True: 34, False: 568]
  ------------------
  517|     34|                int macroAtom = pp->atomStrings.getAtom(ppToken->name);
  518|     34|                MacroSymbol* macro = macroAtom == 0 ? nullptr : pp->lookupMacroDef(macroAtom);
  ------------------
  |  Branch (518:38): [True: 2, False: 32]
  ------------------
  519|     34|                if (macro && macro->functionLike)
  ------------------
  |  Branch (519:21): [True: 0, False: 34]
  |  Branch (519:30): [True: 0, False: 0]
  ------------------
  520|      0|                    ppToken->fullyExpanded = false;
  521|     34|            }
  522|  3.56k|            return token;
  523|  3.56k|        }
_ZN7glslang10TPpContext11tTokenInput11peekPastingEv:
  526|  3.26k|        virtual bool peekPasting() override { return tokens->peekTokenizedPasting(lastTokenPastes); }
_ZN7glslang10TPpContext16tUngotTokenInputC2EPS0_iPNS_8TPpTokenE:
  536|      2|        tUngotTokenInput(TPpContext* pp, int t, TPpToken* p) : tInput(pp), token(t), lval(*p) { }
_ZN7glslang10TPpContext12tStringInputC2EPS0_RNS_13TInputScannerE:
  550|    880|        tStringInput(TPpContext* pp, TInputScanner& i) : tInput(pp), input(&i) { }
_ZN7glslang10TPpContext12tStringInput13isStringInputEv:
  552|  46.5M|        bool isStringInput() override { return true; }
_ZN7glslang10TPpContext12tStringInput5getchEv:
  557|   101M|        {
  558|   101M|            int ch = input->get();
  559|       |
  560|   101M|            if (ch == '\\') {
  ------------------
  |  Branch (560:17): [True: 29.5k, False: 101M]
  ------------------
  561|       |                // Move past escaped newlines, as many as sequentially exist
  562|  29.5k|                do {
  563|  29.5k|                    if (input->peek() == '\r' || input->peek() == '\n') {
  ------------------
  |  Branch (563:25): [True: 0, False: 29.5k]
  |  Branch (563:50): [True: 0, False: 29.5k]
  ------------------
  564|      0|                        bool allowed = pp->parseContext.lineContinuationCheck(input->getSourceLoc(), pp->inComment);
  565|      0|                        if (! allowed && pp->inComment)
  ------------------
  |  Branch (565:29): [True: 0, False: 0]
  |  Branch (565:42): [True: 0, False: 0]
  ------------------
  566|      0|                            return '\\';
  567|       |
  568|       |                        // escape one newline now
  569|      0|                        ch = input->get();
  570|      0|                        int nextch = input->get();
  571|      0|                        if (ch == '\r' && nextch == '\n')
  ------------------
  |  Branch (571:29): [True: 0, False: 0]
  |  Branch (571:43): [True: 0, False: 0]
  ------------------
  572|      0|                            ch = input->get();
  573|      0|                        else
  574|      0|                            ch = nextch;
  575|      0|                    } else
  576|  29.5k|                        return '\\';
  577|  29.5k|                } while (ch == '\\');
  ------------------
  |  Branch (577:26): [True: 0, False: 0]
  ------------------
  578|  29.5k|            }
  579|       |
  580|       |            // handle any non-escaped newline
  581|   101M|            if (ch == '\r' || ch == '\n') {
  ------------------
  |  Branch (581:17): [True: 7.31M, False: 94.3M]
  |  Branch (581:31): [True: 8.03M, False: 86.3M]
  ------------------
  582|  15.3M|                if (ch == '\r' && input->peek() == '\n')
  ------------------
  |  Branch (582:21): [True: 7.31M, False: 8.03M]
  |  Branch (582:35): [True: 18.1k, False: 7.29M]
  ------------------
  583|  18.1k|                    input->get();
  584|  15.3M|                return '\n';
  585|  15.3M|            }
  586|       |
  587|  86.3M|            return ch;
  588|   101M|        }
_ZN7glslang10TPpContext12tStringInput7ungetchEv:
  595|  8.61M|        {
  596|  8.61M|            input->unget();
  597|       |
  598|  8.61M|            do {
  599|  8.61M|                int ch = input->peek();
  600|  8.61M|                if (ch == '\r' || ch == '\n') {
  ------------------
  |  Branch (600:21): [True: 39.8k, False: 8.57M]
  |  Branch (600:35): [True: 1.45M, False: 7.11M]
  ------------------
  601|  1.49M|                    if (ch == '\n') {
  ------------------
  |  Branch (601:25): [True: 1.45M, False: 39.8k]
  ------------------
  602|       |                        // correct for two-character newline
  603|  1.45M|                        input->unget();
  604|  1.45M|                        if (input->peek() != '\r')
  ------------------
  |  Branch (604:29): [True: 1.45M, False: 6.16k]
  ------------------
  605|  1.45M|                            input->get();
  606|  1.45M|                    }
  607|       |                    // now in front of a complete newline, move past an escape character
  608|  1.49M|                    input->unget();
  609|  1.49M|                    if (input->peek() == '\\')
  ------------------
  |  Branch (609:25): [True: 0, False: 1.49M]
  ------------------
  610|      0|                        input->unget();
  611|  1.49M|                    else {
  612|  1.49M|                        input->get();
  613|  1.49M|                        break;
  614|  1.49M|                    }
  615|  1.49M|                } else
  616|  7.11M|                    break;
  617|  8.61M|            } while (true);
  ------------------
  |  Branch (617:22): [True: 0, Folded]
  ------------------
  618|  8.61M|        }

_ZN7glslang10TPpContext11lFloatConstEiiPNS_8TPpTokenE:
  113|  83.6k|{
  114|  83.6k|    const auto saveName = [&](int ch) {
  115|  83.6k|        if (len <= MaxTokenLength)
  116|  83.6k|            ppToken->name[len++] = static_cast<char>(ch);
  117|  83.6k|    };
  118|       |
  119|       |    // find the range of non-zero digits before the decimal point
  120|  83.6k|    int startNonZero = 0;
  121|   100k|    while (startNonZero < len && ppToken->name[startNonZero] == '0')
  ------------------
  |  Branch (121:12): [True: 89.5k, False: 10.9k]
  |  Branch (121:34): [True: 16.8k, False: 72.6k]
  ------------------
  122|  16.8k|        ++startNonZero;
  123|  83.6k|    int endNonZero = len;
  124|  97.4k|    while (endNonZero > startNonZero && ppToken->name[endNonZero-1] == '0')
  ------------------
  |  Branch (124:12): [True: 86.5k, False: 10.9k]
  |  Branch (124:41): [True: 13.8k, False: 72.6k]
  ------------------
  125|  13.8k|        --endNonZero;
  126|  83.6k|    int numWholeNumberDigits = endNonZero - startNonZero;
  127|       |
  128|       |    // accumulate the range's value
  129|  83.6k|    bool fastPath = numWholeNumberDigits <= 15;  // when the number gets too complex, set to false
  130|  83.6k|    unsigned long long wholeNumber = 0;
  131|  83.6k|    if (fastPath) {
  ------------------
  |  Branch (131:9): [True: 80.9k, False: 2.68k]
  ------------------
  132|   359k|        for (int i = startNonZero; i < endNonZero; ++i)
  ------------------
  |  Branch (132:36): [True: 278k, False: 80.9k]
  ------------------
  133|   278k|            wholeNumber = wholeNumber * 10 + (ppToken->name[i] - '0');
  134|  80.9k|    }
  135|  83.6k|    int decimalShift = len - endNonZero;
  136|       |
  137|       |    // Decimal point:
  138|  83.6k|    bool hasDecimalOrExponent = false;
  139|  83.6k|    if (ch == '.') {
  ------------------
  |  Branch (139:9): [True: 16.3k, False: 67.2k]
  ------------------
  140|  16.3k|        hasDecimalOrExponent = true;
  141|  16.3k|        saveName(ch);
  142|  16.3k|        ch = getChar();
  143|  16.3k|        int firstDecimal = len;
  144|       |
  145|  16.3k|#ifdef ENABLE_HLSL
  146|       |        // 1.#INF or -1.#INF
  147|  16.3k|        if (ch == '#' && (ifdepth > 0 || parseContext.intermediate.getSource() == EShSourceHlsl)) {
  ------------------
  |  Branch (147:13): [True: 0, False: 16.3k]
  |  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|  16.3k|#endif
  174|       |
  175|       |        // Consume leading-zero digits after the decimal point
  176|   833k|        while (ch == '0') {
  ------------------
  |  Branch (176:16): [True: 817k, False: 16.3k]
  ------------------
  177|   817k|            saveName(ch);
  178|   817k|            ch = getChar();
  179|   817k|        }
  180|  16.3k|        int startNonZeroDecimal = len;
  181|  16.3k|        int endNonZeroDecimal = len;
  182|       |
  183|       |        // Consume remaining digits, up to the exponent
  184|   297k|        while (ch >= '0' && ch <= '9') {
  ------------------
  |  Branch (184:16): [True: 288k, False: 9.02k]
  |  Branch (184:29): [True: 281k, False: 7.36k]
  ------------------
  185|   281k|            saveName(ch);
  186|   281k|            if (ch != '0')
  ------------------
  |  Branch (186:17): [True: 73.4k, False: 207k]
  ------------------
  187|  73.4k|                endNonZeroDecimal = len;
  188|   281k|            ch = getChar();
  189|   281k|        }
  190|       |
  191|       |        // Compute accumulation up to the last non-zero digit
  192|  16.3k|        if (endNonZeroDecimal > startNonZeroDecimal) {
  ------------------
  |  Branch (192:13): [True: 12.3k, False: 4.08k]
  ------------------
  193|  12.3k|            numWholeNumberDigits += endNonZeroDecimal - endNonZero - 1; // don't include the "."
  194|  12.3k|            if (numWholeNumberDigits > 15)
  ------------------
  |  Branch (194:17): [True: 3.52k, False: 8.78k]
  ------------------
  195|  3.52k|                fastPath = false;
  196|  12.3k|            if (fastPath) {
  ------------------
  |  Branch (196:17): [True: 8.78k, False: 3.52k]
  ------------------
  197|  53.3k|                for (int i = endNonZero; i < endNonZeroDecimal; ++i) {
  ------------------
  |  Branch (197:42): [True: 44.6k, False: 8.78k]
  ------------------
  198|  44.6k|                    if (ppToken->name[i] != '.')
  ------------------
  |  Branch (198:25): [True: 35.8k, False: 8.78k]
  ------------------
  199|  35.8k|                        wholeNumber = wholeNumber * 10 + (ppToken->name[i] - '0');
  200|  44.6k|                }
  201|  8.78k|            }
  202|  12.3k|            decimalShift = firstDecimal - endNonZeroDecimal;
  203|  12.3k|        }
  204|  16.3k|    }
  205|       |
  206|       |    // Exponent:
  207|  83.6k|    bool negativeExponent = false;
  208|  83.6k|    double exponentValue = 0.0;
  209|  83.6k|    int exponent = 0;
  210|  83.6k|    {
  211|  83.6k|        if (ch == 'e' || ch == 'E') {
  ------------------
  |  Branch (211:13): [True: 24.0k, False: 59.6k]
  |  Branch (211:26): [True: 19.6k, False: 39.9k]
  ------------------
  212|  43.6k|            hasDecimalOrExponent = true;
  213|  43.6k|            saveName(ch);
  214|  43.6k|            ch = getChar();
  215|  43.6k|            if (ch == '+' || ch == '-') {
  ------------------
  |  Branch (215:17): [True: 215, False: 43.4k]
  |  Branch (215:30): [True: 607, False: 42.8k]
  ------------------
  216|    822|                negativeExponent = ch == '-';
  217|    822|                saveName(ch);
  218|    822|                ch = getChar();
  219|    822|            }
  220|  43.6k|            if (ch >= '0' && ch <= '9') {
  ------------------
  |  Branch (220:17): [True: 30.3k, False: 13.3k]
  |  Branch (220:30): [True: 25.5k, False: 4.77k]
  ------------------
  221|   571k|                while (ch >= '0' && ch <= '9') {
  ------------------
  |  Branch (221:24): [True: 547k, False: 24.3k]
  |  Branch (221:37): [True: 546k, False: 1.14k]
  ------------------
  222|   546k|                    if (exponent < 500) {
  ------------------
  |  Branch (222:25): [True: 134k, False: 411k]
  ------------------
  223|   134k|                        exponent = exponent * 10 + (ch - '0');
  224|   134k|                    }
  225|   546k|                    saveName(ch);
  226|   546k|                    ch = getChar();
  227|   546k|                }
  228|  25.5k|            } else {
  229|  18.1k|                parseContext.ppError(ppToken->loc, "bad character in float exponent", "", "");
  230|  18.1k|            }
  231|  43.6k|        }
  232|       |
  233|       |        // Compensate for location of decimal
  234|  83.6k|        if (negativeExponent)
  ------------------
  |  Branch (234:13): [True: 607, False: 82.9k]
  ------------------
  235|    607|            exponent -= decimalShift;
  236|  82.9k|        else {
  237|  82.9k|            exponent += decimalShift;
  238|  82.9k|            if (exponent < 0) {
  ------------------
  |  Branch (238:17): [True: 11.7k, False: 71.2k]
  ------------------
  239|  11.7k|                negativeExponent = true;
  240|  11.7k|                exponent = -exponent;
  241|  11.7k|            }
  242|  82.9k|        }
  243|  83.6k|        if (exponent > 22)
  ------------------
  |  Branch (243:13): [True: 23.9k, False: 59.7k]
  ------------------
  244|  23.9k|            fastPath = false;
  245|       |
  246|  83.6k|        if (fastPath) {
  ------------------
  |  Branch (246:13): [True: 54.7k, False: 28.8k]
  ------------------
  247|       |            // Compute the floating-point value of the exponent
  248|  54.7k|            exponentValue = 1.0;
  249|  54.7k|            if (exponent > 0) {
  ------------------
  |  Branch (249:17): [True: 13.3k, False: 41.3k]
  ------------------
  250|  13.3k|                double expFactor = 10;
  251|  39.4k|                while (exponent > 0) {
  ------------------
  |  Branch (251:24): [True: 26.1k, False: 13.3k]
  ------------------
  252|  26.1k|                    if (exponent & 0x1)
  ------------------
  |  Branch (252:25): [True: 18.0k, False: 8.12k]
  ------------------
  253|  18.0k|                        exponentValue *= expFactor;
  254|  26.1k|                    expFactor *= expFactor;
  255|  26.1k|                    exponent >>= 1;
  256|  26.1k|                }
  257|  13.3k|            }
  258|  54.7k|        }
  259|  83.6k|    }
  260|       |
  261|       |    // Suffix:
  262|  83.6k|    bool isDouble = false;
  263|  83.6k|    bool isFloat16 = false;
  264|  83.6k|    bool isFE2M1 = false;
  265|  83.6k|    bool isFE3M2 = false;
  266|  83.6k|    bool isFE2M3 = false;
  267|  83.6k|    bool isFUE8M0 = false;
  268|  83.6k|    bool isFMXINT8 = false;
  269|  83.6k|    if (ch == 'l' || ch == 'L') {
  ------------------
  |  Branch (269:9): [True: 7, False: 83.5k]
  |  Branch (269:22): [True: 7, False: 83.5k]
  ------------------
  270|     14|        if (ifdepth == 0 && parseContext.intermediate.getSource() == EShSourceGlsl)
  ------------------
  |  Branch (270:13): [True: 14, False: 0]
  |  Branch (270:29): [True: 2, False: 12]
  ------------------
  271|      2|            parseContext.doubleCheck(ppToken->loc, "double floating-point suffix");
  272|     14|        if (ifdepth == 0 && !hasDecimalOrExponent)
  ------------------
  |  Branch (272:13): [True: 14, False: 0]
  |  Branch (272:29): [True: 0, False: 14]
  ------------------
  273|      0|            parseContext.ppError(ppToken->loc, "float literal needs a decimal point or exponent", "", "");
  274|     14|        if (parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (274:13): [True: 2, False: 12]
  ------------------
  275|      2|            int ch2 = getChar();
  276|      2|            if (ch2 != 'f' && ch2 != 'F') {
  ------------------
  |  Branch (276:17): [True: 2, False: 0]
  |  Branch (276:31): [True: 2, False: 0]
  ------------------
  277|      2|                ungetChar();
  278|      2|                ungetChar();
  279|      2|            } else {
  280|      0|                saveName(ch);
  281|      0|                saveName(ch2);
  282|      0|                isDouble = true;
  283|      0|            }
  284|     12|        } else if (parseContext.intermediate.getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (284:20): [True: 12, False: 0]
  ------------------
  285|     12|            saveName(ch);
  286|     12|            isDouble = true;
  287|     12|        }
  288|  83.5k|    } else if (ch == 'h' || ch == 'H') {
  ------------------
  |  Branch (288:16): [True: 1.26k, False: 82.3k]
  |  Branch (288:29): [True: 97, False: 82.2k]
  ------------------
  289|  1.35k|        if (ifdepth == 0 && parseContext.intermediate.getSource() == EShSourceGlsl)
  ------------------
  |  Branch (289:13): [True: 1.35k, False: 0]
  |  Branch (289:29): [True: 1.26k, False: 95]
  ------------------
  290|  1.26k|            parseContext.float16Check(ppToken->loc, "half floating-point suffix");
  291|  1.35k|        if (ifdepth == 0 && !hasDecimalOrExponent)
  ------------------
  |  Branch (291:13): [True: 1.35k, False: 0]
  |  Branch (291:29): [True: 1.35k, False: 7]
  ------------------
  292|  1.35k|            parseContext.ppError(ppToken->loc, "float literal needs a decimal point or exponent", "", "");
  293|  1.35k|        if (parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (293:13): [True: 1.26k, False: 95]
  ------------------
  294|  1.26k|            int ch2 = getChar();
  295|  1.26k|            if (ch2 != 'f' && ch2 != 'F') {
  ------------------
  |  Branch (295:17): [True: 1.26k, False: 0]
  |  Branch (295:31): [True: 1.26k, False: 0]
  ------------------
  296|  1.26k|                ungetChar();
  297|  1.26k|                ungetChar();
  298|  1.26k|            } else {
  299|      0|                saveName(ch);
  300|      0|                saveName(ch2);
  301|      0|                isFloat16 = true;
  302|      0|            }
  303|  1.26k|        } else if (parseContext.intermediate.getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (303:20): [True: 95, False: 0]
  ------------------
  304|     95|            saveName(ch);
  305|     95|            isFloat16 = true;
  306|     95|        }
  307|  1.35k|    } else
  308|  82.2k|    if (ch == 'f' || ch == 'F') {
  ------------------
  |  Branch (308:9): [True: 23.3k, False: 58.8k]
  |  Branch (308:22): [True: 588, False: 58.2k]
  ------------------
  309|  23.9k|        if (ifdepth == 0)
  ------------------
  |  Branch (309:13): [True: 23.9k, False: 0]
  ------------------
  310|  23.9k|            parseContext.profileRequires(ppToken->loc,  EEsProfile, 300, nullptr, "floating-point suffix");
  311|  23.9k|        if (ifdepth == 0 && !parseContext.relaxedErrors())
  ------------------
  |  Branch (311:13): [True: 23.9k, False: 0]
  |  Branch (311:29): [True: 23.9k, False: 0]
  ------------------
  312|  23.9k|            parseContext.profileRequires(ppToken->loc, ~EEsProfile, 120, nullptr, "floating-point suffix");
  313|  23.9k|        if (ifdepth == 0 && !hasDecimalOrExponent)
  ------------------
  |  Branch (313:13): [True: 23.9k, False: 0]
  |  Branch (313:29): [True: 23.9k, False: 37]
  ------------------
  314|  23.9k|            parseContext.ppError(ppToken->loc, "float literal needs a decimal point or exponent", "", "");
  315|  23.9k|        saveName(ch);
  316|       |
  317|  23.9k|        auto const &try_str = [&](const char *str, size_t numChar) {
  318|  23.9k|            size_t counter = 0;
  319|  23.9k|            for (size_t i = 0; i < numChar; ++i) {
  320|  23.9k|                if (getChar() != str[i]) {
  321|  23.9k|                    break;
  322|  23.9k|                }
  323|  23.9k|                counter++;
  324|  23.9k|            }
  325|  23.9k|            if (counter == numChar) {
  326|  23.9k|                for (size_t i = 0; i < numChar; ++i) {
  327|  23.9k|                    saveName(str[i]);
  328|  23.9k|                }
  329|  23.9k|                return true;
  330|  23.9k|            } else {
  331|       |                // called getChar one more than counter times
  332|  23.9k|                counter++;
  333|  23.9k|                while (counter) {
  334|  23.9k|                    ungetChar();
  335|  23.9k|                    counter--;
  336|  23.9k|                }
  337|  23.9k|                return false;
  338|  23.9k|            }
  339|  23.9k|        };
  340|       |
  341|  23.9k|        if (ch == 'f') {
  ------------------
  |  Branch (341:13): [True: 23.3k, False: 588]
  ------------------
  342|  23.3k|            if (try_str("e2m1", 4)) {
  ------------------
  |  Branch (342:17): [True: 0, False: 23.3k]
  ------------------
  343|      0|                isFE2M1 = true;
  344|  23.3k|            } else if (try_str("e3m2", 4)) {
  ------------------
  |  Branch (344:24): [True: 0, False: 23.3k]
  ------------------
  345|      0|                isFE3M2 = true;
  346|  23.3k|            } else if (try_str("e2m3", 4)) {
  ------------------
  |  Branch (346:24): [True: 0, False: 23.3k]
  ------------------
  347|      0|                isFE2M3 = true;
  348|  23.3k|            } else if (try_str("ue8m0", 5)) {
  ------------------
  |  Branch (348:24): [True: 0, False: 23.3k]
  ------------------
  349|      0|                isFUE8M0 = true;
  350|  23.3k|            } else if (try_str("mxint8", 6)) {
  ------------------
  |  Branch (350:24): [True: 0, False: 23.3k]
  ------------------
  351|      0|                isFMXINT8 = true;
  352|      0|            }
  353|  23.3k|        }
  354|  23.9k|    } else
  355|  58.2k|        ungetChar();
  356|       |
  357|       |    // Patch up the name and length for overflow
  358|       |
  359|  83.6k|    if (len > MaxTokenLength) {
  ------------------
  |  Branch (359:9): [True: 33, False: 83.5k]
  ------------------
  360|     33|        len = MaxTokenLength;
  361|     33|        parseContext.ppError(ppToken->loc, "float literal too long", "", "");
  362|     33|    }
  363|  83.6k|    ppToken->name[len] = '\0';
  364|       |
  365|       |    // Compute the numerical value
  366|  83.6k|    if (fastPath) {
  ------------------
  |  Branch (366:9): [True: 54.7k, False: 28.8k]
  ------------------
  367|       |        // compute the floating-point value of the exponent
  368|  54.7k|        if (exponentValue == 0.0)
  ------------------
  |  Branch (368:13): [True: 0, False: 54.7k]
  ------------------
  369|      0|            ppToken->dval = (double)wholeNumber;
  370|  54.7k|        else if (negativeExponent)
  ------------------
  |  Branch (370:18): [True: 8.35k, False: 46.3k]
  ------------------
  371|  8.35k|            ppToken->dval = (double)wholeNumber / exponentValue;
  372|  46.3k|        else
  373|  46.3k|            ppToken->dval = (double)wholeNumber * exponentValue;
  374|  54.7k|    } else {
  375|       |        // slow path
  376|  28.8k|        ppToken->dval = 0.0;
  377|       |
  378|       |        // remove suffix
  379|  28.8k|        TString numstr(ppToken->name);
  380|  28.8k|        if (numstr.back() == 'f' || numstr.back() == 'F')
  ------------------
  |  Branch (380:13): [True: 473, False: 28.3k]
  |  Branch (380:37): [True: 296, False: 28.1k]
  ------------------
  381|    769|            numstr.pop_back();
  382|  28.8k|        if (numstr.back() == 'h' || numstr.back() == 'H')
  ------------------
  |  Branch (382:13): [True: 0, False: 28.8k]
  |  Branch (382:37): [True: 0, False: 28.8k]
  ------------------
  383|      0|            numstr.pop_back();
  384|  28.8k|        if (numstr.back() == 'l' || numstr.back() == 'L')
  ------------------
  |  Branch (384:13): [True: 6, False: 28.8k]
  |  Branch (384:37): [True: 0, False: 28.8k]
  ------------------
  385|      6|            numstr.pop_back();
  386|       |
  387|       |        // use platform library
  388|  28.8k|        strtodStream.clear();
  389|  28.8k|        strtodStream.str(numstr.c_str());
  390|  28.8k|        strtodStream >> ppToken->dval;
  391|  28.8k|        if (strtodStream.fail()) {
  ------------------
  |  Branch (391:13): [True: 1.43k, False: 27.4k]
  ------------------
  392|       |            // Assume failure combined with a large exponent was overflow, in
  393|       |            // an attempt to set INF.
  394|  1.43k|            if (!negativeExponent && exponent + numWholeNumberDigits > 300)
  ------------------
  |  Branch (394:17): [True: 996, False: 442]
  |  Branch (394:38): [True: 899, False: 97]
  ------------------
  395|    899|                ppToken->i64val = 0x7ff0000000000000; // +Infinity
  396|       |            // Assume failure combined with a small exponent was overflow.
  397|  1.43k|            if (negativeExponent && exponent + numWholeNumberDigits > 300)
  ------------------
  |  Branch (397:17): [True: 442, False: 996]
  |  Branch (397:37): [True: 436, False: 6]
  ------------------
  398|    436|                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|  1.43k|        }
  403|  28.8k|    }
  404|       |
  405|       |    // Return the right token type
  406|  83.6k|    if (isDouble)
  ------------------
  |  Branch (406:9): [True: 12, False: 83.5k]
  ------------------
  407|     12|        return PpAtomConstDouble;
  408|  83.5k|    else if (isFloat16)
  ------------------
  |  Branch (408:14): [True: 95, False: 83.4k]
  ------------------
  409|     95|        return PpAtomConstFloat16;
  410|  83.4k|    else if (isFE2M1)
  ------------------
  |  Branch (410:14): [True: 0, False: 83.4k]
  ------------------
  411|      0|        return PpAtomConstFloatE2M1;
  412|  83.4k|    else if (isFE3M2)
  ------------------
  |  Branch (412:14): [True: 0, False: 83.4k]
  ------------------
  413|      0|        return PpAtomConstFloatE3M2;
  414|  83.4k|    else if (isFE2M3)
  ------------------
  |  Branch (414:14): [True: 0, False: 83.4k]
  ------------------
  415|      0|        return PpAtomConstFloatE2M3;
  416|  83.4k|    else if (isFUE8M0)
  ------------------
  |  Branch (416:14): [True: 0, False: 83.4k]
  ------------------
  417|      0|        return PpAtomConstFloatUE8M0;
  418|  83.4k|    else if (isFMXINT8)
  ------------------
  |  Branch (418:14): [True: 0, False: 83.4k]
  ------------------
  419|      0|        return PpAtomConstFloatMXINT8;
  420|  83.4k|    else
  421|  83.4k|        return PpAtomConstFloat;
  422|  83.6k|}
_ZN7glslang10TPpContext16characterLiteralEPNS_8TPpTokenE:
  431|   161k|{
  432|   161k|    ppToken->name[0] = 0;
  433|   161k|    ppToken->ival = 0;
  434|       |
  435|   161k|    if (parseContext.intermediate.getSource() != EShSourceHlsl) {
  ------------------
  |  Branch (435:9): [True: 40.3k, False: 121k]
  ------------------
  436|       |        // illegal, except in macro definition, for which case we report the character
  437|  40.3k|        return '\'';
  438|  40.3k|    }
  439|       |
  440|   121k|    int ch = getChar();
  441|   121k|    switch (ch) {
  442|  96.3k|    case '\'':
  ------------------
  |  Branch (442:5): [True: 96.3k, False: 24.9k]
  ------------------
  443|       |        // As empty sequence:  ''
  444|  96.3k|        parseContext.ppError(ppToken->loc, "unexpected", "\'", "");
  445|  96.3k|        return PpAtomConstInt;
  446|      0|    case '\\':
  ------------------
  |  Branch (446:5): [True: 0, False: 121k]
  ------------------
  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|  24.9k|    default:
  ------------------
  |  Branch (482:5): [True: 24.9k, False: 96.3k]
  ------------------
  483|  24.9k|        ppToken->ival = ch;
  484|  24.9k|        break;
  485|   121k|    }
  486|  24.9k|    ppToken->name[0] = (char)ppToken->ival;
  487|  24.9k|    ppToken->name[1] = '\0';
  488|  24.9k|    ch = getChar();
  489|  24.9k|    if (ch != '\'') {
  ------------------
  |  Branch (489:9): [True: 15.8k, False: 9.10k]
  ------------------
  490|  15.8k|        parseContext.ppError(ppToken->loc, "expected", "\'", "");
  491|       |        // Look ahead for a closing '
  492|   219k|        do {
  493|   219k|            ch = getChar();
  494|   219k|        } while (ch != '\'' && ch != EndOfInput && ch != '\n');
  ------------------
  |  Branch (494:18): [True: 204k, False: 15.5k]
  |  Branch (494:32): [True: 204k, False: 0]
  |  Branch (494:52): [True: 204k, False: 263]
  ------------------
  495|  15.8k|    }
  496|       |
  497|  24.9k|    return PpAtomConstInt;
  498|   121k|}
_ZN7glslang10TPpContext12tStringInput4scanEPNS_8TPpTokenE:
  512|  46.5M|{
  513|  46.5M|    int AlreadyComplained = 0;
  514|  46.5M|    int len = 0;
  515|  46.5M|    int ch = 0;
  516|  46.5M|    int ii = 0;
  517|  46.5M|    unsigned long long ival = 0;
  518|  46.5M|    const auto floatingPointChar = [&](int ch) { return ch == '.' || ch == 'e' || ch == 'E' ||
  519|  46.5M|                                                                     ch == 'f' || ch == 'F' ||
  520|  46.5M|                                                                     ch == 'h' || ch == 'H'; };
  521|       |
  522|  46.5M|    static const char* const Int64_Extensions[] = {
  523|  46.5M|        E_GL_ARB_gpu_shader_int64,
  524|  46.5M|        E_GL_EXT_shader_explicit_arithmetic_types,
  525|  46.5M|        E_GL_NV_gpu_shader5,
  526|  46.5M|        E_GL_EXT_shader_explicit_arithmetic_types_int64 };
  527|  46.5M|    static const int Num_Int64_Extensions = sizeof(Int64_Extensions) / sizeof(Int64_Extensions[0]);
  528|       |
  529|  46.5M|    static const char* const Int16_Extensions[] = {
  530|  46.5M|        E_GL_AMD_gpu_shader_int16,
  531|  46.5M|        E_GL_EXT_shader_explicit_arithmetic_types,
  532|  46.5M|        E_GL_EXT_shader_explicit_arithmetic_types_int16 };
  533|  46.5M|    static const int Num_Int16_Extensions = sizeof(Int16_Extensions) / sizeof(Int16_Extensions[0]);
  534|       |
  535|  46.5M|    ppToken->clear();
  536|  46.5M|    ch = getch();
  537|  46.5M|    for (;;) {
  538|  51.3M|        while (ch == ' ' || ch == '\t') {
  ------------------
  |  Branch (538:16): [True: 4.34M, False: 46.9M]
  |  Branch (538:29): [True: 424k, False: 46.5M]
  ------------------
  539|  4.77M|            ppToken->space = true;
  540|  4.77M|            ch = getch();
  541|  4.77M|        }
  542|       |
  543|  46.5M|        ppToken->loc = pp->parseContext.getCurrentLoc();
  544|  46.5M|        len = 0;
  545|  46.5M|        switch (ch) {
  546|  37.7M|        default:
  ------------------
  |  Branch (546:9): [True: 37.7M, False: 8.79M]
  ------------------
  547|       |            // Single character token, including EndOfInput, '#' and '\' (escaped newlines are handled at a lower level, so this is just a '\' token)
  548|  37.7M|            if (ch > PpAtomMaxSingle)
  ------------------
  |  Branch (548:17): [True: 6.61M, False: 31.1M]
  ------------------
  549|  6.61M|                ch = PpAtomBadToken;
  550|  37.7M|            return ch;
  551|       |
  552|   103k|        case 'A': case 'B': case 'C': case 'D': case 'E':
  ------------------
  |  Branch (552:9): [True: 4.53k, False: 46.5M]
  |  Branch (552:19): [True: 6.48k, False: 46.5M]
  |  Branch (552:29): [True: 73.8k, False: 46.4M]
  |  Branch (552:39): [True: 6.59k, False: 46.5M]
  |  Branch (552:49): [True: 12.4k, False: 46.5M]
  ------------------
  553|   250k|        case 'F': case 'G': case 'H': case 'I': case 'J':
  ------------------
  |  Branch (553:9): [True: 3.02k, False: 46.5M]
  |  Branch (553:19): [True: 39.5k, False: 46.4M]
  |  Branch (553:29): [True: 3.19k, False: 46.5M]
  |  Branch (553:39): [True: 99.3k, False: 46.4M]
  |  Branch (553:49): [True: 1.82k, False: 46.5M]
  ------------------
  554|   277k|        case 'K': case 'L': case 'M': case 'N': case 'O':
  ------------------
  |  Branch (554:9): [True: 3.27k, False: 46.5M]
  |  Branch (554:19): [True: 2.97k, False: 46.5M]
  |  Branch (554:29): [True: 13.9k, False: 46.5M]
  |  Branch (554:39): [True: 4.78k, False: 46.5M]
  |  Branch (554:49): [True: 1.79k, False: 46.5M]
  ------------------
  555|   881k|        case 'P': case 'Q': case 'R': case 'S': case 'T':
  ------------------
  |  Branch (555:9): [True: 10.7k, False: 46.5M]
  |  Branch (555:19): [True: 7.88k, False: 46.5M]
  |  Branch (555:29): [True: 6.75k, False: 46.5M]
  |  Branch (555:39): [True: 535k, False: 46.0M]
  |  Branch (555:49): [True: 43.5k, False: 46.4M]
  ------------------
  556|   919k|        case 'U': case 'V': case 'W': case 'X': case 'Y':
  ------------------
  |  Branch (556:9): [True: 3.71k, False: 46.5M]
  |  Branch (556:19): [True: 12.5k, False: 46.5M]
  |  Branch (556:29): [True: 12.6k, False: 46.5M]
  |  Branch (556:39): [True: 2.58k, False: 46.5M]
  |  Branch (556:49): [True: 5.97k, False: 46.5M]
  ------------------
  557|   962k|        case 'Z': case '_':
  ------------------
  |  Branch (557:9): [True: 1.84k, False: 46.5M]
  |  Branch (557:19): [True: 40.8k, False: 46.4M]
  ------------------
  558|  1.53M|        case 'a': case 'b': case 'c': case 'd': case 'e':
  ------------------
  |  Branch (558:9): [True: 131k, False: 46.4M]
  |  Branch (558:19): [True: 171k, False: 46.3M]
  |  Branch (558:29): [True: 139k, False: 46.3M]
  |  Branch (558:39): [True: 102k, False: 46.4M]
  |  Branch (558:49): [True: 28.4k, False: 46.5M]
  ------------------
  559|  3.03M|        case 'f': case 'g': case 'h': case 'i': case 'j':
  ------------------
  |  Branch (559:9): [True: 450k, False: 46.0M]
  |  Branch (559:19): [True: 21.1k, False: 46.5M]
  |  Branch (559:29): [True: 113k, False: 46.4M]
  |  Branch (559:39): [True: 909k, False: 45.6M]
  |  Branch (559:49): [True: 574, False: 46.5M]
  ------------------
  560|  3.54M|        case 'k': case 'l': case 'm': case 'n': case 'o':
  ------------------
  |  Branch (560:9): [True: 1.43k, False: 46.5M]
  |  Branch (560:19): [True: 15.7k, False: 46.5M]
  |  Branch (560:29): [True: 59.3k, False: 46.4M]
  |  Branch (560:39): [True: 375k, False: 46.1M]
  |  Branch (560:49): [True: 62.4k, False: 46.4M]
  ------------------
  561|  4.18M|        case 'p': case 'q': case 'r': case 's': case 't':
  ------------------
  |  Branch (561:9): [True: 66.1k, False: 46.4M]
  |  Branch (561:19): [True: 10.1k, False: 46.5M]
  |  Branch (561:29): [True: 55.5k, False: 46.4M]
  |  Branch (561:39): [True: 380k, False: 46.1M]
  |  Branch (561:49): [True: 132k, False: 46.4M]
  ------------------
  562|  5.32M|        case 'u': case 'v': case 'w': case 'x': case 'y':
  ------------------
  |  Branch (562:9): [True: 708k, False: 45.8M]
  |  Branch (562:19): [True: 391k, False: 46.1M]
  |  Branch (562:29): [True: 8.46k, False: 46.5M]
  |  Branch (562:39): [True: 2.92k, False: 46.5M]
  |  Branch (562:49): [True: 18.9k, False: 46.5M]
  ------------------
  563|  5.33M|        case 'z':
  ------------------
  |  Branch (563:9): [True: 9.43k, False: 46.5M]
  ------------------
  564|  38.8M|            do {
  565|  38.8M|                if (len < MaxTokenLength) {
  ------------------
  |  Branch (565:21): [True: 37.1M, False: 1.69M]
  ------------------
  566|  37.1M|                    ppToken->name[len++] = (char)ch;
  567|  37.1M|                    ch = getch();
  568|  37.1M|                } else {
  569|  1.69M|                    if (! AlreadyComplained) {
  ------------------
  |  Branch (569:25): [True: 382, False: 1.69M]
  ------------------
  570|    382|                        pp->parseContext.ppError(ppToken->loc, "name too long", "", "");
  571|    382|                        AlreadyComplained = 1;
  572|    382|                    }
  573|  1.69M|                    ch = getch();
  574|  1.69M|                }
  575|  38.8M|            } while ((ch >= 'a' && ch <= 'z') ||
  ------------------
  |  Branch (575:23): [True: 25.1M, False: 13.6M]
  |  Branch (575:36): [True: 25.1M, False: 78.8k]
  ------------------
  576|  13.7M|                     (ch >= 'A' && ch <= 'Z') ||
  ------------------
  |  Branch (576:23): [True: 4.08M, False: 9.61M]
  |  Branch (576:36): [True: 3.22M, False: 867k]
  ------------------
  577|  10.4M|                     (ch >= '0' && ch <= '9') ||
  ------------------
  |  Branch (577:23): [True: 5.83M, False: 4.65M]
  |  Branch (577:36): [True: 4.64M, False: 1.18M]
  ------------------
  578|  5.83M|                     ch == '_');
  ------------------
  |  Branch (578:22): [True: 508k, False: 5.33M]
  ------------------
  579|       |
  580|       |            // line continuation with no token before or after makes len == 0, and need to start over skipping white space, etc.
  581|  5.33M|            if (len == 0)
  ------------------
  |  Branch (581:17): [True: 0, False: 5.33M]
  ------------------
  582|      0|                continue;
  583|       |
  584|  5.33M|            ppToken->name[len] = '\0';
  585|  5.33M|            ungetch();
  586|  5.33M|            return PpAtomIdentifier;
  587|  50.7k|        case '0':
  ------------------
  |  Branch (587:9): [True: 50.7k, False: 46.4M]
  ------------------
  588|  50.7k|            ppToken->name[len++] = (char)ch;
  589|  50.7k|            ch = getch();
  590|  50.7k|            if (ch == 'x' || ch == 'X') {
  ------------------
  |  Branch (590:17): [True: 1.49k, False: 49.3k]
  |  Branch (590:30): [True: 108, False: 49.1k]
  ------------------
  591|       |                // must be hexadecimal
  592|       |
  593|  1.59k|                bool isUnsigned = false;
  594|  1.59k|                bool isInt64 = false;
  595|  1.59k|                bool isInt16 = false;
  596|  1.59k|                ppToken->name[len++] = (char)ch;
  597|  1.59k|                ch = getch();
  598|  1.59k|                if ((ch >= '0' && ch <= '9') ||
  ------------------
  |  Branch (598:22): [True: 1.22k, False: 378]
  |  Branch (598:35): [True: 402, False: 818]
  ------------------
  599|  1.19k|                    (ch >= 'A' && ch <= 'F') ||
  ------------------
  |  Branch (599:22): [True: 753, False: 443]
  |  Branch (599:35): [True: 742, False: 11]
  ------------------
  600|  1.14k|                    (ch >= 'a' && ch <= 'f')) {
  ------------------
  |  Branch (600:22): [True: 3, False: 451]
  |  Branch (600:35): [True: 0, False: 3]
  ------------------
  601|       |
  602|  1.14k|                    ival = 0;
  603|  2.07k|                    do {
  604|  2.07k|                        if (len < MaxTokenLength && ival <= 0x7fffffffffffffffull) {
  ------------------
  |  Branch (604:29): [True: 2.07k, False: 0]
  |  Branch (604:53): [True: 2.07k, False: 0]
  ------------------
  605|  2.07k|                            ppToken->name[len++] = (char)ch;
  606|  2.07k|                            if (ch >= '0' && ch <= '9') {
  ------------------
  |  Branch (606:33): [True: 2.07k, False: 0]
  |  Branch (606:46): [True: 886, False: 1.19k]
  ------------------
  607|    886|                                ii = ch - '0';
  608|  1.19k|                            } else if (ch >= 'A' && ch <= 'F') {
  ------------------
  |  Branch (608:40): [True: 1.19k, False: 0]
  |  Branch (608:53): [True: 922, False: 270]
  ------------------
  609|    922|                                ii = ch - 'A' + 10;
  610|    922|                            } else if (ch >= 'a' && ch <= 'f') {
  ------------------
  |  Branch (610:40): [True: 270, False: 0]
  |  Branch (610:53): [True: 270, False: 0]
  ------------------
  611|    270|                                ii = ch - 'a' + 10;
  612|    270|                            } else
  613|      0|                                pp->parseContext.ppError(ppToken->loc, "bad digit in hexadecimal literal", "", "");
  614|  2.07k|                            ival = (ival << 4) | ii;
  615|  2.07k|                        } else {
  616|      0|                            if (! AlreadyComplained) {
  ------------------
  |  Branch (616:33): [True: 0, False: 0]
  ------------------
  617|      0|                                if(len < MaxTokenLength)
  ------------------
  |  Branch (617:36): [True: 0, False: 0]
  ------------------
  618|      0|                                    pp->parseContext.ppError(ppToken->loc, "hexadecimal literal too big", "", "");
  619|      0|                                else
  620|      0|                                    pp->parseContext.ppError(ppToken->loc, "hexadecimal literal too long", "", "");
  621|      0|                                AlreadyComplained = 1;
  622|      0|                            }
  623|      0|                            ival = 0xffffffffffffffffull;
  624|      0|                        }
  625|  2.07k|                        ch = getch();
  626|  2.07k|                    } while ((ch >= '0' && ch <= '9') ||
  ------------------
  |  Branch (626:31): [True: 1.42k, False: 655]
  |  Branch (626:44): [True: 484, False: 939]
  ------------------
  627|  1.59k|                             (ch >= 'A' && ch <= 'F') ||
  ------------------
  |  Branch (627:31): [True: 652, False: 942]
  |  Branch (627:44): [True: 180, False: 472]
  ------------------
  628|  1.41k|                             (ch >= 'a' && ch <= 'f'));
  ------------------
  |  Branch (628:31): [True: 442, False: 972]
  |  Branch (628:44): [True: 270, False: 172]
  ------------------
  629|  1.14k|                } else {
  630|    454|                    pp->parseContext.ppError(ppToken->loc, "bad digit in hexadecimal literal", "", "");
  631|    454|                }
  632|  1.59k|                if (ch == 'u' || ch == 'U') {
  ------------------
  |  Branch (632:21): [True: 2, False: 1.59k]
  |  Branch (632:34): [True: 22, False: 1.57k]
  ------------------
  633|     24|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (633:25): [True: 24, False: 0]
  ------------------
  634|     24|                        ppToken->name[len++] = (char)ch;
  635|     24|                    isUnsigned = true;
  636|       |
  637|     24|                    int nextCh = getch();
  638|     24|                    if (nextCh == 'l' || nextCh == 'L') {
  ------------------
  |  Branch (638:25): [True: 2, False: 22]
  |  Branch (638:42): [True: 0, False: 22]
  ------------------
  639|      2|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (639:29): [True: 2, False: 0]
  ------------------
  640|      2|                            ppToken->name[len++] = (char)nextCh;
  641|      2|                        isInt64 = true;
  642|      2|                    } else
  643|     22|                        ungetch();
  644|       |
  645|     24|                    nextCh = getch();
  646|     24|                    if ((nextCh == 's' || nextCh == 'S') &&
  ------------------
  |  Branch (646:26): [True: 0, False: 24]
  |  Branch (646:43): [True: 0, False: 24]
  ------------------
  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|     24|                        ungetch();
  653|  1.57k|                } else if (ch == 'l' || ch == 'L') {
  ------------------
  |  Branch (653:28): [True: 5, False: 1.56k]
  |  Branch (653:41): [True: 0, False: 1.56k]
  ------------------
  654|      5|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (654:25): [True: 5, False: 0]
  ------------------
  655|      5|                        ppToken->name[len++] = (char)ch;
  656|      5|                    isInt64 = true;
  657|  1.56k|                } else if ((ch == 's' || ch == 'S') &&
  ------------------
  |  Branch (657:29): [True: 0, False: 1.56k]
  |  Branch (657:42): [True: 6, False: 1.56k]
  ------------------
  658|      6|                           pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (658:28): [True: 0, False: 6]
  ------------------
  659|      0|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (659:25): [True: 0, False: 0]
  ------------------
  660|      0|                        ppToken->name[len++] = (char)ch;
  661|      0|                    isInt16 = true;
  662|      0|                } else
  663|  1.56k|                    ungetch();
  664|  1.59k|                ppToken->name[len] = '\0';
  665|       |
  666|  1.59k|                if (isInt64 && pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (666:21): [True: 7, False: 1.59k]
  |  Branch (666:32): [True: 4, False: 3]
  ------------------
  667|      4|                    if (pp->ifdepth == 0) {
  ------------------
  |  Branch (667:25): [True: 4, False: 0]
  ------------------
  668|      4|                        pp->parseContext.requireProfile(ppToken->loc, ~EEsProfile,
  669|      4|                                                        "64-bit hexadecimal literal");
  670|      4|                        pp->parseContext.profileRequires(ppToken->loc, ~EEsProfile, 0,
  671|      4|                            Num_Int64_Extensions, Int64_Extensions, "64-bit hexadecimal literal");
  672|      4|                    }
  673|      4|                    ppToken->i64val = ival;
  674|      4|                    return isUnsigned ? PpAtomConstUint64 : PpAtomConstInt64;
  ------------------
  |  Branch (674:28): [True: 2, False: 2]
  ------------------
  675|  1.59k|                } else if (isInt16) {
  ------------------
  |  Branch (675:28): [True: 0, False: 1.59k]
  ------------------
  676|      0|                    if (pp->ifdepth == 0) {
  ------------------
  |  Branch (676:25): [True: 0, False: 0]
  ------------------
  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|      0|                    ppToken->ival = (int)ival;
  685|      0|                    return isUnsigned ? PpAtomConstUint16 : PpAtomConstInt16;
  ------------------
  |  Branch (685:28): [True: 0, False: 0]
  ------------------
  686|  1.59k|                } else {
  687|  1.59k|                    if (ival > 0xffffffffu && !AlreadyComplained)
  ------------------
  |  Branch (687:25): [True: 39, False: 1.55k]
  |  Branch (687:47): [True: 39, False: 0]
  ------------------
  688|     39|                        pp->parseContext.ppError(ppToken->loc, "hexadecimal literal too big", "", "");
  689|  1.59k|                    ppToken->ival = (int)ival;
  690|  1.59k|                    return isUnsigned ? PpAtomConstUint : PpAtomConstInt;
  ------------------
  |  Branch (690:28): [True: 22, False: 1.57k]
  ------------------
  691|  1.59k|                }
  692|  49.1k|            } else if ((ch == 'b' || ch == 'B') && pp->parseContext.intermediate.getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (692:25): [True: 6, False: 49.1k]
  |  Branch (692:38): [True: 0, False: 49.1k]
  |  Branch (692:52): [True: 0, False: 6]
  ------------------
  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|  49.1k|            } else {
  795|       |                // could be octal integer or floating point, speculative pursue octal until it must be floating point
  796|       |
  797|  49.1k|                bool isUnsigned = false;
  798|  49.1k|                bool isInt64 = false;
  799|  49.1k|                bool isInt16 = false;
  800|  49.1k|                bool octalOverflow = false;
  801|  49.1k|                bool nonOctal = false;
  802|  49.1k|                ival = 0;
  803|       |
  804|       |                // see how much octal-like stuff we can read
  805|  1.77M|                while (ch >= '0' && ch <= '7') {
  ------------------
  |  Branch (805:24): [True: 1.73M, False: 32.4k]
  |  Branch (805:37): [True: 1.72M, False: 16.7k]
  ------------------
  806|  1.72M|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (806:25): [True: 378k, False: 1.34M]
  ------------------
  807|   378k|                        ppToken->name[len++] = (char)ch;
  808|  1.34M|                    else if (! AlreadyComplained) {
  ------------------
  |  Branch (808:30): [True: 224, False: 1.34M]
  ------------------
  809|    224|                        pp->parseContext.ppError(ppToken->loc, "numeric literal too long", "", "");
  810|    224|                        AlreadyComplained = 1;
  811|    224|                    }
  812|  1.72M|                    if (ival <= 0x1fffffffffffffffull) {
  ------------------
  |  Branch (812:25): [True: 1.61M, False: 107k]
  ------------------
  813|  1.61M|                        ii = ch - '0';
  814|  1.61M|                        ival = (ival << 3) | ii;
  815|  1.61M|                    } else
  816|   107k|                        octalOverflow = true;
  817|  1.72M|                    ch = getch();
  818|  1.72M|                }
  819|       |
  820|       |                // could be part of a float...
  821|  49.1k|                if (ch == '8' || ch == '9') {
  ------------------
  |  Branch (821:21): [True: 1.19k, False: 47.9k]
  |  Branch (821:34): [True: 1.00k, False: 46.9k]
  ------------------
  822|  2.20k|                    nonOctal = true;
  823|   151k|                    do {
  824|   151k|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (824:29): [True: 45.0k, False: 106k]
  ------------------
  825|  45.0k|                            ppToken->name[len++] = (char)ch;
  826|   106k|                        else if (! AlreadyComplained) {
  ------------------
  |  Branch (826:34): [True: 33, False: 106k]
  ------------------
  827|     33|                            pp->parseContext.ppError(ppToken->loc, "numeric literal too long", "", "");
  828|     33|                            AlreadyComplained = 1;
  829|     33|                        }
  830|   151k|                        ch = getch();
  831|   151k|                    } while (ch >= '0' && ch <= '9');
  ------------------
  |  Branch (831:30): [True: 149k, False: 1.85k]
  |  Branch (831:43): [True: 149k, False: 346]
  ------------------
  832|  2.20k|                }
  833|  49.1k|                if (floatingPointChar(ch))
  ------------------
  |  Branch (833:21): [True: 2.90k, False: 46.2k]
  ------------------
  834|  2.90k|                    return pp->lFloatConst(len, ch, ppToken);
  835|       |
  836|       |                // wasn't a float, so must be octal...
  837|  46.2k|                if (nonOctal)
  ------------------
  |  Branch (837:21): [True: 1.63k, False: 44.6k]
  ------------------
  838|  1.63k|                    pp->parseContext.ppError(ppToken->loc, "octal literal digit too large", "", "");
  839|       |
  840|  46.2k|                if (ch == 'u' || ch == 'U') {
  ------------------
  |  Branch (840:21): [True: 2, False: 46.2k]
  |  Branch (840:34): [True: 338, False: 45.9k]
  ------------------
  841|    340|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (841:25): [True: 327, False: 13]
  ------------------
  842|    327|                        ppToken->name[len++] = (char)ch;
  843|    340|                    isUnsigned = true;
  844|       |
  845|    340|                    int nextCh = getch();
  846|    340|                    if (nextCh == 'l' || nextCh == 'L') {
  ------------------
  |  Branch (846:25): [True: 3, False: 337]
  |  Branch (846:42): [True: 1, False: 336]
  ------------------
  847|      4|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (847:29): [True: 4, False: 0]
  ------------------
  848|      4|                            ppToken->name[len++] = (char)nextCh;
  849|      4|                        isInt64 = true;
  850|      4|                    } else
  851|    336|                        ungetch();
  852|       |
  853|    340|                    nextCh = getch();
  854|    340|                    if ((nextCh == 's' || nextCh == 'S') &&
  ------------------
  |  Branch (854:26): [True: 0, False: 340]
  |  Branch (854:43): [True: 3, False: 337]
  ------------------
  855|      3|                                pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (855:33): [True: 0, False: 3]
  ------------------
  856|      0|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (856:29): [True: 0, False: 0]
  ------------------
  857|      0|                            ppToken->name[len++] = (char)nextCh;
  858|      0|                        isInt16 = true;
  859|      0|                    } else
  860|    340|                        ungetch();
  861|  45.9k|                } else if (ch == 'l' || ch == 'L') {
  ------------------
  |  Branch (861:28): [True: 154, False: 45.7k]
  |  Branch (861:41): [True: 4, False: 45.7k]
  ------------------
  862|    158|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (862:25): [True: 157, False: 1]
  ------------------
  863|    157|                        ppToken->name[len++] = (char)ch;
  864|    158|                    isInt64 = true;
  865|  45.7k|                } else if ((ch == 's' || ch == 'S') &&
  ------------------
  |  Branch (865:29): [True: 146, False: 45.6k]
  |  Branch (865:42): [True: 800, False: 44.8k]
  ------------------
  866|    946|                                pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (866:33): [True: 522, False: 424]
  ------------------
  867|    522|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (867:25): [True: 522, False: 0]
  ------------------
  868|    522|                        ppToken->name[len++] = (char)ch;
  869|    522|                    isInt16 = true;
  870|    522|                } else
  871|  45.2k|                    ungetch();
  872|  46.2k|                ppToken->name[len] = '\0';
  873|       |
  874|  46.2k|                if (!isInt64 && ival > 0xffffffffu)
  ------------------
  |  Branch (874:21): [True: 46.1k, False: 162]
  |  Branch (874:33): [True: 159, False: 45.9k]
  ------------------
  875|    159|                    octalOverflow = true;
  876|       |
  877|  46.2k|                if (octalOverflow)
  ------------------
  |  Branch (877:21): [True: 160, False: 46.1k]
  ------------------
  878|    160|                    pp->parseContext.ppError(ppToken->loc, "octal literal too big", "", "");
  879|       |
  880|  46.2k|                if (isInt64 && pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (880:21): [True: 162, False: 46.1k]
  |  Branch (880:32): [True: 17, False: 145]
  ------------------
  881|     17|                    if (pp->ifdepth == 0) {
  ------------------
  |  Branch (881:25): [True: 17, False: 0]
  ------------------
  882|     17|                        pp->parseContext.requireProfile(ppToken->loc, ~EEsProfile,
  883|     17|                                                        "64-bit octal literal");
  884|     17|                        pp->parseContext.profileRequires(ppToken->loc, ~EEsProfile, 0,
  885|     17|                            Num_Int64_Extensions, Int64_Extensions, "64-bit octal literal");
  886|     17|                    }
  887|     17|                    ppToken->i64val = ival;
  888|     17|                    return isUnsigned ? PpAtomConstUint64 : PpAtomConstInt64;
  ------------------
  |  Branch (888:28): [True: 4, False: 13]
  ------------------
  889|  46.2k|                } else if (isInt16) {
  ------------------
  |  Branch (889:28): [True: 522, False: 45.7k]
  ------------------
  890|    522|                    if (pp->ifdepth == 0) {
  ------------------
  |  Branch (890:25): [True: 522, False: 0]
  ------------------
  891|    522|                        if (pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (891:29): [True: 522, False: 0]
  ------------------
  892|    522|                            pp->parseContext.requireProfile(ppToken->loc, ~EEsProfile,
  893|    522|                                                            "16-bit octal literal");
  894|    522|                            pp->parseContext.profileRequires(ppToken->loc, ~EEsProfile, 0,
  895|    522|                                Num_Int16_Extensions, Int16_Extensions, "16-bit octal literal");
  896|    522|                        }
  897|    522|                    }
  898|    522|                    ppToken->ival = (int)ival;
  899|    522|                    return isUnsigned ? PpAtomConstUint16 : PpAtomConstInt16;
  ------------------
  |  Branch (899:28): [True: 0, False: 522]
  ------------------
  900|  45.7k|                } else {
  901|  45.7k|                    ppToken->ival = (int)ival;
  902|  45.7k|                    return isUnsigned ? PpAtomConstUint : PpAtomConstInt;
  ------------------
  |  Branch (902:28): [True: 336, False: 45.4k]
  ------------------
  903|  45.7k|                }
  904|  46.2k|            }
  905|      0|            break;
  906|   768k|        case '1': case '2': case '3': case '4':
  ------------------
  |  Branch (906:9): [True: 552k, False: 45.9M]
  |  Branch (906:19): [True: 117k, False: 46.4M]
  |  Branch (906:29): [True: 71.1k, False: 46.4M]
  |  Branch (906:39): [True: 27.6k, False: 46.5M]
  ------------------
  907|  1.07M|        case '5': case '6': case '7': case '8': case '9':
  ------------------
  |  Branch (907:9): [True: 13.0k, False: 46.5M]
  |  Branch (907:19): [True: 7.06k, False: 46.5M]
  |  Branch (907:29): [True: 235k, False: 46.3M]
  |  Branch (907:39): [True: 24.9k, False: 46.5M]
  |  Branch (907:49): [True: 31.5k, False: 46.5M]
  ------------------
  908|       |            // can't be hexadecimal or octal, is either decimal or floating point
  909|       |
  910|  4.06M|            do {
  911|  4.06M|                if (len < MaxTokenLength)
  ------------------
  |  Branch (911:21): [True: 3.01M, False: 1.04M]
  ------------------
  912|  3.01M|                    ppToken->name[len++] = (char)ch;
  913|  1.04M|                else if (! AlreadyComplained) {
  ------------------
  |  Branch (913:26): [True: 956, False: 1.04M]
  ------------------
  914|    956|                    pp->parseContext.ppError(ppToken->loc, "numeric literal too long", "", "");
  915|    956|                    AlreadyComplained = 1;
  916|    956|                }
  917|  4.06M|                ch = getch();
  918|  4.06M|            } while (ch >= '0' && ch <= '9');
  ------------------
  |  Branch (918:22): [True: 3.17M, False: 887k]
  |  Branch (918:35): [True: 2.98M, False: 192k]
  ------------------
  919|  1.07M|            if (floatingPointChar(ch))
  ------------------
  |  Branch (919:17): [True: 72.0k, False: 1.00M]
  ------------------
  920|  72.0k|                return pp->lFloatConst(len, ch, ppToken);
  921|  1.00M|            else {
  922|       |                // Finish handling signed and unsigned integers
  923|  1.00M|                int numericLen = len;
  924|  1.00M|                bool isUnsigned = false;
  925|  1.00M|                bool isInt64 = false;
  926|  1.00M|                bool isInt16 = false;
  927|  1.00M|                if (ch == 'u' || ch == 'U') {
  ------------------
  |  Branch (927:21): [True: 28, False: 1.00M]
  |  Branch (927:34): [True: 5.48k, False: 1.00M]
  ------------------
  928|  5.51k|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (928:25): [True: 5.50k, False: 1]
  ------------------
  929|  5.50k|                        ppToken->name[len++] = (char)ch;
  930|  5.51k|                    isUnsigned = true;
  931|       |
  932|  5.51k|                    int nextCh = getch();
  933|  5.51k|                    if (nextCh == 'l' || nextCh == 'L') {
  ------------------
  |  Branch (933:25): [True: 9, False: 5.50k]
  |  Branch (933:42): [True: 2, False: 5.49k]
  ------------------
  934|     11|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (934:29): [True: 11, False: 0]
  ------------------
  935|     11|                            ppToken->name[len++] = (char)nextCh;
  936|     11|                        isInt64 = true;
  937|     11|                    } else
  938|  5.49k|                        ungetch();
  939|       |
  940|  5.51k|                    nextCh = getch();
  941|  5.51k|                    if ((nextCh == 's' || nextCh == 'S') &&
  ------------------
  |  Branch (941:26): [True: 0, False: 5.51k]
  |  Branch (941:43): [True: 1, False: 5.50k]
  ------------------
  942|      1|                                pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (942:33): [True: 0, False: 1]
  ------------------
  943|      0|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (943:29): [True: 0, False: 0]
  ------------------
  944|      0|                            ppToken->name[len++] = (char)nextCh;
  945|      0|                        isInt16 = true;
  946|      0|                    } else
  947|  5.51k|                        ungetch();
  948|  1.00M|                } else if (ch == 'l' || ch == 'L') {
  ------------------
  |  Branch (948:28): [True: 227, False: 1.00M]
  |  Branch (948:41): [True: 256, False: 1.00M]
  ------------------
  949|    483|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (949:25): [True: 483, False: 0]
  ------------------
  950|    483|                        ppToken->name[len++] = (char)ch;
  951|    483|                    isInt64 = true;
  952|  1.00M|                } else if ((ch == 's' || ch == 'S') &&
  ------------------
  |  Branch (952:29): [True: 207, False: 1.00M]
  |  Branch (952:42): [True: 534, False: 1.00M]
  ------------------
  953|    741|                                pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (953:33): [True: 695, False: 46]
  ------------------
  954|    695|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (954:25): [True: 695, False: 0]
  ------------------
  955|    695|                        ppToken->name[len++] = (char)ch;
  956|    695|                    isInt16 = true;
  957|    695|                } else
  958|  1.00M|                    ungetch();
  959|       |
  960|  1.00M|                ppToken->name[len] = '\0';
  961|  1.00M|                ival = 0;
  962|  1.00M|                const unsigned oneTenthMaxInt  = 0xFFFFFFFFu / 10;
  963|  1.00M|                const unsigned remainderMaxInt = 0xFFFFFFFFu - 10 * oneTenthMaxInt;
  964|  1.00M|                const unsigned long long oneTenthMaxInt64  = 0xFFFFFFFFFFFFFFFFull / 10;
  965|  1.00M|                const unsigned long long remainderMaxInt64 = 0xFFFFFFFFFFFFFFFFull - 10 * oneTenthMaxInt64;
  966|  1.00M|                const unsigned short oneTenthMaxInt16  = 0xFFFFu / 10;
  967|  1.00M|                const unsigned short remainderMaxInt16 = 0xFFFFu - 10 * oneTenthMaxInt16;
  968|  2.46M|                for (int i = 0; i < numericLen; i++) {
  ------------------
  |  Branch (968:33): [True: 1.47M, False: 994k]
  ------------------
  969|  1.47M|                    ch = ppToken->name[i] - '0';
  970|  1.47M|                    bool overflow = false;
  971|  1.47M|                    if (isInt64)
  ------------------
  |  Branch (971:25): [True: 802, False: 1.47M]
  ------------------
  972|    802|                        overflow = (ival > oneTenthMaxInt64 || (ival == oneTenthMaxInt64 && (unsigned long long)ch > remainderMaxInt64));
  ------------------
  |  Branch (972:37): [True: 0, False: 802]
  |  Branch (972:65): [True: 9, False: 793]
  |  Branch (972:93): [True: 0, False: 9]
  ------------------
  973|  1.47M|                    else if (isInt16)
  ------------------
  |  Branch (973:30): [True: 3.14k, False: 1.46M]
  ------------------
  974|  3.14k|                        overflow = (ival > oneTenthMaxInt16 || (ival == oneTenthMaxInt16 && (unsigned short)ch > remainderMaxInt16));
  ------------------
  |  Branch (974:37): [True: 196, False: 2.95k]
  |  Branch (974:65): [True: 1, False: 2.95k]
  |  Branch (974:93): [True: 0, False: 1]
  ------------------
  975|  1.46M|                    else
  976|  1.46M|                        overflow = (ival > oneTenthMaxInt || (ival == oneTenthMaxInt && (unsigned)ch > remainderMaxInt));
  ------------------
  |  Branch (976:37): [True: 13.4k, False: 1.45M]
  |  Branch (976:63): [True: 128, False: 1.45M]
  |  Branch (976:89): [True: 121, False: 7]
  ------------------
  977|  1.47M|                    if (overflow) {
  ------------------
  |  Branch (977:25): [True: 13.7k, False: 1.45M]
  ------------------
  978|  13.7k|                        pp->parseContext.ppError(ppToken->loc, "numeric literal too big", "", "");
  979|  13.7k|                        ival = 0xFFFFFFFFFFFFFFFFull;
  980|  13.7k|                        break;
  981|  13.7k|                    } else
  982|  1.45M|                        ival = ival * 10 + ch;
  983|  1.47M|                }
  984|       |
  985|  1.00M|                if (isInt64 && pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (985:21): [True: 494, False: 1.00M]
  |  Branch (985:32): [True: 73, False: 421]
  ------------------
  986|     73|                    if (pp->ifdepth == 0) {
  ------------------
  |  Branch (986:25): [True: 73, False: 0]
  ------------------
  987|     73|                        pp->parseContext.requireProfile(ppToken->loc, ~EEsProfile,
  988|     73|                                                        "64-bit literal");
  989|     73|                        pp->parseContext.profileRequires(ppToken->loc, ~EEsProfile, 0,
  990|     73|                            Num_Int64_Extensions, Int64_Extensions, "64-bit literal");
  991|     73|                    }
  992|     73|                    ppToken->i64val = ival;
  993|     73|                    return isUnsigned ? PpAtomConstUint64 : PpAtomConstInt64;
  ------------------
  |  Branch (993:28): [True: 11, False: 62]
  ------------------
  994|  1.00M|                } else if (isInt16) {
  ------------------
  |  Branch (994:28): [True: 695, False: 1.00M]
  ------------------
  995|    695|                    if (pp->ifdepth == 0 && pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (995:25): [True: 695, False: 0]
  |  Branch (995:45): [True: 695, False: 0]
  ------------------
  996|    695|                        pp->parseContext.requireProfile(ppToken->loc, ~EEsProfile,
  997|    695|                                                        "16-bit  literal");
  998|    695|                        pp->parseContext.profileRequires(ppToken->loc, ~EEsProfile, 0,
  999|    695|                            Num_Int16_Extensions, Int16_Extensions, "16-bit literal");
 1000|    695|                    }
 1001|    695|                    ppToken->ival = (int)ival;
 1002|    695|                    return isUnsigned ? PpAtomConstUint16 : PpAtomConstInt16;
  ------------------
  |  Branch (1002:28): [True: 0, False: 695]
  ------------------
 1003|  1.00M|                } else {
 1004|  1.00M|                    ppToken->ival = (int)ival;
 1005|  1.00M|                    return isUnsigned ? PpAtomConstUint : PpAtomConstInt;
  ------------------
  |  Branch (1005:28): [True: 5.49k, False: 1.00M]
  ------------------
 1006|  1.00M|                }
 1007|  1.00M|            }
 1008|      0|            break;
 1009|   161k|        case '-':
  ------------------
  |  Branch (1009:9): [True: 161k, False: 46.3M]
  ------------------
 1010|   161k|            ch = getch();
 1011|   161k|            if (ch == '-') {
  ------------------
  |  Branch (1011:17): [True: 2.44k, False: 159k]
  ------------------
 1012|  2.44k|                return PpAtomDecrement;
 1013|   159k|            } else if (ch == '=') {
  ------------------
  |  Branch (1013:24): [True: 23.4k, False: 135k]
  ------------------
 1014|  23.4k|                return PPAtomSubAssign;
 1015|   135k|            } else {
 1016|   135k|                ungetch();
 1017|   135k|                return '-';
 1018|   135k|            }
 1019|  18.0k|        case '+':
  ------------------
  |  Branch (1019:9): [True: 18.0k, False: 46.5M]
  ------------------
 1020|  18.0k|            ch = getch();
 1021|  18.0k|            if (ch == '+') {
  ------------------
  |  Branch (1021:17): [True: 132, False: 17.8k]
  ------------------
 1022|    132|                return PpAtomIncrement;
 1023|  17.8k|            } else if (ch == '=') {
  ------------------
  |  Branch (1023:24): [True: 2.28k, False: 15.6k]
  ------------------
 1024|  2.28k|                return PPAtomAddAssign;
 1025|  15.6k|            } else {
 1026|  15.6k|                ungetch();
 1027|  15.6k|                return '+';
 1028|  15.6k|            }
 1029|  8.94k|        case '*':
  ------------------
  |  Branch (1029:9): [True: 8.94k, False: 46.5M]
  ------------------
 1030|  8.94k|            ch = getch();
 1031|  8.94k|            if (ch == '=') {
  ------------------
  |  Branch (1031:17): [True: 13, False: 8.93k]
  ------------------
 1032|     13|                return PPAtomMulAssign;
 1033|  8.93k|            } else {
 1034|  8.93k|                ungetch();
 1035|  8.93k|                return '*';
 1036|  8.93k|            }
 1037|  39.9k|        case '%':
  ------------------
  |  Branch (1037:9): [True: 39.9k, False: 46.4M]
  ------------------
 1038|  39.9k|            ch = getch();
 1039|  39.9k|            if (ch == '=') {
  ------------------
  |  Branch (1039:17): [True: 249, False: 39.7k]
  ------------------
 1040|    249|                return PPAtomModAssign;
 1041|  39.7k|            } else {
 1042|  39.7k|                ungetch();
 1043|  39.7k|                return '%';
 1044|  39.7k|            }
 1045|    232|        case '^':
  ------------------
  |  Branch (1045:9): [True: 232, False: 46.5M]
  ------------------
 1046|    232|            ch = getch();
 1047|    232|            if (ch == '^') {
  ------------------
  |  Branch (1047:17): [True: 17, False: 215]
  ------------------
 1048|     17|                return PpAtomXor;
 1049|    215|            } else {
 1050|    215|                if (ch == '=')
  ------------------
  |  Branch (1050:21): [True: 3, False: 212]
  ------------------
 1051|      3|                    return PpAtomXorAssign;
 1052|    212|                else{
 1053|    212|                    ungetch();
 1054|    212|                    return '^';
 1055|    212|                }
 1056|    215|            }
 1057|       |
 1058|   149k|        case '=':
  ------------------
  |  Branch (1058:9): [True: 149k, False: 46.3M]
  ------------------
 1059|   149k|            ch = getch();
 1060|   149k|            if (ch == '=') {
  ------------------
  |  Branch (1060:17): [True: 164, False: 149k]
  ------------------
 1061|    164|                return PpAtomEQ;
 1062|   149k|            } else {
 1063|   149k|                ungetch();
 1064|   149k|                return '=';
 1065|   149k|            }
 1066|  90.2k|        case '!':
  ------------------
  |  Branch (1066:9): [True: 90.2k, False: 46.4M]
  ------------------
 1067|  90.2k|            ch = getch();
 1068|  90.2k|            if (ch == '=') {
  ------------------
  |  Branch (1068:17): [True: 12, False: 90.2k]
  ------------------
 1069|     12|                return PpAtomNE;
 1070|  90.2k|            } else {
 1071|  90.2k|                ungetch();
 1072|  90.2k|                return '!';
 1073|  90.2k|            }
 1074|    523|        case '|':
  ------------------
  |  Branch (1074:9): [True: 523, False: 46.5M]
  ------------------
 1075|    523|            ch = getch();
 1076|    523|            if (ch == '|') {
  ------------------
  |  Branch (1076:17): [True: 4, False: 519]
  ------------------
 1077|      4|                return PpAtomOr;
 1078|    519|            } else if (ch == '=') {
  ------------------
  |  Branch (1078:24): [True: 3, False: 516]
  ------------------
 1079|      3|                return PpAtomOrAssign;
 1080|    516|            } else {
 1081|    516|                ungetch();
 1082|    516|                return '|';
 1083|    516|            }
 1084|  2.01k|        case '&':
  ------------------
  |  Branch (1084:9): [True: 2.01k, False: 46.5M]
  ------------------
 1085|  2.01k|            ch = getch();
 1086|  2.01k|            if (ch == '&') {
  ------------------
  |  Branch (1086:17): [True: 680, False: 1.33k]
  ------------------
 1087|    680|                return PpAtomAnd;
 1088|  1.33k|            } else if (ch == '=') {
  ------------------
  |  Branch (1088:24): [True: 3, False: 1.33k]
  ------------------
 1089|      3|                return PpAtomAndAssign;
 1090|  1.33k|            } else {
 1091|  1.33k|                ungetch();
 1092|  1.33k|                return '&';
 1093|  1.33k|            }
 1094|  62.0k|        case '<':
  ------------------
  |  Branch (1094:9): [True: 62.0k, False: 46.4M]
  ------------------
 1095|  62.0k|            ch = getch();
 1096|  62.0k|            if (ch == '<') {
  ------------------
  |  Branch (1096:17): [True: 1.85k, False: 60.1k]
  ------------------
 1097|  1.85k|                ch = getch();
 1098|  1.85k|                if (ch == '=')
  ------------------
  |  Branch (1098:21): [True: 116, False: 1.73k]
  ------------------
 1099|    116|                    return PpAtomLeftAssign;
 1100|  1.73k|                else {
 1101|  1.73k|                    ungetch();
 1102|  1.73k|                    return PpAtomLeft;
 1103|  1.73k|                }
 1104|  60.1k|            } else if (ch == '=') {
  ------------------
  |  Branch (1104:24): [True: 122, False: 60.0k]
  ------------------
 1105|    122|                return PpAtomLE;
 1106|  60.0k|            } else {
 1107|  60.0k|                ungetch();
 1108|  60.0k|                return '<';
 1109|  60.0k|            }
 1110|   128k|        case '>':
  ------------------
  |  Branch (1110:9): [True: 128k, False: 46.4M]
  ------------------
 1111|   128k|            ch = getch();
 1112|   128k|            if (ch == '>') {
  ------------------
  |  Branch (1112:17): [True: 2.13k, False: 126k]
  ------------------
 1113|  2.13k|                ch = getch();
 1114|  2.13k|                if (ch == '=')
  ------------------
  |  Branch (1114:21): [True: 15, False: 2.11k]
  ------------------
 1115|     15|                    return PpAtomRightAssign;
 1116|  2.11k|                else {
 1117|  2.11k|                    ungetch();
 1118|  2.11k|                    return PpAtomRight;
 1119|  2.11k|                }
 1120|   126k|            } else if (ch == '=') {
  ------------------
  |  Branch (1120:24): [True: 21, False: 126k]
  ------------------
 1121|     21|                return PpAtomGE;
 1122|   126k|            } else {
 1123|   126k|                ungetch();
 1124|   126k|                return '>';
 1125|   126k|            }
 1126|  29.5k|        case '.':
  ------------------
  |  Branch (1126:9): [True: 29.5k, False: 46.5M]
  ------------------
 1127|  29.5k|            ch = getch();
 1128|  29.5k|            if (ch >= '0' && ch <= '9') {
  ------------------
  |  Branch (1128:17): [True: 18.7k, False: 10.7k]
  |  Branch (1128:30): [True: 8.63k, False: 10.1k]
  ------------------
 1129|  8.63k|                ungetch();
 1130|  8.63k|                return pp->lFloatConst(0, '.', ppToken);
 1131|  20.9k|            } else {
 1132|  20.9k|                ungetch();
 1133|  20.9k|                return '.';
 1134|  20.9k|            }
 1135|  29.9k|        case '/':
  ------------------
  |  Branch (1135:9): [True: 29.9k, False: 46.5M]
  ------------------
 1136|  29.9k|            ch = getch();
 1137|  29.9k|            if (ch == '/') {
  ------------------
  |  Branch (1137:17): [True: 2.69k, False: 27.2k]
  ------------------
 1138|  2.69k|                pp->inComment = true;
 1139|   639k|                do {
 1140|   639k|                    ch = getch();
 1141|   639k|                } while (ch != '\n' && ch != EndOfInput);
  ------------------
  |  Branch (1141:26): [True: 636k, False: 2.68k]
  |  Branch (1141:40): [True: 636k, False: 4]
  ------------------
 1142|  2.69k|                ppToken->space = true;
 1143|  2.69k|                pp->inComment = false;
 1144|       |
 1145|  2.69k|                return ch;
 1146|  27.2k|            } else if (ch == '*') {
  ------------------
  |  Branch (1146:24): [True: 2, False: 27.2k]
  ------------------
 1147|      2|                ch = getch();
 1148|      4|                do {
 1149|  59.4k|                    while (ch != '*') {
  ------------------
  |  Branch (1149:28): [True: 59.4k, False: 3]
  ------------------
 1150|  59.4k|                        if (ch == EndOfInput) {
  ------------------
  |  Branch (1150:29): [True: 1, False: 59.4k]
  ------------------
 1151|      1|                            pp->parseContext.ppError(ppToken->loc, "End of input in comment", "comment", "");
 1152|      1|                            return ch;
 1153|      1|                        }
 1154|  59.4k|                        ch = getch();
 1155|  59.4k|                    }
 1156|      3|                    ch = getch();
 1157|      3|                    if (ch == EndOfInput) {
  ------------------
  |  Branch (1157:25): [True: 0, False: 3]
  ------------------
 1158|      0|                        pp->parseContext.ppError(ppToken->loc, "End of input in comment", "comment", "");
 1159|      0|                        return ch;
 1160|      0|                    }
 1161|      3|                } while (ch != '/');
  ------------------
  |  Branch (1161:26): [True: 2, False: 1]
  ------------------
 1162|      1|                ppToken->space = true;
 1163|       |                // loop again to get the next token...
 1164|      1|                break;
 1165|  27.2k|            } else if (ch == '=') {
  ------------------
  |  Branch (1165:24): [True: 5, False: 27.2k]
  ------------------
 1166|      5|                return PPAtomDivAssign;
 1167|  27.2k|            } else {
 1168|  27.2k|                ungetch();
 1169|  27.2k|                return '/';
 1170|  27.2k|            }
 1171|      0|            break;
 1172|   161k|        case '\'':
  ------------------
  |  Branch (1172:9): [True: 161k, False: 46.3M]
  ------------------
 1173|   161k|            return pp->characterLiteral(ppToken);
 1174|  91.7k|        case '"':
  ------------------
  |  Branch (1174:9): [True: 91.7k, False: 46.4M]
  ------------------
 1175|       |            // #include uses scanHeaderName() to ignore these escape sequences.
 1176|  91.7k|            ch = getch();
 1177|   625k|            while (ch != '"' && ch != '\n' && ch != EndOfInput) {
  ------------------
  |  Branch (1177:20): [True: 535k, False: 90.1k]
  |  Branch (1177:33): [True: 533k, False: 1.27k]
  |  Branch (1177:47): [True: 533k, False: 5]
  ------------------
 1178|   533k|                if (len < MaxTokenLength) {
  ------------------
  |  Branch (1178:21): [True: 533k, False: 329]
  ------------------
 1179|   533k|                    if (ch == '\\' && !pp->disableEscapeSequences) {
  ------------------
  |  Branch (1179:25): [True: 1.02k, False: 532k]
  |  Branch (1179:39): [True: 1.02k, False: 0]
  ------------------
 1180|  1.02k|                        int nextCh = getch();
 1181|  1.02k|                        switch (nextCh) {
 1182|      0|                        case '\'': ch = 0x27; break;
  ------------------
  |  Branch (1182:25): [True: 0, False: 1.02k]
  ------------------
 1183|      0|                        case '"':  ch = 0x22; break;
  ------------------
  |  Branch (1183:25): [True: 0, False: 1.02k]
  ------------------
 1184|      0|                        case '?':  ch = 0x3f; break;
  ------------------
  |  Branch (1184:25): [True: 0, False: 1.02k]
  ------------------
 1185|  1.02k|                        case '\\': ch = 0x5c; break;
  ------------------
  |  Branch (1185:25): [True: 1.02k, False: 0]
  ------------------
 1186|      0|                        case 'a':  ch = 0x07; break;
  ------------------
  |  Branch (1186:25): [True: 0, False: 1.02k]
  ------------------
 1187|      0|                        case 'b':  ch = 0x08; break;
  ------------------
  |  Branch (1187:25): [True: 0, False: 1.02k]
  ------------------
 1188|      0|                        case 'f':  ch = 0x0c; break;
  ------------------
  |  Branch (1188:25): [True: 0, False: 1.02k]
  ------------------
 1189|      0|                        case 'n':  ch = 0x0a; break;
  ------------------
  |  Branch (1189:25): [True: 0, False: 1.02k]
  ------------------
 1190|      0|                        case 'r':  ch = 0x0d; break;
  ------------------
  |  Branch (1190:25): [True: 0, False: 1.02k]
  ------------------
 1191|      0|                        case 't':  ch = 0x09; break;
  ------------------
  |  Branch (1191:25): [True: 0, False: 1.02k]
  ------------------
 1192|      0|                        case 'v':  ch = 0x0b; break;
  ------------------
  |  Branch (1192:25): [True: 0, False: 1.02k]
  ------------------
 1193|      0|                        case 'x':
  ------------------
  |  Branch (1193:25): [True: 0, False: 1.02k]
  ------------------
 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: 1.02k]
  ------------------
 1220|      0|                        case '1':
  ------------------
  |  Branch (1220:25): [True: 0, False: 1.02k]
  ------------------
 1221|      0|                        case '2':
  ------------------
  |  Branch (1221:25): [True: 0, False: 1.02k]
  ------------------
 1222|      0|                        case '3':
  ------------------
  |  Branch (1222:25): [True: 0, False: 1.02k]
  ------------------
 1223|      0|                        case '4':
  ------------------
  |  Branch (1223:25): [True: 0, False: 1.02k]
  ------------------
 1224|      0|                        case '5':
  ------------------
  |  Branch (1224:25): [True: 0, False: 1.02k]
  ------------------
 1225|      0|                        case '6':
  ------------------
  |  Branch (1225:25): [True: 0, False: 1.02k]
  ------------------
 1226|      0|                        case '7':
  ------------------
  |  Branch (1226:25): [True: 0, False: 1.02k]
  ------------------
 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: 1.02k]
  ------------------
 1245|      0|                            pp->parseContext.ppError(ppToken->loc, "Invalid escape sequence", "string", "");
 1246|      0|                            break;
 1247|  1.02k|                        }
 1248|  1.02k|                    }
 1249|   533k|                    ppToken->name[len] = (char)ch;
 1250|   533k|                    len++;
 1251|   533k|                    ch = getch();
 1252|   533k|                } else
 1253|    329|                    break;
 1254|   533k|            };
 1255|  91.7k|            ppToken->name[len] = '\0';
 1256|  91.7k|            if (ch != '"') {
  ------------------
  |  Branch (1256:17): [True: 1.61k, False: 90.1k]
  ------------------
 1257|  1.61k|                ungetch();
 1258|  1.61k|                pp->parseContext.ppError(ppToken->loc, "End of line in string", "string", "");
 1259|  1.61k|            }
 1260|  91.7k|            return PpAtomConstString;
 1261|  1.35M|        case ':':
  ------------------
  |  Branch (1261:9): [True: 1.35M, False: 45.1M]
  ------------------
 1262|  1.35M|            ch = getch();
 1263|  1.35M|            if (ch == ':')
  ------------------
  |  Branch (1263:17): [True: 1.81k, False: 1.35M]
  ------------------
 1264|  1.81k|                return PpAtomColonColon;
 1265|  1.35M|            ungetch();
 1266|  1.35M|            return ':';
 1267|  46.5M|        }
 1268|       |
 1269|      1|        ch = getch();
 1270|      1|    }
 1271|  46.5M|}
_ZN7glslang10TPpContext8tokenizeERNS_8TPpTokenE:
 1280|  31.8M|{
 1281|  31.8M|    int stringifyDepth = 0;
 1282|  31.8M|    TPpToken stringifiedToken; // Tokens are appended to this as they come in
 1283|  45.8M|    for (;;) {
 1284|  45.8M|        int token = scanToken(&ppToken);
 1285|       |
 1286|       |        // Handle token-pasting logic
 1287|  45.8M|        token = tokenPaste(token, ppToken);
 1288|       |
 1289|  45.8M|        if (token == EndOfInput) {
  ------------------
  |  Branch (1289:13): [True: 814, False: 45.8M]
  ------------------
 1290|    814|            missingEndifCheck();
 1291|    814|            return EndOfInput;
 1292|    814|        }
 1293|  45.8M|        if (token == '#') {
  ------------------
  |  Branch (1293:13): [True: 167k, False: 45.7M]
  ------------------
 1294|   167k|            if (previous_token == '\n') {
  ------------------
  |  Branch (1294:17): [True: 167k, False: 11]
  ------------------
 1295|   167k|                token = readCPPline(&ppToken);
 1296|   167k|                if (token == EndOfInput) {
  ------------------
  |  Branch (1296:21): [True: 6, False: 167k]
  ------------------
 1297|      6|                    missingEndifCheck();
 1298|      6|                    return EndOfInput;
 1299|      6|                }
 1300|   167k|                continue;
 1301|   167k|            } else {
 1302|     11|                parseContext.ppError(ppToken.loc, "preprocessor directive cannot be preceded by another token", "#", "");
 1303|     11|                return EndOfInput;
 1304|     11|            }
 1305|   167k|        }
 1306|  45.7M|        previous_token = token;
 1307|       |
 1308|  45.7M|        if (token == '\n')
  ------------------
  |  Branch (1308:13): [True: 13.6M, False: 32.0M]
  ------------------
 1309|  13.6M|            continue;
 1310|       |
 1311|  32.0M|        if (token == tStringifyLevelInput::PUSH) {
  ------------------
  |  Branch (1311:13): [True: 0, False: 32.0M]
  ------------------
 1312|      0|            stringifyDepth++;
 1313|      0|            continue;
 1314|      0|        }
 1315|  32.0M|        if (token == tStringifyLevelInput::POP) {
  ------------------
  |  Branch (1315:13): [True: 0, False: 32.0M]
  ------------------
 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|  32.0M|        if (token == PpAtomIdentifier) {
  ------------------
  |  Branch (1326:13): [True: 5.19M, False: 26.8M]
  ------------------
 1327|  5.19M|            switch (MacroExpand(&ppToken, false, true)) {
  ------------------
  |  Branch (1327:21): [True: 5.19M, False: 0]
  ------------------
 1328|  5.19M|            case MacroExpandNotStarted:
  ------------------
  |  Branch (1328:13): [True: 5.19M, False: 114]
  ------------------
 1329|  5.19M|                break;
 1330|      0|            case MacroExpandError:
  ------------------
  |  Branch (1330:13): [True: 0, False: 5.19M]
  ------------------
 1331|      0|                return EndOfInput;
 1332|    114|            case MacroExpandStarted:
  ------------------
  |  Branch (1332:13): [True: 114, False: 5.19M]
  ------------------
 1333|    114|            case MacroExpandUndef:
  ------------------
  |  Branch (1333:13): [True: 0, False: 5.19M]
  ------------------
 1334|    114|                continue;
 1335|  5.19M|            }
 1336|  5.19M|        }
 1337|       |
 1338|  32.0M|        bool needStringSupport = ifdepth == 0 && (token == PpAtomConstString || stringifyDepth > 0);
  ------------------
  |  Branch (1338:34): [True: 31.9M, False: 120k]
  |  Branch (1338:51): [True: 91.5k, False: 31.8M]
  |  Branch (1338:81): [True: 0, False: 31.8M]
  ------------------
 1339|  32.0M|        if (needStringSupport && parseContext.intermediate.getSource() != EShSourceHlsl) {
  ------------------
  |  Branch (1339:13): [True: 91.5k, False: 31.9M]
  |  Branch (1339:34): [True: 37.0k, False: 54.5k]
  ------------------
 1340|       |            // HLSL allows string literals.
 1341|       |            // GLSL allows string literals with GL_EXT_debug_printf.
 1342|  37.0k|            const char* const string_literal_EXTs[] = { E_GL_EXT_debug_printf, E_GL_EXT_spirv_intrinsics, E_GL_EXT_abort };
 1343|  37.0k|            parseContext.requireExtensions(ppToken.loc, 3, string_literal_EXTs, "string literal");
 1344|  37.0k|            if (!parseContext.extensionTurnedOn(E_GL_EXT_debug_printf) &&
  ------------------
  |  Branch (1344:17): [True: 37.0k, False: 0]
  ------------------
 1345|  37.0k|                !parseContext.extensionTurnedOn(E_GL_EXT_spirv_intrinsics)&&
  ------------------
  |  Branch (1345:17): [True: 37.0k, False: 0]
  ------------------
 1346|  37.0k|                !parseContext.extensionTurnedOn(E_GL_EXT_abort)) {
  ------------------
  |  Branch (1346:17): [True: 37.0k, False: 0]
  ------------------
 1347|  37.0k|                continue;
 1348|  37.0k|            }
 1349|  37.0k|        }
 1350|       |
 1351|  32.0M|        switch (token) {
 1352|  54.5k|        case PpAtomConstString:
  ------------------
  |  Branch (1352:9): [True: 54.5k, False: 31.9M]
  ------------------
 1353|  54.5k|            break;
 1354|  5.19M|        case PpAtomIdentifier:
  ------------------
  |  Branch (1354:9): [True: 5.19M, False: 26.8M]
  ------------------
 1355|  6.28M|        case PpAtomConstInt:
  ------------------
  |  Branch (1355:9): [True: 1.09M, False: 30.9M]
  ------------------
 1356|  6.28M|        case PpAtomConstUint:
  ------------------
  |  Branch (1356:9): [True: 5.85k, False: 32.0M]
  ------------------
 1357|  6.37M|        case PpAtomConstFloat:
  ------------------
  |  Branch (1357:9): [True: 83.4k, False: 31.9M]
  ------------------
 1358|  6.37M|        case PpAtomConstInt64:
  ------------------
  |  Branch (1358:9): [True: 77, False: 32.0M]
  ------------------
 1359|  6.37M|        case PpAtomConstUint64:
  ------------------
  |  Branch (1359:9): [True: 17, False: 32.0M]
  ------------------
 1360|  6.37M|        case PpAtomConstInt16:
  ------------------
  |  Branch (1360:9): [True: 1.21k, False: 32.0M]
  ------------------
 1361|  6.37M|        case PpAtomConstUint16:
  ------------------
  |  Branch (1361:9): [True: 0, False: 32.0M]
  ------------------
 1362|  6.37M|        case PpAtomConstDouble:
  ------------------
  |  Branch (1362:9): [True: 12, False: 32.0M]
  ------------------
 1363|  6.37M|        case PpAtomConstFloat16:
  ------------------
  |  Branch (1363:9): [True: 95, False: 32.0M]
  ------------------
 1364|  6.37M|        case PpAtomConstFloatE2M1:
  ------------------
  |  Branch (1364:9): [True: 0, False: 32.0M]
  ------------------
 1365|  6.37M|        case PpAtomConstFloatE3M2:
  ------------------
  |  Branch (1365:9): [True: 0, False: 32.0M]
  ------------------
 1366|  6.37M|        case PpAtomConstFloatE2M3:
  ------------------
  |  Branch (1366:9): [True: 0, False: 32.0M]
  ------------------
 1367|  6.37M|        case PpAtomConstFloatUE8M0:
  ------------------
  |  Branch (1367:9): [True: 0, False: 32.0M]
  ------------------
 1368|  6.37M|        case PpAtomConstFloatMXINT8:
  ------------------
  |  Branch (1368:9): [True: 0, False: 32.0M]
  ------------------
 1369|  6.37M|            if (ppToken.name[0] == '\0')
  ------------------
  |  Branch (1369:17): [True: 96.3k, False: 6.27M]
  ------------------
 1370|  96.3k|                continue;
 1371|  6.27M|            break;
 1372|  6.27M|        case '\'':
  ------------------
  |  Branch (1372:9): [True: 20.5k, False: 31.9M]
  ------------------
 1373|  20.5k|            parseContext.ppError(ppToken.loc, "character literals not supported", "\'", "");
 1374|  20.5k|            continue;
 1375|  25.5M|        default:
  ------------------
  |  Branch (1375:9): [True: 25.5M, False: 6.44M]
  ------------------
 1376|  25.5M|            snprintf(ppToken.name, sizeof(ppToken.name), "%s", atomStrings.getString(token));
 1377|  25.5M|            break;
 1378|  32.0M|        }
 1379|  31.8M|        if (stringifyDepth > 0) {
  ------------------
  |  Branch (1379:13): [True: 0, False: 31.8M]
  ------------------
 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|  31.8M|        return token;
 1392|  31.8M|    }
 1393|  31.8M|}
_ZN7glslang10TPpContext10tokenPasteEiRNS_8TPpTokenE:
 1401|  45.8M|{
 1402|       |    // starting with ## is illegal, skip to next token
 1403|  45.8M|    if (token == PpAtomPaste) {
  ------------------
  |  Branch (1403:9): [True: 0, False: 45.8M]
  ------------------
 1404|      0|        parseContext.ppError(ppToken.loc, "unexpected location", "##", "");
 1405|      0|        return scanToken(&ppToken);
 1406|      0|    }
 1407|       |
 1408|  45.8M|    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|  45.8M|    while (peekPasting()) {
  ------------------
  |  Branch (1411:12): [True: 0, False: 45.8M]
  ------------------
 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|  45.8M|    return resultToken;
 1491|  45.8M|}
_ZN7glslang10TPpContext17missingEndifCheckEv:
 1495|    820|{
 1496|    820|    if (ifdepth > 0)
  ------------------
  |  Branch (1496:9): [True: 7, False: 813]
  ------------------
 1497|      7|        parseContext.ppError(parseContext.getCurrentLoc(), "missing #endif", "", "");
 1498|    820|}
PpScanner.cpp:_ZZN7glslang10TPpContext11lFloatConstEiiPNS_8TPpTokenEENK3$_0clEi:
  114|  1.73M|    const auto saveName = [&](int ch) {
  115|  1.73M|        if (len <= MaxTokenLength)
  ------------------
  |  Branch (115:13): [True: 263k, False: 1.46M]
  ------------------
  116|   263k|            ppToken->name[len++] = static_cast<char>(ch);
  117|  1.73M|    };
PpScanner.cpp:_ZZN7glslang10TPpContext11lFloatConstEiiPNS_8TPpTokenEENK3$_1clEPKcm:
  317|   116k|        auto const &try_str = [&](const char *str, size_t numChar) {
  318|   116k|            size_t counter = 0;
  319|   116k|            for (size_t i = 0; i < numChar; ++i) {
  ------------------
  |  Branch (319:32): [True: 116k, False: 0]
  ------------------
  320|   116k|                if (getChar() != str[i]) {
  ------------------
  |  Branch (320:21): [True: 116k, False: 22]
  ------------------
  321|   116k|                    break;
  322|   116k|                }
  323|     22|                counter++;
  324|     22|            }
  325|   116k|            if (counter == numChar) {
  ------------------
  |  Branch (325:17): [True: 0, False: 116k]
  ------------------
  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|   116k|            } else {
  331|       |                // called getChar one more than counter times
  332|   116k|                counter++;
  333|   233k|                while (counter) {
  ------------------
  |  Branch (333:24): [True: 116k, False: 116k]
  ------------------
  334|   116k|                    ungetChar();
  335|   116k|                    counter--;
  336|   116k|                }
  337|   116k|                return false;
  338|   116k|            }
  339|   116k|        };
PpScanner.cpp:_ZZN7glslang10TPpContext12tStringInput4scanEPNS_8TPpTokenEENK3$_0clEi:
  518|  1.12M|    const auto floatingPointChar = [&](int ch) { return ch == '.' || ch == 'e' || ch == 'E' ||
  ------------------
  |  Branch (518:57): [True: 7.75k, False: 1.12M]
  |  Branch (518:70): [True: 22.8k, False: 1.09M]
  |  Branch (518:83): [True: 19.0k, False: 1.07M]
  ------------------
  519|  1.07M|                                                                     ch == 'f' || ch == 'F' ||
  ------------------
  |  Branch (519:70): [True: 23.3k, False: 1.05M]
  |  Branch (519:83): [True: 588, False: 1.05M]
  ------------------
  520|  1.05M|                                                                     ch == 'h' || ch == 'H'; };
  ------------------
  |  Branch (520:70): [True: 1.26k, False: 1.05M]
  |  Branch (520:83): [True: 90, False: 1.05M]
  ------------------

_ZN7glslang10TPpContext11TokenStream8putTokenEiPNS_8TPpTokenE:
  102|  43.2k|{
  103|  43.2k|    TokenStream::Token streamToken(atom, *ppToken);
  104|  43.2k|    stream.push_back(streamToken);
  105|  43.2k|}
_ZN7glslang10TPpContext11TokenStream8getTokenERNS_17TParseContextBaseEPNS_8TPpTokenE:
  109|  4.08k|{
  110|  4.08k|    if (atEnd())
  ------------------
  |  Branch (110:9): [True: 445, False: 3.63k]
  ------------------
  111|    445|        return EndOfInput;
  112|       |
  113|  3.63k|    int atom = stream[currentPos++].get(*ppToken);
  114|  3.63k|    ppToken->loc = parseContext.getCurrentLoc();
  115|       |
  116|  3.63k|    return atom;
  117|  4.08k|}
_ZN7glslang10TPpContext11TokenStream20peekTokenizedPastingEb:
  125|  3.60k|{
  126|       |    // 1. preceding ##?
  127|       |
  128|  3.60k|    size_t savePos = currentPos;
  129|       |    // skip white space
  130|  3.60k|    while (peekToken(' '))
  ------------------
  |  Branch (130:12): [True: 0, False: 3.60k]
  ------------------
  131|      0|        ++currentPos;
  132|  3.60k|    if (peekToken(PpAtomPaste)) {
  ------------------
  |  Branch (132:9): [True: 0, False: 3.60k]
  ------------------
  133|      0|        currentPos = savePos;
  134|      0|        return true;
  135|      0|    }
  136|       |
  137|       |    // 2. last token and we've been told after this there will be a ##
  138|       |
  139|  3.60k|    if (! lastTokenPastes) {
  ------------------
  |  Branch (139:9): [True: 3.60k, False: 0]
  ------------------
  140|  3.60k|        currentPos = savePos;
  141|  3.60k|        return false;
  142|  3.60k|    }
  143|       |    // Getting here means the last token will be pasted, after this
  144|       |
  145|       |    // Are we at the last non-whitespace token?
  146|      0|    savePos = currentPos;
  147|      0|    bool moreTokens = false;
  148|      0|    do {
  149|      0|        if (atEnd())
  ------------------
  |  Branch (149:13): [True: 0, False: 0]
  ------------------
  150|      0|            break;
  151|      0|        if (!peekToken(' ')) {
  ------------------
  |  Branch (151:13): [True: 0, False: 0]
  ------------------
  152|      0|            moreTokens = true;
  153|      0|            break;
  154|      0|        }
  155|      0|        ++currentPos;
  156|      0|    } while (true);
  ------------------
  |  Branch (156:14): [True: 0, Folded]
  ------------------
  157|      0|    currentPos = savePos;
  158|       |
  159|      0|    return !moreTokens;
  160|  3.60k|}
_ZN7glslang10TPpContext20pushTokenStreamInputERNS0_11TokenStreamEbb:
  163|    301|{
  164|    301|    pushInput(new tTokenInput(this, &ts, prepasting, expanded));
  165|    301|    ts.reset();
  166|    301|}
_ZN7glslang10TPpContext16tUngotTokenInput4scanEPNS_8TPpTokenE:
  169|      4|{
  170|      4|    if (done)
  ------------------
  |  Branch (170:9): [True: 2, False: 2]
  ------------------
  171|      2|        return EndOfInput;
  172|       |
  173|      2|    int ret = token;
  174|      2|    *ppToken = lval;
  175|      2|    done = true;
  176|       |
  177|      2|    return ret;
  178|      4|}
_ZN7glslang10TPpContext10UngetTokenEiPNS_8TPpTokenE:
  181|      2|{
  182|      2|    pushInput(new tUngotTokenInput(this, token, ppToken));
  183|      2|}

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

_ZN7glslang7TShader8IncluderD2Ev:
  664|    214|        virtual ~Includer() {}
_ZN7glslang7TShader11setPreambleEPKc:
  479|    232|    void setPreamble(const char* s) { preamble = s; }
_ZN7glslang7TShader12setEnvClientENS_9EShClientENS_22EShTargetClientVersionE:
  565|    232|    {
  566|    232|        environment.client.client = client;
  567|    232|        environment.client.version = version;
  568|    232|    }
_ZN7glslang7TShader12setEnvTargetENS_17EShTargetLanguageENS_24EShTargetLanguageVersionE:
  570|     66|    {
  571|     66|        environment.target.language = lang;
  572|     66|        environment.target.version = version;
  573|     66|    }
_ZN7glslang7TShader30setEnvTargetHlslFunctionality1Ev:
  578|    109|    void setEnvTargetHlslFunctionality1() { environment.target.hlslFunctionality1 = true; }  // deprecated, see issue #4210

_ZN8spvtools3optorENS0_9IRContext8AnalysisES2_:
  986|      2|                                     IRContext::Analysis rhs) {
  987|      2|  return static_cast<IRContext::Analysis>(static_cast<int>(lhs) |
  988|      2|                                          static_cast<int>(rhs));
  989|      2|}

LLVMFuzzerTestOneInput:
   87|    139|extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
   88|    139|  FuzzedDataProvider fdp(data, size);
   89|       |
   90|       |  // Prepare GLSL shader content with valid version
   91|    139|  shaderc_shader_kind kind = fdp.PickValueInArray(KindArray);
   92|       |
   93|       |  // Prepare Compiler and options
   94|    139|  shaderc::Compiler compiler;
   95|    139|  shaderc::CompileOptions options;
   96|    139|  options.SetOptimizationLevel(fdp.PickValueInArray(OptArray));
   97|       |
   98|    139|  options.SetHlslFunctionality1(fdp.ConsumeBool());
   99|    139|  options.SetHlsl16BitTypes(fdp.ConsumeBool());
  100|    139|  options.SetInvertY(fdp.ConsumeBool());
  101|    139|  options.SetNanClamp(fdp.ConsumeBool());
  102|    139|  options.SetPreserveBindings(fdp.ConsumeBool());
  103|    139|  options.SetAutoMapLocations(fdp.ConsumeBool());
  104|    139|  options.SetHlslOffsets(fdp.ConsumeBool());
  105|    139|  options.SetAutoBindUniforms(fdp.ConsumeBool());
  106|    139|  options.SetSourceLanguage(fdp.PickValueInArray(LangArray));
  107|       |
  108|       |  // Get the actual content
  109|    139|  std::string shader_content = fdp.ConsumeRandomLengthString();
  110|       |
  111|       |  // Preprocessing
  112|    139|  shaderc::PreprocessedSourceCompilationResult preprocess_result =
  113|    139|      compiler.PreprocessGlsl(shader_content, kind, "input.glsl", options);
  114|    139|  if (preprocess_result.GetCompilationStatus() ==
  ------------------
  |  Branch (114:7): [True: 25, False: 114]
  ------------------
  115|    139|      shaderc_compilation_status_success) {
  116|     25|    std::string preprocessed_code(preprocess_result.cbegin(),
  117|     25|                                  preprocess_result.cend());
  118|    114|  } else {
  119|    114|    return 0;
  120|    114|  }
  121|       |
  122|       |  // Compile to SPIR-V binary
  123|     25|  shaderc::SpvCompilationResult binary_result =
  124|     25|      compiler.CompileGlslToSpv(shader_content, kind, "input.glsl", options);
  125|     25|  if (binary_result.GetCompilationStatus() ==
  ------------------
  |  Branch (125:7): [True: 0, False: 25]
  ------------------
  126|     25|      shaderc_compilation_status_success) {
  127|      0|    std::vector<uint32_t> spirv_binary(binary_result.cbegin(),
  128|      0|                                       binary_result.cend());
  129|      0|  }
  130|       |
  131|       |  // Compile to SPIR-V assembly
  132|     25|  shaderc::AssemblyCompilationResult assembly_result =
  133|     25|      compiler.CompileGlslToSpvAssembly(shader_content, kind, "input.glsl",
  134|     25|                                        options);
  135|     25|  if (assembly_result.GetCompilationStatus() ==
  ------------------
  |  Branch (135:7): [True: 0, False: 25]
  ------------------
  136|     25|      shaderc_compilation_status_success) {
  137|      0|    std::string spirv_assembly(assembly_result.cbegin(),
  138|      0|                               assembly_result.cend());
  139|      0|  }
  140|       |
  141|       |  // Compile with C API
  142|     25|  shaderc_compiler_t c_compiler = shaderc_compiler_initialize();
  143|     25|  shaderc_compilation_result_t c_result = shaderc_compile_into_spv(
  144|     25|      c_compiler, shader_content.c_str(), shader_content.size(), kind,
  145|     25|      "main.vert", "main", nullptr);
  146|       |
  147|     25|  if (shaderc_result_get_compilation_status(c_result) ==
  ------------------
  |  Branch (147:7): [True: 0, False: 25]
  ------------------
  148|     25|      shaderc_compilation_status_success) {
  149|      0|    std::vector<uint32_t> spirv_c_binary(shaderc_result_get_length(c_result) /
  150|      0|                                         sizeof(uint32_t));
  151|      0|    std::memcpy(spirv_c_binary.data(), shaderc_result_get_bytes(c_result),
  152|      0|                shaderc_result_get_length(c_result));
  153|      0|  }
  154|     25|  shaderc_result_release(c_result);
  155|     25|  shaderc_compiler_release(c_compiler);
  156|       |
  157|     25|  return 0;
  158|    139|}

