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

shaderc_compile_options_initialize:
  394|    166|shaderc_compile_options_t shaderc_compile_options_initialize() {
  395|    166|  return new (std::nothrow) shaderc_compile_options;
  396|    166|}
shaderc_compile_options_release:
  406|    166|void shaderc_compile_options_release(shaderc_compile_options_t options) {
  407|    166|  delete options;
  408|    166|}
shaderc_compile_options_set_source_language:
  417|    166|    shaderc_compile_options_t options, shaderc_source_language set_lang) {
  418|    166|  auto lang = shaderc_util::Compiler::SourceLanguage::GLSL;
  419|    166|  if (set_lang == shaderc_source_language_hlsl)
  ------------------
  |  Branch (419:7): [True: 72, False: 94]
  ------------------
  420|     72|    lang = shaderc_util::Compiler::SourceLanguage::HLSL;
  421|    166|  options->compiler.SetSourceLanguage(lang);
  422|    166|}
shaderc_compile_options_set_optimization_level:
  430|    166|    shaderc_compile_options_t options, shaderc_optimization_level level) {
  431|    166|  auto opt_level = shaderc_util::Compiler::OptimizationLevel::Zero;
  432|    166|  switch (level) {
  433|     58|    case shaderc_optimization_level_size:
  ------------------
  |  Branch (433:5): [True: 58, False: 108]
  ------------------
  434|     58|      opt_level = shaderc_util::Compiler::OptimizationLevel::Size;
  435|     58|      break;
  436|     45|    case shaderc_optimization_level_performance:
  ------------------
  |  Branch (436:5): [True: 45, False: 121]
  ------------------
  437|     45|      opt_level = shaderc_util::Compiler::OptimizationLevel::Performance;
  438|     45|      break;
  439|     63|    default:
  ------------------
  |  Branch (439:5): [True: 63, False: 103]
  ------------------
  440|     63|      break;
  441|    166|  }
  442|       |
  443|    166|  options->compiler.SetOptimizationLevel(opt_level);
  444|    166|}
shaderc_compile_options_set_auto_bind_uniforms:
  506|    166|    shaderc_compile_options_t options, bool auto_bind) {
  507|    166|  options->compiler.SetAutoBindUniforms(auto_bind);
  508|    166|}
shaderc_compile_options_set_hlsl_offsets:
  521|    166|                                              bool hlsl_offsets) {
  522|    166|  options->compiler.SetHlslOffsets(hlsl_offsets);
  523|    166|}
shaderc_compile_options_set_preserve_bindings:
  539|    166|    shaderc_compile_options_t options, bool preserve_bindings) {
  540|    166|  options->compiler.SetPreserveBindings(preserve_bindings);
  541|    166|}
shaderc_compile_options_set_auto_map_locations:
  549|    166|    shaderc_compile_options_t options, bool auto_map) {
  550|    166|  options->compiler.SetAutoMapLocations(auto_map);
  551|    166|}
shaderc_compile_options_set_hlsl_functionality1:
  567|    166|    shaderc_compile_options_t options, bool enable) {
  568|    166|  options->compiler.EnableHlslFunctionality1(enable);
  569|    166|}
shaderc_compile_options_set_hlsl_16bit_types:
  572|    166|    shaderc_compile_options_t options, bool enable) {
  573|    166|  options->compiler.EnableHlsl16BitTypes(enable);
  574|    166|}
shaderc_compile_options_set_invert_y:
  582|    166|                                          bool enable) {
  583|    166|  options->compiler.EnableInvertY(enable);
  584|    166|}
shaderc_compile_options_set_nan_clamp:
  587|    166|                                           bool enable) {
  588|    166|  options->compiler.SetNanClamp(enable);
  589|    166|}
shaderc_compiler_initialize:
  591|    198|shaderc_compiler_t shaderc_compiler_initialize() {
  592|    198|  shaderc_compiler_t compiler = new (std::nothrow) shaderc_compiler;
  593|    198|  if (compiler) {
  ------------------
  |  Branch (593:7): [True: 198, False: 0]
  ------------------
  594|    198|    compiler->initializer.reset(new shaderc_util::GlslangInitializer);
  595|    198|  }
  596|    198|  return compiler;
  597|    198|}
shaderc_compiler_release:
  599|    198|void shaderc_compiler_release(shaderc_compiler_t compiler) { delete compiler; }
shaderc_compile_into_spv:
  684|     64|    const shaderc_compile_options_t additional_options) {
  685|     64|  return CompileToSpecifiedOutputType(
  686|     64|      compiler, source_text, source_text_size, shader_kind, input_file_name,
  687|     64|      entry_point_name, additional_options,
  688|     64|      shaderc_util::Compiler::OutputType::SpirvBinary);
  689|     64|}
shaderc_compile_into_spv_assembly:
  695|     32|    const shaderc_compile_options_t additional_options) {
  696|     32|  return CompileToSpecifiedOutputType(
  697|     32|      compiler, source_text, source_text_size, shader_kind, input_file_name,
  698|     32|      entry_point_name, additional_options,
  699|     32|      shaderc_util::Compiler::OutputType::SpirvAssemblyText);
  700|     32|}
shaderc_compile_into_preprocessed_text:
  706|    166|    const shaderc_compile_options_t additional_options) {
  707|    166|  return CompileToSpecifiedOutputType(
  708|    166|      compiler, source_text, source_text_size, shader_kind, input_file_name,
  709|    166|      entry_point_name, additional_options,
  710|    166|      shaderc_util::Compiler::OutputType::PreprocessedText);
  711|    166|}
shaderc_result_get_length:
  753|     32|size_t shaderc_result_get_length(const shaderc_compilation_result_t result) {
  754|     32|  return result->output_data_size;
  755|     32|}
shaderc_result_get_bytes:
  768|     64|    const shaderc_compilation_result_t result) {
  769|     64|  return result->GetBytes();
  770|     64|}
shaderc_result_release:
  772|    262|void shaderc_result_release(shaderc_compilation_result_t result) {
  773|    262|  delete result;
  774|    262|}
shaderc_result_get_compilation_status:
  782|    262|    const shaderc_compilation_result_t result) {
  783|    262|  return result->compilation_status;
  784|    262|}
shaderc.cc:_ZN12_GLOBAL__N_128CompileToSpecifiedOutputTypeEP16shaderc_compilerPKcm19shaderc_shader_kindS3_S3_P23shaderc_compile_optionsN12shaderc_util8Compiler10OutputTypeE:
  607|    262|    shaderc_util::Compiler::OutputType output_type) {
  608|    262|  auto* result = new (std::nothrow) shaderc_compilation_result_vector;
  609|    262|  if (!result) return nullptr;
  ------------------
  |  Branch (609:7): [True: 0, False: 262]
  ------------------
  610|       |
  611|    262|  if (!input_file_name) {
  ------------------
  |  Branch (611:7): [True: 0, False: 262]
  ------------------
  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|    262|  result->compilation_status = shaderc_compilation_status_invalid_stage;
  618|    262|  bool compilation_succeeded = false;  // In case we exit early.
  619|    262|  std::vector<uint32_t> compilation_output_data;
  620|    262|  size_t compilation_output_data_size_in_bytes = 0u;
  621|    262|  if (!compiler->initializer) return result;
  ------------------
  |  Branch (621:7): [True: 0, False: 262]
  ------------------
  622|    262|  TRY_IF_EXCEPTIONS_ENABLED {
  ------------------
  |  |   36|    262|#define TRY_IF_EXCEPTIONS_ENABLED try
  ------------------
  623|    262|    std::stringstream errors;
  624|    262|    size_t total_warnings = 0;
  625|    262|    size_t total_errors = 0;
  626|    262|    std::string input_file_name_str(input_file_name);
  627|    262|    EShLanguage forced_stage = GetForcedStage(shader_kind);
  628|    262|    shaderc_util::string_piece source_string =
  629|    262|        shaderc_util::string_piece(source_text, source_text + source_text_size);
  630|    262|    StageDeducer stage_deducer(shader_kind);
  631|    262|    if (additional_options) {
  ------------------
  |  Branch (631:9): [True: 230, False: 32]
  ------------------
  632|    230|      InternalFileIncluder includer(additional_options->include_resolver,
  633|    230|                                    additional_options->include_result_releaser,
  634|    230|                                    additional_options->include_user_data);
  635|       |      // Depends on return value optimization to avoid extra copy.
  636|    230|      std::tie(compilation_succeeded, compilation_output_data,
  637|    230|               compilation_output_data_size_in_bytes) =
  638|    230|          additional_options->compiler.Compile(
  639|    230|              source_string, forced_stage, input_file_name_str,
  640|    230|              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|    230|              std::ref(stage_deducer), includer, output_type, &errors,
  645|    230|              &total_warnings, &total_errors);
  646|    230|    } else {
  647|       |      // Compile with default options.
  648|     32|      InternalFileIncluder includer;
  649|     32|      std::tie(compilation_succeeded, compilation_output_data,
  650|     32|               compilation_output_data_size_in_bytes) =
  651|     32|          shaderc_util::Compiler().Compile(
  652|     32|              source_string, forced_stage, input_file_name_str,
  653|     32|              entry_point_name, std::ref(stage_deducer), includer, output_type,
  654|     32|              &errors, &total_warnings, &total_errors);
  655|     32|    }
  656|       |
  657|    262|    result->messages = errors.str();
  658|    262|    result->SetOutputData(std::move(compilation_output_data));
  659|    262|    result->output_data_size = compilation_output_data_size_in_bytes;
  660|    262|    result->num_warnings = total_warnings;
  661|    262|    result->num_errors = total_errors;
  662|    262|    if (compilation_succeeded) {
  ------------------
  |  Branch (662:9): [True: 32, False: 230]
  ------------------
  663|     32|      result->compilation_status = shaderc_compilation_status_success;
  664|    230|    } 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|    230|      result->compilation_status =
  669|    230|          stage_deducer.error() ? shaderc_compilation_status_invalid_stage
  ------------------
  |  Branch (669:11): [True: 0, False: 230]
  ------------------
  670|    230|                                : shaderc_compilation_status_compilation_error;
  671|    230|    }
  672|    262|  }
  673|    262|  CATCH_IF_EXCEPTIONS_ENABLED(...) {
  674|      0|    result->compilation_status = shaderc_compilation_status_internal_error;
  675|      0|  }
  676|    262|  return result;
  677|    262|}
shaderc.cc:_ZN12_GLOBAL__N_114GetForcedStageE19shaderc_shader_kind:
   46|    262|EShLanguage GetForcedStage(shaderc_shader_kind kind) {
   47|    262|  switch (kind) {
  ------------------
  |  Branch (47:11): [True: 262, False: 0]
  ------------------
   48|     40|    case shaderc_glsl_vertex_shader:
  ------------------
  |  Branch (48:5): [True: 40, False: 222]
  ------------------
   49|     40|      return EShLangVertex;
   50|      7|    case shaderc_glsl_fragment_shader:
  ------------------
  |  Branch (50:5): [True: 7, False: 255]
  ------------------
   51|      7|      return EShLangFragment;
   52|      7|    case shaderc_glsl_compute_shader:
  ------------------
  |  Branch (52:5): [True: 7, False: 255]
  ------------------
   53|      7|      return EShLangCompute;
   54|     14|    case shaderc_glsl_geometry_shader:
  ------------------
  |  Branch (54:5): [True: 14, False: 248]
  ------------------
   55|     14|      return EShLangGeometry;
   56|     45|    case shaderc_glsl_tess_control_shader:
  ------------------
  |  Branch (56:5): [True: 45, False: 217]
  ------------------
   57|     45|      return EShLangTessControl;
   58|     16|    case shaderc_glsl_tess_evaluation_shader:
  ------------------
  |  Branch (58:5): [True: 16, False: 246]
  ------------------
   59|     16|      return EShLangTessEvaluation;
   60|       |
   61|      3|    case shaderc_glsl_raygen_shader:
  ------------------
  |  Branch (61:5): [True: 3, False: 259]
  ------------------
   62|      3|      return EShLangRayGenNV;
   63|      5|    case shaderc_glsl_anyhit_shader:
  ------------------
  |  Branch (63:5): [True: 5, False: 257]
  ------------------
   64|      5|      return EShLangAnyHitNV;
   65|      6|    case shaderc_glsl_closesthit_shader:
  ------------------
  |  Branch (65:5): [True: 6, False: 256]
  ------------------
   66|      6|      return EShLangClosestHitNV;
   67|      6|    case shaderc_glsl_miss_shader:
  ------------------
  |  Branch (67:5): [True: 6, False: 256]
  ------------------
   68|      6|      return EShLangMissNV;
   69|      1|    case shaderc_glsl_intersection_shader:
  ------------------
  |  Branch (69:5): [True: 1, False: 261]
  ------------------
   70|      1|      return EShLangIntersectNV;
   71|      4|    case shaderc_glsl_callable_shader:
  ------------------
  |  Branch (71:5): [True: 4, False: 258]
  ------------------
   72|      4|      return EShLangCallableNV;
   73|      2|    case shaderc_glsl_task_shader:
  ------------------
  |  Branch (73:5): [True: 2, False: 260]
  ------------------
   74|      2|      return EShLangTaskNV;
   75|     25|    case shaderc_glsl_mesh_shader:
  ------------------
  |  Branch (75:5): [True: 25, False: 237]
  ------------------
   76|     25|      return EShLangMeshNV;
   77|       |
   78|      1|    case shaderc_glsl_infer_from_source:
  ------------------
  |  Branch (78:5): [True: 1, False: 261]
  ------------------
   79|     10|    case shaderc_glsl_default_vertex_shader:
  ------------------
  |  Branch (79:5): [True: 9, False: 253]
  ------------------
   80|     13|    case shaderc_glsl_default_fragment_shader:
  ------------------
  |  Branch (80:5): [True: 3, False: 259]
  ------------------
   81|     14|    case shaderc_glsl_default_compute_shader:
  ------------------
  |  Branch (81:5): [True: 1, False: 261]
  ------------------
   82|     18|    case shaderc_glsl_default_geometry_shader:
  ------------------
  |  Branch (82:5): [True: 4, False: 258]
  ------------------
   83|     28|    case shaderc_glsl_default_tess_control_shader:
  ------------------
  |  Branch (83:5): [True: 10, False: 252]
  ------------------
   84|     29|    case shaderc_glsl_default_tess_evaluation_shader:
  ------------------
  |  Branch (84:5): [True: 1, False: 261]
  ------------------
   85|     33|    case shaderc_glsl_default_raygen_shader:
  ------------------
  |  Branch (85:5): [True: 4, False: 258]
  ------------------
   86|     36|    case shaderc_glsl_default_anyhit_shader:
  ------------------
  |  Branch (86:5): [True: 3, False: 259]
  ------------------
   87|     38|    case shaderc_glsl_default_closesthit_shader:
  ------------------
  |  Branch (87:5): [True: 2, False: 260]
  ------------------
   88|     77|    case shaderc_glsl_default_miss_shader:
  ------------------
  |  Branch (88:5): [True: 39, False: 223]
  ------------------
   89|     77|    case shaderc_glsl_default_intersection_shader:
  ------------------
  |  Branch (89:5): [True: 0, False: 262]
  ------------------
   90|     78|    case shaderc_glsl_default_callable_shader:
  ------------------
  |  Branch (90:5): [True: 1, False: 261]
  ------------------
   91|     79|    case shaderc_glsl_default_task_shader:
  ------------------
  |  Branch (91:5): [True: 1, False: 261]
  ------------------
   92|     81|    case shaderc_glsl_default_mesh_shader:
  ------------------
  |  Branch (92:5): [True: 2, False: 260]
  ------------------
   93|     81|    case shaderc_spirv_assembly:
  ------------------
  |  Branch (93:5): [True: 0, False: 262]
  ------------------
   94|     81|      return EShLangCount;
   95|    262|  }
   96|    262|  assert(0 && "Unhandled shaderc_shader_kind");
   97|      0|  return EShLangCount;
   98|    262|}
shaderc.cc:_ZN12_GLOBAL__N_112StageDeducerC2E19shaderc_shader_kind:
  113|    262|      : kind_(kind), error_(false) {}
shaderc.cc:_ZN12_GLOBAL__N_120InternalFileIncluderC2EPFP22shaderc_include_resultPvPKciS5_mEPFvS3_S2_ES3_:
  204|    230|      : resolver_(resolver),
  205|    230|        result_releaser_(result_releaser),
  206|    230|        user_data_(user_data) {}
shaderc.cc:_ZN12_GLOBAL__N_120InternalFileIncluder16include_delegateEPKcS2_N12shaderc_util16CountingIncluder11IncludeTypeEm:
  240|     21|      IncludeType type, size_t include_depth) override {
  241|     21|    if (!AreValidCallbacks()) {
  ------------------
  |  Branch (241:9): [True: 21, False: 0]
  ------------------
  242|     21|      static const char kUnexpectedIncludeError[] =
  243|     21|          "#error unexpected include directive";
  244|     21|      return new glslang::TShader::Includer::IncludeResult{
  245|     21|          "", kUnexpectedIncludeError, strlen(kUnexpectedIncludeError),
  246|     21|          nullptr};
  247|     21|    }
  248|      0|    shaderc_include_result* include_result =
  249|      0|        resolver_(user_data_, requested_source, GetIncludeType(type),
  250|      0|                  requesting_source, include_depth);
  251|       |    // Make a glslang IncludeResult from a shaderc_include_result.  The
  252|       |    // user_data member of the IncludeResult is a pointer to the
  253|       |    // shaderc_include_result object, so we can later release the latter.
  254|      0|    return new glslang::TShader::Includer::IncludeResult{
  255|      0|        std::string(include_result->source_name,
  256|      0|                    include_result->source_name_length),
  257|      0|        include_result->content, include_result->content_length,
  258|      0|        include_result};
  259|     21|  }
shaderc.cc:_ZNK12_GLOBAL__N_120InternalFileIncluder17AreValidCallbacksEv:
  212|     21|  bool AreValidCallbacks() const {
  213|     21|    return resolver_ != nullptr && result_releaser_ != nullptr;
  ------------------
  |  Branch (213:12): [True: 0, False: 21]
  |  Branch (213:36): [True: 0, False: 0]
  ------------------
  214|     21|  }
shaderc.cc:_ZN12_GLOBAL__N_120InternalFileIncluder16release_delegateEPN7glslang7TShader8Includer13IncludeResultE:
  263|     24|      glslang::TShader::Includer::IncludeResult* result) override {
  264|     24|    if (result && result_releaser_) {
  ------------------
  |  Branch (264:9): [True: 21, False: 3]
  |  Branch (264:19): [True: 0, False: 21]
  ------------------
  265|      0|      result_releaser_(user_data_,
  266|      0|                       static_cast<shaderc_include_result*>(result->userData));
  267|      0|    }
  268|     24|    delete result;
  269|     24|  }
shaderc.cc:_ZN12_GLOBAL__N_112StageDeducerclEPNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEERKN12shaderc_util12string_pieceE:
  125|     26|                         const shaderc_util::string_piece& /*error_tag*/) {
  126|     26|    EShLanguage stage = GetDefaultStage(kind_);
  127|     26|    if (stage == EShLangCount) {
  ------------------
  |  Branch (127:9): [True: 0, False: 26]
  ------------------
  128|      0|      error_ = true;
  129|     26|    } else {
  130|     26|      error_ = false;
  131|     26|    }
  132|     26|    return stage;
  133|     26|  }
shaderc.cc:_ZNK12_GLOBAL__N_112StageDeducer15GetDefaultStageE19shaderc_shader_kind:
  141|     26|  EShLanguage GetDefaultStage(shaderc_shader_kind kind) const {
  142|     26|    switch (kind) {
  ------------------
  |  Branch (142:13): [True: 26, False: 0]
  ------------------
  143|      0|      case shaderc_glsl_vertex_shader:
  ------------------
  |  Branch (143:7): [True: 0, False: 26]
  ------------------
  144|      0|      case shaderc_glsl_fragment_shader:
  ------------------
  |  Branch (144:7): [True: 0, False: 26]
  ------------------
  145|      0|      case shaderc_glsl_compute_shader:
  ------------------
  |  Branch (145:7): [True: 0, False: 26]
  ------------------
  146|      0|      case shaderc_glsl_geometry_shader:
  ------------------
  |  Branch (146:7): [True: 0, False: 26]
  ------------------
  147|      0|      case shaderc_glsl_tess_control_shader:
  ------------------
  |  Branch (147:7): [True: 0, False: 26]
  ------------------
  148|      0|      case shaderc_glsl_tess_evaluation_shader:
  ------------------
  |  Branch (148:7): [True: 0, False: 26]
  ------------------
  149|      0|      case shaderc_glsl_infer_from_source:
  ------------------
  |  Branch (149:7): [True: 0, False: 26]
  ------------------
  150|      0|      case shaderc_glsl_raygen_shader:
  ------------------
  |  Branch (150:7): [True: 0, False: 26]
  ------------------
  151|      0|      case shaderc_glsl_anyhit_shader:
  ------------------
  |  Branch (151:7): [True: 0, False: 26]
  ------------------
  152|      0|      case shaderc_glsl_closesthit_shader:
  ------------------
  |  Branch (152:7): [True: 0, False: 26]
  ------------------
  153|      0|      case shaderc_glsl_miss_shader:
  ------------------
  |  Branch (153:7): [True: 0, False: 26]
  ------------------
  154|      0|      case shaderc_glsl_intersection_shader:
  ------------------
  |  Branch (154:7): [True: 0, False: 26]
  ------------------
  155|      0|      case shaderc_glsl_callable_shader:
  ------------------
  |  Branch (155:7): [True: 0, False: 26]
  ------------------
  156|      0|      case shaderc_glsl_task_shader:
  ------------------
  |  Branch (156:7): [True: 0, False: 26]
  ------------------
  157|      0|      case shaderc_glsl_mesh_shader:
  ------------------
  |  Branch (157:7): [True: 0, False: 26]
  ------------------
  158|      0|        return EShLangCount;
  159|      4|      case shaderc_glsl_default_vertex_shader:
  ------------------
  |  Branch (159:7): [True: 4, False: 22]
  ------------------
  160|      4|        return EShLangVertex;
  161|      0|      case shaderc_glsl_default_fragment_shader:
  ------------------
  |  Branch (161:7): [True: 0, False: 26]
  ------------------
  162|      0|        return EShLangFragment;
  163|      0|      case shaderc_glsl_default_compute_shader:
  ------------------
  |  Branch (163:7): [True: 0, False: 26]
  ------------------
  164|      0|        return EShLangCompute;
  165|      0|      case shaderc_glsl_default_geometry_shader:
  ------------------
  |  Branch (165:7): [True: 0, False: 26]
  ------------------
  166|      0|        return EShLangGeometry;
  167|      4|      case shaderc_glsl_default_tess_control_shader:
  ------------------
  |  Branch (167:7): [True: 4, False: 22]
  ------------------
  168|      4|        return EShLangTessControl;
  169|      0|      case shaderc_glsl_default_tess_evaluation_shader:
  ------------------
  |  Branch (169:7): [True: 0, False: 26]
  ------------------
  170|      0|        return EShLangTessEvaluation;
  171|      0|      case shaderc_glsl_default_raygen_shader:
  ------------------
  |  Branch (171:7): [True: 0, False: 26]
  ------------------
  172|      0|        return EShLangRayGenNV;
  173|      0|      case shaderc_glsl_default_anyhit_shader:
  ------------------
  |  Branch (173:7): [True: 0, False: 26]
  ------------------
  174|      0|        return EShLangAnyHitNV;
  175|      0|      case shaderc_glsl_default_closesthit_shader:
  ------------------
  |  Branch (175:7): [True: 0, False: 26]
  ------------------
  176|      0|        return EShLangClosestHitNV;
  177|     18|      case shaderc_glsl_default_miss_shader:
  ------------------
  |  Branch (177:7): [True: 18, False: 8]
  ------------------
  178|     18|        return EShLangMissNV;
  179|      0|      case shaderc_glsl_default_intersection_shader:
  ------------------
  |  Branch (179:7): [True: 0, False: 26]
  ------------------
  180|      0|        return EShLangIntersectNV;
  181|      0|      case shaderc_glsl_default_callable_shader:
  ------------------
  |  Branch (181:7): [True: 0, False: 26]
  ------------------
  182|      0|        return EShLangCallableNV;
  183|      0|      case shaderc_glsl_default_task_shader:
  ------------------
  |  Branch (183:7): [True: 0, False: 26]
  ------------------
  184|      0|        return EShLangTaskNV;
  185|      0|      case shaderc_glsl_default_mesh_shader:
  ------------------
  |  Branch (185:7): [True: 0, False: 26]
  ------------------
  186|      0|        return EShLangMeshNV;
  187|      0|      case shaderc_spirv_assembly:
  ------------------
  |  Branch (187:7): [True: 0, False: 26]
  ------------------
  188|      0|        return EShLangCount;
  189|     26|    }
  190|     26|    assert(0 && "Unhandled shaderc_shader_kind");
  191|      0|    return EShLangCount;
  192|     26|  }
shaderc.cc:_ZN12_GLOBAL__N_120InternalFileIncluderC2Ev:
  208|     32|      : resolver_(nullptr), result_releaser_(nullptr), user_data_(nullptr) {}
shaderc.cc:_ZNK12_GLOBAL__N_112StageDeducer5errorEv:
  136|    230|  bool error() const { return error_; }

_ZN26shaderc_compilation_resultD2Ev:
   30|    262|  virtual ~shaderc_compilation_result() {}
_ZN33shaderc_compilation_result_vectorD2Ev:
   52|    262|  ~shaderc_compilation_result_vector() = default;
_ZNK33shaderc_compilation_result_vector8GetBytesEv:
   58|     64|  const char* GetBytes() const override {
   59|     64|    return reinterpret_cast<const char*>(output_data_.data());
   60|     64|  }
_ZN33shaderc_compilation_result_vector13SetOutputDataEONSt3__16vectorIjNS0_9allocatorIjEEEE:
   54|    262|  void SetOutputData(std::vector<uint32_t>&& data) {
   55|    262|    output_data_ = std::move(data);
   56|    262|  }

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

_ZN12shaderc_util16CountingIncluderC2Ev:
   36|    262|  CountingIncluder() {
   37|    262|    num_include_directives_.store(0);
   38|    262|  }
_ZN12shaderc_util16CountingIncluder13includeSystemEPKcS2_m:
   52|     12|      size_t include_depth) final {
   53|     12|    ++num_include_directives_;
   54|     12|    include_mutex_.lock();
   55|     12|    auto result = include_delegate(requested_source, requesting_source,
   56|     12|                                   IncludeType::System, include_depth);
   57|     12|    include_mutex_.unlock();
   58|     12|    return result;
   59|     12|  }
_ZN12shaderc_util16CountingIncluder12includeLocalEPKcS2_m:
   64|      9|      size_t include_depth) final {
   65|      9|    ++num_include_directives_;
   66|      9|    include_mutex_.lock();
   67|      9|    auto result = include_delegate(requested_source, requesting_source,
   68|      9|                                   IncludeType::Local, include_depth);
   69|      9|    include_mutex_.unlock();
   70|      9|    return result;
   71|      9|  }
_ZN12shaderc_util16CountingIncluder14releaseIncludeEPN7glslang7TShader8Includer13IncludeResultE:
   74|     24|  void releaseInclude(glslang::TShader::Includer::IncludeResult* result) final {
   75|     24|    release_delegate(result);
   76|     24|  }
_ZNK12shaderc_util16CountingIncluder22num_include_directivesEv:
   78|     58|  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|    262|                   const std::string& infix, const std::string& postfix) {
   27|    262|  std::stringstream s;
   28|    262|  for (const auto& pair : map) {
  ------------------
  |  Branch (28:25): [True: 0, False: 262]
  ------------------
   29|      0|    s << prefix << pair.first << infix << pair.second << postfix;
   30|      0|  }
   31|    262|  return s.str();
   32|    262|}

_ZN12shaderc_util11posix_mutexC2Ev:
   81|    262|  posix_mutex() { pthread_mutex_init(&mutex_, nullptr); }
_ZN12shaderc_util11posix_mutexD2Ev:
   83|    262|  ~posix_mutex() { pthread_mutex_destroy(&mutex_); }
_ZN12shaderc_util11posix_mutex4lockEv:
   90|     21|  void lock() { pthread_mutex_lock(&mutex_); }
_ZN12shaderc_util11posix_mutex6unlockEv:
   94|     21|  void unlock() { pthread_mutex_unlock(&mutex_); }

_ZN12shaderc_util12string_pieceC2EPKcS2_:
   38|   258M|      : begin_(begin), end_(end) {
   39|       |    assert((begin == nullptr) == (end == nullptr) &&
   40|   258M|           "either both begin and end must be nullptr or neither must be");
   41|   258M|  }
_ZN12shaderc_util12string_pieceC2Ev:
   35|  10.0M|  constexpr string_piece() {}
_ZN12shaderc_util12string_pieceC2EPKc:
   43|  53.7M|  string_piece(const char* string) : begin_(string), end_(string) {
   44|  53.7M|    if (string) {
  ------------------
  |  Branch (44:9): [True: 53.7M, False: 0]
  ------------------
   45|  53.7M|      end_ += strlen(string);
   46|  53.7M|    }
   47|  53.7M|  }
_ZN12shaderc_util12string_pieceC2ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
   49|    829|  string_piece(const std::string& str) {
   50|    829|    if (!str.empty()) {
  ------------------
  |  Branch (50:9): [True: 829, False: 0]
  ------------------
   51|    829|      begin_ = &(str.front());
   52|    829|      end_ = &(str.back()) + 1;
   53|    829|    }
   54|    829|  }
_ZN12shaderc_util12string_pieceC2ERKS0_:
   56|  59.7M|  string_piece(const string_piece& other) {
   57|  59.7M|    begin_ = other.begin_;
   58|  59.7M|    end_ = other.end_;
   59|  59.7M|  }
_ZN12shaderc_util12string_piece5clearEv:
   64|  7.91M|  void clear() {
   65|  7.91M|    begin_ = nullptr;
   66|  7.91M|    end_ = nullptr;
   67|  7.91M|  }
_ZNK12shaderc_util12string_piece4dataEv:
   71|  2.52M|  const char* data() const { return begin_; }
_ZNK12shaderc_util12string_piece6substrEmm:
   77|  16.5M|  string_piece substr(size_t pos, size_t len = npos) const {
   78|  16.5M|    assert(len == npos || pos + len <= size());
   79|  16.5M|    return string_piece(begin_ + pos, len == npos ? end_ : begin_ + pos + len);
  ------------------
  |  Branch (79:39): [True: 5.04M, False: 11.4M]
  ------------------
   80|  16.5M|  }
_ZNK12shaderc_util12string_piece17find_first_not_ofERKS0_m:
  102|  2.52M|                           size_t pos = 0) const {
  103|  2.52M|    if (pos >= size()) {
  ------------------
  |  Branch (103:9): [True: 0, False: 2.52M]
  ------------------
  104|      0|      return npos;
  105|      0|    }
  106|  5.46M|    for (auto it = begin_ + pos; it != end_; ++it) {
  ------------------
  |  Branch (106:34): [True: 5.46M, False: 0]
  ------------------
  107|  5.46M|      if (to_search.find_first_of(*it) == npos) {
  ------------------
  |  Branch (107:11): [True: 2.52M, False: 2.94M]
  ------------------
  108|  2.52M|        return it - begin_;
  109|  2.52M|      }
  110|  5.46M|    }
  111|      0|    return npos;
  112|  2.52M|  }
_ZNK12shaderc_util12string_piece13find_first_ofERKS0_m:
  124|  29.6M|  size_t find_first_of(const string_piece& to_search, size_t pos = 0) const {
  125|  29.6M|    if (pos >= size()) {
  ------------------
  |  Branch (125:9): [True: 372, False: 29.6M]
  ------------------
  126|    372|      return npos;
  127|    372|    }
  128|   483M|    for (auto it = begin_ + pos; it != end_; ++it) {
  ------------------
  |  Branch (128:34): [True: 471M, False: 12.6M]
  ------------------
  129|   471M|      for (char c : to_search) {
  ------------------
  |  Branch (129:19): [True: 471M, False: 454M]
  ------------------
  130|   471M|        if (c == *it) {
  ------------------
  |  Branch (130:13): [True: 17.0M, False: 454M]
  ------------------
  131|  17.0M|          return it - begin_;
  132|  17.0M|        }
  133|   471M|      }
  134|   471M|    }
  135|  12.6M|    return npos;
  136|  29.6M|  }
_ZNK12shaderc_util12string_piece13find_first_ofEcm:
  140|  29.6M|  size_t find_first_of(char to_search, size_t pos = 0) const {
  141|  29.6M|    return find_first_of(string_piece(&to_search, &to_search + 1), pos);
  142|  29.6M|  }
_ZNK12shaderc_util12string_piece6lstripERKS0_:
  196|  6.09M|  string_piece lstrip(const string_piece& chars_to_strip) const {
  197|  6.09M|    iterator begin = begin_;
  198|  6.15M|    for (; begin < end_; ++begin)
  ------------------
  |  Branch (198:12): [True: 5.10M, False: 1.04M]
  ------------------
  199|  5.10M|      if (chars_to_strip.find_first_of(*begin) == npos) break;
  ------------------
  |  Branch (199:11): [True: 5.04M, False: 55.7k]
  ------------------
  200|  6.09M|    if (begin >= end_) return string_piece();
  ------------------
  |  Branch (200:9): [True: 1.04M, False: 5.04M]
  ------------------
  201|  5.04M|    return string_piece(begin, end_);
  202|  6.09M|  }
_ZNK12shaderc_util12string_piece6rstripERKS0_:
  205|  6.09M|  string_piece rstrip(const string_piece& chars_to_strip) const {
  206|  6.09M|    iterator end = end_;
  207|  8.61M|    for (; begin_ < end; --end)
  ------------------
  |  Branch (207:12): [True: 7.57M, False: 1.04M]
  ------------------
  208|  7.57M|      if (chars_to_strip.find_first_of(*(end - 1)) == npos) break;
  ------------------
  |  Branch (208:11): [True: 5.04M, False: 2.52M]
  ------------------
  209|  6.09M|    if (begin_ >= end) return string_piece();
  ------------------
  |  Branch (209:9): [True: 1.04M, False: 5.04M]
  ------------------
  210|  5.04M|    return string_piece(begin_, end);
  211|  6.09M|  }
_ZNK12shaderc_util12string_piece5stripERKS0_:
  215|  6.09M|  string_piece strip(const string_piece& chars_to_strip) const {
  216|  6.09M|    return lstrip(chars_to_strip).rstrip(chars_to_strip);
  217|  6.09M|  }
_ZNK12shaderc_util12string_piece16strip_whitespaceEv:
  219|  6.09M|  string_piece strip_whitespace() const { return strip(" \t\n\r\f\v"); }
_ZNK12shaderc_util12string_pieceeqERKS0_:
  225|  42.2M|  bool operator==(const string_piece& other) const {
  226|       |    // Either end_ and _begin_ are nullptr or neither of them are.
  227|  42.2M|    assert(((end_ == nullptr) == (begin_ == nullptr)));
  228|  42.2M|    assert(((other.end_ == nullptr) == (other.begin_ == nullptr)));
  229|  42.2M|    if (size() != other.size()) {
  ------------------
  |  Branch (229:9): [True: 42.2M, False: 1.60k]
  ------------------
  230|  42.2M|      return false;
  231|  42.2M|    }
  232|  1.60k|    return (memcmp(begin_, other.begin_, end_ - begin_) == 0);
  233|  42.2M|  }
_ZNK12shaderc_util12string_piece5beginEv:
  240|   680M|  iterator begin() const { return begin_; }
_ZNK12shaderc_util12string_piece3endEv:
  243|  1.10G|  iterator end() const { return end_; }
_ZNK12shaderc_util12string_piece11starts_withERKS0_:
  257|   209M|  bool starts_with(const string_piece& other) const {
  258|   209M|    const char* iter = begin_;
  259|   209M|    const char* other_iter = other.begin();
  260|   227M|    while (iter != end_ && other_iter != other.end()) {
  ------------------
  |  Branch (260:12): [True: 225M, False: 2.09M]
  |  Branch (260:28): [True: 222M, False: 2.52M]
  ------------------
  261|   222M|      if (*iter++ != *other_iter++) {
  ------------------
  |  Branch (261:11): [True: 205M, False: 17.6M]
  ------------------
  262|   205M|        return false;
  263|   205M|      }
  264|   222M|    }
  265|  4.61M|    return other_iter == other.end();
  266|   209M|  }
_ZNK12shaderc_util12string_piece4findERKS0_m:
  272|     84|  size_t find(const string_piece& substr, size_t pos = 0) const {
  273|     84|    if (empty()) return npos;
  ------------------
  |  Branch (273:9): [True: 0, False: 84]
  ------------------
  274|     84|    if (pos >= size()) return npos;
  ------------------
  |  Branch (274:9): [True: 0, False: 84]
  ------------------
  275|     84|    if (substr.empty()) return 0;
  ------------------
  |  Branch (275:9): [True: 0, False: 84]
  ------------------
  276|     84|    for (auto it = begin_ + pos;
  277|   201M|         end() - it >= static_cast<decltype(end() - it)>(substr.size()); ++it) {
  ------------------
  |  Branch (277:10): [True: 201M, False: 82]
  ------------------
  278|   201M|      if (string_piece(it, end()).starts_with(substr)) return it - begin_;
  ------------------
  |  Branch (278:11): [True: 2, False: 201M]
  ------------------
  279|   201M|    }
  280|     82|    return npos;
  281|     84|  }
_ZNK12shaderc_util12string_piece5emptyEv:
  292|  8.73M|  bool empty() const { return begin_ == end_; }
_ZNK12shaderc_util12string_piece4sizeEv:
  295|   321M|  size_t size() const { return end_ - begin_; }
_ZNK12shaderc_util12string_piece10get_fieldsEcb:
  301|    372|                                       bool keep_delimiter = false) const {
  302|    372|    std::vector<string_piece> fields;
  303|    372|    size_t first = 0;
  304|    372|    size_t field_break = find_first_of(delimiter);
  305|  6.45M|    while (field_break != npos) {
  ------------------
  |  Branch (305:12): [True: 6.45M, False: 372]
  ------------------
  306|  6.45M|      fields.push_back(substr(first, field_break - first + keep_delimiter));
  307|  6.45M|      first = field_break + 1;
  308|  6.45M|      field_break = find_first_of(delimiter, first);
  309|  6.45M|    }
  310|    372|    if (size() - first > 0) {
  ------------------
  |  Branch (310:9): [True: 0, False: 372]
  ------------------
  311|      0|      fields.push_back(substr(first, size() - first));
  312|      0|    }
  313|    372|    return fields;
  314|    372|  }
_ZN12shaderc_utillsERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEERKNS_12string_pieceE:
  326|  10.5M|inline std::ostream& operator<<(std::ostream& os, const string_piece& piece) {
  327|       |  // Either end_ and _begin_ are nullptr or neither of them are.
  328|  10.5M|  assert(((piece.end_ == nullptr) == (piece.begin_ == nullptr)));
  329|  10.5M|  if (piece.end_ != piece.begin_) {
  ------------------
  |  Branch (329:7): [True: 10.5M, False: 0]
  ------------------
  330|  10.5M|    os.write(piece.begin_, piece.end_ - piece.begin_);
  331|  10.5M|  }
  332|  10.5M|  return os;
  333|  10.5M|}
_ZN12shaderc_utileqEPKcNS_12string_pieceE:
  335|  36.9M|inline bool operator==(const char* first, const string_piece second) {
  336|  36.9M|  return second == string_piece(first);
  337|  36.9M|}

_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|    198|GlslangInitializer::GlslangInitializer() {
  120|    198|  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|    198|  {
  125|    198|    const std::lock_guard<std::mutex> first_call_lock(first_call_mutex);
  126|    198|    if (glslang_mutex_ == nullptr) {
  ------------------
  |  Branch (126:9): [True: 1, False: 197]
  ------------------
  127|      1|      glslang_mutex_ = new std::mutex();
  128|      1|    }
  129|    198|  }
  130|       |
  131|    198|  const std::lock_guard<std::mutex> glslang_lock(*glslang_mutex_);
  132|       |
  133|    198|  if (initialize_count_ == 0) {
  ------------------
  |  Branch (133:7): [True: 166, False: 32]
  ------------------
  134|    166|    glslang::InitializeProcess();
  135|    166|  }
  136|       |
  137|    198|  initialize_count_++;
  138|    198|}
_ZN12shaderc_util18GlslangInitializerD2Ev:
  140|    198|GlslangInitializer::~GlslangInitializer() {
  141|    198|  const std::lock_guard<std::mutex> glslang_lock(*glslang_mutex_);
  142|       |
  143|    198|  initialize_count_--;
  144|       |
  145|    198|  if (initialize_count_ == 0) {
  ------------------
  |  Branch (145:7): [True: 166, False: 32]
  ------------------
  146|    166|    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|    166|  }
  154|    198|}
_ZNK12shaderc_util8Compiler7CompileERKNS_12string_pieceE11EShLanguageRKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEPKcRKNS5_8functionIFS4_PNS5_13basic_ostreamIcS8_EES3_EEERNS_16CountingIncluderENS0_10OutputTypeESJ_PmSR_:
  186|    262|    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|    262|  auto result_tuple =
  191|    262|      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|    262|  bool& succeeded = std::get<0>(result_tuple);
  195|    262|  std::vector<uint32_t>& compilation_output_data = std::get<1>(result_tuple);
  196|    262|  size_t& compilation_output_data_size_in_bytes = std::get<2>(result_tuple);
  197|       |
  198|       |  // Check target environment.
  199|    262|  const auto target_client_info = GetGlslangClientInfo(
  200|    262|      error_tag, target_env_, target_env_version_, target_spirv_version_,
  201|    262|      target_spirv_version_is_forced_);
  202|    262|  if (!target_client_info.error.empty()) {
  ------------------
  |  Branch (202:7): [True: 0, False: 262]
  ------------------
  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|    262|  EShLanguage used_shader_stage = forced_shader_stage;
  223|    262|  const std::string macro_definitions =
  224|    262|      shaderc_util::format(predefined_macros_, "#define ", " ", "\n");
  225|    262|  const std::string pound_extension =
  226|    262|      "#extension GL_GOOGLE_include_directive : enable\n";
  227|    262|  const std::string preamble = macro_definitions + pound_extension;
  228|       |
  229|    262|  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|    262|  if (output_type == OutputType::PreprocessedText ||
  ------------------
  |  Branch (234:7): [True: 166, False: 96]
  ------------------
  235|    205|      used_shader_stage == EShLangCount) {
  ------------------
  |  Branch (235:7): [True: 39, False: 57]
  ------------------
  236|    205|    bool success;
  237|    205|    std::string glslang_errors;
  238|    205|    std::tie(success, preprocessed_shader, glslang_errors) =
  239|    205|        PreprocessShader(error_tag, input_source_string, preamble, includer);
  240|       |
  241|    205|    success &= PrintFilteredErrors(error_tag, error_stream, warnings_as_errors_,
  242|    205|                                   /* suppress_warnings = */ true,
  243|    205|                                   glslang_errors.c_str(), total_warnings,
  244|    205|                                   total_errors);
  245|    205|    if (!success) return result_tuple;
  ------------------
  |  Branch (245:9): [True: 147, False: 58]
  ------------------
  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|     58|    int version;
  251|     58|    EProfile profile;
  252|     58|    std::tie(version, profile) = DeduceVersionProfile(preprocessed_shader);
  253|     58|    const bool is_for_next_line = LineDirectiveIsForNextLine(version, profile);
  254|       |
  255|     58|    preprocessed_shader =
  256|     58|        CleanupPreamble(preprocessed_shader, error_tag, pound_extension,
  257|     58|                        includer.num_include_directives(), is_for_next_line);
  258|       |
  259|     58|    if (output_type == OutputType::PreprocessedText) {
  ------------------
  |  Branch (259:9): [True: 32, False: 26]
  ------------------
  260|       |      // Set the values of the result tuple.
  261|     32|      succeeded = true;
  262|     32|      compilation_output_data = ConvertStringToVector(preprocessed_shader);
  263|     32|      compilation_output_data_size_in_bytes = preprocessed_shader.size();
  264|     32|      return result_tuple;
  265|     32|    } else if (used_shader_stage == EShLangCount) {
  ------------------
  |  Branch (265:16): [True: 26, False: 0]
  ------------------
  266|     26|      std::string errors;
  267|     26|      std::tie(used_shader_stage, errors) =
  268|     26|          GetShaderStageFromSourceCode(error_tag, preprocessed_shader);
  269|     26|      if (!errors.empty()) {
  ------------------
  |  Branch (269:11): [True: 0, False: 26]
  ------------------
  270|      0|        *error_stream << errors;
  271|      0|        return result_tuple;
  272|      0|      }
  273|     26|      if (used_shader_stage == EShLangCount) {
  ------------------
  |  Branch (273:11): [True: 26, False: 0]
  ------------------
  274|     26|        if ((used_shader_stage = stage_callback(error_stream, error_tag)) ==
  ------------------
  |  Branch (274:13): [True: 0, False: 26]
  ------------------
  275|     26|            EShLangCount) {
  276|      0|          return result_tuple;
  277|      0|        }
  278|     26|      }
  279|     26|    }
  280|     58|  }
  281|       |
  282|       |  // Parsing requires its own Glslang symbol tables.
  283|     83|  glslang::TShader shader(used_shader_stage);
  284|     83|  const char* shader_strings = input_source_string.data();
  285|     83|  const int shader_lengths = static_cast<int>(input_source_string.size());
  286|     83|  const char* string_names = error_tag.c_str();
  287|     83|  shader.setStringsWithLengthsAndNames(&shader_strings, &shader_lengths,
  288|     83|                                       &string_names, 1);
  289|     83|  shader.setPreamble(preamble.c_str());
  290|     83|  shader.setEntryPoint(entry_point_name);
  291|     83|  shader.setAutoMapBindings(auto_bind_uniforms_);
  292|     83|  if (auto_combined_image_sampler_) {
  ------------------
  |  Branch (292:7): [True: 0, False: 83]
  ------------------
  293|      0|    shader.setTextureSamplerTransformMode(
  294|      0|        EShTexSampTransUpgradeTextureRemoveSampler);
  295|      0|  }
  296|     83|  shader.setAutoMapLocations(auto_map_locations_);
  297|     83|  const auto& bases = auto_binding_base_[static_cast<int>(used_shader_stage)];
  298|     83|  shader.setShiftImageBinding(bases[static_cast<int>(UniformKind::Image)]);
  299|     83|  shader.setShiftSamplerBinding(bases[static_cast<int>(UniformKind::Sampler)]);
  300|     83|  shader.setShiftTextureBinding(bases[static_cast<int>(UniformKind::Texture)]);
  301|     83|  shader.setShiftUboBinding(bases[static_cast<int>(UniformKind::Buffer)]);
  302|     83|  shader.setShiftSsboBinding(
  303|     83|      bases[static_cast<int>(UniformKind::StorageBuffer)]);
  304|     83|  shader.setShiftUavBinding(
  305|     83|      bases[static_cast<int>(UniformKind::UnorderedAccessView)]);
  306|     83|#if SHADERC_ENABLE_HLSL
  307|     83|  shader.setHlslIoMapping(hlsl_iomap_);
  308|     83|#endif
  309|     83|  shader.setResourceSetBinding(
  310|     83|      hlsl_explicit_bindings_[static_cast<int>(used_shader_stage)]);
  311|     83|  shader.setEnvClient(target_client_info.client,
  312|     83|                      target_client_info.client_version);
  313|     83|  shader.setEnvTarget(target_client_info.target_language,
  314|     83|                      target_client_info.target_language_version);
  315|     83|#if SHADERC_ENABLE_HLSL
  316|     83|  if (hlsl_functionality1_enabled_) {
  ------------------
  |  Branch (316:7): [True: 44, False: 39]
  ------------------
  317|     44|    shader.setEnvTargetHlslFunctionality1();
  318|     44|  }
  319|     83|#endif
  320|     83|  if (vulkan_rules_relaxed_) {
  ------------------
  |  Branch (320:7): [True: 0, False: 83]
  ------------------
  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|     83|  shader.setInvertY(invert_y_enabled_);
  338|     83|  shader.setNanMinMaxClamp(nan_clamp_);
  339|       |
  340|     83|  const EShMessages rules =
  341|     83|      GetMessageRules(target_env_, source_language_, hlsl_offsets_,
  342|     83|                      hlsl_16bit_types_enabled_, generate_debug_info_);
  343|       |
  344|     83|  bool success = shader.parse(&limits_, default_version_, default_profile_,
  345|     83|                              force_version_profile_, kNotForwardCompatible,
  346|     83|                              rules, includer);
  347|       |
  348|     83|  success &= PrintFilteredErrors(error_tag, error_stream, warnings_as_errors_,
  349|     83|                                 suppress_warnings_, shader.getInfoLog(),
  350|     83|                                 total_warnings, total_errors);
  351|     83|  if (!success) return result_tuple;
  ------------------
  |  Branch (351:7): [True: 83, 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|    166|void Compiler::SetSourceLanguage(Compiler::SourceLanguage lang) {
  446|    166|  source_language_ = lang;
  447|    166|}
_ZN12shaderc_util8Compiler20SetOptimizationLevelENS0_17OptimizationLevelE:
  466|    166|void Compiler::SetOptimizationLevel(Compiler::OptimizationLevel level) {
  467|       |  // Clear previous settings first.
  468|    166|  enabled_opt_passes_.clear();
  469|       |
  470|    166|  switch (level) {
  471|     58|    case OptimizationLevel::Size:
  ------------------
  |  Branch (471:5): [True: 58, False: 108]
  ------------------
  472|     58|      if (!generate_debug_info_) {
  ------------------
  |  Branch (472:11): [True: 58, False: 0]
  ------------------
  473|     58|        enabled_opt_passes_.push_back(PassId::kStripDebugInfo);
  474|     58|      }
  475|     58|      enabled_opt_passes_.push_back(PassId::kSizePasses);
  476|     58|      break;
  477|     45|    case OptimizationLevel::Performance:
  ------------------
  |  Branch (477:5): [True: 45, False: 121]
  ------------------
  478|     45|      if (!generate_debug_info_) {
  ------------------
  |  Branch (478:11): [True: 45, False: 0]
  ------------------
  479|     45|        enabled_opt_passes_.push_back(PassId::kStripDebugInfo);
  480|     45|      }
  481|     45|      enabled_opt_passes_.push_back(PassId::kPerformancePasses);
  482|     45|      break;
  483|     63|    default:
  ------------------
  |  Branch (483:5): [True: 63, False: 103]
  ------------------
  484|     63|      break;
  485|    166|  }
  486|    166|}
_ZN12shaderc_util8Compiler24EnableHlslFunctionality1Eb:
  492|    166|void Compiler::EnableHlslFunctionality1(bool enable) {
  493|    166|  hlsl_functionality1_enabled_ = enable;
  494|    166|}
_ZN12shaderc_util8Compiler20EnableHlsl16BitTypesEb:
  500|    166|void Compiler::EnableHlsl16BitTypes(bool enable) {
  501|    166|  hlsl_16bit_types_enabled_ = enable;
  502|    166|}
_ZN12shaderc_util8Compiler13EnableInvertYEb:
  504|    166|void Compiler::EnableInvertY(bool enable) { invert_y_enabled_ = enable; }
_ZN12shaderc_util8Compiler11SetNanClampEb:
  506|    166|void Compiler::SetNanClamp(bool enable) { nan_clamp_ = enable; }
_ZNK12shaderc_util8Compiler16PreprocessShaderERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERKNS_12string_pieceESC_RNS_16CountingIncluderE:
  512|    205|    const string_piece& shader_preamble, CountingIncluder& includer) const {
  513|       |  // The stage does not matter for preprocessing.
  514|    205|  glslang::TShader shader(EShLangVertex);
  515|    205|  const char* shader_strings = shader_source.data();
  516|    205|  const int shader_lengths = static_cast<int>(shader_source.size());
  517|    205|  const char* string_names = error_tag.c_str();
  518|    205|  shader.setStringsWithLengthsAndNames(&shader_strings, &shader_lengths,
  519|    205|                                       &string_names, 1);
  520|    205|  shader.setPreamble(shader_preamble.data());
  521|    205|  auto target_client_info = GetGlslangClientInfo(
  522|    205|      error_tag, target_env_, target_env_version_, target_spirv_version_,
  523|    205|      target_spirv_version_is_forced_);
  524|    205|  if (!target_client_info.error.empty()) {
  ------------------
  |  Branch (524:7): [True: 0, False: 205]
  ------------------
  525|      0|    return std::make_tuple(false, "", target_client_info.error);
  526|      0|  }
  527|    205|  shader.setEnvClient(target_client_info.client,
  528|    205|                      target_client_info.client_version);
  529|    205|#if SHADERC_ENABLE_HLSL
  530|    205|  if (hlsl_functionality1_enabled_) {
  ------------------
  |  Branch (530:7): [True: 96, False: 109]
  ------------------
  531|     96|    shader.setEnvTargetHlslFunctionality1();
  532|     96|  }
  533|    205|#endif
  534|    205|  shader.setInvertY(invert_y_enabled_);
  535|    205|  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|    205|  const auto rules = static_cast<EShMessages>(
  541|    205|      EShMsgOnlyPreprocessor |
  542|    205|      GetMessageRules(target_env_, source_language_, hlsl_offsets_,
  543|    205|                      hlsl_16bit_types_enabled_, false));
  544|       |
  545|    205|  std::string preprocessed_shader;
  546|    205|  const bool success = shader.preprocess(
  547|    205|      &limits_, default_version_, default_profile_, force_version_profile_,
  548|    205|      kNotForwardCompatible, rules, &preprocessed_shader, includer);
  549|       |
  550|    205|  if (success) {
  ------------------
  |  Branch (550:7): [True: 58, False: 147]
  ------------------
  551|     58|    return std::make_tuple(true, preprocessed_shader, shader.getInfoLog());
  552|     58|  }
  553|    147|  return std::make_tuple(false, "", shader.getInfoLog());
  554|    205|}
_ZNK12shaderc_util8Compiler15CleanupPreambleERKNS_12string_pieceES3_S3_ib:
  560|     58|                                      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|     58|  const std::vector<string_piece> lines =
  573|     58|      preprocessed_shader.get_fields('\n', /* keep_delimiter = */ true);
  574|       |
  575|     58|  std::ostringstream output_stream;
  576|       |
  577|     58|  size_t pound_extension_index = lines.size();
  578|     58|  size_t pound_version_index = lines.size();
  579|  2.76M|  for (size_t i = 0; i < lines.size(); ++i) {
  ------------------
  |  Branch (579:22): [True: 2.76M, False: 56]
  ------------------
  580|  2.76M|    if (lines[i] == pound_extension) {
  ------------------
  |  Branch (580:9): [True: 58, False: 2.76M]
  ------------------
  581|     58|      pound_extension_index = std::min(i, pound_extension_index);
  582|  2.76M|    } else if (lines[i].starts_with("#version")) {
  ------------------
  |  Branch (582:16): [True: 2, False: 2.76M]
  ------------------
  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|  2.76M|  }
  591|       |  // We know that #extension directive exists and appears before #version
  592|       |  // directive (if any).
  593|     58|  assert(pound_extension_index < lines.size());
  594|       |
  595|     58|  for (size_t i = 0; i < pound_extension_index; ++i) {
  ------------------
  |  Branch (595:22): [True: 0, False: 58]
  ------------------
  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|     58|  if (num_include_directives > 0) {
  ------------------
  |  Branch (602:7): [True: 0, False: 58]
  ------------------
  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|  2.76M|  for (size_t i = pound_extension_index + 1; i < lines.size(); ++i) {
  ------------------
  |  Branch (608:46): [True: 2.76M, False: 58]
  ------------------
  609|  2.76M|    if (i == pound_version_index) {
  ------------------
  |  Branch (609:9): [True: 2, False: 2.76M]
  ------------------
  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|  2.76M|    } else {
  616|  2.76M|      output_stream << lines[i];
  617|  2.76M|    }
  618|  2.76M|  }
  619|       |
  620|     58|  return output_stream.str();
  621|     58|}
_ZNK12shaderc_util8Compiler28GetShaderStageFromSourceCodeENS_12string_pieceERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE:
  624|     26|    string_piece filename, const std::string& preprocessed_shader) const {
  625|     26|  const string_piece kPragmaShaderStageDirective = "#pragma shader_stage";
  626|       |
  627|     26|  int version;
  628|     26|  EProfile profile;
  629|     26|  std::tie(version, profile) = DeduceVersionProfile(preprocessed_shader);
  630|     26|  const bool is_for_next_line = LineDirectiveIsForNextLine(version, profile);
  631|       |
  632|     26|  std::vector<string_piece> lines =
  633|     26|      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|     26|  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|     26|  size_t first_pragma_physical_line = lines.size() + 1;
  640|     26|  size_t first_non_pp_line = lines.size() + 1;
  641|       |
  642|  1.04M|  for (size_t i = 0, logical_line_no = 1; i < lines.size(); ++i) {
  ------------------
  |  Branch (642:43): [True: 1.04M, False: 26]
  ------------------
  643|  1.04M|    const string_piece current_line = lines[i].strip_whitespace();
  644|  1.04M|    if (current_line.starts_with(kPragmaShaderStageDirective)) {
  ------------------
  |  Branch (644:9): [True: 0, False: 1.04M]
  ------------------
  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|  1.04M|    } else if (!current_line.empty() && !current_line.starts_with("#")) {
  ------------------
  |  Branch (649:16): [True: 3.19k, False: 1.04M]
  |  Branch (649:16): [True: 3.19k, False: 1.04M]
  |  Branch (649:41): [True: 3.19k, False: 0]
  ------------------
  650|  3.19k|      first_non_pp_line = std::min(first_non_pp_line, i + 1);
  651|  3.19k|    }
  652|       |
  653|       |    // Update logical line number for the next line.
  654|  1.04M|    if (current_line.starts_with(kLineDirectivePrefix)) {
  ------------------
  |  Branch (654:9): [True: 0, False: 1.04M]
  ------------------
  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|  1.04M|    } else {
  664|  1.04M|      ++logical_line_no;
  665|  1.04M|    }
  666|  1.04M|  }
  667|     26|  if (stages.empty()) return std::make_pair(EShLangCount, "");
  ------------------
  |  Branch (667:7): [True: 26, 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|     26|}
_ZNK12shaderc_util8Compiler20DeduceVersionProfileERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
  709|     84|    const std::string& preprocessed_shader) const {
  710|     84|  int version = default_version_;
  711|     84|  EProfile profile = default_profile_;
  712|     84|  if (!force_version_profile_) {
  ------------------
  |  Branch (712:7): [True: 84, False: 0]
  ------------------
  713|     84|    std::tie(version, profile) =
  714|     84|        GetVersionProfileFromSourceCode(preprocessed_shader);
  715|     84|    if (version == 0 && profile == ENoProfile) {
  ------------------
  |  Branch (715:9): [True: 82, False: 2]
  |  Branch (715:25): [True: 82, False: 0]
  ------------------
  716|     82|      version = default_version_;
  717|     82|      profile = default_profile_;
  718|     82|    }
  719|     84|  }
  720|     84|  return std::make_pair(version, profile);
  721|     84|}
_ZNK12shaderc_util8Compiler31GetVersionProfileFromSourceCodeERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
  724|     84|    const std::string& preprocessed_shader) const {
  725|     84|  string_piece pound_version = preprocessed_shader;
  726|     84|  const size_t pound_version_loc = pound_version.find("#version");
  727|     84|  if (pound_version_loc == string_piece::npos) {
  ------------------
  |  Branch (727:7): [True: 82, False: 2]
  ------------------
  728|     82|    return std::make_pair(0, ENoProfile);
  729|     82|  }
  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|     32|std::vector<uint32_t> ConvertStringToVector(const std::string& str) {
  751|     32|  size_t num_bytes_str = str.size() + 1u;
  752|     32|  size_t vector_length =
  753|     32|      (num_bytes_str + sizeof(uint32_t) - 1) / sizeof(uint32_t);
  754|     32|  std::vector<uint32_t> result_vec(vector_length, 0);
  755|     32|  std::strncpy(reinterpret_cast<char*>(result_vec.data()), str.c_str(),
  756|     32|               str.size());
  757|     32|  return result_vec;
  758|     32|}
_ZN12shaderc_util20GetGlslangClientInfoERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEENS_8Compiler9TargetEnvENS9_16TargetEnvVersionENS9_12SpirvVersionEb:
  764|    467|    bool spv_version_is_forced) {
  765|    467|  GlslangClientInfo result;
  766|    467|  std::ostringstream errs;
  767|       |
  768|    467|  using shaderc_util::Compiler;
  769|    467|  switch (env) {
  770|    467|    case Compiler::TargetEnv::Vulkan:
  ------------------
  |  Branch (770:5): [True: 467, False: 0]
  ------------------
  771|    467|      result.client = glslang::EShClientVulkan;
  772|    467|      if (env_version == Compiler::TargetEnvVersion::Default ||
  ------------------
  |  Branch (772:11): [True: 467, False: 0]
  ------------------
  773|    467|          env_version == Compiler::TargetEnvVersion::Vulkan_1_0) {
  ------------------
  |  Branch (773:11): [True: 0, False: 0]
  ------------------
  774|    467|        result.client_version = glslang::EShTargetVulkan_1_0;
  775|    467|      } 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|    467|      break;
  793|      0|    case Compiler::TargetEnv::OpenGLCompat:
  ------------------
  |  Branch (793:5): [True: 0, False: 467]
  ------------------
  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: 467]
  ------------------
  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: 467]
  ------------------
  808|      0|      errs << "error:" << error_tag << ": Invalid target client environment "
  809|      0|           << int(env);
  810|      0|      break;
  811|    467|  }
  812|       |
  813|    467|  if (spv_version_is_forced && errs.str().empty()) {
  ------------------
  |  Branch (813:7): [True: 0, False: 467]
  |  Branch (813:7): [True: 0, False: 467]
  |  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|    467|  result.error = errs.str();
  843|    467|  return result;
  844|    467|}
compiler.cc:_ZN12_GLOBAL__N_126LineDirectiveIsForNextLineEi8EProfile:
   46|     84|inline bool LineDirectiveIsForNextLine(int version, EProfile profile) {
   47|     84|  return profile == EEsProfile || version >= 330;
  ------------------
  |  Branch (47:10): [True: 0, False: 84]
  |  Branch (47:35): [True: 2, False: 82]
  ------------------
   48|     84|}
compiler.cc:_ZN12_GLOBAL__N_115GetMessageRulesEN12shaderc_util8Compiler9TargetEnvENS1_14SourceLanguageEbbb:
   81|    288|                            bool debug_info) {
   82|    288|  using shaderc_util::Compiler;
   83|    288|  EShMessages result = EShMsgCascadingErrors;
   84|    288|  if (lang == Compiler::SourceLanguage::HLSL) {
  ------------------
  |  Branch (84:7): [True: 158, False: 130]
  ------------------
   85|    158|    result = static_cast<EShMessages>(result | EShMsgReadHlsl);
   86|    158|  }
   87|    288|  switch (env) {
  ------------------
  |  Branch (87:11): [True: 288, False: 0]
  ------------------
   88|      0|    case Compiler::TargetEnv::OpenGLCompat:
  ------------------
  |  Branch (88:5): [True: 0, False: 288]
  ------------------
   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: 288]
  ------------------
   93|      0|      result = static_cast<EShMessages>(result | EShMsgSpvRules);
   94|      0|      break;
   95|    288|    case Compiler::TargetEnv::Vulkan:
  ------------------
  |  Branch (95:5): [True: 288, False: 0]
  ------------------
   96|    288|      result =
   97|    288|          static_cast<EShMessages>(result | EShMsgSpvRules | EShMsgVulkanRules);
   98|    288|      break;
   99|    288|  }
  100|    288|  if (hlsl_offsets) {
  ------------------
  |  Branch (100:7): [True: 155, False: 133]
  ------------------
  101|    155|    result = static_cast<EShMessages>(result | EShMsgHlslOffsets);
  102|    155|  }
  103|    288|  if (hlsl_16bit_types) {
  ------------------
  |  Branch (103:7): [True: 145, False: 143]
  ------------------
  104|    145|    result = static_cast<EShMessages>(result | EShMsgHlslEnable16BitTypes);
  105|    145|  }
  106|    288|  if (debug_info) {
  ------------------
  |  Branch (106:7): [True: 0, False: 288]
  ------------------
  107|      0|    result = static_cast<EShMessages>(result | EShMsgDebugInfo);
  108|      0|  }
  109|    288|  return result;
  110|    288|}

_ZN12shaderc_util18ParseGlslangOutputERKNS_12string_pieceEbbPS0_S3_S3_:
  132|  2.63M|                               string_piece* line_number, string_piece* rest) {
  133|  2.63M|  string_piece rest_of_message(message);
  134|  2.63M|  source_name->clear();
  135|  2.63M|  line_number->clear();
  136|  2.63M|  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.63M|  bool is_error = false;
  152|       |
  153|       |  // Handle <message-type>.
  154|  2.63M|  switch (DeduceMessageType(&rest_of_message)) {
  155|      0|    case MessageType::Warning:
  ------------------
  |  Branch (155:5): [True: 0, False: 2.63M]
  ------------------
  156|      0|      if (suppress_warnings) return MessageType::Ignored;
  ------------------
  |  Branch (156:11): [True: 0, False: 0]
  ------------------
  157|      0|      break;
  158|  2.52M|    case MessageType::Error:
  ------------------
  |  Branch (158:5): [True: 2.52M, False: 114k]
  ------------------
  159|  2.52M|      is_error = true;
  160|  2.52M|      break;
  161|      0|    case MessageType::GlobalWarning:
  ------------------
  |  Branch (161:5): [True: 0, False: 2.63M]
  ------------------
  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.52M]
  ------------------
  167|   114k|      *rest = rest_of_message;
  168|   114k|      return MessageType::Unknown;
  169|      0|    default:
  ------------------
  |  Branch (169:5): [True: 0, False: 2.63M]
  ------------------
  170|      0|      break;
  171|  2.63M|  }
  172|       |
  173|  2.52M|  rest_of_message = rest_of_message.strip_whitespace();
  174|  2.52M|  if (rest_of_message.empty()) return MessageType::Unknown;
  ------------------
  |  Branch (174:7): [True: 0, False: 2.52M]
  ------------------
  175|       |
  176|       |  // Now we have stripped the <message-type>. Try to see if we can find
  177|       |  // a <location-specification>.
  178|  2.52M|  if (DeduceLocationSpec(&rest_of_message, source_name, line_number)) {
  ------------------
  |  Branch (178:7): [True: 2.52M, False: 341]
  ------------------
  179|  2.52M|    *rest = rest_of_message;
  180|  2.52M|    return (is_error || warnings_as_errors) ? MessageType::Error
  ------------------
  |  Branch (180:13): [True: 2.52M, False: 0]
  |  Branch (180:25): [True: 0, False: 0]
  ------------------
  181|  2.52M|                                            : MessageType::Warning;
  182|  2.52M|  } 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|    341|    *rest = rest_of_message;
  187|    341|    if (IsSummaryMessage(rest_of_message)) {
  ------------------
  |  Branch (187:9): [True: 222, False: 119]
  ------------------
  188|    222|      return (is_error || warnings_as_errors) ? MessageType::ErrorSummary
  ------------------
  |  Branch (188:15): [True: 222, False: 0]
  |  Branch (188:27): [True: 0, False: 0]
  ------------------
  189|    222|                                              : MessageType::WarningSummary;
  190|    222|    }
  191|    119|    return (is_error || warnings_as_errors) ? MessageType::GlobalError
  ------------------
  |  Branch (191:13): [True: 119, False: 0]
  |  Branch (191:25): [True: 0, False: 0]
  ------------------
  192|    119|                                            : MessageType::GlobalWarning;
  193|    341|  }
  194|      0|  return MessageType::Unknown;
  195|  2.52M|}
_ZN12shaderc_util19PrintFilteredErrorsERKNS_12string_pieceEPNSt3__113basic_ostreamIcNS3_11char_traitsIcEEEEbbPKcPmSB_:
  200|    288|                         size_t* total_warnings, size_t* total_errors) {
  201|    288|  const char* ignored_error_strings[] = {
  202|    288|      "Warning, version 310 is not yet complete; most version-specific "
  203|    288|      "features are present, but some are missing.",
  204|    288|      "Warning, version 400 is not yet complete; most version-specific "
  205|    288|      "features are present, but some are missing.",
  206|    288|      "Warning, version 410 is not yet complete; most version-specific "
  207|    288|      "features are present, but some are missing.",
  208|    288|      "Warning, version 420 is not yet complete; most version-specific "
  209|    288|      "features are present, but some are missing.",
  210|    288|      "Warning, version 430 is not yet complete; most version-specific "
  211|    288|      "features are present, but some are missing.",
  212|    288|      "Warning, version 440 is not yet complete; most version-specific "
  213|    288|      "features are present, but some are missing.",
  214|    288|      "Warning, version 450 is not yet complete; most version-specific "
  215|    288|      "features are present, but some are missing.",
  216|    288|      "Linked vertex stage:", "Linked fragment stage:",
  217|    288|      "Linked tessellation control stage:",
  218|    288|      "Linked tessellation evaluation stage:", "Linked geometry stage:",
  219|    288|      "Linked compute stage:", ""};
  220|    288|  size_t existing_total_errors = *total_errors;
  221|    288|  string_piece error_messages(error_list);
  222|  2.63M|  for (const string_piece& message : error_messages.get_fields('\n')) {
  ------------------
  |  Branch (222:36): [True: 2.63M, False: 288]
  ------------------
  223|  2.63M|    if (std::find(std::begin(ignored_error_strings),
  ------------------
  |  Branch (223:9): [True: 2.63M, False: 222]
  ------------------
  224|  2.63M|                  std::end(ignored_error_strings),
  225|  2.63M|                  message) == std::end(ignored_error_strings)) {
  226|  2.63M|      string_piece source_name;
  227|  2.63M|      string_piece line_number;
  228|  2.63M|      string_piece rest;
  229|  2.63M|      const MessageType type =
  230|  2.63M|          ParseGlslangOutput(message, warnings_as_errors, suppress_warnings,
  231|  2.63M|                             &source_name, &line_number, &rest);
  232|  2.63M|      string_piece name = file_name;
  233|  2.63M|      if (!source_name.empty()) {
  ------------------
  |  Branch (233:11): [True: 2.52M, False: 115k]
  ------------------
  234|       |        // -1 is the string number for the preamble injected by us.
  235|  2.52M|        name = source_name == "-1" ? "<command line>" : source_name;
  ------------------
  |  Branch (235:16): [True: 0, False: 2.52M]
  ------------------
  236|  2.52M|      }
  237|  2.63M|      switch (type) {
  ------------------
  |  Branch (237:15): [True: 2.63M, False: 0]
  ------------------
  238|  2.52M|        case MessageType::Error:
  ------------------
  |  Branch (238:9): [True: 2.52M, False: 115k]
  ------------------
  239|  2.52M|        case MessageType::Warning:
  ------------------
  |  Branch (239:9): [True: 0, False: 2.63M]
  ------------------
  240|  2.52M|          assert(!name.empty() && !line_number.empty() && !rest.empty());
  241|  2.52M|          *error_stream << name << ":" << line_number << ": "
  242|  2.52M|                        << (type == MessageType::Error ? "error: "
  ------------------
  |  Branch (242:29): [True: 2.52M, False: 0]
  ------------------
  243|  2.52M|                                                       : "warning: ")
  244|  2.52M|                        << rest.strip_whitespace() << std::endl;
  245|  2.52M|          *total_errors += type == MessageType::Error;
  246|  2.52M|          *total_warnings += type == MessageType::Warning;
  247|  2.52M|          break;
  248|    222|        case MessageType::ErrorSummary:
  ------------------
  |  Branch (248:9): [True: 222, False: 2.63M]
  ------------------
  249|    222|        case MessageType::WarningSummary:
  ------------------
  |  Branch (249:9): [True: 0, False: 2.63M]
  ------------------
  250|    222|          break;
  251|    119|        case MessageType::GlobalError:
  ------------------
  |  Branch (251:9): [True: 119, False: 2.63M]
  ------------------
  252|    119|        case MessageType::GlobalWarning:
  ------------------
  |  Branch (252:9): [True: 0, False: 2.63M]
  ------------------
  253|    119|          assert(!rest.empty());
  254|    119|          *total_errors += type == MessageType::GlobalError;
  255|    119|          *total_warnings += type == MessageType::GlobalWarning;
  256|    119|          *error_stream << name << ": "
  257|    119|                        << (type == MessageType::GlobalError ? "error"
  ------------------
  |  Branch (257:29): [True: 119, False: 0]
  ------------------
  258|    119|                                                             : "warning")
  259|    119|                        << ": " << rest.strip_whitespace() << std::endl;
  260|    119|          break;
  261|   114k|        case MessageType::Unknown:
  ------------------
  |  Branch (261:9): [True: 114k, False: 2.52M]
  ------------------
  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.63M]
  ------------------
  266|      0|          break;
  267|  2.63M|      }
  268|  2.63M|    }
  269|  2.63M|  }
  270|    288|  return (existing_total_errors == *total_errors);
  271|    288|}
message.cc:_ZN12shaderc_util12_GLOBAL__N_117DeduceMessageTypeEPNS_12string_pieceE:
   29|  2.63M|MessageType DeduceMessageType(string_piece* message) {
   30|  2.63M|  static const char kErrorMessage[] = "ERROR: ";
   31|  2.63M|  static const char kWarningMessage[] = "WARNING: ";
   32|  2.63M|  static const char kGlobalWarningMessage[] = "Warning, ";
   33|       |
   34|  2.63M|  if (message->starts_with(kErrorMessage)) {
  ------------------
  |  Branch (34:7): [True: 2.52M, False: 114k]
  ------------------
   35|  2.52M|    *message = message->substr(::strlen(kErrorMessage));
   36|  2.52M|    return MessageType::Error;
   37|  2.52M|  } 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.63M|}
message.cc:_ZN12shaderc_util12_GLOBAL__N_118DeduceLocationSpecEPNS_12string_pieceES2_S2_:
   54|  2.52M|                        string_piece* line_number) {
   55|  2.52M|  if (!message || message->empty()) {
  ------------------
  |  Branch (55:7): [True: 0, False: 2.52M]
  |  Branch (55:19): [True: 0, False: 2.52M]
  ------------------
   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.52M|  const size_t size = message->size();
   69|  2.52M|  if (size <= 4) {
  ------------------
  |  Branch (69:7): [True: 0, False: 2.52M]
  ------------------
   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.52M|  const size_t first_colon_cutoff = size - 4;
   75|       |  // The last possible position of the second colon.
   76|  2.52M|  const size_t next_colon_cutoff = size - 2;
   77|       |
   78|  2.52M|  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.52M|       (first_colon_pos != string_piece::npos) &&
  ------------------
  |  Branch (81:8): [True: 2.52M, False: 222]
  ------------------
   82|  2.52M|       (first_colon_pos <= first_colon_cutoff);
  ------------------
  |  Branch (82:8): [True: 2.52M, False: 0]
  ------------------
   83|       |
   84|       |       // Try the next pair of colons.
   85|  2.52M|       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.52M|    next_colon_pos = message->find_first_of(':', first_colon_pos + 1);
   89|  2.52M|    if ((next_colon_pos == string_piece::npos) ||
  ------------------
  |  Branch (89:9): [True: 119, False: 2.52M]
  ------------------
   90|  2.52M|        (next_colon_pos > next_colon_cutoff)) {
  ------------------
  |  Branch (90:9): [True: 0, False: 2.52M]
  ------------------
   91|       |      // No valid solution.
   92|    119|      return false;
   93|    119|    }
   94|  2.52M|    if (first_colon_pos + 1 == next_colon_pos) {
  ------------------
  |  Branch (94:9): [True: 0, False: 2.52M]
  ------------------
   95|       |      // There is no room for digits.
   96|      0|      continue;
   97|      0|    }
   98|  2.52M|    if ((message->data()[next_colon_pos + 1] != ' ')) {
  ------------------
  |  Branch (98:9): [True: 0, False: 2.52M]
  ------------------
   99|       |      // There is no space character after the second colon.
  100|      0|      continue;
  101|      0|    }
  102|  2.52M|    if (message->find_first_not_of("0123456789", first_colon_pos + 1) ==
  ------------------
  |  Branch (102:9): [True: 2.52M, False: 0]
  ------------------
  103|  2.52M|        next_colon_pos) {
  104|       |      // We found the first solution.
  105|  2.52M|      *source_name = message->substr(0, first_colon_pos);
  106|  2.52M|      *line_number = message->substr(first_colon_pos + 1,
  107|  2.52M|                                     next_colon_pos - 1 - first_colon_pos);
  108|  2.52M|      *message = message->substr(next_colon_pos + 2);
  109|  2.52M|      return true;
  110|  2.52M|    }
  111|  2.52M|  }
  112|       |
  113|    222|  return false;
  114|  2.52M|}
message.cc:_ZN12shaderc_util12_GLOBAL__N_116IsSummaryMessageERKNS_12string_pieceE:
  117|    341|bool IsSummaryMessage(const string_piece& message) {
  118|    341|  const size_t space_loc = message.find_first_of(' ');
  119|    341|  if (space_loc == string_piece::npos) return false;
  ------------------
  |  Branch (119:7): [True: 0, False: 341]
  ------------------
  120|    341|  const string_piece number = message.substr(0, space_loc);
  121|    341|  const string_piece rest = message.substr(space_loc + 1);
  122|    341|  if (!std::all_of(number.begin(), number.end(), ::isdigit)) return false;
  ------------------
  |  Branch (122:7): [True: 119, False: 222]
  ------------------
  123|    222|  if (!rest.starts_with("compilation errors.")) return false;
  ------------------
  |  Branch (123:7): [True: 0, False: 222]
  ------------------
  124|    222|  return true;
  125|    222|}

_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|   288k|        TFunctionDeclarator() : function(nullptr), body(nullptr) { }

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

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

_ZN7glslang16HlslParseContextC2ERNS_12TSymbolTableERNS_13TIntermediateEbi8EProfileRKNS_10SpvVersionE11EShLanguageR9TInfoSinkNSt3__112basic_stringIcNSC_11char_traitsIcEENS_14pool_allocatorIcEEEEb11EShMessages:
   69|  1.39k|    TParseContextBase(symbolTable, interm, parsingBuiltins, version, profile, spvVersion, language, infoSink,
   70|  1.39k|                      forwardCompatible, messages, &sourceEntryPointName),
   71|  1.39k|    annotationNestingLevel(0),
   72|  1.39k|    inputPatch(nullptr),
   73|  1.39k|    nextInLocation(0), nextOutLocation(0),
   74|  1.39k|    entryPointFunction(nullptr),
   75|  1.39k|    entryPointFunctionBody(nullptr),
   76|  1.39k|    gsStreamOutput(nullptr),
   77|  1.39k|    clipDistanceOutput(nullptr),
   78|  1.39k|    cullDistanceOutput(nullptr),
   79|  1.39k|    clipDistanceInput(nullptr),
   80|  1.39k|    cullDistanceInput(nullptr),
   81|  1.39k|    parsingEntrypointParameters(false)
   82|  1.39k|{
   83|  1.39k|    globalUniformDefaults.clear();
   84|  1.39k|    globalUniformDefaults.layoutMatrix = ElmRowMajor;
   85|  1.39k|    globalUniformDefaults.layoutPacking = ElpStd140;
   86|       |
   87|  1.39k|    globalBufferDefaults.clear();
   88|  1.39k|    globalBufferDefaults.layoutMatrix = ElmRowMajor;
   89|  1.39k|    globalBufferDefaults.layoutPacking = ElpStd430;
   90|       |
   91|  1.39k|    globalInputDefaults.clear();
   92|  1.39k|    globalOutputDefaults.clear();
   93|       |
   94|  1.39k|    clipSemanticNSizeIn.fill(0);
   95|  1.39k|    cullSemanticNSizeIn.fill(0);
   96|  1.39k|    clipSemanticNSizeOut.fill(0);
   97|  1.39k|    cullSemanticNSizeOut.fill(0);
   98|       |
   99|       |    // "Shaders in the transform
  100|       |    // feedback capturing mode have an initial global default of
  101|       |    //     layout(xfb_buffer = 0) out;"
  102|  1.39k|    if (language == EShLangVertex ||
  ------------------
  |  Branch (102:9): [True: 368, False: 1.02k]
  ------------------
  103|  1.02k|        language == EShLangTessControl ||
  ------------------
  |  Branch (103:9): [True: 84, False: 944]
  ------------------
  104|    944|        language == EShLangTessEvaluation ||
  ------------------
  |  Branch (104:9): [True: 80, False: 864]
  ------------------
  105|    864|        language == EShLangGeometry)
  ------------------
  |  Branch (105:9): [True: 76, False: 788]
  ------------------
  106|    608|        globalOutputDefaults.layoutXfbBuffer = 0;
  107|       |
  108|  1.39k|    if (language == EShLangGeometry)
  ------------------
  |  Branch (108:9): [True: 76, False: 1.32k]
  ------------------
  109|     76|        globalOutputDefaults.layoutStream = 0;
  110|  1.39k|}
_ZN7glslang16HlslParseContextD2Ev:
  113|  1.39k|{
  114|  1.39k|}
_ZN7glslang16HlslParseContext27initializeExtensionBehaviorEv:
  117|    158|{
  118|    158|    TParseContextBase::initializeExtensionBehavior();
  119|       |
  120|       |    // HLSL allows #line by default.
  121|    158|    extensionBehavior[E_GL_GOOGLE_cpp_style_line_directive] = EBhEnable;
  122|    158|}
_ZN7glslang16HlslParseContext9setLimitsERK16TBuiltInResource:
  125|    158|{
  126|    158|    resources = r;
  127|    158|    intermediate.setLimits(resources);
  128|    158|}
_ZN7glslang16HlslParseContext18parseShaderStringsERNS_10TPpContextERNS_13TInputScannerEb:
  136|    132|{
  137|    132|    currentScanner = &input;
  138|    132|    ppContext.setInput(input, versionWillBeError);
  139|       |
  140|    132|    HlslScanContext scanContext(*this, ppContext);
  141|    132|    HlslGrammar grammar(scanContext, *this);
  142|    132|    if (!grammar.parse()) {
  ------------------
  |  Branch (142:9): [True: 50, False: 82]
  ------------------
  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|     50|        const glslang::TSourceLoc& sourceLoc = input.getSourceLoc();
  146|     50|        infoSink.info << sourceLoc.getFilenameStr() << "(" << sourceLoc.line << "): error at column " << sourceLoc.column
  147|     50|                      << ", HLSL parsing failed.\n";
  148|     50|        ++numErrors;
  149|     50|        return false;
  150|     50|    }
  151|       |
  152|     82|    finish();
  153|       |
  154|     82|    return numErrors == 0;
  155|    132|}
_ZN7glslang16HlslParseContext19getLayoutFromTxTypeERKNS_10TSourceLocERKNS_5TTypeE:
  196|  4.10k|{
  197|  4.10k|    if (txType.isStruct()) {
  ------------------
  |  Branch (197:9): [True: 0, False: 4.10k]
  ------------------
  198|       |        // TODO: implement.
  199|      0|        error(loc, "unimplemented: structure type in image or buffer", "", "");
  200|      0|        return ElfNone;
  201|      0|    }
  202|       |
  203|  4.10k|    const int components = txType.getVectorSize();
  204|  4.10k|    const TBasicType txBasicType = txType.getBasicType();
  205|       |
  206|  4.10k|    const auto selectFormat = [this,&components](TLayoutFormat v1, TLayoutFormat v2, TLayoutFormat v4) -> TLayoutFormat {
  207|  4.10k|        if (intermediate.getNoStorageFormat())
  208|  4.10k|            return ElfNone;
  209|       |
  210|  4.10k|        return components == 1 ? v1 :
  211|  4.10k|               components == 2 ? v2 : v4;
  212|  4.10k|    };
  213|       |
  214|  4.10k|    switch (txBasicType) {
  215|  1.36k|    case EbtFloat: return selectFormat(ElfR32f,  ElfRg32f,  ElfRgba32f);
  ------------------
  |  Branch (215:5): [True: 1.36k, False: 2.73k]
  ------------------
  216|  1.36k|    case EbtInt:   return selectFormat(ElfR32i,  ElfRg32i,  ElfRgba32i);
  ------------------
  |  Branch (216:5): [True: 1.36k, False: 2.73k]
  ------------------
  217|  1.36k|    case EbtUint:  return selectFormat(ElfR32ui, ElfRg32ui, ElfRgba32ui);
  ------------------
  |  Branch (217:5): [True: 1.36k, False: 2.73k]
  ------------------
  218|      0|    default:
  ------------------
  |  Branch (218:5): [True: 0, False: 4.10k]
  ------------------
  219|      0|        error(loc, "unknown basic type in image format", "", "");
  220|      0|        return ElfNone;
  221|  4.10k|    }
  222|  4.10k|}
_ZN7glslang16HlslParseContext24handleFunctionDeclaratorERKNS_10TSourceLocERNS_9TFunctionEb:
 1605|   288k|{
 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|   288k|    bool builtIn;
 1613|   288k|    TSymbol* symbol = symbolTable.find(function.getMangledName(), &builtIn);
 1614|   288k|    const TFunction* prevDec = symbol ? symbol->getAsFunction() : nullptr;
  ------------------
  |  Branch (1614:32): [True: 1.72k, False: 286k]
  ------------------
 1615|       |
 1616|   288k|    if (prototype) {
  ------------------
  |  Branch (1616:9): [True: 288k, 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|   288k|        if (symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (1619:13): [True: 288k, False: 0]
  ------------------
 1620|   288k|            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|   288k|    }
 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|   288k|    if (! symbolTable.insert(function))
  ------------------
  |  Branch (1630:9): [True: 0, False: 288k]
  ------------------
 1631|      0|        error(loc, "function name is redeclaration of existing name", function.getName().c_str(), "");
 1632|   288k|}
_ZN7glslang16HlslParseContext22transferTypeAttributesERKNS_10TSourceLocERKNS_5TListINS_14TAttributeArgsEEERNS_5TTypeEb:
 1933|   935k|{
 1934|   935k|    if (attributes.size() == 0)
  ------------------
  |  Branch (1934:9): [True: 935k, False: 0]
  ------------------
 1935|   935k|        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:
 7109|   647k|{
 7110|   647k|    switch (type.getQualifier().storage) {
 7111|      0|    case EvqConst:
  ------------------
  |  Branch (7111:5): [True: 0, False: 647k]
  ------------------
 7112|      0|        type.getQualifier().storage = EvqConstReadOnly;
 7113|      0|        break;
 7114|      0|    case EvqGlobal:
  ------------------
  |  Branch (7114:5): [True: 0, False: 647k]
  ------------------
 7115|   584k|    case EvqTemporary:
  ------------------
  |  Branch (7115:5): [True: 584k, False: 62.7k]
  ------------------
 7116|   584k|        type.getQualifier().storage = EvqIn;
 7117|   584k|        break;
 7118|      0|    case EvqBuffer:
  ------------------
  |  Branch (7118:5): [True: 0, False: 647k]
  ------------------
 7119|      0|        {
 7120|       |            // SSBO parameter.  These do not go through the declareBlock path since they are fn parameters.
 7121|      0|            correctUniform(type.getQualifier());
 7122|      0|            TQualifier bufferQualifier = globalBufferDefaults;
 7123|      0|            mergeObjectLayoutQualifiers(bufferQualifier, type.getQualifier(), true);
 7124|      0|            bufferQualifier.storage = type.getQualifier().storage;
 7125|      0|            bufferQualifier.readonly = type.getQualifier().readonly;
 7126|      0|            bufferQualifier.coherent = type.getQualifier().coherent;
 7127|      0|            bufferQualifier.declaredBuiltIn = type.getQualifier().declaredBuiltIn;
 7128|      0|            type.getQualifier() = bufferQualifier;
 7129|      0|            break;
 7130|      0|        }
 7131|  62.7k|    default:
  ------------------
  |  Branch (7131:5): [True: 62.7k, False: 584k]
  ------------------
 7132|  62.7k|        break;
 7133|   647k|    }
 7134|   647k|}
_ZN7glslang16HlslParseContext14lookupUserTypeERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERNS_5TTypeE:
 7992|     30|{
 7993|     30|    TSymbol* symbol = symbolTable.find(typeName);
 7994|     30|    if (symbol && symbol->getAsVariable() && symbol->getAsVariable()->isUserType()) {
  ------------------
  |  Branch (7994:9): [True: 0, False: 30]
  |  Branch (7994:19): [True: 0, False: 0]
  |  Branch (7994:46): [True: 0, False: 0]
  ------------------
 7995|      0|        type.shallowCopy(symbol->getType());
 7996|      0|        return symbol;
 7997|      0|    } else
 7998|     30|        return nullptr;
 7999|     30|}
_ZNK7glslang16HlslParseContext20getFullNamespaceNameERPNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 9516|   288k|{
 9517|   288k|    if (currentTypePrefix.size() == 0)
  ------------------
  |  Branch (9517:9): [True: 288k, False: 0]
  ------------------
 9518|   288k|        return;
 9519|       |
 9520|      0|    TString* fullName = NewPoolTString(currentTypePrefix.back().c_str());
 9521|      0|    fullName->append(*name);
 9522|      0|    name = fullName;
 9523|      0|}
_ZN7glslang16HlslParseContext20setTextureReturnTypeERNS_8TSamplerERKNS_5TTypeERKNS_10TSourceLocE:
 9745|  58.5k|{
 9746|       |    // Seed the output with an invalid index.  We will set it to a valid one if we can.
 9747|  58.5k|    sampler.structReturnIndex = TSampler::noReturnStruct;
 9748|       |
 9749|       |    // Arrays aren't supported.
 9750|  58.5k|    if (retType.isArray()) {
  ------------------
  |  Branch (9750:9): [True: 0, False: 58.5k]
  ------------------
 9751|      0|        error(loc, "Arrays not supported in texture template types", "", "");
 9752|      0|        return false;
 9753|      0|    }
 9754|       |
 9755|       |    // If return type is a vector, remember the vector size in the sampler, and return.
 9756|  58.5k|    if (retType.isVector() || retType.isScalar()) {
  ------------------
  |  Branch (9756:9): [True: 58.5k, False: 0]
  |  Branch (9756:31): [True: 0, False: 0]
  ------------------
 9757|  58.5k|        sampler.vectorSize = retType.getVectorSize();
 9758|  58.5k|        return true;
 9759|  58.5k|    }
 9760|       |
 9761|       |    // If it wasn't a vector, it must be a struct meeting certain requirements.  The requirements
 9762|       |    // are checked below: just check for struct-ness here.
 9763|      0|    if (!retType.isStruct()) {
  ------------------
  |  Branch (9763:9): [True: 0, False: 0]
  ------------------
 9764|      0|        error(loc, "Invalid texture template type", "", "");
 9765|      0|        return false;
 9766|      0|    }
 9767|       |
 9768|       |    // TODO: Subpass doesn't handle struct returns, due to some oddities with fn overloading.
 9769|      0|    if (sampler.isSubpass()) {
  ------------------
  |  Branch (9769:9): [True: 0, False: 0]
  ------------------
 9770|      0|        error(loc, "Unimplemented: structure template type in subpass input", "", "");
 9771|      0|        return false;
 9772|      0|    }
 9773|       |
 9774|      0|    TTypeList* members = retType.getWritableStruct();
 9775|       |
 9776|       |    // Check for too many or not enough structure members.
 9777|      0|    if (members->size() > 4 || members->size() == 0) {
  ------------------
  |  Branch (9777:9): [True: 0, False: 0]
  |  Branch (9777:32): [True: 0, False: 0]
  ------------------
 9778|      0|        error(loc, "Invalid member count in texture template structure", "", "");
 9779|      0|        return false;
 9780|      0|    }
 9781|       |
 9782|       |    // Error checking: We must have <= 4 total components, all of the same basic type.
 9783|      0|    unsigned totalComponents = 0;
 9784|      0|    for (unsigned m = 0; m < members->size(); ++m) {
  ------------------
  |  Branch (9784:26): [True: 0, False: 0]
  ------------------
 9785|       |        // Check for bad member types
 9786|      0|        if (!(*members)[m].type->isScalar() && !(*members)[m].type->isVector()) {
  ------------------
  |  Branch (9786:13): [True: 0, False: 0]
  |  Branch (9786:48): [True: 0, False: 0]
  ------------------
 9787|      0|            error(loc, "Invalid texture template struct member type", "", "");
 9788|      0|            return false;
 9789|      0|        }
 9790|       |
 9791|      0|        const unsigned memberVectorSize = (*members)[m].type->getVectorSize();
 9792|      0|        totalComponents += memberVectorSize;
 9793|       |
 9794|       |        // too many total member components
 9795|      0|        if (totalComponents > 4) {
  ------------------
  |  Branch (9795:13): [True: 0, False: 0]
  ------------------
 9796|      0|            error(loc, "Too many components in texture template structure type", "", "");
 9797|      0|            return false;
 9798|      0|        }
 9799|       |
 9800|       |        // All members must be of a common basic type
 9801|      0|        if ((*members)[m].type->getBasicType() != (*members)[0].type->getBasicType()) {
  ------------------
  |  Branch (9801:13): [True: 0, False: 0]
  ------------------
 9802|      0|            error(loc, "Texture template structure members must same basic type", "", "");
 9803|      0|            return false;
 9804|      0|        }
 9805|      0|    }
 9806|       |
 9807|       |    // If the structure in the return type already exists in the table, we'll use it.  Otherwise, we'll make
 9808|       |    // a new entry.  This is a linear search, but it hardly ever happens, and the list cannot be very large.
 9809|      0|    for (unsigned int idx = 0; idx < textureReturnStruct.size(); ++idx) {
  ------------------
  |  Branch (9809:32): [True: 0, False: 0]
  ------------------
 9810|      0|        if (textureReturnStruct[idx] == members) {
  ------------------
  |  Branch (9810:13): [True: 0, False: 0]
  ------------------
 9811|      0|            sampler.structReturnIndex = idx;
 9812|      0|            return true;
 9813|      0|        }
 9814|      0|    }
 9815|       |
 9816|       |    // It wasn't found as an existing entry.  See if we have room for a new one.
 9817|      0|    if (textureReturnStruct.size() >= TSampler::structReturnSlots) {
  ------------------
  |  Branch (9817:9): [True: 0, False: 0]
  ------------------
 9818|      0|        error(loc, "Texture template struct return slots exceeded", "", "");
 9819|      0|        return false;
 9820|      0|    }
 9821|       |
 9822|       |    // Insert it in the vector that tracks struct return types.
 9823|      0|    sampler.structReturnIndex = unsigned(textureReturnStruct.size());
 9824|      0|    textureReturnStruct.push_back(members);
 9825|       |
 9826|       |    // Success!
 9827|      0|    return true;
 9828|      0|}
_ZN7glslang16HlslParseContext26addPatchConstantInvocationEv:
 9894|     82|{
 9895|     82|    TSourceLoc loc;
 9896|     82|    loc.init();
 9897|       |
 9898|       |    // If there's no patch constant function, or we're not a HS, do nothing.
 9899|     82|    if (patchConstantFunctionName.empty() || language != EShLangTessControl)
  ------------------
  |  Branch (9899:9): [True: 82, False: 0]
  |  Branch (9899:46): [True: 0, False: 0]
  ------------------
 9900|     82|        return;
 9901|       |
 9902|       |    // Look for built-in variables in a function's parameter list.
 9903|      0|    const auto findBuiltIns = [&](const TFunction& function, std::set<tInterstageIoData>& builtIns) {
 9904|      0|        for (int p=0; p<function.getParamCount(); ++p) {
 9905|      0|            TStorageQualifier storage = function[p].type->getQualifier().storage;
 9906|       |
 9907|      0|            if (storage == EvqConstReadOnly) // treated identically to input
 9908|      0|                storage = EvqIn;
 9909|       |
 9910|      0|            if (function[p].getDeclaredBuiltIn() != EbvNone)
 9911|      0|                builtIns.insert(HlslParseContext::tInterstageIoData(function[p].getDeclaredBuiltIn(), storage));
 9912|      0|            else
 9913|      0|                builtIns.insert(HlslParseContext::tInterstageIoData(function[p].type->getQualifier().builtIn, storage));
 9914|      0|        }
 9915|      0|    };
 9916|       |
 9917|       |    // If we synthesize a built-in interface variable, we must add it to the linkage.
 9918|      0|    const auto addToLinkage = [&](const TType& type, const TString* name, TIntermSymbol** symbolNode) {
 9919|      0|        if (name == nullptr) {
 9920|      0|            error(loc, "unable to locate patch function parameter name", "", "");
 9921|      0|            return;
 9922|      0|        } else {
 9923|      0|            TVariable& variable = *new TVariable(name, type);
 9924|      0|            if (! symbolTable.insert(variable)) {
 9925|      0|                error(loc, "unable to declare patch constant function interface variable", name->c_str(), "");
 9926|      0|                return;
 9927|      0|            }
 9928|       |
 9929|      0|            globalQualifierFix(loc, variable.getWritableType().getQualifier());
 9930|       |
 9931|      0|            if (symbolNode != nullptr)
 9932|      0|                *symbolNode = intermediate.addSymbol(variable);
 9933|       |
 9934|      0|            trackLinkage(variable);
 9935|      0|        }
 9936|      0|    };
 9937|       |
 9938|      0|    const auto isOutputPatch = [](TFunction& patchConstantFunction, int param) {
 9939|      0|        const TType& type = *patchConstantFunction[param].type;
 9940|      0|        const TBuiltInVariable biType = patchConstantFunction[param].getDeclaredBuiltIn();
 9941|       |
 9942|      0|        return type.isSizedArray() && biType == EbvOutputPatch;
 9943|      0|    };
 9944|       |
 9945|       |    // We will perform these steps.  Each is in a scoped block for separation: they could
 9946|       |    // become separate functions to make addPatchConstantInvocation shorter.
 9947|       |    //
 9948|       |    // 1. Union the interfaces, and create built-ins for anything present in the PCF and
 9949|       |    //    declared as a built-in variable that isn't present in the entry point's signature.
 9950|       |    //
 9951|       |    // 2. Synthesizes a call to the patchconstfunction using built-in variables from either main,
 9952|       |    //    or the ones we created.  Matching is based on built-in type.  We may use synthesized
 9953|       |    //    variables from (1) above.
 9954|       |    //
 9955|       |    // 2B: Synthesize per control point invocations of wrapped entry point if the PCF requires them.
 9956|       |    //
 9957|       |    // 3. Create a return sequence: copy the return value (if any) from the PCF to a
 9958|       |    //    (non-sanitized) output variable.  In case this may involve multiple copies, such as for
 9959|       |    //    an arrayed variable, a temporary copy of the PCF output is created to avoid multiple
 9960|       |    //    indirections into a complex R-value coming from the call to the PCF.
 9961|       |    //
 9962|       |    // 4. Create a barrier.
 9963|       |    //
 9964|       |    // 5/5B. Call the PCF inside an if test for (invocation id == 0).
 9965|       |
 9966|      0|    TFunction* patchConstantFunctionPtr = const_cast<TFunction*>(findPatchConstantFunction(loc));
 9967|       |
 9968|      0|    if (patchConstantFunctionPtr == nullptr)
  ------------------
  |  Branch (9968:9): [True: 0, False: 0]
  ------------------
 9969|      0|        return;
 9970|       |
 9971|      0|    TFunction& patchConstantFunction = *patchConstantFunctionPtr;
 9972|       |
 9973|      0|    const int pcfParamCount = patchConstantFunction.getParamCount();
 9974|      0|    TIntermSymbol* invocationIdSym = findTessLinkageSymbol(EbvInvocationId);
 9975|      0|    TIntermSequence& epBodySeq = entryPointFunctionBody->getAsAggregate()->getSequence();
 9976|       |
 9977|      0|    int outPatchParam = -1; // -1 means there isn't one.
 9978|       |
 9979|       |    // ================ Step 1A: Union Interfaces ================
 9980|       |    // Our patch constant function.
 9981|      0|    {
 9982|      0|        std::set<tInterstageIoData> pcfBuiltIns;  // patch constant function built-ins
 9983|      0|        std::set<tInterstageIoData> epfBuiltIns;  // entry point function built-ins
 9984|       |
 9985|      0|        assert(entryPointFunction);
 9986|      0|        assert(entryPointFunctionBody);
 9987|       |
 9988|      0|        findBuiltIns(patchConstantFunction, pcfBuiltIns);
 9989|      0|        findBuiltIns(*entryPointFunction,   epfBuiltIns);
 9990|       |
 9991|       |        // Find the set of built-ins in the PCF that are not present in the entry point.
 9992|      0|        std::set<tInterstageIoData> notInEntryPoint;
 9993|       |
 9994|      0|        notInEntryPoint = pcfBuiltIns;
 9995|       |
 9996|       |        // std::set_difference not usable on unordered containers
 9997|      0|        for (auto bi = epfBuiltIns.begin(); bi != epfBuiltIns.end(); ++bi)
  ------------------
  |  Branch (9997:45): [True: 0, False: 0]
  ------------------
 9998|      0|            notInEntryPoint.erase(*bi);
 9999|       |
10000|       |        // Now we'll add those to the entry and to the linkage.
10001|      0|        for (int p=0; p<pcfParamCount; ++p) {
  ------------------
  |  Branch (10001:23): [True: 0, False: 0]
  ------------------
10002|      0|            const TBuiltInVariable biType   = patchConstantFunction[p].getDeclaredBuiltIn();
10003|      0|            TStorageQualifier storage = patchConstantFunction[p].type->getQualifier().storage;
10004|       |
10005|       |            // Track whether there is an output patch param
10006|      0|            if (isOutputPatch(patchConstantFunction, p)) {
  ------------------
  |  Branch (10006:17): [True: 0, False: 0]
  ------------------
10007|      0|                if (outPatchParam >= 0) {
  ------------------
  |  Branch (10007:21): [True: 0, False: 0]
  ------------------
10008|       |                    // Presently we only support one per ctrl pt input.
10009|      0|                    error(loc, "unimplemented: multiple output patches in patch constant function", "", "");
10010|      0|                    return;
10011|      0|                }
10012|      0|                outPatchParam = p;
10013|      0|            }
10014|       |
10015|      0|            if (biType != EbvNone) {
  ------------------
  |  Branch (10015:17): [True: 0, False: 0]
  ------------------
10016|      0|                TType* paramType = patchConstantFunction[p].type->clone();
10017|       |
10018|      0|                if (storage == EvqConstReadOnly) // treated identically to input
  ------------------
  |  Branch (10018:21): [True: 0, False: 0]
  ------------------
10019|      0|                    storage = EvqIn;
10020|       |
10021|       |                // Presently, the only non-built-in we support is InputPatch, which is treated as
10022|       |                // a pseudo-built-in.
10023|      0|                if (biType == EbvInputPatch) {
  ------------------
  |  Branch (10023:21): [True: 0, False: 0]
  ------------------
10024|      0|                    builtInTessLinkageSymbols[biType] = inputPatch;
10025|      0|                } else if (biType == EbvOutputPatch) {
  ------------------
  |  Branch (10025:28): [True: 0, False: 0]
  ------------------
10026|       |                    // Nothing...
10027|      0|                } else {
10028|       |                    // Use the original declaration type for the linkage
10029|      0|                    paramType->getQualifier().builtIn = biType;
10030|      0|                    if (biType == EbvTessLevelInner || biType == EbvTessLevelOuter)
  ------------------
  |  Branch (10030:25): [True: 0, False: 0]
  |  Branch (10030:56): [True: 0, False: 0]
  ------------------
10031|      0|                        paramType->getQualifier().patch = true;
10032|       |
10033|      0|                    if (notInEntryPoint.count(tInterstageIoData(biType, storage)) == 1)
  ------------------
  |  Branch (10033:25): [True: 0, False: 0]
  ------------------
10034|      0|                        addToLinkage(*paramType, patchConstantFunction[p].name, nullptr);
10035|      0|                }
10036|      0|            }
10037|      0|        }
10038|       |
10039|       |        // If we didn't find it because the shader made one, add our own.
10040|      0|        if (invocationIdSym == nullptr) {
  ------------------
  |  Branch (10040:13): [True: 0, False: 0]
  ------------------
10041|      0|            TType invocationIdType(EbtUint, EvqIn, 1);
10042|      0|            TString* invocationIdName = NewPoolTString("InvocationId");
10043|      0|            invocationIdType.getQualifier().builtIn = EbvInvocationId;
10044|      0|            addToLinkage(invocationIdType, invocationIdName, &invocationIdSym);
10045|      0|        }
10046|       |
10047|      0|        assert(invocationIdSym);
10048|      0|    }
10049|       |
10050|      0|    TIntermTyped* pcfArguments = nullptr;
10051|      0|    TVariable* perCtrlPtVar = nullptr;
10052|       |
10053|       |    // ================ Step 1B: Argument synthesis ================
10054|       |    // Create pcfArguments for synthesis of patchconstantfunction invocation
10055|      0|    {
10056|      0|        for (int p=0; p<pcfParamCount; ++p) {
  ------------------
  |  Branch (10056:23): [True: 0, False: 0]
  ------------------
10057|      0|            TIntermTyped* inputArg = nullptr;
10058|       |
10059|      0|            if (p == outPatchParam) {
  ------------------
  |  Branch (10059:17): [True: 0, False: 0]
  ------------------
10060|      0|                if (perCtrlPtVar == nullptr) {
  ------------------
  |  Branch (10060:21): [True: 0, False: 0]
  ------------------
10061|      0|                    perCtrlPtVar = makeInternalVariable(*patchConstantFunction[outPatchParam].name,
10062|      0|                                                        *patchConstantFunction[outPatchParam].type);
10063|       |
10064|      0|                    perCtrlPtVar->getWritableType().getQualifier().makeTemporary();
10065|      0|                }
10066|      0|                inputArg = intermediate.addSymbol(*perCtrlPtVar, loc);
10067|      0|            } else {
10068|       |                // find which built-in it is
10069|      0|                const TBuiltInVariable biType = patchConstantFunction[p].getDeclaredBuiltIn();
10070|       |
10071|      0|                if (biType == EbvInputPatch && inputPatch == nullptr) {
  ------------------
  |  Branch (10071:21): [True: 0, False: 0]
  |  Branch (10071:48): [True: 0, False: 0]
  ------------------
10072|      0|                    error(loc, "unimplemented: PCF input patch without entry point input patch parameter", "", "");
10073|      0|                    return;
10074|      0|                }
10075|       |
10076|      0|                inputArg = findTessLinkageSymbol(biType);
10077|       |
10078|      0|                if (inputArg == nullptr) {
  ------------------
  |  Branch (10078:21): [True: 0, False: 0]
  ------------------
10079|      0|                    error(loc, "unable to find patch constant function built-in variable", "", "");
10080|      0|                    return;
10081|      0|                }
10082|      0|            }
10083|       |
10084|      0|            if (pcfParamCount == 1)
  ------------------
  |  Branch (10084:17): [True: 0, False: 0]
  ------------------
10085|      0|                pcfArguments = inputArg;
10086|      0|            else
10087|      0|                pcfArguments = intermediate.growAggregate(pcfArguments, inputArg);
10088|      0|        }
10089|      0|    }
10090|       |
10091|       |    // ================ Step 2: Synthesize call to PCF ================
10092|      0|    TIntermAggregate* pcfCallSequence = nullptr;
10093|      0|    TIntermTyped* pcfCall = nullptr;
10094|       |
10095|      0|    {
10096|       |        // Create a function call to the patchconstantfunction
10097|      0|        if (pcfArguments)
  ------------------
  |  Branch (10097:13): [True: 0, False: 0]
  ------------------
10098|      0|            addInputArgumentConversions(patchConstantFunction, pcfArguments);
10099|       |
10100|       |        // Synthetic call.
10101|      0|        pcfCall = intermediate.setAggregateOperator(pcfArguments, EOpFunctionCall, patchConstantFunction.getType(), loc);
10102|      0|        pcfCall->getAsAggregate()->setUserDefined();
10103|      0|        pcfCall->getAsAggregate()->setName(patchConstantFunction.getMangledName());
10104|      0|        intermediate.addToCallGraph(infoSink, intermediate.getEntryPointMangledName().c_str(),
10105|      0|                                    patchConstantFunction.getMangledName());
10106|       |
10107|      0|        if (pcfCall->getAsAggregate()) {
  ------------------
  |  Branch (10107:13): [True: 0, False: 0]
  ------------------
10108|      0|            TQualifierList& qualifierList = pcfCall->getAsAggregate()->getQualifierList();
10109|      0|            for (int i = 0; i < patchConstantFunction.getParamCount(); ++i) {
  ------------------
  |  Branch (10109:29): [True: 0, False: 0]
  ------------------
10110|      0|                TStorageQualifier qual = patchConstantFunction[i].type->getQualifier().storage;
10111|      0|                qualifierList.push_back(qual);
10112|      0|            }
10113|      0|            pcfCall = addOutputArgumentConversions(patchConstantFunction, *pcfCall->getAsOperator());
10114|      0|        }
10115|      0|    }
10116|       |
10117|       |    // ================ Step 2B: Per Control Point synthesis ================
10118|       |    // If there is per control point data, we must either emulate that with multiple
10119|       |    // invocations of the entry point to build up an array, or (TODO:) use a yet
10120|       |    // unavailable extension to look across the SIMD lanes.  This is the former
10121|       |    // as a placeholder for the latter.
10122|      0|    if (outPatchParam >= 0) {
  ------------------
  |  Branch (10122:9): [True: 0, False: 0]
  ------------------
10123|       |        // We must introduce a local temp variable of the type wanted by the PCF input.
10124|      0|        const int arraySize = patchConstantFunction[outPatchParam].type->getOuterArraySize();
10125|       |
10126|      0|        if (entryPointFunction->getType().getBasicType() == EbtVoid) {
  ------------------
  |  Branch (10126:13): [True: 0, False: 0]
  ------------------
10127|      0|            error(loc, "entry point must return a value for use with patch constant function", "", "");
10128|      0|            return;
10129|      0|        }
10130|       |
10131|       |        // Create calls to wrapped main to fill in the array.  We will substitute fixed values
10132|       |        // of invocation ID when calling the wrapped main.
10133|       |
10134|       |        // This is the type of the each member of the per ctrl point array.
10135|      0|        const TType derefType(perCtrlPtVar->getType(), 0);
10136|       |
10137|      0|        for (int cpt = 0; cpt < arraySize; ++cpt) {
  ------------------
  |  Branch (10137:27): [True: 0, False: 0]
  ------------------
10138|       |            // TODO: improve.  substr(1) here is to avoid the '@' that was grafted on but isn't in the symtab
10139|       |            // for this function.
10140|      0|            const TString origName = entryPointFunction->getName().substr(1);
10141|      0|            TFunction callee(&origName, TType(EbtVoid));
10142|      0|            TIntermTyped* callingArgs = nullptr;
10143|       |
10144|      0|            for (int i = 0; i < entryPointFunction->getParamCount(); i++) {
  ------------------
  |  Branch (10144:29): [True: 0, False: 0]
  ------------------
10145|      0|                TParameter& param = (*entryPointFunction)[i];
10146|      0|                TType& paramType = *param.type;
10147|       |
10148|      0|                if (paramType.getQualifier().isParamOutput()) {
  ------------------
  |  Branch (10148:21): [True: 0, False: 0]
  ------------------
10149|      0|                    error(loc, "unimplemented: entry point outputs in patch constant function invocation", "", "");
10150|      0|                    return;
10151|      0|                }
10152|       |
10153|      0|                if (paramType.getQualifier().isParamInput())  {
  ------------------
  |  Branch (10153:21): [True: 0, False: 0]
  ------------------
10154|      0|                    TIntermTyped* arg = nullptr;
10155|      0|                    if ((*entryPointFunction)[i].getDeclaredBuiltIn() == EbvInvocationId) {
  ------------------
  |  Branch (10155:25): [True: 0, False: 0]
  ------------------
10156|       |                        // substitute invocation ID with the array element ID
10157|      0|                        arg = intermediate.addConstantUnion(cpt, loc);
10158|      0|                    } else {
10159|      0|                        TVariable* argVar = makeInternalVariable(*param.name, *param.type);
10160|      0|                        argVar->getWritableType().getQualifier().makeTemporary();
10161|      0|                        arg = intermediate.addSymbol(*argVar);
10162|      0|                    }
10163|       |
10164|      0|                    handleFunctionArgument(&callee, callingArgs, arg);
10165|      0|                }
10166|      0|            }
10167|       |
10168|       |            // Call and assign to per ctrl point variable
10169|      0|            currentCaller = intermediate.getEntryPointMangledName().c_str();
10170|      0|            TIntermTyped* callReturn = handleFunctionCall(loc, &callee, callingArgs);
10171|      0|            TIntermTyped* index = intermediate.addConstantUnion(cpt, loc);
10172|      0|            TIntermSymbol* perCtrlPtSym = intermediate.addSymbol(*perCtrlPtVar, loc);
10173|      0|            TIntermTyped* element = intermediate.addIndex(EOpIndexDirect, perCtrlPtSym, index, loc);
10174|      0|            element->setType(derefType);
10175|      0|            element->setLoc(loc);
10176|       |
10177|      0|            pcfCallSequence = intermediate.growAggregate(pcfCallSequence,
10178|      0|                                                         handleAssign(loc, EOpAssign, element, callReturn));
10179|      0|        }
10180|      0|    }
10181|       |
10182|       |    // ================ Step 3: Create return Sequence ================
10183|       |    // Return sequence: copy PCF result to a temporary, then to shader output variable.
10184|      0|    if (pcfCall->getBasicType() != EbtVoid) {
  ------------------
  |  Branch (10184:9): [True: 0, False: 0]
  ------------------
10185|      0|        const TType* retType = &patchConstantFunction.getType();  // return type from the PCF
10186|      0|        TType outType; // output type that goes with the return type.
10187|      0|        outType.shallowCopy(*retType);
10188|       |
10189|       |        // substitute the output type
10190|      0|        const auto newLists = ioTypeMap.find(retType->getStruct());
10191|      0|        if (newLists != ioTypeMap.end())
  ------------------
  |  Branch (10191:13): [True: 0, False: 0]
  ------------------
10192|      0|            outType.setStruct(newLists->second.output);
10193|       |
10194|       |        // Substitute the top level type's built-in type
10195|      0|        if (patchConstantFunction.getDeclaredBuiltInType() != EbvNone)
  ------------------
  |  Branch (10195:13): [True: 0, False: 0]
  ------------------
10196|      0|            outType.getQualifier().builtIn = patchConstantFunction.getDeclaredBuiltInType();
10197|       |
10198|      0|        outType.getQualifier().patch = true; // make it a per-patch variable
10199|       |
10200|      0|        TVariable* pcfOutput = makeInternalVariable("@patchConstantOutput", outType);
10201|      0|        pcfOutput->getWritableType().getQualifier().storage = EvqVaryingOut;
10202|       |
10203|      0|        if (pcfOutput->getType().isStruct())
  ------------------
  |  Branch (10203:13): [True: 0, False: 0]
  ------------------
10204|      0|            flatten(*pcfOutput, false);
10205|       |
10206|      0|        assignToInterface(*pcfOutput);
10207|       |
10208|      0|        TIntermSymbol* pcfOutputSym = intermediate.addSymbol(*pcfOutput, loc);
10209|       |
10210|       |        // The call to the PCF is a complex R-value: we want to store it in a temp to avoid
10211|       |        // repeated calls to the PCF:
10212|      0|        TVariable* pcfCallResult = makeInternalVariable("@patchConstantResult", *retType);
10213|      0|        pcfCallResult->getWritableType().getQualifier().makeTemporary();
10214|       |
10215|      0|        TIntermSymbol* pcfResultVar = intermediate.addSymbol(*pcfCallResult, loc);
10216|      0|        TIntermNode* pcfResultAssign = handleAssign(loc, EOpAssign, pcfResultVar, pcfCall);
10217|      0|        TIntermNode* pcfResultToOut = handleAssign(loc, EOpAssign, pcfOutputSym,
10218|      0|                                                   intermediate.addSymbol(*pcfCallResult, loc));
10219|       |
10220|      0|        pcfCallSequence = intermediate.growAggregate(pcfCallSequence, pcfResultAssign);
10221|      0|        pcfCallSequence = intermediate.growAggregate(pcfCallSequence, pcfResultToOut);
10222|      0|    } else {
10223|      0|        pcfCallSequence = intermediate.growAggregate(pcfCallSequence, pcfCall);
10224|      0|    }
10225|       |
10226|       |    // ================ Step 4: Barrier ================
10227|      0|    TIntermTyped* barrier = new TIntermAggregate(EOpBarrier);
10228|      0|    barrier->setLoc(loc);
10229|      0|    barrier->setType(TType(EbtVoid));
10230|      0|    epBodySeq.insert(epBodySeq.end(), barrier);
10231|       |
10232|       |    // ================ Step 5: Test on invocation ID ================
10233|      0|    TIntermTyped* zero = intermediate.addConstantUnion(0, loc, true);
10234|      0|    TIntermTyped* cmp =  intermediate.addBinaryNode(EOpEqual, invocationIdSym, zero, loc, TType(EbtBool));
10235|       |
10236|       |
10237|       |    // ================ Step 5B: Create if statement on Invocation ID == 0 ================
10238|      0|    intermediate.setAggregateOperator(pcfCallSequence, EOpSequence, TType(EbtVoid), loc);
10239|      0|    TIntermTyped* invocationIdTest = new TIntermSelection(cmp, pcfCallSequence, nullptr);
10240|      0|    invocationIdTest->setLoc(loc);
10241|       |
10242|       |    // add our test sequence before the return.
10243|      0|    epBodySeq.insert(epBodySeq.end(), invocationIdTest);
10244|      0|}
_ZN7glslang16HlslParseContext32removeUnusedStructBufferCountersEv:
10250|     82|{
10251|     82|    const auto endIt = std::remove_if(linkageSymbols.begin(), linkageSymbols.end(),
10252|     82|                                      [this](const TSymbol* sym) {
10253|     82|                                          const auto sbcIt = structBufferCounter.find(sym->getName());
10254|     82|                                          return sbcIt != structBufferCounter.end() && !sbcIt->second;
10255|     82|                                      });
10256|       |
10257|     82|    linkageSymbols.erase(endIt, linkageSymbols.end());
10258|     82|}
_ZN7glslang16HlslParseContext21fixTextureShadowModesEv:
10262|     82|{
10263|     82|    for (auto symbol = linkageSymbols.begin(); symbol != linkageSymbols.end(); ++symbol) {
  ------------------
  |  Branch (10263:48): [True: 0, False: 82]
  ------------------
10264|      0|        TSampler& sampler = (*symbol)->getWritableType().getSampler();
10265|       |
10266|      0|        if (sampler.isTexture()) {
  ------------------
  |  Branch (10266:13): [True: 0, False: 0]
  ------------------
10267|      0|            const auto shadowMode = textureShadowVariant.find((*symbol)->getUniqueId());
10268|      0|            if (shadowMode != textureShadowVariant.end()) {
  ------------------
  |  Branch (10268:17): [True: 0, False: 0]
  ------------------
10269|       |
10270|      0|                if (shadowMode->second->overloaded())
  ------------------
  |  Branch (10270:21): [True: 0, False: 0]
  ------------------
10271|       |                    // Texture needs legalization if it's been seen with both shadow and non-shadow modes.
10272|      0|                    intermediate.setNeedsLegalization();
10273|       |
10274|      0|                sampler.shadow = shadowMode->second->isShadowId((*symbol)->getUniqueId());
10275|      0|            }
10276|      0|        }
10277|      0|    }
10278|     82|}
_ZN7glslang16HlslParseContext21finalizeAppendMethodsEv:
10283|     82|{
10284|     82|    TSourceLoc loc;
10285|     82|    loc.init();
10286|       |
10287|       |    // Nothing to do: bypass test for valid stream output.
10288|     82|    if (gsAppends.empty())
  ------------------
  |  Branch (10288:9): [True: 82, False: 0]
  ------------------
10289|     82|        return;
10290|       |
10291|      0|    if (gsStreamOutput == nullptr) {
  ------------------
  |  Branch (10291:9): [True: 0, False: 0]
  ------------------
10292|      0|        error(loc, "unable to find output symbol for Append()", "", "");
10293|      0|        return;
10294|      0|    }
10295|       |
10296|       |    // Patch append sequences, now that we know the stream output symbol.
10297|      0|    for (auto append = gsAppends.begin(); append != gsAppends.end(); ++append) {
  ------------------
  |  Branch (10297:43): [True: 0, False: 0]
  ------------------
10298|      0|        append->node->getSequence()[0] =
10299|      0|            handleAssign(append->loc, EOpAssign,
10300|      0|                         intermediate.addSymbol(*gsStreamOutput, append->loc),
10301|      0|                         append->node->getSequence()[0]->getAsTyped());
10302|      0|    }
10303|      0|}
_ZN7glslang16HlslParseContext6finishEv:
10307|     82|{
10308|       |    // Error check: There was a dangling .mips operator.  These are not nested constructs in the grammar, so
10309|       |    // cannot be detected there.  This is not strictly needed in a non-validating parser; it's just helpful.
10310|     82|    if (! mipsOperatorMipArg.empty()) {
  ------------------
  |  Branch (10310:9): [True: 0, False: 82]
  ------------------
10311|      0|        error(mipsOperatorMipArg.back().loc, "unterminated mips operator:", "", "");
10312|      0|    }
10313|       |
10314|     82|    removeUnusedStructBufferCounters();
10315|     82|    addPatchConstantInvocation();
10316|     82|    fixTextureShadowModes();
10317|     82|    finalizeAppendMethods();
10318|       |
10319|       |    // Communicate out (esp. for command line) that we formed AST that will make
10320|       |    // illegal AST SPIR-V and it needs transforms to legalize it.
10321|     82|    if (intermediate.needsLegalization() && (messages & EShMsgHlslLegalization))
  ------------------
  |  Branch (10321:9): [True: 0, False: 82]
  |  Branch (10321:45): [True: 0, False: 0]
  ------------------
10322|      0|        infoSink.info << "WARNING: AST will form illegal SPIR-V; need to transform to legalize";
10323|       |
10324|     82|    TParseContextBase::finish();
10325|     82|}
hlslParseHelper.cpp:_ZZN7glslang16HlslParseContext19getLayoutFromTxTypeERKNS_10TSourceLocERKNS_5TTypeEENK3$_0clENS_13TLayoutFormatES8_S8_:
  206|  4.10k|    const auto selectFormat = [this,&components](TLayoutFormat v1, TLayoutFormat v2, TLayoutFormat v4) -> TLayoutFormat {
  207|  4.10k|        if (intermediate.getNoStorageFormat())
  ------------------
  |  Branch (207:13): [True: 0, False: 4.10k]
  ------------------
  208|      0|            return ElfNone;
  209|       |
  210|  4.10k|        return components == 1 ? v1 :
  ------------------
  |  Branch (210:16): [True: 2.16k, False: 1.94k]
  ------------------
  211|  4.10k|               components == 2 ? v2 : v4;
  ------------------
  |  Branch (211:16): [True: 1.29k, False: 648]
  ------------------
  212|  4.10k|    };

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

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

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

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

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

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

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

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

_ZN7glslang9TBuiltIns17addTabledBuiltinsEi8EProfileRKNS_10SpvVersionE:
  509|    124|{
  510|    124|    const auto forEachFunction = [&](TString& decls, const span<const BuiltInFunction>& functions) {
  511|    124|        for (const auto& fn : functions) {
  512|    124|            if (ValidVersion(fn, version, profile, spvVersion)) {
  513|    124|                AddTabledBuiltin(decls, fn);
  514|    124|                if (profile != EEsProfile) {
  515|    124|                    AddLongVectorBuiltin(decls, fn);
  516|    124|                }
  517|    124|            }
  518|    124|        }
  519|    124|    };
  520|       |
  521|    124|    forEachFunction(commonBuiltins, BaseFunctions);
  522|    124|    forEachFunction(stageBuiltins[EShLangFragment], DerivativeFunctions);
  523|       |
  524|    124|    if ((profile == EEsProfile && version >= 320) || (profile != EEsProfile && version >= 450))
  ------------------
  |  Branch (524:10): [True: 0, False: 124]
  |  Branch (524:35): [True: 0, False: 0]
  |  Branch (524:55): [True: 124, False: 0]
  |  Branch (524:80): [True: 12, False: 112]
  ------------------
  525|     12|        forEachFunction(stageBuiltins[EShLangCompute], DerivativeFunctions);
  526|    124|}
_ZN7glslang9TBuiltIns20relateTabledBuiltinsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableE:
  530|    401|{
  531|    401|    RelateTabledBuiltins(BaseFunctions, symbolTable);
  532|    401|    RelateTabledBuiltins(DerivativeFunctions, symbolTable);
  533|    401|    RelateTabledBuiltins(CustomFunctions, symbolTable);
  534|    401|}
_ZN7glslang18TBuiltInParseablesC2Ev:
  544|    476|{
  545|    476|}
_ZN7glslang18TBuiltInParseablesD2Ev:
  549|    476|{
  550|    476|}
_ZN7glslang9TBuiltInsC2Ev:
  553|    246|{
  554|       |    // Set up textual representations for making all the permutations
  555|       |    // of texturing/imaging functions.
  556|    246|    prefixes[EbtFloat] =  "";
  557|    246|    prefixes[EbtInt]   = "i";
  558|    246|    prefixes[EbtUint]  = "u";
  559|    246|    prefixes[EbtFloat16] = "f16";
  560|    246|    prefixes[EbtInt8]  = "i8";
  561|    246|    prefixes[EbtUint8] = "u8";
  562|    246|    prefixes[EbtInt16]  = "i16";
  563|    246|    prefixes[EbtUint16] = "u16";
  564|    246|    prefixes[EbtInt64]  = "i64";
  565|    246|    prefixes[EbtUint64] = "u64";
  566|       |
  567|    246|    postfixes[2] = "2";
  568|    246|    postfixes[3] = "3";
  569|    246|    postfixes[4] = "4";
  570|       |
  571|       |    // Map from symbolic class of texturing dimension to numeric dimensions.
  572|    246|    dimMap[Esd2D] = 2;
  573|    246|    dimMap[Esd3D] = 3;
  574|    246|    dimMap[EsdCube] = 3;
  575|    246|    dimMap[Esd1D] = 1;
  576|    246|    dimMap[EsdRect] = 2;
  577|    246|    dimMap[EsdBuffer] = 1;
  578|    246|    dimMap[EsdSubpass] = 2;  // potentially unused for now
  579|    246|    dimMap[EsdAttachmentEXT] = 2;  // potentially unused for now
  580|    246|}
_ZN7glslang9TBuiltIns10initializeEi8EProfileRKNS_10SpvVersionE:
  596|    124|{
  597|    124|    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|    124|    TString derivatives (
  609|    124|        "float dFdx(float p);"
  610|    124|        "vec2  dFdx(vec2  p);"
  611|    124|        "vec3  dFdx(vec3  p);"
  612|    124|        "vec4  dFdx(vec4  p);"
  613|       |
  614|    124|        "float dFdy(float p);"
  615|    124|        "vec2  dFdy(vec2  p);"
  616|    124|        "vec3  dFdy(vec3  p);"
  617|    124|        "vec4  dFdy(vec4  p);"
  618|       |
  619|    124|        "float fwidth(float p);"
  620|    124|        "vec2  fwidth(vec2  p);"
  621|    124|        "vec3  fwidth(vec3  p);"
  622|    124|        "vec4  fwidth(vec4  p);"
  623|    124|    );
  624|       |
  625|    124|    TString derivativeControls (
  626|    124|        "float dFdxFine(float p);"
  627|    124|        "vec2  dFdxFine(vec2  p);"
  628|    124|        "vec3  dFdxFine(vec3  p);"
  629|    124|        "vec4  dFdxFine(vec4  p);"
  630|       |
  631|    124|        "float dFdyFine(float p);"
  632|    124|        "vec2  dFdyFine(vec2  p);"
  633|    124|        "vec3  dFdyFine(vec3  p);"
  634|    124|        "vec4  dFdyFine(vec4  p);"
  635|       |
  636|    124|        "float fwidthFine(float p);"
  637|    124|        "vec2  fwidthFine(vec2  p);"
  638|    124|        "vec3  fwidthFine(vec3  p);"
  639|    124|        "vec4  fwidthFine(vec4  p);"
  640|       |
  641|    124|        "float dFdxCoarse(float p);"
  642|    124|        "vec2  dFdxCoarse(vec2  p);"
  643|    124|        "vec3  dFdxCoarse(vec3  p);"
  644|    124|        "vec4  dFdxCoarse(vec4  p);"
  645|       |
  646|    124|        "float dFdyCoarse(float p);"
  647|    124|        "vec2  dFdyCoarse(vec2  p);"
  648|    124|        "vec3  dFdyCoarse(vec3  p);"
  649|    124|        "vec4  dFdyCoarse(vec4  p);"
  650|       |
  651|    124|        "float fwidthCoarse(float p);"
  652|    124|        "vec2  fwidthCoarse(vec2  p);"
  653|    124|        "vec3  fwidthCoarse(vec3  p);"
  654|    124|        "vec4  fwidthCoarse(vec4  p);"
  655|    124|    );
  656|       |
  657|    124|    TString derivativesAndControl16bits (
  658|    124|        "float16_t dFdx(float16_t);"
  659|    124|        "f16vec2   dFdx(f16vec2);"
  660|    124|        "f16vec3   dFdx(f16vec3);"
  661|    124|        "f16vec4   dFdx(f16vec4);"
  662|       |
  663|    124|        "float16_t dFdy(float16_t);"
  664|    124|        "f16vec2   dFdy(f16vec2);"
  665|    124|        "f16vec3   dFdy(f16vec3);"
  666|    124|        "f16vec4   dFdy(f16vec4);"
  667|       |
  668|    124|        "float16_t dFdxFine(float16_t);"
  669|    124|        "f16vec2   dFdxFine(f16vec2);"
  670|    124|        "f16vec3   dFdxFine(f16vec3);"
  671|    124|        "f16vec4   dFdxFine(f16vec4);"
  672|       |
  673|    124|        "float16_t dFdyFine(float16_t);"
  674|    124|        "f16vec2   dFdyFine(f16vec2);"
  675|    124|        "f16vec3   dFdyFine(f16vec3);"
  676|    124|        "f16vec4   dFdyFine(f16vec4);"
  677|       |
  678|    124|        "float16_t dFdxCoarse(float16_t);"
  679|    124|        "f16vec2   dFdxCoarse(f16vec2);"
  680|    124|        "f16vec3   dFdxCoarse(f16vec3);"
  681|    124|        "f16vec4   dFdxCoarse(f16vec4);"
  682|       |
  683|    124|        "float16_t dFdyCoarse(float16_t);"
  684|    124|        "f16vec2   dFdyCoarse(f16vec2);"
  685|    124|        "f16vec3   dFdyCoarse(f16vec3);"
  686|    124|        "f16vec4   dFdyCoarse(f16vec4);"
  687|       |
  688|    124|        "float16_t fwidth(float16_t);"
  689|    124|        "f16vec2   fwidth(f16vec2);"
  690|    124|        "f16vec3   fwidth(f16vec3);"
  691|    124|        "f16vec4   fwidth(f16vec4);"
  692|       |
  693|    124|        "float16_t fwidthFine(float16_t);"
  694|    124|        "f16vec2   fwidthFine(f16vec2);"
  695|    124|        "f16vec3   fwidthFine(f16vec3);"
  696|    124|        "f16vec4   fwidthFine(f16vec4);"
  697|       |
  698|    124|        "float16_t fwidthCoarse(float16_t);"
  699|    124|        "f16vec2   fwidthCoarse(f16vec2);"
  700|    124|        "f16vec3   fwidthCoarse(f16vec3);"
  701|    124|        "f16vec4   fwidthCoarse(f16vec4);"
  702|    124|    );
  703|       |
  704|    124|    TString derivativesAndControl64bits (
  705|    124|        "float64_t dFdx(float64_t);"
  706|    124|        "f64vec2   dFdx(f64vec2);"
  707|    124|        "f64vec3   dFdx(f64vec3);"
  708|    124|        "f64vec4   dFdx(f64vec4);"
  709|       |
  710|    124|        "float64_t dFdy(float64_t);"
  711|    124|        "f64vec2   dFdy(f64vec2);"
  712|    124|        "f64vec3   dFdy(f64vec3);"
  713|    124|        "f64vec4   dFdy(f64vec4);"
  714|       |
  715|    124|        "float64_t dFdxFine(float64_t);"
  716|    124|        "f64vec2   dFdxFine(f64vec2);"
  717|    124|        "f64vec3   dFdxFine(f64vec3);"
  718|    124|        "f64vec4   dFdxFine(f64vec4);"
  719|       |
  720|    124|        "float64_t dFdyFine(float64_t);"
  721|    124|        "f64vec2   dFdyFine(f64vec2);"
  722|    124|        "f64vec3   dFdyFine(f64vec3);"
  723|    124|        "f64vec4   dFdyFine(f64vec4);"
  724|       |
  725|    124|        "float64_t dFdxCoarse(float64_t);"
  726|    124|        "f64vec2   dFdxCoarse(f64vec2);"
  727|    124|        "f64vec3   dFdxCoarse(f64vec3);"
  728|    124|        "f64vec4   dFdxCoarse(f64vec4);"
  729|       |
  730|    124|        "float64_t dFdyCoarse(float64_t);"
  731|    124|        "f64vec2   dFdyCoarse(f64vec2);"
  732|    124|        "f64vec3   dFdyCoarse(f64vec3);"
  733|    124|        "f64vec4   dFdyCoarse(f64vec4);"
  734|       |
  735|    124|        "float64_t fwidth(float64_t);"
  736|    124|        "f64vec2   fwidth(f64vec2);"
  737|    124|        "f64vec3   fwidth(f64vec3);"
  738|    124|        "f64vec4   fwidth(f64vec4);"
  739|       |
  740|    124|        "float64_t fwidthFine(float64_t);"
  741|    124|        "f64vec2   fwidthFine(f64vec2);"
  742|    124|        "f64vec3   fwidthFine(f64vec3);"
  743|    124|        "f64vec4   fwidthFine(f64vec4);"
  744|       |
  745|    124|        "float64_t fwidthCoarse(float64_t);"
  746|    124|        "f64vec2   fwidthCoarse(f64vec2);"
  747|    124|        "f64vec3   fwidthCoarse(f64vec3);"
  748|    124|        "f64vec4   fwidthCoarse(f64vec4);"
  749|    124|    );
  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|    124|    if (profile != EEsProfile && version >= 150) {  // ARB_gpu_shader_fp64
  ------------------
  |  Branch (760:9): [True: 124, False: 0]
  |  Branch (760:34): [True: 17, False: 107]
  ------------------
  761|     17|        commonBuiltins.append(
  762|       |
  763|     17|            "double sqrt(double);"
  764|     17|            "dvec2  sqrt(dvec2);"
  765|     17|            "dvec3  sqrt(dvec3);"
  766|     17|            "dvec4  sqrt(dvec4);"
  767|       |
  768|     17|            "double inversesqrt(double);"
  769|     17|            "dvec2  inversesqrt(dvec2);"
  770|     17|            "dvec3  inversesqrt(dvec3);"
  771|     17|            "dvec4  inversesqrt(dvec4);"
  772|       |
  773|     17|            "double abs(double);"
  774|     17|            "dvec2  abs(dvec2);"
  775|     17|            "dvec3  abs(dvec3);"
  776|     17|            "dvec4  abs(dvec4);"
  777|       |
  778|     17|            "double sign(double);"
  779|     17|            "dvec2  sign(dvec2);"
  780|     17|            "dvec3  sign(dvec3);"
  781|     17|            "dvec4  sign(dvec4);"
  782|       |
  783|     17|            "double floor(double);"
  784|     17|            "dvec2  floor(dvec2);"
  785|     17|            "dvec3  floor(dvec3);"
  786|     17|            "dvec4  floor(dvec4);"
  787|       |
  788|     17|            "double trunc(double);"
  789|     17|            "dvec2  trunc(dvec2);"
  790|     17|            "dvec3  trunc(dvec3);"
  791|     17|            "dvec4  trunc(dvec4);"
  792|       |
  793|     17|            "double round(double);"
  794|     17|            "dvec2  round(dvec2);"
  795|     17|            "dvec3  round(dvec3);"
  796|     17|            "dvec4  round(dvec4);"
  797|       |
  798|     17|            "double roundEven(double);"
  799|     17|            "dvec2  roundEven(dvec2);"
  800|     17|            "dvec3  roundEven(dvec3);"
  801|     17|            "dvec4  roundEven(dvec4);"
  802|       |
  803|     17|            "double ceil(double);"
  804|     17|            "dvec2  ceil(dvec2);"
  805|     17|            "dvec3  ceil(dvec3);"
  806|     17|            "dvec4  ceil(dvec4);"
  807|       |
  808|     17|            "double fract(double);"
  809|     17|            "dvec2  fract(dvec2);"
  810|     17|            "dvec3  fract(dvec3);"
  811|     17|            "dvec4  fract(dvec4);"
  812|       |
  813|     17|            "double mod(double, double);"
  814|     17|            "dvec2  mod(dvec2 , double);"
  815|     17|            "dvec3  mod(dvec3 , double);"
  816|     17|            "dvec4  mod(dvec4 , double);"
  817|     17|            "dvec2  mod(dvec2 , dvec2);"
  818|     17|            "dvec3  mod(dvec3 , dvec3);"
  819|     17|            "dvec4  mod(dvec4 , dvec4);"
  820|       |
  821|     17|            "double modf(double, out double);"
  822|     17|            "dvec2  modf(dvec2,  out dvec2);"
  823|     17|            "dvec3  modf(dvec3,  out dvec3);"
  824|     17|            "dvec4  modf(dvec4,  out dvec4);"
  825|       |
  826|     17|            "double min(double, double);"
  827|     17|            "dvec2  min(dvec2,  double);"
  828|     17|            "dvec3  min(dvec3,  double);"
  829|     17|            "dvec4  min(dvec4,  double);"
  830|     17|            "dvec2  min(dvec2,  dvec2);"
  831|     17|            "dvec3  min(dvec3,  dvec3);"
  832|     17|            "dvec4  min(dvec4,  dvec4);"
  833|       |
  834|     17|            "double max(double, double);"
  835|     17|            "dvec2  max(dvec2 , double);"
  836|     17|            "dvec3  max(dvec3 , double);"
  837|     17|            "dvec4  max(dvec4 , double);"
  838|     17|            "dvec2  max(dvec2 , dvec2);"
  839|     17|            "dvec3  max(dvec3 , dvec3);"
  840|     17|            "dvec4  max(dvec4 , dvec4);"
  841|       |
  842|     17|            "double clamp(double, double, double);"
  843|     17|            "dvec2  clamp(dvec2 , double, double);"
  844|     17|            "dvec3  clamp(dvec3 , double, double);"
  845|     17|            "dvec4  clamp(dvec4 , double, double);"
  846|     17|            "dvec2  clamp(dvec2 , dvec2 , dvec2);"
  847|     17|            "dvec3  clamp(dvec3 , dvec3 , dvec3);"
  848|     17|            "dvec4  clamp(dvec4 , dvec4 , dvec4);"
  849|       |
  850|     17|            "double mix(double, double, double);"
  851|     17|            "dvec2  mix(dvec2,  dvec2,  double);"
  852|     17|            "dvec3  mix(dvec3,  dvec3,  double);"
  853|     17|            "dvec4  mix(dvec4,  dvec4,  double);"
  854|     17|            "dvec2  mix(dvec2,  dvec2,  dvec2);"
  855|     17|            "dvec3  mix(dvec3,  dvec3,  dvec3);"
  856|     17|            "dvec4  mix(dvec4,  dvec4,  dvec4);"
  857|     17|            "double mix(double, double, bool);"
  858|     17|            "dvec2  mix(dvec2,  dvec2,  bvec2);"
  859|     17|            "dvec3  mix(dvec3,  dvec3,  bvec3);"
  860|     17|            "dvec4  mix(dvec4,  dvec4,  bvec4);"
  861|       |
  862|     17|            "double step(double, double);"
  863|     17|            "dvec2  step(dvec2 , dvec2);"
  864|     17|            "dvec3  step(dvec3 , dvec3);"
  865|     17|            "dvec4  step(dvec4 , dvec4);"
  866|     17|            "dvec2  step(double, dvec2);"
  867|     17|            "dvec3  step(double, dvec3);"
  868|     17|            "dvec4  step(double, dvec4);"
  869|       |
  870|     17|            "double smoothstep(double, double, double);"
  871|     17|            "dvec2  smoothstep(dvec2 , dvec2 , dvec2);"
  872|     17|            "dvec3  smoothstep(dvec3 , dvec3 , dvec3);"
  873|     17|            "dvec4  smoothstep(dvec4 , dvec4 , dvec4);"
  874|     17|            "dvec2  smoothstep(double, double, dvec2);"
  875|     17|            "dvec3  smoothstep(double, double, dvec3);"
  876|     17|            "dvec4  smoothstep(double, double, dvec4);"
  877|       |
  878|     17|            "bool  isnan(double);"
  879|     17|            "bvec2 isnan(dvec2);"
  880|     17|            "bvec3 isnan(dvec3);"
  881|     17|            "bvec4 isnan(dvec4);"
  882|       |
  883|     17|            "bool  isinf(double);"
  884|     17|            "bvec2 isinf(dvec2);"
  885|     17|            "bvec3 isinf(dvec3);"
  886|     17|            "bvec4 isinf(dvec4);"
  887|       |
  888|     17|            "double length(double);"
  889|     17|            "double length(dvec2);"
  890|     17|            "double length(dvec3);"
  891|     17|            "double length(dvec4);"
  892|       |
  893|     17|            "double distance(double, double);"
  894|     17|            "double distance(dvec2 , dvec2);"
  895|     17|            "double distance(dvec3 , dvec3);"
  896|     17|            "double distance(dvec4 , dvec4);"
  897|       |
  898|     17|            "double dot(double, double);"
  899|     17|            "double dot(dvec2 , dvec2);"
  900|     17|            "double dot(dvec3 , dvec3);"
  901|     17|            "double dot(dvec4 , dvec4);"
  902|       |
  903|     17|            "dvec3 cross(dvec3, dvec3);"
  904|       |
  905|     17|            "double normalize(double);"
  906|     17|            "dvec2  normalize(dvec2);"
  907|     17|            "dvec3  normalize(dvec3);"
  908|     17|            "dvec4  normalize(dvec4);"
  909|       |
  910|     17|            "double faceforward(double, double, double);"
  911|     17|            "dvec2  faceforward(dvec2,  dvec2,  dvec2);"
  912|     17|            "dvec3  faceforward(dvec3,  dvec3,  dvec3);"
  913|     17|            "dvec4  faceforward(dvec4,  dvec4,  dvec4);"
  914|       |
  915|     17|            "double reflect(double, double);"
  916|     17|            "dvec2  reflect(dvec2 , dvec2 );"
  917|     17|            "dvec3  reflect(dvec3 , dvec3 );"
  918|     17|            "dvec4  reflect(dvec4 , dvec4 );"
  919|       |
  920|     17|            "double refract(double, double, double);"
  921|     17|            "dvec2  refract(dvec2 , dvec2 , double);"
  922|     17|            "dvec3  refract(dvec3 , dvec3 , double);"
  923|     17|            "dvec4  refract(dvec4 , dvec4 , double);"
  924|       |
  925|     17|            "dmat2 matrixCompMult(dmat2, dmat2);"
  926|     17|            "dmat3 matrixCompMult(dmat3, dmat3);"
  927|     17|            "dmat4 matrixCompMult(dmat4, dmat4);"
  928|     17|            "dmat2x3 matrixCompMult(dmat2x3, dmat2x3);"
  929|     17|            "dmat2x4 matrixCompMult(dmat2x4, dmat2x4);"
  930|     17|            "dmat3x2 matrixCompMult(dmat3x2, dmat3x2);"
  931|     17|            "dmat3x4 matrixCompMult(dmat3x4, dmat3x4);"
  932|     17|            "dmat4x2 matrixCompMult(dmat4x2, dmat4x2);"
  933|     17|            "dmat4x3 matrixCompMult(dmat4x3, dmat4x3);"
  934|       |
  935|     17|            "dmat2   outerProduct(dvec2, dvec2);"
  936|     17|            "dmat3   outerProduct(dvec3, dvec3);"
  937|     17|            "dmat4   outerProduct(dvec4, dvec4);"
  938|     17|            "dmat2x3 outerProduct(dvec3, dvec2);"
  939|     17|            "dmat3x2 outerProduct(dvec2, dvec3);"
  940|     17|            "dmat2x4 outerProduct(dvec4, dvec2);"
  941|     17|            "dmat4x2 outerProduct(dvec2, dvec4);"
  942|     17|            "dmat3x4 outerProduct(dvec4, dvec3);"
  943|     17|            "dmat4x3 outerProduct(dvec3, dvec4);"
  944|       |
  945|     17|            "dmat2   transpose(dmat2);"
  946|     17|            "dmat3   transpose(dmat3);"
  947|     17|            "dmat4   transpose(dmat4);"
  948|     17|            "dmat2x3 transpose(dmat3x2);"
  949|     17|            "dmat3x2 transpose(dmat2x3);"
  950|     17|            "dmat2x4 transpose(dmat4x2);"
  951|     17|            "dmat4x2 transpose(dmat2x4);"
  952|     17|            "dmat3x4 transpose(dmat4x3);"
  953|     17|            "dmat4x3 transpose(dmat3x4);"
  954|       |
  955|     17|            "double determinant(dmat2);"
  956|     17|            "double determinant(dmat3);"
  957|     17|            "double determinant(dmat4);"
  958|       |
  959|     17|            "dmat2 inverse(dmat2);"
  960|     17|            "dmat3 inverse(dmat3);"
  961|     17|            "dmat4 inverse(dmat4);"
  962|       |
  963|     17|            "bvec2 lessThan(dvec2, dvec2);"
  964|     17|            "bvec3 lessThan(dvec3, dvec3);"
  965|     17|            "bvec4 lessThan(dvec4, dvec4);"
  966|       |
  967|     17|            "bvec2 lessThanEqual(dvec2, dvec2);"
  968|     17|            "bvec3 lessThanEqual(dvec3, dvec3);"
  969|     17|            "bvec4 lessThanEqual(dvec4, dvec4);"
  970|       |
  971|     17|            "bvec2 greaterThan(dvec2, dvec2);"
  972|     17|            "bvec3 greaterThan(dvec3, dvec3);"
  973|     17|            "bvec4 greaterThan(dvec4, dvec4);"
  974|       |
  975|     17|            "bvec2 greaterThanEqual(dvec2, dvec2);"
  976|     17|            "bvec3 greaterThanEqual(dvec3, dvec3);"
  977|     17|            "bvec4 greaterThanEqual(dvec4, dvec4);"
  978|       |
  979|     17|            "bvec2 equal(dvec2, dvec2);"
  980|     17|            "bvec3 equal(dvec3, dvec3);"
  981|     17|            "bvec4 equal(dvec4, dvec4);"
  982|       |
  983|     17|            "bvec2 notEqual(dvec2, dvec2);"
  984|     17|            "bvec3 notEqual(dvec3, dvec3);"
  985|     17|            "bvec4 notEqual(dvec4, dvec4);"
  986|       |
  987|     17|            "\n");
  988|     17|    }
  989|       |
  990|    124|    if (profile == EEsProfile && version >= 310) {  // Explicit Types
  ------------------
  |  Branch (990:9): [True: 0, False: 124]
  |  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|    124|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (1186:10): [True: 124, False: 0]
  |  Branch (1186:35): [True: 12, False: 112]
  |  Branch (1186:55): [True: 0, False: 112]
  |  Branch (1186:80): [True: 0, False: 0]
  ------------------
 1187|     12|        commonBuiltins.append(
 1188|       |
 1189|     12|            "int64_t abs(int64_t);"
 1190|     12|            "i64vec2 abs(i64vec2);"
 1191|     12|            "i64vec3 abs(i64vec3);"
 1192|     12|            "i64vec4 abs(i64vec4);"
 1193|       |
 1194|     12|            "int64_t sign(int64_t);"
 1195|     12|            "i64vec2 sign(i64vec2);"
 1196|     12|            "i64vec3 sign(i64vec3);"
 1197|     12|            "i64vec4 sign(i64vec4);"
 1198|       |
 1199|     12|            "int64_t  min(int64_t,  int64_t);"
 1200|     12|            "i64vec2  min(i64vec2,  int64_t);"
 1201|     12|            "i64vec3  min(i64vec3,  int64_t);"
 1202|     12|            "i64vec4  min(i64vec4,  int64_t);"
 1203|     12|            "i64vec2  min(i64vec2,  i64vec2);"
 1204|     12|            "i64vec3  min(i64vec3,  i64vec3);"
 1205|     12|            "i64vec4  min(i64vec4,  i64vec4);"
 1206|     12|            "uint64_t min(uint64_t, uint64_t);"
 1207|     12|            "u64vec2  min(u64vec2,  uint64_t);"
 1208|     12|            "u64vec3  min(u64vec3,  uint64_t);"
 1209|     12|            "u64vec4  min(u64vec4,  uint64_t);"
 1210|     12|            "u64vec2  min(u64vec2,  u64vec2);"
 1211|     12|            "u64vec3  min(u64vec3,  u64vec3);"
 1212|     12|            "u64vec4  min(u64vec4,  u64vec4);"
 1213|       |
 1214|     12|            "int64_t  max(int64_t,  int64_t);"
 1215|     12|            "i64vec2  max(i64vec2,  int64_t);"
 1216|     12|            "i64vec3  max(i64vec3,  int64_t);"
 1217|     12|            "i64vec4  max(i64vec4,  int64_t);"
 1218|     12|            "i64vec2  max(i64vec2,  i64vec2);"
 1219|     12|            "i64vec3  max(i64vec3,  i64vec3);"
 1220|     12|            "i64vec4  max(i64vec4,  i64vec4);"
 1221|     12|            "uint64_t max(uint64_t, uint64_t);"
 1222|     12|            "u64vec2  max(u64vec2,  uint64_t);"
 1223|     12|            "u64vec3  max(u64vec3,  uint64_t);"
 1224|     12|            "u64vec4  max(u64vec4,  uint64_t);"
 1225|     12|            "u64vec2  max(u64vec2,  u64vec2);"
 1226|     12|            "u64vec3  max(u64vec3,  u64vec3);"
 1227|     12|            "u64vec4  max(u64vec4,  u64vec4);"
 1228|       |
 1229|     12|            "int64_t  clamp(int64_t,  int64_t,  int64_t);"
 1230|     12|            "i64vec2  clamp(i64vec2,  int64_t,  int64_t);"
 1231|     12|            "i64vec3  clamp(i64vec3,  int64_t,  int64_t);"
 1232|     12|            "i64vec4  clamp(i64vec4,  int64_t,  int64_t);"
 1233|     12|            "i64vec2  clamp(i64vec2,  i64vec2,  i64vec2);"
 1234|     12|            "i64vec3  clamp(i64vec3,  i64vec3,  i64vec3);"
 1235|     12|            "i64vec4  clamp(i64vec4,  i64vec4,  i64vec4);"
 1236|     12|            "uint64_t clamp(uint64_t, uint64_t, uint64_t);"
 1237|     12|            "u64vec2  clamp(u64vec2,  uint64_t, uint64_t);"
 1238|     12|            "u64vec3  clamp(u64vec3,  uint64_t, uint64_t);"
 1239|     12|            "u64vec4  clamp(u64vec4,  uint64_t, uint64_t);"
 1240|     12|            "u64vec2  clamp(u64vec2,  u64vec2,  u64vec2);"
 1241|     12|            "u64vec3  clamp(u64vec3,  u64vec3,  u64vec3);"
 1242|     12|            "u64vec4  clamp(u64vec4,  u64vec4,  u64vec4);"
 1243|       |
 1244|     12|            "int64_t  mix(int64_t,  int64_t,  bool);"
 1245|     12|            "i64vec2  mix(i64vec2,  i64vec2,  bvec2);"
 1246|     12|            "i64vec3  mix(i64vec3,  i64vec3,  bvec3);"
 1247|     12|            "i64vec4  mix(i64vec4,  i64vec4,  bvec4);"
 1248|     12|            "uint64_t mix(uint64_t, uint64_t, bool);"
 1249|     12|            "u64vec2  mix(u64vec2,  u64vec2,  bvec2);"
 1250|     12|            "u64vec3  mix(u64vec3,  u64vec3,  bvec3);"
 1251|     12|            "u64vec4  mix(u64vec4,  u64vec4,  bvec4);"
 1252|       |
 1253|     12|            "int64_t doubleBitsToInt64(float64_t);"
 1254|     12|            "i64vec2 doubleBitsToInt64(f64vec2);"
 1255|     12|            "i64vec3 doubleBitsToInt64(f64vec3);"
 1256|     12|            "i64vec4 doubleBitsToInt64(f64vec4);"
 1257|       |
 1258|     12|            "uint64_t doubleBitsToUint64(float64_t);"
 1259|     12|            "u64vec2  doubleBitsToUint64(f64vec2);"
 1260|     12|            "u64vec3  doubleBitsToUint64(f64vec3);"
 1261|     12|            "u64vec4  doubleBitsToUint64(f64vec4);"
 1262|       |
 1263|     12|            "float64_t int64BitsToDouble(int64_t);"
 1264|     12|            "f64vec2  int64BitsToDouble(i64vec2);"
 1265|     12|            "f64vec3  int64BitsToDouble(i64vec3);"
 1266|     12|            "f64vec4  int64BitsToDouble(i64vec4);"
 1267|       |
 1268|     12|            "float64_t uint64BitsToDouble(uint64_t);"
 1269|     12|            "f64vec2  uint64BitsToDouble(u64vec2);"
 1270|     12|            "f64vec3  uint64BitsToDouble(u64vec3);"
 1271|     12|            "f64vec4  uint64BitsToDouble(u64vec4);"
 1272|       |
 1273|     12|            "int64_t  packInt2x32(ivec2);"
 1274|     12|            "uint64_t packUint2x32(uvec2);"
 1275|     12|            "ivec2    unpackInt2x32(int64_t);"
 1276|     12|            "uvec2    unpackUint2x32(uint64_t);"
 1277|       |
 1278|     12|            "bvec2 lessThan(i64vec2, i64vec2);"
 1279|     12|            "bvec3 lessThan(i64vec3, i64vec3);"
 1280|     12|            "bvec4 lessThan(i64vec4, i64vec4);"
 1281|     12|            "bvec2 lessThan(u64vec2, u64vec2);"
 1282|     12|            "bvec3 lessThan(u64vec3, u64vec3);"
 1283|     12|            "bvec4 lessThan(u64vec4, u64vec4);"
 1284|       |
 1285|     12|            "bvec2 lessThanEqual(i64vec2, i64vec2);"
 1286|     12|            "bvec3 lessThanEqual(i64vec3, i64vec3);"
 1287|     12|            "bvec4 lessThanEqual(i64vec4, i64vec4);"
 1288|     12|            "bvec2 lessThanEqual(u64vec2, u64vec2);"
 1289|     12|            "bvec3 lessThanEqual(u64vec3, u64vec3);"
 1290|     12|            "bvec4 lessThanEqual(u64vec4, u64vec4);"
 1291|       |
 1292|     12|            "bvec2 greaterThan(i64vec2, i64vec2);"
 1293|     12|            "bvec3 greaterThan(i64vec3, i64vec3);"
 1294|     12|            "bvec4 greaterThan(i64vec4, i64vec4);"
 1295|     12|            "bvec2 greaterThan(u64vec2, u64vec2);"
 1296|     12|            "bvec3 greaterThan(u64vec3, u64vec3);"
 1297|     12|            "bvec4 greaterThan(u64vec4, u64vec4);"
 1298|       |
 1299|     12|            "bvec2 greaterThanEqual(i64vec2, i64vec2);"
 1300|     12|            "bvec3 greaterThanEqual(i64vec3, i64vec3);"
 1301|     12|            "bvec4 greaterThanEqual(i64vec4, i64vec4);"
 1302|     12|            "bvec2 greaterThanEqual(u64vec2, u64vec2);"
 1303|     12|            "bvec3 greaterThanEqual(u64vec3, u64vec3);"
 1304|     12|            "bvec4 greaterThanEqual(u64vec4, u64vec4);"
 1305|       |
 1306|     12|            "bvec2 equal(i64vec2, i64vec2);"
 1307|     12|            "bvec3 equal(i64vec3, i64vec3);"
 1308|     12|            "bvec4 equal(i64vec4, i64vec4);"
 1309|     12|            "bvec2 equal(u64vec2, u64vec2);"
 1310|     12|            "bvec3 equal(u64vec3, u64vec3);"
 1311|     12|            "bvec4 equal(u64vec4, u64vec4);"
 1312|       |
 1313|     12|            "bvec2 notEqual(i64vec2, i64vec2);"
 1314|     12|            "bvec3 notEqual(i64vec3, i64vec3);"
 1315|     12|            "bvec4 notEqual(i64vec4, i64vec4);"
 1316|     12|            "bvec2 notEqual(u64vec2, u64vec2);"
 1317|     12|            "bvec3 notEqual(u64vec3, u64vec3);"
 1318|     12|            "bvec4 notEqual(u64vec4, u64vec4);"
 1319|       |
 1320|     12|            "int64_t bitCount(int64_t);"
 1321|     12|            "i64vec2 bitCount(i64vec2);"
 1322|     12|            "i64vec3 bitCount(i64vec3);"
 1323|     12|            "i64vec4 bitCount(i64vec4);"
 1324|       |
 1325|     12|            "int64_t bitCount(uint64_t);"
 1326|     12|            "i64vec2 bitCount(u64vec2);"
 1327|     12|            "i64vec3 bitCount(u64vec3);"
 1328|     12|            "i64vec4 bitCount(u64vec4);"
 1329|       |
 1330|     12|            "int64_t findLSB(int64_t);"
 1331|     12|            "i64vec2 findLSB(i64vec2);"
 1332|     12|            "i64vec3 findLSB(i64vec3);"
 1333|     12|            "i64vec4 findLSB(i64vec4);"
 1334|       |
 1335|     12|            "int64_t findLSB(uint64_t);"
 1336|     12|            "i64vec2 findLSB(u64vec2);"
 1337|     12|            "i64vec3 findLSB(u64vec3);"
 1338|     12|            "i64vec4 findLSB(u64vec4);"
 1339|       |
 1340|     12|            "int64_t findMSB(int64_t);"
 1341|     12|            "i64vec2 findMSB(i64vec2);"
 1342|     12|            "i64vec3 findMSB(i64vec3);"
 1343|     12|            "i64vec4 findMSB(i64vec4);"
 1344|       |
 1345|     12|            "int64_t findMSB(uint64_t);"
 1346|     12|            "i64vec2 findMSB(u64vec2);"
 1347|     12|            "i64vec3 findMSB(u64vec3);"
 1348|     12|            "i64vec4 findMSB(u64vec4);"
 1349|       |
 1350|     12|            "\n"
 1351|     12|        );
 1352|     12|    }
 1353|       |
 1354|       |    // GL_AMD_shader_trinary_minmax
 1355|    124|    if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (1355:9): [True: 124, False: 0]
  |  Branch (1355:34): [True: 12, False: 112]
  ------------------
 1356|     12|        commonBuiltins.append(
 1357|     12|            "float min3(float, float, float);"
 1358|     12|            "vec2  min3(vec2,  vec2,  vec2);"
 1359|     12|            "vec3  min3(vec3,  vec3,  vec3);"
 1360|     12|            "vec4  min3(vec4,  vec4,  vec4);"
 1361|       |
 1362|     12|            "int   min3(int,   int,   int);"
 1363|     12|            "ivec2 min3(ivec2, ivec2, ivec2);"
 1364|     12|            "ivec3 min3(ivec3, ivec3, ivec3);"
 1365|     12|            "ivec4 min3(ivec4, ivec4, ivec4);"
 1366|       |
 1367|     12|            "uint  min3(uint,  uint,  uint);"
 1368|     12|            "uvec2 min3(uvec2, uvec2, uvec2);"
 1369|     12|            "uvec3 min3(uvec3, uvec3, uvec3);"
 1370|     12|            "uvec4 min3(uvec4, uvec4, uvec4);"
 1371|       |
 1372|     12|            "float max3(float, float, float);"
 1373|     12|            "vec2  max3(vec2,  vec2,  vec2);"
 1374|     12|            "vec3  max3(vec3,  vec3,  vec3);"
 1375|     12|            "vec4  max3(vec4,  vec4,  vec4);"
 1376|       |
 1377|     12|            "int   max3(int,   int,   int);"
 1378|     12|            "ivec2 max3(ivec2, ivec2, ivec2);"
 1379|     12|            "ivec3 max3(ivec3, ivec3, ivec3);"
 1380|     12|            "ivec4 max3(ivec4, ivec4, ivec4);"
 1381|       |
 1382|     12|            "uint  max3(uint,  uint,  uint);"
 1383|     12|            "uvec2 max3(uvec2, uvec2, uvec2);"
 1384|     12|            "uvec3 max3(uvec3, uvec3, uvec3);"
 1385|     12|            "uvec4 max3(uvec4, uvec4, uvec4);"
 1386|       |
 1387|     12|            "float mid3(float, float, float);"
 1388|     12|            "vec2  mid3(vec2,  vec2,  vec2);"
 1389|     12|            "vec3  mid3(vec3,  vec3,  vec3);"
 1390|     12|            "vec4  mid3(vec4,  vec4,  vec4);"
 1391|       |
 1392|     12|            "int   mid3(int,   int,   int);"
 1393|     12|            "ivec2 mid3(ivec2, ivec2, ivec2);"
 1394|     12|            "ivec3 mid3(ivec3, ivec3, ivec3);"
 1395|     12|            "ivec4 mid3(ivec4, ivec4, ivec4);"
 1396|       |
 1397|     12|            "uint  mid3(uint,  uint,  uint);"
 1398|     12|            "uvec2 mid3(uvec2, uvec2, uvec2);"
 1399|     12|            "uvec3 mid3(uvec3, uvec3, uvec3);"
 1400|     12|            "uvec4 mid3(uvec4, uvec4, uvec4);"
 1401|       |
 1402|     12|            "float16_t min3(float16_t, float16_t, float16_t);"
 1403|     12|            "f16vec2   min3(f16vec2,   f16vec2,   f16vec2);"
 1404|     12|            "f16vec3   min3(f16vec3,   f16vec3,   f16vec3);"
 1405|     12|            "f16vec4   min3(f16vec4,   f16vec4,   f16vec4);"
 1406|       |
 1407|     12|            "float16_t max3(float16_t, float16_t, float16_t);"
 1408|     12|            "f16vec2   max3(f16vec2,   f16vec2,   f16vec2);"
 1409|     12|            "f16vec3   max3(f16vec3,   f16vec3,   f16vec3);"
 1410|     12|            "f16vec4   max3(f16vec4,   f16vec4,   f16vec4);"
 1411|       |
 1412|     12|            "float16_t mid3(float16_t, float16_t, float16_t);"
 1413|     12|            "f16vec2   mid3(f16vec2,   f16vec2,   f16vec2);"
 1414|     12|            "f16vec3   mid3(f16vec3,   f16vec3,   f16vec3);"
 1415|     12|            "f16vec4   mid3(f16vec4,   f16vec4,   f16vec4);"
 1416|       |
 1417|     12|            "int16_t   min3(int16_t,   int16_t,   int16_t);"
 1418|     12|            "i16vec2   min3(i16vec2,   i16vec2,   i16vec2);"
 1419|     12|            "i16vec3   min3(i16vec3,   i16vec3,   i16vec3);"
 1420|     12|            "i16vec4   min3(i16vec4,   i16vec4,   i16vec4);"
 1421|       |
 1422|     12|            "int16_t   max3(int16_t,   int16_t,   int16_t);"
 1423|     12|            "i16vec2   max3(i16vec2,   i16vec2,   i16vec2);"
 1424|     12|            "i16vec3   max3(i16vec3,   i16vec3,   i16vec3);"
 1425|     12|            "i16vec4   max3(i16vec4,   i16vec4,   i16vec4);"
 1426|       |
 1427|     12|            "int16_t   mid3(int16_t,   int16_t,   int16_t);"
 1428|     12|            "i16vec2   mid3(i16vec2,   i16vec2,   i16vec2);"
 1429|     12|            "i16vec3   mid3(i16vec3,   i16vec3,   i16vec3);"
 1430|     12|            "i16vec4   mid3(i16vec4,   i16vec4,   i16vec4);"
 1431|       |
 1432|     12|            "uint16_t  min3(uint16_t,  uint16_t,  uint16_t);"
 1433|     12|            "u16vec2   min3(u16vec2,   u16vec2,   u16vec2);"
 1434|     12|            "u16vec3   min3(u16vec3,   u16vec3,   u16vec3);"
 1435|     12|            "u16vec4   min3(u16vec4,   u16vec4,   u16vec4);"
 1436|       |
 1437|     12|            "uint16_t  max3(uint16_t,  uint16_t,  uint16_t);"
 1438|     12|            "u16vec2   max3(u16vec2,   u16vec2,   u16vec2);"
 1439|     12|            "u16vec3   max3(u16vec3,   u16vec3,   u16vec3);"
 1440|     12|            "u16vec4   max3(u16vec4,   u16vec4,   u16vec4);"
 1441|       |
 1442|     12|            "uint16_t  mid3(uint16_t,  uint16_t,  uint16_t);"
 1443|     12|            "u16vec2   mid3(u16vec2,   u16vec2,   u16vec2);"
 1444|     12|            "u16vec3   mid3(u16vec3,   u16vec3,   u16vec3);"
 1445|     12|            "u16vec4   mid3(u16vec4,   u16vec4,   u16vec4);"
 1446|       |
 1447|     12|            "\n"
 1448|     12|        );
 1449|     12|    }
 1450|       |
 1451|    124|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (1451:10): [True: 0, False: 124]
  |  Branch (1451:35): [True: 0, False: 0]
  ------------------
 1452|    124|        (profile != EEsProfile && version >= 430)) {
  ------------------
  |  Branch (1452:10): [True: 124, False: 0]
  |  Branch (1452:35): [True: 12, False: 112]
  ------------------
 1453|     12|        commonBuiltins.append(
 1454|     12|            "uint atomicAdd(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1455|     12|            " int atomicAdd(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1456|       |
 1457|     12|            "uint atomicMin(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1458|     12|            " int atomicMin(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1459|       |
 1460|     12|            "uint atomicMax(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1461|     12|            " int atomicMax(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1462|       |
 1463|     12|            "uint atomicAnd(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1464|     12|            " int atomicAnd(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1465|       |
 1466|     12|            "uint atomicOr (coherent volatile nontemporal inout uint, uint, int, int, int);"
 1467|     12|            " int atomicOr (coherent volatile nontemporal inout  int,  int, int, int, int);"
 1468|       |
 1469|     12|            "uint atomicXor(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1470|     12|            " int atomicXor(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1471|       |
 1472|     12|            "uint atomicExchange(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1473|     12|            " int atomicExchange(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1474|       |
 1475|     12|            "uint atomicCompSwap(coherent volatile nontemporal inout uint, uint, uint, int, int, int, int, int);"
 1476|     12|            " int atomicCompSwap(coherent volatile nontemporal inout  int,  int,  int, int, int, int, int, int);"
 1477|       |
 1478|     12|            "uint atomicLoad(coherent volatile nontemporal in uint, int, int, int);"
 1479|     12|            " int atomicLoad(coherent volatile nontemporal in  int, int, int, int);"
 1480|       |
 1481|     12|            "void atomicStore(coherent volatile nontemporal out uint, uint, int, int, int);"
 1482|     12|            "void atomicStore(coherent volatile nontemporal out  int,  int, int, int, int);"
 1483|       |
 1484|     12|            "\n");
 1485|     12|    }
 1486|       |
 1487|    124|    if (profile != EEsProfile && version >= 440) {
  ------------------
  |  Branch (1487:9): [True: 124, False: 0]
  |  Branch (1487:34): [True: 12, False: 112]
  ------------------
 1488|     12|        commonBuiltins.append(
 1489|     12|            "uint64_t atomicMin(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1490|     12|            " int64_t atomicMin(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1491|     12|            "uint64_t atomicMin(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1492|     12|            " int64_t atomicMin(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1493|     12|            "float16_t atomicMin(coherent volatile nontemporal inout float16_t, float16_t);"
 1494|     12|            "float16_t atomicMin(coherent volatile nontemporal inout float16_t, float16_t, int, int, int);"
 1495|     12|            "   float atomicMin(coherent volatile nontemporal inout float, float);"
 1496|     12|            "   float atomicMin(coherent volatile nontemporal inout float, float, int, int, int);"
 1497|     12|            "  double atomicMin(coherent volatile nontemporal inout double, double);"
 1498|     12|            "  double atomicMin(coherent volatile nontemporal inout double, double, int, int, int);"
 1499|       |
 1500|     12|            "uint64_t atomicMax(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1501|     12|            " int64_t atomicMax(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1502|     12|            "uint64_t atomicMax(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1503|     12|            " int64_t atomicMax(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1504|     12|            "float16_t atomicMax(coherent volatile nontemporal inout float16_t, float16_t);"
 1505|     12|            "float16_t atomicMax(coherent volatile nontemporal inout float16_t, float16_t, int, int, int);"
 1506|     12|            "   float atomicMax(coherent volatile nontemporal inout float, float);"
 1507|     12|            "   float atomicMax(coherent volatile nontemporal inout float, float, int, int, int);"
 1508|     12|            "  double atomicMax(coherent volatile nontemporal inout double, double);"
 1509|     12|            "  double atomicMax(coherent volatile nontemporal inout double, double, int, int, int);"
 1510|       |
 1511|     12|            "uint64_t atomicAnd(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1512|     12|            " int64_t atomicAnd(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1513|     12|            "uint64_t atomicAnd(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1514|     12|            " int64_t atomicAnd(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1515|       |
 1516|     12|            "uint64_t atomicOr (coherent volatile nontemporal inout uint64_t, uint64_t);"
 1517|     12|            " int64_t atomicOr (coherent volatile nontemporal inout  int64_t,  int64_t);"
 1518|     12|            "uint64_t atomicOr (coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1519|     12|            " int64_t atomicOr (coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1520|       |
 1521|     12|            "uint64_t atomicXor(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1522|     12|            " int64_t atomicXor(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1523|     12|            "uint64_t atomicXor(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1524|     12|            " int64_t atomicXor(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1525|       |
 1526|     12|            "uint64_t atomicAdd(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1527|     12|            " int64_t atomicAdd(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1528|     12|            "uint64_t atomicAdd(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1529|     12|            " int64_t atomicAdd(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1530|     12|            "float16_t atomicAdd(coherent volatile nontemporal inout float16_t, float16_t);"
 1531|     12|            "float16_t atomicAdd(coherent volatile nontemporal inout float16_t, float16_t, int, int, int);"
 1532|     12|            "   float atomicAdd(coherent volatile nontemporal inout float, float);"
 1533|     12|            "   float atomicAdd(coherent volatile nontemporal inout float, float, int, int, int);"
 1534|     12|            "  double atomicAdd(coherent volatile nontemporal inout double, double);"
 1535|     12|            "  double atomicAdd(coherent volatile nontemporal inout double, double, int, int, int);"
 1536|       |
 1537|     12|            "uint64_t atomicExchange(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1538|     12|            " int64_t atomicExchange(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1539|     12|            "uint64_t atomicExchange(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1540|     12|            " int64_t atomicExchange(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1541|     12|            "float16_t atomicExchange(coherent volatile nontemporal inout float16_t, float16_t);"
 1542|     12|            "float16_t atomicExchange(coherent volatile nontemporal inout float16_t, float16_t, int, int, int);"
 1543|     12|            "   float atomicExchange(coherent volatile nontemporal inout float, float);"
 1544|     12|            "   float atomicExchange(coherent volatile nontemporal inout float, float, int, int, int);"
 1545|     12|            "  double atomicExchange(coherent volatile nontemporal inout double, double);"
 1546|     12|            "  double atomicExchange(coherent volatile nontemporal inout double, double, int, int, int);"
 1547|       |
 1548|     12|            "uint64_t atomicCompSwap(coherent volatile nontemporal inout uint64_t, uint64_t, uint64_t);"
 1549|     12|            " int64_t atomicCompSwap(coherent volatile nontemporal inout  int64_t,  int64_t,  int64_t);"
 1550|     12|            "uint64_t atomicCompSwap(coherent volatile nontemporal inout uint64_t, uint64_t, uint64_t, int, int, int, int, int);"
 1551|     12|            " int64_t atomicCompSwap(coherent volatile nontemporal inout  int64_t,  int64_t,  int64_t, int, int, int, int, int);"
 1552|       |
 1553|     12|            "uint64_t atomicLoad(coherent volatile nontemporal in uint64_t, int, int, int);"
 1554|     12|            " int64_t atomicLoad(coherent volatile nontemporal in  int64_t, int, int, int);"
 1555|     12|            "float16_t atomicLoad(coherent volatile nontemporal in float16_t, int, int, int);"
 1556|     12|            "   float atomicLoad(coherent volatile nontemporal in float, int, int, int);"
 1557|     12|            "  double atomicLoad(coherent volatile nontemporal in double, int, int, int);"
 1558|       |
 1559|     12|            "void atomicStore(coherent volatile nontemporal out uint64_t, uint64_t, int, int, int);"
 1560|     12|            "void atomicStore(coherent volatile nontemporal out  int64_t,  int64_t, int, int, int);"
 1561|     12|            "void atomicStore(coherent volatile nontemporal out float16_t, float16_t, int, int, int);"
 1562|     12|            "void atomicStore(coherent volatile nontemporal out float, float, int, int, int);"
 1563|     12|            "void atomicStore(coherent volatile nontemporal out double, double, int, int, int);"
 1564|     12|            "\n");
 1565|     12|    }
 1566|       |
 1567|       |    // NV_shader_atomic_fp16_vector
 1568|    124|    if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (1568:9): [True: 124, False: 0]
  |  Branch (1568:34): [True: 12, False: 112]
  ------------------
 1569|     12|        commonBuiltins.append(
 1570|     12|            "f16vec2 atomicAdd(coherent volatile nontemporal inout f16vec2, f16vec2);"
 1571|     12|            "f16vec4 atomicAdd(coherent volatile nontemporal inout f16vec4, f16vec4);"
 1572|     12|            "f16vec2 atomicMin(coherent volatile nontemporal inout f16vec2, f16vec2);"
 1573|     12|            "f16vec4 atomicMin(coherent volatile nontemporal inout f16vec4, f16vec4);"
 1574|     12|            "f16vec2 atomicMax(coherent volatile nontemporal inout f16vec2, f16vec2);"
 1575|     12|            "f16vec4 atomicMax(coherent volatile nontemporal inout f16vec4, f16vec4);"
 1576|     12|            "f16vec2 atomicExchange(coherent volatile nontemporal inout f16vec2, f16vec2);"
 1577|     12|            "f16vec4 atomicExchange(coherent volatile nontemporal inout f16vec4, f16vec4);"
 1578|     12|            "\n");
 1579|     12|    }
 1580|       |
 1581|    124|    if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1581:10): [True: 0, False: 124]
  |  Branch (1581:35): [True: 0, False: 0]
  ------------------
 1582|    124|        (profile != EEsProfile && version >= 150)) { // GL_ARB_shader_bit_encoding
  ------------------
  |  Branch (1582:10): [True: 124, False: 0]
  |  Branch (1582:35): [True: 17, False: 107]
  ------------------
 1583|     17|        commonBuiltins.append(
 1584|     17|            "int   floatBitsToInt(highp float value);"
 1585|     17|            "ivec2 floatBitsToInt(highp vec2  value);"
 1586|     17|            "ivec3 floatBitsToInt(highp vec3  value);"
 1587|     17|            "ivec4 floatBitsToInt(highp vec4  value);"
 1588|       |
 1589|     17|            "uint  floatBitsToUint(highp float value);"
 1590|     17|            "uvec2 floatBitsToUint(highp vec2  value);"
 1591|     17|            "uvec3 floatBitsToUint(highp vec3  value);"
 1592|     17|            "uvec4 floatBitsToUint(highp vec4  value);"
 1593|       |
 1594|     17|            "float intBitsToFloat(highp int   value);"
 1595|     17|            "vec2  intBitsToFloat(highp ivec2 value);"
 1596|     17|            "vec3  intBitsToFloat(highp ivec3 value);"
 1597|     17|            "vec4  intBitsToFloat(highp ivec4 value);"
 1598|       |
 1599|     17|            "float uintBitsToFloat(highp uint  value);"
 1600|     17|            "vec2  uintBitsToFloat(highp uvec2 value);"
 1601|     17|            "vec3  uintBitsToFloat(highp uvec3 value);"
 1602|     17|            "vec4  uintBitsToFloat(highp uvec4 value);"
 1603|       |
 1604|     17|            "\n");
 1605|     17|    }
 1606|       |
 1607|    124|    if ((profile != EEsProfile && version >= 150) || // GL_NV_gpu_shader5
  ------------------
  |  Branch (1607:10): [True: 124, False: 0]
  |  Branch (1607:35): [True: 17, False: 107]
  ------------------
 1608|    107|        (profile == EEsProfile && version >= 310)) {    // GL_OES_gpu_shader5
  ------------------
  |  Branch (1608:10): [True: 0, False: 107]
  |  Branch (1608:35): [True: 0, False: 0]
  ------------------
 1609|       |
 1610|     17|        commonBuiltins.append(
 1611|     17|            "float  fma(float,  float,  float );"
 1612|     17|            "vec2   fma(vec2,   vec2,   vec2  );"
 1613|     17|            "vec3   fma(vec3,   vec3,   vec3  );"
 1614|     17|            "vec4   fma(vec4,   vec4,   vec4  );"
 1615|     17|            "\n");
 1616|     17|    }
 1617|       |
 1618|    124|    if (profile != EEsProfile && version >= 150) {  // ARB_gpu_shader_fp64
  ------------------
  |  Branch (1618:9): [True: 124, False: 0]
  |  Branch (1618:34): [True: 17, False: 107]
  ------------------
 1619|     17|            commonBuiltins.append(
 1620|     17|                "double fma(double, double, double);"
 1621|     17|                "dvec2  fma(dvec2,  dvec2,  dvec2 );"
 1622|     17|                "dvec3  fma(dvec3,  dvec3,  dvec3 );"
 1623|     17|                "dvec4  fma(dvec4,  dvec4,  dvec4 );"
 1624|     17|                "\n");
 1625|     17|    }
 1626|       |
 1627|    124|    if (profile == EEsProfile && version >= 310) {  // ARB_gpu_shader_fp64
  ------------------
  |  Branch (1627:9): [True: 0, False: 124]
  |  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|    124|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (1636:10): [True: 0, False: 124]
  |  Branch (1636:35): [True: 0, False: 0]
  ------------------
 1637|    124|        (profile != EEsProfile && version >= 150)) { // GL_NV_gpu_shader5
  ------------------
  |  Branch (1637:10): [True: 124, False: 0]
  |  Branch (1637:35): [True: 17, False: 107]
  ------------------
 1638|     17|        commonBuiltins.append(
 1639|     17|            "float frexp(highp float, out highp int);"
 1640|     17|            "vec2  frexp(highp vec2,  out highp ivec2);"
 1641|     17|            "vec3  frexp(highp vec3,  out highp ivec3);"
 1642|     17|            "vec4  frexp(highp vec4,  out highp ivec4);"
 1643|       |
 1644|     17|            "float ldexp(highp float, highp int);"
 1645|     17|            "vec2  ldexp(highp vec2,  highp ivec2);"
 1646|     17|            "vec3  ldexp(highp vec3,  highp ivec3);"
 1647|     17|            "vec4  ldexp(highp vec4,  highp ivec4);"
 1648|       |
 1649|     17|            "\n");
 1650|     17|    }
 1651|       |
 1652|    124|    if (profile != EEsProfile && version >= 150) { // ARB_gpu_shader_fp64
  ------------------
  |  Branch (1652:9): [True: 124, False: 0]
  |  Branch (1652:34): [True: 17, False: 107]
  ------------------
 1653|     17|        commonBuiltins.append(
 1654|     17|            "double frexp(double, out int);"
 1655|     17|            "dvec2  frexp( dvec2, out ivec2);"
 1656|     17|            "dvec3  frexp( dvec3, out ivec3);"
 1657|     17|            "dvec4  frexp( dvec4, out ivec4);"
 1658|       |
 1659|     17|            "double ldexp(double, int);"
 1660|     17|            "dvec2  ldexp( dvec2, ivec2);"
 1661|     17|            "dvec3  ldexp( dvec3, ivec3);"
 1662|     17|            "dvec4  ldexp( dvec4, ivec4);"
 1663|       |
 1664|     17|            "double packDouble2x32(uvec2);"
 1665|     17|            "uvec2 unpackDouble2x32(double);"
 1666|       |
 1667|     17|            "\n");
 1668|     17|    }
 1669|       |
 1670|    124|    if (profile == EEsProfile && version >= 310) { // ARB_gpu_shader_fp64
  ------------------
  |  Branch (1670:9): [True: 0, False: 124]
  |  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|    124|    if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1685:10): [True: 0, False: 124]
  |  Branch (1685:35): [True: 0, False: 0]
  ------------------
 1686|    124|        (profile != EEsProfile && version >= 150)) {
  ------------------
  |  Branch (1686:10): [True: 124, False: 0]
  |  Branch (1686:35): [True: 17, False: 107]
  ------------------
 1687|     17|        commonBuiltins.append(
 1688|     17|            "highp uint packUnorm2x16(vec2);"
 1689|     17|                  "vec2 unpackUnorm2x16(highp uint);"
 1690|     17|            "\n");
 1691|     17|    }
 1692|       |
 1693|    124|    if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1693:10): [True: 0, False: 124]
  |  Branch (1693:35): [True: 0, False: 0]
  ------------------
 1694|    124|        (profile != EEsProfile && version >= 150)) {
  ------------------
  |  Branch (1694:10): [True: 124, False: 0]
  |  Branch (1694:35): [True: 17, False: 107]
  ------------------
 1695|     17|        commonBuiltins.append(
 1696|     17|            "highp uint packSnorm2x16(vec2);"
 1697|     17|            "      vec2 unpackSnorm2x16(highp uint);"
 1698|     17|            "highp uint packHalf2x16(vec2);"
 1699|     17|            "\n");
 1700|     17|    }
 1701|       |
 1702|    124|    if (profile == EEsProfile && version >= 300) {
  ------------------
  |  Branch (1702:9): [True: 0, False: 124]
  |  Branch (1702:34): [True: 0, False: 0]
  ------------------
 1703|      0|        commonBuiltins.append(
 1704|      0|            "mediump vec2 unpackHalf2x16(highp uint);"
 1705|      0|            "\n");
 1706|    124|    } else if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (1706:16): [True: 124, False: 0]
  |  Branch (1706:41): [True: 17, False: 107]
  ------------------
 1707|     17|        commonBuiltins.append(
 1708|     17|            "        vec2 unpackHalf2x16(highp uint);"
 1709|     17|            "\n");
 1710|     17|    }
 1711|       |
 1712|    124|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (1712:10): [True: 0, False: 124]
  |  Branch (1712:35): [True: 0, False: 0]
  ------------------
 1713|    124|        (profile != EEsProfile && version >= 150)) {
  ------------------
  |  Branch (1713:10): [True: 124, False: 0]
  |  Branch (1713:35): [True: 17, False: 107]
  ------------------
 1714|     17|        commonBuiltins.append(
 1715|     17|            "highp uint packSnorm4x8(vec4);"
 1716|     17|            "highp uint packUnorm4x8(vec4);"
 1717|     17|            "\n");
 1718|     17|    }
 1719|       |
 1720|    124|    if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (1720:9): [True: 0, False: 124]
  |  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|    124|    } else if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (1725:16): [True: 124, False: 0]
  |  Branch (1725:41): [True: 17, False: 107]
  ------------------
 1726|     17|        commonBuiltins.append(
 1727|     17|                    "vec4 unpackSnorm4x8(highp uint);"
 1728|     17|                    "vec4 unpackUnorm4x8(highp uint);"
 1729|     17|            "\n");
 1730|     17|    }
 1731|       |
 1732|       |    //
 1733|       |    // Matrix Functions.
 1734|       |    //
 1735|    124|    commonBuiltins.append(
 1736|    124|        "mat2 matrixCompMult(mat2 x, mat2 y);"
 1737|    124|        "mat3 matrixCompMult(mat3 x, mat3 y);"
 1738|    124|        "mat4 matrixCompMult(mat4 x, mat4 y);"
 1739|       |
 1740|    124|        "\n");
 1741|       |
 1742|       |    // 120 is correct for both ES and desktop
 1743|    124|    if (version >= 120) {
  ------------------
  |  Branch (1743:9): [True: 124, False: 0]
  ------------------
 1744|    124|        commonBuiltins.append(
 1745|    124|            "mat2   outerProduct(vec2 c, vec2 r);"
 1746|    124|            "mat3   outerProduct(vec3 c, vec3 r);"
 1747|    124|            "mat4   outerProduct(vec4 c, vec4 r);"
 1748|    124|            "mat2x3 outerProduct(vec3 c, vec2 r);"
 1749|    124|            "mat3x2 outerProduct(vec2 c, vec3 r);"
 1750|    124|            "mat2x4 outerProduct(vec4 c, vec2 r);"
 1751|    124|            "mat4x2 outerProduct(vec2 c, vec4 r);"
 1752|    124|            "mat3x4 outerProduct(vec4 c, vec3 r);"
 1753|    124|            "mat4x3 outerProduct(vec3 c, vec4 r);"
 1754|       |
 1755|    124|            "mat2   transpose(mat2   m);"
 1756|    124|            "mat3   transpose(mat3   m);"
 1757|    124|            "mat4   transpose(mat4   m);"
 1758|    124|            "mat2x3 transpose(mat3x2 m);"
 1759|    124|            "mat3x2 transpose(mat2x3 m);"
 1760|    124|            "mat2x4 transpose(mat4x2 m);"
 1761|    124|            "mat4x2 transpose(mat2x4 m);"
 1762|    124|            "mat3x4 transpose(mat4x3 m);"
 1763|    124|            "mat4x3 transpose(mat3x4 m);"
 1764|       |
 1765|    124|            "mat2x3 matrixCompMult(mat2x3, mat2x3);"
 1766|    124|            "mat2x4 matrixCompMult(mat2x4, mat2x4);"
 1767|    124|            "mat3x2 matrixCompMult(mat3x2, mat3x2);"
 1768|    124|            "mat3x4 matrixCompMult(mat3x4, mat3x4);"
 1769|    124|            "mat4x2 matrixCompMult(mat4x2, mat4x2);"
 1770|    124|            "mat4x3 matrixCompMult(mat4x3, mat4x3);"
 1771|       |
 1772|    124|            "\n");
 1773|       |
 1774|       |        // 150 is correct for both ES and desktop
 1775|    124|        if (version >= 150) {
  ------------------
  |  Branch (1775:13): [True: 17, False: 107]
  ------------------
 1776|     17|            commonBuiltins.append(
 1777|     17|                "float determinant(mat2 m);"
 1778|     17|                "float determinant(mat3 m);"
 1779|     17|                "float determinant(mat4 m);"
 1780|       |
 1781|     17|                "mat2 inverse(mat2 m);"
 1782|     17|                "mat3 inverse(mat3 m);"
 1783|     17|                "mat4 inverse(mat4 m);"
 1784|       |
 1785|     17|                "\n");
 1786|     17|        }
 1787|    124|    }
 1788|       |
 1789|       |    //
 1790|       |    // Original-style texture functions existing in all stages.
 1791|       |    // (Per-stage functions below.)
 1792|       |    //
 1793|    124|    if ((profile == EEsProfile && version == 100) ||
  ------------------
  |  Branch (1793:10): [True: 0, False: 124]
  |  Branch (1793:35): [True: 0, False: 0]
  ------------------
 1794|    124|         profile == ECompatibilityProfile ||
  ------------------
  |  Branch (1794:10): [True: 0, False: 124]
  ------------------
 1795|    124|        (profile == ECoreProfile && version < 420) ||
  ------------------
  |  Branch (1795:10): [True: 9, False: 115]
  |  Branch (1795:37): [True: 4, False: 5]
  ------------------
 1796|    120|         profile == ENoProfile) {
  ------------------
  |  Branch (1796:10): [True: 115, False: 5]
  ------------------
 1797|    119|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (1797:13): [True: 0, False: 119]
  ------------------
 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|    119|    }
 1812|       |
 1813|    124|    if ( profile == ECompatibilityProfile ||
  ------------------
  |  Branch (1813:10): [True: 0, False: 124]
  ------------------
 1814|    124|        (profile == ECoreProfile && version < 420) ||
  ------------------
  |  Branch (1814:10): [True: 9, False: 115]
  |  Branch (1814:37): [True: 4, False: 5]
  ------------------
 1815|    120|         profile == ENoProfile) {
  ------------------
  |  Branch (1815:10): [True: 115, False: 5]
  ------------------
 1816|    119|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (1816:13): [True: 0, False: 119]
  ------------------
 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|    119|    }
 1847|       |
 1848|    124|    if (profile == EEsProfile) {
  ------------------
  |  Branch (1848:9): [True: 0, False: 124]
  ------------------
 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|    124|    if (spvVersion.spv == 0 && profile != EEsProfile) {
  ------------------
  |  Branch (1894:9): [True: 0, False: 124]
  |  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|    124|    if (spvVersion.vulkan == 0) {
  ------------------
  |  Branch (1919:9): [True: 0, False: 124]
  ------------------
 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|    124|    else if (spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (1963:14): [True: 0, False: 124]
  ------------------
 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|    124|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (1995:10): [True: 0, False: 124]
  |  Branch (1995:35): [True: 0, False: 0]
  ------------------
 1996|    124|        (profile != EEsProfile && version >= 150)) { // ARB_gpu_shader5/NV_gpu_shader5
  ------------------
  |  Branch (1996:10): [True: 124, False: 0]
  |  Branch (1996:35): [True: 17, False: 107]
  ------------------
 1997|     17|        commonBuiltins.append(
 1998|     17|            "  int bitfieldExtract(  int, int, int);"
 1999|     17|            "ivec2 bitfieldExtract(ivec2, int, int);"
 2000|     17|            "ivec3 bitfieldExtract(ivec3, int, int);"
 2001|     17|            "ivec4 bitfieldExtract(ivec4, int, int);"
 2002|       |
 2003|     17|            " uint bitfieldExtract( uint, int, int);"
 2004|     17|            "uvec2 bitfieldExtract(uvec2, int, int);"
 2005|     17|            "uvec3 bitfieldExtract(uvec3, int, int);"
 2006|     17|            "uvec4 bitfieldExtract(uvec4, int, int);"
 2007|       |
 2008|     17|            "  int bitfieldInsert(  int base,   int, int, int);"
 2009|     17|            "ivec2 bitfieldInsert(ivec2 base, ivec2, int, int);"
 2010|     17|            "ivec3 bitfieldInsert(ivec3 base, ivec3, int, int);"
 2011|     17|            "ivec4 bitfieldInsert(ivec4 base, ivec4, int, int);"
 2012|       |
 2013|     17|            " uint bitfieldInsert( uint base,  uint, int, int);"
 2014|     17|            "uvec2 bitfieldInsert(uvec2 base, uvec2, int, int);"
 2015|     17|            "uvec3 bitfieldInsert(uvec3 base, uvec3, int, int);"
 2016|     17|            "uvec4 bitfieldInsert(uvec4 base, uvec4, int, int);"
 2017|       |
 2018|     17|            "\n");
 2019|     17|    }
 2020|       |
 2021|    124|    if (profile != EEsProfile && version >= 150) { //GL_ARB_gpu_shader5/GL_NV_gpu_shader5
  ------------------
  |  Branch (2021:9): [True: 124, False: 0]
  |  Branch (2021:34): [True: 17, False: 107]
  ------------------
 2022|     17|        commonBuiltins.append(
 2023|     17|            "  int findLSB(  int);"
 2024|     17|            "ivec2 findLSB(ivec2);"
 2025|     17|            "ivec3 findLSB(ivec3);"
 2026|     17|            "ivec4 findLSB(ivec4);"
 2027|       |
 2028|     17|            "  int findLSB( uint);"
 2029|     17|            "ivec2 findLSB(uvec2);"
 2030|     17|            "ivec3 findLSB(uvec3);"
 2031|     17|            "ivec4 findLSB(uvec4);"
 2032|       |
 2033|     17|            "\n");
 2034|    107|    } else if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (2034:16): [True: 0, False: 107]
  |  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|    124|    if (profile != EEsProfile && version >= 150) { //GL_ARB_gpu_shader5/GL_NV_gpu_shader5
  ------------------
  |  Branch (2049:9): [True: 124, False: 0]
  |  Branch (2049:34): [True: 17, False: 107]
  ------------------
 2050|     17|        commonBuiltins.append(
 2051|     17|            "  int bitCount(  int);"
 2052|     17|            "ivec2 bitCount(ivec2);"
 2053|     17|            "ivec3 bitCount(ivec3);"
 2054|     17|            "ivec4 bitCount(ivec4);"
 2055|       |
 2056|     17|            "  int bitCount( uint);"
 2057|     17|            "ivec2 bitCount(uvec2);"
 2058|     17|            "ivec3 bitCount(uvec3);"
 2059|     17|            "ivec4 bitCount(uvec4);"
 2060|       |
 2061|     17|            "  int findMSB(highp   int);"
 2062|     17|            "ivec2 findMSB(highp ivec2);"
 2063|     17|            "ivec3 findMSB(highp ivec3);"
 2064|     17|            "ivec4 findMSB(highp ivec4);"
 2065|       |
 2066|     17|            "  int findMSB(highp  uint);"
 2067|     17|            "ivec2 findMSB(highp uvec2);"
 2068|     17|            "ivec3 findMSB(highp uvec3);"
 2069|     17|            "ivec4 findMSB(highp uvec4);"
 2070|     17|            "\n");
 2071|     17|    }
 2072|       |
 2073|    124|    if (profile != EEsProfile && version >= 150 && version < 450) { //GL_NV_gpu_shader5
  ------------------
  |  Branch (2073:9): [True: 124, False: 0]
  |  Branch (2073:34): [True: 17, False: 107]
  |  Branch (2073:52): [True: 5, False: 12]
  ------------------
 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|    124|    if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (2199:9): [True: 124, False: 0]
  |  Branch (2199:34): [True: 17, False: 107]
  ------------------
 2200|     17|        commonBuiltins.append(
 2201|     17|            "bool anyThreadNV(bool);"
 2202|     17|            "bool allThreadsNV(bool);"
 2203|     17|            "bool allThreadsEqualNV(bool);"
 2204|       |
 2205|     17|            "\n");
 2206|     17|    }
 2207|       |
 2208|    124|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (2208:10): [True: 0, False: 124]
  |  Branch (2208:35): [True: 0, False: 0]
  ------------------
 2209|    124|        (profile != EEsProfile && version >= 150)) { // NV_gpu_shader5
  ------------------
  |  Branch (2209:10): [True: 124, False: 0]
  |  Branch (2209:35): [True: 17, False: 107]
  ------------------
 2210|     17|        commonBuiltins.append(
 2211|     17|            " uint uaddCarry(highp  uint, highp  uint, out lowp  uint carry);"
 2212|     17|            "uvec2 uaddCarry(highp uvec2, highp uvec2, out lowp uvec2 carry);"
 2213|     17|            "uvec3 uaddCarry(highp uvec3, highp uvec3, out lowp uvec3 carry);"
 2214|     17|            "uvec4 uaddCarry(highp uvec4, highp uvec4, out lowp uvec4 carry);"
 2215|       |
 2216|     17|            " uint usubBorrow(highp  uint, highp  uint, out lowp  uint borrow);"
 2217|     17|            "uvec2 usubBorrow(highp uvec2, highp uvec2, out lowp uvec2 borrow);"
 2218|     17|            "uvec3 usubBorrow(highp uvec3, highp uvec3, out lowp uvec3 borrow);"
 2219|     17|            "uvec4 usubBorrow(highp uvec4, highp uvec4, out lowp uvec4 borrow);"
 2220|       |
 2221|     17|            "void umulExtended(highp  uint, highp  uint, out highp  uint, out highp  uint lsb);"
 2222|     17|            "void umulExtended(highp uvec2, highp uvec2, out highp uvec2, out highp uvec2 lsb);"
 2223|     17|            "void umulExtended(highp uvec3, highp uvec3, out highp uvec3, out highp uvec3 lsb);"
 2224|     17|            "void umulExtended(highp uvec4, highp uvec4, out highp uvec4, out highp uvec4 lsb);"
 2225|       |
 2226|     17|            "void imulExtended(highp   int, highp   int, out highp   int, out highp   int lsb);"
 2227|     17|            "void imulExtended(highp ivec2, highp ivec2, out highp ivec2, out highp ivec2 lsb);"
 2228|     17|            "void imulExtended(highp ivec3, highp ivec3, out highp ivec3, out highp ivec3 lsb);"
 2229|     17|            "void imulExtended(highp ivec4, highp ivec4, out highp ivec4, out highp ivec4 lsb);"
 2230|       |
 2231|     17|            "  int bitfieldReverse(highp   int);"
 2232|     17|            "ivec2 bitfieldReverse(highp ivec2);"
 2233|     17|            "ivec3 bitfieldReverse(highp ivec3);"
 2234|     17|            "ivec4 bitfieldReverse(highp ivec4);"
 2235|       |
 2236|     17|            " uint bitfieldReverse(highp  uint);"
 2237|     17|            "uvec2 bitfieldReverse(highp uvec2);"
 2238|     17|            "uvec3 bitfieldReverse(highp uvec3);"
 2239|     17|            "uvec4 bitfieldReverse(highp uvec4);"
 2240|       |
 2241|     17|            "\n");
 2242|     17|    }
 2243|       |
 2244|    124|    if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (2244:9): [True: 0, False: 124]
  |  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|    124|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (2270:9): [True: 124, False: 0]
  |  Branch (2270:34): [True: 12, False: 112]
  ------------------
 2271|     12|        commonBuiltins.append(
 2272|     12|            "uint64_t ballotARB(bool);"
 2273|       |
 2274|     12|            "float readInvocationARB(float, uint);"
 2275|     12|            "vec2  readInvocationARB(vec2,  uint);"
 2276|     12|            "vec3  readInvocationARB(vec3,  uint);"
 2277|     12|            "vec4  readInvocationARB(vec4,  uint);"
 2278|       |
 2279|     12|            "int   readInvocationARB(int,   uint);"
 2280|     12|            "ivec2 readInvocationARB(ivec2, uint);"
 2281|     12|            "ivec3 readInvocationARB(ivec3, uint);"
 2282|     12|            "ivec4 readInvocationARB(ivec4, uint);"
 2283|       |
 2284|     12|            "uint  readInvocationARB(uint,  uint);"
 2285|     12|            "uvec2 readInvocationARB(uvec2, uint);"
 2286|     12|            "uvec3 readInvocationARB(uvec3, uint);"
 2287|     12|            "uvec4 readInvocationARB(uvec4, uint);"
 2288|       |
 2289|     12|            "float readFirstInvocationARB(float);"
 2290|     12|            "vec2  readFirstInvocationARB(vec2);"
 2291|     12|            "vec3  readFirstInvocationARB(vec3);"
 2292|     12|            "vec4  readFirstInvocationARB(vec4);"
 2293|       |
 2294|     12|            "int   readFirstInvocationARB(int);"
 2295|     12|            "ivec2 readFirstInvocationARB(ivec2);"
 2296|     12|            "ivec3 readFirstInvocationARB(ivec3);"
 2297|     12|            "ivec4 readFirstInvocationARB(ivec4);"
 2298|       |
 2299|     12|            "uint  readFirstInvocationARB(uint);"
 2300|     12|            "uvec2 readFirstInvocationARB(uvec2);"
 2301|     12|            "uvec3 readFirstInvocationARB(uvec3);"
 2302|     12|            "uvec4 readFirstInvocationARB(uvec4);"
 2303|       |
 2304|     12|            "\n");
 2305|     12|    }
 2306|       |
 2307|       |    // GL_ARB_shader_group_vote
 2308|    124|    if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (2308:9): [True: 124, False: 0]
  |  Branch (2308:34): [True: 12, False: 112]
  ------------------
 2309|     12|        commonBuiltins.append(
 2310|     12|            "bool anyInvocationARB(bool);"
 2311|     12|            "bool allInvocationsARB(bool);"
 2312|     12|            "bool allInvocationsEqualARB(bool);"
 2313|       |
 2314|     12|            "\n");
 2315|     12|    }
 2316|       |
 2317|       |    // GL_EXT_integer_dot_product
 2318|    124|    if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (2318:10): [True: 0, False: 124]
  |  Branch (2318:35): [True: 0, False: 0]
  ------------------
 2319|    124|        (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (2319:10): [True: 124, False: 0]
  |  Branch (2319:35): [True: 12, False: 112]
  ------------------
 2320|     12|        commonBuiltins.append(
 2321|       |
 2322|     12|            "uint dotEXT(uvec2 a, uvec2 b);"
 2323|     12|            "int dotEXT(ivec2 a, ivec2 b);"
 2324|     12|            "int dotEXT(ivec2 a, uvec2 b);"
 2325|     12|            "int dotEXT(uvec2 a, ivec2 b);"
 2326|       |
 2327|     12|            "uint dotEXT(uvec3 a, uvec3 b);"
 2328|     12|            "int dotEXT(ivec3 a, ivec3 b);"
 2329|     12|            "int dotEXT(ivec3 a, uvec3 b);"
 2330|     12|            "int dotEXT(uvec3 a, ivec3 b);"
 2331|       |
 2332|     12|            "uint dotEXT(uvec4 a, uvec4 b);"
 2333|     12|            "int dotEXT(ivec4 a, ivec4 b);"
 2334|     12|            "int dotEXT(ivec4 a, uvec4 b);"
 2335|     12|            "int dotEXT(uvec4 a, ivec4 b);"
 2336|       |
 2337|     12|            "uint dotPacked4x8EXT(uint a, uint b);"
 2338|     12|            "int dotPacked4x8EXT(int a, uint b);"
 2339|     12|            "int dotPacked4x8EXT(uint a, int b);"
 2340|     12|            "int dotPacked4x8EXT(int a, int b);"
 2341|       |
 2342|     12|            "uint dotEXT(u8vec2 a, u8vec2 b);"
 2343|     12|            "int dotEXT(i8vec2 a, u8vec2 b);"
 2344|     12|            "int dotEXT(u8vec2 a, i8vec2 b);"
 2345|     12|            "int dotEXT(i8vec2 a, i8vec2 b);"
 2346|       |
 2347|     12|            "uint dotEXT(u8vec3 a, u8vec3 b);"
 2348|     12|            "int dotEXT(i8vec3 a, u8vec3 b);"
 2349|     12|            "int dotEXT(u8vec3 a, i8vec3 b);"
 2350|     12|            "int dotEXT(i8vec3 a, i8vec3 b);"
 2351|       |
 2352|     12|            "uint dotEXT(u8vec4 a, u8vec4 b);"
 2353|     12|            "int dotEXT(i8vec4 a, u8vec4 b);"
 2354|     12|            "int dotEXT(u8vec4 a, i8vec4 b);"
 2355|     12|            "int dotEXT(i8vec4 a, i8vec4 b);"
 2356|       |
 2357|     12|            "uint dotEXT(u16vec2 a, u16vec2 b);"
 2358|     12|            "int dotEXT(i16vec2 a, u16vec2 b);"
 2359|     12|            "int dotEXT(u16vec2 a, i16vec2 b);"
 2360|     12|            "int dotEXT(i16vec2 a, i16vec2 b);"
 2361|       |
 2362|     12|            "uint dotEXT(u16vec3 a, u16vec3 b);"
 2363|     12|            "int dotEXT(i16vec3 a, u16vec3 b);"
 2364|     12|            "int dotEXT(u16vec3 a, i16vec3 b);"
 2365|     12|            "int dotEXT(i16vec3 a, i16vec3 b);"
 2366|       |
 2367|     12|            "uint dotEXT(u16vec4 a, u16vec4 b);"
 2368|     12|            "int dotEXT(i16vec4 a, u16vec4 b);"
 2369|     12|            "int dotEXT(u16vec4 a, i16vec4 b);"
 2370|     12|            "int dotEXT(i16vec4 a, i16vec4 b);"
 2371|       |
 2372|     12|            "uint64_t dotEXT(u64vec2 a, u64vec2 b);"
 2373|     12|            "int64_t dotEXT(i64vec2 a, u64vec2 b);"
 2374|     12|            "int64_t dotEXT(u64vec2 a, i64vec2 b);"
 2375|     12|            "int64_t dotEXT(i64vec2 a, i64vec2 b);"
 2376|       |
 2377|     12|            "uint64_t dotEXT(u64vec3 a, u64vec3 b);"
 2378|     12|            "int64_t dotEXT(i64vec3 a, u64vec3 b);"
 2379|     12|            "int64_t dotEXT(u64vec3 a, i64vec3 b);"
 2380|     12|            "int64_t dotEXT(i64vec3 a, i64vec3 b);"
 2381|       |
 2382|     12|            "uint64_t dotEXT(u64vec4 a, u64vec4 b);"
 2383|     12|            "int64_t dotEXT(i64vec4 a, u64vec4 b);"
 2384|     12|            "int64_t dotEXT(u64vec4 a, i64vec4 b);"
 2385|     12|            "int64_t dotEXT(i64vec4 a, i64vec4 b);"
 2386|       |
 2387|     12|            "uint dotAccSatEXT(uvec2 a, uvec2 b, uint c);"
 2388|     12|            "int dotAccSatEXT(ivec2 a, uvec2 b, int c);"
 2389|     12|            "int dotAccSatEXT(uvec2 a, ivec2 b, int c);"
 2390|     12|            "int dotAccSatEXT(ivec2 a, ivec2 b, int c);"
 2391|       |
 2392|     12|            "uint dotAccSatEXT(uvec3 a, uvec3 b, uint c);"
 2393|     12|            "int dotAccSatEXT(ivec3 a, uvec3 b, int c);"
 2394|     12|            "int dotAccSatEXT(uvec3 a, ivec3 b, int c);"
 2395|     12|            "int dotAccSatEXT(ivec3 a, ivec3 b, int c);"
 2396|       |
 2397|     12|            "uint dotAccSatEXT(uvec4 a, uvec4 b, uint c);"
 2398|     12|            "int dotAccSatEXT(ivec4 a, uvec4 b, int c);"
 2399|     12|            "int dotAccSatEXT(uvec4 a, ivec4 b, int c);"
 2400|     12|            "int dotAccSatEXT(ivec4 a, ivec4 b, int c);"
 2401|       |
 2402|     12|            "uint dotPacked4x8AccSatEXT(uint a, uint b, uint c);"
 2403|     12|            "int dotPacked4x8AccSatEXT(int a, uint b, int c);"
 2404|     12|            "int dotPacked4x8AccSatEXT(uint a, int b, int c);"
 2405|     12|            "int dotPacked4x8AccSatEXT(int a, int b, int c);"
 2406|       |
 2407|     12|            "uint dotAccSatEXT(u8vec2 a, u8vec2 b, uint c);"
 2408|     12|            "int dotAccSatEXT(i8vec2 a, u8vec2 b, int c);"
 2409|     12|            "int dotAccSatEXT(u8vec2 a, i8vec2 b, int c);"
 2410|     12|            "int dotAccSatEXT(i8vec2 a, i8vec2 b, int c);"
 2411|       |
 2412|     12|            "uint dotAccSatEXT(u8vec3 a, u8vec3 b, uint c);"
 2413|     12|            "int dotAccSatEXT(i8vec3 a, u8vec3 b, int c);"
 2414|     12|            "int dotAccSatEXT(u8vec3 a, i8vec3 b, int c);"
 2415|     12|            "int dotAccSatEXT(i8vec3 a, i8vec3 b, int c);"
 2416|       |
 2417|     12|            "uint dotAccSatEXT(u8vec4 a, u8vec4 b, uint c);"
 2418|     12|            "int dotAccSatEXT(i8vec4 a, u8vec4 b, int c);"
 2419|     12|            "int dotAccSatEXT(u8vec4 a, i8vec4 b, int c);"
 2420|     12|            "int dotAccSatEXT(i8vec4 a, i8vec4 b, int c);"
 2421|       |
 2422|     12|            "uint dotAccSatEXT(u16vec2 a, u16vec2 b, uint c);"
 2423|     12|            "int dotAccSatEXT(i16vec2 a, u16vec2 b, int c);"
 2424|     12|            "int dotAccSatEXT(u16vec2 a, i16vec2 b, int c);"
 2425|     12|            "int dotAccSatEXT(i16vec2 a, i16vec2 b, int c);"
 2426|       |
 2427|     12|            "uint dotAccSatEXT(u16vec3 a, u16vec3 b, uint c);"
 2428|     12|            "int dotAccSatEXT(i16vec3 a, u16vec3 b, int c);"
 2429|     12|            "int dotAccSatEXT(u16vec3 a, i16vec3 b, int c);"
 2430|     12|            "int dotAccSatEXT(i16vec3 a, i16vec3 b, int c);"
 2431|       |
 2432|     12|            "uint dotAccSatEXT(u16vec4 a, u16vec4 b, uint c);"
 2433|     12|            "int dotAccSatEXT(i16vec4 a, u16vec4 b, int c);"
 2434|     12|            "int dotAccSatEXT(u16vec4 a, i16vec4 b, int c);"
 2435|     12|            "int dotAccSatEXT(i16vec4 a, i16vec4 b, int c);"
 2436|       |
 2437|     12|            "uint64_t dotAccSatEXT(u64vec2 a, u64vec2 b, uint64_t c);"
 2438|     12|            "int64_t dotAccSatEXT(i64vec2 a, u64vec2 b, int64_t c);"
 2439|     12|            "int64_t dotAccSatEXT(u64vec2 a, i64vec2 b, int64_t c);"
 2440|     12|            "int64_t dotAccSatEXT(i64vec2 a, i64vec2 b, int64_t c);"
 2441|       |
 2442|     12|            "uint64_t dotAccSatEXT(u64vec3 a, u64vec3 b, uint64_t c);"
 2443|     12|            "int64_t dotAccSatEXT(i64vec3 a, u64vec3 b, int64_t c);"
 2444|     12|            "int64_t dotAccSatEXT(u64vec3 a, i64vec3 b, int64_t c);"
 2445|     12|            "int64_t dotAccSatEXT(i64vec3 a, i64vec3 b, int64_t c);"
 2446|       |
 2447|     12|            "uint64_t dotAccSatEXT(u64vec4 a, u64vec4 b, uint64_t c);"
 2448|     12|            "int64_t dotAccSatEXT(i64vec4 a, u64vec4 b, int64_t c);"
 2449|     12|            "int64_t dotAccSatEXT(u64vec4 a, i64vec4 b, int64_t c);"
 2450|     12|            "int64_t dotAccSatEXT(i64vec4 a, i64vec4 b, int64_t c);"
 2451|     12|            "\n");
 2452|     12|    }
 2453|       |
 2454|       |    // GL_KHR_shader_subgroup
 2455|    124|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (2455:10): [True: 0, False: 124]
  |  Branch (2455:35): [True: 0, False: 0]
  ------------------
 2456|    124|        (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (2456:10): [True: 124, False: 0]
  |  Branch (2456:35): [True: 124, False: 0]
  ------------------
 2457|    124|        commonBuiltins.append(
 2458|    124|            "void subgroupBarrier();"
 2459|    124|            "void subgroupMemoryBarrier();"
 2460|    124|            "void subgroupMemoryBarrierBuffer();"
 2461|    124|            "void subgroupMemoryBarrierImage();"
 2462|    124|            "bool subgroupElect();"
 2463|       |
 2464|    124|            "bool   subgroupAll(bool);\n"
 2465|    124|            "bool   subgroupAny(bool);\n"
 2466|    124|            "uvec4  subgroupBallot(bool);\n"
 2467|    124|            "bool   subgroupInverseBallot(uvec4);\n"
 2468|    124|            "bool   subgroupBallotBitExtract(uvec4, uint);\n"
 2469|    124|            "uint   subgroupBallotBitCount(uvec4);\n"
 2470|    124|            "uint   subgroupBallotInclusiveBitCount(uvec4);\n"
 2471|    124|            "uint   subgroupBallotExclusiveBitCount(uvec4);\n"
 2472|    124|            "uint   subgroupBallotFindLSB(uvec4);\n"
 2473|    124|            "uint   subgroupBallotFindMSB(uvec4);\n"
 2474|    124|            );
 2475|       |
 2476|       |        // Generate all flavors of subgroup ops.
 2477|    124|        static const char *subgroupOps[] = 
 2478|    124|        {
 2479|    124|            "bool   subgroupAllEqual(%s);\n",
 2480|    124|            "%s     subgroupBroadcast(%s, uint);\n",
 2481|    124|            "%s     subgroupBroadcastFirst(%s);\n",
 2482|    124|            "%s     subgroupShuffle(%s, uint);\n",
 2483|    124|            "%s     subgroupShuffleXor(%s, uint);\n",
 2484|    124|            "%s     subgroupShuffleUp(%s, uint delta);\n",
 2485|    124|            "%s     subgroupShuffleDown(%s, uint delta);\n",
 2486|    124|            "%s     subgroupRotate(%s, uint);\n",
 2487|    124|            "%s     subgroupClusteredRotate(%s, uint, uint);\n",
 2488|    124|            "%s     subgroupAdd(%s);\n",
 2489|    124|            "%s     subgroupMul(%s);\n",
 2490|    124|            "%s     subgroupMin(%s);\n",
 2491|    124|            "%s     subgroupMax(%s);\n",
 2492|    124|            "%s     subgroupAnd(%s);\n",
 2493|    124|            "%s     subgroupOr(%s);\n",
 2494|    124|            "%s     subgroupXor(%s);\n",
 2495|    124|            "%s     subgroupInclusiveAdd(%s);\n",
 2496|    124|            "%s     subgroupInclusiveMul(%s);\n",
 2497|    124|            "%s     subgroupInclusiveMin(%s);\n",
 2498|    124|            "%s     subgroupInclusiveMax(%s);\n",
 2499|    124|            "%s     subgroupInclusiveAnd(%s);\n",
 2500|    124|            "%s     subgroupInclusiveOr(%s);\n",
 2501|    124|            "%s     subgroupInclusiveXor(%s);\n",
 2502|    124|            "%s     subgroupExclusiveAdd(%s);\n",
 2503|    124|            "%s     subgroupExclusiveMul(%s);\n",
 2504|    124|            "%s     subgroupExclusiveMin(%s);\n",
 2505|    124|            "%s     subgroupExclusiveMax(%s);\n",
 2506|    124|            "%s     subgroupExclusiveAnd(%s);\n",
 2507|    124|            "%s     subgroupExclusiveOr(%s);\n",
 2508|    124|            "%s     subgroupExclusiveXor(%s);\n",
 2509|    124|            "%s     subgroupClusteredAdd(%s, uint);\n",
 2510|    124|            "%s     subgroupClusteredMul(%s, uint);\n",
 2511|    124|            "%s     subgroupClusteredMin(%s, uint);\n",
 2512|    124|            "%s     subgroupClusteredMax(%s, uint);\n",
 2513|    124|            "%s     subgroupClusteredAnd(%s, uint);\n",
 2514|    124|            "%s     subgroupClusteredOr(%s, uint);\n",
 2515|    124|            "%s     subgroupClusteredXor(%s, uint);\n",
 2516|    124|            "%s     subgroupQuadBroadcast(%s, uint);\n",
 2517|    124|            "%s     subgroupQuadSwapHorizontal(%s);\n",
 2518|    124|            "%s     subgroupQuadSwapVertical(%s);\n",
 2519|    124|            "%s     subgroupQuadSwapDiagonal(%s);\n",
 2520|    124|            "uvec4  subgroupPartitionNV(%s);\n",
 2521|    124|            "%s     subgroupPartitionedAddNV(%s, uvec4 ballot);\n",
 2522|    124|            "%s     subgroupPartitionedMulNV(%s, uvec4 ballot);\n",
 2523|    124|            "%s     subgroupPartitionedMinNV(%s, uvec4 ballot);\n",
 2524|    124|            "%s     subgroupPartitionedMaxNV(%s, uvec4 ballot);\n",
 2525|    124|            "%s     subgroupPartitionedAndNV(%s, uvec4 ballot);\n",
 2526|    124|            "%s     subgroupPartitionedOrNV(%s, uvec4 ballot);\n",
 2527|    124|            "%s     subgroupPartitionedXorNV(%s, uvec4 ballot);\n",
 2528|    124|            "%s     subgroupPartitionedInclusiveAddNV(%s, uvec4 ballot);\n",
 2529|    124|            "%s     subgroupPartitionedInclusiveMulNV(%s, uvec4 ballot);\n",
 2530|    124|            "%s     subgroupPartitionedInclusiveMinNV(%s, uvec4 ballot);\n",
 2531|    124|            "%s     subgroupPartitionedInclusiveMaxNV(%s, uvec4 ballot);\n",
 2532|    124|            "%s     subgroupPartitionedInclusiveAndNV(%s, uvec4 ballot);\n",
 2533|    124|            "%s     subgroupPartitionedInclusiveOrNV(%s, uvec4 ballot);\n",
 2534|    124|            "%s     subgroupPartitionedInclusiveXorNV(%s, uvec4 ballot);\n",
 2535|    124|            "%s     subgroupPartitionedExclusiveAddNV(%s, uvec4 ballot);\n",
 2536|    124|            "%s     subgroupPartitionedExclusiveMulNV(%s, uvec4 ballot);\n",
 2537|    124|            "%s     subgroupPartitionedExclusiveMinNV(%s, uvec4 ballot);\n",
 2538|    124|            "%s     subgroupPartitionedExclusiveMaxNV(%s, uvec4 ballot);\n",
 2539|    124|            "%s     subgroupPartitionedExclusiveAndNV(%s, uvec4 ballot);\n",
 2540|    124|            "%s     subgroupPartitionedExclusiveOrNV(%s, uvec4 ballot);\n",
 2541|    124|            "%s     subgroupPartitionedExclusiveXorNV(%s, uvec4 ballot);\n",
 2542|    124|        };
 2543|       |
 2544|    124|        static const char *floatTypes[] = { 
 2545|    124|            "float", "vec2", "vec3", "vec4", 
 2546|    124|            "float16_t", "f16vec2", "f16vec3", "f16vec4", 
 2547|    124|        };
 2548|    124|        static const char *doubleTypes[] = { 
 2549|    124|            "double", "dvec2", "dvec3", "dvec4", 
 2550|    124|        };
 2551|    124|        static const char *intTypes[] = { 
 2552|    124|            "int8_t", "i8vec2", "i8vec3", "i8vec4", 
 2553|    124|            "int16_t", "i16vec2", "i16vec3", "i16vec4", 
 2554|    124|            "int", "ivec2", "ivec3", "ivec4", 
 2555|    124|            "int64_t", "i64vec2", "i64vec3", "i64vec4", 
 2556|    124|            "uint8_t", "u8vec2", "u8vec3", "u8vec4", 
 2557|    124|            "uint16_t", "u16vec2", "u16vec3", "u16vec4", 
 2558|    124|            "uint", "uvec2", "uvec3", "uvec4", 
 2559|    124|            "uint64_t", "u64vec2", "u64vec3", "u64vec4", 
 2560|    124|        };
 2561|    124|        static const char *boolTypes[] = { 
 2562|    124|            "bool", "bvec2", "bvec3", "bvec4", 
 2563|    124|        };
 2564|       |
 2565|  7.93k|        for (size_t i = 0; i < sizeof(subgroupOps)/sizeof(subgroupOps[0]); ++i) {
  ------------------
  |  Branch (2565:28): [True: 7.81k, False: 124]
  ------------------
 2566|  7.81k|            const char *op = subgroupOps[i];
 2567|       |
 2568|       |            // Logical operations don't support float
 2569|  7.81k|            bool logicalOp = strstr(op, "Or") || strstr(op, "And") ||
  ------------------
  |  Branch (2569:30): [True: 868, False: 6.94k]
  |  Branch (2569:50): [True: 868, False: 6.07k]
  ------------------
 2570|  6.07k|                             (strstr(op, "Xor") && !strstr(op, "ShuffleXor"));
  ------------------
  |  Branch (2570:31): [True: 992, False: 5.08k]
  |  Branch (2570:52): [True: 868, False: 124]
  ------------------
 2571|       |            // Math operations don't support bool
 2572|  7.81k|            bool mathOp = strstr(op, "Add") || strstr(op, "Mul") || strstr(op, "Min") || strstr(op, "Max");
  ------------------
  |  Branch (2572:27): [True: 868, False: 6.94k]
  |  Branch (2572:48): [True: 868, False: 6.07k]
  |  Branch (2572:69): [True: 868, False: 5.20k]
  |  Branch (2572:90): [True: 868, False: 4.34k]
  ------------------
 2573|       |
 2574|  7.81k|            const int bufSize = 256;
 2575|  7.81k|            char buf[bufSize];
 2576|       |
 2577|  7.81k|            if (!logicalOp) {
  ------------------
  |  Branch (2577:17): [True: 5.20k, False: 2.60k]
  ------------------
 2578|  46.8k|                for (size_t j = 0; j < sizeof(floatTypes)/sizeof(floatTypes[0]); ++j) {
  ------------------
  |  Branch (2578:36): [True: 41.6k, False: 5.20k]
  ------------------
 2579|  41.6k|                    snprintf(buf, bufSize, op, floatTypes[j], floatTypes[j]);
 2580|  41.6k|                    commonBuiltins.append(buf);
 2581|  41.6k|                }
 2582|  5.20k|                if (profile != EEsProfile && version >= 400) {
  ------------------
  |  Branch (2582:21): [True: 5.20k, False: 0]
  |  Branch (2582:46): [True: 672, False: 4.53k]
  ------------------
 2583|  3.36k|                    for (size_t j = 0; j < sizeof(doubleTypes)/sizeof(doubleTypes[0]); ++j) {
  ------------------
  |  Branch (2583:40): [True: 2.68k, False: 672]
  ------------------
 2584|  2.68k|                        snprintf(buf, bufSize, op, doubleTypes[j], doubleTypes[j]);
 2585|  2.68k|                        commonBuiltins.append(buf);
 2586|  2.68k|                    }
 2587|    672|                }
 2588|  5.20k|            }
 2589|  7.81k|            if (!mathOp) {
  ------------------
  |  Branch (2589:17): [True: 4.34k, False: 3.47k]
  ------------------
 2590|  21.7k|                for (size_t j = 0; j < sizeof(boolTypes)/sizeof(boolTypes[0]); ++j) {
  ------------------
  |  Branch (2590:36): [True: 17.3k, False: 4.34k]
  ------------------
 2591|  17.3k|                    snprintf(buf, bufSize, op, boolTypes[j], boolTypes[j]);
 2592|  17.3k|                    commonBuiltins.append(buf);
 2593|  17.3k|                }
 2594|  4.34k|            }
 2595|   257k|            for (size_t j = 0; j < sizeof(intTypes)/sizeof(intTypes[0]); ++j) {
  ------------------
  |  Branch (2595:32): [True: 249k, False: 7.81k]
  ------------------
 2596|   249k|                snprintf(buf, bufSize, op, intTypes[j], intTypes[j]);
 2597|   249k|                commonBuiltins.append(buf);
 2598|   249k|            }
 2599|  7.81k|            snprintf(buf, bufSize, op, "vector", "vector");
 2600|  7.81k|            commonBuiltins.append(buf);
 2601|  7.81k|        }
 2602|       |
 2603|    124|        stageBuiltins[EShLangCompute].append(
 2604|    124|            "void subgroupMemoryBarrierShared();"
 2605|       |
 2606|    124|            "\n"
 2607|    124|            );
 2608|    124|        stageBuiltins[EShLangMesh].append(
 2609|    124|            "void subgroupMemoryBarrierShared();"
 2610|    124|            "\n"
 2611|    124|            );
 2612|    124|        stageBuiltins[EShLangTask].append(
 2613|    124|            "void subgroupMemoryBarrierShared();"
 2614|    124|            "\n"
 2615|    124|            );
 2616|    124|    }
 2617|       |
 2618|       |    // GL_EXT_shader_quad_control
 2619|    124|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (2619:10): [True: 0, False: 124]
  |  Branch (2619:35): [True: 0, False: 0]
  ------------------
 2620|    124|        (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (2620:10): [True: 124, False: 0]
  |  Branch (2620:35): [True: 124, False: 0]
  ------------------
 2621|    124|        commonBuiltins.append(
 2622|    124|            "bool subgroupQuadAll(bool);\n"
 2623|    124|            "bool subgroupQuadAny(bool);\n"
 2624|    124|            );
 2625|    124|    }
 2626|       |
 2627|    124|    if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (2627:9): [True: 124, False: 0]
  |  Branch (2627:34): [True: 1, False: 123]
  ------------------
 2628|      1|        commonBuiltins.append(
 2629|      1|            "bool anyInvocation(bool);"
 2630|      1|            "bool allInvocations(bool);"
 2631|      1|            "bool allInvocationsEqual(bool);"
 2632|       |
 2633|      1|            "\n");
 2634|      1|    }
 2635|       |
 2636|       |    // GL_AMD_shader_ballot
 2637|    124|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (2637:9): [True: 124, False: 0]
  |  Branch (2637:34): [True: 12, False: 112]
  ------------------
 2638|     12|        commonBuiltins.append(
 2639|     12|            "float minInvocationsAMD(float);"
 2640|     12|            "vec2  minInvocationsAMD(vec2);"
 2641|     12|            "vec3  minInvocationsAMD(vec3);"
 2642|     12|            "vec4  minInvocationsAMD(vec4);"
 2643|       |
 2644|     12|            "int   minInvocationsAMD(int);"
 2645|     12|            "ivec2 minInvocationsAMD(ivec2);"
 2646|     12|            "ivec3 minInvocationsAMD(ivec3);"
 2647|     12|            "ivec4 minInvocationsAMD(ivec4);"
 2648|       |
 2649|     12|            "uint  minInvocationsAMD(uint);"
 2650|     12|            "uvec2 minInvocationsAMD(uvec2);"
 2651|     12|            "uvec3 minInvocationsAMD(uvec3);"
 2652|     12|            "uvec4 minInvocationsAMD(uvec4);"
 2653|       |
 2654|     12|            "double minInvocationsAMD(double);"
 2655|     12|            "dvec2  minInvocationsAMD(dvec2);"
 2656|     12|            "dvec3  minInvocationsAMD(dvec3);"
 2657|     12|            "dvec4  minInvocationsAMD(dvec4);"
 2658|       |
 2659|     12|            "int64_t minInvocationsAMD(int64_t);"
 2660|     12|            "i64vec2 minInvocationsAMD(i64vec2);"
 2661|     12|            "i64vec3 minInvocationsAMD(i64vec3);"
 2662|     12|            "i64vec4 minInvocationsAMD(i64vec4);"
 2663|       |
 2664|     12|            "uint64_t minInvocationsAMD(uint64_t);"
 2665|     12|            "u64vec2  minInvocationsAMD(u64vec2);"
 2666|     12|            "u64vec3  minInvocationsAMD(u64vec3);"
 2667|     12|            "u64vec4  minInvocationsAMD(u64vec4);"
 2668|       |
 2669|     12|            "float16_t minInvocationsAMD(float16_t);"
 2670|     12|            "f16vec2   minInvocationsAMD(f16vec2);"
 2671|     12|            "f16vec3   minInvocationsAMD(f16vec3);"
 2672|     12|            "f16vec4   minInvocationsAMD(f16vec4);"
 2673|       |
 2674|     12|            "int16_t minInvocationsAMD(int16_t);"
 2675|     12|            "i16vec2 minInvocationsAMD(i16vec2);"
 2676|     12|            "i16vec3 minInvocationsAMD(i16vec3);"
 2677|     12|            "i16vec4 minInvocationsAMD(i16vec4);"
 2678|       |
 2679|     12|            "uint16_t minInvocationsAMD(uint16_t);"
 2680|     12|            "u16vec2  minInvocationsAMD(u16vec2);"
 2681|     12|            "u16vec3  minInvocationsAMD(u16vec3);"
 2682|     12|            "u16vec4  minInvocationsAMD(u16vec4);"
 2683|       |
 2684|     12|            "float minInvocationsInclusiveScanAMD(float);"
 2685|     12|            "vec2  minInvocationsInclusiveScanAMD(vec2);"
 2686|     12|            "vec3  minInvocationsInclusiveScanAMD(vec3);"
 2687|     12|            "vec4  minInvocationsInclusiveScanAMD(vec4);"
 2688|       |
 2689|     12|            "int   minInvocationsInclusiveScanAMD(int);"
 2690|     12|            "ivec2 minInvocationsInclusiveScanAMD(ivec2);"
 2691|     12|            "ivec3 minInvocationsInclusiveScanAMD(ivec3);"
 2692|     12|            "ivec4 minInvocationsInclusiveScanAMD(ivec4);"
 2693|       |
 2694|     12|            "uint  minInvocationsInclusiveScanAMD(uint);"
 2695|     12|            "uvec2 minInvocationsInclusiveScanAMD(uvec2);"
 2696|     12|            "uvec3 minInvocationsInclusiveScanAMD(uvec3);"
 2697|     12|            "uvec4 minInvocationsInclusiveScanAMD(uvec4);"
 2698|       |
 2699|     12|            "double minInvocationsInclusiveScanAMD(double);"
 2700|     12|            "dvec2  minInvocationsInclusiveScanAMD(dvec2);"
 2701|     12|            "dvec3  minInvocationsInclusiveScanAMD(dvec3);"
 2702|     12|            "dvec4  minInvocationsInclusiveScanAMD(dvec4);"
 2703|       |
 2704|     12|            "int64_t minInvocationsInclusiveScanAMD(int64_t);"
 2705|     12|            "i64vec2 minInvocationsInclusiveScanAMD(i64vec2);"
 2706|     12|            "i64vec3 minInvocationsInclusiveScanAMD(i64vec3);"
 2707|     12|            "i64vec4 minInvocationsInclusiveScanAMD(i64vec4);"
 2708|       |
 2709|     12|            "uint64_t minInvocationsInclusiveScanAMD(uint64_t);"
 2710|     12|            "u64vec2  minInvocationsInclusiveScanAMD(u64vec2);"
 2711|     12|            "u64vec3  minInvocationsInclusiveScanAMD(u64vec3);"
 2712|     12|            "u64vec4  minInvocationsInclusiveScanAMD(u64vec4);"
 2713|       |
 2714|     12|            "float16_t minInvocationsInclusiveScanAMD(float16_t);"
 2715|     12|            "f16vec2   minInvocationsInclusiveScanAMD(f16vec2);"
 2716|     12|            "f16vec3   minInvocationsInclusiveScanAMD(f16vec3);"
 2717|     12|            "f16vec4   minInvocationsInclusiveScanAMD(f16vec4);"
 2718|       |
 2719|     12|            "int16_t minInvocationsInclusiveScanAMD(int16_t);"
 2720|     12|            "i16vec2 minInvocationsInclusiveScanAMD(i16vec2);"
 2721|     12|            "i16vec3 minInvocationsInclusiveScanAMD(i16vec3);"
 2722|     12|            "i16vec4 minInvocationsInclusiveScanAMD(i16vec4);"
 2723|       |
 2724|     12|            "uint16_t minInvocationsInclusiveScanAMD(uint16_t);"
 2725|     12|            "u16vec2  minInvocationsInclusiveScanAMD(u16vec2);"
 2726|     12|            "u16vec3  minInvocationsInclusiveScanAMD(u16vec3);"
 2727|     12|            "u16vec4  minInvocationsInclusiveScanAMD(u16vec4);"
 2728|       |
 2729|     12|            "float minInvocationsExclusiveScanAMD(float);"
 2730|     12|            "vec2  minInvocationsExclusiveScanAMD(vec2);"
 2731|     12|            "vec3  minInvocationsExclusiveScanAMD(vec3);"
 2732|     12|            "vec4  minInvocationsExclusiveScanAMD(vec4);"
 2733|       |
 2734|     12|            "int   minInvocationsExclusiveScanAMD(int);"
 2735|     12|            "ivec2 minInvocationsExclusiveScanAMD(ivec2);"
 2736|     12|            "ivec3 minInvocationsExclusiveScanAMD(ivec3);"
 2737|     12|            "ivec4 minInvocationsExclusiveScanAMD(ivec4);"
 2738|       |
 2739|     12|            "uint  minInvocationsExclusiveScanAMD(uint);"
 2740|     12|            "uvec2 minInvocationsExclusiveScanAMD(uvec2);"
 2741|     12|            "uvec3 minInvocationsExclusiveScanAMD(uvec3);"
 2742|     12|            "uvec4 minInvocationsExclusiveScanAMD(uvec4);"
 2743|       |
 2744|     12|            "double minInvocationsExclusiveScanAMD(double);"
 2745|     12|            "dvec2  minInvocationsExclusiveScanAMD(dvec2);"
 2746|     12|            "dvec3  minInvocationsExclusiveScanAMD(dvec3);"
 2747|     12|            "dvec4  minInvocationsExclusiveScanAMD(dvec4);"
 2748|       |
 2749|     12|            "int64_t minInvocationsExclusiveScanAMD(int64_t);"
 2750|     12|            "i64vec2 minInvocationsExclusiveScanAMD(i64vec2);"
 2751|     12|            "i64vec3 minInvocationsExclusiveScanAMD(i64vec3);"
 2752|     12|            "i64vec4 minInvocationsExclusiveScanAMD(i64vec4);"
 2753|       |
 2754|     12|            "uint64_t minInvocationsExclusiveScanAMD(uint64_t);"
 2755|     12|            "u64vec2  minInvocationsExclusiveScanAMD(u64vec2);"
 2756|     12|            "u64vec3  minInvocationsExclusiveScanAMD(u64vec3);"
 2757|     12|            "u64vec4  minInvocationsExclusiveScanAMD(u64vec4);"
 2758|       |
 2759|     12|            "float16_t minInvocationsExclusiveScanAMD(float16_t);"
 2760|     12|            "f16vec2   minInvocationsExclusiveScanAMD(f16vec2);"
 2761|     12|            "f16vec3   minInvocationsExclusiveScanAMD(f16vec3);"
 2762|     12|            "f16vec4   minInvocationsExclusiveScanAMD(f16vec4);"
 2763|       |
 2764|     12|            "int16_t minInvocationsExclusiveScanAMD(int16_t);"
 2765|     12|            "i16vec2 minInvocationsExclusiveScanAMD(i16vec2);"
 2766|     12|            "i16vec3 minInvocationsExclusiveScanAMD(i16vec3);"
 2767|     12|            "i16vec4 minInvocationsExclusiveScanAMD(i16vec4);"
 2768|       |
 2769|     12|            "uint16_t minInvocationsExclusiveScanAMD(uint16_t);"
 2770|     12|            "u16vec2  minInvocationsExclusiveScanAMD(u16vec2);"
 2771|     12|            "u16vec3  minInvocationsExclusiveScanAMD(u16vec3);"
 2772|     12|            "u16vec4  minInvocationsExclusiveScanAMD(u16vec4);"
 2773|       |
 2774|     12|            "float maxInvocationsAMD(float);"
 2775|     12|            "vec2  maxInvocationsAMD(vec2);"
 2776|     12|            "vec3  maxInvocationsAMD(vec3);"
 2777|     12|            "vec4  maxInvocationsAMD(vec4);"
 2778|       |
 2779|     12|            "int   maxInvocationsAMD(int);"
 2780|     12|            "ivec2 maxInvocationsAMD(ivec2);"
 2781|     12|            "ivec3 maxInvocationsAMD(ivec3);"
 2782|     12|            "ivec4 maxInvocationsAMD(ivec4);"
 2783|       |
 2784|     12|            "uint  maxInvocationsAMD(uint);"
 2785|     12|            "uvec2 maxInvocationsAMD(uvec2);"
 2786|     12|            "uvec3 maxInvocationsAMD(uvec3);"
 2787|     12|            "uvec4 maxInvocationsAMD(uvec4);"
 2788|       |
 2789|     12|            "double maxInvocationsAMD(double);"
 2790|     12|            "dvec2  maxInvocationsAMD(dvec2);"
 2791|     12|            "dvec3  maxInvocationsAMD(dvec3);"
 2792|     12|            "dvec4  maxInvocationsAMD(dvec4);"
 2793|       |
 2794|     12|            "int64_t maxInvocationsAMD(int64_t);"
 2795|     12|            "i64vec2 maxInvocationsAMD(i64vec2);"
 2796|     12|            "i64vec3 maxInvocationsAMD(i64vec3);"
 2797|     12|            "i64vec4 maxInvocationsAMD(i64vec4);"
 2798|       |
 2799|     12|            "uint64_t maxInvocationsAMD(uint64_t);"
 2800|     12|            "u64vec2  maxInvocationsAMD(u64vec2);"
 2801|     12|            "u64vec3  maxInvocationsAMD(u64vec3);"
 2802|     12|            "u64vec4  maxInvocationsAMD(u64vec4);"
 2803|       |
 2804|     12|            "float16_t maxInvocationsAMD(float16_t);"
 2805|     12|            "f16vec2   maxInvocationsAMD(f16vec2);"
 2806|     12|            "f16vec3   maxInvocationsAMD(f16vec3);"
 2807|     12|            "f16vec4   maxInvocationsAMD(f16vec4);"
 2808|       |
 2809|     12|            "int16_t maxInvocationsAMD(int16_t);"
 2810|     12|            "i16vec2 maxInvocationsAMD(i16vec2);"
 2811|     12|            "i16vec3 maxInvocationsAMD(i16vec3);"
 2812|     12|            "i16vec4 maxInvocationsAMD(i16vec4);"
 2813|       |
 2814|     12|            "uint16_t maxInvocationsAMD(uint16_t);"
 2815|     12|            "u16vec2  maxInvocationsAMD(u16vec2);"
 2816|     12|            "u16vec3  maxInvocationsAMD(u16vec3);"
 2817|     12|            "u16vec4  maxInvocationsAMD(u16vec4);"
 2818|       |
 2819|     12|            "float maxInvocationsInclusiveScanAMD(float);"
 2820|     12|            "vec2  maxInvocationsInclusiveScanAMD(vec2);"
 2821|     12|            "vec3  maxInvocationsInclusiveScanAMD(vec3);"
 2822|     12|            "vec4  maxInvocationsInclusiveScanAMD(vec4);"
 2823|       |
 2824|     12|            "int   maxInvocationsInclusiveScanAMD(int);"
 2825|     12|            "ivec2 maxInvocationsInclusiveScanAMD(ivec2);"
 2826|     12|            "ivec3 maxInvocationsInclusiveScanAMD(ivec3);"
 2827|     12|            "ivec4 maxInvocationsInclusiveScanAMD(ivec4);"
 2828|       |
 2829|     12|            "uint  maxInvocationsInclusiveScanAMD(uint);"
 2830|     12|            "uvec2 maxInvocationsInclusiveScanAMD(uvec2);"
 2831|     12|            "uvec3 maxInvocationsInclusiveScanAMD(uvec3);"
 2832|     12|            "uvec4 maxInvocationsInclusiveScanAMD(uvec4);"
 2833|       |
 2834|     12|            "double maxInvocationsInclusiveScanAMD(double);"
 2835|     12|            "dvec2  maxInvocationsInclusiveScanAMD(dvec2);"
 2836|     12|            "dvec3  maxInvocationsInclusiveScanAMD(dvec3);"
 2837|     12|            "dvec4  maxInvocationsInclusiveScanAMD(dvec4);"
 2838|       |
 2839|     12|            "int64_t maxInvocationsInclusiveScanAMD(int64_t);"
 2840|     12|            "i64vec2 maxInvocationsInclusiveScanAMD(i64vec2);"
 2841|     12|            "i64vec3 maxInvocationsInclusiveScanAMD(i64vec3);"
 2842|     12|            "i64vec4 maxInvocationsInclusiveScanAMD(i64vec4);"
 2843|       |
 2844|     12|            "uint64_t maxInvocationsInclusiveScanAMD(uint64_t);"
 2845|     12|            "u64vec2  maxInvocationsInclusiveScanAMD(u64vec2);"
 2846|     12|            "u64vec3  maxInvocationsInclusiveScanAMD(u64vec3);"
 2847|     12|            "u64vec4  maxInvocationsInclusiveScanAMD(u64vec4);"
 2848|       |
 2849|     12|            "float16_t maxInvocationsInclusiveScanAMD(float16_t);"
 2850|     12|            "f16vec2   maxInvocationsInclusiveScanAMD(f16vec2);"
 2851|     12|            "f16vec3   maxInvocationsInclusiveScanAMD(f16vec3);"
 2852|     12|            "f16vec4   maxInvocationsInclusiveScanAMD(f16vec4);"
 2853|       |
 2854|     12|            "int16_t maxInvocationsInclusiveScanAMD(int16_t);"
 2855|     12|            "i16vec2 maxInvocationsInclusiveScanAMD(i16vec2);"
 2856|     12|            "i16vec3 maxInvocationsInclusiveScanAMD(i16vec3);"
 2857|     12|            "i16vec4 maxInvocationsInclusiveScanAMD(i16vec4);"
 2858|       |
 2859|     12|            "uint16_t maxInvocationsInclusiveScanAMD(uint16_t);"
 2860|     12|            "u16vec2  maxInvocationsInclusiveScanAMD(u16vec2);"
 2861|     12|            "u16vec3  maxInvocationsInclusiveScanAMD(u16vec3);"
 2862|     12|            "u16vec4  maxInvocationsInclusiveScanAMD(u16vec4);"
 2863|       |
 2864|     12|            "float maxInvocationsExclusiveScanAMD(float);"
 2865|     12|            "vec2  maxInvocationsExclusiveScanAMD(vec2);"
 2866|     12|            "vec3  maxInvocationsExclusiveScanAMD(vec3);"
 2867|     12|            "vec4  maxInvocationsExclusiveScanAMD(vec4);"
 2868|       |
 2869|     12|            "int   maxInvocationsExclusiveScanAMD(int);"
 2870|     12|            "ivec2 maxInvocationsExclusiveScanAMD(ivec2);"
 2871|     12|            "ivec3 maxInvocationsExclusiveScanAMD(ivec3);"
 2872|     12|            "ivec4 maxInvocationsExclusiveScanAMD(ivec4);"
 2873|       |
 2874|     12|            "uint  maxInvocationsExclusiveScanAMD(uint);"
 2875|     12|            "uvec2 maxInvocationsExclusiveScanAMD(uvec2);"
 2876|     12|            "uvec3 maxInvocationsExclusiveScanAMD(uvec3);"
 2877|     12|            "uvec4 maxInvocationsExclusiveScanAMD(uvec4);"
 2878|       |
 2879|     12|            "double maxInvocationsExclusiveScanAMD(double);"
 2880|     12|            "dvec2  maxInvocationsExclusiveScanAMD(dvec2);"
 2881|     12|            "dvec3  maxInvocationsExclusiveScanAMD(dvec3);"
 2882|     12|            "dvec4  maxInvocationsExclusiveScanAMD(dvec4);"
 2883|       |
 2884|     12|            "int64_t maxInvocationsExclusiveScanAMD(int64_t);"
 2885|     12|            "i64vec2 maxInvocationsExclusiveScanAMD(i64vec2);"
 2886|     12|            "i64vec3 maxInvocationsExclusiveScanAMD(i64vec3);"
 2887|     12|            "i64vec4 maxInvocationsExclusiveScanAMD(i64vec4);"
 2888|       |
 2889|     12|            "uint64_t maxInvocationsExclusiveScanAMD(uint64_t);"
 2890|     12|            "u64vec2  maxInvocationsExclusiveScanAMD(u64vec2);"
 2891|     12|            "u64vec3  maxInvocationsExclusiveScanAMD(u64vec3);"
 2892|     12|            "u64vec4  maxInvocationsExclusiveScanAMD(u64vec4);"
 2893|       |
 2894|     12|            "float16_t maxInvocationsExclusiveScanAMD(float16_t);"
 2895|     12|            "f16vec2   maxInvocationsExclusiveScanAMD(f16vec2);"
 2896|     12|            "f16vec3   maxInvocationsExclusiveScanAMD(f16vec3);"
 2897|     12|            "f16vec4   maxInvocationsExclusiveScanAMD(f16vec4);"
 2898|       |
 2899|     12|            "int16_t maxInvocationsExclusiveScanAMD(int16_t);"
 2900|     12|            "i16vec2 maxInvocationsExclusiveScanAMD(i16vec2);"
 2901|     12|            "i16vec3 maxInvocationsExclusiveScanAMD(i16vec3);"
 2902|     12|            "i16vec4 maxInvocationsExclusiveScanAMD(i16vec4);"
 2903|       |
 2904|     12|            "uint16_t maxInvocationsExclusiveScanAMD(uint16_t);"
 2905|     12|            "u16vec2  maxInvocationsExclusiveScanAMD(u16vec2);"
 2906|     12|            "u16vec3  maxInvocationsExclusiveScanAMD(u16vec3);"
 2907|     12|            "u16vec4  maxInvocationsExclusiveScanAMD(u16vec4);"
 2908|       |
 2909|     12|            "float addInvocationsAMD(float);"
 2910|     12|            "vec2  addInvocationsAMD(vec2);"
 2911|     12|            "vec3  addInvocationsAMD(vec3);"
 2912|     12|            "vec4  addInvocationsAMD(vec4);"
 2913|       |
 2914|     12|            "int   addInvocationsAMD(int);"
 2915|     12|            "ivec2 addInvocationsAMD(ivec2);"
 2916|     12|            "ivec3 addInvocationsAMD(ivec3);"
 2917|     12|            "ivec4 addInvocationsAMD(ivec4);"
 2918|       |
 2919|     12|            "uint  addInvocationsAMD(uint);"
 2920|     12|            "uvec2 addInvocationsAMD(uvec2);"
 2921|     12|            "uvec3 addInvocationsAMD(uvec3);"
 2922|     12|            "uvec4 addInvocationsAMD(uvec4);"
 2923|       |
 2924|     12|            "double  addInvocationsAMD(double);"
 2925|     12|            "dvec2   addInvocationsAMD(dvec2);"
 2926|     12|            "dvec3   addInvocationsAMD(dvec3);"
 2927|     12|            "dvec4   addInvocationsAMD(dvec4);"
 2928|       |
 2929|     12|            "int64_t addInvocationsAMD(int64_t);"
 2930|     12|            "i64vec2 addInvocationsAMD(i64vec2);"
 2931|     12|            "i64vec3 addInvocationsAMD(i64vec3);"
 2932|     12|            "i64vec4 addInvocationsAMD(i64vec4);"
 2933|       |
 2934|     12|            "uint64_t addInvocationsAMD(uint64_t);"
 2935|     12|            "u64vec2  addInvocationsAMD(u64vec2);"
 2936|     12|            "u64vec3  addInvocationsAMD(u64vec3);"
 2937|     12|            "u64vec4  addInvocationsAMD(u64vec4);"
 2938|       |
 2939|     12|            "float16_t addInvocationsAMD(float16_t);"
 2940|     12|            "f16vec2   addInvocationsAMD(f16vec2);"
 2941|     12|            "f16vec3   addInvocationsAMD(f16vec3);"
 2942|     12|            "f16vec4   addInvocationsAMD(f16vec4);"
 2943|       |
 2944|     12|            "int16_t addInvocationsAMD(int16_t);"
 2945|     12|            "i16vec2 addInvocationsAMD(i16vec2);"
 2946|     12|            "i16vec3 addInvocationsAMD(i16vec3);"
 2947|     12|            "i16vec4 addInvocationsAMD(i16vec4);"
 2948|       |
 2949|     12|            "uint16_t addInvocationsAMD(uint16_t);"
 2950|     12|            "u16vec2  addInvocationsAMD(u16vec2);"
 2951|     12|            "u16vec3  addInvocationsAMD(u16vec3);"
 2952|     12|            "u16vec4  addInvocationsAMD(u16vec4);"
 2953|       |
 2954|     12|            "float addInvocationsInclusiveScanAMD(float);"
 2955|     12|            "vec2  addInvocationsInclusiveScanAMD(vec2);"
 2956|     12|            "vec3  addInvocationsInclusiveScanAMD(vec3);"
 2957|     12|            "vec4  addInvocationsInclusiveScanAMD(vec4);"
 2958|       |
 2959|     12|            "int   addInvocationsInclusiveScanAMD(int);"
 2960|     12|            "ivec2 addInvocationsInclusiveScanAMD(ivec2);"
 2961|     12|            "ivec3 addInvocationsInclusiveScanAMD(ivec3);"
 2962|     12|            "ivec4 addInvocationsInclusiveScanAMD(ivec4);"
 2963|       |
 2964|     12|            "uint  addInvocationsInclusiveScanAMD(uint);"
 2965|     12|            "uvec2 addInvocationsInclusiveScanAMD(uvec2);"
 2966|     12|            "uvec3 addInvocationsInclusiveScanAMD(uvec3);"
 2967|     12|            "uvec4 addInvocationsInclusiveScanAMD(uvec4);"
 2968|       |
 2969|     12|            "double  addInvocationsInclusiveScanAMD(double);"
 2970|     12|            "dvec2   addInvocationsInclusiveScanAMD(dvec2);"
 2971|     12|            "dvec3   addInvocationsInclusiveScanAMD(dvec3);"
 2972|     12|            "dvec4   addInvocationsInclusiveScanAMD(dvec4);"
 2973|       |
 2974|     12|            "int64_t addInvocationsInclusiveScanAMD(int64_t);"
 2975|     12|            "i64vec2 addInvocationsInclusiveScanAMD(i64vec2);"
 2976|     12|            "i64vec3 addInvocationsInclusiveScanAMD(i64vec3);"
 2977|     12|            "i64vec4 addInvocationsInclusiveScanAMD(i64vec4);"
 2978|       |
 2979|     12|            "uint64_t addInvocationsInclusiveScanAMD(uint64_t);"
 2980|     12|            "u64vec2  addInvocationsInclusiveScanAMD(u64vec2);"
 2981|     12|            "u64vec3  addInvocationsInclusiveScanAMD(u64vec3);"
 2982|     12|            "u64vec4  addInvocationsInclusiveScanAMD(u64vec4);"
 2983|       |
 2984|     12|            "float16_t addInvocationsInclusiveScanAMD(float16_t);"
 2985|     12|            "f16vec2   addInvocationsInclusiveScanAMD(f16vec2);"
 2986|     12|            "f16vec3   addInvocationsInclusiveScanAMD(f16vec3);"
 2987|     12|            "f16vec4   addInvocationsInclusiveScanAMD(f16vec4);"
 2988|       |
 2989|     12|            "int16_t addInvocationsInclusiveScanAMD(int16_t);"
 2990|     12|            "i16vec2 addInvocationsInclusiveScanAMD(i16vec2);"
 2991|     12|            "i16vec3 addInvocationsInclusiveScanAMD(i16vec3);"
 2992|     12|            "i16vec4 addInvocationsInclusiveScanAMD(i16vec4);"
 2993|       |
 2994|     12|            "uint16_t addInvocationsInclusiveScanAMD(uint16_t);"
 2995|     12|            "u16vec2  addInvocationsInclusiveScanAMD(u16vec2);"
 2996|     12|            "u16vec3  addInvocationsInclusiveScanAMD(u16vec3);"
 2997|     12|            "u16vec4  addInvocationsInclusiveScanAMD(u16vec4);"
 2998|       |
 2999|     12|            "float addInvocationsExclusiveScanAMD(float);"
 3000|     12|            "vec2  addInvocationsExclusiveScanAMD(vec2);"
 3001|     12|            "vec3  addInvocationsExclusiveScanAMD(vec3);"
 3002|     12|            "vec4  addInvocationsExclusiveScanAMD(vec4);"
 3003|       |
 3004|     12|            "int   addInvocationsExclusiveScanAMD(int);"
 3005|     12|            "ivec2 addInvocationsExclusiveScanAMD(ivec2);"
 3006|     12|            "ivec3 addInvocationsExclusiveScanAMD(ivec3);"
 3007|     12|            "ivec4 addInvocationsExclusiveScanAMD(ivec4);"
 3008|       |
 3009|     12|            "uint  addInvocationsExclusiveScanAMD(uint);"
 3010|     12|            "uvec2 addInvocationsExclusiveScanAMD(uvec2);"
 3011|     12|            "uvec3 addInvocationsExclusiveScanAMD(uvec3);"
 3012|     12|            "uvec4 addInvocationsExclusiveScanAMD(uvec4);"
 3013|       |
 3014|     12|            "double  addInvocationsExclusiveScanAMD(double);"
 3015|     12|            "dvec2   addInvocationsExclusiveScanAMD(dvec2);"
 3016|     12|            "dvec3   addInvocationsExclusiveScanAMD(dvec3);"
 3017|     12|            "dvec4   addInvocationsExclusiveScanAMD(dvec4);"
 3018|       |
 3019|     12|            "int64_t addInvocationsExclusiveScanAMD(int64_t);"
 3020|     12|            "i64vec2 addInvocationsExclusiveScanAMD(i64vec2);"
 3021|     12|            "i64vec3 addInvocationsExclusiveScanAMD(i64vec3);"
 3022|     12|            "i64vec4 addInvocationsExclusiveScanAMD(i64vec4);"
 3023|       |
 3024|     12|            "uint64_t addInvocationsExclusiveScanAMD(uint64_t);"
 3025|     12|            "u64vec2  addInvocationsExclusiveScanAMD(u64vec2);"
 3026|     12|            "u64vec3  addInvocationsExclusiveScanAMD(u64vec3);"
 3027|     12|            "u64vec4  addInvocationsExclusiveScanAMD(u64vec4);"
 3028|       |
 3029|     12|            "float16_t addInvocationsExclusiveScanAMD(float16_t);"
 3030|     12|            "f16vec2   addInvocationsExclusiveScanAMD(f16vec2);"
 3031|     12|            "f16vec3   addInvocationsExclusiveScanAMD(f16vec3);"
 3032|     12|            "f16vec4   addInvocationsExclusiveScanAMD(f16vec4);"
 3033|       |
 3034|     12|            "int16_t addInvocationsExclusiveScanAMD(int16_t);"
 3035|     12|            "i16vec2 addInvocationsExclusiveScanAMD(i16vec2);"
 3036|     12|            "i16vec3 addInvocationsExclusiveScanAMD(i16vec3);"
 3037|     12|            "i16vec4 addInvocationsExclusiveScanAMD(i16vec4);"
 3038|       |
 3039|     12|            "uint16_t addInvocationsExclusiveScanAMD(uint16_t);"
 3040|     12|            "u16vec2  addInvocationsExclusiveScanAMD(u16vec2);"
 3041|     12|            "u16vec3  addInvocationsExclusiveScanAMD(u16vec3);"
 3042|     12|            "u16vec4  addInvocationsExclusiveScanAMD(u16vec4);"
 3043|       |
 3044|     12|            "float minInvocationsNonUniformAMD(float);"
 3045|     12|            "vec2  minInvocationsNonUniformAMD(vec2);"
 3046|     12|            "vec3  minInvocationsNonUniformAMD(vec3);"
 3047|     12|            "vec4  minInvocationsNonUniformAMD(vec4);"
 3048|       |
 3049|     12|            "int   minInvocationsNonUniformAMD(int);"
 3050|     12|            "ivec2 minInvocationsNonUniformAMD(ivec2);"
 3051|     12|            "ivec3 minInvocationsNonUniformAMD(ivec3);"
 3052|     12|            "ivec4 minInvocationsNonUniformAMD(ivec4);"
 3053|       |
 3054|     12|            "uint  minInvocationsNonUniformAMD(uint);"
 3055|     12|            "uvec2 minInvocationsNonUniformAMD(uvec2);"
 3056|     12|            "uvec3 minInvocationsNonUniformAMD(uvec3);"
 3057|     12|            "uvec4 minInvocationsNonUniformAMD(uvec4);"
 3058|       |
 3059|     12|            "double minInvocationsNonUniformAMD(double);"
 3060|     12|            "dvec2  minInvocationsNonUniformAMD(dvec2);"
 3061|     12|            "dvec3  minInvocationsNonUniformAMD(dvec3);"
 3062|     12|            "dvec4  minInvocationsNonUniformAMD(dvec4);"
 3063|       |
 3064|     12|            "int64_t minInvocationsNonUniformAMD(int64_t);"
 3065|     12|            "i64vec2 minInvocationsNonUniformAMD(i64vec2);"
 3066|     12|            "i64vec3 minInvocationsNonUniformAMD(i64vec3);"
 3067|     12|            "i64vec4 minInvocationsNonUniformAMD(i64vec4);"
 3068|       |
 3069|     12|            "uint64_t minInvocationsNonUniformAMD(uint64_t);"
 3070|     12|            "u64vec2  minInvocationsNonUniformAMD(u64vec2);"
 3071|     12|            "u64vec3  minInvocationsNonUniformAMD(u64vec3);"
 3072|     12|            "u64vec4  minInvocationsNonUniformAMD(u64vec4);"
 3073|       |
 3074|     12|            "float16_t minInvocationsNonUniformAMD(float16_t);"
 3075|     12|            "f16vec2   minInvocationsNonUniformAMD(f16vec2);"
 3076|     12|            "f16vec3   minInvocationsNonUniformAMD(f16vec3);"
 3077|     12|            "f16vec4   minInvocationsNonUniformAMD(f16vec4);"
 3078|       |
 3079|     12|            "int16_t minInvocationsNonUniformAMD(int16_t);"
 3080|     12|            "i16vec2 minInvocationsNonUniformAMD(i16vec2);"
 3081|     12|            "i16vec3 minInvocationsNonUniformAMD(i16vec3);"
 3082|     12|            "i16vec4 minInvocationsNonUniformAMD(i16vec4);"
 3083|       |
 3084|     12|            "uint16_t minInvocationsNonUniformAMD(uint16_t);"
 3085|     12|            "u16vec2  minInvocationsNonUniformAMD(u16vec2);"
 3086|     12|            "u16vec3  minInvocationsNonUniformAMD(u16vec3);"
 3087|     12|            "u16vec4  minInvocationsNonUniformAMD(u16vec4);"
 3088|       |
 3089|     12|            "float minInvocationsInclusiveScanNonUniformAMD(float);"
 3090|     12|            "vec2  minInvocationsInclusiveScanNonUniformAMD(vec2);"
 3091|     12|            "vec3  minInvocationsInclusiveScanNonUniformAMD(vec3);"
 3092|     12|            "vec4  minInvocationsInclusiveScanNonUniformAMD(vec4);"
 3093|       |
 3094|     12|            "int   minInvocationsInclusiveScanNonUniformAMD(int);"
 3095|     12|            "ivec2 minInvocationsInclusiveScanNonUniformAMD(ivec2);"
 3096|     12|            "ivec3 minInvocationsInclusiveScanNonUniformAMD(ivec3);"
 3097|     12|            "ivec4 minInvocationsInclusiveScanNonUniformAMD(ivec4);"
 3098|       |
 3099|     12|            "uint  minInvocationsInclusiveScanNonUniformAMD(uint);"
 3100|     12|            "uvec2 minInvocationsInclusiveScanNonUniformAMD(uvec2);"
 3101|     12|            "uvec3 minInvocationsInclusiveScanNonUniformAMD(uvec3);"
 3102|     12|            "uvec4 minInvocationsInclusiveScanNonUniformAMD(uvec4);"
 3103|       |
 3104|     12|            "double minInvocationsInclusiveScanNonUniformAMD(double);"
 3105|     12|            "dvec2  minInvocationsInclusiveScanNonUniformAMD(dvec2);"
 3106|     12|            "dvec3  minInvocationsInclusiveScanNonUniformAMD(dvec3);"
 3107|     12|            "dvec4  minInvocationsInclusiveScanNonUniformAMD(dvec4);"
 3108|       |
 3109|     12|            "int64_t minInvocationsInclusiveScanNonUniformAMD(int64_t);"
 3110|     12|            "i64vec2 minInvocationsInclusiveScanNonUniformAMD(i64vec2);"
 3111|     12|            "i64vec3 minInvocationsInclusiveScanNonUniformAMD(i64vec3);"
 3112|     12|            "i64vec4 minInvocationsInclusiveScanNonUniformAMD(i64vec4);"
 3113|       |
 3114|     12|            "uint64_t minInvocationsInclusiveScanNonUniformAMD(uint64_t);"
 3115|     12|            "u64vec2  minInvocationsInclusiveScanNonUniformAMD(u64vec2);"
 3116|     12|            "u64vec3  minInvocationsInclusiveScanNonUniformAMD(u64vec3);"
 3117|     12|            "u64vec4  minInvocationsInclusiveScanNonUniformAMD(u64vec4);"
 3118|       |
 3119|     12|            "float16_t minInvocationsInclusiveScanNonUniformAMD(float16_t);"
 3120|     12|            "f16vec2   minInvocationsInclusiveScanNonUniformAMD(f16vec2);"
 3121|     12|            "f16vec3   minInvocationsInclusiveScanNonUniformAMD(f16vec3);"
 3122|     12|            "f16vec4   minInvocationsInclusiveScanNonUniformAMD(f16vec4);"
 3123|       |
 3124|     12|            "int16_t minInvocationsInclusiveScanNonUniformAMD(int16_t);"
 3125|     12|            "i16vec2 minInvocationsInclusiveScanNonUniformAMD(i16vec2);"
 3126|     12|            "i16vec3 minInvocationsInclusiveScanNonUniformAMD(i16vec3);"
 3127|     12|            "i16vec4 minInvocationsInclusiveScanNonUniformAMD(i16vec4);"
 3128|       |
 3129|     12|            "uint16_t minInvocationsInclusiveScanNonUniformAMD(uint16_t);"
 3130|     12|            "u16vec2  minInvocationsInclusiveScanNonUniformAMD(u16vec2);"
 3131|     12|            "u16vec3  minInvocationsInclusiveScanNonUniformAMD(u16vec3);"
 3132|     12|            "u16vec4  minInvocationsInclusiveScanNonUniformAMD(u16vec4);"
 3133|       |
 3134|     12|            "float minInvocationsExclusiveScanNonUniformAMD(float);"
 3135|     12|            "vec2  minInvocationsExclusiveScanNonUniformAMD(vec2);"
 3136|     12|            "vec3  minInvocationsExclusiveScanNonUniformAMD(vec3);"
 3137|     12|            "vec4  minInvocationsExclusiveScanNonUniformAMD(vec4);"
 3138|       |
 3139|     12|            "int   minInvocationsExclusiveScanNonUniformAMD(int);"
 3140|     12|            "ivec2 minInvocationsExclusiveScanNonUniformAMD(ivec2);"
 3141|     12|            "ivec3 minInvocationsExclusiveScanNonUniformAMD(ivec3);"
 3142|     12|            "ivec4 minInvocationsExclusiveScanNonUniformAMD(ivec4);"
 3143|       |
 3144|     12|            "uint  minInvocationsExclusiveScanNonUniformAMD(uint);"
 3145|     12|            "uvec2 minInvocationsExclusiveScanNonUniformAMD(uvec2);"
 3146|     12|            "uvec3 minInvocationsExclusiveScanNonUniformAMD(uvec3);"
 3147|     12|            "uvec4 minInvocationsExclusiveScanNonUniformAMD(uvec4);"
 3148|       |
 3149|     12|            "double minInvocationsExclusiveScanNonUniformAMD(double);"
 3150|     12|            "dvec2  minInvocationsExclusiveScanNonUniformAMD(dvec2);"
 3151|     12|            "dvec3  minInvocationsExclusiveScanNonUniformAMD(dvec3);"
 3152|     12|            "dvec4  minInvocationsExclusiveScanNonUniformAMD(dvec4);"
 3153|       |
 3154|     12|            "int64_t minInvocationsExclusiveScanNonUniformAMD(int64_t);"
 3155|     12|            "i64vec2 minInvocationsExclusiveScanNonUniformAMD(i64vec2);"
 3156|     12|            "i64vec3 minInvocationsExclusiveScanNonUniformAMD(i64vec3);"
 3157|     12|            "i64vec4 minInvocationsExclusiveScanNonUniformAMD(i64vec4);"
 3158|       |
 3159|     12|            "uint64_t minInvocationsExclusiveScanNonUniformAMD(uint64_t);"
 3160|     12|            "u64vec2  minInvocationsExclusiveScanNonUniformAMD(u64vec2);"
 3161|     12|            "u64vec3  minInvocationsExclusiveScanNonUniformAMD(u64vec3);"
 3162|     12|            "u64vec4  minInvocationsExclusiveScanNonUniformAMD(u64vec4);"
 3163|       |
 3164|     12|            "float16_t minInvocationsExclusiveScanNonUniformAMD(float16_t);"
 3165|     12|            "f16vec2   minInvocationsExclusiveScanNonUniformAMD(f16vec2);"
 3166|     12|            "f16vec3   minInvocationsExclusiveScanNonUniformAMD(f16vec3);"
 3167|     12|            "f16vec4   minInvocationsExclusiveScanNonUniformAMD(f16vec4);"
 3168|       |
 3169|     12|            "int16_t minInvocationsExclusiveScanNonUniformAMD(int16_t);"
 3170|     12|            "i16vec2 minInvocationsExclusiveScanNonUniformAMD(i16vec2);"
 3171|     12|            "i16vec3 minInvocationsExclusiveScanNonUniformAMD(i16vec3);"
 3172|     12|            "i16vec4 minInvocationsExclusiveScanNonUniformAMD(i16vec4);"
 3173|       |
 3174|     12|            "uint16_t minInvocationsExclusiveScanNonUniformAMD(uint16_t);"
 3175|     12|            "u16vec2  minInvocationsExclusiveScanNonUniformAMD(u16vec2);"
 3176|     12|            "u16vec3  minInvocationsExclusiveScanNonUniformAMD(u16vec3);"
 3177|     12|            "u16vec4  minInvocationsExclusiveScanNonUniformAMD(u16vec4);"
 3178|       |
 3179|     12|            "float maxInvocationsNonUniformAMD(float);"
 3180|     12|            "vec2  maxInvocationsNonUniformAMD(vec2);"
 3181|     12|            "vec3  maxInvocationsNonUniformAMD(vec3);"
 3182|     12|            "vec4  maxInvocationsNonUniformAMD(vec4);"
 3183|       |
 3184|     12|            "int   maxInvocationsNonUniformAMD(int);"
 3185|     12|            "ivec2 maxInvocationsNonUniformAMD(ivec2);"
 3186|     12|            "ivec3 maxInvocationsNonUniformAMD(ivec3);"
 3187|     12|            "ivec4 maxInvocationsNonUniformAMD(ivec4);"
 3188|       |
 3189|     12|            "uint  maxInvocationsNonUniformAMD(uint);"
 3190|     12|            "uvec2 maxInvocationsNonUniformAMD(uvec2);"
 3191|     12|            "uvec3 maxInvocationsNonUniformAMD(uvec3);"
 3192|     12|            "uvec4 maxInvocationsNonUniformAMD(uvec4);"
 3193|       |
 3194|     12|            "double maxInvocationsNonUniformAMD(double);"
 3195|     12|            "dvec2  maxInvocationsNonUniformAMD(dvec2);"
 3196|     12|            "dvec3  maxInvocationsNonUniformAMD(dvec3);"
 3197|     12|            "dvec4  maxInvocationsNonUniformAMD(dvec4);"
 3198|       |
 3199|     12|            "int64_t maxInvocationsNonUniformAMD(int64_t);"
 3200|     12|            "i64vec2 maxInvocationsNonUniformAMD(i64vec2);"
 3201|     12|            "i64vec3 maxInvocationsNonUniformAMD(i64vec3);"
 3202|     12|            "i64vec4 maxInvocationsNonUniformAMD(i64vec4);"
 3203|       |
 3204|     12|            "uint64_t maxInvocationsNonUniformAMD(uint64_t);"
 3205|     12|            "u64vec2  maxInvocationsNonUniformAMD(u64vec2);"
 3206|     12|            "u64vec3  maxInvocationsNonUniformAMD(u64vec3);"
 3207|     12|            "u64vec4  maxInvocationsNonUniformAMD(u64vec4);"
 3208|       |
 3209|     12|            "float16_t maxInvocationsNonUniformAMD(float16_t);"
 3210|     12|            "f16vec2   maxInvocationsNonUniformAMD(f16vec2);"
 3211|     12|            "f16vec3   maxInvocationsNonUniformAMD(f16vec3);"
 3212|     12|            "f16vec4   maxInvocationsNonUniformAMD(f16vec4);"
 3213|       |
 3214|     12|            "int16_t maxInvocationsNonUniformAMD(int16_t);"
 3215|     12|            "i16vec2 maxInvocationsNonUniformAMD(i16vec2);"
 3216|     12|            "i16vec3 maxInvocationsNonUniformAMD(i16vec3);"
 3217|     12|            "i16vec4 maxInvocationsNonUniformAMD(i16vec4);"
 3218|       |
 3219|     12|            "uint16_t maxInvocationsNonUniformAMD(uint16_t);"
 3220|     12|            "u16vec2  maxInvocationsNonUniformAMD(u16vec2);"
 3221|     12|            "u16vec3  maxInvocationsNonUniformAMD(u16vec3);"
 3222|     12|            "u16vec4  maxInvocationsNonUniformAMD(u16vec4);"
 3223|       |
 3224|     12|            "float maxInvocationsInclusiveScanNonUniformAMD(float);"
 3225|     12|            "vec2  maxInvocationsInclusiveScanNonUniformAMD(vec2);"
 3226|     12|            "vec3  maxInvocationsInclusiveScanNonUniformAMD(vec3);"
 3227|     12|            "vec4  maxInvocationsInclusiveScanNonUniformAMD(vec4);"
 3228|       |
 3229|     12|            "int   maxInvocationsInclusiveScanNonUniformAMD(int);"
 3230|     12|            "ivec2 maxInvocationsInclusiveScanNonUniformAMD(ivec2);"
 3231|     12|            "ivec3 maxInvocationsInclusiveScanNonUniformAMD(ivec3);"
 3232|     12|            "ivec4 maxInvocationsInclusiveScanNonUniformAMD(ivec4);"
 3233|       |
 3234|     12|            "uint  maxInvocationsInclusiveScanNonUniformAMD(uint);"
 3235|     12|            "uvec2 maxInvocationsInclusiveScanNonUniformAMD(uvec2);"
 3236|     12|            "uvec3 maxInvocationsInclusiveScanNonUniformAMD(uvec3);"
 3237|     12|            "uvec4 maxInvocationsInclusiveScanNonUniformAMD(uvec4);"
 3238|       |
 3239|     12|            "double maxInvocationsInclusiveScanNonUniformAMD(double);"
 3240|     12|            "dvec2  maxInvocationsInclusiveScanNonUniformAMD(dvec2);"
 3241|     12|            "dvec3  maxInvocationsInclusiveScanNonUniformAMD(dvec3);"
 3242|     12|            "dvec4  maxInvocationsInclusiveScanNonUniformAMD(dvec4);"
 3243|       |
 3244|     12|            "int64_t maxInvocationsInclusiveScanNonUniformAMD(int64_t);"
 3245|     12|            "i64vec2 maxInvocationsInclusiveScanNonUniformAMD(i64vec2);"
 3246|     12|            "i64vec3 maxInvocationsInclusiveScanNonUniformAMD(i64vec3);"
 3247|     12|            "i64vec4 maxInvocationsInclusiveScanNonUniformAMD(i64vec4);"
 3248|       |
 3249|     12|            "uint64_t maxInvocationsInclusiveScanNonUniformAMD(uint64_t);"
 3250|     12|            "u64vec2  maxInvocationsInclusiveScanNonUniformAMD(u64vec2);"
 3251|     12|            "u64vec3  maxInvocationsInclusiveScanNonUniformAMD(u64vec3);"
 3252|     12|            "u64vec4  maxInvocationsInclusiveScanNonUniformAMD(u64vec4);"
 3253|       |
 3254|     12|            "float16_t maxInvocationsInclusiveScanNonUniformAMD(float16_t);"
 3255|     12|            "f16vec2   maxInvocationsInclusiveScanNonUniformAMD(f16vec2);"
 3256|     12|            "f16vec3   maxInvocationsInclusiveScanNonUniformAMD(f16vec3);"
 3257|     12|            "f16vec4   maxInvocationsInclusiveScanNonUniformAMD(f16vec4);"
 3258|       |
 3259|     12|            "int16_t maxInvocationsInclusiveScanNonUniformAMD(int16_t);"
 3260|     12|            "i16vec2 maxInvocationsInclusiveScanNonUniformAMD(i16vec2);"
 3261|     12|            "i16vec3 maxInvocationsInclusiveScanNonUniformAMD(i16vec3);"
 3262|     12|            "i16vec4 maxInvocationsInclusiveScanNonUniformAMD(i16vec4);"
 3263|       |
 3264|     12|            "uint16_t maxInvocationsInclusiveScanNonUniformAMD(uint16_t);"
 3265|     12|            "u16vec2  maxInvocationsInclusiveScanNonUniformAMD(u16vec2);"
 3266|     12|            "u16vec3  maxInvocationsInclusiveScanNonUniformAMD(u16vec3);"
 3267|     12|            "u16vec4  maxInvocationsInclusiveScanNonUniformAMD(u16vec4);"
 3268|       |
 3269|     12|            "float maxInvocationsExclusiveScanNonUniformAMD(float);"
 3270|     12|            "vec2  maxInvocationsExclusiveScanNonUniformAMD(vec2);"
 3271|     12|            "vec3  maxInvocationsExclusiveScanNonUniformAMD(vec3);"
 3272|     12|            "vec4  maxInvocationsExclusiveScanNonUniformAMD(vec4);"
 3273|       |
 3274|     12|            "int   maxInvocationsExclusiveScanNonUniformAMD(int);"
 3275|     12|            "ivec2 maxInvocationsExclusiveScanNonUniformAMD(ivec2);"
 3276|     12|            "ivec3 maxInvocationsExclusiveScanNonUniformAMD(ivec3);"
 3277|     12|            "ivec4 maxInvocationsExclusiveScanNonUniformAMD(ivec4);"
 3278|       |
 3279|     12|            "uint  maxInvocationsExclusiveScanNonUniformAMD(uint);"
 3280|     12|            "uvec2 maxInvocationsExclusiveScanNonUniformAMD(uvec2);"
 3281|     12|            "uvec3 maxInvocationsExclusiveScanNonUniformAMD(uvec3);"
 3282|     12|            "uvec4 maxInvocationsExclusiveScanNonUniformAMD(uvec4);"
 3283|       |
 3284|     12|            "double maxInvocationsExclusiveScanNonUniformAMD(double);"
 3285|     12|            "dvec2  maxInvocationsExclusiveScanNonUniformAMD(dvec2);"
 3286|     12|            "dvec3  maxInvocationsExclusiveScanNonUniformAMD(dvec3);"
 3287|     12|            "dvec4  maxInvocationsExclusiveScanNonUniformAMD(dvec4);"
 3288|       |
 3289|     12|            "int64_t maxInvocationsExclusiveScanNonUniformAMD(int64_t);"
 3290|     12|            "i64vec2 maxInvocationsExclusiveScanNonUniformAMD(i64vec2);"
 3291|     12|            "i64vec3 maxInvocationsExclusiveScanNonUniformAMD(i64vec3);"
 3292|     12|            "i64vec4 maxInvocationsExclusiveScanNonUniformAMD(i64vec4);"
 3293|       |
 3294|     12|            "uint64_t maxInvocationsExclusiveScanNonUniformAMD(uint64_t);"
 3295|     12|            "u64vec2  maxInvocationsExclusiveScanNonUniformAMD(u64vec2);"
 3296|     12|            "u64vec3  maxInvocationsExclusiveScanNonUniformAMD(u64vec3);"
 3297|     12|            "u64vec4  maxInvocationsExclusiveScanNonUniformAMD(u64vec4);"
 3298|       |
 3299|     12|            "float16_t maxInvocationsExclusiveScanNonUniformAMD(float16_t);"
 3300|     12|            "f16vec2   maxInvocationsExclusiveScanNonUniformAMD(f16vec2);"
 3301|     12|            "f16vec3   maxInvocationsExclusiveScanNonUniformAMD(f16vec3);"
 3302|     12|            "f16vec4   maxInvocationsExclusiveScanNonUniformAMD(f16vec4);"
 3303|       |
 3304|     12|            "int16_t maxInvocationsExclusiveScanNonUniformAMD(int16_t);"
 3305|     12|            "i16vec2 maxInvocationsExclusiveScanNonUniformAMD(i16vec2);"
 3306|     12|            "i16vec3 maxInvocationsExclusiveScanNonUniformAMD(i16vec3);"
 3307|     12|            "i16vec4 maxInvocationsExclusiveScanNonUniformAMD(i16vec4);"
 3308|       |
 3309|     12|            "uint16_t maxInvocationsExclusiveScanNonUniformAMD(uint16_t);"
 3310|     12|            "u16vec2  maxInvocationsExclusiveScanNonUniformAMD(u16vec2);"
 3311|     12|            "u16vec3  maxInvocationsExclusiveScanNonUniformAMD(u16vec3);"
 3312|     12|            "u16vec4  maxInvocationsExclusiveScanNonUniformAMD(u16vec4);"
 3313|       |
 3314|     12|            "float addInvocationsNonUniformAMD(float);"
 3315|     12|            "vec2  addInvocationsNonUniformAMD(vec2);"
 3316|     12|            "vec3  addInvocationsNonUniformAMD(vec3);"
 3317|     12|            "vec4  addInvocationsNonUniformAMD(vec4);"
 3318|       |
 3319|     12|            "int   addInvocationsNonUniformAMD(int);"
 3320|     12|            "ivec2 addInvocationsNonUniformAMD(ivec2);"
 3321|     12|            "ivec3 addInvocationsNonUniformAMD(ivec3);"
 3322|     12|            "ivec4 addInvocationsNonUniformAMD(ivec4);"
 3323|       |
 3324|     12|            "uint  addInvocationsNonUniformAMD(uint);"
 3325|     12|            "uvec2 addInvocationsNonUniformAMD(uvec2);"
 3326|     12|            "uvec3 addInvocationsNonUniformAMD(uvec3);"
 3327|     12|            "uvec4 addInvocationsNonUniformAMD(uvec4);"
 3328|       |
 3329|     12|            "double addInvocationsNonUniformAMD(double);"
 3330|     12|            "dvec2  addInvocationsNonUniformAMD(dvec2);"
 3331|     12|            "dvec3  addInvocationsNonUniformAMD(dvec3);"
 3332|     12|            "dvec4  addInvocationsNonUniformAMD(dvec4);"
 3333|       |
 3334|     12|            "int64_t addInvocationsNonUniformAMD(int64_t);"
 3335|     12|            "i64vec2 addInvocationsNonUniformAMD(i64vec2);"
 3336|     12|            "i64vec3 addInvocationsNonUniformAMD(i64vec3);"
 3337|     12|            "i64vec4 addInvocationsNonUniformAMD(i64vec4);"
 3338|       |
 3339|     12|            "uint64_t addInvocationsNonUniformAMD(uint64_t);"
 3340|     12|            "u64vec2  addInvocationsNonUniformAMD(u64vec2);"
 3341|     12|            "u64vec3  addInvocationsNonUniformAMD(u64vec3);"
 3342|     12|            "u64vec4  addInvocationsNonUniformAMD(u64vec4);"
 3343|       |
 3344|     12|            "float16_t addInvocationsNonUniformAMD(float16_t);"
 3345|     12|            "f16vec2   addInvocationsNonUniformAMD(f16vec2);"
 3346|     12|            "f16vec3   addInvocationsNonUniformAMD(f16vec3);"
 3347|     12|            "f16vec4   addInvocationsNonUniformAMD(f16vec4);"
 3348|       |
 3349|     12|            "int16_t addInvocationsNonUniformAMD(int16_t);"
 3350|     12|            "i16vec2 addInvocationsNonUniformAMD(i16vec2);"
 3351|     12|            "i16vec3 addInvocationsNonUniformAMD(i16vec3);"
 3352|     12|            "i16vec4 addInvocationsNonUniformAMD(i16vec4);"
 3353|       |
 3354|     12|            "uint16_t addInvocationsNonUniformAMD(uint16_t);"
 3355|     12|            "u16vec2  addInvocationsNonUniformAMD(u16vec2);"
 3356|     12|            "u16vec3  addInvocationsNonUniformAMD(u16vec3);"
 3357|     12|            "u16vec4  addInvocationsNonUniformAMD(u16vec4);"
 3358|       |
 3359|     12|            "float addInvocationsInclusiveScanNonUniformAMD(float);"
 3360|     12|            "vec2  addInvocationsInclusiveScanNonUniformAMD(vec2);"
 3361|     12|            "vec3  addInvocationsInclusiveScanNonUniformAMD(vec3);"
 3362|     12|            "vec4  addInvocationsInclusiveScanNonUniformAMD(vec4);"
 3363|       |
 3364|     12|            "int   addInvocationsInclusiveScanNonUniformAMD(int);"
 3365|     12|            "ivec2 addInvocationsInclusiveScanNonUniformAMD(ivec2);"
 3366|     12|            "ivec3 addInvocationsInclusiveScanNonUniformAMD(ivec3);"
 3367|     12|            "ivec4 addInvocationsInclusiveScanNonUniformAMD(ivec4);"
 3368|       |
 3369|     12|            "uint  addInvocationsInclusiveScanNonUniformAMD(uint);"
 3370|     12|            "uvec2 addInvocationsInclusiveScanNonUniformAMD(uvec2);"
 3371|     12|            "uvec3 addInvocationsInclusiveScanNonUniformAMD(uvec3);"
 3372|     12|            "uvec4 addInvocationsInclusiveScanNonUniformAMD(uvec4);"
 3373|       |
 3374|     12|            "double addInvocationsInclusiveScanNonUniformAMD(double);"
 3375|     12|            "dvec2  addInvocationsInclusiveScanNonUniformAMD(dvec2);"
 3376|     12|            "dvec3  addInvocationsInclusiveScanNonUniformAMD(dvec3);"
 3377|     12|            "dvec4  addInvocationsInclusiveScanNonUniformAMD(dvec4);"
 3378|       |
 3379|     12|            "int64_t addInvocationsInclusiveScanNonUniformAMD(int64_t);"
 3380|     12|            "i64vec2 addInvocationsInclusiveScanNonUniformAMD(i64vec2);"
 3381|     12|            "i64vec3 addInvocationsInclusiveScanNonUniformAMD(i64vec3);"
 3382|     12|            "i64vec4 addInvocationsInclusiveScanNonUniformAMD(i64vec4);"
 3383|       |
 3384|     12|            "uint64_t addInvocationsInclusiveScanNonUniformAMD(uint64_t);"
 3385|     12|            "u64vec2  addInvocationsInclusiveScanNonUniformAMD(u64vec2);"
 3386|     12|            "u64vec3  addInvocationsInclusiveScanNonUniformAMD(u64vec3);"
 3387|     12|            "u64vec4  addInvocationsInclusiveScanNonUniformAMD(u64vec4);"
 3388|       |
 3389|     12|            "float16_t addInvocationsInclusiveScanNonUniformAMD(float16_t);"
 3390|     12|            "f16vec2   addInvocationsInclusiveScanNonUniformAMD(f16vec2);"
 3391|     12|            "f16vec3   addInvocationsInclusiveScanNonUniformAMD(f16vec3);"
 3392|     12|            "f16vec4   addInvocationsInclusiveScanNonUniformAMD(f16vec4);"
 3393|       |
 3394|     12|            "int16_t addInvocationsInclusiveScanNonUniformAMD(int16_t);"
 3395|     12|            "i16vec2 addInvocationsInclusiveScanNonUniformAMD(i16vec2);"
 3396|     12|            "i16vec3 addInvocationsInclusiveScanNonUniformAMD(i16vec3);"
 3397|     12|            "i16vec4 addInvocationsInclusiveScanNonUniformAMD(i16vec4);"
 3398|       |
 3399|     12|            "uint16_t addInvocationsInclusiveScanNonUniformAMD(uint16_t);"
 3400|     12|            "u16vec2  addInvocationsInclusiveScanNonUniformAMD(u16vec2);"
 3401|     12|            "u16vec3  addInvocationsInclusiveScanNonUniformAMD(u16vec3);"
 3402|     12|            "u16vec4  addInvocationsInclusiveScanNonUniformAMD(u16vec4);"
 3403|       |
 3404|     12|            "float addInvocationsExclusiveScanNonUniformAMD(float);"
 3405|     12|            "vec2  addInvocationsExclusiveScanNonUniformAMD(vec2);"
 3406|     12|            "vec3  addInvocationsExclusiveScanNonUniformAMD(vec3);"
 3407|     12|            "vec4  addInvocationsExclusiveScanNonUniformAMD(vec4);"
 3408|       |
 3409|     12|            "int   addInvocationsExclusiveScanNonUniformAMD(int);"
 3410|     12|            "ivec2 addInvocationsExclusiveScanNonUniformAMD(ivec2);"
 3411|     12|            "ivec3 addInvocationsExclusiveScanNonUniformAMD(ivec3);"
 3412|     12|            "ivec4 addInvocationsExclusiveScanNonUniformAMD(ivec4);"
 3413|       |
 3414|     12|            "uint  addInvocationsExclusiveScanNonUniformAMD(uint);"
 3415|     12|            "uvec2 addInvocationsExclusiveScanNonUniformAMD(uvec2);"
 3416|     12|            "uvec3 addInvocationsExclusiveScanNonUniformAMD(uvec3);"
 3417|     12|            "uvec4 addInvocationsExclusiveScanNonUniformAMD(uvec4);"
 3418|       |
 3419|     12|            "double addInvocationsExclusiveScanNonUniformAMD(double);"
 3420|     12|            "dvec2  addInvocationsExclusiveScanNonUniformAMD(dvec2);"
 3421|     12|            "dvec3  addInvocationsExclusiveScanNonUniformAMD(dvec3);"
 3422|     12|            "dvec4  addInvocationsExclusiveScanNonUniformAMD(dvec4);"
 3423|       |
 3424|     12|            "int64_t addInvocationsExclusiveScanNonUniformAMD(int64_t);"
 3425|     12|            "i64vec2 addInvocationsExclusiveScanNonUniformAMD(i64vec2);"
 3426|     12|            "i64vec3 addInvocationsExclusiveScanNonUniformAMD(i64vec3);"
 3427|     12|            "i64vec4 addInvocationsExclusiveScanNonUniformAMD(i64vec4);"
 3428|       |
 3429|     12|            "uint64_t addInvocationsExclusiveScanNonUniformAMD(uint64_t);"
 3430|     12|            "u64vec2  addInvocationsExclusiveScanNonUniformAMD(u64vec2);"
 3431|     12|            "u64vec3  addInvocationsExclusiveScanNonUniformAMD(u64vec3);"
 3432|     12|            "u64vec4  addInvocationsExclusiveScanNonUniformAMD(u64vec4);"
 3433|       |
 3434|     12|            "float16_t addInvocationsExclusiveScanNonUniformAMD(float16_t);"
 3435|     12|            "f16vec2   addInvocationsExclusiveScanNonUniformAMD(f16vec2);"
 3436|     12|            "f16vec3   addInvocationsExclusiveScanNonUniformAMD(f16vec3);"
 3437|     12|            "f16vec4   addInvocationsExclusiveScanNonUniformAMD(f16vec4);"
 3438|       |
 3439|     12|            "int16_t addInvocationsExclusiveScanNonUniformAMD(int16_t);"
 3440|     12|            "i16vec2 addInvocationsExclusiveScanNonUniformAMD(i16vec2);"
 3441|     12|            "i16vec3 addInvocationsExclusiveScanNonUniformAMD(i16vec3);"
 3442|     12|            "i16vec4 addInvocationsExclusiveScanNonUniformAMD(i16vec4);"
 3443|       |
 3444|     12|            "uint16_t addInvocationsExclusiveScanNonUniformAMD(uint16_t);"
 3445|     12|            "u16vec2  addInvocationsExclusiveScanNonUniformAMD(u16vec2);"
 3446|     12|            "u16vec3  addInvocationsExclusiveScanNonUniformAMD(u16vec3);"
 3447|     12|            "u16vec4  addInvocationsExclusiveScanNonUniformAMD(u16vec4);"
 3448|       |
 3449|     12|            "float swizzleInvocationsAMD(float, uvec4);"
 3450|     12|            "vec2  swizzleInvocationsAMD(vec2,  uvec4);"
 3451|     12|            "vec3  swizzleInvocationsAMD(vec3,  uvec4);"
 3452|     12|            "vec4  swizzleInvocationsAMD(vec4,  uvec4);"
 3453|       |
 3454|     12|            "int   swizzleInvocationsAMD(int,   uvec4);"
 3455|     12|            "ivec2 swizzleInvocationsAMD(ivec2, uvec4);"
 3456|     12|            "ivec3 swizzleInvocationsAMD(ivec3, uvec4);"
 3457|     12|            "ivec4 swizzleInvocationsAMD(ivec4, uvec4);"
 3458|       |
 3459|     12|            "uint  swizzleInvocationsAMD(uint,  uvec4);"
 3460|     12|            "uvec2 swizzleInvocationsAMD(uvec2, uvec4);"
 3461|     12|            "uvec3 swizzleInvocationsAMD(uvec3, uvec4);"
 3462|     12|            "uvec4 swizzleInvocationsAMD(uvec4, uvec4);"
 3463|       |
 3464|     12|            "float swizzleInvocationsMaskedAMD(float, uvec3);"
 3465|     12|            "vec2  swizzleInvocationsMaskedAMD(vec2,  uvec3);"
 3466|     12|            "vec3  swizzleInvocationsMaskedAMD(vec3,  uvec3);"
 3467|     12|            "vec4  swizzleInvocationsMaskedAMD(vec4,  uvec3);"
 3468|       |
 3469|     12|            "int   swizzleInvocationsMaskedAMD(int,   uvec3);"
 3470|     12|            "ivec2 swizzleInvocationsMaskedAMD(ivec2, uvec3);"
 3471|     12|            "ivec3 swizzleInvocationsMaskedAMD(ivec3, uvec3);"
 3472|     12|            "ivec4 swizzleInvocationsMaskedAMD(ivec4, uvec3);"
 3473|       |
 3474|     12|            "uint  swizzleInvocationsMaskedAMD(uint,  uvec3);"
 3475|     12|            "uvec2 swizzleInvocationsMaskedAMD(uvec2, uvec3);"
 3476|     12|            "uvec3 swizzleInvocationsMaskedAMD(uvec3, uvec3);"
 3477|     12|            "uvec4 swizzleInvocationsMaskedAMD(uvec4, uvec3);"
 3478|       |
 3479|     12|            "float writeInvocationAMD(float, float, uint);"
 3480|     12|            "vec2  writeInvocationAMD(vec2,  vec2,  uint);"
 3481|     12|            "vec3  writeInvocationAMD(vec3,  vec3,  uint);"
 3482|     12|            "vec4  writeInvocationAMD(vec4,  vec4,  uint);"
 3483|       |
 3484|     12|            "int   writeInvocationAMD(int,   int,   uint);"
 3485|     12|            "ivec2 writeInvocationAMD(ivec2, ivec2, uint);"
 3486|     12|            "ivec3 writeInvocationAMD(ivec3, ivec3, uint);"
 3487|     12|            "ivec4 writeInvocationAMD(ivec4, ivec4, uint);"
 3488|       |
 3489|     12|            "uint  writeInvocationAMD(uint,  uint,  uint);"
 3490|     12|            "uvec2 writeInvocationAMD(uvec2, uvec2, uint);"
 3491|     12|            "uvec3 writeInvocationAMD(uvec3, uvec3, uint);"
 3492|     12|            "uvec4 writeInvocationAMD(uvec4, uvec4, uint);"
 3493|       |
 3494|     12|            "uint mbcntAMD(uint64_t);"
 3495|       |
 3496|     12|            "\n");
 3497|     12|    }
 3498|       |
 3499|       |    // GL_AMD_gcn_shader
 3500|    124|    if (profile != EEsProfile && version >= 440) {
  ------------------
  |  Branch (3500:9): [True: 124, False: 0]
  |  Branch (3500:34): [True: 12, False: 112]
  ------------------
 3501|     12|        commonBuiltins.append(
 3502|     12|            "float cubeFaceIndexAMD(vec3);"
 3503|     12|            "vec2  cubeFaceCoordAMD(vec3);"
 3504|     12|            "uint64_t timeAMD();"
 3505|       |
 3506|     12|            "in int gl_SIMDGroupSizeAMD;"
 3507|     12|            "\n");
 3508|     12|    }
 3509|       |
 3510|       |    // GL_AMD_shader_fragment_mask
 3511|    124|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (3511:9): [True: 124, False: 0]
  |  Branch (3511:34): [True: 12, False: 112]
  ------------------
 3512|     12|        commonBuiltins.append(
 3513|     12|            "uint fragmentMaskFetchAMD(sampler2DMS,       ivec2);"
 3514|     12|            "uint fragmentMaskFetchAMD(isampler2DMS,      ivec2);"
 3515|     12|            "uint fragmentMaskFetchAMD(usampler2DMS,      ivec2);"
 3516|       |
 3517|     12|            "uint fragmentMaskFetchAMD(sampler2DMSArray,  ivec3);"
 3518|     12|            "uint fragmentMaskFetchAMD(isampler2DMSArray, ivec3);"
 3519|     12|            "uint fragmentMaskFetchAMD(usampler2DMSArray, ivec3);"
 3520|       |
 3521|     12|            "vec4  fragmentFetchAMD(sampler2DMS,       ivec2, uint);"
 3522|     12|            "ivec4 fragmentFetchAMD(isampler2DMS,      ivec2, uint);"
 3523|     12|            "uvec4 fragmentFetchAMD(usampler2DMS,      ivec2, uint);"
 3524|       |
 3525|     12|            "vec4  fragmentFetchAMD(sampler2DMSArray,  ivec3, uint);"
 3526|     12|            "ivec4 fragmentFetchAMD(isampler2DMSArray, ivec3, uint);"
 3527|     12|            "uvec4 fragmentFetchAMD(usampler2DMSArray, ivec3, uint);"
 3528|       |
 3529|     12|            "\n");
 3530|     12|    }
 3531|       |
 3532|    124|    if ((profile != EEsProfile && version >= 130) ||
  ------------------
  |  Branch (3532:10): [True: 124, False: 0]
  |  Branch (3532:35): [True: 124, False: 0]
  ------------------
 3533|    124|        (profile == EEsProfile && version >= 300)) {
  ------------------
  |  Branch (3533:10): [True: 0, False: 0]
  |  Branch (3533:35): [True: 0, False: 0]
  ------------------
 3534|    124|        commonBuiltins.append(
 3535|    124|            "uint countLeadingZeros(uint);"
 3536|    124|            "uvec2 countLeadingZeros(uvec2);"
 3537|    124|            "uvec3 countLeadingZeros(uvec3);"
 3538|    124|            "uvec4 countLeadingZeros(uvec4);"
 3539|       |
 3540|    124|            "uint countTrailingZeros(uint);"
 3541|    124|            "uvec2 countTrailingZeros(uvec2);"
 3542|    124|            "uvec3 countTrailingZeros(uvec3);"
 3543|    124|            "uvec4 countTrailingZeros(uvec4);"
 3544|       |
 3545|    124|            "uint absoluteDifference(int, int);"
 3546|    124|            "uvec2 absoluteDifference(ivec2, ivec2);"
 3547|    124|            "uvec3 absoluteDifference(ivec3, ivec3);"
 3548|    124|            "uvec4 absoluteDifference(ivec4, ivec4);"
 3549|       |
 3550|    124|            "uint16_t absoluteDifference(int16_t, int16_t);"
 3551|    124|            "u16vec2 absoluteDifference(i16vec2, i16vec2);"
 3552|    124|            "u16vec3 absoluteDifference(i16vec3, i16vec3);"
 3553|    124|            "u16vec4 absoluteDifference(i16vec4, i16vec4);"
 3554|       |
 3555|    124|            "uint64_t absoluteDifference(int64_t, int64_t);"
 3556|    124|            "u64vec2 absoluteDifference(i64vec2, i64vec2);"
 3557|    124|            "u64vec3 absoluteDifference(i64vec3, i64vec3);"
 3558|    124|            "u64vec4 absoluteDifference(i64vec4, i64vec4);"
 3559|       |
 3560|    124|            "uint absoluteDifference(uint, uint);"
 3561|    124|            "uvec2 absoluteDifference(uvec2, uvec2);"
 3562|    124|            "uvec3 absoluteDifference(uvec3, uvec3);"
 3563|    124|            "uvec4 absoluteDifference(uvec4, uvec4);"
 3564|       |
 3565|    124|            "uint16_t absoluteDifference(uint16_t, uint16_t);"
 3566|    124|            "u16vec2 absoluteDifference(u16vec2, u16vec2);"
 3567|    124|            "u16vec3 absoluteDifference(u16vec3, u16vec3);"
 3568|    124|            "u16vec4 absoluteDifference(u16vec4, u16vec4);"
 3569|       |
 3570|    124|            "uint64_t absoluteDifference(uint64_t, uint64_t);"
 3571|    124|            "u64vec2 absoluteDifference(u64vec2, u64vec2);"
 3572|    124|            "u64vec3 absoluteDifference(u64vec3, u64vec3);"
 3573|    124|            "u64vec4 absoluteDifference(u64vec4, u64vec4);"
 3574|       |
 3575|    124|            "int addSaturate(int, int);"
 3576|    124|            "ivec2 addSaturate(ivec2, ivec2);"
 3577|    124|            "ivec3 addSaturate(ivec3, ivec3);"
 3578|    124|            "ivec4 addSaturate(ivec4, ivec4);"
 3579|       |
 3580|    124|            "int16_t addSaturate(int16_t, int16_t);"
 3581|    124|            "i16vec2 addSaturate(i16vec2, i16vec2);"
 3582|    124|            "i16vec3 addSaturate(i16vec3, i16vec3);"
 3583|    124|            "i16vec4 addSaturate(i16vec4, i16vec4);"
 3584|       |
 3585|    124|            "int64_t addSaturate(int64_t, int64_t);"
 3586|    124|            "i64vec2 addSaturate(i64vec2, i64vec2);"
 3587|    124|            "i64vec3 addSaturate(i64vec3, i64vec3);"
 3588|    124|            "i64vec4 addSaturate(i64vec4, i64vec4);"
 3589|       |
 3590|    124|            "uint addSaturate(uint, uint);"
 3591|    124|            "uvec2 addSaturate(uvec2, uvec2);"
 3592|    124|            "uvec3 addSaturate(uvec3, uvec3);"
 3593|    124|            "uvec4 addSaturate(uvec4, uvec4);"
 3594|       |
 3595|    124|            "uint16_t addSaturate(uint16_t, uint16_t);"
 3596|    124|            "u16vec2 addSaturate(u16vec2, u16vec2);"
 3597|    124|            "u16vec3 addSaturate(u16vec3, u16vec3);"
 3598|    124|            "u16vec4 addSaturate(u16vec4, u16vec4);"
 3599|       |
 3600|    124|            "uint64_t addSaturate(uint64_t, uint64_t);"
 3601|    124|            "u64vec2 addSaturate(u64vec2, u64vec2);"
 3602|    124|            "u64vec3 addSaturate(u64vec3, u64vec3);"
 3603|    124|            "u64vec4 addSaturate(u64vec4, u64vec4);"
 3604|       |
 3605|    124|            "int subtractSaturate(int, int);"
 3606|    124|            "ivec2 subtractSaturate(ivec2, ivec2);"
 3607|    124|            "ivec3 subtractSaturate(ivec3, ivec3);"
 3608|    124|            "ivec4 subtractSaturate(ivec4, ivec4);"
 3609|       |
 3610|    124|            "int16_t subtractSaturate(int16_t, int16_t);"
 3611|    124|            "i16vec2 subtractSaturate(i16vec2, i16vec2);"
 3612|    124|            "i16vec3 subtractSaturate(i16vec3, i16vec3);"
 3613|    124|            "i16vec4 subtractSaturate(i16vec4, i16vec4);"
 3614|       |
 3615|    124|            "int64_t subtractSaturate(int64_t, int64_t);"
 3616|    124|            "i64vec2 subtractSaturate(i64vec2, i64vec2);"
 3617|    124|            "i64vec3 subtractSaturate(i64vec3, i64vec3);"
 3618|    124|            "i64vec4 subtractSaturate(i64vec4, i64vec4);"
 3619|       |
 3620|    124|            "uint subtractSaturate(uint, uint);"
 3621|    124|            "uvec2 subtractSaturate(uvec2, uvec2);"
 3622|    124|            "uvec3 subtractSaturate(uvec3, uvec3);"
 3623|    124|            "uvec4 subtractSaturate(uvec4, uvec4);"
 3624|       |
 3625|    124|            "uint16_t subtractSaturate(uint16_t, uint16_t);"
 3626|    124|            "u16vec2 subtractSaturate(u16vec2, u16vec2);"
 3627|    124|            "u16vec3 subtractSaturate(u16vec3, u16vec3);"
 3628|    124|            "u16vec4 subtractSaturate(u16vec4, u16vec4);"
 3629|       |
 3630|    124|            "uint64_t subtractSaturate(uint64_t, uint64_t);"
 3631|    124|            "u64vec2 subtractSaturate(u64vec2, u64vec2);"
 3632|    124|            "u64vec3 subtractSaturate(u64vec3, u64vec3);"
 3633|    124|            "u64vec4 subtractSaturate(u64vec4, u64vec4);"
 3634|       |
 3635|    124|            "int average(int, int);"
 3636|    124|            "ivec2 average(ivec2, ivec2);"
 3637|    124|            "ivec3 average(ivec3, ivec3);"
 3638|    124|            "ivec4 average(ivec4, ivec4);"
 3639|       |
 3640|    124|            "int16_t average(int16_t, int16_t);"
 3641|    124|            "i16vec2 average(i16vec2, i16vec2);"
 3642|    124|            "i16vec3 average(i16vec3, i16vec3);"
 3643|    124|            "i16vec4 average(i16vec4, i16vec4);"
 3644|       |
 3645|    124|            "int64_t average(int64_t, int64_t);"
 3646|    124|            "i64vec2 average(i64vec2, i64vec2);"
 3647|    124|            "i64vec3 average(i64vec3, i64vec3);"
 3648|    124|            "i64vec4 average(i64vec4, i64vec4);"
 3649|       |
 3650|    124|            "uint average(uint, uint);"
 3651|    124|            "uvec2 average(uvec2, uvec2);"
 3652|    124|            "uvec3 average(uvec3, uvec3);"
 3653|    124|            "uvec4 average(uvec4, uvec4);"
 3654|       |
 3655|    124|            "uint16_t average(uint16_t, uint16_t);"
 3656|    124|            "u16vec2 average(u16vec2, u16vec2);"
 3657|    124|            "u16vec3 average(u16vec3, u16vec3);"
 3658|    124|            "u16vec4 average(u16vec4, u16vec4);"
 3659|       |
 3660|    124|            "uint64_t average(uint64_t, uint64_t);"
 3661|    124|            "u64vec2 average(u64vec2, u64vec2);"
 3662|    124|            "u64vec3 average(u64vec3, u64vec3);"
 3663|    124|            "u64vec4 average(u64vec4, u64vec4);"
 3664|       |
 3665|    124|            "int averageRounded(int, int);"
 3666|    124|            "ivec2 averageRounded(ivec2, ivec2);"
 3667|    124|            "ivec3 averageRounded(ivec3, ivec3);"
 3668|    124|            "ivec4 averageRounded(ivec4, ivec4);"
 3669|       |
 3670|    124|            "int16_t averageRounded(int16_t, int16_t);"
 3671|    124|            "i16vec2 averageRounded(i16vec2, i16vec2);"
 3672|    124|            "i16vec3 averageRounded(i16vec3, i16vec3);"
 3673|    124|            "i16vec4 averageRounded(i16vec4, i16vec4);"
 3674|       |
 3675|    124|            "int64_t averageRounded(int64_t, int64_t);"
 3676|    124|            "i64vec2 averageRounded(i64vec2, i64vec2);"
 3677|    124|            "i64vec3 averageRounded(i64vec3, i64vec3);"
 3678|    124|            "i64vec4 averageRounded(i64vec4, i64vec4);"
 3679|       |
 3680|    124|            "uint averageRounded(uint, uint);"
 3681|    124|            "uvec2 averageRounded(uvec2, uvec2);"
 3682|    124|            "uvec3 averageRounded(uvec3, uvec3);"
 3683|    124|            "uvec4 averageRounded(uvec4, uvec4);"
 3684|       |
 3685|    124|            "uint16_t averageRounded(uint16_t, uint16_t);"
 3686|    124|            "u16vec2 averageRounded(u16vec2, u16vec2);"
 3687|    124|            "u16vec3 averageRounded(u16vec3, u16vec3);"
 3688|    124|            "u16vec4 averageRounded(u16vec4, u16vec4);"
 3689|       |
 3690|    124|            "uint64_t averageRounded(uint64_t, uint64_t);"
 3691|    124|            "u64vec2 averageRounded(u64vec2, u64vec2);"
 3692|    124|            "u64vec3 averageRounded(u64vec3, u64vec3);"
 3693|    124|            "u64vec4 averageRounded(u64vec4, u64vec4);"
 3694|       |
 3695|    124|            "int multiply32x16(int, int);"
 3696|    124|            "ivec2 multiply32x16(ivec2, ivec2);"
 3697|    124|            "ivec3 multiply32x16(ivec3, ivec3);"
 3698|    124|            "ivec4 multiply32x16(ivec4, ivec4);"
 3699|       |
 3700|    124|            "uint multiply32x16(uint, uint);"
 3701|    124|            "uvec2 multiply32x16(uvec2, uvec2);"
 3702|    124|            "uvec3 multiply32x16(uvec3, uvec3);"
 3703|    124|            "uvec4 multiply32x16(uvec4, uvec4);"
 3704|    124|            "\n");
 3705|    124|    }
 3706|       |
 3707|    124|    if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (3707:10): [True: 124, False: 0]
  |  Branch (3707:35): [True: 12, False: 112]
  ------------------
 3708|    112|        (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (3708:10): [True: 0, False: 112]
  |  Branch (3708:35): [True: 0, False: 0]
  ------------------
 3709|     12|        commonBuiltins.append(
 3710|     12|            "struct gl_TextureFootprint2DNV {"
 3711|     12|                "uvec2 anchor;"
 3712|     12|                "uvec2 offset;"
 3713|     12|                "uvec2 mask;"
 3714|     12|                "uint lod;"
 3715|     12|                "uint granularity;"
 3716|     12|            "};"
 3717|       |
 3718|     12|            "struct gl_TextureFootprint3DNV {"
 3719|     12|                "uvec3 anchor;"
 3720|     12|                "uvec3 offset;"
 3721|     12|                "uvec2 mask;"
 3722|     12|                "uint lod;"
 3723|     12|                "uint granularity;"
 3724|     12|            "};"
 3725|     12|            "bool textureFootprintNV(sampler2D, vec2, int, bool, out gl_TextureFootprint2DNV);"
 3726|     12|            "bool textureFootprintNV(sampler3D, vec3, int, bool, out gl_TextureFootprint3DNV);"
 3727|     12|            "bool textureFootprintNV(sampler2D, vec2, int, bool, out gl_TextureFootprint2DNV, float);"
 3728|     12|            "bool textureFootprintNV(sampler3D, vec3, int, bool, out gl_TextureFootprint3DNV, float);"
 3729|     12|            "bool textureFootprintClampNV(sampler2D, vec2, float, int, bool, out gl_TextureFootprint2DNV);"
 3730|     12|            "bool textureFootprintClampNV(sampler3D, vec3, float, int, bool, out gl_TextureFootprint3DNV);"
 3731|     12|            "bool textureFootprintClampNV(sampler2D, vec2, float, int, bool, out gl_TextureFootprint2DNV, float);"
 3732|     12|            "bool textureFootprintClampNV(sampler3D, vec3, float, int, bool, out gl_TextureFootprint3DNV, float);"
 3733|     12|            "bool textureFootprintLodNV(sampler2D, vec2, float, int, bool, out gl_TextureFootprint2DNV);"
 3734|     12|            "bool textureFootprintLodNV(sampler3D, vec3, float, int, bool, out gl_TextureFootprint3DNV);"
 3735|     12|            "bool textureFootprintGradNV(sampler2D, vec2, vec2, vec2, int, bool, out gl_TextureFootprint2DNV);"
 3736|     12|            "bool textureFootprintGradClampNV(sampler2D, vec2, vec2, vec2, float, int, bool, out gl_TextureFootprint2DNV);"
 3737|     12|            "\n");
 3738|     12|    }
 3739|       |
 3740|    124|    if ((profile == EEsProfile && version >= 300 && version < 310) ||
  ------------------
  |  Branch (3740:10): [True: 0, False: 124]
  |  Branch (3740:35): [True: 0, False: 0]
  |  Branch (3740:53): [True: 0, False: 0]
  ------------------
 3741|    124|        (profile != EEsProfile && version >= 150 && version < 450)) { // GL_EXT_shader_integer_mix
  ------------------
  |  Branch (3741:10): [True: 124, False: 0]
  |  Branch (3741:35): [True: 17, False: 107]
  |  Branch (3741:53): [True: 5, False: 12]
  ------------------
 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|    124|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (3759:10): [True: 124, False: 0]
  |  Branch (3759:35): [True: 12, False: 112]
  |  Branch (3759:55): [True: 0, False: 112]
  |  Branch (3759:80): [True: 0, False: 0]
  ------------------
 3760|     12|        commonBuiltins.append(
 3761|     12|            "float16_t radians(float16_t);"
 3762|     12|            "f16vec2   radians(f16vec2);"
 3763|     12|            "f16vec3   radians(f16vec3);"
 3764|     12|            "f16vec4   radians(f16vec4);"
 3765|       |
 3766|     12|            "float16_t degrees(float16_t);"
 3767|     12|            "f16vec2   degrees(f16vec2);"
 3768|     12|            "f16vec3   degrees(f16vec3);"
 3769|     12|            "f16vec4   degrees(f16vec4);"
 3770|       |
 3771|     12|            "float16_t sin(float16_t);"
 3772|     12|            "f16vec2   sin(f16vec2);"
 3773|     12|            "f16vec3   sin(f16vec3);"
 3774|     12|            "f16vec4   sin(f16vec4);"
 3775|       |
 3776|     12|            "float16_t cos(float16_t);"
 3777|     12|            "f16vec2   cos(f16vec2);"
 3778|     12|            "f16vec3   cos(f16vec3);"
 3779|     12|            "f16vec4   cos(f16vec4);"
 3780|       |
 3781|     12|            "float16_t tan(float16_t);"
 3782|     12|            "f16vec2   tan(f16vec2);"
 3783|     12|            "f16vec3   tan(f16vec3);"
 3784|     12|            "f16vec4   tan(f16vec4);"
 3785|       |
 3786|     12|            "float16_t asin(float16_t);"
 3787|     12|            "f16vec2   asin(f16vec2);"
 3788|     12|            "f16vec3   asin(f16vec3);"
 3789|     12|            "f16vec4   asin(f16vec4);"
 3790|       |
 3791|     12|            "float16_t acos(float16_t);"
 3792|     12|            "f16vec2   acos(f16vec2);"
 3793|     12|            "f16vec3   acos(f16vec3);"
 3794|     12|            "f16vec4   acos(f16vec4);"
 3795|       |
 3796|     12|            "float16_t atan(float16_t, float16_t);"
 3797|     12|            "f16vec2   atan(f16vec2,   f16vec2);"
 3798|     12|            "f16vec3   atan(f16vec3,   f16vec3);"
 3799|     12|            "f16vec4   atan(f16vec4,   f16vec4);"
 3800|       |
 3801|     12|            "float16_t atan(float16_t);"
 3802|     12|            "f16vec2   atan(f16vec2);"
 3803|     12|            "f16vec3   atan(f16vec3);"
 3804|     12|            "f16vec4   atan(f16vec4);"
 3805|       |
 3806|     12|            "float16_t sinh(float16_t);"
 3807|     12|            "f16vec2   sinh(f16vec2);"
 3808|     12|            "f16vec3   sinh(f16vec3);"
 3809|     12|            "f16vec4   sinh(f16vec4);"
 3810|       |
 3811|     12|            "float16_t cosh(float16_t);"
 3812|     12|            "f16vec2   cosh(f16vec2);"
 3813|     12|            "f16vec3   cosh(f16vec3);"
 3814|     12|            "f16vec4   cosh(f16vec4);"
 3815|       |
 3816|     12|            "float16_t tanh(float16_t);"
 3817|     12|            "f16vec2   tanh(f16vec2);"
 3818|     12|            "f16vec3   tanh(f16vec3);"
 3819|     12|            "f16vec4   tanh(f16vec4);"
 3820|       |
 3821|     12|            "float16_t asinh(float16_t);"
 3822|     12|            "f16vec2   asinh(f16vec2);"
 3823|     12|            "f16vec3   asinh(f16vec3);"
 3824|     12|            "f16vec4   asinh(f16vec4);"
 3825|       |
 3826|     12|            "float16_t acosh(float16_t);"
 3827|     12|            "f16vec2   acosh(f16vec2);"
 3828|     12|            "f16vec3   acosh(f16vec3);"
 3829|     12|            "f16vec4   acosh(f16vec4);"
 3830|       |
 3831|     12|            "float16_t atanh(float16_t);"
 3832|     12|            "f16vec2   atanh(f16vec2);"
 3833|     12|            "f16vec3   atanh(f16vec3);"
 3834|     12|            "f16vec4   atanh(f16vec4);"
 3835|       |
 3836|     12|            "float16_t pow(float16_t, float16_t);"
 3837|     12|            "f16vec2   pow(f16vec2,   f16vec2);"
 3838|     12|            "f16vec3   pow(f16vec3,   f16vec3);"
 3839|     12|            "f16vec4   pow(f16vec4,   f16vec4);"
 3840|       |
 3841|     12|            "float16_t exp(float16_t);"
 3842|     12|            "f16vec2   exp(f16vec2);"
 3843|     12|            "f16vec3   exp(f16vec3);"
 3844|     12|            "f16vec4   exp(f16vec4);"
 3845|       |
 3846|     12|            "float16_t log(float16_t);"
 3847|     12|            "f16vec2   log(f16vec2);"
 3848|     12|            "f16vec3   log(f16vec3);"
 3849|     12|            "f16vec4   log(f16vec4);"
 3850|       |
 3851|     12|            "float16_t exp2(float16_t);"
 3852|     12|            "f16vec2   exp2(f16vec2);"
 3853|     12|            "f16vec3   exp2(f16vec3);"
 3854|     12|            "f16vec4   exp2(f16vec4);"
 3855|       |
 3856|     12|            "float16_t log2(float16_t);"
 3857|     12|            "f16vec2   log2(f16vec2);"
 3858|     12|            "f16vec3   log2(f16vec3);"
 3859|     12|            "f16vec4   log2(f16vec4);"
 3860|       |
 3861|     12|            "float16_t sqrt(float16_t);"
 3862|     12|            "f16vec2   sqrt(f16vec2);"
 3863|     12|            "f16vec3   sqrt(f16vec3);"
 3864|     12|            "f16vec4   sqrt(f16vec4);"
 3865|       |
 3866|     12|            "float16_t inversesqrt(float16_t);"
 3867|     12|            "f16vec2   inversesqrt(f16vec2);"
 3868|     12|            "f16vec3   inversesqrt(f16vec3);"
 3869|     12|            "f16vec4   inversesqrt(f16vec4);"
 3870|       |
 3871|     12|            "float16_t abs(float16_t);"
 3872|     12|            "f16vec2   abs(f16vec2);"
 3873|     12|            "f16vec3   abs(f16vec3);"
 3874|     12|            "f16vec4   abs(f16vec4);"
 3875|       |
 3876|     12|            "float16_t sign(float16_t);"
 3877|     12|            "f16vec2   sign(f16vec2);"
 3878|     12|            "f16vec3   sign(f16vec3);"
 3879|     12|            "f16vec4   sign(f16vec4);"
 3880|       |
 3881|     12|            "float16_t floor(float16_t);"
 3882|     12|            "f16vec2   floor(f16vec2);"
 3883|     12|            "f16vec3   floor(f16vec3);"
 3884|     12|            "f16vec4   floor(f16vec4);"
 3885|       |
 3886|     12|            "float16_t trunc(float16_t);"
 3887|     12|            "f16vec2   trunc(f16vec2);"
 3888|     12|            "f16vec3   trunc(f16vec3);"
 3889|     12|            "f16vec4   trunc(f16vec4);"
 3890|       |
 3891|     12|            "float16_t round(float16_t);"
 3892|     12|            "f16vec2   round(f16vec2);"
 3893|     12|            "f16vec3   round(f16vec3);"
 3894|     12|            "f16vec4   round(f16vec4);"
 3895|       |
 3896|     12|            "float16_t roundEven(float16_t);"
 3897|     12|            "f16vec2   roundEven(f16vec2);"
 3898|     12|            "f16vec3   roundEven(f16vec3);"
 3899|     12|            "f16vec4   roundEven(f16vec4);"
 3900|       |
 3901|     12|            "float16_t ceil(float16_t);"
 3902|     12|            "f16vec2   ceil(f16vec2);"
 3903|     12|            "f16vec3   ceil(f16vec3);"
 3904|     12|            "f16vec4   ceil(f16vec4);"
 3905|       |
 3906|     12|            "float16_t fract(float16_t);"
 3907|     12|            "f16vec2   fract(f16vec2);"
 3908|     12|            "f16vec3   fract(f16vec3);"
 3909|     12|            "f16vec4   fract(f16vec4);"
 3910|       |
 3911|     12|            "float16_t mod(float16_t, float16_t);"
 3912|     12|            "f16vec2   mod(f16vec2,   float16_t);"
 3913|     12|            "f16vec3   mod(f16vec3,   float16_t);"
 3914|     12|            "f16vec4   mod(f16vec4,   float16_t);"
 3915|     12|            "f16vec2   mod(f16vec2,   f16vec2);"
 3916|     12|            "f16vec3   mod(f16vec3,   f16vec3);"
 3917|     12|            "f16vec4   mod(f16vec4,   f16vec4);"
 3918|       |
 3919|     12|            "float16_t modf(float16_t, out float16_t);"
 3920|     12|            "f16vec2   modf(f16vec2,   out f16vec2);"
 3921|     12|            "f16vec3   modf(f16vec3,   out f16vec3);"
 3922|     12|            "f16vec4   modf(f16vec4,   out f16vec4);"
 3923|       |
 3924|     12|            "float16_t min(float16_t, float16_t);"
 3925|     12|            "f16vec2   min(f16vec2,   float16_t);"
 3926|     12|            "f16vec3   min(f16vec3,   float16_t);"
 3927|     12|            "f16vec4   min(f16vec4,   float16_t);"
 3928|     12|            "f16vec2   min(f16vec2,   f16vec2);"
 3929|     12|            "f16vec3   min(f16vec3,   f16vec3);"
 3930|     12|            "f16vec4   min(f16vec4,   f16vec4);"
 3931|       |
 3932|     12|            "float16_t max(float16_t, float16_t);"
 3933|     12|            "f16vec2   max(f16vec2,   float16_t);"
 3934|     12|            "f16vec3   max(f16vec3,   float16_t);"
 3935|     12|            "f16vec4   max(f16vec4,   float16_t);"
 3936|     12|            "f16vec2   max(f16vec2,   f16vec2);"
 3937|     12|            "f16vec3   max(f16vec3,   f16vec3);"
 3938|     12|            "f16vec4   max(f16vec4,   f16vec4);"
 3939|       |
 3940|     12|            "float16_t clamp(float16_t, float16_t, float16_t);"
 3941|     12|            "f16vec2   clamp(f16vec2,   float16_t, float16_t);"
 3942|     12|            "f16vec3   clamp(f16vec3,   float16_t, float16_t);"
 3943|     12|            "f16vec4   clamp(f16vec4,   float16_t, float16_t);"
 3944|     12|            "f16vec2   clamp(f16vec2,   f16vec2,   f16vec2);"
 3945|     12|            "f16vec3   clamp(f16vec3,   f16vec3,   f16vec3);"
 3946|     12|            "f16vec4   clamp(f16vec4,   f16vec4,   f16vec4);"
 3947|       |
 3948|     12|            "float16_t mix(float16_t, float16_t, float16_t);"
 3949|     12|            "f16vec2   mix(f16vec2,   f16vec2,   float16_t);"
 3950|     12|            "f16vec3   mix(f16vec3,   f16vec3,   float16_t);"
 3951|     12|            "f16vec4   mix(f16vec4,   f16vec4,   float16_t);"
 3952|     12|            "f16vec2   mix(f16vec2,   f16vec2,   f16vec2);"
 3953|     12|            "f16vec3   mix(f16vec3,   f16vec3,   f16vec3);"
 3954|     12|            "f16vec4   mix(f16vec4,   f16vec4,   f16vec4);"
 3955|     12|            "float16_t mix(float16_t, float16_t, bool);"
 3956|     12|            "f16vec2   mix(f16vec2,   f16vec2,   bvec2);"
 3957|     12|            "f16vec3   mix(f16vec3,   f16vec3,   bvec3);"
 3958|     12|            "f16vec4   mix(f16vec4,   f16vec4,   bvec4);"
 3959|       |
 3960|     12|            "float16_t step(float16_t, float16_t);"
 3961|     12|            "f16vec2   step(f16vec2,   f16vec2);"
 3962|     12|            "f16vec3   step(f16vec3,   f16vec3);"
 3963|     12|            "f16vec4   step(f16vec4,   f16vec4);"
 3964|     12|            "f16vec2   step(float16_t, f16vec2);"
 3965|     12|            "f16vec3   step(float16_t, f16vec3);"
 3966|     12|            "f16vec4   step(float16_t, f16vec4);"
 3967|       |
 3968|     12|            "float16_t smoothstep(float16_t, float16_t, float16_t);"
 3969|     12|            "f16vec2   smoothstep(f16vec2,   f16vec2,   f16vec2);"
 3970|     12|            "f16vec3   smoothstep(f16vec3,   f16vec3,   f16vec3);"
 3971|     12|            "f16vec4   smoothstep(f16vec4,   f16vec4,   f16vec4);"
 3972|     12|            "f16vec2   smoothstep(float16_t, float16_t, f16vec2);"
 3973|     12|            "f16vec3   smoothstep(float16_t, float16_t, f16vec3);"
 3974|     12|            "f16vec4   smoothstep(float16_t, float16_t, f16vec4);"
 3975|       |
 3976|     12|            "bool  isnan(float16_t);"
 3977|     12|            "bvec2 isnan(f16vec2);"
 3978|     12|            "bvec3 isnan(f16vec3);"
 3979|     12|            "bvec4 isnan(f16vec4);"
 3980|       |
 3981|     12|            "bool  isinf(float16_t);"
 3982|     12|            "bvec2 isinf(f16vec2);"
 3983|     12|            "bvec3 isinf(f16vec3);"
 3984|     12|            "bvec4 isinf(f16vec4);"
 3985|       |
 3986|     12|            "float16_t fma(float16_t, float16_t, float16_t);"
 3987|     12|            "f16vec2   fma(f16vec2,   f16vec2,   f16vec2);"
 3988|     12|            "f16vec3   fma(f16vec3,   f16vec3,   f16vec3);"
 3989|     12|            "f16vec4   fma(f16vec4,   f16vec4,   f16vec4);"
 3990|       |
 3991|     12|            "float16_t frexp(float16_t, out int);"
 3992|     12|            "f16vec2   frexp(f16vec2,   out ivec2);"
 3993|     12|            "f16vec3   frexp(f16vec3,   out ivec3);"
 3994|     12|            "f16vec4   frexp(f16vec4,   out ivec4);"
 3995|       |
 3996|     12|            "float16_t ldexp(float16_t, in int);"
 3997|     12|            "f16vec2   ldexp(f16vec2,   in ivec2);"
 3998|     12|            "f16vec3   ldexp(f16vec3,   in ivec3);"
 3999|     12|            "f16vec4   ldexp(f16vec4,   in ivec4);"
 4000|       |
 4001|     12|            "uint    packFloat2x16(f16vec2);"
 4002|     12|            "f16vec2 unpackFloat2x16(uint);"
 4003|       |
 4004|     12|            "float16_t length(float16_t);"
 4005|     12|            "float16_t length(f16vec2);"
 4006|     12|            "float16_t length(f16vec3);"
 4007|     12|            "float16_t length(f16vec4);"
 4008|       |
 4009|     12|            "float16_t distance(float16_t, float16_t);"
 4010|     12|            "float16_t distance(f16vec2,   f16vec2);"
 4011|     12|            "float16_t distance(f16vec3,   f16vec3);"
 4012|     12|            "float16_t distance(f16vec4,   f16vec4);"
 4013|       |
 4014|     12|            "float16_t dot(float16_t, float16_t);"
 4015|     12|            "float16_t dot(f16vec2,   f16vec2);"
 4016|     12|            "float16_t dot(f16vec3,   f16vec3);"
 4017|     12|            "float16_t dot(f16vec4,   f16vec4);"
 4018|       |
 4019|     12|            "f16vec3 cross(f16vec3, f16vec3);"
 4020|       |
 4021|     12|            "float16_t normalize(float16_t);"
 4022|     12|            "f16vec2   normalize(f16vec2);"
 4023|     12|            "f16vec3   normalize(f16vec3);"
 4024|     12|            "f16vec4   normalize(f16vec4);"
 4025|       |
 4026|     12|            "float16_t faceforward(float16_t, float16_t, float16_t);"
 4027|     12|            "f16vec2   faceforward(f16vec2,   f16vec2,   f16vec2);"
 4028|     12|            "f16vec3   faceforward(f16vec3,   f16vec3,   f16vec3);"
 4029|     12|            "f16vec4   faceforward(f16vec4,   f16vec4,   f16vec4);"
 4030|       |
 4031|     12|            "float16_t reflect(float16_t, float16_t);"
 4032|     12|            "f16vec2   reflect(f16vec2,   f16vec2);"
 4033|     12|            "f16vec3   reflect(f16vec3,   f16vec3);"
 4034|     12|            "f16vec4   reflect(f16vec4,   f16vec4);"
 4035|       |
 4036|     12|            "float16_t refract(float16_t, float16_t, float16_t);"
 4037|     12|            "f16vec2   refract(f16vec2,   f16vec2,   float16_t);"
 4038|     12|            "f16vec3   refract(f16vec3,   f16vec3,   float16_t);"
 4039|     12|            "f16vec4   refract(f16vec4,   f16vec4,   float16_t);"
 4040|       |
 4041|     12|            "f16mat2   matrixCompMult(f16mat2,   f16mat2);"
 4042|     12|            "f16mat3   matrixCompMult(f16mat3,   f16mat3);"
 4043|     12|            "f16mat4   matrixCompMult(f16mat4,   f16mat4);"
 4044|     12|            "f16mat2x3 matrixCompMult(f16mat2x3, f16mat2x3);"
 4045|     12|            "f16mat2x4 matrixCompMult(f16mat2x4, f16mat2x4);"
 4046|     12|            "f16mat3x2 matrixCompMult(f16mat3x2, f16mat3x2);"
 4047|     12|            "f16mat3x4 matrixCompMult(f16mat3x4, f16mat3x4);"
 4048|     12|            "f16mat4x2 matrixCompMult(f16mat4x2, f16mat4x2);"
 4049|     12|            "f16mat4x3 matrixCompMult(f16mat4x3, f16mat4x3);"
 4050|       |
 4051|     12|            "f16mat2   outerProduct(f16vec2, f16vec2);"
 4052|     12|            "f16mat3   outerProduct(f16vec3, f16vec3);"
 4053|     12|            "f16mat4   outerProduct(f16vec4, f16vec4);"
 4054|     12|            "f16mat2x3 outerProduct(f16vec3, f16vec2);"
 4055|     12|            "f16mat3x2 outerProduct(f16vec2, f16vec3);"
 4056|     12|            "f16mat2x4 outerProduct(f16vec4, f16vec2);"
 4057|     12|            "f16mat4x2 outerProduct(f16vec2, f16vec4);"
 4058|     12|            "f16mat3x4 outerProduct(f16vec4, f16vec3);"
 4059|     12|            "f16mat4x3 outerProduct(f16vec3, f16vec4);"
 4060|       |
 4061|     12|            "f16mat2   transpose(f16mat2);"
 4062|     12|            "f16mat3   transpose(f16mat3);"
 4063|     12|            "f16mat4   transpose(f16mat4);"
 4064|     12|            "f16mat2x3 transpose(f16mat3x2);"
 4065|     12|            "f16mat3x2 transpose(f16mat2x3);"
 4066|     12|            "f16mat2x4 transpose(f16mat4x2);"
 4067|     12|            "f16mat4x2 transpose(f16mat2x4);"
 4068|     12|            "f16mat3x4 transpose(f16mat4x3);"
 4069|     12|            "f16mat4x3 transpose(f16mat3x4);"
 4070|       |
 4071|     12|            "float16_t determinant(f16mat2);"
 4072|     12|            "float16_t determinant(f16mat3);"
 4073|     12|            "float16_t determinant(f16mat4);"
 4074|       |
 4075|     12|            "f16mat2 inverse(f16mat2);"
 4076|     12|            "f16mat3 inverse(f16mat3);"
 4077|     12|            "f16mat4 inverse(f16mat4);"
 4078|       |
 4079|     12|            "bvec2 lessThan(f16vec2, f16vec2);"
 4080|     12|            "bvec3 lessThan(f16vec3, f16vec3);"
 4081|     12|            "bvec4 lessThan(f16vec4, f16vec4);"
 4082|       |
 4083|     12|            "bvec2 lessThanEqual(f16vec2, f16vec2);"
 4084|     12|            "bvec3 lessThanEqual(f16vec3, f16vec3);"
 4085|     12|            "bvec4 lessThanEqual(f16vec4, f16vec4);"
 4086|       |
 4087|     12|            "bvec2 greaterThan(f16vec2, f16vec2);"
 4088|     12|            "bvec3 greaterThan(f16vec3, f16vec3);"
 4089|     12|            "bvec4 greaterThan(f16vec4, f16vec4);"
 4090|       |
 4091|     12|            "bvec2 greaterThanEqual(f16vec2, f16vec2);"
 4092|     12|            "bvec3 greaterThanEqual(f16vec3, f16vec3);"
 4093|     12|            "bvec4 greaterThanEqual(f16vec4, f16vec4);"
 4094|       |
 4095|     12|            "bvec2 equal(f16vec2, f16vec2);"
 4096|     12|            "bvec3 equal(f16vec3, f16vec3);"
 4097|     12|            "bvec4 equal(f16vec4, f16vec4);"
 4098|       |
 4099|     12|            "bvec2 notEqual(f16vec2, f16vec2);"
 4100|     12|            "bvec3 notEqual(f16vec3, f16vec3);"
 4101|     12|            "bvec4 notEqual(f16vec4, f16vec4);"
 4102|       |
 4103|     12|            "bfloat16_t dot(bfloat16_t, bfloat16_t);"
 4104|     12|            "bfloat16_t dot(bf16vec2,   bf16vec2);"
 4105|     12|            "bfloat16_t dot(bf16vec3,   bf16vec3);"
 4106|     12|            "bfloat16_t dot(bf16vec4,   bf16vec4);"
 4107|       |
 4108|     12|            "int16_t  bfloat16BitsToIntEXT(bfloat16_t value);"
 4109|     12|            "i16vec2  bfloat16BitsToIntEXT(bf16vec2 value);"
 4110|     12|            "i16vec3  bfloat16BitsToIntEXT(bf16vec3 value);"
 4111|     12|            "i16vec4  bfloat16BitsToIntEXT(bf16vec4 value);"
 4112|       |
 4113|     12|            "uint16_t bfloat16BitsToUintEXT(bfloat16_t value);"
 4114|     12|            "u16vec2  bfloat16BitsToUintEXT(bf16vec2 value);"
 4115|     12|            "u16vec3  bfloat16BitsToUintEXT(bf16vec3 value);"
 4116|     12|            "u16vec4  bfloat16BitsToUintEXT(bf16vec4 value);"
 4117|       |
 4118|     12|            "bfloat16_t intBitsToBFloat16EXT(int16_t value);"
 4119|     12|            "bf16vec2   intBitsToBFloat16EXT(i16vec2 value);"
 4120|     12|            "bf16vec3   intBitsToBFloat16EXT(i16vec3 value);"
 4121|     12|            "bf16vec4   intBitsToBFloat16EXT(i16vec4 value);"
 4122|       |
 4123|     12|            "bfloat16_t uintBitsToBFloat16EXT(uint16_t value);"
 4124|     12|            "bf16vec2   uintBitsToBFloat16EXT(u16vec2 value);"
 4125|     12|            "bf16vec3   uintBitsToBFloat16EXT(u16vec3 value);"
 4126|     12|            "bf16vec4   uintBitsToBFloat16EXT(u16vec4 value);"
 4127|       |
 4128|     12|            "int8_t  floate5m2BitsToIntEXT(floate5m2_t value);"
 4129|     12|            "i8vec2  floate5m2BitsToIntEXT(fe5m2vec2 value);"
 4130|     12|            "i8vec3  floate5m2BitsToIntEXT(fe5m2vec3 value);"
 4131|     12|            "i8vec4  floate5m2BitsToIntEXT(fe5m2vec4 value);"
 4132|       |
 4133|     12|            "uint8_t floate5m2BitsToUintEXT(floate5m2_t value);"
 4134|     12|            "u8vec2  floate5m2BitsToUintEXT(fe5m2vec2 value);"
 4135|     12|            "u8vec3  floate5m2BitsToUintEXT(fe5m2vec3 value);"
 4136|     12|            "u8vec4  floate5m2BitsToUintEXT(fe5m2vec4 value);"
 4137|       |
 4138|     12|            "floate5m2_t intBitsToFloate5m2EXT(int8_t value);"
 4139|     12|            "fe5m2vec2   intBitsToFloate5m2EXT(i8vec2 value);"
 4140|     12|            "fe5m2vec3   intBitsToFloate5m2EXT(i8vec3 value);"
 4141|     12|            "fe5m2vec4   intBitsToFloate5m2EXT(i8vec4 value);"
 4142|       |
 4143|     12|            "floate5m2_t uintBitsToFloate5m2EXT(uint8_t value);"
 4144|     12|            "fe5m2vec2   uintBitsToFloate5m2EXT(u8vec2 value);"
 4145|     12|            "fe5m2vec3   uintBitsToFloate5m2EXT(u8vec3 value);"
 4146|     12|            "fe5m2vec4   uintBitsToFloate5m2EXT(u8vec4 value);"
 4147|       |
 4148|     12|            "int8_t  floate4m3BitsToIntEXT(floate4m3_t value);"
 4149|     12|            "i8vec2  floate4m3BitsToIntEXT(fe4m3vec2 value);"
 4150|     12|            "i8vec3  floate4m3BitsToIntEXT(fe4m3vec3 value);"
 4151|     12|            "i8vec4  floate4m3BitsToIntEXT(fe4m3vec4 value);"
 4152|       |
 4153|     12|            "uint8_t floate4m3BitsToUintEXT(floate4m3_t value);"
 4154|     12|            "u8vec2  floate4m3BitsToUintEXT(fe4m3vec2 value);"
 4155|     12|            "u8vec3  floate4m3BitsToUintEXT(fe4m3vec3 value);"
 4156|     12|            "u8vec4  floate4m3BitsToUintEXT(fe4m3vec4 value);"
 4157|       |
 4158|     12|            "floate4m3_t intBitsToFloate4m3EXT(int8_t value);"
 4159|     12|            "fe4m3vec2   intBitsToFloate4m3EXT(i8vec2 value);"
 4160|     12|            "fe4m3vec3   intBitsToFloate4m3EXT(i8vec3 value);"
 4161|     12|            "fe4m3vec4   intBitsToFloate4m3EXT(i8vec4 value);"
 4162|       |
 4163|     12|            "floate4m3_t uintBitsToFloate4m3EXT(uint8_t value);"
 4164|     12|            "fe4m3vec2   uintBitsToFloate4m3EXT(u8vec2 value);"
 4165|     12|            "fe4m3vec3   uintBitsToFloate4m3EXT(u8vec3 value);"
 4166|     12|            "fe4m3vec4   uintBitsToFloate4m3EXT(u8vec4 value);"
 4167|       |
 4168|     12|            "void saturatedConvertEXT();"
 4169|       |
 4170|     12|            "int8_t  floatue8m0BitsToIntEXT(floatue8m0_t value);"
 4171|     12|            "i8vec2  floatue8m0BitsToIntEXT(fue8m0vec2 value);"
 4172|     12|            "i8vec3  floatue8m0BitsToIntEXT(fue8m0vec3 value);"
 4173|     12|            "i8vec4  floatue8m0BitsToIntEXT(fue8m0vec4 value);"
 4174|       |
 4175|     12|            "uint8_t floatue8m0BitsToUintEXT(floatue8m0_t value);"
 4176|     12|            "u8vec2  floatue8m0BitsToUintEXT(fue8m0vec2 value);"
 4177|     12|            "u8vec3  floatue8m0BitsToUintEXT(fue8m0vec3 value);"
 4178|     12|            "u8vec4  floatue8m0BitsToUintEXT(fue8m0vec4 value);"
 4179|       |
 4180|     12|            "floatue8m0_t intBitsToFloatue8m0EXT(int8_t value);"
 4181|     12|            "fue8m0vec2   intBitsToFloatue8m0EXT(i8vec2 value);"
 4182|     12|            "fue8m0vec3   intBitsToFloatue8m0EXT(i8vec3 value);"
 4183|     12|            "fue8m0vec4   intBitsToFloatue8m0EXT(i8vec4 value);"
 4184|       |
 4185|     12|            "floatue8m0_t uintBitsToFloatue8m0EXT(uint8_t value);"
 4186|     12|            "fue8m0vec2   uintBitsToFloatue8m0EXT(u8vec2 value);"
 4187|     12|            "fue8m0vec3   uintBitsToFloatue8m0EXT(u8vec3 value);"
 4188|     12|            "fue8m0vec4   uintBitsToFloatue8m0EXT(u8vec4 value);"
 4189|       |
 4190|     12|            "int8_t  floatmxint8BitsToIntEXT(floatmxint8_t value);"
 4191|     12|            "i8vec2  floatmxint8BitsToIntEXT(fmxint8vec2 value);"
 4192|     12|            "i8vec3  floatmxint8BitsToIntEXT(fmxint8vec3 value);"
 4193|     12|            "i8vec4  floatmxint8BitsToIntEXT(fmxint8vec4 value);"
 4194|       |
 4195|     12|            "uint8_t floatmxint8BitsToUintEXT(floatmxint8_t value);"
 4196|     12|            "u8vec2  floatmxint8BitsToUintEXT(fmxint8vec2 value);"
 4197|     12|            "u8vec3  floatmxint8BitsToUintEXT(fmxint8vec3 value);"
 4198|     12|            "u8vec4  floatmxint8BitsToUintEXT(fmxint8vec4 value);"
 4199|       |
 4200|     12|            "floatmxint8_t intBitsToFloatmxint8EXT(int8_t value);"
 4201|     12|            "fmxint8vec2   intBitsToFloatmxint8EXT(i8vec2 value);"
 4202|     12|            "fmxint8vec3   intBitsToFloatmxint8EXT(i8vec3 value);"
 4203|     12|            "fmxint8vec4   intBitsToFloatmxint8EXT(i8vec4 value);"
 4204|       |
 4205|     12|            "floatmxint8_t uintBitsToFloatmxint8EXT(uint8_t value);"
 4206|     12|            "fmxint8vec2   uintBitsToFloatmxint8EXT(u8vec2 value);"
 4207|     12|            "fmxint8vec3   uintBitsToFloatmxint8EXT(u8vec3 value);"
 4208|     12|            "fmxint8vec4   uintBitsToFloatmxint8EXT(u8vec4 value);"
 4209|       |
 4210|     12|            "fe2m1vec2               unpackFloat2xfe2m1EXT(uint8_t value);"
 4211|     12|            "fe2m1vec4               unpackFloat4xfe2m1EXT(uint16_t value);"
 4212|     12|            "vector<floate2m1_t, 8>  unpackFloat8xfe2m1EXT(uint32_t value);"
 4213|     12|            "vector<floate2m1_t, 16> unpackFloat16xfe2m1EXT(u32vec2 value);"
 4214|       |
 4215|     12|            "uint8_t                 packFloat2xfe2m1EXT(fe2m1vec2 value);"
 4216|     12|            "uint16_t                packFloat4xfe2m1EXT(fe2m1vec4 value);"
 4217|     12|            "uint32_t                packFloat8xfe2m1EXT(vector<floate2m1_t, 8> value);"
 4218|     12|            "u32vec2                 packFloat16xfe2m1EXT(vector<floate2m1_t, 16> value);"
 4219|       |
 4220|     12|            "fe3m2vec4               unpackFloat4xfe3m2EXT(u8vec3 value);"
 4221|     12|            "vector<floate3m2_t, 8>  unpackFloat8xfe3m2EXT(u16vec3 value);"
 4222|     12|            "vector<floate3m2_t, 16> unpackFloat16xfe3m2EXT(u32vec3 value);"
 4223|       |
 4224|     12|            "u8vec3                  packFloat4xfe3m2EXT(fe3m2vec4 value);"
 4225|     12|            "u16vec3                 packFloat8xfe3m2EXT(vector<floate3m2_t, 8> value);"
 4226|     12|            "u32vec3                 packFloat16xfe3m2EXT(vector<floate3m2_t, 16> value);"
 4227|       |
 4228|     12|            "fe2m3vec4               unpackFloat4xfe2m3EXT(u8vec3 value);"
 4229|     12|            "vector<floate2m3_t, 8>  unpackFloat8xfe2m3EXT(u16vec3 value);"
 4230|     12|            "vector<floate2m3_t, 16> unpackFloat16xfe2m3EXT(u32vec3 value);"
 4231|       |
 4232|     12|            "u8vec3                  packFloat4xfe2m3EXT(fe2m3vec4 value);"
 4233|     12|            "u16vec3                 packFloat8xfe2m3EXT(vector<floate2m3_t, 8> value);"
 4234|     12|            "u32vec3                 packFloat16xfe2m3EXT(vector<floate2m3_t, 16> value);"
 4235|       |
 4236|     12|            "floate2m1_t             bitcastExtractfe2m1EXT(uint8_t, uint);"
 4237|     12|            "fe2m1vec2               bitcastExtractfe2m1EXT(u8vec2, uint);"
 4238|     12|            "fe2m1vec3               bitcastExtractfe2m1EXT(u8vec3, uint);"
 4239|     12|            "fe2m1vec4               bitcastExtractfe2m1EXT(u8vec4, uint);"
 4240|       |
 4241|     12|            "floate3m2_t             bitcastExtractfe3m2EXT(uint8_t, uint);"
 4242|     12|            "fe3m2vec2               bitcastExtractfe3m2EXT(u8vec2, uint);"
 4243|     12|            "fe3m2vec3               bitcastExtractfe3m2EXT(u8vec3, uint);"
 4244|     12|            "fe3m2vec4               bitcastExtractfe3m2EXT(u8vec4, uint);"
 4245|       |
 4246|     12|            "floate2m3_t             bitcastExtractfe2m3EXT(uint8_t, uint);"
 4247|     12|            "fe2m3vec2               bitcastExtractfe2m3EXT(u8vec2, uint);"
 4248|     12|            "fe2m3vec3               bitcastExtractfe2m3EXT(u8vec3, uint);"
 4249|     12|            "fe2m3vec4               bitcastExtractfe2m3EXT(u8vec4, uint);"
 4250|       |
 4251|     12|            "\n");
 4252|     12|    }
 4253|       |
 4254|       |    // Explicit types
 4255|    124|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (4255:10): [True: 124, False: 0]
  |  Branch (4255:35): [True: 12, False: 112]
  |  Branch (4255:55): [True: 0, False: 112]
  |  Branch (4255:80): [True: 0, False: 0]
  ------------------
 4256|     12|        commonBuiltins.append(
 4257|     12|            "int8_t abs(int8_t);"
 4258|     12|            "i8vec2 abs(i8vec2);"
 4259|     12|            "i8vec3 abs(i8vec3);"
 4260|     12|            "i8vec4 abs(i8vec4);"
 4261|       |
 4262|     12|            "int8_t sign(int8_t);"
 4263|     12|            "i8vec2 sign(i8vec2);"
 4264|     12|            "i8vec3 sign(i8vec3);"
 4265|     12|            "i8vec4 sign(i8vec4);"
 4266|       |
 4267|     12|            "int8_t min(int8_t x, int8_t y);"
 4268|     12|            "i8vec2 min(i8vec2 x, int8_t y);"
 4269|     12|            "i8vec3 min(i8vec3 x, int8_t y);"
 4270|     12|            "i8vec4 min(i8vec4 x, int8_t y);"
 4271|     12|            "i8vec2 min(i8vec2 x, i8vec2 y);"
 4272|     12|            "i8vec3 min(i8vec3 x, i8vec3 y);"
 4273|     12|            "i8vec4 min(i8vec4 x, i8vec4 y);"
 4274|       |
 4275|     12|            "uint8_t min(uint8_t x, uint8_t y);"
 4276|     12|            "u8vec2 min(u8vec2 x, uint8_t y);"
 4277|     12|            "u8vec3 min(u8vec3 x, uint8_t y);"
 4278|     12|            "u8vec4 min(u8vec4 x, uint8_t y);"
 4279|     12|            "u8vec2 min(u8vec2 x, u8vec2 y);"
 4280|     12|            "u8vec3 min(u8vec3 x, u8vec3 y);"
 4281|     12|            "u8vec4 min(u8vec4 x, u8vec4 y);"
 4282|       |
 4283|     12|            "int8_t max(int8_t x, int8_t y);"
 4284|     12|            "i8vec2 max(i8vec2 x, int8_t y);"
 4285|     12|            "i8vec3 max(i8vec3 x, int8_t y);"
 4286|     12|            "i8vec4 max(i8vec4 x, int8_t y);"
 4287|     12|            "i8vec2 max(i8vec2 x, i8vec2 y);"
 4288|     12|            "i8vec3 max(i8vec3 x, i8vec3 y);"
 4289|     12|            "i8vec4 max(i8vec4 x, i8vec4 y);"
 4290|       |
 4291|     12|            "uint8_t max(uint8_t x, uint8_t y);"
 4292|     12|            "u8vec2 max(u8vec2 x, uint8_t y);"
 4293|     12|            "u8vec3 max(u8vec3 x, uint8_t y);"
 4294|     12|            "u8vec4 max(u8vec4 x, uint8_t y);"
 4295|     12|            "u8vec2 max(u8vec2 x, u8vec2 y);"
 4296|     12|            "u8vec3 max(u8vec3 x, u8vec3 y);"
 4297|     12|            "u8vec4 max(u8vec4 x, u8vec4 y);"
 4298|       |
 4299|     12|            "int8_t    clamp(int8_t x, int8_t minVal, int8_t maxVal);"
 4300|     12|            "i8vec2  clamp(i8vec2  x, int8_t minVal, int8_t maxVal);"
 4301|     12|            "i8vec3  clamp(i8vec3  x, int8_t minVal, int8_t maxVal);"
 4302|     12|            "i8vec4  clamp(i8vec4  x, int8_t minVal, int8_t maxVal);"
 4303|     12|            "i8vec2  clamp(i8vec2  x, i8vec2  minVal, i8vec2  maxVal);"
 4304|     12|            "i8vec3  clamp(i8vec3  x, i8vec3  minVal, i8vec3  maxVal);"
 4305|     12|            "i8vec4  clamp(i8vec4  x, i8vec4  minVal, i8vec4  maxVal);"
 4306|       |
 4307|     12|            "uint8_t   clamp(uint8_t x, uint8_t minVal, uint8_t maxVal);"
 4308|     12|            "u8vec2  clamp(u8vec2  x, uint8_t minVal, uint8_t maxVal);"
 4309|     12|            "u8vec3  clamp(u8vec3  x, uint8_t minVal, uint8_t maxVal);"
 4310|     12|            "u8vec4  clamp(u8vec4  x, uint8_t minVal, uint8_t maxVal);"
 4311|     12|            "u8vec2  clamp(u8vec2  x, u8vec2  minVal, u8vec2  maxVal);"
 4312|     12|            "u8vec3  clamp(u8vec3  x, u8vec3  minVal, u8vec3  maxVal);"
 4313|     12|            "u8vec4  clamp(u8vec4  x, u8vec4  minVal, u8vec4  maxVal);"
 4314|       |
 4315|     12|            "int8_t  mix(int8_t,  int8_t,  bool);"
 4316|     12|            "i8vec2  mix(i8vec2,  i8vec2,  bvec2);"
 4317|     12|            "i8vec3  mix(i8vec3,  i8vec3,  bvec3);"
 4318|     12|            "i8vec4  mix(i8vec4,  i8vec4,  bvec4);"
 4319|     12|            "uint8_t mix(uint8_t, uint8_t, bool);"
 4320|     12|            "u8vec2  mix(u8vec2,  u8vec2,  bvec2);"
 4321|     12|            "u8vec3  mix(u8vec3,  u8vec3,  bvec3);"
 4322|     12|            "u8vec4  mix(u8vec4,  u8vec4,  bvec4);"
 4323|       |
 4324|     12|            "bvec2 lessThan(i8vec2, i8vec2);"
 4325|     12|            "bvec3 lessThan(i8vec3, i8vec3);"
 4326|     12|            "bvec4 lessThan(i8vec4, i8vec4);"
 4327|     12|            "bvec2 lessThan(u8vec2, u8vec2);"
 4328|     12|            "bvec3 lessThan(u8vec3, u8vec3);"
 4329|     12|            "bvec4 lessThan(u8vec4, u8vec4);"
 4330|       |
 4331|     12|            "bvec2 lessThanEqual(i8vec2, i8vec2);"
 4332|     12|            "bvec3 lessThanEqual(i8vec3, i8vec3);"
 4333|     12|            "bvec4 lessThanEqual(i8vec4, i8vec4);"
 4334|     12|            "bvec2 lessThanEqual(u8vec2, u8vec2);"
 4335|     12|            "bvec3 lessThanEqual(u8vec3, u8vec3);"
 4336|     12|            "bvec4 lessThanEqual(u8vec4, u8vec4);"
 4337|       |
 4338|     12|            "bvec2 greaterThan(i8vec2, i8vec2);"
 4339|     12|            "bvec3 greaterThan(i8vec3, i8vec3);"
 4340|     12|            "bvec4 greaterThan(i8vec4, i8vec4);"
 4341|     12|            "bvec2 greaterThan(u8vec2, u8vec2);"
 4342|     12|            "bvec3 greaterThan(u8vec3, u8vec3);"
 4343|     12|            "bvec4 greaterThan(u8vec4, u8vec4);"
 4344|       |
 4345|     12|            "bvec2 greaterThanEqual(i8vec2, i8vec2);"
 4346|     12|            "bvec3 greaterThanEqual(i8vec3, i8vec3);"
 4347|     12|            "bvec4 greaterThanEqual(i8vec4, i8vec4);"
 4348|     12|            "bvec2 greaterThanEqual(u8vec2, u8vec2);"
 4349|     12|            "bvec3 greaterThanEqual(u8vec3, u8vec3);"
 4350|     12|            "bvec4 greaterThanEqual(u8vec4, u8vec4);"
 4351|       |
 4352|     12|            "bvec2 equal(i8vec2, i8vec2);"
 4353|     12|            "bvec3 equal(i8vec3, i8vec3);"
 4354|     12|            "bvec4 equal(i8vec4, i8vec4);"
 4355|     12|            "bvec2 equal(u8vec2, u8vec2);"
 4356|     12|            "bvec3 equal(u8vec3, u8vec3);"
 4357|     12|            "bvec4 equal(u8vec4, u8vec4);"
 4358|       |
 4359|     12|            "bvec2 notEqual(i8vec2, i8vec2);"
 4360|     12|            "bvec3 notEqual(i8vec3, i8vec3);"
 4361|     12|            "bvec4 notEqual(i8vec4, i8vec4);"
 4362|     12|            "bvec2 notEqual(u8vec2, u8vec2);"
 4363|     12|            "bvec3 notEqual(u8vec3, u8vec3);"
 4364|     12|            "bvec4 notEqual(u8vec4, u8vec4);"
 4365|       |
 4366|     12|            "  int8_t bitfieldExtract(  int8_t, int8_t, int8_t);"
 4367|     12|            "i8vec2 bitfieldExtract(i8vec2, int8_t, int8_t);"
 4368|     12|            "i8vec3 bitfieldExtract(i8vec3, int8_t, int8_t);"
 4369|     12|            "i8vec4 bitfieldExtract(i8vec4, int8_t, int8_t);"
 4370|       |
 4371|     12|            " uint8_t bitfieldExtract( uint8_t, int8_t, int8_t);"
 4372|     12|            "u8vec2 bitfieldExtract(u8vec2, int8_t, int8_t);"
 4373|     12|            "u8vec3 bitfieldExtract(u8vec3, int8_t, int8_t);"
 4374|     12|            "u8vec4 bitfieldExtract(u8vec4, int8_t, int8_t);"
 4375|       |
 4376|     12|            "  int8_t bitfieldInsert(  int8_t base,   int8_t, int8_t, int8_t);"
 4377|     12|            "i8vec2 bitfieldInsert(i8vec2 base, i8vec2, int8_t, int8_t);"
 4378|     12|            "i8vec3 bitfieldInsert(i8vec3 base, i8vec3, int8_t, int8_t);"
 4379|     12|            "i8vec4 bitfieldInsert(i8vec4 base, i8vec4, int8_t, int8_t);"
 4380|       |
 4381|     12|            " uint8_t bitfieldInsert( uint8_t base,  uint8_t, int8_t, int8_t);"
 4382|     12|            "u8vec2 bitfieldInsert(u8vec2 base, u8vec2, int8_t, int8_t);"
 4383|     12|            "u8vec3 bitfieldInsert(u8vec3 base, u8vec3, int8_t, int8_t);"
 4384|     12|            "u8vec4 bitfieldInsert(u8vec4 base, u8vec4, int8_t, int8_t);"
 4385|       |
 4386|     12|            "  int8_t bitCount(  int8_t);"
 4387|     12|            "i8vec2 bitCount(i8vec2);"
 4388|     12|            "i8vec3 bitCount(i8vec3);"
 4389|     12|            "i8vec4 bitCount(i8vec4);"
 4390|       |
 4391|     12|            "  int8_t bitCount( uint8_t);"
 4392|     12|            "i8vec2 bitCount(u8vec2);"
 4393|     12|            "i8vec3 bitCount(u8vec3);"
 4394|     12|            "i8vec4 bitCount(u8vec4);"
 4395|       |
 4396|     12|            "int8_t bitfieldReverse(highp int8_t);"
 4397|     12|            "i8vec2 bitfieldReverse(highp i8vec2);"
 4398|     12|            "i8vec3 bitfieldReverse(highp i8vec3);"
 4399|     12|            "i8vec4 bitfieldReverse(highp i8vec4);"
 4400|       |
 4401|     12|            "uint8_t bitfieldReverse(highp uint8_t);"
 4402|     12|            "u8vec2  bitfieldReverse(highp u8vec2);"
 4403|     12|            "u8vec3  bitfieldReverse(highp u8vec3);"
 4404|     12|            "u8vec4  bitfieldReverse(highp u8vec4);"
 4405|       |
 4406|     12|            "  int8_t findLSB(  int8_t);"
 4407|     12|            "i8vec2 findLSB(i8vec2);"
 4408|     12|            "i8vec3 findLSB(i8vec3);"
 4409|     12|            "i8vec4 findLSB(i8vec4);"
 4410|       |
 4411|     12|            "  int8_t findLSB( uint8_t);"
 4412|     12|            "i8vec2 findLSB(u8vec2);"
 4413|     12|            "i8vec3 findLSB(u8vec3);"
 4414|     12|            "i8vec4 findLSB(u8vec4);"
 4415|       |
 4416|     12|            "  int8_t findMSB(  int8_t);"
 4417|     12|            "i8vec2 findMSB(i8vec2);"
 4418|     12|            "i8vec3 findMSB(i8vec3);"
 4419|     12|            "i8vec4 findMSB(i8vec4);"
 4420|       |
 4421|     12|            "  int8_t findMSB( uint8_t);"
 4422|     12|            "i8vec2 findMSB(u8vec2);"
 4423|     12|            "i8vec3 findMSB(u8vec3);"
 4424|     12|            "i8vec4 findMSB(u8vec4);"
 4425|       |
 4426|     12|            "int16_t abs(int16_t);"
 4427|     12|            "i16vec2 abs(i16vec2);"
 4428|     12|            "i16vec3 abs(i16vec3);"
 4429|     12|            "i16vec4 abs(i16vec4);"
 4430|       |
 4431|     12|            "int16_t sign(int16_t);"
 4432|     12|            "i16vec2 sign(i16vec2);"
 4433|     12|            "i16vec3 sign(i16vec3);"
 4434|     12|            "i16vec4 sign(i16vec4);"
 4435|       |
 4436|     12|            "int16_t min(int16_t x, int16_t y);"
 4437|     12|            "i16vec2 min(i16vec2 x, int16_t y);"
 4438|     12|            "i16vec3 min(i16vec3 x, int16_t y);"
 4439|     12|            "i16vec4 min(i16vec4 x, int16_t y);"
 4440|     12|            "i16vec2 min(i16vec2 x, i16vec2 y);"
 4441|     12|            "i16vec3 min(i16vec3 x, i16vec3 y);"
 4442|     12|            "i16vec4 min(i16vec4 x, i16vec4 y);"
 4443|       |
 4444|     12|            "uint16_t min(uint16_t x, uint16_t y);"
 4445|     12|            "u16vec2 min(u16vec2 x, uint16_t y);"
 4446|     12|            "u16vec3 min(u16vec3 x, uint16_t y);"
 4447|     12|            "u16vec4 min(u16vec4 x, uint16_t y);"
 4448|     12|            "u16vec2 min(u16vec2 x, u16vec2 y);"
 4449|     12|            "u16vec3 min(u16vec3 x, u16vec3 y);"
 4450|     12|            "u16vec4 min(u16vec4 x, u16vec4 y);"
 4451|       |
 4452|     12|            "int16_t max(int16_t x, int16_t y);"
 4453|     12|            "i16vec2 max(i16vec2 x, int16_t y);"
 4454|     12|            "i16vec3 max(i16vec3 x, int16_t y);"
 4455|     12|            "i16vec4 max(i16vec4 x, int16_t y);"
 4456|     12|            "i16vec2 max(i16vec2 x, i16vec2 y);"
 4457|     12|            "i16vec3 max(i16vec3 x, i16vec3 y);"
 4458|     12|            "i16vec4 max(i16vec4 x, i16vec4 y);"
 4459|       |
 4460|     12|            "uint16_t max(uint16_t x, uint16_t y);"
 4461|     12|            "u16vec2 max(u16vec2 x, uint16_t y);"
 4462|     12|            "u16vec3 max(u16vec3 x, uint16_t y);"
 4463|     12|            "u16vec4 max(u16vec4 x, uint16_t y);"
 4464|     12|            "u16vec2 max(u16vec2 x, u16vec2 y);"
 4465|     12|            "u16vec3 max(u16vec3 x, u16vec3 y);"
 4466|     12|            "u16vec4 max(u16vec4 x, u16vec4 y);"
 4467|       |
 4468|     12|            "int16_t    clamp(int16_t x, int16_t minVal, int16_t maxVal);"
 4469|     12|            "i16vec2  clamp(i16vec2  x, int16_t minVal, int16_t maxVal);"
 4470|     12|            "i16vec3  clamp(i16vec3  x, int16_t minVal, int16_t maxVal);"
 4471|     12|            "i16vec4  clamp(i16vec4  x, int16_t minVal, int16_t maxVal);"
 4472|     12|            "i16vec2  clamp(i16vec2  x, i16vec2  minVal, i16vec2  maxVal);"
 4473|     12|            "i16vec3  clamp(i16vec3  x, i16vec3  minVal, i16vec3  maxVal);"
 4474|     12|            "i16vec4  clamp(i16vec4  x, i16vec4  minVal, i16vec4  maxVal);"
 4475|       |
 4476|     12|            "uint16_t   clamp(uint16_t x, uint16_t minVal, uint16_t maxVal);"
 4477|     12|            "u16vec2  clamp(u16vec2  x, uint16_t minVal, uint16_t maxVal);"
 4478|     12|            "u16vec3  clamp(u16vec3  x, uint16_t minVal, uint16_t maxVal);"
 4479|     12|            "u16vec4  clamp(u16vec4  x, uint16_t minVal, uint16_t maxVal);"
 4480|     12|            "u16vec2  clamp(u16vec2  x, u16vec2  minVal, u16vec2  maxVal);"
 4481|     12|            "u16vec3  clamp(u16vec3  x, u16vec3  minVal, u16vec3  maxVal);"
 4482|     12|            "u16vec4  clamp(u16vec4  x, u16vec4  minVal, u16vec4  maxVal);"
 4483|       |
 4484|     12|            "int16_t  mix(int16_t,  int16_t,  bool);"
 4485|     12|            "i16vec2  mix(i16vec2,  i16vec2,  bvec2);"
 4486|     12|            "i16vec3  mix(i16vec3,  i16vec3,  bvec3);"
 4487|     12|            "i16vec4  mix(i16vec4,  i16vec4,  bvec4);"
 4488|     12|            "uint16_t mix(uint16_t, uint16_t, bool);"
 4489|     12|            "u16vec2  mix(u16vec2,  u16vec2,  bvec2);"
 4490|     12|            "u16vec3  mix(u16vec3,  u16vec3,  bvec3);"
 4491|     12|            "u16vec4  mix(u16vec4,  u16vec4,  bvec4);"
 4492|       |
 4493|     12|            "float16_t frexp(float16_t, out int16_t);"
 4494|     12|            "f16vec2   frexp(f16vec2,   out i16vec2);"
 4495|     12|            "f16vec3   frexp(f16vec3,   out i16vec3);"
 4496|     12|            "f16vec4   frexp(f16vec4,   out i16vec4);"
 4497|       |
 4498|     12|            "float16_t ldexp(float16_t, int16_t);"
 4499|     12|            "f16vec2   ldexp(f16vec2,   i16vec2);"
 4500|     12|            "f16vec3   ldexp(f16vec3,   i16vec3);"
 4501|     12|            "f16vec4   ldexp(f16vec4,   i16vec4);"
 4502|       |
 4503|     12|            "int16_t halfBitsToInt16(float16_t);"
 4504|     12|            "i16vec2 halfBitsToInt16(f16vec2);"
 4505|     12|            "i16vec3 halhBitsToInt16(f16vec3);"
 4506|     12|            "i16vec4 halfBitsToInt16(f16vec4);"
 4507|       |
 4508|     12|            "uint16_t halfBitsToUint16(float16_t);"
 4509|     12|            "u16vec2  halfBitsToUint16(f16vec2);"
 4510|     12|            "u16vec3  halfBitsToUint16(f16vec3);"
 4511|     12|            "u16vec4  halfBitsToUint16(f16vec4);"
 4512|       |
 4513|     12|            "int16_t float16BitsToInt16(float16_t);"
 4514|     12|            "i16vec2 float16BitsToInt16(f16vec2);"
 4515|     12|            "i16vec3 float16BitsToInt16(f16vec3);"
 4516|     12|            "i16vec4 float16BitsToInt16(f16vec4);"
 4517|       |
 4518|     12|            "uint16_t float16BitsToUint16(float16_t);"
 4519|     12|            "u16vec2  float16BitsToUint16(f16vec2);"
 4520|     12|            "u16vec3  float16BitsToUint16(f16vec3);"
 4521|     12|            "u16vec4  float16BitsToUint16(f16vec4);"
 4522|       |
 4523|     12|            "float16_t int16BitsToFloat16(int16_t);"
 4524|     12|            "f16vec2   int16BitsToFloat16(i16vec2);"
 4525|     12|            "f16vec3   int16BitsToFloat16(i16vec3);"
 4526|     12|            "f16vec4   int16BitsToFloat16(i16vec4);"
 4527|       |
 4528|     12|            "float16_t uint16BitsToFloat16(uint16_t);"
 4529|     12|            "f16vec2   uint16BitsToFloat16(u16vec2);"
 4530|     12|            "f16vec3   uint16BitsToFloat16(u16vec3);"
 4531|     12|            "f16vec4   uint16BitsToFloat16(u16vec4);"
 4532|       |
 4533|     12|            "float16_t int16BitsToHalf(int16_t);"
 4534|     12|            "f16vec2   int16BitsToHalf(i16vec2);"
 4535|     12|            "f16vec3   int16BitsToHalf(i16vec3);"
 4536|     12|            "f16vec4   int16BitsToHalf(i16vec4);"
 4537|       |
 4538|     12|            "float16_t uint16BitsToHalf(uint16_t);"
 4539|     12|            "f16vec2   uint16BitsToHalf(u16vec2);"
 4540|     12|            "f16vec3   uint16BitsToHalf(u16vec3);"
 4541|     12|            "f16vec4   uint16BitsToHalf(u16vec4);"
 4542|       |
 4543|     12|            "int      packInt2x16(i16vec2);"
 4544|     12|            "uint     packUint2x16(u16vec2);"
 4545|     12|            "int64_t  packInt4x16(i16vec4);"
 4546|     12|            "uint64_t packUint4x16(u16vec4);"
 4547|     12|            "i16vec2  unpackInt2x16(int);"
 4548|     12|            "u16vec2  unpackUint2x16(uint);"
 4549|     12|            "i16vec4  unpackInt4x16(int64_t);"
 4550|     12|            "u16vec4  unpackUint4x16(uint64_t);"
 4551|       |
 4552|     12|            "bvec2 lessThan(i16vec2, i16vec2);"
 4553|     12|            "bvec3 lessThan(i16vec3, i16vec3);"
 4554|     12|            "bvec4 lessThan(i16vec4, i16vec4);"
 4555|     12|            "bvec2 lessThan(u16vec2, u16vec2);"
 4556|     12|            "bvec3 lessThan(u16vec3, u16vec3);"
 4557|     12|            "bvec4 lessThan(u16vec4, u16vec4);"
 4558|       |
 4559|     12|            "bvec2 lessThanEqual(i16vec2, i16vec2);"
 4560|     12|            "bvec3 lessThanEqual(i16vec3, i16vec3);"
 4561|     12|            "bvec4 lessThanEqual(i16vec4, i16vec4);"
 4562|     12|            "bvec2 lessThanEqual(u16vec2, u16vec2);"
 4563|     12|            "bvec3 lessThanEqual(u16vec3, u16vec3);"
 4564|     12|            "bvec4 lessThanEqual(u16vec4, u16vec4);"
 4565|       |
 4566|     12|            "bvec2 greaterThan(i16vec2, i16vec2);"
 4567|     12|            "bvec3 greaterThan(i16vec3, i16vec3);"
 4568|     12|            "bvec4 greaterThan(i16vec4, i16vec4);"
 4569|     12|            "bvec2 greaterThan(u16vec2, u16vec2);"
 4570|     12|            "bvec3 greaterThan(u16vec3, u16vec3);"
 4571|     12|            "bvec4 greaterThan(u16vec4, u16vec4);"
 4572|       |
 4573|     12|            "bvec2 greaterThanEqual(i16vec2, i16vec2);"
 4574|     12|            "bvec3 greaterThanEqual(i16vec3, i16vec3);"
 4575|     12|            "bvec4 greaterThanEqual(i16vec4, i16vec4);"
 4576|     12|            "bvec2 greaterThanEqual(u16vec2, u16vec2);"
 4577|     12|            "bvec3 greaterThanEqual(u16vec3, u16vec3);"
 4578|     12|            "bvec4 greaterThanEqual(u16vec4, u16vec4);"
 4579|       |
 4580|     12|            "bvec2 equal(i16vec2, i16vec2);"
 4581|     12|            "bvec3 equal(i16vec3, i16vec3);"
 4582|     12|            "bvec4 equal(i16vec4, i16vec4);"
 4583|     12|            "bvec2 equal(u16vec2, u16vec2);"
 4584|     12|            "bvec3 equal(u16vec3, u16vec3);"
 4585|     12|            "bvec4 equal(u16vec4, u16vec4);"
 4586|       |
 4587|     12|            "bvec2 notEqual(i16vec2, i16vec2);"
 4588|     12|            "bvec3 notEqual(i16vec3, i16vec3);"
 4589|     12|            "bvec4 notEqual(i16vec4, i16vec4);"
 4590|     12|            "bvec2 notEqual(u16vec2, u16vec2);"
 4591|     12|            "bvec3 notEqual(u16vec3, u16vec3);"
 4592|     12|            "bvec4 notEqual(u16vec4, u16vec4);"
 4593|       |
 4594|     12|            "  int16_t bitfieldExtract(  int16_t, int16_t, int16_t);"
 4595|     12|            "i16vec2 bitfieldExtract(i16vec2, int16_t, int16_t);"
 4596|     12|            "i16vec3 bitfieldExtract(i16vec3, int16_t, int16_t);"
 4597|     12|            "i16vec4 bitfieldExtract(i16vec4, int16_t, int16_t);"
 4598|       |
 4599|     12|            " uint16_t bitfieldExtract( uint16_t, int16_t, int16_t);"
 4600|     12|            "u16vec2 bitfieldExtract(u16vec2, int16_t, int16_t);"
 4601|     12|            "u16vec3 bitfieldExtract(u16vec3, int16_t, int16_t);"
 4602|     12|            "u16vec4 bitfieldExtract(u16vec4, int16_t, int16_t);"
 4603|       |
 4604|     12|            "  int16_t bitfieldInsert(  int16_t base,   int16_t, int16_t, int16_t);"
 4605|     12|            "i16vec2 bitfieldInsert(i16vec2 base, i16vec2, int16_t, int16_t);"
 4606|     12|            "i16vec3 bitfieldInsert(i16vec3 base, i16vec3, int16_t, int16_t);"
 4607|     12|            "i16vec4 bitfieldInsert(i16vec4 base, i16vec4, int16_t, int16_t);"
 4608|       |
 4609|     12|            " uint16_t bitfieldInsert( uint16_t base,  uint16_t, int16_t, int16_t);"
 4610|     12|            "u16vec2 bitfieldInsert(u16vec2 base, u16vec2, int16_t, int16_t);"
 4611|     12|            "u16vec3 bitfieldInsert(u16vec3 base, u16vec3, int16_t, int16_t);"
 4612|     12|            "u16vec4 bitfieldInsert(u16vec4 base, u16vec4, int16_t, int16_t);"
 4613|       |
 4614|     12|            "  int16_t bitCount(  int16_t);"
 4615|     12|            "i16vec2 bitCount(i16vec2);"
 4616|     12|            "i16vec3 bitCount(i16vec3);"
 4617|     12|            "i16vec4 bitCount(i16vec4);"
 4618|       |
 4619|     12|            "  int16_t bitCount( uint16_t);"
 4620|     12|            "i16vec2 bitCount(u16vec2);"
 4621|     12|            "i16vec3 bitCount(u16vec3);"
 4622|     12|            "i16vec4 bitCount(u16vec4);"
 4623|       |
 4624|     12|            "int16_t bitfieldReverse(highp int16_t);"
 4625|     12|            "i16vec2 bitfieldReverse(highp i16vec2);"
 4626|     12|            "i16vec3 bitfieldReverse(highp i16vec3);"
 4627|     12|            "i16vec4 bitfieldReverse(highp i16vec4);"
 4628|       |
 4629|     12|            "uint16_t bitfieldReverse(highp uint16_t);"
 4630|     12|            "u16vec2  bitfieldReverse(highp u16vec2);"
 4631|     12|            "u16vec3  bitfieldReverse(highp u16vec3);"
 4632|     12|            "u16vec4  bitfieldReverse(highp u16vec4);"
 4633|       |
 4634|     12|            "  int16_t findLSB(  int16_t);"
 4635|     12|            "i16vec2 findLSB(i16vec2);"
 4636|     12|            "i16vec3 findLSB(i16vec3);"
 4637|     12|            "i16vec4 findLSB(i16vec4);"
 4638|       |
 4639|     12|            "  int16_t findLSB( uint16_t);"
 4640|     12|            "i16vec2 findLSB(u16vec2);"
 4641|     12|            "i16vec3 findLSB(u16vec3);"
 4642|     12|            "i16vec4 findLSB(u16vec4);"
 4643|       |
 4644|     12|            "  int16_t findMSB(  int16_t);"
 4645|     12|            "i16vec2 findMSB(i16vec2);"
 4646|     12|            "i16vec3 findMSB(i16vec3);"
 4647|     12|            "i16vec4 findMSB(i16vec4);"
 4648|       |
 4649|     12|            "  int16_t findMSB( uint16_t);"
 4650|     12|            "i16vec2 findMSB(u16vec2);"
 4651|     12|            "i16vec3 findMSB(u16vec3);"
 4652|     12|            "i16vec4 findMSB(u16vec4);"
 4653|       |
 4654|     12|            "int16_t  pack16(i8vec2);"
 4655|     12|            "uint16_t pack16(u8vec2);"
 4656|     12|            "int32_t  pack32(i8vec4);"
 4657|     12|            "uint32_t pack32(u8vec4);"
 4658|     12|            "int32_t  pack32(i16vec2);"
 4659|     12|            "uint32_t pack32(u16vec2);"
 4660|     12|            "int64_t  pack64(i16vec4);"
 4661|     12|            "uint64_t pack64(u16vec4);"
 4662|     12|            "int64_t  pack64(i32vec2);"
 4663|     12|            "uint64_t pack64(u32vec2);"
 4664|       |
 4665|     12|            "i8vec2   unpack8(int16_t);"
 4666|     12|            "u8vec2   unpack8(uint16_t);"
 4667|     12|            "i8vec4   unpack8(int32_t);"
 4668|     12|            "u8vec4   unpack8(uint32_t);"
 4669|     12|            "i16vec2  unpack16(int32_t);"
 4670|     12|            "u16vec2  unpack16(uint32_t);"
 4671|     12|            "i16vec4  unpack16(int64_t);"
 4672|     12|            "u16vec4  unpack16(uint64_t);"
 4673|     12|            "i32vec2  unpack32(int64_t);"
 4674|     12|            "u32vec2  unpack32(uint64_t);"
 4675|       |
 4676|       |            // GL_EXT_expect_assume
 4677|     12|            "int8_t expectEXT(int8_t, int8_t);"
 4678|     12|            "i8vec2 expectEXT(i8vec2, i8vec2);"
 4679|     12|            "i8vec3 expectEXT(i8vec3, i8vec3);"
 4680|     12|            "i8vec4 expectEXT(i8vec4, i8vec4);"
 4681|       |
 4682|     12|            "uint8_t expectEXT(uint8_t, uint8_t);"
 4683|     12|            "u8vec2 expectEXT(u8vec2, u8vec2);"
 4684|     12|            "u8vec3 expectEXT(u8vec3, u8vec3);"
 4685|     12|            "u8vec4 expectEXT(u8vec4, u8vec4);"
 4686|       |
 4687|     12|            "int16_t expectEXT(int16_t, int16_t);"
 4688|     12|            "i16vec2 expectEXT(i16vec2, i16vec2);"
 4689|     12|            "i16vec3 expectEXT(i16vec3, i16vec3);"
 4690|     12|            "i16vec4 expectEXT(i16vec4, i16vec4);"
 4691|       |
 4692|     12|            "uint16_t expectEXT(uint16_t, uint16_t);"
 4693|     12|            "u16vec2 expectEXT(u16vec2, u16vec2);"
 4694|     12|            "u16vec3 expectEXT(u16vec3, u16vec3);"
 4695|     12|            "u16vec4 expectEXT(u16vec4, u16vec4);"
 4696|       |
 4697|     12|            "int64_t expectEXT(int64_t, int64_t);"
 4698|     12|            "i64vec2 expectEXT(i64vec2, i64vec2);"
 4699|     12|            "i64vec3 expectEXT(i64vec3, i64vec3);"
 4700|     12|            "i64vec4 expectEXT(i64vec4, i64vec4);"
 4701|       |
 4702|     12|            "uint64_t expectEXT(uint64_t, uint64_t);"
 4703|     12|            "u64vec2 expectEXT(u64vec2, u64vec2);"
 4704|     12|            "u64vec3 expectEXT(u64vec3, u64vec3);"
 4705|     12|            "u64vec4 expectEXT(u64vec4, u64vec4);"
 4706|     12|            "\n");
 4707|     12|    }
 4708|       |
 4709|       |    // Builtins for GL_EXT_texture_shadow_lod
 4710|    124|    if ((profile == EEsProfile && version >= 300) || ((profile != EEsProfile && version >= 130))) { 
  ------------------
  |  Branch (4710:10): [True: 0, False: 124]
  |  Branch (4710:35): [True: 0, False: 0]
  |  Branch (4710:56): [True: 124, False: 0]
  |  Branch (4710:81): [True: 124, False: 0]
  ------------------
 4711|    124|        commonBuiltins.append(
 4712|    124|            "float texture(sampler2DArrayShadow, vec4, float);"
 4713|    124|            "float texture(samplerCubeArrayShadow, vec4, float, float);"
 4714|    124|            "float textureLod(sampler2DArrayShadow, vec4, float);"
 4715|    124|            "float textureLod(samplerCubeShadow, vec4, float);"
 4716|    124|            "float textureLod(samplerCubeArrayShadow, vec4, float, float);"
 4717|    124|            "float textureLodOffset(sampler2DArrayShadow, vec4, float, ivec2);"
 4718|    124|            "float textureOffset(sampler2DArrayShadow, vec4 , ivec2, float);"
 4719|    124|            "\n");
 4720|    124|    }
 4721|       |
 4722|    124|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (4722:9): [True: 124, False: 0]
  |  Branch (4722:34): [True: 12, False: 112]
  ------------------
 4723|     12|        stageBuiltins[EShLangFragment].append(derivativesAndControl64bits);
 4724|     12|        stageBuiltins[EShLangFragment].append(
 4725|     12|            "float64_t interpolateAtCentroid(float64_t);"
 4726|     12|            "f64vec2   interpolateAtCentroid(f64vec2);"
 4727|     12|            "f64vec3   interpolateAtCentroid(f64vec3);"
 4728|     12|            "f64vec4   interpolateAtCentroid(f64vec4);"
 4729|       |
 4730|     12|            "float64_t interpolateAtSample(float64_t, int);"
 4731|     12|            "f64vec2   interpolateAtSample(f64vec2,   int);"
 4732|     12|            "f64vec3   interpolateAtSample(f64vec3,   int);"
 4733|     12|            "f64vec4   interpolateAtSample(f64vec4,   int);"
 4734|       |
 4735|     12|            "float64_t interpolateAtOffset(float64_t, f64vec2);"
 4736|     12|            "f64vec2   interpolateAtOffset(f64vec2,   f64vec2);"
 4737|     12|            "f64vec3   interpolateAtOffset(f64vec3,   f64vec2);"
 4738|     12|            "f64vec4   interpolateAtOffset(f64vec4,   f64vec2);"
 4739|       |
 4740|     12|            "\n");
 4741|       |
 4742|     12|    }
 4743|       |
 4744|       |    // GL_EXT_expect_assume
 4745|    124|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (4745:10): [True: 0, False: 124]
  |  Branch (4745:35): [True: 0, False: 0]
  ------------------
 4746|    124|         ((profile != EEsProfile && version >= 140))) {
  ------------------
  |  Branch (4746:12): [True: 124, False: 0]
  |  Branch (4746:37): [True: 124, False: 0]
  ------------------
 4747|    124|        commonBuiltins.append(
 4748|    124|            "void assumeEXT(bool);"
 4749|       |
 4750|    124|            "bool expectEXT(bool, bool);"
 4751|    124|            "bvec2 expectEXT(bvec2, bvec2);"
 4752|    124|            "bvec3 expectEXT(bvec3, bvec3);"
 4753|    124|            "bvec4 expectEXT(bvec4, bvec4);"
 4754|       |
 4755|    124|            "int expectEXT(int, int);"
 4756|    124|            "ivec2 expectEXT(ivec2, ivec2);"
 4757|    124|            "ivec3 expectEXT(ivec3, ivec3);"
 4758|    124|            "ivec4 expectEXT(ivec4, ivec4);"
 4759|       |
 4760|    124|            "uint expectEXT(uint, uint);"
 4761|    124|            "uvec2 expectEXT(uvec2, uvec2);"
 4762|    124|            "uvec3 expectEXT(uvec3, uvec3);"
 4763|    124|            "uvec4 expectEXT(uvec4, uvec4);"
 4764|    124|            "\n");
 4765|    124|    }
 4766|       |
 4767|       |    // QCOM_image_processing
 4768|    124|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (4768:10): [True: 0, False: 124]
  |  Branch (4768:35): [True: 0, False: 0]
  ------------------
 4769|    124|         (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (4769:11): [True: 124, False: 0]
  |  Branch (4769:36): [True: 124, False: 0]
  ------------------
 4770|    124|        commonBuiltins.append(
 4771|    124|           "vec4 textureWeightedQCOM(sampler2D, vec2, sampler2DArray);"
 4772|    124|           "vec4 textureWeightedQCOM(sampler2D, vec2, sampler1DArray);"
 4773|    124|           "vec4 textureBoxFilterQCOM(sampler2D, vec2, vec2);"
 4774|    124|           "vec4 textureBlockMatchSADQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4775|    124|           "vec4 textureBlockMatchSSDQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4776|       |
 4777|    124|           "vec4 textureBlockMatchWindowSSDQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4778|    124|           "vec4 textureBlockMatchWindowSADQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4779|    124|           "vec4 textureBlockMatchGatherSSDQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4780|    124|           "vec4 textureBlockMatchGatherSADQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4781|    124|           "\n");
 4782|    124|    }
 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|    124|    if (spvVersion.vulkan == 0 && IncludeLegacy(version, profile, spvVersion))
  ------------------
  |  Branch (4795:9): [True: 0, False: 124]
  |  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|    124|    TString* s;
 4802|    124|    if (version == 100)
  ------------------
  |  Branch (4802:9): [True: 0, False: 124]
  ------------------
 4803|      0|        s = &stageBuiltins[EShLangVertex];
 4804|    124|    else
 4805|    124|        s = &commonBuiltins;
 4806|    124|    if ((profile == EEsProfile && version == 100) ||
  ------------------
  |  Branch (4806:10): [True: 0, False: 124]
  |  Branch (4806:35): [True: 0, False: 0]
  ------------------
 4807|    124|         profile == ECompatibilityProfile ||
  ------------------
  |  Branch (4807:10): [True: 0, False: 124]
  ------------------
 4808|    124|        (profile == ECoreProfile && version < 420) ||
  ------------------
  |  Branch (4808:10): [True: 9, False: 115]
  |  Branch (4808:37): [True: 4, False: 5]
  ------------------
 4809|    120|         profile == ENoProfile) {
  ------------------
  |  Branch (4809:10): [True: 115, False: 5]
  ------------------
 4810|    119|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (4810:13): [True: 0, False: 119]
  ------------------
 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|    119|    }
 4822|    124|    if ( profile == ECompatibilityProfile ||
  ------------------
  |  Branch (4822:10): [True: 0, False: 124]
  ------------------
 4823|    124|        (profile == ECoreProfile && version < 420) ||
  ------------------
  |  Branch (4823:10): [True: 9, False: 115]
  |  Branch (4823:37): [True: 4, False: 5]
  ------------------
 4824|    120|         profile == ENoProfile) {
  ------------------
  |  Branch (4824:10): [True: 115, False: 5]
  ------------------
 4825|    119|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (4825:13): [True: 0, False: 119]
  ------------------
 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|    119|    }
 4857|       |
 4858|    124|    if ((profile != EEsProfile && version >= 150) ||
  ------------------
  |  Branch (4858:10): [True: 124, False: 0]
  |  Branch (4858:35): [True: 17, False: 107]
  ------------------
 4859|    107|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (4859:10): [True: 0, False: 107]
  |  Branch (4859:35): [True: 0, False: 0]
  ------------------
 4860|       |        //============================================================================
 4861|       |        //
 4862|       |        // Prototypes for built-in functions seen by geometry shaders only.
 4863|       |        //
 4864|       |        //============================================================================
 4865|     17|        if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (4865:13): [True: 17, False: 0]
  |  Branch (4865:38): [True: 17, False: 0]
  ------------------
 4866|     17|            stageBuiltins[EShLangGeometry].append(
 4867|     17|                "void EmitStreamVertex(int);"
 4868|     17|                "void EndStreamPrimitive(int);"
 4869|     17|                );
 4870|     17|        }
 4871|     17|        stageBuiltins[EShLangGeometry].append(
 4872|     17|            "void EmitVertex();"
 4873|     17|            "void EndPrimitive();"
 4874|     17|            "\n");
 4875|     17|    }
 4876|       |
 4877|       |    //============================================================================
 4878|       |    //
 4879|       |    // Prototypes for all control functions.
 4880|       |    //
 4881|       |    //============================================================================
 4882|    124|    bool esBarrier = (profile == EEsProfile && version >= 310);
  ------------------
  |  Branch (4882:23): [True: 0, False: 124]
  |  Branch (4882:48): [True: 0, False: 0]
  ------------------
 4883|    124|    if ((profile != EEsProfile && version >= 150) || esBarrier)
  ------------------
  |  Branch (4883:10): [True: 124, False: 0]
  |  Branch (4883:35): [True: 17, False: 107]
  |  Branch (4883:54): [True: 0, False: 107]
  ------------------
 4884|     17|        stageBuiltins[EShLangTessControl].append(
 4885|     17|            "void barrier();"
 4886|     17|            );
 4887|    124|    if ((profile != EEsProfile && version >= 420) || esBarrier)
  ------------------
  |  Branch (4887:10): [True: 124, False: 0]
  |  Branch (4887:35): [True: 13, False: 111]
  |  Branch (4887:54): [True: 0, False: 111]
  ------------------
 4888|     13|        stageBuiltins[EShLangCompute].append(
 4889|     13|            "void barrier();"
 4890|     13|            );
 4891|    124|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (4891:10): [True: 124, False: 0]
  |  Branch (4891:35): [True: 12, False: 112]
  |  Branch (4891:55): [True: 0, False: 112]
  |  Branch (4891:80): [True: 0, False: 0]
  ------------------
 4892|     12|        stageBuiltins[EShLangMesh].append(
 4893|     12|            "void barrier();"
 4894|     12|            );
 4895|     12|        stageBuiltins[EShLangTask].append(
 4896|     12|            "void barrier();"
 4897|     12|            );
 4898|     12|    }
 4899|    124|    if ((profile != EEsProfile && version >= 130) || esBarrier)
  ------------------
  |  Branch (4899:10): [True: 124, False: 0]
  |  Branch (4899:35): [True: 124, False: 0]
  |  Branch (4899:54): [True: 0, False: 0]
  ------------------
 4900|    124|        commonBuiltins.append(
 4901|    124|            "void memoryBarrier();"
 4902|    124|            );
 4903|    124|    if ((profile != EEsProfile && version >= 420) || esBarrier) {
  ------------------
  |  Branch (4903:10): [True: 124, False: 0]
  |  Branch (4903:35): [True: 13, False: 111]
  |  Branch (4903:54): [True: 0, False: 111]
  ------------------
 4904|     13|        commonBuiltins.append(
 4905|     13|            "void memoryBarrierBuffer();"
 4906|     13|            );
 4907|     13|        stageBuiltins[EShLangCompute].append(
 4908|     13|            "void memoryBarrierShared();"
 4909|     13|            "void groupMemoryBarrier();"
 4910|     13|            );
 4911|     13|    }
 4912|    124|    if ((profile != EEsProfile && version >= 420) || esBarrier) {
  ------------------
  |  Branch (4912:10): [True: 124, False: 0]
  |  Branch (4912:35): [True: 13, False: 111]
  |  Branch (4912:54): [True: 0, False: 111]
  ------------------
 4913|     13|        if (spvVersion.vulkan == 0 || spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (4913:13): [True: 0, False: 13]
  |  Branch (4913:39): [True: 0, False: 13]
  ------------------
 4914|      0|            commonBuiltins.append("void memoryBarrierAtomicCounter();");
 4915|      0|        }
 4916|     13|        commonBuiltins.append("void memoryBarrierImage();");
 4917|     13|    }
 4918|    124|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (4918:10): [True: 124, False: 0]
  |  Branch (4918:35): [True: 12, False: 112]
  |  Branch (4918:55): [True: 0, False: 112]
  |  Branch (4918:80): [True: 0, False: 0]
  ------------------
 4919|     12|        stageBuiltins[EShLangMesh].append(
 4920|     12|            "void memoryBarrierShared();"
 4921|     12|            "void groupMemoryBarrier();"
 4922|     12|        );
 4923|     12|        stageBuiltins[EShLangTask].append(
 4924|     12|            "void memoryBarrierShared();"
 4925|     12|            "void groupMemoryBarrier();"
 4926|     12|        );
 4927|     12|    }
 4928|       |
 4929|    124|    commonBuiltins.append("void controlBarrier(int, int, int, int);\n"
 4930|    124|                          "void memoryBarrier(int, int, int);\n");
 4931|       |
 4932|    124|    commonBuiltins.append("void debugPrintfEXT();\n");
 4933|       |
 4934|    124|    commonBuiltins.append("void abortEXT();\n");
 4935|       |
 4936|    124|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (4936:9): [True: 124, False: 0]
  |  Branch (4936:34): [True: 12, False: 112]
  ------------------
 4937|       |        // coopMatStoreNV perhaps ought to have "out" on the buf parameter, but
 4938|       |        // adding it introduces undesirable tempArgs on the stack. What we want
 4939|       |        // is more like "buf" thought of as a pointer value being an in parameter.
 4940|     12|        stageBuiltins[EShLangCompute].append(
 4941|     12|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal float16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4942|     12|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal float[] buf, uint element, uint stride, bool colMajor);\n"
 4943|     12|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4944|     12|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4945|     12|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4946|     12|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4947|     12|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4948|     12|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4949|       |
 4950|     12|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal float16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4951|     12|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal float[] buf, uint element, uint stride, bool colMajor);\n"
 4952|     12|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal float64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4953|     12|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4954|     12|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4955|     12|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4956|     12|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4957|     12|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4958|     12|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4959|       |
 4960|     12|            "fcoopmatNV coopMatMulAddNV(fcoopmatNV A, fcoopmatNV B, fcoopmatNV C);\n"
 4961|     12|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal int8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4962|     12|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal int16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4963|     12|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal int[] buf, uint element, uint stride, bool colMajor);\n"
 4964|     12|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal int64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4965|     12|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal ivec2[] buf, uint element, uint stride, bool colMajor);\n"
 4966|     12|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal ivec4[] buf, uint element, uint stride, bool colMajor);\n"
 4967|     12|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4968|     12|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4969|     12|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4970|     12|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4971|     12|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4972|     12|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4973|       |
 4974|     12|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal int8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4975|     12|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal int16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4976|     12|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal int[] buf, uint element, uint stride, bool colMajor);\n"
 4977|     12|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal int64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4978|     12|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal ivec2[] buf, uint element, uint stride, bool colMajor);\n"
 4979|     12|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal ivec4[] buf, uint element, uint stride, bool colMajor);\n"
 4980|     12|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4981|     12|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4982|     12|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4983|     12|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4984|     12|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4985|     12|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4986|       |
 4987|     12|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal int8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4988|     12|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal int16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4989|     12|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal int[] buf, uint element, uint stride, bool colMajor);\n"
 4990|     12|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal int64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4991|     12|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal ivec2[] buf, uint element, uint stride, bool colMajor);\n"
 4992|     12|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal ivec4[] buf, uint element, uint stride, bool colMajor);\n"
 4993|     12|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4994|     12|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4995|     12|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4996|     12|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4997|     12|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4998|     12|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4999|       |
 5000|     12|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal int8_t[] buf, uint element, uint stride, bool colMajor);\n"
 5001|     12|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal int16_t[] buf, uint element, uint stride, bool colMajor);\n"
 5002|     12|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal int[] buf, uint element, uint stride, bool colMajor);\n"
 5003|     12|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal int64_t[] buf, uint element, uint stride, bool colMajor);\n"
 5004|     12|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal ivec2[] buf, uint element, uint stride, bool colMajor);\n"
 5005|     12|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal ivec4[] buf, uint element, uint stride, bool colMajor);\n"
 5006|     12|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 5007|     12|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 5008|     12|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 5009|     12|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 5010|     12|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 5011|     12|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 5012|       |
 5013|     12|            "icoopmatNV coopMatMulAddNV(icoopmatNV A, icoopmatNV B, icoopmatNV C);\n"
 5014|     12|            "ucoopmatNV coopMatMulAddNV(ucoopmatNV A, ucoopmatNV B, ucoopmatNV C);\n"
 5015|     12|            );
 5016|       |
 5017|     12|        std::stringstream cooperativeMatrixFuncs;
 5018|       |
 5019|     12|        {
 5020|     12|            static const char *allTypes[] =
 5021|     12|            {
 5022|     12|                "float", "vec2", "vec4",
 5023|     12|                "float16_t", "f16vec2", "f16vec4",
 5024|     12|                "bfloat16_t", "bf16vec2", "bf16vec4",
 5025|     12|                "floate5m2_t", "fe5m2vec2", "fe5m2vec4",
 5026|     12|                "floate4m3_t", "fe4m3vec2", "fe4m3vec4",
 5027|     12|                "double", "dvec2", "dvec4",
 5028|     12|                "int8_t", "i8vec2", "i8vec4",
 5029|     12|                "int16_t", "i16vec2", "i16vec4",
 5030|     12|                "int", "ivec2", "ivec4",
 5031|     12|                "int64_t", "i64vec2", "i64vec4",
 5032|     12|                "uint8_t", "u8vec2", "u8vec4",
 5033|     12|                "uint16_t", "u16vec2", "u16vec4",
 5034|     12|                "uint", "uvec2", "uvec4",
 5035|     12|                "uint64_t", "u64vec2", "u64vec4",
 5036|     12|            };
 5037|     24|            for (auto elemTy : {"uint", "uint64_t"}) {
  ------------------
  |  Branch (5037:30): [True: 24, False: 12]
  ------------------
 5038|  1.00k|                for (auto t : allTypes) {
  ------------------
  |  Branch (5038:29): [True: 1.00k, False: 24]
  ------------------
 5039|  1.00k|                    cooperativeMatrixFuncs << "void coopMatLoad(out coopmat m, volatile coherent nontemporal " << t << "[] buf, " << elemTy << " element, uint stride, int matrixLayout);\n";
 5040|  1.00k|                    cooperativeMatrixFuncs << "void coopMatStore(coopmat m, volatile coherent nontemporal " << t << "[] buf, " << elemTy << " element, uint stride, int matrixLayout);\n";
 5041|  1.00k|                }
 5042|       |                // Just use uint8_t for buffer type, we have special matching rules to allow any conversion
 5043|     24|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t);\n";
 5044|     24|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, tensorViewNV v);\n";
 5045|     24|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, __function f);\n";
 5046|     24|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, tensorViewNV v, __function f);\n";
 5047|     24|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, __function f, __function g);\n";
 5048|     24|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, tensorViewNV v, __function f, __function g);\n";
 5049|     24|                cooperativeMatrixFuncs << "void coopMatStoreTensorNV(coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t);\n";
 5050|     24|                cooperativeMatrixFuncs << "void coopMatStoreTensorNV(coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, tensorViewNV v);\n";
 5051|     24|            }
 5052|     12|        }
 5053|       |
 5054|     12|        cooperativeMatrixFuncs <<
 5055|     12|            "coopmat coopMatMulAdd(coopmat A, coopmat B, coopmat C);\n"
 5056|     12|            "coopmat coopMatMulAdd(coopmat A, coopmat B, coopmat C, int matrixOperands);\n";
 5057|       |
 5058|     12|        commonBuiltins.append(cooperativeMatrixFuncs.str().c_str());
 5059|       |
 5060|     12|        commonBuiltins.append(
 5061|     12|            "const int gl_MatrixUseA = 0;\n"
 5062|     12|            "const int gl_MatrixUseB = 1;\n"
 5063|     12|            "const int gl_MatrixUseAccumulator = 2;\n"
 5064|     12|            "const int gl_MatrixOperandsSaturatingAccumulation = 0x10;\n"
 5065|     12|            "const int gl_CooperativeMatrixLayoutRowMajor = 0;\n"
 5066|     12|            "const int gl_CooperativeMatrixLayoutColumnMajor = 1;\n"
 5067|     12|            "const int gl_CooperativeMatrixLayoutRowBlockedInterleavedARM = 4202;\n"
 5068|     12|            "const int gl_CooperativeMatrixLayoutColumnBlockedInterleavedARM = 4203;\n"
 5069|     12|            "\n"
 5070|     12|            );
 5071|       |
 5072|     12|        commonBuiltins.append(
 5073|     12|            "void coopMatTransposeNV(out coopmat, coopmat);"
 5074|     12|            "void coopMatReduceNV(out coopmat, coopmat, int, __function);"
 5075|     12|            "void coopMatPerElementNV();"
 5076|     12|        );
 5077|       |
 5078|     12|        commonBuiltins.append(
 5079|     12|            "const int gl_CooperativeMatrixReduceRowNV = 0x1;\n"
 5080|     12|            "const int gl_CooperativeMatrixReduceColumnNV = 0x2;\n"
 5081|     12|            "const int gl_CooperativeMatrixReduceRowAndColumnNV = 0x3;\n"
 5082|     12|            "const int gl_CooperativeMatrixReduce2x2NV = 0x4;\n"
 5083|     12|            "\n"
 5084|     12|            );
 5085|       |
 5086|     12|        commonBuiltins.append(
 5087|     12|            "const int gl_CooperativeMatrixClampModeUndefinedNV = 0x0;\n"
 5088|     12|            "const int gl_CooperativeMatrixClampModeConstantNV = 0x1;\n"
 5089|     12|            "const int gl_CooperativeMatrixClampModeClampToEdgeNV = 0x2;\n"
 5090|     12|            "const int gl_CooperativeMatrixClampModeRepeatNV = 0x3;\n"
 5091|     12|            "const int gl_CooperativeMatrixClampModeMirrorRepeatNV = 0x4;\n"
 5092|     12|            "\n"
 5093|     12|            );
 5094|       |
 5095|     12|        {
 5096|     12|          std::stringstream coopMatConvFuncs;
 5097|       |
 5098|     12|          const std::string eltTypes[] = {"uint32_t", "uint", "int32_t", "int", "float32_t", "float", "float16_t"};
 5099|       |
 5100|     84|          for (auto srcEltTy : eltTypes) {
  ------------------
  |  Branch (5100:30): [True: 84, False: 12]
  ------------------
 5101|    588|            for (auto dstEltTy : eltTypes) {
  ------------------
  |  Branch (5101:32): [True: 588, False: 84]
  ------------------
 5102|    588|              coopMatConvFuncs << "void bitcastQCOM(" << srcEltTy.c_str() << " SrcArr[], " << dstEltTy.c_str()
 5103|    588|                << " DstArr[]);\n";
 5104|    588|            }
 5105|     84|          }
 5106|     12|          coopMatConvFuncs << "\n";
 5107|       |
 5108|     96|          for (auto eltTy : {"float32_t", "float16_t", "int8_t", "uint8_t", "uint32_t", "uint", "int32_t", "int"}) {
  ------------------
  |  Branch (5108:27): [True: 96, False: 12]
  ------------------
 5109|     96|            coopMatConvFuncs << "void vectorToCoopmatQCOM(" << eltTy << " SrcVec[], coopmat CM);\n";
 5110|     96|            coopMatConvFuncs << "void coopmatToVectorQCOM(coopmat CM, " << eltTy << " Dstvec[]);\n";
 5111|     96|          }
 5112|       |
 5113|     84|          for (auto eltTy : {"uint32_t", "uint", "int32_t", "int", "float32_t", "float", "float16_t"}) {
  ------------------
  |  Branch (5113:27): [True: 84, False: 12]
  ------------------
 5114|     84|            coopMatConvFuncs << "void extractSubArrayQCOM(" << eltTy << " arr[], uint index, " << eltTy << " subarr[]);\n";
 5115|     84|          }
 5116|       |
 5117|     12|          commonBuiltins.append(coopMatConvFuncs.str().c_str());
 5118|     12|        }
 5119|       |
 5120|     12|        commonBuiltins.append(
 5121|     12|            "tensorLayoutNV createTensorLayoutNV(uint Dim);\n"
 5122|     12|            "tensorLayoutNV createTensorLayoutNV(uint Dim, uint Mode);\n"
 5123|       |
 5124|     12|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0);\n"
 5125|     12|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0, uint blockSize1);\n"
 5126|     12|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0, uint blockSize1, uint blockSize2);\n"
 5127|     12|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0, uint blockSize1, uint blockSize2, uint blockSize3);\n"
 5128|     12|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0, uint blockSize1, uint blockSize2, uint blockSize3, uint blockSize4);\n"
 5129|       |
 5130|     12|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0);\n"
 5131|     12|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0, uint dim1);\n"
 5132|     12|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0, uint dim1, uint dim2);\n"
 5133|     12|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0, uint dim1, uint dim2, uint dim3);\n"
 5134|     12|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0, uint dim1, uint dim2, uint dim3, uint dim4);\n"
 5135|       |
 5136|     12|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0);\n"
 5137|     12|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0, uint stride1);\n"
 5138|     12|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0, uint stride1, uint stride2);\n"
 5139|     12|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0, uint stride1, uint stride2, uint stride3);\n"
 5140|     12|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0, uint stride1, uint stride2, uint stride3, uint stride4);\n"
 5141|       |
 5142|     12|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0);\n"
 5143|     12|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0, uint offset1, uint span1);\n"
 5144|     12|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0, uint offset1, uint span1, uint offset2, uint span2);\n"
 5145|     12|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0, uint offset1, uint span1, uint offset2, uint span2, uint offset3, uint span3);\n"
 5146|     12|            "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"
 5147|       |
 5148|     12|            "tensorLayoutNV setTensorLayoutClampValueNV(tensorLayoutNV t, uint value);\n"
 5149|       |
 5150|     12|            "tensorViewNV createTensorViewNV(uint Dim);\n"
 5151|     12|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions);\n"
 5152|     12|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0);\n"
 5153|     12|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0, uint p1);\n"
 5154|     12|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0, uint p1, uint p2);\n"
 5155|     12|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0, uint p1, uint p2, uint p3);\n"
 5156|     12|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0, uint p1, uint p2, uint p3, uint p4);\n"
 5157|       |
 5158|     12|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0);\n"
 5159|     12|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0, uint dim1);\n"
 5160|     12|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0, uint dim1, uint dim2);\n"
 5161|     12|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0, uint dim1, uint dim2, uint dim3);\n"
 5162|     12|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0, uint dim1, uint dim2, uint dim3, uint dim4);\n"
 5163|       |
 5164|     12|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0);\n"
 5165|     12|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0, uint stride1);\n"
 5166|     12|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0, uint stride1, uint stride2);\n"
 5167|     12|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0, uint stride1, uint stride2, uint stride3);\n"
 5168|     12|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0, uint stride1, uint stride2, uint stride3, uint stride4);\n"
 5169|       |
 5170|     12|            "tensorViewNV setTensorViewClipNV(tensorViewNV v, uint clipRowOffset, uint clipRowSpan, uint clipColOffset, uint clipColSpan);\n"
 5171|     12|            "\n"
 5172|     12|        );
 5173|       |
 5174|       |        // GL_ARM_tensors builtins.
 5175|     12|        static const char *tensorDataTypesARM[] = {
 5176|     12|            "bool",
 5177|     12|            "int8_t", "int16_t", "int32_t", "int64_t",
 5178|     12|            "uint8_t", "uint16_t", "uint32_t", "uint64_t",
 5179|     12|            "float16_t", "float32_t", "float64_t",
 5180|     12|            "bfloat16_t", "floate5m2_t", "floate4m3_t",
 5181|     12|        };
 5182|     12|        std::ostringstream ostream;
 5183|    180|        for (auto t : tensorDataTypesARM) {
  ------------------
  |  Branch (5183:21): [True: 180, False: 12]
  ------------------
 5184|       |            // Scalar
 5185|    180|            ostream << "void tensorReadARM(readonly tensorARM t, uint coords[], out "
 5186|    180|                    << t << " data, uint tensorOperands = 0U, ...);\n";
 5187|    180|            ostream << "void tensorWriteARM(writeonly tensorARM t, uint coords[], "
 5188|    180|                    << t << " data, uint tensorOperands = 0U, ...);\n";
 5189|       |            // Array
 5190|    180|            ostream << "void tensorReadARM(readonly tensorARM t, uint coords[], "
 5191|    180|                    << t << " data[], uint tensorOperands = 0U, ...);\n";
 5192|    180|            ostream << "void tensorWriteARM(writeonly tensorARM t, uint coords[], "
 5193|    180|                    << t << " data[], uint tensorOperands = 0U, ...);\n";
 5194|    180|        }
 5195|     12|        ostream << "uint tensorSizeARM(readonly writeonly tensorARM t, uint dim);\n";
 5196|     12|        commonBuiltins.append(ostream.str());
 5197|     12|    }
 5198|       |
 5199|    124|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5199:9): [True: 124, False: 0]
  |  Branch (5199:34): [True: 12, False: 112]
  ------------------
 5200|     12|        const char *basicTypes[] = {
 5201|     12|            "int8_t",
 5202|     12|            "int16_t",
 5203|     12|            "int32_t",
 5204|     12|            "int64_t",
 5205|     12|            "uint8_t",
 5206|     12|            "uint16_t",
 5207|     12|            "uint32_t",
 5208|     12|            "uint64_t",
 5209|     12|            "float16_t",
 5210|     12|            "float32_t",
 5211|     12|            "float64_t",
 5212|     12|        };
 5213|     12|        std::string coopVecOffsetTypes[] = {
 5214|     12|            "uint",
 5215|     12|            "uint64_t",
 5216|     12|        };
 5217|     24|        for (auto offsetTy : coopVecOffsetTypes) {
  ------------------
  |  Branch (5217:28): [True: 24, False: 12]
  ------------------
 5218|    288|            for (uint32_t i = 0; i < sizeof(basicTypes)/sizeof(basicTypes[0]); ++i) {
  ------------------
  |  Branch (5218:34): [True: 264, False: 24]
  ------------------
 5219|    264|                std::string func = std::string("void coopVecMatMulNV(out coopvecNV result, ") +
 5220|    264|                                   std::string("coopvecNV v, ") +
 5221|    264|                                   std::string("int inputInterpretation, ") +
 5222|    264|                                   std::string(basicTypes[i]) + std::string("[] matrix, ") +
 5223|    264|                                   offsetTy + std::string(" matrixOffset, ") +
 5224|    264|                                   std::string("int matrixInterpretation, ") +
 5225|    264|                                   std::string("uint M, ") +
 5226|    264|                                   std::string("uint K, ") +
 5227|    264|                                   std::string("int matrixLayout, ") +
 5228|    264|                                   std::string("bool transpose, ") +
 5229|    264|                                   std::string("uint matrixStride);\n");
 5230|    264|                commonBuiltins.append(func.c_str());
 5231|       |
 5232|  3.16k|                for (uint32_t j = 0; j < sizeof(basicTypes)/sizeof(basicTypes[0]); ++j) {
  ------------------
  |  Branch (5232:38): [True: 2.90k, False: 264]
  ------------------
 5233|  2.90k|                    func = std::string("void coopVecMatMulAddNV(out coopvecNV result, ") +
 5234|  2.90k|                           std::string("coopvecNV v, ") +
 5235|  2.90k|                           std::string("int inputInterpretation, ") +
 5236|  2.90k|                           std::string(basicTypes[i]) + std::string("[] matrix, ") +
 5237|  2.90k|                           offsetTy + std::string(" matrixOffset, ") +
 5238|  2.90k|                           std::string("int matrixInterpretation, ") +
 5239|  2.90k|                           std::string(basicTypes[j]) + std::string("[] bias, ") +
 5240|  2.90k|                           offsetTy + std::string(" biasOffset, ") +
 5241|  2.90k|                           std::string("int biasInterpretation, ") +
 5242|  2.90k|                           std::string("uint M, ") +
 5243|  2.90k|                           std::string("uint K, ") +
 5244|  2.90k|                           std::string("int matrixLayout, ") +
 5245|  2.90k|                           std::string("bool transpose, ") +
 5246|  2.90k|                           std::string("uint matrixStride);\n");
 5247|  2.90k|                    commonBuiltins.append(func.c_str());
 5248|  2.90k|                }
 5249|       |
 5250|    264|                func = std::string("void coopVecOuterProductAccumulateNV(coopvecNV v1, coopvecNV v2, ") +
 5251|    264|                       std::string(basicTypes[i]) +
 5252|    264|                       std::string("[] buf, ") + offsetTy + std::string(" offset, uint stride, int matrixLayout, int matrixInterpretation);\n");
 5253|    264|                commonBuiltins.append(func.c_str());
 5254|       |            
 5255|    264|                func = std::string("void coopVecReduceSumAccumulateNV(coopvecNV v, ") +
 5256|    264|                       std::string(basicTypes[i]) +
 5257|    264|                       std::string("[] buf, ") + offsetTy + std::string(" offset);\n");
 5258|    264|                commonBuiltins.append(func.c_str());
 5259|    264|            }
 5260|     24|        }
 5261|     12|        std::string cooperativeVectorFuncs =
 5262|     12|            "coopvecNV fma(coopvecNV, coopvecNV, coopvecNV);\n"
 5263|     12|            "coopvecNV min(coopvecNV, coopvecNV);\n"
 5264|     12|            "coopvecNV max(coopvecNV, coopvecNV);\n"
 5265|     12|            "coopvecNV step(coopvecNV, coopvecNV);\n"
 5266|     12|            "coopvecNV exp(coopvecNV);\n"            
 5267|     12|            "coopvecNV log(coopvecNV);\n"            
 5268|     12|            "coopvecNV tanh(coopvecNV);\n"            
 5269|     12|            "coopvecNV atan(coopvecNV);\n"            
 5270|     12|            "coopvecNV clamp(coopvecNV, coopvecNV, coopvecNV);\n";
 5271|       |
 5272|     12|        commonBuiltins.append(cooperativeVectorFuncs.c_str());
 5273|       |
 5274|     12|        if (profile != EEsProfile) {
  ------------------
  |  Branch (5274:13): [True: 12, False: 0]
  ------------------
 5275|     12|            std::string longVectorFuncs =
 5276|       |
 5277|       |                // manually add long vector prototypes for functions not in BaseFunctions/etc
 5278|     12|                "vector frexp(vector, vector);\n"
 5279|     12|                "vector ldexp(vector, vector);\n"
 5280|     12|                "vector fma(vector, vector, vector);\n"
 5281|       |
 5282|     12|                "vector floatBitsToInt(vector);\n"
 5283|     12|                "vector floatBitsToUint(vector);\n"
 5284|     12|                "vector intBitsToFloat(vector);\n"
 5285|     12|                "vector uintBitsToFloat(vector);\n"
 5286|     12|                "vector doubleBitsToInt64(vector);"
 5287|     12|                "vector doubleBitsToUint64(vector);"
 5288|     12|                "vector int64BitsToDouble(vector);"
 5289|     12|                "vector uint64BitsToDouble(vector);"
 5290|     12|                "vector bfloat16BitsToIntEXT(vector);"
 5291|     12|                "vector bfloat16BitsToUintEXT(vector);"
 5292|     12|                "vector intBitsToBFloat16EXT(vector);"
 5293|     12|                "vector uintBitsToBFloat16EXT(vector);"
 5294|     12|                "vector halfBitsToInt16(vector);"
 5295|     12|                "vector halfBitsToUint16(vector);"
 5296|     12|                "vector float16BitsToInt16(vector);"
 5297|     12|                "vector float16BitsToUint16(vector);"
 5298|     12|                "vector int16BitsToFloat16(vector);"
 5299|     12|                "vector uint16BitsToFloat16(vector);"
 5300|     12|                "vector int16BitsToHalf(vector);"
 5301|     12|                "vector uint16BitsToHalf(vector);"
 5302|     12|                "vector floate5m2BitsToIntEXT(vector);"
 5303|     12|                "vector floate5m2BitsToUintEXT(vector);"
 5304|     12|                "vector intBitsToFloate5m2EXT(vector);"
 5305|     12|                "vector uintBitsToFloate5m2EXT(vector);"
 5306|     12|                "vector floate4m3BitsToIntEXT(vector);"
 5307|     12|                "vector floate4m3BitsToUintEXT(vector);"
 5308|     12|                "vector intBitsToFloate4m3EXT(vector);"
 5309|     12|                "vector uintBitsToFloate4m3EXT(vector);"
 5310|       |
 5311|     12|                "vector floatue8m0BitsToIntEXT(vector);"
 5312|     12|                "vector floatue8m0BitsToUintEXT(vector);"
 5313|     12|                "vector intBitsToFloatue8m0EXT(vector);"
 5314|     12|                "vector uintBitsToFloatue8m0EXT(vector);"
 5315|     12|                "vector floatmxint8BitsToIntEXT(vector);"
 5316|     12|                "vector floatmxint8BitsToUintEXT(vector);"
 5317|     12|                "vector intBitsToFloatmxint8EXT(vector);"
 5318|     12|                "vector uintBitsToFloatmxint8EXT(vector);"
 5319|       |
 5320|     12|                "vector uaddCarry(highp vector, highp vector, out lowp vector carry);"
 5321|     12|                "vector usubBorrow(highp vector, highp vector, out lowp vector borrow);"
 5322|     12|                "void umulExtended(highp vector, highp vector, out highp vector, out highp vector);"
 5323|     12|                "void imulExtended(highp vector, highp vector, out highp vector, out highp vector);"
 5324|     12|                "vector bitfieldExtract(vector, int, int);"
 5325|     12|                "vector bitfieldInsert(vector, vector, int, int);"
 5326|     12|                "vector bitfieldReverse(highp vector);"
 5327|     12|                "vector bitCount(vector);"
 5328|     12|                "vector findLSB(vector);"
 5329|     12|                "vector findMSB(vector);"
 5330|       |
 5331|       |                // BaseFunctions overloads with a scalar parameter don't get generated in AddLongVectorBuiltin
 5332|     12|                "vector mod(vector, double);\n"
 5333|     12|                "vector min(vector, double);\n"
 5334|     12|                "vector max(vector, double);\n"
 5335|     12|                "vector clamp(vector, double, double);"
 5336|     12|                "vector mix(vector, vector,  double);"
 5337|     12|                "vector step(double, vector);"
 5338|     12|                "vector smoothstep(double, double, vector);"
 5339|     12|                "vector refract(vector, vector, double);"
 5340|       |
 5341|     12|                "vector mod(vector, float16_t);\n"
 5342|     12|                "vector min(vector, float16_t);\n"
 5343|     12|                "vector max(vector, float16_t);\n"
 5344|     12|                "vector clamp(vector, float16_t, float16_t);"
 5345|     12|                "vector mix(vector, vector,  float16_t);"
 5346|     12|                "vector step(float16_t, vector);"
 5347|     12|                "vector smoothstep(float16_t, float16_t, vector);"
 5348|     12|                "vector refract(vector, vector, float16_t);"
 5349|       |
 5350|     12|                "vector min(vector, uint64_t);\n"
 5351|     12|                "vector max(vector, uint64_t);\n"
 5352|     12|                "vector clamp(vector, uint64_t, uint64_t);"
 5353|     12|                "vector mix(vector, vector,  uint64_t);"
 5354|       |
 5355|     12|                "vector min(vector, int64_t);\n"
 5356|     12|                "vector max(vector, int64_t);\n"
 5357|     12|                "vector clamp(vector, int64_t, int64_t);"
 5358|     12|                "vector mix(vector, vector,  int64_t);"
 5359|       |
 5360|     12|                "vector min(vector, uint16_t);\n"
 5361|     12|                "vector max(vector, uint16_t);\n"
 5362|     12|                "vector clamp(vector, uint16_t, uint16_t);"
 5363|     12|                "vector mix(vector, vector,  uint16_t);"
 5364|       |
 5365|     12|                "vector min(vector, int16_t);\n"
 5366|     12|                "vector max(vector, int16_t);\n"
 5367|     12|                "vector clamp(vector, int16_t, int16_t);"
 5368|     12|                "vector mix(vector, vector,  int16_t);"
 5369|       |
 5370|     12|                "vector min(vector, uint8_t);\n"
 5371|     12|                "vector max(vector, uint8_t);\n"
 5372|     12|                "vector clamp(vector, uint8_t, uint8_t);"
 5373|     12|                "vector mix(vector, vector,  uint8_t);"
 5374|       |
 5375|     12|                "vector min(vector, int8_t);\n"
 5376|     12|                "vector max(vector, int8_t);\n"
 5377|     12|                "vector clamp(vector, int8_t, int8_t);"
 5378|     12|                "vector mix(vector, vector,  int8_t);"
 5379|       |
 5380|     12|                "vector expectEXT(vector, vector);"
 5381|       |
 5382|     12|                "vector bitcastExtractfe2m1EXT(vector, uint);"
 5383|     12|                "vector bitcastExtractfe3m2EXT(vector, uint);"
 5384|     12|                "vector bitcastExtractfe2m3EXT(vector, uint);"
 5385|     12|                ;
 5386|       |
 5387|     12|            std::string longVectorDerivativeFuncs =
 5388|     12|                "vector dFdxFine(vector);"
 5389|     12|                "vector dFdyFine(vector);"
 5390|     12|                "vector fwidthFine(vector);"
 5391|     12|                "vector dFdxCoarse(vector);"
 5392|     12|                "vector dFdyCoarse(vector);"
 5393|     12|                "vector fwidthCoarse(vector);"
 5394|       |
 5395|     12|                ;
 5396|     12|            commonBuiltins.append(longVectorFuncs.c_str());
 5397|     12|            stageBuiltins[EShLangFragment].append(longVectorDerivativeFuncs.c_str());
 5398|     12|            stageBuiltins[EShLangCompute].append(longVectorDerivativeFuncs.c_str());
 5399|     12|        }
 5400|       |
 5401|     12|        const char *scalarAndVectorTypes[] = {
 5402|     12|            "int8_t",
 5403|     12|            "int16_t",
 5404|     12|            "int32_t",
 5405|     12|            "int64_t",
 5406|     12|            "uint8_t",
 5407|     12|            "uint16_t",
 5408|     12|            "uint32_t",
 5409|     12|            "uint64_t",
 5410|     12|            "float16_t",
 5411|     12|            "float32_t",
 5412|     12|            "float64_t",
 5413|     12|            "i8vec2",
 5414|     12|            "i16vec2",
 5415|     12|            "i32vec2",
 5416|     12|            "i64vec2",
 5417|     12|            "u8vec2",
 5418|     12|            "u16vec2",
 5419|     12|            "u32vec2",
 5420|     12|            "u64vec2",
 5421|     12|            "f16vec2",
 5422|     12|            "f32vec2",
 5423|     12|            "f64vec2",
 5424|     12|            "i8vec3",
 5425|     12|            "i16vec3",
 5426|     12|            "i32vec3",
 5427|     12|            "i64vec3",
 5428|     12|            "u8vec3",
 5429|     12|            "u16vec3",
 5430|     12|            "u32vec3",
 5431|     12|            "u64vec3",
 5432|     12|            "f16vec3",
 5433|     12|            "f32vec3",
 5434|     12|            "f64vec3",
 5435|     12|            "i8vec4",
 5436|     12|            "i16vec4",
 5437|     12|            "i32vec4",
 5438|     12|            "i64vec4",
 5439|     12|            "u8vec4",
 5440|     12|            "u16vec4",
 5441|     12|            "u32vec4",
 5442|     12|            "u64vec4",
 5443|     12|            "f16vec4",
 5444|     12|            "f32vec4",
 5445|     12|            "f64vec4",
 5446|     12|        };
 5447|       |
 5448|     24|        for (auto offsetTy : coopVecOffsetTypes) {
  ------------------
  |  Branch (5448:28): [True: 24, False: 12]
  ------------------
 5449|  1.08k|            for (uint32_t i = 0; i < sizeof(scalarAndVectorTypes)/sizeof(scalarAndVectorTypes[0]); ++i) {
  ------------------
  |  Branch (5449:34): [True: 1.05k, False: 24]
  ------------------
 5450|  1.05k|                std::string load = std::string("void coopVecLoadNV(out coopvecNV v, volatile coherent ") +
 5451|  1.05k|                                   std::string(scalarAndVectorTypes[i]) + std::string("[] buf, ") + offsetTy + std::string(" offset);");
 5452|  1.05k|                std::string store = std::string("void coopVecStoreNV(coopvecNV v, volatile coherent ") +
 5453|  1.05k|                                   std::string(scalarAndVectorTypes[i]) + std::string("[] buf, ") + offsetTy + std::string(" offset);");
 5454|  1.05k|                commonBuiltins.append(load.c_str());
 5455|  1.05k|                commonBuiltins.append(store.c_str());
 5456|  1.05k|            }
 5457|     24|        }
 5458|       |
 5459|     12|        commonBuiltins.append(
 5460|     12|            "const int gl_CooperativeVectorMatrixLayoutRowMajorNV = 0;\n"
 5461|     12|            "const int gl_CooperativeVectorMatrixLayoutColumnMajorNV = 1;\n"
 5462|     12|            "const int gl_CooperativeVectorMatrixLayoutInferencingOptimalNV = 2;\n"
 5463|     12|            "const int gl_CooperativeVectorMatrixLayoutTrainingOptimalNV = 3;\n"
 5464|     12|            "\n"
 5465|     12|            );
 5466|       |
 5467|     12|        commonBuiltins.append(
 5468|     12|            "const int gl_ComponentTypeFloat16NV                = 0;\n"
 5469|     12|            "const int gl_ComponentTypeFloat32NV                = 1;\n"
 5470|     12|            "const int gl_ComponentTypeFloat64NV                = 2;\n"
 5471|     12|            "const int gl_ComponentTypeSignedInt8NV             = 3;\n"
 5472|     12|            "const int gl_ComponentTypeSignedInt16NV            = 4;\n"
 5473|     12|            "const int gl_ComponentTypeSignedInt32NV            = 5;\n"
 5474|     12|            "const int gl_ComponentTypeSignedInt64NV            = 6;\n"
 5475|     12|            "const int gl_ComponentTypeUnsignedInt8NV           = 7;\n"
 5476|     12|            "const int gl_ComponentTypeUnsignedInt16NV          = 8;\n"
 5477|     12|            "const int gl_ComponentTypeUnsignedInt32NV          = 9;\n"
 5478|     12|            "const int gl_ComponentTypeUnsignedInt64NV          = 10;\n"
 5479|     12|            "const int gl_ComponentTypeSignedInt8PackedNV       = 1000491000;\n"
 5480|     12|            "const int gl_ComponentTypeUnsignedInt8PackedNV     = 1000491001;\n"
 5481|     12|            "const int gl_ComponentTypeFloatE4M3NV              = 1000491002;\n"
 5482|     12|            "const int gl_ComponentTypeFloatE5M2NV              = 1000491003;\n"
 5483|     12|            "\n"
 5484|     12|            );
 5485|     12|    }
 5486|       |
 5487|       |    //============================================================================
 5488|       |    //
 5489|       |    // Prototypes for built-in functions seen by fragment shaders only.
 5490|       |    //
 5491|       |    //============================================================================
 5492|       |
 5493|       |    //
 5494|       |    // Original-style texture Functions with bias.
 5495|       |    //
 5496|    124|    if (spvVersion.spv == 0 && (profile != EEsProfile || version == 100)) {
  ------------------
  |  Branch (5496:9): [True: 0, False: 124]
  |  Branch (5496:33): [True: 0, False: 0]
  |  Branch (5496:58): [True: 0, False: 0]
  ------------------
 5497|      0|        stageBuiltins[EShLangFragment].append(
 5498|      0|            "vec4 texture2D(sampler2D, vec2, float);"
 5499|      0|            "vec4 texture2DProj(sampler2D, vec3, float);"
 5500|      0|            "vec4 texture2DProj(sampler2D, vec4, float);"
 5501|      0|            "vec4 texture3D(sampler3D, vec3, float);"        // OES_texture_3D
 5502|      0|            "vec4 texture3DProj(sampler3D, vec4, float);"    // OES_texture_3D
 5503|      0|            "vec4 textureCube(samplerCube, vec3, float);"
 5504|       |
 5505|      0|            "\n");
 5506|      0|    }
 5507|    124|    if (spvVersion.spv == 0 && (profile != EEsProfile && version > 100)) {
  ------------------
  |  Branch (5507:9): [True: 0, False: 124]
  |  Branch (5507:33): [True: 0, False: 0]
  |  Branch (5507:58): [True: 0, False: 0]
  ------------------
 5508|      0|        stageBuiltins[EShLangFragment].append(
 5509|      0|            "vec4 texture1D(sampler1D, float, float);"
 5510|      0|            "vec4 texture1DProj(sampler1D, vec2, float);"
 5511|      0|            "vec4 texture1DProj(sampler1D, vec4, float);"
 5512|      0|            "vec4 shadow1D(sampler1DShadow, vec3, float);"
 5513|      0|            "vec4 shadow2D(sampler2DShadow, vec3, float);"
 5514|      0|            "vec4 shadow1DProj(sampler1DShadow, vec4, float);"
 5515|      0|            "vec4 shadow2DProj(sampler2DShadow, vec4, float);"
 5516|       |
 5517|      0|            "\n");
 5518|      0|    }
 5519|    124|    if (spvVersion.spv == 0 && profile == EEsProfile) {
  ------------------
  |  Branch (5519:9): [True: 0, False: 124]
  |  Branch (5519:32): [True: 0, False: 0]
  ------------------
 5520|      0|        stageBuiltins[EShLangFragment].append(
 5521|      0|            "vec4 texture2DLodEXT(sampler2D, vec2, float);"      // GL_EXT_shader_texture_lod
 5522|      0|            "vec4 texture2DProjLodEXT(sampler2D, vec3, float);"  // GL_EXT_shader_texture_lod
 5523|      0|            "vec4 texture2DProjLodEXT(sampler2D, vec4, float);"  // GL_EXT_shader_texture_lod
 5524|      0|            "vec4 textureCubeLodEXT(samplerCube, vec3, float);"  // GL_EXT_shader_texture_lod
 5525|       |
 5526|      0|            "\n");
 5527|      0|    }
 5528|       |
 5529|       |    // GL_EXT_shader_tile_image
 5530|    124|    if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (5530:9): [True: 124, False: 0]
  ------------------
 5531|    124|        stageBuiltins[EShLangFragment].append(
 5532|    124|            "lowp uint stencilAttachmentReadEXT();"
 5533|    124|            "lowp uint stencilAttachmentReadEXT(int);"
 5534|    124|            "highp float depthAttachmentReadEXT();"
 5535|    124|            "highp float depthAttachmentReadEXT(int);"
 5536|    124|            "\n");
 5537|    124|        stageBuiltins[EShLangFragment].append(
 5538|    124|            "vec4 colorAttachmentReadEXT(attachmentEXT);"
 5539|    124|            "vec4 colorAttachmentReadEXT(attachmentEXT, int);"
 5540|    124|            "ivec4 colorAttachmentReadEXT(iattachmentEXT);"
 5541|    124|            "ivec4 colorAttachmentReadEXT(iattachmentEXT, int);"
 5542|    124|            "uvec4 colorAttachmentReadEXT(uattachmentEXT);"
 5543|    124|            "uvec4 colorAttachmentReadEXT(uattachmentEXT, int);"
 5544|    124|            "\n");
 5545|    124|    }
 5546|       |
 5547|       |    // GL_ARB_derivative_control
 5548|    124|    if (profile != EEsProfile && version >= 400) {
  ------------------
  |  Branch (5548:9): [True: 124, False: 0]
  |  Branch (5548:34): [True: 16, False: 108]
  ------------------
 5549|     16|        stageBuiltins[EShLangFragment].append(derivativeControls);
 5550|     16|        stageBuiltins[EShLangFragment].append("\n");
 5551|     16|    }
 5552|       |
 5553|       |    // GL_OES_shader_multisample_interpolation
 5554|    124|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (5554:10): [True: 0, False: 124]
  |  Branch (5554:35): [True: 0, False: 0]
  ------------------
 5555|    124|        (profile != EEsProfile && version >= 150)) { // NV_gpu_shader5
  ------------------
  |  Branch (5555:10): [True: 124, False: 0]
  |  Branch (5555:35): [True: 17, False: 107]
  ------------------
 5556|     17|        stageBuiltins[EShLangFragment].append(
 5557|     17|            "float interpolateAtCentroid(float);"
 5558|     17|            "vec2  interpolateAtCentroid(vec2);"
 5559|     17|            "vec3  interpolateAtCentroid(vec3);"
 5560|     17|            "vec4  interpolateAtCentroid(vec4);"
 5561|       |
 5562|     17|            "float interpolateAtSample(float, int);"
 5563|     17|            "vec2  interpolateAtSample(vec2,  int);"
 5564|     17|            "vec3  interpolateAtSample(vec3,  int);"
 5565|     17|            "vec4  interpolateAtSample(vec4,  int);"
 5566|       |
 5567|     17|            "float interpolateAtOffset(float, vec2);"
 5568|     17|            "vec2  interpolateAtOffset(vec2,  vec2);"
 5569|     17|            "vec3  interpolateAtOffset(vec3,  vec2);"
 5570|     17|            "vec4  interpolateAtOffset(vec4,  vec2);"
 5571|       |
 5572|     17|            "\n");
 5573|     17|    }
 5574|       |
 5575|    124|    stageBuiltins[EShLangFragment].append(
 5576|    124|        "void beginInvocationInterlockARB(void);"
 5577|    124|        "void endInvocationInterlockARB(void);");
 5578|       |
 5579|    124|    stageBuiltins[EShLangFragment].append(
 5580|    124|        "bool helperInvocationEXT();"
 5581|    124|        "\n");
 5582|       |
 5583|       |    // GL_AMD_shader_explicit_vertex_parameter
 5584|    124|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5584:9): [True: 124, False: 0]
  |  Branch (5584:34): [True: 12, False: 112]
  ------------------
 5585|     12|        stageBuiltins[EShLangFragment].append(
 5586|     12|            "float interpolateAtVertexAMD(float, uint);"
 5587|     12|            "vec2  interpolateAtVertexAMD(vec2,  uint);"
 5588|     12|            "vec3  interpolateAtVertexAMD(vec3,  uint);"
 5589|     12|            "vec4  interpolateAtVertexAMD(vec4,  uint);"
 5590|       |
 5591|     12|            "int   interpolateAtVertexAMD(int,   uint);"
 5592|     12|            "ivec2 interpolateAtVertexAMD(ivec2, uint);"
 5593|     12|            "ivec3 interpolateAtVertexAMD(ivec3, uint);"
 5594|     12|            "ivec4 interpolateAtVertexAMD(ivec4, uint);"
 5595|       |
 5596|     12|            "uint  interpolateAtVertexAMD(uint,  uint);"
 5597|     12|            "uvec2 interpolateAtVertexAMD(uvec2, uint);"
 5598|     12|            "uvec3 interpolateAtVertexAMD(uvec3, uint);"
 5599|     12|            "uvec4 interpolateAtVertexAMD(uvec4, uint);"
 5600|       |
 5601|     12|            "float16_t interpolateAtVertexAMD(float16_t, uint);"
 5602|     12|            "f16vec2   interpolateAtVertexAMD(f16vec2,   uint);"
 5603|     12|            "f16vec3   interpolateAtVertexAMD(f16vec3,   uint);"
 5604|     12|            "f16vec4   interpolateAtVertexAMD(f16vec4,   uint);"
 5605|       |
 5606|     12|            "\n");
 5607|     12|    }
 5608|       |
 5609|       |    // GL_AMD_gpu_shader_half_float
 5610|    124|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5610:9): [True: 124, False: 0]
  |  Branch (5610:34): [True: 12, False: 112]
  ------------------
 5611|     12|        stageBuiltins[EShLangFragment].append(derivativesAndControl16bits);
 5612|     12|        stageBuiltins[EShLangFragment].append("\n");
 5613|       |
 5614|     12|        stageBuiltins[EShLangFragment].append(
 5615|     12|            "float16_t interpolateAtCentroid(float16_t);"
 5616|     12|            "f16vec2   interpolateAtCentroid(f16vec2);"
 5617|     12|            "f16vec3   interpolateAtCentroid(f16vec3);"
 5618|     12|            "f16vec4   interpolateAtCentroid(f16vec4);"
 5619|       |
 5620|     12|            "float16_t interpolateAtSample(float16_t, int);"
 5621|     12|            "f16vec2   interpolateAtSample(f16vec2,   int);"
 5622|     12|            "f16vec3   interpolateAtSample(f16vec3,   int);"
 5623|     12|            "f16vec4   interpolateAtSample(f16vec4,   int);"
 5624|       |
 5625|     12|            "float16_t interpolateAtOffset(float16_t, f16vec2);"
 5626|     12|            "f16vec2   interpolateAtOffset(f16vec2,   f16vec2);"
 5627|     12|            "f16vec3   interpolateAtOffset(f16vec3,   f16vec2);"
 5628|     12|            "f16vec4   interpolateAtOffset(f16vec4,   f16vec2);"
 5629|       |
 5630|     12|            "\n");
 5631|     12|    }
 5632|       |
 5633|       |    // GL_ARB_shader_clock& GL_EXT_shader_realtime_clock
 5634|    124|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5634:9): [True: 124, False: 0]
  |  Branch (5634:34): [True: 12, False: 112]
  ------------------
 5635|     12|        commonBuiltins.append(
 5636|     12|            "uvec2 clock2x32ARB();"
 5637|     12|            "uint64_t clockARB();"
 5638|     12|            "uvec2 clockRealtime2x32EXT();"
 5639|     12|            "uint64_t clockRealtimeEXT();"
 5640|     12|            "\n");
 5641|     12|    }
 5642|       |
 5643|       |    // GL_AMD_shader_fragment_mask
 5644|    124|    if (profile != EEsProfile && version >= 450 && spvVersion.vulkan > 0) {
  ------------------
  |  Branch (5644:9): [True: 124, False: 0]
  |  Branch (5644:34): [True: 12, False: 112]
  |  Branch (5644:52): [True: 12, False: 0]
  ------------------
 5645|     12|        stageBuiltins[EShLangFragment].append(
 5646|     12|            "uint fragmentMaskFetchAMD(subpassInputMS);"
 5647|     12|            "uint fragmentMaskFetchAMD(isubpassInputMS);"
 5648|     12|            "uint fragmentMaskFetchAMD(usubpassInputMS);"
 5649|       |
 5650|     12|            "vec4  fragmentFetchAMD(subpassInputMS,  uint);"
 5651|     12|            "ivec4 fragmentFetchAMD(isubpassInputMS, uint);"
 5652|     12|            "uvec4 fragmentFetchAMD(usubpassInputMS, uint);"
 5653|       |
 5654|     12|            "\n");
 5655|     12|    }
 5656|       |
 5657|       |    // Builtins for GL_NV_ray_tracing/GL_NV_ray_tracing_motion_blur/GL_EXT_ray_tracing/GL_EXT_ray_query/
 5658|       |    // GL_NV_shader_invocation_reorder/GL_KHR_ray_tracing_position_Fetch
 5659|    124|    if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (5659:9): [True: 124, False: 0]
  |  Branch (5659:34): [True: 1, False: 123]
  ------------------
 5660|      1|         commonBuiltins.append("void rayQueryInitializeEXT(rayQueryEXT, accelerationStructureEXT, uint, uint, vec3, float, vec3, float);"
 5661|      1|            "void rayQueryTerminateEXT(rayQueryEXT);"
 5662|      1|            "void rayQueryGenerateIntersectionEXT(rayQueryEXT, float);"
 5663|      1|            "void rayQueryConfirmIntersectionEXT(rayQueryEXT);"
 5664|      1|            "bool rayQueryProceedEXT(rayQueryEXT);"
 5665|      1|            "uint rayQueryGetIntersectionTypeEXT(rayQueryEXT, bool);"
 5666|      1|            "float rayQueryGetRayTMinEXT(rayQueryEXT);"
 5667|      1|            "uint rayQueryGetRayFlagsEXT(rayQueryEXT);"
 5668|      1|            "vec3 rayQueryGetWorldRayOriginEXT(rayQueryEXT);"
 5669|      1|            "vec3 rayQueryGetWorldRayDirectionEXT(rayQueryEXT);"
 5670|      1|            "float rayQueryGetIntersectionTEXT(rayQueryEXT, bool);"
 5671|      1|            "int rayQueryGetIntersectionInstanceCustomIndexEXT(rayQueryEXT, bool);"
 5672|      1|            "int rayQueryGetIntersectionInstanceIdEXT(rayQueryEXT, bool);"
 5673|      1|            "uint rayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetEXT(rayQueryEXT, bool);"
 5674|      1|            "int rayQueryGetIntersectionGeometryIndexEXT(rayQueryEXT, bool);"
 5675|      1|            "int rayQueryGetIntersectionPrimitiveIndexEXT(rayQueryEXT, bool);"
 5676|      1|            "vec2 rayQueryGetIntersectionBarycentricsEXT(rayQueryEXT, bool);"
 5677|      1|            "bool rayQueryGetIntersectionFrontFaceEXT(rayQueryEXT, bool);"
 5678|      1|            "bool rayQueryGetIntersectionCandidateAABBOpaqueEXT(rayQueryEXT);"
 5679|      1|            "vec3 rayQueryGetIntersectionObjectRayDirectionEXT(rayQueryEXT, bool);"
 5680|      1|            "vec3 rayQueryGetIntersectionObjectRayOriginEXT(rayQueryEXT, bool);"
 5681|      1|            "mat4x3 rayQueryGetIntersectionObjectToWorldEXT(rayQueryEXT, bool);"
 5682|      1|            "mat4x3 rayQueryGetIntersectionWorldToObjectEXT(rayQueryEXT, bool);"
 5683|      1|            "void rayQueryGetIntersectionTriangleVertexPositionsEXT(rayQueryEXT, bool, out vec3[3]);"
 5684|      1|            "int rayQueryGetIntersectionClusterIdNV(rayQueryEXT, bool);"
 5685|      1|            "vec3 rayQueryGetIntersectionSpherePositionNV(rayQueryEXT, bool);"
 5686|      1|            "float rayQueryGetIntersectionSphereRadiusNV(rayQueryEXT, bool);"
 5687|      1|            "float rayQueryGetIntersectionLSSHitValueNV(rayQueryEXT, bool);"
 5688|      1|            "void rayQueryGetIntersectionLSSPositionsNV(rayQueryEXT, bool, out vec3[2]);"
 5689|      1|            "void rayQueryGetIntersectionLSSRadiiNV(rayQueryEXT, bool, out float[2]);"
 5690|      1|            "bool rayQueryIsSphereHitNV(rayQueryEXT, bool);"
 5691|      1|            "bool rayQueryIsLSSHitNV(rayQueryEXT, bool);"
 5692|      1|            "\n");
 5693|       |
 5694|      1|        stageBuiltins[EShLangRayGen].append(
 5695|      1|            "void traceNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5696|      1|            "void traceRayMotionNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5697|      1|            "void traceRayEXT(accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5698|      1|            "void executeCallableNV(uint, int);"
 5699|      1|            "void executeCallableEXT(uint, int);"
 5700|      1|            "void hitObjectTraceRayNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5701|      1|            "void hitObjectTraceRayMotionNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5702|      1|            "void hitObjectRecordHitNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,int);"
 5703|      1|            "void hitObjectRecordHitMotionNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5704|      1|            "void hitObjectRecordHitWithIndexNV(hitObjectNV, accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,int);"
 5705|      1|            "void hitObjectRecordHitWithIndexMotionNV(hitObjectNV, accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,float,int);"
 5706|      1|            "void hitObjectRecordMissNV(hitObjectNV,uint,vec3,float,vec3,float);"
 5707|      1|            "void hitObjectRecordMissMotionNV(hitObjectNV,uint,vec3,float,vec3,float,float);"
 5708|      1|            "void hitObjectRecordEmptyNV(hitObjectNV);"
 5709|      1|            "void hitObjectExecuteShaderNV(hitObjectNV,int);"
 5710|      1|            "bool hitObjectIsEmptyNV(hitObjectNV);"
 5711|      1|            "bool hitObjectIsMissNV(hitObjectNV);"
 5712|      1|            "bool hitObjectIsHitNV(hitObjectNV);"
 5713|      1|            "float hitObjectGetRayTMinNV(hitObjectNV);"
 5714|      1|            "float hitObjectGetRayTMaxNV(hitObjectNV);"
 5715|      1|            "vec3 hitObjectGetWorldRayOriginNV(hitObjectNV);"
 5716|      1|            "vec3 hitObjectGetWorldRayDirectionNV(hitObjectNV);"
 5717|      1|            "vec3 hitObjectGetObjectRayOriginNV(hitObjectNV);"
 5718|      1|            "vec3 hitObjectGetObjectRayDirectionNV(hitObjectNV);"
 5719|      1|            "mat4x3 hitObjectGetWorldToObjectNV(hitObjectNV);"
 5720|      1|            "mat4x3 hitObjectGetObjectToWorldNV(hitObjectNV);"
 5721|      1|            "int hitObjectGetInstanceCustomIndexNV(hitObjectNV);"
 5722|      1|            "int hitObjectGetInstanceIdNV(hitObjectNV);"
 5723|      1|            "int hitObjectGetGeometryIndexNV(hitObjectNV);"
 5724|      1|            "int hitObjectGetPrimitiveIndexNV(hitObjectNV);"
 5725|      1|            "uint hitObjectGetHitKindNV(hitObjectNV);"
 5726|      1|            "void hitObjectGetAttributesNV(hitObjectNV,int);"
 5727|      1|            "float hitObjectGetCurrentTimeNV(hitObjectNV);"
 5728|      1|            "uint hitObjectGetShaderBindingTableRecordIndexNV(hitObjectNV);"
 5729|      1|            "uvec2 hitObjectGetShaderRecordBufferHandleNV(hitObjectNV);"
 5730|      1|            "int hitObjectGetClusterIdNV(hitObjectNV);"
 5731|      1|            "void reorderThreadNV(uint, uint);"
 5732|      1|            "void reorderThreadNV(hitObjectNV);"
 5733|      1|            "void reorderThreadNV(hitObjectNV, uint, uint);"
 5734|      1|            "vec3 fetchMicroTriangleVertexPositionNV(accelerationStructureEXT, int, int, int, ivec2);"
 5735|      1|            "vec2 fetchMicroTriangleVertexBarycentricNV(accelerationStructureEXT, int, int, int, ivec2);"
 5736|      1|            "vec3 hitObjectGetSpherePositionNV(hitObjectNV);"
 5737|      1|            "float hitObjectGetSphereRadiusNV(hitObjectNV);"
 5738|      1|            "void hitObjectGetLSSPositionsNV(hitObjectNV, out vec3[2]);"
 5739|      1|            "void hitObjectGetLSSRadiiNV(hitObjectNV, out float[2]);"
 5740|      1|            "bool hitObjectIsSphereHitNV(hitObjectNV);"
 5741|      1|            "bool hitObjectIsLSSHitNV(hitObjectNV);"
 5742|      1|            "void hitObjectTraceRayEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5743|      1|            "void hitObjectTraceRayMotionEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5744|      1|            "void hitObjectRecordMissEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float);"
 5745|      1|            "void hitObjectRecordMissMotionEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float,float);"
 5746|      1|            "void hitObjectRecordEmptyEXT(hitObjectEXT);"
 5747|      1|            "void hitObjectExecuteShaderEXT(hitObjectEXT,int);"
 5748|      1|            "bool hitObjectIsEmptyEXT(hitObjectEXT);"
 5749|      1|            "bool hitObjectIsMissEXT(hitObjectEXT);"
 5750|      1|            "bool hitObjectIsHitEXT(hitObjectEXT);"
 5751|      1|            "float hitObjectGetRayTMinEXT(hitObjectEXT);"
 5752|      1|            "float hitObjectGetRayTMaxEXT(hitObjectEXT);"
 5753|      1|            "uint hitObjectGetRayFlagsEXT(hitObjectEXT);"
 5754|      1|            "vec3 hitObjectGetWorldRayOriginEXT(hitObjectEXT);"
 5755|      1|            "vec3 hitObjectGetWorldRayDirectionEXT(hitObjectEXT);"
 5756|      1|            "vec3 hitObjectGetObjectRayOriginEXT(hitObjectEXT);"
 5757|      1|            "vec3 hitObjectGetObjectRayDirectionEXT(hitObjectEXT);"
 5758|      1|            "mat4x3 hitObjectGetWorldToObjectEXT(hitObjectEXT);"
 5759|      1|            "mat4x3 hitObjectGetObjectToWorldEXT(hitObjectEXT);"
 5760|      1|            "int hitObjectGetInstanceCustomIndexEXT(hitObjectEXT);"
 5761|      1|            "int hitObjectGetInstanceIdEXT(hitObjectEXT);"
 5762|      1|            "int hitObjectGetGeometryIndexEXT(hitObjectEXT);"
 5763|      1|            "int hitObjectGetPrimitiveIndexEXT(hitObjectEXT);"
 5764|      1|            "uint hitObjectGetHitKindEXT(hitObjectEXT);"
 5765|      1|            "void hitObjectGetAttributesEXT(hitObjectEXT,int);"
 5766|      1|            "float hitObjectGetCurrentTimeEXT(hitObjectEXT);"
 5767|      1|            "uint hitObjectGetShaderBindingTableRecordIndexEXT(hitObjectEXT);"
 5768|      1|            "uvec2 hitObjectGetShaderRecordBufferHandleEXT(hitObjectEXT);"
 5769|      1|            "void hitObjectSetShaderBindingTableRecordIndexEXT(hitObjectEXT, uint);"
 5770|      1|            "void hitObjectReorderExecuteEXT(hitObjectEXT,int);"
 5771|      1|            "void hitObjectReorderExecuteEXT(hitObjectEXT,uint,uint,int);"
 5772|      1|            "void hitObjectTraceReorderExecuteEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5773|      1|            "void hitObjectTraceReorderExecuteEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,uint,uint,int);"
 5774|      1|            "void hitObjectTraceMotionReorderExecuteEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5775|      1|            "void hitObjectTraceMotionReorderExecuteEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,uint,uint,int);"
 5776|      1|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT, uint, int);"
 5777|      1|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT, uint, int, uint);"
 5778|      1|            "void hitObjectGetIntersectionTriangleVertexPositionsEXT(hitObjectEXT, out vec3[3]);"
 5779|      1|            "void reorderThreadEXT(uint, uint);"
 5780|      1|            "void reorderThreadEXT(hitObjectEXT);"
 5781|      1|            "void reorderThreadEXT(hitObjectEXT, uint, uint);"
 5782|      1|            "\n");
 5783|      1|        stageBuiltins[EShLangIntersect].append(
 5784|      1|            "bool reportIntersectionNV(float, uint);"
 5785|      1|            "bool reportIntersectionEXT(float, uint);"
 5786|      1|            "\n");
 5787|      1|        stageBuiltins[EShLangAnyHit].append(
 5788|      1|            "void ignoreIntersectionNV();"
 5789|      1|            "void terminateRayNV();"
 5790|      1|            "\n");
 5791|      1|        stageBuiltins[EShLangClosestHit].append(
 5792|      1|            "void traceNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5793|      1|            "void traceRayMotionNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5794|      1|            "void traceRayEXT(accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5795|      1|            "void executeCallableNV(uint, int);"
 5796|      1|            "void executeCallableEXT(uint, int);"
 5797|      1|            "void hitObjectTraceRayNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5798|      1|            "void hitObjectTraceRayMotionNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5799|      1|            "void hitObjectRecordHitNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,int);"
 5800|      1|            "void hitObjectRecordHitMotionNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5801|      1|            "void hitObjectRecordHitWithIndexNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,int);"
 5802|      1|            "void hitObjectRecordHitWithIndexMotionNV(hitObjectNV, accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,float,int);"
 5803|      1|            "void hitObjectRecordMissNV(hitObjectNV, uint, vec3, float, vec3, float);"
 5804|      1|            "void hitObjectRecordMissMotionNV(hitObjectNV,uint,vec3,float,vec3,float,float);"
 5805|      1|            "void hitObjectRecordEmptyNV(hitObjectNV);"
 5806|      1|            "void hitObjectExecuteShaderNV(hitObjectNV, int);"
 5807|      1|            "bool hitObjectIsEmptyNV(hitObjectNV);"
 5808|      1|            "bool hitObjectIsMissNV(hitObjectNV);"
 5809|      1|            "bool hitObjectIsHitNV(hitObjectNV);"
 5810|      1|            "float hitObjectGetRayTMinNV(hitObjectNV);"
 5811|      1|            "float hitObjectGetRayTMaxNV(hitObjectNV);"
 5812|      1|            "vec3 hitObjectGetWorldRayOriginNV(hitObjectNV);"
 5813|      1|            "vec3 hitObjectGetWorldRayDirectionNV(hitObjectNV);"
 5814|      1|            "vec3 hitObjectGetObjectRayOriginNV(hitObjectNV);"
 5815|      1|            "vec3 hitObjectGetObjectRayDirectionNV(hitObjectNV);"
 5816|      1|            "mat4x3 hitObjectGetWorldToObjectNV(hitObjectNV);"
 5817|      1|            "mat4x3 hitObjectGetObjectToWorldNV(hitObjectNV);"
 5818|      1|            "int hitObjectGetInstanceCustomIndexNV(hitObjectNV);"
 5819|      1|            "int hitObjectGetInstanceIdNV(hitObjectNV);"
 5820|      1|            "int hitObjectGetGeometryIndexNV(hitObjectNV);"
 5821|      1|            "int hitObjectGetPrimitiveIndexNV(hitObjectNV);"
 5822|      1|            "uint hitObjectGetHitKindNV(hitObjectNV);"
 5823|      1|            "void hitObjectGetAttributesNV(hitObjectNV,int);"
 5824|      1|            "float hitObjectGetCurrentTimeNV(hitObjectNV);"
 5825|      1|            "uint hitObjectGetShaderBindingTableRecordIndexNV(hitObjectNV);"
 5826|      1|            "uvec2 hitObjectGetShaderRecordBufferHandleNV(hitObjectNV);"
 5827|      1|            "int hitObjectGetClusterIdNV(hitObjectNV);"
 5828|      1|            "vec3 hitObjectGetSpherePositionNV(hitObjectNV);"
 5829|      1|            "float hitObjectGetSphereRadiusNV(hitObjectNV);"
 5830|      1|            "void hitObjectGetLSSPositionsNV(hitObjectNV, out vec3[2]);"
 5831|      1|            "void hitObjectGetLSSRadiiNV(hitObjectNV, out float[2]);"
 5832|      1|            "bool hitObjectIsSphereHitNV(hitObjectNV);"
 5833|      1|            "bool hitObjectIsLSSHitNV(hitObjectNV);"
 5834|      1|            "void hitObjectTraceRayEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5835|      1|            "void hitObjectTraceRayMotionEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5836|      1|            "void hitObjectRecordMissEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float);"
 5837|      1|            "void hitObjectRecordMissMotionEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float,float);"
 5838|      1|            "void hitObjectRecordEmptyEXT(hitObjectEXT);"
 5839|      1|            "void hitObjectExecuteShaderEXT(hitObjectEXT,int);"
 5840|      1|            "bool hitObjectIsEmptyEXT(hitObjectEXT);"
 5841|      1|            "bool hitObjectIsMissEXT(hitObjectEXT);"
 5842|      1|            "bool hitObjectIsHitEXT(hitObjectEXT);"
 5843|      1|            "float hitObjectGetRayTMinEXT(hitObjectEXT);"
 5844|      1|            "float hitObjectGetRayTMaxEXT(hitObjectEXT);"
 5845|      1|            "uint hitObjectGetRayFlagsEXT(hitObjectEXT);"
 5846|      1|            "vec3 hitObjectGetWorldRayOriginEXT(hitObjectEXT);"
 5847|      1|            "vec3 hitObjectGetWorldRayDirectionEXT(hitObjectEXT);"
 5848|      1|            "vec3 hitObjectGetObjectRayOriginEXT(hitObjectEXT);"
 5849|      1|            "vec3 hitObjectGetObjectRayDirectionEXT(hitObjectEXT);"
 5850|      1|            "mat4x3 hitObjectGetWorldToObjectEXT(hitObjectEXT);"
 5851|      1|            "mat4x3 hitObjectGetObjectToWorldEXT(hitObjectEXT);"
 5852|      1|            "int hitObjectGetInstanceCustomIndexEXT(hitObjectEXT);"
 5853|      1|            "int hitObjectGetInstanceIdEXT(hitObjectEXT);"
 5854|      1|            "int hitObjectGetGeometryIndexEXT(hitObjectEXT);"
 5855|      1|            "int hitObjectGetPrimitiveIndexEXT(hitObjectEXT);"
 5856|      1|            "uint hitObjectGetHitKindEXT(hitObjectEXT);"
 5857|      1|            "void hitObjectGetAttributesEXT(hitObjectEXT,int);"
 5858|      1|            "float hitObjectGetCurrentTimeEXT(hitObjectEXT);"
 5859|      1|            "uint hitObjectGetShaderBindingTableRecordIndexEXT(hitObjectEXT);"
 5860|      1|            "uvec2 hitObjectGetShaderRecordBufferHandleEXT(hitObjectEXT);"
 5861|      1|            "void hitObjectSetShaderBindingTableRecordIndexEXT(hitObjectEXT, uint);"
 5862|      1|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT,uint, int);"
 5863|      1|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT,uint, int, uint);"
 5864|      1|            "void hitObjectGetIntersectionTriangleVertexPositionsEXT(hitObjectEXT, out vec3[3]);"
 5865|      1|            "\n");
 5866|      1|        stageBuiltins[EShLangMiss].append(
 5867|      1|            "void traceNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5868|      1|            "void traceRayMotionNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5869|      1|            "void traceRayEXT(accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5870|      1|            "void executeCallableNV(uint, int);"
 5871|      1|            "void executeCallableEXT(uint, int);"
 5872|      1|            "void hitObjectTraceRayNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5873|      1|            "void hitObjectTraceRayMotionNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5874|      1|            "void hitObjectRecordHitNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,int);"
 5875|      1|            "void hitObjectRecordHitMotionNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5876|      1|            "void hitObjectRecordHitWithIndexNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,int);"
 5877|      1|            "void hitObjectRecordHitWithIndexMotionNV(hitObjectNV, accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,float,int);"
 5878|      1|            "void hitObjectRecordMissNV(hitObjectNV, uint, vec3, float, vec3, float);"
 5879|      1|            "void hitObjectRecordMissMotionNV(hitObjectNV,uint,vec3,float,vec3,float,float);"
 5880|      1|            "void hitObjectRecordEmptyNV(hitObjectNV);"
 5881|      1|            "void hitObjectExecuteShaderNV(hitObjectNV, int);"
 5882|      1|            "bool hitObjectIsEmptyNV(hitObjectNV);"
 5883|      1|            "bool hitObjectIsMissNV(hitObjectNV);"
 5884|      1|            "bool hitObjectIsHitNV(hitObjectNV);"
 5885|      1|            "float hitObjectGetRayTMinNV(hitObjectNV);"
 5886|      1|            "float hitObjectGetRayTMaxNV(hitObjectNV);"
 5887|      1|            "vec3 hitObjectGetWorldRayOriginNV(hitObjectNV);"
 5888|      1|            "vec3 hitObjectGetWorldRayDirectionNV(hitObjectNV);"
 5889|      1|            "vec3 hitObjectGetObjectRayOriginNV(hitObjectNV);"
 5890|      1|            "vec3 hitObjectGetObjectRayDirectionNV(hitObjectNV);"
 5891|      1|            "mat4x3 hitObjectGetWorldToObjectNV(hitObjectNV);"
 5892|      1|            "mat4x3 hitObjectGetObjectToWorldNV(hitObjectNV);"
 5893|      1|            "int hitObjectGetInstanceCustomIndexNV(hitObjectNV);"
 5894|      1|            "int hitObjectGetInstanceIdNV(hitObjectNV);"
 5895|      1|            "int hitObjectGetGeometryIndexNV(hitObjectNV);"
 5896|      1|            "int hitObjectGetPrimitiveIndexNV(hitObjectNV);"
 5897|      1|            "uint hitObjectGetHitKindNV(hitObjectNV);"
 5898|      1|            "void hitObjectGetAttributesNV(hitObjectNV,int);"
 5899|      1|            "float hitObjectGetCurrentTimeNV(hitObjectNV);"
 5900|      1|            "uint hitObjectGetShaderBindingTableRecordIndexNV(hitObjectNV);"
 5901|      1|            "uvec2 hitObjectGetShaderRecordBufferHandleNV(hitObjectNV);"
 5902|      1|            "int hitObjectGetClusterIdNV(hitObjectNV);"
 5903|      1|            "vec3 hitObjectGetSpherePositionNV(hitObjectNV);"
 5904|      1|            "float hitObjectGetSphereRadiusNV(hitObjectNV);"
 5905|      1|            "void hitObjectGetLSSPositionsNV(hitObjectNV, out vec3[2]);"
 5906|      1|            "void hitObjectGetLSSRadiiNV(hitObjectNV, out float[2]);"
 5907|      1|            "bool hitObjectIsSphereHitNV(hitObjectNV);"
 5908|      1|            "bool hitObjectIsLSSHitNV(hitObjectNV);"
 5909|      1|            "void hitObjectTraceRayEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5910|      1|            "void hitObjectTraceRayMotionEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5911|      1|            "void hitObjectRecordMissEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float);"
 5912|      1|            "void hitObjectRecordMissMotionEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float,float);"
 5913|      1|            "void hitObjectRecordEmptyEXT(hitObjectEXT);"
 5914|      1|            "void hitObjectExecuteShaderEXT(hitObjectEXT,int);"
 5915|      1|            "bool hitObjectIsEmptyEXT(hitObjectEXT);"
 5916|      1|            "bool hitObjectIsMissEXT(hitObjectEXT);"
 5917|      1|            "bool hitObjectIsHitEXT(hitObjectEXT);"
 5918|      1|            "float hitObjectGetRayTMinEXT(hitObjectEXT);"
 5919|      1|            "float hitObjectGetRayTMaxEXT(hitObjectEXT);"
 5920|      1|            "uint hitObjectGetRayFlagsEXT(hitObjectEXT);"
 5921|      1|            "vec3 hitObjectGetWorldRayOriginEXT(hitObjectEXT);"
 5922|      1|            "vec3 hitObjectGetWorldRayDirectionEXT(hitObjectEXT);"
 5923|      1|            "vec3 hitObjectGetObjectRayOriginEXT(hitObjectEXT);"
 5924|      1|            "vec3 hitObjectGetObjectRayDirectionEXT(hitObjectEXT);"
 5925|      1|            "mat4x3 hitObjectGetWorldToObjectEXT(hitObjectEXT);"
 5926|      1|            "mat4x3 hitObjectGetObjectToWorldEXT(hitObjectEXT);"
 5927|      1|            "int hitObjectGetInstanceCustomIndexEXT(hitObjectEXT);"
 5928|      1|            "int hitObjectGetInstanceIdEXT(hitObjectEXT);"
 5929|      1|            "int hitObjectGetGeometryIndexEXT(hitObjectEXT);"
 5930|      1|            "int hitObjectGetPrimitiveIndexEXT(hitObjectEXT);"
 5931|      1|            "uint hitObjectGetHitKindEXT(hitObjectEXT);"
 5932|      1|            "void hitObjectGetAttributesEXT(hitObjectEXT,int);"
 5933|      1|            "float hitObjectGetCurrentTimeEXT(hitObjectEXT);"
 5934|      1|            "uint hitObjectGetShaderBindingTableRecordIndexEXT(hitObjectEXT);"
 5935|      1|            "uvec2 hitObjectGetShaderRecordBufferHandleEXT(hitObjectEXT);"
 5936|      1|            "void hitObjectSetShaderBindingTableRecordIndexEXT(hitObjectEXT, uint);"
 5937|      1|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT, uint, int);"
 5938|      1|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT, uint, int, uint);"
 5939|      1|            "void hitObjectGetIntersectionTriangleVertexPositionsEXT(hitObjectEXT, out vec3[3]);"
 5940|      1|            "\n");
 5941|      1|        stageBuiltins[EShLangCallable].append(
 5942|      1|            "void executeCallableNV(uint, int);"
 5943|      1|            "void executeCallableEXT(uint, int);"
 5944|      1|            "\n");
 5945|      1|    }
 5946|       |
 5947|       |    // GL_KHR_compute_shader_derivatives / SPV_NV_compute_shader_derivatives
 5948|    124|    if ((profile == EEsProfile && version >= 320) || (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (5948:10): [True: 0, False: 124]
  |  Branch (5948:35): [True: 0, False: 0]
  |  Branch (5948:55): [True: 124, False: 0]
  |  Branch (5948:80): [True: 12, False: 112]
  ------------------
 5949|     12|        if (profile != EEsProfile) {
  ------------------
  |  Branch (5949:13): [True: 12, False: 0]
  ------------------
 5950|     12|            stageBuiltins[EShLangCompute].append(derivatives);
 5951|     12|            stageBuiltins[EShLangTask].append(derivatives);
 5952|     12|            stageBuiltins[EShLangMesh].append(derivatives);
 5953|     12|        }
 5954|       |
 5955|     12|        stageBuiltins[EShLangCompute].append(derivativeControls);
 5956|     12|        stageBuiltins[EShLangCompute].append("\n");
 5957|       |
 5958|     12|        if (profile != EEsProfile) {
  ------------------
  |  Branch (5958:13): [True: 12, False: 0]
  ------------------
 5959|     12|            stageBuiltins[EShLangTask].append(derivativeControls);
 5960|     12|            stageBuiltins[EShLangTask].append("\n");
 5961|     12|            stageBuiltins[EShLangMesh].append(derivativeControls);
 5962|     12|            stageBuiltins[EShLangMesh].append("\n");
 5963|     12|        }
 5964|     12|    }
 5965|    124|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5965:9): [True: 124, False: 0]
  |  Branch (5965:34): [True: 12, False: 112]
  ------------------
 5966|     12|        stageBuiltins[EShLangCompute].append(derivativesAndControl16bits);
 5967|     12|        stageBuiltins[EShLangCompute].append(derivativesAndControl64bits);
 5968|     12|        stageBuiltins[EShLangCompute].append("\n");
 5969|     12|        stageBuiltins[EShLangTask].append(derivativesAndControl16bits);
 5970|     12|        stageBuiltins[EShLangTask].append(derivativesAndControl64bits);
 5971|     12|        stageBuiltins[EShLangTask].append("\n");
 5972|     12|        stageBuiltins[EShLangMesh].append(derivativesAndControl16bits);
 5973|     12|        stageBuiltins[EShLangMesh].append(derivativesAndControl64bits);
 5974|     12|        stageBuiltins[EShLangMesh].append("\n");
 5975|     12|    }
 5976|       |
 5977|       |    // Builtins for GL_NV_mesh_shader
 5978|    124|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (5978:10): [True: 124, False: 0]
  |  Branch (5978:35): [True: 12, False: 112]
  |  Branch (5978:55): [True: 0, False: 112]
  |  Branch (5978:80): [True: 0, False: 0]
  ------------------
 5979|     12|        stageBuiltins[EShLangMesh].append(
 5980|     12|            "void writePackedPrimitiveIndices4x8NV(uint, uint);"
 5981|     12|            "\n");
 5982|     12|    }
 5983|       |    // Builtins for GL_EXT_mesh_shader
 5984|    124|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (5984:10): [True: 124, False: 0]
  |  Branch (5984:35): [True: 12, False: 112]
  |  Branch (5984:55): [True: 0, False: 112]
  |  Branch (5984:80): [True: 0, False: 0]
  ------------------
 5985|       |        // Builtins for GL_EXT_mesh_shader
 5986|     12|        stageBuiltins[EShLangTask].append(
 5987|     12|            "void EmitMeshTasksEXT(uint, uint, uint);"
 5988|     12|            "\n");
 5989|       |
 5990|     12|        stageBuiltins[EShLangMesh].append(
 5991|     12|            "void SetMeshOutputsEXT(uint, uint);"
 5992|     12|            "\n");
 5993|     12|    }
 5994|       |    // Builtins for GL_NV_displacement_micromap
 5995|    124|    if ((profile != EEsProfile && version >= 460) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (5995:10): [True: 124, False: 0]
  |  Branch (5995:35): [True: 1, False: 123]
  |  Branch (5995:55): [True: 0, False: 123]
  |  Branch (5995:80): [True: 0, False: 0]
  ------------------
 5996|      1|        stageBuiltins[EShLangMesh].append(
 5997|      1|            "vec3 fetchMicroTriangleVertexPositionNV(accelerationStructureEXT, int, int, int, ivec2);"
 5998|      1|            "vec2 fetchMicroTriangleVertexBarycentricNV(accelerationStructureEXT, int, int, int, ivec2);"
 5999|      1|            "\n");
 6000|       |
 6001|      1|        stageBuiltins[EShLangCompute].append(
 6002|      1|            "vec3 fetchMicroTriangleVertexPositionNV(accelerationStructureEXT, int, int, int, ivec2);"
 6003|      1|            "vec2 fetchMicroTriangleVertexBarycentricNV(accelerationStructureEXT, int, int, int, ivec2);"
 6004|      1|            "\n");
 6005|       |
 6006|      1|    }
 6007|       |
 6008|       |
 6009|       |    //============================================================================
 6010|       |    //
 6011|       |    // Standard Uniforms
 6012|       |    //
 6013|       |    //============================================================================
 6014|       |
 6015|       |    //
 6016|       |    // Depth range in window coordinates, p. 33
 6017|       |    //
 6018|    124|    if (spvVersion.spv == 0) {
  ------------------
  |  Branch (6018:9): [True: 0, False: 124]
  ------------------
 6019|      0|        commonBuiltins.append(
 6020|      0|            "struct gl_DepthRangeParameters {"
 6021|      0|            );
 6022|      0|        if (profile == EEsProfile) {
  ------------------
  |  Branch (6022:13): [True: 0, False: 0]
  ------------------
 6023|      0|            commonBuiltins.append(
 6024|      0|                "highp float near;"   // n
 6025|      0|                "highp float far;"    // f
 6026|      0|                "highp float diff;"   // f - n
 6027|      0|                );
 6028|      0|        } else {
 6029|      0|            commonBuiltins.append(
 6030|      0|                "float near;"  // n
 6031|      0|                "float far;"   // f
 6032|      0|                "float diff;"  // f - n
 6033|      0|                );
 6034|      0|        }
 6035|       |
 6036|      0|        commonBuiltins.append(
 6037|      0|            "};"
 6038|      0|            "uniform gl_DepthRangeParameters gl_DepthRange;"
 6039|      0|            "\n");
 6040|      0|    }
 6041|       |
 6042|    124|    if (spvVersion.spv == 0 && IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (6042:9): [True: 0, False: 124]
  |  Branch (6042:32): [True: 0, False: 0]
  ------------------
 6043|       |        //
 6044|       |        // Matrix state. p. 31, 32, 37, 39, 40.
 6045|       |        //
 6046|      0|        commonBuiltins.append(
 6047|      0|            "uniform mat4  gl_ModelViewMatrix;"
 6048|      0|            "uniform mat4  gl_ProjectionMatrix;"
 6049|      0|            "uniform mat4  gl_ModelViewProjectionMatrix;"
 6050|       |
 6051|       |            //
 6052|       |            // Derived matrix state that provides inverse and transposed versions
 6053|       |            // of the matrices above.
 6054|       |            //
 6055|      0|            "uniform mat3  gl_NormalMatrix;"
 6056|       |
 6057|      0|            "uniform mat4  gl_ModelViewMatrixInverse;"
 6058|      0|            "uniform mat4  gl_ProjectionMatrixInverse;"
 6059|      0|            "uniform mat4  gl_ModelViewProjectionMatrixInverse;"
 6060|       |
 6061|      0|            "uniform mat4  gl_ModelViewMatrixTranspose;"
 6062|      0|            "uniform mat4  gl_ProjectionMatrixTranspose;"
 6063|      0|            "uniform mat4  gl_ModelViewProjectionMatrixTranspose;"
 6064|       |
 6065|      0|            "uniform mat4  gl_ModelViewMatrixInverseTranspose;"
 6066|      0|            "uniform mat4  gl_ProjectionMatrixInverseTranspose;"
 6067|      0|            "uniform mat4  gl_ModelViewProjectionMatrixInverseTranspose;"
 6068|       |
 6069|       |            //
 6070|       |            // Normal scaling p. 39.
 6071|       |            //
 6072|      0|            "uniform float gl_NormalScale;"
 6073|       |
 6074|       |            //
 6075|       |            // Point Size, p. 66, 67.
 6076|       |            //
 6077|      0|            "struct gl_PointParameters {"
 6078|      0|                "float size;"
 6079|      0|                "float sizeMin;"
 6080|      0|                "float sizeMax;"
 6081|      0|                "float fadeThresholdSize;"
 6082|      0|                "float distanceConstantAttenuation;"
 6083|      0|                "float distanceLinearAttenuation;"
 6084|      0|                "float distanceQuadraticAttenuation;"
 6085|      0|            "};"
 6086|       |
 6087|      0|            "uniform gl_PointParameters gl_Point;"
 6088|       |
 6089|       |            //
 6090|       |            // Material State p. 50, 55.
 6091|       |            //
 6092|      0|            "struct gl_MaterialParameters {"
 6093|      0|                "vec4  emission;"    // Ecm
 6094|      0|                "vec4  ambient;"     // Acm
 6095|      0|                "vec4  diffuse;"     // Dcm
 6096|      0|                "vec4  specular;"    // Scm
 6097|      0|                "float shininess;"   // Srm
 6098|      0|            "};"
 6099|      0|            "uniform gl_MaterialParameters  gl_FrontMaterial;"
 6100|      0|            "uniform gl_MaterialParameters  gl_BackMaterial;"
 6101|       |
 6102|       |            //
 6103|       |            // Light State p 50, 53, 55.
 6104|       |            //
 6105|      0|            "struct gl_LightSourceParameters {"
 6106|      0|                "vec4  ambient;"             // Acli
 6107|      0|                "vec4  diffuse;"             // Dcli
 6108|      0|                "vec4  specular;"            // Scli
 6109|      0|                "vec4  position;"            // Ppli
 6110|      0|                "vec4  halfVector;"          // Derived: Hi
 6111|      0|                "vec3  spotDirection;"       // Sdli
 6112|      0|                "float spotExponent;"        // Srli
 6113|      0|                "float spotCutoff;"          // Crli
 6114|       |                                                        // (range: [0.0,90.0], 180.0)
 6115|      0|                "float spotCosCutoff;"       // Derived: cos(Crli)
 6116|       |                                                        // (range: [1.0,0.0],-1.0)
 6117|      0|                "float constantAttenuation;" // K0
 6118|      0|                "float linearAttenuation;"   // K1
 6119|      0|                "float quadraticAttenuation;"// K2
 6120|      0|            "};"
 6121|       |
 6122|      0|            "struct gl_LightModelParameters {"
 6123|      0|                "vec4  ambient;"       // Acs
 6124|      0|            "};"
 6125|       |
 6126|      0|            "uniform gl_LightModelParameters  gl_LightModel;"
 6127|       |
 6128|       |            //
 6129|       |            // Derived state from products of light and material.
 6130|       |            //
 6131|      0|            "struct gl_LightModelProducts {"
 6132|      0|                "vec4  sceneColor;"     // Derived. Ecm + Acm * Acs
 6133|      0|            "};"
 6134|       |
 6135|      0|            "uniform gl_LightModelProducts gl_FrontLightModelProduct;"
 6136|      0|            "uniform gl_LightModelProducts gl_BackLightModelProduct;"
 6137|       |
 6138|      0|            "struct gl_LightProducts {"
 6139|      0|                "vec4  ambient;"        // Acm * Acli
 6140|      0|                "vec4  diffuse;"        // Dcm * Dcli
 6141|      0|                "vec4  specular;"       // Scm * Scli
 6142|      0|            "};"
 6143|       |
 6144|       |            //
 6145|       |            // Fog p. 161
 6146|       |            //
 6147|      0|            "struct gl_FogParameters {"
 6148|      0|                "vec4  color;"
 6149|      0|                "float density;"
 6150|      0|                "float start;"
 6151|      0|                "float end;"
 6152|      0|                "float scale;"   //  1 / (gl_FogEnd - gl_FogStart)
 6153|      0|            "};"
 6154|       |
 6155|      0|            "uniform gl_FogParameters gl_Fog;"
 6156|       |
 6157|      0|            "\n");
 6158|      0|    }
 6159|       |
 6160|       |    //============================================================================
 6161|       |    //
 6162|       |    // Define the interface to the compute shader.
 6163|       |    //
 6164|       |    //============================================================================
 6165|       |
 6166|    124|    if ((profile != EEsProfile && version >= 420) ||
  ------------------
  |  Branch (6166:10): [True: 124, False: 0]
  |  Branch (6166:35): [True: 13, False: 111]
  ------------------
 6167|    111|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6167:10): [True: 0, False: 111]
  |  Branch (6167:35): [True: 0, False: 0]
  ------------------
 6168|     13|        stageBuiltins[EShLangCompute].append(
 6169|     13|            "in    highp uvec3 gl_NumWorkGroups;"
 6170|     13|            "const highp uvec3 gl_WorkGroupSize = uvec3(1,1,1);"
 6171|       |
 6172|     13|            "in highp uvec3 gl_WorkGroupID;"
 6173|     13|            "in highp uvec3 gl_LocalInvocationID;"
 6174|       |
 6175|     13|            "in highp uvec3 gl_GlobalInvocationID;"
 6176|     13|            "in highp uint gl_LocalInvocationIndex;"
 6177|       |
 6178|     13|            "\n");
 6179|     13|    }
 6180|       |
 6181|    124|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6181:10): [True: 124, False: 0]
  |  Branch (6181:35): [True: 124, False: 0]
  ------------------
 6182|    124|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6182:10): [True: 0, False: 0]
  |  Branch (6182:35): [True: 0, False: 0]
  ------------------
 6183|    124|        stageBuiltins[EShLangCompute].append(
 6184|    124|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6185|    124|            "\n");
 6186|    124|    }
 6187|       |
 6188|       |    // GL_QCOM_tile_shading
 6189|    124|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (6189:10): [True: 0, False: 124]
  |  Branch (6189:35): [True: 0, False: 0]
  ------------------
 6190|    124|        (profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (6190:10): [True: 124, False: 0]
  |  Branch (6190:35): [True: 1, False: 123]
  ------------------
 6191|      1|        stageBuiltins[EShLangCompute].append(
 6192|      1|            "in highp uvec2 gl_TileOffsetQCOM;"     // GL_QCOM_tile_shading
 6193|      1|            "in highp uvec3 gl_TileDimensionQCOM;"  // GL_QCOM_tile_shading
 6194|      1|            "in highp uvec2 gl_TileApronSizeQCOM;"  // GL_QCOM_tile_shading
 6195|      1|            "\n");
 6196|      1|    }
 6197|       |
 6198|       |    //============================================================================
 6199|       |    //
 6200|       |    // Define the interface to the mesh/task shader.
 6201|       |    //
 6202|       |    //============================================================================
 6203|       |
 6204|    124|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (6204:10): [True: 124, False: 0]
  |  Branch (6204:35): [True: 12, False: 112]
  |  Branch (6204:55): [True: 0, False: 112]
  |  Branch (6204:80): [True: 0, False: 0]
  ------------------
 6205|       |        // per-vertex attributes
 6206|     12|        stageBuiltins[EShLangMesh].append(
 6207|     12|            "out gl_MeshPerVertexNV {"
 6208|     12|                "vec4 gl_Position;"
 6209|     12|                "float gl_PointSize;"
 6210|     12|                "float gl_ClipDistance[];"
 6211|     12|                "float gl_CullDistance[];"
 6212|     12|                "perviewNV vec4 gl_PositionPerViewNV[];"
 6213|     12|                "perviewNV float gl_ClipDistancePerViewNV[][];"
 6214|     12|                "perviewNV float gl_CullDistancePerViewNV[][];"
 6215|     12|            "} gl_MeshVerticesNV[];"
 6216|     12|        );
 6217|       |
 6218|       |        // per-primitive attributes
 6219|     12|        stageBuiltins[EShLangMesh].append(
 6220|     12|            "perprimitiveNV out gl_MeshPerPrimitiveNV {"
 6221|     12|                "int gl_PrimitiveID;"
 6222|     12|                "int gl_Layer;"
 6223|     12|                "int gl_ViewportIndex;"
 6224|     12|                "int gl_ViewportMask[];"
 6225|     12|                "perviewNV int gl_LayerPerViewNV[];"
 6226|     12|                "perviewNV int gl_ViewportMaskPerViewNV[][];"
 6227|     12|            "} gl_MeshPrimitivesNV[];"
 6228|     12|        );
 6229|       |
 6230|     12|        stageBuiltins[EShLangMesh].append(
 6231|     12|            "out uint gl_PrimitiveCountNV;"
 6232|     12|            "out uint gl_PrimitiveIndicesNV[];"
 6233|       |
 6234|     12|            "in uint gl_MeshViewCountNV;"
 6235|     12|            "in uint gl_MeshViewIndicesNV[4];"
 6236|       |
 6237|     12|            "const highp uvec3 gl_WorkGroupSize = uvec3(1,1,1);"
 6238|       |
 6239|     12|            "in highp uvec3 gl_WorkGroupID;"
 6240|     12|            "in highp uvec3 gl_LocalInvocationID;"
 6241|       |
 6242|     12|            "in highp uvec3 gl_GlobalInvocationID;"
 6243|     12|            "in highp uint gl_LocalInvocationIndex;"
 6244|     12|            "\n");
 6245|       |
 6246|       |        // GL_EXT_mesh_shader
 6247|     12|        stageBuiltins[EShLangMesh].append(
 6248|     12|            "out uint gl_PrimitivePointIndicesEXT[];"
 6249|     12|            "out uvec2 gl_PrimitiveLineIndicesEXT[];"
 6250|     12|            "out uvec3 gl_PrimitiveTriangleIndicesEXT[];"
 6251|     12|            "in    highp uvec3 gl_NumWorkGroups;"
 6252|     12|            "\n");
 6253|       |
 6254|       |        // per-vertex attributes
 6255|     12|        stageBuiltins[EShLangMesh].append(
 6256|     12|            "out gl_MeshPerVertexEXT {"
 6257|     12|                "vec4 gl_Position;"
 6258|     12|                "float gl_PointSize;"
 6259|     12|                "float gl_ClipDistance[];"
 6260|     12|                "float gl_CullDistance[];"
 6261|     12|            "} gl_MeshVerticesEXT[];"
 6262|     12|        );
 6263|       |
 6264|       |        // per-primitive attributes
 6265|     12|        stageBuiltins[EShLangMesh].append(
 6266|     12|            "perprimitiveEXT out gl_MeshPerPrimitiveEXT {"
 6267|     12|                "int gl_PrimitiveID;"
 6268|     12|                "int gl_Layer;"
 6269|     12|                "int gl_ViewportIndex;"
 6270|     12|                "bool gl_CullPrimitiveEXT;"
 6271|     12|                "int  gl_PrimitiveShadingRateEXT;"
 6272|     12|            "} gl_MeshPrimitivesEXT[];"
 6273|     12|        );
 6274|       |
 6275|     12|        stageBuiltins[EShLangTask].append(
 6276|     12|            "out uint gl_TaskCountNV;"
 6277|       |
 6278|     12|            "const highp uvec3 gl_WorkGroupSize = uvec3(1,1,1);"
 6279|       |
 6280|     12|            "in highp uvec3 gl_WorkGroupID;"
 6281|     12|            "in highp uvec3 gl_LocalInvocationID;"
 6282|       |
 6283|     12|            "in highp uvec3 gl_GlobalInvocationID;"
 6284|     12|            "in highp uint gl_LocalInvocationIndex;"
 6285|       |
 6286|     12|            "in uint gl_MeshViewCountNV;"
 6287|     12|            "in uint gl_MeshViewIndicesNV[4];"
 6288|     12|            "in    highp uvec3 gl_NumWorkGroups;"
 6289|     12|            "\n");
 6290|     12|    }
 6291|       |
 6292|    124|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (6292:9): [True: 124, False: 0]
  |  Branch (6292:34): [True: 12, False: 112]
  ------------------
 6293|     12|        stageBuiltins[EShLangMesh].append(
 6294|     12|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6295|     12|            "in int gl_DrawIDARB;"             // GL_ARB_shader_draw_parameters
 6296|     12|            "in int gl_ViewIndex;"             // GL_EXT_multiview
 6297|     12|            "\n");
 6298|       |
 6299|     12|        stageBuiltins[EShLangTask].append(
 6300|     12|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6301|     12|            "in int gl_DrawIDARB;"             // GL_ARB_shader_draw_parameters
 6302|     12|            "\n");
 6303|       |
 6304|     12|        if (version >= 460) {
  ------------------
  |  Branch (6304:13): [True: 1, False: 11]
  ------------------
 6305|      1|            stageBuiltins[EShLangMesh].append(
 6306|      1|                "in int gl_DrawID;"
 6307|      1|                "\n");
 6308|       |
 6309|      1|            stageBuiltins[EShLangTask].append(
 6310|      1|                "in int gl_DrawID;"
 6311|      1|                "\n");
 6312|      1|        }
 6313|     12|    }
 6314|       |
 6315|       |    //============================================================================
 6316|       |    //
 6317|       |    // Define the interface to the vertex shader.
 6318|       |    //
 6319|       |    //============================================================================
 6320|       |
 6321|    124|    if (profile != EEsProfile) {
  ------------------
  |  Branch (6321:9): [True: 124, False: 0]
  ------------------
 6322|    124|        if (version < 130) {
  ------------------
  |  Branch (6322:13): [True: 0, False: 124]
  ------------------
 6323|      0|            stageBuiltins[EShLangVertex].append(
 6324|      0|                "attribute vec4  gl_Color;"
 6325|      0|                "attribute vec4  gl_SecondaryColor;"
 6326|      0|                "attribute vec3  gl_Normal;"
 6327|      0|                "attribute vec4  gl_Vertex;"
 6328|      0|                "attribute vec4  gl_MultiTexCoord0;"
 6329|      0|                "attribute vec4  gl_MultiTexCoord1;"
 6330|      0|                "attribute vec4  gl_MultiTexCoord2;"
 6331|      0|                "attribute vec4  gl_MultiTexCoord3;"
 6332|      0|                "attribute vec4  gl_MultiTexCoord4;"
 6333|      0|                "attribute vec4  gl_MultiTexCoord5;"
 6334|      0|                "attribute vec4  gl_MultiTexCoord6;"
 6335|      0|                "attribute vec4  gl_MultiTexCoord7;"
 6336|      0|                "attribute float gl_FogCoord;"
 6337|      0|                "\n");
 6338|    124|        } else if (IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (6338:20): [True: 0, False: 124]
  ------------------
 6339|      0|            stageBuiltins[EShLangVertex].append(
 6340|      0|                "in vec4  gl_Color;"
 6341|      0|                "in vec4  gl_SecondaryColor;"
 6342|      0|                "in vec3  gl_Normal;"
 6343|      0|                "in vec4  gl_Vertex;"
 6344|      0|                "in vec4  gl_MultiTexCoord0;"
 6345|      0|                "in vec4  gl_MultiTexCoord1;"
 6346|      0|                "in vec4  gl_MultiTexCoord2;"
 6347|      0|                "in vec4  gl_MultiTexCoord3;"
 6348|      0|                "in vec4  gl_MultiTexCoord4;"
 6349|      0|                "in vec4  gl_MultiTexCoord5;"
 6350|      0|                "in vec4  gl_MultiTexCoord6;"
 6351|      0|                "in vec4  gl_MultiTexCoord7;"
 6352|      0|                "in float gl_FogCoord;"
 6353|      0|                "\n");
 6354|      0|        }
 6355|       |
 6356|    124|        if (version < 150) {
  ------------------
  |  Branch (6356:13): [True: 107, False: 17]
  ------------------
 6357|    107|            if (version < 130) {
  ------------------
  |  Branch (6357:17): [True: 0, False: 107]
  ------------------
 6358|      0|                stageBuiltins[EShLangVertex].append(
 6359|      0|                    "        vec4  gl_ClipVertex;"       // needs qualifier fixed later
 6360|      0|                    "varying vec4  gl_FrontColor;"
 6361|      0|                    "varying vec4  gl_BackColor;"
 6362|      0|                    "varying vec4  gl_FrontSecondaryColor;"
 6363|      0|                    "varying vec4  gl_BackSecondaryColor;"
 6364|      0|                    "varying vec4  gl_TexCoord[];"
 6365|      0|                    "varying float gl_FogFragCoord;"
 6366|      0|                    "\n");
 6367|    107|            } else if (IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (6367:24): [True: 0, False: 107]
  ------------------
 6368|      0|                stageBuiltins[EShLangVertex].append(
 6369|      0|                    "    vec4  gl_ClipVertex;"       // needs qualifier fixed later
 6370|      0|                    "out vec4  gl_FrontColor;"
 6371|      0|                    "out vec4  gl_BackColor;"
 6372|      0|                    "out vec4  gl_FrontSecondaryColor;"
 6373|      0|                    "out vec4  gl_BackSecondaryColor;"
 6374|      0|                    "out vec4  gl_TexCoord[];"
 6375|      0|                    "out float gl_FogFragCoord;"
 6376|      0|                    "\n");
 6377|      0|            }
 6378|    107|            stageBuiltins[EShLangVertex].append(
 6379|    107|                "vec4 gl_Position;"   // needs qualifier fixed later
 6380|    107|                "float gl_PointSize;" // needs qualifier fixed later
 6381|    107|                );
 6382|       |
 6383|    107|            if (version == 130 || version == 140)
  ------------------
  |  Branch (6383:17): [True: 0, False: 107]
  |  Branch (6383:35): [True: 107, False: 0]
  ------------------
 6384|    107|                stageBuiltins[EShLangVertex].append(
 6385|    107|                    "out float gl_ClipDistance[];"
 6386|    107|                    );
 6387|    107|        } else {
 6388|       |            // version >= 150
 6389|     17|            stageBuiltins[EShLangVertex].append(
 6390|     17|                "out gl_PerVertex {"
 6391|     17|                    "vec4 gl_Position;"     // needs qualifier fixed later
 6392|     17|                    "float gl_PointSize;"   // needs qualifier fixed later
 6393|     17|                    "float gl_ClipDistance[];"
 6394|     17|                    );
 6395|     17|            if (IncludeLegacy(version, profile, spvVersion))
  ------------------
  |  Branch (6395:17): [True: 0, False: 17]
  ------------------
 6396|      0|                stageBuiltins[EShLangVertex].append(
 6397|      0|                    "vec4 gl_ClipVertex;"   // needs qualifier fixed later
 6398|      0|                    "vec4 gl_FrontColor;"
 6399|      0|                    "vec4 gl_BackColor;"
 6400|      0|                    "vec4 gl_FrontSecondaryColor;"
 6401|      0|                    "vec4 gl_BackSecondaryColor;"
 6402|      0|                    "vec4 gl_TexCoord[];"
 6403|      0|                    "float gl_FogFragCoord;"
 6404|      0|                    );
 6405|     17|            if (version >= 450)
  ------------------
  |  Branch (6405:17): [True: 12, False: 5]
  ------------------
 6406|     12|                stageBuiltins[EShLangVertex].append(
 6407|     12|                    "float gl_CullDistance[];"
 6408|     12|                    );
 6409|     17|            stageBuiltins[EShLangVertex].append(
 6410|     17|                "};"
 6411|     17|                "\n");
 6412|     17|        }
 6413|    124|        if (version >= 130 && spvVersion.vulkan == 0)
  ------------------
  |  Branch (6413:13): [True: 124, False: 0]
  |  Branch (6413:31): [True: 0, False: 124]
  ------------------
 6414|      0|            stageBuiltins[EShLangVertex].append(
 6415|      0|                "int gl_VertexID;"            // needs qualifier fixed later
 6416|      0|                );
 6417|    124|        if (spvVersion.vulkan == 0)
  ------------------
  |  Branch (6417:13): [True: 0, False: 124]
  ------------------
 6418|      0|            stageBuiltins[EShLangVertex].append(
 6419|      0|                "int gl_InstanceID;"          // needs qualifier fixed later
 6420|      0|                );
 6421|    124|        if (spvVersion.vulkan > 0 && version >= 140)
  ------------------
  |  Branch (6421:13): [True: 124, False: 0]
  |  Branch (6421:38): [True: 124, False: 0]
  ------------------
 6422|    124|            stageBuiltins[EShLangVertex].append(
 6423|    124|                "in int gl_VertexIndex;"
 6424|    124|                "in int gl_InstanceIndex;"
 6425|    124|                );
 6426|       |
 6427|    124|        if (spvVersion.vulkan > 0 && version >= 140 && spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (6427:13): [True: 124, False: 0]
  |  Branch (6427:38): [True: 124, False: 0]
  |  Branch (6427:56): [True: 0, False: 124]
  ------------------
 6428|      0|            stageBuiltins[EShLangVertex].append(
 6429|      0|                "in int gl_VertexID;"         // declare with 'in' qualifier
 6430|      0|                "in int gl_InstanceID;"
 6431|      0|                );
 6432|       |
 6433|    124|        if (version >= 440) {
  ------------------
  |  Branch (6433:13): [True: 12, False: 112]
  ------------------
 6434|     12|            stageBuiltins[EShLangVertex].append(
 6435|     12|                "in int gl_BaseVertexARB;"
 6436|     12|                "in int gl_BaseInstanceARB;"
 6437|     12|                "in int gl_DrawIDARB;"
 6438|     12|                );
 6439|     12|        }
 6440|    124|        if (version >= 410) {
  ------------------
  |  Branch (6440:13): [True: 13, False: 111]
  ------------------
 6441|     13|            stageBuiltins[EShLangVertex].append(
 6442|     13|                "out int gl_ViewportIndex;"
 6443|     13|                "out int gl_Layer;"
 6444|     13|                );
 6445|     13|        }
 6446|    124|        if (version >= 460) {
  ------------------
  |  Branch (6446:13): [True: 1, False: 123]
  ------------------
 6447|      1|            stageBuiltins[EShLangVertex].append(
 6448|      1|                "in int gl_BaseVertex;"
 6449|      1|                "in int gl_BaseInstance;"
 6450|      1|                "in int gl_DrawID;"
 6451|      1|                );
 6452|      1|        }
 6453|       |
 6454|    124|        if (version >= 430)
  ------------------
  |  Branch (6454:13): [True: 12, False: 112]
  ------------------
 6455|     12|            stageBuiltins[EShLangVertex].append(
 6456|     12|                "out int gl_ViewportMask[];"             // GL_NV_viewport_array2
 6457|     12|                );
 6458|       |
 6459|    124|        if (version >= 450)
  ------------------
  |  Branch (6459:13): [True: 12, False: 112]
  ------------------
 6460|     12|            stageBuiltins[EShLangVertex].append(
 6461|     12|                "out int gl_SecondaryViewportMaskNV[];"  // GL_NV_stereo_view_rendering
 6462|     12|                "out vec4 gl_SecondaryPositionNV;"       // GL_NV_stereo_view_rendering
 6463|     12|                "out vec4 gl_PositionPerViewNV[];"       // GL_NVX_multiview_per_view_attributes
 6464|     12|                "out int  gl_ViewportMaskPerViewNV[];"   // GL_NVX_multiview_per_view_attributes
 6465|     12|                );
 6466|    124|    } else {
 6467|       |        // ES profile
 6468|      0|        if (version == 100) {
  ------------------
  |  Branch (6468:13): [True: 0, False: 0]
  ------------------
 6469|      0|            stageBuiltins[EShLangVertex].append(
 6470|      0|                "highp   vec4  gl_Position;"  // needs qualifier fixed later
 6471|      0|                "mediump float gl_PointSize;" // needs qualifier fixed later
 6472|      0|                "highp int gl_InstanceID;" // needs qualifier fixed later
 6473|      0|                );
 6474|      0|        } else {
 6475|      0|            if (spvVersion.vulkan == 0 || spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (6475:17): [True: 0, False: 0]
  |  Branch (6475:43): [True: 0, False: 0]
  ------------------
 6476|      0|                stageBuiltins[EShLangVertex].append(
 6477|      0|                    "in highp int gl_VertexID;"      // needs qualifier fixed later
 6478|      0|                    "in highp int gl_InstanceID;"    // needs qualifier fixed later
 6479|      0|                    );
 6480|      0|            if (spvVersion.vulkan > 0)
  ------------------
  |  Branch (6480:17): [True: 0, False: 0]
  ------------------
 6481|      0|                stageBuiltins[EShLangVertex].append(
 6482|      0|                    "in highp int gl_VertexIndex;"
 6483|      0|                    "in highp int gl_InstanceIndex;"
 6484|      0|                    );
 6485|      0|            if (version < 310)
  ------------------
  |  Branch (6485:17): [True: 0, False: 0]
  ------------------
 6486|      0|                stageBuiltins[EShLangVertex].append(
 6487|      0|                    "highp vec4  gl_Position;"    // needs qualifier fixed later
 6488|      0|                    "highp float gl_PointSize;"   // needs qualifier fixed later
 6489|      0|                    );
 6490|      0|            else
 6491|      0|                stageBuiltins[EShLangVertex].append(
 6492|      0|                    "out gl_PerVertex {"
 6493|      0|                        "highp vec4  gl_Position;"    // needs qualifier fixed later
 6494|      0|                        "highp float gl_PointSize;"   // needs qualifier fixed later
 6495|      0|                    "};"
 6496|      0|                    );
 6497|      0|        }
 6498|      0|    }
 6499|       |
 6500|    124|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6500:10): [True: 124, False: 0]
  |  Branch (6500:35): [True: 124, False: 0]
  ------------------
 6501|    124|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6501:10): [True: 0, False: 0]
  |  Branch (6501:35): [True: 0, False: 0]
  ------------------
 6502|    124|        stageBuiltins[EShLangVertex].append(
 6503|    124|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6504|    124|            "in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6505|    124|            "\n");
 6506|    124|    }
 6507|       |
 6508|    124|    if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (6508:9): [True: 16, False: 108]
  ------------------
 6509|     16|        stageBuiltins[EShLangVertex].append(
 6510|     16|            "in highp uint gl_ViewID_OVR;"     // GL_OVR_multiview, GL_OVR_multiview2
 6511|     16|            "\n");
 6512|     16|    }
 6513|       |
 6514|    124|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6514:10): [True: 124, False: 0]
  |  Branch (6514:35): [True: 12, False: 112]
  |  Branch (6514:55): [True: 0, False: 112]
  |  Branch (6514:80): [True: 0, False: 0]
  ------------------
 6515|     12|        stageBuiltins[EShLangVertex].append(
 6516|     12|            "out highp int gl_PrimitiveShadingRateEXT;" // GL_EXT_fragment_shading_rate
 6517|     12|            "\n");
 6518|     12|    }
 6519|       |
 6520|       |    //============================================================================
 6521|       |    //
 6522|       |    // Define the interface to the geometry shader.
 6523|       |    //
 6524|       |    //============================================================================
 6525|       |
 6526|    124|    if (profile == ECoreProfile || profile == ECompatibilityProfile) {
  ------------------
  |  Branch (6526:9): [True: 9, False: 115]
  |  Branch (6526:36): [True: 0, False: 115]
  ------------------
 6527|      9|        stageBuiltins[EShLangGeometry].append(
 6528|      9|            "in gl_PerVertex {"
 6529|      9|                "vec4 gl_Position;"
 6530|      9|                "float gl_PointSize;"
 6531|      9|                "float gl_ClipDistance[];"
 6532|      9|                );
 6533|      9|        if (profile == ECompatibilityProfile)
  ------------------
  |  Branch (6533:13): [True: 0, False: 9]
  ------------------
 6534|      0|            stageBuiltins[EShLangGeometry].append(
 6535|      0|                "vec4 gl_ClipVertex;"
 6536|      0|                "vec4 gl_FrontColor;"
 6537|      0|                "vec4 gl_BackColor;"
 6538|      0|                "vec4 gl_FrontSecondaryColor;"
 6539|      0|                "vec4 gl_BackSecondaryColor;"
 6540|      0|                "vec4 gl_TexCoord[];"
 6541|      0|                "float gl_FogFragCoord;"
 6542|      0|                );
 6543|      9|        if (version >= 450)
  ------------------
  |  Branch (6543:13): [True: 5, False: 4]
  ------------------
 6544|      5|            stageBuiltins[EShLangGeometry].append(
 6545|      5|                "float gl_CullDistance[];"
 6546|      5|                "vec4 gl_SecondaryPositionNV;"   // GL_NV_stereo_view_rendering
 6547|      5|                "vec4 gl_PositionPerViewNV[];"   // GL_NVX_multiview_per_view_attributes
 6548|      5|                );
 6549|      9|        stageBuiltins[EShLangGeometry].append(
 6550|      9|            "} gl_in[];"
 6551|       |
 6552|      9|            "in int gl_PrimitiveIDIn;"
 6553|      9|            "out gl_PerVertex {"
 6554|      9|                "vec4 gl_Position;"
 6555|      9|                "float gl_PointSize;"
 6556|      9|                "float gl_ClipDistance[];"
 6557|      9|                "\n");
 6558|      9|        if (profile == ECompatibilityProfile && version >= 400)
  ------------------
  |  Branch (6558:13): [True: 0, False: 9]
  |  Branch (6558:49): [True: 0, False: 0]
  ------------------
 6559|      0|            stageBuiltins[EShLangGeometry].append(
 6560|      0|                "vec4 gl_ClipVertex;"
 6561|      0|                "vec4 gl_FrontColor;"
 6562|      0|                "vec4 gl_BackColor;"
 6563|      0|                "vec4 gl_FrontSecondaryColor;"
 6564|      0|                "vec4 gl_BackSecondaryColor;"
 6565|      0|                "vec4 gl_TexCoord[];"
 6566|      0|                "float gl_FogFragCoord;"
 6567|      0|                );
 6568|      9|        if (version >= 450)
  ------------------
  |  Branch (6568:13): [True: 5, False: 4]
  ------------------
 6569|      5|            stageBuiltins[EShLangGeometry].append(
 6570|      5|                "float gl_CullDistance[];"
 6571|      5|                );
 6572|      9|        stageBuiltins[EShLangGeometry].append(
 6573|      9|            "};"
 6574|       |
 6575|      9|            "out int gl_PrimitiveID;"
 6576|      9|            "out int gl_Layer;");
 6577|       |
 6578|      9|        if (version >= 150)
  ------------------
  |  Branch (6578:13): [True: 9, False: 0]
  ------------------
 6579|      9|            stageBuiltins[EShLangGeometry].append(
 6580|      9|            "out int gl_ViewportIndex;"
 6581|      9|            );
 6582|       |
 6583|      9|        if (profile == ECompatibilityProfile && version < 400)
  ------------------
  |  Branch (6583:13): [True: 0, False: 9]
  |  Branch (6583:49): [True: 0, False: 0]
  ------------------
 6584|      0|            stageBuiltins[EShLangGeometry].append(
 6585|      0|            "out vec4 gl_ClipVertex;"
 6586|      0|            );
 6587|       |
 6588|      9|        if (version >= 150)
  ------------------
  |  Branch (6588:13): [True: 9, False: 0]
  ------------------
 6589|      9|            stageBuiltins[EShLangGeometry].append(
 6590|      9|            "in int gl_InvocationID;"
 6591|      9|            );
 6592|       |
 6593|      9|        if (version >= 430)
  ------------------
  |  Branch (6593:13): [True: 5, False: 4]
  ------------------
 6594|      5|            stageBuiltins[EShLangGeometry].append(
 6595|      5|                "out int gl_ViewportMask[];"               // GL_NV_viewport_array2
 6596|      5|            );
 6597|       |
 6598|      9|        if (version >= 450)
  ------------------
  |  Branch (6598:13): [True: 5, False: 4]
  ------------------
 6599|      5|            stageBuiltins[EShLangGeometry].append(
 6600|      5|                "out int gl_SecondaryViewportMaskNV[];"    // GL_NV_stereo_view_rendering
 6601|      5|                "out vec4 gl_SecondaryPositionNV;"         // GL_NV_stereo_view_rendering
 6602|      5|                "out vec4 gl_PositionPerViewNV[];"         // GL_NVX_multiview_per_view_attributes
 6603|      5|                "out int  gl_ViewportMaskPerViewNV[];"     // GL_NVX_multiview_per_view_attributes
 6604|      5|            );
 6605|       |
 6606|      9|        stageBuiltins[EShLangGeometry].append("\n");
 6607|    115|    } else if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (6607:16): [True: 0, False: 115]
  |  Branch (6607:41): [True: 0, False: 0]
  ------------------
 6608|      0|        stageBuiltins[EShLangGeometry].append(
 6609|      0|            "in gl_PerVertex {"
 6610|      0|                "highp vec4 gl_Position;"
 6611|      0|                "highp float gl_PointSize;"
 6612|      0|            "} gl_in[];"
 6613|      0|            "\n"
 6614|      0|            "in highp int gl_PrimitiveIDIn;"
 6615|      0|            "in highp int gl_InvocationID;"
 6616|      0|            "\n"
 6617|      0|            "out gl_PerVertex {"
 6618|      0|                "highp vec4 gl_Position;"
 6619|      0|                "highp float gl_PointSize;"
 6620|      0|            "};"
 6621|      0|            "\n"
 6622|      0|            "out highp int gl_PrimitiveID;"
 6623|      0|            "out highp int gl_Layer;"
 6624|      0|            "\n"
 6625|      0|            );
 6626|      0|    }
 6627|       |
 6628|    124|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6628:10): [True: 124, False: 0]
  |  Branch (6628:35): [True: 124, False: 0]
  ------------------
 6629|    124|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6629:10): [True: 0, False: 0]
  |  Branch (6629:35): [True: 0, False: 0]
  ------------------
 6630|    124|        stageBuiltins[EShLangGeometry].append(
 6631|    124|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6632|    124|            "in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6633|    124|            "\n");
 6634|    124|    }
 6635|       |
 6636|    124|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6636:10): [True: 124, False: 0]
  |  Branch (6636:35): [True: 12, False: 112]
  |  Branch (6636:55): [True: 0, False: 112]
  |  Branch (6636:80): [True: 0, False: 0]
  ------------------
 6637|     12|        stageBuiltins[EShLangGeometry].append(
 6638|     12|            "out highp int gl_PrimitiveShadingRateEXT;" // GL_EXT_fragment_shading_rate
 6639|     12|            "\n");
 6640|     12|    }
 6641|       |
 6642|       |    //============================================================================
 6643|       |    //
 6644|       |    // Define the interface to the tessellation control shader.
 6645|       |    //
 6646|       |    //============================================================================
 6647|       |
 6648|    124|    if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (6648:9): [True: 124, False: 0]
  |  Branch (6648:34): [True: 17, False: 107]
  ------------------
 6649|       |        // Note:  "in gl_PerVertex {...} gl_in[gl_MaxPatchVertices];" is declared in initialize() below,
 6650|       |        // as it depends on the resource sizing of gl_MaxPatchVertices.
 6651|       |
 6652|     17|        stageBuiltins[EShLangTessControl].append(
 6653|     17|            "in int gl_PatchVerticesIn;"
 6654|     17|            "in int gl_PrimitiveID;"
 6655|     17|            "in int gl_InvocationID;"
 6656|       |
 6657|     17|            "out gl_PerVertex {"
 6658|     17|                "vec4 gl_Position;"
 6659|     17|                "float gl_PointSize;"
 6660|     17|                "float gl_ClipDistance[];"
 6661|     17|                );
 6662|     17|        if (profile == ECompatibilityProfile)
  ------------------
  |  Branch (6662:13): [True: 0, False: 17]
  ------------------
 6663|      0|            stageBuiltins[EShLangTessControl].append(
 6664|      0|                "vec4 gl_ClipVertex;"
 6665|      0|                "vec4 gl_FrontColor;"
 6666|      0|                "vec4 gl_BackColor;"
 6667|      0|                "vec4 gl_FrontSecondaryColor;"
 6668|      0|                "vec4 gl_BackSecondaryColor;"
 6669|      0|                "vec4 gl_TexCoord[];"
 6670|      0|                "float gl_FogFragCoord;"
 6671|      0|                );
 6672|     17|        if (version >= 450)
  ------------------
  |  Branch (6672:13): [True: 12, False: 5]
  ------------------
 6673|     12|            stageBuiltins[EShLangTessControl].append(
 6674|     12|                "float gl_CullDistance[];"
 6675|     12|            );
 6676|     17|        if (version >= 430)
  ------------------
  |  Branch (6676:13): [True: 12, False: 5]
  ------------------
 6677|     12|            stageBuiltins[EShLangTessControl].append(
 6678|     12|                "int  gl_ViewportMask[];"             // GL_NV_viewport_array2
 6679|     12|            );
 6680|     17|        if (version >= 450)
  ------------------
  |  Branch (6680:13): [True: 12, False: 5]
  ------------------
 6681|     12|            stageBuiltins[EShLangTessControl].append(
 6682|     12|                "vec4 gl_SecondaryPositionNV;"        // GL_NV_stereo_view_rendering
 6683|     12|                "int  gl_SecondaryViewportMaskNV[];"  // GL_NV_stereo_view_rendering
 6684|     12|                "vec4 gl_PositionPerViewNV[];"        // GL_NVX_multiview_per_view_attributes
 6685|     12|                "int  gl_ViewportMaskPerViewNV[];"    // GL_NVX_multiview_per_view_attributes
 6686|     12|                );
 6687|     17|        stageBuiltins[EShLangTessControl].append(
 6688|     17|            "} gl_out[];"
 6689|       |
 6690|     17|            "patch out float gl_TessLevelOuter[4];"
 6691|     17|            "patch out float gl_TessLevelInner[2];"
 6692|     17|            "\n");
 6693|       |
 6694|     17|        if (version >= 410)
  ------------------
  |  Branch (6694:13): [True: 13, False: 4]
  ------------------
 6695|     13|            stageBuiltins[EShLangTessControl].append(
 6696|     13|                "out int gl_ViewportIndex;"
 6697|     13|                "out int gl_Layer;"
 6698|     13|                "\n");
 6699|       |
 6700|    107|    } else {
 6701|       |        // Note:  "in gl_PerVertex {...} gl_in[gl_MaxPatchVertices];" is declared in initialize() below,
 6702|       |        // as it depends on the resource sizing of gl_MaxPatchVertices.
 6703|       |
 6704|    107|        stageBuiltins[EShLangTessControl].append(
 6705|    107|            "in highp int gl_PatchVerticesIn;"
 6706|    107|            "in highp int gl_PrimitiveID;"
 6707|    107|            "in highp int gl_InvocationID;"
 6708|       |
 6709|    107|            "out gl_PerVertex {"
 6710|    107|                "highp vec4 gl_Position;"
 6711|    107|                "highp float gl_PointSize;"
 6712|    107|                );
 6713|    107|        stageBuiltins[EShLangTessControl].append(
 6714|    107|            "} gl_out[];"
 6715|       |
 6716|    107|            "patch out highp float gl_TessLevelOuter[4];"
 6717|    107|            "patch out highp float gl_TessLevelInner[2];"
 6718|    107|            "patch out highp vec4 gl_BoundingBoxOES[2];"
 6719|    107|            "patch out highp vec4 gl_BoundingBoxEXT[2];"
 6720|    107|            "\n");
 6721|    107|        if (profile == EEsProfile && version >= 320) {
  ------------------
  |  Branch (6721:13): [True: 0, False: 107]
  |  Branch (6721:38): [True: 0, False: 0]
  ------------------
 6722|      0|            stageBuiltins[EShLangTessControl].append(
 6723|      0|                "patch out highp vec4 gl_BoundingBox[2];"
 6724|      0|                "\n"
 6725|      0|            );
 6726|      0|        }
 6727|    107|    }
 6728|       |
 6729|    124|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6729:10): [True: 124, False: 0]
  |  Branch (6729:35): [True: 124, False: 0]
  ------------------
 6730|    124|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6730:10): [True: 0, False: 0]
  |  Branch (6730:35): [True: 0, False: 0]
  ------------------
 6731|    124|        stageBuiltins[EShLangTessControl].append(
 6732|    124|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6733|    124|            "in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6734|    124|            "\n");
 6735|    124|    }
 6736|       |
 6737|       |    //============================================================================
 6738|       |    //
 6739|       |    // Define the interface to the tessellation evaluation shader.
 6740|       |    //
 6741|       |    //============================================================================
 6742|       |
 6743|    124|    if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (6743:9): [True: 124, False: 0]
  |  Branch (6743:34): [True: 17, False: 107]
  ------------------
 6744|       |        // Note:  "in gl_PerVertex {...} gl_in[gl_MaxPatchVertices];" is declared in initialize() below,
 6745|       |        // as it depends on the resource sizing of gl_MaxPatchVertices.
 6746|       |
 6747|     17|        stageBuiltins[EShLangTessEvaluation].append(
 6748|     17|            "in int gl_PatchVerticesIn;"
 6749|     17|            "in int gl_PrimitiveID;"
 6750|     17|            "in vec3 gl_TessCoord;"
 6751|       |
 6752|     17|            "patch in float gl_TessLevelOuter[4];"
 6753|     17|            "patch in float gl_TessLevelInner[2];"
 6754|       |
 6755|     17|            "out gl_PerVertex {"
 6756|     17|                "vec4 gl_Position;"
 6757|     17|                "float gl_PointSize;"
 6758|     17|                "float gl_ClipDistance[];"
 6759|     17|            );
 6760|     17|        if (version >= 400 && profile == ECompatibilityProfile)
  ------------------
  |  Branch (6760:13): [True: 16, False: 1]
  |  Branch (6760:31): [True: 0, False: 16]
  ------------------
 6761|      0|            stageBuiltins[EShLangTessEvaluation].append(
 6762|      0|                "vec4 gl_ClipVertex;"
 6763|      0|                "vec4 gl_FrontColor;"
 6764|      0|                "vec4 gl_BackColor;"
 6765|      0|                "vec4 gl_FrontSecondaryColor;"
 6766|      0|                "vec4 gl_BackSecondaryColor;"
 6767|      0|                "vec4 gl_TexCoord[];"
 6768|      0|                "float gl_FogFragCoord;"
 6769|      0|                );
 6770|     17|        if (version >= 450)
  ------------------
  |  Branch (6770:13): [True: 12, False: 5]
  ------------------
 6771|     12|            stageBuiltins[EShLangTessEvaluation].append(
 6772|     12|                "float gl_CullDistance[];"
 6773|     12|                );
 6774|     17|        stageBuiltins[EShLangTessEvaluation].append(
 6775|     17|            "};"
 6776|     17|            "\n");
 6777|       |
 6778|     17|        if (version >= 410)
  ------------------
  |  Branch (6778:13): [True: 13, False: 4]
  ------------------
 6779|     13|            stageBuiltins[EShLangTessEvaluation].append(
 6780|     13|                "out int gl_ViewportIndex;"
 6781|     13|                "out int gl_Layer;"
 6782|     13|                "\n");
 6783|       |
 6784|     17|        if (version >= 430)
  ------------------
  |  Branch (6784:13): [True: 12, False: 5]
  ------------------
 6785|     12|            stageBuiltins[EShLangTessEvaluation].append(
 6786|     12|                "out int  gl_ViewportMask[];"             // GL_NV_viewport_array2
 6787|     12|            );
 6788|       |
 6789|     17|        if (version >= 450)
  ------------------
  |  Branch (6789:13): [True: 12, False: 5]
  ------------------
 6790|     12|            stageBuiltins[EShLangTessEvaluation].append(
 6791|     12|                "out vec4 gl_SecondaryPositionNV;"        // GL_NV_stereo_view_rendering
 6792|     12|                "out int  gl_SecondaryViewportMaskNV[];"  // GL_NV_stereo_view_rendering
 6793|     12|                "out vec4 gl_PositionPerViewNV[];"        // GL_NVX_multiview_per_view_attributes
 6794|     12|                "out int  gl_ViewportMaskPerViewNV[];"    // GL_NVX_multiview_per_view_attributes
 6795|     12|                );
 6796|       |
 6797|    107|    } else if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (6797:16): [True: 0, False: 107]
  |  Branch (6797:41): [True: 0, False: 0]
  ------------------
 6798|       |        // Note:  "in gl_PerVertex {...} gl_in[gl_MaxPatchVertices];" is declared in initialize() below,
 6799|       |        // as it depends on the resource sizing of gl_MaxPatchVertices.
 6800|       |
 6801|      0|        stageBuiltins[EShLangTessEvaluation].append(
 6802|      0|            "in highp int gl_PatchVerticesIn;"
 6803|      0|            "in highp int gl_PrimitiveID;"
 6804|      0|            "in highp vec3 gl_TessCoord;"
 6805|       |
 6806|      0|            "patch in highp float gl_TessLevelOuter[4];"
 6807|      0|            "patch in highp float gl_TessLevelInner[2];"
 6808|       |
 6809|      0|            "out gl_PerVertex {"
 6810|      0|                "highp vec4 gl_Position;"
 6811|      0|                "highp float gl_PointSize;"
 6812|      0|            );
 6813|      0|        stageBuiltins[EShLangTessEvaluation].append(
 6814|      0|            "};"
 6815|      0|            "\n");
 6816|      0|    }
 6817|       |
 6818|    124|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6818:10): [True: 124, False: 0]
  |  Branch (6818:35): [True: 124, False: 0]
  ------------------
 6819|    124|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6819:10): [True: 0, False: 0]
  |  Branch (6819:35): [True: 0, False: 0]
  ------------------
 6820|    124|        stageBuiltins[EShLangTessEvaluation].append(
 6821|    124|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6822|    124|            "in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6823|    124|            "\n");
 6824|    124|    }
 6825|       |
 6826|       |    //============================================================================
 6827|       |    //
 6828|       |    // Define the interface to the fragment shader.
 6829|       |    //
 6830|       |    //============================================================================
 6831|       |
 6832|    124|    if (profile != EEsProfile) {
  ------------------
  |  Branch (6832:9): [True: 124, False: 0]
  ------------------
 6833|       |
 6834|    124|        stageBuiltins[EShLangFragment].append(
 6835|    124|            "vec4  gl_FragCoord;"   // needs qualifier fixed later
 6836|    124|            "bool  gl_FrontFacing;" // needs qualifier fixed later
 6837|    124|            "float gl_FragDepth;"   // needs qualifier fixed later
 6838|    124|            );
 6839|    124|        if (version >= 120)
  ------------------
  |  Branch (6839:13): [True: 124, False: 0]
  ------------------
 6840|    124|            stageBuiltins[EShLangFragment].append(
 6841|    124|                "vec2 gl_PointCoord;"  // needs qualifier fixed later
 6842|    124|                );
 6843|    124|        if (version >= 140)
  ------------------
  |  Branch (6843:13): [True: 124, False: 0]
  ------------------
 6844|    124|            stageBuiltins[EShLangFragment].append(
 6845|    124|                "out int gl_FragStencilRefARB;"
 6846|    124|                );
 6847|    124|        if (IncludeLegacy(version, profile, spvVersion) || (! ForwardCompatibility && version < 420))
  ------------------
  |  Branch (6847:13): [True: 0, False: 124]
  |  Branch (6847:61): [True: 124, Folded]
  |  Branch (6847:87): [True: 111, False: 13]
  ------------------
 6848|    111|            stageBuiltins[EShLangFragment].append(
 6849|    111|                "vec4 gl_FragColor;"   // needs qualifier fixed later
 6850|    111|                );
 6851|       |
 6852|    124|        if (version < 130) {
  ------------------
  |  Branch (6852:13): [True: 0, False: 124]
  ------------------
 6853|      0|            stageBuiltins[EShLangFragment].append(
 6854|      0|                "varying vec4  gl_Color;"
 6855|      0|                "varying vec4  gl_SecondaryColor;"
 6856|      0|                "varying vec4  gl_TexCoord[];"
 6857|      0|                "varying float gl_FogFragCoord;"
 6858|      0|                );
 6859|    124|        } else {
 6860|    124|            stageBuiltins[EShLangFragment].append(
 6861|    124|                "in float gl_ClipDistance[];"
 6862|    124|                );
 6863|       |
 6864|    124|            if (IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (6864:17): [True: 0, False: 124]
  ------------------
 6865|      0|                if (version < 150)
  ------------------
  |  Branch (6865:21): [True: 0, False: 0]
  ------------------
 6866|      0|                    stageBuiltins[EShLangFragment].append(
 6867|      0|                        "in float gl_FogFragCoord;"
 6868|      0|                        "in vec4  gl_TexCoord[];"
 6869|      0|                        "in vec4  gl_Color;"
 6870|      0|                        "in vec4  gl_SecondaryColor;"
 6871|      0|                        );
 6872|      0|                else
 6873|      0|                    stageBuiltins[EShLangFragment].append(
 6874|      0|                        "in gl_PerFragment {"
 6875|      0|                            "in float gl_FogFragCoord;"
 6876|      0|                            "in vec4  gl_TexCoord[];"
 6877|      0|                            "in vec4  gl_Color;"
 6878|      0|                            "in vec4  gl_SecondaryColor;"
 6879|      0|                        "};"
 6880|      0|                        );
 6881|      0|            }
 6882|    124|        }
 6883|       |
 6884|    124|        if (version >= 150)
  ------------------
  |  Branch (6884:13): [True: 17, False: 107]
  ------------------
 6885|     17|            stageBuiltins[EShLangFragment].append(
 6886|     17|                "flat in int gl_PrimitiveID;"
 6887|     17|                );
 6888|       |
 6889|    124|        if (version >= 130) { // ARB_sample_shading
  ------------------
  |  Branch (6889:13): [True: 124, False: 0]
  ------------------
 6890|    124|            stageBuiltins[EShLangFragment].append(
 6891|    124|                "flat in  int  gl_SampleID;"
 6892|    124|                "     in  vec2 gl_SamplePosition;"
 6893|    124|                "     out int  gl_SampleMask[];"
 6894|    124|                );
 6895|       |
 6896|    124|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (6896:17): [True: 0, False: 124]
  ------------------
 6897|      0|                stageBuiltins[EShLangFragment].append(
 6898|      0|                    "uniform int gl_NumSamples;"
 6899|      0|                );
 6900|      0|            }
 6901|    124|        }
 6902|       |
 6903|    124|        if (version >= 150)
  ------------------
  |  Branch (6903:13): [True: 17, False: 107]
  ------------------
 6904|     17|            stageBuiltins[EShLangFragment].append(
 6905|     17|                "flat in  int  gl_SampleMaskIn[];"
 6906|     17|            );
 6907|       |
 6908|    124|        if (version >= 430)
  ------------------
  |  Branch (6908:13): [True: 12, False: 112]
  ------------------
 6909|     12|            stageBuiltins[EShLangFragment].append(
 6910|     12|                "flat in int gl_Layer;"
 6911|     12|                "flat in int gl_ViewportIndex;"
 6912|     12|                );
 6913|       |
 6914|    124|        if (version >= 450)
  ------------------
  |  Branch (6914:13): [True: 12, False: 112]
  ------------------
 6915|     12|            stageBuiltins[EShLangFragment].append(
 6916|     12|                "in float gl_CullDistance[];"
 6917|     12|                "bool gl_HelperInvocation;"     // needs qualifier fixed later
 6918|     12|                );
 6919|       |
 6920|    124|        if (version >= 450)
  ------------------
  |  Branch (6920:13): [True: 12, False: 112]
  ------------------
 6921|     12|            stageBuiltins[EShLangFragment].append( // GL_EXT_fragment_invocation_density
 6922|     12|                "flat in ivec2 gl_FragSizeEXT;"
 6923|     12|                "flat in int   gl_FragInvocationCountEXT;"
 6924|     12|                );
 6925|       |
 6926|    124|        if (version >= 450)
  ------------------
  |  Branch (6926:13): [True: 12, False: 112]
  ------------------
 6927|     12|            stageBuiltins[EShLangFragment].append(
 6928|     12|                "in vec2 gl_BaryCoordNoPerspAMD;"
 6929|     12|                "in vec2 gl_BaryCoordNoPerspCentroidAMD;"
 6930|     12|                "in vec2 gl_BaryCoordNoPerspSampleAMD;"
 6931|     12|                "in vec2 gl_BaryCoordSmoothAMD;"
 6932|     12|                "in vec2 gl_BaryCoordSmoothCentroidAMD;"
 6933|     12|                "in vec2 gl_BaryCoordSmoothSampleAMD;"
 6934|     12|                "in vec3 gl_BaryCoordPullModelAMD;"
 6935|     12|                );
 6936|       |
 6937|    124|        if (version >= 430)
  ------------------
  |  Branch (6937:13): [True: 12, False: 112]
  ------------------
 6938|     12|            stageBuiltins[EShLangFragment].append(
 6939|     12|                "in bool gl_FragFullyCoveredNV;"
 6940|     12|                );
 6941|    124|        if (version >= 450)
  ------------------
  |  Branch (6941:13): [True: 12, False: 112]
  ------------------
 6942|     12|            stageBuiltins[EShLangFragment].append(
 6943|     12|                "flat in ivec2 gl_FragmentSizeNV;"          // GL_NV_shading_rate_image
 6944|     12|                "flat in int   gl_InvocationsPerPixelNV;"
 6945|     12|                "in vec3 gl_BaryCoordNV;"                   // GL_NV_fragment_shader_barycentric
 6946|     12|                "in vec3 gl_BaryCoordNoPerspNV;"
 6947|     12|                "in vec3 gl_BaryCoordEXT;"                  // GL_EXT_fragment_shader_barycentric
 6948|     12|                "in vec3 gl_BaryCoordNoPerspEXT;"
 6949|     12|                );
 6950|       |
 6951|    124|        if (version >= 450)
  ------------------
  |  Branch (6951:13): [True: 12, False: 112]
  ------------------
 6952|     12|            stageBuiltins[EShLangFragment].append(
 6953|     12|                "flat in int gl_ShadingRateEXT;" // GL_EXT_fragment_shading_rate
 6954|     12|            );
 6955|       |
 6956|    124|    } else {
 6957|       |        // ES profile
 6958|       |
 6959|      0|        if (version == 100) {
  ------------------
  |  Branch (6959:13): [True: 0, False: 0]
  ------------------
 6960|      0|            stageBuiltins[EShLangFragment].append(
 6961|      0|                "mediump vec4 gl_FragCoord;"    // needs qualifier fixed later
 6962|      0|                "        bool gl_FrontFacing;"  // needs qualifier fixed later
 6963|      0|                "mediump vec4 gl_FragColor;"    // needs qualifier fixed later
 6964|      0|                "mediump vec2 gl_PointCoord;"   // needs qualifier fixed later
 6965|      0|                );
 6966|      0|        }
 6967|      0|        if (version >= 300) {
  ------------------
  |  Branch (6967:13): [True: 0, False: 0]
  ------------------
 6968|      0|            stageBuiltins[EShLangFragment].append(
 6969|      0|                "highp   vec4  gl_FragCoord;"    // needs qualifier fixed later
 6970|      0|                "        bool  gl_FrontFacing;"  // needs qualifier fixed later
 6971|      0|                "mediump vec2  gl_PointCoord;"   // needs qualifier fixed later
 6972|      0|                "highp   float gl_FragDepth;"    // needs qualifier fixed later
 6973|      0|                );
 6974|      0|        }
 6975|      0|        if (version >= 310) {
  ------------------
  |  Branch (6975:13): [True: 0, False: 0]
  ------------------
 6976|      0|            stageBuiltins[EShLangFragment].append(
 6977|      0|                "bool gl_HelperInvocation;"          // needs qualifier fixed later
 6978|      0|                "flat in highp int gl_PrimitiveID;"  // needs qualifier fixed later
 6979|      0|                "flat in highp int gl_Layer;"        // needs qualifier fixed later
 6980|      0|                );
 6981|       |
 6982|      0|            stageBuiltins[EShLangFragment].append(  // GL_OES_sample_variables
 6983|      0|                "flat  in lowp     int gl_SampleID;"
 6984|      0|                "      in mediump vec2 gl_SamplePosition;"
 6985|      0|                "flat  in highp    int gl_SampleMaskIn[];"
 6986|      0|                "     out highp    int gl_SampleMask[];"
 6987|      0|                );
 6988|      0|            if (spvVersion.spv == 0)
  ------------------
  |  Branch (6988:17): [True: 0, False: 0]
  ------------------
 6989|      0|                stageBuiltins[EShLangFragment].append(  // GL_OES_sample_variables
 6990|      0|                    "uniform lowp int gl_NumSamples;"
 6991|      0|                    );
 6992|      0|        }
 6993|      0|        stageBuiltins[EShLangFragment].append(
 6994|      0|            "highp float gl_FragDepthEXT;"       // GL_EXT_frag_depth
 6995|      0|            );
 6996|       |
 6997|      0|        if (version >= 310)
  ------------------
  |  Branch (6997:13): [True: 0, False: 0]
  ------------------
 6998|      0|            stageBuiltins[EShLangFragment].append( // GL_EXT_fragment_invocation_density
 6999|      0|                "flat in ivec2 gl_FragSizeEXT;"
 7000|      0|                "flat in int   gl_FragInvocationCountEXT;"
 7001|      0|            );
 7002|      0|        if (version >= 320)
  ------------------
  |  Branch (7002:13): [True: 0, False: 0]
  ------------------
 7003|      0|            stageBuiltins[EShLangFragment].append( // GL_NV_shading_rate_image
 7004|      0|                "flat in ivec2 gl_FragmentSizeNV;"
 7005|      0|                "flat in int   gl_InvocationsPerPixelNV;"
 7006|      0|            );
 7007|      0|        if (version >= 320)
  ------------------
  |  Branch (7007:13): [True: 0, False: 0]
  ------------------
 7008|      0|            stageBuiltins[EShLangFragment].append(
 7009|      0|                "in vec3 gl_BaryCoordNV;"
 7010|      0|                "in vec3 gl_BaryCoordNoPerspNV;"
 7011|      0|                "in vec3 gl_BaryCoordEXT;"
 7012|      0|                "in vec3 gl_BaryCoordNoPerspEXT;"
 7013|      0|            );
 7014|      0|        if (version >= 310)
  ------------------
  |  Branch (7014:13): [True: 0, False: 0]
  ------------------
 7015|      0|            stageBuiltins[EShLangFragment].append(
 7016|      0|                "flat in highp int gl_ShadingRateEXT;" // GL_EXT_fragment_shading_rate
 7017|      0|            );
 7018|      0|    }
 7019|       |
 7020|    124|    stageBuiltins[EShLangFragment].append("\n");
 7021|       |
 7022|    124|    if (version >= 130)
  ------------------
  |  Branch (7022:9): [True: 124, False: 0]
  ------------------
 7023|    124|        add2ndGenerationSamplingImaging(version, profile, spvVersion);
 7024|       |
 7025|    124|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (7025:10): [True: 124, False: 0]
  |  Branch (7025:35): [True: 124, False: 0]
  ------------------
 7026|    124|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7026:10): [True: 0, False: 0]
  |  Branch (7026:35): [True: 0, False: 0]
  ------------------
 7027|    124|        stageBuiltins[EShLangFragment].append(
 7028|    124|            "flat in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 7029|    124|            "flat in highp int gl_ViewIndex;"       // GL_EXT_multiview
 7030|    124|            "\n");
 7031|    124|    }
 7032|       |
 7033|    124|    if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (7033:9): [True: 16, False: 108]
  ------------------
 7034|     16|        stageBuiltins[EShLangFragment].append(
 7035|     16|            "flat in highp uint gl_ViewID_OVR;"     // GL_OVR_multiview, GL_OVR_multiview2
 7036|     16|            "\n");
 7037|     16|    }
 7038|       |    
 7039|       |    // GL_QCOM_tile_shading
 7040|    124|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (7040:10): [True: 0, False: 124]
  |  Branch (7040:35): [True: 0, False: 0]
  ------------------
 7041|    124|        (profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (7041:10): [True: 124, False: 0]
  |  Branch (7041:35): [True: 1, False: 123]
  ------------------
 7042|      1|        stageBuiltins[EShLangFragment].append(
 7043|      1|            "flat in highp uvec2 gl_TileOffsetQCOM;"     // GL_QCOM_tile_shading
 7044|      1|            "flat in highp uvec3 gl_TileDimensionQCOM;"  // GL_QCOM_tile_shading
 7045|      1|            "flat in highp uvec2 gl_TileApronSizeQCOM;"  // GL_QCOM_tile_shading
 7046|      1|            "\n");
 7047|      1|    }
 7048|       |
 7049|       |    // GL_ARB_shader_ballot
 7050|    124|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (7050:9): [True: 124, False: 0]
  |  Branch (7050:34): [True: 12, False: 112]
  ------------------
 7051|     12|        const char* ballotDecls =
 7052|     12|            "uniform uint gl_SubGroupSizeARB;"
 7053|     12|            "in uint     gl_SubGroupInvocationARB;"
 7054|     12|            "in uint64_t gl_SubGroupEqMaskARB;"
 7055|     12|            "in uint64_t gl_SubGroupGeMaskARB;"
 7056|     12|            "in uint64_t gl_SubGroupGtMaskARB;"
 7057|     12|            "in uint64_t gl_SubGroupLeMaskARB;"
 7058|     12|            "in uint64_t gl_SubGroupLtMaskARB;"
 7059|     12|            "\n";
 7060|     12|        const char* rtBallotDecls =
 7061|     12|            "uniform volatile uint gl_SubGroupSizeARB;"
 7062|     12|            "in volatile uint     gl_SubGroupInvocationARB;"
 7063|     12|            "in volatile uint64_t gl_SubGroupEqMaskARB;"
 7064|     12|            "in volatile uint64_t gl_SubGroupGeMaskARB;"
 7065|     12|            "in volatile uint64_t gl_SubGroupGtMaskARB;"
 7066|     12|            "in volatile uint64_t gl_SubGroupLeMaskARB;"
 7067|     12|            "in volatile uint64_t gl_SubGroupLtMaskARB;"
 7068|     12|            "\n";
 7069|     12|        const char* fragmentBallotDecls =
 7070|     12|            "uniform uint gl_SubGroupSizeARB;"
 7071|     12|            "flat in uint     gl_SubGroupInvocationARB;"
 7072|     12|            "flat in uint64_t gl_SubGroupEqMaskARB;"
 7073|     12|            "flat in uint64_t gl_SubGroupGeMaskARB;"
 7074|     12|            "flat in uint64_t gl_SubGroupGtMaskARB;"
 7075|     12|            "flat in uint64_t gl_SubGroupLeMaskARB;"
 7076|     12|            "flat in uint64_t gl_SubGroupLtMaskARB;"
 7077|     12|            "\n";
 7078|     12|        stageBuiltins[EShLangVertex]        .append(ballotDecls);
 7079|     12|        stageBuiltins[EShLangTessControl]   .append(ballotDecls);
 7080|     12|        stageBuiltins[EShLangTessEvaluation].append(ballotDecls);
 7081|     12|        stageBuiltins[EShLangGeometry]      .append(ballotDecls);
 7082|     12|        stageBuiltins[EShLangCompute]       .append(ballotDecls);
 7083|     12|        stageBuiltins[EShLangFragment]      .append(fragmentBallotDecls);
 7084|     12|        stageBuiltins[EShLangMesh]        .append(ballotDecls);
 7085|     12|        stageBuiltins[EShLangTask]        .append(ballotDecls);
 7086|     12|        stageBuiltins[EShLangRayGen]        .append(rtBallotDecls);
 7087|     12|        stageBuiltins[EShLangIntersect]     .append(rtBallotDecls);
 7088|       |        // No volatile qualifier on these builtins in any-hit
 7089|     12|        stageBuiltins[EShLangAnyHit]        .append(ballotDecls);
 7090|     12|        stageBuiltins[EShLangClosestHit]    .append(rtBallotDecls);
 7091|     12|        stageBuiltins[EShLangMiss]          .append(rtBallotDecls);
 7092|     12|        stageBuiltins[EShLangCallable]      .append(rtBallotDecls);
 7093|     12|    }
 7094|       |
 7095|       |    // GL_KHR_shader_subgroup
 7096|    124|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (7096:10): [True: 0, False: 124]
  |  Branch (7096:35): [True: 0, False: 0]
  ------------------
 7097|    124|        (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (7097:10): [True: 124, False: 0]
  |  Branch (7097:35): [True: 124, False: 0]
  ------------------
 7098|    124|        const char* subgroupDecls =
 7099|    124|            "in mediump uint  gl_SubgroupSize;"
 7100|    124|            "in mediump uint  gl_SubgroupInvocationID;"
 7101|    124|            "in highp   uvec4 gl_SubgroupEqMask;"
 7102|    124|            "in highp   uvec4 gl_SubgroupGeMask;"
 7103|    124|            "in highp   uvec4 gl_SubgroupGtMask;"
 7104|    124|            "in highp   uvec4 gl_SubgroupLeMask;"
 7105|    124|            "in highp   uvec4 gl_SubgroupLtMask;"
 7106|       |            // GL_NV_shader_sm_builtins
 7107|    124|            "in highp   uint  gl_WarpsPerSMNV;"
 7108|    124|            "in highp   uint  gl_SMCountNV;"
 7109|    124|            "in highp   uint  gl_WarpIDNV;"
 7110|    124|            "in highp   uint  gl_SMIDNV;"
 7111|       |            // GL_ARM_shader_core_builtins
 7112|    124|            "in highp   uint  gl_CoreIDARM;"
 7113|    124|            "in highp   uint  gl_CoreCountARM;"
 7114|    124|            "in highp   uint  gl_CoreMaxIDARM;"
 7115|    124|            "in highp   uint  gl_WarpIDARM;"
 7116|    124|            "in highp   uint  gl_WarpMaxIDARM;"
 7117|    124|            "\n";
 7118|    124|        const char* fragmentSubgroupDecls =
 7119|    124|            "flat in mediump uint  gl_SubgroupSize;"
 7120|    124|            "flat in mediump uint  gl_SubgroupInvocationID;"
 7121|    124|            "flat in highp   uvec4 gl_SubgroupEqMask;"
 7122|    124|            "flat in highp   uvec4 gl_SubgroupGeMask;"
 7123|    124|            "flat in highp   uvec4 gl_SubgroupGtMask;"
 7124|    124|            "flat in highp   uvec4 gl_SubgroupLeMask;"
 7125|    124|            "flat in highp   uvec4 gl_SubgroupLtMask;"
 7126|       |            // GL_NV_shader_sm_builtins
 7127|    124|            "flat in highp   uint  gl_WarpsPerSMNV;"
 7128|    124|            "flat in highp   uint  gl_SMCountNV;"
 7129|    124|            "flat in highp   uint  gl_WarpIDNV;"
 7130|    124|            "flat in highp   uint  gl_SMIDNV;"
 7131|       |            // GL_ARM_shader_core_builtins
 7132|    124|            "flat in highp   uint  gl_CoreIDARM;"
 7133|    124|            "flat in highp   uint  gl_CoreCountARM;"
 7134|    124|            "flat in highp   uint  gl_CoreMaxIDARM;"
 7135|    124|            "flat in highp   uint  gl_WarpIDARM;"
 7136|    124|            "flat in highp   uint  gl_WarpMaxIDARM;"
 7137|    124|            "\n";
 7138|    124|        const char* computeSubgroupDecls =
 7139|    124|            "in highp   uint  gl_NumSubgroups;"
 7140|    124|            "in highp   uint  gl_SubgroupID;"
 7141|    124|            "\n";
 7142|       |        // These builtins are volatile for RT stages
 7143|    124|        const char* rtSubgroupDecls =
 7144|    124|            "in mediump volatile uint  gl_SubgroupSize;"
 7145|    124|            "in mediump volatile uint  gl_SubgroupInvocationID;"
 7146|    124|            "in highp   volatile uvec4 gl_SubgroupEqMask;"
 7147|    124|            "in highp   volatile uvec4 gl_SubgroupGeMask;"
 7148|    124|            "in highp   volatile uvec4 gl_SubgroupGtMask;"
 7149|    124|            "in highp   volatile uvec4 gl_SubgroupLeMask;"
 7150|    124|            "in highp   volatile uvec4 gl_SubgroupLtMask;"
 7151|       |            // GL_NV_shader_sm_builtins
 7152|    124|            "in highp    uint  gl_WarpsPerSMNV;"
 7153|    124|            "in highp    uint  gl_SMCountNV;"
 7154|    124|            "in highp volatile uint  gl_WarpIDNV;"
 7155|    124|            "in highp volatile uint  gl_SMIDNV;"
 7156|       |            // GL_ARM_shader_core_builtins
 7157|    124|            "in highp   uint  gl_CoreIDARM;"
 7158|    124|            "in highp   uint  gl_CoreCountARM;"
 7159|    124|            "in highp   uint  gl_CoreMaxIDARM;"
 7160|    124|            "in highp   uint  gl_WarpIDARM;"
 7161|    124|            "in highp   uint  gl_WarpMaxIDARM;"
 7162|    124|            "\n";
 7163|       |
 7164|    124|        stageBuiltins[EShLangVertex]        .append(subgroupDecls);
 7165|    124|        stageBuiltins[EShLangTessControl]   .append(subgroupDecls);
 7166|    124|        stageBuiltins[EShLangTessEvaluation].append(subgroupDecls);
 7167|    124|        stageBuiltins[EShLangGeometry]      .append(subgroupDecls);
 7168|    124|        stageBuiltins[EShLangCompute]       .append(subgroupDecls);
 7169|    124|        stageBuiltins[EShLangCompute]       .append(computeSubgroupDecls);
 7170|    124|        stageBuiltins[EShLangFragment]      .append(fragmentSubgroupDecls);
 7171|    124|        stageBuiltins[EShLangMesh]        .append(subgroupDecls);
 7172|    124|        stageBuiltins[EShLangMesh]        .append(computeSubgroupDecls);
 7173|    124|        stageBuiltins[EShLangTask]        .append(subgroupDecls);
 7174|    124|        stageBuiltins[EShLangTask]        .append(computeSubgroupDecls);
 7175|    124|        stageBuiltins[EShLangRayGen]        .append(rtSubgroupDecls);
 7176|    124|        stageBuiltins[EShLangIntersect]     .append(rtSubgroupDecls);
 7177|       |        // No volatile qualifier on these builtins in any-hit
 7178|    124|        stageBuiltins[EShLangAnyHit]        .append(subgroupDecls);
 7179|    124|        stageBuiltins[EShLangClosestHit]    .append(rtSubgroupDecls);
 7180|    124|        stageBuiltins[EShLangMiss]          .append(rtSubgroupDecls);
 7181|    124|        stageBuiltins[EShLangCallable]      .append(rtSubgroupDecls);
 7182|    124|    }
 7183|       |
 7184|       |    // GL_NV_ray_tracing/GL_EXT_ray_tracing
 7185|    124|    if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (7185:9): [True: 124, False: 0]
  |  Branch (7185:34): [True: 1, False: 123]
  ------------------
 7186|       |
 7187|      1|        const char *constRayFlags =
 7188|      1|            "const uint gl_RayFlagsNoneNV = 0U;"
 7189|      1|            "const uint gl_RayFlagsNoneEXT = 0U;"
 7190|      1|            "const uint gl_RayFlagsOpaqueNV = 1U;"
 7191|      1|            "const uint gl_RayFlagsOpaqueEXT = 1U;"
 7192|      1|            "const uint gl_RayFlagsNoOpaqueNV = 2U;"
 7193|      1|            "const uint gl_RayFlagsNoOpaqueEXT = 2U;"
 7194|      1|            "const uint gl_RayFlagsTerminateOnFirstHitNV = 4U;"
 7195|      1|            "const uint gl_RayFlagsTerminateOnFirstHitEXT = 4U;"
 7196|      1|            "const uint gl_RayFlagsSkipClosestHitShaderNV = 8U;"
 7197|      1|            "const uint gl_RayFlagsSkipClosestHitShaderEXT = 8U;"
 7198|      1|            "const uint gl_RayFlagsCullBackFacingTrianglesNV = 16U;"
 7199|      1|            "const uint gl_RayFlagsCullBackFacingTrianglesEXT = 16U;"
 7200|      1|            "const uint gl_RayFlagsCullFrontFacingTrianglesNV = 32U;"
 7201|      1|            "const uint gl_RayFlagsCullFrontFacingTrianglesEXT = 32U;"
 7202|      1|            "const uint gl_RayFlagsCullOpaqueNV = 64U;"
 7203|      1|            "const uint gl_RayFlagsCullOpaqueEXT = 64U;"
 7204|      1|            "const uint gl_RayFlagsCullNoOpaqueNV = 128U;"
 7205|      1|            "const uint gl_RayFlagsCullNoOpaqueEXT = 128U;"
 7206|      1|            "const uint gl_RayFlagsSkipTrianglesEXT = 256U;"
 7207|      1|            "const uint gl_RayFlagsSkipBuiltinPrimitivesNV = 256U;"
 7208|      1|            "const uint gl_RayFlagsSkipAABBEXT = 512U;"
 7209|      1|            "const uint gl_RayFlagsForceOpacityMicromap2StateEXT = 1024U;"
 7210|      1|            "const bool gl_EnableOpacityMicromapEXT = false;"
 7211|      1|            "const uint gl_HitKindFrontFacingTriangleEXT = 254U;"
 7212|      1|            "const uint gl_HitKindBackFacingTriangleEXT = 255U;"
 7213|      1|            "in    uint gl_HitKindFrontFacingMicroTriangleNV;"
 7214|      1|            "in    uint gl_HitKindBackFacingMicroTriangleNV;"
 7215|      1|            "const int  gl_ClusterIDNoneNV = -1;"
 7216|      1|            "\n";
 7217|       |
 7218|      1|        const char *constRayQueryIntersection =
 7219|      1|            "const uint gl_RayQueryCandidateIntersectionEXT = 0U;"
 7220|      1|            "const uint gl_RayQueryCommittedIntersectionEXT = 1U;"
 7221|      1|            "const uint gl_RayQueryCommittedIntersectionNoneEXT = 0U;"
 7222|      1|            "const uint gl_RayQueryCommittedIntersectionTriangleEXT = 1U;"
 7223|      1|            "const uint gl_RayQueryCommittedIntersectionGeneratedEXT = 2U;"
 7224|      1|            "const uint gl_RayQueryCandidateIntersectionTriangleEXT = 0U;"
 7225|      1|            "const uint gl_RayQueryCandidateIntersectionAABBEXT = 1U;"
 7226|      1|            "\n";
 7227|       |
 7228|      1|        const char *rayGenDecls =
 7229|      1|            "in    uvec3  gl_LaunchIDNV;"
 7230|      1|            "in    uvec3  gl_LaunchIDEXT;"
 7231|      1|            "in    uvec3  gl_LaunchSizeNV;"
 7232|      1|            "in    uvec3  gl_LaunchSizeEXT;"
 7233|      1|            "\n";
 7234|      1|        const char *intersectDecls =
 7235|      1|            "in    uvec3  gl_LaunchIDNV;"
 7236|      1|            "in    uvec3  gl_LaunchIDEXT;"
 7237|      1|            "in    uvec3  gl_LaunchSizeNV;"
 7238|      1|            "in    uvec3  gl_LaunchSizeEXT;"
 7239|      1|            "in     int   gl_PrimitiveID;"
 7240|      1|            "in     int   gl_InstanceID;"
 7241|      1|            "in     int   gl_InstanceCustomIndexNV;"
 7242|      1|            "in     int   gl_InstanceCustomIndexEXT;"
 7243|      1|            "in     int   gl_GeometryIndexEXT;"
 7244|      1|            "in    vec3   gl_WorldRayOriginNV;"
 7245|      1|            "in    vec3   gl_WorldRayOriginEXT;"
 7246|      1|            "in    vec3   gl_WorldRayDirectionNV;"
 7247|      1|            "in    vec3   gl_WorldRayDirectionEXT;"
 7248|      1|            "in    vec3   gl_ObjectRayOriginNV;"
 7249|      1|            "in    vec3   gl_ObjectRayOriginEXT;"
 7250|      1|            "in    vec3   gl_ObjectRayDirectionNV;"
 7251|      1|            "in    vec3   gl_ObjectRayDirectionEXT;"
 7252|      1|            "in    float  gl_RayTminNV;"
 7253|      1|            "in    float  gl_RayTminEXT;"
 7254|      1|            "in    float  gl_RayTmaxNV;"
 7255|      1|            "in volatile float gl_RayTmaxEXT;"
 7256|      1|            "in    mat4x3 gl_ObjectToWorldNV;"
 7257|      1|            "in    mat4x3 gl_ObjectToWorldEXT;"
 7258|      1|            "in    mat3x4 gl_ObjectToWorld3x4EXT;"
 7259|      1|            "in    mat4x3 gl_WorldToObjectNV;"
 7260|      1|            "in    mat4x3 gl_WorldToObjectEXT;"
 7261|      1|            "in    mat3x4 gl_WorldToObject3x4EXT;"
 7262|      1|            "in    uint   gl_IncomingRayFlagsNV;"
 7263|      1|            "in    uint   gl_IncomingRayFlagsEXT;"
 7264|      1|            "in    float  gl_CurrentRayTimeNV;"
 7265|      1|            "in    uint   gl_CullMaskEXT;"
 7266|      1|            "\n";
 7267|      1|        const char *hitDecls =
 7268|      1|            "in    uvec3  gl_LaunchIDNV;"
 7269|      1|            "in    uvec3  gl_LaunchIDEXT;"
 7270|      1|            "in    uvec3  gl_LaunchSizeNV;"
 7271|      1|            "in    uvec3  gl_LaunchSizeEXT;"
 7272|      1|            "in     int   gl_PrimitiveID;"
 7273|      1|            "in     int   gl_InstanceID;"
 7274|      1|            "in     int   gl_InstanceCustomIndexNV;"
 7275|      1|            "in     int   gl_InstanceCustomIndexEXT;"
 7276|      1|            "in     int   gl_GeometryIndexEXT;"
 7277|      1|            "in    vec3   gl_WorldRayOriginNV;"
 7278|      1|            "in    vec3   gl_WorldRayOriginEXT;"
 7279|      1|            "in    vec3   gl_WorldRayDirectionNV;"
 7280|      1|            "in    vec3   gl_WorldRayDirectionEXT;"
 7281|      1|            "in    vec3   gl_ObjectRayOriginNV;"
 7282|      1|            "in    vec3   gl_ObjectRayOriginEXT;"
 7283|      1|            "in    vec3   gl_ObjectRayDirectionNV;"
 7284|      1|            "in    vec3   gl_ObjectRayDirectionEXT;"
 7285|      1|            "in    float  gl_RayTminNV;"
 7286|      1|            "in    float  gl_RayTminEXT;"
 7287|      1|            "in    float  gl_RayTmaxNV;"
 7288|      1|            "in    float  gl_RayTmaxEXT;"
 7289|      1|            "in    float  gl_HitTNV;"
 7290|      1|            "in    float  gl_HitTEXT;"
 7291|      1|            "in    uint   gl_HitKindNV;"
 7292|      1|            "in    uint   gl_HitKindEXT;"
 7293|      1|            "in    mat4x3 gl_ObjectToWorldNV;"
 7294|      1|            "in    mat4x3 gl_ObjectToWorldEXT;"
 7295|      1|            "in    mat3x4 gl_ObjectToWorld3x4EXT;"
 7296|      1|            "in    mat4x3 gl_WorldToObjectNV;"
 7297|      1|            "in    mat4x3 gl_WorldToObjectEXT;"
 7298|      1|            "in    mat3x4 gl_WorldToObject3x4EXT;"
 7299|      1|            "in    uint   gl_IncomingRayFlagsNV;"
 7300|      1|            "in    uint   gl_IncomingRayFlagsEXT;"
 7301|      1|            "in    float  gl_CurrentRayTimeNV;"
 7302|      1|            "in    uint   gl_CullMaskEXT;"
 7303|      1|            "in    vec3   gl_HitTriangleVertexPositionsEXT[3];"
 7304|      1|            "in    vec3   gl_HitMicroTriangleVertexPositionsNV[3];"
 7305|      1|            "in    vec2   gl_HitMicroTriangleVertexBarycentricsNV[3];"
 7306|      1|            "in    int    gl_ClusterIDNV;"
 7307|      1|            "in    bool   gl_HitIsSphereNV;"
 7308|      1|            "in    bool   gl_HitIsLSSNV;"
 7309|      1|            "in    vec3   gl_HitSpherePositionNV;"
 7310|      1|            "in    float  gl_HitSphereRadiusNV;"
 7311|      1|            "in    vec3   gl_HitLSSPositionsNV[2];"
 7312|      1|            "in    float  gl_HitLSSRadiiNV[2];"
 7313|      1|            "\n";
 7314|       |
 7315|      1|        const char *missDecls =
 7316|      1|            "in    uvec3  gl_LaunchIDNV;"
 7317|      1|            "in    uvec3  gl_LaunchIDEXT;"
 7318|      1|            "in    uvec3  gl_LaunchSizeNV;"
 7319|      1|            "in    uvec3  gl_LaunchSizeEXT;"
 7320|      1|            "in    vec3   gl_WorldRayOriginNV;"
 7321|      1|            "in    vec3   gl_WorldRayOriginEXT;"
 7322|      1|            "in    vec3   gl_WorldRayDirectionNV;"
 7323|      1|            "in    vec3   gl_WorldRayDirectionEXT;"
 7324|      1|            "in    vec3   gl_ObjectRayOriginNV;"
 7325|      1|            "in    vec3   gl_ObjectRayDirectionNV;"
 7326|      1|            "in    float  gl_RayTminNV;"
 7327|      1|            "in    float  gl_RayTminEXT;"
 7328|      1|            "in    float  gl_RayTmaxNV;"
 7329|      1|            "in    float  gl_RayTmaxEXT;"
 7330|      1|            "in    uint   gl_IncomingRayFlagsNV;"
 7331|      1|            "in    uint   gl_IncomingRayFlagsEXT;"
 7332|      1|            "in    float  gl_CurrentRayTimeNV;"
 7333|      1|            "in    uint   gl_CullMaskEXT;"
 7334|      1|            "\n";
 7335|       |
 7336|      1|        const char *callableDecls =
 7337|      1|            "in    uvec3  gl_LaunchIDNV;"
 7338|      1|            "in    uvec3  gl_LaunchIDEXT;"
 7339|      1|            "in    uvec3  gl_LaunchSizeNV;"
 7340|      1|            "in    uvec3  gl_LaunchSizeEXT;"
 7341|      1|            "\n";
 7342|       |
 7343|       |
 7344|      1|        commonBuiltins.append(constRayQueryIntersection);
 7345|      1|        commonBuiltins.append(constRayFlags);
 7346|       |
 7347|      1|        stageBuiltins[EShLangRayGen].append(rayGenDecls);
 7348|      1|        stageBuiltins[EShLangIntersect].append(intersectDecls);
 7349|      1|        stageBuiltins[EShLangAnyHit].append(hitDecls);
 7350|      1|        stageBuiltins[EShLangClosestHit].append(hitDecls);
 7351|      1|        stageBuiltins[EShLangMiss].append(missDecls);
 7352|      1|        stageBuiltins[EShLangCallable].append(callableDecls);
 7353|       |
 7354|      1|    }
 7355|       |
 7356|    124|    if ((profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (7356:10): [True: 124, False: 0]
  |  Branch (7356:35): [True: 124, False: 0]
  ------------------
 7357|    124|        const char *deviceIndex =
 7358|    124|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 7359|    124|            "\n";
 7360|       |
 7361|    124|        stageBuiltins[EShLangRayGen].append(deviceIndex);
 7362|    124|        stageBuiltins[EShLangIntersect].append(deviceIndex);
 7363|    124|        stageBuiltins[EShLangAnyHit].append(deviceIndex);
 7364|    124|        stageBuiltins[EShLangClosestHit].append(deviceIndex);
 7365|    124|        stageBuiltins[EShLangMiss].append(deviceIndex);
 7366|    124|    }
 7367|       |
 7368|    124|    if ((profile != EEsProfile && version >= 420) ||
  ------------------
  |  Branch (7368:10): [True: 124, False: 0]
  |  Branch (7368:35): [True: 13, False: 111]
  ------------------
 7369|    111|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7369:10): [True: 0, False: 111]
  |  Branch (7369:35): [True: 0, False: 0]
  ------------------
 7370|     13|        commonBuiltins.append("const int gl_ScopeDevice      = 1;\n");
 7371|     13|        commonBuiltins.append("const int gl_ScopeWorkgroup   = 2;\n");
 7372|     13|        commonBuiltins.append("const int gl_ScopeSubgroup    = 3;\n");
 7373|     13|        commonBuiltins.append("const int gl_ScopeInvocation  = 4;\n");
 7374|     13|        commonBuiltins.append("const int gl_ScopeQueueFamily = 5;\n");
 7375|     13|        commonBuiltins.append("const int gl_ScopeShaderCallEXT = 6;\n");
 7376|       |
 7377|     13|        commonBuiltins.append("const int gl_SemanticsRelaxed         = 0x0;\n");
 7378|     13|        commonBuiltins.append("const int gl_SemanticsAcquire         = 0x2;\n");
 7379|     13|        commonBuiltins.append("const int gl_SemanticsRelease         = 0x4;\n");
 7380|     13|        commonBuiltins.append("const int gl_SemanticsAcquireRelease  = 0x8;\n");
 7381|     13|        commonBuiltins.append("const int gl_SemanticsMakeAvailable   = 0x2000;\n");
 7382|     13|        commonBuiltins.append("const int gl_SemanticsMakeVisible     = 0x4000;\n");
 7383|     13|        commonBuiltins.append("const int gl_SemanticsVolatile        = 0x8000;\n");
 7384|       |
 7385|     13|        commonBuiltins.append("const int gl_StorageSemanticsNone     = 0x0;\n");
 7386|     13|        commonBuiltins.append("const int gl_StorageSemanticsBuffer   = 0x40;\n");
 7387|     13|        commonBuiltins.append("const int gl_StorageSemanticsShared   = 0x100;\n");
 7388|     13|        commonBuiltins.append("const int gl_StorageSemanticsImage    = 0x800;\n");
 7389|     13|        commonBuiltins.append("const int gl_StorageSemanticsOutput   = 0x1000;\n");
 7390|     13|    }
 7391|       |
 7392|       |    // Adding these to common built-ins triggers an assert due to a memory corruption in related code when testing
 7393|       |    // So instead add to each stage individually, avoiding the GLSLang bug
 7394|    124|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7394:10): [True: 124, False: 0]
  |  Branch (7394:35): [True: 12, False: 112]
  |  Branch (7394:55): [True: 0, False: 112]
  |  Branch (7394:80): [True: 0, False: 0]
  ------------------
 7395|    180|        for (int stage=EShLangVertex; stage<EShLangCount; stage++)
  ------------------
  |  Branch (7395:39): [True: 168, False: 12]
  ------------------
 7396|    168|        {
 7397|    168|            stageBuiltins[static_cast<EShLanguage>(stage)].append("const highp int gl_ShadingRateFlag2VerticalPixelsEXT       = 1;\n");
 7398|    168|            stageBuiltins[static_cast<EShLanguage>(stage)].append("const highp int gl_ShadingRateFlag4VerticalPixelsEXT       = 2;\n");
 7399|    168|            stageBuiltins[static_cast<EShLanguage>(stage)].append("const highp int gl_ShadingRateFlag2HorizontalPixelsEXT     = 4;\n");
 7400|    168|            stageBuiltins[static_cast<EShLanguage>(stage)].append("const highp int gl_ShadingRateFlag4HorizontalPixelsEXT     = 8;\n");
 7401|    168|        }
 7402|     12|    }
 7403|       |    
 7404|       |    // GL_EXT_shader_image_int64
 7405|    124|    if ((profile != EEsProfile && version >= 420) ||
  ------------------
  |  Branch (7405:10): [True: 124, False: 0]
  |  Branch (7405:35): [True: 13, False: 111]
  ------------------
 7406|    111|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7406:10): [True: 0, False: 111]
  |  Branch (7406:35): [True: 0, False: 0]
  ------------------
 7407|       |            
 7408|     13|        const TBasicType bTypes[] = { EbtInt64, EbtUint64 };
 7409|     39|        for (int ms = 0; ms <= 1; ++ms) { // loop over "bool" multisample or not
  ------------------
  |  Branch (7409:26): [True: 26, False: 13]
  ------------------
 7410|     78|            for (int arrayed = 0; arrayed <= 1; ++arrayed) { // loop over "bool" arrayed or not
  ------------------
  |  Branch (7410:35): [True: 52, False: 26]
  ------------------
 7411|    364|                for (int dim = Esd1D; dim < EsdSubpass; ++dim) { // 1D, ..., buffer
  ------------------
  |  Branch (7411:39): [True: 312, False: 52]
  ------------------
 7412|    312|                    if ((dim == Esd1D || dim == EsdRect) && profile == EEsProfile)
  ------------------
  |  Branch (7412:26): [True: 52, False: 260]
  |  Branch (7412:42): [True: 52, False: 208]
  |  Branch (7412:61): [True: 0, False: 104]
  ------------------
 7413|      0|                        continue;
 7414|       |                    
 7415|    312|                    if ((dim == Esd3D || dim == EsdRect || dim == EsdBuffer) && arrayed)
  ------------------
  |  Branch (7415:26): [True: 52, False: 260]
  |  Branch (7415:42): [True: 52, False: 208]
  |  Branch (7415:60): [True: 52, False: 156]
  |  Branch (7415:81): [True: 78, False: 78]
  ------------------
 7416|     78|                        continue;
 7417|       |                    
 7418|    234|                    if (dim != Esd2D && ms)
  ------------------
  |  Branch (7418:25): [True: 182, False: 52]
  |  Branch (7418:41): [True: 91, False: 91]
  ------------------
 7419|     91|                        continue;
 7420|       |                    
 7421|       |                    // Loop over the bTypes
 7422|    429|                    for (size_t bType = 0; bType < sizeof(bTypes)/sizeof(TBasicType); ++bType) {
  ------------------
  |  Branch (7422:44): [True: 286, False: 143]
  ------------------
 7423|       |                        //
 7424|       |                        // Now, make all the function prototypes for the type we just built...
 7425|       |                        //
 7426|    286|                        TSampler sampler;
 7427|       |                    
 7428|    286|                        sampler.setImage(bTypes[bType], (TSamplerDim)dim, arrayed ? true : false,
  ------------------
  |  Branch (7428:75): [True: 104, False: 182]
  ------------------
 7429|    286|                                                                          false,
 7430|    286|                                                                          ms      ? true : false);
  ------------------
  |  Branch (7430:75): [True: 52, False: 234]
  ------------------
 7431|       |
 7432|    286|                        TString typeName = TString{sampler.getString()};
 7433|       |
 7434|    286|                        addQueryFunctions(sampler, typeName, version, profile);
 7435|    286|                        addImageFunctions(sampler, typeName, version, profile);
 7436|    286|                    }
 7437|    143|                }
 7438|     52|            }
 7439|     26|        }
 7440|     13|    }
 7441|       |
 7442|       |    // printf("%s\n", commonBuiltins.c_str());
 7443|       |    // printf("%s\n", stageBuiltins[EShLangFragment].c_str());
 7444|    124|}
_ZN7glslang9TBuiltIns31add2ndGenerationSamplingImagingEi8EProfileRKNS_10SpvVersionE:
 7451|    124|{
 7452|       |    //
 7453|       |    // In this function proper, enumerate the types, then calls the next set of functions
 7454|       |    // to enumerate all the uses for that type.
 7455|       |    //
 7456|       |
 7457|       |    // enumerate all the types
 7458|    124|    const TBasicType bTypes[] = { EbtFloat, EbtInt, EbtUint,
 7459|    124|         EbtFloat16
 7460|    124|    };
 7461|    124|    bool skipBuffer = (profile == EEsProfile && version < 310) || (profile != EEsProfile && version < 140);
  ------------------
  |  Branch (7461:24): [True: 0, False: 124]
  |  Branch (7461:49): [True: 0, False: 0]
  |  Branch (7461:68): [True: 124, False: 0]
  |  Branch (7461:93): [True: 0, False: 124]
  ------------------
 7462|    124|    bool skipCubeArrayed = (profile == EEsProfile && version < 310) || (profile != EEsProfile && version < 130);
  ------------------
  |  Branch (7462:29): [True: 0, False: 124]
  |  Branch (7462:54): [True: 0, False: 0]
  |  Branch (7462:73): [True: 124, False: 0]
  |  Branch (7462:98): [True: 0, False: 124]
  ------------------
 7463|    372|    for (int image = 0; image <= 1; ++image) // loop over "bool" image vs sampler
  ------------------
  |  Branch (7463:25): [True: 248, False: 124]
  ------------------
 7464|    248|    {
 7465|    744|        for (int shadow = 0; shadow <= 1; ++shadow) { // loop over "bool" shadow or not
  ------------------
  |  Branch (7465:30): [True: 496, False: 248]
  ------------------
 7466|  1.48k|            for (int ms = 0; ms <= 1; ++ms) // loop over "bool" multisample or not
  ------------------
  |  Branch (7466:30): [True: 992, False: 496]
  ------------------
 7467|    992|            {
 7468|    992|                if ((ms || image) && shadow)
  ------------------
  |  Branch (7468:22): [True: 496, False: 496]
  |  Branch (7468:28): [True: 248, False: 248]
  |  Branch (7468:38): [True: 372, False: 372]
  ------------------
 7469|    372|                    continue;
 7470|    620|                if (ms && profile != EEsProfile && version < 140)
  ------------------
  |  Branch (7470:21): [True: 248, False: 372]
  |  Branch (7470:27): [True: 248, False: 0]
  |  Branch (7470:52): [True: 0, False: 248]
  ------------------
 7471|      0|                    continue;
 7472|    620|                if (ms && image && profile == EEsProfile)
  ------------------
  |  Branch (7472:21): [True: 248, False: 372]
  |  Branch (7472:27): [True: 124, False: 124]
  |  Branch (7472:36): [True: 0, False: 124]
  ------------------
 7473|      0|                    continue;
 7474|    620|                if (ms && profile == EEsProfile && version < 310)
  ------------------
  |  Branch (7474:21): [True: 248, False: 372]
  |  Branch (7474:27): [True: 0, False: 248]
  |  Branch (7474:52): [True: 0, False: 0]
  ------------------
 7475|      0|                    continue;
 7476|       |
 7477|  1.86k|                for (int arrayed = 0; arrayed <= 1; ++arrayed) { // loop over "bool" arrayed or not
  ------------------
  |  Branch (7477:39): [True: 1.24k, False: 620]
  ------------------
 7478|  11.1k|                    for (int dim = Esd1D; dim < EsdNumDims; ++dim) { // 1D, ..., buffer, subpass
  ------------------
  |  Branch (7478:43): [True: 9.92k, False: 1.24k]
  ------------------
 7479|  9.92k|                        if (dim == EsdAttachmentEXT)
  ------------------
  |  Branch (7479:29): [True: 1.24k, False: 8.68k]
  ------------------
 7480|  1.24k|                            continue;
 7481|  8.68k|                        if (dim == EsdSubpass && spvVersion.vulkan == 0)
  ------------------
  |  Branch (7481:29): [True: 1.24k, False: 7.44k]
  |  Branch (7481:50): [True: 0, False: 1.24k]
  ------------------
 7482|      0|                            continue;
 7483|  8.68k|                        if (dim == EsdSubpass && (image || shadow || arrayed))
  ------------------
  |  Branch (7483:29): [True: 1.24k, False: 7.44k]
  |  Branch (7483:51): [True: 496, False: 744]
  |  Branch (7483:60): [True: 248, False: 496]
  |  Branch (7483:70): [True: 248, False: 248]
  ------------------
 7484|    992|                            continue;
 7485|  7.68k|                        if ((dim == Esd1D || dim == EsdRect) && profile == EEsProfile)
  ------------------
  |  Branch (7485:30): [True: 1.24k, False: 6.44k]
  |  Branch (7485:46): [True: 1.24k, False: 5.20k]
  |  Branch (7485:65): [True: 0, False: 2.48k]
  ------------------
 7486|      0|                            continue;
 7487|  7.68k|                        if (dim == EsdSubpass && spvVersion.vulkan == 0)
  ------------------
  |  Branch (7487:29): [True: 248, False: 7.44k]
  |  Branch (7487:50): [True: 0, False: 248]
  ------------------
 7488|      0|                            continue;
 7489|  7.68k|                        if (dim == EsdSubpass && (image || shadow || arrayed))
  ------------------
  |  Branch (7489:29): [True: 248, False: 7.44k]
  |  Branch (7489:51): [True: 0, False: 248]
  |  Branch (7489:60): [True: 0, False: 248]
  |  Branch (7489:70): [True: 0, False: 248]
  ------------------
 7490|      0|                            continue;
 7491|  7.68k|                        if ((dim == Esd1D || dim == EsdRect) && profile == EEsProfile)
  ------------------
  |  Branch (7491:30): [True: 1.24k, False: 6.44k]
  |  Branch (7491:46): [True: 1.24k, False: 5.20k]
  |  Branch (7491:65): [True: 0, False: 2.48k]
  ------------------
 7492|      0|                            continue;
 7493|  7.68k|                        if (dim != Esd2D && dim != EsdSubpass && ms)
  ------------------
  |  Branch (7493:29): [True: 6.44k, False: 1.24k]
  |  Branch (7493:45): [True: 6.20k, False: 248]
  |  Branch (7493:66): [True: 2.48k, False: 3.72k]
  ------------------
 7494|  2.48k|                            continue;
 7495|  5.20k|                        if (dim == EsdBuffer && skipBuffer)
  ------------------
  |  Branch (7495:29): [True: 744, False: 4.46k]
  |  Branch (7495:49): [True: 0, False: 744]
  ------------------
 7496|      0|                            continue;
 7497|  5.20k|                        if (dim == EsdBuffer && (shadow || arrayed || ms))
  ------------------
  |  Branch (7497:29): [True: 744, False: 4.46k]
  |  Branch (7497:50): [True: 248, False: 496]
  |  Branch (7497:60): [True: 248, False: 248]
  |  Branch (7497:71): [True: 0, False: 248]
  ------------------
 7498|    496|                            continue;
 7499|  4.71k|                        if (ms && arrayed && profile == EEsProfile && version < 310)
  ------------------
  |  Branch (7499:29): [True: 620, False: 4.09k]
  |  Branch (7499:35): [True: 248, False: 372]
  |  Branch (7499:46): [True: 0, False: 248]
  |  Branch (7499:71): [True: 0, False: 0]
  ------------------
 7500|      0|                            continue;
 7501|  4.71k|                        if (dim == Esd3D && shadow)
  ------------------
  |  Branch (7501:29): [True: 744, False: 3.96k]
  |  Branch (7501:45): [True: 248, False: 496]
  ------------------
 7502|    248|                            continue;
 7503|  4.46k|                        if (dim == EsdCube && arrayed && skipCubeArrayed)
  ------------------
  |  Branch (7503:29): [True: 744, False: 3.72k]
  |  Branch (7503:47): [True: 372, False: 372]
  |  Branch (7503:58): [True: 0, False: 372]
  ------------------
 7504|      0|                            continue;
 7505|  4.46k|                        if ((dim == Esd3D || dim == EsdRect) && arrayed)
  ------------------
  |  Branch (7505:30): [True: 496, False: 3.96k]
  |  Branch (7505:46): [True: 744, False: 3.22k]
  |  Branch (7505:65): [True: 620, False: 620]
  ------------------
 7506|    620|                            continue;
 7507|       |
 7508|       |                        // Loop over the bTypes
 7509|  19.2k|                        for (size_t bType = 0; bType < sizeof(bTypes)/sizeof(TBasicType); ++bType) {
  ------------------
  |  Branch (7509:48): [True: 15.3k, False: 3.84k]
  ------------------
 7510|  15.3k|                            if (bTypes[bType] == EbtFloat16 && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (7510:33): [True: 3.84k, False: 11.5k]
  |  Branch (7510:65): [True: 0, False: 3.84k]
  |  Branch (7510:90): [True: 3.47k, False: 372]
  ------------------
 7511|  3.47k|                                continue;
 7512|  11.9k|                            if (dim == EsdRect && version < 140 && bType > 0)
  ------------------
  |  Branch (7512:33): [True: 1.15k, False: 10.7k]
  |  Branch (7512:51): [True: 0, False: 1.15k]
  |  Branch (7512:68): [True: 0, False: 0]
  ------------------
 7513|      0|                                continue;
 7514|  11.9k|                            if (shadow && (bTypes[bType] == EbtInt || bTypes[bType] == EbtUint))
  ------------------
  |  Branch (7514:33): [True: 2.68k, False: 9.21k]
  |  Branch (7514:44): [True: 868, False: 1.82k]
  |  Branch (7514:71): [True: 868, False: 952]
  ------------------
 7515|  1.73k|                                continue;
 7516|       |                            //
 7517|       |                            // Now, make all the function prototypes for the type we just built...
 7518|       |                            //
 7519|  10.1k|                            TSampler sampler;
 7520|  10.1k|                            if (dim == EsdSubpass) {
  ------------------
  |  Branch (7520:33): [True: 768, False: 9.40k]
  ------------------
 7521|    768|                                sampler.setSubpass(bTypes[bType], ms ? true : false);
  ------------------
  |  Branch (7521:67): [True: 384, False: 384]
  ------------------
 7522|  9.40k|                            } else if (dim == EsdAttachmentEXT) {
  ------------------
  |  Branch (7522:40): [True: 0, False: 9.40k]
  ------------------
 7523|      0|                                sampler.setAttachmentEXT(bTypes[bType]);
 7524|      0|                            } else
 7525|  9.40k|                            if (image) {
  ------------------
  |  Branch (7525:33): [True: 4.22k, False: 5.17k]
  ------------------
 7526|  4.22k|                                sampler.setImage(bTypes[bType], (TSamplerDim)dim, arrayed ? true : false,
  ------------------
  |  Branch (7526:83): [True: 1.53k, False: 2.68k]
  ------------------
 7527|  4.22k|                                                                                  shadow  ? true : false,
  ------------------
  |  Branch (7527:83): [True: 0, False: 4.22k]
  ------------------
 7528|  4.22k|                                                                                  ms      ? true : false);
  ------------------
  |  Branch (7528:83): [True: 768, False: 3.45k]
  ------------------
 7529|  5.17k|                            } else {
 7530|  5.17k|                                sampler.set(bTypes[bType], (TSamplerDim)dim, arrayed ? true : false,
  ------------------
  |  Branch (7530:78): [True: 1.94k, False: 3.23k]
  ------------------
 7531|  5.17k|                                                                             shadow  ? true : false,
  ------------------
  |  Branch (7531:78): [True: 952, False: 4.22k]
  ------------------
 7532|  5.17k|                                                                             ms      ? true : false);
  ------------------
  |  Branch (7532:78): [True: 768, False: 4.40k]
  ------------------
 7533|  5.17k|                            }
 7534|       |
 7535|  10.1k|                            TString typeName = TString{sampler.getString()};
 7536|       |
 7537|  10.1k|                            if (dim == EsdSubpass) {
  ------------------
  |  Branch (7537:33): [True: 768, False: 9.40k]
  ------------------
 7538|    768|                                addSubpassSampling(sampler, typeName, version, profile);
 7539|    768|                                continue;
 7540|    768|                            }
 7541|       |
 7542|  9.40k|                            addQueryFunctions(sampler, typeName, version, profile);
 7543|       |
 7544|  9.40k|                            if (image)
  ------------------
  |  Branch (7544:33): [True: 4.22k, False: 5.17k]
  ------------------
 7545|  4.22k|                                addImageFunctions(sampler, typeName, version, profile);
 7546|  5.17k|                            else {
 7547|  5.17k|                                addSamplingFunctions(sampler, typeName, version, profile);
 7548|  5.17k|                                addGatherFunctions(sampler, typeName, version, profile);
 7549|  5.17k|                                if (spvVersion.vulkan > 0 && sampler.isCombined() && !sampler.shadow) {
  ------------------
  |  Branch (7549:37): [True: 5.17k, False: 0]
  |  Branch (7549:62): [True: 5.17k, False: 0]
  |  Branch (7549:86): [True: 4.22k, False: 952]
  ------------------
 7550|       |                                    // Base Vulkan allows texelFetch() for
 7551|       |                                    // textureBuffer (i.e. without sampler).
 7552|       |                                    //
 7553|       |                                    // GL_EXT_samplerless_texture_functions
 7554|       |                                    // allows texelFetch() and query functions
 7555|       |                                    // (other than textureQueryLod()) for all
 7556|       |                                    // texture types.
 7557|  4.22k|                                    sampler.setTexture(sampler.type, sampler.dim, sampler.arrayed, sampler.shadow,
 7558|  4.22k|                                                       sampler.ms);
 7559|  4.22k|                                    TString textureTypeName = TString{sampler.getString()};
 7560|  4.22k|                                    addSamplingFunctions(sampler, textureTypeName, version, profile);
 7561|  4.22k|                                    addQueryFunctions(sampler, textureTypeName, version, profile);
 7562|  4.22k|                                }
 7563|  5.17k|                            }
 7564|  9.40k|                        }
 7565|  3.84k|                    }
 7566|  1.24k|                }
 7567|    620|            }
 7568|    496|        }
 7569|    248|    }
 7570|       |
 7571|       |    //
 7572|       |    // sparseTexelsResidentARB()
 7573|       |    //
 7574|    124|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (7574:9): [True: 124, False: 0]
  |  Branch (7574:34): [True: 12, False: 112]
  ------------------
 7575|     12|        commonBuiltins.append("bool sparseTexelsResidentARB(int code);\n");
 7576|     12|    }
 7577|    124|}
_ZN7glslang9TBuiltIns17addQueryFunctionsENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 7586|  13.9k|{
 7587|       |    //
 7588|       |    // textureSize() and imageSize()
 7589|       |    //
 7590|       |
 7591|  13.9k|    int sizeDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0) - (sampler.dim == EsdCube ? 1 : 0);
  ------------------
  |  Branch (7591:43): [True: 5.12k, False: 8.79k]
  |  Branch (7591:71): [True: 2.62k, False: 11.2k]
  ------------------
 7592|       |
 7593|  13.9k|    if (sampler.isImage() && ((profile == EEsProfile && version < 310) || (profile != EEsProfile && version < 420)))
  ------------------
  |  Branch (7593:9): [True: 4.51k, False: 9.40k]
  |  Branch (7593:32): [True: 0, False: 4.51k]
  |  Branch (7593:57): [True: 0, False: 0]
  |  Branch (7593:76): [True: 4.51k, False: 0]
  |  Branch (7593:101): [True: 3.66k, False: 847]
  ------------------
 7594|  3.66k|        return;
 7595|       |
 7596|  10.2k|    if (profile == EEsProfile)
  ------------------
  |  Branch (7596:9): [True: 0, False: 10.2k]
  ------------------
 7597|      0|        commonBuiltins.append("highp ");
 7598|  10.2k|    if (sizeDims == 1)
  ------------------
  |  Branch (7598:9): [True: 1.82k, False: 8.42k]
  ------------------
 7599|  1.82k|        commonBuiltins.append("int");
 7600|  8.42k|    else {
 7601|  8.42k|        commonBuiltins.append("ivec");
 7602|  8.42k|        commonBuiltins.append(postfixes[sizeDims]);
 7603|  8.42k|    }
 7604|  10.2k|    if (sampler.isImage())
  ------------------
  |  Branch (7604:9): [True: 847, False: 9.40k]
  ------------------
 7605|    847|        commonBuiltins.append(" imageSize(readonly writeonly volatile coherent nontemporal ");
 7606|  9.40k|    else
 7607|  9.40k|        commonBuiltins.append(" textureSize(");
 7608|  10.2k|    commonBuiltins.append(typeName);
 7609|  10.2k|    if (! sampler.isImage() && ! sampler.isRect() && ! sampler.isBuffer() && ! sampler.isMultiSample())
  ------------------
  |  Branch (7609:9): [True: 9.40k, False: 847]
  |  Branch (7609:32): [True: 8.49k, False: 904]
  |  Branch (7609:54): [True: 7.72k, False: 768]
  |  Branch (7609:78): [True: 6.19k, False: 1.53k]
  ------------------
 7610|  6.19k|        commonBuiltins.append(",int);\n");
 7611|  4.05k|    else
 7612|  4.05k|        commonBuiltins.append(");\n");
 7613|       |
 7614|       |    //
 7615|       |    // textureSamples() and imageSamples()
 7616|       |    //
 7617|       |
 7618|       |    // GL_ARB_shader_texture_image_samples
 7619|       |    // TODO: spec issue? there are no memory qualifiers; how to query a writeonly/readonly image, etc?
 7620|  10.2k|    if (profile != EEsProfile && version >= 430 && sampler.isMultiSample()) {
  ------------------
  |  Branch (7620:9): [True: 10.2k, False: 0]
  |  Branch (7620:34): [True: 2.01k, False: 8.23k]
  |  Branch (7620:52): [True: 336, False: 1.68k]
  ------------------
 7621|    336|        commonBuiltins.append("int ");
 7622|    336|        if (sampler.isImage())
  ------------------
  |  Branch (7622:13): [True: 144, False: 192]
  ------------------
 7623|    144|            commonBuiltins.append("imageSamples(readonly writeonly volatile coherent nontemporal ");
 7624|    192|        else
 7625|    192|            commonBuiltins.append("textureSamples(");
 7626|    336|        commonBuiltins.append(typeName);
 7627|    336|        commonBuiltins.append(");\n");
 7628|    336|    }
 7629|       |
 7630|       |    //
 7631|       |    // textureQueryLod()
 7632|       |    // Also enabled with extension GL_ARB_texture_query_lod
 7633|       |    // Extension GL_ARB_texture_query_lod says that textureQueryLOD() also exist at extension.
 7634|       |
 7635|  10.2k|    if (profile != EEsProfile && version >= 150 && sampler.isCombined() && sampler.dim != EsdRect &&
  ------------------
  |  Branch (7635:9): [True: 10.2k, False: 0]
  |  Branch (7635:34): [True: 2.43k, False: 7.81k]
  |  Branch (7635:52): [True: 896, False: 1.54k]
  |  Branch (7635:76): [True: 804, False: 92]
  ------------------
 7636|    804|        ! sampler.isMultiSample() && ! sampler.isBuffer()) {
  ------------------
  |  Branch (7636:9): [True: 678, False: 126]
  |  Branch (7636:38): [True: 615, False: 63]
  ------------------
 7637|       |
 7638|    615|        const TString funcName[2] = {"vec2 textureQueryLod(", "vec2 textureQueryLOD("};
 7639|       |
 7640|  1.84k|        for (int i = 0; i < 2; ++i){
  ------------------
  |  Branch (7640:25): [True: 1.23k, False: 615]
  ------------------
 7641|  3.69k|            for (int f16TexAddr = 0; f16TexAddr < 2; ++f16TexAddr) {
  ------------------
  |  Branch (7641:38): [True: 2.46k, False: 1.23k]
  ------------------
 7642|  2.46k|                if (f16TexAddr && sampler.type != EbtFloat16)
  ------------------
  |  Branch (7642:21): [True: 1.23k, False: 1.23k]
  |  Branch (7642:35): [True: 918, False: 312]
  ------------------
 7643|    918|                    continue;
 7644|  1.54k|                stageBuiltins[EShLangFragment].append(funcName[i]);
 7645|  1.54k|                stageBuiltins[EShLangFragment].append(typeName);
 7646|  1.54k|                if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (7646:21): [True: 464, False: 1.07k]
  ------------------
 7647|    464|                    if (f16TexAddr)
  ------------------
  |  Branch (7647:25): [True: 96, False: 368]
  ------------------
 7648|     96|                        stageBuiltins[EShLangFragment].append(", float16_t");
 7649|    368|                    else
 7650|    368|                        stageBuiltins[EShLangFragment].append(", float");
 7651|  1.07k|                else {
 7652|  1.07k|                    if (f16TexAddr)
  ------------------
  |  Branch (7652:25): [True: 216, False: 862]
  ------------------
 7653|    216|                        stageBuiltins[EShLangFragment].append(", f16vec");
 7654|    862|                    else
 7655|    862|                        stageBuiltins[EShLangFragment].append(", vec");
 7656|  1.07k|                    stageBuiltins[EShLangFragment].append(postfixes[dimMap[sampler.dim]]);
 7657|  1.07k|                }
 7658|  1.54k|                stageBuiltins[EShLangFragment].append(");\n");
 7659|  1.54k|            }
 7660|       |
 7661|  1.23k|            stageBuiltins[EShLangCompute].append(funcName[i]);
 7662|  1.23k|            stageBuiltins[EShLangCompute].append(typeName);
 7663|  1.23k|            if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (7663:17): [True: 368, False: 862]
  ------------------
 7664|    368|                stageBuiltins[EShLangCompute].append(", float");
 7665|    862|            else {
 7666|    862|                stageBuiltins[EShLangCompute].append(", vec");
 7667|    862|                stageBuiltins[EShLangCompute].append(postfixes[dimMap[sampler.dim]]);
 7668|    862|            }
 7669|  1.23k|            stageBuiltins[EShLangCompute].append(");\n");
 7670|       |
 7671|  1.23k|            stageBuiltins[EShLangTask].append(funcName[i]);
 7672|  1.23k|            stageBuiltins[EShLangTask].append(typeName);
 7673|  1.23k|            if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (7673:17): [True: 368, False: 862]
  ------------------
 7674|    368|                stageBuiltins[EShLangTask].append(", float");
 7675|    862|            else {
 7676|    862|                stageBuiltins[EShLangTask].append(", vec");
 7677|    862|                stageBuiltins[EShLangTask].append(postfixes[dimMap[sampler.dim]]);
 7678|    862|            }
 7679|  1.23k|            stageBuiltins[EShLangTask].append(");\n");
 7680|       |
 7681|  1.23k|            stageBuiltins[EShLangMesh].append(funcName[i]);
 7682|  1.23k|            stageBuiltins[EShLangMesh].append(typeName);
 7683|  1.23k|            if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (7683:17): [True: 368, False: 862]
  ------------------
 7684|    368|                stageBuiltins[EShLangMesh].append(", float");
 7685|    862|            else {
 7686|    862|                stageBuiltins[EShLangMesh].append(", vec");
 7687|    862|                stageBuiltins[EShLangMesh].append(postfixes[dimMap[sampler.dim]]);
 7688|    862|            }
 7689|  1.23k|            stageBuiltins[EShLangMesh].append(");\n");
 7690|  1.23k|        }
 7691|    615|    }
 7692|       |
 7693|       |    //
 7694|       |    // textureQueryLevels()
 7695|       |    //
 7696|       |
 7697|  10.2k|    if (profile != EEsProfile && version >= 430 && ! sampler.isImage() && sampler.dim != EsdRect &&
  ------------------
  |  Branch (7697:9): [True: 10.2k, False: 0]
  |  Branch (7697:34): [True: 2.01k, False: 8.23k]
  |  Branch (7697:52): [True: 1.22k, False: 792]
  |  Branch (7697:75): [True: 1.10k, False: 120]
  ------------------
 7698|  1.10k|        ! sampler.isMultiSample() && ! sampler.isBuffer()) {
  ------------------
  |  Branch (7698:9): [True: 912, False: 192]
  |  Branch (7698:38): [True: 816, False: 96]
  ------------------
 7699|    816|        commonBuiltins.append("int textureQueryLevels(");
 7700|    816|        commonBuiltins.append(typeName);
 7701|    816|        commonBuiltins.append(");\n");
 7702|    816|    }
 7703|  10.2k|}
_ZN7glslang9TBuiltIns17addImageFunctionsENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 7712|  4.51k|{
 7713|  4.51k|    int dims = dimMap[sampler.dim];
 7714|       |    // most things with an array add a dimension, except for cubemaps
 7715|  4.51k|    if (sampler.arrayed && sampler.dim != EsdCube)
  ------------------
  |  Branch (7715:9): [True: 1.64k, False: 2.87k]
  |  Branch (7715:28): [True: 1.23k, False: 410]
  ------------------
 7716|  1.23k|        ++dims;
 7717|       |
 7718|  4.51k|    TString imageParams = typeName;
 7719|  4.51k|    if (dims == 1)
  ------------------
  |  Branch (7719:9): [True: 820, False: 3.69k]
  ------------------
 7720|    820|        imageParams.append(", int");
 7721|  3.69k|    else {
 7722|  3.69k|        imageParams.append(", ivec");
 7723|  3.69k|        imageParams.append(postfixes[dims]);
 7724|  3.69k|    }
 7725|  4.51k|    if (sampler.isMultiSample())
  ------------------
  |  Branch (7725:9): [True: 820, False: 3.69k]
  ------------------
 7726|    820|        imageParams.append(", int");
 7727|       |
 7728|  4.51k|    if (profile == EEsProfile)
  ------------------
  |  Branch (7728:9): [True: 0, False: 4.51k]
  ------------------
 7729|      0|        commonBuiltins.append("highp ");
 7730|  4.51k|    commonBuiltins.append(prefixes[sampler.type]);
 7731|  4.51k|    commonBuiltins.append("vec4 imageLoad(readonly volatile coherent nontemporal ");
 7732|  4.51k|    commonBuiltins.append(imageParams);
 7733|  4.51k|    commonBuiltins.append(");\n");
 7734|       |
 7735|  4.51k|    commonBuiltins.append("void imageStore(writeonly volatile coherent nontemporal ");
 7736|  4.51k|    commonBuiltins.append(imageParams);
 7737|  4.51k|    commonBuiltins.append(", ");
 7738|  4.51k|    commonBuiltins.append(prefixes[sampler.type]);
 7739|  4.51k|    commonBuiltins.append("vec4);\n");
 7740|       |
 7741|  4.51k|    if (! sampler.is1D() && ! sampler.isBuffer() && profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (7741:9): [True: 3.69k, False: 820]
  |  Branch (7741:29): [True: 3.28k, False: 410]
  |  Branch (7741:53): [True: 3.28k, False: 0]
  |  Branch (7741:78): [True: 576, False: 2.70k]
  ------------------
 7742|    576|        commonBuiltins.append("int sparseImageLoadARB(readonly volatile coherent nontemporal ");
 7743|    576|        commonBuiltins.append(imageParams);
 7744|    576|        commonBuiltins.append(", out ");
 7745|    576|        commonBuiltins.append(prefixes[sampler.type]);
 7746|    576|        commonBuiltins.append("vec4");
 7747|    576|        commonBuiltins.append(");\n");
 7748|    576|    }
 7749|       |
 7750|  4.51k|    if ( profile != EEsProfile ||
  ------------------
  |  Branch (7750:10): [True: 4.51k, False: 0]
  ------------------
 7751|  4.51k|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7751:10): [True: 0, False: 0]
  |  Branch (7751:35): [True: 0, False: 0]
  ------------------
 7752|  4.51k|        if (sampler.type == EbtInt || sampler.type == EbtUint || sampler.type == EbtInt64 || sampler.type == EbtUint64 ) {
  ------------------
  |  Branch (7752:13): [True: 1.36k, False: 3.14k]
  |  Branch (7752:39): [True: 1.36k, False: 1.78k]
  |  Branch (7752:66): [True: 143, False: 1.63k]
  |  Branch (7752:94): [True: 143, False: 1.49k]
  ------------------
 7753|       |            
 7754|  3.01k|            const char* dataType;
 7755|  3.01k|            switch (sampler.type) {
 7756|  1.36k|                case(EbtInt): dataType = "highp int"; break;
  ------------------
  |  Branch (7756:17): [True: 1.36k, False: 1.65k]
  ------------------
 7757|  1.36k|                case(EbtUint): dataType = "highp uint"; break;
  ------------------
  |  Branch (7757:17): [True: 1.36k, False: 1.65k]
  ------------------
 7758|    143|                case(EbtInt64): dataType = "highp int64_t"; break;
  ------------------
  |  Branch (7758:17): [True: 143, False: 2.87k]
  ------------------
 7759|    143|                case(EbtUint64): dataType = "highp uint64_t"; break;
  ------------------
  |  Branch (7759:17): [True: 143, False: 2.87k]
  ------------------
 7760|      0|                default: dataType = "";
  ------------------
  |  Branch (7760:17): [True: 0, False: 3.01k]
  ------------------
 7761|  3.01k|            }
 7762|       |
 7763|  3.01k|            const int numBuiltins = 7;
 7764|       |
 7765|  3.01k|            static const char* atomicFunc[numBuiltins] = {
 7766|  3.01k|                " imageAtomicAdd(volatile coherent nontemporal ",
 7767|  3.01k|                " imageAtomicMin(volatile coherent nontemporal ",
 7768|  3.01k|                " imageAtomicMax(volatile coherent nontemporal ",
 7769|  3.01k|                " imageAtomicAnd(volatile coherent nontemporal ",
 7770|  3.01k|                " imageAtomicOr(volatile coherent nontemporal ",
 7771|  3.01k|                " imageAtomicXor(volatile coherent nontemporal ",
 7772|  3.01k|                " imageAtomicExchange(volatile coherent nontemporal "
 7773|  3.01k|            };
 7774|       |
 7775|       |            // Loop twice to add prototypes with/without scope/semantics
 7776|  9.04k|            for (int j = 0; j < 2; ++j) {
  ------------------
  |  Branch (7776:29): [True: 6.02k, False: 3.01k]
  ------------------
 7777|  48.2k|                for (size_t i = 0; i < numBuiltins; ++i) {
  ------------------
  |  Branch (7777:36): [True: 42.1k, False: 6.02k]
  ------------------
 7778|  42.1k|                    commonBuiltins.append(dataType);
 7779|  42.1k|                    commonBuiltins.append(atomicFunc[i]);
 7780|  42.1k|                    commonBuiltins.append(imageParams);
 7781|  42.1k|                    commonBuiltins.append(", ");
 7782|  42.1k|                    commonBuiltins.append(dataType);
 7783|  42.1k|                    if (j == 1) {
  ------------------
  |  Branch (7783:25): [True: 21.0k, False: 21.0k]
  ------------------
 7784|  21.0k|                        commonBuiltins.append(", int, int, int");
 7785|  21.0k|                    }
 7786|  42.1k|                    commonBuiltins.append(");\n");
 7787|  42.1k|                }
 7788|       |
 7789|  6.02k|                commonBuiltins.append(dataType);
 7790|  6.02k|                commonBuiltins.append(" imageAtomicCompSwap(volatile coherent nontemporal ");
 7791|  6.02k|                commonBuiltins.append(imageParams);
 7792|  6.02k|                commonBuiltins.append(", ");
 7793|  6.02k|                commonBuiltins.append(dataType);
 7794|  6.02k|                commonBuiltins.append(", ");
 7795|  6.02k|                commonBuiltins.append(dataType);
 7796|  6.02k|                if (j == 1) {
  ------------------
  |  Branch (7796:21): [True: 3.01k, False: 3.01k]
  ------------------
 7797|  3.01k|                    commonBuiltins.append(", int, int, int, int, int");
 7798|  3.01k|                }
 7799|  6.02k|                commonBuiltins.append(");\n");
 7800|  6.02k|            }
 7801|       |
 7802|  3.01k|            commonBuiltins.append(dataType);
 7803|  3.01k|            commonBuiltins.append(" imageAtomicLoad(volatile coherent nontemporal ");
 7804|  3.01k|            commonBuiltins.append(imageParams);
 7805|  3.01k|            commonBuiltins.append(", int, int, int);\n");
 7806|       |
 7807|  3.01k|            commonBuiltins.append("void imageAtomicStore(volatile coherent nontemporal ");
 7808|  3.01k|            commonBuiltins.append(imageParams);
 7809|  3.01k|            commonBuiltins.append(", ");
 7810|  3.01k|            commonBuiltins.append(dataType);
 7811|  3.01k|            commonBuiltins.append(", int, int, int);\n");
 7812|       |
 7813|  3.01k|        } else {
 7814|       |            // not int or uint
 7815|       |            // GL_ARB_ES3_1_compatibility
 7816|       |            // TODO: spec issue: are there restrictions on the kind of layout() that can be used?  what about dropping memory qualifiers?
 7817|  1.49k|            if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (7817:17): [True: 0, False: 1.49k]
  |  Branch (7817:42): [True: 0, False: 0]
  ------------------
 7818|      0|                commonBuiltins.append("float imageAtomicExchange(volatile coherent nontemporal ");
 7819|      0|                commonBuiltins.append(imageParams);
 7820|      0|                commonBuiltins.append(", float);\n");
 7821|      0|            }
 7822|       |
 7823|       |            // GL_NV_shader_atomic_fp16_vector
 7824|  1.49k|            if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (7824:17): [True: 1.49k, False: 0]
  |  Branch (7824:42): [True: 264, False: 1.23k]
  ------------------
 7825|    264|                const int numFp16Builtins = 4;
 7826|    264|                const char* atomicFp16Func[numFp16Builtins] = {
 7827|    264|                    " imageAtomicAdd(volatile coherent nontemporal ",
 7828|    264|                    " imageAtomicMin(volatile coherent nontemporal ",
 7829|    264|                    " imageAtomicMax(volatile coherent nontemporal ",
 7830|    264|                    " imageAtomicExchange(volatile coherent nontemporal "
 7831|    264|                };
 7832|    264|                const int numFp16DataTypes = 2;
 7833|    264|                const char* atomicFp16DataTypes[numFp16DataTypes] = {
 7834|    264|                    "f16vec2",
 7835|    264|                    "f16vec4"
 7836|    264|                };
 7837|       |                // Loop twice to add prototypes with/without scope/semantics
 7838|    792|                for (int j = 0; j < numFp16DataTypes; ++j) {
  ------------------
  |  Branch (7838:33): [True: 528, False: 264]
  ------------------
 7839|  2.64k|                    for (int i = 0; i < numFp16Builtins; ++i) {
  ------------------
  |  Branch (7839:37): [True: 2.11k, False: 528]
  ------------------
 7840|  2.11k|                        commonBuiltins.append(atomicFp16DataTypes[j]);
 7841|  2.11k|                        commonBuiltins.append(atomicFp16Func[i]);
 7842|  2.11k|                        commonBuiltins.append(imageParams);
 7843|  2.11k|                        commonBuiltins.append(", ");
 7844|  2.11k|                        commonBuiltins.append(atomicFp16DataTypes[j]);
 7845|  2.11k|                        commonBuiltins.append(");\n");
 7846|  2.11k|                    }
 7847|    528|                }
 7848|    264|            }
 7849|       |
 7850|  1.49k|            if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (7850:17): [True: 1.49k, False: 0]
  |  Branch (7850:42): [True: 264, False: 1.23k]
  ------------------
 7851|    264|                commonBuiltins.append("float imageAtomicAdd(volatile coherent nontemporal ");
 7852|    264|                commonBuiltins.append(imageParams);
 7853|    264|                commonBuiltins.append(", float);\n");
 7854|       |
 7855|    264|                commonBuiltins.append("float imageAtomicAdd(volatile coherent nontemporal ");
 7856|    264|                commonBuiltins.append(imageParams);
 7857|    264|                commonBuiltins.append(", float");
 7858|    264|                commonBuiltins.append(", int, int, int);\n");
 7859|       |
 7860|    264|                commonBuiltins.append("float imageAtomicExchange(volatile coherent nontemporal ");
 7861|    264|                commonBuiltins.append(imageParams);
 7862|    264|                commonBuiltins.append(", float);\n");
 7863|       |
 7864|    264|                commonBuiltins.append("float imageAtomicExchange(volatile coherent nontemporal ");
 7865|    264|                commonBuiltins.append(imageParams);
 7866|    264|                commonBuiltins.append(", float");
 7867|    264|                commonBuiltins.append(", int, int, int);\n");
 7868|       |
 7869|    264|                commonBuiltins.append("float imageAtomicLoad(readonly volatile coherent nontemporal ");
 7870|    264|                commonBuiltins.append(imageParams);
 7871|    264|                commonBuiltins.append(", int, int, int);\n");
 7872|       |
 7873|    264|                commonBuiltins.append("void imageAtomicStore(writeonly volatile coherent nontemporal ");
 7874|    264|                commonBuiltins.append(imageParams);
 7875|    264|                commonBuiltins.append(", float");
 7876|    264|                commonBuiltins.append(", int, int, int);\n");
 7877|       |
 7878|    264|                commonBuiltins.append("float imageAtomicMin(volatile coherent nontemporal ");
 7879|    264|                commonBuiltins.append(imageParams);
 7880|    264|                commonBuiltins.append(", float);\n");
 7881|       |
 7882|    264|                commonBuiltins.append("float imageAtomicMin(volatile coherent nontemporal ");
 7883|    264|                commonBuiltins.append(imageParams);
 7884|    264|                commonBuiltins.append(", float");
 7885|    264|                commonBuiltins.append(", int, int, int);\n");
 7886|       |
 7887|    264|                commonBuiltins.append("float imageAtomicMax(volatile coherent nontemporal ");
 7888|    264|                commonBuiltins.append(imageParams);
 7889|    264|                commonBuiltins.append(", float);\n");
 7890|       |
 7891|    264|                commonBuiltins.append("float imageAtomicMax(volatile coherent nontemporal ");
 7892|    264|                commonBuiltins.append(imageParams);
 7893|    264|                commonBuiltins.append(", float");
 7894|    264|                commonBuiltins.append(", int, int, int);\n");
 7895|    264|            }
 7896|  1.49k|        }
 7897|  4.51k|    }
 7898|       |
 7899|  4.51k|    if (sampler.dim == EsdRect || sampler.dim == EsdBuffer || sampler.shadow || sampler.isMultiSample())
  ------------------
  |  Branch (7899:9): [True: 410, False: 4.10k]
  |  Branch (7899:35): [True: 410, False: 3.69k]
  |  Branch (7899:63): [True: 0, False: 3.69k]
  |  Branch (7899:81): [True: 820, False: 2.87k]
  ------------------
 7900|  1.64k|        return;
 7901|       |
 7902|  2.87k|    if (profile == EEsProfile || version < 450)
  ------------------
  |  Branch (7902:9): [True: 0, False: 2.87k]
  |  Branch (7902:34): [True: 2.36k, False: 504]
  ------------------
 7903|  2.36k|        return;
 7904|       |
 7905|    504|    TString imageLodParams = typeName;
 7906|    504|    if (dims == 1)
  ------------------
  |  Branch (7906:9): [True: 72, False: 432]
  ------------------
 7907|     72|        imageLodParams.append(", int");
 7908|    432|    else {
 7909|    432|        imageLodParams.append(", ivec");
 7910|    432|        imageLodParams.append(postfixes[dims]);
 7911|    432|    }
 7912|    504|    imageLodParams.append(", int");
 7913|       |
 7914|    504|    commonBuiltins.append(prefixes[sampler.type]);
 7915|    504|    commonBuiltins.append("vec4 imageLoadLodAMD(readonly volatile coherent nontemporal ");
 7916|    504|    commonBuiltins.append(imageLodParams);
 7917|    504|    commonBuiltins.append(");\n");
 7918|       |
 7919|    504|    commonBuiltins.append("void imageStoreLodAMD(writeonly volatile coherent nontemporal ");
 7920|    504|    commonBuiltins.append(imageLodParams);
 7921|    504|    commonBuiltins.append(", ");
 7922|    504|    commonBuiltins.append(prefixes[sampler.type]);
 7923|    504|    commonBuiltins.append("vec4);\n");
 7924|       |
 7925|    504|    if (! sampler.is1D()) {
  ------------------
  |  Branch (7925:9): [True: 360, False: 144]
  ------------------
 7926|    360|        commonBuiltins.append("int sparseImageLoadLodAMD(readonly volatile coherent nontemporal ");
 7927|    360|        commonBuiltins.append(imageLodParams);
 7928|    360|        commonBuiltins.append(", out ");
 7929|    360|        commonBuiltins.append(prefixes[sampler.type]);
 7930|    360|        commonBuiltins.append("vec4");
 7931|    360|        commonBuiltins.append(");\n");
 7932|    360|    }
 7933|    504|}
_ZN7glslang9TBuiltIns18addSubpassSamplingENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 7942|    768|{
 7943|    768|    stageBuiltins[EShLangFragment].append(prefixes[sampler.type]);
 7944|    768|    stageBuiltins[EShLangFragment].append("vec4 subpassLoad");
 7945|    768|    stageBuiltins[EShLangFragment].append("(");
 7946|    768|    stageBuiltins[EShLangFragment].append(typeName.c_str());
 7947|    768|    if (sampler.isMultiSample())
  ------------------
  |  Branch (7947:9): [True: 384, False: 384]
  ------------------
 7948|    384|        stageBuiltins[EShLangFragment].append(", int");
 7949|    768|    stageBuiltins[EShLangFragment].append(");\n");
 7950|    768|}
_ZN7glslang9TBuiltIns20addSamplingFunctionsENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 7959|  9.40k|{
 7960|       |    //
 7961|       |    // texturing
 7962|       |    //
 7963|  28.2k|    for (int proj = 0; proj <= 1; ++proj) { // loop over "bool" projective or not
  ------------------
  |  Branch (7963:24): [True: 18.8k, False: 9.40k]
  ------------------
 7964|       |
 7965|  18.8k|        if (proj && (sampler.dim == EsdCube || sampler.isBuffer() || sampler.arrayed || sampler.isMultiSample()
  ------------------
  |  Branch (7965:13): [True: 9.40k, False: 9.40k]
  |  Branch (7965:22): [True: 1.80k, False: 7.59k]
  |  Branch (7965:48): [True: 768, False: 6.82k]
  |  Branch (7965:70): [True: 2.57k, False: 4.24k]
  |  Branch (7965:89): [True: 768, False: 3.48k]
  ------------------
 7966|  3.48k|            || !sampler.isCombined()))
  ------------------
  |  Branch (7966:16): [True: 1.53k, False: 1.94k]
  ------------------
 7967|  7.45k|            continue;
 7968|       |
 7969|  34.0k|        for (int lod = 0; lod <= 1; ++lod) {
  ------------------
  |  Branch (7969:27): [True: 22.6k, False: 11.3k]
  ------------------
 7970|       |
 7971|  22.6k|            if (lod && (sampler.isBuffer() || sampler.isRect() || sampler.isMultiSample() || !sampler.isCombined()))
  ------------------
  |  Branch (7971:17): [True: 11.3k, False: 11.3k]
  |  Branch (7971:25): [True: 768, False: 10.5k]
  |  Branch (7971:47): [True: 1.42k, False: 9.15k]
  |  Branch (7971:67): [True: 1.53k, False: 7.61k]
  |  Branch (7971:94): [True: 2.68k, False: 4.92k]
  ------------------
 7972|  6.41k|                continue;
 7973|  16.2k|            if (lod && sampler.dim == Esd2D && sampler.arrayed && sampler.shadow)
  ------------------
  |  Branch (7973:17): [True: 4.92k, False: 11.3k]
  |  Branch (7973:24): [True: 1.56k, False: 3.36k]
  |  Branch (7973:48): [True: 520, False: 1.04k]
  |  Branch (7973:67): [True: 136, False: 384]
  ------------------
 7974|    136|                continue;
 7975|  16.1k|            if (lod && sampler.dim == EsdCube && sampler.shadow)
  ------------------
  |  Branch (7975:17): [True: 4.79k, False: 11.3k]
  |  Branch (7975:24): [True: 1.04k, False: 3.75k]
  |  Branch (7975:50): [True: 272, False: 768]
  ------------------
 7976|    272|                continue;
 7977|       |
 7978|  47.5k|            for (int bias = 0; bias <= 1; ++bias) {
  ------------------
  |  Branch (7978:32): [True: 31.7k, False: 15.8k]
  ------------------
 7979|       |
 7980|  31.7k|                if (bias && (lod || sampler.isMultiSample() || !sampler.isCombined()))
  ------------------
  |  Branch (7980:21): [True: 15.8k, False: 15.8k]
  |  Branch (7980:30): [True: 4.52k, False: 11.3k]
  |  Branch (7980:37): [True: 1.53k, False: 9.80k]
  |  Branch (7980:64): [True: 3.45k, False: 6.35k]
  ------------------
 7981|  9.51k|                    continue;
 7982|  22.2k|                if (bias && (sampler.dim == Esd2D || sampler.dim == EsdCube) && sampler.shadow && sampler.arrayed)
  ------------------
  |  Branch (7982:21): [True: 6.35k, False: 15.8k]
  |  Branch (7982:30): [True: 1.56k, False: 4.79k]
  |  Branch (7982:54): [True: 1.04k, False: 3.75k]
  |  Branch (7982:81): [True: 680, False: 1.92k]
  |  Branch (7982:99): [True: 272, False: 408]
  ------------------
 7983|    272|                    continue;
 7984|  21.9k|                if (bias && (sampler.isRect() || sampler.isBuffer()))
  ------------------
  |  Branch (7984:21): [True: 6.08k, False: 15.8k]
  |  Branch (7984:30): [True: 1.04k, False: 5.04k]
  |  Branch (7984:50): [True: 384, False: 4.65k]
  ------------------
 7985|  1.42k|                    continue;
 7986|       |
 7987|  61.5k|                for (int offset = 0; offset <= 1; ++offset) { // loop over "bool" offset or not
  ------------------
  |  Branch (7987:38): [True: 41.0k, False: 20.5k]
  ------------------
 7988|       |
 7989|  41.0k|                    if (proj + offset + bias + lod > 3)
  ------------------
  |  Branch (7989:25): [True: 0, False: 41.0k]
  ------------------
 7990|      0|                        continue;
 7991|  41.0k|                    if (offset && (sampler.dim == EsdCube || sampler.isBuffer() || sampler.isMultiSample()))
  ------------------
  |  Branch (7991:25): [True: 20.5k, False: 20.5k]
  |  Branch (7991:36): [True: 3.48k, False: 17.0k]
  |  Branch (7991:62): [True: 768, False: 16.2k]
  |  Branch (7991:84): [True: 1.53k, False: 14.7k]
  ------------------
 7992|  5.78k|                        continue;
 7993|       |
 7994|   105k|                    for (int fetch = 0; fetch <= 1; ++fetch) { // loop over "bool" fetch or not
  ------------------
  |  Branch (7994:41): [True: 70.5k, False: 35.2k]
  ------------------
 7995|       |
 7996|  70.5k|                        if (proj + offset + fetch + bias + lod > 3)
  ------------------
  |  Branch (7996:29): [True: 2.84k, False: 67.6k]
  ------------------
 7997|  2.84k|                            continue;
 7998|  67.6k|                        if (fetch && (lod || bias))
  ------------------
  |  Branch (7998:29): [True: 32.4k, False: 35.2k]
  |  Branch (7998:39): [True: 6.84k, False: 25.5k]
  |  Branch (7998:46): [True: 6.98k, False: 18.5k]
  ------------------
 7999|  13.8k|                            continue;
 8000|  53.8k|                        if (fetch && (sampler.shadow || sampler.dim == EsdCube))
  ------------------
  |  Branch (8000:29): [True: 18.5k, False: 35.2k]
  |  Branch (8000:39): [True: 2.44k, False: 16.1k]
  |  Branch (8000:57): [True: 1.53k, False: 14.5k]
  ------------------
 8001|  3.98k|                            continue;
 8002|  49.8k|                        if (fetch == 0 && (sampler.isMultiSample() || sampler.isBuffer()
  ------------------
  |  Branch (8002:29): [True: 35.2k, False: 14.5k]
  |  Branch (8002:44): [True: 1.53k, False: 33.7k]
  |  Branch (8002:71): [True: 768, False: 32.9k]
  ------------------
 8003|  32.9k|                            || !sampler.isCombined()))
  ------------------
  |  Branch (8003:32): [True: 5.37k, False: 27.5k]
  ------------------
 8004|  7.68k|                            continue;
 8005|       |
 8006|   126k|                        for (int grad = 0; grad <= 1; ++grad) { // loop over "bool" grad or not
  ------------------
  |  Branch (8006:44): [True: 84.3k, False: 42.1k]
  ------------------
 8007|       |
 8008|  84.3k|                            if (grad && (lod || bias || sampler.isMultiSample() || !sampler.isCombined()))
  ------------------
  |  Branch (8008:33): [True: 42.1k, False: 42.1k]
  |  Branch (8008:42): [True: 8.27k, False: 33.8k]
  |  Branch (8008:49): [True: 8.40k, False: 25.4k]
  |  Branch (8008:57): [True: 1.53k, False: 23.9k]
  |  Branch (8008:84): [True: 4.99k, False: 18.9k]
  ------------------
 8009|  23.2k|                                continue;
 8010|  61.1k|                            if (grad && sampler.isBuffer())
  ------------------
  |  Branch (8010:33): [True: 18.9k, False: 42.1k]
  |  Branch (8010:41): [True: 384, False: 18.5k]
  ------------------
 8011|    384|                                continue;
 8012|  60.7k|                            if (proj + offset + fetch + grad + bias + lod > 3)
  ------------------
  |  Branch (8012:33): [True: 1.53k, False: 59.2k]
  ------------------
 8013|  1.53k|                                continue;
 8014|       |
 8015|   177k|                            for (int extraProj = 0; extraProj <= 1; ++extraProj) {
  ------------------
  |  Branch (8015:53): [True: 118k, False: 59.2k]
  ------------------
 8016|   118k|                                bool compare = false;
 8017|   118k|                                int totalDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0);
  ------------------
  |  Branch (8017:72): [True: 29.9k, False: 88.4k]
  ------------------
 8018|       |                                // skip dummy unused second component for 1D non-array shadows
 8019|   118k|                                if (sampler.shadow && totalDims < 2)
  ------------------
  |  Branch (8019:37): [True: 15.5k, False: 102k]
  |  Branch (8019:55): [True: 4.35k, False: 11.1k]
  ------------------
 8020|  4.35k|                                    totalDims = 2;
 8021|   118k|                                totalDims += (sampler.shadow ? 1 : 0) + proj;
  ------------------
  |  Branch (8021:47): [True: 15.5k, False: 102k]
  ------------------
 8022|   118k|                                if (totalDims > 4 && sampler.shadow) {
  ------------------
  |  Branch (8022:37): [True: 544, False: 117k]
  |  Branch (8022:54): [True: 544, False: 0]
  ------------------
 8023|    544|                                    compare = true;
 8024|    544|                                    totalDims = 4;
 8025|    544|                                }
 8026|   118k|                                assert(totalDims <= 4);
 8027|       |
 8028|   118k|                                if (extraProj && ! proj)
  ------------------
  |  Branch (8028:37): [True: 59.2k, False: 59.2k]
  |  Branch (8028:50): [True: 41.1k, False: 18.0k]
  ------------------
 8029|  41.1k|                                    continue;
 8030|  77.2k|                                if (extraProj && (sampler.dim == Esd3D || sampler.shadow || !sampler.isCombined()))
  ------------------
  |  Branch (8030:37): [True: 18.0k, False: 59.2k]
  |  Branch (8030:51): [True: 4.22k, False: 13.8k]
  |  Branch (8030:75): [True: 2.72k, False: 11.1k]
  |  Branch (8030:93): [True: 0, False: 11.1k]
  ------------------
 8031|  6.94k|                                    continue;
 8032|       |
 8033|       |                                // loop over 16-bit floating-point texel addressing
 8034|   211k|                                for (int f16TexAddr = 0; f16TexAddr <= 1; ++f16TexAddr)
  ------------------
  |  Branch (8034:58): [True: 140k, False: 70.3k]
  ------------------
 8035|   140k|                                {
 8036|   140k|                                    if (f16TexAddr && sampler.type != EbtFloat16)
  ------------------
  |  Branch (8036:41): [True: 70.3k, False: 70.3k]
  |  Branch (8036:55): [True: 67.7k, False: 2.64k]
  ------------------
 8037|  67.7k|                                        continue;
 8038|  72.9k|                                    if (f16TexAddr && sampler.shadow && ! compare) {
  ------------------
  |  Branch (8038:41): [True: 2.64k, False: 70.3k]
  |  Branch (8038:55): [True: 684, False: 1.95k]
  |  Branch (8038:73): [True: 660, False: 24]
  ------------------
 8039|    660|                                        compare = true; // compare argument is always present
 8040|    660|                                        totalDims--;
 8041|    660|                                    }
 8042|       |                                    // loop over "bool" lod clamp
 8043|   218k|                                    for (int lodClamp = 0; lodClamp <= 1 ;++lodClamp)
  ------------------
  |  Branch (8043:60): [True: 145k, False: 72.9k]
  ------------------
 8044|   145k|                                    {
 8045|   145k|                                        if (lodClamp && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (8045:45): [True: 72.9k, False: 72.9k]
  |  Branch (8045:58): [True: 0, False: 72.9k]
  |  Branch (8045:83): [True: 61.1k, False: 11.8k]
  ------------------
 8046|  61.1k|                                            continue;
 8047|  84.8k|                                        if (lodClamp && (proj || lod || fetch))
  ------------------
  |  Branch (8047:45): [True: 11.8k, False: 72.9k]
  |  Branch (8047:58): [True: 4.86k, False: 6.97k]
  |  Branch (8047:66): [True: 936, False: 6.03k]
  |  Branch (8047:73): [True: 2.52k, False: 3.51k]
  ------------------
 8048|  8.31k|                                            continue;
 8049|       |
 8050|       |                                        // loop over "bool" sparse or not
 8051|   229k|                                        for (int sparse = 0; sparse <= 1; ++sparse)
  ------------------
  |  Branch (8051:62): [True: 153k, False: 76.5k]
  ------------------
 8052|   153k|                                        {
 8053|   153k|                                            if (sparse && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (8053:49): [True: 76.5k, False: 76.5k]
  |  Branch (8053:60): [True: 0, False: 76.5k]
  |  Branch (8053:85): [True: 61.1k, False: 15.3k]
  ------------------
 8054|  61.1k|                                                continue;
 8055|       |                                            // Sparse sampling is not for 1D/1D array texture, buffer texture, and
 8056|       |                                            // projective texture
 8057|  91.8k|                                            if (sparse && (sampler.is1D() || sampler.isBuffer() || proj))
  ------------------
  |  Branch (8057:49): [True: 15.3k, False: 76.5k]
  |  Branch (8057:60): [True: 5.01k, False: 10.3k]
  |  Branch (8057:78): [True: 120, False: 10.2k]
  |  Branch (8057:100): [True: 3.25k, False: 6.96k]
  ------------------
 8058|  8.38k|                                                continue;
 8059|       |
 8060|  83.4k|                                            TString s;
 8061|       |
 8062|       |                                            // return type
 8063|  83.4k|                                            if (sparse)
  ------------------
  |  Branch (8063:49): [True: 6.96k, False: 76.5k]
  ------------------
 8064|  6.96k|                                                s.append("int ");
 8065|  76.5k|                                            else {
 8066|  76.5k|                                                if (sampler.shadow)
  ------------------
  |  Branch (8066:53): [True: 9.55k, False: 66.9k]
  ------------------
 8067|  9.55k|                                                    if (sampler.type == EbtFloat16)
  ------------------
  |  Branch (8067:57): [True: 2.11k, False: 7.44k]
  ------------------
 8068|  2.11k|                                                        s.append("float16_t ");
 8069|  7.44k|                                                    else
 8070|  7.44k|                                                        s.append("float ");
 8071|  66.9k|                                                else {
 8072|  66.9k|                                                    s.append(prefixes[sampler.type]);
 8073|  66.9k|                                                    s.append("vec4 ");
 8074|  66.9k|                                                }
 8075|  76.5k|                                            }
 8076|       |
 8077|       |                                            // name
 8078|  83.4k|                                            if (sparse) {
  ------------------
  |  Branch (8078:49): [True: 6.96k, False: 76.5k]
  ------------------
 8079|  6.96k|                                                if (fetch)
  ------------------
  |  Branch (8079:53): [True: 1.68k, False: 5.28k]
  ------------------
 8080|  1.68k|                                                    s.append("sparseTexel");
 8081|  5.28k|                                                else
 8082|  5.28k|                                                    s.append("sparseTexture");
 8083|  6.96k|                                            }
 8084|  76.5k|                                            else {
 8085|  76.5k|                                                if (fetch)
  ------------------
  |  Branch (8085:53): [True: 24.9k, False: 51.5k]
  ------------------
 8086|  24.9k|                                                    s.append("texel");
 8087|  51.5k|                                                else
 8088|  51.5k|                                                    s.append("texture");
 8089|  76.5k|                                            }
 8090|  83.4k|                                            if (proj)
  ------------------
  |  Branch (8090:49): [True: 30.2k, False: 53.1k]
  ------------------
 8091|  30.2k|                                                s.append("Proj");
 8092|  83.4k|                                            if (lod)
  ------------------
  |  Branch (8092:49): [True: 10.7k, False: 72.7k]
  ------------------
 8093|  10.7k|                                                s.append("Lod");
 8094|  83.4k|                                            if (grad)
  ------------------
  |  Branch (8094:49): [True: 24.8k, False: 58.6k]
  ------------------
 8095|  24.8k|                                                s.append("Grad");
 8096|  83.4k|                                            if (fetch)
  ------------------
  |  Branch (8096:49): [True: 26.6k, False: 56.8k]
  ------------------
 8097|  26.6k|                                                s.append("Fetch");
 8098|  83.4k|                                            if (offset)
  ------------------
  |  Branch (8098:49): [True: 36.2k, False: 47.2k]
  ------------------
 8099|  36.2k|                                                s.append("Offset");
 8100|  83.4k|                                            if (lodClamp)
  ------------------
  |  Branch (8100:49): [True: 5.88k, False: 77.5k]
  ------------------
 8101|  5.88k|                                                s.append("Clamp");
 8102|  83.4k|                                            if (lodClamp != 0 || sparse)
  ------------------
  |  Branch (8102:49): [True: 5.88k, False: 77.5k]
  |  Branch (8102:66): [True: 4.59k, False: 72.9k]
  ------------------
 8103|  10.4k|                                                s.append("ARB");
 8104|  83.4k|                                            s.append("(");
 8105|       |
 8106|       |                                            // sampler type
 8107|  83.4k|                                            s.append(typeName);
 8108|       |                                            // P coordinate
 8109|  83.4k|                                            if (extraProj) {
  ------------------
  |  Branch (8109:49): [True: 11.4k, False: 71.9k]
  ------------------
 8110|  11.4k|                                                if (f16TexAddr)
  ------------------
  |  Branch (8110:53): [True: 348, False: 11.1k]
  ------------------
 8111|    348|                                                    s.append(",f16vec4");
 8112|  11.1k|                                                else
 8113|  11.1k|                                                    s.append(",vec4");
 8114|  71.9k|                                            } else {
 8115|  71.9k|                                                s.append(",");
 8116|  71.9k|                                                TBasicType t = fetch ? EbtInt : (f16TexAddr ? EbtFloat16 : EbtFloat);
  ------------------
  |  Branch (8116:64): [True: 23.0k, False: 48.9k]
  |  Branch (8116:82): [True: 3.74k, False: 45.1k]
  ------------------
 8117|  71.9k|                                                if (totalDims == 1)
  ------------------
  |  Branch (8117:53): [True: 6.69k, False: 65.2k]
  ------------------
 8118|  6.69k|                                                    s.append(TType::getBasicString(t));
 8119|  65.2k|                                                else {
 8120|  65.2k|                                                    s.append(prefixes[t]);
 8121|  65.2k|                                                    s.append("vec");
 8122|  65.2k|                                                    s.append(postfixes[totalDims]);
 8123|  65.2k|                                                }
 8124|  71.9k|                                            }
 8125|       |                                            // non-optional compare
 8126|  83.4k|                                            if (compare)
  ------------------
  |  Branch (8126:49): [True: 1.95k, False: 81.5k]
  ------------------
 8127|  1.95k|                                                s.append(",float");
 8128|       |
 8129|       |                                            // non-optional lod argument (lod that's not driven by lod loop) or sample
 8130|  83.4k|                                            if ((fetch && !sampler.isBuffer() &&
  ------------------
  |  Branch (8130:50): [True: 26.6k, False: 56.8k]
  |  Branch (8130:59): [True: 25.8k, False: 792]
  ------------------
 8131|  25.8k|                                                 !sampler.isRect() && !sampler.isMultiSample())
  ------------------
  |  Branch (8131:50): [True: 20.7k, False: 5.11k]
  |  Branch (8131:71): [True: 18.9k, False: 1.82k]
  ------------------
 8132|  64.5k|                                                 || (sampler.isMultiSample() && fetch))
  ------------------
  |  Branch (8132:54): [True: 1.82k, False: 62.7k]
  |  Branch (8132:81): [True: 1.82k, False: 0]
  ------------------
 8133|  20.7k|                                                s.append(",int");
 8134|       |                                            // non-optional lod
 8135|  83.4k|                                            if (lod) {
  ------------------
  |  Branch (8135:49): [True: 10.7k, False: 72.7k]
  ------------------
 8136|  10.7k|                                                if (f16TexAddr)
  ------------------
  |  Branch (8136:53): [True: 504, False: 10.2k]
  ------------------
 8137|    504|                                                    s.append(",float16_t");
 8138|  10.2k|                                                else
 8139|  10.2k|                                                    s.append(",float");
 8140|  10.7k|                                            }
 8141|       |
 8142|       |                                            // gradient arguments
 8143|  83.4k|                                            if (grad) {
  ------------------
  |  Branch (8143:49): [True: 24.8k, False: 58.6k]
  ------------------
 8144|  24.8k|                                                if (dimMap[sampler.dim] == 1) {
  ------------------
  |  Branch (8144:53): [True: 6.81k, False: 17.9k]
  ------------------
 8145|  6.81k|                                                    if (f16TexAddr)
  ------------------
  |  Branch (8145:57): [True: 336, False: 6.48k]
  ------------------
 8146|    336|                                                        s.append(",float16_t,float16_t");
 8147|  6.48k|                                                    else
 8148|  6.48k|                                                        s.append(",float,float");
 8149|  17.9k|                                                } else {
 8150|  17.9k|                                                    if (f16TexAddr)
  ------------------
  |  Branch (8150:57): [True: 1.28k, False: 16.7k]
  ------------------
 8151|  1.28k|                                                        s.append(",f16vec");
 8152|  16.7k|                                                    else
 8153|  16.7k|                                                        s.append(",vec");
 8154|  17.9k|                                                    s.append(postfixes[dimMap[sampler.dim]]);
 8155|  17.9k|                                                    if (f16TexAddr)
  ------------------
  |  Branch (8155:57): [True: 1.28k, False: 16.7k]
  ------------------
 8156|  1.28k|                                                        s.append(",f16vec");
 8157|  16.7k|                                                    else
 8158|  16.7k|                                                        s.append(",vec");
 8159|  17.9k|                                                    s.append(postfixes[dimMap[sampler.dim]]);
 8160|  17.9k|                                                }
 8161|  24.8k|                                            }
 8162|       |                                            // offset
 8163|  83.4k|                                            if (offset) {
  ------------------
  |  Branch (8163:49): [True: 36.2k, False: 47.2k]
  ------------------
 8164|  36.2k|                                                if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (8164:53): [True: 11.8k, False: 24.3k]
  ------------------
 8165|  11.8k|                                                    s.append(",int");
 8166|  24.3k|                                                else {
 8167|  24.3k|                                                    s.append(",ivec");
 8168|  24.3k|                                                    s.append(postfixes[dimMap[sampler.dim]]);
 8169|  24.3k|                                                }
 8170|  36.2k|                                            }
 8171|       |
 8172|       |                                            // lod clamp
 8173|  83.4k|                                            if (lodClamp) {
  ------------------
  |  Branch (8173:49): [True: 5.88k, False: 77.5k]
  ------------------
 8174|  5.88k|                                                if (f16TexAddr)
  ------------------
  |  Branch (8174:53): [True: 1.41k, False: 4.46k]
  ------------------
 8175|  1.41k|                                                    s.append(",float16_t");
 8176|  4.46k|                                                else
 8177|  4.46k|                                                    s.append(",float");
 8178|  5.88k|                                            }
 8179|       |                                            // texel out (for sparse texture)
 8180|  83.4k|                                            if (sparse) {
  ------------------
  |  Branch (8180:49): [True: 6.96k, False: 76.5k]
  ------------------
 8181|  6.96k|                                                s.append(",out ");
 8182|  6.96k|                                                if (sampler.shadow)
  ------------------
  |  Branch (8182:53): [True: 1.44k, False: 5.52k]
  ------------------
 8183|  1.44k|                                                    if (sampler.type == EbtFloat16)
  ------------------
  |  Branch (8183:57): [True: 960, False: 480]
  ------------------
 8184|    960|                                                        s.append("float16_t");
 8185|    480|                                                    else
 8186|    480|                                                        s.append("float");
 8187|  5.52k|                                                else {
 8188|  5.52k|                                                    s.append(prefixes[sampler.type]);
 8189|  5.52k|                                                    s.append("vec4");
 8190|  5.52k|                                                }
 8191|  6.96k|                                            }
 8192|       |                                            // optional bias
 8193|  83.4k|                                            if (bias) {
  ------------------
  |  Branch (8193:49): [True: 12.4k, False: 70.9k]
  ------------------
 8194|  12.4k|                                                if (f16TexAddr)
  ------------------
  |  Branch (8194:53): [True: 888, False: 11.6k]
  ------------------
 8195|    888|                                                    s.append(",float16_t");
 8196|  11.6k|                                                else
 8197|  11.6k|                                                    s.append(",float");
 8198|  12.4k|                                            }
 8199|  83.4k|                                            s.append(");\n");
 8200|       |
 8201|       |                                            // Add to the per-language set of built-ins
 8202|  83.4k|                                            if (!grad && (bias || lodClamp != 0)) {
  ------------------
  |  Branch (8202:49): [True: 58.6k, False: 24.8k]
  |  Branch (8202:59): [True: 12.4k, False: 46.1k]
  |  Branch (8202:67): [True: 2.16k, False: 44.0k]
  ------------------
 8203|  14.6k|                                                stageBuiltins[EShLangFragment].append(s);
 8204|  14.6k|                                                stageBuiltins[EShLangCompute].append(s);
 8205|  14.6k|                                            } else
 8206|  68.8k|                                                commonBuiltins.append(s);
 8207|       |
 8208|  83.4k|                                        }
 8209|  76.5k|                                    }
 8210|  72.9k|                                }
 8211|  70.3k|                            }
 8212|  59.2k|                        }
 8213|  42.1k|                    }
 8214|  35.2k|                }
 8215|  20.5k|            }
 8216|  15.8k|        }
 8217|  11.3k|    }
 8218|  9.40k|}
_ZN7glslang9TBuiltIns18addGatherFunctionsENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 8227|  5.17k|{
 8228|  5.17k|    switch (sampler.dim) {
 8229|  1.80k|    case Esd2D:
  ------------------
  |  Branch (8229:5): [True: 1.80k, False: 3.36k]
  ------------------
 8230|  2.32k|    case EsdRect:
  ------------------
  |  Branch (8230:5): [True: 520, False: 4.65k]
  ------------------
 8231|  3.36k|    case EsdCube:
  ------------------
  |  Branch (8231:5): [True: 1.04k, False: 4.13k]
  ------------------
 8232|  3.36k|        break;
 8233|  1.80k|    default:
  ------------------
  |  Branch (8233:5): [True: 1.80k, False: 3.36k]
  ------------------
 8234|  1.80k|        return;
 8235|  5.17k|    }
 8236|       |
 8237|  3.36k|    if (sampler.isMultiSample())
  ------------------
  |  Branch (8237:9): [True: 768, False: 2.60k]
  ------------------
 8238|    768|        return;
 8239|       |
 8240|  2.60k|    if (version < 140 && sampler.dim == EsdRect && sampler.type != EbtFloat)
  ------------------
  |  Branch (8240:9): [True: 0, False: 2.60k]
  |  Branch (8240:26): [True: 0, False: 0]
  |  Branch (8240:52): [True: 0, False: 0]
  ------------------
 8241|      0|        return;
 8242|       |
 8243|  7.80k|    for (int f16TexAddr = 0; f16TexAddr <= 1; ++f16TexAddr) { // loop over 16-bit floating-point texel addressing
  ------------------
  |  Branch (8243:30): [True: 5.20k, False: 2.60k]
  ------------------
 8244|       |
 8245|  5.20k|        if (f16TexAddr && sampler.type != EbtFloat16)
  ------------------
  |  Branch (8245:13): [True: 2.60k, False: 2.60k]
  |  Branch (8245:27): [True: 2.48k, False: 120]
  ------------------
 8246|  2.48k|            continue;
 8247|  10.8k|        for (int offset = 0; offset < 3; ++offset) { // loop over three forms of offset in the call name:  none, Offset, and Offsets
  ------------------
  |  Branch (8247:30): [True: 8.16k, False: 2.72k]
  ------------------
 8248|       |
 8249|  24.4k|            for (int comp = 0; comp < 2; ++comp) { // loop over presence of comp argument
  ------------------
  |  Branch (8249:32): [True: 16.3k, False: 8.16k]
  ------------------
 8250|       |
 8251|  16.3k|                if (comp > 0 && sampler.shadow)
  ------------------
  |  Branch (8251:21): [True: 8.16k, False: 8.16k]
  |  Branch (8251:33): [True: 2.22k, False: 5.94k]
  ------------------
 8252|  2.22k|                    continue;
 8253|       |
 8254|  14.1k|                if (offset > 0 && sampler.dim == EsdCube)
  ------------------
  |  Branch (8254:21): [True: 9.40k, False: 4.70k]
  |  Branch (8254:35): [True: 3.76k, False: 5.64k]
  ------------------
 8255|  3.76k|                    continue;
 8256|       |
 8257|  31.0k|                for (int sparse = 0; sparse <= 1; ++sparse) { // loop over "bool" sparse or not
  ------------------
  |  Branch (8257:38): [True: 20.6k, False: 10.3k]
  ------------------
 8258|  20.6k|                    if (sparse && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (8258:25): [True: 10.3k, False: 10.3k]
  |  Branch (8258:36): [True: 0, False: 10.3k]
  |  Branch (8258:61): [True: 8.62k, False: 1.71k]
  ------------------
 8259|  8.62k|                        continue;
 8260|       |
 8261|  12.0k|                    TString s;
 8262|       |
 8263|       |                    // return type
 8264|  12.0k|                    if (sparse)
  ------------------
  |  Branch (8264:25): [True: 1.71k, False: 10.3k]
  ------------------
 8265|  1.71k|                        s.append("int ");
 8266|  10.3k|                    else {
 8267|  10.3k|                        s.append(prefixes[sampler.type]);
 8268|  10.3k|                        s.append("vec4 ");
 8269|  10.3k|                    }
 8270|       |
 8271|       |                    // name
 8272|  12.0k|                    if (sparse)
  ------------------
  |  Branch (8272:25): [True: 1.71k, False: 10.3k]
  ------------------
 8273|  1.71k|                        s.append("sparseTextureGather");
 8274|  10.3k|                    else
 8275|  10.3k|                        s.append("textureGather");
 8276|  12.0k|                    switch (offset) {
 8277|  3.28k|                    case 1:
  ------------------
  |  Branch (8277:21): [True: 3.28k, False: 8.76k]
  ------------------
 8278|  3.28k|                        s.append("Offset");
 8279|  3.28k|                        break;
 8280|  3.28k|                    case 2:
  ------------------
  |  Branch (8280:21): [True: 3.28k, False: 8.76k]
  ------------------
 8281|  3.28k|                        s.append("Offsets");
 8282|  3.28k|                        break;
 8283|  5.48k|                    default:
  ------------------
  |  Branch (8283:21): [True: 5.48k, False: 6.57k]
  ------------------
 8284|  5.48k|                        break;
 8285|  12.0k|                    }
 8286|  12.0k|                    if (sparse)
  ------------------
  |  Branch (8286:25): [True: 1.71k, False: 10.3k]
  ------------------
 8287|  1.71k|                        s.append("ARB");
 8288|  12.0k|                    s.append("(");
 8289|       |
 8290|       |                    // sampler type argument
 8291|  12.0k|                    s.append(typeName);
 8292|       |
 8293|       |                    // P coordinate argument
 8294|  12.0k|                    if (f16TexAddr)
  ------------------
  |  Branch (8294:25): [True: 792, False: 11.2k]
  ------------------
 8295|    792|                        s.append(",f16vec");
 8296|  11.2k|                    else
 8297|  11.2k|                        s.append(",vec");
 8298|  12.0k|                    int totalDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0);
  ------------------
  |  Branch (8298:60): [True: 4.38k, False: 7.67k]
  ------------------
 8299|  12.0k|                    s.append(postfixes[totalDims]);
 8300|       |
 8301|       |                    // refZ argument
 8302|  12.0k|                    if (sampler.shadow)
  ------------------
  |  Branch (8302:25): [True: 2.02k, False: 10.0k]
  ------------------
 8303|  2.02k|                        s.append(",float");
 8304|       |
 8305|       |                    // offset argument
 8306|  12.0k|                    if (offset > 0) {
  ------------------
  |  Branch (8306:25): [True: 6.57k, False: 5.48k]
  ------------------
 8307|  6.57k|                        s.append(",ivec2");
 8308|  6.57k|                        if (offset == 2)
  ------------------
  |  Branch (8308:29): [True: 3.28k, False: 3.28k]
  ------------------
 8309|  3.28k|                            s.append("[4]");
 8310|  6.57k|                    }
 8311|       |
 8312|       |                    // texel out (for sparse texture)
 8313|  12.0k|                    if (sparse) {
  ------------------
  |  Branch (8313:25): [True: 1.71k, False: 10.3k]
  ------------------
 8314|  1.71k|                        s.append(",out ");
 8315|  1.71k|                        s.append(prefixes[sampler.type]);
 8316|  1.71k|                        s.append("vec4 ");
 8317|  1.71k|                    }
 8318|       |
 8319|       |                    // comp argument
 8320|  12.0k|                    if (comp)
  ------------------
  |  Branch (8320:25): [True: 5.01k, False: 7.04k]
  ------------------
 8321|  5.01k|                        s.append(",int");
 8322|       |
 8323|  12.0k|                    s.append(");\n");
 8324|  12.0k|                    commonBuiltins.append(s);
 8325|  12.0k|                }
 8326|  10.3k|            }
 8327|  8.16k|        }
 8328|  2.72k|    }
 8329|       |
 8330|  2.60k|    if (sampler.dim == EsdRect || sampler.shadow)
  ------------------
  |  Branch (8330:9): [True: 520, False: 2.08k]
  |  Branch (8330:35): [True: 544, False: 1.53k]
  ------------------
 8331|  1.06k|        return;
 8332|       |
 8333|  1.53k|    if (profile == EEsProfile || version < 450)
  ------------------
  |  Branch (8333:9): [True: 0, False: 1.53k]
  |  Branch (8333:34): [True: 1.34k, False: 192]
  ------------------
 8334|  1.34k|        return;
 8335|       |
 8336|    576|    for (int bias = 0; bias < 2; ++bias) { // loop over presence of bias argument
  ------------------
  |  Branch (8336:24): [True: 384, False: 192]
  ------------------
 8337|       |
 8338|  1.15k|        for (int lod = 0; lod < 2; ++lod) { // loop over presence of lod argument
  ------------------
  |  Branch (8338:27): [True: 768, False: 384]
  ------------------
 8339|       |
 8340|    768|            if ((lod && bias) || (lod == 0 && bias == 0))
  ------------------
  |  Branch (8340:18): [True: 384, False: 384]
  |  Branch (8340:25): [True: 192, False: 192]
  |  Branch (8340:35): [True: 384, False: 192]
  |  Branch (8340:47): [True: 192, False: 192]
  ------------------
 8341|    384|                continue;
 8342|       |
 8343|  1.15k|            for (int f16TexAddr = 0; f16TexAddr <= 1; ++f16TexAddr) { // loop over 16-bit floating-point texel addressing
  ------------------
  |  Branch (8343:38): [True: 768, False: 384]
  ------------------
 8344|       |
 8345|    768|                if (f16TexAddr && sampler.type != EbtFloat16)
  ------------------
  |  Branch (8345:21): [True: 384, False: 384]
  |  Branch (8345:35): [True: 288, False: 96]
  ------------------
 8346|    288|                    continue;
 8347|       |
 8348|  1.92k|                for (int offset = 0; offset < 3; ++offset) { // loop over three forms of offset in the call name:  none, Offset, and Offsets
  ------------------
  |  Branch (8348:38): [True: 1.44k, False: 480]
  ------------------
 8349|       |
 8350|  4.32k|                    for (int comp = 0; comp < 2; ++comp) { // loop over presence of comp argument
  ------------------
  |  Branch (8350:40): [True: 2.88k, False: 1.44k]
  ------------------
 8351|       |
 8352|  2.88k|                        if (comp == 0 && bias)
  ------------------
  |  Branch (8352:29): [True: 1.44k, False: 1.44k]
  |  Branch (8352:42): [True: 720, False: 720]
  ------------------
 8353|    720|                            continue;
 8354|       |
 8355|  2.16k|                        if (offset > 0 && sampler.dim == EsdCube)
  ------------------
  |  Branch (8355:29): [True: 1.44k, False: 720]
  |  Branch (8355:43): [True: 720, False: 720]
  ------------------
 8356|    720|                            continue;
 8357|       |
 8358|  4.32k|                        for (int sparse = 0; sparse <= 1; ++sparse) { // loop over "bool" sparse or not
  ------------------
  |  Branch (8358:46): [True: 2.88k, False: 1.44k]
  ------------------
 8359|  2.88k|                            if (sparse && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (8359:33): [True: 1.44k, False: 1.44k]
  |  Branch (8359:44): [True: 0, False: 1.44k]
  |  Branch (8359:69): [True: 0, False: 1.44k]
  ------------------
 8360|      0|                                continue;
 8361|       |
 8362|  2.88k|                            TString s;
 8363|       |
 8364|       |                            // return type
 8365|  2.88k|                            if (sparse)
  ------------------
  |  Branch (8365:33): [True: 1.44k, False: 1.44k]
  ------------------
 8366|  1.44k|                                s.append("int ");
 8367|  1.44k|                            else {
 8368|  1.44k|                                s.append(prefixes[sampler.type]);
 8369|  1.44k|                                s.append("vec4 ");
 8370|  1.44k|                            }
 8371|       |
 8372|       |                            // name
 8373|  2.88k|                            if (sparse)
  ------------------
  |  Branch (8373:33): [True: 1.44k, False: 1.44k]
  ------------------
 8374|  1.44k|                                s.append("sparseTextureGather");
 8375|  1.44k|                            else
 8376|  1.44k|                                s.append("textureGather");
 8377|       |
 8378|  2.88k|                            if (lod)
  ------------------
  |  Branch (8378:33): [True: 1.92k, False: 960]
  ------------------
 8379|  1.92k|                                s.append("Lod");
 8380|       |
 8381|  2.88k|                            switch (offset) {
 8382|    720|                            case 1:
  ------------------
  |  Branch (8382:29): [True: 720, False: 2.16k]
  ------------------
 8383|    720|                                s.append("Offset");
 8384|    720|                                break;
 8385|    720|                            case 2:
  ------------------
  |  Branch (8385:29): [True: 720, False: 2.16k]
  ------------------
 8386|    720|                                s.append("Offsets");
 8387|    720|                                break;
 8388|  1.44k|                            default:
  ------------------
  |  Branch (8388:29): [True: 1.44k, False: 1.44k]
  ------------------
 8389|  1.44k|                                break;
 8390|  2.88k|                            }
 8391|       |
 8392|  2.88k|                            if (lod)
  ------------------
  |  Branch (8392:33): [True: 1.92k, False: 960]
  ------------------
 8393|  1.92k|                                s.append("AMD");
 8394|    960|                            else if (sparse)
  ------------------
  |  Branch (8394:38): [True: 480, False: 480]
  ------------------
 8395|    480|                                s.append("ARB");
 8396|       |
 8397|  2.88k|                            s.append("(");
 8398|       |
 8399|       |                            // sampler type argument
 8400|  2.88k|                            s.append(typeName);
 8401|       |
 8402|       |                            // P coordinate argument
 8403|  2.88k|                            if (f16TexAddr)
  ------------------
  |  Branch (8403:33): [True: 576, False: 2.30k]
  ------------------
 8404|    576|                                s.append(",f16vec");
 8405|  2.30k|                            else
 8406|  2.30k|                                s.append(",vec");
 8407|  2.88k|                            int totalDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0);
  ------------------
  |  Branch (8407:68): [True: 1.44k, False: 1.44k]
  ------------------
 8408|  2.88k|                            s.append(postfixes[totalDims]);
 8409|       |
 8410|       |                            // lod argument
 8411|  2.88k|                            if (lod) {
  ------------------
  |  Branch (8411:33): [True: 1.92k, False: 960]
  ------------------
 8412|  1.92k|                                if (f16TexAddr)
  ------------------
  |  Branch (8412:37): [True: 384, False: 1.53k]
  ------------------
 8413|    384|                                    s.append(",float16_t");
 8414|  1.53k|                                else
 8415|  1.53k|                                    s.append(",float");
 8416|  1.92k|                            }
 8417|       |
 8418|       |                            // offset argument
 8419|  2.88k|                            if (offset > 0) {
  ------------------
  |  Branch (8419:33): [True: 1.44k, False: 1.44k]
  ------------------
 8420|  1.44k|                                s.append(",ivec2");
 8421|  1.44k|                                if (offset == 2)
  ------------------
  |  Branch (8421:37): [True: 720, False: 720]
  ------------------
 8422|    720|                                    s.append("[4]");
 8423|  1.44k|                            }
 8424|       |
 8425|       |                            // texel out (for sparse texture)
 8426|  2.88k|                            if (sparse) {
  ------------------
  |  Branch (8426:33): [True: 1.44k, False: 1.44k]
  ------------------
 8427|  1.44k|                                s.append(",out ");
 8428|  1.44k|                                s.append(prefixes[sampler.type]);
 8429|  1.44k|                                s.append("vec4 ");
 8430|  1.44k|                            }
 8431|       |
 8432|       |                            // comp argument
 8433|  2.88k|                            if (comp)
  ------------------
  |  Branch (8433:33): [True: 1.92k, False: 960]
  ------------------
 8434|  1.92k|                                s.append(",int");
 8435|       |
 8436|       |                            // bias argument
 8437|  2.88k|                            if (bias) {
  ------------------
  |  Branch (8437:33): [True: 960, False: 1.92k]
  ------------------
 8438|    960|                                if (f16TexAddr)
  ------------------
  |  Branch (8438:37): [True: 192, False: 768]
  ------------------
 8439|    192|                                    s.append(",float16_t");
 8440|    768|                                else
 8441|    768|                                    s.append(",float");
 8442|    960|                            }
 8443|       |
 8444|  2.88k|                            s.append(");\n");
 8445|  2.88k|                            if (bias) {
  ------------------
  |  Branch (8445:33): [True: 960, False: 1.92k]
  ------------------
 8446|    960|                                stageBuiltins[EShLangFragment].append(s);
 8447|    960|                                stageBuiltins[EShLangCompute].append(s);
 8448|    960|                                stageBuiltins[EShLangTask].append(s);
 8449|    960|                                stageBuiltins[EShLangMesh].append(s);
 8450|    960|                            } else
 8451|  1.92k|                                commonBuiltins.append(s);
 8452|  2.88k|                        }
 8453|  1.44k|                    }
 8454|  1.44k|                }
 8455|    480|            }
 8456|    384|        }
 8457|    384|    }
 8458|    192|}
_ZN7glslang9TBuiltIns10initializeERK16TBuiltInResourcei8EProfileRKNS_10SpvVersionE11EShLanguage:
 8468|    122|{
 8469|       |    //
 8470|       |    // Initialize the context-dependent (resource-dependent) built-in strings for parsing.
 8471|       |    //
 8472|       |
 8473|       |    //============================================================================
 8474|       |    //
 8475|       |    // Standard Uniforms
 8476|       |    //
 8477|       |    //============================================================================
 8478|       |
 8479|    122|    TString& s = commonBuiltins;
 8480|    122|    const int maxSize = 200;
 8481|    122|    char builtInConstant[maxSize];
 8482|       |
 8483|       |    //
 8484|       |    // Build string of implementation dependent constants.
 8485|       |    //
 8486|       |
 8487|    122|    if (profile == EEsProfile) {
  ------------------
  |  Branch (8487:9): [True: 0, False: 122]
  ------------------
 8488|      0|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVertexAttribs = %d;", resources.maxVertexAttribs);
 8489|      0|        s.append(builtInConstant);
 8490|       |
 8491|      0|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVertexUniformVectors = %d;", resources.maxVertexUniformVectors);
 8492|      0|        s.append(builtInConstant);
 8493|       |
 8494|      0|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVertexTextureImageUnits = %d;", resources.maxVertexTextureImageUnits);
 8495|      0|        s.append(builtInConstant);
 8496|       |
 8497|      0|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxCombinedTextureImageUnits = %d;", resources.maxCombinedTextureImageUnits);
 8498|      0|        s.append(builtInConstant);
 8499|       |
 8500|      0|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxTextureImageUnits = %d;", resources.maxTextureImageUnits);
 8501|      0|        s.append(builtInConstant);
 8502|       |
 8503|      0|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxFragmentUniformVectors = %d;", resources.maxFragmentUniformVectors);
 8504|      0|        s.append(builtInConstant);
 8505|       |
 8506|      0|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxDrawBuffers = %d;", resources.maxDrawBuffers);
 8507|      0|        s.append(builtInConstant);
 8508|       |
 8509|      0|        if (version == 100) {
  ------------------
  |  Branch (8509:13): [True: 0, False: 0]
  ------------------
 8510|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVaryingVectors = %d;", resources.maxVaryingVectors);
 8511|      0|            s.append(builtInConstant);
 8512|      0|        } else {
 8513|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVertexOutputVectors = %d;", resources.maxVertexOutputVectors);
 8514|      0|            s.append(builtInConstant);
 8515|       |
 8516|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxFragmentInputVectors = %d;", resources.maxFragmentInputVectors);
 8517|      0|            s.append(builtInConstant);
 8518|       |
 8519|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MinProgramTexelOffset = %d;", resources.minProgramTexelOffset);
 8520|      0|            s.append(builtInConstant);
 8521|       |
 8522|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxProgramTexelOffset = %d;", resources.maxProgramTexelOffset);
 8523|      0|            s.append(builtInConstant);
 8524|      0|        }
 8525|       |
 8526|      0|        if (version >= 310) {
  ------------------
  |  Branch (8526:13): [True: 0, False: 0]
  ------------------
 8527|       |            // geometry
 8528|       |
 8529|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryInputComponents = %d;", resources.maxGeometryInputComponents);
 8530|      0|            s.append(builtInConstant);
 8531|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryOutputComponents = %d;", resources.maxGeometryOutputComponents);
 8532|      0|            s.append(builtInConstant);
 8533|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryImageUniforms = %d;", resources.maxGeometryImageUniforms);
 8534|      0|            s.append(builtInConstant);
 8535|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryTextureImageUnits = %d;", resources.maxGeometryTextureImageUnits);
 8536|      0|            s.append(builtInConstant);
 8537|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryOutputVertices = %d;", resources.maxGeometryOutputVertices);
 8538|      0|            s.append(builtInConstant);
 8539|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryTotalOutputComponents = %d;", resources.maxGeometryTotalOutputComponents);
 8540|      0|            s.append(builtInConstant);
 8541|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryUniformComponents = %d;", resources.maxGeometryUniformComponents);
 8542|      0|            s.append(builtInConstant);
 8543|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryAtomicCounters = %d;", resources.maxGeometryAtomicCounters);
 8544|      0|            s.append(builtInConstant);
 8545|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryAtomicCounterBuffers = %d;", resources.maxGeometryAtomicCounterBuffers);
 8546|      0|            s.append(builtInConstant);
 8547|       |
 8548|       |            // tessellation
 8549|       |
 8550|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlInputComponents = %d;", resources.maxTessControlInputComponents);
 8551|      0|            s.append(builtInConstant);
 8552|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlOutputComponents = %d;", resources.maxTessControlOutputComponents);
 8553|      0|            s.append(builtInConstant);
 8554|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlTextureImageUnits = %d;", resources.maxTessControlTextureImageUnits);
 8555|      0|            s.append(builtInConstant);
 8556|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlUniformComponents = %d;", resources.maxTessControlUniformComponents);
 8557|      0|            s.append(builtInConstant);
 8558|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlTotalOutputComponents = %d;", resources.maxTessControlTotalOutputComponents);
 8559|      0|            s.append(builtInConstant);
 8560|       |
 8561|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationInputComponents = %d;", resources.maxTessEvaluationInputComponents);
 8562|      0|            s.append(builtInConstant);
 8563|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationOutputComponents = %d;", resources.maxTessEvaluationOutputComponents);
 8564|      0|            s.append(builtInConstant);
 8565|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationTextureImageUnits = %d;", resources.maxTessEvaluationTextureImageUnits);
 8566|      0|            s.append(builtInConstant);
 8567|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationUniformComponents = %d;", resources.maxTessEvaluationUniformComponents);
 8568|      0|            s.append(builtInConstant);
 8569|       |
 8570|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessPatchComponents = %d;", resources.maxTessPatchComponents);
 8571|      0|            s.append(builtInConstant);
 8572|       |
 8573|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxPatchVertices = %d;", resources.maxPatchVertices);
 8574|      0|            s.append(builtInConstant);
 8575|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessGenLevel = %d;", resources.maxTessGenLevel);
 8576|      0|            s.append(builtInConstant);
 8577|       |
 8578|       |            // this is here instead of with the others in initialize(version, profile) due to the dependence on gl_MaxPatchVertices
 8579|      0|            if (language == EShLangTessControl || language == EShLangTessEvaluation) {
  ------------------
  |  Branch (8579:17): [True: 0, False: 0]
  |  Branch (8579:51): [True: 0, False: 0]
  ------------------
 8580|      0|                s.append(
 8581|      0|                    "in gl_PerVertex {"
 8582|      0|                        "highp vec4 gl_Position;"
 8583|      0|                        "highp float gl_PointSize;"
 8584|      0|                        "highp vec4 gl_SecondaryPositionNV;"  // GL_NV_stereo_view_rendering
 8585|      0|                        "highp vec4 gl_PositionPerViewNV[];"  // GL_NVX_multiview_per_view_attributes
 8586|      0|                    "} gl_in[gl_MaxPatchVertices];"
 8587|      0|                    "\n");
 8588|      0|            }
 8589|      0|        }
 8590|       |
 8591|      0|        if (version >= 320) {
  ------------------
  |  Branch (8591:13): [True: 0, False: 0]
  ------------------
 8592|       |            // tessellation
 8593|       |
 8594|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlImageUniforms = %d;", resources.maxTessControlImageUniforms);
 8595|      0|            s.append(builtInConstant);
 8596|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationImageUniforms = %d;", resources.maxTessEvaluationImageUniforms);
 8597|      0|            s.append(builtInConstant);
 8598|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlAtomicCounters = %d;", resources.maxTessControlAtomicCounters);
 8599|      0|            s.append(builtInConstant);
 8600|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationAtomicCounters = %d;", resources.maxTessEvaluationAtomicCounters);
 8601|      0|            s.append(builtInConstant);
 8602|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlAtomicCounterBuffers = %d;", resources.maxTessControlAtomicCounterBuffers);
 8603|      0|            s.append(builtInConstant);
 8604|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationAtomicCounterBuffers = %d;", resources.maxTessEvaluationAtomicCounterBuffers);
 8605|      0|            s.append(builtInConstant);
 8606|      0|        }
 8607|       |
 8608|      0|        if (version >= 100) {
  ------------------
  |  Branch (8608:13): [True: 0, False: 0]
  ------------------
 8609|       |            // GL_EXT_blend_func_extended
 8610|      0|            snprintf(builtInConstant, maxSize, "const mediump int gl_MaxDualSourceDrawBuffersEXT = %d;", resources.maxDualSourceDrawBuffersEXT);
 8611|      0|            s.append(builtInConstant);
 8612|       |            // this is here instead of with the others in initialize(version, profile) due to the dependence on gl_MaxDualSourceDrawBuffersEXT
 8613|      0|            if (language == EShLangFragment) {
  ------------------
  |  Branch (8613:17): [True: 0, False: 0]
  ------------------
 8614|      0|                s.append(
 8615|      0|                    "mediump vec4 gl_SecondaryFragColorEXT;"
 8616|      0|                    "mediump vec4 gl_SecondaryFragDataEXT[gl_MaxDualSourceDrawBuffersEXT];"
 8617|      0|                    "\n");
 8618|      0|            }
 8619|      0|        }
 8620|    122|    } else {
 8621|       |        // non-ES profile
 8622|       |
 8623|    122|        if (version > 400) {
  ------------------
  |  Branch (8623:13): [True: 11, False: 111]
  ------------------
 8624|     11|            snprintf(builtInConstant, maxSize, "const int  gl_MaxVertexUniformVectors = %d;", resources.maxVertexUniformVectors);
 8625|     11|            s.append(builtInConstant);
 8626|       |
 8627|     11|            snprintf(builtInConstant, maxSize, "const int  gl_MaxFragmentUniformVectors = %d;", resources.maxFragmentUniformVectors);
 8628|     11|            s.append(builtInConstant);
 8629|       |
 8630|     11|            snprintf(builtInConstant, maxSize, "const int  gl_MaxVaryingVectors = %d;", resources.maxVaryingVectors);
 8631|     11|            s.append(builtInConstant);
 8632|     11|        }
 8633|       |
 8634|    122|        snprintf(builtInConstant, maxSize, "const int  gl_MaxVertexAttribs = %d;", resources.maxVertexAttribs);
 8635|    122|        s.append(builtInConstant);
 8636|       |
 8637|    122|        snprintf(builtInConstant, maxSize, "const int  gl_MaxVertexTextureImageUnits = %d;", resources.maxVertexTextureImageUnits);
 8638|    122|        s.append(builtInConstant);
 8639|       |
 8640|    122|        snprintf(builtInConstant, maxSize, "const int  gl_MaxCombinedTextureImageUnits = %d;", resources.maxCombinedTextureImageUnits);
 8641|    122|        s.append(builtInConstant);
 8642|       |
 8643|    122|        snprintf(builtInConstant, maxSize, "const int  gl_MaxTextureImageUnits = %d;", resources.maxTextureImageUnits);
 8644|    122|        s.append(builtInConstant);
 8645|       |
 8646|    122|        snprintf(builtInConstant, maxSize, "const int  gl_MaxDrawBuffers = %d;", resources.maxDrawBuffers);
 8647|    122|        s.append(builtInConstant);
 8648|       |
 8649|    122|        snprintf(builtInConstant, maxSize, "const int  gl_MaxLights = %d;", resources.maxLights);
 8650|    122|        s.append(builtInConstant);
 8651|       |
 8652|    122|        snprintf(builtInConstant, maxSize, "const int  gl_MaxClipPlanes = %d;", resources.maxClipPlanes);
 8653|    122|        s.append(builtInConstant);
 8654|       |
 8655|    122|        snprintf(builtInConstant, maxSize, "const int  gl_MaxTextureUnits = %d;", resources.maxTextureUnits);
 8656|    122|        s.append(builtInConstant);
 8657|       |
 8658|    122|        snprintf(builtInConstant, maxSize, "const int  gl_MaxTextureCoords = %d;", resources.maxTextureCoords);
 8659|    122|        s.append(builtInConstant);
 8660|       |
 8661|    122|        snprintf(builtInConstant, maxSize, "const int  gl_MaxVertexUniformComponents = %d;", resources.maxVertexUniformComponents);
 8662|    122|        s.append(builtInConstant);
 8663|       |
 8664|       |        // Moved from just being deprecated into compatibility profile only as of 4.20
 8665|    122|        if (version < 420 || profile == ECompatibilityProfile) {
  ------------------
  |  Branch (8665:13): [True: 111, False: 11]
  |  Branch (8665:30): [True: 0, False: 11]
  ------------------
 8666|    111|            snprintf(builtInConstant, maxSize, "const int  gl_MaxVaryingFloats = %d;", resources.maxVaryingFloats);
 8667|    111|            s.append(builtInConstant);
 8668|    111|        }
 8669|       |
 8670|    122|        snprintf(builtInConstant, maxSize, "const int  gl_MaxFragmentUniformComponents = %d;", resources.maxFragmentUniformComponents);
 8671|    122|        s.append(builtInConstant);
 8672|       |
 8673|    122|        if (spvVersion.spv == 0 && IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (8673:13): [True: 0, False: 122]
  |  Branch (8673:36): [True: 0, False: 0]
  ------------------
 8674|       |            //
 8675|       |            // OpenGL'uniform' state.  Page numbers are in reference to version
 8676|       |            // 1.4 of the OpenGL specification.
 8677|       |            //
 8678|       |
 8679|       |            //
 8680|       |            // Matrix state. p. 31, 32, 37, 39, 40.
 8681|       |            //
 8682|      0|            s.append("uniform mat4  gl_TextureMatrix[gl_MaxTextureCoords];"
 8683|       |
 8684|       |            //
 8685|       |            // Derived matrix state that provides inverse and transposed versions
 8686|       |            // of the matrices above.
 8687|       |            //
 8688|      0|                        "uniform mat4  gl_TextureMatrixInverse[gl_MaxTextureCoords];"
 8689|       |
 8690|      0|                        "uniform mat4  gl_TextureMatrixTranspose[gl_MaxTextureCoords];"
 8691|       |
 8692|      0|                        "uniform mat4  gl_TextureMatrixInverseTranspose[gl_MaxTextureCoords];"
 8693|       |
 8694|       |            //
 8695|       |            // Clip planes p. 42.
 8696|       |            //
 8697|      0|                        "uniform vec4  gl_ClipPlane[gl_MaxClipPlanes];"
 8698|       |
 8699|       |            //
 8700|       |            // Light State p 50, 53, 55.
 8701|       |            //
 8702|      0|                        "uniform gl_LightSourceParameters  gl_LightSource[gl_MaxLights];"
 8703|       |
 8704|       |            //
 8705|       |            // Derived state from products of light.
 8706|       |            //
 8707|      0|                        "uniform gl_LightProducts gl_FrontLightProduct[gl_MaxLights];"
 8708|      0|                        "uniform gl_LightProducts gl_BackLightProduct[gl_MaxLights];"
 8709|       |
 8710|       |            //
 8711|       |            // Texture Environment and Generation, p. 152, p. 40-42.
 8712|       |            //
 8713|      0|                        "uniform vec4  gl_TextureEnvColor[gl_MaxTextureImageUnits];"
 8714|      0|                        "uniform vec4  gl_EyePlaneS[gl_MaxTextureCoords];"
 8715|      0|                        "uniform vec4  gl_EyePlaneT[gl_MaxTextureCoords];"
 8716|      0|                        "uniform vec4  gl_EyePlaneR[gl_MaxTextureCoords];"
 8717|      0|                        "uniform vec4  gl_EyePlaneQ[gl_MaxTextureCoords];"
 8718|      0|                        "uniform vec4  gl_ObjectPlaneS[gl_MaxTextureCoords];"
 8719|      0|                        "uniform vec4  gl_ObjectPlaneT[gl_MaxTextureCoords];"
 8720|      0|                        "uniform vec4  gl_ObjectPlaneR[gl_MaxTextureCoords];"
 8721|      0|                        "uniform vec4  gl_ObjectPlaneQ[gl_MaxTextureCoords];");
 8722|      0|        }
 8723|       |
 8724|    122|        if (version >= 130) {
  ------------------
  |  Branch (8724:13): [True: 122, False: 0]
  ------------------
 8725|    122|            snprintf(builtInConstant, maxSize, "const int gl_MaxClipDistances = %d;", resources.maxClipDistances);
 8726|    122|            s.append(builtInConstant);
 8727|    122|            snprintf(builtInConstant, maxSize, "const int gl_MaxVaryingComponents = %d;", resources.maxVaryingComponents);
 8728|    122|            s.append(builtInConstant);
 8729|       |
 8730|       |            // GL_ARB_shading_language_420pack
 8731|    122|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MinProgramTexelOffset = %d;", resources.minProgramTexelOffset);
 8732|    122|            s.append(builtInConstant);
 8733|    122|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxProgramTexelOffset = %d;", resources.maxProgramTexelOffset);
 8734|    122|            s.append(builtInConstant);
 8735|    122|        }
 8736|       |
 8737|       |        // geometry
 8738|    122|        if (version >= 150) {
  ------------------
  |  Branch (8738:13): [True: 15, False: 107]
  ------------------
 8739|     15|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryInputComponents = %d;", resources.maxGeometryInputComponents);
 8740|     15|            s.append(builtInConstant);
 8741|     15|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryOutputComponents = %d;", resources.maxGeometryOutputComponents);
 8742|     15|            s.append(builtInConstant);
 8743|     15|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryTextureImageUnits = %d;", resources.maxGeometryTextureImageUnits);
 8744|     15|            s.append(builtInConstant);
 8745|     15|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryOutputVertices = %d;", resources.maxGeometryOutputVertices);
 8746|     15|            s.append(builtInConstant);
 8747|     15|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryTotalOutputComponents = %d;", resources.maxGeometryTotalOutputComponents);
 8748|     15|            s.append(builtInConstant);
 8749|     15|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryUniformComponents = %d;", resources.maxGeometryUniformComponents);
 8750|     15|            s.append(builtInConstant);
 8751|     15|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryVaryingComponents = %d;", resources.maxGeometryVaryingComponents);
 8752|     15|            s.append(builtInConstant);
 8753|       |
 8754|     15|        }
 8755|       |
 8756|    122|        if (version >= 150) {
  ------------------
  |  Branch (8756:13): [True: 15, False: 107]
  ------------------
 8757|     15|            snprintf(builtInConstant, maxSize, "const int gl_MaxVertexOutputComponents = %d;", resources.maxVertexOutputComponents);
 8758|     15|            s.append(builtInConstant);
 8759|     15|            snprintf(builtInConstant, maxSize, "const int gl_MaxFragmentInputComponents = %d;", resources.maxFragmentInputComponents);
 8760|     15|            s.append(builtInConstant);
 8761|     15|        }
 8762|       |
 8763|       |        // tessellation
 8764|    122|        if (version >= 150) {
  ------------------
  |  Branch (8764:13): [True: 15, False: 107]
  ------------------
 8765|     15|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlInputComponents = %d;", resources.maxTessControlInputComponents);
 8766|     15|            s.append(builtInConstant);
 8767|     15|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlOutputComponents = %d;", resources.maxTessControlOutputComponents);
 8768|     15|            s.append(builtInConstant);
 8769|     15|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlTextureImageUnits = %d;", resources.maxTessControlTextureImageUnits);
 8770|     15|            s.append(builtInConstant);
 8771|     15|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlUniformComponents = %d;", resources.maxTessControlUniformComponents);
 8772|     15|            s.append(builtInConstant);
 8773|     15|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlTotalOutputComponents = %d;", resources.maxTessControlTotalOutputComponents);
 8774|     15|            s.append(builtInConstant);
 8775|       |
 8776|     15|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationInputComponents = %d;", resources.maxTessEvaluationInputComponents);
 8777|     15|            s.append(builtInConstant);
 8778|     15|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationOutputComponents = %d;", resources.maxTessEvaluationOutputComponents);
 8779|     15|            s.append(builtInConstant);
 8780|     15|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationTextureImageUnits = %d;", resources.maxTessEvaluationTextureImageUnits);
 8781|     15|            s.append(builtInConstant);
 8782|     15|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationUniformComponents = %d;", resources.maxTessEvaluationUniformComponents);
 8783|     15|            s.append(builtInConstant);
 8784|       |
 8785|     15|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessPatchComponents = %d;", resources.maxTessPatchComponents);
 8786|     15|            s.append(builtInConstant);
 8787|     15|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessGenLevel = %d;", resources.maxTessGenLevel);
 8788|     15|            s.append(builtInConstant);
 8789|     15|            snprintf(builtInConstant, maxSize, "const int gl_MaxPatchVertices = %d;", resources.maxPatchVertices);
 8790|     15|            s.append(builtInConstant);
 8791|       |
 8792|       |            // this is here instead of with the others in initialize(version, profile) due to the dependence on gl_MaxPatchVertices
 8793|     15|            if (language == EShLangTessControl || language == EShLangTessEvaluation) {
  ------------------
  |  Branch (8793:17): [True: 7, False: 8]
  |  Branch (8793:51): [True: 2, False: 6]
  ------------------
 8794|      9|                s.append(
 8795|      9|                    "in gl_PerVertex {"
 8796|      9|                        "vec4 gl_Position;"
 8797|      9|                        "float gl_PointSize;"
 8798|      9|                        "float gl_ClipDistance[];"
 8799|      9|                    );
 8800|      9|                if (profile == ECompatibilityProfile)
  ------------------
  |  Branch (8800:21): [True: 0, False: 9]
  ------------------
 8801|      0|                    s.append(
 8802|      0|                        "vec4 gl_ClipVertex;"
 8803|      0|                        "vec4 gl_FrontColor;"
 8804|      0|                        "vec4 gl_BackColor;"
 8805|      0|                        "vec4 gl_FrontSecondaryColor;"
 8806|      0|                        "vec4 gl_BackSecondaryColor;"
 8807|      0|                        "vec4 gl_TexCoord[];"
 8808|      0|                        "float gl_FogFragCoord;"
 8809|      0|                        );
 8810|      9|                if (profile != EEsProfile && version >= 450)
  ------------------
  |  Branch (8810:21): [True: 9, False: 0]
  |  Branch (8810:46): [True: 6, False: 3]
  ------------------
 8811|      6|                    s.append(
 8812|      6|                        "float gl_CullDistance[];"
 8813|      6|                        "vec4 gl_SecondaryPositionNV;"  // GL_NV_stereo_view_rendering
 8814|      6|                        "vec4 gl_PositionPerViewNV[];"  // GL_NVX_multiview_per_view_attributes
 8815|      6|                       );
 8816|      9|                s.append(
 8817|      9|                    "} gl_in[gl_MaxPatchVertices];"
 8818|      9|                    "\n");
 8819|      9|            }
 8820|     15|        }
 8821|       |
 8822|    122|        if (version >= 150) {
  ------------------
  |  Branch (8822:13): [True: 15, False: 107]
  ------------------
 8823|     15|            snprintf(builtInConstant, maxSize, "const int gl_MaxViewports = %d;", resources.maxViewports);
 8824|     15|            s.append(builtInConstant);
 8825|     15|        }
 8826|       |
 8827|       |        // images
 8828|    122|        if (version >= 130) {
  ------------------
  |  Branch (8828:13): [True: 122, False: 0]
  ------------------
 8829|    122|            snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedImageUnitsAndFragmentOutputs = %d;", resources.maxCombinedImageUnitsAndFragmentOutputs);
 8830|    122|            s.append(builtInConstant);
 8831|    122|            snprintf(builtInConstant, maxSize, "const int gl_MaxImageSamples = %d;", resources.maxImageSamples);
 8832|    122|            s.append(builtInConstant);
 8833|    122|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlImageUniforms = %d;", resources.maxTessControlImageUniforms);
 8834|    122|            s.append(builtInConstant);
 8835|    122|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationImageUniforms = %d;", resources.maxTessEvaluationImageUniforms);
 8836|    122|            s.append(builtInConstant);
 8837|    122|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryImageUniforms = %d;", resources.maxGeometryImageUniforms);
 8838|    122|            s.append(builtInConstant);
 8839|    122|        }
 8840|       |
 8841|       |        // enhanced layouts
 8842|    122|        if (version >= 430) {
  ------------------
  |  Branch (8842:13): [True: 11, False: 111]
  ------------------
 8843|     11|            snprintf(builtInConstant, maxSize, "const int gl_MaxTransformFeedbackBuffers = %d;", resources.maxTransformFeedbackBuffers);
 8844|     11|            s.append(builtInConstant);
 8845|     11|            snprintf(builtInConstant, maxSize, "const int gl_MaxTransformFeedbackInterleavedComponents = %d;", resources.maxTransformFeedbackInterleavedComponents);
 8846|     11|            s.append(builtInConstant);
 8847|     11|        }
 8848|    122|    }
 8849|       |
 8850|       |    // compute
 8851|    122|    if ((profile == EEsProfile && version >= 310) || (profile != EEsProfile && version >= 420)) {
  ------------------
  |  Branch (8851:10): [True: 0, False: 122]
  |  Branch (8851:35): [True: 0, False: 0]
  |  Branch (8851:55): [True: 122, False: 0]
  |  Branch (8851:80): [True: 11, False: 111]
  ------------------
 8852|     11|        snprintf(builtInConstant, maxSize, "const ivec3 gl_MaxComputeWorkGroupCount = ivec3(%d,%d,%d);", resources.maxComputeWorkGroupCountX,
 8853|     11|                                                                                                         resources.maxComputeWorkGroupCountY,
 8854|     11|                                                                                                         resources.maxComputeWorkGroupCountZ);
 8855|     11|        s.append(builtInConstant);
 8856|     11|        snprintf(builtInConstant, maxSize, "const ivec3 gl_MaxComputeWorkGroupSize = ivec3(%d,%d,%d);", resources.maxComputeWorkGroupSizeX,
 8857|     11|                                                                                                        resources.maxComputeWorkGroupSizeY,
 8858|     11|                                                                                                        resources.maxComputeWorkGroupSizeZ);
 8859|     11|        s.append(builtInConstant);
 8860|       |
 8861|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeUniformComponents = %d;", resources.maxComputeUniformComponents);
 8862|     11|        s.append(builtInConstant);
 8863|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeTextureImageUnits = %d;", resources.maxComputeTextureImageUnits);
 8864|     11|        s.append(builtInConstant);
 8865|       |
 8866|       |        // GL_ARM_tensors operands.
 8867|     11|        snprintf(builtInConstant, maxSize, "const uint gl_TensorOperandsNonTemporalARM = 0x1U;");
 8868|     11|        s.append(builtInConstant);
 8869|     11|        snprintf(builtInConstant, maxSize, "const uint gl_TensorOperandsOutOfBoundsValueARM = 0x2U;");
 8870|     11|        s.append(builtInConstant);
 8871|       |
 8872|     11|        s.append("\n");
 8873|     11|    }
 8874|       |
 8875|       |    // images (some in compute below)
 8876|    122|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (8876:10): [True: 0, False: 122]
  |  Branch (8876:35): [True: 0, False: 0]
  ------------------
 8877|    122|        (profile != EEsProfile && version >= 130)) {
  ------------------
  |  Branch (8877:10): [True: 122, False: 0]
  |  Branch (8877:35): [True: 122, False: 0]
  ------------------
 8878|    122|        snprintf(builtInConstant, maxSize, "const int gl_MaxImageUnits = %d;", resources.maxImageUnits);
 8879|    122|        s.append(builtInConstant);
 8880|    122|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedShaderOutputResources = %d;", resources.maxCombinedShaderOutputResources);
 8881|    122|        s.append(builtInConstant);
 8882|    122|        snprintf(builtInConstant, maxSize, "const int gl_MaxVertexImageUniforms = %d;", resources.maxVertexImageUniforms);
 8883|    122|        s.append(builtInConstant);
 8884|    122|        snprintf(builtInConstant, maxSize, "const int gl_MaxFragmentImageUniforms = %d;", resources.maxFragmentImageUniforms);
 8885|    122|        s.append(builtInConstant);
 8886|    122|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedImageUniforms = %d;", resources.maxCombinedImageUniforms);
 8887|    122|        s.append(builtInConstant);
 8888|    122|    }
 8889|       |
 8890|       |    // compute
 8891|    122|    if ((profile == EEsProfile && version >= 310) || (profile != EEsProfile && version >= 420)) {
  ------------------
  |  Branch (8891:10): [True: 0, False: 122]
  |  Branch (8891:35): [True: 0, False: 0]
  |  Branch (8891:55): [True: 122, False: 0]
  |  Branch (8891:80): [True: 11, False: 111]
  ------------------
 8892|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeImageUniforms = %d;", resources.maxComputeImageUniforms);
 8893|     11|        s.append(builtInConstant);
 8894|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeAtomicCounters = %d;", resources.maxComputeAtomicCounters);
 8895|     11|        s.append(builtInConstant);
 8896|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeAtomicCounterBuffers = %d;", resources.maxComputeAtomicCounterBuffers);
 8897|     11|        s.append(builtInConstant);
 8898|       |
 8899|     11|        s.append("\n");
 8900|     11|    }
 8901|       |
 8902|       |    // atomic counters (some in compute below)
 8903|    122|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (8903:10): [True: 0, False: 122]
  |  Branch (8903:35): [True: 0, False: 0]
  ------------------
 8904|    122|        (profile != EEsProfile && version >= 420)) {
  ------------------
  |  Branch (8904:10): [True: 122, False: 0]
  |  Branch (8904:35): [True: 11, False: 111]
  ------------------
 8905|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxVertexAtomicCounters = %d;", resources.               maxVertexAtomicCounters);
 8906|     11|        s.append(builtInConstant);
 8907|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxFragmentAtomicCounters = %d;", resources.             maxFragmentAtomicCounters);
 8908|     11|        s.append(builtInConstant);
 8909|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedAtomicCounters = %d;", resources.             maxCombinedAtomicCounters);
 8910|     11|        s.append(builtInConstant);
 8911|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxAtomicCounterBindings = %d;", resources.              maxAtomicCounterBindings);
 8912|     11|        s.append(builtInConstant);
 8913|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxVertexAtomicCounterBuffers = %d;", resources.         maxVertexAtomicCounterBuffers);
 8914|     11|        s.append(builtInConstant);
 8915|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxFragmentAtomicCounterBuffers = %d;", resources.       maxFragmentAtomicCounterBuffers);
 8916|     11|        s.append(builtInConstant);
 8917|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedAtomicCounterBuffers = %d;", resources.       maxCombinedAtomicCounterBuffers);
 8918|     11|        s.append(builtInConstant);
 8919|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxAtomicCounterBufferSize = %d;", resources.            maxAtomicCounterBufferSize);
 8920|     11|        s.append(builtInConstant);
 8921|     11|    }
 8922|    122|    if (profile != EEsProfile && version >= 420) {
  ------------------
  |  Branch (8922:9): [True: 122, False: 0]
  |  Branch (8922:34): [True: 11, False: 111]
  ------------------
 8923|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlAtomicCounters = %d;", resources.          maxTessControlAtomicCounters);
 8924|     11|        s.append(builtInConstant);
 8925|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationAtomicCounters = %d;", resources.       maxTessEvaluationAtomicCounters);
 8926|     11|        s.append(builtInConstant);
 8927|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryAtomicCounters = %d;", resources.             maxGeometryAtomicCounters);
 8928|     11|        s.append(builtInConstant);
 8929|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlAtomicCounterBuffers = %d;", resources.    maxTessControlAtomicCounterBuffers);
 8930|     11|        s.append(builtInConstant);
 8931|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationAtomicCounterBuffers = %d;", resources. maxTessEvaluationAtomicCounterBuffers);
 8932|     11|        s.append(builtInConstant);
 8933|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryAtomicCounterBuffers = %d;", resources.       maxGeometryAtomicCounterBuffers);
 8934|     11|        s.append(builtInConstant);
 8935|       |
 8936|     11|        s.append("\n");
 8937|     11|    }
 8938|       |
 8939|       |    // GL_ARB_cull_distance
 8940|    122|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (8940:9): [True: 122, False: 0]
  |  Branch (8940:34): [True: 11, False: 111]
  ------------------
 8941|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxCullDistances = %d;",                resources.maxCullDistances);
 8942|     11|        s.append(builtInConstant);
 8943|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedClipAndCullDistances = %d;", resources.maxCombinedClipAndCullDistances);
 8944|     11|        s.append(builtInConstant);
 8945|     11|    }
 8946|       |
 8947|       |    // GL_ARB_ES3_1_compatibility
 8948|    122|    if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (8948:10): [True: 122, False: 0]
  |  Branch (8948:35): [True: 11, False: 111]
  ------------------
 8949|    111|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (8949:10): [True: 0, False: 111]
  |  Branch (8949:35): [True: 0, False: 0]
  ------------------
 8950|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxSamples = %d;", resources.maxSamples);
 8951|     11|        s.append(builtInConstant);
 8952|     11|    }
 8953|       |
 8954|       |    // SPV_NV_mesh_shader
 8955|    122|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (8955:10): [True: 122, False: 0]
  |  Branch (8955:35): [True: 11, False: 111]
  |  Branch (8955:55): [True: 0, False: 111]
  |  Branch (8955:80): [True: 0, False: 0]
  ------------------
 8956|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxMeshOutputVerticesNV = %d;", resources.maxMeshOutputVerticesNV);
 8957|     11|        s.append(builtInConstant);
 8958|       |
 8959|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxMeshOutputPrimitivesNV = %d;", resources.maxMeshOutputPrimitivesNV);
 8960|     11|        s.append(builtInConstant);
 8961|       |
 8962|     11|        snprintf(builtInConstant, maxSize, "const ivec3 gl_MaxMeshWorkGroupSizeNV = ivec3(%d,%d,%d);", resources.maxMeshWorkGroupSizeX_NV,
 8963|     11|                                                                                                       resources.maxMeshWorkGroupSizeY_NV,
 8964|     11|                                                                                                       resources.maxMeshWorkGroupSizeZ_NV);
 8965|     11|        s.append(builtInConstant);
 8966|     11|        snprintf(builtInConstant, maxSize, "const ivec3 gl_MaxTaskWorkGroupSizeNV = ivec3(%d,%d,%d);", resources.maxTaskWorkGroupSizeX_NV,
 8967|     11|                                                                                                       resources.maxTaskWorkGroupSizeY_NV,
 8968|     11|                                                                                                       resources.maxTaskWorkGroupSizeZ_NV);
 8969|     11|        s.append(builtInConstant);
 8970|       |
 8971|     11|        snprintf(builtInConstant, maxSize, "const int gl_MaxMeshViewCountNV = %d;", resources.maxMeshViewCountNV);
 8972|     11|        s.append(builtInConstant);
 8973|       |
 8974|     11|        s.append("\n");
 8975|     11|    }
 8976|       |
 8977|    122|    s.append("\n");
 8978|    122|}
_ZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableE:
 9077|    401|{
 9078|       |    //
 9079|       |    // Tag built-in variables and functions with additional qualifier and extension information
 9080|       |    // that cannot be declared with the text strings.
 9081|       |    //
 9082|       |
 9083|       |    // N.B.: a symbol should only be tagged once, and this function is called multiple times, once
 9084|       |    // per stage that's used for this profile.  So
 9085|       |    //  - generally, stick common ones in the fragment stage to ensure they are tagged exactly once
 9086|       |    //  - for ES, which has different precisions for different stages, the coarsest-grained tagging
 9087|       |    //    for a built-in used in many stages needs to be once for the fragment stage and once for
 9088|       |    //    the vertex stage
 9089|       |
 9090|    401|    switch(language) {
 9091|    124|    case EShLangVertex:
  ------------------
  |  Branch (9091:5): [True: 124, False: 277]
  ------------------
 9092|    124|        if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (9092:13): [True: 124, False: 0]
  ------------------
 9093|    124|            BuiltInVariable("gl_VertexIndex",   EbvVertexIndex,   symbolTable);
 9094|    124|            BuiltInVariable("gl_InstanceIndex", EbvInstanceIndex, symbolTable);
 9095|    124|        }
 9096|       |
 9097|    124|        if (spvVersion.vulkan == 0) {
  ------------------
  |  Branch (9097:13): [True: 0, False: 124]
  ------------------
 9098|      0|            SpecialQualifier("gl_VertexID",   EvqVertexId,   EbvVertexId,   symbolTable);
 9099|      0|            SpecialQualifier("gl_InstanceID", EvqInstanceId, EbvInstanceId, symbolTable);
 9100|      0|            if (version < 140)
  ------------------
  |  Branch (9100:17): [True: 0, False: 0]
  ------------------
 9101|      0|                symbolTable.setVariableExtensions("gl_InstanceID", 1, &E_GL_EXT_draw_instanced);
 9102|      0|        }
 9103|       |
 9104|    124|        if (spvVersion.vulkan > 0 && spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (9104:13): [True: 124, False: 0]
  |  Branch (9104:38): [True: 0, False: 124]
  ------------------
 9105|       |            // treat these built-ins as aliases of VertexIndex and InstanceIndex
 9106|      0|            RetargetVariable("gl_InstanceID", "gl_InstanceIndex", symbolTable);
 9107|      0|            RetargetVariable("gl_VertexID", "gl_VertexIndex", symbolTable);
 9108|      0|        }
 9109|       |
 9110|    124|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9110:13): [True: 124, False: 0]
  ------------------
 9111|    124|            if (version >= 440) {
  ------------------
  |  Branch (9111:17): [True: 12, False: 112]
  ------------------
 9112|     12|                symbolTable.setVariableExtensions("gl_BaseVertexARB",   1, &E_GL_ARB_shader_draw_parameters);
 9113|     12|                symbolTable.setVariableExtensions("gl_BaseInstanceARB", 1, &E_GL_ARB_shader_draw_parameters);
 9114|     12|                symbolTable.setVariableExtensions("gl_DrawIDARB",       1, &E_GL_ARB_shader_draw_parameters);
 9115|     12|                BuiltInVariable("gl_BaseVertexARB",   EbvBaseVertex,   symbolTable);
 9116|     12|                BuiltInVariable("gl_BaseInstanceARB", EbvBaseInstance, symbolTable);
 9117|     12|                BuiltInVariable("gl_DrawIDARB",       EbvDrawId,       symbolTable);
 9118|     12|            }
 9119|    124|            if (version >= 460) {
  ------------------
  |  Branch (9119:17): [True: 1, False: 123]
  ------------------
 9120|      1|                BuiltInVariable("gl_BaseVertex",   EbvBaseVertex,   symbolTable);
 9121|      1|                BuiltInVariable("gl_BaseInstance", EbvBaseInstance, symbolTable);
 9122|      1|                BuiltInVariable("gl_DrawID",       EbvDrawId,       symbolTable);
 9123|      1|            }
 9124|    124|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
 9125|    124|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
 9126|    124|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
 9127|    124|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
 9128|    124|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
 9129|    124|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
 9130|    124|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
 9131|       |
 9132|    124|            symbolTable.setFunctionExtensions("ballotARB",              1, &E_GL_ARB_shader_ballot);
 9133|    124|            symbolTable.setFunctionExtensions("readInvocationARB",      1, &E_GL_ARB_shader_ballot);
 9134|    124|            symbolTable.setFunctionExtensions("readFirstInvocationARB", 1, &E_GL_ARB_shader_ballot);
 9135|       |
 9136|    124|            if (version >= 430) {
  ------------------
  |  Branch (9136:17): [True: 12, False: 112]
  ------------------
 9137|     12|                symbolTable.setFunctionExtensions("anyInvocationARB",       1, &E_GL_ARB_shader_group_vote);
 9138|     12|                symbolTable.setFunctionExtensions("allInvocationsARB",      1, &E_GL_ARB_shader_group_vote);
 9139|     12|                symbolTable.setFunctionExtensions("allInvocationsEqualARB", 1, &E_GL_ARB_shader_group_vote);
 9140|     12|            }
 9141|    124|            if (version >= 150) {
  ------------------
  |  Branch (9141:17): [True: 17, False: 107]
  ------------------
 9142|     17|                symbolTable.setFunctionExtensions("anyThreadNV",       1, &E_GL_NV_gpu_shader5);
 9143|     17|                symbolTable.setFunctionExtensions("allThreadsNV",      1, &E_GL_NV_gpu_shader5);
 9144|     17|                symbolTable.setFunctionExtensions("allThreadsEqualNV", 1, &E_GL_NV_gpu_shader5);
 9145|     17|            }
 9146|    124|        }
 9147|       |
 9148|       |
 9149|    124|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9149:13): [True: 124, False: 0]
  ------------------
 9150|    124|            symbolTable.setFunctionExtensions("minInvocationsAMD",                1, &E_GL_AMD_shader_ballot);
 9151|    124|            symbolTable.setFunctionExtensions("maxInvocationsAMD",                1, &E_GL_AMD_shader_ballot);
 9152|    124|            symbolTable.setFunctionExtensions("addInvocationsAMD",                1, &E_GL_AMD_shader_ballot);
 9153|    124|            symbolTable.setFunctionExtensions("minInvocationsNonUniformAMD",      1, &E_GL_AMD_shader_ballot);
 9154|    124|            symbolTable.setFunctionExtensions("maxInvocationsNonUniformAMD",      1, &E_GL_AMD_shader_ballot);
 9155|    124|            symbolTable.setFunctionExtensions("addInvocationsNonUniformAMD",      1, &E_GL_AMD_shader_ballot);
 9156|    124|            symbolTable.setFunctionExtensions("swizzleInvocationsAMD",            1, &E_GL_AMD_shader_ballot);
 9157|    124|            symbolTable.setFunctionExtensions("swizzleInvocationsWithPatternAMD", 1, &E_GL_AMD_shader_ballot);
 9158|    124|            symbolTable.setFunctionExtensions("writeInvocationAMD",               1, &E_GL_AMD_shader_ballot);
 9159|    124|            symbolTable.setFunctionExtensions("mbcntAMD",                         1, &E_GL_AMD_shader_ballot);
 9160|       |
 9161|    124|            symbolTable.setFunctionExtensions("minInvocationsInclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9162|    124|            symbolTable.setFunctionExtensions("maxInvocationsInclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9163|    124|            symbolTable.setFunctionExtensions("addInvocationsInclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9164|    124|            symbolTable.setFunctionExtensions("minInvocationsInclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9165|    124|            symbolTable.setFunctionExtensions("maxInvocationsInclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9166|    124|            symbolTable.setFunctionExtensions("addInvocationsInclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9167|    124|            symbolTable.setFunctionExtensions("minInvocationsExclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9168|    124|            symbolTable.setFunctionExtensions("maxInvocationsExclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9169|    124|            symbolTable.setFunctionExtensions("addInvocationsExclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9170|    124|            symbolTable.setFunctionExtensions("minInvocationsExclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9171|    124|            symbolTable.setFunctionExtensions("maxInvocationsExclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9172|    124|            symbolTable.setFunctionExtensions("addInvocationsExclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9173|    124|        }
 9174|       |
 9175|    124|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9175:13): [True: 124, False: 0]
  ------------------
 9176|    124|            symbolTable.setFunctionExtensions("min3", 1, &E_GL_AMD_shader_trinary_minmax);
 9177|    124|            symbolTable.setFunctionExtensions("max3", 1, &E_GL_AMD_shader_trinary_minmax);
 9178|    124|            symbolTable.setFunctionExtensions("mid3", 1, &E_GL_AMD_shader_trinary_minmax);
 9179|    124|        }
 9180|       |
 9181|    124|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9181:13): [True: 124, False: 0]
  ------------------
 9182|    124|            symbolTable.setVariableExtensions("gl_SIMDGroupSizeAMD", 1, &E_GL_AMD_gcn_shader);
 9183|    124|            SpecialQualifier("gl_SIMDGroupSizeAMD", EvqVaryingIn, EbvSubGroupSize, symbolTable);
 9184|       |
 9185|    124|            symbolTable.setFunctionExtensions("cubeFaceIndexAMD", 1, &E_GL_AMD_gcn_shader);
 9186|    124|            symbolTable.setFunctionExtensions("cubeFaceCoordAMD", 1, &E_GL_AMD_gcn_shader);
 9187|    124|            symbolTable.setFunctionExtensions("timeAMD",          1, &E_GL_AMD_gcn_shader);
 9188|    124|        }
 9189|       |
 9190|    124|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9190:13): [True: 124, False: 0]
  ------------------
 9191|    124|            symbolTable.setFunctionExtensions("fragmentMaskFetchAMD", 1, &E_GL_AMD_shader_fragment_mask);
 9192|    124|            symbolTable.setFunctionExtensions("fragmentFetchAMD",     1, &E_GL_AMD_shader_fragment_mask);
 9193|    124|        }
 9194|       |
 9195|    124|        symbolTable.setFunctionExtensions("countLeadingZeros",  1, &E_GL_INTEL_shader_integer_functions2);
 9196|    124|        symbolTable.setFunctionExtensions("countTrailingZeros", 1, &E_GL_INTEL_shader_integer_functions2);
 9197|    124|        symbolTable.setFunctionExtensions("absoluteDifference", 1, &E_GL_INTEL_shader_integer_functions2);
 9198|    124|        symbolTable.setFunctionExtensions("addSaturate",        1, &E_GL_INTEL_shader_integer_functions2);
 9199|    124|        symbolTable.setFunctionExtensions("subtractSaturate",   1, &E_GL_INTEL_shader_integer_functions2);
 9200|    124|        symbolTable.setFunctionExtensions("average",            1, &E_GL_INTEL_shader_integer_functions2);
 9201|    124|        symbolTable.setFunctionExtensions("averageRounded",     1, &E_GL_INTEL_shader_integer_functions2);
 9202|    124|        symbolTable.setFunctionExtensions("multiply32x16",      1, &E_GL_INTEL_shader_integer_functions2);
 9203|       |
 9204|    124|        symbolTable.setFunctionExtensions("textureFootprintNV",          1, &E_GL_NV_shader_texture_footprint);
 9205|    124|        symbolTable.setFunctionExtensions("textureFootprintClampNV",     1, &E_GL_NV_shader_texture_footprint);
 9206|    124|        symbolTable.setFunctionExtensions("textureFootprintLodNV",       1, &E_GL_NV_shader_texture_footprint);
 9207|    124|        symbolTable.setFunctionExtensions("textureFootprintGradNV",      1, &E_GL_NV_shader_texture_footprint);
 9208|    124|        symbolTable.setFunctionExtensions("textureFootprintGradClampNV", 1, &E_GL_NV_shader_texture_footprint);
 9209|       |        // Compatibility variables, vertex only
 9210|    124|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (9210:13): [True: 0, False: 124]
  ------------------
 9211|      0|            BuiltInVariable("gl_Color",          EbvColor,          symbolTable);
 9212|      0|            BuiltInVariable("gl_SecondaryColor", EbvSecondaryColor, symbolTable);
 9213|      0|            BuiltInVariable("gl_Normal",         EbvNormal,         symbolTable);
 9214|      0|            BuiltInVariable("gl_Vertex",         EbvVertex,         symbolTable);
 9215|      0|            BuiltInVariable("gl_MultiTexCoord0", EbvMultiTexCoord0, symbolTable);
 9216|      0|            BuiltInVariable("gl_MultiTexCoord1", EbvMultiTexCoord1, symbolTable);
 9217|      0|            BuiltInVariable("gl_MultiTexCoord2", EbvMultiTexCoord2, symbolTable);
 9218|      0|            BuiltInVariable("gl_MultiTexCoord3", EbvMultiTexCoord3, symbolTable);
 9219|      0|            BuiltInVariable("gl_MultiTexCoord4", EbvMultiTexCoord4, symbolTable);
 9220|      0|            BuiltInVariable("gl_MultiTexCoord5", EbvMultiTexCoord5, symbolTable);
 9221|      0|            BuiltInVariable("gl_MultiTexCoord6", EbvMultiTexCoord6, symbolTable);
 9222|      0|            BuiltInVariable("gl_MultiTexCoord7", EbvMultiTexCoord7, symbolTable);
 9223|      0|            BuiltInVariable("gl_FogCoord",       EbvFogFragCoord,   symbolTable);
 9224|      0|        }
 9225|       |
 9226|    124|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9226:13): [True: 0, False: 124]
  ------------------
 9227|      0|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (9227:17): [True: 0, False: 0]
  ------------------
 9228|      0|                symbolTable.setFunctionExtensions("texture2DGradEXT",     1, &E_GL_EXT_shader_texture_lod);
 9229|      0|                symbolTable.setFunctionExtensions("texture2DProjGradEXT", 1, &E_GL_EXT_shader_texture_lod);
 9230|      0|                symbolTable.setFunctionExtensions("textureCubeGradEXT",   1, &E_GL_EXT_shader_texture_lod);
 9231|      0|                if (version == 310)
  ------------------
  |  Branch (9231:21): [True: 0, False: 0]
  ------------------
 9232|      0|                    symbolTable.setFunctionExtensions("textureGatherOffsets", Num_AEP_gpu_shader5, AEP_gpu_shader5);
 9233|      0|            }
 9234|      0|            if (version == 310) {
  ------------------
  |  Branch (9234:17): [True: 0, False: 0]
  ------------------
 9235|      0|                symbolTable.setFunctionExtensions("fma", Num_AEP_gpu_shader5, AEP_gpu_shader5);
 9236|      0|            } else if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (9236:24): [True: 0, False: 0]
  |  Branch (9236:49): [True: 0, False: 0]
  ------------------
 9237|      0|                symbolTable.setFunctionExtensions("fma", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9238|      0|            }
 9239|      0|        }
 9240|       |
 9241|    124|        if (profile == EEsProfile && version < 320) {
  ------------------
  |  Branch (9241:13): [True: 0, False: 124]
  |  Branch (9241:38): [True: 0, False: 0]
  ------------------
 9242|      0|            symbolTable.setFunctionExtensions("imageAtomicAdd",      1, &E_GL_OES_shader_image_atomic);
 9243|      0|            symbolTable.setFunctionExtensions("imageAtomicMin",      1, &E_GL_OES_shader_image_atomic);
 9244|      0|            symbolTable.setFunctionExtensions("imageAtomicMax",      1, &E_GL_OES_shader_image_atomic);
 9245|      0|            symbolTable.setFunctionExtensions("imageAtomicAnd",      1, &E_GL_OES_shader_image_atomic);
 9246|      0|            symbolTable.setFunctionExtensions("imageAtomicOr",       1, &E_GL_OES_shader_image_atomic);
 9247|      0|            symbolTable.setFunctionExtensions("imageAtomicXor",      1, &E_GL_OES_shader_image_atomic);
 9248|      0|            symbolTable.setFunctionExtensions("imageAtomicExchange", 1, &E_GL_OES_shader_image_atomic);
 9249|      0|            symbolTable.setFunctionExtensions("imageAtomicCompSwap", 1, &E_GL_OES_shader_image_atomic);
 9250|      0|        }
 9251|       |
 9252|    124|        if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (9252:13): [True: 16, False: 108]
  ------------------
 9253|     16|            symbolTable.setVariableExtensions("gl_ViewID_OVR", Num_OVR_multiview_EXTs, OVR_multiview_EXTs);
 9254|     16|            BuiltInVariable("gl_ViewID_OVR", EbvViewIndex, symbolTable);
 9255|     16|        }
 9256|       |
 9257|    124|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9257:13): [True: 0, False: 124]
  ------------------
 9258|      0|            symbolTable.setFunctionExtensions("shadow2DEXT",        1, &E_GL_EXT_shadow_samplers);
 9259|      0|            symbolTable.setFunctionExtensions("shadow2DProjEXT",    1, &E_GL_EXT_shadow_samplers);
 9260|      0|        }
 9261|       |
 9262|       |        // E_GL_EXT_texture_array
 9263|    124|        if (profile != EEsProfile && spvVersion.spv == 0) {
  ------------------
  |  Branch (9263:13): [True: 124, False: 0]
  |  Branch (9263:38): [True: 0, False: 124]
  ------------------
 9264|      0|            symbolTable.setFunctionExtensions("texture1DArray", 1, &E_GL_EXT_texture_array);
 9265|      0|            symbolTable.setFunctionExtensions("texture2DArray", 1, &E_GL_EXT_texture_array);
 9266|      0|            symbolTable.setFunctionExtensions("shadow1DArray", 1, &E_GL_EXT_texture_array);
 9267|      0|            symbolTable.setFunctionExtensions("shadow2DArray", 1, &E_GL_EXT_texture_array);
 9268|       |
 9269|      0|            symbolTable.setFunctionExtensions("texture1DArrayLod", 1, &E_GL_EXT_texture_array);
 9270|      0|            symbolTable.setFunctionExtensions("texture2DArrayLod", 1, &E_GL_EXT_texture_array);
 9271|      0|            symbolTable.setFunctionExtensions("shadow1DArrayLod", 1, &E_GL_EXT_texture_array);
 9272|      0|        }
 9273|    124|        [[fallthrough]];
 9274|       |
 9275|    141|    case EShLangTessControl:
  ------------------
  |  Branch (9275:5): [True: 17, False: 384]
  ------------------
 9276|    141|        if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (9276:13): [True: 0, False: 141]
  |  Branch (9276:38): [True: 0, False: 0]
  ------------------
 9277|      0|            BuiltInVariable("gl_BoundingBoxEXT", EbvBoundingBox, symbolTable);
 9278|      0|            symbolTable.setVariableExtensions("gl_BoundingBoxEXT", 1,
 9279|      0|                                              &E_GL_EXT_primitive_bounding_box);
 9280|      0|            BuiltInVariable("gl_BoundingBoxOES", EbvBoundingBox, symbolTable);
 9281|      0|            symbolTable.setVariableExtensions("gl_BoundingBoxOES", 1,
 9282|      0|                                              &E_GL_OES_primitive_bounding_box);
 9283|       |
 9284|      0|            if (version >= 320) {
  ------------------
  |  Branch (9284:17): [True: 0, False: 0]
  ------------------
 9285|      0|                BuiltInVariable("gl_BoundingBox", EbvBoundingBox, symbolTable);
 9286|      0|            }
 9287|      0|        }
 9288|    141|        [[fallthrough]];
 9289|       |
 9290|    158|    case EShLangTessEvaluation:
  ------------------
  |  Branch (9290:5): [True: 17, False: 384]
  ------------------
 9291|    175|    case EShLangGeometry:
  ------------------
  |  Branch (9291:5): [True: 17, False: 384]
  ------------------
 9292|    175|        SpecialQualifier("gl_Position",   EvqPosition,   EbvPosition,   symbolTable);
 9293|    175|        SpecialQualifier("gl_PointSize",  EvqPointSize,  EbvPointSize,  symbolTable);
 9294|       |
 9295|    175|        BuiltInVariable("gl_in",  "gl_Position",     EbvPosition,     symbolTable);
 9296|    175|        BuiltInVariable("gl_in",  "gl_PointSize",    EbvPointSize,    symbolTable);
 9297|       |
 9298|    175|        BuiltInVariable("gl_out", "gl_Position",     EbvPosition,     symbolTable);
 9299|    175|        BuiltInVariable("gl_out", "gl_PointSize",    EbvPointSize,    symbolTable);
 9300|       |
 9301|    175|        SpecialQualifier("gl_ClipVertex", EvqClipVertex, EbvClipVertex, symbolTable);
 9302|       |
 9303|    175|        BuiltInVariable("gl_in",  "gl_ClipDistance", EbvClipDistance, symbolTable);
 9304|    175|        BuiltInVariable("gl_in",  "gl_CullDistance", EbvCullDistance, symbolTable);
 9305|       |
 9306|    175|        BuiltInVariable("gl_out", "gl_ClipDistance", EbvClipDistance, symbolTable);
 9307|    175|        BuiltInVariable("gl_out", "gl_CullDistance", EbvCullDistance, symbolTable);
 9308|       |
 9309|    175|        BuiltInVariable("gl_ClipDistance",    EbvClipDistance,   symbolTable);
 9310|    175|        BuiltInVariable("gl_CullDistance",    EbvCullDistance,   symbolTable);
 9311|    175|        BuiltInVariable("gl_PrimitiveIDIn",   EbvPrimitiveId,    symbolTable);
 9312|    175|        BuiltInVariable("gl_PrimitiveID",     EbvPrimitiveId,    symbolTable);
 9313|    175|        BuiltInVariable("gl_InvocationID",    EbvInvocationId,   symbolTable);
 9314|    175|        BuiltInVariable("gl_Layer",           EbvLayer,          symbolTable);
 9315|    175|        BuiltInVariable("gl_ViewportIndex",   EbvViewportIndex,  symbolTable);
 9316|       |
 9317|    175|        if (language != EShLangGeometry) {
  ------------------
  |  Branch (9317:13): [True: 158, False: 17]
  ------------------
 9318|    158|            symbolTable.setVariableExtensions("gl_Layer",         Num_viewportEXTs, viewportEXTs);
 9319|    158|            symbolTable.setVariableExtensions("gl_ViewportIndex", Num_viewportEXTs, viewportEXTs);
 9320|    158|        }
 9321|    175|        symbolTable.setVariableExtensions("gl_ViewportMask",            1, &E_GL_NV_viewport_array2);
 9322|    175|        symbolTable.setVariableExtensions("gl_SecondaryPositionNV",     1, &E_GL_NV_stereo_view_rendering);
 9323|    175|        symbolTable.setVariableExtensions("gl_SecondaryViewportMaskNV", 1, &E_GL_NV_stereo_view_rendering);
 9324|    175|        symbolTable.setVariableExtensions("gl_PositionPerViewNV",       1, &E_GL_NVX_multiview_per_view_attributes);
 9325|    175|        symbolTable.setVariableExtensions("gl_ViewportMaskPerViewNV",   1, &E_GL_NVX_multiview_per_view_attributes);
 9326|       |
 9327|    175|        if (profile != EEsProfile && language == EShLangGeometry && version < 400) {
  ------------------
  |  Branch (9327:13): [True: 175, False: 0]
  |  Branch (9327:38): [True: 17, False: 158]
  |  Branch (9327:69): [True: 1, False: 16]
  ------------------
 9328|      1|            symbolTable.setVariableExtensions("gl_InvocationID", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9329|      1|        }
 9330|    175|        BuiltInVariable("gl_ViewportMask",              EbvViewportMaskNV,          symbolTable);
 9331|    175|        BuiltInVariable("gl_SecondaryPositionNV",       EbvSecondaryPositionNV,     symbolTable);
 9332|    175|        BuiltInVariable("gl_SecondaryViewportMaskNV",   EbvSecondaryViewportMaskNV, symbolTable);
 9333|    175|        BuiltInVariable("gl_PositionPerViewNV",         EbvPositionPerViewNV,       symbolTable);
 9334|    175|        BuiltInVariable("gl_ViewportMaskPerViewNV",     EbvViewportMaskPerViewNV,   symbolTable);
 9335|       |
 9336|    175|        if (language == EShLangVertex || language == EShLangGeometry) {
  ------------------
  |  Branch (9336:13): [True: 124, False: 51]
  |  Branch (9336:42): [True: 17, False: 34]
  ------------------
 9337|    141|            symbolTable.setVariableExtensions("gl_in", "gl_SecondaryPositionNV", 1, &E_GL_NV_stereo_view_rendering);
 9338|    141|            symbolTable.setVariableExtensions("gl_in", "gl_PositionPerViewNV",   1, &E_GL_NVX_multiview_per_view_attributes);
 9339|       |
 9340|    141|            BuiltInVariable("gl_in", "gl_SecondaryPositionNV", EbvSecondaryPositionNV, symbolTable);
 9341|    141|            BuiltInVariable("gl_in", "gl_PositionPerViewNV",   EbvPositionPerViewNV,   symbolTable);
 9342|    141|        }
 9343|    175|        symbolTable.setVariableExtensions("gl_out", "gl_ViewportMask",            1, &E_GL_NV_viewport_array2);
 9344|    175|        symbolTable.setVariableExtensions("gl_out", "gl_SecondaryPositionNV",     1, &E_GL_NV_stereo_view_rendering);
 9345|    175|        symbolTable.setVariableExtensions("gl_out", "gl_SecondaryViewportMaskNV", 1, &E_GL_NV_stereo_view_rendering);
 9346|    175|        symbolTable.setVariableExtensions("gl_out", "gl_PositionPerViewNV",       1, &E_GL_NVX_multiview_per_view_attributes);
 9347|    175|        symbolTable.setVariableExtensions("gl_out", "gl_ViewportMaskPerViewNV",   1, &E_GL_NVX_multiview_per_view_attributes);
 9348|       |
 9349|    175|        BuiltInVariable("gl_out", "gl_ViewportMask",            EbvViewportMaskNV,          symbolTable);
 9350|    175|        BuiltInVariable("gl_out", "gl_SecondaryPositionNV",     EbvSecondaryPositionNV,     symbolTable);
 9351|    175|        BuiltInVariable("gl_out", "gl_SecondaryViewportMaskNV", EbvSecondaryViewportMaskNV, symbolTable);
 9352|    175|        BuiltInVariable("gl_out", "gl_PositionPerViewNV",       EbvPositionPerViewNV,       symbolTable);
 9353|    175|        BuiltInVariable("gl_out", "gl_ViewportMaskPerViewNV",   EbvViewportMaskPerViewNV,   symbolTable);
 9354|       |
 9355|    175|        BuiltInVariable("gl_PatchVerticesIn", EbvPatchVertices,  symbolTable);
 9356|    175|        BuiltInVariable("gl_TessLevelOuter",  EbvTessLevelOuter, symbolTable);
 9357|    175|        BuiltInVariable("gl_TessLevelInner",  EbvTessLevelInner, symbolTable);
 9358|    175|        BuiltInVariable("gl_TessCoord",       EbvTessCoord,      symbolTable);
 9359|       |
 9360|    175|        if (version < 410)
  ------------------
  |  Branch (9360:13): [True: 123, False: 52]
  ------------------
 9361|    123|            symbolTable.setVariableExtensions("gl_ViewportIndex", 1, &E_GL_ARB_viewport_array);
 9362|       |
 9363|       |        // Compatibility variables
 9364|       |
 9365|    175|        BuiltInVariable("gl_in", "gl_ClipVertex",          EbvClipVertex,          symbolTable);
 9366|    175|        BuiltInVariable("gl_in", "gl_FrontColor",          EbvFrontColor,          symbolTable);
 9367|    175|        BuiltInVariable("gl_in", "gl_BackColor",           EbvBackColor,           symbolTable);
 9368|    175|        BuiltInVariable("gl_in", "gl_FrontSecondaryColor", EbvFrontSecondaryColor, symbolTable);
 9369|    175|        BuiltInVariable("gl_in", "gl_BackSecondaryColor",  EbvBackSecondaryColor,  symbolTable);
 9370|    175|        BuiltInVariable("gl_in", "gl_TexCoord",            EbvTexCoord,            symbolTable);
 9371|    175|        BuiltInVariable("gl_in", "gl_FogFragCoord",        EbvFogFragCoord,        symbolTable);
 9372|       |
 9373|    175|        BuiltInVariable("gl_out", "gl_ClipVertex",          EbvClipVertex,          symbolTable);
 9374|    175|        BuiltInVariable("gl_out", "gl_FrontColor",          EbvFrontColor,          symbolTable);
 9375|    175|        BuiltInVariable("gl_out", "gl_BackColor",           EbvBackColor,           symbolTable);
 9376|    175|        BuiltInVariable("gl_out", "gl_FrontSecondaryColor", EbvFrontSecondaryColor, symbolTable);
 9377|    175|        BuiltInVariable("gl_out", "gl_BackSecondaryColor",  EbvBackSecondaryColor,  symbolTable);
 9378|    175|        BuiltInVariable("gl_out", "gl_TexCoord",            EbvTexCoord,            symbolTable);
 9379|    175|        BuiltInVariable("gl_out", "gl_FogFragCoord",        EbvFogFragCoord,        symbolTable);
 9380|       |
 9381|    175|        BuiltInVariable("gl_ClipVertex",          EbvClipVertex,          symbolTable);
 9382|    175|        BuiltInVariable("gl_FrontColor",          EbvFrontColor,          symbolTable);
 9383|    175|        BuiltInVariable("gl_BackColor",           EbvBackColor,           symbolTable);
 9384|    175|        BuiltInVariable("gl_FrontSecondaryColor", EbvFrontSecondaryColor, symbolTable);
 9385|    175|        BuiltInVariable("gl_BackSecondaryColor",  EbvBackSecondaryColor,  symbolTable);
 9386|    175|        BuiltInVariable("gl_TexCoord",            EbvTexCoord,            symbolTable);
 9387|    175|        BuiltInVariable("gl_FogFragCoord",        EbvFogFragCoord,        symbolTable);
 9388|       |
 9389|       |        // gl_PointSize, when it needs to be tied to an extension, is always a member of a block.
 9390|       |        // (Sometimes with an instance name, sometimes anonymous).
 9391|    175|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9391:13): [True: 0, False: 175]
  ------------------
 9392|      0|            if (language == EShLangGeometry) {
  ------------------
  |  Branch (9392:17): [True: 0, False: 0]
  ------------------
 9393|      0|                symbolTable.setVariableExtensions("gl_PointSize", Num_AEP_geometry_point_size, AEP_geometry_point_size);
 9394|      0|                symbolTable.setVariableExtensions("gl_in", "gl_PointSize", Num_AEP_geometry_point_size, AEP_geometry_point_size);
 9395|      0|            } else if (language == EShLangTessEvaluation || language == EShLangTessControl) {
  ------------------
  |  Branch (9395:24): [True: 0, False: 0]
  |  Branch (9395:61): [True: 0, False: 0]
  ------------------
 9396|       |                // gl_in tessellation settings of gl_PointSize are in the context-dependent paths
 9397|      0|                symbolTable.setVariableExtensions("gl_PointSize", Num_AEP_tessellation_point_size, AEP_tessellation_point_size);
 9398|      0|                symbolTable.setVariableExtensions("gl_out", "gl_PointSize", Num_AEP_tessellation_point_size, AEP_tessellation_point_size);
 9399|      0|            }
 9400|      0|        }
 9401|       |
 9402|    175|        if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (9402:14): [True: 175, False: 0]
  |  Branch (9402:39): [True: 175, False: 0]
  ------------------
 9403|    175|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (9403:14): [True: 0, False: 0]
  |  Branch (9403:39): [True: 0, False: 0]
  ------------------
 9404|    175|            symbolTable.setVariableExtensions("gl_DeviceIndex",  1, &E_GL_EXT_device_group);
 9405|    175|            BuiltInVariable("gl_DeviceIndex", EbvDeviceIndex, symbolTable);
 9406|    175|            symbolTable.setVariableExtensions("gl_ViewIndex", 1, &E_GL_EXT_multiview);
 9407|    175|            BuiltInVariable("gl_ViewIndex", EbvViewIndex, symbolTable);
 9408|    175|        }
 9409|       |
 9410|    175|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9410:13): [True: 175, False: 0]
  ------------------
 9411|    175|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
 9412|    175|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
 9413|    175|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
 9414|    175|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
 9415|    175|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
 9416|    175|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
 9417|       |
 9418|    175|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (9418:17): [True: 175, False: 0]
  ------------------
 9419|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
 9420|    175|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
 9421|    175|                if (language == EShLangFragment)
  ------------------
  |  Branch (9421:21): [True: 0, False: 175]
  ------------------
 9422|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
 9423|    175|            }
 9424|      0|            else
 9425|      0|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
 9426|    175|        }
 9427|       |
 9428|       |        // GL_ARB_gpu_shader5/GL_NV_gpu_shader5
 9429|    175|        if (profile != EEsProfile && version < 400 && language == EShLangGeometry) {
  ------------------
  |  Branch (9429:13): [True: 175, False: 0]
  |  Branch (9429:38): [True: 111, False: 64]
  |  Branch (9429:55): [True: 1, False: 110]
  ------------------
 9430|      1|            symbolTable.setFunctionExtensions("EmitStreamVertex", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9431|      1|            symbolTable.setFunctionExtensions("EndStreamPrimitive", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9432|      1|        }
 9433|       |        // GL_KHR_shader_subgroup
 9434|    175|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (9434:14): [True: 0, False: 175]
  |  Branch (9434:39): [True: 0, False: 0]
  ------------------
 9435|    175|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (9435:14): [True: 175, False: 0]
  |  Branch (9435:39): [True: 175, False: 0]
  ------------------
 9436|    175|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
 9437|    175|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
 9438|    175|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9439|    175|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9440|    175|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9441|    175|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9442|    175|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9443|       |
 9444|    175|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
 9445|    175|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
 9446|    175|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
 9447|    175|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
 9448|    175|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
 9449|    175|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
 9450|    175|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
 9451|       |
 9452|       |            // GL_NV_shader_sm_builtins
 9453|    175|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
 9454|    175|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
 9455|    175|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
 9456|    175|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
 9457|    175|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
 9458|    175|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
 9459|    175|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
 9460|    175|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
 9461|       |
 9462|       |            // GL_ARM_shader_core_builtins
 9463|    175|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
 9464|    175|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
 9465|    175|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
 9466|    175|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
 9467|    175|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
 9468|       |
 9469|    175|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
 9470|    175|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
 9471|    175|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
 9472|    175|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
 9473|    175|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
 9474|    175|        }
 9475|       |
 9476|    175|        if (language == EShLangGeometry || language == EShLangVertex) {
  ------------------
  |  Branch (9476:13): [True: 17, False: 158]
  |  Branch (9476:44): [True: 124, False: 34]
  ------------------
 9477|    141|            if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (9477:18): [True: 0, False: 141]
  |  Branch (9477:43): [True: 0, False: 0]
  ------------------
 9478|    141|                (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (9478:18): [True: 141, False: 0]
  |  Branch (9478:43): [True: 24, False: 117]
  ------------------
 9479|     24|                symbolTable.setVariableExtensions("gl_PrimitiveShadingRateEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9480|     24|                BuiltInVariable("gl_PrimitiveShadingRateEXT", EbvPrimitiveShadingRateKHR, symbolTable);
 9481|       |
 9482|     24|                symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9483|     24|                symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9484|     24|                symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9485|     24|                symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9486|     24|            }
 9487|    141|        }
 9488|    175|        break;
 9489|       |
 9490|    124|    case EShLangFragment:
  ------------------
  |  Branch (9490:5): [True: 124, False: 277]
  ------------------
 9491|    124|        SpecialQualifier("gl_FrontFacing",      EvqFace,       EbvFace,             symbolTable);
 9492|    124|        SpecialQualifier("gl_FragCoord",        EvqFragCoord,  EbvFragCoord,        symbolTable);
 9493|    124|        SpecialQualifier("gl_PointCoord",       EvqPointCoord, EbvPointCoord,       symbolTable);
 9494|    124|        if (spvVersion.spv == 0)
  ------------------
  |  Branch (9494:13): [True: 0, False: 124]
  ------------------
 9495|      0|            SpecialQualifier("gl_FragColor",    EvqFragColor,  EbvFragColor,        symbolTable);
 9496|    124|        else {
 9497|    124|            TSymbol* symbol = symbolTable.find("gl_FragColor");
 9498|    124|            if (symbol) {
  ------------------
  |  Branch (9498:17): [True: 111, False: 13]
  ------------------
 9499|    111|                symbol->getWritableType().getQualifier().storage = EvqVaryingOut;
 9500|    111|                symbol->getWritableType().getQualifier().layoutLocation = 0;
 9501|    111|            }
 9502|    124|        }
 9503|    124|        SpecialQualifier("gl_FragDepth",        EvqFragDepth,  EbvFragDepth,        symbolTable);
 9504|    124|        SpecialQualifier("gl_FragDepthEXT",     EvqFragDepth,  EbvFragDepth,        symbolTable);
 9505|    124|        SpecialQualifier("gl_FragStencilRefARB", EvqFragStencil, EbvFragStencilRef, symbolTable);
 9506|    124|        SpecialQualifier("gl_HelperInvocation", EvqVaryingIn,  EbvHelperInvocation, symbolTable);
 9507|       |
 9508|    124|        BuiltInVariable("gl_ClipDistance",    EbvClipDistance,   symbolTable);
 9509|    124|        BuiltInVariable("gl_CullDistance",    EbvCullDistance,   symbolTable);
 9510|    124|        BuiltInVariable("gl_PrimitiveID",     EbvPrimitiveId,    symbolTable);
 9511|       |
 9512|    124|        if (profile != EEsProfile && version >= 140) {
  ------------------
  |  Branch (9512:13): [True: 124, False: 0]
  |  Branch (9512:38): [True: 124, False: 0]
  ------------------
 9513|    124|            symbolTable.setVariableExtensions("gl_FragStencilRefARB", 1, &E_GL_ARB_shader_stencil_export);
 9514|    124|            BuiltInVariable("gl_FragStencilRefARB", EbvFragStencilRef, symbolTable);
 9515|    124|        }
 9516|       |
 9517|    124|        if (profile != EEsProfile && version < 400) {
  ------------------
  |  Branch (9517:13): [True: 124, False: 0]
  |  Branch (9517:38): [True: 108, False: 16]
  ------------------
 9518|    108|            symbolTable.setFunctionExtensions("textureQueryLOD", 1, &E_GL_ARB_texture_query_lod);
 9519|    108|        }
 9520|       |
 9521|    124|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (9521:13): [True: 124, False: 0]
  |  Branch (9521:38): [True: 1, False: 123]
  ------------------
 9522|      1|            symbolTable.setFunctionExtensions("rayQueryInitializeEXT",                                            1, &E_GL_EXT_ray_query);
 9523|      1|            symbolTable.setFunctionExtensions("rayQueryTerminateEXT",                                             1, &E_GL_EXT_ray_query);
 9524|      1|            symbolTable.setFunctionExtensions("rayQueryGenerateIntersectionEXT",                                  1, &E_GL_EXT_ray_query);
 9525|      1|            symbolTable.setFunctionExtensions("rayQueryConfirmIntersectionEXT",                                   1, &E_GL_EXT_ray_query);
 9526|      1|            symbolTable.setFunctionExtensions("rayQueryProceedEXT",                                               1, &E_GL_EXT_ray_query);
 9527|      1|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionTypeEXT",                                   1, &E_GL_EXT_ray_query);
 9528|      1|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionTEXT",                                      1, &E_GL_EXT_ray_query);
 9529|      1|            symbolTable.setFunctionExtensions("rayQueryGetRayFlagsEXT",                                           1, &E_GL_EXT_ray_query);
 9530|      1|            symbolTable.setFunctionExtensions("rayQueryGetRayTMinEXT",                                            1, &E_GL_EXT_ray_query);
 9531|      1|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionInstanceCustomIndexEXT",                    1, &E_GL_EXT_ray_query);
 9532|      1|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionInstanceIdEXT",                             1, &E_GL_EXT_ray_query);
 9533|      1|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetEXT", 1, &E_GL_EXT_ray_query);
 9534|      1|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionGeometryIndexEXT",                          1, &E_GL_EXT_ray_query);
 9535|      1|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionPrimitiveIndexEXT",                         1, &E_GL_EXT_ray_query);
 9536|      1|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionBarycentricsEXT",                           1, &E_GL_EXT_ray_query);
 9537|      1|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionFrontFaceEXT",                              1, &E_GL_EXT_ray_query);
 9538|      1|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionCandidateAABBOpaqueEXT",                    1, &E_GL_EXT_ray_query);
 9539|      1|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionObjectRayDirectionEXT",                     1, &E_GL_EXT_ray_query);
 9540|      1|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionObjectRayOriginEXT",                        1, &E_GL_EXT_ray_query);
 9541|      1|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionObjectToWorldEXT",                          1, &E_GL_EXT_ray_query);
 9542|      1|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionWorldToObjectEXT",                          1, &E_GL_EXT_ray_query);
 9543|      1|            symbolTable.setFunctionExtensions("rayQueryGetWorldRayOriginEXT",                                     1, &E_GL_EXT_ray_query);
 9544|      1|            symbolTable.setFunctionExtensions("rayQueryGetWorldRayDirectionEXT",                                  1, &E_GL_EXT_ray_query);
 9545|      1|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionTriangleVertexPositionsEXT",                1, &E_GL_EXT_ray_tracing_position_fetch);
 9546|      1|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionClusterIdNV",                               1, &E_GL_NV_cluster_acceleration_structure);
 9547|      1|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionSpherePositionNV",                          1, &E_GL_NV_linear_swept_spheres);
 9548|      1|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionSphereRadiusNV",                            1, &E_GL_NV_linear_swept_spheres);
 9549|      1|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionLSSHitValueNV",                             1, &E_GL_NV_linear_swept_spheres);
 9550|      1|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionLSSPositionsNV",                            1, &E_GL_NV_linear_swept_spheres);
 9551|      1|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionLSSRadiiNV",                                1, &E_GL_NV_linear_swept_spheres);
 9552|      1|            symbolTable.setFunctionExtensions("rayQueryIsSphereHitNV",                                            1, &E_GL_NV_linear_swept_spheres);
 9553|      1|            symbolTable.setFunctionExtensions("rayQueryIsLSSHitNV",                                               1, &E_GL_NV_linear_swept_spheres);
 9554|      1|            symbolTable.setVariableExtensions("gl_RayFlagsSkipAABBEXT",                         1, &E_GL_EXT_ray_flags_primitive_culling);
 9555|      1|            symbolTable.setVariableExtensions("gl_RayFlagsSkipTrianglesEXT",                    1, &E_GL_EXT_ray_flags_primitive_culling);
 9556|      1|            symbolTable.setVariableExtensions("gl_RayFlagsForceOpacityMicromap2StateEXT",                  1, &E_GL_EXT_opacity_micromap);
 9557|      1|            symbolTable.setVariableExtensions("gl_EnableOpacityMicromapEXT",                    1, &E_GL_EXT_opacity_micromap_ray_query_mode);
 9558|      1|        }
 9559|       |
 9560|    124|        if ((profile != EEsProfile && version >= 130) ||
  ------------------
  |  Branch (9560:14): [True: 124, False: 0]
  |  Branch (9560:39): [True: 124, False: 0]
  ------------------
 9561|    124|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (9561:14): [True: 0, False: 0]
  |  Branch (9561:39): [True: 0, False: 0]
  ------------------
 9562|    124|            BuiltInVariable("gl_SampleID",           EbvSampleId,       symbolTable);
 9563|    124|            BuiltInVariable("gl_SamplePosition",     EbvSamplePosition, symbolTable);
 9564|    124|            BuiltInVariable("gl_SampleMask",         EbvSampleMask,     symbolTable);
 9565|       |
 9566|    124|            if (profile != EEsProfile && version < 400) {
  ------------------
  |  Branch (9566:17): [True: 124, False: 0]
  |  Branch (9566:42): [True: 108, False: 16]
  ------------------
 9567|    108|                BuiltInVariable("gl_SampleMaskIn",    EbvSampleMask,     symbolTable);
 9568|    108|                symbolTable.setVariableExtensions("gl_SampleMaskIn", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9569|       |
 9570|    108|                BuiltInVariable("gl_NumSamples",     EbvSampleMask,     symbolTable);
 9571|       |
 9572|    108|                symbolTable.setVariableExtensions("gl_SampleMask",     1, &E_GL_ARB_sample_shading);
 9573|    108|                symbolTable.setVariableExtensions("gl_SampleID",       1, &E_GL_ARB_sample_shading);
 9574|    108|                symbolTable.setVariableExtensions("gl_SamplePosition", 1, &E_GL_ARB_sample_shading);
 9575|    108|                symbolTable.setVariableExtensions("gl_NumSamples",     1, &E_GL_ARB_sample_shading);
 9576|    108|            } else {
 9577|     16|                BuiltInVariable("gl_SampleMaskIn",    EbvSampleMask,     symbolTable);
 9578|       |
 9579|     16|                if (profile == EEsProfile && version < 320) {
  ------------------
  |  Branch (9579:21): [True: 0, False: 16]
  |  Branch (9579:46): [True: 0, False: 0]
  ------------------
 9580|      0|                    symbolTable.setVariableExtensions("gl_SampleID", 1, &E_GL_OES_sample_variables);
 9581|      0|                    symbolTable.setVariableExtensions("gl_SamplePosition", 1, &E_GL_OES_sample_variables);
 9582|      0|                    symbolTable.setVariableExtensions("gl_SampleMaskIn", 1, &E_GL_OES_sample_variables);
 9583|      0|                    symbolTable.setVariableExtensions("gl_SampleMask", 1, &E_GL_OES_sample_variables);
 9584|      0|                    symbolTable.setVariableExtensions("gl_NumSamples", 1, &E_GL_OES_sample_variables);
 9585|      0|                }
 9586|     16|            }
 9587|    124|        }
 9588|       |
 9589|    124|        BuiltInVariable("gl_Layer",           EbvLayer,          symbolTable);
 9590|    124|        BuiltInVariable("gl_ViewportIndex",   EbvViewportIndex,  symbolTable);
 9591|       |
 9592|       |        // Compatibility variables
 9593|       |
 9594|    124|        BuiltInVariable("gl_in", "gl_FogFragCoord",   EbvFogFragCoord,   symbolTable);
 9595|    124|        BuiltInVariable("gl_in", "gl_TexCoord",       EbvTexCoord,       symbolTable);
 9596|    124|        BuiltInVariable("gl_in", "gl_Color",          EbvColor,          symbolTable);
 9597|    124|        BuiltInVariable("gl_in", "gl_SecondaryColor", EbvSecondaryColor, symbolTable);
 9598|       |
 9599|    124|        BuiltInVariable("gl_FogFragCoord",   EbvFogFragCoord,   symbolTable);
 9600|    124|        BuiltInVariable("gl_TexCoord",       EbvTexCoord,       symbolTable);
 9601|    124|        BuiltInVariable("gl_Color",          EbvColor,          symbolTable);
 9602|    124|        BuiltInVariable("gl_SecondaryColor", EbvSecondaryColor, symbolTable);
 9603|       |
 9604|       |        // built-in functions
 9605|       |
 9606|    124|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9606:13): [True: 0, False: 124]
  ------------------
 9607|      0|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (9607:17): [True: 0, False: 0]
  ------------------
 9608|      0|                symbolTable.setFunctionExtensions("texture2DLodEXT",      1, &E_GL_EXT_shader_texture_lod);
 9609|      0|                symbolTable.setFunctionExtensions("texture2DProjLodEXT",  1, &E_GL_EXT_shader_texture_lod);
 9610|      0|                symbolTable.setFunctionExtensions("textureCubeLodEXT",    1, &E_GL_EXT_shader_texture_lod);
 9611|      0|                symbolTable.setFunctionExtensions("texture2DGradEXT",     1, &E_GL_EXT_shader_texture_lod);
 9612|      0|                symbolTable.setFunctionExtensions("texture2DProjGradEXT", 1, &E_GL_EXT_shader_texture_lod);
 9613|      0|                symbolTable.setFunctionExtensions("textureCubeGradEXT",   1, &E_GL_EXT_shader_texture_lod);
 9614|      0|                if (version < 320)
  ------------------
  |  Branch (9614:21): [True: 0, False: 0]
  ------------------
 9615|      0|                    symbolTable.setFunctionExtensions("textureGatherOffsets", Num_AEP_gpu_shader5, AEP_gpu_shader5);
 9616|      0|            }
 9617|      0|            if (version == 100) {
  ------------------
  |  Branch (9617:17): [True: 0, False: 0]
  ------------------
 9618|      0|                symbolTable.setFunctionExtensions("dFdx",   1, &E_GL_OES_standard_derivatives);
 9619|      0|                symbolTable.setFunctionExtensions("dFdy",   1, &E_GL_OES_standard_derivatives);
 9620|      0|                symbolTable.setFunctionExtensions("fwidth", 1, &E_GL_OES_standard_derivatives);
 9621|      0|            }
 9622|      0|            if (version == 310) {
  ------------------
  |  Branch (9622:17): [True: 0, False: 0]
  ------------------
 9623|      0|                symbolTable.setFunctionExtensions("fma", Num_AEP_gpu_shader5, AEP_gpu_shader5);
 9624|      0|                symbolTable.setFunctionExtensions("interpolateAtCentroid", 1, &E_GL_OES_shader_multisample_interpolation);
 9625|      0|                symbolTable.setFunctionExtensions("interpolateAtSample",   1, &E_GL_OES_shader_multisample_interpolation);
 9626|      0|                symbolTable.setFunctionExtensions("interpolateAtOffset",   1, &E_GL_OES_shader_multisample_interpolation);
 9627|      0|            }
 9628|    124|        } else if (version < 130) {
  ------------------
  |  Branch (9628:20): [True: 0, False: 124]
  ------------------
 9629|      0|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (9629:17): [True: 0, False: 0]
  ------------------
 9630|      0|                symbolTable.setFunctionExtensions("texture1DLod",        1, &E_GL_ARB_shader_texture_lod);
 9631|      0|                symbolTable.setFunctionExtensions("texture2DLod",        1, &E_GL_ARB_shader_texture_lod);
 9632|      0|                symbolTable.setFunctionExtensions("texture3DLod",        1, &E_GL_ARB_shader_texture_lod);
 9633|      0|                symbolTable.setFunctionExtensions("textureCubeLod",      1, &E_GL_ARB_shader_texture_lod);
 9634|      0|                symbolTable.setFunctionExtensions("texture1DProjLod",    1, &E_GL_ARB_shader_texture_lod);
 9635|      0|                symbolTable.setFunctionExtensions("texture2DProjLod",    1, &E_GL_ARB_shader_texture_lod);
 9636|      0|                symbolTable.setFunctionExtensions("texture3DProjLod",    1, &E_GL_ARB_shader_texture_lod);
 9637|      0|                symbolTable.setFunctionExtensions("shadow1DLod",         1, &E_GL_ARB_shader_texture_lod);
 9638|      0|                symbolTable.setFunctionExtensions("shadow2DLod",         1, &E_GL_ARB_shader_texture_lod);
 9639|      0|                symbolTable.setFunctionExtensions("shadow1DProjLod",     1, &E_GL_ARB_shader_texture_lod);
 9640|      0|                symbolTable.setFunctionExtensions("shadow2DProjLod",     1, &E_GL_ARB_shader_texture_lod);
 9641|      0|            }
 9642|      0|        }
 9643|       |
 9644|       |        // E_GL_ARB_shader_texture_lod functions usable only with the extension enabled
 9645|    124|        if (profile != EEsProfile && spvVersion.spv == 0) {
  ------------------
  |  Branch (9645:13): [True: 124, False: 0]
  |  Branch (9645:38): [True: 0, False: 124]
  ------------------
 9646|      0|            symbolTable.setFunctionExtensions("texture1DGradARB",         1, &E_GL_ARB_shader_texture_lod);
 9647|      0|            symbolTable.setFunctionExtensions("texture1DProjGradARB",     1, &E_GL_ARB_shader_texture_lod);
 9648|      0|            symbolTable.setFunctionExtensions("texture2DGradARB",         1, &E_GL_ARB_shader_texture_lod);
 9649|      0|            symbolTable.setFunctionExtensions("texture2DProjGradARB",     1, &E_GL_ARB_shader_texture_lod);
 9650|      0|            symbolTable.setFunctionExtensions("texture3DGradARB",         1, &E_GL_ARB_shader_texture_lod);
 9651|      0|            symbolTable.setFunctionExtensions("texture3DProjGradARB",     1, &E_GL_ARB_shader_texture_lod);
 9652|      0|            symbolTable.setFunctionExtensions("textureCubeGradARB",       1, &E_GL_ARB_shader_texture_lod);
 9653|      0|            symbolTable.setFunctionExtensions("shadow1DGradARB",          1, &E_GL_ARB_shader_texture_lod);
 9654|      0|            symbolTable.setFunctionExtensions("shadow1DProjGradARB",      1, &E_GL_ARB_shader_texture_lod);
 9655|      0|            symbolTable.setFunctionExtensions("shadow2DGradARB",          1, &E_GL_ARB_shader_texture_lod);
 9656|      0|            symbolTable.setFunctionExtensions("shadow2DProjGradARB",      1, &E_GL_ARB_shader_texture_lod);
 9657|      0|            symbolTable.setFunctionExtensions("texture2DRectGradARB",     1, &E_GL_ARB_shader_texture_lod);
 9658|      0|            symbolTable.setFunctionExtensions("texture2DRectProjGradARB", 1, &E_GL_ARB_shader_texture_lod);
 9659|      0|            symbolTable.setFunctionExtensions("shadow2DRectGradARB",      1, &E_GL_ARB_shader_texture_lod);
 9660|      0|            symbolTable.setFunctionExtensions("shadow2DRectProjGradARB",  1, &E_GL_ARB_shader_texture_lod);
 9661|      0|        }
 9662|       |
 9663|       |        // E_GL_ARB_shader_image_load_store
 9664|    124|        if (profile != EEsProfile && version < 420)
  ------------------
  |  Branch (9664:13): [True: 124, False: 0]
  |  Branch (9664:38): [True: 111, False: 13]
  ------------------
 9665|    111|            symbolTable.setFunctionExtensions("memoryBarrier", 1, &E_GL_ARB_shader_image_load_store);
 9666|       |        // All the image access functions are protected by checks on the type of the first argument.
 9667|       |
 9668|       |        // E_GL_ARB_shader_atomic_counters
 9669|    124|        if (profile != EEsProfile && version < 420) {
  ------------------
  |  Branch (9669:13): [True: 124, False: 0]
  |  Branch (9669:38): [True: 111, False: 13]
  ------------------
 9670|    111|            symbolTable.setFunctionExtensions("atomicCounterIncrement", 1, &E_GL_ARB_shader_atomic_counters);
 9671|    111|            symbolTable.setFunctionExtensions("atomicCounterDecrement", 1, &E_GL_ARB_shader_atomic_counters);
 9672|    111|            symbolTable.setFunctionExtensions("atomicCounter"         , 1, &E_GL_ARB_shader_atomic_counters);
 9673|    111|        }
 9674|       |
 9675|       |        // E_GL_ARB_gpu_shader5/E_GL_NV_gpu_shader5 
 9676|    124|        if (profile != EEsProfile && version < 400) {
  ------------------
  |  Branch (9676:13): [True: 124, False: 0]
  |  Branch (9676:38): [True: 108, False: 16]
  ------------------
 9677|    108|            symbolTable.setFunctionExtensions("bitfieldExtract", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9678|    108|            symbolTable.setFunctionExtensions("bitfieldInsert", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9679|    108|            symbolTable.setFunctionExtensions("bitfieldReverse", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9680|    108|            symbolTable.setFunctionExtensions("bitCount", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9681|    108|            symbolTable.setFunctionExtensions("findLSB", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9682|    108|            symbolTable.setFunctionExtensions("findMSB", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9683|    108|            symbolTable.setFunctionExtensions("uaddCarry", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9684|    108|            symbolTable.setFunctionExtensions("usubBorrow", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9685|    108|            symbolTable.setFunctionExtensions("umulExtended", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9686|    108|            symbolTable.setFunctionExtensions("imulExtended", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9687|    108|            symbolTable.setFunctionExtensions("interpolateAtCentroid", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9688|    108|            symbolTable.setFunctionExtensions("interpolateAtSample", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9689|    108|            symbolTable.setFunctionExtensions("interpolateAtOffset", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9690|    108|        }
 9691|       |
 9692|       |        // E_GL_NV_gpu_shader5
 9693|    124|        if (profile != EEsProfile && version < 450) {
  ------------------
  |  Branch (9693:13): [True: 124, False: 0]
  |  Branch (9693:38): [True: 112, False: 12]
  ------------------
 9694|    112|            symbolTable.setFunctionExtensions("packInt2x32",     1, &E_GL_NV_gpu_shader5);
 9695|    112|            symbolTable.setFunctionExtensions("packUint2x32",     1, &E_GL_NV_gpu_shader5);
 9696|    112|            symbolTable.setFunctionExtensions("unpackInt2x32",     1, &E_GL_NV_gpu_shader5);
 9697|    112|            symbolTable.setFunctionExtensions("unpackUint2x32",     1, &E_GL_NV_gpu_shader5);
 9698|    112|            symbolTable.setFunctionExtensions("packFloat2x16",     1, &E_GL_NV_gpu_shader5);
 9699|    112|            symbolTable.setFunctionExtensions("unpackFloat2x16",     1, &E_GL_NV_gpu_shader5);
 9700|    112|            symbolTable.setFunctionExtensions("doubleBitsToInt64",     1, &E_GL_NV_gpu_shader5);
 9701|    112|            symbolTable.setFunctionExtensions("doubleBitsToUint64",     1, &E_GL_NV_gpu_shader5);
 9702|    112|            symbolTable.setFunctionExtensions("int64BitsToDouble",     1, &E_GL_NV_gpu_shader5);
 9703|    112|            symbolTable.setFunctionExtensions("uint64BitsToDouble",     1, &E_GL_NV_gpu_shader5);
 9704|    112|        }
 9705|       |
 9706|       |        // E_GL_ARB_shader_atomic_counter_ops
 9707|    124|        if (profile != EEsProfile && version == 450) {
  ------------------
  |  Branch (9707:13): [True: 124, False: 0]
  |  Branch (9707:38): [True: 11, False: 113]
  ------------------
 9708|     11|            symbolTable.setFunctionExtensions("atomicCounterAddARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9709|     11|            symbolTable.setFunctionExtensions("atomicCounterSubtractARB", 1, &E_GL_ARB_shader_atomic_counter_ops);
 9710|     11|            symbolTable.setFunctionExtensions("atomicCounterMinARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9711|     11|            symbolTable.setFunctionExtensions("atomicCounterMaxARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9712|     11|            symbolTable.setFunctionExtensions("atomicCounterAndARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9713|     11|            symbolTable.setFunctionExtensions("atomicCounterOrARB"      , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9714|     11|            symbolTable.setFunctionExtensions("atomicCounterXorARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9715|     11|            symbolTable.setFunctionExtensions("atomicCounterExchangeARB", 1, &E_GL_ARB_shader_atomic_counter_ops);
 9716|     11|            symbolTable.setFunctionExtensions("atomicCounterCompSwapARB", 1, &E_GL_ARB_shader_atomic_counter_ops);
 9717|     11|        }
 9718|       |
 9719|       |        // E_GL_ARB_derivative_control
 9720|    124|        if (profile != EEsProfile && version < 450) {
  ------------------
  |  Branch (9720:13): [True: 124, False: 0]
  |  Branch (9720:38): [True: 112, False: 12]
  ------------------
 9721|    112|            symbolTable.setFunctionExtensions("dFdxFine",     1, &E_GL_ARB_derivative_control);
 9722|    112|            symbolTable.setFunctionExtensions("dFdyFine",     1, &E_GL_ARB_derivative_control);
 9723|    112|            symbolTable.setFunctionExtensions("fwidthFine",   1, &E_GL_ARB_derivative_control);
 9724|    112|            symbolTable.setFunctionExtensions("dFdxCoarse",   1, &E_GL_ARB_derivative_control);
 9725|    112|            symbolTable.setFunctionExtensions("dFdyCoarse",   1, &E_GL_ARB_derivative_control);
 9726|    112|            symbolTable.setFunctionExtensions("fwidthCoarse", 1, &E_GL_ARB_derivative_control);
 9727|    112|        }
 9728|       |
 9729|       |        // E_GL_ARB_sparse_texture2
 9730|    124|        if (profile != EEsProfile)
  ------------------
  |  Branch (9730:13): [True: 124, False: 0]
  ------------------
 9731|    124|        {
 9732|    124|            symbolTable.setFunctionExtensions("sparseTextureARB",              1, &E_GL_ARB_sparse_texture2);
 9733|    124|            symbolTable.setFunctionExtensions("sparseTextureLodARB",           1, &E_GL_ARB_sparse_texture2);
 9734|    124|            symbolTable.setFunctionExtensions("sparseTextureOffsetARB",        1, &E_GL_ARB_sparse_texture2);
 9735|    124|            symbolTable.setFunctionExtensions("sparseTexelFetchARB",           1, &E_GL_ARB_sparse_texture2);
 9736|    124|            symbolTable.setFunctionExtensions("sparseTexelFetchOffsetARB",     1, &E_GL_ARB_sparse_texture2);
 9737|    124|            symbolTable.setFunctionExtensions("sparseTextureLodOffsetARB",     1, &E_GL_ARB_sparse_texture2);
 9738|    124|            symbolTable.setFunctionExtensions("sparseTextureGradARB",          1, &E_GL_ARB_sparse_texture2);
 9739|    124|            symbolTable.setFunctionExtensions("sparseTextureGradOffsetARB",    1, &E_GL_ARB_sparse_texture2);
 9740|    124|            symbolTable.setFunctionExtensions("sparseTextureGatherARB",        1, &E_GL_ARB_sparse_texture2);
 9741|    124|            symbolTable.setFunctionExtensions("sparseTextureGatherOffsetARB",  1, &E_GL_ARB_sparse_texture2);
 9742|    124|            symbolTable.setFunctionExtensions("sparseTextureGatherOffsetsARB", 1, &E_GL_ARB_sparse_texture2);
 9743|    124|            symbolTable.setFunctionExtensions("sparseImageLoadARB",            1, &E_GL_ARB_sparse_texture2);
 9744|    124|            symbolTable.setFunctionExtensions("sparseTexelsResident",          1, &E_GL_ARB_sparse_texture2);
 9745|    124|        }
 9746|       |
 9747|       |        // E_GL_ARB_sparse_texture_clamp
 9748|    124|        if (profile != EEsProfile)
  ------------------
  |  Branch (9748:13): [True: 124, False: 0]
  ------------------
 9749|    124|        {
 9750|    124|            symbolTable.setFunctionExtensions("sparseTextureClampARB",              1, &E_GL_ARB_sparse_texture_clamp);
 9751|    124|            symbolTable.setFunctionExtensions("sparseTextureOffsetClampARB",        1, &E_GL_ARB_sparse_texture_clamp);
 9752|    124|            symbolTable.setFunctionExtensions("sparseTextureGradClampARB",          1, &E_GL_ARB_sparse_texture_clamp);
 9753|    124|            symbolTable.setFunctionExtensions("sparseTextureGradOffsetClampARB",    1, &E_GL_ARB_sparse_texture_clamp);
 9754|    124|            symbolTable.setFunctionExtensions("textureClampARB",                    1, &E_GL_ARB_sparse_texture_clamp);
 9755|    124|            symbolTable.setFunctionExtensions("textureOffsetClampARB",              1, &E_GL_ARB_sparse_texture_clamp);
 9756|    124|            symbolTable.setFunctionExtensions("textureGradClampARB",                1, &E_GL_ARB_sparse_texture_clamp);
 9757|    124|            symbolTable.setFunctionExtensions("textureGradOffsetClampARB",          1, &E_GL_ARB_sparse_texture_clamp);
 9758|    124|        }
 9759|       |
 9760|       |        // E_GL_AMD_shader_explicit_vertex_parameter
 9761|    124|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9761:13): [True: 124, False: 0]
  ------------------
 9762|    124|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspAMD",         1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9763|    124|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspCentroidAMD", 1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9764|    124|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspSampleAMD",   1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9765|    124|            symbolTable.setVariableExtensions("gl_BaryCoordSmoothAMD",          1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9766|    124|            symbolTable.setVariableExtensions("gl_BaryCoordSmoothCentroidAMD",  1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9767|    124|            symbolTable.setVariableExtensions("gl_BaryCoordSmoothSampleAMD",    1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9768|    124|            symbolTable.setVariableExtensions("gl_BaryCoordPullModelAMD",       1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9769|       |
 9770|    124|            symbolTable.setFunctionExtensions("interpolateAtVertexAMD",         1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9771|       |
 9772|    124|            BuiltInVariable("gl_BaryCoordNoPerspAMD",           EbvBaryCoordNoPersp,         symbolTable);
 9773|    124|            BuiltInVariable("gl_BaryCoordNoPerspCentroidAMD",   EbvBaryCoordNoPerspCentroid, symbolTable);
 9774|    124|            BuiltInVariable("gl_BaryCoordNoPerspSampleAMD",     EbvBaryCoordNoPerspSample,   symbolTable);
 9775|    124|            BuiltInVariable("gl_BaryCoordSmoothAMD",            EbvBaryCoordSmooth,          symbolTable);
 9776|    124|            BuiltInVariable("gl_BaryCoordSmoothCentroidAMD",    EbvBaryCoordSmoothCentroid,  symbolTable);
 9777|    124|            BuiltInVariable("gl_BaryCoordSmoothSampleAMD",      EbvBaryCoordSmoothSample,    symbolTable);
 9778|    124|            BuiltInVariable("gl_BaryCoordPullModelAMD",         EbvBaryCoordPullModel,       symbolTable);
 9779|    124|        }
 9780|       |
 9781|       |        // E_GL_AMD_texture_gather_bias_lod
 9782|    124|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9782:13): [True: 124, False: 0]
  ------------------
 9783|    124|            symbolTable.setFunctionExtensions("textureGatherLodAMD",                1, &E_GL_AMD_texture_gather_bias_lod);
 9784|    124|            symbolTable.setFunctionExtensions("textureGatherLodOffsetAMD",          1, &E_GL_AMD_texture_gather_bias_lod);
 9785|    124|            symbolTable.setFunctionExtensions("textureGatherLodOffsetsAMD",         1, &E_GL_AMD_texture_gather_bias_lod);
 9786|    124|            symbolTable.setFunctionExtensions("sparseTextureGatherLodAMD",          1, &E_GL_AMD_texture_gather_bias_lod);
 9787|    124|            symbolTable.setFunctionExtensions("sparseTextureGatherLodOffsetAMD",    1, &E_GL_AMD_texture_gather_bias_lod);
 9788|    124|            symbolTable.setFunctionExtensions("sparseTextureGatherLodOffsetsAMD",   1, &E_GL_AMD_texture_gather_bias_lod);
 9789|    124|        }
 9790|       |
 9791|       |        // E_GL_AMD_shader_image_load_store_lod
 9792|    124|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9792:13): [True: 124, False: 0]
  ------------------
 9793|    124|            symbolTable.setFunctionExtensions("imageLoadLodAMD",        1, &E_GL_AMD_shader_image_load_store_lod);
 9794|    124|            symbolTable.setFunctionExtensions("imageStoreLodAMD",       1, &E_GL_AMD_shader_image_load_store_lod);
 9795|    124|            symbolTable.setFunctionExtensions("sparseImageLoadLodAMD",  1, &E_GL_AMD_shader_image_load_store_lod);
 9796|    124|        }
 9797|    124|        if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (9797:13): [True: 124, False: 0]
  |  Branch (9797:38): [True: 12, False: 112]
  ------------------
 9798|     12|            symbolTable.setVariableExtensions("gl_FragFullyCoveredNV", 1, &E_GL_NV_conservative_raster_underestimation);
 9799|     12|            BuiltInVariable("gl_FragFullyCoveredNV", EbvFragFullyCoveredNV, symbolTable);
 9800|     12|        }
 9801|    124|        if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (9801:14): [True: 124, False: 0]
  |  Branch (9801:39): [True: 12, False: 112]
  ------------------
 9802|    112|            (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (9802:14): [True: 0, False: 112]
  |  Branch (9802:39): [True: 0, False: 0]
  ------------------
 9803|     12|            symbolTable.setVariableExtensions("gl_FragmentSizeNV",        1, &E_GL_NV_shading_rate_image);
 9804|     12|            symbolTable.setVariableExtensions("gl_InvocationsPerPixelNV", 1, &E_GL_NV_shading_rate_image);
 9805|     12|            BuiltInVariable("gl_FragmentSizeNV",        EbvFragmentSizeNV, symbolTable);
 9806|     12|            BuiltInVariable("gl_InvocationsPerPixelNV", EbvInvocationsPerPixelNV, symbolTable);
 9807|     12|            symbolTable.setVariableExtensions("gl_BaryCoordNV",        1, &E_GL_NV_fragment_shader_barycentric);
 9808|     12|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspNV", 1, &E_GL_NV_fragment_shader_barycentric);
 9809|     12|            BuiltInVariable("gl_BaryCoordNV",        EbvBaryCoordNV,        symbolTable);
 9810|     12|            BuiltInVariable("gl_BaryCoordNoPerspNV", EbvBaryCoordNoPerspNV, symbolTable);
 9811|     12|            symbolTable.setVariableExtensions("gl_BaryCoordEXT",        1, &E_GL_EXT_fragment_shader_barycentric);
 9812|     12|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspEXT", 1, &E_GL_EXT_fragment_shader_barycentric);
 9813|     12|            BuiltInVariable("gl_BaryCoordEXT",        EbvBaryCoordEXT,        symbolTable);
 9814|     12|            BuiltInVariable("gl_BaryCoordNoPerspEXT", EbvBaryCoordNoPerspEXT, symbolTable);
 9815|     12|        }
 9816|       |
 9817|    124|        if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (9817:14): [True: 124, False: 0]
  |  Branch (9817:39): [True: 12, False: 112]
  ------------------
 9818|    112|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (9818:14): [True: 0, False: 112]
  |  Branch (9818:39): [True: 0, False: 0]
  ------------------
 9819|     12|            symbolTable.setVariableExtensions("gl_FragSizeEXT",            1, &E_GL_EXT_fragment_invocation_density);
 9820|     12|            symbolTable.setVariableExtensions("gl_FragInvocationCountEXT", 1, &E_GL_EXT_fragment_invocation_density);
 9821|     12|            BuiltInVariable("gl_FragSizeEXT",            EbvFragSizeEXT, symbolTable);
 9822|     12|            BuiltInVariable("gl_FragInvocationCountEXT", EbvFragInvocationCountEXT, symbolTable);
 9823|     12|        }
 9824|       |
 9825|    124|        symbolTable.setVariableExtensions("gl_FragDepthEXT", 1, &E_GL_EXT_frag_depth);
 9826|       |
 9827|    124|        symbolTable.setFunctionExtensions("clockARB",     1, &E_GL_ARB_shader_clock);
 9828|    124|        symbolTable.setFunctionExtensions("clock2x32ARB", 1, &E_GL_ARB_shader_clock);
 9829|       |
 9830|    124|        symbolTable.setFunctionExtensions("clockRealtimeEXT", 1, &E_GL_EXT_shader_realtime_clock);
 9831|    124|        symbolTable.setFunctionExtensions("clockRealtime2x32EXT", 1, &E_GL_EXT_shader_realtime_clock);
 9832|       |
 9833|    124|        if (profile == EEsProfile && version < 320) {
  ------------------
  |  Branch (9833:13): [True: 0, False: 124]
  |  Branch (9833:38): [True: 0, False: 0]
  ------------------
 9834|      0|            symbolTable.setVariableExtensions("gl_PrimitiveID",  Num_AEP_geometry_shader, AEP_geometry_shader);
 9835|      0|            symbolTable.setVariableExtensions("gl_Layer",        Num_AEP_geometry_shader, AEP_geometry_shader);
 9836|      0|        }
 9837|       |
 9838|    124|        if (profile == EEsProfile && version < 320) {
  ------------------
  |  Branch (9838:13): [True: 0, False: 124]
  |  Branch (9838:38): [True: 0, False: 0]
  ------------------
 9839|      0|            symbolTable.setFunctionExtensions("imageAtomicAdd",      1, &E_GL_OES_shader_image_atomic);
 9840|      0|            symbolTable.setFunctionExtensions("imageAtomicMin",      1, &E_GL_OES_shader_image_atomic);
 9841|      0|            symbolTable.setFunctionExtensions("imageAtomicMax",      1, &E_GL_OES_shader_image_atomic);
 9842|      0|            symbolTable.setFunctionExtensions("imageAtomicAnd",      1, &E_GL_OES_shader_image_atomic);
 9843|      0|            symbolTable.setFunctionExtensions("imageAtomicOr",       1, &E_GL_OES_shader_image_atomic);
 9844|      0|            symbolTable.setFunctionExtensions("imageAtomicXor",      1, &E_GL_OES_shader_image_atomic);
 9845|      0|            symbolTable.setFunctionExtensions("imageAtomicExchange", 1, &E_GL_OES_shader_image_atomic);
 9846|      0|            symbolTable.setFunctionExtensions("imageAtomicCompSwap", 1, &E_GL_OES_shader_image_atomic);
 9847|      0|        }
 9848|       |
 9849|    124|        if (profile != EEsProfile && version < 330 ) {
  ------------------
  |  Branch (9849:13): [True: 124, False: 0]
  |  Branch (9849:38): [True: 108, False: 16]
  ------------------
 9850|    108|            const int numBitEncodingExts = 3;
 9851|    108|            const char* bitEncodingExts[numBitEncodingExts] = { E_GL_ARB_shader_bit_encoding,
 9852|    108|                                                                E_GL_ARB_gpu_shader5,
 9853|    108|                                                                E_GL_NV_gpu_shader5};
 9854|    108|            symbolTable.setFunctionExtensions("floatBitsToInt", numBitEncodingExts, bitEncodingExts);
 9855|    108|            symbolTable.setFunctionExtensions("floatBitsToUint", numBitEncodingExts, bitEncodingExts);
 9856|    108|            symbolTable.setFunctionExtensions("intBitsToFloat", numBitEncodingExts, bitEncodingExts);
 9857|    108|            symbolTable.setFunctionExtensions("uintBitsToFloat", numBitEncodingExts, bitEncodingExts);
 9858|       |
 9859|    108|        }
 9860|       |
 9861|    124|        if (profile != EEsProfile && version < 430 ) {
  ------------------
  |  Branch (9861:13): [True: 124, False: 0]
  |  Branch (9861:38): [True: 112, False: 12]
  ------------------
 9862|    112|            symbolTable.setFunctionExtensions("imageSize", 1, &E_GL_ARB_shader_image_size);
 9863|    112|        }
 9864|       |
 9865|       |        // GL_ARB_shader_storage_buffer_object
 9866|    124|        if (profile != EEsProfile && version < 430 ) {
  ------------------
  |  Branch (9866:13): [True: 124, False: 0]
  |  Branch (9866:38): [True: 112, False: 12]
  ------------------
 9867|    112|            symbolTable.setFunctionExtensions("atomicAdd", 1, &E_GL_ARB_shader_storage_buffer_object);
 9868|    112|            symbolTable.setFunctionExtensions("atomicMin", 1, &E_GL_ARB_shader_storage_buffer_object);
 9869|    112|            symbolTable.setFunctionExtensions("atomicMax", 1, &E_GL_ARB_shader_storage_buffer_object);
 9870|    112|            symbolTable.setFunctionExtensions("atomicAnd", 1, &E_GL_ARB_shader_storage_buffer_object);
 9871|    112|            symbolTable.setFunctionExtensions("atomicOr", 1, &E_GL_ARB_shader_storage_buffer_object);
 9872|    112|            symbolTable.setFunctionExtensions("atomicXor", 1, &E_GL_ARB_shader_storage_buffer_object);
 9873|    112|            symbolTable.setFunctionExtensions("atomicExchange", 1, &E_GL_ARB_shader_storage_buffer_object);
 9874|    112|            symbolTable.setFunctionExtensions("atomicCompSwap", 1, &E_GL_ARB_shader_storage_buffer_object);
 9875|    112|        }
 9876|       |
 9877|       |        // GL_ARB_shading_language_packing
 9878|    124|        if (profile != EEsProfile && version < 400 ) {
  ------------------
  |  Branch (9878:13): [True: 124, False: 0]
  |  Branch (9878:38): [True: 108, False: 16]
  ------------------
 9879|    108|            const int numPackingExts = 3;
 9880|    108|            const char* packingExts[numPackingExts] = { E_GL_ARB_shading_language_packing,
 9881|    108|                                                                E_GL_ARB_gpu_shader5,
 9882|    108|                                                                E_GL_NV_gpu_shader5};
 9883|    108|            symbolTable.setFunctionExtensions("packUnorm2x16", numPackingExts, packingExts);
 9884|    108|            symbolTable.setFunctionExtensions("unpackUnorm2x16", numPackingExts, packingExts);
 9885|    108|            symbolTable.setFunctionExtensions("packSnorm4x8", numPackingExts, packingExts);
 9886|    108|            symbolTable.setFunctionExtensions("packUnorm4x8", numPackingExts, packingExts);
 9887|    108|            symbolTable.setFunctionExtensions("unpackSnorm4x8", numPackingExts, packingExts);
 9888|    108|            symbolTable.setFunctionExtensions("unpackUnorm4x8", numPackingExts, packingExts);
 9889|    108|        }
 9890|    124|        if (profile != EEsProfile && version < 420 ) {
  ------------------
  |  Branch (9890:13): [True: 124, False: 0]
  |  Branch (9890:38): [True: 111, False: 13]
  ------------------
 9891|    111|            symbolTable.setFunctionExtensions("packSnorm2x16", 1, &E_GL_ARB_shading_language_packing);
 9892|    111|            symbolTable.setFunctionExtensions("unpackSnorm2x16", 1, &E_GL_ARB_shading_language_packing);
 9893|    111|            symbolTable.setFunctionExtensions("unpackHalf2x16", 1, &E_GL_ARB_shading_language_packing);
 9894|    111|            symbolTable.setFunctionExtensions("packHalf2x16", 1, &E_GL_ARB_shading_language_packing);
 9895|    111|        }
 9896|       |
 9897|    124|        symbolTable.setVariableExtensions("gl_DeviceIndex",  1, &E_GL_EXT_device_group);
 9898|    124|        BuiltInVariable("gl_DeviceIndex", EbvDeviceIndex, symbolTable);
 9899|    124|        symbolTable.setVariableExtensions("gl_ViewIndex", 1, &E_GL_EXT_multiview);
 9900|    124|        BuiltInVariable("gl_ViewIndex", EbvViewIndex, symbolTable);
 9901|    124|        if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (9901:13): [True: 16, False: 108]
  ------------------
 9902|     16|            symbolTable.setVariableExtensions("gl_ViewID_OVR", Num_OVR_multiview_EXTs, OVR_multiview_EXTs);
 9903|     16|            BuiltInVariable("gl_ViewID_OVR", EbvViewIndex, symbolTable);
 9904|     16|        }
 9905|       |
 9906|       |        // GL_ARB_shader_ballot
 9907|    124|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9907:13): [True: 124, False: 0]
  ------------------
 9908|    124|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
 9909|    124|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
 9910|    124|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
 9911|    124|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
 9912|    124|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
 9913|    124|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
 9914|    124|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
 9915|       |
 9916|    124|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
 9917|    124|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
 9918|    124|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
 9919|    124|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
 9920|    124|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
 9921|    124|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
 9922|       |
 9923|    124|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (9923:17): [True: 124, False: 0]
  ------------------
 9924|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
 9925|    124|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
 9926|    124|                if (language == EShLangFragment)
  ------------------
  |  Branch (9926:21): [True: 124, False: 0]
  ------------------
 9927|    124|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
 9928|    124|            }
 9929|      0|            else
 9930|      0|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
 9931|    124|        }
 9932|       |
 9933|       |        // GL_EXT_expect_assume
 9934|    124|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (9934:14): [True: 0, False: 124]
  |  Branch (9934:39): [True: 0, False: 0]
  ------------------
 9935|    124|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (9935:14): [True: 124, False: 0]
  |  Branch (9935:39): [True: 124, False: 0]
  ------------------
 9936|    124|            symbolTable.setFunctionExtensions("assumeEXT", 1, &E_GL_EXT_expect_assume);
 9937|    124|            symbolTable.setFunctionExtensions("expectEXT", 1, &E_GL_EXT_expect_assume);
 9938|    124|        }
 9939|       |
 9940|       |        // GL_KHR_shader_subgroup
 9941|    124|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (9941:14): [True: 0, False: 124]
  |  Branch (9941:39): [True: 0, False: 0]
  ------------------
 9942|    124|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (9942:14): [True: 124, False: 0]
  |  Branch (9942:39): [True: 124, False: 0]
  ------------------
 9943|    124|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
 9944|    124|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
 9945|    124|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9946|    124|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9947|    124|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9948|    124|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9949|    124|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9950|       |
 9951|    124|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
 9952|    124|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
 9953|    124|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
 9954|    124|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
 9955|    124|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
 9956|    124|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
 9957|    124|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
 9958|       |
 9959|    124|            symbolTable.setFunctionExtensions("subgroupBarrier",                 1, &E_GL_KHR_shader_subgroup_basic);
 9960|    124|            symbolTable.setFunctionExtensions("subgroupMemoryBarrier",           1, &E_GL_KHR_shader_subgroup_basic);
 9961|    124|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierBuffer",     1, &E_GL_KHR_shader_subgroup_basic);
 9962|    124|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierImage",      1, &E_GL_KHR_shader_subgroup_basic);
 9963|    124|            symbolTable.setFunctionExtensions("subgroupElect",                   1, &E_GL_KHR_shader_subgroup_basic);
 9964|    124|            symbolTable.setFunctionExtensions("subgroupAll",                     1, &E_GL_KHR_shader_subgroup_vote);
 9965|    124|            symbolTable.setFunctionExtensions("subgroupAny",                     1, &E_GL_KHR_shader_subgroup_vote);
 9966|    124|            symbolTable.setFunctionExtensions("subgroupAllEqual",                1, &E_GL_KHR_shader_subgroup_vote);
 9967|    124|            symbolTable.setFunctionExtensions("subgroupBroadcast",               1, &E_GL_KHR_shader_subgroup_ballot);
 9968|    124|            symbolTable.setFunctionExtensions("subgroupBroadcastFirst",          1, &E_GL_KHR_shader_subgroup_ballot);
 9969|    124|            symbolTable.setFunctionExtensions("subgroupBallot",                  1, &E_GL_KHR_shader_subgroup_ballot);
 9970|    124|            symbolTable.setFunctionExtensions("subgroupInverseBallot",           1, &E_GL_KHR_shader_subgroup_ballot);
 9971|    124|            symbolTable.setFunctionExtensions("subgroupBallotBitExtract",        1, &E_GL_KHR_shader_subgroup_ballot);
 9972|    124|            symbolTable.setFunctionExtensions("subgroupBallotBitCount",          1, &E_GL_KHR_shader_subgroup_ballot);
 9973|    124|            symbolTable.setFunctionExtensions("subgroupBallotInclusiveBitCount", 1, &E_GL_KHR_shader_subgroup_ballot);
 9974|    124|            symbolTable.setFunctionExtensions("subgroupBallotExclusiveBitCount", 1, &E_GL_KHR_shader_subgroup_ballot);
 9975|    124|            symbolTable.setFunctionExtensions("subgroupBallotFindLSB",           1, &E_GL_KHR_shader_subgroup_ballot);
 9976|    124|            symbolTable.setFunctionExtensions("subgroupBallotFindMSB",           1, &E_GL_KHR_shader_subgroup_ballot);
 9977|    124|            symbolTable.setFunctionExtensions("subgroupShuffle",                 1, &E_GL_KHR_shader_subgroup_shuffle);
 9978|    124|            symbolTable.setFunctionExtensions("subgroupShuffleXor",              1, &E_GL_KHR_shader_subgroup_shuffle);
 9979|    124|            symbolTable.setFunctionExtensions("subgroupShuffleUp",               1, &E_GL_KHR_shader_subgroup_shuffle_relative);
 9980|    124|            symbolTable.setFunctionExtensions("subgroupShuffleDown",             1, &E_GL_KHR_shader_subgroup_shuffle_relative);
 9981|    124|            symbolTable.setFunctionExtensions("subgroupRotate",                  1, &E_GL_KHR_shader_subgroup_rotate);
 9982|    124|            symbolTable.setFunctionExtensions("subgroupClusteredRotate",         1, &E_GL_KHR_shader_subgroup_rotate);
 9983|    124|            symbolTable.setFunctionExtensions("subgroupAdd",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
 9984|    124|            symbolTable.setFunctionExtensions("subgroupMul",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
 9985|    124|            symbolTable.setFunctionExtensions("subgroupMin",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
 9986|    124|            symbolTable.setFunctionExtensions("subgroupMax",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
 9987|    124|            symbolTable.setFunctionExtensions("subgroupAnd",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
 9988|    124|            symbolTable.setFunctionExtensions("subgroupOr",                      1, &E_GL_KHR_shader_subgroup_arithmetic);
 9989|    124|            symbolTable.setFunctionExtensions("subgroupXor",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
 9990|    124|            symbolTable.setFunctionExtensions("subgroupInclusiveAdd",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9991|    124|            symbolTable.setFunctionExtensions("subgroupInclusiveMul",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9992|    124|            symbolTable.setFunctionExtensions("subgroupInclusiveMin",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9993|    124|            symbolTable.setFunctionExtensions("subgroupInclusiveMax",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9994|    124|            symbolTable.setFunctionExtensions("subgroupInclusiveAnd",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9995|    124|            symbolTable.setFunctionExtensions("subgroupInclusiveOr",             1, &E_GL_KHR_shader_subgroup_arithmetic);
 9996|    124|            symbolTable.setFunctionExtensions("subgroupInclusiveXor",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9997|    124|            symbolTable.setFunctionExtensions("subgroupExclusiveAdd",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9998|    124|            symbolTable.setFunctionExtensions("subgroupExclusiveMul",            1, &E_GL_KHR_shader_subgroup_arithmetic);
 9999|    124|            symbolTable.setFunctionExtensions("subgroupExclusiveMin",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10000|    124|            symbolTable.setFunctionExtensions("subgroupExclusiveMax",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10001|    124|            symbolTable.setFunctionExtensions("subgroupExclusiveAnd",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10002|    124|            symbolTable.setFunctionExtensions("subgroupExclusiveOr",             1, &E_GL_KHR_shader_subgroup_arithmetic);
10003|    124|            symbolTable.setFunctionExtensions("subgroupExclusiveXor",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10004|    124|            symbolTable.setFunctionExtensions("subgroupClusteredAdd",            1, &E_GL_KHR_shader_subgroup_clustered);
10005|    124|            symbolTable.setFunctionExtensions("subgroupClusteredMul",            1, &E_GL_KHR_shader_subgroup_clustered);
10006|    124|            symbolTable.setFunctionExtensions("subgroupClusteredMin",            1, &E_GL_KHR_shader_subgroup_clustered);
10007|    124|            symbolTable.setFunctionExtensions("subgroupClusteredMax",            1, &E_GL_KHR_shader_subgroup_clustered);
10008|    124|            symbolTable.setFunctionExtensions("subgroupClusteredAnd",            1, &E_GL_KHR_shader_subgroup_clustered);
10009|    124|            symbolTable.setFunctionExtensions("subgroupClusteredOr",             1, &E_GL_KHR_shader_subgroup_clustered);
10010|    124|            symbolTable.setFunctionExtensions("subgroupClusteredXor",            1, &E_GL_KHR_shader_subgroup_clustered);
10011|    124|            symbolTable.setFunctionExtensions("subgroupQuadBroadcast",           1, &E_GL_KHR_shader_subgroup_quad);
10012|    124|            symbolTable.setFunctionExtensions("subgroupQuadSwapHorizontal",      1, &E_GL_KHR_shader_subgroup_quad);
10013|    124|            symbolTable.setFunctionExtensions("subgroupQuadSwapVertical",        1, &E_GL_KHR_shader_subgroup_quad);
10014|    124|            symbolTable.setFunctionExtensions("subgroupQuadSwapDiagonal",        1, &E_GL_KHR_shader_subgroup_quad);
10015|    124|            symbolTable.setFunctionExtensions("subgroupPartitionNV",                          1, &E_GL_NV_shader_subgroup_partitioned);
10016|    124|            symbolTable.setFunctionExtensions("subgroupPartitionedAddNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
10017|    124|            symbolTable.setFunctionExtensions("subgroupPartitionedMulNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
10018|    124|            symbolTable.setFunctionExtensions("subgroupPartitionedMinNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
10019|    124|            symbolTable.setFunctionExtensions("subgroupPartitionedMaxNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
10020|    124|            symbolTable.setFunctionExtensions("subgroupPartitionedAndNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
10021|    124|            symbolTable.setFunctionExtensions("subgroupPartitionedOrNV",                      1, &E_GL_NV_shader_subgroup_partitioned);
10022|    124|            symbolTable.setFunctionExtensions("subgroupPartitionedXorNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
10023|    124|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveAddNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10024|    124|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveMulNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10025|    124|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveMinNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10026|    124|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveMaxNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10027|    124|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveAndNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10028|    124|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveOrNV",             1, &E_GL_NV_shader_subgroup_partitioned);
10029|    124|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveXorNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10030|    124|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveAddNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10031|    124|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveMulNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10032|    124|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveMinNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10033|    124|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveMaxNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10034|    124|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveAndNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10035|    124|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveOrNV",             1, &E_GL_NV_shader_subgroup_partitioned);
10036|    124|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveXorNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10037|       |
10038|       |            // GL_NV_shader_sm_builtins
10039|    124|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
10040|    124|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
10041|    124|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
10042|    124|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
10043|    124|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
10044|    124|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
10045|    124|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
10046|    124|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
10047|       |
10048|       |            // GL_ARM_shader_core_builtins
10049|    124|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
10050|    124|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
10051|    124|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10052|    124|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
10053|    124|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10054|       |
10055|    124|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
10056|    124|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
10057|    124|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
10058|    124|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
10059|    124|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
10060|    124|        }
10061|       |
10062|    124|        if (profile == EEsProfile) {
  ------------------
  |  Branch (10062:13): [True: 0, False: 124]
  ------------------
10063|      0|            symbolTable.setFunctionExtensions("shadow2DEXT",        1, &E_GL_EXT_shadow_samplers);
10064|      0|            symbolTable.setFunctionExtensions("shadow2DProjEXT",    1, &E_GL_EXT_shadow_samplers);
10065|      0|        }
10066|       |
10067|    124|        if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (10067:13): [True: 124, False: 0]
  ------------------
10068|    124|            symbolTable.setVariableExtensions("gl_ScopeDevice",             1, &E_GL_KHR_memory_scope_semantics);
10069|    124|            symbolTable.setVariableExtensions("gl_ScopeWorkgroup",          1, &E_GL_KHR_memory_scope_semantics);
10070|    124|            symbolTable.setVariableExtensions("gl_ScopeSubgroup",           1, &E_GL_KHR_memory_scope_semantics);
10071|    124|            symbolTable.setVariableExtensions("gl_ScopeInvocation",         1, &E_GL_KHR_memory_scope_semantics);
10072|       |
10073|    124|            symbolTable.setVariableExtensions("gl_SemanticsRelaxed",        1, &E_GL_KHR_memory_scope_semantics);
10074|    124|            symbolTable.setVariableExtensions("gl_SemanticsAcquire",        1, &E_GL_KHR_memory_scope_semantics);
10075|    124|            symbolTable.setVariableExtensions("gl_SemanticsRelease",        1, &E_GL_KHR_memory_scope_semantics);
10076|    124|            symbolTable.setVariableExtensions("gl_SemanticsAcquireRelease", 1, &E_GL_KHR_memory_scope_semantics);
10077|    124|            symbolTable.setVariableExtensions("gl_SemanticsMakeAvailable",  1, &E_GL_KHR_memory_scope_semantics);
10078|    124|            symbolTable.setVariableExtensions("gl_SemanticsMakeVisible",    1, &E_GL_KHR_memory_scope_semantics);
10079|    124|            symbolTable.setVariableExtensions("gl_SemanticsVolatile",       1, &E_GL_KHR_memory_scope_semantics);
10080|       |
10081|    124|            symbolTable.setVariableExtensions("gl_StorageSemanticsNone",    1, &E_GL_KHR_memory_scope_semantics);
10082|    124|            symbolTable.setVariableExtensions("gl_StorageSemanticsBuffer",  1, &E_GL_KHR_memory_scope_semantics);
10083|    124|            symbolTable.setVariableExtensions("gl_StorageSemanticsShared",  1, &E_GL_KHR_memory_scope_semantics);
10084|    124|            symbolTable.setVariableExtensions("gl_StorageSemanticsImage",   1, &E_GL_KHR_memory_scope_semantics);
10085|    124|            symbolTable.setVariableExtensions("gl_StorageSemanticsOutput",  1, &E_GL_KHR_memory_scope_semantics);
10086|    124|        }
10087|       |
10088|    124|        symbolTable.setFunctionExtensions("helperInvocationEXT",            1, &E_GL_EXT_demote_to_helper_invocation);
10089|       |
10090|    124|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10090:14): [True: 0, False: 124]
  |  Branch (10090:39): [True: 0, False: 0]
  ------------------
10091|    124|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10091:14): [True: 124, False: 0]
  |  Branch (10091:39): [True: 12, False: 112]
  ------------------
10092|     12|            symbolTable.setVariableExtensions("gl_ShadingRateEXT", 1, &E_GL_EXT_fragment_shading_rate);
10093|     12|            BuiltInVariable("gl_ShadingRateEXT", EbvShadingRateKHR, symbolTable);
10094|       |
10095|     12|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10096|     12|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10097|     12|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10098|     12|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10099|     12|        }
10100|       |
10101|       |        // GL_EXT_shader_quad_control
10102|    124|        if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (10102:14): [True: 124, False: 0]
  |  Branch (10102:39): [True: 124, False: 0]
  ------------------
10103|    124|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (10103:14): [True: 0, False: 0]
  |  Branch (10103:39): [True: 0, False: 0]
  ------------------
10104|    124|            symbolTable.setFunctionExtensions("subgroupQuadAll",                     1,  &E_GL_KHR_shader_subgroup_vote);
10105|    124|            symbolTable.setFunctionExtensions("subgroupQuadAny",                     1,  &E_GL_KHR_shader_subgroup_vote);
10106|    124|        }
10107|       |
10108|       |        // GL_EXT_shader_tile_image
10109|    124|        symbolTable.setFunctionExtensions("stencilAttachmentReadEXT", 1, &E_GL_EXT_shader_tile_image);
10110|    124|        symbolTable.setFunctionExtensions("depthAttachmentReadEXT", 1, &E_GL_EXT_shader_tile_image);
10111|    124|        symbolTable.setFunctionExtensions("colorAttachmentReadEXT", 1, &E_GL_EXT_shader_tile_image);
10112|       |
10113|    124|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10113:14): [True: 0, False: 124]
  |  Branch (10113:39): [True: 0, False: 0]
  ------------------
10114|    124|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10114:14): [True: 124, False: 0]
  |  Branch (10114:39): [True: 124, False: 0]
  ------------------
10115|       |
10116|    124|            symbolTable.setFunctionExtensions("textureWeightedQCOM",      1, &E_GL_QCOM_image_processing);
10117|    124|            symbolTable.setFunctionExtensions("textureBoxFilterQCOM",     1, &E_GL_QCOM_image_processing);
10118|    124|            symbolTable.setFunctionExtensions("textureBlockMatchSADQCOM", 1, &E_GL_QCOM_image_processing);
10119|    124|            symbolTable.setFunctionExtensions("textureBlockMatchSSDQCOM", 1, &E_GL_QCOM_image_processing);
10120|       |
10121|    124|            symbolTable.setFunctionExtensions("textureBlockMatchWindowSSDQCOM", 1, &E_GL_QCOM_image_processing2);
10122|    124|            symbolTable.setFunctionExtensions("textureBlockMatchWindowSADQCOM", 1, &E_GL_QCOM_image_processing2);
10123|    124|            symbolTable.setFunctionExtensions("textureBlockMatchGatherSSDQCOM", 1, &E_GL_QCOM_image_processing2);
10124|    124|            symbolTable.setFunctionExtensions("textureBlockMatchGatherSADQCOM", 1, &E_GL_QCOM_image_processing2);
10125|    124|        }
10126|       |
10127|    124|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10127:14): [True: 0, False: 124]
  |  Branch (10127:39): [True: 0, False: 0]
  ------------------
10128|    124|            (profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (10128:14): [True: 124, False: 0]
  |  Branch (10128:39): [True: 1, False: 123]
  ------------------
10129|      1|            BuiltInVariable("gl_TileOffsetQCOM",    EbvTileOffsetQCOM,      symbolTable);
10130|      1|            BuiltInVariable("gl_TileDimensionQCOM", EbvTileDimensionQCOM,   symbolTable);
10131|      1|            BuiltInVariable("gl_TileApronSizeQCOM", EbvTileApronSizeQCOM,   symbolTable);
10132|       |
10133|      1|            symbolTable.setVariableExtensions("gl_TileOffsetQCOM",        1, &E_GL_QCOM_tile_shading);
10134|      1|            symbolTable.setVariableExtensions("gl_TileDimensionQCOM",     1, &E_GL_QCOM_tile_shading);
10135|      1|            symbolTable.setVariableExtensions("gl_TileApronSizeQCOM",     1, &E_GL_QCOM_tile_shading);
10136|      1|        }
10137|    124|        break;
10138|       |
10139|     13|    case EShLangCompute:
  ------------------
  |  Branch (10139:5): [True: 13, False: 388]
  ------------------
10140|     13|        BuiltInVariable("gl_NumWorkGroups",         EbvNumWorkGroups,        symbolTable);
10141|     13|        BuiltInVariable("gl_WorkGroupSize",         EbvWorkGroupSize,        symbolTable);
10142|     13|        BuiltInVariable("gl_WorkGroupID",           EbvWorkGroupId,          symbolTable);
10143|     13|        BuiltInVariable("gl_LocalInvocationID",     EbvLocalInvocationId,    symbolTable);
10144|     13|        BuiltInVariable("gl_GlobalInvocationID",    EbvGlobalInvocationId,   symbolTable);
10145|     13|        BuiltInVariable("gl_LocalInvocationIndex",  EbvLocalInvocationIndex, symbolTable);
10146|     13|        BuiltInVariable("gl_DeviceIndex",           EbvDeviceIndex,          symbolTable);
10147|     13|        BuiltInVariable("gl_ViewIndex",             EbvViewIndex,            symbolTable);
10148|       |
10149|     13|        if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (10149:14): [True: 13, False: 0]
  |  Branch (10149:39): [True: 13, False: 0]
  ------------------
10150|     13|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (10150:14): [True: 0, False: 0]
  |  Branch (10150:39): [True: 0, False: 0]
  ------------------
10151|     13|            symbolTable.setVariableExtensions("gl_DeviceIndex",  1, &E_GL_EXT_device_group);
10152|     13|            symbolTable.setVariableExtensions("gl_ViewIndex",    1, &E_GL_EXT_multiview);
10153|     13|        }
10154|       |
10155|     13|        if (profile != EEsProfile && version < 430) {
  ------------------
  |  Branch (10155:13): [True: 13, False: 0]
  |  Branch (10155:38): [True: 1, False: 12]
  ------------------
10156|      1|            symbolTable.setVariableExtensions("gl_NumWorkGroups",        1, &E_GL_ARB_compute_shader);
10157|      1|            symbolTable.setVariableExtensions("gl_WorkGroupSize",        1, &E_GL_ARB_compute_shader);
10158|      1|            symbolTable.setVariableExtensions("gl_WorkGroupID",          1, &E_GL_ARB_compute_shader);
10159|      1|            symbolTable.setVariableExtensions("gl_LocalInvocationID",    1, &E_GL_ARB_compute_shader);
10160|      1|            symbolTable.setVariableExtensions("gl_GlobalInvocationID",   1, &E_GL_ARB_compute_shader);
10161|      1|            symbolTable.setVariableExtensions("gl_LocalInvocationIndex", 1, &E_GL_ARB_compute_shader);
10162|       |
10163|      1|            symbolTable.setVariableExtensions("gl_MaxComputeWorkGroupCount",       1, &E_GL_ARB_compute_shader);
10164|      1|            symbolTable.setVariableExtensions("gl_MaxComputeWorkGroupSize",        1, &E_GL_ARB_compute_shader);
10165|      1|            symbolTable.setVariableExtensions("gl_MaxComputeUniformComponents",    1, &E_GL_ARB_compute_shader);
10166|      1|            symbolTable.setVariableExtensions("gl_MaxComputeTextureImageUnits",    1, &E_GL_ARB_compute_shader);
10167|      1|            symbolTable.setVariableExtensions("gl_MaxComputeImageUniforms",        1, &E_GL_ARB_compute_shader);
10168|      1|            symbolTable.setVariableExtensions("gl_MaxComputeAtomicCounters",       1, &E_GL_ARB_compute_shader);
10169|      1|            symbolTable.setVariableExtensions("gl_MaxComputeAtomicCounterBuffers", 1, &E_GL_ARB_compute_shader);
10170|       |
10171|      1|            symbolTable.setFunctionExtensions("barrier",                    1, &E_GL_ARB_compute_shader);
10172|      1|            symbolTable.setFunctionExtensions("memoryBarrierAtomicCounter", 1, &E_GL_ARB_compute_shader);
10173|      1|            symbolTable.setFunctionExtensions("memoryBarrierBuffer",        1, &E_GL_ARB_compute_shader);
10174|      1|            symbolTable.setFunctionExtensions("memoryBarrierImage",         1, &E_GL_ARB_compute_shader);
10175|      1|            symbolTable.setFunctionExtensions("memoryBarrierShared",        1, &E_GL_ARB_compute_shader);
10176|      1|            symbolTable.setFunctionExtensions("groupMemoryBarrier",         1, &E_GL_ARB_compute_shader);
10177|      1|        }
10178|       |
10179|       |
10180|     13|        symbolTable.setFunctionExtensions("controlBarrier",                 1, &E_GL_KHR_memory_scope_semantics);
10181|     13|        symbolTable.setFunctionExtensions("debugPrintfEXT",                 1, &E_GL_EXT_debug_printf);
10182|     13|        symbolTable.setFunctionExtensions("abortEXT",                       1, &E_GL_EXT_abort);
10183|       |
10184|       |        // GL_ARB_shader_ballot
10185|     13|        if (profile != EEsProfile) {
  ------------------
  |  Branch (10185:13): [True: 13, False: 0]
  ------------------
10186|     13|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
10187|     13|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
10188|     13|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
10189|     13|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
10190|     13|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
10191|     13|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
10192|     13|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
10193|       |
10194|     13|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
10195|     13|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
10196|     13|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
10197|     13|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
10198|     13|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
10199|     13|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
10200|       |
10201|     13|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (10201:17): [True: 13, False: 0]
  ------------------
10202|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
10203|     13|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
10204|     13|                if (language == EShLangFragment)
  ------------------
  |  Branch (10204:21): [True: 0, False: 13]
  ------------------
10205|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
10206|     13|            }
10207|      0|            else
10208|      0|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
10209|     13|        }
10210|       |
10211|       |        // GL_KHR_shader_subgroup
10212|     13|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10212:14): [True: 0, False: 13]
  |  Branch (10212:39): [True: 0, False: 0]
  ------------------
10213|     13|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10213:14): [True: 13, False: 0]
  |  Branch (10213:39): [True: 13, False: 0]
  ------------------
10214|     13|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
10215|     13|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
10216|     13|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10217|     13|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10218|     13|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10219|     13|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10220|     13|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10221|       |
10222|     13|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
10223|     13|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
10224|     13|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
10225|     13|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
10226|     13|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
10227|     13|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
10228|     13|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
10229|       |
10230|       |            // GL_NV_shader_sm_builtins
10231|     13|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
10232|     13|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
10233|     13|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
10234|     13|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
10235|     13|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
10236|     13|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
10237|     13|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
10238|     13|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
10239|       |
10240|       |            // GL_ARM_shader_core_builtins
10241|     13|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
10242|     13|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
10243|     13|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10244|     13|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
10245|     13|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10246|       |
10247|     13|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
10248|     13|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
10249|     13|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
10250|     13|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
10251|     13|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
10252|     13|        }
10253|       |
10254|       |        // GL_KHR_shader_subgroup
10255|     13|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10255:14): [True: 0, False: 13]
  |  Branch (10255:39): [True: 0, False: 0]
  ------------------
10256|     13|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10256:14): [True: 13, False: 0]
  |  Branch (10256:39): [True: 13, False: 0]
  ------------------
10257|     13|            symbolTable.setVariableExtensions("gl_NumSubgroups", 1, &E_GL_KHR_shader_subgroup_basic);
10258|     13|            symbolTable.setVariableExtensions("gl_SubgroupID",   1, &E_GL_KHR_shader_subgroup_basic);
10259|       |
10260|     13|            BuiltInVariable("gl_NumSubgroups", EbvNumSubgroups, symbolTable);
10261|     13|            BuiltInVariable("gl_SubgroupID",   EbvSubgroupID,   symbolTable);
10262|       |
10263|     13|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierShared", 1, &E_GL_KHR_shader_subgroup_basic);
10264|     13|        }
10265|       |
10266|     13|        {
10267|     13|            const char *coopExt[2] = { E_GL_NV_cooperative_matrix, E_GL_NV_integer_cooperative_matrix };
10268|     13|            symbolTable.setFunctionExtensions("coopMatLoadNV",   2, coopExt);
10269|     13|            symbolTable.setFunctionExtensions("coopMatStoreNV",  2, coopExt);
10270|     13|            symbolTable.setFunctionExtensions("coopMatMulAddNV", 2, coopExt);
10271|     13|        }
10272|       |
10273|     13|        {
10274|     13|            auto coopMatKHRCallback = [](const char *name) -> std::vector<const char *> {
10275|     13|                std::vector<const char *> ret;
10276|     13|                if (strstr(name, "u64") != nullptr) {
10277|     13|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10278|     13|                } else {
10279|     13|                    ret.push_back(E_GL_KHR_cooperative_matrix);
10280|     13|                }
10281|     13|                return ret;
10282|     13|            };
10283|     13|            auto coopMat2NVCallback = [](const char *name) -> std::vector<const char *> {
10284|     13|                std::vector<const char *> ret;
10285|     13|                if (strstr(name, "u64") != nullptr) {
10286|     13|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10287|     13|                } else {
10288|     13|                    ret.push_back(E_GL_NV_cooperative_matrix2);
10289|     13|                }
10290|     13|                return ret;
10291|     13|            };
10292|       |
10293|     13|            symbolTable.setFunctionExtensionsCallback("coopMatLoad",   coopMatKHRCallback);
10294|     13|            symbolTable.setFunctionExtensionsCallback("coopMatStore",  coopMatKHRCallback);
10295|     13|            symbolTable.setFunctionExtensions("coopMatMulAdd", 1, &E_GL_KHR_cooperative_matrix);
10296|       |
10297|     13|            symbolTable.setFunctionExtensionsCallback("coopMatLoadTensorNV",   coopMat2NVCallback);
10298|     13|            symbolTable.setFunctionExtensionsCallback("coopMatStoreTensorNV",   coopMat2NVCallback);
10299|       |
10300|     13|            symbolTable.setFunctionExtensions("coopMatReduceNV",   1, &E_GL_NV_cooperative_matrix2);
10301|     13|            symbolTable.setFunctionExtensions("coopMatPerElementNV",  1, &E_GL_NV_cooperative_matrix2);
10302|     13|            symbolTable.setFunctionExtensions("coopMatTransposeNV",   1, &E_GL_NV_cooperative_matrix2);
10303|       |            
10304|     13|            symbolTable.setFunctionExtensions("createTensorLayoutNV",           1, &E_GL_NV_cooperative_matrix2);
10305|     13|            symbolTable.setFunctionExtensions("setTensorLayoutBlockSizeNV",     1, &E_GL_NV_cooperative_matrix2);
10306|     13|            symbolTable.setFunctionExtensions("setTensorLayoutDimensionNV",     1, &E_GL_NV_cooperative_matrix2);
10307|     13|            symbolTable.setFunctionExtensions("setTensorLayoutStrideNV",        1, &E_GL_NV_cooperative_matrix2);
10308|     13|            symbolTable.setFunctionExtensions("sliceTensorLayoutNV",            1, &E_GL_NV_cooperative_matrix2);
10309|     13|            symbolTable.setFunctionExtensions("setTensorLayoutClampValueNV",    1, &E_GL_NV_cooperative_matrix2);
10310|       |
10311|     13|            symbolTable.setFunctionExtensions("createTensorViewNV",             1, &E_GL_NV_cooperative_matrix2);
10312|     13|            symbolTable.setFunctionExtensions("setTensorViewDimensionsNV",      1, &E_GL_NV_cooperative_matrix2);
10313|     13|            symbolTable.setFunctionExtensions("setTensorViewStrideNV",          1, &E_GL_NV_cooperative_matrix2);
10314|     13|            symbolTable.setFunctionExtensions("setTensorViewClipNV",            1, &E_GL_NV_cooperative_matrix2);
10315|     13|        }
10316|       |
10317|     13|        {
10318|     13|            symbolTable.setFunctionExtensions("tensorReadARM",   1, &E_GL_ARM_tensors);
10319|     13|            symbolTable.setFunctionExtensions("tensorWriteARM",  1, &E_GL_ARM_tensors);
10320|     13|            symbolTable.setFunctionExtensions("tensorSizeARM",   1, &E_GL_ARM_tensors);
10321|     13|        }
10322|     13|        {
10323|     13|            auto coopVecCallback = [](const char *name) -> std::vector<const char *> {
10324|     13|                std::vector<const char *> ret;
10325|       |                // This looks for u64 as the last parameter (the offset)
10326|     13|                if (strstr(name, "u641;") != nullptr) {
10327|     13|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10328|     13|                } else {
10329|     13|                    ret.push_back(E_GL_NV_cooperative_vector);
10330|     13|                }
10331|     13|                return ret;
10332|     13|            };
10333|     13|            symbolTable.setFunctionExtensionsCallback("coopVecMatMulNV", coopVecCallback);
10334|     13|            symbolTable.setFunctionExtensionsCallback("coopVecMatMulAddNV", coopVecCallback);
10335|     13|            symbolTable.setFunctionExtensionsCallback("coopVecLoadNV", coopVecCallback);
10336|     13|            symbolTable.setFunctionExtensionsCallback("coopVecStoreNV", coopVecCallback);
10337|     13|            symbolTable.setFunctionExtensionsCallback("coopVecOuterProductAccumulateNV", coopVecCallback);
10338|     13|            symbolTable.setFunctionExtensionsCallback("coopVecReduceSumAccumulateNV", coopVecCallback);
10339|     13|        }
10340|       |
10341|     13|        {
10342|     13|          symbolTable.setFunctionExtensions("bitcastQCOM", 1, &E_GL_QCOM_cooperative_matrix_conversion);
10343|     13|          symbolTable.setFunctionExtensions("extractSubArrayQCOM", 1, &E_GL_QCOM_cooperative_matrix_conversion);
10344|     13|          symbolTable.setFunctionExtensions("vectorToCoopmatQCOM", 1, &E_GL_QCOM_cooperative_matrix_conversion);
10345|     13|          symbolTable.setFunctionExtensions("coopmatToVectorQCOM", 1, &E_GL_QCOM_cooperative_matrix_conversion);
10346|     13|        }
10347|       |
10348|     13|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (10348:14): [True: 13, False: 0]
  |  Branch (10348:39): [True: 12, False: 1]
  |  Branch (10348:59): [True: 0, False: 1]
  |  Branch (10348:84): [True: 0, False: 0]
  ------------------
10349|     12|            const char* const derivativeExts[] = { E_GL_NV_compute_shader_derivatives, E_GL_KHR_compute_shader_derivatives };
10350|     12|            if (language == EShLangCompute) {
  ------------------
  |  Branch (10350:17): [True: 12, False: 0]
  ------------------
10351|     12|                symbolTable.setFunctionExtensions("dFdx",                   2, derivativeExts);
10352|     12|                symbolTable.setFunctionExtensions("dFdy",                   2, derivativeExts);
10353|     12|                symbolTable.setFunctionExtensions("fwidth",                 2, derivativeExts);
10354|     12|                symbolTable.setFunctionExtensions("dFdxFine",               2, derivativeExts);
10355|     12|                symbolTable.setFunctionExtensions("dFdyFine",               2, derivativeExts);
10356|     12|                symbolTable.setFunctionExtensions("fwidthFine",             2, derivativeExts);
10357|     12|                symbolTable.setFunctionExtensions("dFdxCoarse",             2, derivativeExts);
10358|     12|                symbolTable.setFunctionExtensions("dFdyCoarse",             2, derivativeExts);
10359|     12|                symbolTable.setFunctionExtensions("fwidthCoarse",           2, derivativeExts);
10360|     12|            } else if (language == EShLangTask || language == EShLangMesh) {
  ------------------
  |  Branch (10360:24): [True: 0, False: 0]
  |  Branch (10360:51): [True: 0, False: 0]
  ------------------
10361|      0|                symbolTable.setFunctionExtensions("dFdx",                   1, &E_GL_KHR_compute_shader_derivatives);
10362|      0|                symbolTable.setFunctionExtensions("dFdy",                   1, &E_GL_KHR_compute_shader_derivatives);
10363|      0|                symbolTable.setFunctionExtensions("fwidth",                 1, &E_GL_KHR_compute_shader_derivatives);
10364|      0|                symbolTable.setFunctionExtensions("dFdxFine",               1, &E_GL_KHR_compute_shader_derivatives);
10365|      0|                symbolTable.setFunctionExtensions("dFdyFine",               1, &E_GL_KHR_compute_shader_derivatives);
10366|      0|                symbolTable.setFunctionExtensions("fwidthFine",             1, &E_GL_KHR_compute_shader_derivatives);
10367|      0|                symbolTable.setFunctionExtensions("dFdxCoarse",             1, &E_GL_KHR_compute_shader_derivatives);
10368|      0|                symbolTable.setFunctionExtensions("dFdyCoarse",             1, &E_GL_KHR_compute_shader_derivatives);
10369|      0|                symbolTable.setFunctionExtensions("fwidthCoarse",           1, &E_GL_KHR_compute_shader_derivatives);
10370|      0|            }
10371|     12|        }
10372|       |
10373|     13|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10373:14): [True: 0, False: 13]
  |  Branch (10373:39): [True: 0, False: 0]
  ------------------
10374|     13|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10374:14): [True: 13, False: 0]
  |  Branch (10374:39): [True: 12, False: 1]
  ------------------
10375|     12|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10376|     12|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10377|     12|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10378|     12|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10379|     12|        }
10380|       |
10381|     13|        if ((profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (10381:14): [True: 13, False: 0]
  |  Branch (10381:39): [True: 1, False: 12]
  ------------------
10382|      1|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexPositionNV", 1, &E_GL_NV_displacement_micromap);
10383|      1|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexBarycentricNV", 1, &E_GL_NV_displacement_micromap);
10384|      1|        }
10385|       |
10386|       |        // GL_EXT_integer_dot_product
10387|     13|        if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (10387:14): [True: 0, False: 13]
  |  Branch (10387:39): [True: 0, False: 0]
  ------------------
10388|     13|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10388:14): [True: 13, False: 0]
  |  Branch (10388:39): [True: 12, False: 1]
  ------------------
10389|     12|            symbolTable.setFunctionExtensions("dotEXT", 1, &E_GL_EXT_integer_dot_product);
10390|     12|            symbolTable.setFunctionExtensions("dotPacked4x8EXT", 1, &E_GL_EXT_integer_dot_product);
10391|     12|            symbolTable.setFunctionExtensions("dotAccSatEXT", 1, &E_GL_EXT_integer_dot_product);
10392|     12|            symbolTable.setFunctionExtensions("dotPacked4x8AccSatEXT", 1, &E_GL_EXT_integer_dot_product);
10393|     12|        }
10394|       |
10395|     13|        {
10396|     13|            symbolTable.setFunctionExtensions("bfloat16BitsToIntEXT", 1, &E_GL_EXT_bfloat16);
10397|     13|            symbolTable.setFunctionExtensions("bfloat16BitsToUintEXT", 1, &E_GL_EXT_bfloat16);
10398|     13|            symbolTable.setFunctionExtensions("intBitsToBFloat16EXT", 1, &E_GL_EXT_bfloat16);
10399|     13|            symbolTable.setFunctionExtensions("uintBitsToBFloat16EXT", 1, &E_GL_EXT_bfloat16);
10400|       |
10401|     13|            symbolTable.setFunctionExtensions("floate5m2BitsToIntEXT", 1, &E_GL_EXT_float_e5m2);
10402|     13|            symbolTable.setFunctionExtensions("floate5m2BitsToUintEXT", 1, &E_GL_EXT_float_e5m2);
10403|     13|            symbolTable.setFunctionExtensions("intBitsToFloate5m2EXT", 1, &E_GL_EXT_float_e5m2);
10404|     13|            symbolTable.setFunctionExtensions("uintBitsToFloate5m2EXT", 1, &E_GL_EXT_float_e5m2);
10405|       |
10406|     13|            symbolTable.setFunctionExtensions("floate4m3BitsToIntEXT", 1, &E_GL_EXT_float_e4m3);
10407|     13|            symbolTable.setFunctionExtensions("floate4m3BitsToUintEXT", 1, &E_GL_EXT_float_e4m3);
10408|     13|            symbolTable.setFunctionExtensions("intBitsToFloate4m3EXT", 1, &E_GL_EXT_float_e4m3);
10409|     13|            symbolTable.setFunctionExtensions("uintBitsToFloate4m3EXT", 1, &E_GL_EXT_float_e4m3);
10410|       |
10411|     13|            const char *float8exts[] = {E_GL_EXT_float_e5m2, E_GL_EXT_float_e4m3};
10412|     13|            symbolTable.setFunctionExtensions("saturatedConvertEXT", 2, float8exts);
10413|       |
10414|     13|            symbolTable.setFunctionExtensions("floatue8m0BitsToIntEXT", 1, &E_GL_EXT_float_ue8m0);
10415|     13|            symbolTable.setFunctionExtensions("floatue8m0BitsToUintEXT", 1, &E_GL_EXT_float_ue8m0);
10416|     13|            symbolTable.setFunctionExtensions("intBitsToFloatue8m0EXT", 1, &E_GL_EXT_float_ue8m0);
10417|     13|            symbolTable.setFunctionExtensions("uintBitsToFloatue8m0EXT", 1, &E_GL_EXT_float_ue8m0);
10418|       |
10419|     13|            symbolTable.setFunctionExtensions("floatmxint8BitsToIntEXT", 1, &E_GL_EXT_float_mxint8);
10420|     13|            symbolTable.setFunctionExtensions("floatmxint8BitsToUintEXT", 1, &E_GL_EXT_float_mxint8);
10421|     13|            symbolTable.setFunctionExtensions("intBitsToFloatmxint8EXT", 1, &E_GL_EXT_float_mxint8);
10422|     13|            symbolTable.setFunctionExtensions("uintBitsToFloatmxint8EXT", 1, &E_GL_EXT_float_mxint8);
10423|       |
10424|     13|            symbolTable.setFunctionExtensions("unpackFloat2xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10425|     13|            symbolTable.setFunctionExtensions("unpackFloat4xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10426|     13|            symbolTable.setFunctionExtensions("unpackFloat8xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10427|     13|            symbolTable.setFunctionExtensions("unpackFloat16xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10428|     13|            symbolTable.setFunctionExtensions("packFloat2xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10429|     13|            symbolTable.setFunctionExtensions("packFloat4xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10430|     13|            symbolTable.setFunctionExtensions("packFloat8xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10431|     13|            symbolTable.setFunctionExtensions("packFloat16xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10432|       |
10433|     13|            symbolTable.setFunctionExtensions("unpackFloat4xfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10434|     13|            symbolTable.setFunctionExtensions("unpackFloat8xfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10435|     13|            symbolTable.setFunctionExtensions("unpackFloat16xfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10436|     13|            symbolTable.setFunctionExtensions("packFloat4xfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10437|     13|            symbolTable.setFunctionExtensions("packFloat8xfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10438|     13|            symbolTable.setFunctionExtensions("packFloat16xfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10439|       |
10440|     13|            symbolTable.setFunctionExtensions("unpackFloat4xfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10441|     13|            symbolTable.setFunctionExtensions("unpackFloat8xfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10442|     13|            symbolTable.setFunctionExtensions("unpackFloat16xfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10443|     13|            symbolTable.setFunctionExtensions("packFloat4xfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10444|     13|            symbolTable.setFunctionExtensions("packFloat8xfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10445|     13|            symbolTable.setFunctionExtensions("packFloat16xfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10446|       |
10447|     13|            symbolTable.setFunctionExtensions("bitcastExtractfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10448|     13|            symbolTable.setFunctionExtensions("bitcastExtractfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10449|     13|            symbolTable.setFunctionExtensions("bitcastExtractfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10450|     13|        }
10451|       |
10452|       |        // E_SPV_QCOM_tile_shading
10453|     13|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10453:14): [True: 0, False: 13]
  |  Branch (10453:39): [True: 0, False: 0]
  ------------------
10454|     13|            (profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (10454:14): [True: 13, False: 0]
  |  Branch (10454:39): [True: 1, False: 12]
  ------------------
10455|      1|            BuiltInVariable("gl_TileOffsetQCOM",        EbvTileOffsetQCOM,      symbolTable);
10456|      1|            BuiltInVariable("gl_TileDimensionQCOM",     EbvTileDimensionQCOM,   symbolTable);
10457|      1|            BuiltInVariable("gl_TileApronSizeQCOM",     EbvTileApronSizeQCOM,   symbolTable);
10458|       |
10459|      1|            symbolTable.setVariableExtensions("gl_TileOffsetQCOM",        1, &E_GL_QCOM_tile_shading);
10460|      1|            symbolTable.setVariableExtensions("gl_TileDimensionQCOM",     1, &E_GL_QCOM_tile_shading);
10461|      1|            symbolTable.setVariableExtensions("gl_TileApronSizeQCOM",     1, &E_GL_QCOM_tile_shading);
10462|      1|        }
10463|     13|        break;
10464|       |
10465|     12|    case EShLangRayGen:
  ------------------
  |  Branch (10465:5): [True: 12, False: 389]
  ------------------
10466|     24|    case EShLangIntersect:
  ------------------
  |  Branch (10466:5): [True: 12, False: 389]
  ------------------
10467|     36|    case EShLangAnyHit:
  ------------------
  |  Branch (10467:5): [True: 12, False: 389]
  ------------------
10468|     48|    case EShLangClosestHit:
  ------------------
  |  Branch (10468:5): [True: 12, False: 389]
  ------------------
10469|     60|    case EShLangMiss:
  ------------------
  |  Branch (10469:5): [True: 12, False: 389]
  ------------------
10470|     72|    case EShLangCallable:
  ------------------
  |  Branch (10470:5): [True: 12, False: 389]
  ------------------
10471|     72|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (10471:13): [True: 72, False: 0]
  |  Branch (10471:38): [True: 6, False: 66]
  ------------------
10472|      6|            const char *rtexts[] = { E_GL_NV_ray_tracing, E_GL_EXT_ray_tracing };
10473|      6|            symbolTable.setVariableExtensions("gl_LaunchIDNV", 1, &E_GL_NV_ray_tracing);
10474|      6|            symbolTable.setVariableExtensions("gl_LaunchIDEXT", 1, &E_GL_EXT_ray_tracing);
10475|      6|            symbolTable.setVariableExtensions("gl_LaunchSizeNV", 1, &E_GL_NV_ray_tracing);
10476|      6|            symbolTable.setVariableExtensions("gl_LaunchSizeEXT", 1, &E_GL_EXT_ray_tracing);
10477|      6|            symbolTable.setVariableExtensions("gl_PrimitiveID", 2, rtexts);
10478|      6|            symbolTable.setVariableExtensions("gl_InstanceID", 2, rtexts);
10479|      6|            symbolTable.setVariableExtensions("gl_InstanceCustomIndexNV", 1, &E_GL_NV_ray_tracing);
10480|      6|            symbolTable.setVariableExtensions("gl_InstanceCustomIndexEXT", 1, &E_GL_EXT_ray_tracing);
10481|      6|            symbolTable.setVariableExtensions("gl_GeometryIndexEXT", 1, &E_GL_EXT_ray_tracing);
10482|      6|            symbolTable.setVariableExtensions("gl_WorldRayOriginNV", 1, &E_GL_NV_ray_tracing);
10483|      6|            symbolTable.setVariableExtensions("gl_WorldRayOriginEXT", 1, &E_GL_EXT_ray_tracing);
10484|      6|            symbolTable.setVariableExtensions("gl_WorldRayDirectionNV", 1, &E_GL_NV_ray_tracing);
10485|      6|            symbolTable.setVariableExtensions("gl_WorldRayDirectionEXT", 1, &E_GL_EXT_ray_tracing);
10486|      6|            symbolTable.setVariableExtensions("gl_ObjectRayOriginNV", 1, &E_GL_NV_ray_tracing);
10487|      6|            symbolTable.setVariableExtensions("gl_ObjectRayOriginEXT", 1, &E_GL_EXT_ray_tracing);
10488|      6|            symbolTable.setVariableExtensions("gl_ObjectRayDirectionNV", 1, &E_GL_NV_ray_tracing);
10489|      6|            symbolTable.setVariableExtensions("gl_ObjectRayDirectionEXT", 1, &E_GL_EXT_ray_tracing);
10490|      6|            symbolTable.setVariableExtensions("gl_RayTminNV", 1, &E_GL_NV_ray_tracing);
10491|      6|            symbolTable.setVariableExtensions("gl_RayTminEXT", 1, &E_GL_EXT_ray_tracing);
10492|      6|            symbolTable.setVariableExtensions("gl_RayTmaxNV", 1, &E_GL_NV_ray_tracing);
10493|      6|            symbolTable.setVariableExtensions("gl_RayTmaxEXT", 1, &E_GL_EXT_ray_tracing);
10494|      6|            symbolTable.setVariableExtensions("gl_CullMaskEXT", 1, &E_GL_EXT_ray_cull_mask);
10495|      6|            symbolTable.setVariableExtensions("gl_HitTNV", 1, &E_GL_NV_ray_tracing);
10496|      6|            symbolTable.setVariableExtensions("gl_HitTEXT", 1, &E_GL_EXT_ray_tracing);
10497|      6|            symbolTable.setVariableExtensions("gl_HitKindNV", 1, &E_GL_NV_ray_tracing);
10498|      6|            symbolTable.setVariableExtensions("gl_HitKindEXT", 1, &E_GL_EXT_ray_tracing);
10499|      6|            symbolTable.setVariableExtensions("gl_ObjectToWorldNV", 1, &E_GL_NV_ray_tracing);
10500|      6|            symbolTable.setVariableExtensions("gl_ObjectToWorldEXT", 1, &E_GL_EXT_ray_tracing);
10501|      6|            symbolTable.setVariableExtensions("gl_ObjectToWorld3x4EXT", 1, &E_GL_EXT_ray_tracing);
10502|      6|            symbolTable.setVariableExtensions("gl_WorldToObjectNV", 1, &E_GL_NV_ray_tracing);
10503|      6|            symbolTable.setVariableExtensions("gl_WorldToObjectEXT", 1, &E_GL_EXT_ray_tracing);
10504|      6|            symbolTable.setVariableExtensions("gl_WorldToObject3x4EXT", 1, &E_GL_EXT_ray_tracing);
10505|      6|            symbolTable.setVariableExtensions("gl_IncomingRayFlagsNV", 1, &E_GL_NV_ray_tracing);
10506|      6|            symbolTable.setVariableExtensions("gl_IncomingRayFlagsEXT", 1, &E_GL_EXT_ray_tracing);
10507|      6|            symbolTable.setVariableExtensions("gl_CurrentRayTimeNV", 1, &E_GL_NV_ray_tracing_motion_blur);
10508|      6|            symbolTable.setVariableExtensions("gl_HitTriangleVertexPositionsEXT", 1, &E_GL_EXT_ray_tracing_position_fetch);
10509|      6|            symbolTable.setVariableExtensions("gl_HitMicroTriangleVertexPositionsNV", 1, &E_GL_NV_displacement_micromap);
10510|      6|            symbolTable.setVariableExtensions("gl_HitMicroTriangleVertexBarycentricsNV", 1, &E_GL_NV_displacement_micromap);
10511|      6|            symbolTable.setVariableExtensions("gl_ClusterIDNV", 1, &E_GL_NV_cluster_acceleration_structure);
10512|      6|            symbolTable.setVariableExtensions("gl_HitKindSphereNV", 1, &E_GL_NV_linear_swept_spheres);
10513|      6|            symbolTable.setVariableExtensions("gl_HitKindLSSNV", 1, &E_GL_NV_linear_swept_spheres);
10514|      6|            symbolTable.setVariableExtensions("gl_HitSpherePositionNV", 1, &E_GL_NV_linear_swept_spheres);
10515|      6|            symbolTable.setVariableExtensions("gl_HitSphereRadiusNV", 1, &E_GL_NV_linear_swept_spheres);
10516|      6|            symbolTable.setVariableExtensions("gl_HitLSSPositionNV", 1, &E_GL_NV_linear_swept_spheres);
10517|      6|            symbolTable.setVariableExtensions("gl_HitLSSRadiiNV", 1, &E_GL_NV_linear_swept_spheres);
10518|       |
10519|      6|            symbolTable.setVariableExtensions("gl_DeviceIndex", 1, &E_GL_EXT_device_group);
10520|       |
10521|       |
10522|      6|            symbolTable.setFunctionExtensions("traceNV", 1, &E_GL_NV_ray_tracing);
10523|      6|            symbolTable.setFunctionExtensions("traceRayMotionNV", 1, &E_GL_NV_ray_tracing_motion_blur);
10524|      6|            symbolTable.setFunctionExtensions("traceRayEXT", 1, &E_GL_EXT_ray_tracing);
10525|      6|            symbolTable.setFunctionExtensions("reportIntersectionNV", 1, &E_GL_NV_ray_tracing);
10526|      6|            symbolTable.setFunctionExtensions("reportIntersectionEXT", 1, &E_GL_EXT_ray_tracing);
10527|      6|            symbolTable.setFunctionExtensions("ignoreIntersectionNV", 1, &E_GL_NV_ray_tracing);
10528|      6|            symbolTable.setFunctionExtensions("terminateRayNV", 1, &E_GL_NV_ray_tracing);
10529|      6|            symbolTable.setFunctionExtensions("executeCallableNV", 1, &E_GL_NV_ray_tracing);
10530|      6|            symbolTable.setFunctionExtensions("executeCallableEXT", 1, &E_GL_EXT_ray_tracing);
10531|       |
10532|      6|            symbolTable.setFunctionExtensions("hitObjectTraceRayNV", 1, &E_GL_NV_shader_invocation_reorder);
10533|      6|            symbolTable.setFunctionExtensions("hitObjectTraceRayMotionNV", 1, &E_GL_NV_shader_invocation_reorder);
10534|      6|            symbolTable.setFunctionExtensions("hitObjectRecordHitNV", 1, &E_GL_NV_shader_invocation_reorder);
10535|      6|            symbolTable.setFunctionExtensions("hitObjectRecordHitMotionNV", 1, &E_GL_NV_shader_invocation_reorder);
10536|      6|            symbolTable.setFunctionExtensions("hitObjectRecordHitWithIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10537|      6|            symbolTable.setFunctionExtensions("hitObjectRecordHitWithIndexMotionNV", 1, &E_GL_NV_shader_invocation_reorder);
10538|      6|            symbolTable.setFunctionExtensions("hitObjectRecordMissNV", 1, &E_GL_NV_shader_invocation_reorder);
10539|      6|            symbolTable.setFunctionExtensions("hitObjectRecordMissMotionNV", 1, &E_GL_NV_shader_invocation_reorder);
10540|      6|            symbolTable.setFunctionExtensions("hitObjectRecordEmptyNV", 1, &E_GL_NV_shader_invocation_reorder);
10541|      6|            symbolTable.setFunctionExtensions("hitObjectExecuteShaderNV", 1, &E_GL_NV_shader_invocation_reorder);
10542|      6|            symbolTable.setFunctionExtensions("hitObjectIsEmptyNV", 1, &E_GL_NV_shader_invocation_reorder);
10543|      6|            symbolTable.setFunctionExtensions("hitObjectIsMissNV", 1, &E_GL_NV_shader_invocation_reorder);
10544|      6|            symbolTable.setFunctionExtensions("hitObjectIsHitNV", 1, &E_GL_NV_shader_invocation_reorder);
10545|      6|            symbolTable.setFunctionExtensions("hitObjectGetRayTMinNV", 1, &E_GL_NV_shader_invocation_reorder);
10546|      6|            symbolTable.setFunctionExtensions("hitObjectGetRayTMaxNV", 1, &E_GL_NV_shader_invocation_reorder);
10547|      6|            symbolTable.setFunctionExtensions("hitObjectGetObjectRayOriginNV", 1, &E_GL_NV_shader_invocation_reorder);
10548|      6|            symbolTable.setFunctionExtensions("hitObjectGetObjectRayDirectionNV", 1, &E_GL_NV_shader_invocation_reorder);
10549|      6|            symbolTable.setFunctionExtensions("hitObjectGetWorldRayOriginNV", 1, &E_GL_NV_shader_invocation_reorder);
10550|      6|            symbolTable.setFunctionExtensions("hitObjectGetWorldRayDirectionNV", 1, &E_GL_NV_shader_invocation_reorder);
10551|      6|            symbolTable.setFunctionExtensions("hitObjectGetWorldToObjectNV", 1, &E_GL_NV_shader_invocation_reorder);
10552|      6|            symbolTable.setFunctionExtensions("hitObjectGetbjectToWorldNV", 1, &E_GL_NV_shader_invocation_reorder);
10553|      6|            symbolTable.setFunctionExtensions("hitObjectGetInstanceCustomIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10554|      6|            symbolTable.setFunctionExtensions("hitObjectGetInstanceIdNV", 1, &E_GL_NV_shader_invocation_reorder);
10555|      6|            symbolTable.setFunctionExtensions("hitObjectGetGeometryIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10556|      6|            symbolTable.setFunctionExtensions("hitObjectGetPrimitiveIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10557|      6|            symbolTable.setFunctionExtensions("hitObjectGetHitKindNV", 1, &E_GL_NV_shader_invocation_reorder);
10558|      6|            symbolTable.setFunctionExtensions("hitObjectGetAttributesNV", 1, &E_GL_NV_shader_invocation_reorder);
10559|      6|            symbolTable.setFunctionExtensions("hitObjectGetCurrentTimeNV", 1, &E_GL_NV_shader_invocation_reorder);
10560|      6|            symbolTable.setFunctionExtensions("hitObjectGetShaderBindingTableRecordIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10561|      6|            symbolTable.setFunctionExtensions("hitObjectGetShaderRecordBufferHandleNV", 1, &E_GL_NV_shader_invocation_reorder);
10562|      6|            symbolTable.setFunctionExtensions("hitObjectGetClusterIdNV", 1, &E_GL_NV_cluster_acceleration_structure);
10563|      6|            symbolTable.setFunctionExtensions("reorderThreadNV", 1, &E_GL_NV_shader_invocation_reorder);
10564|      6|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexPositionNV", 1, &E_GL_NV_displacement_micromap);
10565|      6|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexBarycentricNV", 1, &E_GL_NV_displacement_micromap);
10566|      6|            symbolTable.setFunctionExtensions("hitObjectGetSpherePositionNV", 1, &E_GL_NV_linear_swept_spheres);
10567|      6|            symbolTable.setFunctionExtensions("hitObjectGetSphereRadiusNV", 1, &E_GL_NV_linear_swept_spheres);
10568|      6|            symbolTable.setFunctionExtensions("hitObjectGetLSSPositionsNV", 1, &E_GL_NV_linear_swept_spheres);
10569|      6|            symbolTable.setFunctionExtensions("hitObjectGetLSSRadiiNV", 1, &E_GL_NV_linear_swept_spheres);
10570|      6|            symbolTable.setFunctionExtensions("hitObjectIsSphereHitNV", 1, &E_GL_NV_linear_swept_spheres);
10571|      6|            symbolTable.setFunctionExtensions("hitObjectIsLSSHitNV", 1, &E_GL_NV_linear_swept_spheres);
10572|      6|            symbolTable.setFunctionExtensions("hitObjectTraceRayEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10573|      6|            symbolTable.setFunctionExtensions("hitObjectTraceRayMotionEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10574|      6|            symbolTable.setFunctionExtensions("hitObjectRecordMissEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10575|      6|            symbolTable.setFunctionExtensions("hitObjectRecordMissMotionEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10576|      6|            symbolTable.setFunctionExtensions("hitObjectRecordEmptyEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10577|      6|            symbolTable.setFunctionExtensions("hitObjectExecuteShaderEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10578|      6|            symbolTable.setFunctionExtensions("hitObjectIsEmptyEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10579|      6|            symbolTable.setFunctionExtensions("hitObjectIsMissEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10580|      6|            symbolTable.setFunctionExtensions("hitObjectIsHitEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10581|      6|            symbolTable.setFunctionExtensions("hitObjectGetRayTMinEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10582|      6|            symbolTable.setFunctionExtensions("hitObjectGetRayTMaxEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10583|      6|            symbolTable.setFunctionExtensions("hitObjectGetRayFlagsEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10584|      6|            symbolTable.setFunctionExtensions("hitObjectGetObjectRayOriginEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10585|      6|            symbolTable.setFunctionExtensions("hitObjectGetObjectRayDirectionEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10586|      6|            symbolTable.setFunctionExtensions("hitObjectGetWorldRayOriginEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10587|      6|            symbolTable.setFunctionExtensions("hitObjectGetWorldRayDirectionEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10588|      6|            symbolTable.setFunctionExtensions("hitObjectGetWorldToObjectEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10589|      6|            symbolTable.setFunctionExtensions("hitObjectGetObjectToWorldEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10590|      6|            symbolTable.setFunctionExtensions("hitObjectGetInstanceCustomIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10591|      6|            symbolTable.setFunctionExtensions("hitObjectGetInstanceIdEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10592|      6|            symbolTable.setFunctionExtensions("hitObjectGetGeometryIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10593|      6|            symbolTable.setFunctionExtensions("hitObjectGetPrimitiveIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10594|      6|            symbolTable.setFunctionExtensions("hitObjectGetHitKindEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10595|      6|            symbolTable.setFunctionExtensions("hitObjectGetAttributesEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10596|      6|            symbolTable.setFunctionExtensions("hitObjectGetCurrentTimeEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10597|      6|            symbolTable.setFunctionExtensions("hitObjectGetShaderBindingTableRecordIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10598|      6|            symbolTable.setFunctionExtensions("hitObjectGetShaderRecordBufferHandleEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10599|      6|            symbolTable.setFunctionExtensions("hitObjectSetShaderBindingTableRecordIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10600|      6|            symbolTable.setFunctionExtensions("reorderThreadEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10601|      6|            symbolTable.setFunctionExtensions("hitObjectReorderExecuteEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10602|      6|            symbolTable.setFunctionExtensions("hitObjectTraceReorderExecuteEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10603|      6|            symbolTable.setFunctionExtensions("hitObjectTraceMotionReorderExecuteEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10604|      6|            symbolTable.setFunctionExtensions("hitObjectRecordFromQueryEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10605|      6|            symbolTable.setFunctionExtensions("hitObjectGetIntersectionTriangleVertexPositionsEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10606|       |
10607|       |
10608|      6|            BuiltInVariable("gl_LaunchIDNV",             EbvLaunchId,           symbolTable);
10609|      6|            BuiltInVariable("gl_LaunchIDEXT",            EbvLaunchId,           symbolTable);
10610|      6|            BuiltInVariable("gl_LaunchSizeNV",           EbvLaunchSize,         symbolTable);
10611|      6|            BuiltInVariable("gl_LaunchSizeEXT",          EbvLaunchSize,         symbolTable);
10612|      6|            BuiltInVariable("gl_PrimitiveID",            EbvPrimitiveId,        symbolTable);
10613|      6|            BuiltInVariable("gl_InstanceID",             EbvInstanceId,         symbolTable);
10614|      6|            BuiltInVariable("gl_InstanceCustomIndexNV",  EbvInstanceCustomIndex,symbolTable);
10615|      6|            BuiltInVariable("gl_InstanceCustomIndexEXT", EbvInstanceCustomIndex,symbolTable);
10616|      6|            BuiltInVariable("gl_GeometryIndexEXT",       EbvGeometryIndex,      symbolTable);
10617|      6|            BuiltInVariable("gl_WorldRayOriginNV",       EbvWorldRayOrigin,     symbolTable);
10618|      6|            BuiltInVariable("gl_WorldRayOriginEXT",      EbvWorldRayOrigin,     symbolTable);
10619|      6|            BuiltInVariable("gl_WorldRayDirectionNV",    EbvWorldRayDirection,  symbolTable);
10620|      6|            BuiltInVariable("gl_WorldRayDirectionEXT",   EbvWorldRayDirection,  symbolTable);
10621|      6|            BuiltInVariable("gl_ObjectRayOriginNV",      EbvObjectRayOrigin,    symbolTable);
10622|      6|            BuiltInVariable("gl_ObjectRayOriginEXT",     EbvObjectRayOrigin,    symbolTable);
10623|      6|            BuiltInVariable("gl_ObjectRayDirectionNV",   EbvObjectRayDirection, symbolTable);
10624|      6|            BuiltInVariable("gl_ObjectRayDirectionEXT",  EbvObjectRayDirection, symbolTable);
10625|      6|            BuiltInVariable("gl_RayTminNV",              EbvRayTmin,            symbolTable);
10626|      6|            BuiltInVariable("gl_RayTminEXT",             EbvRayTmin,            symbolTable);
10627|      6|            BuiltInVariable("gl_RayTmaxNV",              EbvRayTmax,            symbolTable);
10628|      6|            BuiltInVariable("gl_RayTmaxEXT",             EbvRayTmax,            symbolTable);
10629|      6|            BuiltInVariable("gl_CullMaskEXT",            EbvCullMask,           symbolTable);
10630|      6|            BuiltInVariable("gl_HitKindNV",              EbvHitKind,            symbolTable);
10631|      6|            BuiltInVariable("gl_HitKindEXT",             EbvHitKind,            symbolTable);
10632|      6|            BuiltInVariable("gl_ObjectToWorldNV",        EbvObjectToWorld,      symbolTable);
10633|      6|            BuiltInVariable("gl_ObjectToWorldEXT",       EbvObjectToWorld,      symbolTable);
10634|      6|            BuiltInVariable("gl_ObjectToWorld3x4EXT",    EbvObjectToWorld3x4,   symbolTable);
10635|      6|            BuiltInVariable("gl_WorldToObjectNV",        EbvWorldToObject,      symbolTable);
10636|      6|            BuiltInVariable("gl_WorldToObjectEXT",       EbvWorldToObject,      symbolTable);
10637|      6|            BuiltInVariable("gl_WorldToObject3x4EXT",    EbvWorldToObject3x4,   symbolTable);
10638|      6|            BuiltInVariable("gl_IncomingRayFlagsNV",     EbvIncomingRayFlags,   symbolTable);
10639|      6|            BuiltInVariable("gl_IncomingRayFlagsEXT",    EbvIncomingRayFlags,   symbolTable);
10640|      6|            BuiltInVariable("gl_DeviceIndex",            EbvDeviceIndex,        symbolTable);
10641|      6|            BuiltInVariable("gl_CurrentRayTimeNV",       EbvCurrentRayTimeNV,   symbolTable);
10642|      6|            BuiltInVariable("gl_HitTriangleVertexPositionsEXT", EbvPositionFetch, symbolTable);
10643|      6|            BuiltInVariable("gl_HitMicroTriangleVertexPositionsNV", EbvMicroTrianglePositionNV, symbolTable);
10644|      6|            BuiltInVariable("gl_HitMicroTriangleVertexBarycentricsNV", EbvMicroTriangleBaryNV, symbolTable);
10645|      6|            BuiltInVariable("gl_HitKindFrontFacingMicroTriangleNV", EbvHitKindFrontFacingMicroTriangleNV, symbolTable);
10646|      6|            BuiltInVariable("gl_HitKindBackFacingMicroTriangleNV", EbvHitKindBackFacingMicroTriangleNV, symbolTable);
10647|      6|            BuiltInVariable("gl_ClusterIDNV",            EbvClusterIDNV,         symbolTable);
10648|      6|            BuiltInVariable("gl_HitIsSphereNV", EbvHitIsSphereNV, symbolTable);
10649|      6|            BuiltInVariable("gl_HitIsLSSNV", EbvHitIsLSSNV, symbolTable);
10650|      6|            BuiltInVariable("gl_HitSpherePositionNV", EbvHitSpherePositionNV, symbolTable);
10651|      6|            BuiltInVariable("gl_HitSphereRadiusNV", EbvHitSphereRadiusNV, symbolTable);
10652|      6|            BuiltInVariable("gl_HitLSSPositionsNV", EbvHitLSSPositionsNV, symbolTable);
10653|      6|            BuiltInVariable("gl_HitLSSRadiiNV", EbvHitLSSRadiiNV, symbolTable);
10654|       |
10655|       |            // gl_HitT variables are aliases of their gl_RayTmax counterparts.
10656|      6|            RetargetVariable("gl_HitTNV",                "gl_RayTmaxNV",        symbolTable);
10657|      6|            RetargetVariable("gl_HitTEXT",               "gl_RayTmaxEXT",       symbolTable);
10658|       |
10659|       |            // GL_ARB_shader_ballot
10660|      6|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
10661|      6|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
10662|      6|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
10663|      6|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
10664|      6|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
10665|      6|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
10666|      6|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
10667|       |
10668|      6|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
10669|      6|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
10670|      6|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
10671|      6|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
10672|      6|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
10673|      6|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
10674|       |
10675|      6|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (10675:17): [True: 6, False: 0]
  ------------------
10676|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
10677|      6|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
10678|      6|                if (language == EShLangFragment)
  ------------------
  |  Branch (10678:21): [True: 0, False: 6]
  ------------------
10679|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
10680|      6|            }
10681|      0|            else
10682|      0|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
10683|       |
10684|       |            // GL_KHR_shader_subgroup
10685|      6|            symbolTable.setVariableExtensions("gl_NumSubgroups",         1, &E_GL_KHR_shader_subgroup_basic);
10686|      6|            symbolTable.setVariableExtensions("gl_SubgroupID",           1, &E_GL_KHR_shader_subgroup_basic);
10687|      6|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
10688|      6|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
10689|      6|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10690|      6|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10691|      6|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10692|      6|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10693|      6|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10694|       |
10695|      6|            BuiltInVariable("gl_NumSubgroups",         EbvNumSubgroups,        symbolTable);
10696|      6|            BuiltInVariable("gl_SubgroupID",           EbvSubgroupID,          symbolTable);
10697|      6|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
10698|      6|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
10699|      6|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
10700|      6|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
10701|      6|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
10702|      6|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
10703|      6|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
10704|       |
10705|       |            // GL_NV_shader_sm_builtins
10706|      6|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
10707|      6|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
10708|      6|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
10709|      6|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
10710|      6|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
10711|      6|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
10712|      6|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
10713|      6|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
10714|       |
10715|       |            // GL_ARM_shader_core_builtins
10716|      6|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
10717|      6|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
10718|      6|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10719|      6|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
10720|      6|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10721|       |
10722|      6|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
10723|      6|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
10724|      6|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
10725|      6|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
10726|      6|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
10727|      6|        }
10728|     72|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10728:14): [True: 0, False: 72]
  |  Branch (10728:39): [True: 0, False: 0]
  ------------------
10729|     72|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10729:14): [True: 72, False: 0]
  |  Branch (10729:39): [True: 72, False: 0]
  ------------------
10730|     72|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10731|     72|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10732|     72|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10733|     72|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10734|     72|        }
10735|     72|        break;
10736|       |
10737|      5|    case EShLangMesh:
  ------------------
  |  Branch (10737:5): [True: 5, False: 396]
  ------------------
10738|      5|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (10738:14): [True: 5, False: 0]
  |  Branch (10738:39): [True: 5, False: 0]
  |  Branch (10738:59): [True: 0, False: 0]
  |  Branch (10738:84): [True: 0, False: 0]
  ------------------
10739|       |            // per-vertex builtins
10740|      5|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_Position",     1, &E_GL_NV_mesh_shader);
10741|      5|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_PointSize",    1, &E_GL_NV_mesh_shader);
10742|      5|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_ClipDistance", 1, &E_GL_NV_mesh_shader);
10743|      5|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_CullDistance", 1, &E_GL_NV_mesh_shader);
10744|       |
10745|      5|            BuiltInVariable("gl_MeshVerticesNV", "gl_Position",     EbvPosition,     symbolTable);
10746|      5|            BuiltInVariable("gl_MeshVerticesNV", "gl_PointSize",    EbvPointSize,    symbolTable);
10747|      5|            BuiltInVariable("gl_MeshVerticesNV", "gl_ClipDistance", EbvClipDistance, symbolTable);
10748|      5|            BuiltInVariable("gl_MeshVerticesNV", "gl_CullDistance", EbvCullDistance, symbolTable);
10749|       |
10750|      5|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_PositionPerViewNV",     1, &E_GL_NV_mesh_shader);
10751|      5|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_ClipDistancePerViewNV", 1, &E_GL_NV_mesh_shader);
10752|      5|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_CullDistancePerViewNV", 1, &E_GL_NV_mesh_shader);
10753|       |
10754|      5|            BuiltInVariable("gl_MeshVerticesNV", "gl_PositionPerViewNV",     EbvPositionPerViewNV,     symbolTable);
10755|      5|            BuiltInVariable("gl_MeshVerticesNV", "gl_ClipDistancePerViewNV", EbvClipDistancePerViewNV, symbolTable);
10756|      5|            BuiltInVariable("gl_MeshVerticesNV", "gl_CullDistancePerViewNV", EbvCullDistancePerViewNV, symbolTable);
10757|       |
10758|       |            // per-primitive builtins
10759|      5|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_PrimitiveID",   1, &E_GL_NV_mesh_shader);
10760|      5|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_Layer",         1, &E_GL_NV_mesh_shader);
10761|      5|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_ViewportIndex", 1, &E_GL_NV_mesh_shader);
10762|      5|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_ViewportMask",  1, &E_GL_NV_mesh_shader);
10763|       |
10764|      5|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_PrimitiveID",   EbvPrimitiveId,    symbolTable);
10765|      5|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_Layer",         EbvLayer,          symbolTable);
10766|      5|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_ViewportIndex", EbvViewportIndex,  symbolTable);
10767|      5|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_ViewportMask",  EbvViewportMaskNV, symbolTable);
10768|       |
10769|       |            // per-view per-primitive builtins
10770|      5|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_LayerPerViewNV",        1, &E_GL_NV_mesh_shader);
10771|      5|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_ViewportMaskPerViewNV", 1, &E_GL_NV_mesh_shader);
10772|       |
10773|      5|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_LayerPerViewNV",        EbvLayerPerViewNV,        symbolTable);
10774|      5|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_ViewportMaskPerViewNV", EbvViewportMaskPerViewNV, symbolTable);
10775|       |
10776|       |            // other builtins
10777|      5|            symbolTable.setVariableExtensions("gl_PrimitiveCountNV",     1, &E_GL_NV_mesh_shader);
10778|      5|            symbolTable.setVariableExtensions("gl_PrimitiveIndicesNV",   1, &E_GL_NV_mesh_shader);
10779|      5|            symbolTable.setVariableExtensions("gl_MeshViewCountNV",      1, &E_GL_NV_mesh_shader);
10780|      5|            symbolTable.setVariableExtensions("gl_MeshViewIndicesNV",    1, &E_GL_NV_mesh_shader);
10781|      5|            if (profile != EEsProfile) {
  ------------------
  |  Branch (10781:17): [True: 5, False: 0]
  ------------------
10782|      5|                symbolTable.setVariableExtensions("gl_WorkGroupSize",        Num_AEP_mesh_shader, AEP_mesh_shader);
10783|      5|                symbolTable.setVariableExtensions("gl_WorkGroupID",          Num_AEP_mesh_shader, AEP_mesh_shader);
10784|      5|                symbolTable.setVariableExtensions("gl_LocalInvocationID",    Num_AEP_mesh_shader, AEP_mesh_shader);
10785|      5|                symbolTable.setVariableExtensions("gl_GlobalInvocationID",   Num_AEP_mesh_shader, AEP_mesh_shader);
10786|      5|                symbolTable.setVariableExtensions("gl_LocalInvocationIndex", Num_AEP_mesh_shader, AEP_mesh_shader);
10787|      5|            } else {
10788|      0|                symbolTable.setVariableExtensions("gl_WorkGroupSize",        1, &E_GL_NV_mesh_shader);
10789|      0|                symbolTable.setVariableExtensions("gl_WorkGroupID",          1, &E_GL_NV_mesh_shader);
10790|      0|                symbolTable.setVariableExtensions("gl_LocalInvocationID",    1, &E_GL_NV_mesh_shader);
10791|      0|                symbolTable.setVariableExtensions("gl_GlobalInvocationID",   1, &E_GL_NV_mesh_shader);
10792|      0|                symbolTable.setVariableExtensions("gl_LocalInvocationIndex", 1, &E_GL_NV_mesh_shader);
10793|      0|            }
10794|      5|            BuiltInVariable("gl_PrimitiveCountNV",     EbvPrimitiveCountNV,     symbolTable);
10795|      5|            BuiltInVariable("gl_PrimitiveIndicesNV",   EbvPrimitiveIndicesNV,   symbolTable);
10796|      5|            BuiltInVariable("gl_MeshViewCountNV",      EbvMeshViewCountNV,      symbolTable);
10797|      5|            BuiltInVariable("gl_MeshViewIndicesNV",    EbvMeshViewIndicesNV,    symbolTable);
10798|      5|            BuiltInVariable("gl_WorkGroupSize",        EbvWorkGroupSize,        symbolTable);
10799|      5|            BuiltInVariable("gl_WorkGroupID",          EbvWorkGroupId,          symbolTable);
10800|      5|            BuiltInVariable("gl_LocalInvocationID",    EbvLocalInvocationId,    symbolTable);
10801|      5|            BuiltInVariable("gl_GlobalInvocationID",   EbvGlobalInvocationId,   symbolTable);
10802|      5|            BuiltInVariable("gl_LocalInvocationIndex", EbvLocalInvocationIndex, symbolTable);
10803|       |
10804|       |            // builtin constants
10805|      5|            symbolTable.setVariableExtensions("gl_MaxMeshOutputVerticesNV",   1, &E_GL_NV_mesh_shader);
10806|      5|            symbolTable.setVariableExtensions("gl_MaxMeshOutputPrimitivesNV", 1, &E_GL_NV_mesh_shader);
10807|      5|            symbolTable.setVariableExtensions("gl_MaxMeshWorkGroupSizeNV",    1, &E_GL_NV_mesh_shader);
10808|      5|            symbolTable.setVariableExtensions("gl_MaxMeshViewCountNV",        1, &E_GL_NV_mesh_shader);
10809|       |
10810|       |            // builtin functions
10811|      5|            if (profile != EEsProfile) {
  ------------------
  |  Branch (10811:17): [True: 5, False: 0]
  ------------------
10812|      5|                symbolTable.setFunctionExtensions("barrier",                      Num_AEP_mesh_shader, AEP_mesh_shader);
10813|      5|                symbolTable.setFunctionExtensions("memoryBarrierShared",          Num_AEP_mesh_shader, AEP_mesh_shader);
10814|      5|                symbolTable.setFunctionExtensions("groupMemoryBarrier",           Num_AEP_mesh_shader, AEP_mesh_shader);
10815|      5|            } else {
10816|      0|                symbolTable.setFunctionExtensions("barrier",                      1, &E_GL_NV_mesh_shader);
10817|      0|                symbolTable.setFunctionExtensions("memoryBarrierShared",          1, &E_GL_NV_mesh_shader);
10818|      0|                symbolTable.setFunctionExtensions("groupMemoryBarrier",           1, &E_GL_NV_mesh_shader);
10819|      0|            }
10820|      5|            symbolTable.setFunctionExtensions("writePackedPrimitiveIndices4x8NV",  1, &E_GL_NV_mesh_shader);
10821|      5|        }
10822|       |
10823|      5|        if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (10823:13): [True: 5, False: 0]
  |  Branch (10823:38): [True: 5, False: 0]
  ------------------
10824|       |            // GL_EXT_Mesh_shader
10825|      5|            symbolTable.setVariableExtensions("gl_PrimitivePointIndicesEXT",    1, &E_GL_EXT_mesh_shader);
10826|      5|            symbolTable.setVariableExtensions("gl_PrimitiveLineIndicesEXT",     1, &E_GL_EXT_mesh_shader);
10827|      5|            symbolTable.setVariableExtensions("gl_PrimitiveTriangleIndicesEXT", 1, &E_GL_EXT_mesh_shader);
10828|      5|            symbolTable.setVariableExtensions("gl_NumWorkGroups",               1, &E_GL_EXT_mesh_shader);
10829|       |
10830|      5|            BuiltInVariable("gl_PrimitivePointIndicesEXT",    EbvPrimitivePointIndicesEXT,    symbolTable);
10831|      5|            BuiltInVariable("gl_PrimitiveLineIndicesEXT",     EbvPrimitiveLineIndicesEXT,     symbolTable);
10832|      5|            BuiltInVariable("gl_PrimitiveTriangleIndicesEXT", EbvPrimitiveTriangleIndicesEXT, symbolTable);
10833|      5|            BuiltInVariable("gl_NumWorkGroups",        EbvNumWorkGroups,        symbolTable);
10834|       |
10835|      5|            symbolTable.setVariableExtensions("gl_MeshVerticesEXT", "gl_Position",     1, &E_GL_EXT_mesh_shader);
10836|      5|            symbolTable.setVariableExtensions("gl_MeshVerticesEXT", "gl_PointSize",    1, &E_GL_EXT_mesh_shader);
10837|      5|            symbolTable.setVariableExtensions("gl_MeshVerticesEXT", "gl_ClipDistance", 1, &E_GL_EXT_mesh_shader);
10838|      5|            symbolTable.setVariableExtensions("gl_MeshVerticesEXT", "gl_CullDistance", 1, &E_GL_EXT_mesh_shader);
10839|       |            
10840|      5|            BuiltInVariable("gl_MeshVerticesEXT", "gl_Position",     EbvPosition,     symbolTable);
10841|      5|            BuiltInVariable("gl_MeshVerticesEXT", "gl_PointSize",    EbvPointSize,    symbolTable);
10842|      5|            BuiltInVariable("gl_MeshVerticesEXT", "gl_ClipDistance", EbvClipDistance, symbolTable);
10843|      5|            BuiltInVariable("gl_MeshVerticesEXT", "gl_CullDistance", EbvCullDistance, symbolTable);
10844|       |            
10845|      5|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_PrimitiveID",             1, &E_GL_EXT_mesh_shader);
10846|      5|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_Layer",                   1, &E_GL_EXT_mesh_shader);
10847|      5|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_ViewportIndex",           1, &E_GL_EXT_mesh_shader);
10848|      5|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_CullPrimitiveEXT",        1, &E_GL_EXT_mesh_shader);
10849|       |
10850|       |            // note: technically this member requires both GL_EXT_mesh_shader and GL_EXT_fragment_shading_rate
10851|       |            // since setVariableExtensions only needs *one of* the extensions to validate, it's more useful to specify EXT_fragment_shading_rate
10852|       |            // GL_EXT_mesh_shader will be required in practice by use of other fields of gl_MeshPrimitivesEXT
10853|      5|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_PrimitiveShadingRateEXT", 1, &E_GL_EXT_fragment_shading_rate);
10854|       |
10855|      5|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_PrimitiveID",              EbvPrimitiveId,    symbolTable);
10856|      5|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_Layer",                    EbvLayer,          symbolTable);
10857|      5|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_ViewportIndex",            EbvViewportIndex,  symbolTable);
10858|      5|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_CullPrimitiveEXT",         EbvCullPrimitiveEXT, symbolTable);
10859|      5|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_PrimitiveShadingRateEXT",  EbvPrimitiveShadingRateKHR, symbolTable);
10860|       |
10861|      5|            symbolTable.setFunctionExtensions("SetMeshOutputsEXT",  1, &E_GL_EXT_mesh_shader);
10862|       |
10863|       |            // GL_EXT_device_group
10864|      5|            symbolTable.setVariableExtensions("gl_DeviceIndex", 1, &E_GL_EXT_device_group);
10865|      5|            BuiltInVariable("gl_DeviceIndex", EbvDeviceIndex, symbolTable);
10866|       |
10867|       |            // GL_ARB_shader_draw_parameters
10868|      5|            symbolTable.setVariableExtensions("gl_DrawIDARB", 1, &E_GL_ARB_shader_draw_parameters);
10869|      5|            BuiltInVariable("gl_DrawIDARB", EbvDrawId, symbolTable);
10870|      5|            if (version >= 460) {
  ------------------
  |  Branch (10870:17): [True: 0, False: 5]
  ------------------
10871|      0|                BuiltInVariable("gl_DrawID", EbvDrawId, symbolTable);
10872|      0|            }
10873|       |            // GL_EXT_multiview
10874|      5|            BuiltInVariable("gl_ViewIndex", EbvViewIndex, symbolTable);
10875|      5|            symbolTable.setVariableExtensions("gl_ViewIndex", 1, &E_GL_EXT_multiview);
10876|       |
10877|       |            // GL_ARB_shader_ballot
10878|      5|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
10879|      5|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
10880|      5|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
10881|      5|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
10882|      5|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
10883|      5|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
10884|      5|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
10885|       |
10886|      5|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
10887|      5|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
10888|      5|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
10889|      5|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
10890|      5|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
10891|      5|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
10892|       |
10893|      5|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (10893:17): [True: 5, False: 0]
  ------------------
10894|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
10895|      5|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
10896|      5|                if (language == EShLangFragment)
  ------------------
  |  Branch (10896:21): [True: 0, False: 5]
  ------------------
10897|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
10898|      5|            }
10899|      0|            else
10900|      0|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
10901|      5|        }
10902|       |
10903|       |        // GL_KHR_shader_subgroup
10904|      5|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10904:14): [True: 0, False: 5]
  |  Branch (10904:39): [True: 0, False: 0]
  ------------------
10905|      5|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10905:14): [True: 5, False: 0]
  |  Branch (10905:39): [True: 5, False: 0]
  ------------------
10906|      5|            symbolTable.setVariableExtensions("gl_NumSubgroups",         1, &E_GL_KHR_shader_subgroup_basic);
10907|      5|            symbolTable.setVariableExtensions("gl_SubgroupID",           1, &E_GL_KHR_shader_subgroup_basic);
10908|      5|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
10909|      5|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
10910|      5|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10911|      5|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10912|      5|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10913|      5|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10914|      5|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10915|       |
10916|      5|            BuiltInVariable("gl_NumSubgroups",         EbvNumSubgroups,        symbolTable);
10917|      5|            BuiltInVariable("gl_SubgroupID",           EbvSubgroupID,          symbolTable);
10918|      5|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
10919|      5|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
10920|      5|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
10921|      5|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
10922|      5|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
10923|      5|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
10924|      5|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
10925|       |
10926|      5|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierShared", 1, &E_GL_KHR_shader_subgroup_basic);
10927|       |
10928|       |            // GL_NV_shader_sm_builtins
10929|      5|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
10930|      5|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
10931|      5|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
10932|      5|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
10933|      5|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
10934|      5|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
10935|      5|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
10936|      5|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
10937|       |
10938|       |            // GL_ARM_shader_core_builtins
10939|      5|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
10940|      5|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
10941|      5|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10942|      5|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
10943|      5|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10944|       |
10945|      5|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
10946|      5|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
10947|      5|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
10948|      5|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
10949|      5|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
10950|      5|        }
10951|       |
10952|      5|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10952:14): [True: 0, False: 5]
  |  Branch (10952:39): [True: 0, False: 0]
  ------------------
10953|      5|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10953:14): [True: 5, False: 0]
  |  Branch (10953:39): [True: 5, False: 0]
  ------------------
10954|      5|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10955|      5|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10956|      5|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10957|      5|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10958|      5|        }
10959|       |
10960|       |        // Builtins for GL_NV_displacment_micromap
10961|      5|        if ((profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (10961:14): [True: 5, False: 0]
  |  Branch (10961:39): [True: 0, False: 5]
  ------------------
10962|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexPositionNV", 1, &E_GL_NV_displacement_micromap);
10963|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexBarycentricNV", 1, &E_GL_NV_displacement_micromap);
10964|      0|        }
10965|       |
10966|      5|        break;
10967|       |
10968|     12|    case EShLangTask:
  ------------------
  |  Branch (10968:5): [True: 12, False: 389]
  ------------------
10969|     12|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (10969:14): [True: 12, False: 0]
  |  Branch (10969:39): [True: 12, False: 0]
  |  Branch (10969:59): [True: 0, False: 0]
  |  Branch (10969:84): [True: 0, False: 0]
  ------------------
10970|     12|            symbolTable.setVariableExtensions("gl_TaskCountNV",          1, &E_GL_NV_mesh_shader);
10971|     12|            symbolTable.setVariableExtensions("gl_MeshViewCountNV",      1, &E_GL_NV_mesh_shader);
10972|     12|            symbolTable.setVariableExtensions("gl_MeshViewIndicesNV",    1, &E_GL_NV_mesh_shader);
10973|     12|            if (profile != EEsProfile) {
  ------------------
  |  Branch (10973:17): [True: 12, False: 0]
  ------------------
10974|     12|                symbolTable.setVariableExtensions("gl_WorkGroupSize",        Num_AEP_mesh_shader, AEP_mesh_shader);
10975|     12|                symbolTable.setVariableExtensions("gl_WorkGroupID",          Num_AEP_mesh_shader, AEP_mesh_shader);
10976|     12|                symbolTable.setVariableExtensions("gl_LocalInvocationID",    Num_AEP_mesh_shader, AEP_mesh_shader);
10977|     12|                symbolTable.setVariableExtensions("gl_GlobalInvocationID",   Num_AEP_mesh_shader, AEP_mesh_shader);
10978|     12|                symbolTable.setVariableExtensions("gl_LocalInvocationIndex", Num_AEP_mesh_shader, AEP_mesh_shader);
10979|     12|            } else {
10980|      0|                symbolTable.setVariableExtensions("gl_WorkGroupSize",        1, &E_GL_NV_mesh_shader);
10981|      0|                symbolTable.setVariableExtensions("gl_WorkGroupID",          1, &E_GL_NV_mesh_shader);
10982|      0|                symbolTable.setVariableExtensions("gl_LocalInvocationID",    1, &E_GL_NV_mesh_shader);
10983|      0|                symbolTable.setVariableExtensions("gl_GlobalInvocationID",   1, &E_GL_NV_mesh_shader);
10984|      0|                symbolTable.setVariableExtensions("gl_LocalInvocationIndex", 1, &E_GL_NV_mesh_shader);
10985|      0|            }
10986|       |
10987|     12|            BuiltInVariable("gl_TaskCountNV",          EbvTaskCountNV,          symbolTable);
10988|     12|            BuiltInVariable("gl_WorkGroupSize",        EbvWorkGroupSize,        symbolTable);
10989|     12|            BuiltInVariable("gl_WorkGroupID",          EbvWorkGroupId,          symbolTable);
10990|     12|            BuiltInVariable("gl_LocalInvocationID",    EbvLocalInvocationId,    symbolTable);
10991|     12|            BuiltInVariable("gl_GlobalInvocationID",   EbvGlobalInvocationId,   symbolTable);
10992|     12|            BuiltInVariable("gl_LocalInvocationIndex", EbvLocalInvocationIndex, symbolTable);
10993|     12|            BuiltInVariable("gl_MeshViewCountNV",      EbvMeshViewCountNV,      symbolTable);
10994|     12|            BuiltInVariable("gl_MeshViewIndicesNV",    EbvMeshViewIndicesNV,    symbolTable);
10995|       |
10996|     12|            symbolTable.setVariableExtensions("gl_MaxTaskWorkGroupSizeNV", 1, &E_GL_NV_mesh_shader);
10997|     12|            symbolTable.setVariableExtensions("gl_MaxMeshViewCountNV",     1, &E_GL_NV_mesh_shader);
10998|       |
10999|     12|            if (profile != EEsProfile) {
  ------------------
  |  Branch (10999:17): [True: 12, False: 0]
  ------------------
11000|     12|                symbolTable.setFunctionExtensions("barrier",                   Num_AEP_mesh_shader, AEP_mesh_shader);
11001|     12|                symbolTable.setFunctionExtensions("memoryBarrierShared",       Num_AEP_mesh_shader, AEP_mesh_shader);
11002|     12|                symbolTable.setFunctionExtensions("groupMemoryBarrier",        Num_AEP_mesh_shader, AEP_mesh_shader);
11003|     12|            } else {
11004|      0|                symbolTable.setFunctionExtensions("barrier",                   1, &E_GL_NV_mesh_shader);
11005|      0|                symbolTable.setFunctionExtensions("memoryBarrierShared",       1, &E_GL_NV_mesh_shader);
11006|      0|                symbolTable.setFunctionExtensions("groupMemoryBarrier",        1, &E_GL_NV_mesh_shader);
11007|      0|            }
11008|     12|        }
11009|       |
11010|     12|        if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (11010:13): [True: 12, False: 0]
  |  Branch (11010:38): [True: 12, False: 0]
  ------------------
11011|       |            // GL_EXT_mesh_shader
11012|     12|            symbolTable.setFunctionExtensions("EmitMeshTasksEXT",          1, &E_GL_EXT_mesh_shader);
11013|     12|            symbolTable.setVariableExtensions("gl_NumWorkGroups",        1, &E_GL_EXT_mesh_shader);
11014|     12|            BuiltInVariable("gl_NumWorkGroups",        EbvNumWorkGroups,        symbolTable);
11015|       |
11016|       |            // GL_EXT_device_group
11017|     12|            symbolTable.setVariableExtensions("gl_DeviceIndex", 1, &E_GL_EXT_device_group);
11018|     12|            BuiltInVariable("gl_DeviceIndex", EbvDeviceIndex, symbolTable);
11019|       |
11020|       |            // GL_ARB_shader_draw_parameters
11021|     12|            symbolTable.setVariableExtensions("gl_DrawIDARB", 1, &E_GL_ARB_shader_draw_parameters);
11022|     12|            BuiltInVariable("gl_DrawIDARB", EbvDrawId, symbolTable);
11023|     12|            if (version >= 460) {
  ------------------
  |  Branch (11023:17): [True: 1, False: 11]
  ------------------
11024|      1|                BuiltInVariable("gl_DrawID", EbvDrawId, symbolTable);
11025|      1|            }
11026|       |
11027|       |            // GL_ARB_shader_ballot
11028|     12|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
11029|     12|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
11030|     12|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
11031|     12|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
11032|     12|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
11033|     12|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
11034|     12|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
11035|       |
11036|     12|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
11037|     12|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
11038|     12|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
11039|     12|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
11040|     12|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
11041|     12|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
11042|       |
11043|     12|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (11043:17): [True: 12, False: 0]
  ------------------
11044|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
11045|     12|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
11046|     12|                if (language == EShLangFragment)
  ------------------
  |  Branch (11046:21): [True: 0, False: 12]
  ------------------
11047|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
11048|     12|            }
11049|      0|            else
11050|      0|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
11051|     12|        }
11052|       |
11053|       |        // GL_KHR_shader_subgroup
11054|     12|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11054:14): [True: 0, False: 12]
  |  Branch (11054:39): [True: 0, False: 0]
  ------------------
11055|     12|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11055:14): [True: 12, False: 0]
  |  Branch (11055:39): [True: 12, False: 0]
  ------------------
11056|     12|            symbolTable.setVariableExtensions("gl_NumSubgroups",         1, &E_GL_KHR_shader_subgroup_basic);
11057|     12|            symbolTable.setVariableExtensions("gl_SubgroupID",           1, &E_GL_KHR_shader_subgroup_basic);
11058|     12|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
11059|     12|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
11060|     12|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11061|     12|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11062|     12|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11063|     12|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11064|     12|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11065|       |
11066|     12|            BuiltInVariable("gl_NumSubgroups",         EbvNumSubgroups,        symbolTable);
11067|     12|            BuiltInVariable("gl_SubgroupID",           EbvSubgroupID,          symbolTable);
11068|     12|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
11069|     12|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
11070|     12|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
11071|     12|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
11072|     12|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
11073|     12|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
11074|     12|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
11075|       |
11076|     12|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierShared", 1, &E_GL_KHR_shader_subgroup_basic);
11077|       |
11078|       |            // GL_NV_shader_sm_builtins
11079|     12|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
11080|     12|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
11081|     12|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
11082|     12|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
11083|     12|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
11084|     12|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
11085|     12|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
11086|     12|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
11087|       |
11088|       |            // GL_ARM_shader_core_builtins
11089|     12|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
11090|     12|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
11091|     12|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
11092|     12|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
11093|     12|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
11094|       |
11095|     12|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
11096|     12|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
11097|     12|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
11098|     12|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
11099|     12|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
11100|     12|        }
11101|     12|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11101:14): [True: 0, False: 12]
  |  Branch (11101:39): [True: 0, False: 0]
  ------------------
11102|     12|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (11102:14): [True: 12, False: 0]
  |  Branch (11102:39): [True: 12, False: 0]
  ------------------
11103|     12|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11104|     12|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11105|     12|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11106|     12|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11107|     12|        }
11108|     12|        break;
11109|       |
11110|      0|    default:
  ------------------
  |  Branch (11110:5): [True: 0, False: 401]
  ------------------
11111|      0|        assert(false && "Language not supported");
11112|      0|        break;
11113|    401|    }
11114|       |
11115|       |    //
11116|       |    // Next, identify which built-ins have a mapping to an operator.
11117|       |    // If PureOperatorBuiltins is false, those that are not identified as such are
11118|       |    // expected to be resolved through a library of functions, versus as
11119|       |    // operations.
11120|       |    //
11121|       |
11122|    401|    relateTabledBuiltins(version, profile, spvVersion, language, symbolTable);
11123|       |
11124|    401|    symbolTable.relateToOperator("doubleBitsToInt64",  EOpDoubleBitsToInt64);
11125|    401|    symbolTable.relateToOperator("doubleBitsToUint64", EOpDoubleBitsToUint64);
11126|    401|    symbolTable.relateToOperator("int64BitsToDouble",  EOpInt64BitsToDouble);
11127|    401|    symbolTable.relateToOperator("uint64BitsToDouble", EOpUint64BitsToDouble);
11128|    401|    symbolTable.relateToOperator("halfBitsToInt16",  EOpFloat16BitsToInt16);
11129|    401|    symbolTable.relateToOperator("halfBitsToUint16", EOpFloat16BitsToUint16);
11130|    401|    symbolTable.relateToOperator("float16BitsToInt16",  EOpFloat16BitsToInt16);
11131|    401|    symbolTable.relateToOperator("float16BitsToUint16", EOpFloat16BitsToUint16);
11132|    401|    symbolTable.relateToOperator("int16BitsToFloat16",  EOpInt16BitsToFloat16);
11133|    401|    symbolTable.relateToOperator("uint16BitsToFloat16", EOpUint16BitsToFloat16);
11134|       |
11135|    401|    symbolTable.relateToOperator("int16BitsToHalf",  EOpInt16BitsToFloat16);
11136|    401|    symbolTable.relateToOperator("uint16BitsToHalf", EOpUint16BitsToFloat16);
11137|       |
11138|    401|    symbolTable.relateToOperator("packSnorm4x8",    EOpPackSnorm4x8);
11139|    401|    symbolTable.relateToOperator("unpackSnorm4x8",  EOpUnpackSnorm4x8);
11140|    401|    symbolTable.relateToOperator("packUnorm4x8",    EOpPackUnorm4x8);
11141|    401|    symbolTable.relateToOperator("unpackUnorm4x8",  EOpUnpackUnorm4x8);
11142|       |
11143|    401|    symbolTable.relateToOperator("packDouble2x32",    EOpPackDouble2x32);
11144|    401|    symbolTable.relateToOperator("unpackDouble2x32",  EOpUnpackDouble2x32);
11145|       |
11146|    401|    symbolTable.relateToOperator("packInt2x32",     EOpPackInt2x32);
11147|    401|    symbolTable.relateToOperator("unpackInt2x32",   EOpUnpackInt2x32);
11148|    401|    symbolTable.relateToOperator("packUint2x32",    EOpPackUint2x32);
11149|    401|    symbolTable.relateToOperator("unpackUint2x32",  EOpUnpackUint2x32);
11150|       |
11151|    401|    symbolTable.relateToOperator("packInt2x16",     EOpPackInt2x16);
11152|    401|    symbolTable.relateToOperator("unpackInt2x16",   EOpUnpackInt2x16);
11153|    401|    symbolTable.relateToOperator("packUint2x16",    EOpPackUint2x16);
11154|    401|    symbolTable.relateToOperator("unpackUint2x16",  EOpUnpackUint2x16);
11155|       |
11156|    401|    symbolTable.relateToOperator("packInt4x16",     EOpPackInt4x16);
11157|    401|    symbolTable.relateToOperator("unpackInt4x16",   EOpUnpackInt4x16);
11158|    401|    symbolTable.relateToOperator("packUint4x16",    EOpPackUint4x16);
11159|    401|    symbolTable.relateToOperator("unpackUint4x16",  EOpUnpackUint4x16);
11160|    401|    symbolTable.relateToOperator("packFloat2x16",   EOpPackFloat2x16);
11161|    401|    symbolTable.relateToOperator("unpackFloat2x16", EOpUnpackFloat2x16);
11162|       |
11163|    401|    symbolTable.relateToOperator("pack16",          EOpPack16);
11164|    401|    symbolTable.relateToOperator("pack32",          EOpPack32);
11165|    401|    symbolTable.relateToOperator("pack64",          EOpPack64);
11166|       |
11167|    401|    symbolTable.relateToOperator("unpack32",        EOpUnpack32);
11168|    401|    symbolTable.relateToOperator("unpack16",        EOpUnpack16);
11169|    401|    symbolTable.relateToOperator("unpack8",         EOpUnpack8);
11170|       |
11171|    401|    symbolTable.relateToOperator("controlBarrier",             EOpBarrier);
11172|    401|    symbolTable.relateToOperator("memoryBarrierAtomicCounter", EOpMemoryBarrierAtomicCounter);
11173|    401|    symbolTable.relateToOperator("memoryBarrierImage",         EOpMemoryBarrierImage);
11174|       |
11175|    401|    if (spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (11175:9): [True: 0, False: 401]
  ------------------
11176|       |        //
11177|       |        // functions signature have been replaced to take uint operations on buffer variables
11178|       |        // remap atomic counter functions to atomic operations
11179|       |        //
11180|      0|        symbolTable.relateToOperator("memoryBarrierAtomicCounter", EOpMemoryBarrierBuffer);
11181|      0|    }
11182|       |
11183|    401|    symbolTable.relateToOperator("atomicLoad",     EOpAtomicLoad);
11184|    401|    symbolTable.relateToOperator("atomicStore",    EOpAtomicStore);
11185|       |
11186|    401|    symbolTable.relateToOperator("atomicCounterIncrement", EOpAtomicCounterIncrement);
11187|    401|    symbolTable.relateToOperator("atomicCounterDecrement", EOpAtomicCounterDecrement);
11188|    401|    symbolTable.relateToOperator("atomicCounter",          EOpAtomicCounter);
11189|       |
11190|    401|    if (spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (11190:9): [True: 0, False: 401]
  ------------------
11191|       |        //
11192|       |        // functions signature have been replaced to take uint operations
11193|       |        // remap atomic counter functions to atomic operations
11194|       |        //
11195|       |        // these atomic counter functions do not match signatures of glsl
11196|       |        // atomic functions, so they will be remapped to semantically
11197|       |        // equivalent functions in the parser
11198|       |        //
11199|      0|        symbolTable.relateToOperator("atomicCounterIncrement", EOpNull);
11200|      0|        symbolTable.relateToOperator("atomicCounterDecrement", EOpNull);
11201|      0|        symbolTable.relateToOperator("atomicCounter", EOpNull);
11202|      0|    }
11203|       |
11204|    401|    symbolTable.relateToOperator("clockARB",     EOpReadClockSubgroupKHR);
11205|    401|    symbolTable.relateToOperator("clock2x32ARB", EOpReadClockSubgroupKHR);
11206|       |
11207|    401|    symbolTable.relateToOperator("clockRealtimeEXT",     EOpReadClockDeviceKHR);
11208|    401|    symbolTable.relateToOperator("clockRealtime2x32EXT", EOpReadClockDeviceKHR);
11209|       |
11210|    401|    if (profile != EEsProfile && version == 450) {
  ------------------
  |  Branch (11210:9): [True: 401, False: 0]
  |  Branch (11210:34): [True: 148, False: 253]
  ------------------
11211|    148|        symbolTable.relateToOperator("atomicCounterAddARB",      EOpAtomicCounterAdd);
11212|    148|        symbolTable.relateToOperator("atomicCounterSubtractARB", EOpAtomicCounterSubtract);
11213|    148|        symbolTable.relateToOperator("atomicCounterMinARB",      EOpAtomicCounterMin);
11214|    148|        symbolTable.relateToOperator("atomicCounterMaxARB",      EOpAtomicCounterMax);
11215|    148|        symbolTable.relateToOperator("atomicCounterAndARB",      EOpAtomicCounterAnd);
11216|    148|        symbolTable.relateToOperator("atomicCounterOrARB",       EOpAtomicCounterOr);
11217|    148|        symbolTable.relateToOperator("atomicCounterXorARB",      EOpAtomicCounterXor);
11218|    148|        symbolTable.relateToOperator("atomicCounterExchangeARB", EOpAtomicCounterExchange);
11219|    148|        symbolTable.relateToOperator("atomicCounterCompSwapARB", EOpAtomicCounterCompSwap);
11220|    148|    }
11221|       |
11222|    401|    if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11222:9): [True: 401, False: 0]
  |  Branch (11222:34): [True: 13, False: 388]
  ------------------
11223|     13|        symbolTable.relateToOperator("atomicCounterAdd",      EOpAtomicCounterAdd);
11224|     13|        symbolTable.relateToOperator("atomicCounterSubtract", EOpAtomicCounterSubtract);
11225|     13|        symbolTable.relateToOperator("atomicCounterMin",      EOpAtomicCounterMin);
11226|     13|        symbolTable.relateToOperator("atomicCounterMax",      EOpAtomicCounterMax);
11227|     13|        symbolTable.relateToOperator("atomicCounterAnd",      EOpAtomicCounterAnd);
11228|     13|        symbolTable.relateToOperator("atomicCounterOr",       EOpAtomicCounterOr);
11229|     13|        symbolTable.relateToOperator("atomicCounterXor",      EOpAtomicCounterXor);
11230|     13|        symbolTable.relateToOperator("atomicCounterExchange", EOpAtomicCounterExchange);
11231|     13|        symbolTable.relateToOperator("atomicCounterCompSwap", EOpAtomicCounterCompSwap);
11232|     13|    }
11233|       |
11234|    401|    if (spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (11234:9): [True: 0, False: 401]
  ------------------
11235|       |        //
11236|       |        // functions signature have been replaced to take 'uint' instead of 'atomic_uint'
11237|       |        // remap atomic counter functions to non-counter atomic ops so
11238|       |        // functions act as aliases to non-counter atomic ops
11239|       |        //
11240|      0|        symbolTable.relateToOperator("atomicCounterAdd", EOpAtomicAdd);
11241|      0|        symbolTable.relateToOperator("atomicCounterSubtract", EOpAtomicSubtract);
11242|      0|        symbolTable.relateToOperator("atomicCounterMin", EOpAtomicMin);
11243|      0|        symbolTable.relateToOperator("atomicCounterMax", EOpAtomicMax);
11244|      0|        symbolTable.relateToOperator("atomicCounterAnd", EOpAtomicAnd);
11245|      0|        symbolTable.relateToOperator("atomicCounterOr", EOpAtomicOr);
11246|      0|        symbolTable.relateToOperator("atomicCounterXor", EOpAtomicXor);
11247|      0|        symbolTable.relateToOperator("atomicCounterExchange", EOpAtomicExchange);
11248|      0|        symbolTable.relateToOperator("atomicCounterCompSwap", EOpAtomicCompSwap);
11249|      0|    }
11250|       |
11251|    401|    symbolTable.relateToOperator("fma",               EOpFma);
11252|    401|    symbolTable.relateToOperator("frexp",             EOpFrexp);
11253|    401|    symbolTable.relateToOperator("ldexp",             EOpLdexp);
11254|    401|    symbolTable.relateToOperator("uaddCarry",         EOpAddCarry);
11255|    401|    symbolTable.relateToOperator("usubBorrow",        EOpSubBorrow);
11256|    401|    symbolTable.relateToOperator("umulExtended",      EOpUMulExtended);
11257|    401|    symbolTable.relateToOperator("imulExtended",      EOpIMulExtended);
11258|    401|    symbolTable.relateToOperator("bitfieldExtract",   EOpBitfieldExtract);
11259|    401|    symbolTable.relateToOperator("bitfieldInsert",    EOpBitfieldInsert);
11260|    401|    symbolTable.relateToOperator("bitfieldReverse",   EOpBitFieldReverse);
11261|    401|    symbolTable.relateToOperator("bitCount",          EOpBitCount);
11262|    401|    symbolTable.relateToOperator("findLSB",           EOpFindLSB);
11263|    401|    symbolTable.relateToOperator("findMSB",           EOpFindMSB);
11264|       |
11265|    401|    symbolTable.relateToOperator("helperInvocationEXT",  EOpIsHelperInvocation);
11266|       |
11267|    401|    symbolTable.relateToOperator("countLeadingZeros",  EOpCountLeadingZeros);
11268|    401|    symbolTable.relateToOperator("countTrailingZeros", EOpCountTrailingZeros);
11269|    401|    symbolTable.relateToOperator("absoluteDifference", EOpAbsDifference);
11270|    401|    symbolTable.relateToOperator("addSaturate",        EOpAddSaturate);
11271|    401|    symbolTable.relateToOperator("subtractSaturate",   EOpSubSaturate);
11272|    401|    symbolTable.relateToOperator("average",            EOpAverage);
11273|    401|    symbolTable.relateToOperator("averageRounded",     EOpAverageRounded);
11274|    401|    symbolTable.relateToOperator("multiply32x16",      EOpMul32x16);
11275|    401|    symbolTable.relateToOperator("debugPrintfEXT",     EOpDebugPrintf);
11276|    401|    symbolTable.relateToOperator("assumeEXT",          EOpAssumeEXT);
11277|    401|    symbolTable.relateToOperator("expectEXT",          EOpExpectEXT);
11278|    401|    symbolTable.relateToOperator("abortEXT",           EOpAbortEXT);
11279|       |
11280|       |
11281|    401|    if (PureOperatorBuiltins) {
  ------------------
  |  Branch (11281:9): [True: 401, Folded]
  ------------------
11282|    401|        symbolTable.relateToOperator("imageSize",               EOpImageQuerySize);
11283|    401|        symbolTable.relateToOperator("imageSamples",            EOpImageQuerySamples);
11284|    401|        symbolTable.relateToOperator("imageLoad",               EOpImageLoad);
11285|    401|        symbolTable.relateToOperator("imageStore",              EOpImageStore);
11286|    401|        symbolTable.relateToOperator("imageAtomicAdd",          EOpImageAtomicAdd);
11287|    401|        symbolTable.relateToOperator("imageAtomicMin",          EOpImageAtomicMin);
11288|    401|        symbolTable.relateToOperator("imageAtomicMax",          EOpImageAtomicMax);
11289|    401|        symbolTable.relateToOperator("imageAtomicAnd",          EOpImageAtomicAnd);
11290|    401|        symbolTable.relateToOperator("imageAtomicOr",           EOpImageAtomicOr);
11291|    401|        symbolTable.relateToOperator("imageAtomicXor",          EOpImageAtomicXor);
11292|    401|        symbolTable.relateToOperator("imageAtomicExchange",     EOpImageAtomicExchange);
11293|    401|        symbolTable.relateToOperator("imageAtomicCompSwap",     EOpImageAtomicCompSwap);
11294|    401|        symbolTable.relateToOperator("imageAtomicLoad",         EOpImageAtomicLoad);
11295|    401|        symbolTable.relateToOperator("imageAtomicStore",        EOpImageAtomicStore);
11296|       |
11297|    401|        symbolTable.relateToOperator("subpassLoad",             EOpSubpassLoad);
11298|    401|        symbolTable.relateToOperator("subpassLoadMS",           EOpSubpassLoadMS);
11299|       |
11300|    401|        symbolTable.relateToOperator("textureGather",           EOpTextureGather);
11301|    401|        symbolTable.relateToOperator("textureGatherOffset",     EOpTextureGatherOffset);
11302|    401|        symbolTable.relateToOperator("textureGatherOffsets",    EOpTextureGatherOffsets);
11303|       |
11304|    401|        symbolTable.relateToOperator("noise1", EOpNoise);
11305|    401|        symbolTable.relateToOperator("noise2", EOpNoise);
11306|    401|        symbolTable.relateToOperator("noise3", EOpNoise);
11307|    401|        symbolTable.relateToOperator("noise4", EOpNoise);
11308|       |
11309|    401|        symbolTable.relateToOperator("textureFootprintNV",          EOpImageSampleFootprintNV);
11310|    401|        symbolTable.relateToOperator("textureFootprintClampNV",     EOpImageSampleFootprintClampNV);
11311|    401|        symbolTable.relateToOperator("textureFootprintLodNV",       EOpImageSampleFootprintLodNV);
11312|    401|        symbolTable.relateToOperator("textureFootprintGradNV",      EOpImageSampleFootprintGradNV);
11313|    401|        symbolTable.relateToOperator("textureFootprintGradClampNV", EOpImageSampleFootprintGradClampNV);
11314|       |
11315|    401|        if (spvVersion.spv == 0 && IncludeLegacy(version, profile, spvVersion))
  ------------------
  |  Branch (11315:13): [True: 0, False: 401]
  |  Branch (11315:36): [True: 0, False: 0]
  ------------------
11316|      0|            symbolTable.relateToOperator("ftransform", EOpFtransform);
11317|       |
11318|    401|        if (spvVersion.spv == 0 && (IncludeLegacy(version, profile, spvVersion) ||
  ------------------
  |  Branch (11318:13): [True: 0, False: 401]
  |  Branch (11318:37): [True: 0, False: 0]
  ------------------
11319|      0|            (profile == EEsProfile && version == 100))) {
  ------------------
  |  Branch (11319:14): [True: 0, False: 0]
  |  Branch (11319:39): [True: 0, False: 0]
  ------------------
11320|       |
11321|      0|            symbolTable.relateToOperator("texture1D",                EOpTexture);
11322|      0|            symbolTable.relateToOperator("texture1DGradARB",         EOpTextureGrad);
11323|      0|            symbolTable.relateToOperator("texture1DProj",            EOpTextureProj);
11324|      0|            symbolTable.relateToOperator("texture1DProjGradARB",     EOpTextureProjGrad);
11325|      0|            symbolTable.relateToOperator("texture1DLod",             EOpTextureLod);
11326|      0|            symbolTable.relateToOperator("texture1DProjLod",         EOpTextureProjLod);
11327|       |
11328|      0|            symbolTable.relateToOperator("texture2DRect",            EOpTexture);
11329|      0|            symbolTable.relateToOperator("texture2DRectProj",        EOpTextureProj);
11330|      0|            symbolTable.relateToOperator("texture2DRectGradARB",     EOpTextureGrad);
11331|      0|            symbolTable.relateToOperator("texture2DRectProjGradARB", EOpTextureProjGrad);
11332|      0|            symbolTable.relateToOperator("shadow2DRect",             EOpTexture);
11333|      0|            symbolTable.relateToOperator("shadow2DRectProj",         EOpTextureProj);
11334|      0|            symbolTable.relateToOperator("shadow2DRectGradARB",      EOpTextureGrad);
11335|      0|            symbolTable.relateToOperator("shadow2DRectProjGradARB",  EOpTextureProjGrad);
11336|       |
11337|      0|            symbolTable.relateToOperator("texture2D",                EOpTexture);
11338|      0|            symbolTable.relateToOperator("texture2DProj",            EOpTextureProj);
11339|      0|            symbolTable.relateToOperator("texture2DGradEXT",         EOpTextureGrad);
11340|      0|            symbolTable.relateToOperator("texture2DGradARB",         EOpTextureGrad);
11341|      0|            symbolTable.relateToOperator("texture2DProjGradEXT",     EOpTextureProjGrad);
11342|      0|            symbolTable.relateToOperator("texture2DProjGradARB",     EOpTextureProjGrad);
11343|      0|            symbolTable.relateToOperator("texture2DLod",             EOpTextureLod);
11344|      0|            symbolTable.relateToOperator("texture2DLodEXT",          EOpTextureLod);
11345|      0|            symbolTable.relateToOperator("texture2DProjLod",         EOpTextureProjLod);
11346|      0|            symbolTable.relateToOperator("texture2DProjLodEXT",      EOpTextureProjLod);
11347|       |
11348|      0|            symbolTable.relateToOperator("texture3D",                EOpTexture);
11349|      0|            symbolTable.relateToOperator("texture3DGradARB",         EOpTextureGrad);
11350|      0|            symbolTable.relateToOperator("texture3DProj",            EOpTextureProj);
11351|      0|            symbolTable.relateToOperator("texture3DProjGradARB",     EOpTextureProjGrad);
11352|      0|            symbolTable.relateToOperator("texture3DLod",             EOpTextureLod);
11353|      0|            symbolTable.relateToOperator("texture3DProjLod",         EOpTextureProjLod);
11354|      0|            symbolTable.relateToOperator("textureCube",              EOpTexture);
11355|      0|            symbolTable.relateToOperator("textureCubeGradEXT",       EOpTextureGrad);
11356|      0|            symbolTable.relateToOperator("textureCubeGradARB",       EOpTextureGrad);
11357|      0|            symbolTable.relateToOperator("textureCubeLod",           EOpTextureLod);
11358|      0|            symbolTable.relateToOperator("textureCubeLodEXT",        EOpTextureLod);
11359|      0|            symbolTable.relateToOperator("shadow1D",                 EOpTexture);
11360|      0|            symbolTable.relateToOperator("shadow1DGradARB",          EOpTextureGrad);
11361|      0|            symbolTable.relateToOperator("shadow2D",                 EOpTexture);
11362|      0|            symbolTable.relateToOperator("shadow2DGradARB",          EOpTextureGrad);
11363|      0|            symbolTable.relateToOperator("shadow1DProj",             EOpTextureProj);
11364|      0|            symbolTable.relateToOperator("shadow2DProj",             EOpTextureProj);
11365|      0|            symbolTable.relateToOperator("shadow1DProjGradARB",      EOpTextureProjGrad);
11366|      0|            symbolTable.relateToOperator("shadow2DProjGradARB",      EOpTextureProjGrad);
11367|      0|            symbolTable.relateToOperator("shadow1DLod",              EOpTextureLod);
11368|      0|            symbolTable.relateToOperator("shadow2DLod",              EOpTextureLod);
11369|      0|            symbolTable.relateToOperator("shadow1DProjLod",          EOpTextureProjLod);
11370|      0|            symbolTable.relateToOperator("shadow2DProjLod",          EOpTextureProjLod);
11371|      0|        }
11372|       |
11373|    401|        if (profile != EEsProfile) {
  ------------------
  |  Branch (11373:13): [True: 401, False: 0]
  ------------------
11374|    401|            symbolTable.relateToOperator("sparseTextureARB",                EOpSparseTexture);
11375|    401|            symbolTable.relateToOperator("sparseTextureLodARB",             EOpSparseTextureLod);
11376|    401|            symbolTable.relateToOperator("sparseTextureOffsetARB",          EOpSparseTextureOffset);
11377|    401|            symbolTable.relateToOperator("sparseTexelFetchARB",             EOpSparseTextureFetch);
11378|    401|            symbolTable.relateToOperator("sparseTexelFetchOffsetARB",       EOpSparseTextureFetchOffset);
11379|    401|            symbolTable.relateToOperator("sparseTextureLodOffsetARB",       EOpSparseTextureLodOffset);
11380|    401|            symbolTable.relateToOperator("sparseTextureGradARB",            EOpSparseTextureGrad);
11381|    401|            symbolTable.relateToOperator("sparseTextureGradOffsetARB",      EOpSparseTextureGradOffset);
11382|    401|            symbolTable.relateToOperator("sparseTextureGatherARB",          EOpSparseTextureGather);
11383|    401|            symbolTable.relateToOperator("sparseTextureGatherOffsetARB",    EOpSparseTextureGatherOffset);
11384|    401|            symbolTable.relateToOperator("sparseTextureGatherOffsetsARB",   EOpSparseTextureGatherOffsets);
11385|    401|            symbolTable.relateToOperator("sparseImageLoadARB",              EOpSparseImageLoad);
11386|    401|            symbolTable.relateToOperator("sparseTexelsResidentARB",         EOpSparseTexelsResident);
11387|       |
11388|    401|            symbolTable.relateToOperator("sparseTextureClampARB",           EOpSparseTextureClamp);
11389|    401|            symbolTable.relateToOperator("sparseTextureOffsetClampARB",     EOpSparseTextureOffsetClamp);
11390|    401|            symbolTable.relateToOperator("sparseTextureGradClampARB",       EOpSparseTextureGradClamp);
11391|    401|            symbolTable.relateToOperator("sparseTextureGradOffsetClampARB", EOpSparseTextureGradOffsetClamp);
11392|    401|            symbolTable.relateToOperator("textureClampARB",                 EOpTextureClamp);
11393|    401|            symbolTable.relateToOperator("textureOffsetClampARB",           EOpTextureOffsetClamp);
11394|    401|            symbolTable.relateToOperator("textureGradClampARB",             EOpTextureGradClamp);
11395|    401|            symbolTable.relateToOperator("textureGradOffsetClampARB",       EOpTextureGradOffsetClamp);
11396|       |
11397|    401|            symbolTable.relateToOperator("ballotARB",                       EOpBallot);
11398|    401|            symbolTable.relateToOperator("readInvocationARB",               EOpReadInvocation);
11399|    401|            symbolTable.relateToOperator("readFirstInvocationARB",          EOpReadFirstInvocation);
11400|       |
11401|    401|            if (version >= 430) {
  ------------------
  |  Branch (11401:17): [True: 161, False: 240]
  ------------------
11402|    161|                symbolTable.relateToOperator("anyInvocationARB",            EOpAnyInvocation);
11403|    161|                symbolTable.relateToOperator("allInvocationsARB",           EOpAllInvocations);
11404|    161|                symbolTable.relateToOperator("allInvocationsEqualARB",      EOpAllInvocationsEqual);
11405|    161|            }
11406|    401|            if (version >= 460) {
  ------------------
  |  Branch (11406:17): [True: 13, False: 388]
  ------------------
11407|     13|                symbolTable.relateToOperator("anyInvocation",               EOpAnyInvocation);
11408|     13|                symbolTable.relateToOperator("allInvocations",              EOpAllInvocations);
11409|     13|                symbolTable.relateToOperator("allInvocationsEqual",         EOpAllInvocationsEqual);
11410|     13|            }
11411|       |            // As per dependency between NV_gpu_shader5 and ARB_shader_group_vote
11412|       |            // anyInvocationARB = anyThreadNV
11413|       |            // allInvocationsARB = allThreadsNV
11414|       |            // allInvocationsEqualARB = allThreadsEqualNV
11415|       |            // Thus we reuse the Op's
11416|    401|            if (version >= 150) {
  ------------------
  |  Branch (11416:17): [True: 187, False: 214]
  ------------------
11417|    187|                symbolTable.relateToOperator("anyThreadNV",            EOpAnyInvocation);
11418|    187|                symbolTable.relateToOperator("allThreadsNV",           EOpAllInvocations);
11419|    187|                symbolTable.relateToOperator("allThreadsEqualNV",      EOpAllInvocationsEqual);
11420|    187|            }
11421|    401|            symbolTable.relateToOperator("minInvocationsAMD",                           EOpMinInvocations);
11422|    401|            symbolTable.relateToOperator("maxInvocationsAMD",                           EOpMaxInvocations);
11423|    401|            symbolTable.relateToOperator("addInvocationsAMD",                           EOpAddInvocations);
11424|    401|            symbolTable.relateToOperator("minInvocationsNonUniformAMD",                 EOpMinInvocationsNonUniform);
11425|    401|            symbolTable.relateToOperator("maxInvocationsNonUniformAMD",                 EOpMaxInvocationsNonUniform);
11426|    401|            symbolTable.relateToOperator("addInvocationsNonUniformAMD",                 EOpAddInvocationsNonUniform);
11427|    401|            symbolTable.relateToOperator("minInvocationsInclusiveScanAMD",              EOpMinInvocationsInclusiveScan);
11428|    401|            symbolTable.relateToOperator("maxInvocationsInclusiveScanAMD",              EOpMaxInvocationsInclusiveScan);
11429|    401|            symbolTable.relateToOperator("addInvocationsInclusiveScanAMD",              EOpAddInvocationsInclusiveScan);
11430|    401|            symbolTable.relateToOperator("minInvocationsInclusiveScanNonUniformAMD",    EOpMinInvocationsInclusiveScanNonUniform);
11431|    401|            symbolTable.relateToOperator("maxInvocationsInclusiveScanNonUniformAMD",    EOpMaxInvocationsInclusiveScanNonUniform);
11432|    401|            symbolTable.relateToOperator("addInvocationsInclusiveScanNonUniformAMD",    EOpAddInvocationsInclusiveScanNonUniform);
11433|    401|            symbolTable.relateToOperator("minInvocationsExclusiveScanAMD",              EOpMinInvocationsExclusiveScan);
11434|    401|            symbolTable.relateToOperator("maxInvocationsExclusiveScanAMD",              EOpMaxInvocationsExclusiveScan);
11435|    401|            symbolTable.relateToOperator("addInvocationsExclusiveScanAMD",              EOpAddInvocationsExclusiveScan);
11436|    401|            symbolTable.relateToOperator("minInvocationsExclusiveScanNonUniformAMD",    EOpMinInvocationsExclusiveScanNonUniform);
11437|    401|            symbolTable.relateToOperator("maxInvocationsExclusiveScanNonUniformAMD",    EOpMaxInvocationsExclusiveScanNonUniform);
11438|    401|            symbolTable.relateToOperator("addInvocationsExclusiveScanNonUniformAMD",    EOpAddInvocationsExclusiveScanNonUniform);
11439|    401|            symbolTable.relateToOperator("swizzleInvocationsAMD",                       EOpSwizzleInvocations);
11440|    401|            symbolTable.relateToOperator("swizzleInvocationsMaskedAMD",                 EOpSwizzleInvocationsMasked);
11441|    401|            symbolTable.relateToOperator("writeInvocationAMD",                          EOpWriteInvocation);
11442|    401|            symbolTable.relateToOperator("mbcntAMD",                                    EOpMbcnt);
11443|       |
11444|    401|            symbolTable.relateToOperator("min3",    EOpMin3);
11445|    401|            symbolTable.relateToOperator("max3",    EOpMax3);
11446|    401|            symbolTable.relateToOperator("mid3",    EOpMid3);
11447|       |
11448|    401|            symbolTable.relateToOperator("cubeFaceIndexAMD",    EOpCubeFaceIndex);
11449|    401|            symbolTable.relateToOperator("cubeFaceCoordAMD",    EOpCubeFaceCoord);
11450|    401|            symbolTable.relateToOperator("timeAMD",             EOpTime);
11451|       |
11452|    401|            symbolTable.relateToOperator("textureGatherLodAMD",                 EOpTextureGatherLod);
11453|    401|            symbolTable.relateToOperator("textureGatherLodOffsetAMD",           EOpTextureGatherLodOffset);
11454|    401|            symbolTable.relateToOperator("textureGatherLodOffsetsAMD",          EOpTextureGatherLodOffsets);
11455|    401|            symbolTable.relateToOperator("sparseTextureGatherLodAMD",           EOpSparseTextureGatherLod);
11456|    401|            symbolTable.relateToOperator("sparseTextureGatherLodOffsetAMD",     EOpSparseTextureGatherLodOffset);
11457|    401|            symbolTable.relateToOperator("sparseTextureGatherLodOffsetsAMD",    EOpSparseTextureGatherLodOffsets);
11458|       |
11459|    401|            symbolTable.relateToOperator("imageLoadLodAMD",                     EOpImageLoadLod);
11460|    401|            symbolTable.relateToOperator("imageStoreLodAMD",                    EOpImageStoreLod);
11461|    401|            symbolTable.relateToOperator("sparseImageLoadLodAMD",               EOpSparseImageLoadLod);
11462|       |
11463|    401|            symbolTable.relateToOperator("fragmentMaskFetchAMD",                EOpFragmentMaskFetch);
11464|    401|            symbolTable.relateToOperator("fragmentFetchAMD",                    EOpFragmentFetch);
11465|    401|        }
11466|       |
11467|       |        // GL_EXT_integer_dot_product
11468|    401|        if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (11468:14): [True: 0, False: 401]
  |  Branch (11468:39): [True: 0, False: 0]
  ------------------
11469|    401|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (11469:14): [True: 401, False: 0]
  |  Branch (11469:39): [True: 161, False: 240]
  ------------------
11470|    161|            symbolTable.relateToOperator("dotEXT", EOpDot);
11471|    161|            symbolTable.relateToOperator("dotPacked4x8EXT", EOpDotPackedEXT);
11472|    161|            symbolTable.relateToOperator("dotAccSatEXT", EOpDotAccSatEXT);
11473|    161|            symbolTable.relateToOperator("dotPacked4x8AccSatEXT", EOpDotPackedAccSatEXT);
11474|    161|        }
11475|       |
11476|       |        // GL_EXT_bfloat16
11477|    401|        if ((profile == EEsProfile && version >= 320) ||
  ------------------
  |  Branch (11477:14): [True: 0, False: 401]
  |  Branch (11477:39): [True: 0, False: 0]
  ------------------
11478|    401|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (11478:14): [True: 401, False: 0]
  |  Branch (11478:39): [True: 161, False: 240]
  ------------------
11479|    161|            symbolTable.relateToOperator("bfloat16BitsToIntEXT",  EOpFloatBitsToInt);
11480|    161|            symbolTable.relateToOperator("bfloat16BitsToUintEXT", EOpFloatBitsToUint);
11481|    161|            symbolTable.relateToOperator("intBitsToBFloat16EXT",  EOpIntBitsToFloat);
11482|    161|            symbolTable.relateToOperator("uintBitsToBFloat16EXT", EOpUintBitsToFloat);
11483|       |
11484|    161|            symbolTable.relateToOperator("floate5m2BitsToIntEXT",  EOpFloatBitsToInt);
11485|    161|            symbolTable.relateToOperator("floate5m2BitsToUintEXT", EOpFloatBitsToUint);
11486|    161|            symbolTable.relateToOperator("intBitsToFloate5m2EXT",  EOpIntBitsToFloat);
11487|    161|            symbolTable.relateToOperator("uintBitsToFloate5m2EXT", EOpUintBitsToFloat);
11488|       |
11489|    161|            symbolTable.relateToOperator("floate4m3BitsToIntEXT",  EOpFloatBitsToInt);
11490|    161|            symbolTable.relateToOperator("floate4m3BitsToUintEXT", EOpFloatBitsToUint);
11491|    161|            symbolTable.relateToOperator("intBitsToFloate4m3EXT",  EOpIntBitsToFloat);
11492|    161|            symbolTable.relateToOperator("uintBitsToFloate4m3EXT", EOpUintBitsToFloat);
11493|       |
11494|    161|            symbolTable.relateToOperator("saturatedConvertEXT", EOpConstructSaturated);
11495|       |
11496|    161|            symbolTable.relateToOperator("floatue8m0BitsToIntEXT",  EOpFloatBitsToInt);
11497|    161|            symbolTable.relateToOperator("floatue8m0BitsToUintEXT", EOpFloatBitsToUint);
11498|    161|            symbolTable.relateToOperator("intBitsToFloatue8m0EXT",  EOpIntBitsToFloat);
11499|    161|            symbolTable.relateToOperator("uintBitsToFloatue8m0EXT", EOpUintBitsToFloat);
11500|       |
11501|    161|            symbolTable.relateToOperator("floatmxint8BitsToIntEXT",  EOpFloatBitsToInt);
11502|    161|            symbolTable.relateToOperator("floatmxint8BitsToUintEXT", EOpFloatBitsToUint);
11503|    161|            symbolTable.relateToOperator("intBitsToFloatmxint8EXT",  EOpIntBitsToFloat);
11504|    161|            symbolTable.relateToOperator("uintBitsToFloatmxint8EXT", EOpUintBitsToFloat);
11505|       |
11506|    161|            symbolTable.relateToOperator("unpackFloat2xfe2m1EXT", EOpUnpackFloat2xE2M1);
11507|    161|            symbolTable.relateToOperator("unpackFloat4xfe2m1EXT", EOpUnpackFloat4xE2M1);
11508|    161|            symbolTable.relateToOperator("unpackFloat8xfe2m1EXT", EOpUnpackFloat8xE2M1);
11509|    161|            symbolTable.relateToOperator("unpackFloat16xfe2m1EXT", EOpUnpackFloat16xE2M1);
11510|    161|            symbolTable.relateToOperator("packFloat2xfe2m1EXT", EOpPackFloat2xE2M1);
11511|    161|            symbolTable.relateToOperator("packFloat4xfe2m1EXT", EOpPackFloat4xE2M1);
11512|    161|            symbolTable.relateToOperator("packFloat8xfe2m1EXT", EOpPackFloat8xE2M1);
11513|    161|            symbolTable.relateToOperator("packFloat16xfe2m1EXT", EOpPackFloat16xE2M1);
11514|       |
11515|    161|            symbolTable.relateToOperator("unpackFloat4xfe3m2EXT", EOpUnpackFloat4xE3M2);
11516|    161|            symbolTable.relateToOperator("unpackFloat8xfe3m2EXT", EOpUnpackFloat8xE3M2);
11517|    161|            symbolTable.relateToOperator("unpackFloat16xfe3m2EXT", EOpUnpackFloat16xE3M2);
11518|    161|            symbolTable.relateToOperator("packFloat4xfe3m2EXT", EOpPackFloat4xE3M2);
11519|    161|            symbolTable.relateToOperator("packFloat8xfe3m2EXT", EOpPackFloat8xE3M2);
11520|    161|            symbolTable.relateToOperator("packFloat16xfe3m2EXT", EOpPackFloat16xE3M2);
11521|       |
11522|    161|            symbolTable.relateToOperator("unpackFloat4xfe2m3EXT", EOpUnpackFloat4xE2M3);
11523|    161|            symbolTable.relateToOperator("unpackFloat8xfe2m3EXT", EOpUnpackFloat8xE2M3);
11524|    161|            symbolTable.relateToOperator("unpackFloat16xfe2m3EXT", EOpUnpackFloat16xE2M3);
11525|    161|            symbolTable.relateToOperator("packFloat4xfe2m3EXT", EOpPackFloat4xE2M3);
11526|    161|            symbolTable.relateToOperator("packFloat8xfe2m3EXT", EOpPackFloat8xE2M3);
11527|    161|            symbolTable.relateToOperator("packFloat16xfe2m3EXT", EOpPackFloat16xE2M3);
11528|       |
11529|    161|            symbolTable.relateToOperator("bitcastExtractfe2m1EXT", EOpBitcastExtractE2M1);
11530|    161|            symbolTable.relateToOperator("bitcastExtractfe3m2EXT", EOpBitcastExtractE3M2);
11531|    161|            symbolTable.relateToOperator("bitcastExtractfe2m3EXT", EOpBitcastExtractE2M3);
11532|    161|        }
11533|       |
11534|       |        // GL_KHR_shader_subgroup
11535|    401|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11535:14): [True: 0, False: 401]
  |  Branch (11535:39): [True: 0, False: 0]
  ------------------
11536|    401|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11536:14): [True: 401, False: 0]
  |  Branch (11536:39): [True: 401, False: 0]
  ------------------
11537|    401|            symbolTable.relateToOperator("subgroupBarrier",                 EOpSubgroupBarrier);
11538|    401|            symbolTable.relateToOperator("subgroupMemoryBarrier",           EOpSubgroupMemoryBarrier);
11539|    401|            symbolTable.relateToOperator("subgroupMemoryBarrierBuffer",     EOpSubgroupMemoryBarrierBuffer);
11540|    401|            symbolTable.relateToOperator("subgroupMemoryBarrierImage",      EOpSubgroupMemoryBarrierImage);
11541|    401|            symbolTable.relateToOperator("subgroupElect",                   EOpSubgroupElect);
11542|    401|            symbolTable.relateToOperator("subgroupAll",                     EOpSubgroupAll);
11543|    401|            symbolTable.relateToOperator("subgroupAny",                     EOpSubgroupAny);
11544|    401|            symbolTable.relateToOperator("subgroupAllEqual",                EOpSubgroupAllEqual);
11545|    401|            symbolTable.relateToOperator("subgroupBroadcast",               EOpSubgroupBroadcast);
11546|    401|            symbolTable.relateToOperator("subgroupBroadcastFirst",          EOpSubgroupBroadcastFirst);
11547|    401|            symbolTable.relateToOperator("subgroupBallot",                  EOpSubgroupBallot);
11548|    401|            symbolTable.relateToOperator("subgroupInverseBallot",           EOpSubgroupInverseBallot);
11549|    401|            symbolTable.relateToOperator("subgroupBallotBitExtract",        EOpSubgroupBallotBitExtract);
11550|    401|            symbolTable.relateToOperator("subgroupBallotBitCount",          EOpSubgroupBallotBitCount);
11551|    401|            symbolTable.relateToOperator("subgroupBallotInclusiveBitCount", EOpSubgroupBallotInclusiveBitCount);
11552|    401|            symbolTable.relateToOperator("subgroupBallotExclusiveBitCount", EOpSubgroupBallotExclusiveBitCount);
11553|    401|            symbolTable.relateToOperator("subgroupBallotFindLSB",           EOpSubgroupBallotFindLSB);
11554|    401|            symbolTable.relateToOperator("subgroupBallotFindMSB",           EOpSubgroupBallotFindMSB);
11555|    401|            symbolTable.relateToOperator("subgroupShuffle",                 EOpSubgroupShuffle);
11556|    401|            symbolTable.relateToOperator("subgroupShuffleXor",              EOpSubgroupShuffleXor);
11557|    401|            symbolTable.relateToOperator("subgroupShuffleUp",               EOpSubgroupShuffleUp);
11558|    401|            symbolTable.relateToOperator("subgroupShuffleDown",             EOpSubgroupShuffleDown);
11559|    401|            symbolTable.relateToOperator("subgroupRotate",                  EOpSubgroupRotate);
11560|    401|            symbolTable.relateToOperator("subgroupClusteredRotate",         EOpSubgroupClusteredRotate);
11561|    401|            symbolTable.relateToOperator("subgroupAdd",                     EOpSubgroupAdd);
11562|    401|            symbolTable.relateToOperator("subgroupMul",                     EOpSubgroupMul);
11563|    401|            symbolTable.relateToOperator("subgroupMin",                     EOpSubgroupMin);
11564|    401|            symbolTable.relateToOperator("subgroupMax",                     EOpSubgroupMax);
11565|    401|            symbolTable.relateToOperator("subgroupAnd",                     EOpSubgroupAnd);
11566|    401|            symbolTable.relateToOperator("subgroupOr",                      EOpSubgroupOr);
11567|    401|            symbolTable.relateToOperator("subgroupXor",                     EOpSubgroupXor);
11568|    401|            symbolTable.relateToOperator("subgroupInclusiveAdd",            EOpSubgroupInclusiveAdd);
11569|    401|            symbolTable.relateToOperator("subgroupInclusiveMul",            EOpSubgroupInclusiveMul);
11570|    401|            symbolTable.relateToOperator("subgroupInclusiveMin",            EOpSubgroupInclusiveMin);
11571|    401|            symbolTable.relateToOperator("subgroupInclusiveMax",            EOpSubgroupInclusiveMax);
11572|    401|            symbolTable.relateToOperator("subgroupInclusiveAnd",            EOpSubgroupInclusiveAnd);
11573|    401|            symbolTable.relateToOperator("subgroupInclusiveOr",             EOpSubgroupInclusiveOr);
11574|    401|            symbolTable.relateToOperator("subgroupInclusiveXor",            EOpSubgroupInclusiveXor);
11575|    401|            symbolTable.relateToOperator("subgroupExclusiveAdd",            EOpSubgroupExclusiveAdd);
11576|    401|            symbolTable.relateToOperator("subgroupExclusiveMul",            EOpSubgroupExclusiveMul);
11577|    401|            symbolTable.relateToOperator("subgroupExclusiveMin",            EOpSubgroupExclusiveMin);
11578|    401|            symbolTable.relateToOperator("subgroupExclusiveMax",            EOpSubgroupExclusiveMax);
11579|    401|            symbolTable.relateToOperator("subgroupExclusiveAnd",            EOpSubgroupExclusiveAnd);
11580|    401|            symbolTable.relateToOperator("subgroupExclusiveOr",             EOpSubgroupExclusiveOr);
11581|    401|            symbolTable.relateToOperator("subgroupExclusiveXor",            EOpSubgroupExclusiveXor);
11582|    401|            symbolTable.relateToOperator("subgroupClusteredAdd",            EOpSubgroupClusteredAdd);
11583|    401|            symbolTable.relateToOperator("subgroupClusteredMul",            EOpSubgroupClusteredMul);
11584|    401|            symbolTable.relateToOperator("subgroupClusteredMin",            EOpSubgroupClusteredMin);
11585|    401|            symbolTable.relateToOperator("subgroupClusteredMax",            EOpSubgroupClusteredMax);
11586|    401|            symbolTable.relateToOperator("subgroupClusteredAnd",            EOpSubgroupClusteredAnd);
11587|    401|            symbolTable.relateToOperator("subgroupClusteredOr",             EOpSubgroupClusteredOr);
11588|    401|            symbolTable.relateToOperator("subgroupClusteredXor",            EOpSubgroupClusteredXor);
11589|    401|            symbolTable.relateToOperator("subgroupQuadBroadcast",           EOpSubgroupQuadBroadcast);
11590|    401|            symbolTable.relateToOperator("subgroupQuadSwapHorizontal",      EOpSubgroupQuadSwapHorizontal);
11591|    401|            symbolTable.relateToOperator("subgroupQuadSwapVertical",        EOpSubgroupQuadSwapVertical);
11592|    401|            symbolTable.relateToOperator("subgroupQuadSwapDiagonal",        EOpSubgroupQuadSwapDiagonal);
11593|       |
11594|    401|            symbolTable.relateToOperator("subgroupPartitionNV",                          EOpSubgroupPartition);
11595|    401|            symbolTable.relateToOperator("subgroupPartitionedAddNV",                     EOpSubgroupPartitionedAdd);
11596|    401|            symbolTable.relateToOperator("subgroupPartitionedMulNV",                     EOpSubgroupPartitionedMul);
11597|    401|            symbolTable.relateToOperator("subgroupPartitionedMinNV",                     EOpSubgroupPartitionedMin);
11598|    401|            symbolTable.relateToOperator("subgroupPartitionedMaxNV",                     EOpSubgroupPartitionedMax);
11599|    401|            symbolTable.relateToOperator("subgroupPartitionedAndNV",                     EOpSubgroupPartitionedAnd);
11600|    401|            symbolTable.relateToOperator("subgroupPartitionedOrNV",                      EOpSubgroupPartitionedOr);
11601|    401|            symbolTable.relateToOperator("subgroupPartitionedXorNV",                     EOpSubgroupPartitionedXor);
11602|    401|            symbolTable.relateToOperator("subgroupPartitionedInclusiveAddNV",            EOpSubgroupPartitionedInclusiveAdd);
11603|    401|            symbolTable.relateToOperator("subgroupPartitionedInclusiveMulNV",            EOpSubgroupPartitionedInclusiveMul);
11604|    401|            symbolTable.relateToOperator("subgroupPartitionedInclusiveMinNV",            EOpSubgroupPartitionedInclusiveMin);
11605|    401|            symbolTable.relateToOperator("subgroupPartitionedInclusiveMaxNV",            EOpSubgroupPartitionedInclusiveMax);
11606|    401|            symbolTable.relateToOperator("subgroupPartitionedInclusiveAndNV",            EOpSubgroupPartitionedInclusiveAnd);
11607|    401|            symbolTable.relateToOperator("subgroupPartitionedInclusiveOrNV",             EOpSubgroupPartitionedInclusiveOr);
11608|    401|            symbolTable.relateToOperator("subgroupPartitionedInclusiveXorNV",            EOpSubgroupPartitionedInclusiveXor);
11609|    401|            symbolTable.relateToOperator("subgroupPartitionedExclusiveAddNV",            EOpSubgroupPartitionedExclusiveAdd);
11610|    401|            symbolTable.relateToOperator("subgroupPartitionedExclusiveMulNV",            EOpSubgroupPartitionedExclusiveMul);
11611|    401|            symbolTable.relateToOperator("subgroupPartitionedExclusiveMinNV",            EOpSubgroupPartitionedExclusiveMin);
11612|    401|            symbolTable.relateToOperator("subgroupPartitionedExclusiveMaxNV",            EOpSubgroupPartitionedExclusiveMax);
11613|    401|            symbolTable.relateToOperator("subgroupPartitionedExclusiveAndNV",            EOpSubgroupPartitionedExclusiveAnd);
11614|    401|            symbolTable.relateToOperator("subgroupPartitionedExclusiveOrNV",             EOpSubgroupPartitionedExclusiveOr);
11615|    401|            symbolTable.relateToOperator("subgroupPartitionedExclusiveXorNV",            EOpSubgroupPartitionedExclusiveXor);
11616|    401|        }
11617|       |
11618|    401|        if (profile == EEsProfile) {
  ------------------
  |  Branch (11618:13): [True: 0, False: 401]
  ------------------
11619|      0|            symbolTable.relateToOperator("shadow2DEXT",              EOpTexture);
11620|      0|            symbolTable.relateToOperator("shadow2DProjEXT",          EOpTextureProj);
11621|      0|        }
11622|       |
11623|       |        // GL_EXT_shader_quad_control
11624|    401|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11624:14): [True: 0, False: 401]
  |  Branch (11624:39): [True: 0, False: 0]
  ------------------
11625|    401|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11625:14): [True: 401, False: 0]
  |  Branch (11625:39): [True: 401, False: 0]
  ------------------
11626|    401|            symbolTable.relateToOperator("subgroupQuadAll",                     EOpSubgroupQuadAll);
11627|    401|            symbolTable.relateToOperator("subgroupQuadAny",                     EOpSubgroupQuadAny);
11628|    401|        }
11629|       |
11630|    401|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11630:14): [True: 0, False: 401]
  |  Branch (11630:39): [True: 0, False: 0]
  ------------------
11631|    401|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11631:14): [True: 401, False: 0]
  |  Branch (11631:39): [True: 401, False: 0]
  ------------------
11632|    401|            symbolTable.relateToOperator("textureWeightedQCOM",      EOpImageSampleWeightedQCOM);
11633|    401|            symbolTable.relateToOperator("textureBoxFilterQCOM",     EOpImageBoxFilterQCOM);
11634|    401|            symbolTable.relateToOperator("textureBlockMatchSADQCOM", EOpImageBlockMatchSADQCOM);
11635|    401|            symbolTable.relateToOperator("textureBlockMatchSSDQCOM", EOpImageBlockMatchSSDQCOM);
11636|       |
11637|    401|            symbolTable.relateToOperator("textureBlockMatchWindowSSDQCOM", EOpImageBlockMatchWindowSSDQCOM);
11638|    401|            symbolTable.relateToOperator("textureBlockMatchWindowSADQCOM", EOpImageBlockMatchWindowSADQCOM);
11639|    401|            symbolTable.relateToOperator("textureBlockMatchGatherSSDQCOM", EOpImageBlockMatchGatherSSDQCOM);
11640|    401|            symbolTable.relateToOperator("textureBlockMatchGatherSADQCOM", EOpImageBlockMatchGatherSADQCOM);
11641|    401|        }
11642|       |
11643|    401|        if (profile != EEsProfile && spvVersion.spv == 0) {
  ------------------
  |  Branch (11643:13): [True: 401, False: 0]
  |  Branch (11643:38): [True: 0, False: 401]
  ------------------
11644|      0|            symbolTable.relateToOperator("texture1DArray", EOpTexture);
11645|      0|            symbolTable.relateToOperator("texture2DArray", EOpTexture);
11646|      0|            symbolTable.relateToOperator("shadow1DArray", EOpTexture);
11647|      0|            symbolTable.relateToOperator("shadow2DArray", EOpTexture);
11648|       |
11649|      0|            symbolTable.relateToOperator("texture1DArrayLod", EOpTextureLod);
11650|      0|            symbolTable.relateToOperator("texture2DArrayLod", EOpTextureLod);
11651|      0|            symbolTable.relateToOperator("shadow1DArrayLod", EOpTextureLod);
11652|      0|        }
11653|       |
11654|    401|        symbolTable.relateToOperator("coopVecMatMulNV",              EOpCooperativeVectorMatMulNV);
11655|    401|        symbolTable.relateToOperator("coopVecMatMulAddNV",           EOpCooperativeVectorMatMulAddNV);
11656|    401|        symbolTable.relateToOperator("coopVecLoadNV",                EOpCooperativeVectorLoadNV);
11657|    401|        symbolTable.relateToOperator("coopVecStoreNV",               EOpCooperativeVectorStoreNV);
11658|    401|        symbolTable.relateToOperator("coopVecOuterProductAccumulateNV", EOpCooperativeVectorOuterProductAccumulateNV);
11659|    401|        symbolTable.relateToOperator("coopVecReduceSumAccumulateNV",    EOpCooperativeVectorReduceSumAccumulateNV);
11660|    401|    }
11661|       |
11662|    401|    switch(language) {
11663|    124|    case EShLangVertex:
  ------------------
  |  Branch (11663:5): [True: 124, False: 277]
  ------------------
11664|    124|        break;
11665|       |
11666|     17|    case EShLangTessControl:
  ------------------
  |  Branch (11666:5): [True: 17, False: 384]
  ------------------
11667|     34|    case EShLangTessEvaluation:
  ------------------
  |  Branch (11667:5): [True: 17, False: 384]
  ------------------
11668|     34|        break;
11669|       |
11670|     17|    case EShLangGeometry:
  ------------------
  |  Branch (11670:5): [True: 17, False: 384]
  ------------------
11671|     17|        symbolTable.relateToOperator("EmitStreamVertex",   EOpEmitStreamVertex);
11672|     17|        symbolTable.relateToOperator("EndStreamPrimitive", EOpEndStreamPrimitive);
11673|     17|        symbolTable.relateToOperator("EmitVertex",         EOpEmitVertex);
11674|     17|        symbolTable.relateToOperator("EndPrimitive",       EOpEndPrimitive);
11675|     17|        break;
11676|       |
11677|    124|    case EShLangFragment:
  ------------------
  |  Branch (11677:5): [True: 124, False: 277]
  ------------------
11678|    124|        if (profile != EEsProfile && version >= 400) {
  ------------------
  |  Branch (11678:13): [True: 124, False: 0]
  |  Branch (11678:38): [True: 16, False: 108]
  ------------------
11679|     16|            symbolTable.relateToOperator("dFdxFine",     EOpDPdxFine);
11680|     16|            symbolTable.relateToOperator("dFdyFine",     EOpDPdyFine);
11681|     16|            symbolTable.relateToOperator("fwidthFine",   EOpFwidthFine);
11682|     16|            symbolTable.relateToOperator("dFdxCoarse",   EOpDPdxCoarse);
11683|     16|            symbolTable.relateToOperator("dFdyCoarse",   EOpDPdyCoarse);
11684|     16|            symbolTable.relateToOperator("fwidthCoarse", EOpFwidthCoarse);
11685|     16|        }
11686|       |
11687|    124|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11687:13): [True: 124, False: 0]
  |  Branch (11687:38): [True: 1, False: 123]
  ------------------
11688|      1|            symbolTable.relateToOperator("rayQueryInitializeEXT",                                             EOpRayQueryInitialize);
11689|      1|            symbolTable.relateToOperator("rayQueryTerminateEXT",                                              EOpRayQueryTerminate);
11690|      1|            symbolTable.relateToOperator("rayQueryGenerateIntersectionEXT",                                   EOpRayQueryGenerateIntersection);
11691|      1|            symbolTable.relateToOperator("rayQueryConfirmIntersectionEXT",                                    EOpRayQueryConfirmIntersection);
11692|      1|            symbolTable.relateToOperator("rayQueryProceedEXT",                                                EOpRayQueryProceed);
11693|      1|            symbolTable.relateToOperator("rayQueryGetIntersectionTypeEXT",                                    EOpRayQueryGetIntersectionType);
11694|      1|            symbolTable.relateToOperator("rayQueryGetRayTMinEXT",                                             EOpRayQueryGetRayTMin);
11695|      1|            symbolTable.relateToOperator("rayQueryGetRayFlagsEXT",                                            EOpRayQueryGetRayFlags);
11696|      1|            symbolTable.relateToOperator("rayQueryGetIntersectionTEXT",                                       EOpRayQueryGetIntersectionT);
11697|      1|            symbolTable.relateToOperator("rayQueryGetIntersectionInstanceCustomIndexEXT",                     EOpRayQueryGetIntersectionInstanceCustomIndex);
11698|      1|            symbolTable.relateToOperator("rayQueryGetIntersectionInstanceIdEXT",                              EOpRayQueryGetIntersectionInstanceId);
11699|      1|            symbolTable.relateToOperator("rayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetEXT",  EOpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffset);
11700|      1|            symbolTable.relateToOperator("rayQueryGetIntersectionGeometryIndexEXT",                           EOpRayQueryGetIntersectionGeometryIndex);
11701|      1|            symbolTable.relateToOperator("rayQueryGetIntersectionPrimitiveIndexEXT",                          EOpRayQueryGetIntersectionPrimitiveIndex);
11702|      1|            symbolTable.relateToOperator("rayQueryGetIntersectionBarycentricsEXT",                            EOpRayQueryGetIntersectionBarycentrics);
11703|      1|            symbolTable.relateToOperator("rayQueryGetIntersectionFrontFaceEXT",                               EOpRayQueryGetIntersectionFrontFace);
11704|      1|            symbolTable.relateToOperator("rayQueryGetIntersectionCandidateAABBOpaqueEXT",                     EOpRayQueryGetIntersectionCandidateAABBOpaque);
11705|      1|            symbolTable.relateToOperator("rayQueryGetIntersectionObjectRayDirectionEXT",                      EOpRayQueryGetIntersectionObjectRayDirection);
11706|      1|            symbolTable.relateToOperator("rayQueryGetIntersectionObjectRayOriginEXT",                         EOpRayQueryGetIntersectionObjectRayOrigin);
11707|      1|            symbolTable.relateToOperator("rayQueryGetWorldRayDirectionEXT",                                   EOpRayQueryGetWorldRayDirection);
11708|      1|            symbolTable.relateToOperator("rayQueryGetWorldRayOriginEXT",                                      EOpRayQueryGetWorldRayOrigin);
11709|      1|            symbolTable.relateToOperator("rayQueryGetIntersectionObjectToWorldEXT",                           EOpRayQueryGetIntersectionObjectToWorld);
11710|      1|            symbolTable.relateToOperator("rayQueryGetIntersectionWorldToObjectEXT",                           EOpRayQueryGetIntersectionWorldToObject);
11711|      1|            symbolTable.relateToOperator("rayQueryGetIntersectionTriangleVertexPositionsEXT",                 EOpRayQueryGetIntersectionTriangleVertexPositionsEXT);
11712|      1|            symbolTable.relateToOperator("rayQueryGetIntersectionClusterIdNV",                                EOpRayQueryGetIntersectionClusterIdNV);
11713|      1|            symbolTable.relateToOperator("rayQueryGetIntersectionSpherePositionNV",                           EOpRayQueryGetIntersectionSpherePositionNV);
11714|      1|            symbolTable.relateToOperator("rayQueryGetIntersectionSphereRadiusNV",                             EOpRayQueryGetIntersectionSphereRadiusNV);
11715|      1|            symbolTable.relateToOperator("rayQueryGetIntersectionLSSHitValueNV",                              EOpRayQueryGetIntersectionLSSHitValueNV);
11716|      1|            symbolTable.relateToOperator("rayQueryGetIntersectionLSSPositionsNV",                             EOpRayQueryGetIntersectionLSSPositionsNV);
11717|      1|            symbolTable.relateToOperator("rayQueryGetIntersectionLSSRadiiNV",                                 EOpRayQueryGetIntersectionLSSRadiiNV);
11718|      1|            symbolTable.relateToOperator("rayQueryIsSphereHitNV",                                             EOpRayQueryIsSphereHitNV);
11719|      1|            symbolTable.relateToOperator("rayQueryIsLSSHitNV",                                                EOpRayQueryIsLSSHitNV);
11720|      1|        }
11721|       |
11722|    124|        symbolTable.relateToOperator("interpolateAtCentroid", EOpInterpolateAtCentroid);
11723|    124|        symbolTable.relateToOperator("interpolateAtSample",   EOpInterpolateAtSample);
11724|    124|        symbolTable.relateToOperator("interpolateAtOffset",   EOpInterpolateAtOffset);
11725|       |
11726|    124|        if (profile != EEsProfile)
  ------------------
  |  Branch (11726:13): [True: 124, False: 0]
  ------------------
11727|    124|            symbolTable.relateToOperator("interpolateAtVertexAMD", EOpInterpolateAtVertex);
11728|       |
11729|    124|        symbolTable.relateToOperator("beginInvocationInterlockARB", EOpBeginInvocationInterlock);
11730|    124|        symbolTable.relateToOperator("endInvocationInterlockARB",   EOpEndInvocationInterlock);
11731|       |
11732|    124|        symbolTable.relateToOperator("stencilAttachmentReadEXT", EOpStencilAttachmentReadEXT);
11733|    124|        symbolTable.relateToOperator("depthAttachmentReadEXT",   EOpDepthAttachmentReadEXT);
11734|    124|        symbolTable.relateToOperator("colorAttachmentReadEXT",   EOpColorAttachmentReadEXT);
11735|       |
11736|    124|        break;
11737|       |
11738|     13|    case EShLangCompute:
  ------------------
  |  Branch (11738:5): [True: 13, False: 388]
  ------------------
11739|     13|        symbolTable.relateToOperator("subgroupMemoryBarrierShared", EOpSubgroupMemoryBarrierShared);
11740|     13|        if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (11740:14): [True: 13, False: 0]
  |  Branch (11740:39): [True: 12, False: 1]
  ------------------
11741|     12|            (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (11741:14): [True: 0, False: 1]
  |  Branch (11741:39): [True: 0, False: 0]
  ------------------
11742|     12|            symbolTable.relateToOperator("dFdx",        EOpDPdx);
11743|     12|            symbolTable.relateToOperator("dFdy",        EOpDPdy);
11744|     12|            symbolTable.relateToOperator("fwidth",      EOpFwidth);
11745|     12|            symbolTable.relateToOperator("dFdxFine",    EOpDPdxFine);
11746|     12|            symbolTable.relateToOperator("dFdyFine",    EOpDPdyFine);
11747|     12|            symbolTable.relateToOperator("fwidthFine",  EOpFwidthFine);
11748|     12|            symbolTable.relateToOperator("dFdxCoarse",  EOpDPdxCoarse);
11749|     12|            symbolTable.relateToOperator("dFdyCoarse",  EOpDPdyCoarse);
11750|     12|            symbolTable.relateToOperator("fwidthCoarse",EOpFwidthCoarse);
11751|     12|        }
11752|     13|        symbolTable.relateToOperator("coopMatLoadNV",              EOpCooperativeMatrixLoadNV);
11753|     13|        symbolTable.relateToOperator("coopMatStoreNV",             EOpCooperativeMatrixStoreNV);
11754|     13|        symbolTable.relateToOperator("coopMatMulAddNV",            EOpCooperativeMatrixMulAddNV);
11755|       |
11756|     13|        symbolTable.relateToOperator("coopMatLoad",                EOpCooperativeMatrixLoad);
11757|     13|        symbolTable.relateToOperator("coopMatStore",               EOpCooperativeMatrixStore);
11758|     13|        symbolTable.relateToOperator("coopMatMulAdd",              EOpCooperativeMatrixMulAdd);
11759|       |
11760|     13|        symbolTable.relateToOperator("coopMatLoadTensorNV",        EOpCooperativeMatrixLoadTensorNV);
11761|     13|        symbolTable.relateToOperator("coopMatStoreTensorNV",       EOpCooperativeMatrixStoreTensorNV);
11762|       |
11763|     13|        symbolTable.relateToOperator("coopMatReduceNV",            EOpCooperativeMatrixReduceNV);
11764|     13|        symbolTable.relateToOperator("coopMatPerElementNV",        EOpCooperativeMatrixPerElementOpNV);
11765|     13|        symbolTable.relateToOperator("coopMatTransposeNV",         EOpCooperativeMatrixTransposeNV);
11766|       |
11767|     13|        symbolTable.relateToOperator("createTensorLayoutNV",         EOpCreateTensorLayoutNV);
11768|     13|        symbolTable.relateToOperator("setTensorLayoutBlockSizeNV",   EOpTensorLayoutSetBlockSizeNV);
11769|     13|        symbolTable.relateToOperator("setTensorLayoutDimensionNV",   EOpTensorLayoutSetDimensionNV);
11770|     13|        symbolTable.relateToOperator("setTensorLayoutStrideNV",      EOpTensorLayoutSetStrideNV);
11771|     13|        symbolTable.relateToOperator("sliceTensorLayoutNV",          EOpTensorLayoutSliceNV);
11772|     13|        symbolTable.relateToOperator("setTensorLayoutClampValueNV",  EOpTensorLayoutSetClampValueNV);
11773|       |
11774|     13|        symbolTable.relateToOperator("createTensorViewNV",           EOpCreateTensorViewNV);
11775|     13|        symbolTable.relateToOperator("setTensorViewDimensionsNV",    EOpTensorViewSetDimensionNV);
11776|     13|        symbolTable.relateToOperator("setTensorViewStrideNV",        EOpTensorViewSetStrideNV);
11777|     13|        symbolTable.relateToOperator("setTensorViewClipNV",          EOpTensorViewSetClipNV);
11778|       |
11779|     13|        symbolTable.relateToOperator("tensorReadARM",                EOpTensorReadARM);
11780|     13|        symbolTable.relateToOperator("tensorWriteARM",               EOpTensorWriteARM);
11781|     13|        symbolTable.relateToOperator("tensorSizeARM",                EOpTensorSizeARM);
11782|       |
11783|     13|        symbolTable.relateToOperator("bitcastQCOM", EOpBitCastArrayQCOM);
11784|     13|        symbolTable.relateToOperator("extractSubArrayQCOM", EOpExtractSubArrayQCOM);
11785|     13|        symbolTable.relateToOperator("vectorToCoopmatQCOM", EOpCompositeConstructCoopMatQCOM);
11786|     13|        symbolTable.relateToOperator("coopmatToVectorQCOM", EOpCompositeExtractCoopMatQCOM);
11787|       |
11788|     13|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11788:13): [True: 13, False: 0]
  |  Branch (11788:38): [True: 1, False: 12]
  ------------------
11789|      1|            symbolTable.relateToOperator("fetchMicroTriangleVertexPositionNV", EOpFetchMicroTriangleVertexPositionNV);
11790|      1|            symbolTable.relateToOperator("fetchMicroTriangleVertexBarycentricNV", EOpFetchMicroTriangleVertexBarycentricNV);
11791|      1|        }
11792|     13|        break;
11793|       |
11794|     12|    case EShLangRayGen:
  ------------------
  |  Branch (11794:5): [True: 12, False: 389]
  ------------------
11795|     12|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11795:13): [True: 12, False: 0]
  |  Branch (11795:38): [True: 1, False: 11]
  ------------------
11796|      1|            symbolTable.relateToOperator("fetchMicroTriangleVertexPositionNV", EOpFetchMicroTriangleVertexPositionNV);
11797|      1|            symbolTable.relateToOperator("fetchMicroTriangleVertexBarycentricNV", EOpFetchMicroTriangleVertexBarycentricNV);
11798|      1|        }
11799|     12|        [[fallthrough]];
11800|     24|    case EShLangClosestHit:
  ------------------
  |  Branch (11800:5): [True: 12, False: 389]
  ------------------
11801|     36|    case EShLangMiss:
  ------------------
  |  Branch (11801:5): [True: 12, False: 389]
  ------------------
11802|     36|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11802:13): [True: 36, False: 0]
  |  Branch (11802:38): [True: 3, False: 33]
  ------------------
11803|      3|            symbolTable.relateToOperator("traceNV", EOpTraceNV);
11804|      3|            symbolTable.relateToOperator("traceRayMotionNV", EOpTraceRayMotionNV);
11805|      3|            symbolTable.relateToOperator("traceRayEXT", EOpTraceKHR);
11806|      3|            symbolTable.relateToOperator("executeCallableNV", EOpExecuteCallableNV);
11807|      3|            symbolTable.relateToOperator("executeCallableEXT", EOpExecuteCallableKHR);
11808|       |
11809|      3|            symbolTable.relateToOperator("hitObjectTraceRayNV", EOpHitObjectTraceRayNV);
11810|      3|            symbolTable.relateToOperator("hitObjectTraceRayMotionNV", EOpHitObjectTraceRayMotionNV);
11811|      3|            symbolTable.relateToOperator("hitObjectRecordHitNV", EOpHitObjectRecordHitNV);
11812|      3|            symbolTable.relateToOperator("hitObjectRecordHitMotionNV", EOpHitObjectRecordHitMotionNV);
11813|      3|            symbolTable.relateToOperator("hitObjectRecordHitWithIndexNV", EOpHitObjectRecordHitWithIndexNV);
11814|      3|            symbolTable.relateToOperator("hitObjectRecordHitWithIndexMotionNV", EOpHitObjectRecordHitWithIndexMotionNV);
11815|      3|            symbolTable.relateToOperator("hitObjectRecordMissNV", EOpHitObjectRecordMissNV);
11816|      3|            symbolTable.relateToOperator("hitObjectRecordMissMotionNV", EOpHitObjectRecordMissMotionNV);
11817|      3|            symbolTable.relateToOperator("hitObjectRecordEmptyNV", EOpHitObjectRecordEmptyNV);
11818|      3|            symbolTable.relateToOperator("hitObjectExecuteShaderNV", EOpHitObjectExecuteShaderNV);
11819|      3|            symbolTable.relateToOperator("hitObjectIsEmptyNV", EOpHitObjectIsEmptyNV);
11820|      3|            symbolTable.relateToOperator("hitObjectIsMissNV", EOpHitObjectIsMissNV);
11821|      3|            symbolTable.relateToOperator("hitObjectIsHitNV", EOpHitObjectIsHitNV);
11822|      3|            symbolTable.relateToOperator("hitObjectGetRayTMinNV", EOpHitObjectGetRayTMinNV);
11823|      3|            symbolTable.relateToOperator("hitObjectGetRayTMaxNV", EOpHitObjectGetRayTMaxNV);
11824|      3|            symbolTable.relateToOperator("hitObjectGetObjectRayOriginNV", EOpHitObjectGetObjectRayOriginNV);
11825|      3|            symbolTable.relateToOperator("hitObjectGetObjectRayDirectionNV", EOpHitObjectGetObjectRayDirectionNV);
11826|      3|            symbolTable.relateToOperator("hitObjectGetWorldRayOriginNV", EOpHitObjectGetWorldRayOriginNV);
11827|      3|            symbolTable.relateToOperator("hitObjectGetWorldRayDirectionNV", EOpHitObjectGetWorldRayDirectionNV);
11828|      3|            symbolTable.relateToOperator("hitObjectGetWorldToObjectNV", EOpHitObjectGetWorldToObjectNV);
11829|      3|            symbolTable.relateToOperator("hitObjectGetObjectToWorldNV", EOpHitObjectGetObjectToWorldNV);
11830|      3|            symbolTable.relateToOperator("hitObjectGetInstanceCustomIndexNV", EOpHitObjectGetInstanceCustomIndexNV);
11831|      3|            symbolTable.relateToOperator("hitObjectGetInstanceIdNV", EOpHitObjectGetInstanceIdNV);
11832|      3|            symbolTable.relateToOperator("hitObjectGetGeometryIndexNV", EOpHitObjectGetGeometryIndexNV);
11833|      3|            symbolTable.relateToOperator("hitObjectGetPrimitiveIndexNV", EOpHitObjectGetPrimitiveIndexNV);
11834|      3|            symbolTable.relateToOperator("hitObjectGetHitKindNV", EOpHitObjectGetHitKindNV);
11835|      3|            symbolTable.relateToOperator("hitObjectGetAttributesNV", EOpHitObjectGetAttributesNV);
11836|      3|            symbolTable.relateToOperator("hitObjectGetCurrentTimeNV", EOpHitObjectGetCurrentTimeNV);
11837|      3|            symbolTable.relateToOperator("hitObjectGetShaderBindingTableRecordIndexNV", EOpHitObjectGetShaderBindingTableRecordIndexNV);
11838|      3|            symbolTable.relateToOperator("hitObjectGetShaderRecordBufferHandleNV", EOpHitObjectGetShaderRecordBufferHandleNV);
11839|      3|            symbolTable.relateToOperator("hitObjectGetClusterIdNV", EOpHitObjectGetClusterIdNV);
11840|      3|            symbolTable.relateToOperator("reorderThreadNV", EOpReorderThreadNV);
11841|      3|            symbolTable.relateToOperator("hitObjectGetSpherePositionNV", EOpHitObjectGetSpherePositionNV);
11842|      3|            symbolTable.relateToOperator("hitObjectGetSphereRadiusNV", EOpHitObjectGetSphereRadiusNV);
11843|      3|            symbolTable.relateToOperator("hitObjectGetLSSPositionsNV", EOpHitObjectGetLSSPositionsNV);
11844|      3|            symbolTable.relateToOperator("hitObjectGetLSSRadiiNV", EOpHitObjectGetLSSRadiiNV);
11845|      3|            symbolTable.relateToOperator("hitObjectIsSphereHitNV", EOpHitObjectIsSphereHitNV);
11846|      3|            symbolTable.relateToOperator("hitObjectIsLSSHitNV", EOpHitObjectIsLSSHitNV);
11847|      3|            symbolTable.relateToOperator("hitObjectTraceRayEXT", EOpHitObjectTraceRayEXT);
11848|      3|            symbolTable.relateToOperator("hitObjectTraceRayMotionEXT", EOpHitObjectTraceRayMotionEXT);
11849|      3|            symbolTable.relateToOperator("hitObjectRecordMissEXT", EOpHitObjectRecordMissEXT);
11850|      3|            symbolTable.relateToOperator("hitObjectRecordMissMotionEXT", EOpHitObjectRecordMissMotionEXT);
11851|      3|            symbolTable.relateToOperator("hitObjectRecordEmptyEXT", EOpHitObjectRecordEmptyEXT);
11852|      3|            symbolTable.relateToOperator("hitObjectExecuteShaderEXT", EOpHitObjectExecuteShaderEXT);
11853|      3|            symbolTable.relateToOperator("hitObjectIsEmptyEXT", EOpHitObjectIsEmptyEXT);
11854|      3|            symbolTable.relateToOperator("hitObjectIsMissEXT", EOpHitObjectIsMissEXT);
11855|      3|            symbolTable.relateToOperator("hitObjectIsHitEXT", EOpHitObjectIsHitEXT);
11856|      3|            symbolTable.relateToOperator("hitObjectGetRayTMinEXT", EOpHitObjectGetRayTMinEXT);
11857|      3|            symbolTable.relateToOperator("hitObjectGetRayTMaxEXT", EOpHitObjectGetRayTMaxEXT);
11858|      3|            symbolTable.relateToOperator("hitObjectGetRayFlagsEXT", EOpHitObjectGetRayFlagsEXT);
11859|      3|            symbolTable.relateToOperator("hitObjectGetObjectRayOriginEXT", EOpHitObjectGetObjectRayOriginEXT);
11860|      3|            symbolTable.relateToOperator("hitObjectGetObjectRayDirectionEXT", EOpHitObjectGetObjectRayDirectionEXT);
11861|      3|            symbolTable.relateToOperator("hitObjectGetWorldRayOriginEXT", EOpHitObjectGetWorldRayOriginEXT);
11862|      3|            symbolTable.relateToOperator("hitObjectGetWorldRayDirectionEXT", EOpHitObjectGetWorldRayDirectionEXT);
11863|      3|            symbolTable.relateToOperator("hitObjectGetWorldToObjectEXT", EOpHitObjectGetWorldToObjectEXT);
11864|      3|            symbolTable.relateToOperator("hitObjectGetObjectToWorldEXT", EOpHitObjectGetObjectToWorldEXT);
11865|      3|            symbolTable.relateToOperator("hitObjectGetInstanceCustomIndexEXT", EOpHitObjectGetInstanceCustomIndexEXT);
11866|      3|            symbolTable.relateToOperator("hitObjectGetInstanceIdEXT", EOpHitObjectGetInstanceIdEXT);
11867|      3|            symbolTable.relateToOperator("hitObjectGetGeometryIndexEXT", EOpHitObjectGetGeometryIndexEXT);
11868|      3|            symbolTable.relateToOperator("hitObjectGetPrimitiveIndexEXT", EOpHitObjectGetPrimitiveIndexEXT);
11869|      3|            symbolTable.relateToOperator("hitObjectGetHitKindEXT", EOpHitObjectGetHitKindEXT);
11870|      3|            symbolTable.relateToOperator("hitObjectGetAttributesEXT", EOpHitObjectGetAttributesEXT);
11871|      3|            symbolTable.relateToOperator("hitObjectGetCurrentTimeEXT", EOpHitObjectGetCurrentTimeEXT);
11872|      3|            symbolTable.relateToOperator("hitObjectGetShaderBindingTableRecordIndexEXT", EOpHitObjectGetShaderBindingTableRecordIndexEXT);
11873|      3|            symbolTable.relateToOperator("hitObjectGetShaderRecordBufferHandleEXT", EOpHitObjectGetShaderRecordBufferHandleEXT);
11874|      3|            symbolTable.relateToOperator("hitObjectSetShaderBindingTableRecordIndexEXT", EOpHitObjectSetShaderBindingTableRecordIndexEXT);
11875|      3|            symbolTable.relateToOperator("reorderThreadEXT", EOpReorderThreadEXT);
11876|      3|            symbolTable.relateToOperator("hitObjectReorderExecuteEXT", EOpHitObjectReorderExecuteEXT);
11877|      3|            symbolTable.relateToOperator("hitObjectTraceReorderExecuteEXT", EOpHitObjectTraceReorderExecuteEXT);
11878|      3|            symbolTable.relateToOperator("hitObjectTraceMotionReorderExecuteEXT", EOpHitObjectTraceMotionReorderExecuteEXT);
11879|      3|            symbolTable.relateToOperator("hitObjectRecordFromQueryEXT", EOpHitObjectRecordFromQueryEXT);
11880|      3|            symbolTable.relateToOperator("hitObjectGetIntersectionTriangleVertexPositionsEXT", EOpHitObjectGetIntersectionTriangleVertexPositionsEXT);
11881|      3|        }
11882|     36|        break;
11883|     12|    case EShLangIntersect:
  ------------------
  |  Branch (11883:5): [True: 12, False: 389]
  ------------------
11884|     12|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11884:13): [True: 12, False: 0]
  |  Branch (11884:38): [True: 1, False: 11]
  ------------------
11885|      1|            symbolTable.relateToOperator("reportIntersectionNV", EOpReportIntersection);
11886|      1|            symbolTable.relateToOperator("reportIntersectionEXT", EOpReportIntersection);
11887|      1|        }
11888|     12|        break;
11889|     12|    case EShLangAnyHit:
  ------------------
  |  Branch (11889:5): [True: 12, False: 389]
  ------------------
11890|     12|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11890:13): [True: 12, False: 0]
  |  Branch (11890:38): [True: 1, False: 11]
  ------------------
11891|      1|            symbolTable.relateToOperator("ignoreIntersectionNV", EOpIgnoreIntersectionNV);
11892|      1|            symbolTable.relateToOperator("terminateRayNV", EOpTerminateRayNV);
11893|      1|        }
11894|     12|        break;
11895|     12|    case EShLangCallable:
  ------------------
  |  Branch (11895:5): [True: 12, False: 389]
  ------------------
11896|     12|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11896:13): [True: 12, False: 0]
  |  Branch (11896:38): [True: 1, False: 11]
  ------------------
11897|      1|            symbolTable.relateToOperator("executeCallableNV", EOpExecuteCallableNV);
11898|      1|            symbolTable.relateToOperator("executeCallableEXT", EOpExecuteCallableKHR);
11899|      1|        }
11900|     12|        break;
11901|      5|    case EShLangMesh:
  ------------------
  |  Branch (11901:5): [True: 5, False: 396]
  ------------------
11902|      5|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (11902:14): [True: 5, False: 0]
  |  Branch (11902:39): [True: 5, False: 0]
  |  Branch (11902:59): [True: 0, False: 0]
  |  Branch (11902:84): [True: 0, False: 0]
  ------------------
11903|      5|            symbolTable.relateToOperator("writePackedPrimitiveIndices4x8NV", EOpWritePackedPrimitiveIndices4x8NV);
11904|      5|            symbolTable.relateToOperator("memoryBarrierShared", EOpMemoryBarrierShared);
11905|      5|            symbolTable.relateToOperator("groupMemoryBarrier", EOpGroupMemoryBarrier);
11906|      5|            symbolTable.relateToOperator("subgroupMemoryBarrierShared", EOpSubgroupMemoryBarrierShared);
11907|      5|        }
11908|       |
11909|      5|        if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (11909:13): [True: 5, False: 0]
  |  Branch (11909:38): [True: 5, False: 0]
  ------------------
11910|      5|            symbolTable.relateToOperator("SetMeshOutputsEXT", EOpSetMeshOutputsEXT);
11911|      5|        }
11912|       |
11913|      5|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11913:13): [True: 5, False: 0]
  |  Branch (11913:38): [True: 0, False: 5]
  ------------------
11914|       |            // Builtins for GL_NV_displacement_micromap.
11915|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexPositionNV", EOpFetchMicroTriangleVertexPositionNV);
11916|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexBarycentricNV", EOpFetchMicroTriangleVertexBarycentricNV);
11917|      0|        }
11918|      5|        break;
11919|     12|    case EShLangTask:
  ------------------
  |  Branch (11919:5): [True: 12, False: 389]
  ------------------
11920|     12|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (11920:14): [True: 12, False: 0]
  |  Branch (11920:39): [True: 12, False: 0]
  |  Branch (11920:59): [True: 0, False: 0]
  |  Branch (11920:84): [True: 0, False: 0]
  ------------------
11921|     12|            symbolTable.relateToOperator("memoryBarrierShared", EOpMemoryBarrierShared);
11922|     12|            symbolTable.relateToOperator("groupMemoryBarrier", EOpGroupMemoryBarrier);
11923|     12|            symbolTable.relateToOperator("subgroupMemoryBarrierShared", EOpSubgroupMemoryBarrierShared);
11924|     12|        }
11925|     12|        if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (11925:13): [True: 12, False: 0]
  |  Branch (11925:38): [True: 12, False: 0]
  ------------------
11926|     12|            symbolTable.relateToOperator("EmitMeshTasksEXT", EOpEmitMeshTasksEXT);
11927|     12|        }
11928|     12|        break;
11929|       |
11930|      0|    default:
  ------------------
  |  Branch (11930:5): [True: 0, False: 401]
  ------------------
11931|       |        assert(false && "Language not supported");
11932|    401|    }
11933|    401|}
_ZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableERK16TBuiltInResource:
11945|    122|{
11946|    122|    if (profile != EEsProfile && version >= 430 && version < 440) {
  ------------------
  |  Branch (11946:9): [True: 122, False: 0]
  |  Branch (11946:34): [True: 11, False: 111]
  |  Branch (11946:52): [True: 0, False: 11]
  ------------------
11947|      0|        symbolTable.setVariableExtensions("gl_MaxTransformFeedbackBuffers", 1, &E_GL_ARB_enhanced_layouts);
11948|      0|        symbolTable.setVariableExtensions("gl_MaxTransformFeedbackInterleavedComponents", 1, &E_GL_ARB_enhanced_layouts);
11949|      0|    }
11950|    122|    if (profile != EEsProfile && version >= 130 && version < 420) {
  ------------------
  |  Branch (11950:9): [True: 122, False: 0]
  |  Branch (11950:34): [True: 122, False: 0]
  |  Branch (11950:52): [True: 111, False: 11]
  ------------------
11951|    111|        symbolTable.setVariableExtensions("gl_MinProgramTexelOffset", 1, &E_GL_ARB_shading_language_420pack);
11952|    111|        symbolTable.setVariableExtensions("gl_MaxProgramTexelOffset", 1, &E_GL_ARB_shading_language_420pack);
11953|    111|    }
11954|    122|    if (profile != EEsProfile && version >= 150 && version < 410)
  ------------------
  |  Branch (11954:9): [True: 122, False: 0]
  |  Branch (11954:34): [True: 15, False: 107]
  |  Branch (11954:52): [True: 4, False: 11]
  ------------------
11955|      4|        symbolTable.setVariableExtensions("gl_MaxViewports", 1, &E_GL_ARB_viewport_array);
11956|       |
11957|    122|    switch(language) {
11958|      0|    case EShLangFragment:
  ------------------
  |  Branch (11958:5): [True: 0, False: 122]
  ------------------
11959|       |        // Set up gl_FragData based on current array size.
11960|      0|        if (version == 100 || IncludeLegacy(version, profile, spvVersion) || (! ForwardCompatibility && profile != EEsProfile && version < 420)) {
  ------------------
  |  Branch (11960:13): [True: 0, False: 0]
  |  Branch (11960:31): [True: 0, False: 0]
  |  Branch (11960:79): [True: 0, Folded]
  |  Branch (11960:105): [True: 0, False: 0]
  |  Branch (11960:130): [True: 0, False: 0]
  ------------------
11961|      0|            TPrecisionQualifier pq = profile == EEsProfile ? EpqMedium : EpqNone;
  ------------------
  |  Branch (11961:38): [True: 0, False: 0]
  ------------------
11962|      0|            TType fragData(EbtFloat, EvqFragColor, pq, 4);
11963|      0|            TArraySizes* arraySizes = new TArraySizes;
11964|      0|            arraySizes->addInnerSize(resources.maxDrawBuffers);
11965|      0|            fragData.transferArraySizes(arraySizes);
11966|      0|            symbolTable.insert(*new TVariable(NewPoolTString("gl_FragData"), fragData));
11967|      0|            SpecialQualifier("gl_FragData", EvqFragColor, EbvFragData, symbolTable);
11968|      0|        }
11969|       |
11970|       |        // GL_EXT_blend_func_extended
11971|      0|        if (profile == EEsProfile && version >= 100) {
  ------------------
  |  Branch (11971:13): [True: 0, False: 0]
  |  Branch (11971:38): [True: 0, False: 0]
  ------------------
11972|      0|           symbolTable.setVariableExtensions("gl_MaxDualSourceDrawBuffersEXT",    1, &E_GL_EXT_blend_func_extended);
11973|      0|           symbolTable.setVariableExtensions("gl_SecondaryFragColorEXT",    1, &E_GL_EXT_blend_func_extended);
11974|      0|           symbolTable.setVariableExtensions("gl_SecondaryFragDataEXT",    1, &E_GL_EXT_blend_func_extended);
11975|      0|           SpecialQualifier("gl_SecondaryFragColorEXT", EvqVaryingOut, EbvSecondaryFragColorEXT, symbolTable);
11976|      0|           SpecialQualifier("gl_SecondaryFragDataEXT", EvqVaryingOut, EbvSecondaryFragDataEXT, symbolTable);
11977|      0|        }
11978|       |
11979|      0|        break;
11980|       |
11981|      7|    case EShLangTessControl:
  ------------------
  |  Branch (11981:5): [True: 7, False: 115]
  ------------------
11982|      9|    case EShLangTessEvaluation:
  ------------------
  |  Branch (11982:5): [True: 2, False: 120]
  ------------------
11983|       |        // Because of the context-dependent array size (gl_MaxPatchVertices),
11984|       |        // these variables were added later than the others and need to be mapped now.
11985|       |
11986|       |        // standard members
11987|      9|        BuiltInVariable("gl_in", "gl_Position",     EbvPosition,     symbolTable);
11988|      9|        BuiltInVariable("gl_in", "gl_PointSize",    EbvPointSize,    symbolTable);
11989|      9|        BuiltInVariable("gl_in", "gl_ClipDistance", EbvClipDistance, symbolTable);
11990|      9|        BuiltInVariable("gl_in", "gl_CullDistance", EbvCullDistance, symbolTable);
11991|       |
11992|       |        // compatibility members
11993|      9|        BuiltInVariable("gl_in", "gl_ClipVertex",          EbvClipVertex,          symbolTable);
11994|      9|        BuiltInVariable("gl_in", "gl_FrontColor",          EbvFrontColor,          symbolTable);
11995|      9|        BuiltInVariable("gl_in", "gl_BackColor",           EbvBackColor,           symbolTable);
11996|      9|        BuiltInVariable("gl_in", "gl_FrontSecondaryColor", EbvFrontSecondaryColor, symbolTable);
11997|      9|        BuiltInVariable("gl_in", "gl_BackSecondaryColor",  EbvBackSecondaryColor,  symbolTable);
11998|      9|        BuiltInVariable("gl_in", "gl_TexCoord",            EbvTexCoord,            symbolTable);
11999|      9|        BuiltInVariable("gl_in", "gl_FogFragCoord",        EbvFogFragCoord,        symbolTable);
12000|       |
12001|      9|        symbolTable.setVariableExtensions("gl_in", "gl_SecondaryPositionNV", 1, &E_GL_NV_stereo_view_rendering);
12002|      9|        symbolTable.setVariableExtensions("gl_in", "gl_PositionPerViewNV",   1, &E_GL_NVX_multiview_per_view_attributes);
12003|       |
12004|      9|        BuiltInVariable("gl_in", "gl_SecondaryPositionNV", EbvSecondaryPositionNV, symbolTable);
12005|      9|        BuiltInVariable("gl_in", "gl_PositionPerViewNV",   EbvPositionPerViewNV,   symbolTable);
12006|       |
12007|       |        // extension requirements
12008|      9|        if (profile == EEsProfile) {
  ------------------
  |  Branch (12008:13): [True: 0, False: 9]
  ------------------
12009|      0|            symbolTable.setVariableExtensions("gl_in", "gl_PointSize", Num_AEP_tessellation_point_size, AEP_tessellation_point_size);
12010|      0|        }
12011|       |
12012|      9|        break;
12013|       |
12014|    113|    default:
  ------------------
  |  Branch (12014:5): [True: 113, False: 9]
  ------------------
12015|    113|        break;
12016|    122|    }
12017|    122|}
Initialize.cpp:_ZZN7glslang9TBuiltIns17addTabledBuiltinsEi8EProfileRKNS_10SpvVersionEENK3$_0clERNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEERK4spanIKNS_12_GLOBAL__N_115BuiltInFunctionEE:
  510|    260|    const auto forEachFunction = [&](TString& decls, const span<const BuiltInFunction>& functions) {
  511|  10.2k|        for (const auto& fn : functions) {
  ------------------
  |  Branch (511:29): [True: 10.2k, False: 260]
  ------------------
  512|  10.2k|            if (ValidVersion(fn, version, profile, spvVersion)) {
  ------------------
  |  Branch (512:17): [True: 9.11k, False: 1.08k]
  ------------------
  513|  9.11k|                AddTabledBuiltin(decls, fn);
  514|  9.11k|                if (profile != EEsProfile) {
  ------------------
  |  Branch (514:21): [True: 9.11k, False: 0]
  ------------------
  515|  9.11k|                    AddLongVectorBuiltin(decls, fn);
  516|  9.11k|                }
  517|  9.11k|            }
  518|  10.2k|        }
  519|    260|    };
Initialize.cpp:_ZN7glslang12_GLOBAL__N_112ValidVersionERKNS0_15BuiltInFunctionEi8EProfileRKNS_10SpvVersionE:
  476|  10.2k|{
  477|       |    // nullptr means always valid
  478|  10.2k|    if (function.versioning.empty())
  ------------------
  |  Branch (478:9): [True: 5.98k, False: 4.21k]
  ------------------
  479|  5.98k|        return true;
  480|       |
  481|       |    // check for what is said about our current profile
  482|  8.43k|    for (const auto& v : function.versioning) {
  ------------------
  |  Branch (482:24): [True: 8.43k, False: 1.08k]
  ------------------
  483|  8.43k|        if ((v.profiles & profile) != 0) {
  ------------------
  |  Branch (483:13): [True: 4.21k, False: 4.21k]
  ------------------
  484|  4.21k|            if (v.minCoreVersion <= version || (v.numExtensions > 0 && v.minExtendedVersion <= version))
  ------------------
  |  Branch (484:17): [True: 3.12k, False: 1.08k]
  |  Branch (484:49): [True: 0, False: 1.08k]
  |  Branch (484:72): [True: 0, False: 0]
  ------------------
  485|  3.12k|                return true;
  486|  4.21k|        }
  487|  8.43k|    }
  488|       |
  489|  1.08k|    return false;
  490|  4.21k|}
Initialize.cpp:_ZN7glslang12_GLOBAL__N_116AddTabledBuiltinERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS0_15BuiltInFunctionE:
  322|  9.11k|{
  323|  9.11k|    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|  9.11k|    const ArgClass ClassFixed = (ArgClass)(ClassLS | ClassXLS | ClassLS2 | ClassFS | ClassFS2);
  329|  19.5k|    for (int fixed = 0; fixed < ((function.classes & ClassFixed) > 0 ? 2 : 1); ++fixed) {
  ------------------
  |  Branch (329:25): [True: 10.4k, False: 9.11k]
  |  Branch (329:34): [True: 4.09k, False: 15.5k]
  ------------------
  330|       |
  331|  10.4k|        if (fixed == 0 && (function.classes & ClassXLS))
  ------------------
  |  Branch (331:13): [True: 9.11k, False: 1.36k]
  |  Branch (331:27): [True: 124, False: 8.99k]
  ------------------
  332|    124|            continue;
  333|       |
  334|       |        // walk the type strings in TypeString[]
  335|   176k|        for (int type = 0; type < TypeStringCount; ++type) {
  ------------------
  |  Branch (335:28): [True: 165k, False: 10.3k]
  ------------------
  336|       |            // skip types not selected: go from type to row number to type bit
  337|   165k|            if ((function.types & (1 << (type >> TypeStringRowShift))) == 0)
  ------------------
  |  Branch (337:17): [True: 116k, False: 48.9k]
  ------------------
  338|   116k|                continue;
  339|       |
  340|       |            // if we aren't on a scalar, and should be, skip
  341|  48.9k|            if ((function.classes & ClassV1) && !isScalarType(type))
  ------------------
  |  Branch (341:17): [True: 1.02k, False: 47.9k]
  |  Branch (341:49): [True: 768, False: 256]
  ------------------
  342|    768|                continue;
  343|       |
  344|       |            // if we aren't on a 3-vector, and should be, skip
  345|  48.1k|            if ((function.classes & ClassV3) && (type & TypeStringColumnMask) != 2)
  ------------------
  |  Branch (345:17): [True: 496, False: 47.6k]
  |  Branch (345:49): [True: 372, False: 124]
  ------------------
  346|    372|                continue;
  347|       |
  348|       |            // skip replication of all arg scalars between the varying arg set and the fixed args
  349|  47.7k|            if (fixed == 1 && type == (type & TypeStringScalarMask) && (function.classes & ClassXLS) == 0)
  ------------------
  |  Branch (349:17): [True: 6.94k, False: 40.8k]
  |  Branch (349:31): [True: 1.73k, False: 5.20k]
  |  Branch (349:72): [True: 1.61k, False: 124]
  ------------------
  350|  1.61k|                continue;
  351|       |
  352|       |            // skip scalars when we are told to
  353|  46.1k|            if ((function.classes & ClassNS) && isScalarType(type))
  ------------------
  |  Branch (353:17): [True: 11.4k, False: 34.7k]
  |  Branch (353:49): [True: 2.85k, False: 8.55k]
  ------------------
  354|  2.85k|                continue;
  355|       |
  356|       |            // return type
  357|  43.3k|            if (function.classes & ClassB)
  ------------------
  |  Branch (357:17): [True: 8.43k, False: 34.8k]
  ------------------
  358|  8.43k|                decls.append(TypeString[type & TypeStringColumnMask]);
  359|  34.8k|            else if (function.classes & ClassRS)
  ------------------
  |  Branch (359:22): [True: 2.23k, False: 32.6k]
  ------------------
  360|  2.23k|                decls.append(TypeString[type & TypeStringScalarMask]);
  361|  32.6k|            else
  362|  32.6k|                decls.append(TypeString[type]);
  363|  43.3k|            decls.append(" ");
  364|  43.3k|            decls.append(function.name);
  365|  43.3k|            decls.append("(");
  366|       |
  367|       |            // arguments
  368|   116k|            for (int arg = 0; arg < function.numArguments; ++arg) {
  ------------------
  |  Branch (368:31): [True: 73.0k, False: 43.3k]
  ------------------
  369|  73.0k|                if (arg == function.numArguments - 1 && (function.classes & ClassLO))
  ------------------
  |  Branch (369:21): [True: 43.3k, False: 29.7k]
  |  Branch (369:57): [True: 496, False: 42.8k]
  ------------------
  370|    496|                    decls.append("out ");
  371|  73.0k|                if (arg == 0) {
  ------------------
  |  Branch (371:21): [True: 43.3k, False: 29.7k]
  ------------------
  372|  43.3k|                    if (function.classes & ClassCVN)
  ------------------
  |  Branch (372:25): [True: 256, False: 43.0k]
  ------------------
  373|    256|                        decls.append("coherent volatile nontemporal ");
  374|  43.3k|                    if (function.classes & ClassFIO)
  ------------------
  |  Branch (374:25): [True: 256, False: 43.0k]
  ------------------
  375|    256|                        decls.append("inout ");
  376|  43.3k|                    if (function.classes & ClassFO)
  ------------------
  |  Branch (376:25): [True: 0, False: 43.3k]
  ------------------
  377|      0|                        decls.append("out ");
  378|  43.3k|                }
  379|  73.0k|                if ((function.classes & ClassLB) && arg == function.numArguments - 1)
  ------------------
  |  Branch (379:21): [True: 1.77k, False: 71.2k]
  |  Branch (379:53): [True: 592, False: 1.18k]
  ------------------
  380|    592|                    decls.append(TypeString[type & TypeStringColumnMask]);
  381|  72.4k|                else if (fixed && ((arg == function.numArguments - 1 && (function.classes & (ClassLS | ClassXLS |
  ------------------
  |  Branch (381:26): [True: 13.0k, False: 59.4k]
  |  Branch (381:37): [True: 5.33k, False: 7.68k]
  |  Branch (381:73): [True: 4.58k, False: 744]
  ------------------
  382|  5.33k|                                                                                                       ClassLS2))) ||
  383|  8.43k|                                   (arg == function.numArguments - 2 && (function.classes & ClassLS2))             ||
  ------------------
  |  Branch (383:37): [True: 5.33k, False: 3.10k]
  |  Branch (383:73): [True: 1.11k, False: 4.21k]
  ------------------
  384|  7.31k|                                   (arg == 0                         && (function.classes & (ClassFS | ClassFS2))) ||
  ------------------
  |  Branch (384:37): [True: 5.33k, False: 1.98k]
  |  Branch (384:73): [True: 744, False: 4.58k]
  ------------------
  385|  6.57k|                                   (arg == 1                         && (function.classes & ClassFS2))))
  ------------------
  |  Branch (385:37): [True: 1.61k, False: 4.96k]
  |  Branch (385:73): [True: 372, False: 1.24k]
  ------------------
  386|  6.82k|                    decls.append(TypeString[type & TypeStringScalarMask]);
  387|  65.6k|                else
  388|  65.6k|                    decls.append(TypeString[type]);
  389|  73.0k|                if (arg < function.numArguments - 1)
  ------------------
  |  Branch (389:21): [True: 29.7k, False: 43.3k]
  ------------------
  390|  29.7k|                    decls.append(",");
  391|  73.0k|            }
  392|  43.3k|            decls.append(");\n");
  393|  43.3k|        }
  394|  10.3k|    }
  395|  9.11k|}
Initialize.cpp:_ZZN7glslang12_GLOBAL__N_116AddTabledBuiltinERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS0_15BuiltInFunctionEENK3$_0clEi:
  323|  12.4k|    const auto isScalarType = [](int type) { return (type & TypeStringColumnMask) == 0; };
Initialize.cpp:_ZN7glslang12_GLOBAL__N_120AddLongVectorBuiltinERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS0_15BuiltInFunctionE:
  401|  9.11k|{
  402|  9.11k|    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|  9.11k|    const ArgClass ClassFixed = (ArgClass)(ClassLS | ClassXLS | ClassLS2 | ClassFS | ClassFS2);
  408|  19.5k|    for (int fixed = 0; fixed < ((function.classes & ClassFixed) > 0 ? 2 : 1); ++fixed) {
  ------------------
  |  Branch (408:25): [True: 10.4k, False: 9.11k]
  |  Branch (408:34): [True: 4.09k, False: 15.5k]
  ------------------
  409|       |
  410|  10.4k|        if (fixed == 0 && (function.classes & ClassXLS))
  ------------------
  |  Branch (410:13): [True: 9.11k, False: 1.36k]
  |  Branch (410:27): [True: 124, False: 8.99k]
  ------------------
  411|    124|            continue;
  412|       |
  413|       |        // Iterate over the different scalar types (needed for ClassRS)
  414|   176k|        for (int type = 0; type < TypeStringCount; ++type) {
  ------------------
  |  Branch (414:28): [True: 165k, False: 10.3k]
  ------------------
  415|   165k|            if (!isScalarType(type))
  ------------------
  |  Branch (415:17): [True: 124k, False: 41.4k]
  ------------------
  416|   124k|                continue;
  417|       |
  418|       |            // skip types not selected: go from type to row number to type bit
  419|  41.4k|            if ((function.types & (1 << (type >> TypeStringRowShift))) == 0)
  ------------------
  |  Branch (419:17): [True: 29.1k, False: 12.2k]
  ------------------
  420|  29.1k|                continue;
  421|       |
  422|       |            // skip scalar-only
  423|  12.2k|            if (function.classes & ClassV1)
  ------------------
  |  Branch (423:17): [True: 256, False: 11.9k]
  ------------------
  424|    256|                continue;
  425|       |
  426|       |            // skip 3-vector
  427|  11.9k|            if (function.classes & ClassV3)
  ------------------
  |  Branch (427:17): [True: 124, False: 11.8k]
  ------------------
  428|    124|                continue;
  429|       |
  430|  11.8k|            TString decl;
  431|       |            // return type
  432|  11.8k|            if (function.classes & ClassB)
  ------------------
  |  Branch (432:17): [True: 2.72k, False: 9.12k]
  ------------------
  433|  2.72k|                decl.append("vector");
  434|  9.12k|            else if (function.classes & ClassRS)
  ------------------
  |  Branch (434:22): [True: 620, False: 8.50k]
  ------------------
  435|    620|                decl.append(TypeString[type & TypeStringScalarMask]);
  436|  8.50k|            else
  437|  8.50k|                decl.append("vector");
  438|  11.8k|            decl.append(" ");
  439|  11.8k|            decl.append(function.name);
  440|  11.8k|            decl.append("(");
  441|       |
  442|       |            // arguments
  443|  32.2k|            for (int arg = 0; arg < function.numArguments; ++arg) {
  ------------------
  |  Branch (443:31): [True: 20.3k, False: 11.8k]
  ------------------
  444|  20.3k|                if (arg == function.numArguments - 1 && (function.classes & ClassLO))
  ------------------
  |  Branch (444:21): [True: 11.8k, False: 8.50k]
  |  Branch (444:57): [True: 124, False: 11.7k]
  ------------------
  445|    124|                    decl.append("out ");
  446|  20.3k|                if (arg == 0) {
  ------------------
  |  Branch (446:21): [True: 11.8k, False: 8.50k]
  ------------------
  447|  11.8k|                    if (function.classes & ClassCVN)
  ------------------
  |  Branch (447:25): [True: 0, False: 11.8k]
  ------------------
  448|      0|                        decl.append("coherent volatile nontemporal ");
  449|  11.8k|                    if (function.classes & ClassFIO)
  ------------------
  |  Branch (449:25): [True: 0, False: 11.8k]
  ------------------
  450|      0|                        decl.append("inout ");
  451|  11.8k|                    if (function.classes & ClassFO)
  ------------------
  |  Branch (451:25): [True: 0, False: 11.8k]
  ------------------
  452|      0|                        decl.append("out ");
  453|  11.8k|                }
  454|  20.3k|                if ((function.classes & ClassLB) && arg == function.numArguments - 1)
  ------------------
  |  Branch (454:21): [True: 444, False: 19.9k]
  |  Branch (454:53): [True: 148, False: 296]
  ------------------
  455|    148|                    decl.append("vector");
  456|  20.2k|                else if (fixed && ((arg == function.numArguments - 1 && (function.classes & (ClassLS | ClassXLS |
  ------------------
  |  Branch (456:26): [True: 4.21k, False: 15.9k]
  |  Branch (456:37): [True: 1.73k, False: 2.48k]
  |  Branch (456:73): [True: 1.48k, False: 248]
  ------------------
  457|  1.73k|                                                                                                       ClassLS2))) ||
  458|  2.72k|                                   (arg == function.numArguments - 2 && (function.classes & ClassLS2))             ||
  ------------------
  |  Branch (458:37): [True: 1.73k, False: 992]
  |  Branch (458:73): [True: 372, False: 1.36k]
  ------------------
  459|  2.35k|                                   (arg == 0                         && (function.classes & (ClassFS | ClassFS2))) ||
  ------------------
  |  Branch (459:37): [True: 1.73k, False: 620]
  |  Branch (459:73): [True: 248, False: 1.48k]
  ------------------
  460|  2.10k|                                   (arg == 1                         && (function.classes & ClassFS2))))
  ------------------
  |  Branch (460:37): [True: 496, False: 1.61k]
  |  Branch (460:73): [True: 124, False: 372]
  ------------------
  461|  2.23k|                    decl.append(TypeString[type & TypeStringScalarMask]);
  462|  17.9k|                else
  463|  17.9k|                    decl.append("vector");
  464|  20.3k|                if (arg < function.numArguments - 1)
  ------------------
  |  Branch (464:21): [True: 8.50k, False: 11.8k]
  ------------------
  465|  8.50k|                    decl.append(",");
  466|  20.3k|            }
  467|  11.8k|            decl.append(");\n");
  468|       |
  469|  11.8k|            decls.append(decl);
  470|  11.8k|        }
  471|  10.3k|    }
  472|  9.11k|}
Initialize.cpp:_ZZN7glslang12_GLOBAL__N_120AddLongVectorBuiltinERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS0_15BuiltInFunctionEENK3$_0clEi:
  402|   165k|    const auto isScalarType = [](int type) { return (type & TypeStringColumnMask) == 0; };
_ZN7glslang13IncludeLegacyEi8EProfileRKNS_10SpvVersionE:
  537|    496|{
  538|    496|    return profile != EEsProfile && (version <= 130 || (spvVersion.spv == 0 && version == 140 && ARBCompatibility) ||
  ------------------
  |  Branch (538:12): [True: 496, False: 0]
  |  Branch (538:38): [True: 0, False: 496]
  |  Branch (538:57): [True: 0, False: 496]
  |  Branch (538:80): [True: 0, False: 0]
  |  Branch (538:98): [True: 0, Folded]
  ------------------
  539|    496|           profile == ECompatibilityProfile);
  ------------------
  |  Branch (539:12): [True: 0, False: 496]
  ------------------
  540|    496|}
Initialize.cpp:_ZN7glslangL15BuiltInVariableEPKcNS_16TBuiltInVariableERNS_12TSymbolTableE:
 9032|  15.8k|{
 9033|  15.8k|    TSymbol* symbol = symbolTable.find(name);
 9034|  15.8k|    if (symbol == nullptr)
  ------------------
  |  Branch (9034:9): [True: 6.93k, False: 8.90k]
  ------------------
 9035|  6.93k|        return;
 9036|       |
 9037|  8.90k|    TQualifier& symQualifier = symbol->getWritableType().getQualifier();
 9038|  8.90k|    symQualifier.builtIn = builtIn;
 9039|  8.90k|}
Initialize.cpp:_ZN7glslangL16SpecialQualifierEPKcNS_17TStorageQualifierENS_16TBuiltInVariableERNS_12TSymbolTableE:
 8994|  1.85k|{
 8995|  1.85k|    TSymbol* symbol = symbolTable.find(name);
 8996|  1.85k|    if (symbol == nullptr)
  ------------------
  |  Branch (8996:9): [True: 820, False: 1.03k]
  ------------------
 8997|    820|        return;
 8998|       |
 8999|  1.03k|    TQualifier& symQualifier = symbol->getWritableType().getQualifier();
 9000|  1.03k|    symQualifier.storage = qualifier;
 9001|  1.03k|    symQualifier.builtIn = builtIn;
 9002|  1.03k|}
Initialize.cpp:_ZN7glslangL16RetargetVariableEPKcS1_RNS_12TSymbolTableE:
 9042|     12|{
 9043|     12|    symbolTable.retargetSymbol(from, to);
 9044|     12|}
Initialize.cpp:_ZN7glslangL15BuiltInVariableEPKcS1_NS_16TBuiltInVariableERNS_12TSymbolTableE:
 9054|  5.73k|{
 9055|  5.73k|    TSymbol* symbol = symbolTable.find(blockName);
 9056|  5.73k|    if (symbol == nullptr)
  ------------------
  |  Branch (9056:9): [True: 5.11k, False: 616]
  ------------------
 9057|  5.11k|        return;
 9058|       |
 9059|    616|    TTypeList& structure = *symbol->getWritableType().getWritableStruct();
 9060|  3.13k|    for (int i = 0; i < (int)structure.size(); ++i) {
  ------------------
  |  Branch (9060:21): [True: 2.83k, False: 296]
  ------------------
 9061|  2.83k|        if (structure[i].type->getFieldName().compare(name) == 0) {
  ------------------
  |  Branch (9061:13): [True: 320, False: 2.51k]
  ------------------
 9062|    320|            structure[i].type->getQualifier().builtIn = builtIn;
 9063|    320|            return;
 9064|    320|        }
 9065|  2.83k|    }
 9066|    616|}
Initialize.cpp:_ZN7glslangL20ModifyFlatDecorationEPKcbRNS_12TSymbolTableE:
 9012|    124|{
 9013|    124|    TSymbol* symbol = symbolTable.find(name);
 9014|    124|    if (symbol == nullptr)
  ------------------
  |  Branch (9014:9): [True: 112, False: 12]
  ------------------
 9015|    112|        return;
 9016|       |
 9017|     12|    TQualifier& symQualifier = symbol->getWritableType().getQualifier();
 9018|     12|    symQualifier.flat = flat;
 9019|     12|}
Initialize.cpp:_ZN7glslang12_GLOBAL__N_120RelateTabledBuiltinsINSt3__15arrayINS0_15BuiltInFunctionELm79EEEEEvRKT_RNS_12TSymbolTableE:
  499|    401|{
  500|  31.6k|    for (const auto& fn : functions) {
  ------------------
  |  Branch (500:25): [True: 31.6k, False: 401]
  ------------------
  501|  31.6k|        symbolTable.relateToOperator(fn.name, fn.op);
  502|  31.6k|    }
  503|    401|}
Initialize.cpp:_ZN7glslang12_GLOBAL__N_120RelateTabledBuiltinsINSt3__15arrayINS0_15BuiltInFunctionELm3EEEEEvRKT_RNS_12TSymbolTableE:
  499|    401|{
  500|  1.20k|    for (const auto& fn : functions) {
  ------------------
  |  Branch (500:25): [True: 1.20k, False: 401]
  ------------------
  501|  1.20k|        symbolTable.relateToOperator(fn.name, fn.op);
  502|  1.20k|    }
  503|    401|}
Initialize.cpp:_ZN7glslang12_GLOBAL__N_120RelateTabledBuiltinsIA39_NS0_14CustomFunctionEEEvRKT_RNS_12TSymbolTableE:
  499|    401|{
  500|  15.6k|    for (const auto& fn : functions) {
  ------------------
  |  Branch (500:25): [True: 15.6k, False: 401]
  ------------------
  501|  15.6k|        symbolTable.relateToOperator(fn.name, fn.op);
  502|  15.6k|    }
  503|    401|}
Initialize.cpp:_ZZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableEENK3$_0clEPKc:
10274|    840|            auto coopMatKHRCallback = [](const char *name) -> std::vector<const char *> {
10275|    840|                std::vector<const char *> ret;
10276|    840|                if (strstr(name, "u64") != nullptr) {
  ------------------
  |  Branch (10276:21): [True: 450, False: 390]
  ------------------
10277|    450|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10278|    450|                } else {
10279|    390|                    ret.push_back(E_GL_KHR_cooperative_matrix);
10280|    390|                }
10281|    840|                return ret;
10282|    840|            };
Initialize.cpp:_ZZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableEENK3$_1clEPKc:
10283|     80|            auto coopMat2NVCallback = [](const char *name) -> std::vector<const char *> {
10284|     80|                std::vector<const char *> ret;
10285|     80|                if (strstr(name, "u64") != nullptr) {
  ------------------
  |  Branch (10285:21): [True: 40, False: 40]
  ------------------
10286|     40|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10287|     40|                } else {
10288|     40|                    ret.push_back(E_GL_NV_cooperative_matrix2);
10289|     40|                }
10290|     80|                return ret;
10291|     80|            };
Initialize.cpp:_ZZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableEENK3$_2clEPKc:
10323|  2.42k|            auto coopVecCallback = [](const char *name) -> std::vector<const char *> {
10324|  2.42k|                std::vector<const char *> ret;
10325|       |                // This looks for u64 as the last parameter (the offset)
10326|  2.42k|                if (strstr(name, "u641;") != nullptr) {
  ------------------
  |  Branch (10326:21): [True: 1.21k, False: 1.21k]
  ------------------
10327|  1.21k|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10328|  1.21k|                } else {
10329|  1.21k|                    ret.push_back(E_GL_NV_cooperative_vector);
10330|  1.21k|                }
10331|  2.42k|                return ret;
10332|  2.42k|            };

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

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

_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|    686|{
  261|    686|    TIntermUnary* node = new TIntermUnary(op);
  262|    686|    node->setLoc(loc.line != 0 ? loc : child->getLoc());
  ------------------
  |  Branch (262:18): [True: 686, False: 0]
  ------------------
  263|    686|    node->setOperand(child);
  264|       |
  265|    686|    return node;
  266|    686|}
_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.04k|{
  358|  1.04k|    if (child == nullptr)
  ------------------
  |  Branch (358:9): [True: 0, False: 1.04k]
  ------------------
  359|      0|        return nullptr;
  360|       |
  361|  1.04k|    if (child->getType().getBasicType() == EbtBlock)
  ------------------
  |  Branch (361:9): [True: 0, False: 1.04k]
  ------------------
  362|      0|        return nullptr;
  363|       |
  364|  1.04k|    switch (op) {
  365|      0|    case EOpLogicalNot:
  ------------------
  |  Branch (365:5): [True: 0, False: 1.04k]
  ------------------
  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.04k]
  ------------------
  376|      0|    case EOpPreIncrement:
  ------------------
  |  Branch (376:5): [True: 0, False: 1.04k]
  ------------------
  377|      0|    case EOpPostDecrement:
  ------------------
  |  Branch (377:5): [True: 0, False: 1.04k]
  ------------------
  378|      0|    case EOpPreDecrement:
  ------------------
  |  Branch (378:5): [True: 0, False: 1.04k]
  ------------------
  379|    125|    case EOpNegative:
  ------------------
  |  Branch (379:5): [True: 125, False: 921]
  ------------------
  380|    125|        if (child->getType().getBasicType() == EbtStruct || child->getType().isArray())
  ------------------
  |  Branch (380:13): [True: 0, False: 125]
  |  Branch (380:61): [True: 0, False: 125]
  ------------------
  381|      0|            return nullptr;
  382|    125|        break;
  383|    921|    default: break; // some compilers want this
  ------------------
  |  Branch (383:5): [True: 921, False: 125]
  ------------------
  384|  1.04k|    }
  385|       |
  386|       |    //
  387|       |    // Do we need to promote the operand?
  388|       |    //
  389|  1.04k|    TBasicType newType = EbtVoid;
  390|  1.04k|    switch (op) {
  391|      0|    case EOpConstructBool:   newType = EbtBool;   break;
  ------------------
  |  Branch (391:5): [True: 0, False: 1.04k]
  ------------------
  392|    225|    case EOpConstructFloat:  newType = EbtFloat;  break;
  ------------------
  |  Branch (392:5): [True: 225, False: 821]
  ------------------
  393|    606|    case EOpConstructInt:    newType = EbtInt;    break;
  ------------------
  |  Branch (393:5): [True: 606, False: 440]
  ------------------
  394|     90|    case EOpConstructUint:   newType = EbtUint;   break;
  ------------------
  |  Branch (394:5): [True: 90, False: 956]
  ------------------
  395|      0|    case EOpConstructInt8:   newType = EbtInt8;   break;
  ------------------
  |  Branch (395:5): [True: 0, False: 1.04k]
  ------------------
  396|      0|    case EOpConstructUint8:  newType = EbtUint8;  break;
  ------------------
  |  Branch (396:5): [True: 0, False: 1.04k]
  ------------------
  397|      0|    case EOpConstructInt16:  newType = EbtInt16;  break;
  ------------------
  |  Branch (397:5): [True: 0, False: 1.04k]
  ------------------
  398|      0|    case EOpConstructUint16: newType = EbtUint16; break;
  ------------------
  |  Branch (398:5): [True: 0, False: 1.04k]
  ------------------
  399|      0|    case EOpConstructInt64:  newType = EbtInt64;  break;
  ------------------
  |  Branch (399:5): [True: 0, False: 1.04k]
  ------------------
  400|      0|    case EOpConstructUint64: newType = EbtUint64; break;
  ------------------
  |  Branch (400:5): [True: 0, False: 1.04k]
  ------------------
  401|      0|    case EOpConstructDouble: newType = EbtDouble; break;
  ------------------
  |  Branch (401:5): [True: 0, False: 1.04k]
  ------------------
  402|      0|    case EOpConstructFloat16: newType = EbtFloat16; break;
  ------------------
  |  Branch (402:5): [True: 0, False: 1.04k]
  ------------------
  403|      0|    case EOpConstructBFloat16: newType = EbtBFloat16; break;
  ------------------
  |  Branch (403:5): [True: 0, False: 1.04k]
  ------------------
  404|      0|    case EOpConstructFloatE4M3: newType = EbtFloatE4M3; break;
  ------------------
  |  Branch (404:5): [True: 0, False: 1.04k]
  ------------------
  405|      0|    case EOpConstructFloatE5M2: newType = EbtFloatE5M2; break;
  ------------------
  |  Branch (405:5): [True: 0, False: 1.04k]
  ------------------
  406|      0|    case EOpConstructFloatE2M1: newType = EbtFloatE2M1; break;
  ------------------
  |  Branch (406:5): [True: 0, False: 1.04k]
  ------------------
  407|      0|    case EOpConstructFloatE3M2: newType = EbtFloatE3M2; break;
  ------------------
  |  Branch (407:5): [True: 0, False: 1.04k]
  ------------------
  408|      0|    case EOpConstructFloatE2M3: newType = EbtFloatE2M3; break;
  ------------------
  |  Branch (408:5): [True: 0, False: 1.04k]
  ------------------
  409|      0|    case EOpConstructFloatUE8M0: newType = EbtFloatUE8M0; break;
  ------------------
  |  Branch (409:5): [True: 0, False: 1.04k]
  ------------------
  410|      0|    case EOpConstructFloatMXINT8: newType = EbtFloatMXINT8; break;
  ------------------
  |  Branch (410:5): [True: 0, False: 1.04k]
  ------------------
  411|    125|    default: break; // some compilers want this
  ------------------
  |  Branch (411:5): [True: 125, False: 921]
  ------------------
  412|  1.04k|    }
  413|       |
  414|  1.04k|    if (newType != EbtVoid) {
  ------------------
  |  Branch (414:9): [True: 921, False: 125]
  ------------------
  415|    921|        TType newTType(newType, EvqTemporary, child->getVectorSize(), child->getMatrixCols(), child->getMatrixRows(), child->isVector());
  416|    921|        if (child->getType().isLongVector()) {
  ------------------
  |  Branch (416:13): [True: 0, False: 921]
  ------------------
  417|      0|            newTType.shallowCopy(child->getType());
  418|      0|            newTType.setBasicType(newType);
  419|      0|            newTType.makeTemporary();
  420|      0|            newTType.getQualifier().clear();
  421|      0|        }
  422|       |
  423|    921|        child = addConversion(op, newTType, child);
  424|    921|        if (child == nullptr)
  ------------------
  |  Branch (424:13): [True: 0, False: 921]
  ------------------
  425|      0|            return nullptr;
  426|    921|    }
  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.04k|    switch (op) {
  433|      0|        case EOpConstructInt8:
  ------------------
  |  Branch (433:9): [True: 0, False: 1.04k]
  ------------------
  434|      0|        case EOpConstructUint8:
  ------------------
  |  Branch (434:9): [True: 0, False: 1.04k]
  ------------------
  435|      0|        case EOpConstructInt16:
  ------------------
  |  Branch (435:9): [True: 0, False: 1.04k]
  ------------------
  436|      0|        case EOpConstructUint16:
  ------------------
  |  Branch (436:9): [True: 0, False: 1.04k]
  ------------------
  437|    606|        case EOpConstructInt:
  ------------------
  |  Branch (437:9): [True: 606, False: 440]
  ------------------
  438|    696|        case EOpConstructUint:
  ------------------
  |  Branch (438:9): [True: 90, False: 956]
  ------------------
  439|    696|        case EOpConstructInt64:
  ------------------
  |  Branch (439:9): [True: 0, False: 1.04k]
  ------------------
  440|    696|        case EOpConstructUint64:
  ------------------
  |  Branch (440:9): [True: 0, False: 1.04k]
  ------------------
  441|    696|        case EOpConstructBool:
  ------------------
  |  Branch (441:9): [True: 0, False: 1.04k]
  ------------------
  442|    921|        case EOpConstructFloat:
  ------------------
  |  Branch (442:9): [True: 225, False: 821]
  ------------------
  443|    921|        case EOpConstructDouble:
  ------------------
  |  Branch (443:9): [True: 0, False: 1.04k]
  ------------------
  444|    921|        case EOpConstructFloat16:
  ------------------
  |  Branch (444:9): [True: 0, False: 1.04k]
  ------------------
  445|    921|        case EOpConstructBFloat16:
  ------------------
  |  Branch (445:9): [True: 0, False: 1.04k]
  ------------------
  446|    921|        case EOpConstructFloatE5M2:
  ------------------
  |  Branch (446:9): [True: 0, False: 1.04k]
  ------------------
  447|    921|        case EOpConstructFloatE4M3:
  ------------------
  |  Branch (447:9): [True: 0, False: 1.04k]
  ------------------
  448|    921|        case EOpConstructFloatE2M1:
  ------------------
  |  Branch (448:9): [True: 0, False: 1.04k]
  ------------------
  449|    921|        case EOpConstructFloatE3M2:
  ------------------
  |  Branch (449:9): [True: 0, False: 1.04k]
  ------------------
  450|    921|        case EOpConstructFloatE2M3:
  ------------------
  |  Branch (450:9): [True: 0, False: 1.04k]
  ------------------
  451|    921|        case EOpConstructFloatUE8M0:
  ------------------
  |  Branch (451:9): [True: 0, False: 1.04k]
  ------------------
  452|    921|        case EOpConstructFloatMXINT8: {
  ------------------
  |  Branch (452:9): [True: 0, False: 1.04k]
  ------------------
  453|    921|            TIntermUnary* unary_node = child->getAsUnaryNode();
  454|    921|            if (unary_node != nullptr)
  ------------------
  |  Branch (454:17): [True: 435, False: 486]
  ------------------
  455|    435|                unary_node->updatePrecision();
  456|    921|            return child;
  457|    921|        }
  458|    125|        default: break; // some compilers want this
  ------------------
  |  Branch (458:9): [True: 125, False: 921]
  ------------------
  459|  1.04k|    }
  460|       |
  461|       |    //
  462|       |    // Make a new node for the operator.
  463|       |    //
  464|    125|    TIntermUnary* node = addUnaryNode(op, child, loc);
  465|       |
  466|    125|    if (! promote(node))
  ------------------
  |  Branch (466:9): [True: 0, False: 125]
  ------------------
  467|      0|        return nullptr;
  468|       |
  469|    125|    node->updatePrecision();
  470|       |
  471|       |    // If it's a (non-specialization) constant, it must be folded.
  472|    125|    if (node->getOperand()->getAsConstantUnion())
  ------------------
  |  Branch (472:9): [True: 125, False: 0]
  ------------------
  473|    125|        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|    125|}
_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.74k|{
  528|  2.74k|    TIntermAggregate* aggNode;
  529|       |
  530|       |    //
  531|       |    // Make sure we have an aggregate.  If not turn it into one.
  532|       |    //
  533|  2.74k|    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.74k|    aggNode->setOperator(op);
  549|  2.74k|    if (loc.line != 0 || node != nullptr)
  ------------------
  |  Branch (549:9): [True: 2.74k, False: 0]
  |  Branch (549:26): [True: 0, False: 0]
  ------------------
  550|  2.74k|        aggNode->setLoc(loc.line != 0 ? loc : node->getLoc());
  ------------------
  |  Branch (550:25): [True: 2.74k, False: 0]
  ------------------
  551|       |
  552|  2.74k|    aggNode->setType(type);
  553|       |
  554|  2.74k|    return fold(aggNode);
  555|  2.74k|}
_ZNK7glslang13TIntermediate19isConversionAllowedENS_9TOperatorEPNS_12TIntermTypedE:
  558|  7.68k|{
  559|       |    //
  560|       |    // Does the base type even allow the operation?
  561|       |    //
  562|  7.68k|    switch (node->getBasicType()) {
  563|      0|    case EbtVoid:
  ------------------
  |  Branch (563:5): [True: 0, False: 7.68k]
  ------------------
  564|      0|        return false;
  565|      0|    case EbtAtomicUint:
  ------------------
  |  Branch (565:5): [True: 0, False: 7.68k]
  ------------------
  566|      0|    case EbtSampler:
  ------------------
  |  Branch (566:5): [True: 0, False: 7.68k]
  ------------------
  567|      0|    case EbtAccStruct:
  ------------------
  |  Branch (567:5): [True: 0, False: 7.68k]
  ------------------
  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.68k|    default:
  ------------------
  |  Branch (584:5): [True: 7.68k, False: 0]
  ------------------
  585|  7.68k|        break;
  586|  7.68k|    }
  587|       |
  588|  7.68k|    return true;
  589|  7.68k|}
_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.68k|{
  851|  7.68k|    if (!isConversionAllowed(op, node))
  ------------------
  |  Branch (851:9): [True: 0, False: 7.68k]
  ------------------
  852|      0|        return nullptr;
  853|       |
  854|       |    // Otherwise, if types are identical, no problem
  855|  7.68k|    if (type == node->getType())
  ------------------
  |  Branch (855:9): [True: 7.03k, False: 648]
  ------------------
  856|  7.03k|        return node;
  857|       |
  858|       |    // If one's a structure, then no conversions.
  859|    648|    if (type.isStruct() || node->isStruct())
  ------------------
  |  Branch (859:9): [True: 0, False: 648]
  |  Branch (859:28): [True: 0, False: 648]
  ------------------
  860|      0|        return nullptr;
  861|       |
  862|       |    // If one's an array, then no conversions.
  863|    648|    if (type.isArray() || node->getType().isArray())
  ------------------
  |  Branch (863:9): [True: 0, False: 648]
  |  Branch (863:27): [True: 0, False: 648]
  ------------------
  864|      0|        return nullptr;
  865|       |
  866|       |    // Reject implicit conversions to cooperative matrix types
  867|    648|    if (node->getType().isCoopMat() &&
  ------------------
  |  Branch (867:9): [True: 0, False: 648]
  ------------------
  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|    648|    if (node->getType().isTensorLayoutNV() ||
  ------------------
  |  Branch (873:9): [True: 0, False: 648]
  ------------------
  874|    648|        node->getType().isTensorViewNV())
  ------------------
  |  Branch (874:9): [True: 0, False: 648]
  ------------------
  875|      0|        return nullptr;
  876|       |
  877|       |    // Reject implicit conversions to cooperative vector types
  878|    648|    if (node->getType().isCoopVecNV() &&
  ------------------
  |  Branch (878:9): [True: 0, False: 648]
  ------------------
  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|    648|    switch (op) {
  886|       |    //
  887|       |    // Explicit conversions (unary operations)
  888|       |    //
  889|      0|    case EOpConstructBool:
  ------------------
  |  Branch (889:5): [True: 0, False: 648]
  ------------------
  890|      3|    case EOpConstructFloat:
  ------------------
  |  Branch (890:5): [True: 3, False: 645]
  ------------------
  891|    435|    case EOpConstructInt:
  ------------------
  |  Branch (891:5): [True: 432, False: 216]
  ------------------
  892|    525|    case EOpConstructUint:
  ------------------
  |  Branch (892:5): [True: 90, False: 558]
  ------------------
  893|    525|    case EOpConstructDouble:
  ------------------
  |  Branch (893:5): [True: 0, False: 648]
  ------------------
  894|    525|    case EOpConstructFloat16:
  ------------------
  |  Branch (894:5): [True: 0, False: 648]
  ------------------
  895|    525|    case EOpConstructBFloat16:
  ------------------
  |  Branch (895:5): [True: 0, False: 648]
  ------------------
  896|    525|    case EOpConstructFloatE5M2:
  ------------------
  |  Branch (896:5): [True: 0, False: 648]
  ------------------
  897|    525|    case EOpConstructFloatE4M3:
  ------------------
  |  Branch (897:5): [True: 0, False: 648]
  ------------------
  898|    525|    case EOpConstructFloatE2M1:
  ------------------
  |  Branch (898:5): [True: 0, False: 648]
  ------------------
  899|    525|    case EOpConstructFloatE3M2:
  ------------------
  |  Branch (899:5): [True: 0, False: 648]
  ------------------
  900|    525|    case EOpConstructFloatE2M3:
  ------------------
  |  Branch (900:5): [True: 0, False: 648]
  ------------------
  901|    525|    case EOpConstructFloatUE8M0:
  ------------------
  |  Branch (901:5): [True: 0, False: 648]
  ------------------
  902|    525|    case EOpConstructFloatMXINT8:
  ------------------
  |  Branch (902:5): [True: 0, False: 648]
  ------------------
  903|    525|    case EOpConstructInt8:
  ------------------
  |  Branch (903:5): [True: 0, False: 648]
  ------------------
  904|    525|    case EOpConstructUint8:
  ------------------
  |  Branch (904:5): [True: 0, False: 648]
  ------------------
  905|    525|    case EOpConstructInt16:
  ------------------
  |  Branch (905:5): [True: 0, False: 648]
  ------------------
  906|    525|    case EOpConstructUint16:
  ------------------
  |  Branch (906:5): [True: 0, False: 648]
  ------------------
  907|    525|    case EOpConstructInt64:
  ------------------
  |  Branch (907:5): [True: 0, False: 648]
  ------------------
  908|    525|    case EOpConstructUint64:
  ------------------
  |  Branch (908:5): [True: 0, False: 648]
  ------------------
  909|    525|    case EOpConstructSaturated:
  ------------------
  |  Branch (909:5): [True: 0, False: 648]
  ------------------
  910|    525|        break;
  911|       |
  912|       |    //
  913|       |    // Implicit conversions
  914|       |    //
  915|      0|    case EOpLogicalNot:
  ------------------
  |  Branch (915:5): [True: 0, False: 648]
  ------------------
  916|       |
  917|      0|    case EOpFunctionCall:
  ------------------
  |  Branch (917:5): [True: 0, False: 648]
  ------------------
  918|       |
  919|      3|    case EOpReturn:
  ------------------
  |  Branch (919:5): [True: 3, False: 645]
  ------------------
  920|      3|    case EOpAssign:
  ------------------
  |  Branch (920:5): [True: 0, False: 648]
  ------------------
  921|    123|    case EOpAddAssign:
  ------------------
  |  Branch (921:5): [True: 120, False: 528]
  ------------------
  922|    123|    case EOpSubAssign:
  ------------------
  |  Branch (922:5): [True: 0, False: 648]
  ------------------
  923|    123|    case EOpMulAssign:
  ------------------
  |  Branch (923:5): [True: 0, False: 648]
  ------------------
  924|    123|    case EOpVectorTimesScalarAssign:
  ------------------
  |  Branch (924:5): [True: 0, False: 648]
  ------------------
  925|    123|    case EOpMatrixTimesScalarAssign:
  ------------------
  |  Branch (925:5): [True: 0, False: 648]
  ------------------
  926|    123|    case EOpDivAssign:
  ------------------
  |  Branch (926:5): [True: 0, False: 648]
  ------------------
  927|    123|    case EOpModAssign:
  ------------------
  |  Branch (927:5): [True: 0, False: 648]
  ------------------
  928|    123|    case EOpAndAssign:
  ------------------
  |  Branch (928:5): [True: 0, False: 648]
  ------------------
  929|    123|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (929:5): [True: 0, False: 648]
  ------------------
  930|    123|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (930:5): [True: 0, False: 648]
  ------------------
  931|       |
  932|    123|    case EOpAtan:
  ------------------
  |  Branch (932:5): [True: 0, False: 648]
  ------------------
  933|    123|    case EOpClamp:
  ------------------
  |  Branch (933:5): [True: 0, False: 648]
  ------------------
  934|    123|    case EOpCross:
  ------------------
  |  Branch (934:5): [True: 0, False: 648]
  ------------------
  935|    123|    case EOpDistance:
  ------------------
  |  Branch (935:5): [True: 0, False: 648]
  ------------------
  936|    123|    case EOpDot:
  ------------------
  |  Branch (936:5): [True: 0, False: 648]
  ------------------
  937|    123|    case EOpDst:
  ------------------
  |  Branch (937:5): [True: 0, False: 648]
  ------------------
  938|    123|    case EOpFaceForward:
  ------------------
  |  Branch (938:5): [True: 0, False: 648]
  ------------------
  939|    123|    case EOpFma:
  ------------------
  |  Branch (939:5): [True: 0, False: 648]
  ------------------
  940|    123|    case EOpFrexp:
  ------------------
  |  Branch (940:5): [True: 0, False: 648]
  ------------------
  941|    123|    case EOpLdexp:
  ------------------
  |  Branch (941:5): [True: 0, False: 648]
  ------------------
  942|    123|    case EOpMix:
  ------------------
  |  Branch (942:5): [True: 0, False: 648]
  ------------------
  943|    123|    case EOpLit:
  ------------------
  |  Branch (943:5): [True: 0, False: 648]
  ------------------
  944|    123|    case EOpMax:
  ------------------
  |  Branch (944:5): [True: 0, False: 648]
  ------------------
  945|    123|    case EOpMin:
  ------------------
  |  Branch (945:5): [True: 0, False: 648]
  ------------------
  946|    123|    case EOpMod:
  ------------------
  |  Branch (946:5): [True: 0, False: 648]
  ------------------
  947|    123|    case EOpModf:
  ------------------
  |  Branch (947:5): [True: 0, False: 648]
  ------------------
  948|    123|    case EOpPow:
  ------------------
  |  Branch (948:5): [True: 0, False: 648]
  ------------------
  949|    123|    case EOpReflect:
  ------------------
  |  Branch (949:5): [True: 0, False: 648]
  ------------------
  950|    123|    case EOpRefract:
  ------------------
  |  Branch (950:5): [True: 0, False: 648]
  ------------------
  951|    123|    case EOpSmoothStep:
  ------------------
  |  Branch (951:5): [True: 0, False: 648]
  ------------------
  952|    123|    case EOpStep:
  ------------------
  |  Branch (952:5): [True: 0, False: 648]
  ------------------
  953|       |
  954|    123|    case EOpSequence:
  ------------------
  |  Branch (954:5): [True: 0, False: 648]
  ------------------
  955|    123|    case EOpConstructStruct:
  ------------------
  |  Branch (955:5): [True: 0, False: 648]
  ------------------
  956|    123|    case EOpConstructCooperativeMatrixNV:
  ------------------
  |  Branch (956:5): [True: 0, False: 648]
  ------------------
  957|    123|    case EOpConstructCooperativeMatrixKHR:
  ------------------
  |  Branch (957:5): [True: 0, False: 648]
  ------------------
  958|    123|    case EOpConstructCooperativeVectorNV:
  ------------------
  |  Branch (958:5): [True: 0, False: 648]
  ------------------
  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: 648]
  ------------------
  979|      0|    case EOpRightShiftAssign:
  ------------------
  |  Branch (979:5): [True: 0, False: 648]
  ------------------
  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: 648]
  ------------------
  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|    648|    }
  998|       |
  999|    531|    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|    531|    switch (op) {
 1010|      0|    case EOpConstructBFloat16:
  ------------------
  |  Branch (1010:5): [True: 0, False: 531]
  ------------------
 1011|      0|    case EOpConstructFloatE5M2:
  ------------------
  |  Branch (1011:5): [True: 0, False: 531]
  ------------------
 1012|      0|    case EOpConstructFloatE4M3:
  ------------------
  |  Branch (1012:5): [True: 0, False: 531]
  ------------------
 1013|      0|    case EOpConstructFloatE2M1:
  ------------------
  |  Branch (1013:5): [True: 0, False: 531]
  ------------------
 1014|      0|    case EOpConstructFloatE3M2:
  ------------------
  |  Branch (1014:5): [True: 0, False: 531]
  ------------------
 1015|      0|    case EOpConstructFloatE2M3:
  ------------------
  |  Branch (1015:5): [True: 0, False: 531]
  ------------------
 1016|      0|    case EOpConstructFloatUE8M0:
  ------------------
  |  Branch (1016:5): [True: 0, False: 531]
  ------------------
 1017|      0|    case EOpConstructFloatMXINT8:
  ------------------
  |  Branch (1017:5): [True: 0, False: 531]
  ------------------
 1018|      0|        canPromoteConstant = true;
 1019|      0|        break;
 1020|      0|    case EOpConstructFloat16:
  ------------------
  |  Branch (1020:5): [True: 0, False: 531]
  ------------------
 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: 531]
  ------------------
 1025|      0|    case EOpConstructUint8:
  ------------------
  |  Branch (1025:5): [True: 0, False: 531]
  ------------------
 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: 531]
  ------------------
 1030|      0|    case EOpConstructUint16:
  ------------------
  |  Branch (1030:5): [True: 0, False: 531]
  ------------------
 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|    531|    default:
  ------------------
  |  Branch (1034:5): [True: 531, False: 0]
  ------------------
 1035|    531|        break;
 1036|    531|    }
 1037|       |
 1038|    531|    if (canPromoteConstant && node->getAsConstantUnion())
  ------------------
  |  Branch (1038:9): [True: 531, False: 0]
  |  Branch (1038:31): [True: 90, False: 441]
  ------------------
 1039|     90|        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|    531|}
_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: 600]
  ------------------
 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: 60, False: 1.56k]
  ------------------
 2017|     60|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (2017:13): [True: 0, False: 60]
  ------------------
 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|     60|        } else {
 2045|     60|            switch(type.getVectorSize()) {
 2046|      0|            case 1: op = EOpConstructUint;  break;
  ------------------
  |  Branch (2046:13): [True: 0, False: 60]
  ------------------
 2047|      0|            case 2: op = EOpConstructUVec2; break;
  ------------------
  |  Branch (2047:13): [True: 0, False: 60]
  ------------------
 2048|     60|            case 3: op = EOpConstructUVec3; break;
  ------------------
  |  Branch (2048:13): [True: 60, False: 0]
  ------------------
 2049|      0|            case 4: op = EOpConstructUVec4; break;
  ------------------
  |  Branch (2049:13): [True: 0, False: 60]
  ------------------
 2050|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (2050:13): [True: 0, False: 60]
  ------------------
 2051|     60|            }
 2052|     60|        }
 2053|     60|        break;
 2054|     60|    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|  25.2k|{
 2318|  25.2k|    if (left == nullptr && right == nullptr)
  ------------------
  |  Branch (2318:9): [True: 16.7k, False: 8.51k]
  |  Branch (2318:28): [True: 16.5k, False: 268]
  ------------------
 2319|  16.5k|        return nullptr;
 2320|       |
 2321|  8.78k|    TIntermAggregate* aggNode = nullptr;
 2322|  8.78k|    if (left != nullptr)
  ------------------
  |  Branch (2322:9): [True: 8.51k, False: 268]
  ------------------
 2323|  8.51k|        aggNode = left->getAsAggregate();
 2324|  8.78k|    if (aggNode == nullptr || aggNode->getOp() != EOpNull) {
  ------------------
  |  Branch (2324:9): [True: 2.27k, False: 6.50k]
  |  Branch (2324:31): [True: 285, False: 6.22k]
  ------------------
 2325|  2.55k|        aggNode = new TIntermAggregate;
 2326|  2.55k|        if (left != nullptr)
  ------------------
  |  Branch (2326:13): [True: 2.29k, False: 268]
  ------------------
 2327|  2.29k|            aggNode->getSequence().push_back(left);
 2328|  2.55k|    }
 2329|       |
 2330|  8.78k|    if (right != nullptr)
  ------------------
  |  Branch (2330:9): [True: 8.77k, False: 3]
  ------------------
 2331|  8.77k|        aggNode->getSequence().push_back(right);
 2332|       |
 2333|  8.78k|    return aggNode;
 2334|  25.2k|}
_ZN7glslang13TIntermediate13growAggregateEP11TIntermNodeS2_RKNS_10TSourceLocE:
 2337|  21.9k|{
 2338|  21.9k|    TIntermAggregate* aggNode = growAggregate(left, right);
 2339|  21.9k|    if (aggNode)
  ------------------
  |  Branch (2339:9): [True: 5.48k, False: 16.5k]
  ------------------
 2340|  5.48k|        aggNode->setLoc(loc);
 2341|       |
 2342|  21.9k|    return aggNode;
 2343|  21.9k|}
_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|  12.3k|{
 2569|  12.3k|    TIntermConstantUnion* node = new TIntermConstantUnion(unionArray, t);
 2570|  12.3k|    node->getQualifier().storage = EvqConst;
 2571|  12.3k|    node->setLoc(loc);
 2572|  12.3k|    if (literal)
  ------------------
  |  Branch (2572:9): [True: 10.3k, False: 2.07k]
  ------------------
 2573|  10.3k|        node->setLiteral();
 2574|       |
 2575|  12.3k|    return node;
 2576|  12.3k|}
_ZNK7glslang13TIntermediate16addConstantUnionEiRKNS_10TSourceLocEb:
 2610|  10.4k|{
 2611|  10.4k|    TConstUnionArray unionArray(1);
 2612|  10.4k|    unionArray[0].setIConst(i);
 2613|       |
 2614|  10.4k|    return addConstantUnion(unionArray, TType(EbtInt, EvqConst), loc, literal);
 2615|  10.4k|}
_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|     25|{
 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|     25|    if (language == EShLangVertex) {
  ------------------
  |  Branch (2971:9): [True: 11, False: 14]
  ------------------
 2972|     11|        addSymbolLinkageNode(linkage, symbolTable, "gl_VertexID");
 2973|     11|        if ((version < 140 && requestedExtensions.find(E_GL_EXT_draw_instanced) != requestedExtensions.end()) || version >= 140)
  ------------------
  |  Branch (2973:13): [True: 11, False: 0]
  |  Branch (2973:14): [True: 0, False: 11]
  |  Branch (2973:31): [True: 0, False: 0]
  |  Branch (2973:114): [True: 11, False: 0]
  ------------------
 2974|     11|            addSymbolLinkageNode(linkage, symbolTable, "gl_InstanceID");
 2975|     11|    }
 2976|       |
 2977|       |    // Add a child to the root node for the linker objects
 2978|     25|    linkage->setOperator(EOpLinkerObjects);
 2979|     25|    treeRoot = growAggregate(treeRoot, linkage);
 2980|     25|}
_ZN7glslang13TIntermediate20addSymbolLinkageNodeERPNS_16TIntermAggregateERNS_12TSymbolTableERKNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 2988|     22|{
 2989|     22|    TSymbol* symbol = symbolTable.find(name);
 2990|     22|    if (symbol)
  ------------------
  |  Branch (2990:9): [True: 0, False: 22]
  ------------------
 2991|      0|        addSymbolLinkageNode(linkage, *symbol->getAsVariable());
 2992|     22|}
_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: 664, False: 384]
  |  Branch (3253:43): [True: 664, False: 0]
  ------------------
 3254|  1.04k|}
_ZN7glslang13TIntermediate7promoteEPNS_15TIntermOperatorE:
 3264|  1.99k|{
 3265|  1.99k|    if (node == nullptr)
  ------------------
  |  Branch (3265:9): [True: 0, False: 1.99k]
  ------------------
 3266|      0|        return false;
 3267|       |
 3268|  1.99k|    if (node->getAsUnaryNode())
  ------------------
  |  Branch (3268:9): [True: 125, False: 1.86k]
  ------------------
 3269|    125|        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|    125|{
 3285|    125|    const TOperator op    = node.getOp();
 3286|    125|    TIntermTyped* operand = node.getOperand();
 3287|       |
 3288|    125|    switch (op) {
 3289|      0|    case EOpLogicalNot:
  ------------------
  |  Branch (3289:5): [True: 0, False: 125]
  ------------------
 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: 125]
  ------------------
 3302|      0|        if (!isTypeInt(operand->getBasicType()))
  ------------------
  |  Branch (3302:13): [True: 0, False: 0]
  ------------------
 3303|      0|            return false;
 3304|      0|        break;
 3305|    125|    case EOpNegative:
  ------------------
  |  Branch (3305:5): [True: 125, False: 0]
  ------------------
 3306|    125|    case EOpPostIncrement:
  ------------------
  |  Branch (3306:5): [True: 0, False: 125]
  ------------------
 3307|    125|    case EOpPostDecrement:
  ------------------
  |  Branch (3307:5): [True: 0, False: 125]
  ------------------
 3308|    125|    case EOpPreIncrement:
  ------------------
  |  Branch (3308:5): [True: 0, False: 125]
  ------------------
 3309|    125|    case EOpPreDecrement:
  ------------------
  |  Branch (3309:5): [True: 0, False: 125]
  ------------------
 3310|    125|        if (!isTypeInt(operand->getBasicType()) &&
  ------------------
  |  Branch (3310:13): [True: 0, False: 125]
  ------------------
 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|    125|        break;
 3317|    125|    default:
  ------------------
  |  Branch (3317:5): [True: 0, False: 125]
  ------------------
 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|    125|    }
 3330|       |
 3331|    125|    node.setType(operand->getType());
 3332|    125|    node.getWritableType().getQualifier().makeTemporary();
 3333|       |
 3334|    125|    return true;
 3335|    125|}
_ZN7glslang12TIntermUnary15updatePrecisionEv:
 3339|    560|{
 3340|    560|    if (getBasicType() == EbtInt || getBasicType() == EbtUint ||
  ------------------
  |  Branch (3340:9): [True: 557, False: 3]
  |  Branch (3340:37): [True: 0, False: 3]
  ------------------
 3341|    560|        getBasicType() == EbtFloat) {
  ------------------
  |  Branch (3341:9): [True: 3, False: 0]
  ------------------
 3342|    560|        if (operand->getQualifier().precision > getQualifier().precision)
  ------------------
  |  Branch (3342:13): [True: 435, False: 125]
  ------------------
 3343|    435|            getQualifier().precision = operand->getQualifier().precision;
 3344|    560|    }
 3345|    560|}
_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|     90|{
 3998|     90|    const TConstUnionArray& rightUnionArray = node->getConstArray();
 3999|     90|    int size = node->getType().computeNumComponents();
 4000|       |
 4001|     90|    TConstUnionArray leftUnionArray(size);
 4002|       |
 4003|    180|    for (int i=0; i < size; i++) {
  ------------------
  |  Branch (4003:19): [True: 90, False: 90]
  ------------------
 4004|       |
 4005|     90|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
 4006|     90|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
 4007|       |
 4008|     90|#define TO_ALL(Get)   \
 4009|     90|        switch (promoteTo) { \
 4010|     90|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
 4011|     90|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
 4012|     90|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
 4013|     90|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
 4014|     90|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
 4015|     90|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
 4016|     90|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
 4017|     90|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
 4018|     90|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
 4019|     90|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
 4020|     90|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
 4021|     90|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
 4022|     90|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
 4023|     90|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
 4024|     90|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
 4025|     90|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
 4026|     90|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
 4027|     90|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
 4028|     90|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
 4029|     90|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
 4030|     90|        default: return node; \
 4031|     90|        }
 4032|       |
 4033|     90|        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: 90]
  ------------------
 4035|     90|        case EbtInt: TO_ALL(getIConst); break;
  ------------------
  |  | 4009|     90|        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: 90]
  |  |  ------------------
  |  | 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: 90]
  |  |  ------------------
  |  | 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: 90]
  |  |  ------------------
  |  | 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: 90]
  |  |  ------------------
  |  | 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: 90]
  |  |  ------------------
  |  | 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: 90]
  |  |  ------------------
  |  | 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: 90]
  |  |  ------------------
  |  | 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: 90]
  |  |  ------------------
  |  | 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: 90]
  |  |  ------------------
  |  | 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: 90]
  |  |  ------------------
  |  | 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: 90]
  |  |  ------------------
  |  | 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: 90]
  |  |  ------------------
  |  | 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: 90]
  |  |  ------------------
  |  | 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: 90]
  |  |  ------------------
  |  | 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: 90]
  |  |  ------------------
  |  | 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: 90]
  |  |  ------------------
  |  | 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: 90]
  |  |  ------------------
  |  | 4027|     90|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|     90|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 90, 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: 90]
  |  |  ------------------
  |  | 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: 90]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 90]
  |  |  ------------------
  |  | 4031|     90|        }
  ------------------
  |  Branch (4035:9): [True: 90, 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: 90]
  ------------------
 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: 90]
  ------------------
 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: 90]
  ------------------
 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: 90]
  ------------------
 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: 90]
  ------------------
 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: 90]
  ------------------
 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: 90]
  ------------------
 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: 90]
  ------------------
 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: 90]
  ------------------
 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: 90]
  ------------------
 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: 90]
  ------------------
 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: 90]
  ------------------
 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: 90]
  ------------------
 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: 90]
  ------------------
 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: 90]
  ------------------
 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: 90]
  ------------------
 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: 90]
  ------------------
 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: 90]
  ------------------
 4054|      0|        default: return node;
  ------------------
  |  Branch (4054:9): [True: 0, False: 90]
  ------------------
 4055|     90|        }
 4056|     90|    }
 4057|       |
 4058|     90|    const TType& t = node->getType();
 4059|       |
 4060|     90|    return addConstantUnion(leftUnionArray, TType(promoteTo, t.getQualifier().storage, t.getVectorSize(), t.getMatrixCols(), t.getMatrixRows()),
 4061|     90|                            node->getLoc());
 4062|     90|}
_ZN7glslang16TIntermAggregate14setPragmaTableERKNS_12TPragmaTableE:
 4065|    240|{
 4066|       |    assert(pragmaTable == nullptr);
 4067|    240|    pragmaTable = new TPragmaTable;
 4068|    240|    *pragmaTable = pTable;
 4069|    240|}
_ZN7glslang13TIntermediate15getResourceNameENS_13TResourceTypeE:
 4133|    498|{
 4134|    498|    switch (res) {
 4135|     83|    case EResSampler:         return "shift-sampler-binding";
  ------------------
  |  Branch (4135:5): [True: 83, False: 415]
  ------------------
 4136|     83|    case EResTexture:         return "shift-texture-binding";
  ------------------
  |  Branch (4136:5): [True: 83, False: 415]
  ------------------
 4137|     83|    case EResImage:           return "shift-image-binding";
  ------------------
  |  Branch (4137:5): [True: 83, False: 415]
  ------------------
 4138|     83|    case EResUbo:             return "shift-ubo-binding";
  ------------------
  |  Branch (4138:5): [True: 83, False: 415]
  ------------------
 4139|     83|    case EResSsbo:            return "shift-ssbo-binding";
  ------------------
  |  Branch (4139:5): [True: 83, False: 415]
  ------------------
 4140|     83|    case EResUav:             return "shift-uav-binding";
  ------------------
  |  Branch (4140:5): [True: 83, False: 415]
  ------------------
 4141|      0|    case EResCombinedSampler: return "shift-combined-sampler-binding";
  ------------------
  |  Branch (4141:5): [True: 0, False: 498]
  ------------------
 4142|      0|    case EResAs:              return "shift-as-binding";
  ------------------
  |  Branch (4142:5): [True: 0, False: 498]
  ------------------
 4143|      0|    case EResTensor:          return nullptr;
  ------------------
  |  Branch (4143:5): [True: 0, False: 498]
  ------------------
 4144|      0|    default:
  ------------------
  |  Branch (4144:5): [True: 0, False: 498]
  ------------------
 4145|       |        assert(0); // internal error: should only be called with valid resource types.
 4146|      0|        return nullptr;
 4147|    498|    }
 4148|    498|}
_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.52M|{
   56|  2.52M|    const int maxSize = MaxTokenLength + 200;
   57|  2.52M|    char szExtraInfo[maxSize];
   58|       |
   59|  2.52M|    safe_vsprintf(szExtraInfo, maxSize, szExtraInfoFormat, args);
   60|       |
   61|  2.52M|    infoSink.info.prefix(prefix);
   62|  2.52M|    infoSink.info.location(loc, messages & EShMsgAbsolutePath, messages & EShMsgDisplayErrorColumn);
   63|  2.52M|    infoSink.info << "'" << szToken <<  "' : " << szReason << " " << szExtraInfo << "\n";
   64|       |
   65|  2.52M|    if (prefix == EPrefixError) {
  ------------------
  |  Branch (65:9): [True: 2.52M, False: 0]
  ------------------
   66|  2.52M|        ++numErrors;
   67|  2.52M|    }
   68|  2.52M|}
_ZN7glslang17TParseContextBase5errorERKNS_10TSourceLocEPKcS5_S5_z:
   72|  2.39M|{
   73|  2.39M|    if (messages & EShMsgOnlyPreprocessor)
  ------------------
  |  Branch (73:9): [True: 39.9k, False: 2.35M]
  ------------------
   74|  39.9k|        return;
   75|       |    // If enhanced msg readability, only print one error
   76|  2.35M|    if (messages & EShMsgEnhanced && numErrors > 0)
  ------------------
  |  Branch (76:9): [True: 0, False: 2.35M]
  |  Branch (76:38): [True: 0, False: 0]
  ------------------
   77|      0|        return;
   78|  2.35M|    va_list args;
   79|  2.35M|    va_start(args, szExtraInfoFormat);
   80|  2.35M|    outputMessage(loc, szReason, szToken, szExtraInfoFormat, EPrefixError, args);
   81|  2.35M|    va_end(args);
   82|       |
   83|  2.35M|    if ((messages & EShMsgCascadingErrors) == 0)
  ------------------
  |  Branch (83:9): [True: 37, False: 2.35M]
  ------------------
   84|     37|        currentScanner->setEndOfInput();
   85|  2.35M|}
_ZN7glslang17TParseContextBase7ppErrorERKNS_10TSourceLocEPKcS5_S5_z:
  100|   168k|{
  101|   168k|    va_list args;
  102|   168k|    va_start(args, szExtraInfoFormat);
  103|   168k|    outputMessage(loc, szReason, szToken, szExtraInfoFormat, EPrefixError, args);
  104|   168k|    va_end(args);
  105|       |
  106|   168k|    if ((messages & EShMsgCascadingErrors) == 0)
  ------------------
  |  Branch (106:9): [True: 0, False: 168k]
  ------------------
  107|      0|        currentScanner->setEndOfInput();
  108|   168k|}
_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.66k|{
  233|  7.66k|    if (! node)
  ------------------
  |  Branch (233:9): [True: 0, False: 7.66k]
  ------------------
  234|      0|        return;
  235|       |
  236|  7.66k|    TIntermBinary* binaryNode = node->getAsBinaryNode();
  237|  7.66k|    const TIntermSymbol* symNode = node->getAsSymbolNode();
  238|       |
  239|  7.66k|    if (node->getQualifier().isWriteOnly()) {
  ------------------
  |  Branch (239:9): [True: 0, False: 7.66k]
  ------------------
  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.66k|    } else {
  255|  7.66k|        if (binaryNode) {
  ------------------
  |  Branch (255:13): [True: 0, False: 7.66k]
  ------------------
  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.66k|    }
  269|  7.66k|}
_ZN7glslang17TParseContextBase12trackLinkageERNS_7TSymbolE:
  278|  16.5k|{
  279|  16.5k|    if (!parsingBuiltins)
  ------------------
  |  Branch (279:9): [True: 360, False: 16.2k]
  ------------------
  280|    360|        linkageSymbols.push_back(&symbol);
  281|  16.5k|}
_ZN7glslang17TParseContextBase14selectFunctionENS_7TVectorIPKNS_9TFunctionEEERS3_NSt3__18functionIFbRKNS_5TTypeESB_NS_9TOperatorEiEEENS8_IFbSB_SB_SB_EEERb:
  386|    192|{
  387|       |//
  388|       |// Operation
  389|       |//
  390|       |// 1. Prune the input list of candidates down to a list of viable candidates,
  391|       |// where each viable candidate has
  392|       |//
  393|       |//  * at least as many parameters as there are calling arguments, with any
  394|       |//    remaining parameters being optional or having default values
  395|       |//  * each parameter is true under convertible(A, B), where A is the calling
  396|       |//    type for in and B is the formal type, and in addition, for out B is the
  397|       |//    calling type and A is the formal type
  398|       |//
  399|       |// 2. If there are no viable candidates, return with no match.
  400|       |//
  401|       |// 3. If there is only one viable candidate, it is the best match.
  402|       |//
  403|       |// 4. If there are multiple viable candidates, select the first viable candidate
  404|       |// as the incumbent. Compare the incumbent to the next viable candidate, and if
  405|       |// that candidate is better (bullets below), make it the incumbent. Repeat, with
  406|       |// a linear walk through the viable candidate list. The final incumbent will be
  407|       |// returned as the best match. A viable candidate is better than the incumbent if
  408|       |//
  409|       |//  * it has a function argument with a better(...) conversion than the incumbent,
  410|       |//    for all directions needed by in and out
  411|       |//  * the incumbent has no argument with a better(...) conversion then the
  412|       |//    candidate, for either in or out (as needed)
  413|       |//
  414|       |// 5. Check for ambiguity by comparing the best match against all other viable
  415|       |// candidates. If any other viable candidate has a function argument with a
  416|       |// better(...) conversion than the best candidate (for either in or out
  417|       |// directions), return that there was a tie for best.
  418|       |//
  419|       |
  420|    192|    tie = false;
  421|       |
  422|       |    // 1. prune to viable...
  423|    192|    TVector<const TFunction*> viableCandidates;
  424|    192|    for (auto it = candidateList.begin(); it != candidateList.end(); ++it) {
  ------------------
  |  Branch (424:43): [True: 0, False: 192]
  ------------------
  425|      0|        const TFunction& candidate = *(*it);
  426|       |
  427|       |        // to even be a potential match, number of arguments must be >= the number of
  428|       |        // fixed (non-default) parameters, and <= the total (including parameter with defaults).
  429|      0|        if (call.getParamCount() < candidate.getFixedParamCount() ||
  ------------------
  |  Branch (429:13): [True: 0, False: 0]
  ------------------
  430|      0|            (call.getParamCount() > candidate.getParamCount() && !candidate.isVariadic()))
  ------------------
  |  Branch (430:14): [True: 0, False: 0]
  |  Branch (430:66): [True: 0, False: 0]
  ------------------
  431|      0|            continue;
  432|       |
  433|       |        // see if arguments are convertible
  434|      0|        bool viable = true;
  435|       |
  436|       |        // The call can have fewer parameters than the candidate, if some have defaults.
  437|      0|        const int paramCount = std::min(call.getParamCount(), candidate.getParamCount());
  438|      0|        for (int param = 0; param < paramCount; ++param) {
  ------------------
  |  Branch (438:29): [True: 0, False: 0]
  ------------------
  439|      0|            if (candidate[param].type->getQualifier().isParamInput()) {
  ------------------
  |  Branch (439:17): [True: 0, False: 0]
  ------------------
  440|      0|                if (! convertible(*call[param].type, *candidate[param].type, candidate.getBuiltInOp(), param)) {
  ------------------
  |  Branch (440:21): [True: 0, False: 0]
  ------------------
  441|      0|                    viable = false;
  442|      0|                    break;
  443|      0|                }
  444|      0|            }
  445|      0|            if (candidate[param].type->getQualifier().isParamOutput()) {
  ------------------
  |  Branch (445:17): [True: 0, False: 0]
  ------------------
  446|      0|                if (! convertible(*candidate[param].type, *call[param].type, candidate.getBuiltInOp(), param)) {
  ------------------
  |  Branch (446:21): [True: 0, False: 0]
  ------------------
  447|      0|                    viable = false;
  448|      0|                    break;
  449|      0|                }
  450|      0|            }
  451|      0|        }
  452|       |
  453|      0|        if (viable)
  ------------------
  |  Branch (453:13): [True: 0, False: 0]
  ------------------
  454|      0|            viableCandidates.push_back(&candidate);
  455|      0|    }
  456|       |
  457|       |    // 2. none viable...
  458|    192|    if (viableCandidates.size() == 0)
  ------------------
  |  Branch (458:9): [True: 192, False: 0]
  ------------------
  459|    192|        return nullptr;
  460|       |
  461|       |    // 3. only one viable...
  462|      0|    if (viableCandidates.size() == 1)
  ------------------
  |  Branch (462:9): [True: 0, False: 0]
  ------------------
  463|      0|        return viableCandidates.front();
  464|       |
  465|       |    // 4. find best...
  466|      0|    const auto betterParam = [&call, &better](const TFunction& can1, const TFunction& can2) -> bool {
  467|       |        // is call -> can2 better than call -> can1 for any parameter
  468|      0|        bool hasBetterParam = false;
  469|      0|        const int paramCount = std::min({call.getParamCount(), can1.getParamCount(), can2.getParamCount()});
  470|      0|        for (int param = 0; param < paramCount; ++param) {
  471|      0|            if (better(*call[param].type, *can1[param].type, *can2[param].type)) {
  472|      0|                hasBetterParam = true;
  473|      0|                break;
  474|      0|            }
  475|      0|        }
  476|      0|        return hasBetterParam;
  477|      0|    };
  478|       |
  479|      0|    const auto equivalentParams = [&call, &better](const TFunction& can1, const TFunction& can2) -> bool {
  480|       |        // is call -> can2 equivalent to call -> can1 for all the call parameters?
  481|      0|        const int paramCount = std::min({call.getParamCount(), can1.getParamCount(), can2.getParamCount()});
  482|      0|        for (int param = 0; param < paramCount; ++param) {
  483|      0|            if (better(*call[param].type, *can1[param].type, *can2[param].type) ||
  484|      0|                better(*call[param].type, *can2[param].type, *can1[param].type))
  485|      0|                return false;
  486|      0|        }
  487|      0|        return true;
  488|      0|    };
  489|       |
  490|      0|    const auto enabled = [this](const TFunction& candidate) -> bool {
  491|      0|        bool enabled = candidate.getNumExtensions() == 0;
  492|      0|        for (int i = 0; i < candidate.getNumExtensions(); ++i) {
  493|      0|            TExtensionBehavior behavior = getExtensionBehavior(candidate.getExtensions()[i]);
  494|      0|            if (behavior == EBhEnable || behavior == EBhRequire)
  495|      0|                enabled = true;
  496|      0|        }
  497|      0|        return enabled;
  498|      0|    };
  499|       |
  500|      0|    const TFunction* incumbent = viableCandidates.front();
  501|      0|    for (auto it = viableCandidates.begin() + 1; it != viableCandidates.end(); ++it) {
  ------------------
  |  Branch (501:50): [True: 0, False: 0]
  ------------------
  502|      0|        const TFunction& candidate = *(*it);
  503|      0|        if (betterParam(*incumbent, candidate) && ! betterParam(candidate, *incumbent))
  ------------------
  |  Branch (503:13): [True: 0, False: 0]
  |  Branch (503:51): [True: 0, False: 0]
  ------------------
  504|      0|            incumbent = &candidate;
  505|      0|    }
  506|       |
  507|       |    // 5. ambiguity...
  508|      0|    for (auto it = viableCandidates.begin(); it != viableCandidates.end(); ++it) {
  ------------------
  |  Branch (508:46): [True: 0, False: 0]
  ------------------
  509|      0|        if (incumbent == *it)
  ------------------
  |  Branch (509:13): [True: 0, False: 0]
  ------------------
  510|      0|            continue;
  511|      0|        const TFunction& candidate = *(*it);
  512|       |
  513|       |        // In the case of default parameters, it may have an identical initial set, which is
  514|       |        // also ambiguous
  515|      0|        if ((betterParam(*incumbent, candidate) || equivalentParams(*incumbent, candidate)) && enabled(candidate))
  ------------------
  |  Branch (515:14): [True: 0, False: 0]
  |  Branch (515:52): [True: 0, False: 0]
  |  Branch (515:96): [True: 0, False: 0]
  ------------------
  516|      0|            tie = true;
  517|      0|    }
  518|       |
  519|      0|    return incumbent;
  520|      0|}
_ZN7glslang17TParseContextBase20parseSwizzleSelectorERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEEiRNS_17TSwizzleSelectorsIiEE:
  530|    582|{
  531|       |    // Too long?
  532|    582|    if (compString.size() > MaxSwizzleSelectors)
  ------------------
  |  Branch (532:9): [True: 0, False: 582]
  ------------------
  533|      0|        error(loc, "vector swizzle too long", compString.c_str(), "");
  534|       |
  535|       |    // Use this to test that all swizzle characters are from the same swizzle-namespace-set
  536|    582|    enum {
  537|    582|        exyzw,
  538|    582|        ergba,
  539|    582|        estpq,
  540|    582|        ebadswizzle,
  541|    582|    } fieldSet[MaxSwizzleSelectors];
  542|       |
  543|       |    // Decode the swizzle string.
  544|    582|    int size = std::min(MaxSwizzleSelectors, (int)compString.size());
  545|  1.29k|    for (int i = 0; i < size; ++i) {
  ------------------
  |  Branch (545:21): [True: 711, False: 582]
  ------------------
  546|    711|        switch (compString[i])  {
  547|    582|        case 'x':
  ------------------
  |  Branch (547:9): [True: 582, False: 129]
  ------------------
  548|    582|            selector.push_back(0);
  549|    582|            fieldSet[i] = exyzw;
  550|    582|            break;
  551|      0|        case 'r':
  ------------------
  |  Branch (551:9): [True: 0, False: 711]
  ------------------
  552|      0|            selector.push_back(0);
  553|      0|            fieldSet[i] = ergba;
  554|      0|            break;
  555|      0|        case 's':
  ------------------
  |  Branch (555:9): [True: 0, False: 711]
  ------------------
  556|      0|            selector.push_back(0);
  557|      0|            fieldSet[i] = estpq;
  558|      0|            break;
  559|       |
  560|     93|        case 'y':
  ------------------
  |  Branch (560:9): [True: 93, False: 618]
  ------------------
  561|     93|            selector.push_back(1);
  562|     93|            fieldSet[i] = exyzw;
  563|     93|            break;
  564|      0|        case 'g':
  ------------------
  |  Branch (564:9): [True: 0, False: 711]
  ------------------
  565|      0|            selector.push_back(1);
  566|      0|            fieldSet[i] = ergba;
  567|      0|            break;
  568|      0|        case 't':
  ------------------
  |  Branch (568:9): [True: 0, False: 711]
  ------------------
  569|      0|            selector.push_back(1);
  570|      0|            fieldSet[i] = estpq;
  571|      0|            break;
  572|       |
  573|     36|        case 'z':
  ------------------
  |  Branch (573:9): [True: 36, False: 675]
  ------------------
  574|     36|            selector.push_back(2);
  575|     36|            fieldSet[i] = exyzw;
  576|     36|            break;
  577|      0|        case 'b':
  ------------------
  |  Branch (577:9): [True: 0, False: 711]
  ------------------
  578|      0|            selector.push_back(2);
  579|      0|            fieldSet[i] = ergba;
  580|      0|            break;
  581|      0|        case 'p':
  ------------------
  |  Branch (581:9): [True: 0, False: 711]
  ------------------
  582|      0|            selector.push_back(2);
  583|      0|            fieldSet[i] = estpq;
  584|      0|            break;
  585|       |
  586|      0|        case 'w':
  ------------------
  |  Branch (586:9): [True: 0, False: 711]
  ------------------
  587|      0|            selector.push_back(3);
  588|      0|            fieldSet[i] = exyzw;
  589|      0|            break;
  590|      0|        case 'a':
  ------------------
  |  Branch (590:9): [True: 0, False: 711]
  ------------------
  591|      0|            selector.push_back(3);
  592|      0|            fieldSet[i] = ergba;
  593|      0|            break;
  594|      0|        case 'q':
  ------------------
  |  Branch (594:9): [True: 0, False: 711]
  ------------------
  595|      0|            selector.push_back(3);
  596|      0|            fieldSet[i] = estpq;
  597|      0|            break;
  598|       |
  599|      0|        default:
  ------------------
  |  Branch (599:9): [True: 0, False: 711]
  ------------------
  600|      0|            fieldSet[i] = ebadswizzle;
  601|      0|            break;
  602|    711|        }
  603|    711|    }
  604|       |
  605|       |    // Additional error checking.
  606|  1.29k|    for (int i = 0; i < selector.size(); ++i) {
  ------------------
  |  Branch (606:21): [True: 711, False: 582]
  ------------------
  607|    711|        if (fieldSet[i] == ebadswizzle) {
  ------------------
  |  Branch (607:13): [True: 0, False: 711]
  ------------------
  608|      0|            error(loc, "unknown swizzle selection", compString.c_str(), "");
  609|      0|            selector.resize(i);
  610|      0|            break;
  611|      0|        }
  612|       |
  613|    711|        if (selector[i] >= vecSize) {
  ------------------
  |  Branch (613:13): [True: 0, False: 711]
  ------------------
  614|      0|            error(loc, "vector swizzle selection out of range",  compString.c_str(), "");
  615|      0|            selector.resize(i);
  616|      0|            break;
  617|      0|        }
  618|       |
  619|    711|        if (i > 0 && fieldSet[i] != fieldSet[i-1]) {
  ------------------
  |  Branch (619:13): [True: 129, False: 582]
  |  Branch (619:22): [True: 0, False: 129]
  ------------------
  620|      0|            error(loc, "vector swizzle selectors not from the same set", compString.c_str(), "");
  621|      0|            selector.resize(i);
  622|      0|            break;
  623|      0|        }
  624|    711|    }
  625|       |
  626|       |    // Ensure it is valid.
  627|    582|    if (selector.size() == 0)
  ------------------
  |  Branch (627:9): [True: 0, False: 582]
  ------------------
  628|      0|        selector.push_back(0);
  629|    582|}
_ZN7glslang17TParseContextBase6finishEv:
  749|    751|{
  750|    751|    if (parsingBuiltins)
  ------------------
  |  Branch (750:9): [True: 726, False: 25]
  ------------------
  751|    726|        return;
  752|       |
  753|     25|    for (const TString& relaxedSymbol : relaxedSymbols)
  ------------------
  |  Branch (753:39): [True: 0, False: 25]
  ------------------
  754|      0|    {
  755|      0|        TSymbol* symbol = symbolTable.find(relaxedSymbol);
  756|      0|        TType& type = symbol->getWritableType();
  757|      0|        for (const TTypeLoc& typeLoc : *type.getStruct())
  ------------------
  |  Branch (757:38): [True: 0, False: 0]
  ------------------
  758|      0|        {
  759|      0|            if (typeLoc.type->isOpaque())
  ------------------
  |  Branch (759:17): [True: 0, False: 0]
  ------------------
  760|      0|            {
  761|      0|                typeLoc.type->getSampler() = TSampler{};
  762|      0|                typeLoc.type->setBasicType(EbtInt);
  763|      0|                TString fieldName("/*");
  764|      0|                fieldName.append(typeLoc.type->getFieldName());
  765|      0|                fieldName.append("*/");
  766|      0|                typeLoc.type->setFieldName(fieldName);
  767|      0|            }
  768|      0|        }
  769|      0|    }
  770|       |
  771|       |    // Transfer the linkage symbols to AST nodes, preserving order.
  772|     25|    TIntermAggregate* linkage = new TIntermAggregate;
  773|    385|    for (auto i = linkageSymbols.begin(); i != linkageSymbols.end(); ++i)
  ------------------
  |  Branch (773:43): [True: 360, False: 25]
  ------------------
  774|    360|        intermediate.addSymbolLinkageNode(linkage, **i);
  775|     25|    intermediate.addSymbolLinkageNodes(linkage, getLanguage(), symbolTable);
  776|     25|}

_ZN7glslang13TParseContextC2ERNS_12TSymbolTableERNS_13TIntermediateEbi8EProfileRKNS_10SpvVersionE11EShLanguageR9TInfoSinkb11EShMessagesPKNSt3__112basic_stringIcNSD_11char_traitsIcEENS_14pool_allocatorIcEEEE:
   59|    776|            TParseContextBase(symbolTable, interm, parsingBuiltins, version, profile, spvVersion, language,
   60|    776|                              infoSink, forwardCompatible, messages, entryPoint),
   61|    776|            inMain(false),
   62|    776|            blockName(nullptr),
   63|    776|            limits(resources.limits),
   64|    776|            atomicUintOffsets(nullptr), anyIndexLimits(false),
   65|    776|            khrDerivativeLayoutQualifierSpecified(false)
   66|    776|{
   67|       |    // decide whether precision qualifiers should be ignored or respected
   68|    776|    if (isEsProfile() || spvVersion.vulkan > 0) {
  ------------------
  |  Branch (68:9): [True: 0, False: 776]
  |  Branch (68:26): [True: 776, False: 0]
  ------------------
   69|    776|        precisionManager.respectPrecisionQualifiers();
   70|    776|        if (! parsingBuiltins && language == EShLangFragment && !isEsProfile() && spvVersion.vulkan > 0)
  ------------------
  |  Branch (70:13): [True: 122, False: 654]
  |  Branch (70:34): [True: 0, False: 122]
  |  Branch (70:65): [True: 0, False: 0]
  |  Branch (70:83): [True: 0, False: 0]
  ------------------
   71|      0|            precisionManager.warnAboutDefaults();
   72|    776|    }
   73|       |
   74|    776|    setPrecisionDefaults();
   75|       |
   76|    776|    globalUniformDefaults.clear();
   77|    776|    globalUniformDefaults.layoutMatrix = ElmColumnMajor;
   78|    776|    globalUniformDefaults.layoutPacking = spvVersion.spv != 0 ? ElpStd140 : ElpShared;
  ------------------
  |  Branch (78:43): [True: 776, False: 0]
  ------------------
   79|       |
   80|    776|    globalBufferDefaults.clear();
   81|    776|    globalBufferDefaults.layoutMatrix = ElmColumnMajor;
   82|    776|    globalBufferDefaults.layoutPacking = spvVersion.spv != 0 ? ElpStd430 : ElpShared;
  ------------------
  |  Branch (82:42): [True: 776, False: 0]
  ------------------
   83|       |
   84|    776|    globalInputDefaults.clear();
   85|    776|    globalOutputDefaults.clear();
   86|       |
   87|    776|    globalSharedDefaults.clear();
   88|    776|    globalSharedDefaults.layoutMatrix = ElmColumnMajor;
   89|    776|    globalSharedDefaults.layoutPacking = ElpStd430;
   90|       |
   91|       |    // "Shaders in the transform
   92|       |    // feedback capturing mode have an initial global default of
   93|       |    //     layout(xfb_buffer = 0) out;"
   94|    776|    if (language == EShLangVertex ||
  ------------------
  |  Branch (94:9): [True: 472, False: 304]
  ------------------
   95|    304|        language == EShLangTessControl ||
  ------------------
  |  Branch (95:9): [True: 31, False: 273]
  ------------------
   96|    273|        language == EShLangTessEvaluation ||
  ------------------
  |  Branch (96:9): [True: 21, False: 252]
  ------------------
   97|    252|        language == EShLangGeometry)
  ------------------
  |  Branch (97:9): [True: 19, False: 233]
  ------------------
   98|    543|        globalOutputDefaults.layoutXfbBuffer = 0;
   99|       |
  100|    776|    if (language == EShLangGeometry)
  ------------------
  |  Branch (100:9): [True: 19, False: 757]
  ------------------
  101|     19|        globalOutputDefaults.layoutStream = 0;
  102|       |
  103|    776|    if (entryPoint != nullptr && entryPoint->size() > 0 && *entryPoint != "main")
  ------------------
  |  Branch (103:9): [True: 776, False: 0]
  |  Branch (103:34): [True: 0, False: 776]
  |  Branch (103:60): [True: 0, False: 0]
  ------------------
  104|      0|        infoSink.info.message(EPrefixError, "Source entry point must be \"main\"");
  105|    776|}
_ZN7glslang13TParseContextD2Ev:
  108|    776|{
  109|    776|    delete [] atomicUintOffsets;
  110|    776|}
_ZN7glslang13TParseContext20setPrecisionDefaultsEv:
  115|    776|{
  116|       |    // Set all precision defaults to EpqNone, which is correct for all types
  117|       |    // when not obeying precision qualifiers, and correct for types that don't
  118|       |    // have defaults (thus getting an error on use) when obeying precision
  119|       |    // qualifiers.
  120|       |
  121|  31.0k|    for (int type = 0; type < EbtNumTypes; ++type)
  ------------------
  |  Branch (121:24): [True: 30.2k, False: 776]
  ------------------
  122|  30.2k|        defaultPrecision[type] = EpqNone;
  123|       |
  124|  8.71M|    for (int type = 0; type < maxSamplerIndex; ++type)
  ------------------
  |  Branch (124:24): [True: 8.71M, False: 776]
  ------------------
  125|  8.71M|        defaultSamplerPrecision[type] = EpqNone;
  126|       |
  127|       |    // replace with real precision defaults for those that have them
  128|    776|    if (obeyPrecisionQualifiers()) {
  ------------------
  |  Branch (128:9): [True: 776, False: 0]
  ------------------
  129|    776|        if (isEsProfile()) {
  ------------------
  |  Branch (129:13): [True: 0, False: 776]
  ------------------
  130|       |            // Most don't have defaults, a few default to lowp.
  131|      0|            TSampler sampler;
  132|      0|            sampler.set(EbtFloat, Esd2D);
  133|      0|            defaultSamplerPrecision[computeSamplerTypeIndex(sampler)] = EpqLow;
  134|      0|            sampler.set(EbtFloat, EsdCube);
  135|      0|            defaultSamplerPrecision[computeSamplerTypeIndex(sampler)] = EpqLow;
  136|      0|            sampler.set(EbtFloat, Esd2D);
  137|      0|            sampler.setExternal(true);
  138|      0|            defaultSamplerPrecision[computeSamplerTypeIndex(sampler)] = EpqLow;
  139|      0|        }
  140|       |
  141|       |        // If we are parsing built-in computational variables/functions, it is meaningful to record
  142|       |        // whether the built-in has no precision qualifier, as that ambiguity
  143|       |        // is used to resolve the precision from the supplied arguments/operands instead.
  144|       |        // So, we don't actually want to replace EpqNone with a default precision for built-ins.
  145|    776|        if (! parsingBuiltins) {
  ------------------
  |  Branch (145:13): [True: 122, False: 654]
  ------------------
  146|    122|            if (isEsProfile() && language == EShLangFragment) {
  ------------------
  |  Branch (146:17): [True: 0, False: 122]
  |  Branch (146:34): [True: 0, False: 0]
  ------------------
  147|      0|                defaultPrecision[EbtInt] = EpqMedium;
  148|      0|                defaultPrecision[EbtUint] = EpqMedium;
  149|    122|            } else {
  150|    122|                defaultPrecision[EbtInt] = EpqHigh;
  151|    122|                defaultPrecision[EbtUint] = EpqHigh;
  152|    122|                defaultPrecision[EbtFloat] = EpqHigh;
  153|    122|            }
  154|       |
  155|    122|            if (!isEsProfile()) {
  ------------------
  |  Branch (155:17): [True: 122, False: 0]
  ------------------
  156|       |                // Non-ES profile
  157|       |                // All sampler precisions default to highp.
  158|  1.37M|                for (int type = 0; type < maxSamplerIndex; ++type)
  ------------------
  |  Branch (158:36): [True: 1.37M, False: 122]
  ------------------
  159|  1.37M|                    defaultSamplerPrecision[type] = EpqHigh;
  160|    122|            }
  161|    122|        }
  162|       |
  163|    776|        defaultPrecision[EbtSampler] = EpqLow;
  164|    776|        defaultPrecision[EbtAtomicUint] = EpqHigh;
  165|    776|    }
  166|    776|}
_ZN7glslang13TParseContext9setLimitsERK16TBuiltInResource:
  169|    122|{
  170|    122|    resources = r;
  171|    122|    intermediate.setLimits(r);
  172|       |
  173|    122|    anyIndexLimits = ! limits.generalAttributeMatrixVectorIndexing ||
  ------------------
  |  Branch (173:22): [True: 0, False: 122]
  ------------------
  174|    122|                     ! limits.generalConstantMatrixVectorIndexing ||
  ------------------
  |  Branch (174:22): [True: 0, False: 122]
  ------------------
  175|    122|                     ! limits.generalSamplerIndexing ||
  ------------------
  |  Branch (175:22): [True: 0, False: 122]
  ------------------
  176|    122|                     ! limits.generalUniformIndexing ||
  ------------------
  |  Branch (176:22): [True: 0, False: 122]
  ------------------
  177|    122|                     ! limits.generalVariableIndexing ||
  ------------------
  |  Branch (177:22): [True: 0, False: 122]
  ------------------
  178|    122|                     ! limits.generalVaryingIndexing;
  ------------------
  |  Branch (178:22): [True: 0, False: 122]
  ------------------
  179|       |
  180|       |
  181|       |    // "Each binding point tracks its own current default offset for
  182|       |    // inheritance of subsequent variables using the same binding. The initial state of compilation is that all
  183|       |    // binding points have an offset of 0."
  184|    122|    atomicUintOffsets = new int[resources.maxAtomicCounterBindings];
  185|    244|    for (int b = 0; b < resources.maxAtomicCounterBindings; ++b)
  ------------------
  |  Branch (185:21): [True: 122, False: 122]
  ------------------
  186|    122|        atomicUintOffsets[b] = 0;
  187|    122|}
_ZN7glslang13TParseContext18parseShaderStringsERNS_10TPpContextERNS_13TInputScannerEb:
  197|    669|{
  198|    669|    currentScanner = &input;
  199|    669|    ppContext.setInput(input, versionWillBeError);
  200|    669|    yyparse(this);
  201|       |
  202|    669|    finish();
  203|       |
  204|    669|    return numErrors == 0;
  205|    669|}
_ZN7glslang13TParseContext11parserErrorEPKc:
  212|     27|{
  213|     27|    if (! getScanner()->atEndOfInput() || numErrors == 0)
  ------------------
  |  Branch (213:9): [True: 12, False: 15]
  |  Branch (213:43): [True: 0, False: 15]
  ------------------
  214|     12|        error(getCurrentLoc(), "", "", s, "");
  215|     15|    else
  216|     15|        error(getCurrentLoc(), "compilation terminated", "", "");
  217|     27|}
_ZN7glslang13TParseContext14handleVariableERKNS_10TSourceLocEPNS_7TSymbolEPKNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEE:
  452|  10.9k|{
  453|  10.9k|    TIntermTyped* node = nullptr;
  454|       |
  455|       |    // Error check for requiring specific extensions present.
  456|  10.9k|    if (symbol && symbol->getNumExtensions())
  ------------------
  |  Branch (456:9): [True: 8.78k, False: 2.19k]
  |  Branch (456:19): [True: 0, False: 8.78k]
  ------------------
  457|      0|        requireExtensions(loc, symbol->getNumExtensions(), symbol->getExtensions(), symbol->getName().c_str());
  458|       |
  459|  10.9k|    if (symbol && symbol->isReadOnly()) {
  ------------------
  |  Branch (459:9): [True: 8.78k, False: 2.19k]
  |  Branch (459:19): [True: 0, False: 8.78k]
  ------------------
  460|       |        // All shared things containing an unsized array must be copied up
  461|       |        // on first use, so that all future references will share its array structure,
  462|       |        // so that editing the implicit size will effect all nodes consuming it,
  463|       |        // and so that editing the implicit size won't change the shared one.
  464|       |        //
  465|       |        // If this is a variable or a block, check it and all it contains, but if this
  466|       |        // is a member of an anonymous block, check the whole block, as the whole block
  467|       |        // will need to be copied up if it contains an unsized array.
  468|       |        //
  469|       |        // This check is being done before the block-name check further down, so guard
  470|       |        // for that too.
  471|      0|        if (!symbol->getType().isUnusableName()) {
  ------------------
  |  Branch (471:13): [True: 0, False: 0]
  ------------------
  472|      0|            if (symbol->getType().containsUnsizedArray() ||
  ------------------
  |  Branch (472:17): [True: 0, False: 0]
  ------------------
  473|      0|                (symbol->getAsAnonMember() &&
  ------------------
  |  Branch (473:18): [True: 0, False: 0]
  ------------------
  474|      0|                 symbol->getAsAnonMember()->getAnonContainer().getType().containsUnsizedArray()))
  ------------------
  |  Branch (474:18): [True: 0, False: 0]
  ------------------
  475|      0|                makeEditable(symbol);
  476|      0|        }
  477|      0|    }
  478|       |
  479|  10.9k|    const TVariable* variable;
  480|  10.9k|    const TAnonMember* anon = symbol ? symbol->getAsAnonMember() : nullptr;
  ------------------
  |  Branch (480:31): [True: 8.78k, False: 2.19k]
  ------------------
  481|  10.9k|    if (anon) {
  ------------------
  |  Branch (481:9): [True: 0, False: 10.9k]
  ------------------
  482|       |        // It was a member of an anonymous container.
  483|       |
  484|       |        // Create a subtree for its dereference.
  485|      0|        variable = anon->getAnonContainer().getAsVariable();
  486|      0|        TIntermTyped* container = intermediate.addSymbol(*variable, loc);
  487|      0|        TIntermTyped* constNode = intermediate.addConstantUnion(anon->getMemberNumber(), loc);
  488|      0|        node = intermediate.addIndex(EOpIndexDirectStruct, container, constNode, loc);
  489|       |
  490|      0|        node->setType(*(*variable->getType().getStruct())[anon->getMemberNumber()].type);
  491|      0|        if (node->getType().hiddenMember())
  ------------------
  |  Branch (491:13): [True: 0, False: 0]
  ------------------
  492|      0|            error(loc, "member of nameless block was not redeclared", string->c_str(), "");
  493|  10.9k|    } else {
  494|       |        // Not a member of an anonymous container.
  495|       |
  496|       |        // The symbol table search was done in the lexical phase.
  497|       |        // See if it was a variable.
  498|  10.9k|        variable = symbol ? symbol->getAsVariable() : nullptr;
  ------------------
  |  Branch (498:20): [True: 8.78k, False: 2.19k]
  ------------------
  499|  10.9k|        if (variable) {
  ------------------
  |  Branch (499:13): [True: 8.78k, False: 2.19k]
  ------------------
  500|  8.78k|            if (variable->getType().isUnusableName()) {
  ------------------
  |  Branch (500:17): [True: 0, False: 8.78k]
  ------------------
  501|      0|                error(loc, "cannot be used (maybe an instance name is needed)", string->c_str(), "");
  502|      0|                variable = nullptr;
  503|      0|            }
  504|       |
  505|  8.78k|            if (language == EShLangMesh && variable) {
  ------------------
  |  Branch (505:17): [True: 0, False: 8.78k]
  |  Branch (505:44): [True: 0, False: 0]
  ------------------
  506|      0|                TLayoutGeometry primitiveType = intermediate.getOutputPrimitive();
  507|      0|                if ((variable->getMangledName() == "gl_PrimitiveTriangleIndicesEXT" && primitiveType != ElgTriangles) ||
  ------------------
  |  Branch (507:22): [True: 0, False: 0]
  |  Branch (507:88): [True: 0, False: 0]
  ------------------
  508|      0|                    (variable->getMangledName() == "gl_PrimitiveLineIndicesEXT" && primitiveType != ElgLines) ||
  ------------------
  |  Branch (508:22): [True: 0, False: 0]
  |  Branch (508:84): [True: 0, False: 0]
  ------------------
  509|      0|                    (variable->getMangledName() == "gl_PrimitivePointIndicesEXT" && primitiveType != ElgPoints)) {
  ------------------
  |  Branch (509:22): [True: 0, False: 0]
  |  Branch (509:85): [True: 0, False: 0]
  ------------------
  510|      0|                    error(loc, "cannot be used (output primitive type mismatch)", string->c_str(), "");
  511|      0|                    variable = nullptr;
  512|      0|                }
  513|      0|            }
  514|  8.78k|        } else {
  515|  2.19k|            if (symbol)
  ------------------
  |  Branch (515:17): [True: 0, False: 2.19k]
  ------------------
  516|      0|                error(loc, "variable name expected", string->c_str(), "");
  517|  2.19k|        }
  518|       |
  519|       |        // Recovery, if it wasn't found or was not a variable.
  520|  10.9k|        if (! variable) {
  ------------------
  |  Branch (520:13): [True: 2.19k, False: 8.78k]
  ------------------
  521|  2.19k|            bool builtIn = false;
  522|  2.19k|            TVector<const TFunction*> candidateList;
  523|  2.19k|            symbolTable.findFunctionNameList(*string + "(", candidateList, builtIn);
  524|       |
  525|       |            // If it's a function, pass the name/mangledName
  526|  2.19k|            if (!candidateList.empty() && !builtIn) {
  ------------------
  |  Branch (526:17): [True: 1.99k, False: 195]
  |  Branch (526:43): [True: 147, False: 1.84k]
  ------------------
  527|    147|                variable = new TVariable(&candidateList[0]->getName(), &candidateList[0]->getMangledName(), TType(EbtFunction));
  528|  2.04k|            } else {
  529|  2.04k|                variable = new TVariable(string, TType(EbtVoid));
  530|  2.04k|            }
  531|  2.19k|        }
  532|       |
  533|       |        // Track use of gl_RayFlagsForceOpacityMicromap2StateEXT before the front-end
  534|       |        // constant fold loses the name. Referencing this built-in is the GLSL-level
  535|       |        // signal that the SPIR-V RayFlags bit ForceOpacityMicromap2StateKHR (0x400)
  536|       |        // will reach a trace / ray-query call, which requires the
  537|       |        // RayTracingOpacityMicromapEXT capability.
  538|  10.9k|        if (variable->getName() == "gl_RayFlagsForceOpacityMicromap2StateEXT")
  ------------------
  |  Branch (538:13): [True: 0, False: 10.9k]
  ------------------
  539|      0|            intermediate.setUsesOpacityMicromap2StateFlag();
  540|       |
  541|  10.9k|        if (variable->getType().getQualifier().isFrontEndConstant())
  ------------------
  |  Branch (541:13): [True: 750, False: 10.2k]
  ------------------
  542|    750|            node = intermediate.addConstantUnion(variable->getConstArray(), variable->getType(), loc);
  543|  10.2k|        else
  544|  10.2k|            node = intermediate.addSymbol(*variable, loc);
  545|  10.9k|    }
  546|       |
  547|  10.9k|    if (variable->getType().getQualifier().isIo())
  ------------------
  |  Branch (547:9): [True: 5.62k, False: 5.35k]
  ------------------
  548|  5.62k|        intermediate.addIoAccessed(*string);
  549|       |
  550|  10.9k|    if (variable->getType().isReference() &&
  ------------------
  |  Branch (550:9): [True: 0, False: 10.9k]
  ------------------
  551|      0|        variable->getType().getQualifier().bufferReferenceNeedsVulkanMemoryModel()) {
  ------------------
  |  Branch (551:9): [True: 0, False: 0]
  ------------------
  552|      0|        intermediate.setUseVulkanMemoryModel();
  553|      0|    }
  554|       |
  555|  10.9k|    return node;
  556|  10.9k|}
_ZNK7glslang13TParseContext15isIoResizeArrayERKNS_5TTypeE:
  755|    107|{
  756|    107|    return type.isArray() &&
  ------------------
  |  Branch (756:12): [True: 64, False: 43]
  ------------------
  757|     64|           ((language == EShLangGeometry    && type.getQualifier().storage == EvqVaryingIn) ||
  ------------------
  |  Branch (757:14): [True: 9, False: 55]
  |  Branch (757:48): [True: 9, False: 0]
  ------------------
  758|     55|            (language == EShLangTessControl && type.getQualifier().storage == EvqVaryingOut &&
  ------------------
  |  Branch (758:14): [True: 33, False: 22]
  |  Branch (758:48): [True: 17, False: 16]
  ------------------
  759|     17|                ! type.getQualifier().patch) ||
  ------------------
  |  Branch (759:17): [True: 17, False: 0]
  ------------------
  760|     38|            (language == EShLangFragment && type.getQualifier().storage == EvqVaryingIn &&
  ------------------
  |  Branch (760:14): [True: 0, False: 38]
  |  Branch (760:45): [True: 0, False: 0]
  ------------------
  761|      0|                (type.getQualifier().pervertexNV || type.getQualifier().pervertexEXT)) ||
  ------------------
  |  Branch (761:18): [True: 0, False: 0]
  |  Branch (761:53): [True: 0, False: 0]
  ------------------
  762|     38|            (language == EShLangMesh && type.getQualifier().storage == EvqVaryingOut &&
  ------------------
  |  Branch (762:14): [True: 20, False: 18]
  |  Branch (762:41): [True: 20, False: 0]
  ------------------
  763|     20|                !type.getQualifier().perTaskNV));
  ------------------
  |  Branch (763:17): [True: 20, False: 0]
  ------------------
  764|    107|}
_ZN7glslang13TParseContext14fixIoArraySizeERKNS_10TSourceLocERNS_5TTypeE:
  768|     61|{
  769|     61|    if (! type.isArray() || type.getQualifier().patch || symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (769:9): [True: 43, False: 18]
  |  Branch (769:29): [True: 0, False: 18]
  |  Branch (769:58): [True: 9, False: 9]
  ------------------
  770|     52|        return;
  771|       |
  772|     61|    assert(! isIoResizeArray(type));
  773|       |
  774|      9|    if (type.getQualifier().storage != EvqVaryingIn || type.getQualifier().patch)
  ------------------
  |  Branch (774:9): [True: 9, False: 0]
  |  Branch (774:56): [True: 0, False: 0]
  ------------------
  775|      9|        return;
  776|       |
  777|      0|    if (language == EShLangTessControl || language == EShLangTessEvaluation) {
  ------------------
  |  Branch (777:9): [True: 0, False: 0]
  |  Branch (777:43): [True: 0, False: 0]
  ------------------
  778|      0|        if (type.getOuterArraySize() != resources.maxPatchVertices) {
  ------------------
  |  Branch (778:13): [True: 0, False: 0]
  ------------------
  779|      0|            if (type.isSizedArray())
  ------------------
  |  Branch (779:17): [True: 0, False: 0]
  ------------------
  780|      0|                error(loc, "tessellation input array size must be gl_MaxPatchVertices or implicitly sized", "[]", "");
  781|      0|            type.changeOuterArraySize(resources.maxPatchVertices);
  782|      0|        }
  783|      0|    }
  784|      0|}
_ZN7glslang13TParseContext12ioArrayCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
  790|  16.1k|{
  791|  16.1k|    if (! type.isArray() && ! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (791:9): [True: 16.1k, False: 0]
  |  Branch (791:29): [True: 591, False: 15.5k]
  ------------------
  792|    591|        if (type.getQualifier().isArrayedIo(language) && !type.getQualifier().layoutPassthrough)
  ------------------
  |  Branch (792:13): [True: 72, False: 519]
  |  Branch (792:58): [True: 72, False: 0]
  ------------------
  793|     72|            error(loc, "type must be an array:", type.getStorageQualifierString(), identifier.c_str());
  794|    591|    }
  795|  16.1k|}
_ZN7glslang13TParseContext24checkIoArraysConsistencyERKNS_10TSourceLocEb:
  824|     46|{
  825|     46|    int requiredSize = 0;
  826|     46|    TString featureString;
  827|     46|    size_t listSize = ioArraySymbolResizeList.size();
  828|     46|    size_t i = 0;
  829|       |
  830|       |    // If tailOnly = true, only check the last array symbol in the list.
  831|     46|    if (tailOnly) {
  ------------------
  |  Branch (831:9): [True: 46, False: 0]
  ------------------
  832|     46|        i = listSize - 1;
  833|     46|    }
  834|     46|    for (bool firstIteration = true; i < listSize; ++i) {
  ------------------
  |  Branch (834:38): [True: 46, False: 0]
  ------------------
  835|     46|        TType &type = ioArraySymbolResizeList[i]->getWritableType();
  836|       |
  837|       |        // As I/O array sizes don't change, fetch requiredSize only once,
  838|       |        // except for mesh shaders which could have different I/O array sizes based on type qualifiers.
  839|     46|        if (firstIteration || (language == EShLangMesh)) {
  ------------------
  |  Branch (839:13): [True: 46, False: 0]
  |  Branch (839:31): [True: 0, False: 0]
  ------------------
  840|     46|            requiredSize = getIoArrayImplicitSize(type.getQualifier(), &featureString);
  841|     46|            if (requiredSize == 0)
  ------------------
  |  Branch (841:17): [True: 46, False: 0]
  ------------------
  842|     46|                break;
  843|      0|            firstIteration = false;
  844|      0|        }
  845|       |
  846|      0|        checkIoArrayConsistency(loc, requiredSize, featureString.c_str(), type,
  847|      0|                                ioArraySymbolResizeList[i]->getName());
  848|      0|    }
  849|     46|}
_ZNK7glslang13TParseContext22getIoArrayImplicitSizeERKNS_10TQualifierEPNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEE:
  852|     46|{
  853|     46|    int expectedSize = 0;
  854|     46|    TString str = "unknown";
  855|     46|    unsigned int maxVertices = intermediate.getVertices() != TQualifier::layoutNotSet ? intermediate.getVertices() : 0;
  ------------------
  |  Branch (855:32): [True: 0, False: 46]
  ------------------
  856|       |
  857|     46|    if (language == EShLangGeometry) {
  ------------------
  |  Branch (857:9): [True: 9, False: 37]
  ------------------
  858|      9|        expectedSize = TQualifier::mapGeometryToSize(intermediate.getInputPrimitive());
  859|      9|        str = TQualifier::getGeometryString(intermediate.getInputPrimitive());
  860|      9|    }
  861|     37|    else if (language == EShLangTessControl) {
  ------------------
  |  Branch (861:14): [True: 17, False: 20]
  ------------------
  862|     17|        expectedSize = maxVertices;
  863|     17|        str = "vertices";
  864|     20|    } else if (language == EShLangFragment) {
  ------------------
  |  Branch (864:16): [True: 0, False: 20]
  ------------------
  865|       |        // Number of vertices for Fragment shader is always three.
  866|      0|        expectedSize = 3;
  867|      0|        str = "vertices";
  868|     20|    } else if (language == EShLangMesh) {
  ------------------
  |  Branch (868:16): [True: 20, False: 0]
  ------------------
  869|     20|        unsigned int maxPrimitives =
  870|     20|            intermediate.getPrimitives() != TQualifier::layoutNotSet ? intermediate.getPrimitives() : 0;
  ------------------
  |  Branch (870:13): [True: 0, False: 20]
  ------------------
  871|     20|        if (qualifier.builtIn == EbvPrimitiveIndicesNV) {
  ------------------
  |  Branch (871:13): [True: 0, False: 20]
  ------------------
  872|      0|            expectedSize = maxPrimitives * TQualifier::mapGeometryToSize(intermediate.getOutputPrimitive());
  873|      0|            str = "max_primitives*";
  874|      0|            str += TQualifier::getGeometryString(intermediate.getOutputPrimitive());
  875|      0|        }
  876|     20|        else if (qualifier.builtIn == EbvPrimitiveTriangleIndicesEXT || qualifier.builtIn == EbvPrimitiveLineIndicesEXT ||
  ------------------
  |  Branch (876:18): [True: 0, False: 20]
  |  Branch (876:73): [True: 0, False: 20]
  ------------------
  877|     20|                 qualifier.builtIn == EbvPrimitivePointIndicesEXT) {
  ------------------
  |  Branch (877:18): [True: 0, False: 20]
  ------------------
  878|      0|            expectedSize = maxPrimitives;
  879|      0|            str = "max_primitives";
  880|      0|        }
  881|     20|        else if (qualifier.isPerPrimitive()) {
  ------------------
  |  Branch (881:18): [True: 10, False: 10]
  ------------------
  882|     10|            expectedSize = maxPrimitives;
  883|     10|            str = "max_primitives";
  884|     10|        }
  885|     10|        else {
  886|     10|            expectedSize = maxVertices;
  887|     10|            str = "max_vertices";
  888|     10|        }
  889|     20|    }
  890|     46|    if (featureString)
  ------------------
  |  Branch (890:9): [True: 46, False: 0]
  ------------------
  891|     46|        *featureString = str;
  892|     46|    return expectedSize;
  893|     46|}
_ZN7glslang13TParseContext16handleBinaryMathERKNS_10TSourceLocEPKcNS_9TOperatorEPNS_12TIntermTypedES8_:
  918|      3|{
  919|      3|    rValueErrorCheck(loc, str, left->getAsTyped());
  920|      3|    rValueErrorCheck(loc, str, right->getAsTyped());
  921|       |
  922|      3|    bool allowed = true;
  923|      3|    switch (op) {
  924|       |    // TODO: Bring more source language-specific checks up from intermediate.cpp
  925|       |    // to the specific parse helpers for that source language.
  926|      0|    case EOpLessThan:
  ------------------
  |  Branch (926:5): [True: 0, False: 3]
  ------------------
  927|      0|    case EOpGreaterThan:
  ------------------
  |  Branch (927:5): [True: 0, False: 3]
  ------------------
  928|      0|    case EOpLessThanEqual:
  ------------------
  |  Branch (928:5): [True: 0, False: 3]
  ------------------
  929|      0|    case EOpGreaterThanEqual:
  ------------------
  |  Branch (929:5): [True: 0, False: 3]
  ------------------
  930|      0|        if (! left->isScalar() || ! right->isScalar())
  ------------------
  |  Branch (930:13): [True: 0, False: 0]
  |  Branch (930:35): [True: 0, False: 0]
  ------------------
  931|      0|            allowed = false;
  932|      0|        break;
  933|      3|    default:
  ------------------
  |  Branch (933:5): [True: 3, False: 0]
  ------------------
  934|      3|        break;
  935|      3|    }
  936|       |
  937|      3|    if (((left->getType().contains16BitFloat() || right->getType().contains16BitFloat()) && !float16Arithmetic()) ||
  ------------------
  |  Branch (937:11): [True: 0, False: 3]
  |  Branch (937:51): [True: 0, False: 3]
  |  Branch (937:93): [True: 0, False: 0]
  ------------------
  938|      3|        ((left->getType().contains16BitInt() || right->getType().contains16BitInt()) && !int16Arithmetic()) ||
  ------------------
  |  Branch (938:11): [True: 0, False: 3]
  |  Branch (938:49): [True: 0, False: 3]
  |  Branch (938:89): [True: 0, False: 0]
  ------------------
  939|      3|        ((left->getType().contains8BitInt() || right->getType().contains8BitInt()) && !int8Arithmetic()) ||
  ------------------
  |  Branch (939:11): [True: 0, False: 3]
  |  Branch (939:48): [True: 0, False: 3]
  |  Branch (939:87): [True: 0, False: 0]
  ------------------
  940|      3|        (left->getType().containsBFloat16() || right->getType().containsBFloat16()) ||
  ------------------
  |  Branch (940:10): [True: 0, False: 3]
  |  Branch (940:48): [True: 0, False: 3]
  ------------------
  941|      3|        (left->getType().contains8BitFloat() || right->getType().contains8BitFloat()) ||
  ------------------
  |  Branch (941:10): [True: 0, False: 3]
  |  Branch (941:49): [True: 0, False: 3]
  ------------------
  942|      3|        (left->getType().containsOcpMicroscalingFloat() || right->getType().containsOcpMicroscalingFloat())) {
  ------------------
  |  Branch (942:10): [True: 0, False: 3]
  |  Branch (942:60): [True: 0, False: 3]
  ------------------
  943|      0|        allowed = false;
  944|      0|    }
  945|       |
  946|      3|    TIntermTyped* result = nullptr;
  947|      3|    if (allowed) {
  ------------------
  |  Branch (947:9): [True: 3, False: 0]
  ------------------
  948|      3|        if ((left->isReference() || right->isReference()))
  ------------------
  |  Branch (948:14): [True: 0, False: 3]
  |  Branch (948:37): [True: 0, False: 3]
  ------------------
  949|      0|            requireExtensions(loc, 1, &E_GL_EXT_buffer_reference2, "buffer reference math");
  950|      3|        result = intermediate.addBinaryMath(op, left, right, loc);
  951|      3|    }
  952|       |
  953|      3|    if (result == nullptr) {
  ------------------
  |  Branch (953:9): [True: 0, False: 3]
  ------------------
  954|      0|        bool enhanced = intermediate.getEnhancedMsgs();
  955|      0|        binaryOpError(loc, str, left->getCompleteString(enhanced), right->getCompleteString(enhanced));
  956|      0|    }
  957|       |
  958|      3|    return result;
  959|      3|}
_ZN7glslang13TParseContext15handleUnaryMathERKNS_10TSourceLocEPKcNS_9TOperatorEPNS_12TIntermTypedE:
  963|    125|{
  964|    125|    rValueErrorCheck(loc, str, childNode);
  965|       |
  966|    125|    bool allowed = true;
  967|    125|    if ((childNode->getType().contains16BitFloat() && !float16Arithmetic()) ||
  ------------------
  |  Branch (967:10): [True: 0, False: 125]
  |  Branch (967:55): [True: 0, False: 0]
  ------------------
  968|    125|        (childNode->getType().contains16BitInt() && !int16Arithmetic()) ||
  ------------------
  |  Branch (968:10): [True: 0, False: 125]
  |  Branch (968:53): [True: 0, False: 0]
  ------------------
  969|    125|        (childNode->getType().contains8BitInt() && !int8Arithmetic()) ||
  ------------------
  |  Branch (969:10): [True: 0, False: 125]
  |  Branch (969:52): [True: 0, False: 0]
  ------------------
  970|    125|        (childNode->getType().containsBFloat16()) ||
  ------------------
  |  Branch (970:9): [True: 0, False: 125]
  ------------------
  971|    125|        (childNode->getType().contains8BitFloat()) ||
  ------------------
  |  Branch (971:9): [True: 0, False: 125]
  ------------------
  972|    125|        (childNode->getType().containsOcpMicroscalingFloat())) {
  ------------------
  |  Branch (972:9): [True: 0, False: 125]
  ------------------
  973|      0|        allowed = false;
  974|      0|    }
  975|       |
  976|    125|    TIntermTyped* result = nullptr;
  977|    125|    if (allowed)
  ------------------
  |  Branch (977:9): [True: 125, False: 0]
  ------------------
  978|    125|        result = intermediate.addUnaryMath(op, childNode, loc);
  979|       |
  980|    125|    if (result)
  ------------------
  |  Branch (980:9): [True: 125, False: 0]
  ------------------
  981|    125|        return result;
  982|      0|    else {
  983|      0|        bool enhanced = intermediate.getEnhancedMsgs();
  984|      0|        unaryOpError(loc, str, childNode->getCompleteString(enhanced));
  985|      0|    }
  986|       |
  987|      0|    return childNode;
  988|    125|}
_ZN7glslang13TParseContext20handleDotDereferenceERKNS_10TSourceLocEPNS_12TIntermTypedERKNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEE:
  994|    582|{
  995|    582|    variableCheck(base);
  996|       |
  997|       |    //
  998|       |    // .length() can't be resolved until we later see the function-calling syntax.
  999|       |    // Save away the name in the AST for now.  Processing is completed in
 1000|       |    // handleLengthMethod().
 1001|       |    //
 1002|    582|    if (field == "length" || field == "length64") {
  ------------------
  |  Branch (1002:9): [True: 0, False: 582]
  |  Branch (1002:30): [True: 0, False: 582]
  ------------------
 1003|      0|        if (base->isArray()) {
  ------------------
  |  Branch (1003:13): [True: 0, False: 0]
  ------------------
 1004|      0|            profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, (TString(".") + field).c_str());
 1005|      0|            profileRequires(loc, EEsProfile, 300, nullptr, (TString(".") + field).c_str());
 1006|      0|        } else if (base->isVector() || base->isMatrix()) {
  ------------------
  |  Branch (1006:20): [True: 0, False: 0]
  |  Branch (1006:40): [True: 0, False: 0]
  ------------------
 1007|      0|            const char* feature = ".length() on vectors and matrices";
 1008|      0|            requireProfile(loc, ~EEsProfile, feature);
 1009|      0|            profileRequires(loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, feature);
 1010|      0|        } else if (!base->getType().isCoopMat() && !base->getType().isCoopVecOrLongVector()) {
  ------------------
  |  Branch (1010:20): [True: 0, False: 0]
  |  Branch (1010:52): [True: 0, False: 0]
  ------------------
 1011|      0|            bool enhanced = intermediate.getEnhancedMsgs();
 1012|      0|            error(loc, "does not operate on this type:", field.c_str(), base->getType().getCompleteString(enhanced).c_str());
 1013|      0|            return base;
 1014|      0|        }
 1015|       |
 1016|      0|        if (field == "length") {
  ------------------
  |  Branch (1016:13): [True: 0, False: 0]
  ------------------
 1017|      0|            return intermediate.addMethod(base, TType(EbtInt), &field, loc);
 1018|      0|        } else {
 1019|      0|            requireExtensions(loc, 1, &E_GL_EXT_shader_64bit_indexing, "length64");
 1020|      0|            return intermediate.addMethod(base, TType(EbtInt64), &field, loc);
 1021|      0|        }
 1022|      0|    }
 1023|       |
 1024|       |    // It's not .length() if we get to here.
 1025|       |
 1026|    582|    if (base->isArray()) {
  ------------------
  |  Branch (1026:9): [True: 0, False: 582]
  ------------------
 1027|      0|        error(loc, "cannot apply to an array:", ".", field.c_str());
 1028|       |
 1029|      0|        return base;
 1030|      0|    }
 1031|       |
 1032|    582|    if (base->getType().isCoopMat()) {
  ------------------
  |  Branch (1032:9): [True: 0, False: 582]
  ------------------
 1033|      0|        error(loc, "cannot apply to a cooperative matrix type:", ".", field.c_str());
 1034|      0|        return base;
 1035|      0|    }
 1036|       |
 1037|       |    // It's neither an array nor .length() if we get here,
 1038|       |    // leaving swizzles and struct/block dereferences.
 1039|       |
 1040|    582|    TIntermTyped* result = base;
 1041|    582|    if ((base->isVector() || base->isScalar()) &&
  ------------------
  |  Branch (1041:10): [True: 582, False: 0]
  |  Branch (1041:30): [True: 0, False: 0]
  ------------------
 1042|    582|        (base->isFloatingDomain() || base->isIntegerDomain() || base->getBasicType() == EbtBool)) {
  ------------------
  |  Branch (1042:10): [True: 474, False: 108]
  |  Branch (1042:38): [True: 108, False: 0]
  |  Branch (1042:65): [True: 0, False: 0]
  ------------------
 1043|    582|        result = handleDotSwizzle(loc, base, field);
 1044|    582|    } else if (base->isStruct() || base->isReference()) {
  ------------------
  |  Branch (1044:16): [True: 0, False: 0]
  |  Branch (1044:36): [True: 0, False: 0]
  ------------------
 1045|      0|        const TTypeList* fields = base->isReference() ?
  ------------------
  |  Branch (1045:35): [True: 0, False: 0]
  ------------------
 1046|      0|                                  base->getType().getReferentType()->getStruct() :
 1047|      0|                                  base->getType().getStruct();
 1048|      0|        bool fieldFound = false;
 1049|      0|        int member;
 1050|      0|        for (member = 0; member < (int)fields->size(); ++member) {
  ------------------
  |  Branch (1050:26): [True: 0, False: 0]
  ------------------
 1051|      0|            if ((*fields)[member].type->getFieldName() == field) {
  ------------------
  |  Branch (1051:17): [True: 0, False: 0]
  ------------------
 1052|      0|                fieldFound = true;
 1053|      0|                break;
 1054|      0|            }
 1055|      0|        }
 1056|       |
 1057|      0|        if (fieldFound) {
  ------------------
  |  Branch (1057:13): [True: 0, False: 0]
  ------------------
 1058|      0|            if (spvVersion.vulkan != 0 && spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (1058:17): [True: 0, False: 0]
  |  Branch (1058:43): [True: 0, False: 0]
  ------------------
 1059|      0|                result = vkRelaxedRemapDotDereference(loc, *base, *(*fields)[member].type, field);
 1060|       |
 1061|      0|            if (result == base)
  ------------------
  |  Branch (1061:17): [True: 0, False: 0]
  ------------------
 1062|      0|            {
 1063|      0|                if (base->getType().getQualifier().isFrontEndConstant())
  ------------------
  |  Branch (1063:21): [True: 0, False: 0]
  ------------------
 1064|      0|                    result = intermediate.foldDereference(base, member, loc);
 1065|      0|                else {
 1066|      0|                    blockMemberExtensionCheck(loc, base, member, field);
 1067|      0|                    TIntermTyped* index = intermediate.addConstantUnion(member, loc);
 1068|      0|                    result = intermediate.addIndex(EOpIndexDirectStruct, base, index, loc);
 1069|      0|                    result->setType(*(*fields)[member].type);
 1070|      0|                    if ((*fields)[member].type->getQualifier().isIo())
  ------------------
  |  Branch (1070:25): [True: 0, False: 0]
  ------------------
 1071|      0|                        intermediate.addIoAccessed(field);
 1072|      0|                }
 1073|      0|            }
 1074|       |
 1075|      0|            inheritMemoryQualifiers(base->getQualifier(), result->getWritableType().getQualifier());
 1076|      0|        } else {
 1077|      0|            auto baseSymbol = base;
 1078|      0|            while (baseSymbol->getAsSymbolNode() == nullptr) {
  ------------------
  |  Branch (1078:20): [True: 0, False: 0]
  ------------------
 1079|      0|                auto binaryNode = baseSymbol->getAsBinaryNode();
 1080|      0|                if (binaryNode == nullptr) break;
  ------------------
  |  Branch (1080:21): [True: 0, False: 0]
  ------------------
 1081|      0|                baseSymbol = binaryNode->getLeft();
 1082|      0|            }
 1083|      0|            if (baseSymbol->getAsSymbolNode() != nullptr) {
  ------------------
  |  Branch (1083:17): [True: 0, False: 0]
  ------------------
 1084|      0|                TString structName;
 1085|      0|                structName.append("\'").append(baseSymbol->getAsSymbolNode()->getName().c_str()).append("\'");
 1086|      0|                error(loc, "no such field in structure", field.c_str(), structName.c_str());
 1087|      0|            } else {
 1088|      0|                error(loc, "no such field in structure", field.c_str(), "");
 1089|      0|            }
 1090|      0|        }
 1091|      0|    } else
 1092|      0|        error(loc, "does not apply to this type:", field.c_str(),
 1093|      0|          base->getType().getCompleteString(intermediate.getEnhancedMsgs()).c_str());
 1094|       |
 1095|       |    // Propagate noContraction up the dereference chain
 1096|    582|    if (base->getQualifier().isNoContraction())
  ------------------
  |  Branch (1096:9): [True: 0, False: 582]
  ------------------
 1097|      0|        result->getWritableType().getQualifier().setNoContraction();
 1098|       |
 1099|       |    // Propagate nonuniform
 1100|    582|    if (base->getQualifier().isNonUniform())
  ------------------
  |  Branch (1100:9): [True: 0, False: 582]
  ------------------
 1101|      0|        result->getWritableType().getQualifier().nonUniform = true;
 1102|       |
 1103|    582|    return result;
 1104|    582|}
_ZN7glslang13TParseContext16handleDotSwizzleERKNS_10TSourceLocEPNS_12TIntermTypedERKNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 1110|    582|{
 1111|    582|    TIntermTyped* result = base;
 1112|    582|    if (base->isScalar()) {
  ------------------
  |  Branch (1112:9): [True: 0, False: 582]
  ------------------
 1113|      0|        const char* dotFeature = "scalar swizzle";
 1114|      0|        requireProfile(loc, ~EEsProfile, dotFeature);
 1115|      0|        profileRequires(loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, dotFeature);
 1116|      0|    }
 1117|       |
 1118|    582|    TSwizzleSelectors<TVectorSelector> selectors;
 1119|    582|    parseSwizzleSelector(loc, field, base->getVectorSize(), selectors);
 1120|       |
 1121|    582|    if (base->isVector() && selectors.size() != 1 && base->getType().contains16BitFloat())
  ------------------
  |  Branch (1121:9): [True: 582, False: 0]
  |  Branch (1121:29): [True: 93, False: 489]
  |  Branch (1121:54): [True: 0, False: 93]
  ------------------
 1122|      0|        requireFloat16Arithmetic(loc, ".", "can't swizzle types containing float16");
 1123|    582|    if (base->isVector() && selectors.size() != 1 && base->getType().contains16BitInt())
  ------------------
  |  Branch (1123:9): [True: 582, False: 0]
  |  Branch (1123:29): [True: 93, False: 489]
  |  Branch (1123:54): [True: 0, False: 93]
  ------------------
 1124|      0|        requireInt16Arithmetic(loc, ".", "can't swizzle types containing (u)int16");
 1125|    582|    if (base->isVector() && selectors.size() != 1 && base->getType().contains8BitInt())
  ------------------
  |  Branch (1125:9): [True: 582, False: 0]
  |  Branch (1125:29): [True: 93, False: 489]
  |  Branch (1125:54): [True: 0, False: 93]
  ------------------
 1126|      0|        requireInt8Arithmetic(loc, ".", "can't swizzle types containing (u)int8");
 1127|       |
 1128|    582|    if (base->isScalar()) {
  ------------------
  |  Branch (1128:9): [True: 0, False: 582]
  ------------------
 1129|      0|        if (selectors.size() == 1)
  ------------------
  |  Branch (1129:13): [True: 0, False: 0]
  ------------------
 1130|      0|            return result;
 1131|      0|        else {
 1132|      0|            TType type(base->getBasicType(), EvqTemporary, selectors.size());
 1133|       |            // Swizzle operations propagate specialization-constantness
 1134|      0|            if (base->getQualifier().isSpecConstant())
  ------------------
  |  Branch (1134:17): [True: 0, False: 0]
  ------------------
 1135|      0|                type.getQualifier().makeSpecConstant();
 1136|      0|            return addConstructor(loc, base, type);
 1137|      0|        }
 1138|      0|    }
 1139|       |
 1140|    582|    if (base->getType().getQualifier().isFrontEndConstant()) {
  ------------------
  |  Branch (1140:9): [True: 0, False: 582]
  ------------------
 1141|      0|	rValueErrorCheck(loc, ".", base);
 1142|      0|        result = intermediate.foldSwizzle(base, selectors, loc);
 1143|    582|    } else {
 1144|    582|        if (selectors.size() == 1) {
  ------------------
  |  Branch (1144:13): [True: 489, False: 93]
  ------------------
 1145|    489|            TIntermTyped* index = intermediate.addConstantUnion(selectors[0], loc);
 1146|    489|            result = intermediate.addIndex(EOpIndexDirect, base, index, loc);
 1147|    489|            result->setType(TType(base->getBasicType(), EvqTemporary, base->getType().getQualifier().precision));
 1148|    489|        } else {
 1149|     93|            TIntermTyped* index = intermediate.addSwizzle(selectors, loc);
 1150|     93|            result = intermediate.addIndex(EOpVectorSwizzle, base, index, loc);
 1151|     93|            result->setType(TType(base->getBasicType(), EvqTemporary, base->getType().getQualifier().precision, selectors.size()));
 1152|     93|        }
 1153|       |        // Swizzle operations propagate specialization-constantness
 1154|    582|        if (base->getType().getQualifier().isSpecConstant())
  ------------------
  |  Branch (1154:13): [True: 0, False: 582]
  ------------------
 1155|      0|            result->getWritableType().getQualifier().makeSpecConstant();
 1156|    582|    }
 1157|       |
 1158|    582|    return result;
 1159|    582|}
_ZN7glslang13TParseContext24handleFunctionDeclaratorERKNS_10TSourceLocERNS_9TFunctionEb:
 1208|   570k|{
 1209|       |    // ES can't declare prototypes inside functions
 1210|   570k|    if (! symbolTable.atGlobalLevel())
  ------------------
  |  Branch (1210:9): [True: 0, False: 570k]
  ------------------
 1211|      0|        requireProfile(loc, ~EEsProfile, "local function declaration");
 1212|       |
 1213|       |    //
 1214|       |    // Multiple declarations of the same function name are allowed.
 1215|       |    //
 1216|       |    // If this is a definition, the definition production code will check for redefinitions
 1217|       |    // (we don't know at this point if it's a definition or not).
 1218|       |    //
 1219|       |    // Redeclarations (full signature match) are allowed.  But, return types and parameter qualifiers must also match.
 1220|       |    //  - except ES 100, which only allows a single prototype
 1221|       |    //
 1222|       |    // ES 100 does not allow redefining, but does allow overloading of built-in functions.
 1223|       |    // ES 300 does not allow redefining or overloading of built-in functions.
 1224|       |    //
 1225|   570k|    bool builtIn;
 1226|   570k|    TSymbol* symbol = symbolTable.find(function.getMangledName(), &builtIn);
 1227|   570k|    if (symbol && symbol->getAsFunction() && builtIn)
  ------------------
  |  Branch (1227:9): [True: 3.59k, False: 567k]
  |  Branch (1227:19): [True: 3.59k, False: 0]
  |  Branch (1227:46): [True: 3.59k, False: 0]
  ------------------
 1228|  3.59k|        requireProfile(loc, ~EEsProfile, "redefinition of built-in function");
 1229|       |    // Check the validity of using spirv_literal qualifier
 1230|  1.89M|    for (int i = 0; i < function.getParamCount(); ++i) {
  ------------------
  |  Branch (1230:21): [True: 1.32M, False: 570k]
  ------------------
 1231|  1.32M|        if (function[i].type->getQualifier().isSpirvLiteral() && function.getBuiltInOp() != EOpSpirvInst)
  ------------------
  |  Branch (1231:13): [True: 0, False: 1.32M]
  |  Branch (1231:66): [True: 0, False: 0]
  ------------------
 1232|      0|            error(loc, "'spirv_literal' can only be used on functions defined with 'spirv_instruction' for argument",
 1233|      0|                  function.getName().c_str(), "%d", i + 1);
 1234|  1.32M|    }
 1235|       |
 1236|       |    // For function declaration with SPIR-V instruction qualifier, always ignore the built-in function and
 1237|       |    // respect this redeclared one.
 1238|   570k|    if (symbol && builtIn && function.getBuiltInOp() == EOpSpirvInst)
  ------------------
  |  Branch (1238:9): [True: 3.59k, False: 567k]
  |  Branch (1238:19): [True: 3.59k, False: 0]
  |  Branch (1238:30): [True: 0, False: 3.59k]
  ------------------
 1239|      0|        symbol = nullptr;
 1240|   570k|    const TFunction* prevDec = symbol ? symbol->getAsFunction() : nullptr;
  ------------------
  |  Branch (1240:32): [True: 3.59k, False: 567k]
  ------------------
 1241|   570k|    if (prevDec) {
  ------------------
  |  Branch (1241:9): [True: 3.59k, False: 567k]
  ------------------
 1242|  3.59k|        if (prevDec->isPrototyped() && prototype)
  ------------------
  |  Branch (1242:13): [True: 0, False: 3.59k]
  |  Branch (1242:40): [True: 0, False: 0]
  ------------------
 1243|      0|            profileRequires(loc, EEsProfile, 300, nullptr, "multiple prototypes for same function");
 1244|  3.59k|        if (prevDec->getSpirvInstruction() != function.getSpirvInstruction()) {
  ------------------
  |  Branch (1244:13): [True: 0, False: 3.59k]
  ------------------
 1245|      0|            error(loc, "overloaded functions must have the same qualifiers", function.getName().c_str(),
 1246|      0|                  "spirv_instruction");
 1247|      0|        }
 1248|  3.59k|        bool parameterTypesDiffer = false;
 1249|  11.2k|        for (int i = 0; i < prevDec->getParamCount(); ++i) {
  ------------------
  |  Branch (1249:25): [True: 7.66k, False: 3.59k]
  ------------------
 1250|  7.66k|            if ((*prevDec)[i].type->getQualifier().storage != function[i].type->getQualifier().storage)
  ------------------
  |  Branch (1250:17): [True: 0, False: 7.66k]
  ------------------
 1251|      0|                error(loc, "overloaded functions must have the same parameter storage qualifiers for argument", function[i].type->getStorageQualifierString(), "%d", i+1);
 1252|       |
 1253|  7.66k|            if ((*prevDec)[i].type->getQualifier().precision != function[i].type->getQualifier().precision)
  ------------------
  |  Branch (1253:17): [True: 0, False: 7.66k]
  ------------------
 1254|      0|                error(loc, "overloaded functions must have the same parameter precision qualifiers for argument", function[i].type->getPrecisionQualifierString(), "%d", i+1);
 1255|       |
 1256|  7.66k|            if (*(*prevDec)[i].type != *function[i].type)
  ------------------
  |  Branch (1256:17): [True: 0, False: 7.66k]
  ------------------
 1257|      0|                parameterTypesDiffer = true;
 1258|  7.66k|        }
 1259|  3.59k|        if (!parameterTypesDiffer && prevDec->getType() != function.getType())
  ------------------
  |  Branch (1259:13): [True: 3.59k, False: 0]
  |  Branch (1259:38): [True: 0, False: 3.59k]
  ------------------
 1260|      0|            error(loc, "overloaded functions must have the same return type", function.getName().c_str(), "");
 1261|  3.59k|    }
 1262|       |
 1263|   570k|    arrayObjectCheck(loc, function.getType(), "array in function return type");
 1264|       |
 1265|   570k|    if (prototype) {
  ------------------
  |  Branch (1265:9): [True: 570k, False: 246]
  ------------------
 1266|       |        // All built-in functions are defined, even though they don't have a body.
 1267|       |        // Count their prototype as a definition instead.
 1268|   570k|        if (symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (1268:13): [True: 570k, False: 0]
  ------------------
 1269|   570k|            function.setDefined();
 1270|      0|        else {
 1271|      0|            if (prevDec && ! builtIn)
  ------------------
  |  Branch (1271:17): [True: 0, False: 0]
  |  Branch (1271:28): [True: 0, False: 0]
  ------------------
 1272|      0|                symbol->getAsFunction()->setPrototyped();  // need a writable one, but like having prevDec as a const
 1273|      0|            function.setPrototyped();
 1274|      0|        }
 1275|   570k|    }
 1276|       |
 1277|       |    // This insert won't actually insert it if it's a duplicate signature, but it will still check for
 1278|       |    // other forms of name collisions.
 1279|   570k|    if (! symbolTable.insert(function))
  ------------------
  |  Branch (1279:9): [True: 0, False: 570k]
  ------------------
 1280|      0|        error(loc, "function name is redeclaration of existing name", function.getName().c_str(), "");
 1281|       |
 1282|       |    //
 1283|       |    // If this is a redeclaration, it could also be a definition,
 1284|       |    // in which case, we need to use the parameter names from this one, and not the one that's
 1285|       |    // being redeclared.  So, pass back this declaration, not the one in the symbol table.
 1286|       |    //
 1287|   570k|    return &function;
 1288|   570k|}
_ZN7glslang13TParseContext24handleFunctionDefinitionERKNS_10TSourceLocERNS_9TFunctionE:
 1295|    246|{
 1296|    246|    currentCaller = function.getMangledName();
 1297|    246|    TSymbol* symbol = symbolTable.find(function.getMangledName());
 1298|    246|    TFunction* prevDec = symbol ? symbol->getAsFunction() : nullptr;
  ------------------
  |  Branch (1298:26): [True: 246, False: 0]
  ------------------
 1299|       |
 1300|    246|    if (! prevDec)
  ------------------
  |  Branch (1300:9): [True: 0, False: 246]
  ------------------
 1301|      0|        error(loc, "can't find function", function.getName().c_str(), "");
 1302|       |    // Note:  'prevDec' could be 'function' if this is the first time we've seen function
 1303|       |    // as it would have just been put in the symbol table.  Otherwise, we're looking up
 1304|       |    // an earlier occurrence.
 1305|       |
 1306|    246|    if (prevDec && prevDec->isDefined()) {
  ------------------
  |  Branch (1306:9): [True: 246, False: 0]
  |  Branch (1306:20): [True: 0, False: 246]
  ------------------
 1307|       |        // Then this function already has a body.
 1308|      0|        error(loc, "function already has a body", function.getName().c_str(), "");
 1309|      0|    }
 1310|    246|    if (prevDec && ! prevDec->isDefined()) {
  ------------------
  |  Branch (1310:9): [True: 246, False: 0]
  |  Branch (1310:20): [True: 246, False: 0]
  ------------------
 1311|    246|        prevDec->setDefined();
 1312|       |
 1313|       |        // Remember the return type for later checking for RETURN statements.
 1314|    246|        currentFunctionType = &(prevDec->getType());
 1315|    246|    } else
 1316|      0|        currentFunctionType = new TType(EbtVoid);
 1317|    246|    functionReturnsValue = false;
 1318|       |
 1319|       |    // Check for entry point
 1320|    246|    if (function.getName().compare(intermediate.getEntryPointName().c_str()) == 0) {
  ------------------
  |  Branch (1320:9): [True: 3, False: 243]
  ------------------
 1321|      3|        intermediate.setEntryPointMangledName(function.getMangledName().c_str());
 1322|      3|        intermediate.incrementEntryPointCount();
 1323|      3|        inMain = true;
 1324|      3|    } else
 1325|    243|        inMain = false;
 1326|       |
 1327|       |    //
 1328|       |    // Raise error message if main function takes any parameters or returns anything other than void
 1329|       |    //
 1330|    246|    if (inMain) {
  ------------------
  |  Branch (1330:9): [True: 3, False: 243]
  ------------------
 1331|      3|        if (function.getParamCount() > 0)
  ------------------
  |  Branch (1331:13): [True: 0, False: 3]
  ------------------
 1332|      0|            error(loc, "function cannot take any parameter(s)", function.getName().c_str(), "");
 1333|      3|        if (function.getType().getBasicType() != EbtVoid)
  ------------------
  |  Branch (1333:13): [True: 0, False: 3]
  ------------------
 1334|      0|            error(loc, "", function.getType().getBasicTypeString().c_str(), "entry point cannot return a value");
 1335|      3|        if (function.getLinkType() != ELinkNone)
  ------------------
  |  Branch (1335:13): [True: 0, False: 3]
  ------------------
 1336|      0|            error(loc, "main function cannot be exported", "", "");
 1337|      3|    }
 1338|       |
 1339|       |    //
 1340|       |    // New symbol table scope for body of function plus its arguments
 1341|       |    //
 1342|    246|    symbolTable.push();
 1343|       |
 1344|       |    //
 1345|       |    // Insert parameters into the symbol table.
 1346|       |    // If the parameter has no name, it's not an error, just don't insert it
 1347|       |    // (could be used for unused args).
 1348|       |    //
 1349|       |    // Also, accumulate the list of parameters into the HIL, so lower level code
 1350|       |    // knows where to find parameters.
 1351|       |    //
 1352|    246|    TIntermAggregate* paramNodes = new TIntermAggregate;
 1353|    252|    for (int i = 0; i < function.getParamCount(); i++) {
  ------------------
  |  Branch (1353:21): [True: 6, False: 246]
  ------------------
 1354|      6|        TParameter& param = function[i];
 1355|      6|        if (param.name != nullptr) {
  ------------------
  |  Branch (1355:13): [True: 6, False: 0]
  ------------------
 1356|      6|            TVariable *variable = new TVariable(param.name, *param.type);
 1357|       |
 1358|       |            // Insert the parameters with name in the symbol table.
 1359|      6|            if (! symbolTable.insert(*variable))
  ------------------
  |  Branch (1359:17): [True: 0, False: 6]
  ------------------
 1360|      0|                error(loc, "redefinition", variable->getName().c_str(), "");
 1361|      6|            else {
 1362|       |                // Transfer ownership of name pointer to symbol table.
 1363|      6|                param.name = nullptr;
 1364|       |
 1365|       |                // Add the parameter to the HIL
 1366|      6|                paramNodes = intermediate.growAggregate(paramNodes,
 1367|      6|                                                        intermediate.addSymbol(*variable, loc),
 1368|      6|                                                        loc);
 1369|      6|            }
 1370|      6|        } else
 1371|      0|            paramNodes = intermediate.growAggregate(paramNodes, intermediate.addSymbol(*param.type, loc), loc);
 1372|      6|    }
 1373|    246|    paramNodes->setLinkType(function.getLinkType());
 1374|    246|    intermediate.setAggregateOperator(paramNodes, EOpParameters, TType(EbtVoid), loc);
 1375|    246|    loopNestingLevel = 0;
 1376|    246|    statementNestingLevel = 0;
 1377|    246|    controlFlowNestingLevel = 0;
 1378|    246|    postEntryPointReturn = false;
 1379|       |
 1380|    246|    return paramNodes;
 1381|    246|}
_ZN7glslang13TParseContext18handleFunctionCallERKNS_10TSourceLocEPNS_9TFunctionEP11TIntermNode:
 1393|  2.99k|{
 1394|  2.99k|    TIntermTyped* result = nullptr;
 1395|       |
 1396|  2.99k|    if (spvVersion.vulkan != 0 && spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (1396:9): [True: 2.99k, False: 0]
  |  Branch (1396:35): [True: 0, False: 2.99k]
  ------------------
 1397|       |        // allow calls that are invalid in Vulkan Semantics to be invisibily
 1398|       |        // remapped to equivalent valid functions
 1399|      0|        result = vkRelaxedRemapFunctionCall(loc, function, arguments);
 1400|      0|        if (result)
  ------------------
  |  Branch (1400:13): [True: 0, False: 0]
  ------------------
 1401|      0|            return result;
 1402|      0|    }
 1403|       |
 1404|  2.99k|    if (function->getBuiltInOp() == EOpArrayLength)
  ------------------
  |  Branch (1404:9): [True: 0, False: 2.99k]
  ------------------
 1405|      0|        result = handleLengthMethod(loc, function, arguments);
 1406|  2.99k|    else if (function->getBuiltInOp() != EOpNull) {
  ------------------
  |  Branch (1406:14): [True: 809, False: 2.18k]
  ------------------
 1407|       |        //
 1408|       |        // Then this should be a constructor.
 1409|       |        // Don't go through the symbol table for constructors.
 1410|       |        // Their parameters will be verified algorithmically.
 1411|       |        //
 1412|    809|        TType type(EbtVoid);  // use this to get the type back
 1413|    809|        if (! constructorError(loc, arguments, *function, function->getBuiltInOp(), type)) {
  ------------------
  |  Branch (1413:13): [True: 809, False: 0]
  ------------------
 1414|       |            //
 1415|       |            // It's a constructor, of type 'type'.
 1416|       |            //
 1417|    809|            result = addConstructor(loc, arguments, type);
 1418|    809|            if (result == nullptr)
  ------------------
  |  Branch (1418:17): [True: 0, False: 809]
  ------------------
 1419|      0|                error(loc, "cannot construct with these arguments", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str(), "");
 1420|    809|        }
 1421|  2.18k|    } else {
 1422|       |        //
 1423|       |        // Find it in the symbol table.
 1424|       |        //
 1425|  2.18k|        const TFunction* fnCandidate;
 1426|  2.18k|        bool builtIn {false};
 1427|  2.18k|        fnCandidate = findFunction(loc, *function, builtIn);
 1428|  2.18k|        if (fnCandidate) {
  ------------------
  |  Branch (1428:13): [True: 1.99k, False: 192]
  ------------------
 1429|       |            // This is a declared function that might map to
 1430|       |            //  - a built-in operator,
 1431|       |            //  - a built-in function not mapped to an operator, or
 1432|       |            //  - a user function.
 1433|       |
 1434|       |            // Error check for a function requiring specific extensions present.
 1435|  1.99k|            if (builtIn &&
  ------------------
  |  Branch (1435:17): [True: 1.84k, False: 147]
  ------------------
 1436|  1.84k|                (fnCandidate->getBuiltInOp() == EOpSubgroupQuadAll || fnCandidate->getBuiltInOp() == EOpSubgroupQuadAny))
  ------------------
  |  Branch (1436:18): [True: 0, False: 1.84k]
  |  Branch (1436:71): [True: 0, False: 1.84k]
  ------------------
 1437|      0|                requireExtensions(loc, 1, &E_GL_EXT_shader_quad_control, fnCandidate->getName().c_str());
 1438|       |
 1439|  1.99k|            if (builtIn && fnCandidate->getNumExtensions())
  ------------------
  |  Branch (1439:17): [True: 1.84k, False: 147]
  |  Branch (1439:28): [True: 555, False: 1.29k]
  ------------------
 1440|    555|                requireExtensions(loc, fnCandidate->getNumExtensions(), fnCandidate->getExtensions(), fnCandidate->getName().c_str());
 1441|       |
 1442|  1.99k|            if (builtIn && fnCandidate->getType().contains16BitFloat())
  ------------------
  |  Branch (1442:17): [True: 1.84k, False: 147]
  |  Branch (1442:28): [True: 0, False: 1.84k]
  ------------------
 1443|      0|                requireFloat16Arithmetic(loc, "built-in function", "float16 types can only be in uniform block or buffer storage");
 1444|  1.99k|            if (builtIn && fnCandidate->getType().contains16BitInt())
  ------------------
  |  Branch (1444:17): [True: 1.84k, False: 147]
  |  Branch (1444:28): [True: 0, False: 1.84k]
  ------------------
 1445|      0|                requireInt16Arithmetic(loc, "built-in function", "(u)int16 types can only be in uniform block or buffer storage");
 1446|  1.99k|            if (builtIn && fnCandidate->getType().contains8BitInt())
  ------------------
  |  Branch (1446:17): [True: 1.84k, False: 147]
  |  Branch (1446:28): [True: 0, False: 1.84k]
  ------------------
 1447|      0|                requireInt8Arithmetic(loc, "built-in function", "(u)int8 types can only be in uniform block or buffer storage");
 1448|  1.99k|            if (builtIn && (fnCandidate->getBuiltInOp() == EOpTextureFetch || fnCandidate->getBuiltInOp() == EOpTextureQuerySize)) {
  ------------------
  |  Branch (1448:17): [True: 1.84k, False: 147]
  |  Branch (1448:29): [True: 54, False: 1.79k]
  |  Branch (1448:79): [True: 108, False: 1.68k]
  ------------------
 1449|    162|                if ((*fnCandidate)[0].type->getSampler().isMultiSample() && version <= 140)
  ------------------
  |  Branch (1449:21): [True: 24, False: 138]
  |  Branch (1449:77): [True: 0, False: 24]
  ------------------
 1450|      0|                    requireExtensions(loc, 1, &E_GL_ARB_texture_multisample, fnCandidate->getName().c_str());
 1451|    162|            }
 1452|  1.99k|            bool hasLongVectorArg = false;
 1453|  1.99k|            if (arguments != nullptr) {
  ------------------
  |  Branch (1453:17): [True: 1.85k, False: 144]
  ------------------
 1454|       |                // Make sure qualifications work for these arguments.
 1455|  1.85k|                TIntermAggregate* aggregate = arguments->getAsAggregate();
 1456|  8.34k|                for (int i = 0; i < fnCandidate->getParamCount(); ++i) {
  ------------------
  |  Branch (1456:33): [True: 6.48k, False: 1.85k]
  ------------------
 1457|       |                    // At this early point there is a slight ambiguity between whether an aggregate 'arguments'
 1458|       |                    // is the single argument itself or its children are the arguments.  Only one argument
 1459|       |                    // means take 'arguments' itself as the one argument.
 1460|  6.48k|                    if ((*fnCandidate)[i].defaultValue) {
  ------------------
  |  Branch (1460:25): [True: 0, False: 6.48k]
  ------------------
 1461|      0|                        if (!aggregate) {
  ------------------
  |  Branch (1461:29): [True: 0, False: 0]
  ------------------
 1462|       |                            // Only one argument was passed (rest are default arguments) so arguments isn't a TIntermAggregate.
 1463|       |                            // But the function takes at least one more argument, so a TIntermAggregate is needed.
 1464|      0|                            aggregate = new TIntermAggregate;
 1465|      0|                            aggregate->getSequence().push_back(arguments);
 1466|      0|                            arguments = aggregate;
 1467|      0|                        }
 1468|      0|                        if (i >= static_cast<int>(aggregate->getSequence().size())) {
  ------------------
  |  Branch (1468:29): [True: 0, False: 0]
  ------------------
 1469|       |                            // Append the default value if there are no more arguments left in the aggregate.
 1470|      0|                            TIntermConstantUnion *defaultValue = nullptr;
 1471|      0|                            if (const auto *constUnion = (*fnCandidate)[i].defaultValue->getAsConstantUnion()) {
  ------------------
  |  Branch (1471:45): [True: 0, False: 0]
  ------------------
 1472|      0|                                defaultValue = new TIntermConstantUnion(constUnion->getConstArray(), constUnion->getType());
 1473|      0|                            }
 1474|      0|                            assert(defaultValue && "unsupported default value construct");
 1475|      0|                            aggregate->getSequence().push_back(defaultValue);
 1476|      0|                        }
 1477|      0|                    }
 1478|  6.48k|                    TIntermNode* arg = fnCandidate->getParamCount() == 1 ? arguments : (aggregate ? aggregate->getSequence()[i] : arguments);
  ------------------
  |  Branch (1478:40): [True: 123, False: 6.36k]
  |  Branch (1478:89): [True: 6.36k, False: 0]
  ------------------
 1479|  6.48k|                    TQualifier& formalQualifier = (*fnCandidate)[i].type->getQualifier();
 1480|  6.48k|                    if (formalQualifier.isParamOutput()) {
  ------------------
  |  Branch (1480:25): [True: 444, False: 6.04k]
  ------------------
 1481|    444|                        if (lValueErrorCheck(arguments->getLoc(), "assign", arg->getAsTyped()))
  ------------------
  |  Branch (1481:29): [True: 0, False: 444]
  ------------------
 1482|      0|                            error(arguments->getLoc(), "Non-L-value cannot be passed for 'out' or 'inout' parameters.", "out", "");
 1483|    444|                    }
 1484|  6.48k|                    if (formalQualifier.isSpirvLiteral()) {
  ------------------
  |  Branch (1484:25): [True: 0, False: 6.48k]
  ------------------
 1485|      0|                        if (!arg->getAsTyped()->getQualifier().isFrontEndConstant()) {
  ------------------
  |  Branch (1485:29): [True: 0, False: 0]
  ------------------
 1486|      0|                            error(arguments->getLoc(),
 1487|      0|                                  "Non front-end constant expressions cannot be passed for 'spirv_literal' parameters.",
 1488|      0|                                  "spirv_literal", "");
 1489|      0|                        }
 1490|      0|                    }
 1491|  6.48k|                    const TType& argType = arg->getAsTyped()->getType();
 1492|  6.48k|                    const TQualifier& argQualifier = argType.getQualifier();
 1493|  6.48k|                    bool containsBindlessSampler = intermediate.getBindlessMode() && argType.containsSampler();
  ------------------
  |  Branch (1493:52): [True: 0, False: 6.48k]
  |  Branch (1493:86): [True: 0, False: 0]
  ------------------
 1494|  6.48k|                    if (argQualifier.isMemory() && !containsBindlessSampler && (argType.containsOpaque() || argType.isReference())) {
  ------------------
  |  Branch (1494:25): [True: 0, False: 6.48k]
  |  Branch (1494:52): [True: 0, False: 0]
  |  Branch (1494:81): [True: 0, False: 0]
  |  Branch (1494:109): [True: 0, False: 0]
  ------------------
 1495|      0|                        const char* message = "argument cannot drop memory qualifier when passed to formal parameter";
 1496|      0|                        if (argQualifier.volatil && ! formalQualifier.volatil)
  ------------------
  |  Branch (1496:29): [True: 0, False: 0]
  |  Branch (1496:53): [True: 0, False: 0]
  ------------------
 1497|      0|                            error(arguments->getLoc(), message, "volatile", "");
 1498|      0|                        if (argQualifier.coherent && ! (formalQualifier.devicecoherent || formalQualifier.coherent))
  ------------------
  |  Branch (1498:29): [True: 0, False: 0]
  |  Branch (1498:57): [True: 0, False: 0]
  |  Branch (1498:91): [True: 0, False: 0]
  ------------------
 1499|      0|                            error(arguments->getLoc(), message, "coherent", "");
 1500|      0|                        if (argQualifier.devicecoherent && ! (formalQualifier.devicecoherent || formalQualifier.coherent))
  ------------------
  |  Branch (1500:29): [True: 0, False: 0]
  |  Branch (1500:63): [True: 0, False: 0]
  |  Branch (1500:97): [True: 0, False: 0]
  ------------------
 1501|      0|                            error(arguments->getLoc(), message, "devicecoherent", "");
 1502|      0|                        if (argQualifier.queuefamilycoherent && ! (formalQualifier.queuefamilycoherent || formalQualifier.devicecoherent || formalQualifier.coherent))
  ------------------
  |  Branch (1502:29): [True: 0, False: 0]
  |  Branch (1502:68): [True: 0, False: 0]
  |  Branch (1502:107): [True: 0, False: 0]
  |  Branch (1502:141): [True: 0, False: 0]
  ------------------
 1503|      0|                            error(arguments->getLoc(), message, "queuefamilycoherent", "");
 1504|      0|                        if (argQualifier.workgroupcoherent && ! (formalQualifier.workgroupcoherent || formalQualifier.queuefamilycoherent || formalQualifier.devicecoherent || formalQualifier.coherent))
  ------------------
  |  Branch (1504:29): [True: 0, False: 0]
  |  Branch (1504:66): [True: 0, False: 0]
  |  Branch (1504:103): [True: 0, False: 0]
  |  Branch (1504:142): [True: 0, False: 0]
  |  Branch (1504:176): [True: 0, False: 0]
  ------------------
 1505|      0|                            error(arguments->getLoc(), message, "workgroupcoherent", "");
 1506|      0|                        if (argQualifier.subgroupcoherent && ! (formalQualifier.subgroupcoherent || formalQualifier.workgroupcoherent || formalQualifier.queuefamilycoherent || formalQualifier.devicecoherent || formalQualifier.coherent))
  ------------------
  |  Branch (1506:29): [True: 0, False: 0]
  |  Branch (1506:65): [True: 0, False: 0]
  |  Branch (1506:101): [True: 0, False: 0]
  |  Branch (1506:138): [True: 0, False: 0]
  |  Branch (1506:177): [True: 0, False: 0]
  |  Branch (1506:211): [True: 0, False: 0]
  ------------------
 1507|      0|                            error(arguments->getLoc(), message, "subgroupcoherent", "");
 1508|      0|                        if (argQualifier.readonly && ! formalQualifier.readonly)
  ------------------
  |  Branch (1508:29): [True: 0, False: 0]
  |  Branch (1508:54): [True: 0, False: 0]
  ------------------
 1509|      0|                            error(arguments->getLoc(), message, "readonly", "");
 1510|      0|                        if (argQualifier.writeonly && ! formalQualifier.writeonly)
  ------------------
  |  Branch (1510:29): [True: 0, False: 0]
  |  Branch (1510:55): [True: 0, False: 0]
  ------------------
 1511|      0|                            error(arguments->getLoc(), message, "writeonly", "");
 1512|      0|                        if (argQualifier.nontemporal && ! formalQualifier.nontemporal)
  ------------------
  |  Branch (1512:29): [True: 0, False: 0]
  |  Branch (1512:57): [True: 0, False: 0]
  ------------------
 1513|      0|                            error(arguments->getLoc(), message, "nontemporal", "");
 1514|       |                        // Don't check 'restrict', it is different than the rest:
 1515|       |                        // "...but only restrict can be taken away from a calling argument, by a formal parameter that
 1516|       |                        // lacks the restrict qualifier..."
 1517|      0|                    }
 1518|  6.48k|                    if (!builtIn && argQualifier.getFormat() != formalQualifier.getFormat()) {
  ------------------
  |  Branch (1518:25): [True: 3, False: 6.48k]
  |  Branch (1518:37): [True: 0, False: 3]
  ------------------
 1519|       |                        // we have mismatched formats, which should only be allowed if writeonly
 1520|       |                        // and at least one format is unknown
 1521|      0|                        if (!formalQualifier.isWriteOnly() || (formalQualifier.getFormat() != ElfNone &&
  ------------------
  |  Branch (1521:29): [True: 0, False: 0]
  |  Branch (1521:64): [True: 0, False: 0]
  ------------------
 1522|      0|                                                                  argQualifier.getFormat() != ElfNone))
  ------------------
  |  Branch (1522:67): [True: 0, False: 0]
  ------------------
 1523|      0|                            error(arguments->getLoc(), "image formats must match", "format", "");
 1524|      0|                    }
 1525|  6.48k|                    if (builtIn && arg->getAsTyped()->getType().contains16BitFloat())
  ------------------
  |  Branch (1525:25): [True: 6.48k, False: 3]
  |  Branch (1525:36): [True: 0, False: 6.48k]
  ------------------
 1526|      0|                        requireFloat16Arithmetic(arguments->getLoc(), "built-in function", "float16 types can only be in uniform block or buffer storage");
 1527|  6.48k|                    if (builtIn && arg->getAsTyped()->getType().contains16BitInt())
  ------------------
  |  Branch (1527:25): [True: 6.48k, False: 3]
  |  Branch (1527:36): [True: 0, False: 6.48k]
  ------------------
 1528|      0|                        requireInt16Arithmetic(arguments->getLoc(), "built-in function", "(u)int16 types can only be in uniform block or buffer storage");
 1529|  6.48k|                    if (builtIn && arg->getAsTyped()->getType().contains8BitInt())
  ------------------
  |  Branch (1529:25): [True: 6.48k, False: 3]
  |  Branch (1529:36): [True: 0, False: 6.48k]
  ------------------
 1530|      0|                        requireInt8Arithmetic(arguments->getLoc(), "built-in function", "(u)int8 types can only be in uniform block or buffer storage");
 1531|       |
 1532|       |                    // Check that coopVecOuterProductAccumulateNV vector component types match
 1533|  6.48k|                    if (builtIn && fnCandidate->getBuiltInOp() == EOpCooperativeVectorOuterProductAccumulateNV &&
  ------------------
  |  Branch (1533:25): [True: 6.48k, False: 3]
  |  Branch (1533:36): [True: 0, False: 6.48k]
  ------------------
 1534|      0|                        i == 1 && arg->getAsTyped()->getType().getBasicType() != aggregate->getSequence()[0]->getAsTyped()->getType().getBasicType())
  ------------------
  |  Branch (1534:25): [True: 0, False: 0]
  |  Branch (1534:35): [True: 0, False: 0]
  ------------------
 1535|      0|                        error(arguments->getLoc(), "cooperative vector basic types must match", fnCandidate->getName().c_str(), "");
 1536|       |
 1537|       |                    // Check that coopVecLoadNV and coopVecStoreNV buffer parameter is in buffer or shared storage
 1538|  6.48k|                    if (builtIn && (fnCandidate->getBuiltInOp() == EOpCooperativeVectorLoadNV ||
  ------------------
  |  Branch (1538:25): [True: 6.48k, False: 3]
  |  Branch (1538:37): [True: 0, False: 6.48k]
  ------------------
 1539|  6.48k|                                    fnCandidate->getBuiltInOp() == EOpCooperativeVectorStoreNV) &&
  ------------------
  |  Branch (1539:37): [True: 0, False: 6.48k]
  ------------------
 1540|      0|                        i == 1) {
  ------------------
  |  Branch (1540:25): [True: 0, False: 0]
  ------------------
 1541|      0|                        TStorageQualifier storage = arg->getAsTyped()->getType().getQualifier().storage;
 1542|      0|                        if (storage != EvqBuffer && storage != EvqShared) {
  ------------------
  |  Branch (1542:29): [True: 0, False: 0]
  |  Branch (1542:53): [True: 0, False: 0]
  ------------------
 1543|      0|                            error(arguments->getLoc(), "buffer argument must be in buffer or shared storage", 
 1544|      0|                                  fnCandidate->getName().c_str(), "");
 1545|      0|                        }
 1546|      0|                    }
 1547|       |
 1548|  6.48k|                    if (argType.isLongVector()) {
  ------------------
  |  Branch (1548:25): [True: 0, False: 6.48k]
  ------------------
 1549|      0|                        hasLongVectorArg = true;
 1550|      0|                    }
 1551|       |
 1552|       |                    // TODO 4.5 functionality:  A shader will fail to compile
 1553|       |                    // if the value passed to the memargument of an atomic memory function does not correspond to a buffer or
 1554|       |                    // shared variable. It is acceptable to pass an element of an array or a single component of a vector to the
 1555|       |                    // memargument of an atomic memory function, as long as the underlying array or vector is a buffer or
 1556|       |                    // shared variable.
 1557|  6.48k|                }
 1558|       |
 1559|       |                // Convert 'in' arguments
 1560|  1.85k|                addInputArgumentConversions(*fnCandidate, arguments);  // arguments may be modified if it's just a single argument node
 1561|  1.85k|            }
 1562|       |
 1563|  1.99k|            if (builtIn && fnCandidate->getBuiltInOp() != EOpNull) {
  ------------------
  |  Branch (1563:17): [True: 1.84k, False: 147]
  |  Branch (1563:28): [True: 1.84k, False: 0]
  ------------------
 1564|       |                // A function call mapped to a built-in operation.
 1565|  1.84k|                result = handleBuiltInFunctionCall(loc, arguments, *fnCandidate);
 1566|  1.84k|            } else if (fnCandidate->getBuiltInOp() == EOpSpirvInst) {
  ------------------
  |  Branch (1566:24): [True: 0, False: 147]
  ------------------
 1567|       |                // When SPIR-V instruction qualifier is specified, the function call is still mapped to a built-in operation.
 1568|      0|                result = handleBuiltInFunctionCall(loc, arguments, *fnCandidate);
 1569|    147|            } else {
 1570|       |                // This is a function call not mapped to built-in operator.
 1571|       |                // It could still be a built-in function, but only if PureOperatorBuiltins == false.
 1572|    147|                result = intermediate.setAggregateOperator(arguments, EOpFunctionCall, fnCandidate->getType(), loc);
 1573|    147|                TIntermAggregate* call = result->getAsAggregate();
 1574|    147|                call->setName(fnCandidate->getMangledName());
 1575|       |
 1576|       |                // this is how we know whether the given function is a built-in function or a user-defined function
 1577|       |                // if builtIn == false, it's a userDefined -> could be an overloaded built-in function also
 1578|       |                // if builtIn == true, it's definitely a built-in function with EOpNull
 1579|    147|                if (! builtIn) {
  ------------------
  |  Branch (1579:21): [True: 147, False: 0]
  ------------------
 1580|    147|                    call->setUserDefined();
 1581|    147|                    if (symbolTable.atGlobalLevel()) {
  ------------------
  |  Branch (1581:25): [True: 0, False: 147]
  ------------------
 1582|      0|                        requireProfile(loc, ~EEsProfile, "calling user function from global scope");
 1583|      0|                        intermediate.addToCallGraph(infoSink, "main(", fnCandidate->getMangledName());
 1584|      0|                    } else
 1585|    147|                        intermediate.addToCallGraph(infoSink, currentCaller, fnCandidate->getMangledName());
 1586|    147|                }
 1587|       |
 1588|    147|                if (builtIn)
  ------------------
  |  Branch (1588:21): [True: 0, False: 147]
  ------------------
 1589|      0|                    nonOpBuiltInCheck(loc, *fnCandidate, *call);
 1590|    147|                else
 1591|    147|                    userFunctionCallCheck(loc, *call);
 1592|    147|            }
 1593|       |
 1594|  1.99k|            if (hasLongVectorArg && fnCandidate->getBuiltInOp() != EOpNull) {
  ------------------
  |  Branch (1594:17): [True: 0, False: 1.99k]
  |  Branch (1594:37): [True: 0, False: 0]
  ------------------
 1595|      0|                TType longVectorResultType(EbtVoid);
 1596|      0|                handleLongVectorBuiltin(loc, fnCandidate, &longVectorResultType, arguments);
 1597|      0|                result->setType(longVectorResultType);
 1598|      0|            }
 1599|       |
 1600|       |            // Convert 'out' arguments.  If it was a constant folded built-in, it won't be an aggregate anymore.
 1601|       |            // Built-ins with a single argument aren't called with an aggregate, but they also don't have an output.
 1602|       |            // Also, build the qualifier list for user function calls, which are always called with an aggregate.
 1603|  1.99k|            if (result->getAsAggregate()) {
  ------------------
  |  Branch (1603:17): [True: 1.87k, False: 120]
  ------------------
 1604|  1.87k|                TQualifierList& qualifierList = result->getAsAggregate()->getQualifierList();
 1605|  8.24k|                for (int i = 0; i < fnCandidate->getParamCount(); ++i) {
  ------------------
  |  Branch (1605:33): [True: 6.36k, False: 1.87k]
  ------------------
 1606|  6.36k|                    TStorageQualifier qual = (*fnCandidate)[i].type->getQualifier().storage;
 1607|  6.36k|                    qualifierList.push_back(qual);
 1608|  6.36k|                }
 1609|  1.87k|                result = addOutputArgumentConversions(*fnCandidate, *result->getAsAggregate());
 1610|  1.87k|            }
 1611|       |
 1612|  1.99k|            handleCoopMat2FunctionCall(loc, fnCandidate, result, arguments);
 1613|       |
 1614|  1.99k|            handleVector2CoopMatConversionCall(loc, fnCandidate, result, arguments);
 1615|       |
 1616|  1.99k|            if (result->getAsTyped()->getType().isCoopVecOrLongVector() &&
  ------------------
  |  Branch (1616:17): [True: 0, False: 1.99k]
  ------------------
 1617|      0|               !result->getAsTyped()->getType().isParameterized()) {
  ------------------
  |  Branch (1617:16): [True: 0, False: 0]
  ------------------
 1618|      0|                if (auto unaryNode = result->getAsUnaryNode())
  ------------------
  |  Branch (1618:26): [True: 0, False: 0]
  ------------------
 1619|      0|                    result->setType(unaryNode->getOperand()->getAsTyped()->getType());
 1620|      0|                else
 1621|      0|                    result->setType(result->getAsAggregate()->getSequence()[0]->getAsTyped()->getType());
 1622|      0|            }
 1623|       |
 1624|  1.99k|            if (fnCandidate->getBuiltInOp() == EOpConstructSaturated) {
  ------------------
  |  Branch (1624:17): [True: 0, False: 1.99k]
  ------------------
 1625|       |                // result type is taken from the first parameter
 1626|      0|                result->setType(result->getAsAggregate()->getSequence()[0]->getAsTyped()->getType());
 1627|      0|            }
 1628|  1.99k|        }
 1629|  2.18k|    }
 1630|       |
 1631|       |    // generic error recovery
 1632|       |    // TODO: simplification: localize all the error recoveries that look like this, and taking type into account to reduce cascades
 1633|  2.99k|    if (result == nullptr)
  ------------------
  |  Branch (1633:9): [True: 192, False: 2.80k]
  ------------------
 1634|    192|        result = intermediate.addConstantUnion(0.0, EbtFloat, loc);
 1635|       |
 1636|  2.99k|    return result;
 1637|  2.99k|}
_ZN7glslang13TParseContext26handleCoopMat2FunctionCallERKNS_10TSourceLocEPKNS_9TFunctionEPNS_12TIntermTypedEP11TIntermNode:
 1640|  1.99k|{
 1641|  1.99k|    if (arguments && arguments->getAsAggregate()) {
  ------------------
  |  Branch (1641:9): [True: 1.85k, False: 144]
  |  Branch (1641:22): [True: 1.72k, False: 123]
  ------------------
 1642|  1.72k|        auto &sequence = arguments->getAsAggregate()->getSequence();
 1643|  8.09k|        for (uint32_t i = 0; i < sequence.size(); ++i) {
  ------------------
  |  Branch (1643:30): [True: 6.36k, False: 1.72k]
  ------------------
 1644|  6.36k|            auto param = sequence[i];
 1645|  6.36k|            if (param->getAsTyped()->getBasicType() == EbtFunction) {
  ------------------
  |  Branch (1645:17): [True: 0, False: 6.36k]
  ------------------
 1646|       |                // Add the function to the callgraph
 1647|      0|                intermediate.addToCallGraph(infoSink, currentCaller, param->getAsSymbolNode()->getMangledName());
 1648|       |
 1649|       |                // error checking that all parameters are 'const in'
 1650|      0|                if (fnCandidate->getBuiltInOp() == EOpCooperativeMatrixLoadTensorNV ||
  ------------------
  |  Branch (1650:21): [True: 0, False: 0]
  ------------------
 1651|      0|                    fnCandidate->getBuiltInOp() == EOpCooperativeMatrixReduceNV ||
  ------------------
  |  Branch (1651:21): [True: 0, False: 0]
  ------------------
 1652|      0|                    fnCandidate->getBuiltInOp() == EOpCooperativeMatrixPerElementOpNV) {
  ------------------
  |  Branch (1652:21): [True: 0, False: 0]
  ------------------
 1653|      0|                    const TFunction* func = symbolTable.find(param->getAsSymbolNode()->getMangledName())->getAsFunction();
 1654|      0|                    for (int i = 0; i < func->getParamCount(); ++i) {
  ------------------
  |  Branch (1654:37): [True: 0, False: 0]
  ------------------
 1655|      0|                        const TParameter& arg = (*func)[i];
 1656|      0|                        const TQualifier& formalQualifier = arg.type->getQualifier();
 1657|      0|                        if (formalQualifier.storage != EvqConstReadOnly) {
  ------------------
  |  Branch (1657:29): [True: 0, False: 0]
  ------------------
 1658|      0|                            error(loc, "function parameters must all be qualified 'const in'", param->getAsSymbolNode()->getMangledName().c_str(), "");
 1659|      0|                        }
 1660|      0|                    }
 1661|      0|                }
 1662|       |
 1663|       |
 1664|       |                // error checking reduce function has matching parameters
 1665|      0|                if (fnCandidate->getBuiltInOp() == EOpCooperativeMatrixReduceNV) {
  ------------------
  |  Branch (1665:21): [True: 0, False: 0]
  ------------------
 1666|      0|                    const TFunction* combineOp = symbolTable.find(param->getAsSymbolNode()->getMangledName())->getAsFunction();
 1667|       |
 1668|      0|                    if (combineOp->getParamCount() != 2) {
  ------------------
  |  Branch (1668:25): [True: 0, False: 0]
  ------------------
 1669|      0|                        error(loc, "must have two parameters", param->getAsSymbolNode()->getMangledName().c_str(), "");
 1670|      0|                    }
 1671|       |
 1672|      0|                    for (int i = 0; i < combineOp->getParamCount(); ++i) {
  ------------------
  |  Branch (1672:37): [True: 0, False: 0]
  ------------------
 1673|      0|                        const TParameter& arg = (*combineOp)[i];
 1674|      0|                        if (sequence[1]->getAsTyped()->getType().getBasicType() != arg.type->getBasicType()) {
  ------------------
  |  Branch (1674:29): [True: 0, False: 0]
  ------------------
 1675|      0|                            error(loc, "parameter types must match cooperative matrix component type", param->getAsSymbolNode()->getMangledName().c_str(), "");
 1676|      0|                        }
 1677|      0|                    }
 1678|      0|                    if (sequence[1]->getAsTyped()->getType().getBasicType() != combineOp->getType().getBasicType()) {
  ------------------
  |  Branch (1678:25): [True: 0, False: 0]
  ------------------
 1679|      0|                        error(loc, "return type must match cooperative matrix component type", param->getAsSymbolNode()->getMangledName().c_str(), "");
 1680|      0|                    }
 1681|      0|                }
 1682|       |
 1683|       |                // error checking perelement op has correct parameters
 1684|      0|                if (fnCandidate->getBuiltInOp() == EOpCooperativeMatrixPerElementOpNV) {
  ------------------
  |  Branch (1684:21): [True: 0, False: 0]
  ------------------
 1685|      0|                    const TFunction* elemOp = symbolTable.find(param->getAsSymbolNode()->getMangledName())->getAsFunction();
 1686|       |
 1687|      0|                    if (sequence[1]->getAsTyped()->getType() != sequence[0]->getAsTyped()->getType()) {
  ------------------
  |  Branch (1687:25): [True: 0, False: 0]
  ------------------
 1688|      0|                        error(loc, "cooperative matrix input and result types must match", "", "");
 1689|      0|                    }
 1690|       |
 1691|      0|                    if (elemOp->getParamCount() < 3) {
  ------------------
  |  Branch (1691:25): [True: 0, False: 0]
  ------------------
 1692|      0|                        error(loc, "not enough parameters", param->getAsSymbolNode()->getMangledName().c_str(), "");
 1693|      0|                    } else if (elemOp->getParamCount() != (int)sequence.size()) {
  ------------------
  |  Branch (1693:32): [True: 0, False: 0]
  ------------------
 1694|      0|                        error(loc, "number of parameters must match call to coopMatPerElementNV", param->getAsSymbolNode()->getMangledName().c_str(), "");
 1695|      0|                    } else {
 1696|      0|                        if ((*elemOp)[0].type->getBasicType() != EbtUint || (*elemOp)[1].type->getBasicType() != EbtUint) {
  ------------------
  |  Branch (1696:29): [True: 0, False: 0]
  |  Branch (1696:77): [True: 0, False: 0]
  ------------------
 1697|      0|                            error(loc, "row/column parameters must be uint32_t", param->getAsSymbolNode()->getMangledName().c_str(), "");
 1698|      0|                        }
 1699|       |
 1700|      0|                        const TParameter& matArg = (*elemOp)[2];
 1701|      0|                        if (sequence[1]->getAsTyped()->getType().getBasicType() != matArg.type->getBasicType()) {
  ------------------
  |  Branch (1701:29): [True: 0, False: 0]
  ------------------
 1702|      0|                            error(loc, "third parameter must match cooperative matrix component type", param->getAsSymbolNode()->getMangledName().c_str(), "");
 1703|      0|                        }
 1704|       |
 1705|      0|                        for (int i = 3; i < elemOp->getParamCount(); ++i) {
  ------------------
  |  Branch (1705:41): [True: 0, False: 0]
  ------------------
 1706|      0|                            const TParameter& arg = (*elemOp)[i];
 1707|      0|                            if (sequence[i]->getAsTyped()->getType().getBasicType() != arg.type->getBasicType()) {
  ------------------
  |  Branch (1707:33): [True: 0, False: 0]
  ------------------
 1708|      0|                                error(loc, "parameter types must match or be cooperative matrix component type", param->getAsSymbolNode()->getMangledName().c_str(), "");
 1709|      0|                            }
 1710|      0|                        }
 1711|      0|                        if (sequence[1]->getAsTyped()->getType().getBasicType() != elemOp->getType().getBasicType()) {
  ------------------
  |  Branch (1711:29): [True: 0, False: 0]
  ------------------
 1712|      0|                            error(loc, "return type must match cooperative matrix component type", param->getAsSymbolNode()->getMangledName().c_str(), "");
 1713|      0|                        }
 1714|      0|                    }
 1715|      0|                }
 1716|      0|            }
 1717|  6.36k|        }
 1718|       |
 1719|       |        // Validate the decode function(s) for coopMatLoadTensorNV.
 1720|       |        //
 1721|       |        //   coopMatLoadTensorNV(mat, buf, off, t [, view] [, decodeFunc [, decodeVectorFunc]])
 1722|       |        //
 1723|       |        // The decode function rules are:
 1724|       |        //   * decodeFunc:        scalar return matching the matrix component type.
 1725|       |        //   * decodeVectorFunc:  optional, requires GL_NV_cooperative_matrix_decode_vector.
 1726|       |        //                        Vector return of the matrix component type with V in {2,4,8}.
 1727|       |        // Each function is validated independently; their parameter lists do
 1728|       |        // not need to match (the buffer_reference type may differ between the
 1729|       |        // two so the shader can type-view the same byte address differently).
 1730|       |        // The non-decode load form (no function args) is allowed and skipped here.
 1731|  1.72k|        if (fnCandidate->getBuiltInOp() == EOpCooperativeMatrixLoadTensorNV) {
  ------------------
  |  Branch (1731:13): [True: 0, False: 1.72k]
  ------------------
 1732|      0|            std::vector<TIntermNode*> funcArgs;
 1733|      0|            for (uint32_t i = 0; i < sequence.size(); ++i) {
  ------------------
  |  Branch (1733:34): [True: 0, False: 0]
  ------------------
 1734|      0|                if (sequence[i]->getAsTyped()->getBasicType() == EbtFunction) {
  ------------------
  |  Branch (1734:21): [True: 0, False: 0]
  ------------------
 1735|      0|                    funcArgs.push_back(sequence[i]);
 1736|      0|                }
 1737|      0|            }
 1738|      0|            assert(funcArgs.size() <= 2);
 1739|       |
 1740|      0|            auto checkBaseShape = [&](const TFunction* fn, const char* name) {
 1741|      0|                if (fn->getParamCount() != 3) {
 1742|      0|                    error(loc, "must have three parameters", name, "");
 1743|      0|                    return;
 1744|      0|                }
 1745|      0|                if ((*fn)[0].type->getBasicType() != EbtReference) {
 1746|      0|                    error(loc, "first parameter must be buffer reference type", name, "");
 1747|      0|                }
 1748|      0|                if ((*fn)[1].type->getBasicType() != EbtUint || (*fn)[2].type->getBasicType() != EbtUint) {
 1749|      0|                    error(loc, "coordinate parameters must be uint32_t", name, "");
 1750|      0|                }
 1751|      0|                if (!(*fn)[1].type->isArray() || !(*fn)[2].type->isArray()) {
 1752|      0|                    error(loc, "coordinate parameters must be uint32_t", name, "");
 1753|      0|                }
 1754|      0|            };
 1755|       |
 1756|      0|            const TType& matType = sequence[0]->getAsTyped()->getType();
 1757|       |
 1758|      0|            if (funcArgs.size() >= 1) {
  ------------------
  |  Branch (1758:17): [True: 0, False: 0]
  ------------------
 1759|      0|                const char* scalarName = funcArgs[0]->getAsSymbolNode()->getMangledName().c_str();
 1760|      0|                const TFunction* scalarFn =
 1761|      0|                    symbolTable.find(funcArgs[0]->getAsSymbolNode()->getMangledName())->getAsFunction();
 1762|      0|                checkBaseShape(scalarFn, scalarName);
 1763|      0|                const TType& retType = scalarFn->getType();
 1764|      0|                if (retType.getBasicType() != matType.getBasicType() ||
  ------------------
  |  Branch (1764:21): [True: 0, False: 0]
  ------------------
 1765|      0|                    retType.isVector() || retType.isLongVector() ||
  ------------------
  |  Branch (1765:21): [True: 0, False: 0]
  |  Branch (1765:43): [True: 0, False: 0]
  ------------------
 1766|      0|                    retType.isArray() || retType.isStruct() || retType.isMatrix()) {
  ------------------
  |  Branch (1766:21): [True: 0, False: 0]
  |  Branch (1766:42): [True: 0, False: 0]
  |  Branch (1766:64): [True: 0, False: 0]
  ------------------
 1767|      0|                    error(loc, "decodeFunc return type must be the cooperative matrix component type (scalar)",
 1768|      0|                          scalarName, "");
 1769|      0|                }
 1770|      0|            }
 1771|       |
 1772|      0|            if (funcArgs.size() == 2) {
  ------------------
  |  Branch (1772:17): [True: 0, False: 0]
  ------------------
 1773|      0|                requireExtensions(loc, 1, &E_GL_NV_cooperative_matrix_decode_vector,
 1774|      0|                                  "coopMatLoadTensorNV decodeVectorFunc argument");
 1775|       |
 1776|      0|                const char* vectorName = funcArgs[1]->getAsSymbolNode()->getMangledName().c_str();
 1777|      0|                const TFunction* vectorFn =
 1778|      0|                    symbolTable.find(funcArgs[1]->getAsSymbolNode()->getMangledName())->getAsFunction();
 1779|      0|                checkBaseShape(vectorFn, vectorName);
 1780|       |
 1781|      0|                const TType& retType = vectorFn->getType();
 1782|      0|                const bool retIsVector = retType.isVector() || retType.isLongVector();
  ------------------
  |  Branch (1782:42): [True: 0, False: 0]
  |  Branch (1782:64): [True: 0, False: 0]
  ------------------
 1783|      0|                if (!retIsVector) {
  ------------------
  |  Branch (1783:21): [True: 0, False: 0]
  ------------------
 1784|      0|                    error(loc, "decodeVectorFunc return type must be a vector of the matrix component type",
 1785|      0|                          vectorName, "");
 1786|      0|                } else {
 1787|      0|                    if (retType.getBasicType() != matType.getBasicType()) {
  ------------------
  |  Branch (1787:25): [True: 0, False: 0]
  ------------------
 1788|      0|                        error(loc, "decodeVectorFunc return type component must match cooperative matrix component type",
 1789|      0|                              vectorName, "");
 1790|      0|                    }
 1791|      0|                    if (!retType.hasSpecConstantVectorComponents()) {
  ------------------
  |  Branch (1791:25): [True: 0, False: 0]
  ------------------
 1792|      0|                        const uint32_t V = retType.isLongVector()
  ------------------
  |  Branch (1792:44): [True: 0, False: 0]
  ------------------
 1793|      0|                            ? static_cast<uint32_t>(retType.getTypeParameters()->arraySizes->getDimSize(0))
 1794|      0|                            : static_cast<uint32_t>(retType.getVectorSize());
 1795|      0|                        if (V != 2 && V != 4 && V != 8) {
  ------------------
  |  Branch (1795:29): [True: 0, False: 0]
  |  Branch (1795:39): [True: 0, False: 0]
  |  Branch (1795:49): [True: 0, False: 0]
  ------------------
 1796|      0|                            error(loc, "decodeVectorFunc return vector length must be 2, 4, or 8",
 1797|      0|                                  vectorName, "");
 1798|      0|                        }
 1799|      0|                    }
 1800|      0|                }
 1801|      0|            }
 1802|      0|        }
 1803|  1.72k|    }
 1804|  1.99k|    if ((result->getAsTyped()->getType().isCoopMat() ||
  ------------------
  |  Branch (1804:10): [True: 0, False: 1.99k]
  ------------------
 1805|  1.99k|         result->getAsTyped()->getType().isTensorLayoutNV() ||
  ------------------
  |  Branch (1805:10): [True: 0, False: 1.99k]
  ------------------
 1806|  1.99k|         result->getAsTyped()->getType().isTensorViewNV()) &&
  ------------------
  |  Branch (1806:10): [True: 0, False: 1.99k]
  ------------------
 1807|      0|       !result->getAsTyped()->getType().isParameterized()) {
  ------------------
  |  Branch (1807:8): [True: 0, False: 0]
  ------------------
 1808|      0|        assert(fnCandidate->getBuiltInOp() == EOpCooperativeMatrixMulAdd ||
 1809|      0|               fnCandidate->getBuiltInOp() == EOpCooperativeMatrixMulAddNV ||
 1810|      0|               fnCandidate->getBuiltInOp() == EOpCooperativeMatrixReduceNV ||
 1811|      0|               fnCandidate->getBuiltInOp() == EOpCooperativeMatrixPerElementOpNV ||
 1812|      0|               fnCandidate->getBuiltInOp() == EOpCooperativeMatrixTransposeNV ||
 1813|      0|               fnCandidate->getBuiltInOp() == EOpCreateTensorLayoutNV ||
 1814|      0|               fnCandidate->getBuiltInOp() == EOpTensorLayoutSetDimensionNV ||
 1815|      0|               fnCandidate->getBuiltInOp() == EOpTensorLayoutSetBlockSizeNV ||
 1816|      0|               fnCandidate->getBuiltInOp() == EOpTensorLayoutSetStrideNV ||
 1817|      0|               fnCandidate->getBuiltInOp() == EOpTensorLayoutSliceNV ||
 1818|      0|               fnCandidate->getBuiltInOp() == EOpTensorLayoutSetClampValueNV ||
 1819|      0|               fnCandidate->getBuiltInOp() == EOpCreateTensorViewNV ||
 1820|      0|               fnCandidate->getBuiltInOp() == EOpTensorViewSetDimensionNV ||
 1821|      0|               fnCandidate->getBuiltInOp() == EOpTensorViewSetStrideNV ||
 1822|      0|               fnCandidate->getBuiltInOp() == EOpTensorViewSetClipNV);
 1823|       |
 1824|      0|        if (fnCandidate->getBuiltInOp() == EOpCreateTensorLayoutNV) {
  ------------------
  |  Branch (1824:13): [True: 0, False: 0]
  ------------------
 1825|       |
 1826|       |            // Convert template parameters to arraySizes/typeParameters
 1827|      0|            TArraySizes *arraySizes = new TArraySizes;
 1828|      0|            for (uint32_t i = 0; i < 2; ++i) {
  ------------------
  |  Branch (1828:34): [True: 0, False: 0]
  ------------------
 1829|      0|                TIntermNode *param {};
 1830|      0|                if (arguments->getAsConstantUnion()) {
  ------------------
  |  Branch (1830:21): [True: 0, False: 0]
  ------------------
 1831|      0|                    if (i == 0) {
  ------------------
  |  Branch (1831:25): [True: 0, False: 0]
  ------------------
 1832|      0|                        param = arguments;
 1833|      0|                    }
 1834|      0|                } else {
 1835|      0|                    assert(arguments->getAsAggregate());
 1836|      0|                    auto &sequence = arguments->getAsAggregate()->getSequence();
 1837|      0|                    if (i < sequence.size()) {
  ------------------
  |  Branch (1837:25): [True: 0, False: 0]
  ------------------
 1838|      0|                        param = sequence[i];
 1839|      0|                    }
 1840|      0|                }
 1841|      0|                if (param) {
  ------------------
  |  Branch (1841:21): [True: 0, False: 0]
  ------------------
 1842|      0|                    if (param->getAsTyped()->getType().getQualifier().isSpecConstant()) {
  ------------------
  |  Branch (1842:25): [True: 0, False: 0]
  ------------------
 1843|      0|                        uint32_t value = param->getAsSymbolNode()->getConstArray()[0].getIConst();
 1844|      0|                        arraySizes->addInnerSize(value, param->getAsTyped());
 1845|      0|                    } else {
 1846|      0|                        uint32_t value = param->getAsConstantUnion()->getConstArray()[0].getIConst();
 1847|      0|                        arraySizes->addInnerSize(value);
 1848|      0|                    }
 1849|      0|                } else {
 1850|       |                    // gl_CooperativeMatrixClampModeUndefined
 1851|      0|                    arraySizes->addInnerSize(0);
 1852|      0|                }
 1853|      0|            }
 1854|      0|            TTypeParameters typeParameters;
 1855|      0|            typeParameters.arraySizes = arraySizes;
 1856|       |
 1857|      0|            TType resultType;
 1858|      0|            resultType.deepCopy(result->getAsTyped()->getType());
 1859|       |
 1860|      0|            resultType.copyTypeParameters(typeParameters);
 1861|      0|            result->setType(resultType);
 1862|      0|        } else if (fnCandidate->getBuiltInOp() == EOpCreateTensorViewNV) {
  ------------------
  |  Branch (1862:20): [True: 0, False: 0]
  ------------------
 1863|       |
 1864|       |            // Convert template parameters to arraySizes/typeParameters
 1865|      0|            TArraySizes *arraySizes = new TArraySizes;
 1866|      0|            for (uint32_t i = 0; i < 7; ++i) {
  ------------------
  |  Branch (1866:34): [True: 0, False: 0]
  ------------------
 1867|      0|                TIntermNode *param {};
 1868|      0|                if (arguments->getAsConstantUnion()) {
  ------------------
  |  Branch (1868:21): [True: 0, False: 0]
  ------------------
 1869|      0|                    if (i == 0) {
  ------------------
  |  Branch (1869:25): [True: 0, False: 0]
  ------------------
 1870|      0|                        param = arguments;
 1871|      0|                    }
 1872|      0|                } else {
 1873|      0|                    assert(arguments->getAsAggregate());
 1874|      0|                    auto &sequence = arguments->getAsAggregate()->getSequence();
 1875|      0|                    if (i < sequence.size()) {
  ------------------
  |  Branch (1875:25): [True: 0, False: 0]
  ------------------
 1876|      0|                        param = sequence[i];
 1877|      0|                    }
 1878|      0|                }
 1879|      0|                if (param) {
  ------------------
  |  Branch (1879:21): [True: 0, False: 0]
  ------------------
 1880|      0|                    if (param->getAsTyped()->getType().getQualifier().isSpecConstant()) {
  ------------------
  |  Branch (1880:25): [True: 0, False: 0]
  ------------------
 1881|      0|                        uint32_t value = param->getAsSymbolNode()->getConstArray()[0].getIConst();
 1882|      0|                        arraySizes->addInnerSize(value, param->getAsTyped());
 1883|      0|                    } else {
 1884|      0|                        uint32_t value = param->getAsConstantUnion()->getConstArray()[0].getIConst();
 1885|      0|                        arraySizes->addInnerSize(value);
 1886|      0|                    }
 1887|      0|                } else {
 1888|      0|                    uint32_t value = 0;
 1889|      0|                    if (i >= 2) {
  ------------------
  |  Branch (1889:25): [True: 0, False: 0]
  ------------------
 1890|       |                        // default permutation values are an increasing sequence
 1891|      0|                        value = i - 2;
 1892|      0|                    }
 1893|      0|                    arraySizes->addInnerSize(value);
 1894|      0|                }
 1895|      0|            }
 1896|      0|            TTypeParameters typeParameters;
 1897|      0|            typeParameters.arraySizes = arraySizes;
 1898|       |
 1899|      0|            TType resultType;
 1900|      0|            resultType.deepCopy(result->getAsTyped()->getType());
 1901|       |
 1902|      0|            resultType.copyTypeParameters(typeParameters);
 1903|      0|            result->setType(resultType);
 1904|      0|        } else if (fnCandidate->getBuiltInOp() == EOpCooperativeMatrixReduceNV ||
  ------------------
  |  Branch (1904:20): [True: 0, False: 0]
  ------------------
 1905|      0|                   fnCandidate->getBuiltInOp() == EOpCooperativeMatrixPerElementOpNV ||
  ------------------
  |  Branch (1905:20): [True: 0, False: 0]
  ------------------
 1906|      0|                   fnCandidate->getBuiltInOp() == EOpCooperativeMatrixTransposeNV ||
  ------------------
  |  Branch (1906:20): [True: 0, False: 0]
  ------------------
 1907|      0|                   fnCandidate->getBuiltInOp() == EOpTensorLayoutSetDimensionNV ||
  ------------------
  |  Branch (1907:20): [True: 0, False: 0]
  ------------------
 1908|      0|                   fnCandidate->getBuiltInOp() == EOpTensorLayoutSetBlockSizeNV ||
  ------------------
  |  Branch (1908:20): [True: 0, False: 0]
  ------------------
 1909|      0|                   fnCandidate->getBuiltInOp() == EOpTensorLayoutSetStrideNV ||
  ------------------
  |  Branch (1909:20): [True: 0, False: 0]
  ------------------
 1910|      0|                   fnCandidate->getBuiltInOp() == EOpTensorLayoutSliceNV ||
  ------------------
  |  Branch (1910:20): [True: 0, False: 0]
  ------------------
 1911|      0|                   fnCandidate->getBuiltInOp() == EOpTensorLayoutSetClampValueNV ||
  ------------------
  |  Branch (1911:20): [True: 0, False: 0]
  ------------------
 1912|      0|                   fnCandidate->getBuiltInOp() == EOpTensorViewSetDimensionNV ||
  ------------------
  |  Branch (1912:20): [True: 0, False: 0]
  ------------------
 1913|      0|                   fnCandidate->getBuiltInOp() == EOpTensorViewSetStrideNV ||
  ------------------
  |  Branch (1913:20): [True: 0, False: 0]
  ------------------
 1914|      0|                   fnCandidate->getBuiltInOp() == EOpTensorViewSetClipNV) {
  ------------------
  |  Branch (1914:20): [True: 0, False: 0]
  ------------------
 1915|       |            // Set result type to match type of first parameter
 1916|      0|            result->setType(result->getAsAggregate()->getSequence()[0]->getAsTyped()->getType());
 1917|      0|        } else {
 1918|       |            // The only remaining operation is MulAdd
 1919|      0|            assert(fnCandidate->getBuiltInOp() == EOpCooperativeMatrixMulAdd ||
 1920|      0|                   fnCandidate->getBuiltInOp() == EOpCooperativeMatrixMulAddNV);
 1921|       |
 1922|       |            // Validate that the matrix sizes are compatible for multiplication and addition
 1923|      0|            const auto &sequence = arguments->getAsAggregate()->getSequence();
 1924|       |
 1925|      0|            using ArrayDim = const TArraySize&;
 1926|      0|            auto getDim = [](const TIntermSequence& seq, int idx) -> std::tuple<ArrayDim, ArrayDim, int> {
 1927|      0|                const auto &type = seq[idx]->getAsTyped()->getType();
 1928|      0|                const auto *size = type.getTypeParameters()->arraySizes;
 1929|       |
 1930|      0|                if (type.isCoopMatNV()) {
 1931|       |                    // coopmatNV don't encode usage, so provide the correct usage by default
 1932|      0|                    return {size->getArraySize(2), size->getArraySize(3), idx};
 1933|      0|                } else {
 1934|      0|                    assert(type.isCoopMatKHR());
 1935|      0|                    return {size->getArraySize(1), size->getArraySize(2), size->getDimSize(3)};
 1936|      0|                }
 1937|      0|            };
 1938|       |
 1939|       |            // sizes look like: [scope, rows, cols, use]
 1940|      0|            auto [aRows, aCols, aUse] = getDim(sequence, 0);
 1941|      0|            auto [bRows, bCols, bUse] = getDim(sequence, 1);
 1942|      0|            auto [cRows, cCols, cUse] = getDim(sequence, 2);
 1943|       |
 1944|      0|            auto toString = [](ArrayDim dim) -> std::string {
 1945|      0|                std::stringstream buf;
 1946|      0|                if (dim.node == nullptr) {
 1947|      0|                    buf << dim.size;
 1948|      0|                } else {
 1949|      0|                    buf << "spec_const";
 1950|      0|                }
 1951|      0|                return buf.str();
 1952|      0|            };
 1953|       |
 1954|      0|            if (aCols != bRows) {
  ------------------
  |  Branch (1954:17): [True: 0, False: 0]
  ------------------
 1955|      0|                auto aRowsStr = toString(aRows);
 1956|      0|                auto aColsStr = toString(aCols);
 1957|      0|                auto bRowsStr = toString(bRows);
 1958|      0|                auto bColsStr = toString(bCols);
 1959|      0|                error(loc, "cannot multiply coop matrices with incompatible sizes",
 1960|      0|                      sequence[0]->getAsSymbolNode()->getMangledName().c_str(),
 1961|      0|                      "%s x %s with %s x %s",
 1962|      0|                      aRowsStr.c_str(),
 1963|      0|                      aColsStr.c_str(),
 1964|      0|                      bRowsStr.c_str(),
 1965|      0|                      bColsStr.c_str());
 1966|      0|            } else if (aRows != cRows || bCols != cCols) {
  ------------------
  |  Branch (1966:24): [True: 0, False: 0]
  |  Branch (1966:42): [True: 0, False: 0]
  ------------------
 1967|      0|                auto aRowsStr = toString(aRows);
 1968|      0|                auto bColsStr = toString(bCols);
 1969|      0|                auto cRowsStr = toString(cRows);
 1970|      0|                auto cColsStr = toString(cCols);
 1971|      0|                error(loc, "cannot add coop matrices with incompatible sizes",
 1972|      0|                      sequence[2]->getAsSymbolNode()->getMangledName().c_str(),
 1973|      0|                      "%s x %s with %s x %s",
 1974|      0|                      aRowsStr.c_str(),
 1975|      0|                      bColsStr.c_str(),
 1976|      0|                      cRowsStr.c_str(),
 1977|      0|                      cColsStr.c_str());
 1978|      0|            } else if (aUse != 0) {
  ------------------
  |  Branch (1978:24): [True: 0, False: 0]
  ------------------
 1979|      0|                error(loc, "coop matrix A in MulAdd operation has incompatible usage property,",
 1980|      0|                      sequence[0]->getAsSymbolNode()->getMangledName().c_str(),
 1981|      0|                      "found %d, but needed 0", aUse);
 1982|      0|            } else if (bUse != 1) {
  ------------------
  |  Branch (1982:24): [True: 0, False: 0]
  ------------------
 1983|      0|                error(loc, "coop matrix B in MulAdd operation has incompatible usage property,",
 1984|      0|                      sequence[1]->getAsSymbolNode()->getMangledName().c_str(),
 1985|      0|                      "found %d, but needed 1", bUse);
 1986|      0|            } else if (cUse != 2) {
  ------------------
  |  Branch (1986:24): [True: 0, False: 0]
  ------------------
 1987|      0|                error(loc, "coop matrix C in MulAdd operation has incompatible usage property,",
 1988|      0|                      sequence[2]->getAsSymbolNode()->getMangledName().c_str(),
 1989|      0|                      "found %d, but needed 2", cUse);
 1990|      0|            }
 1991|       |
 1992|       |            // Set result type to match type of C parameter
 1993|      0|            result->setType(result->getAsAggregate()->getSequence()[2]->getAsTyped()->getType());
 1994|      0|        }
 1995|      0|    }
 1996|  1.99k|}
_ZN7glslang13TParseContext34handleVector2CoopMatConversionCallERKNS_10TSourceLocEPKNS_9TFunctionERPNS_12TIntermTypedEP11TIntermNode:
 2003|  1.99k|{
 2004|  1.99k|  const uint32_t CM_MatrixUseA = 0;           // == gl_MatrixUseA
 2005|  1.99k|  const uint32_t CM_MatrixUseB = 1;           // == gl_MatrixUseB
 2006|  1.99k|  const uint32_t CM_MatrixUseAccumulator = 2; // == gl_MatrixUseAccumulator
 2007|       |
 2008|  1.99k|  TOperator builtinOp = fnCandidate->getBuiltInOp();
 2009|       |
 2010|  1.99k|  if (!(builtinOp == EOpBitCastArrayQCOM || builtinOp == EOpExtractSubArrayQCOM ||
  ------------------
  |  Branch (2010:9): [True: 0, False: 1.99k]
  |  Branch (2010:45): [True: 0, False: 1.99k]
  ------------------
 2011|  1.99k|        builtinOp == EOpCompositeConstructCoopMatQCOM || builtinOp == EOpCompositeExtractCoopMatQCOM))
  ------------------
  |  Branch (2011:9): [True: 0, False: 1.99k]
  |  Branch (2011:58): [True: 0, False: 1.99k]
  ------------------
 2012|  1.99k|    return;
 2013|       |
 2014|      0|  TPublicType pubType{};
 2015|      0|  auto* oldResult = result;
 2016|       |
 2017|      0|  if (builtinOp == EOpBitCastArrayQCOM) {
  ------------------
  |  Branch (2017:7): [True: 0, False: 0]
  ------------------
 2018|      0|    auto srcArr = arguments->getAsAggregate()->getSequence()[0]->getAsTyped();
 2019|      0|    auto& srcTy = srcArr->getType();
 2020|      0|    auto srcArrLen = srcTy.getArraySizes()->getDimSize(0);
 2021|      0|    auto srcLenAsNode = srcTy.getArraySizes()->getDimNode(0);
 2022|       |
 2023|      0|    auto dstArr = arguments->getAsAggregate()->getSequence()[1]->getAsTyped();
 2024|      0|    auto& dstTy = dstArr->getType();
 2025|      0|    auto dstArrLen = dstTy.getArraySizes()->getDimSize(0);
 2026|      0|    auto dstLenAsNode = dstTy.getArraySizes()->getDimNode(0);
 2027|       |
 2028|      0|    if (srcLenAsNode == nullptr && dstLenAsNode == nullptr) {
  ------------------
  |  Branch (2028:9): [True: 0, False: 0]
  |  Branch (2028:36): [True: 0, False: 0]
  ------------------
 2029|       |      //do basic tests:
 2030|      0|      if ((srcArrLen * GetNumBits(srcTy.getBasicType())) != (dstArrLen * GetNumBits(dstTy.getBasicType())))
  ------------------
  |  Branch (2030:11): [True: 0, False: 0]
  ------------------
 2031|      0|        error(loc, "source and target arrays have different bit sizes", "", "");
 2032|      0|    }
 2033|       |
 2034|      0|    pubType.basicType = dstTy.getBasicType();
 2035|      0|    pubType.vectorSize = 1u;
 2036|      0|    pubType.qualifier.precision = EpqNone;
 2037|      0|    pubType.coopmatNV = false;
 2038|      0|    pubType.coopmatKHR = false;
 2039|      0|    pubType.arraySizes = new TArraySizes;
 2040|      0|    pubType.arraySizes->addInnerSize(dstArrLen, dstLenAsNode);
 2041|      0|    pubType.typeParameters = nullptr;
 2042|      0|  }
 2043|       |
 2044|      0|  if (builtinOp == EOpExtractSubArrayQCOM) {
  ------------------
  |  Branch (2044:7): [True: 0, False: 0]
  ------------------
 2045|      0|    auto dstArr = arguments->getAsAggregate()->getSequence()[2]->getAsTyped();
 2046|      0|    auto& dstTy = dstArr->getType();
 2047|      0|    auto dstArrLen = dstTy.getArraySizes()->getDimSize(0);
 2048|      0|    auto dstLenAsNode = dstTy.getArraySizes()->getDimNode(0);
 2049|       |
 2050|      0|    if (dstLenAsNode == nullptr) {
  ------------------
  |  Branch (2050:9): [True: 0, False: 0]
  ------------------
 2051|      0|      if ((dstArrLen * GetNumBits(dstTy.getBasicType())) == 32)
  ------------------
  |  Branch (2051:11): [True: 0, False: 0]
  ------------------
 2052|      0|        error(loc, "the byte size of the target array must be 32", "", "");
 2053|      0|    }
 2054|       |
 2055|      0|    pubType.basicType = dstTy.getBasicType();
 2056|      0|    pubType.vectorSize = 1u;
 2057|      0|    pubType.qualifier.precision = EpqNone;
 2058|      0|    pubType.coopmatNV = false;
 2059|      0|    pubType.coopmatKHR = false;
 2060|      0|    pubType.arraySizes = new TArraySizes;
 2061|      0|    pubType.arraySizes->addInnerSize(dstArrLen, dstLenAsNode);
 2062|      0|    pubType.typeParameters = nullptr;
 2063|      0|  }
 2064|       |
 2065|      0|  if (builtinOp == EOpCompositeConstructCoopMatQCOM) {
  ------------------
  |  Branch (2065:7): [True: 0, False: 0]
  ------------------
 2066|       |
 2067|      0|    auto& srcType = arguments->getAsAggregate()->getSequence()[0]->getAsTyped()->getType();
 2068|      0|    auto& dstType = arguments->getAsAggregate()->getSequence()[1]->getAsTyped()->getType();
 2069|       |
 2070|      0|    glslang::TBasicType srcBasicType = srcType.getBasicType();
 2071|      0|    glslang::TBasicType dstBasicType = dstType.getBasicType();
 2072|       |
 2073|      0|    if (srcBasicType != EbtUint && srcBasicType != dstBasicType)
  ------------------
  |  Branch (2073:9): [True: 0, False: 0]
  |  Branch (2073:36): [True: 0, False: 0]
  ------------------
 2074|      0|      error(loc, "source and destination element types are not compatible", "", "");
 2075|       |
 2076|      0|    uint32_t scope = spv_Scope_Subgroup;
 2077|      0|    uint32_t coopMatKHRuse = !0u;
 2078|      0|    uint32_t coopMatNumRows = !0u, coopMatNumCols = !0u;
 2079|      0|    TIntermTyped *nodeNumRows = nullptr, *nodeNumCols = nullptr;
 2080|      0|    const TTypeParameters* dstTypeParameters = dstType.getTypeParameters();
 2081|      0|    if (dstTypeParameters->arraySizes == nullptr || dstTypeParameters->arraySizes->getNumDims() != 4) {
  ------------------
  |  Branch (2081:9): [True: 0, False: 0]
  |  Branch (2081:53): [True: 0, False: 0]
  ------------------
 2082|      0|      error(loc, "destination cooperative matrix has an unsupported type", "", "");
 2083|      0|    } else {
 2084|      0|      auto arraySizes = dstTypeParameters->arraySizes;
 2085|      0|      scope = arraySizes->getDimSize(0);
 2086|      0|      coopMatNumRows = arraySizes->getDimSize(1);
 2087|      0|      nodeNumRows = arraySizes->getDimNode(1);
 2088|      0|      coopMatNumCols = arraySizes->getDimSize(2);
 2089|      0|      nodeNumCols = arraySizes->getDimNode(2);
 2090|      0|      coopMatKHRuse = arraySizes->getDimSize(3);
 2091|      0|    }
 2092|       |
 2093|      0|    if (scope != spv_Scope_Subgroup) {
  ------------------
  |  Branch (2093:9): [True: 0, False: 0]
  ------------------
 2094|      0|      scope = spv_Scope_Subgroup;
 2095|      0|      error(loc, "cooperative matrix has unsupported scope; gl_SubgroupScope is expected", "", "");
 2096|      0|    }
 2097|       |
 2098|      0|    if (coopMatKHRuse > CM_MatrixUseAccumulator) {
  ------------------
  |  Branch (2098:9): [True: 0, False: 0]
  ------------------
 2099|      0|      coopMatKHRuse = CM_MatrixUseA;
 2100|      0|      error(loc, "cooperative matrix use must be one of gl_MatrixUseA, gl_MatrixUseB, gl_MatrixUseAccumulator",
 2101|      0|            "", "");
 2102|      0|    }
 2103|       |
 2104|      0|    uint32_t dstBasicTypeSize = GetNumBits(dstBasicType) / 8;
 2105|       |
 2106|      0|    unsigned numRows = coopMatNumRows;
 2107|      0|    TIntermTyped* specConstRows = nodeNumRows;
 2108|      0|    unsigned numCols = coopMatNumCols;
 2109|      0|    TIntermTyped* specConstCols = nodeNumCols;
 2110|       |
 2111|       |    // input array type
 2112|      0|    const TType& type = arguments->getAsAggregate()->getSequence()[0]->getAsTyped()->getType();
 2113|      0|    uint32_t arrayLen = type.getArraySizes()->getDimSize(0);
 2114|      0|    auto arrayDimNode = type.getArraySizes()->getDimNode(0);
 2115|       |
 2116|      0|    if (coopMatKHRuse == CM_MatrixUseA || coopMatKHRuse == CM_MatrixUseAccumulator) {
  ------------------
  |  Branch (2116:9): [True: 0, False: 0]
  |  Branch (2116:43): [True: 0, False: 0]
  ------------------
 2117|       |      // update numCols
 2118|      0|      if (arrayDimNode == nullptr && specConstCols == nullptr)
  ------------------
  |  Branch (2118:11): [True: 0, False: 0]
  |  Branch (2118:38): [True: 0, False: 0]
  ------------------
 2119|      0|        numCols = arrayLen * (sizeof(uint32_t) / dstBasicTypeSize);
 2120|      0|    } else if (coopMatKHRuse == CM_MatrixUseB) {
  ------------------
  |  Branch (2120:16): [True: 0, False: 0]
  ------------------
 2121|       |      // update numRows
 2122|      0|      if (arrayDimNode == nullptr && specConstRows == nullptr) {
  ------------------
  |  Branch (2122:11): [True: 0, False: 0]
  |  Branch (2122:38): [True: 0, False: 0]
  ------------------
 2123|      0|        numRows = arrayLen * (sizeof(uint32_t) / dstBasicTypeSize);
 2124|      0|      }
 2125|      0|    }
 2126|       |
 2127|       |    // construct the type
 2128|      0|    TArraySizes* arraySizes = new TArraySizes;
 2129|       |
 2130|       |    // add Scope
 2131|      0|    arraySizes->addInnerSize(scope);
 2132|       |
 2133|       |    // add the row size
 2134|      0|    arraySizes->addInnerSize(numRows, specConstRows); // copy from source
 2135|       |    // add the column size
 2136|      0|    arraySizes->addInnerSize(numCols, specConstCols); // copy from source
 2137|       |    // add cooperative matrix use
 2138|      0|    arraySizes->addInnerSize(coopMatKHRuse);
 2139|       |
 2140|      0|    pubType.basicType = dstBasicType;
 2141|      0|    pubType.vectorSize = 1u;
 2142|      0|    pubType.qualifier = srcType.getQualifier();
 2143|      0|    pubType.qualifier.precision = EpqNone;
 2144|      0|    pubType.coopmatNV = dstType.isCoopMatNV();
 2145|      0|    pubType.coopmatKHR = dstType.isCoopMatKHR();
 2146|      0|    pubType.arraySizes = nullptr;
 2147|      0|    pubType.typeParameters = const_cast<glslang::TTypeParameters*>(dstTypeParameters);
 2148|      0|  }
 2149|       |
 2150|      0|  if (builtinOp == EOpCompositeExtractCoopMatQCOM) {
  ------------------
  |  Branch (2150:7): [True: 0, False: 0]
  ------------------
 2151|      0|    auto& srcType = arguments->getAsAggregate()->getSequence()[0]->getAsTyped()->getType();
 2152|      0|    auto& dstType = arguments->getAsAggregate()->getSequence()[1]->getAsTyped()->getType();
 2153|       |
 2154|      0|    glslang::TBasicType srcBasicType = srcType.getBasicType();
 2155|      0|    glslang::TBasicType dstBasicType = dstType.getBasicType();
 2156|       |
 2157|      0|    if (dstBasicType != EbtUint && srcBasicType != dstBasicType)
  ------------------
  |  Branch (2157:9): [True: 0, False: 0]
  |  Branch (2157:36): [True: 0, False: 0]
  ------------------
 2158|      0|      error(loc, "source and destination element types are not compatible", "", "");
 2159|       |
 2160|      0|    uint32_t scope = spv_Scope_Subgroup;
 2161|      0|    unsigned coopMatKHRuse = !0u;
 2162|      0|    const TTypeParameters* srcTypeParameters = srcType.getTypeParameters();
 2163|      0|    if (srcTypeParameters->arraySizes == nullptr || srcTypeParameters->arraySizes->getNumDims() != 4) {
  ------------------
  |  Branch (2163:9): [True: 0, False: 0]
  |  Branch (2163:53): [True: 0, False: 0]
  ------------------
 2164|      0|      error(loc, "source cooperative matrix has an unsupported type", "", "");
 2165|      0|    } else {
 2166|      0|      auto arraySizes = srcTypeParameters->arraySizes;
 2167|      0|      scope = arraySizes->getDimSize(0);
 2168|      0|      coopMatKHRuse = arraySizes->getDimSize(3);
 2169|      0|    }
 2170|       |
 2171|      0|    if (scope != spv_Scope_Subgroup) {
  ------------------
  |  Branch (2171:9): [True: 0, False: 0]
  ------------------
 2172|      0|      scope = spv_Scope_Subgroup;
 2173|      0|      error(loc, "cooperative matrix has unsupported scope; gl_SubgroupScope is expected", "", "");
 2174|      0|    }
 2175|       |
 2176|      0|    if (coopMatKHRuse > CM_MatrixUseAccumulator) {
  ------------------
  |  Branch (2176:9): [True: 0, False: 0]
  ------------------
 2177|      0|      coopMatKHRuse = CM_MatrixUseA;
 2178|      0|      error(loc, "cooperative matrix use must be one of gl_MatrixUseA, gl_MatrixUseB, gl_MatrixUseAccumulator",
 2179|      0|            "", "");
 2180|      0|    }
 2181|       |
 2182|      0|    auto dstArrLen = dstType.getArraySizes()->getDimSize(0);
 2183|      0|    auto dstLenAsNode = dstType.getArraySizes()->getDimNode(0);
 2184|       |
 2185|      0|    if (dstLenAsNode == nullptr) {
  ------------------
  |  Branch (2185:9): [True: 0, False: 0]
  ------------------
 2186|      0|      bool ok = true;
 2187|      0|      switch (dstBasicType) {
 2188|      0|      case EbtUint:
  ------------------
  |  Branch (2188:7): [True: 0, False: 0]
  ------------------
 2189|      0|      case EbtInt:
  ------------------
  |  Branch (2189:7): [True: 0, False: 0]
  ------------------
 2190|      0|      case EbtFloat:
  ------------------
  |  Branch (2190:7): [True: 0, False: 0]
  ------------------
 2191|      0|        ok = (((coopMatKHRuse == CM_MatrixUseA || coopMatKHRuse == CM_MatrixUseB) && dstArrLen == 8) ||
  ------------------
  |  Branch (2191:17): [True: 0, False: 0]
  |  Branch (2191:51): [True: 0, False: 0]
  |  Branch (2191:86): [True: 0, False: 0]
  ------------------
 2192|      0|              (coopMatKHRuse ==
  ------------------
  |  Branch (2192:15): [True: 0, False: 0]
  ------------------
 2193|      0|               CM_MatrixUseAccumulator) /* && (dstArrLen == 64 || dstArrLen == 32 || dstArrLen == 16))*/);
 2194|      0|        break;
 2195|      0|      case EbtFloat16:
  ------------------
  |  Branch (2195:7): [True: 0, False: 0]
  ------------------
 2196|      0|        ok = (((coopMatKHRuse == CM_MatrixUseA || coopMatKHRuse == CM_MatrixUseB) && dstArrLen == 16) ||
  ------------------
  |  Branch (2196:17): [True: 0, False: 0]
  |  Branch (2196:51): [True: 0, False: 0]
  |  Branch (2196:86): [True: 0, False: 0]
  ------------------
 2197|      0|              (coopMatKHRuse ==
  ------------------
  |  Branch (2197:15): [True: 0, False: 0]
  ------------------
 2198|      0|               CM_MatrixUseAccumulator) /* && (dstArrLen == 64 || dstArrLen == 32 || dstArrLen == 16))*/);
 2199|      0|        break;
 2200|      0|      case EbtInt8:
  ------------------
  |  Branch (2200:7): [True: 0, False: 0]
  ------------------
 2201|      0|      case EbtUint8:
  ------------------
  |  Branch (2201:7): [True: 0, False: 0]
  ------------------
 2202|      0|        ok = (((coopMatKHRuse == CM_MatrixUseA || coopMatKHRuse == CM_MatrixUseB) && dstArrLen == 32) ||
  ------------------
  |  Branch (2202:17): [True: 0, False: 0]
  |  Branch (2202:51): [True: 0, False: 0]
  |  Branch (2202:86): [True: 0, False: 0]
  ------------------
 2203|      0|              (coopMatKHRuse ==
  ------------------
  |  Branch (2203:15): [True: 0, False: 0]
  ------------------
 2204|      0|               CM_MatrixUseAccumulator) /* && (dstArrLen == 64 || dstArrLen == 32 || dstArrLen == 16))*/);
 2205|      0|        break;
 2206|      0|      default:
  ------------------
  |  Branch (2206:7): [True: 0, False: 0]
  ------------------
 2207|      0|        error(loc, "unsupported element type", "", "");
 2208|      0|      }
 2209|      0|      if (!ok)
  ------------------
  |  Branch (2209:11): [True: 0, False: 0]
  ------------------
 2210|      0|        error(loc, "unsupported destination array length", "", "");
 2211|      0|    }
 2212|       |
 2213|      0|    pubType.basicType = dstBasicType;
 2214|      0|    pubType.vectorSize = 1u;
 2215|      0|    pubType.qualifier.precision = EpqNone;
 2216|      0|    pubType.coopmatNV = false;
 2217|      0|    pubType.coopmatKHR = false;
 2218|       |
 2219|      0|    pubType.arraySizes = new TArraySizes;
 2220|       |
 2221|      0|    {
 2222|       |      //int coopMatKHRuse = srcTypeParameters->arraySizes->getDimSize(3);
 2223|      0|      uint32_t index = !0u;
 2224|      0|      if (coopMatKHRuse == CM_MatrixUseA) {
  ------------------
  |  Branch (2224:11): [True: 0, False: 0]
  ------------------
 2225|      0|        index = 2;
 2226|      0|      } else if (coopMatKHRuse == CM_MatrixUseB) {
  ------------------
  |  Branch (2226:18): [True: 0, False: 0]
  ------------------
 2227|      0|        index = 1;
 2228|      0|      } else if (coopMatKHRuse == CM_MatrixUseAccumulator) {
  ------------------
  |  Branch (2228:18): [True: 0, False: 0]
  ------------------
 2229|      0|        index = 2;
 2230|      0|      } else {
 2231|      0|        error(loc, "source cooperative matrix has an unexpected cooperative matrix use", "", "");
 2232|      0|      }
 2233|      0|      int32_t numRowsOrCols = srcTypeParameters->arraySizes->getDimSize(index);
 2234|      0|      auto dimNode = srcTypeParameters->arraySizes->getDimNode(index);
 2235|      0|      if (dimNode != nullptr && dstLenAsNode == nullptr) {
  ------------------
  |  Branch (2235:11): [True: 0, False: 0]
  |  Branch (2235:33): [True: 0, False: 0]
  ------------------
 2236|      0|        numRowsOrCols = dstType.getArraySizes()->getDimSize(0);
 2237|      0|        dimNode = nullptr;
 2238|      0|      }
 2239|       |      //int32_t dstArrLen = dstType.getArraySizes()->getDimSize(0);
 2240|      0|      pubType.arraySizes->addInnerSize(dstArrLen, dstLenAsNode);
 2241|      0|      if (dimNode == nullptr && dstLenAsNode == nullptr) {
  ------------------
  |  Branch (2241:11): [True: 0, False: 0]
  |  Branch (2241:33): [True: 0, False: 0]
  ------------------
 2242|      0|        const char* msg = nullptr;
 2243|      0|        if (coopMatKHRuse == CM_MatrixUseA && (numRowsOrCols != dstArrLen && dstArrLen != 8)) {
  ------------------
  |  Branch (2243:13): [True: 0, False: 0]
  |  Branch (2243:48): [True: 0, False: 0]
  |  Branch (2243:78): [True: 0, False: 0]
  ------------------
 2244|      0|          msg = "the source matrix's column is not compatible with the destination array";
 2245|      0|        } else if (coopMatKHRuse == CM_MatrixUseB && (numRowsOrCols != dstArrLen && dstArrLen != 8)) {
  ------------------
  |  Branch (2245:20): [True: 0, False: 0]
  |  Branch (2245:55): [True: 0, False: 0]
  |  Branch (2245:85): [True: 0, False: 0]
  ------------------
 2246|      0|          msg = "the source matrix's row is not compatible with the destination array";
 2247|      0|        } else if (coopMatKHRuse == CM_MatrixUseAccumulator &&
  ------------------
  |  Branch (2247:20): [True: 0, False: 0]
  ------------------
 2248|      0|                   (numRowsOrCols != dstArrLen &&
  ------------------
  |  Branch (2248:21): [True: 0, False: 0]
  ------------------
 2249|      0|                    (srcBasicType == EbtFloat16 && numRowsOrCols != 2 * dstArrLen))) {
  ------------------
  |  Branch (2249:22): [True: 0, False: 0]
  |  Branch (2249:52): [True: 0, False: 0]
  ------------------
 2250|      0|          msg = "the source matrix's column is not compatible with the destination array";
 2251|      0|        }
 2252|      0|        if (msg != nullptr)
  ------------------
  |  Branch (2252:13): [True: 0, False: 0]
  ------------------
 2253|      0|          error(loc, msg, "", "");
 2254|      0|      }
 2255|      0|    }
 2256|       |
 2257|      0|    pubType.typeParameters = nullptr;
 2258|      0|  }
 2259|       |
 2260|      0|  TType resultType(pubType);
 2261|      0|  if (pubType.typeParameters != nullptr)
  ------------------
  |  Branch (2261:7): [True: 0, False: 0]
  ------------------
 2262|      0|    resultType.copyTypeParameters(*pubType.typeParameters);
 2263|       |  // need to make StorageQualifier temp
 2264|      0|  resultType.makeTemporary();
 2265|      0|  result->setType(resultType);
 2266|       |
 2267|       |  // the RHS of an assignment to be formed
 2268|      0|  auto rhs = result;
 2269|       |
 2270|       |  // the LHS of an assignment to be formed; pick the last argument
 2271|      0|  int lhsIdx = (builtinOp == EOpExtractSubArrayQCOM ? 2 : 1);
  ------------------
  |  Branch (2271:17): [True: 0, False: 0]
  ------------------
 2272|      0|  auto lhs = arguments->getAsAggregate()->getSequence()[lhsIdx]->getAsTyped();
 2273|       |  // pop the last argument from the arguments sequence
 2274|      0|  arguments->getAsAggregate()->getSequence().pop_back();
 2275|       |
 2276|       |  // Create OpAssign
 2277|      0|  {
 2278|      0|    arrayObjectCheck(loc, lhs->getType(), "array assignment");
 2279|      0|    storage16BitAssignmentCheck(loc, lhs->getType(), "=");
 2280|      0|    lValueErrorCheck(loc, "assign", lhs);
 2281|      0|    rValueErrorCheck(loc, "assign", rhs);
 2282|      0|    result = addAssign(loc, EOpAssign, lhs, rhs);
 2283|      0|    if (result == nullptr)
  ------------------
  |  Branch (2283:9): [True: 0, False: 0]
  ------------------
 2284|      0|      result = oldResult;
 2285|      0|  }
 2286|      0|}
_ZN7glslang13TParseContext25handleBuiltInFunctionCallENS_10TSourceLocEP11TIntermNodeRKNS_9TFunctionE:
 2297|  1.84k|{
 2298|  1.84k|    checkLocation(loc, function.getBuiltInOp());
 2299|  1.84k|    TIntermTyped *result = intermediate.addBuiltInFunctionCall(loc, function.getBuiltInOp(),
 2300|  1.84k|                                                               function.getParamCount() == 1,
 2301|  1.84k|                                                               arguments, function.getType());
 2302|       |
 2303|       |    // EXT_descriptor_heap
 2304|       |    // All the image atomic ops' first param is image variable.
 2305|  1.84k|    if (extensionTurnedOn(E_GL_EXT_descriptor_heap) && function.getBuiltInOp() <= EOpImageAtomicStore &&
  ------------------
  |  Branch (2305:9): [True: 0, False: 1.84k]
  |  Branch (2305:56): [True: 0, False: 0]
  ------------------
 2306|      0|        function.getBuiltInOp() >= EOpImageAtomicAdd) {
  ------------------
  |  Branch (2306:9): [True: 0, False: 0]
  ------------------
 2307|      0|        TIntermNode* imageNode = nullptr;
 2308|      0|        if (arguments->getAsAggregate() && arguments->getAsAggregate()->getSequence().size() > 0)
  ------------------
  |  Branch (2308:13): [True: 0, False: 0]
  |  Branch (2308:44): [True: 0, False: 0]
  ------------------
 2309|      0|            imageNode = arguments->getAsAggregate()->getSequence()[0];
 2310|      0|        else if (arguments->getAsUnaryNode())
  ------------------
  |  Branch (2310:18): [True: 0, False: 0]
  ------------------
 2311|      0|            imageNode = arguments->getAsUnaryNode();
 2312|       |
 2313|      0|        if (imageNode && imageNode->getAsBinaryNode()) {
  ------------------
  |  Branch (2313:13): [True: 0, False: 0]
  |  Branch (2313:26): [True: 0, False: 0]
  ------------------
 2314|      0|            auto imageSymbol = imageNode->getAsBinaryNode()->getLeft();
 2315|      0|            if (imageSymbol && imageSymbol->getType().isImage()) {
  ------------------
  |  Branch (2315:17): [True: 0, False: 0]
  |  Branch (2315:32): [True: 0, False: 0]
  ------------------
 2316|      0|                imageSymbol->getQualifier().setUsedByAtomic();
 2317|      0|                result->getQualifier().setUsedByAtomic();
 2318|      0|            }
 2319|      0|        }
 2320|      0|    }
 2321|       |
 2322|  1.84k|    if (result != nullptr && obeyPrecisionQualifiers())
  ------------------
  |  Branch (2322:9): [True: 1.84k, False: 0]
  |  Branch (2322:30): [True: 1.84k, False: 0]
  ------------------
 2323|  1.84k|        computeBuiltinPrecisions(*result, function);
 2324|       |
 2325|  1.84k|    if (result == nullptr) {
  ------------------
  |  Branch (2325:9): [True: 0, False: 1.84k]
  ------------------
 2326|      0|        if (arguments == nullptr)
  ------------------
  |  Branch (2326:13): [True: 0, False: 0]
  ------------------
 2327|      0|            error(loc, " wrong operand type", "Internal Error",
 2328|      0|                                      "built in unary operator function.  Type: %s", "");
 2329|      0|        else
 2330|      0|            error(arguments->getLoc(), " wrong operand type", "Internal Error",
 2331|      0|                                      "built in unary operator function.  Type: %s",
 2332|      0|                                      static_cast<TIntermTyped*>(arguments)->getCompleteString(intermediate.getEnhancedMsgs()).c_str());
 2333|  1.84k|    } else if (result->getAsOperator())
  ------------------
  |  Branch (2333:16): [True: 1.84k, False: 0]
  ------------------
 2334|  1.84k|        builtInOpCheck(loc, function, *result->getAsOperator());
 2335|       |
 2336|       |    // Special handling for function call with SPIR-V instruction qualifier specified
 2337|  1.84k|    if (function.getBuiltInOp() == EOpSpirvInst) {
  ------------------
  |  Branch (2337:9): [True: 0, False: 1.84k]
  ------------------
 2338|      0|        if (auto agg = result->getAsAggregate()) {
  ------------------
  |  Branch (2338:18): [True: 0, False: 0]
  ------------------
 2339|       |            // Propogate spirv_by_reference/spirv_literal from parameters to arguments
 2340|      0|            auto& sequence = agg->getSequence();
 2341|      0|            for (unsigned i = 0; i < sequence.size(); ++i) {
  ------------------
  |  Branch (2341:34): [True: 0, False: 0]
  ------------------
 2342|      0|                if (function[i].type->getQualifier().isSpirvByReference())
  ------------------
  |  Branch (2342:21): [True: 0, False: 0]
  ------------------
 2343|      0|                    sequence[i]->getAsTyped()->getQualifier().setSpirvByReference();
 2344|      0|                if (function[i].type->getQualifier().isSpirvLiteral())
  ------------------
  |  Branch (2344:21): [True: 0, False: 0]
  ------------------
 2345|      0|                    sequence[i]->getAsTyped()->getQualifier().setSpirvLiteral();
 2346|      0|            }
 2347|       |
 2348|       |            // Attach the function call to SPIR-V intruction
 2349|      0|            agg->setSpirvInstruction(function.getSpirvInstruction());
 2350|      0|        } else if (auto unaryNode = result->getAsUnaryNode()) {
  ------------------
  |  Branch (2350:25): [True: 0, False: 0]
  ------------------
 2351|       |            // Propogate spirv_by_reference/spirv_literal from parameters to arguments
 2352|      0|            if (function[0].type->getQualifier().isSpirvByReference())
  ------------------
  |  Branch (2352:17): [True: 0, False: 0]
  ------------------
 2353|      0|                unaryNode->getOperand()->getQualifier().setSpirvByReference();
 2354|      0|            if (function[0].type->getQualifier().isSpirvLiteral())
  ------------------
  |  Branch (2354:17): [True: 0, False: 0]
  ------------------
 2355|      0|                unaryNode->getOperand()->getQualifier().setSpirvLiteral();
 2356|       |
 2357|       |            // Attach the function call to SPIR-V intruction
 2358|      0|            unaryNode->setSpirvInstruction(function.getSpirvInstruction());
 2359|      0|        } else
 2360|      0|            assert(0);
 2361|      0|    }
 2362|       |
 2363|  1.84k|    return result;
 2364|  1.84k|}
_ZN7glslang13TParseContext24computeBuiltinPrecisionsERNS_12TIntermTypedERKNS_9TFunctionE:
 2399|  1.84k|{
 2400|  1.84k|    TPrecisionQualifier operationPrecision = EpqNone;
 2401|  1.84k|    TPrecisionQualifier resultPrecision = EpqNone;
 2402|       |
 2403|  1.84k|    TIntermOperator* opNode = node.getAsOperator();
 2404|  1.84k|    if (opNode == nullptr)
  ------------------
  |  Branch (2404:9): [True: 0, False: 1.84k]
  ------------------
 2405|      0|        return;
 2406|       |
 2407|  1.84k|    if (TIntermUnary* unaryNode = node.getAsUnaryNode()) {
  ------------------
  |  Branch (2407:23): [True: 120, False: 1.72k]
  ------------------
 2408|    120|        operationPrecision = std::max(function[0].type->getQualifier().precision,
 2409|    120|                                      unaryNode->getOperand()->getType().getQualifier().precision);
 2410|    120|        if (function.getType().getBasicType() != EbtBool)
  ------------------
  |  Branch (2410:13): [True: 120, False: 0]
  ------------------
 2411|    120|            resultPrecision = function.getType().getQualifier().precision == EpqNone ?
  ------------------
  |  Branch (2411:31): [True: 120, False: 0]
  ------------------
 2412|    120|                                        operationPrecision :
 2413|    120|                                        function.getType().getQualifier().precision;
 2414|  1.72k|    } else if (TIntermAggregate* agg = node.getAsAggregate()) {
  ------------------
  |  Branch (2414:34): [True: 1.72k, False: 0]
  ------------------
 2415|  1.72k|        TIntermSequence& sequence = agg->getSequence();
 2416|  1.72k|        unsigned int numArgs = (unsigned int)sequence.size();
 2417|  1.72k|        switch (agg->getOp()) {
 2418|      0|        case EOpBitfieldExtract:
  ------------------
  |  Branch (2418:9): [True: 0, False: 1.72k]
  ------------------
 2419|      0|            numArgs = 1;
 2420|      0|            break;
 2421|      0|        case EOpBitfieldInsert:
  ------------------
  |  Branch (2421:9): [True: 0, False: 1.72k]
  ------------------
 2422|      0|            numArgs = 2;
 2423|      0|            break;
 2424|      0|        case EOpInterpolateAtCentroid:
  ------------------
  |  Branch (2424:9): [True: 0, False: 1.72k]
  ------------------
 2425|      0|        case EOpInterpolateAtOffset:
  ------------------
  |  Branch (2425:9): [True: 0, False: 1.72k]
  ------------------
 2426|      0|        case EOpInterpolateAtSample:
  ------------------
  |  Branch (2426:9): [True: 0, False: 1.72k]
  ------------------
 2427|      0|            numArgs = 1;
 2428|      0|            break;
 2429|      0|        case EOpDebugPrintf:
  ------------------
  |  Branch (2429:9): [True: 0, False: 1.72k]
  ------------------
 2430|      0|        case EOpAbortEXT:
  ------------------
  |  Branch (2430:9): [True: 0, False: 1.72k]
  ------------------
 2431|      0|        case EOpCooperativeMatrixPerElementOpNV:
  ------------------
  |  Branch (2431:9): [True: 0, False: 1.72k]
  ------------------
 2432|      0|        case EOpCooperativeMatrixReduceNV:
  ------------------
  |  Branch (2432:9): [True: 0, False: 1.72k]
  ------------------
 2433|      0|        case EOpConstructSaturated:
  ------------------
  |  Branch (2433:9): [True: 0, False: 1.72k]
  ------------------
 2434|      0|            numArgs = 0;
 2435|      0|            break;
 2436|  1.72k|        default:
  ------------------
  |  Branch (2436:9): [True: 1.72k, False: 0]
  ------------------
 2437|  1.72k|            break;
 2438|  1.72k|        }
 2439|       |        // find the maximum precision from the arguments and parameters
 2440|  8.09k|        for (unsigned int arg = 0; arg < numArgs; ++arg) {
  ------------------
  |  Branch (2440:36): [True: 6.36k, False: 1.72k]
  ------------------
 2441|  6.36k|            operationPrecision = std::max(operationPrecision, sequence[arg]->getAsTyped()->getQualifier().precision);
 2442|  6.36k|        }
 2443|  8.09k|        for (int arg = 0; arg < function.getParamCount(); ++arg) {
  ------------------
  |  Branch (2443:27): [True: 6.36k, False: 1.72k]
  ------------------
 2444|  6.36k|            operationPrecision = std::max(operationPrecision, function[arg].type->getQualifier().precision);
 2445|  6.36k|        }
 2446|       |        // compute the result precision
 2447|  1.72k|        if (agg->isSampling() ||
  ------------------
  |  Branch (2447:13): [True: 1.49k, False: 234]
  ------------------
 2448|    234|            agg->getOp() == EOpImageLoad || agg->getOp() == EOpImageStore ||
  ------------------
  |  Branch (2448:13): [True: 66, False: 168]
  |  Branch (2448:45): [True: 66, False: 102]
  ------------------
 2449|    102|            agg->getOp() == EOpImageLoadLod || agg->getOp() == EOpImageStoreLod)
  ------------------
  |  Branch (2449:13): [True: 0, False: 102]
  |  Branch (2449:48): [True: 0, False: 102]
  ------------------
 2450|  1.62k|            resultPrecision = sequence[0]->getAsTyped()->getQualifier().precision;
 2451|    102|        else if (function.getType().getBasicType() != EbtBool)
  ------------------
  |  Branch (2451:18): [True: 102, False: 0]
  ------------------
 2452|    102|            resultPrecision = function.getType().getQualifier().precision == EpqNone ?
  ------------------
  |  Branch (2452:31): [True: 102, False: 0]
  ------------------
 2453|    102|                                        operationPrecision :
 2454|    102|                                        function.getType().getQualifier().precision;
 2455|  1.72k|    }
 2456|       |
 2457|       |    // Propagate precision through this node and its children. That algorithm stops
 2458|       |    // when a precision is found, so start by clearing this subroot precision
 2459|  1.84k|    opNode->getQualifier().precision = EpqNone;
 2460|  1.84k|    if (operationPrecision != EpqNone) {
  ------------------
  |  Branch (2460:9): [True: 1.84k, False: 0]
  ------------------
 2461|  1.84k|        opNode->propagatePrecision(operationPrecision);
 2462|  1.84k|        opNode->setOperationPrecision(operationPrecision);
 2463|  1.84k|    }
 2464|       |    // Now, set the result precision, which might not match
 2465|  1.84k|    opNode->getQualifier().precision = resultPrecision;
 2466|  1.84k|}
_ZN7glslang13TParseContext17handleReturnValueERKNS_10TSourceLocEPNS_12TIntermTypedE:
 2469|    234|{
 2470|    234|    storage16BitAssignmentCheck(loc, value->getType(), "return");
 2471|       |
 2472|    234|    functionReturnsValue = true;
 2473|    234|    TIntermBranch* branch = nullptr;
 2474|    234|    if (currentFunctionType->getBasicType() == EbtVoid) {
  ------------------
  |  Branch (2474:9): [True: 0, False: 234]
  ------------------
 2475|      0|        error(loc, "void function cannot return a value", "return", "");
 2476|      0|        branch = intermediate.addBranch(EOpReturn, loc);
 2477|    234|    } else if (*currentFunctionType != value->getType()) {
  ------------------
  |  Branch (2477:16): [True: 3, False: 231]
  ------------------
 2478|      3|        TIntermTyped* converted = intermediate.addConversion(EOpReturn, *currentFunctionType, value);
 2479|      3|        if (converted) {
  ------------------
  |  Branch (2479:13): [True: 3, False: 0]
  ------------------
 2480|      3|            if (*currentFunctionType != converted->getType())
  ------------------
  |  Branch (2480:17): [True: 3, False: 0]
  ------------------
 2481|      3|                error(loc, "cannot convert return value to function return type", "return", "");
 2482|      3|            if (version < 420)
  ------------------
  |  Branch (2482:17): [True: 0, False: 3]
  ------------------
 2483|      0|                warn(loc, "type conversion on return values was not explicitly allowed until version 420",
 2484|      0|                     "return", "");
 2485|      3|            branch = intermediate.addBranch(EOpReturn, converted, loc);
 2486|      3|        } else {
 2487|      0|            error(loc, "type does not match, or is not convertible to, the function's return type", "return", "");
 2488|      0|            branch = intermediate.addBranch(EOpReturn, value, loc);
 2489|      0|        }
 2490|    231|    } else {
 2491|    231|        if (value->getType().isTexture() || value->getType().isImage()) {
  ------------------
  |  Branch (2491:13): [True: 0, False: 231]
  |  Branch (2491:45): [True: 0, False: 231]
  ------------------
 2492|      0|            if (spvVersion.spv != 0)
  ------------------
  |  Branch (2492:17): [True: 0, False: 0]
  ------------------
 2493|      0|                error(loc, "sampler or image cannot be used as return type when generating SPIR-V", "return", "");
 2494|      0|            else if (!extensionTurnedOn(E_GL_ARB_bindless_texture))
  ------------------
  |  Branch (2494:22): [True: 0, False: 0]
  ------------------
 2495|      0|                error(loc, "sampler or image can be used as return type only when the extension GL_ARB_bindless_texture enabled", "return", "");
 2496|      0|        }
 2497|    231|        branch = intermediate.addBranch(EOpReturn, value, loc);
 2498|    231|    }
 2499|    234|    branch->updatePrecision(currentFunctionType->getQualifier().precision);
 2500|    234|    return branch;
 2501|    234|}
_ZN7glslang13TParseContext13checkLocationERKNS_10TSourceLocENS_9TOperatorE:
 2505|  1.84k|{
 2506|  1.84k|    switch (op) {
 2507|      0|    case EOpBarrier:
  ------------------
  |  Branch (2507:5): [True: 0, False: 1.84k]
  ------------------
 2508|      0|        if (language == EShLangTessControl) {
  ------------------
  |  Branch (2508:13): [True: 0, False: 0]
  ------------------
 2509|      0|            if (controlFlowNestingLevel > 0)
  ------------------
  |  Branch (2509:17): [True: 0, False: 0]
  ------------------
 2510|      0|                error(loc, "tessellation control barrier() cannot be placed within flow control", "", "");
 2511|      0|            if (! inMain)
  ------------------
  |  Branch (2511:17): [True: 0, False: 0]
  ------------------
 2512|      0|                error(loc, "tessellation control barrier() must be in main()", "", "");
 2513|      0|            else if (postEntryPointReturn)
  ------------------
  |  Branch (2513:22): [True: 0, False: 0]
  ------------------
 2514|      0|                error(loc, "tessellation control barrier() cannot be placed after a return from main()", "", "");
 2515|      0|        }
 2516|      0|        break;
 2517|      0|    case EOpBeginInvocationInterlock:
  ------------------
  |  Branch (2517:5): [True: 0, False: 1.84k]
  ------------------
 2518|      0|        if (language != EShLangFragment)
  ------------------
  |  Branch (2518:13): [True: 0, False: 0]
  ------------------
 2519|      0|            error(loc, "beginInvocationInterlockARB() must be in a fragment shader", "", "");
 2520|      0|        if (! inMain)
  ------------------
  |  Branch (2520:13): [True: 0, False: 0]
  ------------------
 2521|      0|            error(loc, "beginInvocationInterlockARB() must be in main()", "", "");
 2522|      0|        else if (postEntryPointReturn)
  ------------------
  |  Branch (2522:18): [True: 0, False: 0]
  ------------------
 2523|      0|            error(loc, "beginInvocationInterlockARB() cannot be placed after a return from main()", "", "");
 2524|      0|        if (controlFlowNestingLevel > 0)
  ------------------
  |  Branch (2524:13): [True: 0, False: 0]
  ------------------
 2525|      0|            error(loc, "beginInvocationInterlockARB() cannot be placed within flow control", "", "");
 2526|       |
 2527|      0|        if (beginInvocationInterlockCount > 0)
  ------------------
  |  Branch (2527:13): [True: 0, False: 0]
  ------------------
 2528|      0|            error(loc, "beginInvocationInterlockARB() must only be called once", "", "");
 2529|      0|        if (endInvocationInterlockCount > 0)
  ------------------
  |  Branch (2529:13): [True: 0, False: 0]
  ------------------
 2530|      0|            error(loc, "beginInvocationInterlockARB() must be called before endInvocationInterlockARB()", "", "");
 2531|       |
 2532|      0|        beginInvocationInterlockCount++;
 2533|       |
 2534|       |        // default to pixel_interlock_ordered
 2535|      0|        if (intermediate.getInterlockOrdering() == EioNone)
  ------------------
  |  Branch (2535:13): [True: 0, False: 0]
  ------------------
 2536|      0|            intermediate.setInterlockOrdering(EioPixelInterlockOrdered);
 2537|      0|        break;
 2538|      0|    case EOpEndInvocationInterlock:
  ------------------
  |  Branch (2538:5): [True: 0, False: 1.84k]
  ------------------
 2539|      0|        if (language != EShLangFragment)
  ------------------
  |  Branch (2539:13): [True: 0, False: 0]
  ------------------
 2540|      0|            error(loc, "endInvocationInterlockARB() must be in a fragment shader", "", "");
 2541|      0|        if (! inMain)
  ------------------
  |  Branch (2541:13): [True: 0, False: 0]
  ------------------
 2542|      0|            error(loc, "endInvocationInterlockARB() must be in main()", "", "");
 2543|      0|        else if (postEntryPointReturn)
  ------------------
  |  Branch (2543:18): [True: 0, False: 0]
  ------------------
 2544|      0|            error(loc, "endInvocationInterlockARB() cannot be placed after a return from main()", "", "");
 2545|      0|        if (controlFlowNestingLevel > 0)
  ------------------
  |  Branch (2545:13): [True: 0, False: 0]
  ------------------
 2546|      0|            error(loc, "endInvocationInterlockARB() cannot be placed within flow control", "", "");
 2547|       |
 2548|      0|        if (endInvocationInterlockCount > 0)
  ------------------
  |  Branch (2548:13): [True: 0, False: 0]
  ------------------
 2549|      0|            error(loc, "endInvocationInterlockARB() must only be called once", "", "");
 2550|      0|        if (beginInvocationInterlockCount == 0)
  ------------------
  |  Branch (2550:13): [True: 0, False: 0]
  ------------------
 2551|      0|            error(loc, "beginInvocationInterlockARB() must be called before endInvocationInterlockARB()", "", "");
 2552|       |
 2553|      0|        endInvocationInterlockCount++;
 2554|      0|        break;
 2555|  1.84k|    default:
  ------------------
  |  Branch (2555:5): [True: 1.84k, False: 0]
  ------------------
 2556|  1.84k|        break;
 2557|  1.84k|    }
 2558|  1.84k|}
_ZNK7glslang13TParseContext27addInputArgumentConversionsERKNS_9TFunctionERP11TIntermNode:
 2629|  1.85k|{
 2630|  1.85k|    TIntermAggregate* aggregate = arguments->getAsAggregate();
 2631|       |
 2632|       |    // Process each argument's conversion
 2633|  8.34k|    for (int i = 0; i < function.getParamCount(); ++i) {
  ------------------
  |  Branch (2633:21): [True: 6.48k, False: 1.85k]
  ------------------
 2634|       |        // At this early point there is a slight ambiguity between whether an aggregate 'arguments'
 2635|       |        // is the single argument itself or its children are the arguments.  Only one argument
 2636|       |        // means take 'arguments' itself as the one argument.
 2637|  6.48k|        TIntermTyped* arg = function.getParamCount() == 1 ? arguments->getAsTyped() : (aggregate ? aggregate->getSequence()[i]->getAsTyped() : arguments->getAsTyped());
  ------------------
  |  Branch (2637:29): [True: 123, False: 6.36k]
  |  Branch (2637:88): [True: 6.36k, False: 0]
  ------------------
 2638|  6.48k|        if (*function[i].type != arg->getType()) {
  ------------------
  |  Branch (2638:13): [True: 0, False: 6.48k]
  ------------------
 2639|      0|            if (function[i].type->getQualifier().isParamInput() &&
  ------------------
  |  Branch (2639:17): [True: 0, False: 0]
  ------------------
 2640|      0|               !function[i].type->isCoopMat() && !function[i].type->isTensorARM() &&
  ------------------
  |  Branch (2640:16): [True: 0, False: 0]
  |  Branch (2640:50): [True: 0, False: 0]
  ------------------
 2641|       |               // tensor layout/view type declarations don't do conversions, so we can't convert these parameters either
 2642|      0|               (function.getName() != "createTensorLayoutNV") &&
  ------------------
  |  Branch (2642:16): [True: 0, False: 0]
  ------------------
 2643|      0|               (function.getName() != "createTensorViewNV")) {
  ------------------
  |  Branch (2643:16): [True: 0, False: 0]
  ------------------
 2644|       |                // In-qualified arguments just need an extra node added above the argument to
 2645|       |                // convert to the correct type.
 2646|      0|                arg = intermediate.addConversion(EOpFunctionCall, *function[i].type, arg);
 2647|      0|                if (arg) {
  ------------------
  |  Branch (2647:21): [True: 0, False: 0]
  ------------------
 2648|      0|                    if (function.getParamCount() == 1)
  ------------------
  |  Branch (2648:25): [True: 0, False: 0]
  ------------------
 2649|      0|                        arguments = arg;
 2650|      0|                    else {
 2651|      0|                        if (aggregate)
  ------------------
  |  Branch (2651:29): [True: 0, False: 0]
  ------------------
 2652|      0|                            aggregate->getSequence()[i] = arg;
 2653|      0|                        else
 2654|      0|                            arguments = arg;
 2655|      0|                    }
 2656|      0|                }
 2657|      0|            }
 2658|      0|        }
 2659|  6.48k|    }
 2660|  1.85k|}
_ZNK7glslang13TParseContext28addOutputArgumentConversionsERKNS_9TFunctionERNS_16TIntermAggregateE:
 2670|  1.87k|{
 2671|  1.87k|    TIntermSequence& arguments = intermNode.getSequence();
 2672|       |
 2673|       |    // Will there be any output conversions?
 2674|  1.87k|    bool outputConversions = false;
 2675|  8.24k|    for (int i = 0; i < function.getParamCount(); ++i) {
  ------------------
  |  Branch (2675:21): [True: 6.36k, False: 1.87k]
  ------------------
 2676|  6.36k|        if (*function[i].type != arguments[i]->getAsTyped()->getType() && function[i].type->getQualifier().isParamOutput() &&
  ------------------
  |  Branch (2676:13): [True: 0, False: 6.36k]
  |  Branch (2676:75): [True: 0, False: 0]
  ------------------
 2677|      0|            !function[i].type->isCoopMat()) {
  ------------------
  |  Branch (2677:13): [True: 0, False: 0]
  ------------------
 2678|      0|            outputConversions = true;
 2679|      0|            break;
 2680|      0|        }
 2681|  6.36k|    }
 2682|       |
 2683|  1.87k|    if (! outputConversions)
  ------------------
  |  Branch (2683:9): [True: 1.87k, False: 0]
  ------------------
 2684|  1.87k|        return &intermNode;
 2685|       |
 2686|       |    // Setup for the new tree, if needed:
 2687|       |    //
 2688|       |    // Output conversions need a different tree topology.
 2689|       |    // Out-qualified arguments need a temporary of the correct type, with the call
 2690|       |    // followed by an assignment of the temporary to the original argument:
 2691|       |    //     void: function(arg, ...)  ->        (          function(tempArg, ...), arg = tempArg, ...)
 2692|       |    //     ret = function(arg, ...)  ->  ret = (tempRet = function(tempArg, ...), arg = tempArg, ..., tempRet)
 2693|       |    // Where the "tempArg" type needs no conversion as an argument, but will convert on assignment.
 2694|      0|    TIntermTyped* conversionTree = nullptr;
 2695|      0|    TVariable* tempRet = nullptr;
 2696|      0|    if (intermNode.getBasicType() != EbtVoid) {
  ------------------
  |  Branch (2696:9): [True: 0, False: 0]
  ------------------
 2697|       |        // do the "tempRet = function(...), " bit from above
 2698|      0|        tempRet = makeInternalVariable("tempReturn", intermNode.getType());
 2699|      0|        TIntermSymbol* tempRetNode = intermediate.addSymbol(*tempRet, intermNode.getLoc());
 2700|      0|        conversionTree = intermediate.addAssign(EOpAssign, tempRetNode, &intermNode, intermNode.getLoc());
 2701|      0|    } else
 2702|      0|        conversionTree = &intermNode;
 2703|       |
 2704|      0|    conversionTree = intermediate.makeAggregate(conversionTree);
 2705|       |
 2706|       |    // Process each argument's conversion
 2707|      0|    for (int i = 0; i < function.getParamCount(); ++i) {
  ------------------
  |  Branch (2707:21): [True: 0, False: 0]
  ------------------
 2708|      0|        if (*function[i].type != arguments[i]->getAsTyped()->getType()) {
  ------------------
  |  Branch (2708:13): [True: 0, False: 0]
  ------------------
 2709|      0|            if (function[i].type->getQualifier().isParamOutput()) {
  ------------------
  |  Branch (2709:17): [True: 0, False: 0]
  ------------------
 2710|       |                // Out-qualified arguments need to use the topology set up above.
 2711|       |                // do the " ...(tempArg, ...), arg = tempArg" bit from above
 2712|      0|                TType paramType;
 2713|      0|                paramType.shallowCopy(*function[i].type);
 2714|      0|                if (arguments[i]->getAsTyped()->getType().isParameterized() &&
  ------------------
  |  Branch (2714:21): [True: 0, False: 0]
  ------------------
 2715|      0|                    !paramType.isParameterized()) {
  ------------------
  |  Branch (2715:21): [True: 0, False: 0]
  ------------------
 2716|      0|                    paramType.shallowCopy(arguments[i]->getAsTyped()->getType());
 2717|      0|                    paramType.copyTypeParameters(*arguments[i]->getAsTyped()->getType().getTypeParameters());
 2718|      0|                }
 2719|      0|                TVariable* tempArg = makeInternalVariable("tempArg", paramType);
 2720|      0|                tempArg->getWritableType().getQualifier().makeTemporary();
 2721|      0|                TIntermSymbol* tempArgNode = intermediate.addSymbol(*tempArg, intermNode.getLoc());
 2722|      0|                TIntermTyped* tempAssign = intermediate.addAssign(EOpAssign, arguments[i]->getAsTyped(), tempArgNode, arguments[i]->getLoc());
 2723|      0|                conversionTree = intermediate.growAggregate(conversionTree, tempAssign, arguments[i]->getLoc());
 2724|       |                // replace the argument with another node for the same tempArg variable
 2725|      0|                arguments[i] = intermediate.addSymbol(*tempArg, intermNode.getLoc());
 2726|      0|            }
 2727|      0|        }
 2728|      0|    }
 2729|       |
 2730|       |    // Finalize the tree topology (see bigger comment above).
 2731|      0|    if (tempRet) {
  ------------------
  |  Branch (2731:9): [True: 0, False: 0]
  ------------------
 2732|       |        // do the "..., tempRet" bit from above
 2733|      0|        TIntermSymbol* tempRetNode = intermediate.addSymbol(*tempRet, intermNode.getLoc());
 2734|      0|        conversionTree = intermediate.growAggregate(conversionTree, tempRetNode, intermNode.getLoc());
 2735|      0|    }
 2736|      0|    conversionTree = intermediate.setAggregateOperator(conversionTree, EOpComma, intermNode.getType(), intermNode.getLoc());
 2737|       |
 2738|      0|    return conversionTree;
 2739|  1.87k|}
_ZN7glslang13TParseContext9addAssignERKNS_10TSourceLocENS_9TOperatorEPNS_12TIntermTypedES6_:
 2742|  1.62k|{
 2743|  1.62k|    if ((op == EOpAddAssign || op == EOpSubAssign) && left->isReference())
  ------------------
  |  Branch (2743:10): [True: 1.62k, False: 0]
  |  Branch (2743:32): [True: 0, False: 0]
  |  Branch (2743:55): [True: 0, False: 1.62k]
  ------------------
 2744|      0|        requireExtensions(loc, 1, &E_GL_EXT_buffer_reference2, "+= and -= on a buffer reference");
 2745|       |
 2746|  1.62k|    if (op == EOpAssign && left->getBasicType() == EbtSampler && right->getBasicType() == EbtSampler)
  ------------------
  |  Branch (2746:9): [True: 0, False: 1.62k]
  |  Branch (2746:28): [True: 0, False: 0]
  |  Branch (2746:66): [True: 0, False: 0]
  ------------------
 2747|      0|        requireExtensions(loc, 1, &E_GL_ARB_bindless_texture, "sampler assignment for bindless texture");
 2748|       |
 2749|  1.62k|    return intermediate.addAssign(op, left, right, loc);
 2750|  1.62k|}
_ZN7glslang13TParseContext23requireDerivativeLayoutERKNS_10TSourceLocEPKcb:
 2960|    303|{
 2961|    303|    if (language != EShLangCompute && language != EShLangTask && language != EShLangMesh)
  ------------------
  |  Branch (2961:9): [True: 303, False: 0]
  |  Branch (2961:39): [True: 303, False: 0]
  |  Branch (2961:66): [True: 303, False: 0]
  ------------------
 2962|    303|        return;
 2963|       |
 2964|       |    // Prior to the compute shader derivatives extensions:
 2965|       |    //  - texture operations using implicit derivatives could be treated as if
 2966|       |    //    the base level of detail was zero. If neither of the compute shader
 2967|       |    //    derivative extensions are enabled, we preserve that behavior to
 2968|       |    //    avoid breaking existing shaders that may rely on that
 2969|       |    //  - derivative operations (such as dFdx()) were only allowed in fragment
 2970|       |    //    shaders, and can only be used in other stages if one of the
 2971|       |    //    extensions are enabled.
 2972|       |
 2973|      0|    if (isDerivativeOp) {
  ------------------
  |  Branch (2973:9): [True: 0, False: 0]
  ------------------
 2974|       |        // GL_NV_compute_shader_derivative added support for derivative operations
 2975|       |        // in compute shaders (only).
 2976|       |        //  GL_KHR_compute_shader_derivatives extended this to
 2977|       |        // task and mesh shaders.
 2978|       |
 2979|      0|        if (language == EShLangCompute) {
  ------------------
  |  Branch (2979:13): [True: 0, False: 0]
  ------------------
 2980|      0|            const char* const derivativeExts[] = {E_GL_NV_compute_shader_derivatives,
 2981|      0|                                                  E_GL_KHR_compute_shader_derivatives};
 2982|      0|            requireExtensions(loc, 2, derivativeExts, featureDesc);
 2983|      0|        } else {
 2984|      0|            requireExtensions(loc, 1, &E_GL_KHR_compute_shader_derivatives, featureDesc);
 2985|      0|        }
 2986|      0|    }
 2987|       |
 2988|       |    // GL_KHR_compute_shader_derivatives requires a derivative group mode to
 2989|       |    // be specified. GL_NV_compute_shader_derivative does not.
 2990|      0|    if (extensionTurnedOn(E_GL_KHR_compute_shader_derivatives) &&
  ------------------
  |  Branch (2990:9): [True: 0, False: 0]
  ------------------
 2991|      0|        !intermediate.hasLayoutDerivativeModeNone())
  ------------------
  |  Branch (2991:9): [True: 0, False: 0]
  ------------------
 2992|      0|        error(loc, "requires a derivative_group_quads* or derivative_group_linear* layout qualifier", featureDesc, "");
 2993|      0|}
_ZN7glslang13TParseContext14builtInOpCheckERKNS_10TSourceLocERKNS_9TFunctionERNS_15TIntermOperatorE:
 2996|  1.84k|{
 2997|       |    // Set up convenience accessors to the argument(s).  There is almost always
 2998|       |    // multiple arguments for the cases below, but when there might be one,
 2999|       |    // check the unaryArg first.
 3000|  1.84k|    const TIntermSequence* argp = nullptr;   // confusing to use [] syntax on a pointer, so this is to help get a reference
 3001|  1.84k|    const TIntermTyped* unaryArg = nullptr;
 3002|  1.84k|    const TIntermTyped* arg0 = nullptr;
 3003|  1.84k|    if (callNode.getAsAggregate()) {
  ------------------
  |  Branch (3003:9): [True: 1.72k, False: 120]
  ------------------
 3004|  1.72k|        argp = &callNode.getAsAggregate()->getSequence();
 3005|  1.72k|        if (argp->size() > 0)
  ------------------
  |  Branch (3005:13): [True: 1.72k, False: 0]
  ------------------
 3006|  1.72k|            arg0 = (*argp)[0]->getAsTyped();
 3007|  1.72k|    } else {
 3008|    120|        assert(callNode.getAsUnaryNode());
 3009|    120|        unaryArg = callNode.getAsUnaryNode()->getOperand();
 3010|    120|        arg0 = unaryArg;
 3011|    120|    }
 3012|       |
 3013|  1.84k|    TString featureString;
 3014|  1.84k|    const char* feature = nullptr;
 3015|       |
 3016|  1.84k|    auto checkConstantArgWithLocation = [&](int argIndex, const char* argDescription,
 3017|  1.84k|                                                       const char* errMsg, int ioRTLocationSet) {
 3018|       |        //ioRTLocationSet refers to grouping of locations of RT input/outputs as defined in TIntermediate::usedIoRT
 3019|  1.84k|        if (!(*argp)[argIndex]->getAsConstantUnion()) {
 3020|  1.84k|            error(loc, "argument must be compile-time constant", argDescription, argIndex == 10 ? "a" : "");
 3021|  1.84k|        } else if (ioRTLocationSet >= 0) {
 3022|  1.84k|            unsigned int location = (*argp)[argIndex]->getAsConstantUnion()->getAsConstantUnion()->getConstArray()[0].getUConst();
 3023|  1.84k|            if (!extensionTurnedOn(E_GL_EXT_spirv_intrinsics) && intermediate.checkLocationRT(ioRTLocationSet, location) < 0)
 3024|  1.84k|                error(loc, "with layout(location =", errMsg, "%d)", location);
 3025|  1.84k|        }
 3026|  1.84k|    };
 3027|       |
 3028|  1.84k|    switch (callNode.getOp()) {
 3029|      0|    case EOpDPdx:
  ------------------
  |  Branch (3029:5): [True: 0, False: 1.84k]
  ------------------
 3030|      0|    case EOpDPdxFine:
  ------------------
  |  Branch (3030:5): [True: 0, False: 1.84k]
  ------------------
 3031|      0|    case EOpDPdxCoarse:
  ------------------
  |  Branch (3031:5): [True: 0, False: 1.84k]
  ------------------
 3032|      0|    case EOpDPdy:
  ------------------
  |  Branch (3032:5): [True: 0, False: 1.84k]
  ------------------
 3033|      0|    case EOpDPdyFine:
  ------------------
  |  Branch (3033:5): [True: 0, False: 1.84k]
  ------------------
 3034|      0|    case EOpDPdyCoarse:
  ------------------
  |  Branch (3034:5): [True: 0, False: 1.84k]
  ------------------
 3035|      0|    case EOpFwidth:
  ------------------
  |  Branch (3035:5): [True: 0, False: 1.84k]
  ------------------
 3036|      0|    case EOpFwidthFine:
  ------------------
  |  Branch (3036:5): [True: 0, False: 1.84k]
  ------------------
 3037|      0|    case EOpFwidthCoarse:
  ------------------
  |  Branch (3037:5): [True: 0, False: 1.84k]
  ------------------
 3038|      0|        requireDerivativeLayout(loc, fnCandidate.getName().c_str(), true);
 3039|      0|        break;
 3040|       |
 3041|     60|    case EOpTextureGather:
  ------------------
  |  Branch (3041:5): [True: 60, False: 1.78k]
  ------------------
 3042|     96|    case EOpTextureGatherOffset:
  ------------------
  |  Branch (3042:5): [True: 36, False: 1.81k]
  ------------------
 3043|    132|    case EOpTextureGatherOffsets:
  ------------------
  |  Branch (3043:5): [True: 36, False: 1.81k]
  ------------------
 3044|    132|    {
 3045|       |        // Figure out which variants are allowed by what extensions,
 3046|       |        // and what arguments must be constant for which situations.
 3047|       |
 3048|    132|        featureString = fnCandidate.getName();
 3049|    132|        featureString += "(...)";
 3050|    132|        feature = featureString.c_str();
 3051|    132|        profileRequires(loc, EEsProfile, 310, nullptr, feature);
 3052|    132|        int compArg = -1;  // track which argument, if any, is the constant component argument
 3053|    132|        const int numTexGatherExts = 3;
 3054|    132|        const char* texGatherExts[numTexGatherExts] = { E_GL_ARB_texture_gather,
 3055|    132|                                                        E_GL_ARB_gpu_shader5,
 3056|    132|                                                        E_GL_NV_gpu_shader5};
 3057|    132|        switch (callNode.getOp()) {
 3058|     60|        case EOpTextureGather:
  ------------------
  |  Branch (3058:9): [True: 60, False: 72]
  ------------------
 3059|       |            // More than two arguments needs gpu_shader5, and rectangular or shadow needs gpu_shader5,
 3060|       |            // otherwise, need GL_ARB_texture_gather.
 3061|     60|            if (fnCandidate.getParamCount() > 2 || fnCandidate[0].type->getSampler().dim == EsdRect || fnCandidate[0].type->getSampler().shadow) {
  ------------------
  |  Branch (3061:17): [True: 60, False: 0]
  |  Branch (3061:52): [True: 0, False: 0]
  |  Branch (3061:104): [True: 0, False: 0]
  ------------------
 3062|     60|                profileRequires(loc, ~EEsProfile, 400, Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5, feature);
 3063|     60|                if (! fnCandidate[0].type->getSampler().shadow)
  ------------------
  |  Branch (3063:21): [True: 30, False: 30]
  ------------------
 3064|     30|                    compArg = 2;
 3065|     60|            } else
 3066|      0|                profileRequires(loc, ~EEsProfile, 400, numTexGatherExts, texGatherExts, feature);
 3067|     60|            break;
 3068|     36|        case EOpTextureGatherOffset:
  ------------------
  |  Branch (3068:9): [True: 36, False: 96]
  ------------------
 3069|       |            // GL_ARB_texture_gather is good enough for 2D non-shadow textures with no component argument
 3070|     36|            if (fnCandidate[0].type->getSampler().dim == Esd2D && ! fnCandidate[0].type->getSampler().shadow && fnCandidate.getParamCount() == 3)
  ------------------
  |  Branch (3070:17): [True: 24, False: 12]
  |  Branch (3070:67): [True: 12, False: 12]
  |  Branch (3070:113): [True: 0, False: 12]
  ------------------
 3071|      0|                profileRequires(loc, ~EEsProfile, 400, numTexGatherExts, texGatherExts, feature);
 3072|     36|            else
 3073|     36|                profileRequires(loc, ~EEsProfile, 400, Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5, feature);
 3074|     36|            if (! (*argp)[fnCandidate[0].type->getSampler().shadow ? 3 : 2]->getAsConstantUnion())
  ------------------
  |  Branch (3074:17): [True: 0, False: 36]
  |  Branch (3074:27): [True: 18, False: 18]
  ------------------
 3075|      0|                profileRequires(loc, EEsProfile, 320, Num_AEP_gpu_shader5, AEP_gpu_shader5,
 3076|      0|                                "non-constant offset argument");
 3077|     36|            if (! fnCandidate[0].type->getSampler().shadow)
  ------------------
  |  Branch (3077:17): [True: 18, False: 18]
  ------------------
 3078|     18|                compArg = 3;
 3079|     36|            break;
 3080|     36|        case EOpTextureGatherOffsets:
  ------------------
  |  Branch (3080:9): [True: 36, False: 96]
  ------------------
 3081|     36|            profileRequires(loc, ~EEsProfile, 400, Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5, feature);
 3082|     36|            if (! fnCandidate[0].type->getSampler().shadow)
  ------------------
  |  Branch (3082:17): [True: 18, False: 18]
  ------------------
 3083|     18|                compArg = 3;
 3084|       |            // check for constant offsets
 3085|     36|            if (! (*argp)[fnCandidate[0].type->getSampler().shadow ? 3 : 2]->getAsConstantUnion()
  ------------------
  |  Branch (3085:17): [True: 0, False: 36]
  |  Branch (3085:27): [True: 18, False: 18]
  ------------------
 3086|       |                // NV_gpu_shader5 relaxes this limitation and allows for non-constant offsets
 3087|      0|                && !extensionTurnedOn(E_GL_NV_gpu_shader5))
  ------------------
  |  Branch (3087:20): [True: 0, False: 0]
  ------------------
 3088|      0|                error(loc, "must be a compile-time constant:", feature, "offsets argument");
 3089|     36|            break;
 3090|      0|        default:
  ------------------
  |  Branch (3090:9): [True: 0, False: 132]
  ------------------
 3091|      0|            break;
 3092|    132|        }
 3093|       |
 3094|    132|        if (compArg > 0 && compArg < fnCandidate.getParamCount()) {
  ------------------
  |  Branch (3094:13): [True: 66, False: 66]
  |  Branch (3094:28): [True: 66, False: 0]
  ------------------
 3095|     66|            if ((*argp)[compArg]->getAsConstantUnion()) {
  ------------------
  |  Branch (3095:17): [True: 66, False: 0]
  ------------------
 3096|     66|                int value = (*argp)[compArg]->getAsConstantUnion()->getConstArray()[0].getIConst();
 3097|     66|                if (value < 0 || value > 3)
  ------------------
  |  Branch (3097:21): [True: 0, False: 66]
  |  Branch (3097:34): [True: 0, False: 66]
  ------------------
 3098|      0|                    error(loc, "must be 0, 1, 2, or 3:", feature, "component argument");
 3099|     66|            } else
 3100|      0|                error(loc, "must be a compile-time constant:", feature, "component argument");
 3101|     66|        }
 3102|       |
 3103|    132|        bool bias = false;
 3104|    132|        if (callNode.getOp() == EOpTextureGather)
  ------------------
  |  Branch (3104:13): [True: 60, False: 72]
  ------------------
 3105|     60|            bias = fnCandidate.getParamCount() > 3;
 3106|     72|        else if (callNode.getOp() == EOpTextureGatherOffset ||
  ------------------
  |  Branch (3106:18): [True: 36, False: 36]
  ------------------
 3107|     36|                 callNode.getOp() == EOpTextureGatherOffsets)
  ------------------
  |  Branch (3107:18): [True: 36, False: 0]
  ------------------
 3108|     72|            bias = fnCandidate.getParamCount() > 4;
 3109|       |
 3110|    132|        if (bias) {
  ------------------
  |  Branch (3110:13): [True: 0, False: 132]
  ------------------
 3111|      0|            featureString = fnCandidate.getName();
 3112|      0|            featureString += "with bias argument";
 3113|      0|            feature = featureString.c_str();
 3114|      0|            profileRequires(loc, ~EEsProfile, 450, nullptr, feature);
 3115|      0|            requireExtensions(loc, 1, &E_GL_AMD_texture_gather_bias_lod, feature);
 3116|      0|        }
 3117|    132|        break;
 3118|    132|    }
 3119|       |
 3120|    135|    case EOpTexture:
  ------------------
  |  Branch (3120:5): [True: 135, False: 1.71k]
  ------------------
 3121|    195|    case EOpTextureLod:
  ------------------
  |  Branch (3121:5): [True: 60, False: 1.78k]
  ------------------
 3122|    195|    {
 3123|    195|        if (callNode.getOp() == EOpTexture && fnCandidate.getParamCount() > 2)
  ------------------
  |  Branch (3123:13): [True: 135, False: 60]
  |  Branch (3123:47): [True: 9, False: 126]
  ------------------
 3124|      9|            requireDerivativeLayout(loc, (fnCandidate.getName() + " with bias argument").c_str(), false);
 3125|       |
 3126|    195|        if ((fnCandidate.getParamCount() > 2) && ((*argp)[1]->getAsTyped()->getType().getBasicType() == EbtFloat) &&
  ------------------
  |  Branch (3126:13): [True: 69, False: 126]
  |  Branch (3126:50): [True: 69, False: 0]
  ------------------
 3127|     69|            ((*argp)[1]->getAsTyped()->getType().getVectorSize() == 4) && fnCandidate[0].type->getSampler().shadow) {
  ------------------
  |  Branch (3127:13): [True: 15, False: 54]
  |  Branch (3127:75): [True: 9, False: 6]
  ------------------
 3128|      9|            featureString = fnCandidate.getName();
 3129|      9|            if (callNode.getOp() == EOpTexture)
  ------------------
  |  Branch (3129:17): [True: 9, False: 0]
  ------------------
 3130|      9|                featureString += "(..., float bias)";
 3131|      0|            else
 3132|      0|                featureString += "(..., float lod)";
 3133|      9|            feature = featureString.c_str();
 3134|       |
 3135|      9|            if ((fnCandidate[0].type->getSampler().dim == Esd2D && fnCandidate[0].type->getSampler().arrayed) || //2D Array Shadow
  ------------------
  |  Branch (3135:18): [True: 0, False: 9]
  |  Branch (3135:68): [True: 0, False: 0]
  ------------------
 3136|      9|                (fnCandidate[0].type->getSampler().dim == EsdCube && fnCandidate[0].type->getSampler().arrayed && fnCandidate.getParamCount() > 3) || // Cube Array Shadow
  ------------------
  |  Branch (3136:18): [True: 9, False: 0]
  |  Branch (3136:70): [True: 9, False: 0]
  |  Branch (3136:115): [True: 0, False: 9]
  ------------------
 3137|      9|                (fnCandidate[0].type->getSampler().dim == EsdCube && callNode.getOp() == EOpTextureLod)) { // Cube Shadow
  ------------------
  |  Branch (3137:18): [True: 9, False: 0]
  |  Branch (3137:70): [True: 0, False: 9]
  ------------------
 3138|      0|                requireExtensions(loc, 1, &E_GL_EXT_texture_shadow_lod, feature);
 3139|      0|                if (isEsProfile()) {
  ------------------
  |  Branch (3139:21): [True: 0, False: 0]
  ------------------
 3140|      0|                    if (version < 320 &&
  ------------------
  |  Branch (3140:25): [True: 0, False: 0]
  ------------------
 3141|      0|                        !extensionsTurnedOn(Num_AEP_texture_cube_map_array, AEP_texture_cube_map_array))
  ------------------
  |  Branch (3141:25): [True: 0, False: 0]
  ------------------
 3142|      0|                        error(loc, "GL_EXT_texture_shadow_lod not supported for this ES version", feature, "");
 3143|      0|                    else
 3144|      0|                        profileRequires(loc, EEsProfile, 320, nullptr, feature);
 3145|      0|                } else { // Desktop
 3146|      0|                    profileRequires(loc, ~EEsProfile, 130, nullptr, feature);
 3147|      0|                }
 3148|      0|            }
 3149|      9|        }
 3150|    195|        break;
 3151|    135|    }
 3152|       |
 3153|     60|    case EOpTextureProj:
  ------------------
  |  Branch (3153:5): [True: 60, False: 1.78k]
  ------------------
 3154|    126|    case EOpSparseTexture:
  ------------------
  |  Branch (3154:5): [True: 66, False: 1.78k]
  ------------------
 3155|    126|    case EOpTextureQueryLod:
  ------------------
  |  Branch (3155:5): [True: 0, False: 1.84k]
  ------------------
 3156|    126|        requireDerivativeLayout(loc, fnCandidate.getName().c_str(), false);
 3157|    126|        break;
 3158|       |
 3159|     30|    case EOpSparseTextureGather:
  ------------------
  |  Branch (3159:5): [True: 30, False: 1.81k]
  ------------------
 3160|     48|    case EOpSparseTextureGatherOffset:
  ------------------
  |  Branch (3160:5): [True: 18, False: 1.83k]
  ------------------
 3161|     66|    case EOpSparseTextureGatherOffsets:
  ------------------
  |  Branch (3161:5): [True: 18, False: 1.83k]
  ------------------
 3162|     66|    {
 3163|     66|        bool bias = false;
 3164|     66|        if (callNode.getOp() == EOpSparseTextureGather)
  ------------------
  |  Branch (3164:13): [True: 30, False: 36]
  ------------------
 3165|     30|            bias = fnCandidate.getParamCount() > 4;
 3166|     36|        else if (callNode.getOp() == EOpSparseTextureGatherOffset ||
  ------------------
  |  Branch (3166:18): [True: 18, False: 18]
  ------------------
 3167|     18|                 callNode.getOp() == EOpSparseTextureGatherOffsets)
  ------------------
  |  Branch (3167:18): [True: 18, False: 0]
  ------------------
 3168|     36|            bias = fnCandidate.getParamCount() > 5;
 3169|       |
 3170|     66|        if (bias) {
  ------------------
  |  Branch (3170:13): [True: 0, False: 66]
  ------------------
 3171|      0|            featureString = fnCandidate.getName();
 3172|      0|            featureString += "with bias argument";
 3173|      0|            feature = featureString.c_str();
 3174|      0|            profileRequires(loc, ~EEsProfile, 450, nullptr, feature);
 3175|      0|            requireExtensions(loc, 1, &E_GL_AMD_texture_gather_bias_lod, feature);
 3176|      0|        }
 3177|       |        // As per GL_ARB_sparse_texture2 extension "Offsets" parameter must be constant integral expression
 3178|       |        // for sparseTextureGatherOffsetsARB just as textureGatherOffsets
 3179|     66|        if (callNode.getOp() == EOpSparseTextureGatherOffsets) {
  ------------------
  |  Branch (3179:13): [True: 18, False: 48]
  ------------------
 3180|     18|            int offsetsArg = arg0->getType().getSampler().shadow ? 3 : 2;
  ------------------
  |  Branch (3180:30): [True: 9, False: 9]
  ------------------
 3181|     18|            if (!(*argp)[offsetsArg]->getAsConstantUnion())
  ------------------
  |  Branch (3181:17): [True: 0, False: 18]
  ------------------
 3182|      0|                error(loc, "argument must be compile-time constant", "offsets", "");
 3183|     18|        }
 3184|     66|        break;
 3185|     48|    }
 3186|       |
 3187|     12|    case EOpSparseTextureGatherLod:
  ------------------
  |  Branch (3187:5): [True: 12, False: 1.83k]
  ------------------
 3188|     18|    case EOpSparseTextureGatherLodOffset:
  ------------------
  |  Branch (3188:5): [True: 6, False: 1.84k]
  ------------------
 3189|     24|    case EOpSparseTextureGatherLodOffsets:
  ------------------
  |  Branch (3189:5): [True: 6, False: 1.84k]
  ------------------
 3190|     24|    {
 3191|     24|        requireExtensions(loc, 1, &E_GL_ARB_sparse_texture2, fnCandidate.getName().c_str());
 3192|     24|        break;
 3193|     18|    }
 3194|       |
 3195|      0|    case EOpSwizzleInvocations:
  ------------------
  |  Branch (3195:5): [True: 0, False: 1.84k]
  ------------------
 3196|      0|    {
 3197|      0|        if (! (*argp)[1]->getAsConstantUnion())
  ------------------
  |  Branch (3197:13): [True: 0, False: 0]
  ------------------
 3198|      0|            error(loc, "argument must be compile-time constant", "offset", "");
 3199|      0|        else {
 3200|      0|            unsigned offset[4] = {};
 3201|      0|            offset[0] = (*argp)[1]->getAsConstantUnion()->getConstArray()[0].getUConst();
 3202|      0|            offset[1] = (*argp)[1]->getAsConstantUnion()->getConstArray()[1].getUConst();
 3203|      0|            offset[2] = (*argp)[1]->getAsConstantUnion()->getConstArray()[2].getUConst();
 3204|      0|            offset[3] = (*argp)[1]->getAsConstantUnion()->getConstArray()[3].getUConst();
 3205|      0|            if (offset[0] > 3 || offset[1] > 3 || offset[2] > 3 || offset[3] > 3)
  ------------------
  |  Branch (3205:17): [True: 0, False: 0]
  |  Branch (3205:34): [True: 0, False: 0]
  |  Branch (3205:51): [True: 0, False: 0]
  |  Branch (3205:68): [True: 0, False: 0]
  ------------------
 3206|      0|                error(loc, "components must be in the range [0, 3]", "offset", "");
 3207|      0|        }
 3208|       |
 3209|      0|        break;
 3210|     18|    }
 3211|       |
 3212|      0|    case EOpSwizzleInvocationsMasked:
  ------------------
  |  Branch (3212:5): [True: 0, False: 1.84k]
  ------------------
 3213|      0|    {
 3214|      0|        if (! (*argp)[1]->getAsConstantUnion())
  ------------------
  |  Branch (3214:13): [True: 0, False: 0]
  ------------------
 3215|      0|            error(loc, "argument must be compile-time constant", "mask", "");
 3216|      0|        else {
 3217|      0|            unsigned mask[3] = {};
 3218|      0|            mask[0] = (*argp)[1]->getAsConstantUnion()->getConstArray()[0].getUConst();
 3219|      0|            mask[1] = (*argp)[1]->getAsConstantUnion()->getConstArray()[1].getUConst();
 3220|      0|            mask[2] = (*argp)[1]->getAsConstantUnion()->getConstArray()[2].getUConst();
 3221|      0|            if (mask[0] > 31 || mask[1] > 31 || mask[2] > 31)
  ------------------
  |  Branch (3221:17): [True: 0, False: 0]
  |  Branch (3221:33): [True: 0, False: 0]
  |  Branch (3221:49): [True: 0, False: 0]
  ------------------
 3222|      0|                error(loc, "components must be in the range [0, 31]", "mask", "");
 3223|      0|        }
 3224|       |
 3225|      0|        break;
 3226|     18|    }
 3227|       |
 3228|     66|    case EOpTextureOffset:
  ------------------
  |  Branch (3228:5): [True: 66, False: 1.78k]
  ------------------
 3229|    102|    case EOpTextureFetchOffset:
  ------------------
  |  Branch (3229:5): [True: 36, False: 1.81k]
  ------------------
 3230|    162|    case EOpTextureProjOffset:
  ------------------
  |  Branch (3230:5): [True: 60, False: 1.78k]
  ------------------
 3231|    210|    case EOpTextureLodOffset:
  ------------------
  |  Branch (3231:5): [True: 48, False: 1.80k]
  ------------------
 3232|    252|    case EOpTextureProjLodOffset:
  ------------------
  |  Branch (3232:5): [True: 42, False: 1.80k]
  ------------------
 3233|    318|    case EOpTextureGradOffset:
  ------------------
  |  Branch (3233:5): [True: 66, False: 1.78k]
  ------------------
 3234|    378|    case EOpTextureProjGradOffset:
  ------------------
  |  Branch (3234:5): [True: 60, False: 1.78k]
  ------------------
 3235|    420|    case EOpSparseTextureOffset:
  ------------------
  |  Branch (3235:5): [True: 42, False: 1.80k]
  ------------------
 3236|    432|    case EOpSparseTextureFetchOffset:
  ------------------
  |  Branch (3236:5): [True: 12, False: 1.83k]
  ------------------
 3237|    456|    case EOpSparseTextureLodOffset:
  ------------------
  |  Branch (3237:5): [True: 24, False: 1.82k]
  ------------------
 3238|    489|    case EOpSparseTextureGradOffset:
  ------------------
  |  Branch (3238:5): [True: 33, False: 1.81k]
  ------------------
 3239|    489|    {
 3240|    489|        if (callNode.getOp() == EOpTextureOffset || callNode.getOp() == EOpTextureProjOffset ||
  ------------------
  |  Branch (3240:13): [True: 66, False: 423]
  |  Branch (3240:53): [True: 60, False: 363]
  ------------------
 3241|    363|            callNode.getOp() == EOpSparseTextureOffset)
  ------------------
  |  Branch (3241:13): [True: 42, False: 321]
  ------------------
 3242|    168|            requireDerivativeLayout(loc, fnCandidate.getName().c_str(), false);
 3243|       |
 3244|       |        // Handle texture-offset limits checking
 3245|       |        // Pick which argument has to hold constant offsets
 3246|    489|        int arg = -1;
 3247|    489|        switch (callNode.getOp()) {
 3248|     42|        case EOpSparseTextureOffset:
  ------------------
  |  Branch (3248:9): [True: 42, False: 447]
  ------------------
 3249|    108|        case EOpTextureOffset:
  ------------------
  |  Branch (3249:9): [True: 66, False: 423]
  ------------------
 3250|    168|        case EOpTextureProjOffset:
  ------------------
  |  Branch (3250:9): [True: 60, False: 429]
  ------------------
 3251|    168|            arg = 2;
 3252|    168|            break;
 3253|     24|        case EOpSparseTextureLodOffset:
  ------------------
  |  Branch (3253:9): [True: 24, False: 465]
  ------------------
 3254|     72|        case EOpTextureLodOffset:
  ------------------
  |  Branch (3254:9): [True: 48, False: 441]
  ------------------
 3255|    114|        case EOpTextureProjLodOffset:
  ------------------
  |  Branch (3255:9): [True: 42, False: 447]
  ------------------
 3256|    114|            arg = 3;
 3257|    114|            break;
 3258|     33|        case EOpSparseTextureGradOffset:
  ------------------
  |  Branch (3258:9): [True: 33, False: 456]
  ------------------
 3259|     99|        case EOpTextureGradOffset:
  ------------------
  |  Branch (3259:9): [True: 66, False: 423]
  ------------------
 3260|    159|        case EOpTextureProjGradOffset:
  ------------------
  |  Branch (3260:9): [True: 60, False: 429]
  ------------------
 3261|    159|            arg = 4;
 3262|    159|            break;
 3263|     12|        case EOpSparseTextureFetchOffset:
  ------------------
  |  Branch (3263:9): [True: 12, False: 477]
  ------------------
 3264|     48|        case EOpTextureFetchOffset:
  ------------------
  |  Branch (3264:9): [True: 36, False: 453]
  ------------------
 3265|     48|            arg = (arg0->getType().getSampler().isRect()) ? 2 : 3;
  ------------------
  |  Branch (3265:19): [True: 9, False: 39]
  ------------------
 3266|     48|            break;
 3267|      0|        default:
  ------------------
  |  Branch (3267:9): [True: 0, False: 489]
  ------------------
 3268|      0|            assert(0);
 3269|      0|            break;
 3270|    489|        }
 3271|       |
 3272|    489|        if (arg > 0) {
  ------------------
  |  Branch (3272:13): [True: 489, False: 0]
  ------------------
 3273|       |
 3274|    489|            bool f16ShadowCompare = (*argp)[1]->getAsTyped()->getBasicType() == EbtFloat16 &&
  ------------------
  |  Branch (3274:37): [True: 0, False: 489]
  ------------------
 3275|      0|                                    arg0->getType().getSampler().shadow;
  ------------------
  |  Branch (3275:37): [True: 0, False: 0]
  ------------------
 3276|    489|            if (f16ShadowCompare)
  ------------------
  |  Branch (3276:17): [True: 0, False: 489]
  ------------------
 3277|      0|                ++arg;
 3278|       |            // Allow non-constant offsets for certain texture ops
 3279|    489|            bool variableOffsetSupport = extensionTurnedOn(E_GL_NV_gpu_shader5) && 
  ------------------
  |  Branch (3279:42): [True: 0, False: 489]
  ------------------
 3280|      0|                (callNode.getOp() == EOpTextureOffset || 
  ------------------
  |  Branch (3280:18): [True: 0, False: 0]
  ------------------
 3281|      0|                 callNode.getOp() == EOpTextureFetchOffset ||
  ------------------
  |  Branch (3281:18): [True: 0, False: 0]
  ------------------
 3282|      0|                 callNode.getOp() == EOpTextureProjOffset || 
  ------------------
  |  Branch (3282:18): [True: 0, False: 0]
  ------------------
 3283|      0|                 callNode.getOp() == EOpTextureLodOffset ||
  ------------------
  |  Branch (3283:18): [True: 0, False: 0]
  ------------------
 3284|      0|                 callNode.getOp() == EOpTextureProjLodOffset);
  ------------------
  |  Branch (3284:18): [True: 0, False: 0]
  ------------------
 3285|    489|            if (! (*argp)[arg]->getAsTyped()->getQualifier().isConstant()) {
  ------------------
  |  Branch (3285:17): [True: 0, False: 489]
  ------------------
 3286|      0|				if (!extensionTurnedOn(E_GL_EXT_texture_offset_non_const) && !variableOffsetSupport)
  ------------------
  |  Branch (3286:9): [True: 0, False: 0]
  |  Branch (3286:66): [True: 0, False: 0]
  ------------------
 3287|      0|                    error(loc, "argument must be compile-time constant", "texel offset", "");
 3288|      0|            }
 3289|    489|            else if ((*argp)[arg]->getAsConstantUnion()) {
  ------------------
  |  Branch (3289:22): [True: 489, False: 0]
  ------------------
 3290|    489|                const TType& type = (*argp)[arg]->getAsTyped()->getType();
 3291|  1.39k|                for (int c = 0; c < type.getVectorSize(); ++c) {
  ------------------
  |  Branch (3291:33): [True: 903, False: 489]
  ------------------
 3292|    903|                    int offset = (*argp)[arg]->getAsConstantUnion()->getConstArray()[c].getIConst();
 3293|    903|                    if (offset > resources.maxProgramTexelOffset || offset < resources.minProgramTexelOffset)
  ------------------
  |  Branch (3293:25): [True: 0, False: 903]
  |  Branch (3293:69): [True: 0, False: 903]
  ------------------
 3294|      0|                        error(loc, "value is out of range:", "texel offset",
 3295|      0|                              "[gl_MinProgramTexelOffset, gl_MaxProgramTexelOffset]");
 3296|    903|                }
 3297|    489|            }
 3298|       |
 3299|       |            // This check does not apply to sparse because
 3300|       |            // GL_ARB_sparse_texture2 always includes this function.
 3301|    489|            if (callNode.getOp() == EOpTextureOffset) {
  ------------------
  |  Branch (3301:17): [True: 66, False: 423]
  ------------------
 3302|     66|                TSampler s = arg0->getType().getSampler();
 3303|     66|                if (s.is2D() && s.isArrayed() && s.isShadow()) {
  ------------------
  |  Branch (3303:21): [True: 24, False: 42]
  |  Branch (3303:33): [True: 12, False: 12]
  |  Branch (3303:50): [True: 6, False: 6]
  ------------------
 3304|      6|                    if (
 3305|      6|                        ((*argp)[1]->getAsTyped()->getType().getBasicType() == EbtFloat) &&
  ------------------
  |  Branch (3305:25): [True: 6, False: 0]
  ------------------
 3306|      6|                        ((*argp)[1]->getAsTyped()->getType().getVectorSize() == 4) &&
  ------------------
  |  Branch (3306:25): [True: 6, False: 0]
  ------------------
 3307|      6|                        (fnCandidate.getParamCount() == 4)) {
  ------------------
  |  Branch (3307:25): [True: 0, False: 6]
  ------------------
 3308|      0|                        featureString = fnCandidate.getName() + " for sampler2DArrayShadow";
 3309|      0|                        feature = featureString.c_str();
 3310|      0|                        requireExtensions(loc, 1, &E_GL_EXT_texture_shadow_lod, feature);
 3311|      0|                        profileRequires(loc, EEsProfile, 300, nullptr, feature);
 3312|      0|                        profileRequires(loc, ~EEsProfile, 130, nullptr, feature);
 3313|      0|                    }
 3314|      6|                    else if (isEsProfile())
  ------------------
  |  Branch (3314:30): [True: 0, False: 6]
  ------------------
 3315|      0|                        error(loc, "TextureOffset does not support sampler2DArrayShadow : ", "sampler", "ES Profile");
 3316|      6|                    else if (version <= 420)
  ------------------
  |  Branch (3316:30): [True: 0, False: 6]
  ------------------
 3317|      0|                        error(loc, "TextureOffset does not support sampler2DArrayShadow : ", "sampler", "version <= 420");
 3318|      6|                }
 3319|     66|            }
 3320|       |
 3321|       |            // This check does not apply to sparse because
 3322|       |            // GL_ARB_sparse_texture2 does not define sparseTextureLodOffsetARB
 3323|       |            // with a sampler2DArrayShadow.
 3324|    489|            if (callNode.getOp() == EOpTextureLodOffset) {
  ------------------
  |  Branch (3324:17): [True: 48, False: 441]
  ------------------
 3325|     48|                TSampler s = arg0->getType().getSampler();
 3326|     48|                if (s.is2D() && s.isArrayed() && s.isShadow() &&
  ------------------
  |  Branch (3326:21): [True: 18, False: 30]
  |  Branch (3326:33): [True: 6, False: 12]
  |  Branch (3326:50): [True: 0, False: 6]
  ------------------
 3327|      0|                    ((*argp)[1]->getAsTyped()->getType().getBasicType() == EbtFloat) &&
  ------------------
  |  Branch (3327:21): [True: 0, False: 0]
  ------------------
 3328|      0|                    ((*argp)[1]->getAsTyped()->getType().getVectorSize() == 4) &&
  ------------------
  |  Branch (3328:21): [True: 0, False: 0]
  ------------------
 3329|      0|                    (fnCandidate.getParamCount() == 4)) {
  ------------------
  |  Branch (3329:21): [True: 0, False: 0]
  ------------------
 3330|      0|                        featureString = fnCandidate.getName() + " for sampler2DArrayShadow";
 3331|      0|                        feature = featureString.c_str();
 3332|      0|                        profileRequires(loc, EEsProfile, 300, nullptr, feature);
 3333|      0|                        profileRequires(loc, ~EEsProfile, 130, nullptr, feature);
 3334|      0|                        requireExtensions(loc, 1, &E_GL_EXT_texture_shadow_lod, feature);
 3335|      0|                }
 3336|     48|            }
 3337|    489|        }
 3338|       |
 3339|    489|        break;
 3340|    489|    }
 3341|       |
 3342|       |
 3343|      0|    case EOpTraceNV:
  ------------------
  |  Branch (3343:5): [True: 0, False: 1.84k]
  ------------------
 3344|      0|        checkConstantArgWithLocation(10, "payload number", nullptr, -1);
 3345|      0|        break;
 3346|      0|    case EOpTraceRayMotionNV:
  ------------------
  |  Branch (3346:5): [True: 0, False: 1.84k]
  ------------------
 3347|      0|        checkConstantArgWithLocation(11, "payload number", nullptr, -1);
 3348|      0|        break;
 3349|      0|    case EOpTraceKHR:
  ------------------
  |  Branch (3349:5): [True: 0, False: 1.84k]
  ------------------
 3350|      0|        checkConstantArgWithLocation(10, "payload number", "no rayPayloadEXT/rayPayloadInEXT declared", 0);
 3351|      0|        break;
 3352|      0|    case EOpExecuteCallableNV:
  ------------------
  |  Branch (3352:5): [True: 0, False: 1.84k]
  ------------------
 3353|      0|        checkConstantArgWithLocation(1, "callable data number", nullptr, -1);
 3354|      0|        break;
 3355|      0|    case EOpExecuteCallableKHR:
  ------------------
  |  Branch (3355:5): [True: 0, False: 1.84k]
  ------------------
 3356|      0|        checkConstantArgWithLocation(1, "callable data number", "no callableDataEXT/callableDataInEXT declared", 1);
 3357|      0|        break;
 3358|       |
 3359|      0|    case EOpHitObjectTraceRayNV:
  ------------------
  |  Branch (3359:5): [True: 0, False: 1.84k]
  ------------------
 3360|      0|        checkConstantArgWithLocation(11, "payload number", "no rayPayloadEXT/rayPayloadInEXT declared", 0);
 3361|      0|        break;
 3362|      0|    case EOpHitObjectTraceRayMotionNV:
  ------------------
  |  Branch (3362:5): [True: 0, False: 1.84k]
  ------------------
 3363|      0|        checkConstantArgWithLocation(12, "payload number", "no rayPayloadEXT/rayPayloadInEXT declared", 0);
 3364|      0|        break;
 3365|      0|    case EOpHitObjectExecuteShaderNV:
  ------------------
  |  Branch (3365:5): [True: 0, False: 1.84k]
  ------------------
 3366|      0|        checkConstantArgWithLocation(1, "payload number", "no rayPayloadEXT/rayPayloadInEXT declared", 0);
 3367|      0|        break;
 3368|      0|    case EOpHitObjectRecordHitNV:
  ------------------
  |  Branch (3368:5): [True: 0, False: 1.84k]
  ------------------
 3369|      0|        checkConstantArgWithLocation(12, "hitobjectattribute number", "no hitObjectAttributeNV declared", 2);
 3370|      0|        break;
 3371|      0|    case EOpHitObjectRecordHitMotionNV:
  ------------------
  |  Branch (3371:5): [True: 0, False: 1.84k]
  ------------------
 3372|      0|        checkConstantArgWithLocation(13, "hitobjectattribute number", "no hitObjectAttributeNV declared", 2);
 3373|      0|        break;
 3374|      0|    case EOpHitObjectRecordHitWithIndexNV:
  ------------------
  |  Branch (3374:5): [True: 0, False: 1.84k]
  ------------------
 3375|      0|        checkConstantArgWithLocation(11, "hitobjectattribute number", "no hitObjectAttributeNV declared", 2);
 3376|      0|        break;
 3377|      0|    case EOpHitObjectRecordHitWithIndexMotionNV:
  ------------------
  |  Branch (3377:5): [True: 0, False: 1.84k]
  ------------------
 3378|      0|        checkConstantArgWithLocation(12, "hitobjectattribute number", "no hitObjectAttributeNV declared", 2);
 3379|      0|        break;
 3380|      0|    case EOpHitObjectGetAttributesNV:
  ------------------
  |  Branch (3380:5): [True: 0, False: 1.84k]
  ------------------
 3381|      0|        checkConstantArgWithLocation(1, "hitobjectattribute number", "no hitObjectAttributeNV declared", 2);
 3382|      0|        break;
 3383|       |
 3384|      0|    case EOpRayQueryGetIntersectionType:
  ------------------
  |  Branch (3384:5): [True: 0, False: 1.84k]
  ------------------
 3385|      0|    case EOpRayQueryGetIntersectionT:
  ------------------
  |  Branch (3385:5): [True: 0, False: 1.84k]
  ------------------
 3386|      0|    case EOpRayQueryGetIntersectionInstanceCustomIndex:
  ------------------
  |  Branch (3386:5): [True: 0, False: 1.84k]
  ------------------
 3387|      0|    case EOpRayQueryGetIntersectionInstanceId:
  ------------------
  |  Branch (3387:5): [True: 0, False: 1.84k]
  ------------------
 3388|      0|    case EOpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffset:
  ------------------
  |  Branch (3388:5): [True: 0, False: 1.84k]
  ------------------
 3389|      0|    case EOpRayQueryGetIntersectionGeometryIndex:
  ------------------
  |  Branch (3389:5): [True: 0, False: 1.84k]
  ------------------
 3390|      0|    case EOpRayQueryGetIntersectionPrimitiveIndex:
  ------------------
  |  Branch (3390:5): [True: 0, False: 1.84k]
  ------------------
 3391|      0|    case EOpRayQueryGetIntersectionBarycentrics:
  ------------------
  |  Branch (3391:5): [True: 0, False: 1.84k]
  ------------------
 3392|      0|    case EOpRayQueryGetIntersectionFrontFace:
  ------------------
  |  Branch (3392:5): [True: 0, False: 1.84k]
  ------------------
 3393|      0|    case EOpRayQueryGetIntersectionObjectRayDirection:
  ------------------
  |  Branch (3393:5): [True: 0, False: 1.84k]
  ------------------
 3394|      0|    case EOpRayQueryGetIntersectionObjectRayOrigin:
  ------------------
  |  Branch (3394:5): [True: 0, False: 1.84k]
  ------------------
 3395|      0|    case EOpRayQueryGetIntersectionObjectToWorld:
  ------------------
  |  Branch (3395:5): [True: 0, False: 1.84k]
  ------------------
 3396|      0|    case EOpRayQueryGetIntersectionWorldToObject:
  ------------------
  |  Branch (3396:5): [True: 0, False: 1.84k]
  ------------------
 3397|      0|    case EOpRayQueryGetIntersectionTriangleVertexPositionsEXT:
  ------------------
  |  Branch (3397:5): [True: 0, False: 1.84k]
  ------------------
 3398|      0|    case EOpRayQueryGetIntersectionClusterIdNV:
  ------------------
  |  Branch (3398:5): [True: 0, False: 1.84k]
  ------------------
 3399|      0|    case EOpRayQueryGetIntersectionSpherePositionNV:
  ------------------
  |  Branch (3399:5): [True: 0, False: 1.84k]
  ------------------
 3400|      0|    case EOpRayQueryGetIntersectionSphereRadiusNV:
  ------------------
  |  Branch (3400:5): [True: 0, False: 1.84k]
  ------------------
 3401|      0|    case EOpRayQueryGetIntersectionLSSHitValueNV:
  ------------------
  |  Branch (3401:5): [True: 0, False: 1.84k]
  ------------------
 3402|      0|    case EOpRayQueryGetIntersectionLSSPositionsNV:
  ------------------
  |  Branch (3402:5): [True: 0, False: 1.84k]
  ------------------
 3403|      0|    case EOpRayQueryGetIntersectionLSSRadiiNV:
  ------------------
  |  Branch (3403:5): [True: 0, False: 1.84k]
  ------------------
 3404|      0|        if (!(*argp)[1]->getAsConstantUnion())
  ------------------
  |  Branch (3404:13): [True: 0, False: 0]
  ------------------
 3405|      0|            error(loc, "argument must be compile-time constant", "committed", "");
 3406|      0|        break;
 3407|       |
 3408|     12|    case EOpTextureQuerySamples:
  ------------------
  |  Branch (3408:5): [True: 12, False: 1.83k]
  ------------------
 3409|     12|    case EOpImageQuerySamples:
  ------------------
  |  Branch (3409:5): [True: 0, False: 1.84k]
  ------------------
 3410|       |        // GL_ARB_shader_texture_image_samples
 3411|     12|        profileRequires(loc, ~EEsProfile, 450, E_GL_ARB_shader_texture_image_samples, "textureSamples and imageSamples");
 3412|     12|        break;
 3413|       |
 3414|      0|    case EOpImageAtomicAdd:
  ------------------
  |  Branch (3414:5): [True: 0, False: 1.84k]
  ------------------
 3415|      0|    case EOpImageAtomicMin:
  ------------------
  |  Branch (3415:5): [True: 0, False: 1.84k]
  ------------------
 3416|      0|    case EOpImageAtomicMax:
  ------------------
  |  Branch (3416:5): [True: 0, False: 1.84k]
  ------------------
 3417|      0|    case EOpImageAtomicAnd:
  ------------------
  |  Branch (3417:5): [True: 0, False: 1.84k]
  ------------------
 3418|      0|    case EOpImageAtomicOr:
  ------------------
  |  Branch (3418:5): [True: 0, False: 1.84k]
  ------------------
 3419|      0|    case EOpImageAtomicXor:
  ------------------
  |  Branch (3419:5): [True: 0, False: 1.84k]
  ------------------
 3420|      0|    case EOpImageAtomicExchange:
  ------------------
  |  Branch (3420:5): [True: 0, False: 1.84k]
  ------------------
 3421|      0|    case EOpImageAtomicCompSwap:
  ------------------
  |  Branch (3421:5): [True: 0, False: 1.84k]
  ------------------
 3422|      0|    case EOpImageAtomicLoad:
  ------------------
  |  Branch (3422:5): [True: 0, False: 1.84k]
  ------------------
 3423|      0|    case EOpImageAtomicStore:
  ------------------
  |  Branch (3423:5): [True: 0, False: 1.84k]
  ------------------
 3424|      0|    {
 3425|       |        // Make sure the image types have the correct layout() format and correct argument types
 3426|      0|        const TType& imageType = arg0->getType();
 3427|      0|        if (imageType.getSampler().type == EbtInt || imageType.getSampler().type == EbtUint ||
  ------------------
  |  Branch (3427:13): [True: 0, False: 0]
  |  Branch (3427:54): [True: 0, False: 0]
  ------------------
 3428|      0|            imageType.getSampler().type == EbtInt64 || imageType.getSampler().type == EbtUint64) {
  ------------------
  |  Branch (3428:13): [True: 0, False: 0]
  |  Branch (3428:56): [True: 0, False: 0]
  ------------------
 3429|      0|            if (imageType.getQualifier().getFormat() != ElfR32i && imageType.getQualifier().getFormat() != ElfR32ui &&
  ------------------
  |  Branch (3429:17): [True: 0, False: 0]
  |  Branch (3429:68): [True: 0, False: 0]
  ------------------
 3430|      0|                imageType.getQualifier().getFormat() != ElfR64i && imageType.getQualifier().getFormat() != ElfR64ui)
  ------------------
  |  Branch (3430:17): [True: 0, False: 0]
  |  Branch (3430:68): [True: 0, False: 0]
  ------------------
 3431|      0|                error(loc, "only supported on image with format r32i or r32ui", fnCandidate.getName().c_str(), "");
 3432|      0|            if (callNode.getType().getBasicType() == EbtInt64 && imageType.getQualifier().getFormat() != ElfR64i)
  ------------------
  |  Branch (3432:17): [True: 0, False: 0]
  |  Branch (3432:66): [True: 0, False: 0]
  ------------------
 3433|      0|                error(loc, "only supported on image with format r64i", fnCandidate.getName().c_str(), "");
 3434|      0|            else if (callNode.getType().getBasicType() == EbtUint64 && imageType.getQualifier().getFormat() != ElfR64ui)
  ------------------
  |  Branch (3434:22): [True: 0, False: 0]
  |  Branch (3434:72): [True: 0, False: 0]
  ------------------
 3435|      0|                error(loc, "only supported on image with format r64ui", fnCandidate.getName().c_str(), "");
 3436|      0|        } else if(callNode.getType().getBasicType() == EbtFloat16 &&
  ------------------
  |  Branch (3436:19): [True: 0, False: 0]
  ------------------
 3437|      0|                ((callNode.getType().getVectorSize() == 2 && arg0->getType().getQualifier().getFormat() == ElfRg16f) ||
  ------------------
  |  Branch (3437:19): [True: 0, False: 0]
  |  Branch (3437:62): [True: 0, False: 0]
  ------------------
 3438|      0|                  (callNode.getType().getVectorSize() == 4 && arg0->getType().getQualifier().getFormat() == ElfRgba16f))) {
  ------------------
  |  Branch (3438:20): [True: 0, False: 0]
  |  Branch (3438:63): [True: 0, False: 0]
  ------------------
 3439|      0|            if (StartsWith(fnCandidate.getName(), "imageAtomicAdd") ||
  ------------------
  |  Branch (3439:17): [True: 0, False: 0]
  ------------------
 3440|      0|                StartsWith(fnCandidate.getName(), "imageAtomicExchange") ||
  ------------------
  |  Branch (3440:17): [True: 0, False: 0]
  ------------------
 3441|      0|                StartsWith(fnCandidate.getName(), "imageAtomicMin") ||
  ------------------
  |  Branch (3441:17): [True: 0, False: 0]
  ------------------
 3442|      0|                StartsWith(fnCandidate.getName(), "imageAtomicMax")) {
  ------------------
  |  Branch (3442:17): [True: 0, False: 0]
  ------------------
 3443|      0|                requireExtensions(loc, 1, &E_GL_NV_shader_atomic_fp16_vector, fnCandidate.getName().c_str());
 3444|      0|            } else {
 3445|      0|                error(loc, "f16vec2/4 operation not supported on: ", fnCandidate.getName().c_str(), "");
 3446|      0|            }
 3447|      0|        } else if (imageType.getSampler().type == EbtFloat) {
  ------------------
  |  Branch (3447:20): [True: 0, False: 0]
  ------------------
 3448|      0|            if (StartsWith(fnCandidate.getName(), "imageAtomicExchange")) {
  ------------------
  |  Branch (3448:17): [True: 0, False: 0]
  ------------------
 3449|       |                // imageAtomicExchange doesn't require an extension
 3450|      0|            } else if (StartsWith(fnCandidate.getName(), "imageAtomicAdd") ||
  ------------------
  |  Branch (3450:24): [True: 0, False: 0]
  ------------------
 3451|      0|                       StartsWith(fnCandidate.getName(), "imageAtomicLoad") ||
  ------------------
  |  Branch (3451:24): [True: 0, False: 0]
  ------------------
 3452|      0|                       StartsWith(fnCandidate.getName(), "imageAtomicStore")) {
  ------------------
  |  Branch (3452:24): [True: 0, False: 0]
  ------------------
 3453|      0|                requireExtensions(loc, 1, &E_GL_EXT_shader_atomic_float, fnCandidate.getName().c_str());
 3454|      0|            } else if (StartsWith(fnCandidate.getName(), "imageAtomicMin") ||
  ------------------
  |  Branch (3454:24): [True: 0, False: 0]
  ------------------
 3455|      0|                       StartsWith(fnCandidate.getName(), "imageAtomicMax")) {
  ------------------
  |  Branch (3455:24): [True: 0, False: 0]
  ------------------
 3456|      0|                requireExtensions(loc, 1, &E_GL_EXT_shader_atomic_float2, fnCandidate.getName().c_str());
 3457|      0|            } else {
 3458|      0|                error(loc, "only supported on integer images", fnCandidate.getName().c_str(), "");
 3459|      0|            }
 3460|      0|            if (imageType.getQualifier().getFormat() != ElfR32f && isEsProfile())
  ------------------
  |  Branch (3460:17): [True: 0, False: 0]
  |  Branch (3460:68): [True: 0, False: 0]
  ------------------
 3461|      0|                error(loc, "only supported on image with format r32f", fnCandidate.getName().c_str(), "");
 3462|      0|        } else {
 3463|      0|            error(loc, "not supported on this image type", fnCandidate.getName().c_str(), "");
 3464|      0|        }
 3465|       |
 3466|      0|        const size_t maxArgs = imageType.getSampler().isMultiSample() ? 5 : 4;
  ------------------
  |  Branch (3466:32): [True: 0, False: 0]
  ------------------
 3467|      0|        if (argp->size() > maxArgs) {
  ------------------
  |  Branch (3467:13): [True: 0, False: 0]
  ------------------
 3468|      0|            requireExtensions(loc, 1, &E_GL_KHR_memory_scope_semantics, fnCandidate.getName().c_str());
 3469|      0|            memorySemanticsCheck(loc, fnCandidate, callNode);
 3470|      0|        }
 3471|       |
 3472|      0|        break;
 3473|      0|    }
 3474|       |
 3475|      0|    case EOpAtomicAdd:
  ------------------
  |  Branch (3475:5): [True: 0, False: 1.84k]
  ------------------
 3476|      0|    case EOpAtomicSubtract:
  ------------------
  |  Branch (3476:5): [True: 0, False: 1.84k]
  ------------------
 3477|      0|    case EOpAtomicMin:
  ------------------
  |  Branch (3477:5): [True: 0, False: 1.84k]
  ------------------
 3478|      0|    case EOpAtomicMax:
  ------------------
  |  Branch (3478:5): [True: 0, False: 1.84k]
  ------------------
 3479|      0|    case EOpAtomicAnd:
  ------------------
  |  Branch (3479:5): [True: 0, False: 1.84k]
  ------------------
 3480|      0|    case EOpAtomicOr:
  ------------------
  |  Branch (3480:5): [True: 0, False: 1.84k]
  ------------------
 3481|      0|    case EOpAtomicXor:
  ------------------
  |  Branch (3481:5): [True: 0, False: 1.84k]
  ------------------
 3482|      0|    case EOpAtomicExchange:
  ------------------
  |  Branch (3482:5): [True: 0, False: 1.84k]
  ------------------
 3483|      0|    case EOpAtomicCompSwap:
  ------------------
  |  Branch (3483:5): [True: 0, False: 1.84k]
  ------------------
 3484|      0|    case EOpAtomicLoad:
  ------------------
  |  Branch (3484:5): [True: 0, False: 1.84k]
  ------------------
 3485|      0|    case EOpAtomicStore:
  ------------------
  |  Branch (3485:5): [True: 0, False: 1.84k]
  ------------------
 3486|      0|    {
 3487|      0|        if (argp->size() > 3) {
  ------------------
  |  Branch (3487:13): [True: 0, False: 0]
  ------------------
 3488|      0|            requireExtensions(loc, 1, &E_GL_KHR_memory_scope_semantics, fnCandidate.getName().c_str());
 3489|      0|            memorySemanticsCheck(loc, fnCandidate, callNode);
 3490|      0|            if ((callNode.getOp() == EOpAtomicAdd || callNode.getOp() == EOpAtomicExchange ||
  ------------------
  |  Branch (3490:18): [True: 0, False: 0]
  |  Branch (3490:54): [True: 0, False: 0]
  ------------------
 3491|      0|                callNode.getOp() == EOpAtomicLoad || callNode.getOp() == EOpAtomicStore) &&
  ------------------
  |  Branch (3491:17): [True: 0, False: 0]
  |  Branch (3491:54): [True: 0, False: 0]
  ------------------
 3492|      0|                (arg0->getType().getBasicType() == EbtFloat ||
  ------------------
  |  Branch (3492:18): [True: 0, False: 0]
  ------------------
 3493|      0|                 arg0->getType().getBasicType() == EbtDouble)) {
  ------------------
  |  Branch (3493:18): [True: 0, False: 0]
  ------------------
 3494|      0|                requireExtensions(loc, 1, &E_GL_EXT_shader_atomic_float, fnCandidate.getName().c_str());
 3495|      0|            } else if ((callNode.getOp() == EOpAtomicAdd || callNode.getOp() == EOpAtomicExchange ||
  ------------------
  |  Branch (3495:25): [True: 0, False: 0]
  |  Branch (3495:61): [True: 0, False: 0]
  ------------------
 3496|      0|                        callNode.getOp() == EOpAtomicLoad || callNode.getOp() == EOpAtomicStore ||
  ------------------
  |  Branch (3496:25): [True: 0, False: 0]
  |  Branch (3496:62): [True: 0, False: 0]
  ------------------
 3497|      0|                        callNode.getOp() == EOpAtomicMin || callNode.getOp() == EOpAtomicMax) &&
  ------------------
  |  Branch (3497:25): [True: 0, False: 0]
  |  Branch (3497:61): [True: 0, False: 0]
  ------------------
 3498|      0|                       arg0->getType().isFloatingDomain()) {
  ------------------
  |  Branch (3498:24): [True: 0, False: 0]
  ------------------
 3499|      0|                requireExtensions(loc, 1, &E_GL_EXT_shader_atomic_float2, fnCandidate.getName().c_str());
 3500|      0|            }
 3501|      0|        } else if (arg0->getType().getBasicType() == EbtInt64 || arg0->getType().getBasicType() == EbtUint64) {
  ------------------
  |  Branch (3501:20): [True: 0, False: 0]
  |  Branch (3501:66): [True: 0, False: 0]
  ------------------
 3502|      0|            const char* const extensions[2] = { E_GL_NV_shader_atomic_int64,
 3503|      0|                                                E_GL_EXT_shader_atomic_int64 };
 3504|      0|            requireExtensions(loc, 2, extensions, fnCandidate.getName().c_str());
 3505|      0|        } else if ((callNode.getOp() == EOpAtomicAdd || callNode.getOp() == EOpAtomicExchange ||
  ------------------
  |  Branch (3505:21): [True: 0, False: 0]
  |  Branch (3505:57): [True: 0, False: 0]
  ------------------
 3506|      0|                    callNode.getOp() == EOpAtomicMin || callNode.getOp() == EOpAtomicMax) &&
  ------------------
  |  Branch (3506:21): [True: 0, False: 0]
  |  Branch (3506:57): [True: 0, False: 0]
  ------------------
 3507|      0|                   arg0->getType().getBasicType() == EbtFloat16 &&
  ------------------
  |  Branch (3507:20): [True: 0, False: 0]
  ------------------
 3508|      0|                   (arg0->getType().getVectorSize() == 2 || arg0->getType().getVectorSize() == 4 )) {
  ------------------
  |  Branch (3508:21): [True: 0, False: 0]
  |  Branch (3508:61): [True: 0, False: 0]
  ------------------
 3509|      0|            requireExtensions(loc, 1, &E_GL_NV_shader_atomic_fp16_vector, fnCandidate.getName().c_str());
 3510|      0|        } else if ((callNode.getOp() == EOpAtomicAdd || callNode.getOp() == EOpAtomicExchange) &&
  ------------------
  |  Branch (3510:21): [True: 0, False: 0]
  |  Branch (3510:57): [True: 0, False: 0]
  ------------------
 3511|      0|                   (arg0->getType().getBasicType() == EbtFloat ||
  ------------------
  |  Branch (3511:21): [True: 0, False: 0]
  ------------------
 3512|      0|                    arg0->getType().getBasicType() == EbtDouble)) {
  ------------------
  |  Branch (3512:21): [True: 0, False: 0]
  ------------------
 3513|      0|            requireExtensions(loc, 1, &E_GL_EXT_shader_atomic_float, fnCandidate.getName().c_str());
 3514|      0|        } else if ((callNode.getOp() == EOpAtomicAdd || callNode.getOp() == EOpAtomicExchange ||
  ------------------
  |  Branch (3514:21): [True: 0, False: 0]
  |  Branch (3514:57): [True: 0, False: 0]
  ------------------
 3515|      0|                    callNode.getOp() == EOpAtomicLoad || callNode.getOp() == EOpAtomicStore ||
  ------------------
  |  Branch (3515:21): [True: 0, False: 0]
  |  Branch (3515:58): [True: 0, False: 0]
  ------------------
 3516|      0|                    callNode.getOp() == EOpAtomicMin || callNode.getOp() == EOpAtomicMax) &&
  ------------------
  |  Branch (3516:21): [True: 0, False: 0]
  |  Branch (3516:57): [True: 0, False: 0]
  ------------------
 3517|      0|                   arg0->getType().isFloatingDomain()) {
  ------------------
  |  Branch (3517:20): [True: 0, False: 0]
  ------------------
 3518|      0|            requireExtensions(loc, 1, &E_GL_EXT_shader_atomic_float2, fnCandidate.getName().c_str());
 3519|      0|        }
 3520|       |
 3521|      0|        const TIntermTyped* base = TIntermediate::traverseLValueBase(arg0, true, true);
 3522|      0|        const char* errMsg = "Only l-values corresponding to shader block storage or shared variables can be used with "
 3523|      0|                             "atomic memory functions.";
 3524|      0|        if (base) {
  ------------------
  |  Branch (3524:13): [True: 0, False: 0]
  ------------------
 3525|      0|            const TType* refType = (base->getType().isReference()) ? base->getType().getReferentType() : nullptr;
  ------------------
  |  Branch (3525:36): [True: 0, False: 0]
  ------------------
 3526|      0|            const TQualifier& qualifier =
 3527|      0|                (refType != nullptr) ? refType->getQualifier() : base->getType().getQualifier();
  ------------------
  |  Branch (3527:17): [True: 0, False: 0]
  ------------------
 3528|      0|            if (qualifier.storage != EvqShared && qualifier.storage != EvqBuffer &&
  ------------------
  |  Branch (3528:17): [True: 0, False: 0]
  |  Branch (3528:51): [True: 0, False: 0]
  ------------------
 3529|      0|                qualifier.storage != EvqtaskPayloadSharedEXT)
  ------------------
  |  Branch (3529:17): [True: 0, False: 0]
  ------------------
 3530|      0|                error(loc, errMsg, fnCandidate.getName().c_str(), "");
 3531|      0|        } else {
 3532|      0|            error(loc, errMsg, fnCandidate.getName().c_str(), "");
 3533|      0|        }
 3534|       |
 3535|      0|        break;
 3536|      0|    }
 3537|       |
 3538|      0|    case EOpInterpolateAtCentroid:
  ------------------
  |  Branch (3538:5): [True: 0, False: 1.84k]
  ------------------
 3539|      0|    case EOpInterpolateAtSample:
  ------------------
  |  Branch (3539:5): [True: 0, False: 1.84k]
  ------------------
 3540|      0|    case EOpInterpolateAtOffset:
  ------------------
  |  Branch (3540:5): [True: 0, False: 1.84k]
  ------------------
 3541|      0|    case EOpInterpolateAtVertex: {
  ------------------
  |  Branch (3541:5): [True: 0, False: 1.84k]
  ------------------
 3542|      0|        if (arg0->getType().getQualifier().storage != EvqVaryingIn) {
  ------------------
  |  Branch (3542:13): [True: 0, False: 0]
  ------------------
 3543|       |            // Traverse down the left branch of arg0 to ensure this argument is a valid interpolant.
 3544|       |            //
 3545|       |            // For desktop GL >4.3 we effectively only need to ensure that arg0 represents an l-value from an
 3546|       |            // input declaration.
 3547|       |            //
 3548|       |            // For desktop GL <= 4.3 and ES, we must also ensure that swizzling is not used
 3549|       |            //
 3550|       |            // For ES, we must also ensure that a field selection operator (i.e., '.') is not used on a named
 3551|       |            // struct.
 3552|       |
 3553|      0|            const bool esProfile = isEsProfile();
 3554|      0|            const bool swizzleOkay = !esProfile && (version >= 440);
  ------------------
  |  Branch (3554:38): [True: 0, False: 0]
  |  Branch (3554:52): [True: 0, False: 0]
  ------------------
 3555|       |
 3556|      0|            std::string interpolantErrorMsg = "first argument must be an interpolant, or interpolant-array element";
 3557|      0|            bool isValid = true; // Assume that the interpolant is valid until we find a condition making it invalid
 3558|      0|            bool isIn = false;   // Checks whether or not the interpolant is a shader input
 3559|      0|            bool structAccessOp = false; // Whether or not the previous node in the chain is a struct accessor
 3560|      0|            TIntermediate::traverseLValueBase(
 3561|      0|                arg0, swizzleOkay, false,
 3562|      0|                [&isValid, &isIn, &interpolantErrorMsg, esProfile, &structAccessOp](const TIntermNode& n) -> bool {
 3563|      0|                    auto* type = n.getAsTyped();
 3564|      0|                    if (type) {
 3565|      0|                        if (type->getType().getQualifier().storage == EvqVaryingIn) {
 3566|      0|                            isIn = true;
 3567|      0|                        }
 3568|       |                        // If a field accessor was used, it can only be used to access a field with an input block, not a struct.
 3569|      0|                        if (structAccessOp && (type->getType().getBasicType() != EbtBlock)) {
 3570|      0|                            interpolantErrorMsg +=
 3571|      0|                                ". Using the field of a named struct as an interpolant argument is not "
 3572|      0|                                "allowed (ES-only).";
 3573|      0|                            isValid = false;
 3574|      0|                        }
 3575|      0|                    }
 3576|       |
 3577|       |                    // ES has different requirements for interpolants than GL
 3578|      0|                    if (esProfile) {
 3579|       |                        // Swizzling will be taken care of by the 'swizzleOkay' argument passsed to traverseLValueBase,
 3580|       |                        // so we only ned to check whether or not a field accessor has been used with a named struct.
 3581|      0|                        auto* binary = n.getAsBinaryNode();
 3582|      0|                        if (binary && (binary->getOp() == EOpIndexDirectStruct)) {
 3583|      0|                            structAccessOp = true;
 3584|      0|                        }
 3585|      0|                    }
 3586|       |                    // Don't continue traversing if we know we have an invalid interpolant at this point.
 3587|      0|                    return isValid;
 3588|      0|                });
 3589|      0|            if (!isIn || !isValid) {
  ------------------
  |  Branch (3589:17): [True: 0, False: 0]
  |  Branch (3589:26): [True: 0, False: 0]
  ------------------
 3590|      0|                error(loc, interpolantErrorMsg.c_str(), fnCandidate.getName().c_str(), "");
 3591|      0|            }
 3592|      0|        }
 3593|       |
 3594|      0|        if (callNode.getOp() == EOpInterpolateAtVertex) {
  ------------------
  |  Branch (3594:13): [True: 0, False: 0]
  ------------------
 3595|      0|            if (!arg0->getType().getQualifier().isExplicitInterpolation())
  ------------------
  |  Branch (3595:17): [True: 0, False: 0]
  ------------------
 3596|      0|                error(loc, "argument must be qualified as __explicitInterpAMD in", "interpolant", "");
 3597|      0|            else {
 3598|      0|                if (! (*argp)[1]->getAsConstantUnion())
  ------------------
  |  Branch (3598:21): [True: 0, False: 0]
  ------------------
 3599|      0|                    error(loc, "argument must be compile-time constant", "vertex index", "");
 3600|      0|                else {
 3601|      0|                    unsigned vertexIdx = (*argp)[1]->getAsConstantUnion()->getConstArray()[0].getUConst();
 3602|      0|                    if (vertexIdx > 2)
  ------------------
  |  Branch (3602:25): [True: 0, False: 0]
  ------------------
 3603|      0|                        error(loc, "must be in the range [0, 2]", "vertex index", "");
 3604|      0|                }
 3605|      0|            }
 3606|      0|        }
 3607|      0|    } break;
 3608|       |
 3609|      0|    case EOpEmitStreamVertex:
  ------------------
  |  Branch (3609:5): [True: 0, False: 1.84k]
  ------------------
 3610|      0|    case EOpEndStreamPrimitive:
  ------------------
  |  Branch (3610:5): [True: 0, False: 1.84k]
  ------------------
 3611|      0|        if (version == 150)
  ------------------
  |  Branch (3611:13): [True: 0, False: 0]
  ------------------
 3612|      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");
 3613|      0|        intermediate.setMultiStream();
 3614|      0|        break;
 3615|       |
 3616|      0|    case EOpSubgroupClusteredAdd:
  ------------------
  |  Branch (3616:5): [True: 0, False: 1.84k]
  ------------------
 3617|      0|    case EOpSubgroupClusteredMul:
  ------------------
  |  Branch (3617:5): [True: 0, False: 1.84k]
  ------------------
 3618|      0|    case EOpSubgroupClusteredMin:
  ------------------
  |  Branch (3618:5): [True: 0, False: 1.84k]
  ------------------
 3619|      0|    case EOpSubgroupClusteredMax:
  ------------------
  |  Branch (3619:5): [True: 0, False: 1.84k]
  ------------------
 3620|      0|    case EOpSubgroupClusteredAnd:
  ------------------
  |  Branch (3620:5): [True: 0, False: 1.84k]
  ------------------
 3621|      0|    case EOpSubgroupClusteredOr:
  ------------------
  |  Branch (3621:5): [True: 0, False: 1.84k]
  ------------------
 3622|      0|    case EOpSubgroupClusteredXor:
  ------------------
  |  Branch (3622:5): [True: 0, False: 1.84k]
  ------------------
 3623|       |        // The <clusterSize> as used in the subgroupClustered<op>() operations must be:
 3624|       |        // - An integral constant expression.
 3625|       |        // - At least 1.
 3626|       |        // - A power of 2.
 3627|      0|        if ((*argp)[1]->getAsConstantUnion() == nullptr)
  ------------------
  |  Branch (3627:13): [True: 0, False: 0]
  ------------------
 3628|      0|            error(loc, "argument must be compile-time constant", "cluster size", "");
 3629|      0|        else {
 3630|      0|            int size = (*argp)[1]->getAsConstantUnion()->getConstArray()[0].getIConst();
 3631|      0|            if (size < 1)
  ------------------
  |  Branch (3631:17): [True: 0, False: 0]
  ------------------
 3632|      0|                error(loc, "argument must be at least 1", "cluster size", "");
 3633|      0|            else if (!IsPow2(size))
  ------------------
  |  Branch (3633:22): [True: 0, False: 0]
  ------------------
 3634|      0|                error(loc, "argument must be a power of 2", "cluster size", "");
 3635|      0|        }
 3636|      0|        break;
 3637|       |
 3638|      0|    case EOpSubgroupBroadcast:
  ------------------
  |  Branch (3638:5): [True: 0, False: 1.84k]
  ------------------
 3639|      0|    case EOpSubgroupQuadBroadcast:
  ------------------
  |  Branch (3639:5): [True: 0, False: 1.84k]
  ------------------
 3640|      0|        if (spvVersion.spv < EShTargetSpv_1_5) {
  ------------------
  |  Branch (3640:13): [True: 0, False: 0]
  ------------------
 3641|       |            // <id> must be an integral constant expression.
 3642|      0|            if ((*argp)[1]->getAsConstantUnion() == nullptr)
  ------------------
  |  Branch (3642:17): [True: 0, False: 0]
  ------------------
 3643|      0|                error(loc, "argument must be compile-time constant", "id", "");
 3644|      0|        }
 3645|      0|        break;
 3646|       |
 3647|      0|    case EOpBarrier:
  ------------------
  |  Branch (3647:5): [True: 0, False: 1.84k]
  ------------------
 3648|      0|    case EOpMemoryBarrier:
  ------------------
  |  Branch (3648:5): [True: 0, False: 1.84k]
  ------------------
 3649|      0|        if (argp->size() > 0) {
  ------------------
  |  Branch (3649:13): [True: 0, False: 0]
  ------------------
 3650|      0|            requireExtensions(loc, 1, &E_GL_KHR_memory_scope_semantics, fnCandidate.getName().c_str());
 3651|      0|            memorySemanticsCheck(loc, fnCandidate, callNode);
 3652|      0|        }
 3653|      0|        break;
 3654|       |
 3655|      0|    case EOpMix:
  ------------------
  |  Branch (3655:5): [True: 0, False: 1.84k]
  ------------------
 3656|      0|        if (profile == EEsProfile && version < 310) {
  ------------------
  |  Branch (3656:13): [True: 0, False: 0]
  |  Branch (3656:38): [True: 0, False: 0]
  ------------------
 3657|       |            // Look for specific signatures
 3658|      0|            if ((*argp)[0]->getAsTyped()->getBasicType() != EbtFloat &&
  ------------------
  |  Branch (3658:17): [True: 0, False: 0]
  ------------------
 3659|      0|                (*argp)[1]->getAsTyped()->getBasicType() != EbtFloat &&
  ------------------
  |  Branch (3659:17): [True: 0, False: 0]
  ------------------
 3660|      0|                (*argp)[2]->getAsTyped()->getBasicType() == EbtBool) {
  ------------------
  |  Branch (3660:17): [True: 0, False: 0]
  ------------------
 3661|      0|                requireExtensions(loc, 1, &E_GL_EXT_shader_integer_mix, "specific signature of builtin mix");
 3662|      0|            }
 3663|      0|        }
 3664|       |
 3665|      0|        if (profile != EEsProfile && version < 450) {
  ------------------
  |  Branch (3665:13): [True: 0, False: 0]
  |  Branch (3665:38): [True: 0, False: 0]
  ------------------
 3666|      0|            if ((*argp)[0]->getAsTyped()->getBasicType() != EbtFloat &&
  ------------------
  |  Branch (3666:17): [True: 0, False: 0]
  ------------------
 3667|      0|                (*argp)[0]->getAsTyped()->getBasicType() != EbtDouble &&
  ------------------
  |  Branch (3667:17): [True: 0, False: 0]
  ------------------
 3668|      0|                (*argp)[1]->getAsTyped()->getBasicType() != EbtFloat &&
  ------------------
  |  Branch (3668:17): [True: 0, False: 0]
  ------------------
 3669|      0|                (*argp)[1]->getAsTyped()->getBasicType() != EbtDouble &&
  ------------------
  |  Branch (3669:17): [True: 0, False: 0]
  ------------------
 3670|      0|                (*argp)[2]->getAsTyped()->getBasicType() == EbtBool) {
  ------------------
  |  Branch (3670:17): [True: 0, False: 0]
  ------------------
 3671|      0|                requireExtensions(loc, 1, &E_GL_EXT_shader_integer_mix, fnCandidate.getName().c_str());
 3672|      0|            }
 3673|      0|        }
 3674|       |
 3675|      0|        break;
 3676|      0|    case EOpLessThan:
  ------------------
  |  Branch (3676:5): [True: 0, False: 1.84k]
  ------------------
 3677|      0|    case EOpLessThanEqual:
  ------------------
  |  Branch (3677:5): [True: 0, False: 1.84k]
  ------------------
 3678|      0|    case EOpGreaterThan:
  ------------------
  |  Branch (3678:5): [True: 0, False: 1.84k]
  ------------------
 3679|      0|    case EOpGreaterThanEqual:
  ------------------
  |  Branch (3679:5): [True: 0, False: 1.84k]
  ------------------
 3680|      0|    case EOpEqual:
  ------------------
  |  Branch (3680:5): [True: 0, False: 1.84k]
  ------------------
 3681|      0|    case EOpNotEqual:
  ------------------
  |  Branch (3681:5): [True: 0, False: 1.84k]
  ------------------
 3682|      0|        if (profile != EEsProfile && version >= 150 && version < 450) {
  ------------------
  |  Branch (3682:13): [True: 0, False: 0]
  |  Branch (3682:38): [True: 0, False: 0]
  |  Branch (3682:56): [True: 0, False: 0]
  ------------------
 3683|      0|            if ((*argp)[1]->getAsTyped()->getBasicType() == EbtInt64 ||                 
  ------------------
  |  Branch (3683:17): [True: 0, False: 0]
  ------------------
 3684|      0|                (*argp)[1]->getAsTyped()->getBasicType() == EbtUint64)
  ------------------
  |  Branch (3684:17): [True: 0, False: 0]
  ------------------
 3685|      0|                requireExtensions(loc, 1, &E_GL_NV_gpu_shader5, fnCandidate.getName().c_str());
 3686|      0|        }
 3687|      0|    break;
 3688|      0|    case EOpFma:
  ------------------
  |  Branch (3688:5): [True: 0, False: 1.84k]
  ------------------
 3689|      0|    case EOpFrexp:
  ------------------
  |  Branch (3689:5): [True: 0, False: 1.84k]
  ------------------
 3690|      0|    case EOpLdexp:
  ------------------
  |  Branch (3690:5): [True: 0, False: 1.84k]
  ------------------
 3691|      0|        if (profile != EEsProfile && version < 400) {
  ------------------
  |  Branch (3691:13): [True: 0, False: 0]
  |  Branch (3691:38): [True: 0, False: 0]
  ------------------
 3692|      0|            if ((*argp)[0]->getAsTyped()->getBasicType() == EbtFloat) {
  ------------------
  |  Branch (3692:17): [True: 0, False: 0]
  ------------------
 3693|      0|                requireExtensions(loc, Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5, fnCandidate.getName().c_str());
 3694|      0|            }
 3695|      0|        }
 3696|       |
 3697|      0|        break;
 3698|      0|    case EOpCooperativeVectorMatMulNV:
  ------------------
  |  Branch (3698:5): [True: 0, False: 1.84k]
  ------------------
 3699|      0|    case EOpCooperativeVectorMatMulAddNV:
  ------------------
  |  Branch (3699:5): [True: 0, False: 1.84k]
  ------------------
 3700|      0|        {
 3701|      0|            int inputInterpIdx = 2;
 3702|      0|            int matrixInterpIdx = 5;
 3703|      0|            int biasInterpIdx = 8;
 3704|      0|            int MIdx = callNode.getOp() == EOpCooperativeVectorMatMulAddNV ? 9 : 6;
  ------------------
  |  Branch (3704:24): [True: 0, False: 0]
  ------------------
 3705|      0|            int KIdx = callNode.getOp() == EOpCooperativeVectorMatMulAddNV ? 10 : 7;
  ------------------
  |  Branch (3705:24): [True: 0, False: 0]
  ------------------
 3706|      0|            int matrixLayoutIdx = callNode.getOp() == EOpCooperativeVectorMatMulAddNV ? 11 : 8;
  ------------------
  |  Branch (3706:35): [True: 0, False: 0]
  ------------------
 3707|      0|            int transposeIdx = callNode.getOp() == EOpCooperativeVectorMatMulAddNV ? 12 : 9;
  ------------------
  |  Branch (3707:32): [True: 0, False: 0]
  ------------------
 3708|       |
 3709|      0|            if (!(*argp)[inputInterpIdx]->getAsTyped()->getType().getQualifier().isConstant())
  ------------------
  |  Branch (3709:17): [True: 0, False: 0]
  ------------------
 3710|      0|                error(loc, "argument must be compile-time constant", "inputInterpretation", "");
 3711|      0|            if (!(*argp)[matrixInterpIdx]->getAsTyped()->getType().getQualifier().isConstant())
  ------------------
  |  Branch (3711:17): [True: 0, False: 0]
  ------------------
 3712|      0|                error(loc, "argument must be compile-time constant", "matrixInterpretation", "");
 3713|      0|            if (callNode.getOp() == EOpCooperativeVectorMatMulAddNV) {
  ------------------
  |  Branch (3713:17): [True: 0, False: 0]
  ------------------
 3714|      0|                if (!(*argp)[biasInterpIdx]->getAsTyped()->getType().getQualifier().isConstant())
  ------------------
  |  Branch (3714:21): [True: 0, False: 0]
  ------------------
 3715|      0|                    error(loc, "argument must be compile-time constant", "biasInterpretation", "");
 3716|      0|            }
 3717|      0|            if (!(*argp)[MIdx]->getAsTyped()->getType().getQualifier().isConstant())
  ------------------
  |  Branch (3717:17): [True: 0, False: 0]
  ------------------
 3718|      0|                error(loc, "argument must be compile-time constant", "M", "");
 3719|      0|            if (!(*argp)[KIdx]->getAsTyped()->getType().getQualifier().isConstant())
  ------------------
  |  Branch (3719:17): [True: 0, False: 0]
  ------------------
 3720|      0|                error(loc, "argument must be compile-time constant", "K", "");
 3721|      0|            if (!(*argp)[matrixLayoutIdx]->getAsTyped()->getType().getQualifier().isConstant())
  ------------------
  |  Branch (3721:17): [True: 0, False: 0]
  ------------------
 3722|      0|                error(loc, "argument must be compile-time constant", "matrixLayout", "");
 3723|      0|            if (!(*argp)[transposeIdx]->getAsTyped()->getType().getQualifier().isConstant())
  ------------------
  |  Branch (3723:17): [True: 0, False: 0]
  ------------------
 3724|      0|                error(loc, "argument must be compile-time constant", "transpose", "");
 3725|      0|        }
 3726|      0|        break;
 3727|      0|    case EOpCooperativeVectorOuterProductAccumulateNV:
  ------------------
  |  Branch (3727:5): [True: 0, False: 1.84k]
  ------------------
 3728|      0|        if (!(*argp)[5]->getAsTyped()->getType().getQualifier().isConstant())
  ------------------
  |  Branch (3728:13): [True: 0, False: 0]
  ------------------
 3729|      0|            error(loc, "argument must be compile-time constant", "matrixLayout", "");
 3730|      0|        if (!(*argp)[6]->getAsTyped()->getType().getQualifier().isConstant())
  ------------------
  |  Branch (3730:13): [True: 0, False: 0]
  ------------------
 3731|      0|            error(loc, "argument must be compile-time constant", "matrixInterpretation", "");
 3732|      0|        break;
 3733|       |
 3734|      0|    case EOpCooperativeMatrixLoad:
  ------------------
  |  Branch (3734:5): [True: 0, False: 1.84k]
  ------------------
 3735|      0|    case EOpCooperativeMatrixLoadNV:
  ------------------
  |  Branch (3735:5): [True: 0, False: 1.84k]
  ------------------
 3736|      0|    case EOpCooperativeMatrixLoadTensorNV:
  ------------------
  |  Branch (3736:5): [True: 0, False: 1.84k]
  ------------------
 3737|      0|    case EOpCooperativeMatrixStore:
  ------------------
  |  Branch (3737:5): [True: 0, False: 1.84k]
  ------------------
 3738|      0|    case EOpCooperativeMatrixStoreNV:
  ------------------
  |  Branch (3738:5): [True: 0, False: 1.84k]
  ------------------
 3739|      0|    case EOpCooperativeMatrixStoreTensorNV:
  ------------------
  |  Branch (3739:5): [True: 0, False: 1.84k]
  ------------------
 3740|      0|    {
 3741|      0|        const TIntermTyped *arg1 = (*argp)[1]->getAsTyped();
 3742|      0|        const TIntermTyped* base = TIntermediate::traverseLValueBase(arg1, true, true);
 3743|      0|        const char* errMsg = "Only l-values corresponding to storage block or shared variables can be used with "
 3744|      0|                             "cooperative matrix load/store functions.";
 3745|      0|        if (base) {
  ------------------
  |  Branch (3745:13): [True: 0, False: 0]
  ------------------
 3746|      0|            const TType* refType = (base->getType().isReference()) ? base->getType().getReferentType() : nullptr;
  ------------------
  |  Branch (3746:36): [True: 0, False: 0]
  ------------------
 3747|      0|            const TQualifier& qualifier =
 3748|      0|                (refType != nullptr) ? refType->getQualifier() : base->getType().getQualifier();
  ------------------
  |  Branch (3748:17): [True: 0, False: 0]
  ------------------
 3749|      0|            if (qualifier.storage != EvqShared && qualifier.storage != EvqBuffer)
  ------------------
  |  Branch (3749:17): [True: 0, False: 0]
  |  Branch (3749:51): [True: 0, False: 0]
  ------------------
 3750|      0|                error(loc, errMsg, fnCandidate.getName().c_str(), "");
 3751|      0|        } else {
 3752|      0|            error(loc, errMsg, fnCandidate.getName().c_str(), "");
 3753|      0|        }
 3754|      0|    }
 3755|      0|    break;
 3756|       |
 3757|    804|    default:
  ------------------
  |  Branch (3757:5): [True: 804, False: 1.04k]
  ------------------
 3758|    804|        break;
 3759|  1.84k|    }
 3760|       |
 3761|       |    // Texture operations on texture objects (aside from texelFetch on a
 3762|       |    // textureBuffer) require EXT_samplerless_texture_functions.
 3763|  1.84k|    switch (callNode.getOp()) {
 3764|    108|    case EOpTextureQuerySize:
  ------------------
  |  Branch (3764:5): [True: 108, False: 1.74k]
  ------------------
 3765|    186|    case EOpTextureQueryLevels:
  ------------------
  |  Branch (3765:5): [True: 78, False: 1.77k]
  ------------------
 3766|    198|    case EOpTextureQuerySamples:
  ------------------
  |  Branch (3766:5): [True: 12, False: 1.83k]
  ------------------
 3767|    252|    case EOpTextureFetch:
  ------------------
  |  Branch (3767:5): [True: 54, False: 1.79k]
  ------------------
 3768|    288|    case EOpTextureFetchOffset:
  ------------------
  |  Branch (3768:5): [True: 36, False: 1.81k]
  ------------------
 3769|    288|    {
 3770|    288|        const TSampler& sampler = fnCandidate[0].type->getSampler();
 3771|       |
 3772|    288|        const bool isTexture = sampler.isTexture() && !sampler.isCombined();
  ------------------
  |  Branch (3772:32): [True: 288, False: 0]
  |  Branch (3772:55): [True: 0, False: 288]
  ------------------
 3773|    288|        const bool isBuffer = sampler.isBuffer();
 3774|    288|        const bool isFetch = callNode.getOp() == EOpTextureFetch || callNode.getOp() == EOpTextureFetchOffset;
  ------------------
  |  Branch (3774:30): [True: 54, False: 234]
  |  Branch (3774:69): [True: 36, False: 198]
  ------------------
 3775|       |
 3776|    288|        if (isTexture && (!isBuffer || !isFetch))
  ------------------
  |  Branch (3776:13): [True: 0, False: 288]
  |  Branch (3776:27): [True: 0, False: 0]
  |  Branch (3776:40): [True: 0, False: 0]
  ------------------
 3777|      0|            requireExtensions(loc, 1, &E_GL_EXT_samplerless_texture_functions, fnCandidate.getName().c_str());
 3778|       |
 3779|    288|        break;
 3780|    252|    }
 3781|       |
 3782|      0|    case EOpConstructSaturated:
  ------------------
  |  Branch (3782:5): [True: 0, False: 1.84k]
  ------------------
 3783|      0|    {
 3784|      0|        auto &sequence = callNode.getAsAggregate()->getSequence();
 3785|      0|        if (sequence.size() != 2) {
  ------------------
  |  Branch (3785:13): [True: 0, False: 0]
  ------------------
 3786|      0|            error(loc, "requires exactly two parameters", "", "");
 3787|      0|        }
 3788|      0|        auto &op0Type = sequence[0]->getAsTyped()->getType();
 3789|      0|        auto &op1Type = sequence[1]->getAsTyped()->getType();
 3790|      0|        if (op0Type.getBasicType() != EbtFloatE5M2 && op0Type.getBasicType() != EbtFloatE4M3) {
  ------------------
  |  Branch (3790:13): [True: 0, False: 0]
  |  Branch (3790:55): [True: 0, False: 0]
  ------------------
 3791|      0|            error(loc, "first parameter must have floate5m2 or floate4m3 basic type", "", "");
 3792|      0|        }
 3793|      0|        if (op1Type.getBasicType() == EbtFloatE5M2 || op1Type.getBasicType() == EbtFloatE4M3) {
  ------------------
  |  Branch (3793:13): [True: 0, False: 0]
  |  Branch (3793:55): [True: 0, False: 0]
  ------------------
 3794|      0|            error(loc, "second parameter must not have floate5m2 or floate4m3 basic type", "", "");
 3795|      0|        }
 3796|       |
 3797|      0|        if (!(op0Type.isScalar() || op0Type.isVector() || op0Type.isLongVector() || op0Type.isCoopMatKHR())) {
  ------------------
  |  Branch (3797:15): [True: 0, False: 0]
  |  Branch (3797:37): [True: 0, False: 0]
  |  Branch (3797:59): [True: 0, False: 0]
  |  Branch (3797:85): [True: 0, False: 0]
  ------------------
 3798|      0|            error(loc, "first parameter must be scalar, vector, or cooperative matrix", "", "");
 3799|      0|        }
 3800|      0|        if (!(op1Type.isScalar() || op1Type.isVector() || op1Type.isLongVector() || op1Type.isCoopMatKHR())) {
  ------------------
  |  Branch (3800:15): [True: 0, False: 0]
  |  Branch (3800:37): [True: 0, False: 0]
  |  Branch (3800:59): [True: 0, False: 0]
  |  Branch (3800:85): [True: 0, False: 0]
  ------------------
 3801|      0|            error(loc, "second parameter must be scalar, vector, or cooperative matrix", "", "");
 3802|      0|        }
 3803|      0|        if (!(op0Type.sameElementShape(op1Type) || op0Type.sameCoopMatShape(op1Type))) {
  ------------------
  |  Branch (3803:15): [True: 0, False: 0]
  |  Branch (3803:52): [True: 0, False: 0]
  ------------------
 3804|      0|            error(loc, "types must match other than scalar type and coopmat Use", "", "");
 3805|      0|        }
 3806|      0|        break;
 3807|    252|    }
 3808|      0|    case EOpTensorReadARM:
  ------------------
  |  Branch (3808:5): [True: 0, False: 1.84k]
  ------------------
 3809|      0|    case EOpTensorWriteARM:
  ------------------
  |  Branch (3809:5): [True: 0, False: 1.84k]
  ------------------
 3810|      0|    {
 3811|      0|        const TType &tensorType = (*argp)[0]->getAsTyped()->getType();
 3812|       |
 3813|       |        // Check that coordinates argument length matches rank of tensor argument.
 3814|      0|        int tensorRank = tensorType.getTensorRankARM();
 3815|      0|        const TArraySizes *coordArgArrayTy = (*argp)[1]->getAsTyped()->getType().getArraySizes();
 3816|      0|        assert(coordArgArrayTy->getNumDims() == 1 && "expecting 1D coordinate array");
 3817|      0|        if (coordArgArrayTy->getDimSize(0) != tensorRank) {
  ------------------
  |  Branch (3817:13): [True: 0, False: 0]
  ------------------
 3818|      0|            error(loc, "number of coordinates does not match tensor rank", "coord", "");
 3819|      0|        }
 3820|       |
 3821|       |        // Check that tensor element type matches data argument.
 3822|      0|        TBasicType eltTy = tensorType.getBasicType();
 3823|      0|        TBasicType argTy = (*argp)[2]->getAsTyped()->getType().getBasicType();
 3824|      0|        if (eltTy != argTy) {
  ------------------
  |  Branch (3824:13): [True: 0, False: 0]
  ------------------
 3825|      0|            error(loc, "", "data", "data argument type (%s) does not match tensor element type (%s)",
 3826|      0|                  TType::getBasicString(argTy), TType::getBasicString(eltTy));
 3827|      0|        }
 3828|       |
 3829|       |        // Check optional tensor operands.
 3830|      0|        if (argp->size() > 3) {
  ------------------
  |  Branch (3830:13): [True: 0, False: 0]
  ------------------
 3831|      0|            const TIntermConstantUnion* opArg = (*argp)[3]->getAsConstantUnion();
 3832|      0|            if (!opArg) {
  ------------------
  |  Branch (3832:17): [True: 0, False: 0]
  ------------------
 3833|      0|                error(loc, "tensor operands argument must be a constant integral expression", "tensorOps", "");
 3834|      0|            }
 3835|      0|            const unsigned int ops = opArg ? opArg->getConstArray()[0].getUConst() : 0;
  ------------------
  |  Branch (3835:38): [True: 0, False: 0]
  ------------------
 3836|      0|            const int gl_TensorOperandsOutOfBoundsValueARM = 0x2;
 3837|      0|            if (ops & gl_TensorOperandsOutOfBoundsValueARM) {
  ------------------
  |  Branch (3837:17): [True: 0, False: 0]
  ------------------
 3838|       |                // Out-of-bounds values can only be used with reads.
 3839|      0|                if (callNode.getOp() != EOpTensorReadARM) {
  ------------------
  |  Branch (3839:21): [True: 0, False: 0]
  ------------------
 3840|      0|                    error(loc, "out-of-bounds value is only valid with tensorReadARM", "tensorOps", "");
 3841|      0|                }
 3842|       |                // Check that an out-of-bounds value is present.
 3843|      0|                if (argp->size() == 4) {
  ------------------
  |  Branch (3843:21): [True: 0, False: 0]
  ------------------
 3844|      0|                    error(loc, "expecting out-of-bounds value as next argument", "tensorOps", "");
 3845|      0|                } else {
 3846|       |                    // Check constantness of out-of-bounds value.
 3847|      0|                    const TIntermConstantUnion* oobArg = (*argp)[4]->getAsConstantUnion();
 3848|      0|                    if (!oobArg) {
  ------------------
  |  Branch (3848:25): [True: 0, False: 0]
  ------------------
 3849|      0|                        error(loc, "argument following gl_TensorOperandsOutOfBoundsValueARM must be constant", "vararg",
 3850|      0|                              "");
 3851|      0|                    } else if (oobArg->getType().getBasicType() != tensorType.getBasicType()) {
  ------------------
  |  Branch (3851:32): [True: 0, False: 0]
  ------------------
 3852|       |                        // The type of the OOB value does not match the tensor type.
 3853|      0|                        error(loc, "", "vararg",
 3854|      0|                            "out-of-bounds value type (%s) does not match tensor element type (%s)",
 3855|      0|                            TType::getBasicString(oobArg->getBasicType()), TType::getBasicString(eltTy));
 3856|       |
 3857|      0|                    }
 3858|      0|                }
 3859|      0|            }
 3860|      0|        }
 3861|      0|        break;
 3862|      0|    }
 3863|       |
 3864|      0|    case EOpTensorSizeARM:
  ------------------
  |  Branch (3864:5): [True: 0, False: 1.84k]
  ------------------
 3865|      0|    {
 3866|      0|        unsigned int tensorRank = (*argp)[0]->getAsTyped()->getType().getTensorRankARM();
 3867|      0|        const TIntermConstantUnion *dimArg = (*argp)[1]->getAsConstantUnion();
 3868|      0|        if (dimArg) {
  ------------------
  |  Branch (3868:13): [True: 0, False: 0]
  ------------------
 3869|      0|            if (dimArg->getConstArray()[0].getUConst() >= tensorRank) {
  ------------------
  |  Branch (3869:17): [True: 0, False: 0]
  ------------------
 3870|      0|                error(loc, "dimension argument exceeds tensor rank", "dim", "");
 3871|      0|            }
 3872|      0|        } else {
 3873|      0|            error(loc, "dimension argument must be constant", "dim", "");
 3874|      0|        }
 3875|      0|        break;
 3876|      0|    }
 3877|       |
 3878|  1.56k|    default:
  ------------------
  |  Branch (3878:5): [True: 1.56k, False: 288]
  ------------------
 3879|  1.56k|        break;
 3880|  1.84k|    }
 3881|       |
 3882|  1.84k|    if (callNode.isSubgroup()) {
  ------------------
  |  Branch (3882:9): [True: 0, False: 1.84k]
  ------------------
 3883|       |        // these require SPIR-V 1.3
 3884|      0|        if (spvVersion.spv > 0 && spvVersion.spv < EShTargetSpv_1_3)
  ------------------
  |  Branch (3884:13): [True: 0, False: 0]
  |  Branch (3884:35): [True: 0, False: 0]
  ------------------
 3885|      0|            error(loc, "requires SPIR-V 1.3", "subgroup op", "");
 3886|       |
 3887|       |        // Check that if extended types are being used that the correct extensions are enabled.
 3888|      0|        if (arg0 != nullptr) {
  ------------------
  |  Branch (3888:13): [True: 0, False: 0]
  ------------------
 3889|      0|            const TType& type = arg0->getType();
 3890|      0|            bool enhanced = intermediate.getEnhancedMsgs();
 3891|      0|            switch (type.getBasicType()) {
 3892|      0|            default:
  ------------------
  |  Branch (3892:13): [True: 0, False: 0]
  ------------------
 3893|      0|                break;
 3894|      0|            case EbtInt8:
  ------------------
  |  Branch (3894:13): [True: 0, False: 0]
  ------------------
 3895|      0|            case EbtUint8:
  ------------------
  |  Branch (3895:13): [True: 0, False: 0]
  ------------------
 3896|      0|                requireExtensions(loc, 1, &E_GL_EXT_shader_subgroup_extended_types_int8, type.getCompleteString(enhanced).c_str());
 3897|      0|                break;
 3898|      0|            case EbtInt16:
  ------------------
  |  Branch (3898:13): [True: 0, False: 0]
  ------------------
 3899|      0|            case EbtUint16:
  ------------------
  |  Branch (3899:13): [True: 0, False: 0]
  ------------------
 3900|      0|                requireExtensions(loc, 1, &E_GL_EXT_shader_subgroup_extended_types_int16, type.getCompleteString(enhanced).c_str());
 3901|      0|                break;
 3902|      0|            case EbtInt64:
  ------------------
  |  Branch (3902:13): [True: 0, False: 0]
  ------------------
 3903|      0|            case EbtUint64:
  ------------------
  |  Branch (3903:13): [True: 0, False: 0]
  ------------------
 3904|      0|                requireExtensions(loc, 1, &E_GL_EXT_shader_subgroup_extended_types_int64, type.getCompleteString(enhanced).c_str());
 3905|      0|                break;
 3906|      0|            case EbtFloat16:
  ------------------
  |  Branch (3906:13): [True: 0, False: 0]
  ------------------
 3907|      0|                requireExtensions(loc, 1, &E_GL_EXT_shader_subgroup_extended_types_float16, type.getCompleteString(enhanced).c_str());
 3908|      0|                break;
 3909|      0|            }
 3910|      0|        }
 3911|      0|    }
 3912|  1.84k|}
_ZN7glslang13TParseContext21userFunctionCallCheckERKNS_10TSourceLocERNS_16TIntermAggregateE:
 4045|    147|{
 4046|    147|    TIntermSequence& arguments = callNode.getSequence();
 4047|       |
 4048|    150|    for (int i = 0; i < (int)arguments.size(); ++i)
  ------------------
  |  Branch (4048:21): [True: 3, False: 147]
  ------------------
 4049|      3|        samplerConstructorLocationCheck(loc, "call argument", arguments[i]);
 4050|    147|}
_ZN7glslang13TParseContext31samplerConstructorLocationCheckERKNS_10TSourceLocEPKcP11TIntermNode:
 4056|      3|{
 4057|      3|    if (node->getAsOperator() && node->getAsOperator()->getOp() == EOpConstructTextureSampler)
  ------------------
  |  Branch (4057:9): [True: 0, False: 3]
  |  Branch (4057:34): [True: 0, False: 0]
  ------------------
 4058|      0|        error(loc, "sampler constructor must appear at point of use", token, "");
 4059|      3|}
_ZN7glslang13TParseContext21handleConstructorCallERKNS_10TSourceLocERKNS_11TPublicTypeE:
 4065|    812|{
 4066|    812|    TType type(publicType);
 4067|    812|    type.getQualifier().precision = EpqNone;
 4068|       |
 4069|    812|    if (type.isArray()) {
  ------------------
  |  Branch (4069:9): [True: 3, False: 809]
  ------------------
 4070|      3|        profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed constructor");
 4071|      3|        profileRequires(loc, EEsProfile, 300, nullptr, "arrayed constructor");
 4072|      3|    }
 4073|       |
 4074|       |    // Reuse EOpConstructTextureSampler for bindless image constructor
 4075|       |    // uvec2 imgHandle;
 4076|       |    // imageLoad(image1D(imgHandle), 0);
 4077|    812|    if (type.isImage() && extensionTurnedOn(E_GL_ARB_bindless_texture))
  ------------------
  |  Branch (4077:9): [True: 0, False: 812]
  |  Branch (4077:27): [True: 0, False: 0]
  ------------------
 4078|      0|    {
 4079|      0|        intermediate.setBindlessImageMode(currentCaller, AstRefTypeFunc);
 4080|      0|    }
 4081|       |
 4082|    812|    TOperator op = intermediate.mapTypeToConstructorOp(type);
 4083|       |
 4084|    812|    if (op == EOpNull) {
  ------------------
  |  Branch (4084:9): [True: 0, False: 812]
  ------------------
 4085|      0|      if (intermediate.getEnhancedMsgs() && type.getBasicType() == EbtSampler)
  ------------------
  |  Branch (4085:11): [True: 0, False: 0]
  |  Branch (4085:45): [True: 0, False: 0]
  ------------------
 4086|      0|            error(loc, "function not supported in this version; use texture() instead", "texture*D*", "");
 4087|      0|        else
 4088|      0|            error(loc, "cannot construct this type", type.getBasicString(), "");
 4089|      0|        op = EOpConstructFloat;
 4090|      0|        TType errorType(EbtFloat);
 4091|      0|        type.shallowCopy(errorType);
 4092|      0|    }
 4093|       |
 4094|    812|    TString empty("");
 4095|       |
 4096|    812|    return new TFunction(&empty, type, op);
 4097|    812|}
_ZN7glslang13TParseContext24handlePrecisionQualifierERKNS_10TSourceLocERNS_10TQualifierENS_19TPrecisionQualifierE:
 4101|   105k|{
 4102|   105k|    if (obeyPrecisionQualifiers())
  ------------------
  |  Branch (4102:9): [True: 105k, False: 0]
  ------------------
 4103|   105k|        qualifier.precision = precision;
 4104|   105k|}
_ZN7glslang13TParseContext23checkPrecisionQualifierERKNS_10TSourceLocENS_19TPrecisionQualifierE:
 4109|   105k|{
 4110|   105k|    if (precisionManager.shouldWarnAboutDefaults()) {
  ------------------
  |  Branch (4110:9): [True: 0, False: 105k]
  ------------------
 4111|      0|        warn(loc, "all default precisions are highp; use precision statements to quiet warning, e.g.:\n"
 4112|      0|                  "         \"precision mediump int; precision highp float;\"", "", "");
 4113|      0|        precisionManager.defaultWarningGiven();
 4114|      0|    }
 4115|   105k|}
_ZN7glslang13TParseContext13variableCheckERPNS_12TIntermTypedE:
 4153|  22.6k|{
 4154|  22.6k|    TIntermSymbol* symbol = nodePtr->getAsSymbolNode();
 4155|  22.6k|    if (! symbol)
  ------------------
  |  Branch (4155:9): [True: 14.6k, False: 8.03k]
  ------------------
 4156|  14.6k|        return;
 4157|       |
 4158|  8.03k|    if (symbol->getType().getBasicType() == EbtVoid) {
  ------------------
  |  Branch (4158:9): [True: 3, False: 8.03k]
  ------------------
 4159|      3|        const char *extraInfoFormat = "";
 4160|      3|        if (spvVersion.vulkan != 0 && symbol->getName() == "gl_VertexID") {
  ------------------
  |  Branch (4160:13): [True: 3, False: 0]
  |  Branch (4160:39): [True: 0, False: 3]
  ------------------
 4161|      0|          extraInfoFormat = "(Did you mean gl_VertexIndex?)";
 4162|      3|        } else if (spvVersion.vulkan != 0 && symbol->getName() == "gl_InstanceID") {
  ------------------
  |  Branch (4162:20): [True: 3, False: 0]
  |  Branch (4162:46): [True: 0, False: 3]
  ------------------
 4163|      0|          extraInfoFormat = "(Did you mean gl_InstanceIndex?)";
 4164|      0|        }
 4165|      3|        error(symbol->getLoc(), "undeclared identifier", symbol->getName().c_str(), extraInfoFormat);
 4166|       |
 4167|       |        // Add to symbol table to prevent future error messages on the same name
 4168|      3|        if (symbol->getName().size() > 0) {
  ------------------
  |  Branch (4168:13): [True: 3, False: 0]
  ------------------
 4169|      3|            TVariable* fakeVariable = new TVariable(&symbol->getName(), TType(EbtFloat));
 4170|      3|            symbolTable.insert(*fakeVariable);
 4171|       |
 4172|       |            // substitute a symbol node for this new variable
 4173|      3|            nodePtr = intermediate.addSymbol(*fakeVariable, symbol->getLoc());
 4174|      3|        }
 4175|  8.03k|    } else {
 4176|  8.03k|        switch (symbol->getQualifier().storage) {
 4177|      0|        case EvqPointCoord:
  ------------------
  |  Branch (4177:9): [True: 0, False: 8.03k]
  ------------------
 4178|      0|            profileRequires(symbol->getLoc(), ENoProfile, 120, nullptr, "gl_PointCoord");
 4179|      0|            break;
 4180|  8.03k|        default: break; // some compilers want this
  ------------------
  |  Branch (4180:9): [True: 8.03k, False: 0]
  ------------------
 4181|  8.03k|        }
 4182|  8.03k|    }
 4183|  8.03k|}
_ZN7glslang13TParseContext16lValueErrorCheckERKNS_10TSourceLocEPKcPNS_12TIntermTypedE:
 4192|  2.63k|{
 4193|  2.63k|    TIntermBinary* binaryNode = node->getAsBinaryNode();
 4194|       |
 4195|  2.63k|    if (binaryNode) {
  ------------------
  |  Branch (4195:9): [True: 564, False: 2.07k]
  ------------------
 4196|    564|        bool errorReturn = false;
 4197|       |
 4198|    564|        switch(binaryNode->getOp()) {
 4199|    471|        case EOpIndexDirect:
  ------------------
  |  Branch (4199:9): [True: 471, False: 93]
  ------------------
 4200|    471|        case EOpIndexIndirect:
  ------------------
  |  Branch (4200:9): [True: 0, False: 564]
  ------------------
 4201|       |            // ...  tessellation control shader ...
 4202|       |            // If a per-vertex output variable is used as an l-value, it is a
 4203|       |            // compile-time or link-time error if the expression indicating the
 4204|       |            // vertex index is not the identifier gl_InvocationID.
 4205|    471|            if (language == EShLangTessControl) {
  ------------------
  |  Branch (4205:17): [True: 471, False: 0]
  ------------------
 4206|    471|                const TType& leftType = binaryNode->getLeft()->getType();
 4207|    471|                if (leftType.getQualifier().storage == EvqVaryingOut && ! leftType.getQualifier().patch && binaryNode->getLeft()->getAsSymbolNode()) {
  ------------------
  |  Branch (4207:21): [True: 0, False: 471]
  |  Branch (4207:73): [True: 0, False: 0]
  |  Branch (4207:108): [True: 0, False: 0]
  ------------------
 4208|       |                    // we have a per-vertex output
 4209|      0|                    const TIntermSymbol* rightSymbol = binaryNode->getRight()->getAsSymbolNode();
 4210|      0|                    if (! rightSymbol || rightSymbol->getQualifier().builtIn != EbvInvocationId)
  ------------------
  |  Branch (4210:25): [True: 0, False: 0]
  |  Branch (4210:42): [True: 0, False: 0]
  ------------------
 4211|      0|                        error(loc, "tessellation-control per-vertex output l-value must be indexed with gl_InvocationID", "[]", "");
 4212|      0|                }
 4213|    471|            }
 4214|    471|            break; // left node is checked by base class
 4215|     93|        case EOpVectorSwizzle:
  ------------------
  |  Branch (4215:9): [True: 93, False: 471]
  ------------------
 4216|     93|            errorReturn = lValueErrorCheck(loc, op, binaryNode->getLeft());
 4217|     93|            if (!errorReturn) {
  ------------------
  |  Branch (4217:17): [True: 93, False: 0]
  ------------------
 4218|     93|                int offset[4] = {0,0,0,0};
 4219|       |
 4220|     93|                TIntermTyped* rightNode = binaryNode->getRight();
 4221|     93|                TIntermAggregate *aggrNode = rightNode->getAsAggregate();
 4222|       |
 4223|     93|                for (TIntermSequence::iterator p = aggrNode->getSequence().begin();
 4224|    315|                                               p != aggrNode->getSequence().end(); p++) {
  ------------------
  |  Branch (4224:48): [True: 222, False: 93]
  ------------------
 4225|    222|                    int value = (*p)->getAsTyped()->getAsConstantUnion()->getConstArray()[0].getIConst();
 4226|    222|                    offset[value]++;
 4227|    222|                    if (offset[value] > 1) {
  ------------------
  |  Branch (4227:25): [True: 0, False: 222]
  ------------------
 4228|      0|                        error(loc, " l-value of swizzle cannot have duplicate components", op, "", "");
 4229|       |
 4230|      0|                        return true;
 4231|      0|                    }
 4232|    222|                }
 4233|     93|            }
 4234|       |
 4235|     93|            return errorReturn;
 4236|      0|        default:
  ------------------
  |  Branch (4236:9): [True: 0, False: 564]
  ------------------
 4237|      0|            break;
 4238|    564|        }
 4239|       |
 4240|    471|        if (errorReturn) {
  ------------------
  |  Branch (4240:13): [True: 0, False: 471]
  ------------------
 4241|      0|            error(loc, " l-value required", op, "", "");
 4242|      0|            return true;
 4243|      0|        }
 4244|    471|    }
 4245|       |
 4246|  2.54k|    if (binaryNode && binaryNode->getOp() == EOpIndexDirectStruct && binaryNode->getLeft()->isReference())
  ------------------
  |  Branch (4246:9): [True: 471, False: 2.07k]
  |  Branch (4246:23): [True: 0, False: 471]
  |  Branch (4246:70): [True: 0, False: 0]
  ------------------
 4247|      0|        return false;
 4248|       |
 4249|       |    // Let the base class check errors
 4250|  2.54k|    if (TParseContextBase::lValueErrorCheck(loc, op, node))
  ------------------
  |  Branch (4250:9): [True: 0, False: 2.54k]
  ------------------
 4251|      0|        return true;
 4252|       |
 4253|  2.54k|    const char* symbol = nullptr;
 4254|  2.54k|    TIntermSymbol* symNode = node->getAsSymbolNode();
 4255|  2.54k|    if (symNode != nullptr)
  ------------------
  |  Branch (4255:9): [True: 2.07k, False: 471]
  ------------------
 4256|  2.07k|        symbol = symNode->getName().c_str();
 4257|       |
 4258|  2.54k|    const char* message = nullptr;
 4259|  2.54k|    switch (node->getQualifier().storage) {
 4260|      0|    case EvqVaryingIn:      message = "can't modify shader input";   break;
  ------------------
  |  Branch (4260:5): [True: 0, False: 2.54k]
  ------------------
 4261|      0|    case EvqInstanceId:     message = "can't modify gl_InstanceID";  break;
  ------------------
  |  Branch (4261:5): [True: 0, False: 2.54k]
  ------------------
 4262|      0|    case EvqVertexId:       message = "can't modify gl_VertexID";    break;
  ------------------
  |  Branch (4262:5): [True: 0, False: 2.54k]
  ------------------
 4263|      0|    case EvqFace:           message = "can't modify gl_FrontFace";   break;
  ------------------
  |  Branch (4263:5): [True: 0, False: 2.54k]
  ------------------
 4264|      0|    case EvqFragCoord:      message = "can't modify gl_FragCoord";   break;
  ------------------
  |  Branch (4264:5): [True: 0, False: 2.54k]
  ------------------
 4265|      0|    case EvqPointCoord:     message = "can't modify gl_PointCoord";  break;
  ------------------
  |  Branch (4265:5): [True: 0, False: 2.54k]
  ------------------
 4266|      0|    case EvqFragDepth:
  ------------------
  |  Branch (4266:5): [True: 0, False: 2.54k]
  ------------------
 4267|      0|        intermediate.setDepthReplacing();
 4268|       |        // "In addition, it is an error to statically write to gl_FragDepth in the fragment shader."
 4269|      0|        if (isEsProfile() && intermediate.getEarlyFragmentTests())
  ------------------
  |  Branch (4269:13): [True: 0, False: 0]
  |  Branch (4269:30): [True: 0, False: 0]
  ------------------
 4270|      0|            message = "can't modify gl_FragDepth if using early_fragment_tests";
 4271|      0|        break;
 4272|      0|    case EvqFragStencil:
  ------------------
  |  Branch (4272:5): [True: 0, False: 2.54k]
  ------------------
 4273|      0|        intermediate.setStencilReplacing();
 4274|       |        // "In addition, it is an error to statically write to gl_FragDepth in the fragment shader."
 4275|      0|        if (isEsProfile() && intermediate.getEarlyFragmentTests())
  ------------------
  |  Branch (4275:13): [True: 0, False: 0]
  |  Branch (4275:30): [True: 0, False: 0]
  ------------------
 4276|      0|            message = "can't modify EvqFragStencil if using early_fragment_tests";
 4277|      0|        break;
 4278|       |
 4279|      0|    case EvqtaskPayloadSharedEXT:
  ------------------
  |  Branch (4279:5): [True: 0, False: 2.54k]
  ------------------
 4280|      0|        if (language == EShLangMesh)
  ------------------
  |  Branch (4280:13): [True: 0, False: 0]
  ------------------
 4281|      0|            message = "can't modify variable with storage qualifier taskPayloadSharedEXT in mesh shaders";
 4282|      0|        break;
 4283|  2.54k|    default:
  ------------------
  |  Branch (4283:5): [True: 2.54k, False: 0]
  ------------------
 4284|  2.54k|        break;
 4285|  2.54k|    }
 4286|       |
 4287|  2.54k|    if (message == nullptr && binaryNode == nullptr && symNode == nullptr) {
  ------------------
  |  Branch (4287:9): [True: 2.54k, False: 0]
  |  Branch (4287:31): [True: 2.07k, False: 471]
  |  Branch (4287:56): [True: 0, False: 2.07k]
  ------------------
 4288|      0|        error(loc, " l-value required", op, "", "");
 4289|       |
 4290|      0|        return true;
 4291|      0|    }
 4292|       |
 4293|       |    //
 4294|       |    // Everything else is okay, no error.
 4295|       |    //
 4296|  2.54k|    if (message == nullptr)
  ------------------
  |  Branch (4296:9): [True: 2.54k, False: 0]
  ------------------
 4297|  2.54k|        return false;
 4298|       |
 4299|       |    //
 4300|       |    // If we get here, we have an error and a message.
 4301|       |    //
 4302|      0|    if (symNode)
  ------------------
  |  Branch (4302:9): [True: 0, False: 0]
  ------------------
 4303|      0|        error(loc, " l-value required", op, "\"%s\" (%s)", symbol, message);
 4304|      0|    else
 4305|      0|        error(loc, " l-value required", op, "(%s)", message);
 4306|       |
 4307|      0|    return true;
 4308|  2.54k|}
_ZN7glslang13TParseContext16rValueErrorCheckERKNS_10TSourceLocEPKcPNS_12TIntermTypedE:
 4312|  7.66k|{
 4313|       |    // Let the base class check errors
 4314|  7.66k|    TParseContextBase::rValueErrorCheck(loc, op, node);
 4315|       |
 4316|  7.66k|    TIntermSymbol* symNode = node->getAsSymbolNode();
 4317|  7.66k|    if (!(symNode && symNode->getQualifier().isWriteOnly())) // base class checks
  ------------------
  |  Branch (4317:11): [True: 432, False: 7.23k]
  |  Branch (4317:22): [True: 0, False: 432]
  ------------------
 4318|  7.66k|        if (symNode && symNode->getQualifier().isExplicitInterpolation())
  ------------------
  |  Branch (4318:13): [True: 432, False: 7.23k]
  |  Branch (4318:24): [True: 0, False: 432]
  ------------------
 4319|      0|            error(loc, "can't read from explicitly-interpolated object: ", op, symNode->getName().c_str());
 4320|       |
 4321|       |    // local_size_{xyz} must be assigned or specialized before gl_WorkGroupSize can be assigned.
 4322|  7.66k|    if(node->getQualifier().builtIn == EbvWorkGroupSize &&
  ------------------
  |  Branch (4322:8): [True: 0, False: 7.66k]
  ------------------
 4323|      0|       !(intermediate.isLocalSizeSet() || intermediate.isLocalSizeSpecialized()))
  ------------------
  |  Branch (4323:10): [True: 0, False: 0]
  |  Branch (4323:43): [True: 0, False: 0]
  ------------------
 4324|      0|        error(loc, "can't read from gl_WorkGroupSize before a fixed workgroup size has been declared", op, "");
 4325|  7.66k|}
_ZN7glslang13TParseContext12integerCheckEPKNS_12TIntermTypedEPKc:
 4342|    612|{
 4343|    612|    auto from_type = node->getBasicType();
 4344|    612|    if ((from_type == EbtInt || from_type == EbtUint ||
  ------------------
  |  Branch (4344:10): [True: 612, False: 0]
  |  Branch (4344:33): [True: 0, False: 0]
  ------------------
 4345|      0|         intermediate.canImplicitlyPromote(from_type, EbtInt, EOpNull) ||
  ------------------
  |  Branch (4345:10): [True: 0, False: 0]
  ------------------
 4346|    612|         intermediate.canImplicitlyPromote(from_type, EbtUint, EOpNull)) && node->isScalar())
  ------------------
  |  Branch (4346:10): [True: 0, False: 0]
  |  Branch (4346:77): [True: 612, False: 0]
  ------------------
 4347|    612|        return;
 4348|       |
 4349|      0|    error(node->getLoc(), "scalar integer expression required", token, "");
 4350|      0|}
_ZN7glslang13TParseContext11globalCheckERKNS_10TSourceLocEPKc:
 4372|  27.4k|{
 4373|  27.4k|    if (! symbolTable.atGlobalLevel())
  ------------------
  |  Branch (4373:9): [True: 0, False: 27.4k]
  ------------------
 4374|      0|        error(loc, "not allowed in nested scope", token, "");
 4375|  27.4k|}
_ZN7glslang13TParseContext18reservedErrorCheckERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 4381|   168k|{
 4382|       |    // "Identifiers starting with "gl_" are reserved for use by OpenGL, and may not be
 4383|       |    // declared in a shader; this results in a compile-time error."
 4384|   168k|    if (! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (4384:9): [True: 2.79k, False: 165k]
  ------------------
 4385|       |        // The extension GL_EXT_conservative_depth allows us to declare "gl_FragDepth".
 4386|  2.79k|        if (identifier == "gl_FragDepth" && extensionTurnedOn(E_GL_EXT_conservative_depth))
  ------------------
  |  Branch (4386:13): [True: 0, False: 2.79k]
  |  Branch (4386:45): [True: 0, False: 0]
  ------------------
 4387|      0|            return;
 4388|       |
 4389|  2.79k|        if (builtInName(identifier) && !extensionTurnedOn(E_GL_EXT_spirv_intrinsics))
  ------------------
  |  Branch (4389:13): [True: 0, False: 2.79k]
  |  Branch (4389:40): [True: 0, False: 0]
  ------------------
 4390|       |            // The extension GL_EXT_spirv_intrinsics allows us to declare identifiers starting with "gl_".
 4391|      0|            error(loc, "identifiers starting with \"gl_\" are reserved", identifier.c_str(), "");
 4392|       |
 4393|       |        // "__" are not supposed to be an error.  ES 300 (and desktop) added the clarification:
 4394|       |        // "In addition, all identifiers containing two consecutive underscores (__) are
 4395|       |        // reserved; using such a name does not itself result in an error, but may result
 4396|       |        // in undefined behavior."
 4397|       |        // however, before that, ES tests required an error.
 4398|  2.79k|        if (identifier.find("__") != TString::npos && !extensionTurnedOn(E_GL_EXT_spirv_intrinsics)) {
  ------------------
  |  Branch (4398:13): [True: 0, False: 2.79k]
  |  Branch (4398:55): [True: 0, False: 0]
  ------------------
 4399|       |            // The extension GL_EXT_spirv_intrinsics allows us to declare identifiers starting with "__".
 4400|      0|            if (isEsProfile() && version < 300)
  ------------------
  |  Branch (4400:17): [True: 0, False: 0]
  |  Branch (4400:34): [True: 0, False: 0]
  ------------------
 4401|      0|                error(loc, "identifiers containing consecutive underscores (\"__\") are reserved, and an error if version < 300", identifier.c_str(), "");
 4402|      0|            else
 4403|      0|                warn(loc, "identifiers containing consecutive underscores (\"__\") are reserved", identifier.c_str(), "");
 4404|      0|        }
 4405|  2.79k|    }
 4406|   168k|}
_ZN7glslang13TParseContext20reservedPpErrorCheckERKNS_10TSourceLocEPKcS5_:
 4412|     35|{
 4413|       |    // "__" are not supposed to be an error.  ES 300 (and desktop) added the clarification:
 4414|       |    // "All macro names containing two consecutive underscores ( __ ) are reserved;
 4415|       |    // defining such a name does not itself result in an error, but may result in
 4416|       |    // undefined behavior.  All macro names prefixed with "GL_" ("GL" followed by a
 4417|       |    // single underscore) are also reserved, and defining such a name results in a
 4418|       |    // compile-time error."
 4419|       |    // however, before that, ES tests required an error.
 4420|     35|    if (strncmp(identifier, "GL_", 3) == 0 && !extensionTurnedOn(E_GL_EXT_spirv_intrinsics))
  ------------------
  |  Branch (4420:9): [True: 0, False: 35]
  |  Branch (4420:47): [True: 0, False: 0]
  ------------------
 4421|       |        // The extension GL_EXT_spirv_intrinsics allows us to declare macros prefixed with "GL_".
 4422|      0|        ppError(loc, "names beginning with \"GL_\" can't be (un)defined:", op,  identifier);
 4423|     35|    else if (strncmp(identifier, "defined", 8) == 0)
  ------------------
  |  Branch (4423:14): [True: 0, False: 35]
  ------------------
 4424|      0|        if (relaxedErrors())
  ------------------
  |  Branch (4424:13): [True: 0, False: 0]
  ------------------
 4425|      0|            ppWarn(loc, "\"defined\" is (un)defined:", op,  identifier);
 4426|      0|        else
 4427|      0|            ppError(loc, "\"defined\" can't be (un)defined:", op,  identifier);
 4428|     35|    else if (strstr(identifier, "__") != nullptr && !extensionTurnedOn(E_GL_EXT_spirv_intrinsics)) {
  ------------------
  |  Branch (4428:14): [True: 0, False: 35]
  |  Branch (4428:53): [True: 0, False: 0]
  ------------------
 4429|       |        // The extension GL_EXT_spirv_intrinsics allows us to declare macros prefixed with "__".
 4430|      0|        if (isEsProfile() && version >= 300 &&
  ------------------
  |  Branch (4430:13): [True: 0, False: 0]
  |  Branch (4430:30): [True: 0, False: 0]
  ------------------
 4431|      0|            (strcmp(identifier, "__LINE__") == 0 ||
  ------------------
  |  Branch (4431:14): [True: 0, False: 0]
  ------------------
 4432|      0|             strcmp(identifier, "__FILE__") == 0 ||
  ------------------
  |  Branch (4432:14): [True: 0, False: 0]
  ------------------
 4433|      0|             strcmp(identifier, "__VERSION__") == 0))
  ------------------
  |  Branch (4433:14): [True: 0, False: 0]
  ------------------
 4434|      0|            ppError(loc, "predefined names can't be (un)defined:", op,  identifier);
 4435|      0|        else {
 4436|      0|            if (isEsProfile() && version < 300 && !relaxedErrors())
  ------------------
  |  Branch (4436:17): [True: 0, False: 0]
  |  Branch (4436:34): [True: 0, False: 0]
  |  Branch (4436:51): [True: 0, False: 0]
  ------------------
 4437|      0|                ppError(loc, "names containing consecutive underscores are reserved, and an error if version < 300:", op, identifier);
 4438|      0|            else
 4439|      0|                ppWarn(loc, "names containing consecutive underscores are reserved:", op, identifier);
 4440|      0|        }
 4441|      0|    }
 4442|     35|}
_ZN7glslang13TParseContext11builtInNameERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 4478|  19.5k|{
 4479|  19.5k|    return identifier.compare(0, 3, "gl_") == 0;
 4480|  19.5k|}
_ZN7glslang13TParseContext16constructorErrorERKNS_10TSourceLocEP11TIntermNodeRNS_9TFunctionENS_9TOperatorERNS_5TTypeE:
 4502|    809|{
 4503|       |    // See if the constructor does not establish the main type, only requalifies
 4504|       |    // it, in which case the type comes from the argument instead of from the
 4505|       |    // constructor function.
 4506|    809|    switch (op) {
 4507|      0|    case EOpConstructNonuniform:
  ------------------
  |  Branch (4507:5): [True: 0, False: 809]
  ------------------
 4508|      0|        if (node != nullptr && node->getAsTyped() != nullptr) {
  ------------------
  |  Branch (4508:13): [True: 0, False: 0]
  |  Branch (4508:32): [True: 0, False: 0]
  ------------------
 4509|      0|            type.shallowCopy(node->getAsTyped()->getType());
 4510|      0|            type.getQualifier().makeTemporary();
 4511|      0|            type.getQualifier().nonUniform = true;
 4512|      0|        }
 4513|      0|        break;
 4514|    809|    default:
  ------------------
  |  Branch (4514:5): [True: 809, False: 0]
  ------------------
 4515|    809|        type.shallowCopy(function.getType());
 4516|    809|        break;
 4517|    809|    }
 4518|       |
 4519|    809|    TString constructorString;
 4520|    809|    if (intermediate.getEnhancedMsgs())
  ------------------
  |  Branch (4520:9): [True: 0, False: 809]
  ------------------
 4521|      0|        constructorString.append(type.getCompleteString(true, false, false, true)).append(" constructor");
 4522|    809|    else
 4523|    809|        constructorString.append("constructor");
 4524|       |
 4525|       |    // See if it's a matrix
 4526|    809|    bool constructingMatrix = false;
 4527|    809|    switch (op) {
 4528|     45|    case EOpConstructTextureSampler:
  ------------------
  |  Branch (4528:5): [True: 45, False: 764]
  ------------------
 4529|     45|        return constructorTextureSamplerError(loc, function);
 4530|      0|    case EOpConstructMat2x2:
  ------------------
  |  Branch (4530:5): [True: 0, False: 809]
  ------------------
 4531|      0|    case EOpConstructMat2x3:
  ------------------
  |  Branch (4531:5): [True: 0, False: 809]
  ------------------
 4532|      0|    case EOpConstructMat2x4:
  ------------------
  |  Branch (4532:5): [True: 0, False: 809]
  ------------------
 4533|      0|    case EOpConstructMat3x2:
  ------------------
  |  Branch (4533:5): [True: 0, False: 809]
  ------------------
 4534|      0|    case EOpConstructMat3x3:
  ------------------
  |  Branch (4534:5): [True: 0, False: 809]
  ------------------
 4535|      0|    case EOpConstructMat3x4:
  ------------------
  |  Branch (4535:5): [True: 0, False: 809]
  ------------------
 4536|      0|    case EOpConstructMat4x2:
  ------------------
  |  Branch (4536:5): [True: 0, False: 809]
  ------------------
 4537|      0|    case EOpConstructMat4x3:
  ------------------
  |  Branch (4537:5): [True: 0, False: 809]
  ------------------
 4538|      0|    case EOpConstructMat4x4:
  ------------------
  |  Branch (4538:5): [True: 0, False: 809]
  ------------------
 4539|      0|    case EOpConstructDMat2x2:
  ------------------
  |  Branch (4539:5): [True: 0, False: 809]
  ------------------
 4540|      0|    case EOpConstructDMat2x3:
  ------------------
  |  Branch (4540:5): [True: 0, False: 809]
  ------------------
 4541|      0|    case EOpConstructDMat2x4:
  ------------------
  |  Branch (4541:5): [True: 0, False: 809]
  ------------------
 4542|      0|    case EOpConstructDMat3x2:
  ------------------
  |  Branch (4542:5): [True: 0, False: 809]
  ------------------
 4543|      0|    case EOpConstructDMat3x3:
  ------------------
  |  Branch (4543:5): [True: 0, False: 809]
  ------------------
 4544|      0|    case EOpConstructDMat3x4:
  ------------------
  |  Branch (4544:5): [True: 0, False: 809]
  ------------------
 4545|      0|    case EOpConstructDMat4x2:
  ------------------
  |  Branch (4545:5): [True: 0, False: 809]
  ------------------
 4546|      0|    case EOpConstructDMat4x3:
  ------------------
  |  Branch (4546:5): [True: 0, False: 809]
  ------------------
 4547|      0|    case EOpConstructDMat4x4:
  ------------------
  |  Branch (4547:5): [True: 0, False: 809]
  ------------------
 4548|      0|    case EOpConstructF16Mat2x2:
  ------------------
  |  Branch (4548:5): [True: 0, False: 809]
  ------------------
 4549|      0|    case EOpConstructF16Mat2x3:
  ------------------
  |  Branch (4549:5): [True: 0, False: 809]
  ------------------
 4550|      0|    case EOpConstructF16Mat2x4:
  ------------------
  |  Branch (4550:5): [True: 0, False: 809]
  ------------------
 4551|      0|    case EOpConstructF16Mat3x2:
  ------------------
  |  Branch (4551:5): [True: 0, False: 809]
  ------------------
 4552|      0|    case EOpConstructF16Mat3x3:
  ------------------
  |  Branch (4552:5): [True: 0, False: 809]
  ------------------
 4553|      0|    case EOpConstructF16Mat3x4:
  ------------------
  |  Branch (4553:5): [True: 0, False: 809]
  ------------------
 4554|      0|    case EOpConstructF16Mat4x2:
  ------------------
  |  Branch (4554:5): [True: 0, False: 809]
  ------------------
 4555|      0|    case EOpConstructF16Mat4x3:
  ------------------
  |  Branch (4555:5): [True: 0, False: 809]
  ------------------
 4556|      0|    case EOpConstructF16Mat4x4:
  ------------------
  |  Branch (4556:5): [True: 0, False: 809]
  ------------------
 4557|      0|        constructingMatrix = true;
 4558|      0|        break;
 4559|    764|    default:
  ------------------
  |  Branch (4559:5): [True: 764, False: 45]
  ------------------
 4560|    764|        break;
 4561|    809|    }
 4562|       |
 4563|       |    //
 4564|       |    // Walk the arguments for first-pass checks and collection of information.
 4565|       |    //
 4566|       |
 4567|    764|    int size = 0;
 4568|    764|    bool constType = true;
 4569|    764|    bool specConstType = false;   // value is only valid if constType is true
 4570|    764|    bool full = false;
 4571|    764|    bool overFull = false;
 4572|    764|    bool matrixInMatrix = false;
 4573|    764|    bool arrayArg = false;
 4574|    764|    bool floatArgument = false;
 4575|    764|    bool intArgument = false;
 4576|  1.69k|    for (int arg = 0; arg < function.getParamCount(); ++arg) {
  ------------------
  |  Branch (4576:23): [True: 933, False: 764]
  ------------------
 4577|    933|        if (function[arg].type->isArray()) {
  ------------------
  |  Branch (4577:13): [True: 0, False: 933]
  ------------------
 4578|      0|            if (function[arg].type->isUnsizedArray()) {
  ------------------
  |  Branch (4578:17): [True: 0, False: 0]
  ------------------
 4579|       |                // Can't construct from an unsized array.
 4580|      0|                error(loc, "array argument must be sized", constructorString.c_str(), "");
 4581|      0|                return true;
 4582|      0|            }
 4583|      0|            arrayArg = true;
 4584|      0|        }
 4585|    933|        if (function[arg].type->getBasicType() == EbtString) {
  ------------------
  |  Branch (4585:13): [True: 0, False: 933]
  ------------------
 4586|      0|            error(loc, "cannot convert a string", constructorString.c_str(), "");
 4587|      0|            return true;
 4588|      0|        }
 4589|    933|        if (constructingMatrix && function[arg].type->isMatrix())
  ------------------
  |  Branch (4589:13): [True: 0, False: 933]
  |  Branch (4589:35): [True: 0, False: 0]
  ------------------
 4590|      0|            matrixInMatrix = true;
 4591|       |
 4592|       |        // 'full' will go to true when enough args have been seen.  If we loop
 4593|       |        // again, there is an extra argument.
 4594|    933|        if (full) {
  ------------------
  |  Branch (4594:13): [True: 0, False: 933]
  ------------------
 4595|       |            // For vectors and matrices, it's okay to have too many components
 4596|       |            // available, but not okay to have unused arguments.
 4597|      0|            overFull = true;
 4598|      0|        }
 4599|       |
 4600|    933|        size += function[arg].type->computeNumComponents();
 4601|    933|        if (op != EOpConstructStruct && ! type.isArray() && size >= type.computeNumComponents())
  ------------------
  |  Branch (4601:13): [True: 933, False: 0]
  |  Branch (4601:41): [True: 921, False: 12]
  |  Branch (4601:61): [True: 524, False: 397]
  ------------------
 4602|    524|            full = true;
 4603|       |
 4604|    933|        if (! function[arg].type->getQualifier().isConstant())
  ------------------
  |  Branch (4604:13): [True: 438, False: 495]
  ------------------
 4605|    438|            constType = false;
 4606|    933|        if (function[arg].type->getQualifier().isSpecConstant())
  ------------------
  |  Branch (4606:13): [True: 0, False: 933]
  ------------------
 4607|      0|            specConstType = true;
 4608|    933|        if (function[arg].type->isFloatingDomain())
  ------------------
  |  Branch (4608:13): [True: 654, False: 279]
  ------------------
 4609|    654|            floatArgument = true;
 4610|    933|        if (function[arg].type->isIntegerDomain())
  ------------------
  |  Branch (4610:13): [True: 279, False: 654]
  ------------------
 4611|    279|            intArgument = true;
 4612|    933|        if (type.isStruct()) {
  ------------------
  |  Branch (4612:13): [True: 0, False: 933]
  ------------------
 4613|      0|            if (function[arg].type->contains16BitFloat()) {
  ------------------
  |  Branch (4613:17): [True: 0, False: 0]
  ------------------
 4614|      0|                requireFloat16Arithmetic(loc, constructorString.c_str(), "can't construct structure containing 16-bit type");
 4615|      0|            }
 4616|      0|            if (function[arg].type->contains16BitInt()) {
  ------------------
  |  Branch (4616:17): [True: 0, False: 0]
  ------------------
 4617|      0|                requireInt16Arithmetic(loc, constructorString.c_str(), "can't construct structure containing 16-bit type");
 4618|      0|            }
 4619|      0|            if (function[arg].type->contains8BitInt()) {
  ------------------
  |  Branch (4619:17): [True: 0, False: 0]
  ------------------
 4620|      0|                requireInt8Arithmetic(loc, constructorString.c_str(), "can't construct structure containing 8-bit type");
 4621|      0|            }
 4622|      0|        }
 4623|    933|    }
 4624|    764|    if (op == EOpConstructNonuniform)
  ------------------
  |  Branch (4624:9): [True: 0, False: 764]
  ------------------
 4625|      0|        constType = false;
 4626|       |
 4627|    764|    switch (op) {
 4628|      0|    case EOpConstructFloat16:
  ------------------
  |  Branch (4628:5): [True: 0, False: 764]
  ------------------
 4629|      0|    case EOpConstructF16Vec2:
  ------------------
  |  Branch (4629:5): [True: 0, False: 764]
  ------------------
 4630|      0|    case EOpConstructF16Vec3:
  ------------------
  |  Branch (4630:5): [True: 0, False: 764]
  ------------------
 4631|      0|    case EOpConstructF16Vec4:
  ------------------
  |  Branch (4631:5): [True: 0, False: 764]
  ------------------
 4632|      0|        if (type.isArray())
  ------------------
  |  Branch (4632:13): [True: 0, False: 0]
  ------------------
 4633|      0|            requireFloat16Arithmetic(loc, constructorString.c_str(), "16-bit arrays not supported");
 4634|      0|        if (type.isVector() && function.getParamCount() != 1)
  ------------------
  |  Branch (4634:13): [True: 0, False: 0]
  |  Branch (4634:32): [True: 0, False: 0]
  ------------------
 4635|      0|            requireFloat16Arithmetic(loc, constructorString.c_str(), "16-bit vectors only take vector types");
 4636|      0|        break;
 4637|      0|    case EOpConstructUint16:
  ------------------
  |  Branch (4637:5): [True: 0, False: 764]
  ------------------
 4638|      0|    case EOpConstructU16Vec2:
  ------------------
  |  Branch (4638:5): [True: 0, False: 764]
  ------------------
 4639|      0|    case EOpConstructU16Vec3:
  ------------------
  |  Branch (4639:5): [True: 0, False: 764]
  ------------------
 4640|      0|    case EOpConstructU16Vec4:
  ------------------
  |  Branch (4640:5): [True: 0, False: 764]
  ------------------
 4641|      0|    case EOpConstructInt16:
  ------------------
  |  Branch (4641:5): [True: 0, False: 764]
  ------------------
 4642|      0|    case EOpConstructI16Vec2:
  ------------------
  |  Branch (4642:5): [True: 0, False: 764]
  ------------------
 4643|      0|    case EOpConstructI16Vec3:
  ------------------
  |  Branch (4643:5): [True: 0, False: 764]
  ------------------
 4644|      0|    case EOpConstructI16Vec4:
  ------------------
  |  Branch (4644:5): [True: 0, False: 764]
  ------------------
 4645|      0|        if (type.isArray())
  ------------------
  |  Branch (4645:13): [True: 0, False: 0]
  ------------------
 4646|      0|            requireInt16Arithmetic(loc, constructorString.c_str(), "16-bit arrays not supported");
 4647|      0|        if (type.isVector() && function.getParamCount() != 1)
  ------------------
  |  Branch (4647:13): [True: 0, False: 0]
  |  Branch (4647:32): [True: 0, False: 0]
  ------------------
 4648|      0|            requireInt16Arithmetic(loc, constructorString.c_str(), "16-bit vectors only take vector types");
 4649|      0|        break;
 4650|      0|    case EOpConstructUint8:
  ------------------
  |  Branch (4650:5): [True: 0, False: 764]
  ------------------
 4651|      0|    case EOpConstructU8Vec2:
  ------------------
  |  Branch (4651:5): [True: 0, False: 764]
  ------------------
 4652|      0|    case EOpConstructU8Vec3:
  ------------------
  |  Branch (4652:5): [True: 0, False: 764]
  ------------------
 4653|      0|    case EOpConstructU8Vec4:
  ------------------
  |  Branch (4653:5): [True: 0, False: 764]
  ------------------
 4654|      0|    case EOpConstructInt8:
  ------------------
  |  Branch (4654:5): [True: 0, False: 764]
  ------------------
 4655|      0|    case EOpConstructI8Vec2:
  ------------------
  |  Branch (4655:5): [True: 0, False: 764]
  ------------------
 4656|      0|    case EOpConstructI8Vec3:
  ------------------
  |  Branch (4656:5): [True: 0, False: 764]
  ------------------
 4657|      0|    case EOpConstructI8Vec4:
  ------------------
  |  Branch (4657:5): [True: 0, False: 764]
  ------------------
 4658|      0|        if (type.isArray())
  ------------------
  |  Branch (4658:13): [True: 0, False: 0]
  ------------------
 4659|      0|            requireInt8Arithmetic(loc, constructorString.c_str(), "8-bit arrays not supported");
 4660|      0|        if (type.isVector() && function.getParamCount() != 1)
  ------------------
  |  Branch (4660:13): [True: 0, False: 0]
  |  Branch (4660:32): [True: 0, False: 0]
  ------------------
 4661|      0|            requireInt8Arithmetic(loc, constructorString.c_str(), "8-bit vectors only take vector types");
 4662|      0|        break;
 4663|      0|    case EOpConstructFloatE2M1:
  ------------------
  |  Branch (4663:5): [True: 0, False: 764]
  ------------------
 4664|      0|    case EOpConstructFloatE2M1Vec2:
  ------------------
  |  Branch (4664:5): [True: 0, False: 764]
  ------------------
 4665|      0|    case EOpConstructFloatE2M1Vec3:
  ------------------
  |  Branch (4665:5): [True: 0, False: 764]
  ------------------
 4666|      0|    case EOpConstructFloatE2M1Vec4:
  ------------------
  |  Branch (4666:5): [True: 0, False: 764]
  ------------------
 4667|      0|    case EOpConstructFloatE3M2:
  ------------------
  |  Branch (4667:5): [True: 0, False: 764]
  ------------------
 4668|      0|    case EOpConstructFloatE3M2Vec2:
  ------------------
  |  Branch (4668:5): [True: 0, False: 764]
  ------------------
 4669|      0|    case EOpConstructFloatE3M2Vec3:
  ------------------
  |  Branch (4669:5): [True: 0, False: 764]
  ------------------
 4670|      0|    case EOpConstructFloatE3M2Vec4:
  ------------------
  |  Branch (4670:5): [True: 0, False: 764]
  ------------------
 4671|      0|    case EOpConstructFloatE2M3:
  ------------------
  |  Branch (4671:5): [True: 0, False: 764]
  ------------------
 4672|      0|    case EOpConstructFloatE2M3Vec2:
  ------------------
  |  Branch (4672:5): [True: 0, False: 764]
  ------------------
 4673|      0|    case EOpConstructFloatE2M3Vec3:
  ------------------
  |  Branch (4673:5): [True: 0, False: 764]
  ------------------
 4674|      0|    case EOpConstructFloatE2M3Vec4:
  ------------------
  |  Branch (4674:5): [True: 0, False: 764]
  ------------------
 4675|      0|    case EOpConstructFloatUE8M0:
  ------------------
  |  Branch (4675:5): [True: 0, False: 764]
  ------------------
 4676|      0|    case EOpConstructFloatUE8M0Vec2:
  ------------------
  |  Branch (4676:5): [True: 0, False: 764]
  ------------------
 4677|      0|    case EOpConstructFloatUE8M0Vec3:
  ------------------
  |  Branch (4677:5): [True: 0, False: 764]
  ------------------
 4678|      0|    case EOpConstructFloatUE8M0Vec4:
  ------------------
  |  Branch (4678:5): [True: 0, False: 764]
  ------------------
 4679|      0|    case EOpConstructFloatMXINT8:
  ------------------
  |  Branch (4679:5): [True: 0, False: 764]
  ------------------
 4680|      0|    case EOpConstructFloatMXINT8Vec2:
  ------------------
  |  Branch (4680:5): [True: 0, False: 764]
  ------------------
 4681|      0|    case EOpConstructFloatMXINT8Vec3:
  ------------------
  |  Branch (4681:5): [True: 0, False: 764]
  ------------------
 4682|      0|    case EOpConstructFloatMXINT8Vec4:
  ------------------
  |  Branch (4682:5): [True: 0, False: 764]
  ------------------
 4683|      0|        if (!constType || specConstType) {
  ------------------
  |  Branch (4683:13): [True: 0, False: 0]
  |  Branch (4683:27): [True: 0, False: 0]
  ------------------
 4684|      0|            for (int i = 0; i < function.getParamCount(); ++i) {
  ------------------
  |  Branch (4684:29): [True: 0, False: 0]
  ------------------
 4685|      0|                TIntermNode* arg = function.getParamCount() == 1 ? node : node->getAsAggregate()->getSequence()[i];
  ------------------
  |  Branch (4685:36): [True: 0, False: 0]
  ------------------
 4686|      0|                if (arg->getAsTyped()->getBasicType() != type.getBasicType()) {
  ------------------
  |  Branch (4686:21): [True: 0, False: 0]
  ------------------
 4687|      0|                    error(loc, "constructor argument must be a non-spec constant", constructorString.c_str(), "");
 4688|      0|                    return true;
 4689|      0|                }
 4690|      0|            }
 4691|      0|        }
 4692|      0|        break;
 4693|    764|    default:
  ------------------
  |  Branch (4693:5): [True: 764, False: 0]
  ------------------
 4694|    764|        break;
 4695|    764|    }
 4696|       |
 4697|       |    // inherit constness from children
 4698|    764|    if (constType) {
  ------------------
  |  Branch (4698:9): [True: 326, False: 438]
  ------------------
 4699|    326|        bool makeSpecConst;
 4700|       |        // Finish pinning down spec-const semantics
 4701|    326|        if (specConstType) {
  ------------------
  |  Branch (4701:13): [True: 0, False: 326]
  ------------------
 4702|      0|            switch (op) {
 4703|      0|            case EOpConstructInt8:
  ------------------
  |  Branch (4703:13): [True: 0, False: 0]
  ------------------
 4704|      0|            case EOpConstructInt:
  ------------------
  |  Branch (4704:13): [True: 0, False: 0]
  ------------------
 4705|      0|            case EOpConstructUint:
  ------------------
  |  Branch (4705:13): [True: 0, False: 0]
  ------------------
 4706|      0|            case EOpConstructBool:
  ------------------
  |  Branch (4706:13): [True: 0, False: 0]
  ------------------
 4707|      0|            case EOpConstructBVec2:
  ------------------
  |  Branch (4707:13): [True: 0, False: 0]
  ------------------
 4708|      0|            case EOpConstructBVec3:
  ------------------
  |  Branch (4708:13): [True: 0, False: 0]
  ------------------
 4709|      0|            case EOpConstructBVec4:
  ------------------
  |  Branch (4709:13): [True: 0, False: 0]
  ------------------
 4710|      0|            case EOpConstructIVec2:
  ------------------
  |  Branch (4710:13): [True: 0, False: 0]
  ------------------
 4711|      0|            case EOpConstructIVec3:
  ------------------
  |  Branch (4711:13): [True: 0, False: 0]
  ------------------
 4712|      0|            case EOpConstructIVec4:
  ------------------
  |  Branch (4712:13): [True: 0, False: 0]
  ------------------
 4713|      0|            case EOpConstructUVec2:
  ------------------
  |  Branch (4713:13): [True: 0, False: 0]
  ------------------
 4714|      0|            case EOpConstructUVec3:
  ------------------
  |  Branch (4714:13): [True: 0, False: 0]
  ------------------
 4715|      0|            case EOpConstructUVec4:
  ------------------
  |  Branch (4715:13): [True: 0, False: 0]
  ------------------
 4716|      0|            case EOpConstructUint8:
  ------------------
  |  Branch (4716:13): [True: 0, False: 0]
  ------------------
 4717|      0|            case EOpConstructInt16:
  ------------------
  |  Branch (4717:13): [True: 0, False: 0]
  ------------------
 4718|      0|            case EOpConstructUint16:
  ------------------
  |  Branch (4718:13): [True: 0, False: 0]
  ------------------
 4719|      0|            case EOpConstructInt64:
  ------------------
  |  Branch (4719:13): [True: 0, False: 0]
  ------------------
 4720|      0|            case EOpConstructUint64:
  ------------------
  |  Branch (4720:13): [True: 0, False: 0]
  ------------------
 4721|      0|            case EOpConstructI8Vec2:
  ------------------
  |  Branch (4721:13): [True: 0, False: 0]
  ------------------
 4722|      0|            case EOpConstructI8Vec3:
  ------------------
  |  Branch (4722:13): [True: 0, False: 0]
  ------------------
 4723|      0|            case EOpConstructI8Vec4:
  ------------------
  |  Branch (4723:13): [True: 0, False: 0]
  ------------------
 4724|      0|            case EOpConstructU8Vec2:
  ------------------
  |  Branch (4724:13): [True: 0, False: 0]
  ------------------
 4725|      0|            case EOpConstructU8Vec3:
  ------------------
  |  Branch (4725:13): [True: 0, False: 0]
  ------------------
 4726|      0|            case EOpConstructU8Vec4:
  ------------------
  |  Branch (4726:13): [True: 0, False: 0]
  ------------------
 4727|      0|            case EOpConstructI16Vec2:
  ------------------
  |  Branch (4727:13): [True: 0, False: 0]
  ------------------
 4728|      0|            case EOpConstructI16Vec3:
  ------------------
  |  Branch (4728:13): [True: 0, False: 0]
  ------------------
 4729|      0|            case EOpConstructI16Vec4:
  ------------------
  |  Branch (4729:13): [True: 0, False: 0]
  ------------------
 4730|      0|            case EOpConstructU16Vec2:
  ------------------
  |  Branch (4730:13): [True: 0, False: 0]
  ------------------
 4731|      0|            case EOpConstructU16Vec3:
  ------------------
  |  Branch (4731:13): [True: 0, False: 0]
  ------------------
 4732|      0|            case EOpConstructU16Vec4:
  ------------------
  |  Branch (4732:13): [True: 0, False: 0]
  ------------------
 4733|      0|            case EOpConstructI64Vec2:
  ------------------
  |  Branch (4733:13): [True: 0, False: 0]
  ------------------
 4734|      0|            case EOpConstructI64Vec3:
  ------------------
  |  Branch (4734:13): [True: 0, False: 0]
  ------------------
 4735|      0|            case EOpConstructI64Vec4:
  ------------------
  |  Branch (4735:13): [True: 0, False: 0]
  ------------------
 4736|      0|            case EOpConstructU64Vec2:
  ------------------
  |  Branch (4736:13): [True: 0, False: 0]
  ------------------
 4737|      0|            case EOpConstructU64Vec3:
  ------------------
  |  Branch (4737:13): [True: 0, False: 0]
  ------------------
 4738|      0|            case EOpConstructU64Vec4:
  ------------------
  |  Branch (4738:13): [True: 0, False: 0]
  ------------------
 4739|       |                // This was the list of valid ones, if they aren't converting from float
 4740|       |                // and aren't making an array.
 4741|      0|                makeSpecConst = ! floatArgument && ! type.isArray();
  ------------------
  |  Branch (4741:33): [True: 0, False: 0]
  |  Branch (4741:52): [True: 0, False: 0]
  ------------------
 4742|      0|                break;
 4743|       |
 4744|      0|            case EOpConstructVec2:
  ------------------
  |  Branch (4744:13): [True: 0, False: 0]
  ------------------
 4745|      0|            case EOpConstructVec3:
  ------------------
  |  Branch (4745:13): [True: 0, False: 0]
  ------------------
 4746|      0|            case EOpConstructVec4:
  ------------------
  |  Branch (4746:13): [True: 0, False: 0]
  ------------------
 4747|       |                // This was the list of valid ones, if they aren't converting from int
 4748|       |                // and aren't making an array.
 4749|      0|                makeSpecConst = ! intArgument && !type.isArray();
  ------------------
  |  Branch (4749:33): [True: 0, False: 0]
  |  Branch (4749:50): [True: 0, False: 0]
  ------------------
 4750|      0|                break;
 4751|       |
 4752|      0|            case EOpConstructCooperativeMatrixNV:
  ------------------
  |  Branch (4752:13): [True: 0, False: 0]
  ------------------
 4753|      0|            case EOpConstructCooperativeMatrixKHR:
  ------------------
  |  Branch (4753:13): [True: 0, False: 0]
  ------------------
 4754|      0|            case EOpConstructStruct:
  ------------------
  |  Branch (4754:13): [True: 0, False: 0]
  ------------------
 4755|      0|                {
 4756|      0|                    const char *specConstantCompositeExt[] = { E_GL_EXT_spec_constant_composites };
 4757|      0|                    if (checkExtensionsRequested(loc, 1, specConstantCompositeExt, "spec constant aggregate constructor")) {
  ------------------
  |  Branch (4757:25): [True: 0, False: 0]
  ------------------
 4758|      0|                        makeSpecConst = true;
 4759|      0|                    } else {
 4760|      0|                        makeSpecConst = false;
 4761|      0|                    }
 4762|      0|                }
 4763|      0|                break;
 4764|       |
 4765|      0|            default:
  ------------------
  |  Branch (4765:13): [True: 0, False: 0]
  ------------------
 4766|       |                // anything else wasn't white-listed in the spec as a conversion
 4767|      0|                makeSpecConst = false;
 4768|      0|                break;
 4769|      0|            }
 4770|      0|        } else
 4771|    326|            makeSpecConst = false;
 4772|       |
 4773|    326|        if (makeSpecConst)
  ------------------
  |  Branch (4773:13): [True: 0, False: 326]
  ------------------
 4774|      0|            type.getQualifier().makeSpecConstant();
 4775|    326|        else if (specConstType)
  ------------------
  |  Branch (4775:18): [True: 0, False: 326]
  ------------------
 4776|      0|            type.getQualifier().makeTemporary();
 4777|    326|        else
 4778|    326|            type.getQualifier().storage = EvqConst;
 4779|    326|    }
 4780|       |
 4781|    764|    if (type.isArray()) {
  ------------------
  |  Branch (4781:9): [True: 3, False: 761]
  ------------------
 4782|      3|        if (function.getParamCount() == 0) {
  ------------------
  |  Branch (4782:13): [True: 0, False: 3]
  ------------------
 4783|      0|            error(loc, "array constructor must have at least one argument", constructorString.c_str(), "");
 4784|      0|            return true;
 4785|      0|        }
 4786|       |
 4787|      3|        if (type.isUnsizedArray()) {
  ------------------
  |  Branch (4787:13): [True: 0, False: 3]
  ------------------
 4788|       |            // auto adapt the constructor type to the number of arguments
 4789|      0|            type.changeOuterArraySize(function.getParamCount());
 4790|      3|        } else if (type.getOuterArraySize() != function.getParamCount()) {
  ------------------
  |  Branch (4790:20): [True: 0, False: 3]
  ------------------
 4791|      0|            error(loc, "array constructor needs one argument per array element", constructorString.c_str(), "");
 4792|      0|            return true;
 4793|      0|        }
 4794|       |
 4795|      3|        if (type.isArrayOfArrays()) {
  ------------------
  |  Branch (4795:13): [True: 0, False: 3]
  ------------------
 4796|       |            // Types have to match, but we're still making the type.
 4797|       |            // Finish making the type, and the comparison is done later
 4798|       |            // when checking for conversion.
 4799|      0|            TArraySizes& arraySizes = *type.getArraySizes();
 4800|       |
 4801|       |            // At least the dimensionalities have to match.
 4802|      0|            if (! function[0].type->isArray() ||
  ------------------
  |  Branch (4802:17): [True: 0, False: 0]
  ------------------
 4803|      0|                    arraySizes.getNumDims() != function[0].type->getArraySizes()->getNumDims() + 1) {
  ------------------
  |  Branch (4803:21): [True: 0, False: 0]
  ------------------
 4804|      0|                error(loc, "array constructor argument not correct type to construct array element", constructorString.c_str(), "");
 4805|      0|                return true;
 4806|      0|            }
 4807|       |
 4808|      0|            if (arraySizes.isInnerUnsized()) {
  ------------------
  |  Branch (4808:17): [True: 0, False: 0]
  ------------------
 4809|       |                // "Arrays of arrays ..., and the size for any dimension is optional"
 4810|       |                // That means we need to adopt (from the first argument) the other array sizes into the type.
 4811|      0|                for (int d = 1; d < arraySizes.getNumDims(); ++d) {
  ------------------
  |  Branch (4811:33): [True: 0, False: 0]
  ------------------
 4812|      0|                    if (arraySizes.getDimSize(d) == UnsizedArraySize) {
  ------------------
  |  Branch (4812:25): [True: 0, False: 0]
  ------------------
 4813|      0|                        arraySizes.setDimSize(d, function[0].type->getArraySizes()->getDimSize(d - 1));
 4814|      0|                    }
 4815|      0|                }
 4816|      0|            }
 4817|      0|        }
 4818|      3|    }
 4819|       |
 4820|    764|    if (arrayArg && op != EOpConstructStruct && ! type.isArrayOfArrays()) {
  ------------------
  |  Branch (4820:9): [True: 0, False: 764]
  |  Branch (4820:21): [True: 0, False: 0]
  |  Branch (4820:49): [True: 0, False: 0]
  ------------------
 4821|      0|        error(loc, "constructing non-array constituent from array argument", constructorString.c_str(), "");
 4822|      0|        return true;
 4823|      0|    }
 4824|       |
 4825|    764|    if (matrixInMatrix && ! type.isArray()) {
  ------------------
  |  Branch (4825:9): [True: 0, False: 764]
  |  Branch (4825:27): [True: 0, False: 0]
  ------------------
 4826|      0|        profileRequires(loc, ENoProfile, 120, nullptr, "constructing matrix from matrix");
 4827|       |
 4828|       |        // "If a matrix argument is given to a matrix constructor,
 4829|       |        // it is a compile-time error to have any other arguments."
 4830|      0|        if (function.getParamCount() != 1)
  ------------------
  |  Branch (4830:13): [True: 0, False: 0]
  ------------------
 4831|      0|            error(loc, "matrix constructed from matrix can only have one argument", constructorString.c_str(), "");
 4832|      0|        return false;
 4833|      0|    }
 4834|       |
 4835|    764|    if (overFull) {
  ------------------
  |  Branch (4835:9): [True: 0, False: 764]
  ------------------
 4836|      0|        error(loc, "too many arguments", constructorString.c_str(), "");
 4837|      0|        return true;
 4838|      0|    }
 4839|       |
 4840|    764|    if (op == EOpConstructStruct && ! type.isArray() && (int)type.getStruct()->size() != function.getParamCount()) {
  ------------------
  |  Branch (4840:9): [True: 0, False: 764]
  |  Branch (4840:37): [True: 0, False: 0]
  |  Branch (4840:57): [True: 0, False: 0]
  ------------------
 4841|      0|        error(loc, "Number of constructor parameters does not match the number of structure fields", constructorString.c_str(), "");
 4842|      0|        return true;
 4843|      0|    }
 4844|       |
 4845|    764|    if (type.isLongVector() && !isValidLongVectorElseError(loc, type)) {
  ------------------
  |  Branch (4845:9): [True: 0, False: 764]
  |  Branch (4845:32): [True: 0, False: 0]
  ------------------
 4846|      0|        return true;
 4847|      0|    }
 4848|       |
 4849|    764|    if ((op != EOpConstructStruct && size != 1 && size < type.computeNumComponents()) ||
  ------------------
  |  Branch (4849:10): [True: 764, False: 0]
  |  Branch (4849:38): [True: 329, False: 435]
  |  Branch (4849:51): [True: 0, False: 329]
  ------------------
 4850|    764|        (op == EOpConstructStruct && size < type.computeNumComponents())) {
  ------------------
  |  Branch (4850:10): [True: 0, False: 764]
  |  Branch (4850:38): [True: 0, False: 0]
  ------------------
 4851|      0|        error(loc, "not enough data provided for construction", constructorString.c_str(), "");
 4852|      0|        return true;
 4853|      0|    }
 4854|       |
 4855|    764|    if (type.isCoopMat() && function.getParamCount() != 1) {
  ------------------
  |  Branch (4855:9): [True: 0, False: 764]
  |  Branch (4855:29): [True: 0, False: 0]
  ------------------
 4856|      0|        error(loc, "wrong number of arguments", constructorString.c_str(), "");
 4857|      0|        return true;
 4858|      0|    }
 4859|    764|    if (type.isCoopMat() &&
  ------------------
  |  Branch (4859:9): [True: 0, False: 764]
  ------------------
 4860|      0|        !(function[0].type->isScalar() || function[0].type->isCoopMat())) {
  ------------------
  |  Branch (4860:11): [True: 0, False: 0]
  |  Branch (4860:43): [True: 0, False: 0]
  ------------------
 4861|      0|        error(loc, "Cooperative matrix constructor argument must be scalar or cooperative matrix", constructorString.c_str(), "");
 4862|      0|        return true;
 4863|      0|    }
 4864|       |
 4865|    764|    TIntermTyped* typed = node->getAsTyped();
 4866|    764|    if (type.isCoopMat() && typed->getType().isCoopMat() &&
  ------------------
  |  Branch (4866:9): [True: 0, False: 764]
  |  Branch (4866:29): [True: 0, False: 0]
  ------------------
 4867|      0|        ((extensionTurnedOn(E_GL_NV_cooperative_matrix2) && !type.sameCoopMatShape(typed->getType())) ||
  ------------------
  |  Branch (4867:11): [True: 0, False: 0]
  |  Branch (4867:61): [True: 0, False: 0]
  ------------------
 4868|      0|         (!extensionTurnedOn(E_GL_NV_cooperative_matrix2) && !type.sameCoopMatShapeAndUse(typed->getType())))) {
  ------------------
  |  Branch (4868:11): [True: 0, False: 0]
  |  Branch (4868:62): [True: 0, False: 0]
  ------------------
 4869|      0|        error(loc, "Cooperative matrix type parameters mismatch", constructorString.c_str(), "");
 4870|      0|        return true;
 4871|      0|    }
 4872|       |
 4873|    764|    if (typed == nullptr) {
  ------------------
  |  Branch (4873:9): [True: 0, False: 764]
  ------------------
 4874|      0|        error(loc, "constructor argument does not have a type", constructorString.c_str(), "");
 4875|      0|        return true;
 4876|      0|    }
 4877|    764|    if (op != EOpConstructStruct && op != EOpConstructNonuniform && typed->getBasicType() == EbtSampler) {
  ------------------
  |  Branch (4877:9): [True: 764, False: 0]
  |  Branch (4877:37): [True: 764, False: 0]
  |  Branch (4877:69): [True: 0, False: 764]
  ------------------
 4878|      0|        if (op == EOpConstructUVec2 && extensionTurnedOn(E_GL_ARB_bindless_texture)) {
  ------------------
  |  Branch (4878:13): [True: 0, False: 0]
  |  Branch (4878:40): [True: 0, False: 0]
  ------------------
 4879|      0|            intermediate.setBindlessTextureMode(currentCaller, AstRefTypeFunc);
 4880|      0|        }
 4881|      0|        else {
 4882|      0|            error(loc, "cannot convert a sampler", constructorString.c_str(), "");
 4883|      0|            return true;
 4884|      0|        }
 4885|      0|    }
 4886|    764|    if (op != EOpConstructStruct && typed->isAtomic()) {
  ------------------
  |  Branch (4886:9): [True: 764, False: 0]
  |  Branch (4886:37): [True: 0, False: 764]
  ------------------
 4887|      0|        error(loc, "cannot convert an atomic_uint", constructorString.c_str(), "");
 4888|      0|        return true;
 4889|      0|    }
 4890|    764|    if (typed->getBasicType() == EbtVoid) {
  ------------------
  |  Branch (4890:9): [True: 0, False: 764]
  ------------------
 4891|      0|        error(loc, "cannot convert a void", constructorString.c_str(), "");
 4892|      0|        return true;
 4893|      0|    }
 4894|       |
 4895|    764|    return false;
 4896|    764|}
_ZN7glslang13TParseContext30constructorTextureSamplerErrorERKNS_10TSourceLocERKNS_9TFunctionE:
 4901|     45|{
 4902|     45|    TString constructorName = function.getType().getBasicTypeString();  // TODO: performance: should not be making copy; interface needs to change
 4903|     45|    const char* token = constructorName.c_str();
 4904|       |    // verify the constructor for bindless texture, the input must be ivec2 or uvec2
 4905|     45|    if (function.getParamCount() == 1) {
  ------------------
  |  Branch (4905:9): [True: 0, False: 45]
  ------------------
 4906|      0|        TType* pType = function[0].type;
 4907|      0|        TBasicType basicType = pType->getBasicType();
 4908|      0|        bool isIntegerVec2 = ((basicType == EbtUint || basicType == EbtInt) && pType->getVectorSize() == 2);
  ------------------
  |  Branch (4908:32): [True: 0, False: 0]
  |  Branch (4908:56): [True: 0, False: 0]
  |  Branch (4908:80): [True: 0, False: 0]
  ------------------
 4909|      0|        bool bindlessMode = extensionTurnedOn(E_GL_ARB_bindless_texture);
 4910|      0|        if (isIntegerVec2 && bindlessMode) {
  ------------------
  |  Branch (4910:13): [True: 0, False: 0]
  |  Branch (4910:30): [True: 0, False: 0]
  ------------------
 4911|      0|            if (pType->getSampler().isImage())
  ------------------
  |  Branch (4911:17): [True: 0, False: 0]
  ------------------
 4912|      0|                intermediate.setBindlessImageMode(currentCaller, AstRefTypeFunc);
 4913|      0|            else
 4914|      0|                intermediate.setBindlessTextureMode(currentCaller, AstRefTypeFunc);
 4915|      0|            return false;
 4916|      0|        } else {
 4917|      0|            if (!bindlessMode)
  ------------------
  |  Branch (4917:17): [True: 0, False: 0]
  ------------------
 4918|      0|                error(loc, "sampler-constructor requires the extension GL_ARB_bindless_texture enabled", token, "");
 4919|      0|            else
 4920|      0|                error(loc, "sampler-constructor requires the input to be ivec2 or uvec2", token, "");
 4921|      0|            return true;
 4922|      0|        }
 4923|      0|    }
 4924|       |
 4925|       |    // exactly two arguments needed
 4926|     45|    if (function.getParamCount() != 2) {
  ------------------
  |  Branch (4926:9): [True: 0, False: 45]
  ------------------
 4927|      0|        error(loc, "sampler-constructor requires two arguments", token, "");
 4928|      0|        return true;
 4929|      0|    }
 4930|       |
 4931|       |    // For now, not allowing arrayed constructors, the rest of this function
 4932|       |    // is set up to allow them, if this test is removed:
 4933|     45|    if (function.getType().isArray()) {
  ------------------
  |  Branch (4933:9): [True: 0, False: 45]
  ------------------
 4934|      0|        error(loc, "sampler-constructor cannot make an array of samplers", token, "");
 4935|      0|        return true;
 4936|      0|    }
 4937|       |
 4938|       |    // first argument
 4939|       |    //  * the constructor's first argument must be a texture type
 4940|       |    //  * the dimensionality (1D, 2D, 3D, Cube, Rect, Buffer, MS, and Array)
 4941|       |    //    of the texture type must match that of the constructed sampler type
 4942|       |    //    (that is, the suffixes of the type of the first argument and the
 4943|       |    //    type of the constructor will be spelled the same way)
 4944|     45|    if (function[0].type->getBasicType() != EbtSampler ||
  ------------------
  |  Branch (4944:9): [True: 0, False: 45]
  ------------------
 4945|     45|        ! function[0].type->getSampler().isTexture() ||
  ------------------
  |  Branch (4945:9): [True: 0, False: 45]
  ------------------
 4946|     45|        function[0].type->isArray()) {
  ------------------
  |  Branch (4946:9): [True: 0, False: 45]
  ------------------
 4947|      0|        error(loc, "sampler-constructor first argument must be a scalar *texture* type", token, "");
 4948|      0|        return true;
 4949|      0|    }
 4950|       |
 4951|       |    // simulate the first argument's impact on the result type, so it can be compared with the encapsulated operator!=()
 4952|     45|    TSampler texture = function.getType().getSampler();
 4953|     45|    texture.setCombined(false);
 4954|     45|    texture.shadow = false;
 4955|     45|    if (function[0].type->getSampler().isTileAttachmentQCOM()) {
  ------------------
  |  Branch (4955:9): [True: 0, False: 45]
  ------------------
 4956|       |      //TSampler& texture = const_cast<TFunction&>(function).getWritableType().getSampler();
 4957|      0|      texture.image = true;
 4958|      0|      texture.tileQCOM = true;
 4959|      0|    }
 4960|     45|    if (texture != function[0].type->getSampler()) {
  ------------------
  |  Branch (4960:9): [True: 0, False: 45]
  ------------------
 4961|      0|        error(loc, "sampler-constructor first argument must be a *texture* type"
 4962|      0|                   " matching the dimensionality and sampled type of the constructor", token, "");
 4963|      0|        return true;
 4964|      0|    }
 4965|       |
 4966|       |    // second argument
 4967|       |    //   * the constructor's second argument must be a scalar of type
 4968|       |    //     *sampler* or *samplerShadow*
 4969|     45|    if (  function[1].type->getBasicType() != EbtSampler ||
  ------------------
  |  Branch (4969:11): [True: 0, False: 45]
  ------------------
 4970|     45|        ! function[1].type->getSampler().isPureSampler() ||
  ------------------
  |  Branch (4970:9): [True: 0, False: 45]
  ------------------
 4971|     45|          function[1].type->isArray()) {
  ------------------
  |  Branch (4971:11): [True: 0, False: 45]
  ------------------
 4972|      0|        error(loc, "sampler-constructor second argument must be a scalar sampler or samplerShadow", token, "");
 4973|      0|        return true;
 4974|      0|    }
 4975|       |
 4976|     45|    return false;
 4977|     45|}
_ZN7glslang13TParseContext14voidErrorCheckERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEENS_10TBasicTypeE:
 4984|  17.3k|{
 4985|  17.3k|    if (basicType == EbtVoid) {
  ------------------
  |  Branch (4985:9): [True: 0, False: 17.3k]
  ------------------
 4986|      0|        error(loc, "illegal use of type 'void'", identifier.c_str(), "");
 4987|      0|        return true;
 4988|      0|    }
 4989|       |
 4990|  17.3k|    return false;
 4991|  17.3k|}
_ZN7glslang13TParseContext12samplerCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEEPNS_12TIntermTypedE:
 5008|  16.7k|{
 5009|       |    // Check that the appropriate extension is enabled if external sampler is used.
 5010|       |    // There are two extensions. The correct one must be used based on GLSL version.
 5011|  16.7k|    if (type.getBasicType() == EbtSampler && type.getSampler().isExternal()) {
  ------------------
  |  Branch (5011:9): [True: 264, False: 16.4k]
  |  Branch (5011:46): [True: 0, False: 264]
  ------------------
 5012|      0|        if (version < 300) {
  ------------------
  |  Branch (5012:13): [True: 0, False: 0]
  ------------------
 5013|      0|            requireExtensions(loc, 1, &E_GL_OES_EGL_image_external, "samplerExternalOES");
 5014|      0|        } else {
 5015|      0|            requireExtensions(loc, 1, &E_GL_OES_EGL_image_external_essl3, "samplerExternalOES");
 5016|      0|        }
 5017|      0|    }
 5018|  16.7k|    if (type.getSampler().isYuv()) {
  ------------------
  |  Branch (5018:9): [True: 0, False: 16.7k]
  ------------------
 5019|      0|        requireExtensions(loc, 1, &E_GL_EXT_YUV_target, "__samplerExternal2DY2YEXT");
 5020|      0|    }
 5021|       |
 5022|  16.7k|    if (type.getQualifier().storage == EvqUniform)
  ------------------
  |  Branch (5022:9): [True: 425, False: 16.3k]
  ------------------
 5023|    425|        return;
 5024|       |
 5025|  16.3k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtSampler)) {
  ------------------
  |  Branch (5025:9): [True: 0, False: 16.3k]
  |  Branch (5025:45): [True: 0, False: 0]
  ------------------
 5026|       |        // For bindless texture, sampler can be declared as an struct member
 5027|      0|        if (extensionTurnedOn(E_GL_ARB_bindless_texture)) {
  ------------------
  |  Branch (5027:13): [True: 0, False: 0]
  ------------------
 5028|      0|            if (type.getSampler().isImage())
  ------------------
  |  Branch (5028:17): [True: 0, False: 0]
  ------------------
 5029|      0|                intermediate.setBindlessImageMode(currentCaller, AstRefTypeVar);
 5030|      0|            else
 5031|      0|                intermediate.setBindlessTextureMode(currentCaller, AstRefTypeVar);
 5032|      0|        }
 5033|      0|        else {
 5034|      0|            error(loc, "non-uniform struct contains a sampler or image:", type.getBasicTypeString().c_str(), identifier.c_str());
 5035|      0|        }
 5036|      0|    }
 5037|  16.3k|    else if (type.getBasicType() == EbtSampler && type.getQualifier().storage != EvqUniform) {
  ------------------
  |  Branch (5037:14): [True: 0, False: 16.3k]
  |  Branch (5037:51): [True: 0, False: 0]
  ------------------
 5038|       |        // For bindless texture, sampler can be declared as an input/output/block member
 5039|      0|        if (extensionTurnedOn(E_GL_ARB_bindless_texture)) {
  ------------------
  |  Branch (5039:13): [True: 0, False: 0]
  ------------------
 5040|      0|            if (type.getSampler().isImage())
  ------------------
  |  Branch (5040:17): [True: 0, False: 0]
  ------------------
 5041|      0|                intermediate.setBindlessImageMode(currentCaller, AstRefTypeVar);
 5042|      0|            else
 5043|      0|                intermediate.setBindlessTextureMode(currentCaller, AstRefTypeVar);
 5044|      0|        }
 5045|      0|        else {
 5046|       |            // non-uniform sampler
 5047|       |            // not yet:  okay if it has an initializer
 5048|       |            // if (! initializer)
 5049|      0|            if (type.getSampler().isAttachmentEXT() && type.getQualifier().storage != EvqTileImageEXT)
  ------------------
  |  Branch (5049:17): [True: 0, False: 0]
  |  Branch (5049:56): [True: 0, False: 0]
  ------------------
 5050|      0|                 error(loc, "can only be used in tileImageEXT variables or function parameters:", type.getBasicTypeString().c_str(), identifier.c_str());
 5051|      0|            else if (type.getQualifier().storage != EvqTileImageEXT)
  ------------------
  |  Branch (5051:22): [True: 0, False: 0]
  ------------------
 5052|      0|                 error(loc, "sampler/image types can only be used in uniform variables or function parameters:", type.getBasicTypeString().c_str(), identifier.c_str());
 5053|      0|        }
 5054|      0|    }
 5055|  16.3k|    else if (type.isTensorARM() && type.getQualifier().storage != EvqUniform) {
  ------------------
  |  Branch (5055:14): [True: 0, False: 16.3k]
  |  Branch (5055:36): [True: 0, False: 0]
  ------------------
 5056|      0|        error(loc, "tensorARM types can only be used in uniform variables or function parameters:", "tensorARM", identifier.c_str());
 5057|      0|    }
 5058|  16.3k|}
_ZN7glslang13TParseContext15atomicUintCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5061|  16.7k|{
 5062|  16.7k|    if (type.getQualifier().storage == EvqUniform)
  ------------------
  |  Branch (5062:9): [True: 425, False: 16.3k]
  ------------------
 5063|    425|        return;
 5064|       |
 5065|  16.3k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtAtomicUint))
  ------------------
  |  Branch (5065:9): [True: 0, False: 16.3k]
  |  Branch (5065:45): [True: 0, False: 0]
  ------------------
 5066|      0|        error(loc, "non-uniform struct contains an atomic_uint:", type.getBasicTypeString().c_str(), identifier.c_str());
 5067|  16.3k|    else if (type.getBasicType() == EbtAtomicUint && type.getQualifier().storage != EvqUniform)
  ------------------
  |  Branch (5067:14): [True: 0, False: 16.3k]
  |  Branch (5067:54): [True: 0, False: 0]
  ------------------
 5068|      0|        error(loc, "atomic_uints can only be used in uniform variables or function parameters:", type.getBasicTypeString().c_str(), identifier.c_str());
 5069|  16.3k|}
_ZN7glslang13TParseContext14accStructCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5072|  16.7k|{
 5073|  16.7k|    if (type.getQualifier().storage == EvqUniform)
  ------------------
  |  Branch (5073:9): [True: 425, False: 16.3k]
  ------------------
 5074|    425|        return;
 5075|       |
 5076|  16.3k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtAccStruct))
  ------------------
  |  Branch (5076:9): [True: 0, False: 16.3k]
  |  Branch (5076:45): [True: 0, False: 0]
  ------------------
 5077|      0|        error(loc, "non-uniform struct contains an accelerationStructureNV:", type.getBasicTypeString().c_str(), identifier.c_str());
 5078|  16.3k|    else if (type.getBasicType() == EbtAccStruct && type.getQualifier().storage != EvqUniform)
  ------------------
  |  Branch (5078:14): [True: 0, False: 16.3k]
  |  Branch (5078:53): [True: 0, False: 0]
  ------------------
 5079|      0|        error(loc, "accelerationStructureNV can only be used in uniform variables or function parameters:",
 5080|      0|            type.getBasicTypeString().c_str(), identifier.c_str());
 5081|       |
 5082|  16.3k|}
_ZN7glslang13TParseContext17hitObjectEXTCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5085|  16.7k|{
 5086|  16.7k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtHitObjectEXT)) {
  ------------------
  |  Branch (5086:9): [True: 0, False: 16.7k]
  |  Branch (5086:45): [True: 0, False: 0]
  ------------------
 5087|      0|        error(loc, "struct is not allowed to contain hitObjectEXT:", type.getTypeName().c_str(), identifier.c_str());
 5088|  16.7k|    } else if (type.getBasicType() == EbtHitObjectEXT) {
  ------------------
  |  Branch (5088:16): [True: 0, False: 16.7k]
  ------------------
 5089|      0|        TStorageQualifier qualifier = type.getQualifier().storage;
 5090|      0|        if (qualifier != EvqGlobal && qualifier != EvqTemporary) {
  ------------------
  |  Branch (5090:13): [True: 0, False: 0]
  |  Branch (5090:39): [True: 0, False: 0]
  ------------------
 5091|      0|            error(loc, "hitObjectEXT can only be declared in global or function scope with no storage qualifier:", "hitObjectEXT", identifier.c_str());
 5092|      0|        }
 5093|      0|    }
 5094|  16.7k|}
_ZN7glslang13TParseContext16hitObjectNVCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5096|  16.7k|{
 5097|  16.7k|    if (type.getBasicType() == EbtStruct && ( containsFieldWithBasicType(type, EbtHitObjectNV))) {
  ------------------
  |  Branch (5097:9): [True: 0, False: 16.7k]
  |  Branch (5097:45): [True: 0, False: 0]
  ------------------
 5098|      0|        error(loc, "struct is not allowed to contain hitObjectNV:", type.getTypeName().c_str(), identifier.c_str());
 5099|  16.7k|    } else if ((type.getBasicType() == EbtHitObjectNV)) {
  ------------------
  |  Branch (5099:16): [True: 0, False: 16.7k]
  ------------------
 5100|      0|        TStorageQualifier qualifier = type.getQualifier().storage;
 5101|      0|        if (qualifier != EvqGlobal && qualifier != EvqTemporary) {
  ------------------
  |  Branch (5101:13): [True: 0, False: 0]
  |  Branch (5101:39): [True: 0, False: 0]
  ------------------
 5102|      0|            error(loc, "hitObjectNV can only be declared in global or function scope with no storage qualifier:", "hitObjectNV", identifier.c_str());
 5103|      0|        }
 5104|      0|    }
 5105|  16.7k|}
_ZN7glslang13TParseContext22transparentOpaqueCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5108|  16.7k|{
 5109|  16.7k|    if (parsingBuiltins)
  ------------------
  |  Branch (5109:9): [True: 16.1k, False: 600]
  ------------------
 5110|  16.1k|        return;
 5111|       |
 5112|    600|    if (type.getQualifier().storage != EvqUniform)
  ------------------
  |  Branch (5112:9): [True: 336, False: 264]
  ------------------
 5113|    336|        return;
 5114|       |
 5115|    264|    if (type.containsNonOpaque()) {
  ------------------
  |  Branch (5115:9): [True: 0, False: 264]
  ------------------
 5116|       |        // Vulkan doesn't allow transparent uniforms outside of blocks
 5117|      0|        if (spvVersion.vulkan > 0 && !spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (5117:13): [True: 0, False: 0]
  |  Branch (5117:38): [True: 0, False: 0]
  ------------------
 5118|      0|            vulkanRemoved(loc, "non-opaque uniforms outside a block");
 5119|       |        // OpenGL wants locations on these (unless they are getting automapped)
 5120|      0|        if (spvVersion.openGl > 0 && !type.getQualifier().hasLocation() && !intermediate.getAutoMapLocations())
  ------------------
  |  Branch (5120:13): [True: 0, False: 0]
  |  Branch (5120:38): [True: 0, False: 0]
  |  Branch (5120:76): [True: 0, False: 0]
  ------------------
 5121|      0|            error(loc, "non-opaque uniform variables need a layout(location=L)", identifier.c_str(), "");
 5122|      0|    }
 5123|    264|}
_ZN7glslang13TParseContext20memberQualifierCheckERNS_11TPublicTypeE:
 5129|     39|{
 5130|     39|    globalQualifierFixCheck(publicType.loc, publicType.qualifier, true);
 5131|     39|    checkNoShaderLayouts(publicType.loc, publicType.shaderQualifiers);
 5132|     39|    if (publicType.qualifier.isNonUniform()) {
  ------------------
  |  Branch (5132:9): [True: 0, False: 39]
  ------------------
 5133|      0|        error(publicType.loc, "not allowed on block or structure members", "nonuniformEXT", "");
 5134|      0|        publicType.qualifier.nonUniform = false;
 5135|      0|    }
 5136|     39|    if (publicType.qualifier.isPatch()) {
  ------------------
  |  Branch (5136:9): [True: 0, False: 39]
  ------------------
 5137|      0|        error(publicType.loc, "not allowed on block or structure members",
 5138|      0|              "patch", "");
 5139|      0|    }
 5140|     39|}
_ZN7glslang13TParseContext23globalQualifierFixCheckERKNS_10TSourceLocERNS_10TQualifierEbPKNS_11TPublicTypeE:
 5146|  62.0k|{
 5147|  62.0k|    bool nonuniformOkay = false;
 5148|       |
 5149|       |    // move from parameter/unknown qualifiers to pipeline in/out qualifiers
 5150|  62.0k|    switch (qualifier.storage) {
 5151|  9.69k|    case EvqIn:
  ------------------
  |  Branch (5151:5): [True: 9.69k, False: 52.3k]
  ------------------
 5152|  9.69k|        profileRequires(loc, ENoProfile, 130, nullptr, "in for stage inputs");
 5153|  9.69k|        profileRequires(loc, EEsProfile, 300, nullptr, "in for stage inputs");
 5154|  9.69k|        qualifier.storage = EvqVaryingIn;
 5155|  9.69k|        nonuniformOkay = true;
 5156|  9.69k|        break;
 5157|    786|    case EvqOut:
  ------------------
  |  Branch (5157:5): [True: 786, False: 61.2k]
  ------------------
 5158|    786|        profileRequires(loc, ENoProfile, 130, nullptr, "out for stage outputs");
 5159|    786|        profileRequires(loc, EEsProfile, 300, nullptr, "out for stage outputs");
 5160|    786|        qualifier.storage = EvqVaryingOut;
 5161|    786|        if (intermediate.isInvariantAll())
  ------------------
  |  Branch (5161:13): [True: 0, False: 786]
  ------------------
 5162|      0|            qualifier.invariant = true;
 5163|    786|        break;
 5164|      0|    case EvqInOut:
  ------------------
  |  Branch (5164:5): [True: 0, False: 62.0k]
  ------------------
 5165|      0|        qualifier.storage = EvqVaryingIn;
 5166|      0|        error(loc, "cannot use 'inout' at global scope", "", "");
 5167|      0|        break;
 5168|  45.7k|    case EvqGlobal:
  ------------------
  |  Branch (5168:5): [True: 45.7k, False: 16.2k]
  ------------------
 5169|  45.8k|    case EvqTemporary:
  ------------------
  |  Branch (5169:5): [True: 39, False: 62.0k]
  ------------------
 5170|  45.8k|        nonuniformOkay = true;
 5171|  45.8k|        break;
 5172|    425|    case EvqUniform:
  ------------------
  |  Branch (5172:5): [True: 425, False: 61.6k]
  ------------------
 5173|       |        // According to GLSL spec: The std430 qualifier is supported only for shader storage blocks; a shader using
 5174|       |        // the std430 qualifier on a uniform block will fail to compile.
 5175|       |        // Only check the global declaration: layout(std430) uniform;
 5176|    425|        if (blockName == nullptr &&
  ------------------
  |  Branch (5176:13): [True: 379, False: 46]
  ------------------
 5177|    379|            qualifier.layoutPacking == ElpStd430)
  ------------------
  |  Branch (5177:13): [True: 0, False: 379]
  ------------------
 5178|      0|        {
 5179|      0|            requireExtensions(loc, 1, &E_GL_EXT_scalar_block_layout, "default std430 layout for uniform");
 5180|      0|        }
 5181|       |
 5182|    425|        if (publicType != nullptr && publicType->isImage() &&
  ------------------
  |  Branch (5182:13): [True: 425, False: 0]
  |  Branch (5182:38): [True: 66, False: 359]
  ------------------
 5183|     66|            (qualifier.layoutFormat > ElfExtSizeGuard && qualifier.layoutFormat < ElfCount))
  ------------------
  |  Branch (5183:14): [True: 0, False: 66]
  |  Branch (5183:58): [True: 0, False: 0]
  ------------------
 5184|      0|            qualifier.layoutFormat = mapLegacyLayoutFormat(qualifier.layoutFormat, publicType->sampler.getBasicType());
 5185|       |
 5186|    425|        break;
 5187|  5.33k|    default:
  ------------------
  |  Branch (5187:5): [True: 5.33k, False: 56.7k]
  ------------------
 5188|  5.33k|        break;
 5189|  62.0k|    }
 5190|       |
 5191|  62.0k|    if (!nonuniformOkay && qualifier.isNonUniform())
  ------------------
  |  Branch (5191:9): [True: 6.54k, False: 55.5k]
  |  Branch (5191:28): [True: 0, False: 6.54k]
  ------------------
 5192|      0|        error(loc, "for non-parameter, can only apply to 'in' or no storage qualifier", "nonuniformEXT", "");
 5193|       |
 5194|  62.0k|    if (qualifier.isSpirvByReference())
  ------------------
  |  Branch (5194:9): [True: 0, False: 62.0k]
  ------------------
 5195|      0|        error(loc, "can only apply to parameter", "spirv_by_reference", "");
 5196|       |
 5197|  62.0k|    if (qualifier.isSpirvLiteral())
  ------------------
  |  Branch (5197:9): [True: 0, False: 62.0k]
  ------------------
 5198|      0|        error(loc, "can only apply to parameter", "spirv_literal", "");
 5199|       |
 5200|       |    // Storage qualifier isn't ready for memberQualifierCheck, we should skip invariantCheck for it.
 5201|  62.0k|    if (!isMemberCheck || structNestingLevel > 0)
  ------------------
  |  Branch (5201:9): [True: 62.0k, False: 39]
  |  Branch (5201:27): [True: 0, False: 39]
  ------------------
 5202|  62.0k|        invariantCheck(loc, qualifier);
 5203|       |
 5204|  62.0k|    if (qualifier.isFullQuads()) {
  ------------------
  |  Branch (5204:9): [True: 0, False: 62.0k]
  ------------------
 5205|      0|        if (qualifier.storage != EvqVaryingIn)
  ------------------
  |  Branch (5205:13): [True: 0, False: 0]
  ------------------
 5206|      0|            error(loc, "can only apply to input layout", "full_quads ", "");
 5207|      0|        intermediate.setReqFullQuadsMode();
 5208|      0|    }
 5209|       |
 5210|  62.0k|    if (qualifier.isQuadDeriv()) {
  ------------------
  |  Branch (5210:9): [True: 0, False: 62.0k]
  ------------------
 5211|      0|        if (qualifier.storage != EvqVaryingIn)
  ------------------
  |  Branch (5211:13): [True: 0, False: 0]
  ------------------
 5212|      0|            error(loc, "can only apply to input layout", "quad_derivatives", "");
 5213|      0|        intermediate.setQuadDerivMode();
 5214|      0|    }
 5215|  62.0k|}
_ZN7glslang13TParseContext24globalQualifierTypeCheckERKNS_10TSourceLocERKNS_10TQualifierERKNS_11TPublicTypeE:
 5221|   587k|{
 5222|   587k|    if (! symbolTable.atGlobalLevel())
  ------------------
  |  Branch (5222:9): [True: 240, False: 587k]
  ------------------
 5223|    240|        return;
 5224|       |
 5225|   587k|    if (!(publicType.userDef && publicType.userDef->isReference()) && !publicType.isTensorARM() && !parsingBuiltins) {
  ------------------
  |  Branch (5225:11): [True: 10, False: 587k]
  |  Branch (5225:33): [True: 0, False: 10]
  |  Branch (5225:71): [True: 587k, False: 0]
  |  Branch (5225:100): [True: 609, False: 586k]
  ------------------
 5226|    609|        if (qualifier.isMemoryQualifierImageAndSSBOOnly() && ! publicType.isImage() && publicType.qualifier.storage != EvqBuffer) {
  ------------------
  |  Branch (5226:13): [True: 0, False: 609]
  |  Branch (5226:62): [True: 0, False: 0]
  |  Branch (5226:88): [True: 0, False: 0]
  ------------------
 5227|      0|            error(loc, "memory qualifiers cannot be used on this type", "", "");
 5228|    609|        } else if (qualifier.isMemory() && (publicType.basicType != EbtSampler) && !publicType.qualifier.isUniformOrBuffer()) {
  ------------------
  |  Branch (5228:20): [True: 0, False: 609]
  |  Branch (5228:44): [True: 0, False: 0]
  |  Branch (5228:84): [True: 0, False: 0]
  ------------------
 5229|      0|            error(loc, "memory qualifiers cannot be used on this type", "", "");
 5230|      0|        }
 5231|    609|    }
 5232|       |
 5233|   587k|    if (qualifier.storage == EvqBuffer &&
  ------------------
  |  Branch (5233:9): [True: 0, False: 587k]
  ------------------
 5234|      0|        publicType.basicType != EbtBlock &&
  ------------------
  |  Branch (5234:9): [True: 0, False: 0]
  ------------------
 5235|      0|        !qualifier.hasBufferReference() &&
  ------------------
  |  Branch (5235:9): [True: 0, False: 0]
  ------------------
 5236|      0|        !qualifier.isBufferType())
  ------------------
  |  Branch (5236:9): [True: 0, False: 0]
  ------------------
 5237|      0|        error(loc, "buffers can be declared only as blocks", "buffer", "");
 5238|       |
 5239|   587k|    if (qualifier.storage != EvqVaryingIn && publicType.basicType == EbtDouble &&
  ------------------
  |  Branch (5239:9): [True: 577k, False: 9.68k]
  |  Branch (5239:46): [True: 5.18k, False: 572k]
  ------------------
 5240|  5.18k|        extensionTurnedOn(E_GL_ARB_vertex_attrib_64bit) && language == EShLangVertex &&
  ------------------
  |  Branch (5240:9): [True: 0, False: 5.18k]
  |  Branch (5240:60): [True: 0, False: 0]
  ------------------
 5241|      0|        version < 400) {
  ------------------
  |  Branch (5241:9): [True: 0, False: 0]
  ------------------
 5242|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 410, E_GL_ARB_gpu_shader_fp64, "vertex-shader `double` type");
 5243|      0|    }
 5244|   587k|    if (qualifier.storage != EvqVaryingIn && qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (5244:9): [True: 577k, False: 9.68k]
  |  Branch (5244:46): [True: 577k, False: 706]
  ------------------
 5245|   577k|        return;
 5246|       |
 5247|  10.3k|    if (publicType.shaderQualifiers.hasBlendEquation())
  ------------------
  |  Branch (5247:9): [True: 0, False: 10.3k]
  ------------------
 5248|      0|        error(loc, "can only be applied to a standalone 'out'", "blend equation", "");
 5249|       |
 5250|       |    // now, knowing it is a shader in/out, do all the in/out semantic checks
 5251|       |
 5252|  10.3k|    if (isTypeInt(publicType.basicType) || publicType.basicType == EbtDouble) {
  ------------------
  |  Branch (5252:9): [True: 9.57k, False: 816]
  |  Branch (5252:44): [True: 0, False: 816]
  ------------------
 5253|  9.57k|        profileRequires(loc, EEsProfile, 300, nullptr, "non-float shader input/output");
 5254|  9.57k|        profileRequires(loc, ~EEsProfile, 130, nullptr, "non-float shader input/output");
 5255|  9.57k|    }
 5256|       |
 5257|  10.3k|    if (!qualifier.flat && !qualifier.isExplicitInterpolation() && !qualifier.isPervertexNV() && !qualifier.isPervertexEXT()) {
  ------------------
  |  Branch (5257:9): [True: 7.82k, False: 2.56k]
  |  Branch (5257:28): [True: 7.82k, False: 0]
  |  Branch (5257:68): [True: 7.82k, False: 0]
  |  Branch (5257:98): [True: 7.82k, False: 0]
  ------------------
 5258|  7.82k|        if (isTypeInt(publicType.basicType) ||
  ------------------
  |  Branch (5258:13): [True: 7.00k, False: 816]
  ------------------
 5259|    816|            publicType.basicType == EbtDouble ||
  ------------------
  |  Branch (5259:13): [True: 0, False: 816]
  ------------------
 5260|    816|            (publicType.userDef && (   publicType.userDef->containsBasicType(EbtInt)
  ------------------
  |  Branch (5260:14): [True: 0, False: 816]
  |  Branch (5260:40): [True: 0, False: 0]
  ------------------
 5261|      0|                                    || publicType.userDef->containsBasicType(EbtUint)
  ------------------
  |  Branch (5261:40): [True: 0, False: 0]
  ------------------
 5262|      0|                                    || publicType.userDef->contains16BitInt()
  ------------------
  |  Branch (5262:40): [True: 0, False: 0]
  ------------------
 5263|      0|                                    || publicType.userDef->contains8BitInt()
  ------------------
  |  Branch (5263:40): [True: 0, False: 0]
  ------------------
 5264|      0|                                    || publicType.userDef->contains64BitInt()
  ------------------
  |  Branch (5264:40): [True: 0, False: 0]
  ------------------
 5265|  7.00k|                                    || publicType.userDef->containsDouble()))) {
  ------------------
  |  Branch (5265:40): [True: 0, False: 0]
  ------------------
 5266|  7.00k|            if (qualifier.storage == EvqVaryingIn && language == EShLangFragment)
  ------------------
  |  Branch (5266:17): [True: 6.50k, False: 501]
  |  Branch (5266:54): [True: 0, False: 6.50k]
  ------------------
 5267|      0|                error(loc, "must be qualified as flat", TType::getBasicString(publicType.basicType), GetStorageQualifierString(qualifier.storage));
 5268|  7.00k|            else if (qualifier.storage == EvqVaryingOut && language == EShLangVertex && version == 300)
  ------------------
  |  Branch (5268:22): [True: 501, False: 6.50k]
  |  Branch (5268:60): [True: 74, False: 427]
  |  Branch (5268:89): [True: 0, False: 74]
  ------------------
 5269|      0|                error(loc, "must be qualified as flat", TType::getBasicString(publicType.basicType), GetStorageQualifierString(qualifier.storage));
 5270|  7.00k|        }
 5271|  7.82k|    }
 5272|       |
 5273|  10.3k|    if (qualifier.isPatch() && qualifier.isInterpolation())
  ------------------
  |  Branch (5273:9): [True: 68, False: 10.3k]
  |  Branch (5273:32): [True: 0, False: 68]
  ------------------
 5274|      0|        error(loc, "cannot use interpolation qualifiers with patch", "patch", "");
 5275|       |
 5276|       |    // Only "patch in" is supported via GL_NV_gpu_shader5
 5277|  10.3k|    if (! symbolTable.atBuiltInLevel() && qualifier.isPatch() && 
  ------------------
  |  Branch (5277:9): [True: 72, False: 10.3k]
  |  Branch (5277:43): [True: 0, False: 72]
  ------------------
 5278|      0|        (language == EShLangGeometry) && qualifier.storage != EvqVaryingIn &&
  ------------------
  |  Branch (5278:9): [True: 0, False: 0]
  |  Branch (5278:42): [True: 0, False: 0]
  ------------------
 5279|      0|        extensionTurnedOn(E_GL_NV_gpu_shader5))
  ------------------
  |  Branch (5279:9): [True: 0, False: 0]
  ------------------
 5280|      0|            error(loc, "only 'patch in' is supported in this stage:", "patch", "geometry");
 5281|       |
 5282|  10.3k|    if (qualifier.isTaskPayload() && publicType.basicType == EbtBlock)
  ------------------
  |  Branch (5282:9): [True: 0, False: 10.3k]
  |  Branch (5282:38): [True: 0, False: 0]
  ------------------
 5283|      0|        error(loc, "taskPayloadSharedEXT variables should not be declared as interface blocks", "taskPayloadSharedEXT", "");
 5284|       |
 5285|  10.3k|    if (qualifier.isTaskMemory() && publicType.basicType != EbtBlock)
  ------------------
  |  Branch (5285:9): [True: 0, False: 10.3k]
  |  Branch (5285:37): [True: 0, False: 0]
  ------------------
 5286|      0|        error(loc, "taskNV variables can be declared only as blocks", "taskNV", "");
 5287|       |
 5288|  10.3k|    if (qualifier.storage == EvqVaryingIn) {
  ------------------
  |  Branch (5288:9): [True: 9.68k, False: 706]
  ------------------
 5289|  9.68k|        switch (language) {
 5290|  2.61k|        case EShLangVertex:
  ------------------
  |  Branch (5290:9): [True: 2.61k, False: 7.06k]
  ------------------
 5291|  2.61k|            if (publicType.basicType == EbtStruct) {
  ------------------
  |  Branch (5291:17): [True: 0, False: 2.61k]
  ------------------
 5292|      0|                error(loc, "cannot be a structure", GetStorageQualifierString(qualifier.storage), "");
 5293|      0|                return;
 5294|      0|            }
 5295|  2.61k|            if (publicType.arraySizes) {
  ------------------
  |  Branch (5295:17): [True: 0, False: 2.61k]
  ------------------
 5296|      0|                requireProfile(loc, ~EEsProfile, "vertex input arrays");
 5297|      0|                profileRequires(loc, ENoProfile, 150, nullptr, "vertex input arrays");
 5298|      0|            }
 5299|  2.61k|            if (publicType.basicType == EbtDouble) {
  ------------------
  |  Branch (5299:17): [True: 0, False: 2.61k]
  ------------------
 5300|      0|            	const char* const float64_attrib[] = {E_GL_NV_gpu_shader5, E_GL_ARB_vertex_attrib_64bit};
 5301|      0|                const int Num_float64_attrib = sizeof(float64_attrib) / sizeof(float64_attrib[0]);        
 5302|      0|                profileRequires(loc, ~EEsProfile, 410, Num_float64_attrib, float64_attrib, "vertex-shader `double` type input");
 5303|      0|			}
 5304|  2.61k|            if (qualifier.isAuxiliary() || qualifier.isInterpolation() || qualifier.isMemory() || qualifier.invariant)
  ------------------
  |  Branch (5304:17): [True: 0, False: 2.61k]
  |  Branch (5304:44): [True: 0, False: 2.61k]
  |  Branch (5304:75): [True: 0, False: 2.61k]
  |  Branch (5304:99): [True: 0, False: 2.61k]
  ------------------
 5305|      0|                error(loc, "vertex input cannot be further qualified", "", "");
 5306|  2.61k|            break;
 5307|  2.96k|        case EShLangFragment:
  ------------------
  |  Branch (5307:9): [True: 2.96k, False: 6.71k]
  ------------------
 5308|  2.96k|            if (publicType.userDef) {
  ------------------
  |  Branch (5308:17): [True: 0, False: 2.96k]
  ------------------
 5309|      0|                profileRequires(loc, EEsProfile, 300, nullptr, "fragment-shader struct input");
 5310|      0|                profileRequires(loc, ~EEsProfile, 150, nullptr, "fragment-shader struct input");
 5311|      0|                if (publicType.userDef->containsStructure())
  ------------------
  |  Branch (5311:21): [True: 0, False: 0]
  ------------------
 5312|      0|                    requireProfile(loc, ~EEsProfile, "fragment-shader struct input containing structure");
 5313|      0|                if (publicType.userDef->containsArray())
  ------------------
  |  Branch (5313:21): [True: 0, False: 0]
  ------------------
 5314|      0|                    requireProfile(loc, ~EEsProfile, "fragment-shader struct input containing an array");
 5315|      0|            }
 5316|  2.96k|            break;
 5317|    387|       case EShLangCompute:
  ------------------
  |  Branch (5317:8): [True: 387, False: 9.29k]
  ------------------
 5318|    387|            if (! symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (5318:17): [True: 0, False: 387]
  ------------------
 5319|      0|                error(loc, "global storage input qualifier cannot be used in a compute shader", "in", "");
 5320|    387|            break;
 5321|    495|       case EShLangTessControl:
  ------------------
  |  Branch (5321:8): [True: 495, False: 9.18k]
  ------------------
 5322|    495|            if (qualifier.patch)
  ------------------
  |  Branch (5322:17): [True: 0, False: 495]
  ------------------
 5323|      0|                error(loc, "can only use on output in tessellation-control shader", "patch", "");
 5324|    495|            break;
 5325|  3.21k|        default:
  ------------------
  |  Branch (5325:9): [True: 3.21k, False: 6.46k]
  ------------------
 5326|  3.21k|            break;
 5327|  9.68k|        }
 5328|  9.68k|    } else {
 5329|       |        // qualifier.storage == EvqVaryingOut
 5330|    706|        switch (language) {
 5331|    205|        case EShLangVertex:
  ------------------
  |  Branch (5331:9): [True: 205, False: 501]
  ------------------
 5332|    205|            if (publicType.userDef) {
  ------------------
  |  Branch (5332:17): [True: 0, False: 205]
  ------------------
 5333|      0|                profileRequires(loc, EEsProfile, 300, nullptr, "vertex-shader struct output");
 5334|      0|                profileRequires(loc, ~EEsProfile, 150, nullptr, "vertex-shader struct output");
 5335|      0|                if (publicType.userDef->containsStructure())
  ------------------
  |  Branch (5335:21): [True: 0, False: 0]
  ------------------
 5336|      0|                    requireProfile(loc, ~EEsProfile, "vertex-shader struct output containing structure");
 5337|      0|                if (publicType.userDef->containsArray())
  ------------------
  |  Branch (5337:21): [True: 0, False: 0]
  ------------------
 5338|      0|                    requireProfile(loc, ~EEsProfile, "vertex-shader struct output containing an array");
 5339|      0|            }
 5340|       |
 5341|    205|            break;
 5342|    248|        case EShLangFragment:
  ------------------
  |  Branch (5342:9): [True: 248, False: 458]
  ------------------
 5343|    248|            profileRequires(loc, EEsProfile, 300, nullptr, "fragment shader output");
 5344|    248|            if (publicType.basicType == EbtStruct) {
  ------------------
  |  Branch (5344:17): [True: 0, False: 248]
  ------------------
 5345|      0|                error(loc, "cannot be a structure", GetStorageQualifierString(qualifier.storage), "");
 5346|      0|                return;
 5347|      0|            }
 5348|    248|            if (publicType.matrixRows > 0) {
  ------------------
  |  Branch (5348:17): [True: 0, False: 248]
  ------------------
 5349|      0|                error(loc, "cannot be a matrix", GetStorageQualifierString(qualifier.storage), "");
 5350|      0|                return;
 5351|      0|            }
 5352|    248|            if (qualifier.isAuxiliary())
  ------------------
  |  Branch (5352:17): [True: 0, False: 248]
  ------------------
 5353|      0|                error(loc, "can't use auxiliary qualifier on a fragment output", "centroid/sample/patch", "");
 5354|    248|            if (qualifier.isInterpolation())
  ------------------
  |  Branch (5354:17): [True: 0, False: 248]
  ------------------
 5355|      0|                error(loc, "can't use interpolation qualifier on a fragment output", "flat/smooth/noperspective", "");
 5356|    248|            if (publicType.basicType == EbtDouble || publicType.basicType == EbtInt64 || publicType.basicType == EbtUint64)
  ------------------
  |  Branch (5356:17): [True: 0, False: 248]
  |  Branch (5356:54): [True: 0, False: 248]
  |  Branch (5356:90): [True: 0, False: 248]
  ------------------
 5357|      0|                error(loc, "cannot contain a double, int64, or uint64", GetStorageQualifierString(qualifier.storage), "");
 5358|    248|        break;
 5359|       |
 5360|      0|        case EShLangCompute:
  ------------------
  |  Branch (5360:9): [True: 0, False: 706]
  ------------------
 5361|      0|            error(loc, "global storage output qualifier cannot be used in a compute shader", "out", "");
 5362|      0|            break;
 5363|     86|        case EShLangTessEvaluation:
  ------------------
  |  Branch (5363:9): [True: 86, False: 620]
  ------------------
 5364|     86|            if (qualifier.patch)
  ------------------
  |  Branch (5364:17): [True: 0, False: 86]
  ------------------
 5365|      0|                error(loc, "can only use on input in tessellation-evaluation shader", "patch", "");
 5366|     86|            break;
 5367|    167|        default:
  ------------------
  |  Branch (5367:9): [True: 167, False: 539]
  ------------------
 5368|    167|            break;
 5369|    706|        }
 5370|    706|    }
 5371|  10.3k|}
_ZN7glslang13TParseContext15mergeQualifiersERKNS_10TSourceLocERNS_10TQualifierERKS4_b:
 5383|   208k|{
 5384|       |    // Multiple auxiliary qualifiers (mostly done later by 'individual qualifiers')
 5385|   208k|    if (src.isAuxiliary() && dst.isAuxiliary())
  ------------------
  |  Branch (5385:9): [True: 68, False: 208k]
  |  Branch (5385:30): [True: 0, False: 68]
  ------------------
 5386|      0|        error(loc, "can only have one auxiliary qualifier (centroid, patch, and sample)", "", "");
 5387|       |
 5388|       |    // Multiple interpolation qualifiers (mostly done later by 'individual qualifiers')
 5389|   208k|    if (src.isInterpolation() && dst.isInterpolation())
  ------------------
  |  Branch (5389:9): [True: 2.56k, False: 206k]
  |  Branch (5389:34): [True: 0, False: 2.56k]
  ------------------
 5390|      0|        error(loc, "can only have one interpolation qualifier (flat, smooth, noperspective, __explicitInterpAMD)", "", "");
 5391|       |
 5392|       |    // Ordering
 5393|   208k|    if (! force && ((!isEsProfile() && version < 420) ||
  ------------------
  |  Branch (5393:9): [True: 147k, False: 61.5k]
  |  Branch (5393:22): [True: 147k, False: 0]
  |  Branch (5393:40): [True: 116k, False: 30.6k]
  ------------------
 5394|  30.6k|                    (isEsProfile() && version < 310))
  ------------------
  |  Branch (5394:22): [True: 0, False: 30.6k]
  |  Branch (5394:39): [True: 0, False: 0]
  ------------------
 5395|   116k|                && ! extensionTurnedOn(E_GL_ARB_shading_language_420pack)) {
  ------------------
  |  Branch (5395:20): [True: 116k, False: 0]
  ------------------
 5396|       |        // non-function parameters
 5397|   116k|        if (src.isNoContraction() && (dst.invariant || dst.isInterpolation() || dst.isAuxiliary() || dst.storage != EvqTemporary || dst.precision != EpqNone))
  ------------------
  |  Branch (5397:13): [True: 0, False: 116k]
  |  Branch (5397:39): [True: 0, False: 0]
  |  Branch (5397:56): [True: 0, False: 0]
  |  Branch (5397:81): [True: 0, False: 0]
  |  Branch (5397:102): [True: 0, False: 0]
  |  Branch (5397:133): [True: 0, False: 0]
  ------------------
 5398|      0|            error(loc, "precise qualifier must appear first", "", "");
 5399|   116k|        if (src.invariant && (dst.isInterpolation() || dst.isAuxiliary() || dst.storage != EvqTemporary || dst.precision != EpqNone))
  ------------------
  |  Branch (5399:13): [True: 0, False: 116k]
  |  Branch (5399:31): [True: 0, False: 0]
  |  Branch (5399:56): [True: 0, False: 0]
  |  Branch (5399:77): [True: 0, False: 0]
  |  Branch (5399:108): [True: 0, False: 0]
  ------------------
 5400|      0|            error(loc, "invariant qualifier must appear before interpolation, storage, and precision qualifiers ", "", "");
 5401|   116k|        else if (src.isInterpolation() && (dst.isAuxiliary() || dst.storage != EvqTemporary || dst.precision != EpqNone))
  ------------------
  |  Branch (5401:18): [True: 0, False: 116k]
  |  Branch (5401:44): [True: 0, False: 0]
  |  Branch (5401:65): [True: 0, False: 0]
  |  Branch (5401:96): [True: 0, False: 0]
  ------------------
 5402|      0|            error(loc, "interpolation qualifiers must appear before storage and precision qualifiers", "", "");
 5403|   116k|        else if (src.isAuxiliary() && (dst.storage != EvqTemporary || dst.precision != EpqNone))
  ------------------
  |  Branch (5403:18): [True: 0, False: 116k]
  |  Branch (5403:40): [True: 0, False: 0]
  |  Branch (5403:71): [True: 0, False: 0]
  ------------------
 5404|      0|            error(loc, "Auxiliary qualifiers (centroid, patch, and sample) must appear before storage and precision qualifiers", "", "");
 5405|   116k|        else if (src.storage != EvqTemporary && (dst.precision != EpqNone))
  ------------------
  |  Branch (5405:18): [True: 6.80k, False: 109k]
  |  Branch (5405:49): [True: 0, False: 6.80k]
  ------------------
 5406|      0|            error(loc, "precision qualifier must appear as last qualifier", "", "");
 5407|       |
 5408|       |        // function parameters
 5409|   116k|        if (src.isNoContraction() && (dst.storage == EvqConst || dst.storage == EvqIn || dst.storage == EvqOut))
  ------------------
  |  Branch (5409:13): [True: 0, False: 116k]
  |  Branch (5409:39): [True: 0, False: 0]
  |  Branch (5409:66): [True: 0, False: 0]
  |  Branch (5409:90): [True: 0, False: 0]
  ------------------
 5410|      0|            error(loc, "precise qualifier must appear first", "", "");
 5411|   116k|        if (src.storage == EvqConst && (dst.storage == EvqIn || dst.storage == EvqOut))
  ------------------
  |  Branch (5411:13): [True: 0, False: 116k]
  |  Branch (5411:41): [True: 0, False: 0]
  |  Branch (5411:65): [True: 0, False: 0]
  ------------------
 5412|      0|            error(loc, "in/out must appear before const", "", "");
 5413|   116k|    }
 5414|       |
 5415|       |    // Storage qualification
 5416|   208k|    if (dst.storage == EvqTemporary || dst.storage == EvqGlobal)
  ------------------
  |  Branch (5416:9): [True: 137k, False: 71.0k]
  |  Branch (5416:40): [True: 61.5k, False: 9.53k]
  ------------------
 5417|   199k|        dst.storage = src.storage;
 5418|  9.53k|    else if ((dst.storage == EvqIn  && src.storage == EvqOut) ||
  ------------------
  |  Branch (5418:15): [True: 8.25k, False: 1.28k]
  |  Branch (5418:40): [True: 0, False: 8.25k]
  ------------------
 5419|  9.53k|             (dst.storage == EvqOut && src.storage == EvqIn))
  ------------------
  |  Branch (5419:15): [True: 306, False: 9.23k]
  |  Branch (5419:40): [True: 0, False: 306]
  ------------------
 5420|      0|        dst.storage = EvqInOut;
 5421|  9.53k|    else if ((dst.storage == EvqIn    && src.storage == EvqConst) ||
  ------------------
  |  Branch (5421:15): [True: 8.25k, False: 1.28k]
  |  Branch (5421:42): [True: 0, False: 8.25k]
  ------------------
 5422|  9.53k|             (dst.storage == EvqConst && src.storage == EvqIn))
  ------------------
  |  Branch (5422:15): [True: 918, False: 8.61k]
  |  Branch (5422:42): [True: 0, False: 918]
  ------------------
 5423|      0|        dst.storage = EvqConstReadOnly;
 5424|  9.53k|    else if (src.storage != EvqTemporary &&
  ------------------
  |  Branch (5424:14): [True: 8.57k, False: 961]
  ------------------
 5425|  8.57k|             src.storage != EvqGlobal)
  ------------------
  |  Branch (5425:14): [True: 0, False: 8.57k]
  ------------------
 5426|      0|        error(loc, "too many storage qualifiers", GetStorageQualifierString(src.storage), "");
 5427|       |
 5428|       |    // Precision qualifiers
 5429|   208k|    if (! force && src.precision != EpqNone && dst.precision != EpqNone)
  ------------------
  |  Branch (5429:9): [True: 147k, False: 61.5k]
  |  Branch (5429:20): [True: 8.57k, False: 138k]
  |  Branch (5429:48): [True: 0, False: 8.57k]
  ------------------
 5430|      0|        error(loc, "only one precision qualifier allowed", GetPrecisionQualifierString(src.precision), "");
 5431|   208k|    if (dst.precision == EpqNone || (force && src.precision != EpqNone))
  ------------------
  |  Branch (5431:9): [True: 208k, False: 903]
  |  Branch (5431:38): [True: 363, False: 540]
  |  Branch (5431:47): [True: 0, False: 363]
  ------------------
 5432|   208k|        dst.precision = src.precision;
 5433|       |
 5434|   208k|    if (!force && ((src.coherent && (dst.devicecoherent || dst.queuefamilycoherent || dst.workgroupcoherent || dst.subgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5434:9): [True: 147k, False: 61.5k]
  |  Branch (5434:21): [True: 61.6k, False: 85.8k]
  |  Branch (5434:38): [True: 0, False: 61.6k]
  |  Branch (5434:60): [True: 0, False: 61.6k]
  |  Branch (5434:87): [True: 0, False: 61.6k]
  |  Branch (5434:112): [True: 0, False: 61.6k]
  |  Branch (5434:136): [True: 0, False: 61.6k]
  ------------------
 5435|   147k|                   (src.devicecoherent && (dst.coherent || dst.queuefamilycoherent || dst.workgroupcoherent || dst.subgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5435:21): [True: 0, False: 147k]
  |  Branch (5435:44): [True: 0, False: 0]
  |  Branch (5435:60): [True: 0, False: 0]
  |  Branch (5435:87): [True: 0, False: 0]
  |  Branch (5435:112): [True: 0, False: 0]
  |  Branch (5435:136): [True: 0, False: 0]
  ------------------
 5436|   147k|                   (src.queuefamilycoherent && (dst.coherent || dst.devicecoherent || dst.workgroupcoherent || dst.subgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5436:21): [True: 0, False: 147k]
  |  Branch (5436:49): [True: 0, False: 0]
  |  Branch (5436:65): [True: 0, False: 0]
  |  Branch (5436:87): [True: 0, False: 0]
  |  Branch (5436:112): [True: 0, False: 0]
  |  Branch (5436:136): [True: 0, False: 0]
  ------------------
 5437|   147k|                   (src.workgroupcoherent && (dst.coherent || dst.devicecoherent || dst.queuefamilycoherent || dst.subgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5437:21): [True: 0, False: 147k]
  |  Branch (5437:47): [True: 0, False: 0]
  |  Branch (5437:63): [True: 0, False: 0]
  |  Branch (5437:85): [True: 0, False: 0]
  |  Branch (5437:112): [True: 0, False: 0]
  |  Branch (5437:136): [True: 0, False: 0]
  ------------------
 5438|   147k|                   (src.subgroupcoherent  && (dst.coherent || dst.devicecoherent || dst.queuefamilycoherent || dst.workgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5438:21): [True: 0, False: 147k]
  |  Branch (5438:47): [True: 0, False: 0]
  |  Branch (5438:63): [True: 0, False: 0]
  |  Branch (5438:85): [True: 0, False: 0]
  |  Branch (5438:112): [True: 0, False: 0]
  |  Branch (5438:137): [True: 0, False: 0]
  ------------------
 5439|   147k|                   (src.shadercallcoherent && (dst.coherent || dst.devicecoherent || dst.queuefamilycoherent || dst.workgroupcoherent || dst.subgroupcoherent)))) {
  ------------------
  |  Branch (5439:21): [True: 0, False: 147k]
  |  Branch (5439:48): [True: 0, False: 0]
  |  Branch (5439:64): [True: 0, False: 0]
  |  Branch (5439:86): [True: 0, False: 0]
  |  Branch (5439:113): [True: 0, False: 0]
  |  Branch (5439:138): [True: 0, False: 0]
  ------------------
 5440|      0|        error(loc, "only one coherent/devicecoherent/queuefamilycoherent/workgroupcoherent/subgroupcoherent/shadercallcoherent qualifier allowed",
 5441|      0|            GetPrecisionQualifierString(src.precision), "");
 5442|      0|    }
 5443|       |
 5444|       |    // Layout qualifiers
 5445|   208k|    mergeObjectLayoutQualifiers(dst, src, false);
 5446|       |
 5447|       |    // individual qualifiers
 5448|   208k|    bool repeated = false;
 5449|   208k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
 5450|   208k|    MERGE_SINGLETON(invariant);
  ------------------
  |  | 5449|   208k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5449:48): [True: 0, False: 208k]
  |  |  |  Branch (5449:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5451|   208k|    MERGE_SINGLETON(centroid);
  ------------------
  |  | 5449|   208k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5449:48): [True: 0, False: 208k]
  |  |  |  Branch (5449:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5452|   208k|    MERGE_SINGLETON(smooth);
  ------------------
  |  | 5449|   208k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5449:48): [True: 0, False: 208k]
  |  |  |  Branch (5449:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5453|   208k|    MERGE_SINGLETON(flat);
  ------------------
  |  | 5449|   208k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5449:48): [True: 4.81k, False: 204k]
  |  |  |  Branch (5449:61): [True: 0, False: 4.81k]
  |  |  ------------------
  ------------------
 5454|   208k|    MERGE_SINGLETON(specConstant);
  ------------------
  |  | 5449|   208k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5449:48): [True: 0, False: 208k]
  |  |  |  Branch (5449:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5455|   208k|    MERGE_SINGLETON(noContraction);
  ------------------
  |  | 5449|   208k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5449:48): [True: 0, False: 208k]
  |  |  |  Branch (5449:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5456|   208k|    MERGE_SINGLETON(nopersp);
  ------------------
  |  | 5449|   208k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5449:48): [True: 0, False: 208k]
  |  |  |  Branch (5449:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5457|   208k|    MERGE_SINGLETON(explicitInterp);
  ------------------
  |  | 5449|   208k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5449:48): [True: 0, False: 208k]
  |  |  |  Branch (5449:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5458|   208k|    MERGE_SINGLETON(perPrimitiveNV);
  ------------------
  |  | 5449|   208k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5449:48): [True: 10, False: 208k]
  |  |  |  Branch (5449:61): [True: 0, False: 10]
  |  |  ------------------
  ------------------
 5459|   208k|    MERGE_SINGLETON(perViewNV);
  ------------------
  |  | 5449|   208k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5449:48): [True: 0, False: 208k]
  |  |  |  Branch (5449:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5460|   208k|    MERGE_SINGLETON(perTaskNV);
  ------------------
  |  | 5449|   208k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5449:48): [True: 0, False: 208k]
  |  |  |  Branch (5449:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5461|   208k|    MERGE_SINGLETON(patch);
  ------------------
  |  | 5449|   208k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5449:48): [True: 68, False: 208k]
  |  |  |  Branch (5449:61): [True: 0, False: 68]
  |  |  ------------------
  ------------------
 5462|   208k|    MERGE_SINGLETON(sample);
  ------------------
  |  | 5449|   208k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5449:48): [True: 0, False: 208k]
  |  |  |  Branch (5449:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5463|   208k|    MERGE_SINGLETON(coherent);
  ------------------
  |  | 5449|   208k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5449:48): [True: 62.9k, False: 146k]
  |  |  |  Branch (5449:61): [True: 0, False: 62.9k]
  |  |  ------------------
  ------------------
 5464|   208k|    MERGE_SINGLETON(devicecoherent);
  ------------------
  |  | 5449|   208k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5449:48): [True: 0, False: 208k]
  |  |  |  Branch (5449:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5465|   208k|    MERGE_SINGLETON(queuefamilycoherent);
  ------------------
  |  | 5449|   208k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5449:48): [True: 0, False: 208k]
  |  |  |  Branch (5449:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5466|   208k|    MERGE_SINGLETON(workgroupcoherent);
  ------------------
  |  | 5449|   208k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5449:48): [True: 0, False: 208k]
  |  |  |  Branch (5449:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5467|   208k|    MERGE_SINGLETON(subgroupcoherent);
  ------------------
  |  | 5449|   208k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5449:48): [True: 0, False: 208k]
  |  |  |  Branch (5449:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5468|   208k|    MERGE_SINGLETON(shadercallcoherent);
  ------------------
  |  | 5449|   208k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5449:48): [True: 0, False: 208k]
  |  |  |  Branch (5449:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5469|   208k|    MERGE_SINGLETON(nonprivate);
  ------------------
  |  | 5449|   208k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5449:48): [True: 0, False: 208k]
  |  |  |  Branch (5449:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5470|   208k|    MERGE_SINGLETON(volatil);
  ------------------
  |  | 5449|   208k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5449:48): [True: 123k, False: 85.0k]
  |  |  |  Branch (5449:61): [True: 0, False: 123k]
  |  |  ------------------
  ------------------
 5471|   208k|    MERGE_SINGLETON(nontemporal);
  ------------------
  |  | 5449|   208k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5449:48): [True: 726, False: 208k]
  |  |  |  Branch (5449:61): [True: 0, False: 726]
  |  |  ------------------
  ------------------
 5472|   208k|    MERGE_SINGLETON(restrict);
  ------------------
  |  | 5449|   208k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5449:48): [True: 0, False: 208k]
  |  |  |  Branch (5449:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5473|   208k|    MERGE_SINGLETON(readonly);
  ------------------
  |  | 5449|   208k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5449:48): [True: 15.6k, False: 193k]
  |  |  |  Branch (5449:61): [True: 0, False: 15.6k]
  |  |  ------------------
  ------------------
 5474|   208k|    MERGE_SINGLETON(writeonly);
  ------------------
  |  | 5449|   208k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5449:48): [True: 14.1k, False: 194k]
  |  |  |  Branch (5449:61): [True: 0, False: 14.1k]
  |  |  ------------------
  ------------------
 5475|   208k|    MERGE_SINGLETON(nonUniform);
  ------------------
  |  | 5449|   208k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5449:48): [True: 0, False: 208k]
  |  |  |  Branch (5449:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5476|       |
 5477|       |    // SPIR-V storage class qualifier (GL_EXT_spirv_intrinsics)
 5478|   208k|    dst.spirvStorageClass = src.spirvStorageClass;
 5479|       |
 5480|       |    // SPIR-V decorate qualifiers (GL_EXT_spirv_intrinsics)
 5481|   208k|    if (src.hasSpirvDecorate()) {
  ------------------
  |  Branch (5481:9): [True: 0, False: 208k]
  ------------------
 5482|      0|        if (dst.hasSpirvDecorate()) {
  ------------------
  |  Branch (5482:13): [True: 0, False: 0]
  ------------------
 5483|      0|            const TSpirvDecorate& srcSpirvDecorate = src.getSpirvDecorate();
 5484|      0|            TSpirvDecorate& dstSpirvDecorate = dst.getSpirvDecorate();
 5485|      0|            for (auto& decorate : srcSpirvDecorate.decorates) {
  ------------------
  |  Branch (5485:33): [True: 0, False: 0]
  ------------------
 5486|      0|                if (dstSpirvDecorate.decorates.find(decorate.first) != dstSpirvDecorate.decorates.end())
  ------------------
  |  Branch (5486:21): [True: 0, False: 0]
  ------------------
 5487|      0|                    error(loc, "too many SPIR-V decorate qualifiers", "spirv_decorate", "(decoration=%u)", decorate.first);
 5488|      0|                else
 5489|      0|                    dstSpirvDecorate.decorates.insert(decorate);
 5490|      0|            }
 5491|       |
 5492|      0|            for (auto& decorateId : srcSpirvDecorate.decorateIds) {
  ------------------
  |  Branch (5492:35): [True: 0, False: 0]
  ------------------
 5493|      0|                if (dstSpirvDecorate.decorateIds.find(decorateId.first) != dstSpirvDecorate.decorateIds.end())
  ------------------
  |  Branch (5493:21): [True: 0, False: 0]
  ------------------
 5494|      0|                    error(loc, "too many SPIR-V decorate qualifiers", "spirv_decorate_id", "(decoration=%u)", decorateId.first);
 5495|      0|                else
 5496|      0|                    dstSpirvDecorate.decorateIds.insert(decorateId);
 5497|      0|            }
 5498|       |
 5499|      0|            for (auto& decorateString : srcSpirvDecorate.decorateStrings) {
  ------------------
  |  Branch (5499:39): [True: 0, False: 0]
  ------------------
 5500|      0|                if (dstSpirvDecorate.decorates.find(decorateString.first) != dstSpirvDecorate.decorates.end())
  ------------------
  |  Branch (5500:21): [True: 0, False: 0]
  ------------------
 5501|      0|                    error(loc, "too many SPIR-V decorate qualifiers", "spirv_decorate_string", "(decoration=%u)", decorateString.first);
 5502|      0|                else
 5503|      0|                    dstSpirvDecorate.decorateStrings.insert(decorateString);
 5504|      0|            }
 5505|      0|        } else {
 5506|      0|            dst.spirvDecorate = src.spirvDecorate;
 5507|      0|        }
 5508|      0|    }
 5509|       |
 5510|   208k|    if (repeated)
  ------------------
  |  Branch (5510:9): [True: 0, False: 208k]
  ------------------
 5511|      0|        error(loc, "replicated qualifiers", "", "");
 5512|   208k|}
_ZN7glslang13TParseContext23computeSamplerTypeIndexERNS_8TSamplerE:
 5550|   170k|{
 5551|   170k|    int arrayIndex    = sampler.arrayed         ? 1 : 0;
  ------------------
  |  Branch (5551:25): [True: 51.7k, False: 118k]
  ------------------
 5552|   170k|    int shadowIndex   = sampler.shadow          ? 1 : 0;
  ------------------
  |  Branch (5552:25): [True: 15.3k, False: 155k]
  ------------------
 5553|   170k|    int externalIndex = sampler.isExternal()    ? 1 : 0;
  ------------------
  |  Branch (5553:25): [True: 0, False: 170k]
  ------------------
 5554|   170k|    int imageIndex    = sampler.isImageClass()  ? 1 : 0;
  ------------------
  |  Branch (5554:25): [True: 60.7k, False: 109k]
  ------------------
 5555|   170k|    int msIndex       = sampler.isMultiSample() ? 1 : 0;
  ------------------
  |  Branch (5555:25): [True: 14.2k, False: 156k]
  ------------------
 5556|       |
 5557|   170k|    int flattened = EsdNumDims * (EbtNumTypes * (2 * (2 * (2 * (2 * arrayIndex + msIndex) + imageIndex) + shadowIndex) +
 5558|   170k|                                                 externalIndex) + sampler.type) + sampler.dim;
 5559|   170k|    assert(flattened < maxSamplerIndex);
 5560|       |
 5561|   170k|    return flattened;
 5562|   170k|}
_ZN7glslang13TParseContext19getDefaultPrecisionERNS_11TPublicTypeE:
 5565|  1.91M|{
 5566|  1.91M|    if (publicType.basicType == EbtSampler)
  ------------------
  |  Branch (5566:9): [True: 170k, False: 1.74M]
  ------------------
 5567|   170k|        return defaultSamplerPrecision[computeSamplerTypeIndex(publicType.sampler)];
 5568|  1.74M|    else
 5569|  1.74M|        return defaultPrecision[publicType.basicType];
 5570|  1.91M|}
_ZN7glslang13TParseContext23precisionQualifierCheckERKNS_10TSourceLocENS_10TBasicTypeERNS_10TQualifierEb:
 5573|  1.91M|{
 5574|       |    // Built-in symbols are allowed some ambiguous precisions, to be pinned down
 5575|       |    // later by context.
 5576|  1.91M|    if (! obeyPrecisionQualifiers() || parsingBuiltins)
  ------------------
  |  Branch (5576:9): [True: 0, False: 1.91M]
  |  Branch (5576:40): [True: 1.91M, False: 855]
  ------------------
 5577|  1.91M|        return;
 5578|       |
 5579|    855|    if (baseType == EbtAtomicUint && qualifier.precision != EpqNone && qualifier.precision != EpqHigh)
  ------------------
  |  Branch (5579:9): [True: 0, False: 855]
  |  Branch (5579:38): [True: 0, False: 0]
  |  Branch (5579:72): [True: 0, False: 0]
  ------------------
 5580|      0|        error(loc, "atomic counters can only be highp", "atomic_uint", "");
 5581|       |
 5582|    855|    if (hasTypeParameter)
  ------------------
  |  Branch (5582:9): [True: 0, False: 855]
  ------------------
 5583|      0|        return;
 5584|       |
 5585|    855|    if (baseType == EbtFloat || baseType == EbtUint || baseType == EbtInt || baseType == EbtSampler || baseType == EbtAtomicUint) {
  ------------------
  |  Branch (5585:9): [True: 516, False: 339]
  |  Branch (5585:33): [True: 0, False: 339]
  |  Branch (5585:56): [True: 66, False: 273]
  |  Branch (5585:78): [True: 264, False: 9]
  |  Branch (5585:104): [True: 0, False: 9]
  ------------------
 5586|    846|        if (qualifier.precision == EpqNone) {
  ------------------
  |  Branch (5586:13): [True: 0, False: 846]
  ------------------
 5587|      0|            if (relaxedErrors())
  ------------------
  |  Branch (5587:17): [True: 0, False: 0]
  ------------------
 5588|      0|                warn(loc, "type requires declaration of default precision qualifier", TType::getBasicString(baseType), "substituting 'mediump'");
 5589|      0|            else
 5590|      0|                error(loc, "type requires declaration of default precision qualifier", TType::getBasicString(baseType), "");
 5591|      0|            qualifier.precision = EpqMedium;
 5592|      0|            defaultPrecision[baseType] = EpqMedium;
 5593|      0|        }
 5594|    846|    } else if (qualifier.precision != EpqNone)
  ------------------
  |  Branch (5594:16): [True: 0, False: 9]
  ------------------
 5595|      0|        error(loc, "type cannot have precision qualifier", TType::getBasicString(baseType), "");
 5596|    855|}
_ZN7glslang13TParseContext18parameterTypeCheckERKNS_10TSourceLocENS_17TStorageQualifierERKNS_5TTypeE:
 5599|  1.32M|{
 5600|  1.32M|    if ((qualifier == EvqOut || qualifier == EvqInOut) && type.isOpaque() && !intermediate.getBindlessMode())
  ------------------
  |  Branch (5600:10): [True: 13.1k, False: 1.31M]
  |  Branch (5600:33): [True: 716, False: 1.31M]
  |  Branch (5600:59): [True: 0, False: 13.8k]
  |  Branch (5600:78): [True: 0, False: 0]
  ------------------
 5601|      0|        error(loc, "samplers and atomic_uints cannot be output parameters", type.getBasicTypeString().c_str(), "");
 5602|  1.32M|    if (!parsingBuiltins && type.contains16BitFloat())
  ------------------
  |  Branch (5602:9): [True: 6, False: 1.32M]
  |  Branch (5602:29): [True: 0, False: 6]
  ------------------
 5603|      0|        requireFloat16Arithmetic(loc, type.getBasicTypeString().c_str(), "float16 types can only be in uniform block or buffer storage");
 5604|  1.32M|    if (!parsingBuiltins && type.contains16BitInt())
  ------------------
  |  Branch (5604:9): [True: 6, False: 1.32M]
  |  Branch (5604:29): [True: 0, False: 6]
  ------------------
 5605|      0|        requireInt16Arithmetic(loc, type.getBasicTypeString().c_str(), "(u)int16 types can only be in uniform block or buffer storage");
 5606|  1.32M|    if (!parsingBuiltins && type.contains8BitInt())
  ------------------
  |  Branch (5606:9): [True: 6, False: 1.32M]
  |  Branch (5606:29): [True: 0, False: 6]
  ------------------
 5607|      0|        requireInt8Arithmetic(loc, type.getBasicTypeString().c_str(), "(u)int8 types can only be in uniform block or buffer storage");
 5608|  1.32M|}
_ZN7glslang13TParseContext26containsFieldWithBasicTypeERKNS_5TTypeENS_10TBasicTypeE:
 5611|  1.62k|{
 5612|  1.62k|    if (type.getBasicType() == basicType)
  ------------------
  |  Branch (5612:9): [True: 0, False: 1.62k]
  ------------------
 5613|      0|        return true;
 5614|       |
 5615|  1.62k|    if (type.getBasicType() == EbtStruct) {
  ------------------
  |  Branch (5615:9): [True: 0, False: 1.62k]
  ------------------
 5616|      0|        const TTypeList& structure = *type.getStruct();
 5617|      0|        for (unsigned int i = 0; i < structure.size(); ++i) {
  ------------------
  |  Branch (5617:34): [True: 0, False: 0]
  ------------------
 5618|      0|            if (containsFieldWithBasicType(*structure[i].type, basicType))
  ------------------
  |  Branch (5618:17): [True: 0, False: 0]
  ------------------
 5619|      0|                return true;
 5620|      0|        }
 5621|      0|    }
 5622|       |
 5623|  1.62k|    return false;
 5624|  1.62k|}
_ZN7glslang13TParseContext14arraySizeCheckERKNS_10TSourceLocEPNS_12TIntermTypedERNS_10TArraySizeEPKcb:
 5631|  3.92k|{
 5632|  3.92k|    bool isConst = false;
 5633|  3.92k|    sizePair.node = nullptr;
 5634|       |
 5635|  3.92k|    int size = 1;
 5636|       |
 5637|  3.92k|    TIntermConstantUnion* constant = expr->getAsConstantUnion();
 5638|  3.92k|    if (constant) {
  ------------------
  |  Branch (5638:9): [True: 3.92k, False: 0]
  ------------------
 5639|       |        // handle true (non-specialization) constant
 5640|  3.92k|        size = constant->getConstArray()[0].getIConst();
 5641|  3.92k|        isConst = true;
 5642|  3.92k|    } else {
 5643|       |        // see if it's a specialization constant instead
 5644|      0|        if (expr->getQualifier().isSpecConstant()) {
  ------------------
  |  Branch (5644:13): [True: 0, False: 0]
  ------------------
 5645|      0|            isConst = true;
 5646|      0|            sizePair.node = expr;
 5647|      0|            TIntermSymbol* symbol = expr->getAsSymbolNode();
 5648|      0|            if (symbol && symbol->getConstArray().size() > 0)
  ------------------
  |  Branch (5648:17): [True: 0, False: 0]
  |  Branch (5648:27): [True: 0, False: 0]
  ------------------
 5649|      0|                size = symbol->getConstArray()[0].getIConst();
 5650|      0|        } else if (expr->getAsUnaryNode() && expr->getAsUnaryNode()->getOp() == glslang::EOpArrayLength &&
  ------------------
  |  Branch (5650:20): [True: 0, False: 0]
  |  Branch (5650:46): [True: 0, False: 0]
  ------------------
 5651|      0|                   expr->getAsUnaryNode()->getOperand()->getType().isCoopMatNV()) {
  ------------------
  |  Branch (5651:20): [True: 0, False: 0]
  ------------------
 5652|      0|            isConst = true;
 5653|      0|            size = 1;
 5654|      0|            sizePair.node = expr->getAsUnaryNode();
 5655|      0|        }
 5656|      0|    }
 5657|       |
 5658|  3.92k|    sizePair.size = size;
 5659|       |
 5660|  3.92k|    if (isTypeParameter) {
  ------------------
  |  Branch (5660:9): [True: 60, False: 3.86k]
  ------------------
 5661|     60|        if (extensionTurnedOn(E_GL_NV_cooperative_matrix2)) {
  ------------------
  |  Branch (5661:13): [True: 0, False: 60]
  ------------------
 5662|      0|            if (! isConst || (expr->getBasicType() != EbtInt && expr->getBasicType() != EbtUint && expr->getBasicType() != EbtBool)) {
  ------------------
  |  Branch (5662:17): [True: 0, False: 0]
  |  Branch (5662:31): [True: 0, False: 0]
  |  Branch (5662:65): [True: 0, False: 0]
  |  Branch (5662:100): [True: 0, False: 0]
  ------------------
 5663|      0|                error(loc, sizeType, "", "must be a constant integer or boolean expression");
 5664|      0|                return;
 5665|      0|            }
 5666|     60|        } else {
 5667|     60|            if (! isConst || (expr->getBasicType() != EbtInt && expr->getBasicType() != EbtUint)) {
  ------------------
  |  Branch (5667:17): [True: 0, False: 60]
  |  Branch (5667:31): [True: 0, False: 60]
  |  Branch (5667:65): [True: 0, False: 0]
  ------------------
 5668|      0|                error(loc, sizeType, "", "must be a constant integer expression");
 5669|      0|                return;
 5670|      0|            }
 5671|     60|        }
 5672|     60|        if (size < 0) {
  ------------------
  |  Branch (5672:13): [True: 0, False: 60]
  ------------------
 5673|      0|            error(loc, sizeType, "", "must be a non-negative integer");
 5674|      0|            return;
 5675|      0|        }
 5676|  3.86k|    } else {
 5677|  3.86k|        if (! isConst || (expr->getBasicType() != EbtInt && expr->getBasicType() != EbtUint)) {
  ------------------
  |  Branch (5677:13): [True: 0, False: 3.86k]
  |  Branch (5677:27): [True: 0, False: 3.86k]
  |  Branch (5677:61): [True: 0, False: 0]
  ------------------
 5678|      0|            error(loc, sizeType, "", "must be a constant integer expression");
 5679|      0|            return;
 5680|      0|        }
 5681|  3.86k|        if (size <= 0) {
  ------------------
  |  Branch (5681:13): [True: 0, False: 3.86k]
  ------------------
 5682|      0|            error(loc, sizeType, "", "must be a positive integer");
 5683|      0|            return;
 5684|      0|        }
 5685|  3.86k|    }
 5686|  3.92k|}
_ZN7glslang13TParseContext19arrayQualifierErrorERKNS_10TSourceLocERKNS_10TQualifierE:
 5694|    624|{
 5695|    624|    if (qualifier.storage == EvqConst) {
  ------------------
  |  Branch (5695:9): [True: 9, False: 615]
  ------------------
 5696|      9|        profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, "const array");
 5697|      9|        profileRequires(loc, EEsProfile, 300, nullptr, "const array");
 5698|      9|    }
 5699|       |
 5700|    624|    if (qualifier.storage == EvqVaryingIn && language == EShLangVertex) {
  ------------------
  |  Branch (5700:9): [True: 214, False: 410]
  |  Branch (5700:46): [True: 0, False: 214]
  ------------------
 5701|      0|        requireProfile(loc, ~EEsProfile, "vertex input arrays");
 5702|      0|        profileRequires(loc, ENoProfile, 150, nullptr, "vertex input arrays");
 5703|      0|    }
 5704|       |
 5705|    624|    return false;
 5706|    624|}
_ZN7glslang13TParseContext10arrayErrorERKNS_10TSourceLocERKNS_5TTypeE:
 5715|    624|{
 5716|    624|    if (type.getQualifier().storage == EvqVaryingOut && language == EShLangVertex) {
  ------------------
  |  Branch (5716:9): [True: 401, False: 223]
  |  Branch (5716:57): [True: 155, False: 246]
  ------------------
 5717|    155|        if (type.isArrayOfArrays())
  ------------------
  |  Branch (5717:13): [True: 0, False: 155]
  ------------------
 5718|      0|            requireProfile(loc, ~EEsProfile, "vertex-shader array-of-array output");
 5719|    155|        else if (type.isStruct())
  ------------------
  |  Branch (5719:18): [True: 0, False: 155]
  ------------------
 5720|      0|            requireProfile(loc, ~EEsProfile, "vertex-shader array-of-struct output");
 5721|    155|    }
 5722|    624|    if (type.getQualifier().storage == EvqVaryingIn && language == EShLangFragment) {
  ------------------
  |  Branch (5722:9): [True: 214, False: 410]
  |  Branch (5722:56): [True: 153, False: 61]
  ------------------
 5723|    153|        if (type.isArrayOfArrays())
  ------------------
  |  Branch (5723:13): [True: 0, False: 153]
  ------------------
 5724|      0|            requireProfile(loc, ~EEsProfile, "fragment-shader array-of-array input");
 5725|    153|        else if (type.isStruct())
  ------------------
  |  Branch (5725:18): [True: 0, False: 153]
  ------------------
 5726|      0|            requireProfile(loc, ~EEsProfile, "fragment-shader array-of-struct input");
 5727|    153|    }
 5728|    624|    if (type.getQualifier().storage == EvqVaryingOut && language == EShLangFragment) {
  ------------------
  |  Branch (5728:9): [True: 401, False: 223]
  |  Branch (5728:57): [True: 124, False: 277]
  ------------------
 5729|    124|        if (type.isArrayOfArrays())
  ------------------
  |  Branch (5729:13): [True: 0, False: 124]
  ------------------
 5730|      0|            requireProfile(loc, ~EEsProfile, "fragment-shader array-of-array output");
 5731|    124|    }
 5732|       |
 5733|    624|    return false;
 5734|    624|}
_ZN7glslang13TParseContext22arraySizeRequiredCheckERKNS_10TSourceLocERKNS_11TArraySizesE:
 5740|  10.1k|{
 5741|  10.1k|    if (!parsingBuiltins && arraySizes.hasUnsized())
  ------------------
  |  Branch (5741:9): [True: 0, False: 10.1k]
  |  Branch (5741:29): [True: 0, False: 0]
  ------------------
 5742|      0|        error(loc, "array size required", "", "");
 5743|  10.1k|}
_ZN7glslang13TParseContext16structArrayCheckERKNS_10TSourceLocERKNS_5TTypeE:
 5746|     10|{
 5747|     10|    const TTypeList& structure = *type.getStruct();
 5748|     60|    for (int m = 0; m < (int)structure.size(); ++m) {
  ------------------
  |  Branch (5748:21): [True: 50, False: 10]
  ------------------
 5749|     50|        const TType& member = *structure[m].type;
 5750|     50|        if (member.isArray())
  ------------------
  |  Branch (5750:13): [True: 0, False: 50]
  ------------------
 5751|      0|            arraySizeRequiredCheck(structure[m].loc, *member.getArraySizes());
 5752|     50|    }
 5753|     10|}
_ZN7glslang13TParseContext15arraySizesCheckERKNS_10TSourceLocERKNS_10TQualifierEPNS_11TArraySizesEPKNS_12TIntermTypedEb:
 5757|    918|{
 5758|    918|    assert(arraySizes);
 5759|       |
 5760|       |    // always allow special built-in ins/outs sized to topologies
 5761|    918|    if (parsingBuiltins)
  ------------------
  |  Branch (5761:9): [True: 909, False: 9]
  ------------------
 5762|    909|        return;
 5763|       |
 5764|       |    // initializer must be a sized array, in which case
 5765|       |    // allow the initializer to set any unknown array sizes
 5766|      9|    if (initializer != nullptr) {
  ------------------
  |  Branch (5766:9): [True: 9, False: 0]
  ------------------
 5767|      9|        if (initializer->getType().isUnsizedArray())
  ------------------
  |  Branch (5767:13): [True: 0, False: 9]
  ------------------
 5768|      0|            error(loc, "array initializer must be sized", "[]", "");
 5769|      9|        return;
 5770|      9|    }
 5771|       |
 5772|       |    // No environment allows any non-outer-dimension to be implicitly sized
 5773|      0|    if (arraySizes->isInnerUnsized()) {
  ------------------
  |  Branch (5773:9): [True: 0, False: 0]
  ------------------
 5774|      0|        error(loc, "only outermost dimension of an array of arrays can be implicitly sized", "[]", "");
 5775|      0|        arraySizes->clearInnerUnsized();
 5776|      0|    }
 5777|       |
 5778|      0|    if (arraySizes->isInnerSpecialization() &&
  ------------------
  |  Branch (5778:9): [True: 0, False: 0]
  ------------------
 5779|      0|        (qualifier.storage != EvqTemporary && qualifier.storage != EvqGlobal && qualifier.storage != EvqShared && qualifier.storage != EvqConst))
  ------------------
  |  Branch (5779:10): [True: 0, False: 0]
  |  Branch (5779:47): [True: 0, False: 0]
  |  Branch (5779:81): [True: 0, False: 0]
  |  Branch (5779:115): [True: 0, False: 0]
  ------------------
 5780|      0|        error(loc, "only outermost dimension of an array of arrays can be a specialization constant", "[]", "");
 5781|       |
 5782|       |    // desktop always allows outer-dimension-unsized variable arrays,
 5783|      0|    if (!isEsProfile())
  ------------------
  |  Branch (5783:9): [True: 0, False: 0]
  ------------------
 5784|      0|        return;
 5785|       |
 5786|       |    // for ES, if size isn't coming from an initializer, it has to be explicitly declared now,
 5787|       |    // with very few exceptions
 5788|       |
 5789|       |    // implicitly-sized io exceptions:
 5790|      0|    switch (language) {
 5791|      0|    case EShLangGeometry:
  ------------------
  |  Branch (5791:5): [True: 0, False: 0]
  ------------------
 5792|      0|        if (qualifier.storage == EvqVaryingIn)
  ------------------
  |  Branch (5792:13): [True: 0, False: 0]
  ------------------
 5793|      0|            if ((isEsProfile() && version >= 320) ||
  ------------------
  |  Branch (5793:18): [True: 0, False: 0]
  |  Branch (5793:35): [True: 0, False: 0]
  ------------------
 5794|      0|                extensionsTurnedOn(Num_AEP_geometry_shader, AEP_geometry_shader))
  ------------------
  |  Branch (5794:17): [True: 0, False: 0]
  ------------------
 5795|      0|                return;
 5796|      0|        break;
 5797|      0|    case EShLangTessControl:
  ------------------
  |  Branch (5797:5): [True: 0, False: 0]
  ------------------
 5798|      0|        if ( qualifier.storage == EvqVaryingIn ||
  ------------------
  |  Branch (5798:14): [True: 0, False: 0]
  ------------------
 5799|      0|            (qualifier.storage == EvqVaryingOut && ! qualifier.isPatch()))
  ------------------
  |  Branch (5799:14): [True: 0, False: 0]
  |  Branch (5799:52): [True: 0, False: 0]
  ------------------
 5800|      0|            if ((isEsProfile() && version >= 320) ||
  ------------------
  |  Branch (5800:18): [True: 0, False: 0]
  |  Branch (5800:35): [True: 0, False: 0]
  ------------------
 5801|      0|                extensionsTurnedOn(Num_AEP_tessellation_shader, AEP_tessellation_shader))
  ------------------
  |  Branch (5801:17): [True: 0, False: 0]
  ------------------
 5802|      0|                return;
 5803|      0|        break;
 5804|      0|    case EShLangTessEvaluation:
  ------------------
  |  Branch (5804:5): [True: 0, False: 0]
  ------------------
 5805|      0|        if ((qualifier.storage == EvqVaryingIn && ! qualifier.isPatch()) ||
  ------------------
  |  Branch (5805:14): [True: 0, False: 0]
  |  Branch (5805:51): [True: 0, False: 0]
  ------------------
 5806|      0|             qualifier.storage == EvqVaryingOut)
  ------------------
  |  Branch (5806:14): [True: 0, False: 0]
  ------------------
 5807|      0|            if ((isEsProfile() && version >= 320) ||
  ------------------
  |  Branch (5807:18): [True: 0, False: 0]
  |  Branch (5807:35): [True: 0, False: 0]
  ------------------
 5808|      0|                extensionsTurnedOn(Num_AEP_tessellation_shader, AEP_tessellation_shader))
  ------------------
  |  Branch (5808:17): [True: 0, False: 0]
  ------------------
 5809|      0|                return;
 5810|      0|        break;
 5811|      0|    case EShLangMesh:
  ------------------
  |  Branch (5811:5): [True: 0, False: 0]
  ------------------
 5812|      0|        if (qualifier.storage == EvqVaryingOut)
  ------------------
  |  Branch (5812:13): [True: 0, False: 0]
  ------------------
 5813|      0|            if ((isEsProfile() && version >= 320) ||
  ------------------
  |  Branch (5813:18): [True: 0, False: 0]
  |  Branch (5813:35): [True: 0, False: 0]
  ------------------
 5814|      0|                extensionsTurnedOn(Num_AEP_mesh_shader, AEP_mesh_shader))
  ------------------
  |  Branch (5814:17): [True: 0, False: 0]
  ------------------
 5815|      0|                return;
 5816|      0|        break;
 5817|      0|    default:
  ------------------
  |  Branch (5817:5): [True: 0, False: 0]
  ------------------
 5818|      0|        break;
 5819|      0|    }
 5820|       |
 5821|       |    // last member of ssbo block exception:
 5822|      0|    if (qualifier.storage == EvqBuffer && lastMember)
  ------------------
  |  Branch (5822:9): [True: 0, False: 0]
  |  Branch (5822:43): [True: 0, False: 0]
  ------------------
 5823|      0|        return;
 5824|       |
 5825|      0|    if (qualifier.storage == EvqUniform && lastMember && extensionTurnedOn(E_GL_EXT_uniform_buffer_unsized_array))
  ------------------
  |  Branch (5825:9): [True: 0, False: 0]
  |  Branch (5825:44): [True: 0, False: 0]
  |  Branch (5825:58): [True: 0, False: 0]
  ------------------
 5826|      0|        return;
 5827|       |
 5828|      0|    arraySizeRequiredCheck(loc, *arraySizes);
 5829|      0|}
_ZN7glslang13TParseContext24arrayOfArrayVersionCheckERKNS_10TSourceLocEPKNS_11TArraySizesE:
 5832|  27.8k|{
 5833|  27.8k|    if (sizes == nullptr || sizes->getNumDims() == 1)
  ------------------
  |  Branch (5833:9): [True: 16.4k, False: 11.3k]
  |  Branch (5833:29): [True: 11.3k, False: 44]
  ------------------
 5834|  27.7k|        return;
 5835|       |
 5836|     44|    const char* feature = "arrays of arrays";
 5837|       |
 5838|     44|    requireProfile(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, feature);
 5839|     44|    profileRequires(loc, EEsProfile, 310, nullptr, feature);
 5840|     44|    profileRequires(loc, ECoreProfile | ECompatibilityProfile, 430, nullptr, feature);
 5841|     44|}
_ZN7glslang13TParseContext12declareArrayERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_5TTypeERPNS_7TSymbolE:
 5848|    624|{
 5849|    624|    if (symbol == nullptr) {
  ------------------
  |  Branch (5849:9): [True: 624, False: 0]
  ------------------
 5850|    624|        bool currentScope;
 5851|    624|        symbol = symbolTable.find(identifier, nullptr, &currentScope);
 5852|       |
 5853|    624|        if (symbol && builtInName(identifier) && ! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (5853:13): [True: 0, False: 624]
  |  Branch (5853:23): [True: 0, False: 0]
  |  Branch (5853:50): [True: 0, False: 0]
  ------------------
 5854|       |            // bad shader (errors already reported) trying to redeclare a built-in name as an array
 5855|      0|            symbol = nullptr;
 5856|      0|            return;
 5857|      0|        }
 5858|    624|        if (symbol == nullptr || ! currentScope) {
  ------------------
  |  Branch (5858:13): [True: 624, False: 0]
  |  Branch (5858:34): [True: 0, False: 0]
  ------------------
 5859|       |            //
 5860|       |            // Successfully process a new definition.
 5861|       |            // (Redeclarations have to take place at the same scope; otherwise they are hiding declarations)
 5862|       |            //
 5863|    624|            symbol = new TVariable(&identifier, type);
 5864|    624|            symbolTable.insert(*symbol);
 5865|    624|            if (symbolTable.atGlobalLevel())
  ------------------
  |  Branch (5865:17): [True: 621, False: 3]
  ------------------
 5866|    621|                trackLinkage(*symbol);
 5867|       |
 5868|    624|            if (! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (5868:17): [True: 9, False: 615]
  ------------------
 5869|      9|                if (isIoResizeArray(type)) {
  ------------------
  |  Branch (5869:21): [True: 0, False: 9]
  ------------------
 5870|      0|                    ioArraySymbolResizeList.push_back(symbol);
 5871|      0|                    checkIoArraysConsistency(loc, true);
 5872|      0|                } else
 5873|      9|                    fixIoArraySize(loc, symbol->getWritableType());
 5874|      9|            }
 5875|       |
 5876|    624|            return;
 5877|    624|        }
 5878|      0|        if (symbol->getAsAnonMember()) {
  ------------------
  |  Branch (5878:13): [True: 0, False: 0]
  ------------------
 5879|      0|            error(loc, "cannot redeclare a user-block member array", identifier.c_str(), "");
 5880|      0|            symbol = nullptr;
 5881|      0|            return;
 5882|      0|        }
 5883|      0|    }
 5884|       |
 5885|       |    //
 5886|       |    // Process a redeclaration.
 5887|       |    //
 5888|       |
 5889|      0|    if (symbol == nullptr) {
  ------------------
  |  Branch (5889:9): [True: 0, False: 0]
  ------------------
 5890|      0|        error(loc, "array variable name expected", identifier.c_str(), "");
 5891|      0|        return;
 5892|      0|    }
 5893|       |
 5894|       |    // redeclareBuiltinVariable() should have already done the copyUp()
 5895|      0|    TType& existingType = symbol->getWritableType();
 5896|       |
 5897|      0|    if (! existingType.isArray()) {
  ------------------
  |  Branch (5897:9): [True: 0, False: 0]
  ------------------
 5898|      0|        error(loc, "redeclaring non-array as array", identifier.c_str(), "");
 5899|      0|        return;
 5900|      0|    }
 5901|       |
 5902|      0|    if (! existingType.sameElementType(type)) {
  ------------------
  |  Branch (5902:9): [True: 0, False: 0]
  ------------------
 5903|      0|        error(loc, "redeclaration of array with a different element type", identifier.c_str(), "");
 5904|      0|        return;
 5905|      0|    }
 5906|       |
 5907|      0|    if (! existingType.sameInnerArrayness(type)) {
  ------------------
  |  Branch (5907:9): [True: 0, False: 0]
  ------------------
 5908|      0|        error(loc, "redeclaration of array with a different array dimensions or sizes", identifier.c_str(), "");
 5909|      0|        return;
 5910|      0|    }
 5911|       |
 5912|      0|    if (existingType.isSizedArray()) {
  ------------------
  |  Branch (5912:9): [True: 0, False: 0]
  ------------------
 5913|       |        // be more leniant for input arrays to geometry shaders and tessellation control outputs, where the redeclaration is the same size
 5914|      0|        if (! (isIoResizeArray(type) && existingType.getOuterArraySize() == type.getOuterArraySize()))
  ------------------
  |  Branch (5914:16): [True: 0, False: 0]
  |  Branch (5914:41): [True: 0, False: 0]
  ------------------
 5915|      0|            error(loc, "redeclaration of array with size", identifier.c_str(), "");
 5916|      0|        return;
 5917|      0|    }
 5918|       |
 5919|      0|    arrayLimitCheck(loc, identifier, type.getOuterArraySize());
 5920|       |
 5921|      0|    existingType.updateArraySizes(type);
 5922|       |
 5923|      0|    if (isIoResizeArray(type))
  ------------------
  |  Branch (5923:9): [True: 0, False: 0]
  ------------------
 5924|      0|        checkIoArraysConsistency(loc);
 5925|      0|}
_ZN7glslang13TParseContext25checkAndResizeMeshViewDimERKNS_10TSourceLocERNS_5TTypeEb:
 5999|  16.8k|{
 6000|       |    // see if member is a per-view attribute
 6001|  16.8k|    if (!type.getQualifier().isPerView())
  ------------------
  |  Branch (6001:9): [True: 16.7k, False: 25]
  ------------------
 6002|  16.7k|        return;
 6003|       |
 6004|     25|    if ((isBlockMember && type.isArray()) || (!isBlockMember && type.isArrayOfArrays())) {
  ------------------
  |  Branch (6004:10): [True: 25, False: 0]
  |  Branch (6004:27): [True: 25, False: 0]
  |  Branch (6004:47): [True: 0, False: 0]
  |  Branch (6004:65): [True: 0, False: 0]
  ------------------
 6005|       |        // since we don't have the maxMeshViewCountNV set during parsing builtins, we hardcode the value.
 6006|     25|        int maxViewCount = parsingBuiltins ? 4 : resources.maxMeshViewCountNV;
  ------------------
  |  Branch (6006:28): [True: 25, False: 0]
  ------------------
 6007|       |        // For block members, outermost array dimension is the view dimension.
 6008|       |        // For non-block members, outermost array dimension is the vertex/primitive dimension
 6009|       |        // and 2nd outermost is the view dimension.
 6010|     25|        int viewDim = isBlockMember ? 0 : 1;
  ------------------
  |  Branch (6010:23): [True: 25, False: 0]
  ------------------
 6011|     25|        int viewDimSize = type.getArraySizes()->getDimSize(viewDim);
 6012|       |
 6013|     25|        if (viewDimSize != UnsizedArraySize && viewDimSize != maxViewCount)
  ------------------
  |  Branch (6013:13): [True: 0, False: 25]
  |  Branch (6013:48): [True: 0, False: 0]
  ------------------
 6014|      0|            error(loc, "mesh view output array size must be gl_MaxMeshViewCountNV or implicitly sized", "[]", "");
 6015|     25|        else if (viewDimSize == UnsizedArraySize)
  ------------------
  |  Branch (6015:18): [True: 25, False: 0]
  ------------------
 6016|     25|            type.getArraySizes()->setDimSize(viewDim, maxViewCount);
 6017|     25|    }
 6018|      0|    else {
 6019|      0|        error(loc, "requires a view array dimension", "perviewNV", "");
 6020|      0|    }
 6021|     25|}
_ZN7glslang13TParseContext17nonInitConstCheckERKNS_10TSourceLocERNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERNS_5TTypeE:
 6041|  11.6k|{
 6042|       |    //
 6043|       |    // Make the qualifier make sense, given that there is not an initializer.
 6044|       |    //
 6045|  11.6k|    if (type.getQualifier().storage == EvqConst ||
  ------------------
  |  Branch (6045:9): [True: 0, False: 11.6k]
  ------------------
 6046|  11.6k|        type.getQualifier().storage == EvqConstReadOnly) {
  ------------------
  |  Branch (6046:9): [True: 0, False: 11.6k]
  ------------------
 6047|      0|        type.getQualifier().makeTemporary();
 6048|      0|        error(loc, "variables with qualifier 'const' must be initialized", identifier.c_str(), "");
 6049|      0|    }
 6050|  11.6k|}
_ZN7glslang13TParseContext24redeclareBuiltinVariableERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_10TQualifierERKNS_17TShaderQualifiersE:
 6064|  16.7k|{
 6065|  16.7k|    if (! builtInName(identifier) || symbolTable.atBuiltInLevel() || ! symbolTable.atGlobalLevel())
  ------------------
  |  Branch (6065:9): [True: 600, False: 16.1k]
  |  Branch (6065:38): [True: 16.1k, False: 0]
  |  Branch (6065:70): [True: 0, False: 0]
  ------------------
 6066|  16.7k|        return nullptr;
 6067|       |
 6068|      0|    bool nonEsRedecls = (!isEsProfile() && (version >= 130 || identifier == "gl_TexCoord"));
  ------------------
  |  Branch (6068:26): [True: 0, False: 0]
  |  Branch (6068:45): [True: 0, False: 0]
  |  Branch (6068:63): [True: 0, False: 0]
  ------------------
 6069|      0|    bool    esRedecls = (isEsProfile() &&
  ------------------
  |  Branch (6069:26): [True: 0, False: 0]
  ------------------
 6070|      0|                         (version >= 320 || extensionsTurnedOn(Num_AEP_shader_io_blocks, AEP_shader_io_blocks) ||
  ------------------
  |  Branch (6070:27): [True: 0, False: 0]
  |  Branch (6070:45): [True: 0, False: 0]
  ------------------
 6071|      0|                          (identifier == "gl_FragDepth" && extensionTurnedOn(E_GL_EXT_conservative_depth))));
  ------------------
  |  Branch (6071:28): [True: 0, False: 0]
  |  Branch (6071:60): [True: 0, False: 0]
  ------------------
 6072|      0|    if (! esRedecls && ! nonEsRedecls)
  ------------------
  |  Branch (6072:9): [True: 0, False: 0]
  |  Branch (6072:24): [True: 0, False: 0]
  ------------------
 6073|      0|        return nullptr;
 6074|       |
 6075|       |    // Special case when using GL_ARB_separate_shader_objects
 6076|      0|    bool ssoPre150 = false;  // means the only reason this variable is redeclared is due to this combination
 6077|      0|    if (!isEsProfile() && version <= 140 && extensionTurnedOn(E_GL_ARB_separate_shader_objects)) {
  ------------------
  |  Branch (6077:9): [True: 0, False: 0]
  |  Branch (6077:27): [True: 0, False: 0]
  |  Branch (6077:45): [True: 0, False: 0]
  ------------------
 6078|      0|        if (identifier == "gl_Position"     ||
  ------------------
  |  Branch (6078:13): [True: 0, False: 0]
  ------------------
 6079|      0|            identifier == "gl_PointSize"    ||
  ------------------
  |  Branch (6079:13): [True: 0, False: 0]
  ------------------
 6080|      0|            identifier == "gl_ClipVertex"   ||
  ------------------
  |  Branch (6080:13): [True: 0, False: 0]
  ------------------
 6081|      0|            identifier == "gl_FogFragCoord")
  ------------------
  |  Branch (6081:13): [True: 0, False: 0]
  ------------------
 6082|      0|            ssoPre150 = true;
 6083|      0|    }
 6084|       |
 6085|       |    // Potentially redeclaring a built-in variable...
 6086|       |
 6087|      0|    if (ssoPre150 ||
  ------------------
  |  Branch (6087:9): [True: 0, False: 0]
  ------------------
 6088|      0|        (identifier == "gl_FragDepth"           && ((nonEsRedecls && version >= 420) || esRedecls)) ||
  ------------------
  |  Branch (6088:10): [True: 0, False: 0]
  |  Branch (6088:54): [True: 0, False: 0]
  |  Branch (6088:70): [True: 0, False: 0]
  |  Branch (6088:89): [True: 0, False: 0]
  ------------------
 6089|      0|        (identifier == "gl_FragCoord"           && ((nonEsRedecls && version >= 140) || esRedecls)) ||
  ------------------
  |  Branch (6089:10): [True: 0, False: 0]
  |  Branch (6089:54): [True: 0, False: 0]
  |  Branch (6089:70): [True: 0, False: 0]
  |  Branch (6089:89): [True: 0, False: 0]
  ------------------
 6090|      0|         identifier == "gl_ClipDistance"                                                            ||
  ------------------
  |  Branch (6090:10): [True: 0, False: 0]
  ------------------
 6091|      0|         identifier == "gl_CullDistance"                                                            ||
  ------------------
  |  Branch (6091:10): [True: 0, False: 0]
  ------------------
 6092|      0|         identifier == "gl_ShadingRateEXT"                                                          ||
  ------------------
  |  Branch (6092:10): [True: 0, False: 0]
  ------------------
 6093|      0|         identifier == "gl_PrimitiveShadingRateEXT"                                                 ||
  ------------------
  |  Branch (6093:10): [True: 0, False: 0]
  ------------------
 6094|      0|         identifier == "gl_FrontColor"                                                              ||
  ------------------
  |  Branch (6094:10): [True: 0, False: 0]
  ------------------
 6095|      0|         identifier == "gl_BackColor"                                                               ||
  ------------------
  |  Branch (6095:10): [True: 0, False: 0]
  ------------------
 6096|      0|         identifier == "gl_FrontSecondaryColor"                                                     ||
  ------------------
  |  Branch (6096:10): [True: 0, False: 0]
  ------------------
 6097|      0|         identifier == "gl_BackSecondaryColor"                                                      ||
  ------------------
  |  Branch (6097:10): [True: 0, False: 0]
  ------------------
 6098|      0|         identifier == "gl_SecondaryColor"                                                          ||
  ------------------
  |  Branch (6098:10): [True: 0, False: 0]
  ------------------
 6099|      0|        (identifier == "gl_Color"               && language == EShLangFragment)                     ||
  ------------------
  |  Branch (6099:10): [True: 0, False: 0]
  |  Branch (6099:52): [True: 0, False: 0]
  ------------------
 6100|      0|        (identifier == "gl_FragStencilRefARB"   && (nonEsRedecls && version >= 140)
  ------------------
  |  Branch (6100:10): [True: 0, False: 0]
  |  Branch (6100:53): [True: 0, False: 0]
  |  Branch (6100:69): [True: 0, False: 0]
  ------------------
 6101|      0|                                                && language == EShLangFragment)                     ||
  ------------------
  |  Branch (6101:52): [True: 0, False: 0]
  ------------------
 6102|      0|         identifier == "gl_SampleMask"                                                              ||
  ------------------
  |  Branch (6102:10): [True: 0, False: 0]
  ------------------
 6103|      0|         identifier == "gl_EnableOpacityMicromapEXT"                                                ||
  ------------------
  |  Branch (6103:10): [True: 0, False: 0]
  ------------------
 6104|      0|         identifier == "gl_Layer"                                                                   ||
  ------------------
  |  Branch (6104:10): [True: 0, False: 0]
  ------------------
 6105|      0|         identifier == "gl_PrimitiveIndicesNV"                                                      ||
  ------------------
  |  Branch (6105:10): [True: 0, False: 0]
  ------------------
 6106|      0|         identifier == "gl_PrimitivePointIndicesEXT"                                                ||
  ------------------
  |  Branch (6106:10): [True: 0, False: 0]
  ------------------
 6107|      0|         identifier == "gl_PrimitiveLineIndicesEXT"                                                 ||
  ------------------
  |  Branch (6107:10): [True: 0, False: 0]
  ------------------
 6108|      0|         identifier == "gl_PrimitiveTriangleIndicesEXT"                                             ||
  ------------------
  |  Branch (6108:10): [True: 0, False: 0]
  ------------------
 6109|      0|         identifier == "gl_TexCoord") {
  ------------------
  |  Branch (6109:10): [True: 0, False: 0]
  ------------------
 6110|       |
 6111|       |        // Find the existing symbol, if any.
 6112|      0|        bool builtIn;
 6113|      0|        TSymbol* symbol = symbolTable.find(identifier, &builtIn);
 6114|       |
 6115|       |        // If the symbol was not found, this must be a version/profile/stage
 6116|       |        // that doesn't have it.
 6117|      0|        if (! symbol)
  ------------------
  |  Branch (6117:13): [True: 0, False: 0]
  ------------------
 6118|      0|            return nullptr;
 6119|       |
 6120|       |        // If it wasn't at a built-in level, then it's already been redeclared;
 6121|       |        // that is, this is a redeclaration of a redeclaration; reuse that initial
 6122|       |        // redeclaration.  Otherwise, make the new one.
 6123|      0|        if (builtIn) {
  ------------------
  |  Branch (6123:13): [True: 0, False: 0]
  ------------------
 6124|      0|            makeEditable(symbol);
 6125|      0|            symbolTable.amendSymbolIdLevel(*symbol);
 6126|      0|        }
 6127|       |
 6128|       |        // Now, modify the type of the copy, as per the type of the current redeclaration.
 6129|       |
 6130|      0|        TQualifier& symbolQualifier = symbol->getWritableType().getQualifier();
 6131|      0|        if (ssoPre150) {
  ------------------
  |  Branch (6131:13): [True: 0, False: 0]
  ------------------
 6132|      0|            if (intermediate.inIoAccessed(identifier))
  ------------------
  |  Branch (6132:17): [True: 0, False: 0]
  ------------------
 6133|      0|                error(loc, "cannot redeclare after use", identifier.c_str(), "");
 6134|      0|            if (qualifier.hasLayout())
  ------------------
  |  Branch (6134:17): [True: 0, False: 0]
  ------------------
 6135|      0|                error(loc, "cannot apply layout qualifier to", "redeclaration", symbol->getName().c_str());
 6136|      0|            if (qualifier.isMemory() || qualifier.isAuxiliary() || (language == EShLangVertex   && qualifier.storage != EvqVaryingOut) ||
  ------------------
  |  Branch (6136:17): [True: 0, False: 0]
  |  Branch (6136:41): [True: 0, False: 0]
  |  Branch (6136:69): [True: 0, False: 0]
  |  Branch (6136:100): [True: 0, False: 0]
  ------------------
 6137|      0|                                                                   (language == EShLangFragment && qualifier.storage != EvqVaryingIn))
  ------------------
  |  Branch (6137:69): [True: 0, False: 0]
  |  Branch (6137:100): [True: 0, False: 0]
  ------------------
 6138|      0|                error(loc, "cannot change storage, memory, or auxiliary qualification of", "redeclaration", symbol->getName().c_str());
 6139|      0|            if (! qualifier.smooth)
  ------------------
  |  Branch (6139:17): [True: 0, False: 0]
  ------------------
 6140|      0|                error(loc, "cannot change interpolation qualification of", "redeclaration", symbol->getName().c_str());
 6141|      0|        } else if (identifier == "gl_FrontColor"          ||
  ------------------
  |  Branch (6141:20): [True: 0, False: 0]
  ------------------
 6142|      0|                   identifier == "gl_BackColor"           ||
  ------------------
  |  Branch (6142:20): [True: 0, False: 0]
  ------------------
 6143|      0|                   identifier == "gl_FrontSecondaryColor" ||
  ------------------
  |  Branch (6143:20): [True: 0, False: 0]
  ------------------
 6144|      0|                   identifier == "gl_BackSecondaryColor"  ||
  ------------------
  |  Branch (6144:20): [True: 0, False: 0]
  ------------------
 6145|      0|                   identifier == "gl_SecondaryColor"      ||
  ------------------
  |  Branch (6145:20): [True: 0, False: 0]
  ------------------
 6146|      0|                   identifier == "gl_Color") {
  ------------------
  |  Branch (6146:20): [True: 0, False: 0]
  ------------------
 6147|      0|            symbolQualifier.flat = qualifier.flat;
 6148|      0|            symbolQualifier.smooth = qualifier.smooth;
 6149|      0|            symbolQualifier.nopersp = qualifier.nopersp;
 6150|      0|            if (qualifier.hasLayout())
  ------------------
  |  Branch (6150:17): [True: 0, False: 0]
  ------------------
 6151|      0|                error(loc, "cannot apply layout qualifier to", "redeclaration", symbol->getName().c_str());
 6152|      0|            if (qualifier.isMemory() || qualifier.isAuxiliary() || symbol->getType().getQualifier().storage != qualifier.storage)
  ------------------
  |  Branch (6152:17): [True: 0, False: 0]
  |  Branch (6152:41): [True: 0, False: 0]
  |  Branch (6152:68): [True: 0, False: 0]
  ------------------
 6153|      0|                error(loc, "cannot change storage, memory, or auxiliary qualification of", "redeclaration", symbol->getName().c_str());
 6154|      0|        } else if (identifier == "gl_TexCoord"     ||
  ------------------
  |  Branch (6154:20): [True: 0, False: 0]
  ------------------
 6155|      0|                   identifier == "gl_ClipDistance" ||
  ------------------
  |  Branch (6155:20): [True: 0, False: 0]
  ------------------
 6156|      0|                   identifier == "gl_CullDistance") {
  ------------------
  |  Branch (6156:20): [True: 0, False: 0]
  ------------------
 6157|      0|            if (qualifier.hasLayout() || qualifier.isMemory() || qualifier.isAuxiliary() ||
  ------------------
  |  Branch (6157:17): [True: 0, False: 0]
  |  Branch (6157:42): [True: 0, False: 0]
  |  Branch (6157:66): [True: 0, False: 0]
  ------------------
 6158|      0|                qualifier.nopersp != symbolQualifier.nopersp || qualifier.flat != symbolQualifier.flat ||
  ------------------
  |  Branch (6158:17): [True: 0, False: 0]
  |  Branch (6158:65): [True: 0, False: 0]
  ------------------
 6159|      0|                symbolQualifier.storage != qualifier.storage)
  ------------------
  |  Branch (6159:17): [True: 0, False: 0]
  ------------------
 6160|      0|                error(loc, "cannot change qualification of", "redeclaration", symbol->getName().c_str());
 6161|      0|        } else if (identifier == "gl_FragCoord") {
  ------------------
  |  Branch (6161:20): [True: 0, False: 0]
  ------------------
 6162|      0|            if (!intermediate.getTexCoordRedeclared() && intermediate.inIoAccessed("gl_FragCoord"))
  ------------------
  |  Branch (6162:17): [True: 0, False: 0]
  |  Branch (6162:17): [True: 0, False: 0]
  |  Branch (6162:58): [True: 0, False: 0]
  ------------------
 6163|      0|                error(loc, "cannot redeclare after use", "gl_FragCoord", "");
 6164|      0|            if (qualifier.nopersp != symbolQualifier.nopersp || qualifier.flat != symbolQualifier.flat ||
  ------------------
  |  Branch (6164:17): [True: 0, False: 0]
  |  Branch (6164:65): [True: 0, False: 0]
  ------------------
 6165|      0|                qualifier.isMemory() || qualifier.isAuxiliary())
  ------------------
  |  Branch (6165:17): [True: 0, False: 0]
  |  Branch (6165:41): [True: 0, False: 0]
  ------------------
 6166|      0|                error(loc, "can only change layout qualification of", "redeclaration", symbol->getName().c_str());
 6167|      0|            if (qualifier.storage != EvqVaryingIn)
  ------------------
  |  Branch (6167:17): [True: 0, False: 0]
  ------------------
 6168|      0|                error(loc, "cannot change input storage qualification of", "redeclaration", symbol->getName().c_str());
 6169|      0|            if (! builtIn && (publicType.pixelCenterInteger != intermediate.getPixelCenterInteger() ||
  ------------------
  |  Branch (6169:17): [True: 0, False: 0]
  |  Branch (6169:31): [True: 0, False: 0]
  ------------------
 6170|      0|                              publicType.originUpperLeft != intermediate.getOriginUpperLeft()))
  ------------------
  |  Branch (6170:31): [True: 0, False: 0]
  ------------------
 6171|      0|                error(loc, "cannot redeclare with different qualification:", "redeclaration", symbol->getName().c_str());
 6172|       |
 6173|       |
 6174|      0|            intermediate.setTexCoordRedeclared();
 6175|      0|            if (publicType.pixelCenterInteger)
  ------------------
  |  Branch (6175:17): [True: 0, False: 0]
  ------------------
 6176|      0|                intermediate.setPixelCenterInteger();
 6177|      0|            if (publicType.originUpperLeft)
  ------------------
  |  Branch (6177:17): [True: 0, False: 0]
  ------------------
 6178|      0|                intermediate.setOriginUpperLeft();
 6179|      0|        } else if (identifier == "gl_FragDepth") {
  ------------------
  |  Branch (6179:20): [True: 0, False: 0]
  ------------------
 6180|      0|            if (qualifier.nopersp != symbolQualifier.nopersp || qualifier.flat != symbolQualifier.flat ||
  ------------------
  |  Branch (6180:17): [True: 0, False: 0]
  |  Branch (6180:65): [True: 0, False: 0]
  ------------------
 6181|      0|                qualifier.isMemory() || qualifier.isAuxiliary())
  ------------------
  |  Branch (6181:17): [True: 0, False: 0]
  |  Branch (6181:41): [True: 0, False: 0]
  ------------------
 6182|      0|                error(loc, "can only change layout qualification of", "redeclaration", symbol->getName().c_str());
 6183|      0|            if (qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (6183:17): [True: 0, False: 0]
  ------------------
 6184|      0|                error(loc, "cannot change output storage qualification of", "redeclaration", symbol->getName().c_str());
 6185|      0|            if (publicType.layoutDepth != EldNone) {
  ------------------
  |  Branch (6185:17): [True: 0, False: 0]
  ------------------
 6186|      0|                if (intermediate.inIoAccessed("gl_FragDepth"))
  ------------------
  |  Branch (6186:21): [True: 0, False: 0]
  ------------------
 6187|      0|                    error(loc, "cannot redeclare after use", "gl_FragDepth", "");
 6188|      0|                if (! intermediate.setDepth(publicType.layoutDepth))
  ------------------
  |  Branch (6188:21): [True: 0, False: 0]
  ------------------
 6189|      0|                    error(loc, "all redeclarations must use the same depth layout on", "redeclaration", symbol->getName().c_str());
 6190|      0|            }
 6191|      0|        } else if (identifier == "gl_FragStencilRefARB") {
  ------------------
  |  Branch (6191:20): [True: 0, False: 0]
  ------------------
 6192|      0|            if (qualifier.nopersp != symbolQualifier.nopersp || qualifier.flat != symbolQualifier.flat ||
  ------------------
  |  Branch (6192:17): [True: 0, False: 0]
  |  Branch (6192:65): [True: 0, False: 0]
  ------------------
 6193|      0|                qualifier.isMemory() || qualifier.isAuxiliary())
  ------------------
  |  Branch (6193:17): [True: 0, False: 0]
  |  Branch (6193:41): [True: 0, False: 0]
  ------------------
 6194|      0|                error(loc, "can only change layout qualification of", "redeclaration", symbol->getName().c_str());
 6195|      0|            if (qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (6195:17): [True: 0, False: 0]
  ------------------
 6196|      0|                error(loc, "cannot change output storage qualification of", "redeclaration", symbol->getName().c_str());
 6197|      0|            if (publicType.layoutStencil != ElsNone) {
  ------------------
  |  Branch (6197:17): [True: 0, False: 0]
  ------------------
 6198|      0|                if (intermediate.inIoAccessed("gl_FragStencilRefARB"))
  ------------------
  |  Branch (6198:21): [True: 0, False: 0]
  ------------------
 6199|      0|                    error(loc, "cannot redeclare after use", "gl_FragStencilRefARB", "");
 6200|      0|                if (!intermediate.setStencil(publicType.layoutStencil))
  ------------------
  |  Branch (6200:21): [True: 0, False: 0]
  ------------------
 6201|      0|                    error(loc, "all redeclarations must use the same stencil layout on", "redeclaration",
 6202|      0|                          symbol->getName().c_str());
 6203|      0|            }
 6204|      0|        }
 6205|      0|        else if (
 6206|      0|            identifier == "gl_PrimitiveIndicesNV") {
  ------------------
  |  Branch (6206:13): [True: 0, False: 0]
  ------------------
 6207|      0|            if (qualifier.hasLayout())
  ------------------
  |  Branch (6207:17): [True: 0, False: 0]
  ------------------
 6208|      0|                error(loc, "cannot apply layout qualifier to", "redeclaration", symbol->getName().c_str());
 6209|      0|            if (qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (6209:17): [True: 0, False: 0]
  ------------------
 6210|      0|                error(loc, "cannot change output storage qualification of", "redeclaration", symbol->getName().c_str());
 6211|      0|        }
 6212|      0|        else if (identifier == "gl_SampleMask") {
  ------------------
  |  Branch (6212:18): [True: 0, False: 0]
  ------------------
 6213|      0|            if (!publicType.layoutOverrideCoverage) {
  ------------------
  |  Branch (6213:17): [True: 0, False: 0]
  ------------------
 6214|      0|                error(loc, "redeclaration only allowed for override_coverage layout", "redeclaration", symbol->getName().c_str());
 6215|      0|            }
 6216|      0|            intermediate.setLayoutOverrideCoverage();
 6217|      0|        }
 6218|      0|        else if (identifier == "gl_Layer") {
  ------------------
  |  Branch (6218:18): [True: 0, False: 0]
  ------------------
 6219|      0|            if (!qualifier.layoutViewportRelative && qualifier.layoutSecondaryViewportRelativeOffset == -2048)
  ------------------
  |  Branch (6219:17): [True: 0, False: 0]
  |  Branch (6219:54): [True: 0, False: 0]
  ------------------
 6220|      0|                error(loc, "redeclaration only allowed for viewport_relative or secondary_view_offset layout", "redeclaration", symbol->getName().c_str());
 6221|      0|            symbolQualifier.layoutViewportRelative = qualifier.layoutViewportRelative;
 6222|      0|            symbolQualifier.layoutSecondaryViewportRelativeOffset = qualifier.layoutSecondaryViewportRelativeOffset;
 6223|      0|        }
 6224|      0|        else if (identifier == "gl_EnableOpacityMicromapEXT") {
  ------------------
  |  Branch (6224:18): [True: 0, False: 0]
  ------------------
 6225|       |            // GL_EXT_opacity_micromap_ray_query_mode. This branch handles the full-redeclaration form
 6226|       |            //   const bool gl_EnableOpacityMicromapEXT = <true|false>;
 6227|       |            // which sets the built-in's value (emitted as OpConstantTrue/OpConstantFalse). The
 6228|       |            // specialization-constant form is the bare "layout(constant_id = N) gl_EnableOpacityMicromapEXT;"
 6229|       |            // (handled in addQualifierToExisting); per the extension it is not valid to restate the type
 6230|       |            // or specify a value together with constant_id.
 6231|      0|            requireExtensions(loc, 1, &E_GL_EXT_opacity_micromap_ray_query_mode, "gl_EnableOpacityMicromapEXT redeclaration");
 6232|      0|            if (qualifier.hasSpecConstantId())
  ------------------
  |  Branch (6232:17): [True: 0, False: 0]
  ------------------
 6233|      0|                error(loc, "cannot restate the type or specify a value with constant_id; use "
 6234|      0|                           "'layout(constant_id = N) gl_EnableOpacityMicromapEXT;'", "redeclaration",
 6235|      0|                      symbol->getName().c_str());
 6236|      0|            else if (qualifier.storage != EvqConst)
  ------------------
  |  Branch (6236:22): [True: 0, False: 0]
  ------------------
 6237|      0|                error(loc, "can only be redeclared as 'const bool gl_EnableOpacityMicromapEXT = <true|false>;' "
 6238|      0|                           "or 'layout(constant_id = N) gl_EnableOpacityMicromapEXT;'", "redeclaration",
 6239|      0|                      symbol->getName().c_str());
 6240|       |            // For the valid 'const bool = <true|false>;' form the value is captured from the initializer
 6241|       |            // after it is processed (see declareVariable); nothing else to do to the symbol's qualifier here.
 6242|      0|        }
 6243|       |
 6244|       |        // TODO: semantics quality: separate smooth from nothing declared, then use IsInterpolation for several tests above
 6245|       |
 6246|      0|        return symbol;
 6247|      0|    }
 6248|       |
 6249|      0|    return nullptr;
 6250|      0|}
_ZN7glslang13TParseContext20paramCheckFixStorageERKNS_10TSourceLocERKNS_17TStorageQualifierERNS_5TTypeE:
 6477|  1.32M|{
 6478|  1.32M|    switch (qualifier) {
 6479|      0|    case EvqConst:
  ------------------
  |  Branch (6479:5): [True: 0, False: 1.32M]
  ------------------
 6480|      0|    case EvqConstReadOnly:
  ------------------
  |  Branch (6480:5): [True: 0, False: 1.32M]
  ------------------
 6481|      0|        type.getQualifier().storage = EvqConstReadOnly;
 6482|      0|        break;
 6483|     55|    case EvqIn:
  ------------------
  |  Branch (6483:5): [True: 55, False: 1.32M]
  ------------------
 6484|  13.1k|    case EvqOut:
  ------------------
  |  Branch (6484:5): [True: 13.1k, False: 1.31M]
  ------------------
 6485|  13.8k|    case EvqInOut:
  ------------------
  |  Branch (6485:5): [True: 716, False: 1.32M]
  ------------------
 6486|  13.8k|    case EvqTileImageEXT:
  ------------------
  |  Branch (6486:5): [True: 0, False: 1.32M]
  ------------------
 6487|  13.8k|        type.getQualifier().storage = qualifier;
 6488|  13.8k|        break;
 6489|  51.4k|    case EvqGlobal:
  ------------------
  |  Branch (6489:5): [True: 51.4k, False: 1.27M]
  ------------------
 6490|  1.31M|    case EvqTemporary:
  ------------------
  |  Branch (6490:5): [True: 1.25M, False: 65.3k]
  ------------------
 6491|  1.31M|        type.getQualifier().storage = EvqIn;
 6492|  1.31M|        break;
 6493|      0|    default:
  ------------------
  |  Branch (6493:5): [True: 0, False: 1.32M]
  ------------------
 6494|      0|        type.getQualifier().storage = EvqIn;
 6495|      0|        error(loc, "storage qualifier not allowed on function parameter", GetStorageQualifierString(qualifier), "");
 6496|      0|        break;
 6497|  1.32M|    }
 6498|  1.32M|}
_ZN7glslang13TParseContext13paramCheckFixERKNS_10TSourceLocERKNS_10TQualifierERNS_5TTypeE:
 6501|   127k|{
 6502|   127k|    if (qualifier.isMemory()) {
  ------------------
  |  Branch (6502:9): [True: 62.6k, False: 64.5k]
  ------------------
 6503|  62.6k|        type.getQualifier().volatil   = qualifier.volatil;
 6504|  62.6k|        type.getQualifier().nontemporal   = qualifier.nontemporal;
 6505|  62.6k|        type.getQualifier().coherent  = qualifier.coherent;
 6506|  62.6k|        type.getQualifier().devicecoherent  = qualifier.devicecoherent ;
 6507|  62.6k|        type.getQualifier().queuefamilycoherent  = qualifier.queuefamilycoherent;
 6508|  62.6k|        type.getQualifier().workgroupcoherent  = qualifier.workgroupcoherent;
 6509|  62.6k|        type.getQualifier().subgroupcoherent  = qualifier.subgroupcoherent;
 6510|  62.6k|        type.getQualifier().shadercallcoherent = qualifier.shadercallcoherent;
 6511|  62.6k|        type.getQualifier().nonprivate = qualifier.nonprivate;
 6512|  62.6k|        type.getQualifier().readonly  = qualifier.readonly;
 6513|  62.6k|        type.getQualifier().writeonly = qualifier.writeonly;
 6514|  62.6k|        type.getQualifier().restrict  = qualifier.restrict;
 6515|  62.6k|    }
 6516|       |
 6517|   127k|    if (qualifier.isAuxiliary() ||
  ------------------
  |  Branch (6517:9): [True: 0, False: 127k]
  ------------------
 6518|   127k|        qualifier.isInterpolation())
  ------------------
  |  Branch (6518:9): [True: 0, False: 127k]
  ------------------
 6519|      0|        error(loc, "cannot use auxiliary or interpolation qualifiers on a function parameter", "", "");
 6520|   127k|    if (qualifier.hasLayout())
  ------------------
  |  Branch (6520:9): [True: 0, False: 127k]
  ------------------
 6521|      0|        error(loc, "cannot use layout qualifiers on a function parameter", "", "");
 6522|   127k|    if (qualifier.invariant)
  ------------------
  |  Branch (6522:9): [True: 0, False: 127k]
  ------------------
 6523|      0|        error(loc, "cannot use invariant qualifier on a function parameter", "", "");
 6524|   127k|    if (qualifier.isNoContraction()) {
  ------------------
  |  Branch (6524:9): [True: 0, False: 127k]
  ------------------
 6525|      0|        if (qualifier.isParamOutput())
  ------------------
  |  Branch (6525:13): [True: 0, False: 0]
  ------------------
 6526|      0|            type.getQualifier().setNoContraction();
 6527|      0|        else
 6528|      0|            warn(loc, "qualifier has no effect on non-output parameters", "precise", "");
 6529|      0|    }
 6530|   127k|    if (qualifier.isNonUniform())
  ------------------
  |  Branch (6530:9): [True: 0, False: 127k]
  ------------------
 6531|      0|        type.getQualifier().nonUniform = qualifier.nonUniform;
 6532|   127k|    if (qualifier.isSpirvByReference())
  ------------------
  |  Branch (6532:9): [True: 0, False: 127k]
  ------------------
 6533|      0|        type.getQualifier().setSpirvByReference();
 6534|   127k|    if (qualifier.isSpirvLiteral()) {
  ------------------
  |  Branch (6534:9): [True: 0, False: 127k]
  ------------------
 6535|      0|        if (type.getBasicType() == EbtFloat || type.getBasicType() == EbtInt || type.getBasicType() == EbtUint ||
  ------------------
  |  Branch (6535:13): [True: 0, False: 0]
  |  Branch (6535:48): [True: 0, False: 0]
  |  Branch (6535:81): [True: 0, False: 0]
  ------------------
 6536|      0|            type.getBasicType() == EbtBool)
  ------------------
  |  Branch (6536:13): [True: 0, False: 0]
  ------------------
 6537|      0|            type.getQualifier().setSpirvLiteral();
 6538|      0|        else
 6539|      0|            error(loc, "cannot use spirv_literal qualifier", type.getBasicTypeString().c_str(), "");
 6540|      0|    }
 6541|       |
 6542|   127k|    paramCheckFixStorage(loc, qualifier.storage, type);
 6543|   127k|}
_ZN7glslang13TParseContext16nestedBlockCheckERKNS_10TSourceLocEb:
 6546|    105|{
 6547|    105|    if (allowedInnerStruct) {
  ------------------
  |  Branch (6547:9): [True: 0, False: 105]
  ------------------
 6548|      0|        if ((structNestingLevel <= 0 && blockNestingLevel <= 0) ||
  ------------------
  |  Branch (6548:14): [True: 0, False: 0]
  |  Branch (6548:41): [True: 0, False: 0]
  ------------------
 6549|      0|            (structNestingLevel > 0 && blockNestingLevel > 0) ||
  ------------------
  |  Branch (6549:14): [True: 0, False: 0]
  |  Branch (6549:40): [True: 0, False: 0]
  ------------------
 6550|      0|            blockNestingLevel > 1)
  ------------------
  |  Branch (6550:13): [True: 0, False: 0]
  ------------------
 6551|      0|            error(loc, "cannot nest a block definition inside a structure or block", "", "");
 6552|    105|    } else if (structNestingLevel > 0 || blockNestingLevel > 0)
  ------------------
  |  Branch (6552:16): [True: 0, False: 105]
  |  Branch (6552:42): [True: 0, False: 105]
  ------------------
 6553|      0|        error(loc, "cannot nest a block definition inside a structure or block", "", "");
 6554|    105|    ++blockNestingLevel;
 6555|    105|}
_ZN7glslang13TParseContext17nestedStructCheckERKNS_10TSourceLocE:
 6558|     10|{
 6559|     10|    if (structNestingLevel > 0 || blockNestingLevel > 0)
  ------------------
  |  Branch (6559:9): [True: 0, False: 10]
  |  Branch (6559:35): [True: 0, False: 10]
  ------------------
 6560|      0|        error(loc, "cannot nest a structure definition inside a structure or block", "", "");
 6561|     10|    ++structNestingLevel;
 6562|     10|}
_ZN7glslang13TParseContext16arrayObjectCheckERKNS_10TSourceLocERKNS_5TTypeEPKc:
 6565|   577k|{
 6566|       |    // Some versions don't allow comparing arrays or structures containing arrays
 6567|   577k|    if (type.containsArray()) {
  ------------------
  |  Branch (6567:9): [True: 9, False: 577k]
  ------------------
 6568|      9|        profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, op);
 6569|      9|        profileRequires(loc, EEsProfile, 300, nullptr, op);
 6570|      9|    }
 6571|   577k|}
_ZN7glslang13TParseContext11opaqueCheckERKNS_10TSourceLocERKNS_5TTypeEPKc:
 6574|  1.62k|{
 6575|  1.62k|    if (containsFieldWithBasicType(type, EbtSampler) && !extensionTurnedOn(E_GL_ARB_bindless_texture))
  ------------------
  |  Branch (6575:9): [True: 0, False: 1.62k]
  |  Branch (6575:57): [True: 0, False: 0]
  ------------------
 6576|      0|        error(loc, "can't use with samplers or structs containing samplers", op, "");
 6577|  1.62k|}
_ZN7glslang13TParseContext27storage16BitAssignmentCheckERKNS_10TSourceLocERKNS_5TTypeEPKc:
 6586|  1.86k|{
 6587|  1.86k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtFloat16))
  ------------------
  |  Branch (6587:9): [True: 0, False: 1.86k]
  |  Branch (6587:45): [True: 0, False: 0]
  ------------------
 6588|      0|        requireFloat16Arithmetic(loc, op, "can't use with structs containing float16");
 6589|       |
 6590|  1.86k|    if (type.isArray() && type.getBasicType() == EbtFloat16)
  ------------------
  |  Branch (6590:9): [True: 0, False: 1.86k]
  |  Branch (6590:27): [True: 0, False: 0]
  ------------------
 6591|      0|        requireFloat16Arithmetic(loc, op, "can't use with arrays containing float16");
 6592|       |
 6593|  1.86k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtInt16))
  ------------------
  |  Branch (6593:9): [True: 0, False: 1.86k]
  |  Branch (6593:45): [True: 0, False: 0]
  ------------------
 6594|      0|        requireInt16Arithmetic(loc, op, "can't use with structs containing int16");
 6595|       |
 6596|  1.86k|    if (type.isArray() && type.getBasicType() == EbtInt16)
  ------------------
  |  Branch (6596:9): [True: 0, False: 1.86k]
  |  Branch (6596:27): [True: 0, False: 0]
  ------------------
 6597|      0|        requireInt16Arithmetic(loc, op, "can't use with arrays containing int16");
 6598|       |
 6599|  1.86k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtUint16))
  ------------------
  |  Branch (6599:9): [True: 0, False: 1.86k]
  |  Branch (6599:45): [True: 0, False: 0]
  ------------------
 6600|      0|        requireInt16Arithmetic(loc, op, "can't use with structs containing uint16");
 6601|       |
 6602|  1.86k|    if (type.isArray() && type.getBasicType() == EbtUint16)
  ------------------
  |  Branch (6602:9): [True: 0, False: 1.86k]
  |  Branch (6602:27): [True: 0, False: 0]
  ------------------
 6603|      0|        requireInt16Arithmetic(loc, op, "can't use with arrays containing uint16");
 6604|       |
 6605|  1.86k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtInt8))
  ------------------
  |  Branch (6605:9): [True: 0, False: 1.86k]
  |  Branch (6605:45): [True: 0, False: 0]
  ------------------
 6606|      0|        requireInt8Arithmetic(loc, op, "can't use with structs containing int8");
 6607|       |
 6608|  1.86k|    if (type.isArray() && type.getBasicType() == EbtInt8)
  ------------------
  |  Branch (6608:9): [True: 0, False: 1.86k]
  |  Branch (6608:27): [True: 0, False: 0]
  ------------------
 6609|      0|        requireInt8Arithmetic(loc, op, "can't use with arrays containing int8");
 6610|       |
 6611|  1.86k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtUint8))
  ------------------
  |  Branch (6611:9): [True: 0, False: 1.86k]
  |  Branch (6611:45): [True: 0, False: 0]
  ------------------
 6612|      0|        requireInt8Arithmetic(loc, op, "can't use with structs containing uint8");
 6613|       |
 6614|  1.86k|    if (type.isArray() && type.getBasicType() == EbtUint8)
  ------------------
  |  Branch (6614:9): [True: 0, False: 1.86k]
  |  Branch (6614:27): [True: 0, False: 0]
  ------------------
 6615|      0|        requireInt8Arithmetic(loc, op, "can't use with arrays containing uint8");
 6616|  1.86k|}
_ZN7glslang13TParseContext19specializationCheckERKNS_10TSourceLocERKNS_5TTypeEPKc:
 6619|  1.86k|{
 6620|  1.86k|    if (type.containsSpecializationSize())
  ------------------
  |  Branch (6620:9): [True: 0, False: 1.86k]
  ------------------
 6621|      0|        error(loc, "can't use with types containing arrays sized with a specialization constant", op, "");
 6622|  1.86k|}
_ZN7glslang13TParseContext15structTypeCheckERKNS_10TSourceLocERNS_11TPublicTypeE:
 6625|     10|{
 6626|     10|    const TTypeList& typeList = *publicType.userDef->getStruct();
 6627|       |
 6628|       |    // fix and check for member storage qualifiers and types that don't belong within a structure
 6629|     60|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (6629:35): [True: 50, False: 10]
  ------------------
 6630|     50|        TQualifier& memberQualifier = typeList[member].type->getQualifier();
 6631|     50|        const TSourceLoc& memberLoc = typeList[member].loc;
 6632|     50|        if (memberQualifier.isAuxiliary() ||
  ------------------
  |  Branch (6632:13): [True: 0, False: 50]
  ------------------
 6633|     50|            memberQualifier.isInterpolation() ||
  ------------------
  |  Branch (6633:13): [True: 0, False: 50]
  ------------------
 6634|     50|            (memberQualifier.storage != EvqTemporary && memberQualifier.storage != EvqGlobal &&
  ------------------
  |  Branch (6634:14): [True: 50, False: 0]
  |  Branch (6634:57): [True: 0, False: 50]
  ------------------
 6635|      0|             !memberQualifier.layoutDescriptorHeap && !memberQualifier.isBufferType()))
  ------------------
  |  Branch (6635:14): [True: 0, False: 0]
  |  Branch (6635:55): [True: 0, False: 0]
  ------------------
 6636|      0|            error(memberLoc, "cannot use storage or interpolation qualifiers on structure members", typeList[member].type->getFieldName().c_str(), "");
 6637|     50|        if (memberQualifier.isMemory())
  ------------------
  |  Branch (6637:13): [True: 0, False: 50]
  ------------------
 6638|      0|            error(memberLoc, "cannot use memory qualifiers on structure members", typeList[member].type->getFieldName().c_str(), "");
 6639|     50|        if (memberQualifier.hasLayout() && !memberQualifier.isBufferType()) {
  ------------------
  |  Branch (6639:13): [True: 0, False: 50]
  |  Branch (6639:44): [True: 0, False: 0]
  ------------------
 6640|      0|            error(memberLoc, "cannot use layout qualifiers on structure members", typeList[member].type->getFieldName().c_str(), "");
 6641|      0|            memberQualifier.clearLayout();
 6642|      0|        }
 6643|     50|        if (memberQualifier.invariant)
  ------------------
  |  Branch (6643:13): [True: 0, False: 50]
  ------------------
 6644|      0|            error(memberLoc, "cannot use invariant qualifier on structure members", typeList[member].type->getFieldName().c_str(), "");
 6645|     50|    }
 6646|     10|}
_ZN7glslang13TParseContext6finishEv:
 6796|    669|{
 6797|    669|    TParseContextBase::finish();
 6798|       |
 6799|    669|    if (parsingBuiltins)
  ------------------
  |  Branch (6799:9): [True: 654, False: 15]
  ------------------
 6800|    654|        return;
 6801|       |
 6802|       |    // Forward builtin alias to AST for later use
 6803|     15|    intermediate.setBuiltinAliasLookup(symbolTable.collectBuiltinAlias());
 6804|       |
 6805|       |    // Check on array indexes for ES 2.0 (version 100) limitations.
 6806|     15|    for (size_t i = 0; i < needsIndexLimitationChecking.size(); ++i)
  ------------------
  |  Branch (6806:24): [True: 0, False: 15]
  ------------------
 6807|      0|        constantIndexExpressionCheck(needsIndexLimitationChecking[i]);
 6808|       |
 6809|       |    // Check for stages that are enabled by extension.
 6810|       |    // Can't do this at the beginning, it is chicken and egg to add a stage by
 6811|       |    // extension.
 6812|       |    // Stage-specific features were correctly tested for already, this is just
 6813|       |    // about the stage itself.
 6814|     15|    switch (language) {
 6815|      1|    case EShLangGeometry:
  ------------------
  |  Branch (6815:5): [True: 1, False: 14]
  ------------------
 6816|      1|        if (isEsProfile() && version == 310)
  ------------------
  |  Branch (6816:13): [True: 0, False: 1]
  |  Branch (6816:30): [True: 0, False: 0]
  ------------------
 6817|      0|            requireExtensions(getCurrentLoc(), Num_AEP_geometry_shader, AEP_geometry_shader, "geometry shaders");
 6818|      1|        break;
 6819|      7|    case EShLangTessControl:
  ------------------
  |  Branch (6819:5): [True: 7, False: 8]
  ------------------
 6820|      9|    case EShLangTessEvaluation:
  ------------------
  |  Branch (6820:5): [True: 2, False: 13]
  ------------------
 6821|      9|        if (isEsProfile() && version == 310)
  ------------------
  |  Branch (6821:13): [True: 0, False: 9]
  |  Branch (6821:30): [True: 0, False: 0]
  ------------------
 6822|      0|            requireExtensions(getCurrentLoc(), Num_AEP_tessellation_shader, AEP_tessellation_shader, "tessellation shaders");
 6823|      9|        else if (!isEsProfile() && version < 400)
  ------------------
  |  Branch (6823:18): [True: 9, False: 0]
  |  Branch (6823:36): [True: 0, False: 9]
  ------------------
 6824|      0|            requireExtensions(getCurrentLoc(), 1, &E_GL_ARB_tessellation_shader, "tessellation shaders");
 6825|      9|        break;
 6826|      0|    case EShLangCompute:
  ------------------
  |  Branch (6826:5): [True: 0, False: 15]
  ------------------
 6827|      0|        if (!isEsProfile() && version < 430)
  ------------------
  |  Branch (6827:13): [True: 0, False: 0]
  |  Branch (6827:31): [True: 0, False: 0]
  ------------------
 6828|      0|            requireExtensions(getCurrentLoc(), 1, &E_GL_ARB_compute_shader, "compute shaders");
 6829|      0|        break;
 6830|      0|    case EShLangTask:
  ------------------
  |  Branch (6830:5): [True: 0, False: 15]
  ------------------
 6831|      0|        requireExtensions(getCurrentLoc(), Num_AEP_mesh_shader, AEP_mesh_shader, "task shaders");
 6832|      0|        break;
 6833|      0|    case EShLangMesh:
  ------------------
  |  Branch (6833:5): [True: 0, False: 15]
  ------------------
 6834|      0|        requireExtensions(getCurrentLoc(), Num_AEP_mesh_shader, AEP_mesh_shader, "mesh shaders");
 6835|      0|        break;
 6836|      5|    default:
  ------------------
  |  Branch (6836:5): [True: 5, False: 10]
  ------------------
 6837|      5|        break;
 6838|     15|    }
 6839|       |
 6840|     15|    if (intermediate.IsRequestedExtension(E_GL_KHR_compute_shader_derivatives) &&
  ------------------
  |  Branch (6840:9): [True: 0, False: 15]
  ------------------
 6841|      0|        !khrDerivativeLayoutQualifierSpecified) {
  ------------------
  |  Branch (6841:9): [True: 0, False: 0]
  ------------------
 6842|      0|        error(getCurrentLoc(), "requires one of derivative_group_quadsKHR or derivative_group_linearKHR layout qualifiers",
 6843|      0|              E_GL_KHR_compute_shader_derivatives, "");
 6844|      0|    }
 6845|       |
 6846|     15|    if (intermediate.getLayoutDerivativeModeNone() == LayoutDerivativeGroupQuads) {
  ------------------
  |  Branch (6846:9): [True: 0, False: 15]
  ------------------
 6847|      0|        if ((intermediate.getLocalSizeSpecId(0) == TQualifier::layoutNotSet && (intermediate.getLocalSize(0) & 1)) ||
  ------------------
  |  Branch (6847:14): [True: 0, False: 0]
  |  Branch (6847:80): [True: 0, False: 0]
  ------------------
 6848|      0|            (intermediate.getLocalSizeSpecId(1) == TQualifier::layoutNotSet && (intermediate.getLocalSize(1) & 1)))
  ------------------
  |  Branch (6848:14): [True: 0, False: 0]
  |  Branch (6848:80): [True: 0, False: 0]
  ------------------
 6849|      0|            error(getCurrentLoc(), "requires local_size_x and local_size_y to be multiple of two", "derivative_group_quads", "");
 6850|     15|    } else if (intermediate.getLayoutDerivativeModeNone() == LayoutDerivativeGroupLinear) {
  ------------------
  |  Branch (6850:16): [True: 0, False: 15]
  ------------------
 6851|      0|        if (intermediate.getLocalSizeSpecId(0) == TQualifier::layoutNotSet &&
  ------------------
  |  Branch (6851:13): [True: 0, False: 0]
  ------------------
 6852|      0|            intermediate.getLocalSizeSpecId(1) == TQualifier::layoutNotSet &&
  ------------------
  |  Branch (6852:13): [True: 0, False: 0]
  ------------------
 6853|      0|            intermediate.getLocalSizeSpecId(2) == TQualifier::layoutNotSet &&
  ------------------
  |  Branch (6853:13): [True: 0, False: 0]
  ------------------
 6854|      0|            (intermediate.getLocalSize(0) *
  ------------------
  |  Branch (6854:13): [True: 0, False: 0]
  ------------------
 6855|      0|             intermediate.getLocalSize(1) *
 6856|      0|             intermediate.getLocalSize(2)) % 4 != 0)
 6857|      0|            error(getCurrentLoc(), "requires total group size to be multiple of four", "derivative_group_linear", "");
 6858|      0|    }
 6859|       |
 6860|       |    // Set default outputs for GL_NV_geometry_shader_passthrough
 6861|     15|    if (language == EShLangGeometry && extensionTurnedOn(E_SPV_NV_geometry_shader_passthrough)) {
  ------------------
  |  Branch (6861:9): [True: 1, False: 14]
  |  Branch (6861:40): [True: 0, False: 1]
  ------------------
 6862|      0|        if (intermediate.getOutputPrimitive() == ElgNone) {
  ------------------
  |  Branch (6862:13): [True: 0, False: 0]
  ------------------
 6863|      0|            switch (intermediate.getInputPrimitive()) {
 6864|      0|            case ElgPoints:      intermediate.setOutputPrimitive(ElgPoints);    break;
  ------------------
  |  Branch (6864:13): [True: 0, False: 0]
  ------------------
 6865|      0|            case ElgLines:       intermediate.setOutputPrimitive(ElgLineStrip); break;
  ------------------
  |  Branch (6865:13): [True: 0, False: 0]
  ------------------
 6866|      0|            case ElgTriangles:   intermediate.setOutputPrimitive(ElgTriangleStrip); break;
  ------------------
  |  Branch (6866:13): [True: 0, False: 0]
  ------------------
 6867|      0|            default: break;
  ------------------
  |  Branch (6867:13): [True: 0, False: 0]
  ------------------
 6868|      0|            }
 6869|      0|        }
 6870|      0|        if (intermediate.getVertices() == TQualifier::layoutNotSet) {
  ------------------
  |  Branch (6870:13): [True: 0, False: 0]
  ------------------
 6871|      0|            switch (intermediate.getInputPrimitive()) {
 6872|      0|            case ElgPoints:      intermediate.setVertices(1); break;
  ------------------
  |  Branch (6872:13): [True: 0, False: 0]
  ------------------
 6873|      0|            case ElgLines:       intermediate.setVertices(2); break;
  ------------------
  |  Branch (6873:13): [True: 0, False: 0]
  ------------------
 6874|      0|            case ElgTriangles:   intermediate.setVertices(3); break;
  ------------------
  |  Branch (6874:13): [True: 0, False: 0]
  ------------------
 6875|      0|            default: break;
  ------------------
  |  Branch (6875:13): [True: 0, False: 0]
  ------------------
 6876|      0|            }
 6877|      0|        }
 6878|      0|    }
 6879|     15|}
_ZN7glslang13TParseContext18setLayoutQualifierERKNS_10TSourceLocERNS_11TPublicTypeERNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 6888|     66|{
 6889|     66|    std::transform(id.begin(), id.end(), id.begin(), ::tolower);
 6890|       |
 6891|     66|    if (id == TQualifier::getLayoutMatrixString(ElmColumnMajor)) {
  ------------------
  |  Branch (6891:9): [True: 0, False: 66]
  ------------------
 6892|      0|        publicType.qualifier.layoutMatrix = ElmColumnMajor;
 6893|      0|        return;
 6894|      0|    }
 6895|     66|    if (id == TQualifier::getLayoutMatrixString(ElmRowMajor)) {
  ------------------
  |  Branch (6895:9): [True: 0, False: 66]
  ------------------
 6896|      0|        publicType.qualifier.layoutMatrix = ElmRowMajor;
 6897|      0|        return;
 6898|      0|    }
 6899|     66|    if (id == TQualifier::getLayoutPackingString(ElpPacked)) {
  ------------------
  |  Branch (6899:9): [True: 0, False: 66]
  ------------------
 6900|      0|        if (spvVersion.spv != 0) {
  ------------------
  |  Branch (6900:13): [True: 0, False: 0]
  ------------------
 6901|      0|            if (spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (6901:17): [True: 0, False: 0]
  ------------------
 6902|      0|                return; // silently ignore qualifier
 6903|      0|            else
 6904|      0|                spvRemoved(loc, "packed");
 6905|      0|        }
 6906|      0|        publicType.qualifier.layoutPacking = ElpPacked;
 6907|      0|        return;
 6908|      0|    }
 6909|     66|    if (id == TQualifier::getLayoutPackingString(ElpShared)) {
  ------------------
  |  Branch (6909:9): [True: 0, False: 66]
  ------------------
 6910|      0|        if (spvVersion.spv != 0) {
  ------------------
  |  Branch (6910:13): [True: 0, False: 0]
  ------------------
 6911|      0|            if (spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (6911:17): [True: 0, False: 0]
  ------------------
 6912|      0|                return; // silently ignore qualifier
 6913|      0|            else
 6914|      0|                spvRemoved(loc, "shared");
 6915|      0|        }
 6916|      0|        publicType.qualifier.layoutPacking = ElpShared;
 6917|      0|        return;
 6918|      0|    }
 6919|     66|    if (id == TQualifier::getLayoutPackingString(ElpStd140)) {
  ------------------
  |  Branch (6919:9): [True: 0, False: 66]
  ------------------
 6920|      0|        publicType.qualifier.layoutPacking = ElpStd140;
 6921|      0|        return;
 6922|      0|    }
 6923|     66|    if (id == TQualifier::getLayoutPackingString(ElpStd430)) {
  ------------------
  |  Branch (6923:9): [True: 0, False: 66]
  ------------------
 6924|      0|        requireProfile(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, "std430");
 6925|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 430, E_GL_ARB_shader_storage_buffer_object, "std430");
 6926|      0|        profileRequires(loc, EEsProfile, 310, nullptr, "std430");
 6927|      0|        publicType.qualifier.layoutPacking = ElpStd430;
 6928|      0|        return;
 6929|      0|    }
 6930|     66|    if (id == TQualifier::getLayoutPackingString(ElpScalar)) {
  ------------------
  |  Branch (6930:9): [True: 0, False: 66]
  ------------------
 6931|      0|        requireVulkan(loc, "scalar");
 6932|      0|        requireExtensions(loc, 1, &E_GL_EXT_scalar_block_layout, "scalar block layout");
 6933|      0|        publicType.qualifier.layoutPacking = ElpScalar;
 6934|      0|        return;
 6935|      0|    }
 6936|       |    // TODO: compile-time performance: may need to stop doing linear searches
 6937|    132|    for (TLayoutFormat format = (TLayoutFormat)(ElfNone + 1); format < ElfCount; format = (TLayoutFormat)(format + 1)) {
  ------------------
  |  Branch (6937:63): [True: 132, False: 0]
  ------------------
 6938|    132|        if (id == TQualifier::getLayoutFormatString(format)) {
  ------------------
  |  Branch (6938:13): [True: 66, False: 66]
  ------------------
 6939|     66|            if ((format > ElfEsFloatGuard && format < ElfFloatGuard) ||
  ------------------
  |  Branch (6939:18): [True: 0, False: 66]
  |  Branch (6939:46): [True: 0, False: 0]
  ------------------
 6940|     66|                (format > ElfEsIntGuard && format < ElfIntGuard) ||
  ------------------
  |  Branch (6940:18): [True: 0, False: 66]
  |  Branch (6940:44): [True: 0, False: 0]
  ------------------
 6941|     66|                (format > ElfEsUintGuard && format < ElfCount))
  ------------------
  |  Branch (6941:18): [True: 0, False: 66]
  |  Branch (6941:45): [True: 0, False: 0]
  ------------------
 6942|      0|                requireProfile(loc, ENoProfile | ECoreProfile | ECompatibilityProfile, "image load-store format");
 6943|     66|            profileRequires(loc, ENoProfile | ECoreProfile | ECompatibilityProfile, 420, E_GL_ARB_shader_image_load_store, "image load store");
 6944|     66|            profileRequires(loc, EEsProfile, 310, E_GL_ARB_shader_image_load_store, "image load store");
 6945|     66|            publicType.qualifier.layoutFormat = format;
 6946|     66|            return;
 6947|     66|        }
 6948|    132|    }
 6949|      0|    if (id == "descriptor_heap") {
  ------------------
  |  Branch (6949:9): [True: 0, False: 0]
  ------------------
 6950|      0|        requireExtensions(loc, 1, &E_GL_EXT_descriptor_heap, "descriptor_stride");
 6951|      0|        requireVulkan(loc, "descriptor_heap");
 6952|      0|        publicType.qualifier.layoutDescriptorHeap = true;
 6953|      0|        return;
 6954|      0|    }
 6955|      0|    if (id == "push_constant") {
  ------------------
  |  Branch (6955:9): [True: 0, False: 0]
  ------------------
 6956|      0|        requireVulkan(loc, "push_constant");
 6957|      0|        publicType.qualifier.layoutPushConstant = true;
 6958|      0|        return;
 6959|      0|    }
 6960|      0|    if (id == "buffer_reference") {
  ------------------
  |  Branch (6960:9): [True: 0, False: 0]
  ------------------
 6961|      0|        requireVulkan(loc, "buffer_reference");
 6962|      0|        requireExtensions(loc, 1, &E_GL_EXT_buffer_reference, "buffer_reference");
 6963|      0|        publicType.qualifier.layoutBufferReference = true;
 6964|      0|        intermediate.setUseStorageBuffer();
 6965|      0|        intermediate.setUsePhysicalStorageBuffer();
 6966|      0|        return;
 6967|      0|    }
 6968|      0|    if (id == "buffer_type") {
  ------------------
  |  Branch (6968:9): [True: 0, False: 0]
  ------------------
 6969|      0|        requireVulkan(loc, "buffer_type");
 6970|      0|        requireExtensions(loc, 1, &E_GL_EXT_structured_descriptor_heap, "buffer_type");
 6971|      0|        publicType.qualifier.layoutDescriptorBufferType = true;
 6972|      0|        return;
 6973|      0|    }
 6974|      0|    if (id == "bindless_sampler") {
  ------------------
  |  Branch (6974:9): [True: 0, False: 0]
  ------------------
 6975|      0|        requireExtensions(loc, 1, &E_GL_ARB_bindless_texture, "bindless_sampler");
 6976|      0|        publicType.qualifier.layoutBindlessSampler = true;
 6977|      0|        intermediate.setBindlessTextureMode(currentCaller, AstRefTypeLayout);
 6978|      0|        return;
 6979|      0|    }
 6980|      0|    if (id == "bindless_image") {
  ------------------
  |  Branch (6980:9): [True: 0, False: 0]
  ------------------
 6981|      0|        requireExtensions(loc, 1, &E_GL_ARB_bindless_texture, "bindless_image");
 6982|      0|        publicType.qualifier.layoutBindlessImage = true;
 6983|      0|        intermediate.setBindlessImageMode(currentCaller, AstRefTypeLayout);
 6984|      0|        return;
 6985|      0|    }
 6986|      0|    if (id == "bound_sampler") {
  ------------------
  |  Branch (6986:9): [True: 0, False: 0]
  ------------------
 6987|      0|        requireExtensions(loc, 1, &E_GL_ARB_bindless_texture, "bound_sampler");
 6988|      0|        publicType.qualifier.layoutBindlessSampler = false;
 6989|      0|        return;
 6990|      0|    }
 6991|      0|    if (id == "bound_image") {
  ------------------
  |  Branch (6991:9): [True: 0, False: 0]
  ------------------
 6992|      0|        requireExtensions(loc, 1, &E_GL_ARB_bindless_texture, "bound_image");
 6993|      0|        publicType.qualifier.layoutBindlessImage = false;
 6994|      0|        return;
 6995|      0|    }
 6996|      0|    if (language == EShLangGeometry || language == EShLangTessEvaluation || language == EShLangMesh) {
  ------------------
  |  Branch (6996:9): [True: 0, False: 0]
  |  Branch (6996:40): [True: 0, False: 0]
  |  Branch (6996:77): [True: 0, False: 0]
  ------------------
 6997|      0|        if (id == TQualifier::getGeometryString(ElgTriangles)) {
  ------------------
  |  Branch (6997:13): [True: 0, False: 0]
  ------------------
 6998|      0|            publicType.shaderQualifiers.geometry = ElgTriangles;
 6999|      0|            return;
 7000|      0|        }
 7001|      0|        if (language == EShLangGeometry || language == EShLangMesh) {
  ------------------
  |  Branch (7001:13): [True: 0, False: 0]
  |  Branch (7001:44): [True: 0, False: 0]
  ------------------
 7002|      0|            if (id == TQualifier::getGeometryString(ElgPoints)) {
  ------------------
  |  Branch (7002:17): [True: 0, False: 0]
  ------------------
 7003|      0|                publicType.shaderQualifiers.geometry = ElgPoints;
 7004|      0|                return;
 7005|      0|            }
 7006|      0|            if (id == TQualifier::getGeometryString(ElgLines)) {
  ------------------
  |  Branch (7006:17): [True: 0, False: 0]
  ------------------
 7007|      0|                publicType.shaderQualifiers.geometry = ElgLines;
 7008|      0|                return;
 7009|      0|            }
 7010|      0|            if (language == EShLangGeometry) {
  ------------------
  |  Branch (7010:17): [True: 0, False: 0]
  ------------------
 7011|      0|                if (id == TQualifier::getGeometryString(ElgLineStrip)) {
  ------------------
  |  Branch (7011:21): [True: 0, False: 0]
  ------------------
 7012|      0|                    publicType.shaderQualifiers.geometry = ElgLineStrip;
 7013|      0|                    return;
 7014|      0|                }
 7015|      0|                if (id == TQualifier::getGeometryString(ElgLinesAdjacency)) {
  ------------------
  |  Branch (7015:21): [True: 0, False: 0]
  ------------------
 7016|      0|                    publicType.shaderQualifiers.geometry = ElgLinesAdjacency;
 7017|      0|                    return;
 7018|      0|                }
 7019|      0|                if (id == TQualifier::getGeometryString(ElgTrianglesAdjacency)) {
  ------------------
  |  Branch (7019:21): [True: 0, False: 0]
  ------------------
 7020|      0|                    publicType.shaderQualifiers.geometry = ElgTrianglesAdjacency;
 7021|      0|                    return;
 7022|      0|                }
 7023|      0|                if (id == TQualifier::getGeometryString(ElgTriangleStrip)) {
  ------------------
  |  Branch (7023:21): [True: 0, False: 0]
  ------------------
 7024|      0|                    publicType.shaderQualifiers.geometry = ElgTriangleStrip;
 7025|      0|                    return;
 7026|      0|                }
 7027|      0|                if (id == "passthrough") {
  ------------------
  |  Branch (7027:21): [True: 0, False: 0]
  ------------------
 7028|      0|                    requireExtensions(loc, 1, &E_SPV_NV_geometry_shader_passthrough, "geometry shader passthrough");
 7029|      0|                    publicType.qualifier.layoutPassthrough = true;
 7030|      0|                    intermediate.setGeoPassthroughEXT();
 7031|      0|                    return;
 7032|      0|                }
 7033|      0|            }
 7034|      0|        } else {
 7035|      0|            assert(language == EShLangTessEvaluation);
 7036|       |
 7037|       |            // input primitive
 7038|      0|            if (id == TQualifier::getGeometryString(ElgTriangles)) {
  ------------------
  |  Branch (7038:17): [True: 0, False: 0]
  ------------------
 7039|      0|                publicType.shaderQualifiers.geometry = ElgTriangles;
 7040|      0|                return;
 7041|      0|            }
 7042|      0|            if (id == TQualifier::getGeometryString(ElgQuads)) {
  ------------------
  |  Branch (7042:17): [True: 0, False: 0]
  ------------------
 7043|      0|                publicType.shaderQualifiers.geometry = ElgQuads;
 7044|      0|                return;
 7045|      0|            }
 7046|      0|            if (id == TQualifier::getGeometryString(ElgIsolines)) {
  ------------------
  |  Branch (7046:17): [True: 0, False: 0]
  ------------------
 7047|      0|                publicType.shaderQualifiers.geometry = ElgIsolines;
 7048|      0|                return;
 7049|      0|            }
 7050|       |
 7051|       |            // vertex spacing
 7052|      0|            if (id == TQualifier::getVertexSpacingString(EvsEqual)) {
  ------------------
  |  Branch (7052:17): [True: 0, False: 0]
  ------------------
 7053|      0|                publicType.shaderQualifiers.spacing = EvsEqual;
 7054|      0|                return;
 7055|      0|            }
 7056|      0|            if (id == TQualifier::getVertexSpacingString(EvsFractionalEven)) {
  ------------------
  |  Branch (7056:17): [True: 0, False: 0]
  ------------------
 7057|      0|                publicType.shaderQualifiers.spacing = EvsFractionalEven;
 7058|      0|                return;
 7059|      0|            }
 7060|      0|            if (id == TQualifier::getVertexSpacingString(EvsFractionalOdd)) {
  ------------------
  |  Branch (7060:17): [True: 0, False: 0]
  ------------------
 7061|      0|                publicType.shaderQualifiers.spacing = EvsFractionalOdd;
 7062|      0|                return;
 7063|      0|            }
 7064|       |
 7065|       |            // triangle order
 7066|      0|            if (id == TQualifier::getVertexOrderString(EvoCw)) {
  ------------------
  |  Branch (7066:17): [True: 0, False: 0]
  ------------------
 7067|      0|                publicType.shaderQualifiers.order = EvoCw;
 7068|      0|                return;
 7069|      0|            }
 7070|      0|            if (id == TQualifier::getVertexOrderString(EvoCcw)) {
  ------------------
  |  Branch (7070:17): [True: 0, False: 0]
  ------------------
 7071|      0|                publicType.shaderQualifiers.order = EvoCcw;
 7072|      0|                return;
 7073|      0|            }
 7074|       |
 7075|       |            // point mode
 7076|      0|            if (id == "point_mode") {
  ------------------
  |  Branch (7076:17): [True: 0, False: 0]
  ------------------
 7077|      0|                publicType.shaderQualifiers.pointMode = true;
 7078|      0|                return;
 7079|      0|            }
 7080|      0|        }
 7081|      0|    }
 7082|      0|    if (language == EShLangFragment) {
  ------------------
  |  Branch (7082:9): [True: 0, False: 0]
  ------------------
 7083|      0|        if (id == "origin_upper_left") {
  ------------------
  |  Branch (7083:13): [True: 0, False: 0]
  ------------------
 7084|      0|            requireProfile(loc, ECoreProfile | ECompatibilityProfile | ENoProfile, "origin_upper_left");
 7085|      0|            if (profile == ENoProfile) {
  ------------------
  |  Branch (7085:17): [True: 0, False: 0]
  ------------------
 7086|      0|                profileRequires(loc,ECoreProfile | ECompatibilityProfile, 140, E_GL_ARB_fragment_coord_conventions, "origin_upper_left");
 7087|      0|            }
 7088|       |
 7089|      0|            publicType.shaderQualifiers.originUpperLeft = true;
 7090|      0|            return;
 7091|      0|        }
 7092|      0|        if (id == "pixel_center_integer") {
  ------------------
  |  Branch (7092:13): [True: 0, False: 0]
  ------------------
 7093|      0|            requireProfile(loc, ECoreProfile | ECompatibilityProfile | ENoProfile, "pixel_center_integer");
 7094|      0|            if (profile == ENoProfile) {
  ------------------
  |  Branch (7094:17): [True: 0, False: 0]
  ------------------
 7095|      0|                profileRequires(loc,ECoreProfile | ECompatibilityProfile, 140, E_GL_ARB_fragment_coord_conventions, "pixel_center_integer");
 7096|      0|            }
 7097|      0|            publicType.shaderQualifiers.pixelCenterInteger = true;
 7098|      0|            return;
 7099|      0|        }
 7100|      0|        if (id == "early_fragment_tests") {
  ------------------
  |  Branch (7100:13): [True: 0, False: 0]
  ------------------
 7101|      0|            profileRequires(loc, ENoProfile | ECoreProfile | ECompatibilityProfile, 420, E_GL_ARB_shader_image_load_store, "early_fragment_tests");
 7102|      0|            profileRequires(loc, EEsProfile, 310, nullptr, "early_fragment_tests");
 7103|      0|            publicType.shaderQualifiers.earlyFragmentTests = true;
 7104|      0|            return;
 7105|      0|        }
 7106|      0|        if (id == "early_and_late_fragment_tests_amd") {
  ------------------
  |  Branch (7106:13): [True: 0, False: 0]
  ------------------
 7107|      0|            profileRequires(loc, ENoProfile | ECoreProfile | ECompatibilityProfile, 420, E_GL_AMD_shader_early_and_late_fragment_tests, "early_and_late_fragment_tests_amd");
 7108|      0|            profileRequires(loc, EEsProfile, 310, nullptr, "early_and_late_fragment_tests_amd");
 7109|      0|            publicType.shaderQualifiers.earlyAndLateFragmentTestsAMD = true;
 7110|      0|            return;
 7111|      0|        }
 7112|      0|        if (id == "post_depth_coverage") {
  ------------------
  |  Branch (7112:13): [True: 0, False: 0]
  ------------------
 7113|      0|            requireExtensions(loc, Num_post_depth_coverageEXTs, post_depth_coverageEXTs, "post depth coverage");
 7114|      0|            if (extensionTurnedOn(E_GL_ARB_post_depth_coverage)) {
  ------------------
  |  Branch (7114:17): [True: 0, False: 0]
  ------------------
 7115|      0|                publicType.shaderQualifiers.earlyFragmentTests = true;
 7116|      0|            }
 7117|      0|            publicType.shaderQualifiers.postDepthCoverage = true;
 7118|      0|            return;
 7119|      0|        }
 7120|       |        /* id is transformed into lower case in the beginning of this function. */
 7121|      0|        if (id == "non_coherent_color_attachment_readext") {
  ------------------
  |  Branch (7121:13): [True: 0, False: 0]
  ------------------
 7122|      0|            requireExtensions(loc, 1, &E_GL_EXT_shader_tile_image, "non_coherent_color_attachment_readEXT");
 7123|      0|            publicType.shaderQualifiers.nonCoherentColorAttachmentReadEXT = true;
 7124|      0|            return;
 7125|      0|        }
 7126|      0|        if (id == "non_coherent_depth_attachment_readext") {
  ------------------
  |  Branch (7126:13): [True: 0, False: 0]
  ------------------
 7127|      0|            requireExtensions(loc, 1, &E_GL_EXT_shader_tile_image, "non_coherent_depth_attachment_readEXT");
 7128|      0|            publicType.shaderQualifiers.nonCoherentDepthAttachmentReadEXT = true;
 7129|      0|            return;
 7130|      0|        }
 7131|      0|        if (id == "non_coherent_stencil_attachment_readext") {
  ------------------
  |  Branch (7131:13): [True: 0, False: 0]
  ------------------
 7132|      0|            requireExtensions(loc, 1, &E_GL_EXT_shader_tile_image, "non_coherent_stencil_attachment_readEXT");
 7133|      0|            publicType.shaderQualifiers.nonCoherentStencilAttachmentReadEXT = true;
 7134|      0|            return;
 7135|      0|        }
 7136|      0|        for (TLayoutDepth depth = (TLayoutDepth)(EldNone + 1); depth < EldCount; depth = (TLayoutDepth)(depth+1)) {
  ------------------
  |  Branch (7136:64): [True: 0, False: 0]
  ------------------
 7137|      0|            if (id == TQualifier::getLayoutDepthString(depth)) {
  ------------------
  |  Branch (7137:17): [True: 0, False: 0]
  ------------------
 7138|      0|                const char* feature = "depth layout qualifier";
 7139|      0|                requireProfile(loc, ECoreProfile | ECompatibilityProfile | EEsProfile, feature);
 7140|      0|                profileRequires(loc, ECoreProfile | ECompatibilityProfile, 420, E_GL_ARB_conservative_depth, feature);
 7141|      0|                profileRequires(loc, EEsProfile, 0, E_GL_EXT_conservative_depth, feature);
 7142|      0|                publicType.shaderQualifiers.layoutDepth = depth;
 7143|      0|                return;
 7144|      0|            }
 7145|      0|        }
 7146|      0|        for (TLayoutStencil stencil = (TLayoutStencil)(ElsNone + 1); stencil < ElsCount; stencil = (TLayoutStencil)(stencil+1)) {
  ------------------
  |  Branch (7146:70): [True: 0, False: 0]
  ------------------
 7147|      0|            if (id == TQualifier::getLayoutStencilString(stencil)) {
  ------------------
  |  Branch (7147:17): [True: 0, False: 0]
  ------------------
 7148|      0|                requireProfile(loc, ECoreProfile | ECompatibilityProfile, "stencil layout qualifier");
 7149|      0|                profileRequires(loc, ECoreProfile | ECompatibilityProfile, 420, nullptr, "stencil layout qualifier");
 7150|      0|                publicType.shaderQualifiers.layoutStencil = stencil;
 7151|      0|                return;
 7152|      0|            }
 7153|      0|        }
 7154|      0|        for (TInterlockOrdering order = (TInterlockOrdering)(EioNone + 1); order < EioCount; order = (TInterlockOrdering)(order+1)) {
  ------------------
  |  Branch (7154:76): [True: 0, False: 0]
  ------------------
 7155|      0|            if (id == TQualifier::getInterlockOrderingString(order)) {
  ------------------
  |  Branch (7155:17): [True: 0, False: 0]
  ------------------
 7156|      0|                requireProfile(loc, ECoreProfile | ECompatibilityProfile, "fragment shader interlock layout qualifier");
 7157|      0|                profileRequires(loc, ECoreProfile | ECompatibilityProfile, 450, nullptr, "fragment shader interlock layout qualifier");
 7158|      0|                requireExtensions(loc, 1, &E_GL_ARB_fragment_shader_interlock, TQualifier::getInterlockOrderingString(order));
 7159|      0|                if (order == EioShadingRateInterlockOrdered || order == EioShadingRateInterlockUnordered)
  ------------------
  |  Branch (7159:21): [True: 0, False: 0]
  |  Branch (7159:64): [True: 0, False: 0]
  ------------------
 7160|      0|                    requireExtensions(loc, 1, &E_GL_NV_shading_rate_image, TQualifier::getInterlockOrderingString(order));
 7161|      0|                publicType.shaderQualifiers.interlockOrdering = order;
 7162|      0|                return;
 7163|      0|            }
 7164|      0|        }
 7165|      0|        if (id.compare(0, 13, "blend_support") == 0) {
  ------------------
  |  Branch (7165:13): [True: 0, False: 0]
  ------------------
 7166|      0|            bool found = false;
 7167|      0|            for (TBlendEquationShift be = (TBlendEquationShift)0; be < EBlendCount; be = (TBlendEquationShift)(be + 1)) {
  ------------------
  |  Branch (7167:67): [True: 0, False: 0]
  ------------------
 7168|      0|                if (id == TQualifier::getBlendEquationString(be)) {
  ------------------
  |  Branch (7168:21): [True: 0, False: 0]
  ------------------
 7169|      0|                    profileRequires(loc, EEsProfile, 320, E_GL_KHR_blend_equation_advanced, "blend equation");
 7170|      0|                    profileRequires(loc, ~EEsProfile, 0, E_GL_KHR_blend_equation_advanced, "blend equation");
 7171|      0|                    intermediate.addBlendEquation(be);
 7172|      0|                    publicType.shaderQualifiers.blendEquation = true;
 7173|      0|                    found = true;
 7174|      0|                    break;
 7175|      0|                }
 7176|      0|            }
 7177|      0|            if (! found)
  ------------------
  |  Branch (7177:17): [True: 0, False: 0]
  ------------------
 7178|      0|                error(loc, "unknown blend equation", "blend_support", "");
 7179|      0|            return;
 7180|      0|        }
 7181|      0|        if (id == "override_coverage") {
  ------------------
  |  Branch (7181:13): [True: 0, False: 0]
  ------------------
 7182|      0|            requireExtensions(loc, 1, &E_GL_NV_sample_mask_override_coverage, "sample mask override coverage");
 7183|      0|            publicType.shaderQualifiers.layoutOverrideCoverage = true;
 7184|      0|            return;
 7185|      0|        }
 7186|      0|        if (id == "full_quads")
  ------------------
  |  Branch (7186:13): [True: 0, False: 0]
  ------------------
 7187|      0|        {
 7188|      0|            const char* feature = "full_quads qualifier";
 7189|      0|            requireProfile(loc, ECompatibilityProfile | ECoreProfile | EEsProfile, feature);
 7190|      0|            profileRequires(loc, ECoreProfile | ECompatibilityProfile, 140, E_GL_EXT_shader_quad_control, feature);
 7191|      0|            profileRequires(loc, EEsProfile, 310, E_GL_EXT_shader_quad_control, feature);
 7192|      0|            publicType.qualifier.layoutFullQuads = true;
 7193|      0|            return;
 7194|      0|        }
 7195|      0|        if (id == "non_coherent_attachment_readqcom") {
  ------------------
  |  Branch (7195:13): [True: 0, False: 0]
  ------------------
 7196|      0|            requireExtensions(loc, 1, &E_GL_QCOM_tile_shading, "tile shading QCOM");
 7197|      0|            publicType.shaderQualifiers.layoutNonCoherentTileAttachmentReadQCOM = true;
 7198|      0|            return;
 7199|      0|        }
 7200|      0|        if (id == "tile_attachmentqcom") {
  ------------------
  |  Branch (7200:13): [True: 0, False: 0]
  ------------------
 7201|      0|            requireExtensions(loc, 1, &E_GL_QCOM_tile_shading, "tile shading QCOM");
 7202|      0|            publicType.qualifier.layoutTileAttachmentQCOM = true;
 7203|      0|            return;
 7204|      0|        }
 7205|      0|    }
 7206|      0|    if (language == EShLangVertex ||
  ------------------
  |  Branch (7206:9): [True: 0, False: 0]
  ------------------
 7207|      0|        language == EShLangTessControl ||
  ------------------
  |  Branch (7207:9): [True: 0, False: 0]
  ------------------
 7208|      0|        language == EShLangTessEvaluation ||
  ------------------
  |  Branch (7208:9): [True: 0, False: 0]
  ------------------
 7209|      0|        language == EShLangGeometry ) {
  ------------------
  |  Branch (7209:9): [True: 0, False: 0]
  ------------------
 7210|      0|        if (id == "viewport_relative") {
  ------------------
  |  Branch (7210:13): [True: 0, False: 0]
  ------------------
 7211|      0|            requireExtensions(loc, 1, &E_GL_NV_viewport_array2, "view port array2");
 7212|      0|            publicType.qualifier.layoutViewportRelative = true;
 7213|      0|            return;
 7214|      0|        }
 7215|      0|    } else {
 7216|      0|        if (language == EShLangRayGen || language == EShLangIntersect ||
  ------------------
  |  Branch (7216:13): [True: 0, False: 0]
  |  Branch (7216:42): [True: 0, False: 0]
  ------------------
 7217|      0|        language == EShLangAnyHit || language == EShLangClosestHit ||
  ------------------
  |  Branch (7217:9): [True: 0, False: 0]
  |  Branch (7217:38): [True: 0, False: 0]
  ------------------
 7218|      0|        language == EShLangMiss || language == EShLangCallable) {
  ------------------
  |  Branch (7218:9): [True: 0, False: 0]
  |  Branch (7218:36): [True: 0, False: 0]
  ------------------
 7219|      0|            if (id == "shaderrecordnv" || id == "shaderrecordext") {
  ------------------
  |  Branch (7219:17): [True: 0, False: 0]
  |  Branch (7219:43): [True: 0, False: 0]
  ------------------
 7220|      0|                if (id == "shaderrecordnv") {
  ------------------
  |  Branch (7220:21): [True: 0, False: 0]
  ------------------
 7221|      0|                    requireExtensions(loc, 1, &E_GL_NV_ray_tracing, "shader record NV");
 7222|      0|                } else {
 7223|      0|                    requireExtensions(loc, 1, &E_GL_EXT_ray_tracing, "shader record EXT");
 7224|      0|                }
 7225|      0|                publicType.qualifier.layoutShaderRecord = true;
 7226|      0|                return;
 7227|      0|            } else if (id == "hitobjectshaderrecordnv") {
  ------------------
  |  Branch (7227:24): [True: 0, False: 0]
  ------------------
 7228|      0|                requireExtensions(loc, 1, &E_GL_NV_shader_invocation_reorder, "hitobject shader record NV");
 7229|      0|                publicType.qualifier.layoutHitObjectShaderRecordNV = true;
 7230|      0|                return;
 7231|      0|            } else if (id == "hitobjectshaderrecordext") {
  ------------------
  |  Branch (7231:24): [True: 0, False: 0]
  ------------------
 7232|      0|                requireExtensions(loc, 1, &E_GL_EXT_shader_invocation_reorder, "hitobject shader record EXT");
 7233|      0|                publicType.qualifier.layoutHitObjectShaderRecordEXT = true;
 7234|      0|                return;
 7235|      0|            }
 7236|       |
 7237|      0|        }
 7238|      0|    }
 7239|      0|    if (language == EShLangCompute || language == EShLangTask || language == EShLangMesh) {
  ------------------
  |  Branch (7239:9): [True: 0, False: 0]
  |  Branch (7239:39): [True: 0, False: 0]
  |  Branch (7239:66): [True: 0, False: 0]
  ------------------
 7240|      0|        if (id.compare(0, 17, "derivative_group_") == 0) {
  ------------------
  |  Branch (7240:13): [True: 0, False: 0]
  ------------------
 7241|      0|            if (id == "derivative_group_quadsnv" || id == "derivative_group_linearnv") {
  ------------------
  |  Branch (7241:17): [True: 0, False: 0]
  |  Branch (7241:53): [True: 0, False: 0]
  ------------------
 7242|      0|                requireExtensions(loc, 1, &E_GL_NV_compute_shader_derivatives, "compute shader derivatives");
 7243|      0|                if (language != EShLangCompute) {
  ------------------
  |  Branch (7243:21): [True: 0, False: 0]
  ------------------
 7244|      0|                    error(loc, "can only apply to compute shaders", id.c_str(), "");
 7245|      0|                    return;
 7246|      0|                }
 7247|      0|            } else if (id == "derivative_group_quadskhr" || id == "derivative_group_linearkhr") {
  ------------------
  |  Branch (7247:24): [True: 0, False: 0]
  |  Branch (7247:61): [True: 0, False: 0]
  ------------------
 7248|      0|                requireExtensions(loc, 1, &E_GL_KHR_compute_shader_derivatives, "compute shader derivatives");
 7249|      0|                khrDerivativeLayoutQualifierSpecified = true;
 7250|      0|            }
 7251|      0|            if (id == "derivative_group_quadsnv" || id == "derivative_group_quadskhr") {
  ------------------
  |  Branch (7251:17): [True: 0, False: 0]
  |  Branch (7251:53): [True: 0, False: 0]
  ------------------
 7252|      0|                publicType.shaderQualifiers.layoutDerivativeGroupQuads = true;
 7253|      0|                publicType.shaderQualifiers.derivativeGroupExtension =
 7254|      0|                    id == "derivative_group_quadsnv" ? EdgNV : EdgKHR;
  ------------------
  |  Branch (7254:21): [True: 0, False: 0]
  ------------------
 7255|      0|                return;
 7256|      0|            } else if (id == "derivative_group_linearnv" || id == "derivative_group_linearkhr") {
  ------------------
  |  Branch (7256:24): [True: 0, False: 0]
  |  Branch (7256:61): [True: 0, False: 0]
  ------------------
 7257|      0|                publicType.shaderQualifiers.layoutDerivativeGroupLinear = true;
 7258|      0|                publicType.shaderQualifiers.derivativeGroupExtension =
 7259|      0|                    id == "derivative_group_linearnv" ? EdgNV : EdgKHR;
  ------------------
  |  Branch (7259:21): [True: 0, False: 0]
  ------------------
 7260|      0|                return;
 7261|      0|            }
 7262|      0|        }
 7263|      0|    }
 7264|      0|    if (language == EShLangCompute) {
  ------------------
  |  Branch (7264:9): [True: 0, False: 0]
  ------------------
 7265|      0|        if (id == "tile_attachmentqcom") {
  ------------------
  |  Branch (7265:13): [True: 0, False: 0]
  ------------------
 7266|      0|            requireExtensions(loc, 1, &E_GL_QCOM_tile_shading, "tile shading QCOM");
 7267|      0|            publicType.qualifier.layoutTileAttachmentQCOM = true;
 7268|      0|            return;
 7269|      0|        }
 7270|      0|    }
 7271|       |
 7272|      0|    if (id == "primitive_culling") {
  ------------------
  |  Branch (7272:9): [True: 0, False: 0]
  ------------------
 7273|      0|        requireExtensions(loc, 1, &E_GL_EXT_ray_flags_primitive_culling, "primitive culling");
 7274|      0|        publicType.shaderQualifiers.layoutPrimitiveCulling = true;
 7275|      0|        return;
 7276|      0|    }
 7277|       |
 7278|      0|    if (id == "quad_derivatives")
  ------------------
  |  Branch (7278:9): [True: 0, False: 0]
  ------------------
 7279|      0|    {
 7280|      0|        const char* feature = "quad_derivatives qualifier";
 7281|      0|        requireProfile(loc, ECompatibilityProfile | ECoreProfile | EEsProfile, feature);
 7282|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 140, E_GL_EXT_shader_quad_control, feature);
 7283|      0|        profileRequires(loc, EEsProfile, 310, E_GL_EXT_shader_quad_control, feature);
 7284|      0|        publicType.qualifier.layoutQuadDeriv = true;
 7285|      0|        return;
 7286|      0|    }
 7287|       |
 7288|      0|    error(loc, "unrecognized layout identifier, or qualifier requires assignment (e.g., binding = 4)", id.c_str(), "");
 7289|      0|}
_ZN7glslang13TParseContext18setLayoutQualifierERKNS_10TSourceLocERNS_11TPublicTypeERNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEEPKNS_12TIntermTypedE:
 7294|    612|{
 7295|    612|    const char* feature = "layout-id value";
 7296|    612|    const char* nonLiteralFeature = "non-literal layout-id value";
 7297|       |
 7298|    612|    if (id != "heap_offset" && !node->getQualifier().isConstant())
  ------------------
  |  Branch (7298:9): [True: 612, False: 0]
  |  Branch (7298:32): [True: 0, False: 612]
  ------------------
 7299|      0|        error(loc, "constant expression required", "", "");
 7300|       |
 7301|    612|    integerCheck(node, feature);
 7302|    612|    const TIntermConstantUnion* constUnion = node->getAsConstantUnion();
 7303|    612|    int value;
 7304|    612|    bool nonLiteral = false;
 7305|    612|    if (constUnion) {
  ------------------
  |  Branch (7305:9): [True: 612, False: 0]
  ------------------
 7306|    612|        value = constUnion->getConstArray()[0].getIConst();
 7307|    612|        if (! constUnion->isLiteral()) {
  ------------------
  |  Branch (7307:13): [True: 0, False: 612]
  ------------------
 7308|      0|            requireProfile(loc, ECoreProfile | ECompatibilityProfile, nonLiteralFeature);
 7309|      0|            profileRequires(loc, ECoreProfile | ECompatibilityProfile, 440, E_GL_ARB_enhanced_layouts, nonLiteralFeature);
 7310|      0|        }
 7311|    612|    } else {
 7312|       |        // grammar should have give out the error message
 7313|      0|        value = 0;
 7314|      0|        nonLiteral = true;
 7315|      0|    }
 7316|       |
 7317|    612|    if (value < 0) {
  ------------------
  |  Branch (7317:9): [True: 0, False: 612]
  ------------------
 7318|      0|        error(loc, "cannot be negative", feature, "");
 7319|      0|        return;
 7320|      0|    }
 7321|       |
 7322|    612|    std::transform(id.begin(), id.end(), id.begin(), ::tolower);
 7323|       |
 7324|    612|    if (id == "offset") {
  ------------------
  |  Branch (7324:9): [True: 0, False: 612]
  ------------------
 7325|       |        // "offset" can be for either
 7326|       |        //  - uniform offsets
 7327|       |        //  - atomic_uint offsets
 7328|      0|        const char* feature = "offset";
 7329|      0|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (7329:13): [True: 0, False: 0]
  ------------------
 7330|      0|            requireProfile(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, feature);
 7331|      0|            const char* exts[2] = { E_GL_ARB_enhanced_layouts, E_GL_ARB_shader_atomic_counters };
 7332|      0|            profileRequires(loc, ECoreProfile | ECompatibilityProfile, 420, 2, exts, feature);
 7333|      0|            profileRequires(loc, EEsProfile, 310, nullptr, feature);
 7334|      0|        }
 7335|      0|        publicType.qualifier.layoutOffset = value;
 7336|      0|        publicType.qualifier.explicitOffset = true;
 7337|      0|        if (nonLiteral)
  ------------------
  |  Branch (7337:13): [True: 0, False: 0]
  ------------------
 7338|      0|            error(loc, "needs a literal integer", "offset", "");
 7339|      0|        return;
 7340|    612|    } else if (id == "align") {
  ------------------
  |  Branch (7340:16): [True: 0, False: 612]
  ------------------
 7341|      0|        const char* feature = "uniform buffer-member align";
 7342|      0|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (7342:13): [True: 0, False: 0]
  ------------------
 7343|      0|            requireProfile(loc, ECoreProfile | ECompatibilityProfile, feature);
 7344|      0|            profileRequires(loc, ECoreProfile | ECompatibilityProfile, 440, E_GL_ARB_enhanced_layouts, feature);
 7345|      0|        }
 7346|       |        // "The specified alignment must be a power of 2, or a compile-time error results."
 7347|      0|        if (! IsPow2(value))
  ------------------
  |  Branch (7347:13): [True: 0, False: 0]
  ------------------
 7348|      0|            error(loc, "must be a power of 2", "align", "");
 7349|      0|        else
 7350|      0|            publicType.qualifier.layoutAlign = value;
 7351|      0|        if (nonLiteral)
  ------------------
  |  Branch (7351:13): [True: 0, False: 0]
  ------------------
 7352|      0|            error(loc, "needs a literal integer", "align", "");
 7353|      0|        return;
 7354|    612|    } else if (id == "location") {
  ------------------
  |  Branch (7354:16): [True: 72, False: 540]
  ------------------
 7355|     72|        profileRequires(loc, EEsProfile, 300, nullptr, "location");
 7356|     72|        const char* exts[2] = { E_GL_ARB_separate_shader_objects, E_GL_ARB_explicit_attrib_location };
 7357|       |        // GL_ARB_explicit_uniform_location requires 330 or GL_ARB_explicit_attrib_location we do not need to add it here
 7358|     72|        profileRequires(loc, ~EEsProfile, 330, 2, exts, "location");
 7359|     72|        if ((unsigned int)value >= TQualifier::layoutLocationEnd)
  ------------------
  |  Branch (7359:13): [True: 0, False: 72]
  ------------------
 7360|      0|            error(loc, "location is too large", id.c_str(), "");
 7361|     72|        else
 7362|     72|            publicType.qualifier.layoutLocation = value;
 7363|     72|        if (nonLiteral)
  ------------------
  |  Branch (7363:13): [True: 0, False: 72]
  ------------------
 7364|      0|            error(loc, "needs a literal integer", "location", "");
 7365|     72|        return;
 7366|    540|    } else if (id == "set") {
  ------------------
  |  Branch (7366:16): [True: 264, False: 276]
  ------------------
 7367|    264|        if (!relaxSetBindingLimits() && value >= static_cast<int>(TQualifier::layoutSetEnd))
  ------------------
  |  Branch (7367:13): [True: 264, False: 0]
  |  Branch (7367:41): [True: 0, False: 264]
  ------------------
 7368|      0|            error(loc, "set is too large", id.c_str(), "");
 7369|    264|        else
 7370|    264|            publicType.qualifier.layoutSet = value;
 7371|    264|        if (value != 0)
  ------------------
  |  Branch (7371:13): [True: 156, False: 108]
  ------------------
 7372|    156|            requireVulkan(loc, "descriptor set");
 7373|    264|        if (nonLiteral)
  ------------------
  |  Branch (7373:13): [True: 0, False: 264]
  ------------------
 7374|      0|            error(loc, "needs a literal integer", "set", "");
 7375|    264|        return;
 7376|    276|    } else if (id == "binding") {
  ------------------
  |  Branch (7376:16): [True: 264, False: 12]
  ------------------
 7377|    264|        profileRequires(loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, "binding");
 7378|    264|        profileRequires(loc, EEsProfile, 310, nullptr, "binding");
 7379|    264|        if (!relaxSetBindingLimits() && value >= static_cast<int>(TQualifier::layoutBindingEnd))
  ------------------
  |  Branch (7379:13): [True: 264, False: 0]
  |  Branch (7379:41): [True: 0, False: 264]
  ------------------
 7380|      0|            error(loc, "binding is too large", id.c_str(), "");
 7381|    264|        else
 7382|    264|            publicType.qualifier.layoutBinding = value;
 7383|    264|        if (nonLiteral)
  ------------------
  |  Branch (7383:13): [True: 0, False: 264]
  ------------------
 7384|      0|            error(loc, "needs a literal integer", "binding", "");
 7385|    264|        return;
 7386|    264|    }
 7387|     12|    if (id == "constant_id") {
  ------------------
  |  Branch (7387:9): [True: 0, False: 12]
  ------------------
 7388|      0|        requireSpv(loc, "constant_id");
 7389|      0|        if ((unsigned)value >= TQualifier::layoutSpecConstantIdEnd) {
  ------------------
  |  Branch (7389:13): [True: 0, False: 0]
  ------------------
 7390|      0|            error(loc, "specialization-constant id is too large", id.c_str(), "");
 7391|      0|        } else {
 7392|      0|            publicType.qualifier.layoutSpecConstantId = value;
 7393|      0|            publicType.qualifier.specConstant = true;
 7394|      0|            if (! intermediate.addUsedConstantId(value))
  ------------------
  |  Branch (7394:17): [True: 0, False: 0]
  ------------------
 7395|      0|                error(loc, "specialization-constant id already used", id.c_str(), "");
 7396|      0|        }
 7397|      0|        if (nonLiteral)
  ------------------
  |  Branch (7397:13): [True: 0, False: 0]
  ------------------
 7398|      0|            error(loc, "needs a literal integer", "constant_id", "");
 7399|      0|        return;
 7400|      0|    }
 7401|     12|    if (id == "component") {
  ------------------
  |  Branch (7401:9): [True: 0, False: 12]
  ------------------
 7402|      0|        requireProfile(loc, ECoreProfile | ECompatibilityProfile, "component");
 7403|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 440, E_GL_ARB_enhanced_layouts, "component");
 7404|      0|        if ((unsigned)value >= TQualifier::layoutComponentEnd)
  ------------------
  |  Branch (7404:13): [True: 0, False: 0]
  ------------------
 7405|      0|            error(loc, "component is too large", id.c_str(), "");
 7406|      0|        else
 7407|      0|            publicType.qualifier.layoutComponent = value;
 7408|      0|        if (nonLiteral)
  ------------------
  |  Branch (7408:13): [True: 0, False: 0]
  ------------------
 7409|      0|            error(loc, "needs a literal integer", "component", "");
 7410|      0|        return;
 7411|      0|    }
 7412|     12|    if (id.compare(0, 4, "xfb_") == 0) {
  ------------------
  |  Branch (7412:9): [True: 0, False: 12]
  ------------------
 7413|       |        // "Any shader making any static use (after preprocessing) of any of these
 7414|       |        // *xfb_* qualifiers will cause the shader to be in a transform feedback
 7415|       |        // capturing mode and hence responsible for describing the transform feedback
 7416|       |        // setup."
 7417|      0|        intermediate.setXfbMode();
 7418|      0|        const char* feature = "transform feedback qualifier";
 7419|      0|        requireStage(loc, (EShLanguageMask)(EShLangVertexMask | EShLangGeometryMask | EShLangTessControlMask | EShLangTessEvaluationMask), feature);
 7420|      0|        requireProfile(loc, ECoreProfile | ECompatibilityProfile, feature);
 7421|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 440, E_GL_ARB_enhanced_layouts, feature);
 7422|      0|        if (id == "xfb_buffer") {
  ------------------
  |  Branch (7422:13): [True: 0, False: 0]
  ------------------
 7423|       |            // "It is a compile-time error to specify an *xfb_buffer* that is greater than
 7424|       |            // the implementation-dependent constant gl_MaxTransformFeedbackBuffers."
 7425|      0|            if (value >= resources.maxTransformFeedbackBuffers)
  ------------------
  |  Branch (7425:17): [True: 0, False: 0]
  ------------------
 7426|      0|                error(loc, "buffer is too large:", id.c_str(), "gl_MaxTransformFeedbackBuffers is %d", resources.maxTransformFeedbackBuffers);
 7427|      0|            if (value >= (int)TQualifier::layoutXfbBufferEnd)
  ------------------
  |  Branch (7427:17): [True: 0, False: 0]
  ------------------
 7428|      0|                error(loc, "buffer is too large:", id.c_str(), "internal max is %d", TQualifier::layoutXfbBufferEnd-1);
 7429|      0|            else
 7430|      0|                publicType.qualifier.layoutXfbBuffer = value;
 7431|      0|            if (nonLiteral)
  ------------------
  |  Branch (7431:17): [True: 0, False: 0]
  ------------------
 7432|      0|                error(loc, "needs a literal integer", "xfb_buffer", "");
 7433|      0|            return;
 7434|      0|        } else if (id == "xfb_offset") {
  ------------------
  |  Branch (7434:20): [True: 0, False: 0]
  ------------------
 7435|      0|            if (value >= (int)TQualifier::layoutXfbOffsetEnd)
  ------------------
  |  Branch (7435:17): [True: 0, False: 0]
  ------------------
 7436|      0|                error(loc, "offset is too large:", id.c_str(), "internal max is %d", TQualifier::layoutXfbOffsetEnd-1);
 7437|      0|            else
 7438|      0|                publicType.qualifier.layoutXfbOffset = value;
 7439|      0|            if (nonLiteral)
  ------------------
  |  Branch (7439:17): [True: 0, False: 0]
  ------------------
 7440|      0|                error(loc, "needs a literal integer", "xfb_offset", "");
 7441|      0|            return;
 7442|      0|        } else if (id == "xfb_stride") {
  ------------------
  |  Branch (7442:20): [True: 0, False: 0]
  ------------------
 7443|       |            // "The resulting stride (implicit or explicit), when divided by 4, must be less than or equal to the
 7444|       |            // implementation-dependent constant gl_MaxTransformFeedbackInterleavedComponents."
 7445|      0|            if (value > 4 * resources.maxTransformFeedbackInterleavedComponents) {
  ------------------
  |  Branch (7445:17): [True: 0, False: 0]
  ------------------
 7446|      0|                error(loc, "1/4 stride is too large:", id.c_str(), "gl_MaxTransformFeedbackInterleavedComponents is %d",
 7447|      0|                    resources.maxTransformFeedbackInterleavedComponents);
 7448|      0|            }
 7449|      0|            if (value >= (int)TQualifier::layoutXfbStrideEnd)
  ------------------
  |  Branch (7449:17): [True: 0, False: 0]
  ------------------
 7450|      0|                error(loc, "stride is too large:", id.c_str(), "internal max is %d", TQualifier::layoutXfbStrideEnd-1);
 7451|      0|            else
 7452|      0|                publicType.qualifier.layoutXfbStride = value;
 7453|      0|            if (nonLiteral)
  ------------------
  |  Branch (7453:17): [True: 0, False: 0]
  ------------------
 7454|      0|                error(loc, "needs a literal integer", "xfb_stride", "");
 7455|      0|            return;
 7456|      0|        }
 7457|      0|    }
 7458|     12|    if (id == "input_attachment_index") {
  ------------------
  |  Branch (7458:9): [True: 12, False: 0]
  ------------------
 7459|     12|        requireVulkan(loc, "input_attachment_index");
 7460|     12|        if (value >= (int)TQualifier::layoutAttachmentEnd)
  ------------------
  |  Branch (7460:13): [True: 0, False: 12]
  ------------------
 7461|      0|            error(loc, "attachment index is too large", id.c_str(), "");
 7462|     12|        else
 7463|     12|            publicType.qualifier.layoutAttachment = value;
 7464|     12|        if (nonLiteral)
  ------------------
  |  Branch (7464:13): [True: 0, False: 12]
  ------------------
 7465|      0|            error(loc, "needs a literal integer", "input_attachment_index", "");
 7466|     12|        return;
 7467|     12|    }
 7468|      0|    if (id == "num_views") {
  ------------------
  |  Branch (7468:9): [True: 0, False: 0]
  ------------------
 7469|      0|        requireExtensions(loc, Num_OVR_multiview_EXTs, OVR_multiview_EXTs, "num_views");
 7470|      0|        publicType.shaderQualifiers.numViews = value;
 7471|      0|        if (nonLiteral)
  ------------------
  |  Branch (7471:13): [True: 0, False: 0]
  ------------------
 7472|      0|            error(loc, "needs a literal integer", "num_views", "");
 7473|      0|        return;
 7474|      0|    }
 7475|      0|    if (language == EShLangVertex ||
  ------------------
  |  Branch (7475:9): [True: 0, False: 0]
  ------------------
 7476|      0|        language == EShLangTessControl ||
  ------------------
  |  Branch (7476:9): [True: 0, False: 0]
  ------------------
 7477|      0|        language == EShLangTessEvaluation ||
  ------------------
  |  Branch (7477:9): [True: 0, False: 0]
  ------------------
 7478|      0|        language == EShLangGeometry) {
  ------------------
  |  Branch (7478:9): [True: 0, False: 0]
  ------------------
 7479|      0|        if (id == "secondary_view_offset") {
  ------------------
  |  Branch (7479:13): [True: 0, False: 0]
  ------------------
 7480|      0|            requireExtensions(loc, 1, &E_GL_NV_stereo_view_rendering, "stereo view rendering");
 7481|      0|            publicType.qualifier.layoutSecondaryViewportRelativeOffset = value;
 7482|      0|            if (nonLiteral)
  ------------------
  |  Branch (7482:17): [True: 0, False: 0]
  ------------------
 7483|      0|                error(loc, "needs a literal integer", "secondary_view_offset", "");
 7484|      0|            return;
 7485|      0|        }
 7486|      0|    }
 7487|       |
 7488|      0|    if (id == "buffer_reference_align") {
  ------------------
  |  Branch (7488:9): [True: 0, False: 0]
  ------------------
 7489|      0|        requireExtensions(loc, 1, &E_GL_EXT_buffer_reference, "buffer_reference_align");
 7490|      0|        if (! IsPow2(value))
  ------------------
  |  Branch (7490:13): [True: 0, False: 0]
  ------------------
 7491|      0|            error(loc, "must be a power of 2", "buffer_reference_align", "");
 7492|      0|        else
 7493|      0|            publicType.qualifier.layoutBufferReferenceAlign = IntLog2(value);
 7494|      0|        if (nonLiteral)
  ------------------
  |  Branch (7494:13): [True: 0, False: 0]
  ------------------
 7495|      0|            error(loc, "needs a literal integer", "buffer_reference_align", "");
 7496|      0|        return;
 7497|      0|    }
 7498|       |
 7499|      0|    if (id == "bank") {
  ------------------
  |  Branch (7499:9): [True: 0, False: 0]
  ------------------
 7500|      0|        requireExtensions(loc, 1, &E_GL_NV_push_constant_bank, "bank");
 7501|      0|        if (nonLiteral)
  ------------------
  |  Branch (7501:13): [True: 0, False: 0]
  ------------------
 7502|      0|            error(loc, "needs a literal integer", id.c_str(), "");
 7503|      0|        else if (value < 0 || (unsigned int)value >= TQualifier::layoutBankEnd)
  ------------------
  |  Branch (7503:18): [True: 0, False: 0]
  |  Branch (7503:31): [True: 0, False: 0]
  ------------------
 7504|      0|            error(loc, "bank out of range", id.c_str(), "");
 7505|      0|        else
 7506|      0|            publicType.qualifier.layoutBank = value;
 7507|      0|        return;
 7508|      0|    }
 7509|      0|    if (id == "member_offset") {
  ------------------
  |  Branch (7509:9): [True: 0, False: 0]
  ------------------
 7510|      0|        requireExtensions(loc, 1, &E_GL_NV_push_constant_bank, "member_offset");
 7511|      0|        if (nonLiteral)
  ------------------
  |  Branch (7511:13): [True: 0, False: 0]
  ------------------
 7512|      0|            error(loc, "needs a literal integer", id.c_str(), "");
 7513|      0|        else if (value < 0)
  ------------------
  |  Branch (7513:18): [True: 0, False: 0]
  ------------------
 7514|      0|            error(loc, "must be equal or greater than 0", id.c_str(), "");
 7515|      0|        else
 7516|      0|            publicType.qualifier.layoutMemberOffset = value;
 7517|      0|        return;
 7518|      0|    }
 7519|       |
 7520|      0|    if (id == "descriptor_stride") {
  ------------------
  |  Branch (7520:9): [True: 0, False: 0]
  ------------------
 7521|      0|        requireExtensions(loc, 1, &E_GL_EXT_descriptor_heap, "descriptor_stride");
 7522|      0|        requireVulkan(loc, "descriptor_stride");
 7523|      0|        if (!IsPow2(value))
  ------------------
  |  Branch (7523:13): [True: 0, False: 0]
  ------------------
 7524|      0|            error(loc, "must be a power of 2", "descriptor_stride", "");
 7525|      0|        else
 7526|      0|            publicType.qualifier.layoutDescriptorStride = uint32_t(value);
 7527|      0|        return;
 7528|      0|    }
 7529|       |
 7530|      0|    if (id == "descriptor_size") {
  ------------------
  |  Branch (7530:9): [True: 0, False: 0]
  ------------------
 7531|      0|        requireExtensions(loc, 1, &E_GL_EXT_descriptor_heap, "descriptor_size");
 7532|      0|        requireExtensions(loc, 1, &E_GL_EXT_structured_descriptor_heap, "descriptor_size");
 7533|      0|        requireVulkan(loc, "descriptor_size");
 7534|      0|        if (nonLiteral)
  ------------------
  |  Branch (7534:13): [True: 0, False: 0]
  ------------------
 7535|      0|            error(loc, "needs a literal integer", "descriptor_size", "");
 7536|      0|        else
 7537|      0|            publicType.qualifier.layoutDescriptorSize = uint32_t(value);
 7538|      0|        return;
 7539|      0|    }
 7540|       |
 7541|      0|    if (id == "heap_offset") {
  ------------------
  |  Branch (7541:9): [True: 0, False: 0]
  ------------------
 7542|      0|        requireExtensions(loc, 1, &E_GL_EXT_descriptor_heap, "heap_offset");
 7543|      0|        requireExtensions(loc, 1, &E_GL_EXT_structured_descriptor_heap, "heap_offset");
 7544|      0|        requireVulkan(loc, "heap_offset");
 7545|      0|        if (nonLiteral) {
  ------------------
  |  Branch (7545:13): [True: 0, False: 0]
  ------------------
 7546|      0|            if (!node->getQualifier().isConstant() && !node->getQualifier().isUniform() &&
  ------------------
  |  Branch (7546:17): [True: 0, False: 0]
  |  Branch (7546:55): [True: 0, False: 0]
  ------------------
 7547|      0|                !node->getQualifier().isReadOnly()) {
  ------------------
  |  Branch (7547:17): [True: 0, False: 0]
  ------------------
 7548|      0|                error(loc, "must be a literal or read-only variable value", "heap_offset", "");
 7549|      0|                return;
 7550|      0|            }
 7551|      0|            publicType.qualifier.layoutHeapOffsetNode = const_cast<TIntermTyped*>(node);
 7552|      0|        } else {
 7553|      0|            publicType.qualifier.layoutHeapOffset = uint32_t(value);
 7554|      0|        }
 7555|      0|        return;
 7556|      0|    }
 7557|       |
 7558|      0|    switch (language) {
 7559|      0|    case EShLangTessControl:
  ------------------
  |  Branch (7559:5): [True: 0, False: 0]
  ------------------
 7560|      0|        if (id == "vertices") {
  ------------------
  |  Branch (7560:13): [True: 0, False: 0]
  ------------------
 7561|      0|            if (value == 0)
  ------------------
  |  Branch (7561:17): [True: 0, False: 0]
  ------------------
 7562|      0|                error(loc, "must be greater than 0", "vertices", "");
 7563|      0|            else
 7564|      0|                publicType.shaderQualifiers.vertices = value;
 7565|      0|            if (nonLiteral)
  ------------------
  |  Branch (7565:17): [True: 0, False: 0]
  ------------------
 7566|      0|                error(loc, "needs a literal integer", "vertices", "");
 7567|      0|            return;
 7568|      0|        }
 7569|      0|        break;
 7570|       |
 7571|      0|    case EShLangGeometry:
  ------------------
  |  Branch (7571:5): [True: 0, False: 0]
  ------------------
 7572|      0|        if (id == "invocations") {
  ------------------
  |  Branch (7572:13): [True: 0, False: 0]
  ------------------
 7573|      0|            profileRequires(loc, ECompatibilityProfile | ECoreProfile, 400,
 7574|      0|                Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5, "invocations");
 7575|       |
 7576|      0|            if (value == 0)
  ------------------
  |  Branch (7576:17): [True: 0, False: 0]
  ------------------
 7577|      0|                error(loc, "must be at least 1", "invocations", "");
 7578|      0|            else
 7579|      0|                publicType.shaderQualifiers.invocations = value;
 7580|      0|            if (nonLiteral)
  ------------------
  |  Branch (7580:17): [True: 0, False: 0]
  ------------------
 7581|      0|                error(loc, "needs a literal integer", "invocations", "");
 7582|      0|            return;
 7583|      0|        }
 7584|      0|        if (id == "max_vertices") {
  ------------------
  |  Branch (7584:13): [True: 0, False: 0]
  ------------------
 7585|      0|            publicType.shaderQualifiers.vertices = value;
 7586|      0|            if (value > resources.maxGeometryOutputVertices)
  ------------------
  |  Branch (7586:17): [True: 0, False: 0]
  ------------------
 7587|      0|                error(loc, "too large, must be less than gl_MaxGeometryOutputVertices", "max_vertices", "");
 7588|      0|            if (nonLiteral)
  ------------------
  |  Branch (7588:17): [True: 0, False: 0]
  ------------------
 7589|      0|                error(loc, "needs a literal integer", "max_vertices", "");
 7590|      0|            return;
 7591|      0|        }
 7592|      0|        if (id == "stream") {
  ------------------
  |  Branch (7592:13): [True: 0, False: 0]
  ------------------
 7593|      0|            requireProfile(loc, ~EEsProfile, "selecting output stream");
 7594|      0|            publicType.qualifier.layoutStream = value;
 7595|      0|            if (value > 0)
  ------------------
  |  Branch (7595:17): [True: 0, False: 0]
  ------------------
 7596|      0|                intermediate.setMultiStream();
 7597|      0|            if (nonLiteral)
  ------------------
  |  Branch (7597:17): [True: 0, False: 0]
  ------------------
 7598|      0|                error(loc, "needs a literal integer", "stream", "");
 7599|      0|            return;
 7600|      0|        }
 7601|      0|        break;
 7602|       |
 7603|      0|    case EShLangFragment:
  ------------------
  |  Branch (7603:5): [True: 0, False: 0]
  ------------------
 7604|      0|        if (id == "index") {
  ------------------
  |  Branch (7604:13): [True: 0, False: 0]
  ------------------
 7605|      0|            requireProfile(loc, ECompatibilityProfile | ECoreProfile | EEsProfile, "index layout qualifier on fragment output");
 7606|      0|            const char* exts[2] = { E_GL_ARB_separate_shader_objects, E_GL_ARB_explicit_attrib_location };
 7607|      0|            profileRequires(loc, ECompatibilityProfile | ECoreProfile, 330, 2, exts, "index layout qualifier on fragment output");
 7608|      0|            profileRequires(loc, EEsProfile ,310, E_GL_EXT_blend_func_extended, "index layout qualifier on fragment output");
 7609|       |            // "It is also a compile-time error if a fragment shader sets a layout index to less than 0 or greater than 1."
 7610|      0|            if (value < 0 || value > 1) {
  ------------------
  |  Branch (7610:17): [True: 0, False: 0]
  |  Branch (7610:30): [True: 0, False: 0]
  ------------------
 7611|      0|                value = 0;
 7612|      0|                error(loc, "value must be 0 or 1", "index", "");
 7613|      0|            }
 7614|       |
 7615|      0|            publicType.qualifier.layoutIndex = value;
 7616|      0|            if (nonLiteral)
  ------------------
  |  Branch (7616:17): [True: 0, False: 0]
  ------------------
 7617|      0|                error(loc, "needs a literal integer", "index", "");
 7618|      0|            return;
 7619|      0|        }
 7620|      0|        break;
 7621|       |
 7622|      0|    case EShLangMesh:
  ------------------
  |  Branch (7622:5): [True: 0, False: 0]
  ------------------
 7623|      0|        if (id == "max_vertices") {
  ------------------
  |  Branch (7623:13): [True: 0, False: 0]
  ------------------
 7624|      0|            requireExtensions(loc, Num_AEP_mesh_shader, AEP_mesh_shader, "max_vertices");
 7625|      0|            publicType.shaderQualifiers.vertices = value;
 7626|      0|            int max = extensionTurnedOn(E_GL_EXT_mesh_shader) ? resources.maxMeshOutputVerticesEXT
  ------------------
  |  Branch (7626:23): [True: 0, False: 0]
  ------------------
 7627|      0|                                                              : resources.maxMeshOutputVerticesNV;
 7628|      0|            if (value > max) {
  ------------------
  |  Branch (7628:17): [True: 0, False: 0]
  ------------------
 7629|      0|                TString maxsErrtring = "too large, must be less than ";
 7630|      0|                maxsErrtring.append(extensionTurnedOn(E_GL_EXT_mesh_shader) ? "gl_MaxMeshOutputVerticesEXT"
  ------------------
  |  Branch (7630:37): [True: 0, False: 0]
  ------------------
 7631|      0|                                                                            : "gl_MaxMeshOutputVerticesNV");
 7632|      0|                error(loc, maxsErrtring.c_str(), "max_vertices", "");
 7633|      0|            }
 7634|      0|            if (nonLiteral)
  ------------------
  |  Branch (7634:17): [True: 0, False: 0]
  ------------------
 7635|      0|                error(loc, "needs a literal integer", "max_vertices", "");
 7636|      0|            return;
 7637|      0|        }
 7638|      0|        if (id == "max_primitives") {
  ------------------
  |  Branch (7638:13): [True: 0, False: 0]
  ------------------
 7639|      0|            requireExtensions(loc, Num_AEP_mesh_shader, AEP_mesh_shader, "max_primitives");
 7640|      0|            publicType.shaderQualifiers.primitives = value;
 7641|      0|            int max = extensionTurnedOn(E_GL_EXT_mesh_shader) ? resources.maxMeshOutputPrimitivesEXT
  ------------------
  |  Branch (7641:23): [True: 0, False: 0]
  ------------------
 7642|      0|                                                              : resources.maxMeshOutputPrimitivesNV;
 7643|      0|            if (value > max) {
  ------------------
  |  Branch (7643:17): [True: 0, False: 0]
  ------------------
 7644|      0|                TString maxsErrtring = "too large, must be less than ";
 7645|      0|                maxsErrtring.append(extensionTurnedOn(E_GL_EXT_mesh_shader) ? "gl_MaxMeshOutputPrimitivesEXT"
  ------------------
  |  Branch (7645:37): [True: 0, False: 0]
  ------------------
 7646|      0|                                                                            : "gl_MaxMeshOutputPrimitivesNV");
 7647|      0|                error(loc, maxsErrtring.c_str(), "max_primitives", "");
 7648|      0|            }
 7649|      0|            if (nonLiteral)
  ------------------
  |  Branch (7649:17): [True: 0, False: 0]
  ------------------
 7650|      0|                error(loc, "needs a literal integer", "max_primitives", "");
 7651|      0|            return;
 7652|      0|        }
 7653|      0|        [[fallthrough]];
 7654|       |
 7655|      0|    case EShLangTask:
  ------------------
  |  Branch (7655:5): [True: 0, False: 0]
  ------------------
 7656|       |        // Fall through
 7657|      0|    case EShLangCompute:
  ------------------
  |  Branch (7657:5): [True: 0, False: 0]
  ------------------
 7658|      0|        if (id.compare(0, 11, "local_size_") == 0) {
  ------------------
  |  Branch (7658:13): [True: 0, False: 0]
  ------------------
 7659|      0|            if (language == EShLangMesh || language == EShLangTask) {
  ------------------
  |  Branch (7659:17): [True: 0, False: 0]
  |  Branch (7659:44): [True: 0, False: 0]
  ------------------
 7660|      0|                requireExtensions(loc, Num_AEP_mesh_shader, AEP_mesh_shader, "gl_WorkGroupSize");
 7661|      0|            } else {
 7662|      0|                profileRequires(loc, EEsProfile, 310, nullptr, "gl_WorkGroupSize");
 7663|      0|                profileRequires(loc, ~EEsProfile, 430, E_GL_ARB_compute_shader, "gl_WorkGroupSize");
 7664|      0|            }
 7665|      0|            if (nonLiteral)
  ------------------
  |  Branch (7665:17): [True: 0, False: 0]
  ------------------
 7666|      0|                error(loc, "needs a literal integer", "local_size", "");
 7667|      0|            if (id.size() == 12 && value == 0) {
  ------------------
  |  Branch (7667:17): [True: 0, False: 0]
  |  Branch (7667:36): [True: 0, False: 0]
  ------------------
 7668|      0|                error(loc, "must be at least 1", id.c_str(), "");
 7669|      0|                return;
 7670|      0|            }
 7671|      0|            if (id == "local_size_x") {
  ------------------
  |  Branch (7671:17): [True: 0, False: 0]
  ------------------
 7672|      0|                publicType.shaderQualifiers.localSize[0] = value;
 7673|      0|                publicType.shaderQualifiers.localSizeNotDefault[0] = true;
 7674|      0|                return;
 7675|      0|            }
 7676|      0|            if (id == "local_size_y") {
  ------------------
  |  Branch (7676:17): [True: 0, False: 0]
  ------------------
 7677|      0|                publicType.shaderQualifiers.localSize[1] = value;
 7678|      0|                publicType.shaderQualifiers.localSizeNotDefault[1] = true;
 7679|      0|                return;
 7680|      0|            }
 7681|      0|            if (id == "local_size_z") {
  ------------------
  |  Branch (7681:17): [True: 0, False: 0]
  ------------------
 7682|      0|                publicType.shaderQualifiers.localSize[2] = value;
 7683|      0|                publicType.shaderQualifiers.localSizeNotDefault[2] = true;
 7684|      0|                return;
 7685|      0|            }
 7686|      0|            if (spvVersion.spv != 0) {
  ------------------
  |  Branch (7686:17): [True: 0, False: 0]
  ------------------
 7687|      0|                if (id == "local_size_x_id") {
  ------------------
  |  Branch (7687:21): [True: 0, False: 0]
  ------------------
 7688|      0|                    publicType.shaderQualifiers.localSizeSpecId[0] = value;
 7689|      0|                    return;
 7690|      0|                }
 7691|      0|                if (id == "local_size_y_id") {
  ------------------
  |  Branch (7691:21): [True: 0, False: 0]
  ------------------
 7692|      0|                    publicType.shaderQualifiers.localSizeSpecId[1] = value;
 7693|      0|                    return;
 7694|      0|                }
 7695|      0|                if (id == "local_size_z_id") {
  ------------------
  |  Branch (7695:21): [True: 0, False: 0]
  ------------------
 7696|      0|                    publicType.shaderQualifiers.localSizeSpecId[2] = value;
 7697|      0|                    return;
 7698|      0|                }
 7699|      0|            }
 7700|      0|        }
 7701|      0|        if (id.compare(0, 18, "shading_rate_xqcom") == 0 ||
  ------------------
  |  Branch (7701:13): [True: 0, False: 0]
  ------------------
 7702|      0|            id.compare(0, 18, "shading_rate_yqcom") == 0 ||
  ------------------
  |  Branch (7702:13): [True: 0, False: 0]
  ------------------
 7703|      0|            id.compare(0, 18, "shading_rate_zqcom") == 0) {
  ------------------
  |  Branch (7703:13): [True: 0, False: 0]
  ------------------
 7704|      0|            requireExtensions(loc, 1, &E_GL_QCOM_tile_shading, "tile shading QCOM");
 7705|      0|            if (nonLiteral)
  ------------------
  |  Branch (7705:17): [True: 0, False: 0]
  ------------------
 7706|      0|                error(loc, "needs a literal integer", "shading_rate_*QCOM", "");
 7707|      0|            if (id.size() == 18 && value == 0) {
  ------------------
  |  Branch (7707:17): [True: 0, False: 0]
  |  Branch (7707:36): [True: 0, False: 0]
  ------------------
 7708|      0|                error(loc, "must be at least 1", id.c_str(), "");
 7709|      0|                return;
 7710|      0|            }
 7711|      0|            if (id == "shading_rate_xqcom") {
  ------------------
  |  Branch (7711:17): [True: 0, False: 0]
  ------------------
 7712|      0|                publicType.shaderQualifiers.layoutTileShadingRateQCOM[0] = value;
 7713|      0|                publicType.shaderQualifiers.layoutTileShadingRateQCOMNotDefault[0] = true;
 7714|      0|                if (! IsPow2(value))
  ------------------
  |  Branch (7714:21): [True: 0, False: 0]
  ------------------
 7715|      0|                    error(loc, "must be a power of 2", id.c_str(), "");
 7716|      0|                return;
 7717|      0|            }
 7718|      0|            if (id == "shading_rate_yqcom") {
  ------------------
  |  Branch (7718:17): [True: 0, False: 0]
  ------------------
 7719|      0|                publicType.shaderQualifiers.layoutTileShadingRateQCOM[1] = value;
 7720|      0|                publicType.shaderQualifiers.layoutTileShadingRateQCOMNotDefault[1] = true;
 7721|      0|                if (! IsPow2(value))
  ------------------
  |  Branch (7721:21): [True: 0, False: 0]
  ------------------
 7722|      0|                    error(loc, "must be a power of 2", id.c_str(), "");
 7723|      0|                return;
 7724|      0|            }
 7725|      0|            if (id == "shading_rate_zqcom") {
  ------------------
  |  Branch (7725:17): [True: 0, False: 0]
  ------------------
 7726|      0|                publicType.shaderQualifiers.layoutTileShadingRateQCOM[2] = value;
 7727|      0|                publicType.shaderQualifiers.layoutTileShadingRateQCOMNotDefault[2] = true;
 7728|      0|                if (value <= 0)
  ------------------
  |  Branch (7728:21): [True: 0, False: 0]
  ------------------
 7729|      0|                    error(loc, "must be a positive value", id.c_str(), "");
 7730|      0|                return;
 7731|      0|            }
 7732|      0|        }
 7733|      0|        break;
 7734|       |
 7735|      0|    default:
  ------------------
  |  Branch (7735:5): [True: 0, False: 0]
  ------------------
 7736|      0|        break;
 7737|      0|    }
 7738|       |
 7739|      0|    error(loc, "there is no such layout identifier for this stage taking an assigned value", id.c_str(), "");
 7740|      0|}
_ZN7glslang13TParseContext27mergeObjectLayoutQualifiersERNS_10TQualifierERKS1_b:
 7757|   209k|{
 7758|   209k|    if (src.hasMatrix())
  ------------------
  |  Branch (7758:9): [True: 0, False: 209k]
  ------------------
 7759|      0|        dst.layoutMatrix = src.layoutMatrix;
 7760|   209k|    if (src.hasPacking())
  ------------------
  |  Branch (7760:9): [True: 0, False: 209k]
  ------------------
 7761|      0|        dst.layoutPacking = src.layoutPacking;
 7762|       |
 7763|   209k|    if (src.hasStream())
  ------------------
  |  Branch (7763:9): [True: 9, False: 209k]
  ------------------
 7764|      9|        dst.layoutStream = src.layoutStream;
 7765|   209k|    if (src.hasFormat())
  ------------------
  |  Branch (7765:9): [True: 132, False: 209k]
  ------------------
 7766|    132|        dst.layoutFormat = src.layoutFormat;
 7767|   209k|    if (src.hasXfbBuffer())
  ------------------
  |  Branch (7767:9): [True: 60, False: 209k]
  ------------------
 7768|     60|        dst.layoutXfbBuffer = src.layoutXfbBuffer;
 7769|   209k|    if (src.hasBufferReferenceAlign())
  ------------------
  |  Branch (7769:9): [True: 0, False: 209k]
  ------------------
 7770|      0|        dst.layoutBufferReferenceAlign = src.layoutBufferReferenceAlign;
 7771|       |
 7772|   209k|    if (src.hasAlign())
  ------------------
  |  Branch (7772:9): [True: 0, False: 209k]
  ------------------
 7773|      0|        dst.layoutAlign = src.layoutAlign;
 7774|       |
 7775|   209k|    if (! inheritOnly) {
  ------------------
  |  Branch (7775:9): [True: 209k, False: 196]
  ------------------
 7776|   209k|        if (src.hasLocation())
  ------------------
  |  Branch (7776:13): [True: 72, False: 209k]
  ------------------
 7777|     72|            dst.layoutLocation = src.layoutLocation;
 7778|   209k|        if (src.hasOffset())
  ------------------
  |  Branch (7778:13): [True: 0, False: 209k]
  ------------------
 7779|      0|            dst.layoutOffset = src.layoutOffset;
 7780|   209k|        if (src.hasSet())
  ------------------
  |  Branch (7780:13): [True: 264, False: 208k]
  ------------------
 7781|    264|            dst.layoutSet = src.layoutSet;
 7782|   209k|        if (src.hasBinding())
  ------------------
  |  Branch (7782:13): [True: 528, False: 208k]
  ------------------
 7783|    528|            dst.layoutBinding = src.layoutBinding;
 7784|       |
 7785|   209k|        if (src.hasSpecConstantId())
  ------------------
  |  Branch (7785:13): [True: 0, False: 209k]
  ------------------
 7786|      0|            dst.layoutSpecConstantId = src.layoutSpecConstantId;
 7787|       |
 7788|   209k|        if (src.hasComponent())
  ------------------
  |  Branch (7788:13): [True: 0, False: 209k]
  ------------------
 7789|      0|            dst.layoutComponent = src.layoutComponent;
 7790|   209k|        if (src.hasIndex())
  ------------------
  |  Branch (7790:13): [True: 0, False: 209k]
  ------------------
 7791|      0|            dst.layoutIndex = src.layoutIndex;
 7792|   209k|        if (src.hasXfbStride())
  ------------------
  |  Branch (7792:13): [True: 0, False: 209k]
  ------------------
 7793|      0|            dst.layoutXfbStride = src.layoutXfbStride;
 7794|   209k|        if (src.hasXfbOffset())
  ------------------
  |  Branch (7794:13): [True: 0, False: 209k]
  ------------------
 7795|      0|            dst.layoutXfbOffset = src.layoutXfbOffset;
 7796|   209k|        if (src.hasAttachment())
  ------------------
  |  Branch (7796:13): [True: 24, False: 209k]
  ------------------
 7797|     24|            dst.layoutAttachment = src.layoutAttachment;
 7798|   209k|        if (src.layoutDescriptorHeap)
  ------------------
  |  Branch (7798:13): [True: 0, False: 209k]
  ------------------
 7799|      0|            dst.layoutDescriptorHeap = true;
 7800|   209k|        if (src.descriptorHeapDescriptorNode)
  ------------------
  |  Branch (7800:13): [True: 0, False: 209k]
  ------------------
 7801|      0|            dst.descriptorHeapDescriptorNode = true;
 7802|   209k|        if (src.layoutDescriptorStride != TQualifier::layoutDescriptorStrideEnd)
  ------------------
  |  Branch (7802:13): [True: 0, False: 209k]
  ------------------
 7803|      0|            dst.layoutDescriptorStride = src.layoutDescriptorStride;
 7804|   209k|        if (src.layoutDescriptorSize != TQualifier::layoutDescriptorSizeEnd)
  ------------------
  |  Branch (7804:13): [True: 0, False: 209k]
  ------------------
 7805|      0|            dst.layoutDescriptorSize = src.layoutDescriptorSize;
 7806|   209k|        if (src.layoutHeapOffset != 0)
  ------------------
  |  Branch (7806:13): [True: 0, False: 209k]
  ------------------
 7807|      0|            dst.layoutHeapOffset = src.layoutHeapOffset;
 7808|   209k|        if (src.layoutHeapOffsetNode != nullptr)
  ------------------
  |  Branch (7808:13): [True: 0, False: 209k]
  ------------------
 7809|      0|            dst.layoutHeapOffsetNode = src.layoutHeapOffsetNode;
 7810|   209k|        if (src.layoutPushConstant)
  ------------------
  |  Branch (7810:13): [True: 0, False: 209k]
  ------------------
 7811|      0|            dst.layoutPushConstant = true;
 7812|       |
 7813|   209k|        if (src.layoutBufferReference)
  ------------------
  |  Branch (7813:13): [True: 0, False: 209k]
  ------------------
 7814|      0|            dst.layoutBufferReference = true;
 7815|   209k|        if (src.layoutDescriptorBufferType)
  ------------------
  |  Branch (7815:13): [True: 0, False: 209k]
  ------------------
 7816|      0|            dst.layoutDescriptorBufferType = true;
 7817|       |
 7818|   209k|        if (src.layoutPassthrough)
  ------------------
  |  Branch (7818:13): [True: 0, False: 209k]
  ------------------
 7819|      0|            dst.layoutPassthrough = true;
 7820|   209k|        if (src.layoutViewportRelative)
  ------------------
  |  Branch (7820:13): [True: 0, False: 209k]
  ------------------
 7821|      0|            dst.layoutViewportRelative = true;
 7822|   209k|        if (src.layoutSecondaryViewportRelativeOffset != -2048)
  ------------------
  |  Branch (7822:13): [True: 0, False: 209k]
  ------------------
 7823|      0|            dst.layoutSecondaryViewportRelativeOffset = src.layoutSecondaryViewportRelativeOffset;
 7824|   209k|        if (src.layoutShaderRecord)
  ------------------
  |  Branch (7824:13): [True: 0, False: 209k]
  ------------------
 7825|      0|            dst.layoutShaderRecord = true;
 7826|   209k|        if (src.layoutFullQuads)
  ------------------
  |  Branch (7826:13): [True: 0, False: 209k]
  ------------------
 7827|      0|            dst.layoutFullQuads = true;
 7828|   209k|        if (src.layoutQuadDeriv)
  ------------------
  |  Branch (7828:13): [True: 0, False: 209k]
  ------------------
 7829|      0|            dst.layoutQuadDeriv = true;
 7830|   209k|        if (src.layoutBindlessSampler)
  ------------------
  |  Branch (7830:13): [True: 0, False: 209k]
  ------------------
 7831|      0|            dst.layoutBindlessSampler = true;
 7832|   209k|        if (src.layoutBindlessImage)
  ------------------
  |  Branch (7832:13): [True: 0, False: 209k]
  ------------------
 7833|      0|            dst.layoutBindlessImage = true;
 7834|   209k|        if (src.pervertexNV)
  ------------------
  |  Branch (7834:13): [True: 0, False: 209k]
  ------------------
 7835|      0|            dst.pervertexNV = true;
 7836|   209k|        if (src.pervertexEXT)
  ------------------
  |  Branch (7836:13): [True: 0, False: 209k]
  ------------------
 7837|      0|            dst.pervertexEXT = true;
 7838|   209k|        if (src.layoutHitObjectShaderRecordNV)
  ------------------
  |  Branch (7838:13): [True: 0, False: 209k]
  ------------------
 7839|      0|            dst.layoutHitObjectShaderRecordNV = true;
 7840|   209k|        dst.layoutTileAttachmentQCOM |= src.layoutTileAttachmentQCOM;
 7841|   209k|        if (src.layoutHitObjectShaderRecordEXT)
  ------------------
  |  Branch (7841:13): [True: 0, False: 209k]
  ------------------
 7842|      0|            dst.layoutHitObjectShaderRecordEXT = true;
 7843|   209k|        if (src.hasBank())
  ------------------
  |  Branch (7843:13): [True: 0, False: 209k]
  ------------------
 7844|      0|            dst.layoutBank = src.layoutBank;
 7845|   209k|        if (src.hasMemberOffset())
  ------------------
  |  Branch (7845:13): [True: 0, False: 209k]
  ------------------
 7846|      0|            dst.layoutMemberOffset = src.layoutMemberOffset;
 7847|   209k|    }
 7848|   209k|}
_ZN7glslang13TParseContext17layoutObjectCheckERKNS_10TSourceLocERKNS_7TSymbolE:
 7852|  16.8k|{
 7853|  16.8k|    const TType& type = symbol.getType();
 7854|  16.8k|    const TQualifier& qualifier = type.getQualifier();
 7855|       |
 7856|       |    // first, cross check WRT to just the type
 7857|  16.8k|    layoutTypeCheck(loc, type);
 7858|       |
 7859|       |    // now, any remaining error checking based on the object itself
 7860|       |
 7861|  16.8k|    if (qualifier.hasAnyLocation()) {
  ------------------
  |  Branch (7861:9): [True: 72, False: 16.7k]
  ------------------
 7862|     72|        switch (qualifier.storage) {
 7863|      0|        case EvqUniform:
  ------------------
  |  Branch (7863:9): [True: 0, False: 72]
  ------------------
 7864|      0|        case EvqBuffer:
  ------------------
  |  Branch (7864:9): [True: 0, False: 72]
  ------------------
 7865|      0|            if (symbol.getAsVariable() == nullptr)
  ------------------
  |  Branch (7865:17): [True: 0, False: 0]
  ------------------
 7866|      0|                error(loc, "can only be used on variable declaration", "location", "");
 7867|      0|            break;
 7868|     72|        default:
  ------------------
  |  Branch (7868:9): [True: 72, False: 0]
  ------------------
 7869|     72|            break;
 7870|     72|        }
 7871|     72|    }
 7872|       |
 7873|       |    // user-variable location check, which are required for SPIR-V in/out:
 7874|       |    //  - variables have it directly,
 7875|       |    //  - blocks have it on each member (already enforced), so check first one
 7876|  16.8k|    if (spvVersion.spv > 0 && !parsingBuiltins && qualifier.builtIn == EbvNone &&
  ------------------
  |  Branch (7876:9): [True: 16.8k, False: 0]
  |  Branch (7876:31): [True: 600, False: 16.2k]
  |  Branch (7876:51): [True: 600, False: 0]
  ------------------
 7877|    600|        !qualifier.hasLocation() && !intermediate.getAutoMapLocations()) {
  ------------------
  |  Branch (7877:9): [True: 528, False: 72]
  |  Branch (7877:37): [True: 176, False: 352]
  ------------------
 7878|       |
 7879|    176|        switch (qualifier.storage) {
 7880|      0|        case EvqVaryingIn:
  ------------------
  |  Branch (7880:9): [True: 0, False: 176]
  ------------------
 7881|      0|        case EvqVaryingOut:
  ------------------
  |  Branch (7881:9): [True: 0, False: 176]
  ------------------
 7882|      0|            if (!type.getQualifier().isTaskMemory() && !type.getQualifier().hasSpirvDecorate() &&
  ------------------
  |  Branch (7882:17): [True: 0, False: 0]
  |  Branch (7882:56): [True: 0, False: 0]
  ------------------
 7883|      0|                (type.getBasicType() != EbtBlock ||
  ------------------
  |  Branch (7883:18): [True: 0, False: 0]
  ------------------
 7884|      0|                 (type.getStruct()->size() > 0 &&
  ------------------
  |  Branch (7884:19): [True: 0, False: 0]
  ------------------
 7885|      0|                  !(*type.getStruct())[0].type->getQualifier().hasLocation() &&
  ------------------
  |  Branch (7885:19): [True: 0, False: 0]
  ------------------
 7886|      0|                   (*type.getStruct())[0].type->getQualifier().builtIn == EbvNone)))
  ------------------
  |  Branch (7886:20): [True: 0, False: 0]
  ------------------
 7887|      0|                error(loc, "SPIR-V requires location for user input/output", "location", "");
 7888|      0|            break;
 7889|    176|        default:
  ------------------
  |  Branch (7889:9): [True: 176, False: 0]
  ------------------
 7890|    176|            break;
 7891|    176|        }
 7892|    176|    }
 7893|       |
 7894|       |    // Check packing and matrix
 7895|  16.8k|    if (qualifier.hasUniformLayout()) {
  ------------------
  |  Branch (7895:9): [True: 264, False: 16.5k]
  ------------------
 7896|    264|        switch (qualifier.storage) {
 7897|    264|        case EvqUniform:
  ------------------
  |  Branch (7897:9): [True: 264, False: 0]
  ------------------
 7898|    264|        case EvqBuffer:
  ------------------
  |  Branch (7898:9): [True: 0, False: 264]
  ------------------
 7899|    264|            if (type.getBasicType() != EbtBlock) {
  ------------------
  |  Branch (7899:17): [True: 264, False: 0]
  ------------------
 7900|    264|                if (qualifier.hasMatrix())
  ------------------
  |  Branch (7900:21): [True: 0, False: 264]
  ------------------
 7901|      0|                    error(loc, "cannot specify matrix layout on a variable declaration", "layout", "");
 7902|    264|                if (qualifier.hasPacking())
  ------------------
  |  Branch (7902:21): [True: 0, False: 264]
  ------------------
 7903|      0|                    error(loc, "cannot specify packing on a variable declaration", "layout", "");
 7904|       |                // "The offset qualifier can only be used on block members of blocks..."
 7905|    264|                if (qualifier.hasOffset() && !type.isAtomic())
  ------------------
  |  Branch (7905:21): [True: 0, False: 264]
  |  Branch (7905:46): [True: 0, False: 0]
  ------------------
 7906|      0|                    error(loc, "cannot specify on a variable declaration", "offset", "");
 7907|       |                // "The align qualifier can only be used on blocks or block members..."
 7908|    264|                if (qualifier.hasAlign())
  ------------------
  |  Branch (7908:21): [True: 0, False: 264]
  ------------------
 7909|      0|                    error(loc, "cannot specify on a variable declaration", "align", "");
 7910|    264|                if (qualifier.isPushConstant())
  ------------------
  |  Branch (7910:21): [True: 0, False: 264]
  ------------------
 7911|      0|                    error(loc, "can only specify on a uniform block", "push_constant", "");
 7912|    264|                if (qualifier.isShaderRecord())
  ------------------
  |  Branch (7912:21): [True: 0, False: 264]
  ------------------
 7913|      0|                    error(loc, "can only specify on a buffer block", "shaderRecordNV", "");
 7914|    264|                if (qualifier.hasLocation() && type.isAtomic())
  ------------------
  |  Branch (7914:21): [True: 0, False: 264]
  |  Branch (7914:48): [True: 0, False: 0]
  ------------------
 7915|      0|                    error(loc, "cannot specify on atomic counter", "location", "");
 7916|    264|            }
 7917|    264|            break;
 7918|      0|        default:
  ------------------
  |  Branch (7918:9): [True: 0, False: 264]
  ------------------
 7919|       |            // these were already filtered by layoutTypeCheck() (or its callees)
 7920|      0|            break;
 7921|    264|        }
 7922|    264|    }
 7923|       |
 7924|       |    // Check that an in/out variable or block doesn't contain a boolean member
 7925|       |    // Don't enforce if redeclaring a builtin, which are allowed to contain bool
 7926|  16.8k|    if (!parsingBuiltins && type.containsBasicType(EbtBool) && !builtInName(symbol.getName())) {
  ------------------
  |  Branch (7926:9): [True: 600, False: 16.2k]
  |  Branch (7926:29): [True: 0, False: 600]
  |  Branch (7926:64): [True: 0, False: 0]
  ------------------
 7927|      0|        switch(qualifier.storage) {
 7928|      0|        case EvqVaryingIn:
  ------------------
  |  Branch (7928:9): [True: 0, False: 0]
  ------------------
 7929|      0|        case EvqVaryingOut:
  ------------------
  |  Branch (7929:9): [True: 0, False: 0]
  ------------------
 7930|      0|        {
 7931|      0|            const char *reason = type.getBasicType() == EbtBool ? "cannot be bool" : "cannot contain bool";
  ------------------
  |  Branch (7931:34): [True: 0, False: 0]
  ------------------
 7932|      0|            error(loc, reason, GetStorageQualifierString(qualifier.storage), "");
 7933|      0|            break;
 7934|      0|        }
 7935|      0|        default:
  ------------------
  |  Branch (7935:9): [True: 0, False: 0]
  ------------------
 7936|      0|            break;
 7937|      0|        }
 7938|      0|    }
 7939|  16.8k|}
_ZN7glslang13TParseContext30layoutMemberLocationArrayCheckERKNS_10TSourceLocEbPNS_11TArraySizesE:
 7950|     98|{
 7951|     98|    if (memberWithLocation && arraySizes != nullptr) {
  ------------------
  |  Branch (7951:9): [True: 0, False: 98]
  |  Branch (7951:31): [True: 0, False: 0]
  ------------------
 7952|      0|        if (arraySizes->getNumDims() > (currentBlockQualifier.isArrayedIo(language) ? 1 : 0))
  ------------------
  |  Branch (7952:13): [True: 0, False: 0]
  |  Branch (7952:41): [True: 0, False: 0]
  ------------------
 7953|      0|            error(loc, "cannot use in a block array where new locations are needed for each block element",
 7954|      0|                       "location", "");
 7955|      0|    }
 7956|     98|}
_ZN7glslang13TParseContext15layoutTypeCheckERKNS_10TSourceLocERKNS_5TTypeE:
 7960|  17.3k|{
 7961|  17.3k|    const TQualifier& qualifier = type.getQualifier();
 7962|       |
 7963|       |    // first, intra-layout qualifier-only error checking
 7964|  17.3k|    layoutQualifierCheck(loc, qualifier);
 7965|       |
 7966|       |    // now, error checking combining type and qualifier
 7967|       |
 7968|  17.3k|    if (qualifier.hasAnyLocation()) {
  ------------------
  |  Branch (7968:9): [True: 72, False: 17.2k]
  ------------------
 7969|     72|        if (qualifier.hasLocation()) {
  ------------------
  |  Branch (7969:13): [True: 72, False: 0]
  ------------------
 7970|     72|            if (qualifier.storage == EvqVaryingOut && language == EShLangFragment) {
  ------------------
  |  Branch (7970:17): [True: 6, False: 66]
  |  Branch (7970:55): [True: 0, False: 6]
  ------------------
 7971|      0|                if (qualifier.layoutLocation >= (unsigned int)resources.maxDrawBuffers)
  ------------------
  |  Branch (7971:21): [True: 0, False: 0]
  ------------------
 7972|      0|                    error(loc, "too large for fragment output", "location", "");
 7973|      0|            }
 7974|     72|        }
 7975|     72|        if (qualifier.hasComponent()) {
  ------------------
  |  Branch (7975:13): [True: 0, False: 72]
  ------------------
 7976|       |            // "It is a compile-time error if this sequence of components gets larger than 3."
 7977|      0|            if (qualifier.layoutComponent + type.getVectorSize() * (type.getBasicType() == EbtDouble ? 2 : 1) > 4)
  ------------------
  |  Branch (7977:17): [True: 0, False: 0]
  |  Branch (7977:69): [True: 0, False: 0]
  ------------------
 7978|      0|                error(loc, "type overflows the available 4 components", "component", "");
 7979|       |
 7980|       |            // "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."
 7981|      0|            if (type.isMatrix() || type.getBasicType() == EbtBlock || type.getBasicType() == EbtStruct)
  ------------------
  |  Branch (7981:17): [True: 0, False: 0]
  |  Branch (7981:36): [True: 0, False: 0]
  |  Branch (7981:71): [True: 0, False: 0]
  ------------------
 7982|      0|                error(loc, "cannot apply to a matrix, structure, or block", "component", "");
 7983|       |
 7984|       |            // " It is a compile-time error to use component 1 or 3 as the beginning of a double or dvec2."
 7985|      0|            if (type.getBasicType() == EbtDouble)
  ------------------
  |  Branch (7985:17): [True: 0, False: 0]
  ------------------
 7986|      0|                if (qualifier.layoutComponent & 1)
  ------------------
  |  Branch (7986:21): [True: 0, False: 0]
  ------------------
 7987|      0|                    error(loc, "doubles cannot start on an odd-numbered component", "component", "");
 7988|      0|        }
 7989|       |
 7990|     72|        switch (qualifier.storage) {
 7991|     66|        case EvqVaryingIn:
  ------------------
  |  Branch (7991:9): [True: 66, False: 6]
  ------------------
 7992|     72|        case EvqVaryingOut:
  ------------------
  |  Branch (7992:9): [True: 6, False: 66]
  ------------------
 7993|     72|            if (type.getBasicType() == EbtBlock)
  ------------------
  |  Branch (7993:17): [True: 0, False: 72]
  ------------------
 7994|      0|                profileRequires(loc, ECoreProfile | ECompatibilityProfile, 440, E_GL_ARB_enhanced_layouts, "location qualifier on in/out block");
 7995|     72|            if (type.getQualifier().isTaskMemory())
  ------------------
  |  Branch (7995:17): [True: 0, False: 72]
  ------------------
 7996|      0|                error(loc, "cannot apply to taskNV in/out blocks", "location", "");
 7997|     72|            break;
 7998|      0|        case EvqUniform:
  ------------------
  |  Branch (7998:9): [True: 0, False: 72]
  ------------------
 7999|      0|        case EvqBuffer:
  ------------------
  |  Branch (7999:9): [True: 0, False: 72]
  ------------------
 8000|      0|            if (type.getBasicType() == EbtBlock)
  ------------------
  |  Branch (8000:17): [True: 0, False: 0]
  ------------------
 8001|      0|                error(loc, "cannot apply to uniform or buffer block", "location", "");
 8002|      0|            else if (type.getBasicType() == EbtSampler && type.getSampler().isAttachmentEXT())
  ------------------
  |  Branch (8002:22): [True: 0, False: 0]
  |  Branch (8002:59): [True: 0, False: 0]
  ------------------
 8003|      0|                error(loc, "only applies to", "location", "%s with storage tileImageEXT", type.getBasicTypeString().c_str());
 8004|      0|            break;
 8005|      0|        case EvqtaskPayloadSharedEXT:
  ------------------
  |  Branch (8005:9): [True: 0, False: 72]
  ------------------
 8006|      0|            error(loc, "cannot apply to taskPayloadSharedEXT", "location", "");
 8007|      0|            break;
 8008|      0|        case EvqPayload:
  ------------------
  |  Branch (8008:9): [True: 0, False: 72]
  ------------------
 8009|      0|        case EvqPayloadIn:
  ------------------
  |  Branch (8009:9): [True: 0, False: 72]
  ------------------
 8010|      0|        case EvqHitAttr:
  ------------------
  |  Branch (8010:9): [True: 0, False: 72]
  ------------------
 8011|      0|        case EvqCallableData:
  ------------------
  |  Branch (8011:9): [True: 0, False: 72]
  ------------------
 8012|      0|        case EvqCallableDataIn:
  ------------------
  |  Branch (8012:9): [True: 0, False: 72]
  ------------------
 8013|      0|        case EvqHitObjectAttrNV:
  ------------------
  |  Branch (8013:9): [True: 0, False: 72]
  ------------------
 8014|      0|        case EvqHitObjectAttrEXT:
  ------------------
  |  Branch (8014:9): [True: 0, False: 72]
  ------------------
 8015|      0|        case EvqSpirvStorageClass:
  ------------------
  |  Branch (8015:9): [True: 0, False: 72]
  ------------------
 8016|      0|            break;
 8017|      0|        case EvqTileImageEXT:
  ------------------
  |  Branch (8017:9): [True: 0, False: 72]
  ------------------
 8018|      0|            break;
 8019|      0|        default:
  ------------------
  |  Branch (8019:9): [True: 0, False: 72]
  ------------------
 8020|      0|            error(loc, "can only apply to uniform, buffer, in, or out storage qualifiers", "location", "");
 8021|      0|            break;
 8022|     72|        }
 8023|       |
 8024|     72|        bool typeCollision;
 8025|     72|        int repeated = intermediate.addUsedLocation(qualifier, type, typeCollision);
 8026|     72|        if (repeated >= 0 && ! typeCollision)
  ------------------
  |  Branch (8026:13): [True: 0, False: 72]
  |  Branch (8026:30): [True: 0, False: 0]
  ------------------
 8027|      0|            error(loc, "overlapping use of location", "location", "%d", repeated);
 8028|       |        // When location aliasing, the aliases sharing the location must have the same underlying numerical type and bit width(
 8029|       |        // floating - point or integer, 32 - bit versus 64 - bit,etc.)
 8030|     72|        if (typeCollision && (qualifier.isPipeInput() || qualifier.isPipeOutput() || qualifier.storage == EvqTileImageEXT))
  ------------------
  |  Branch (8030:13): [True: 0, False: 72]
  |  Branch (8030:31): [True: 0, False: 0]
  |  Branch (8030:58): [True: 0, False: 0]
  |  Branch (8030:86): [True: 0, False: 0]
  ------------------
 8031|      0|            error(loc, "the aliases sharing the location", "location", "%d must be the same basic type and interpolation qualification", repeated);
 8032|     72|    }
 8033|       |
 8034|  17.3k|    if (qualifier.hasXfbOffset() && qualifier.hasXfbBuffer()) {
  ------------------
  |  Branch (8034:9): [True: 0, False: 17.3k]
  |  Branch (8034:37): [True: 0, False: 0]
  ------------------
 8035|      0|        if (type.isUnsizedArray()) {
  ------------------
  |  Branch (8035:13): [True: 0, False: 0]
  ------------------
 8036|      0|            error(loc, "unsized array", "xfb_offset", "in buffer %d", qualifier.layoutXfbBuffer);
 8037|      0|        } else {
 8038|      0|            int repeated = intermediate.addXfbBufferOffset(type);
 8039|      0|            if (repeated >= 0)
  ------------------
  |  Branch (8039:17): [True: 0, False: 0]
  ------------------
 8040|      0|                error(loc, "overlapping offsets at", "xfb_offset", "offset %d in buffer %d", repeated, qualifier.layoutXfbBuffer);
 8041|      0|        }
 8042|       |
 8043|       |        // "The offset must be a multiple of the size of the first component of the first
 8044|       |        // qualified variable or block member, or a compile-time error results. Further, if applied to an aggregate
 8045|       |        // containing a double or 64-bit integer, the offset must also be a multiple of 8..."
 8046|      0|        if ((type.containsBasicType(EbtDouble) || type.containsBasicType(EbtInt64) || type.containsBasicType(EbtUint64)) &&
  ------------------
  |  Branch (8046:14): [True: 0, False: 0]
  |  Branch (8046:51): [True: 0, False: 0]
  |  Branch (8046:87): [True: 0, False: 0]
  ------------------
 8047|      0|            ! IsMultipleOfPow2(qualifier.layoutXfbOffset, 8))
  ------------------
  |  Branch (8047:13): [True: 0, False: 0]
  ------------------
 8048|      0|            error(loc, "type contains double or 64-bit integer; xfb_offset must be a multiple of 8", "xfb_offset", "");
 8049|      0|        else if ((type.containsBasicType(EbtBool) || type.containsBasicType(EbtFloat) ||
  ------------------
  |  Branch (8049:19): [True: 0, False: 0]
  |  Branch (8049:54): [True: 0, False: 0]
  ------------------
 8050|      0|                  type.containsBasicType(EbtInt) || type.containsBasicType(EbtUint)) &&
  ------------------
  |  Branch (8050:19): [True: 0, False: 0]
  |  Branch (8050:53): [True: 0, False: 0]
  ------------------
 8051|      0|                 ! IsMultipleOfPow2(qualifier.layoutXfbOffset, 4))
  ------------------
  |  Branch (8051:18): [True: 0, False: 0]
  ------------------
 8052|      0|            error(loc, "must be a multiple of size of first component", "xfb_offset", "");
 8053|       |        // ..., if applied to an aggregate containing a half float or 16-bit integer, the offset must also be a multiple of 2..."
 8054|      0|        else if ((type.contains16BitFloat() || type.containsBasicType(EbtInt16) || type.containsBasicType(EbtUint16)) &&
  ------------------
  |  Branch (8054:19): [True: 0, False: 0]
  |  Branch (8054:48): [True: 0, False: 0]
  |  Branch (8054:84): [True: 0, False: 0]
  ------------------
 8055|      0|                 !IsMultipleOfPow2(qualifier.layoutXfbOffset, 2))
  ------------------
  |  Branch (8055:18): [True: 0, False: 0]
  ------------------
 8056|      0|            error(loc, "type contains half float or 16-bit integer; xfb_offset must be a multiple of 2", "xfb_offset", "");
 8057|      0|    }
 8058|  17.3k|    if (qualifier.hasXfbStride() && qualifier.hasXfbBuffer()) {
  ------------------
  |  Branch (8058:9): [True: 0, False: 17.3k]
  |  Branch (8058:37): [True: 0, False: 0]
  ------------------
 8059|      0|        if (! intermediate.setXfbBufferStride(qualifier.layoutXfbBuffer, qualifier.layoutXfbStride))
  ------------------
  |  Branch (8059:13): [True: 0, False: 0]
  ------------------
 8060|      0|            error(loc, "all stride settings must match for xfb buffer", "xfb_stride", "%d", qualifier.layoutXfbBuffer);
 8061|      0|    }
 8062|       |
 8063|  17.3k|    if (qualifier.hasBinding()) {
  ------------------
  |  Branch (8063:9): [True: 264, False: 17.0k]
  ------------------
 8064|       |        // Binding checking, from the spec:
 8065|       |        //
 8066|       |        // "If the binding point for any uniform or shader storage block instance is less than zero, or greater than or
 8067|       |        // equal to the implementation-dependent maximum number of uniform buffer bindings, a compile-time
 8068|       |        // error will occur. When the binding identifier is used with a uniform or shader storage block instanced as
 8069|       |        // an array of size N, all elements of the array from binding through binding + N - 1 must be within this
 8070|       |        // range."
 8071|       |        //
 8072|    264|        if (!type.isOpaque() && type.getBasicType() != EbtBlock && type.getBasicType() != EbtSpirvType)
  ------------------
  |  Branch (8072:13): [True: 0, False: 264]
  |  Branch (8072:33): [True: 0, False: 0]
  |  Branch (8072:68): [True: 0, False: 0]
  ------------------
 8073|      0|            error(loc, "requires block, or sampler/image, or atomic-counter type", "binding", "");
 8074|    264|        if (type.getBasicType() == EbtSampler) {
  ------------------
  |  Branch (8074:13): [True: 264, False: 0]
  ------------------
 8075|    264|            int lastBinding = qualifier.layoutBinding;
 8076|    264|            if (type.isArray()) {
  ------------------
  |  Branch (8076:17): [True: 0, False: 264]
  ------------------
 8077|      0|                if (spvVersion.vulkan == 0) {
  ------------------
  |  Branch (8077:21): [True: 0, False: 0]
  ------------------
 8078|      0|                    if (type.isSizedArray())
  ------------------
  |  Branch (8078:25): [True: 0, False: 0]
  ------------------
 8079|      0|                        lastBinding += (type.getCumulativeArraySize() - 1);
 8080|      0|                    else {
 8081|      0|                        warn(loc, "assuming binding count of one for compile-time checking of binding numbers for unsized array", "[]", "");
 8082|      0|                    }
 8083|      0|                }
 8084|      0|            }
 8085|    264|            if (spvVersion.vulkan == 0 && lastBinding >= resources.maxCombinedTextureImageUnits)
  ------------------
  |  Branch (8085:17): [True: 0, False: 264]
  |  Branch (8085:43): [True: 0, False: 0]
  ------------------
 8086|      0|                error(loc, "sampler binding not less than gl_MaxCombinedTextureImageUnits", "binding", type.isArray() ? "(using array)" : "");
  ------------------
  |  Branch (8086:104): [True: 0, False: 0]
  ------------------
 8087|    264|        }
 8088|    264|        if (type.isAtomic() && !spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (8088:13): [True: 0, False: 264]
  |  Branch (8088:32): [True: 0, False: 0]
  ------------------
 8089|      0|            if (qualifier.layoutBinding >= resources.maxAtomicCounterBindings) {
  ------------------
  |  Branch (8089:17): [True: 0, False: 0]
  ------------------
 8090|      0|                error(loc, "atomic_uint binding is too large; see gl_MaxAtomicCounterBindings", "binding", "");
 8091|      0|                return;
 8092|      0|            }
 8093|      0|        }
 8094|  17.0k|    } else if (!intermediate.getAutoMapBindings()) {
  ------------------
  |  Branch (8094:16): [True: 16.8k, False: 224]
  ------------------
 8095|       |        // some types require bindings
 8096|       |
 8097|       |        // atomic_uint
 8098|  16.8k|        if (type.isAtomic())
  ------------------
  |  Branch (8098:13): [True: 0, False: 16.8k]
  ------------------
 8099|      0|            error(loc, "layout(binding=X) is required", "atomic_uint", "");
 8100|       |
 8101|       |        // SPIR-V
 8102|  16.8k|        if (spvVersion.spv > 0) {
  ------------------
  |  Branch (8102:13): [True: 16.8k, False: 0]
  ------------------
 8103|  16.8k|            if (qualifier.isUniformOrBuffer() && !intermediate.IsRequestedExtension(E_GL_EXT_descriptor_heap)) {
  ------------------
  |  Branch (8103:17): [True: 161, False: 16.6k]
  |  Branch (8103:50): [True: 161, False: 0]
  ------------------
 8104|    161|                if (type.getBasicType() == EbtBlock && !qualifier.isPushConstant() &&
  ------------------
  |  Branch (8104:21): [True: 0, False: 161]
  |  Branch (8104:56): [True: 0, False: 0]
  ------------------
 8105|      0|                       !qualifier.isShaderRecord() &&
  ------------------
  |  Branch (8105:24): [True: 0, False: 0]
  ------------------
 8106|      0|                       !qualifier.hasAttachment() &&
  ------------------
  |  Branch (8106:24): [True: 0, False: 0]
  ------------------
 8107|      0|                       !qualifier.hasBufferReference())
  ------------------
  |  Branch (8107:24): [True: 0, False: 0]
  ------------------
 8108|      0|                    error(loc, "uniform/buffer blocks require layout(binding=X)", "binding", "");
 8109|    161|                else if (spvVersion.vulkan > 0 && type.getBasicType() == EbtSampler && !type.getSampler().isAttachmentEXT())
  ------------------
  |  Branch (8109:26): [True: 161, False: 0]
  |  Branch (8109:51): [True: 0, False: 161]
  |  Branch (8109:88): [True: 0, False: 0]
  ------------------
 8110|      0|                    error(loc, "sampler/texture/image requires layout(binding=X)", "binding", "");
 8111|    161|            }
 8112|  16.8k|        }
 8113|  16.8k|    }
 8114|       |
 8115|       |    // some things can't have arrays of arrays
 8116|  17.3k|    if (type.isArrayOfArrays()) {
  ------------------
  |  Branch (8116:9): [True: 15, False: 17.3k]
  ------------------
 8117|     15|        if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (8117:13): [True: 15, False: 0]
  ------------------
 8118|     15|            if (type.isOpaque() || (type.getQualifier().isUniformOrBuffer() && type.getBasicType() == EbtBlock))
  ------------------
  |  Branch (8118:17): [True: 0, False: 15]
  |  Branch (8118:37): [True: 0, False: 15]
  |  Branch (8118:80): [True: 0, False: 0]
  ------------------
 8119|      0|                warn(loc, "Generating SPIR-V array-of-arrays, but Vulkan only supports single array level for this resource", "[][]", "");
 8120|     15|        }
 8121|     15|    }
 8122|       |
 8123|       |    // "The offset qualifier can only be used on block members of blocks..."
 8124|  17.3k|    if (qualifier.hasOffset()) {
  ------------------
  |  Branch (8124:9): [True: 0, False: 17.3k]
  ------------------
 8125|      0|        if (type.getBasicType() == EbtBlock)
  ------------------
  |  Branch (8125:13): [True: 0, False: 0]
  ------------------
 8126|      0|            error(loc, "only applies to block members, not blocks", "offset", "");
 8127|      0|    }
 8128|       |
 8129|       |    // Image format
 8130|  17.3k|    if (qualifier.hasFormat()) {
  ------------------
  |  Branch (8130:9): [True: 66, False: 17.2k]
  ------------------
 8131|     66|        if (! type.isImage() && !intermediate.getBindlessImageMode())
  ------------------
  |  Branch (8131:13): [True: 0, False: 66]
  |  Branch (8131:33): [True: 0, False: 0]
  ------------------
 8132|      0|            error(loc, "only apply to images", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8133|     66|        else {
 8134|     66|            if (type.getSampler().type == EbtFloat && qualifier.getFormat() > ElfFloatGuard)
  ------------------
  |  Branch (8134:17): [True: 66, False: 0]
  |  Branch (8134:55): [True: 0, False: 66]
  ------------------
 8135|      0|                error(loc, "does not apply to floating point images", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8136|     66|            if (type.getSampler().type == EbtInt && (qualifier.getFormat() < ElfFloatGuard || qualifier.getFormat() > ElfIntGuard))
  ------------------
  |  Branch (8136:17): [True: 0, False: 66]
  |  Branch (8136:54): [True: 0, False: 0]
  |  Branch (8136:95): [True: 0, False: 0]
  ------------------
 8137|      0|                error(loc, "does not apply to signed integer images", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8138|     66|            if (type.getSampler().type == EbtUint && qualifier.getFormat() < ElfIntGuard)
  ------------------
  |  Branch (8138:17): [True: 0, False: 66]
  |  Branch (8138:54): [True: 0, False: 0]
  ------------------
 8139|      0|                error(loc, "does not apply to unsigned integer images", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8140|       |
 8141|     66|            if (isEsProfile()) {
  ------------------
  |  Branch (8141:17): [True: 0, False: 66]
  ------------------
 8142|       |                // "Except for image variables qualified with the format qualifiers r32f, r32i, and r32ui, image variables must
 8143|       |                // specify either memory qualifier readonly or the memory qualifier writeonly."
 8144|      0|                if (! (qualifier.getFormat() == ElfR32f || qualifier.getFormat() == ElfR32i || qualifier.getFormat() == ElfR32ui)) {
  ------------------
  |  Branch (8144:24): [True: 0, False: 0]
  |  Branch (8144:60): [True: 0, False: 0]
  |  Branch (8144:96): [True: 0, False: 0]
  ------------------
 8145|      0|                    if (! qualifier.isReadOnly() && ! qualifier.isWriteOnly())
  ------------------
  |  Branch (8145:25): [True: 0, False: 0]
  |  Branch (8145:53): [True: 0, False: 0]
  ------------------
 8146|      0|                        error(loc, "format requires readonly or writeonly memory qualifier", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8147|      0|                }
 8148|      0|            }
 8149|     66|        }
 8150|  17.2k|    } else if (type.isImage() && ! qualifier.isWriteOnly() && !intermediate.getBindlessImageMode()) {
  ------------------
  |  Branch (8150:16): [True: 0, False: 17.2k]
  |  Branch (8150:34): [True: 0, False: 0]
  |  Branch (8150:63): [True: 0, False: 0]
  ------------------
 8151|      0|        const char *explanation = "image variables not declared 'writeonly' and without a format layout qualifier";
 8152|      0|        requireProfile(loc, ECoreProfile | ECompatibilityProfile, explanation);
 8153|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 0, E_GL_EXT_shader_image_load_formatted, explanation);
 8154|      0|    }
 8155|       |
 8156|  17.3k|    if (qualifier.isPushConstant()) {
  ------------------
  |  Branch (8156:9): [True: 0, False: 17.3k]
  ------------------
 8157|      0|        if (type.getBasicType() != EbtBlock)
  ------------------
  |  Branch (8157:13): [True: 0, False: 0]
  ------------------
 8158|      0|            error(loc, "can only be used with a block", "push_constant", "");
 8159|      0|        if (type.isArray())
  ------------------
  |  Branch (8159:13): [True: 0, False: 0]
  ------------------
 8160|      0|            error(loc, "Push constants blocks can't be an array", "push_constant", "");
 8161|      0|    }
 8162|       |
 8163|  17.3k|    if (type.getBasicType() == EbtReference) {
  ------------------
  |  Branch (8163:9): [True: 0, False: 17.3k]
  ------------------
 8164|      0|        if (qualifier.isPipeInput())
  ------------------
  |  Branch (8164:13): [True: 0, False: 0]
  ------------------
 8165|      0|            error(loc, "cannot contain any structs with buffer_reference.", "in",
 8166|      0|                  "If you want to interface shader stages with a buffer_reference cast to a uint64 or uvec2 instead.");
 8167|      0|        if (qualifier.isPipeOutput())
  ------------------
  |  Branch (8167:13): [True: 0, False: 0]
  ------------------
 8168|      0|            error(loc, "cannot contain any structs with buffer_reference.", "out",
 8169|      0|                  "If you want to interface shader stages with a buffer_reference cast to a uint64 or uvec2 instead.");
 8170|      0|    }
 8171|       |
 8172|  17.3k|    if (qualifier.hasBufferReference() && type.getBasicType() != EbtBlock)
  ------------------
  |  Branch (8172:9): [True: 0, False: 17.3k]
  |  Branch (8172:43): [True: 0, False: 0]
  ------------------
 8173|      0|        error(loc, "can only be used with a block", "buffer_reference", "");
 8174|       |
 8175|  17.3k|    if (qualifier.isShaderRecord() && type.getBasicType() != EbtBlock)
  ------------------
  |  Branch (8175:9): [True: 0, False: 17.3k]
  |  Branch (8175:39): [True: 0, False: 0]
  ------------------
 8176|      0|        error(loc, "can only be used with a block", "shaderRecordNV", "");
 8177|       |
 8178|       |    // input attachment
 8179|  17.3k|    if (type.isSubpass()) {
  ------------------
  |  Branch (8179:9): [True: 12, False: 17.3k]
  ------------------
 8180|     12|        if (extensionTurnedOn(E_GL_EXT_shader_tile_image))
  ------------------
  |  Branch (8180:13): [True: 0, False: 12]
  ------------------
 8181|      0|            error(loc, "cannot be used with GL_EXT_shader_tile_image enabled", type.getSampler().getString().c_str(),
 8182|      0|                  "");
 8183|     12|        if (! qualifier.hasAttachment())
  ------------------
  |  Branch (8183:13): [True: 0, False: 12]
  ------------------
 8184|      0|            error(loc, "requires an input_attachment_index layout qualifier", "subpass", "");
 8185|  17.3k|    } else {
 8186|  17.3k|        if (qualifier.hasAttachment())
  ------------------
  |  Branch (8186:13): [True: 0, False: 17.3k]
  ------------------
 8187|      0|            error(loc, "can only be used with a subpass", "input_attachment_index", "");
 8188|  17.3k|    }
 8189|       |
 8190|       |    // specialization-constant id
 8191|  17.3k|    if (qualifier.hasSpecConstantId()) {
  ------------------
  |  Branch (8191:9): [True: 0, False: 17.3k]
  ------------------
 8192|      0|        if (type.getQualifier().storage != EvqConst)
  ------------------
  |  Branch (8192:13): [True: 0, False: 0]
  ------------------
 8193|      0|            error(loc, "can only be applied to 'const'-qualified scalar", "constant_id", "");
 8194|      0|        if (! type.isScalar())
  ------------------
  |  Branch (8194:13): [True: 0, False: 0]
  ------------------
 8195|      0|            error(loc, "can only be applied to a scalar", "constant_id", "");
 8196|      0|        switch (type.getBasicType())
 8197|      0|        {
 8198|      0|        case EbtInt8:
  ------------------
  |  Branch (8198:9): [True: 0, False: 0]
  ------------------
 8199|      0|        case EbtUint8:
  ------------------
  |  Branch (8199:9): [True: 0, False: 0]
  ------------------
 8200|      0|        case EbtInt16:
  ------------------
  |  Branch (8200:9): [True: 0, False: 0]
  ------------------
 8201|      0|        case EbtUint16:
  ------------------
  |  Branch (8201:9): [True: 0, False: 0]
  ------------------
 8202|      0|        case EbtInt:
  ------------------
  |  Branch (8202:9): [True: 0, False: 0]
  ------------------
 8203|      0|        case EbtUint:
  ------------------
  |  Branch (8203:9): [True: 0, False: 0]
  ------------------
 8204|      0|        case EbtInt64:
  ------------------
  |  Branch (8204:9): [True: 0, False: 0]
  ------------------
 8205|      0|        case EbtUint64:
  ------------------
  |  Branch (8205:9): [True: 0, False: 0]
  ------------------
 8206|      0|        case EbtBool:
  ------------------
  |  Branch (8206:9): [True: 0, False: 0]
  ------------------
 8207|      0|        case EbtFloat:
  ------------------
  |  Branch (8207:9): [True: 0, False: 0]
  ------------------
 8208|      0|        case EbtDouble:
  ------------------
  |  Branch (8208:9): [True: 0, False: 0]
  ------------------
 8209|      0|        case EbtFloat16:
  ------------------
  |  Branch (8209:9): [True: 0, False: 0]
  ------------------
 8210|      0|        case EbtBFloat16:
  ------------------
  |  Branch (8210:9): [True: 0, False: 0]
  ------------------
 8211|      0|        case EbtFloatE5M2:
  ------------------
  |  Branch (8211:9): [True: 0, False: 0]
  ------------------
 8212|      0|        case EbtFloatE4M3:
  ------------------
  |  Branch (8212:9): [True: 0, False: 0]
  ------------------
 8213|      0|        case EbtFloatE2M1:
  ------------------
  |  Branch (8213:9): [True: 0, False: 0]
  ------------------
 8214|      0|        case EbtFloatE3M2:
  ------------------
  |  Branch (8214:9): [True: 0, False: 0]
  ------------------
 8215|      0|        case EbtFloatE2M3:
  ------------------
  |  Branch (8215:9): [True: 0, False: 0]
  ------------------
 8216|      0|        case EbtFloatUE8M0:
  ------------------
  |  Branch (8216:9): [True: 0, False: 0]
  ------------------
 8217|      0|        case EbtFloatMXINT8:
  ------------------
  |  Branch (8217:9): [True: 0, False: 0]
  ------------------
 8218|      0|            break;
 8219|      0|        default:
  ------------------
  |  Branch (8219:9): [True: 0, False: 0]
  ------------------
 8220|      0|            error(loc, "cannot be applied to this type", "constant_id", "");
 8221|      0|            break;
 8222|      0|        }
 8223|      0|    }
 8224|  17.3k|}
_ZN7glslang13TParseContext20layoutQualifierCheckERKNS_10TSourceLocERKNS_10TQualifierE:
 8243|  17.3k|{
 8244|  17.3k|    if (qualifier.storage == EvqShared && qualifier.hasLayout()) {
  ------------------
  |  Branch (8244:9): [True: 0, False: 17.3k]
  |  Branch (8244:43): [True: 0, False: 0]
  ------------------
 8245|      0|        if (spvVersion.spv > 0 && spvVersion.spv < EShTargetSpv_1_4) {
  ------------------
  |  Branch (8245:13): [True: 0, False: 0]
  |  Branch (8245:35): [True: 0, False: 0]
  ------------------
 8246|      0|            error(loc, "shared block requires at least SPIR-V 1.4", "shared block", "");
 8247|      0|        }
 8248|      0|        profileRequires(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, 0, E_GL_EXT_shared_memory_block, "shared block");
 8249|      0|    }
 8250|       |
 8251|       |    // "It is a compile-time error to use *component* without also specifying the location qualifier (order does not matter)."
 8252|  17.3k|    if (qualifier.hasComponent() && ! qualifier.hasLocation())
  ------------------
  |  Branch (8252:9): [True: 0, False: 17.3k]
  |  Branch (8252:37): [True: 0, False: 0]
  ------------------
 8253|      0|        error(loc, "must specify 'location' to use 'component'", "component", "");
 8254|       |
 8255|  17.3k|    if (qualifier.hasAnyLocation()) {
  ------------------
  |  Branch (8255:9): [True: 72, False: 17.2k]
  ------------------
 8256|       |
 8257|       |        // "As with input layout qualifiers, all shaders except compute shaders
 8258|       |        // allow *location* layout qualifiers on output variable declarations,
 8259|       |        // output block declarations, and output block member declarations."
 8260|       |
 8261|     72|        switch (qualifier.storage) {
 8262|     66|        case EvqVaryingIn:
  ------------------
  |  Branch (8262:9): [True: 66, False: 6]
  ------------------
 8263|     66|        {
 8264|     66|            const char* feature = "location qualifier on input";
 8265|     66|            if (isEsProfile() && version < 310)
  ------------------
  |  Branch (8265:17): [True: 0, False: 66]
  |  Branch (8265:34): [True: 0, False: 0]
  ------------------
 8266|      0|                requireStage(loc, EShLangVertex, feature);
 8267|     66|            else
 8268|     66|                requireStage(loc, (EShLanguageMask)~EShLangComputeMask, feature);
 8269|     66|            if (language == EShLangVertex) {
  ------------------
  |  Branch (8269:17): [True: 0, False: 66]
  ------------------
 8270|      0|                const char* exts[2] = { E_GL_ARB_separate_shader_objects, E_GL_ARB_explicit_attrib_location };
 8271|      0|                profileRequires(loc, ~EEsProfile, 330, 2, exts, feature);
 8272|      0|                profileRequires(loc, EEsProfile, 300, nullptr, feature);
 8273|     66|            } else {
 8274|     66|                profileRequires(loc, ~EEsProfile, 410, E_GL_ARB_separate_shader_objects, feature);
 8275|     66|                profileRequires(loc, EEsProfile, 310, nullptr, feature);
 8276|     66|            }
 8277|     66|            break;
 8278|      0|        }
 8279|      6|        case EvqVaryingOut:
  ------------------
  |  Branch (8279:9): [True: 6, False: 66]
  ------------------
 8280|      6|        {
 8281|      6|            const char* feature = "location qualifier on output";
 8282|      6|            if (isEsProfile() && version < 310)
  ------------------
  |  Branch (8282:17): [True: 0, False: 6]
  |  Branch (8282:34): [True: 0, False: 0]
  ------------------
 8283|      0|                requireStage(loc, EShLangFragment, feature);
 8284|      6|            else
 8285|      6|                requireStage(loc, (EShLanguageMask)~EShLangComputeMask, feature);
 8286|      6|            if (language == EShLangFragment) {
  ------------------
  |  Branch (8286:17): [True: 0, False: 6]
  ------------------
 8287|      0|                const char* exts[2] = { E_GL_ARB_separate_shader_objects, E_GL_ARB_explicit_attrib_location };
 8288|      0|                profileRequires(loc, ~EEsProfile, 330, 2, exts, feature);
 8289|      0|                profileRequires(loc, EEsProfile, 300, nullptr, feature);
 8290|      6|            } else {
 8291|      6|                profileRequires(loc, ~EEsProfile, 410, E_GL_ARB_separate_shader_objects, feature);
 8292|      6|                profileRequires(loc, EEsProfile, 310, nullptr, feature);
 8293|      6|            }
 8294|      6|            break;
 8295|      0|        }
 8296|      0|        case EvqUniform:
  ------------------
  |  Branch (8296:9): [True: 0, False: 72]
  ------------------
 8297|      0|        case EvqBuffer:
  ------------------
  |  Branch (8297:9): [True: 0, False: 72]
  ------------------
 8298|      0|        {
 8299|      0|            const char* feature = "location qualifier on uniform or buffer";
 8300|      0|            requireProfile(loc, EEsProfile | ECoreProfile | ECompatibilityProfile | ENoProfile, feature);
 8301|      0|            profileRequires(loc, ~EEsProfile, 330, E_GL_ARB_explicit_attrib_location, feature);
 8302|      0|            profileRequires(loc, ~EEsProfile, 430, E_GL_ARB_explicit_uniform_location, feature);
 8303|      0|            profileRequires(loc, EEsProfile, 310, nullptr, feature);
 8304|      0|            break;
 8305|      0|        }
 8306|      0|        default:
  ------------------
  |  Branch (8306:9): [True: 0, False: 72]
  ------------------
 8307|      0|            break;
 8308|     72|        }
 8309|     72|        if (qualifier.hasIndex()) {
  ------------------
  |  Branch (8309:13): [True: 0, False: 72]
  ------------------
 8310|      0|            if (qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (8310:17): [True: 0, False: 0]
  ------------------
 8311|      0|                error(loc, "can only be used on an output", "index", "");
 8312|      0|            if (! qualifier.hasLocation())
  ------------------
  |  Branch (8312:17): [True: 0, False: 0]
  ------------------
 8313|      0|                error(loc, "can only be used with an explicit location", "index", "");
 8314|      0|        }
 8315|     72|    }
 8316|       |
 8317|  17.3k|    if (qualifier.hasBinding()) {
  ------------------
  |  Branch (8317:9): [True: 264, False: 17.0k]
  ------------------
 8318|    264|        if (! qualifier.isUniformOrBuffer() && !qualifier.isTaskMemory() && !qualifier.isTileAttachmentQCOM())
  ------------------
  |  Branch (8318:13): [True: 0, False: 264]
  |  Branch (8318:48): [True: 0, False: 0]
  |  Branch (8318:77): [True: 0, False: 0]
  ------------------
 8319|      0|            error(loc, "requires uniform or buffer or tile image storage qualifier", "binding", "");
 8320|    264|    }
 8321|  17.3k|    if (qualifier.hasStream()) {
  ------------------
  |  Branch (8321:9): [True: 105, False: 17.2k]
  ------------------
 8322|    105|        if (!qualifier.isPipeOutput())
  ------------------
  |  Branch (8322:13): [True: 0, False: 105]
  ------------------
 8323|      0|            error(loc, "can only be used on an output", "stream", "");
 8324|    105|    }
 8325|  17.3k|    if (qualifier.hasXfb()) {
  ------------------
  |  Branch (8325:9): [True: 762, False: 16.5k]
  ------------------
 8326|    762|        if (!qualifier.isPipeOutput())
  ------------------
  |  Branch (8326:13): [True: 0, False: 762]
  ------------------
 8327|      0|            error(loc, "can only be used on an output", "xfb layout qualifier", "");
 8328|    762|    }
 8329|  17.3k|    if (qualifier.hasUniformLayout()) {
  ------------------
  |  Branch (8329:9): [True: 264, False: 17.0k]
  ------------------
 8330|    264|        if (!storageCanHaveLayoutInBlock(qualifier.storage) && !qualifier.isTaskMemory()) {
  ------------------
  |  Branch (8330:13): [True: 0, False: 264]
  |  Branch (8330:64): [True: 0, False: 0]
  ------------------
 8331|      0|            if (qualifier.hasMatrix() || qualifier.hasPacking())
  ------------------
  |  Branch (8331:17): [True: 0, False: 0]
  |  Branch (8331:42): [True: 0, False: 0]
  ------------------
 8332|      0|                error(loc, "matrix or packing qualifiers can only be used on a uniform or buffer", "layout", "");
 8333|      0|            if (qualifier.hasOffset() || qualifier.hasAlign())
  ------------------
  |  Branch (8333:17): [True: 0, False: 0]
  |  Branch (8333:42): [True: 0, False: 0]
  ------------------
 8334|      0|                error(loc, "offset/align can only be used on a uniform or buffer", "layout", "");
 8335|      0|        }
 8336|    264|    }
 8337|  17.3k|    if (qualifier.isPushConstant()) {
  ------------------
  |  Branch (8337:9): [True: 0, False: 17.3k]
  ------------------
 8338|      0|        if (qualifier.storage != EvqUniform)
  ------------------
  |  Branch (8338:13): [True: 0, False: 0]
  ------------------
 8339|      0|            error(loc, "can only be used with a uniform", "push_constant", "");
 8340|      0|        if (qualifier.hasSet())
  ------------------
  |  Branch (8340:13): [True: 0, False: 0]
  ------------------
 8341|      0|            error(loc, "cannot be used with push_constant", "set", "");
 8342|      0|        if (qualifier.hasBinding())
  ------------------
  |  Branch (8342:13): [True: 0, False: 0]
  ------------------
 8343|      0|            error(loc, "cannot be used with push_constant", "binding", "");
 8344|      0|    }
 8345|  17.3k|    if (qualifier.hasBufferReference()) {
  ------------------
  |  Branch (8345:9): [True: 0, False: 17.3k]
  ------------------
 8346|      0|        if (qualifier.storage != EvqBuffer)
  ------------------
  |  Branch (8346:13): [True: 0, False: 0]
  ------------------
 8347|      0|            error(loc, "can only be used with buffer", "buffer_reference", "");
 8348|      0|    }
 8349|  17.3k|    if (qualifier.isBufferType()) {
  ------------------
  |  Branch (8349:9): [True: 0, False: 17.3k]
  ------------------
 8350|      0|        if (qualifier.storage != EvqUniform && qualifier.storage != EvqBuffer)
  ------------------
  |  Branch (8350:13): [True: 0, False: 0]
  |  Branch (8350:48): [True: 0, False: 0]
  ------------------
 8351|      0|            error(loc, "can only be used with uniform or buffer", "buffer_type", "");
 8352|      0|    }
 8353|  17.3k|    if (qualifier.isShaderRecord()) {
  ------------------
  |  Branch (8353:9): [True: 0, False: 17.3k]
  ------------------
 8354|      0|        if (qualifier.storage != EvqBuffer)
  ------------------
  |  Branch (8354:13): [True: 0, False: 0]
  ------------------
 8355|      0|            error(loc, "can only be used with a buffer", "shaderRecordNV", "");
 8356|      0|        if (qualifier.hasBinding())
  ------------------
  |  Branch (8356:13): [True: 0, False: 0]
  ------------------
 8357|      0|            error(loc, "cannot be used with shaderRecordNV", "binding", "");
 8358|      0|        if (qualifier.hasSet())
  ------------------
  |  Branch (8358:13): [True: 0, False: 0]
  ------------------
 8359|      0|            error(loc, "cannot be used with shaderRecordNV", "set", "");
 8360|       |
 8361|      0|    }
 8362|       |
 8363|  17.3k|    if (qualifier.storage == EvqTileImageEXT) {
  ------------------
  |  Branch (8363:9): [True: 0, False: 17.3k]
  ------------------
 8364|      0|        if (qualifier.hasSet())
  ------------------
  |  Branch (8364:13): [True: 0, False: 0]
  ------------------
 8365|      0|            error(loc, "cannot be used with tileImageEXT", "set", "");
 8366|      0|        if (!qualifier.hasLocation())
  ------------------
  |  Branch (8366:13): [True: 0, False: 0]
  ------------------
 8367|      0|            error(loc, "can only be used with an explicit location", "tileImageEXT", "");
 8368|      0|    }
 8369|       |
 8370|  17.3k|    if (qualifier.storage == EvqHitAttr && qualifier.hasLayout()) {
  ------------------
  |  Branch (8370:9): [True: 0, False: 17.3k]
  |  Branch (8370:44): [True: 0, False: 0]
  ------------------
 8371|      0|        error(loc, "cannot apply layout qualifiers to hitAttributeNV variable", "hitAttributeNV", "");
 8372|      0|    }
 8373|  17.3k|    if (qualifier.hasBank()) {
  ------------------
  |  Branch (8373:9): [True: 0, False: 17.3k]
  ------------------
 8374|      0|        if (!qualifier.isPushConstant())
  ------------------
  |  Branch (8374:13): [True: 0, False: 0]
  ------------------
 8375|      0|            error(loc, "can only be used with push_constant", "bank", "");
 8376|      0|    }
 8377|  17.3k|    if (qualifier.hasMemberOffset()) {
  ------------------
  |  Branch (8377:9): [True: 0, False: 17.3k]
  ------------------
 8378|      0|        if (!qualifier.isPushConstant())
  ------------------
  |  Branch (8378:13): [True: 0, False: 0]
  ------------------
 8379|      0|            error(loc, "can only be used with push_constant", "member_offset", "");
 8380|      0|    }
 8381|       |
 8382|  17.3k|    if (qualifier.layoutDescriptorStride != TQualifier::layoutDescriptorStrideEnd &&
  ------------------
  |  Branch (8382:9): [True: 0, False: 17.3k]
  ------------------
 8383|      0|        !qualifier.layoutDescriptorHeap)
  ------------------
  |  Branch (8383:9): [True: 0, False: 0]
  ------------------
 8384|      0|        error(loc, "must specify 'descriptor_heap' to use 'descriptor_stride'", "descriptor_stride", "");
 8385|  17.3k|    if ((qualifier.layoutHeapOffset != 0 || qualifier.layoutHeapOffsetNode != nullptr) && !qualifier.layoutDescriptorHeap &&
  ------------------
  |  Branch (8385:10): [True: 0, False: 17.3k]
  |  Branch (8385:45): [True: 0, False: 17.3k]
  |  Branch (8385:91): [True: 0, False: 0]
  ------------------
 8386|      0|        qualifier.storage != EvqSamplerHeap && qualifier.storage != EvqResourceHeap)
  ------------------
  |  Branch (8386:9): [True: 0, False: 0]
  |  Branch (8386:48): [True: 0, False: 0]
  ------------------
 8387|      0|        error(loc, "must specify 'descriptor_heap' to use 'heap_offset'", "heap_offset", "");
 8388|  17.3k|}
_ZN7glslang13TParseContext20checkNoShaderLayoutsERKNS_10TSourceLocERKNS_17TShaderQualifiersE:
 8392|   188k|{
 8393|   188k|    const char* message = "can only apply to a standalone qualifier";
 8394|       |
 8395|   188k|    if (shaderQualifiers.geometry != ElgNone)
  ------------------
  |  Branch (8395:9): [True: 0, False: 188k]
  ------------------
 8396|      0|        error(loc, message, TQualifier::getGeometryString(shaderQualifiers.geometry), "");
 8397|   188k|    if (shaderQualifiers.spacing != EvsNone)
  ------------------
  |  Branch (8397:9): [True: 0, False: 188k]
  ------------------
 8398|      0|        error(loc, message, TQualifier::getVertexSpacingString(shaderQualifiers.spacing), "");
 8399|   188k|    if (shaderQualifiers.order != EvoNone)
  ------------------
  |  Branch (8399:9): [True: 0, False: 188k]
  ------------------
 8400|      0|        error(loc, message, TQualifier::getVertexOrderString(shaderQualifiers.order), "");
 8401|   188k|    if (shaderQualifiers.pointMode)
  ------------------
  |  Branch (8401:9): [True: 0, False: 188k]
  ------------------
 8402|      0|        error(loc, message, "point_mode", "");
 8403|   188k|    if (shaderQualifiers.invocations != TQualifier::layoutNotSet)
  ------------------
  |  Branch (8403:9): [True: 0, False: 188k]
  ------------------
 8404|      0|        error(loc, message, "invocations", "");
 8405|   755k|    for (int i = 0; i < 3; ++i) {
  ------------------
  |  Branch (8405:21): [True: 566k, False: 188k]
  ------------------
 8406|   566k|        if (shaderQualifiers.localSize[i] > 1)
  ------------------
  |  Branch (8406:13): [True: 0, False: 566k]
  ------------------
 8407|      0|            error(loc, message, "local_size", "");
 8408|   566k|        if (shaderQualifiers.localSizeSpecId[i] != TQualifier::layoutNotSet)
  ------------------
  |  Branch (8408:13): [True: 0, False: 566k]
  ------------------
 8409|      0|            error(loc, message, "local_size id", "");
 8410|   566k|    }
 8411|   188k|    if (shaderQualifiers.vertices != TQualifier::layoutNotSet) {
  ------------------
  |  Branch (8411:9): [True: 0, False: 188k]
  ------------------
 8412|      0|        if (language == EShLangGeometry || language == EShLangMesh)
  ------------------
  |  Branch (8412:13): [True: 0, False: 0]
  |  Branch (8412:44): [True: 0, False: 0]
  ------------------
 8413|      0|            error(loc, message, "max_vertices", "");
 8414|      0|        else if (language == EShLangTessControl)
  ------------------
  |  Branch (8414:18): [True: 0, False: 0]
  ------------------
 8415|      0|            error(loc, message, "vertices", "");
 8416|      0|        else
 8417|      0|            assert(0);
 8418|      0|    }
 8419|   188k|    if (shaderQualifiers.earlyFragmentTests)
  ------------------
  |  Branch (8419:9): [True: 0, False: 188k]
  ------------------
 8420|      0|        error(loc, message, "early_fragment_tests", "");
 8421|   188k|    if (shaderQualifiers.postDepthCoverage)
  ------------------
  |  Branch (8421:9): [True: 0, False: 188k]
  ------------------
 8422|      0|        error(loc, message, "post_depth_coverage", "");
 8423|   188k|    if (shaderQualifiers.nonCoherentColorAttachmentReadEXT)
  ------------------
  |  Branch (8423:9): [True: 0, False: 188k]
  ------------------
 8424|      0|        error(loc, message, "non_coherent_color_attachment_readEXT", "");
 8425|   188k|    if (shaderQualifiers.nonCoherentDepthAttachmentReadEXT)
  ------------------
  |  Branch (8425:9): [True: 0, False: 188k]
  ------------------
 8426|      0|        error(loc, message, "non_coherent_depth_attachment_readEXT", "");
 8427|   188k|    if (shaderQualifiers.nonCoherentStencilAttachmentReadEXT)
  ------------------
  |  Branch (8427:9): [True: 0, False: 188k]
  ------------------
 8428|      0|        error(loc, message, "non_coherent_stencil_attachment_readEXT", "");
 8429|   188k|    if (shaderQualifiers.primitives != TQualifier::layoutNotSet) {
  ------------------
  |  Branch (8429:9): [True: 0, False: 188k]
  ------------------
 8430|      0|        if (language == EShLangMesh)
  ------------------
  |  Branch (8430:13): [True: 0, False: 0]
  ------------------
 8431|      0|            error(loc, message, "max_primitives", "");
 8432|      0|        else
 8433|      0|            assert(0);
 8434|      0|    }
 8435|   188k|    if (shaderQualifiers.hasBlendEquation())
  ------------------
  |  Branch (8435:9): [True: 0, False: 188k]
  ------------------
 8436|      0|        error(loc, message, "blend equation", "");
 8437|   188k|    if (shaderQualifiers.numViews != TQualifier::layoutNotSet)
  ------------------
  |  Branch (8437:9): [True: 0, False: 188k]
  ------------------
 8438|      0|        error(loc, message, "num_views", "");
 8439|   188k|    if (shaderQualifiers.interlockOrdering != EioNone)
  ------------------
  |  Branch (8439:9): [True: 0, False: 188k]
  ------------------
 8440|      0|        error(loc, message, TQualifier::getInterlockOrderingString(shaderQualifiers.interlockOrdering), "");
 8441|   188k|    if (shaderQualifiers.layoutPrimitiveCulling)
  ------------------
  |  Branch (8441:9): [True: 0, False: 188k]
  ------------------
 8442|      0|        error(loc, "can only be applied as standalone", "primitive_culling", "");
 8443|       |
 8444|   188k|    if (shaderQualifiers.layoutNonCoherentTileAttachmentReadQCOM)
  ------------------
  |  Branch (8444:9): [True: 0, False: 188k]
  ------------------
 8445|      0|        error(loc, message, "non_coherent_attachment_readQCOM", "");
 8446|   188k|    if (shaderQualifiers.layoutTileShadingRateQCOM[0] >= 1)
  ------------------
  |  Branch (8446:9): [True: 0, False: 188k]
  ------------------
 8447|      0|        error(loc, message, "shading_rate_xQCOM", "");
 8448|   188k|    if (shaderQualifiers.layoutTileShadingRateQCOM[1] >= 1)
  ------------------
  |  Branch (8448:9): [True: 0, False: 188k]
  ------------------
 8449|      0|        error(loc, message, "shading_rate_yQCOM", "");
 8450|   188k|    if (shaderQualifiers.layoutTileShadingRateQCOM[2] >= 1)
  ------------------
  |  Branch (8450:9): [True: 0, False: 188k]
  ------------------
 8451|      0|        error(loc, message, "shading_rate_zQCOM", "");
 8452|   188k|}
_ZN7glslang13TParseContext9fixOffsetERKNS_10TSourceLocERNS_7TSymbolE:
 8456|  16.7k|{
 8457|  16.7k|    const TQualifier& qualifier = symbol.getType().getQualifier();
 8458|  16.7k|    if (symbol.getType().isAtomic()) {
  ------------------
  |  Branch (8458:9): [True: 0, False: 16.7k]
  ------------------
 8459|      0|        if (qualifier.hasBinding() && (int)qualifier.layoutBinding < resources.maxAtomicCounterBindings) {
  ------------------
  |  Branch (8459:13): [True: 0, False: 0]
  |  Branch (8459:39): [True: 0, False: 0]
  ------------------
 8460|       |
 8461|       |            // Set the offset
 8462|      0|            int offset;
 8463|      0|            if (qualifier.hasOffset())
  ------------------
  |  Branch (8463:17): [True: 0, False: 0]
  ------------------
 8464|      0|                offset = qualifier.layoutOffset;
 8465|      0|            else
 8466|      0|                offset = atomicUintOffsets[qualifier.layoutBinding];
 8467|       |
 8468|      0|            if (offset % 4 != 0)
  ------------------
  |  Branch (8468:17): [True: 0, False: 0]
  ------------------
 8469|      0|                error(loc, "atomic counters offset should align based on 4:", "offset", "%d", offset);
 8470|       |
 8471|      0|            symbol.getWritableType().getQualifier().layoutOffset = offset;
 8472|       |
 8473|       |            // Check for overlap
 8474|      0|            int numOffsets = 4;
 8475|      0|            if (symbol.getType().isArray()) {
  ------------------
  |  Branch (8475:17): [True: 0, False: 0]
  ------------------
 8476|      0|                if (symbol.getType().isSizedArray() && !symbol.getType().getArraySizes()->isInnerUnsized())
  ------------------
  |  Branch (8476:21): [True: 0, False: 0]
  |  Branch (8476:56): [True: 0, False: 0]
  ------------------
 8477|      0|                    numOffsets *= symbol.getType().getCumulativeArraySize();
 8478|      0|                else {
 8479|       |                    // "It is a compile-time error to declare an unsized array of atomic_uint."
 8480|      0|                    error(loc, "array must be explicitly sized", "atomic_uint", "");
 8481|      0|                }
 8482|      0|            }
 8483|      0|            int repeated = intermediate.addUsedOffsets(qualifier.layoutBinding, offset, numOffsets);
 8484|      0|            if (repeated >= 0)
  ------------------
  |  Branch (8484:17): [True: 0, False: 0]
  ------------------
 8485|      0|                error(loc, "atomic counters sharing the same offset:", "offset", "%d", repeated);
 8486|       |
 8487|       |            // Bump the default offset
 8488|      0|            atomicUintOffsets[qualifier.layoutBinding] = offset + numOffsets;
 8489|      0|        }
 8490|      0|    }
 8491|  16.7k|}
_ZN7glslang13TParseContext12findFunctionERKNS_10TSourceLocERKNS_9TFunctionERb:
 8499|  2.18k|{
 8500|  2.18k|    if (symbolTable.isFunctionNameVariable(call.getName())) {
  ------------------
  |  Branch (8500:9): [True: 0, False: 2.18k]
  ------------------
 8501|      0|        error(loc, "can't use function syntax on variable", call.getName().c_str(), "");
 8502|      0|        return nullptr;
 8503|      0|    }
 8504|       |
 8505|  2.18k|    const TFunction* function = nullptr;
 8506|       |
 8507|       |    // debugPrintfEXT has var args and is in the symbol table as "debugPrintfEXT()",
 8508|       |    // mangled to "debugPrintfEXT("
 8509|  2.18k|    if (call.getName() == "debugPrintfEXT") {
  ------------------
  |  Branch (8509:9): [True: 0, False: 2.18k]
  ------------------
 8510|      0|        TSymbol* symbol = symbolTable.find("debugPrintfEXT(", &builtIn);
 8511|      0|        if (symbol)
  ------------------
  |  Branch (8511:13): [True: 0, False: 0]
  ------------------
 8512|      0|            return symbol->getAsFunction();
 8513|      0|    }
 8514|       |    // abortEXT has usage (var args) as similar as debugPrintfEXT.
 8515|  2.18k|    if (call.getName() == "abortEXT") {
  ------------------
  |  Branch (8515:9): [True: 0, False: 2.18k]
  ------------------
 8516|      0|        TSymbol* symbol = symbolTable.find("abortEXT(", &builtIn);
 8517|      0|        if (symbol)
  ------------------
  |  Branch (8517:13): [True: 0, False: 0]
  ------------------
 8518|      0|            return symbol->getAsFunction();
 8519|      0|    }
 8520|       |
 8521|       |    // coopMatPerElementNV is variadic. There is some function signature error
 8522|       |    // checking in handleCoopMat2FunctionCall.
 8523|  2.18k|    if (call.getName() == "coopMatPerElementNV") {
  ------------------
  |  Branch (8523:9): [True: 0, False: 2.18k]
  ------------------
 8524|      0|        TSymbol* symbol = symbolTable.find("coopMatPerElementNV(", &builtIn);
 8525|      0|        if (symbol)
  ------------------
  |  Branch (8525:13): [True: 0, False: 0]
  ------------------
 8526|      0|            return symbol->getAsFunction();
 8527|      0|    }
 8528|       |
 8529|  2.18k|    if (call.getName() == "saturatedConvertEXT") {
  ------------------
  |  Branch (8529:9): [True: 0, False: 2.18k]
  ------------------
 8530|      0|        TSymbol* symbol = symbolTable.find("saturatedConvertEXT(", &builtIn);
 8531|      0|        if (symbol)
  ------------------
  |  Branch (8531:13): [True: 0, False: 0]
  ------------------
 8532|      0|            return symbol->getAsFunction();
 8533|      0|    }
 8534|       |
 8535|  2.18k|    bool explicitTypesEnabled = extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (8535:33): [True: 0, False: 2.18k]
  ------------------
 8536|  2.18k|                                extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int8) ||
  ------------------
  |  Branch (8536:33): [True: 0, False: 2.18k]
  ------------------
 8537|  2.18k|                                extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int16) ||
  ------------------
  |  Branch (8537:33): [True: 0, False: 2.18k]
  ------------------
 8538|  2.18k|                                extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int32) ||
  ------------------
  |  Branch (8538:33): [True: 0, False: 2.18k]
  ------------------
 8539|  2.18k|                                extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int64) ||
  ------------------
  |  Branch (8539:33): [True: 0, False: 2.18k]
  ------------------
 8540|  2.18k|                                extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float16) ||
  ------------------
  |  Branch (8540:33): [True: 0, False: 2.18k]
  ------------------
 8541|  2.18k|                                extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float32) ||
  ------------------
  |  Branch (8541:33): [True: 0, False: 2.18k]
  ------------------
 8542|  2.18k|                                extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float64);
  ------------------
  |  Branch (8542:33): [True: 0, False: 2.18k]
  ------------------
 8543|       |
 8544|  2.18k|    if (isEsProfile())
  ------------------
  |  Branch (8544:9): [True: 0, False: 2.18k]
  ------------------
 8545|      0|        function = (explicitTypesEnabled && version >= 310)
  ------------------
  |  Branch (8545:21): [True: 0, False: 0]
  |  Branch (8545:45): [True: 0, False: 0]
  ------------------
 8546|      0|                   ? findFunctionExplicitTypes(loc, call, builtIn)
 8547|      0|                   : ((extensionTurnedOn(E_GL_EXT_shader_implicit_conversions) && version >= 310)
  ------------------
  |  Branch (8547:24): [True: 0, False: 0]
  |  Branch (8547:83): [True: 0, False: 0]
  ------------------
 8548|      0|                      ? findFunction120(loc, call, builtIn)
 8549|      0|                      : findFunctionExact(loc, call, builtIn));
 8550|  2.18k|    else if (version < 120)
  ------------------
  |  Branch (8550:14): [True: 0, False: 2.18k]
  ------------------
 8551|      0|        function = findFunctionExact(loc, call, builtIn);
 8552|  2.18k|    else if (version < 400) {
  ------------------
  |  Branch (8552:14): [True: 0, False: 2.18k]
  ------------------
 8553|      0|        bool needfindFunction400 = extensionTurnedOn(E_GL_ARB_gpu_shader_fp64)
  ------------------
  |  Branch (8553:36): [True: 0, False: 0]
  ------------------
 8554|      0|                                  || extensionTurnedOn(E_GL_ARB_gpu_shader5)
  ------------------
  |  Branch (8554:38): [True: 0, False: 0]
  ------------------
 8555|      0|                                  || extensionTurnedOn(E_GL_NV_gpu_shader5);
  ------------------
  |  Branch (8555:38): [True: 0, False: 0]
  ------------------
 8556|      0|        function = needfindFunction400 ? findFunction400(loc, call, builtIn) : findFunction120(loc, call, builtIn);
  ------------------
  |  Branch (8556:20): [True: 0, False: 0]
  ------------------
 8557|      0|    }
 8558|  2.18k|    else if (explicitTypesEnabled)
  ------------------
  |  Branch (8558:14): [True: 0, False: 2.18k]
  ------------------
 8559|      0|        function = findFunctionExplicitTypes(loc, call, builtIn);
 8560|  2.18k|    else
 8561|  2.18k|        function = findFunction400(loc, call, builtIn);
 8562|       |
 8563|  2.18k|    return function;
 8564|  2.18k|}
_ZN7glslang13TParseContext15findFunction400ERKNS_10TSourceLocERKNS_9TFunctionERb:
 8689|  2.18k|{
 8690|       |    // first, look for an exact match
 8691|  2.18k|    TSymbol* symbol = symbolTable.find(call.getMangledName(), &builtIn);
 8692|  2.18k|    if (symbol)
  ------------------
  |  Branch (8692:9): [True: 1.99k, False: 192]
  ------------------
 8693|  1.99k|        return symbol->getAsFunction();
 8694|       |
 8695|       |    // no exact match, use the generic selector, parameterized by the GLSL rules
 8696|       |
 8697|       |    // create list of candidates to send
 8698|    192|    TVector<const TFunction*> candidateList;
 8699|    192|    symbolTable.findFunctionNameList(call.getMangledName(), candidateList, builtIn);
 8700|       |
 8701|       |    // can 'from' convert to 'to'?
 8702|    192|    const auto convertible = [this,builtIn](const TType& from, const TType& to, TOperator op, int param) -> bool {
 8703|    192|        if (from == to)
 8704|    192|            return true;
 8705|    192|        if (from.coopMatParameterOK(to))
 8706|    192|            return true;
 8707|    192|        if (from.tensorParameterOK(to))
 8708|    192|            return true;
 8709|    192|        if (from.getBasicType() == EbtFunction && to.getBasicType() == EbtFunction)
 8710|    192|            return true;
 8711|    192|        if (from.coopVecParameterOK(to))
 8712|    192|            return true;
 8713|       |        // Allow a sized array to be passed through an unsized array parameter, for coopMatLoad/Store functions
 8714|    192|        if (builtIn && from.isArray() && to.isUnsizedArray()) {
 8715|    192|            TType fromElementType(from, 0);
 8716|    192|            TType toElementType(to, 0);
 8717|       |            // Load/store tensor functions allow any element type for the pointer
 8718|    192|            if ((op == EOpCooperativeMatrixLoadTensorNV || op == EOpCooperativeMatrixStoreTensorNV) &&
 8719|    192|                param == 1) {
 8720|    192|                return true;
 8721|    192|            }
 8722|    192|            if (fromElementType == toElementType)
 8723|    192|                return true;
 8724|    192|        }
 8725|    192|        if (TType::vectorAndLongVectorMatch(from, to))
 8726|    192|            return true;
 8727|    192|        if (from.isArray() || to.isArray() || ! from.sameElementShape(to))
 8728|    192|            return false;
 8729|    192|        if (from.isCoopMat() && to.isCoopMat())
 8730|    192|            return from.sameCoopMatBaseType(to);
 8731|    192|        if (from.isCoopVecNV() && to.isCoopVecNV())
 8732|    192|            return from.sameCoopVecBaseType(to);
 8733|    192|        if (from.isLongVector() && to.isLongVector())
 8734|    192|            return from.sameLongVectorBaseType(to);
 8735|    192|        if (from.isTensorARM() && to.isTensorARM())
 8736|    192|            return from.sameTensorBaseTypeARM(to);
 8737|    192|        return intermediate.canImplicitlyPromote(from.getBasicType(), to.getBasicType());
 8738|    192|    };
 8739|       |
 8740|       |    // Is 'to2' a better conversion than 'to1'?
 8741|       |    // Ties should not be considered as better.
 8742|       |    // Assumes 'convertible' already said true.
 8743|    192|    const auto better = [&](const TType& from, const TType& to1, const TType& to2) -> bool {
 8744|       |        // 1. exact match
 8745|    192|        bool to2Matches = from == to2 || (from.isLongVector() && to2.getBasicType() == EbtLongVector);
 8746|    192|        bool to1Matches = from == to1 || (from.isLongVector() && to1.getBasicType() == EbtLongVector);
 8747|    192|        if (to2Matches)
 8748|    192|            return !to1Matches;
 8749|    192|        if (to1Matches)
 8750|    192|            return false;
 8751|       |
 8752|    192|        if (extensionTurnedOn(E_GL_NV_gpu_shader5)) {
 8753|       |            // This map refers to the conversion table mentioned under the 
 8754|       |            // section "Modify Section 6.1, Function Definitions, p. 63" in NV_gpu_shader5 spec
 8755|    192|            const static std::map<int, std::vector<int>> conversionTable = {
 8756|    192|                {EbtInt8,   {EbtInt, EbtInt64}},
 8757|    192|                {EbtInt16,  {EbtInt, EbtInt64}},
 8758|    192|                {EbtInt,    {EbtInt64}},
 8759|    192|                {EbtUint8,  {EbtUint, EbtUint64}}, 
 8760|    192|                {EbtUint16, {EbtUint, EbtUint64}}, 
 8761|    192|                {EbtUint,   {EbtUint64}},
 8762|    192|            };
 8763|    192|            auto source = conversionTable.find(from.getBasicType());
 8764|    192|            if (source != conversionTable.end()) {
 8765|    192|                for (auto destination : source->second) {
 8766|    192|                    if (to2.getBasicType() == destination &&
 8767|    192|                        to1.getBasicType() != destination) // to2 is better then to1
 8768|    192|                        return true;
 8769|    192|                    else if (to1.getBasicType() == destination &&
 8770|    192|                             to2.getBasicType() != destination) // This means to1 is better then to2
 8771|    192|                        return false;
 8772|    192|                }
 8773|    192|            }
 8774|    192|        }
 8775|       |        // 2. float -> double is better
 8776|    192|        if (from.getBasicType() == EbtFloat) {
 8777|    192|            if (to2.getBasicType() == EbtDouble && to1.getBasicType() != EbtDouble)
 8778|    192|                return true;
 8779|    192|        }
 8780|       |
 8781|       |        // 3. -> float is better than -> double
 8782|    192|        return to2.getBasicType() == EbtFloat && to1.getBasicType() == EbtDouble;
 8783|    192|    };
 8784|       |
 8785|       |    // for ambiguity reporting
 8786|    192|    bool tie = false;
 8787|       |
 8788|       |    // send to the generic selector
 8789|    192|    const TFunction* bestMatch = selectFunction(candidateList, call, convertible, better, tie);
 8790|       |
 8791|    192|    if (bestMatch == nullptr)
  ------------------
  |  Branch (8791:9): [True: 192, False: 0]
  ------------------
 8792|    192|        error(loc, "no matching overloaded function found", call.getName().c_str(), "");
 8793|      0|    else if (tie)
  ------------------
  |  Branch (8793:14): [True: 0, False: 0]
  ------------------
 8794|      0|        error(loc, "ambiguous best function under implicit type conversion", call.getName().c_str(), "");
 8795|       |
 8796|    192|    return bestMatch;
 8797|  2.18k|}
_ZN7glslang13TParseContext19declareTypeDefaultsERKNS_10TSourceLocERKNS_11TPublicTypeE:
 8975|     21|{
 8976|     21|    if (publicType.basicType == EbtAtomicUint && publicType.qualifier.hasBinding()) {
  ------------------
  |  Branch (8976:9): [True: 0, False: 21]
  |  Branch (8976:50): [True: 0, False: 0]
  ------------------
 8977|      0|        if (publicType.qualifier.layoutBinding >= resources.maxAtomicCounterBindings) {
  ------------------
  |  Branch (8977:13): [True: 0, False: 0]
  ------------------
 8978|      0|            error(loc, "atomic_uint binding is too large", "binding", "");
 8979|      0|            return;
 8980|      0|        }
 8981|      0|        if (publicType.qualifier.hasOffset())
  ------------------
  |  Branch (8981:13): [True: 0, False: 0]
  ------------------
 8982|      0|            atomicUintOffsets[publicType.qualifier.layoutBinding] = publicType.qualifier.layoutOffset;
 8983|      0|        return;
 8984|      0|    }
 8985|       |
 8986|     21|    if (publicType.arraySizes) {
  ------------------
  |  Branch (8986:9): [True: 0, False: 21]
  ------------------
 8987|      0|        error(loc, "expect an array name", "", "");
 8988|      0|    }
 8989|       |
 8990|     21|    if (publicType.qualifier.hasLayout() && !publicType.qualifier.hasBufferReference())
  ------------------
  |  Branch (8990:9): [True: 0, False: 21]
  |  Branch (8990:45): [True: 0, False: 0]
  ------------------
 8991|      0|        warn(loc, "useless application of layout qualifier", "layout", "");
 8992|     21|}
_ZN7glslang13TParseContext19typeParametersCheckERKNS_10TSourceLocERKNS_11TPublicTypeE:
 8995|  1.91M|{
 8996|  1.91M|    if (parsingBuiltins)
  ------------------
  |  Branch (8996:9): [True: 1.91M, False: 1.59k]
  ------------------
 8997|  1.91M|        return;
 8998|  1.59k|    if (publicType.isCoopmatKHR()) {
  ------------------
  |  Branch (8998:9): [True: 0, False: 1.59k]
  ------------------
 8999|      0|        if (publicType.typeParameters == nullptr) {
  ------------------
  |  Branch (8999:13): [True: 0, False: 0]
  ------------------
 9000|      0|            error(loc, "coopmat missing type parameters", "", "");
 9001|      0|            return;
 9002|      0|        }
 9003|      0|        switch (publicType.typeParameters->basicType) {
 9004|      0|        case EbtFloat:
  ------------------
  |  Branch (9004:9): [True: 0, False: 0]
  ------------------
 9005|      0|        case EbtFloat16:
  ------------------
  |  Branch (9005:9): [True: 0, False: 0]
  ------------------
 9006|      0|        case EbtBFloat16:
  ------------------
  |  Branch (9006:9): [True: 0, False: 0]
  ------------------
 9007|      0|        case EbtFloatE5M2:
  ------------------
  |  Branch (9007:9): [True: 0, False: 0]
  ------------------
 9008|      0|        case EbtFloatE4M3:
  ------------------
  |  Branch (9008:9): [True: 0, False: 0]
  ------------------
 9009|      0|        case EbtInt:
  ------------------
  |  Branch (9009:9): [True: 0, False: 0]
  ------------------
 9010|      0|        case EbtInt8:
  ------------------
  |  Branch (9010:9): [True: 0, False: 0]
  ------------------
 9011|      0|        case EbtInt16:
  ------------------
  |  Branch (9011:9): [True: 0, False: 0]
  ------------------
 9012|      0|        case EbtUint:
  ------------------
  |  Branch (9012:9): [True: 0, False: 0]
  ------------------
 9013|      0|        case EbtUint8:
  ------------------
  |  Branch (9013:9): [True: 0, False: 0]
  ------------------
 9014|      0|        case EbtUint16:
  ------------------
  |  Branch (9014:9): [True: 0, False: 0]
  ------------------
 9015|      0|        case EbtSpirvType:
  ------------------
  |  Branch (9015:9): [True: 0, False: 0]
  ------------------
 9016|      0|            break;
 9017|      0|        default:
  ------------------
  |  Branch (9017:9): [True: 0, False: 0]
  ------------------
 9018|      0|            error(loc, "coopmat invalid basic type", TType::getBasicString(publicType.typeParameters->basicType), "");
 9019|      0|            break;
 9020|      0|        }
 9021|      0|        if (publicType.typeParameters->arraySizes->getNumDims() != 4) {
  ------------------
  |  Branch (9021:13): [True: 0, False: 0]
  ------------------
 9022|      0|            error(loc, "coopmat incorrect number of type parameters", "", "");
 9023|      0|            return;
 9024|      0|        }
 9025|      0|        int use = publicType.typeParameters->arraySizes->getDimSize(3);
 9026|      0|        if (use < 0 || use > 2) {
  ------------------
  |  Branch (9026:13): [True: 0, False: 0]
  |  Branch (9026:24): [True: 0, False: 0]
  ------------------
 9027|      0|            error(loc, "coopmat invalid matrix Use", "", "");
 9028|      0|            return;
 9029|      0|        }
 9030|      0|    }
 9031|  1.59k|    if (publicType.isTensorLayoutNV()) {
  ------------------
  |  Branch (9031:9): [True: 0, False: 1.59k]
  ------------------
 9032|      0|        if (publicType.typeParameters == nullptr) {
  ------------------
  |  Branch (9032:13): [True: 0, False: 0]
  ------------------
 9033|      0|            error(loc, "tensorLayout missing type parameters", "", "");
 9034|      0|            return;
 9035|      0|        }
 9036|      0|        if (publicType.typeParameters->arraySizes->getNumDims() > 2) {
  ------------------
  |  Branch (9036:13): [True: 0, False: 0]
  ------------------
 9037|      0|            error(loc, "tensorLayout incorrect number of type parameters", "", "");
 9038|      0|            return;
 9039|      0|        }
 9040|      0|        if (publicType.typeParameters && publicType.typeParameters->arraySizes->getNumDims() < 2) {
  ------------------
  |  Branch (9040:13): [True: 0, False: 0]
  |  Branch (9040:42): [True: 0, False: 0]
  ------------------
 9041|      0|            while (publicType.typeParameters->arraySizes->getNumDims() < 2) {
  ------------------
  |  Branch (9041:20): [True: 0, False: 0]
  ------------------
 9042|      0|                publicType.typeParameters->arraySizes->addInnerSize(0);
 9043|      0|            }
 9044|      0|        }
 9045|      0|    }
 9046|  1.59k|    if (publicType.isTensorViewNV()) {
  ------------------
  |  Branch (9046:9): [True: 0, False: 1.59k]
  ------------------
 9047|      0|        if (publicType.typeParameters == nullptr) {
  ------------------
  |  Branch (9047:13): [True: 0, False: 0]
  ------------------
 9048|      0|            error(loc, "tensorView missing type parameters", "", "");
 9049|      0|            return;
 9050|      0|        }
 9051|      0|        if (publicType.typeParameters->arraySizes->getNumDims() < 1 ||
  ------------------
  |  Branch (9051:13): [True: 0, False: 0]
  ------------------
 9052|      0|            publicType.typeParameters->arraySizes->getNumDims() > 7) {
  ------------------
  |  Branch (9052:13): [True: 0, False: 0]
  ------------------
 9053|      0|            error(loc, "tensorView incorrect number of type parameters", "", "");
 9054|      0|            return;
 9055|      0|        }
 9056|      0|        if (publicType.typeParameters && publicType.typeParameters->arraySizes->getNumDims() < 7) {
  ------------------
  |  Branch (9056:13): [True: 0, False: 0]
  |  Branch (9056:42): [True: 0, False: 0]
  ------------------
 9057|      0|            uint32_t numDims = publicType.typeParameters->arraySizes->getNumDims();
 9058|      0|            while (numDims < 7) {
  ------------------
  |  Branch (9058:20): [True: 0, False: 0]
  ------------------
 9059|      0|                uint32_t dim = (numDims == 1) ? 0 : (numDims - 2);
  ------------------
  |  Branch (9059:32): [True: 0, False: 0]
  ------------------
 9060|      0|                publicType.typeParameters->arraySizes->addInnerSize(dim);
 9061|      0|                numDims++;
 9062|      0|            }
 9063|      0|        }
 9064|      0|    }
 9065|  1.59k|    if (publicType.isTensorARM()) {
  ------------------
  |  Branch (9065:9): [True: 0, False: 1.59k]
  ------------------
 9066|      0|        if (publicType.typeParameters == nullptr) {
  ------------------
  |  Branch (9066:13): [True: 0, False: 0]
  ------------------
 9067|      0|            error(loc, "tensor type is missing type parameters", "", "");
 9068|      0|            return;
 9069|      0|        }
 9070|      0|        if (publicType.typeParameters->arraySizes == nullptr) {
  ------------------
  |  Branch (9070:13): [True: 0, False: 0]
  ------------------
 9071|      0|            error(loc, "tensor type is missing rank information", "", "");
 9072|      0|            return;
 9073|      0|        }
 9074|      0|        if (publicType.typeParameters->arraySizes->getNumDims() != 1) {
  ------------------
  |  Branch (9074:13): [True: 0, False: 0]
  ------------------
 9075|      0|            error(loc, "tensor type requires exactly 1 rank specifier", "", "");
 9076|      0|            return;
 9077|      0|        }
 9078|      0|        if (publicType.typeParameters->arraySizes->getDimSize(0) < 1) {
  ------------------
  |  Branch (9078:13): [True: 0, False: 0]
  ------------------
 9079|      0|            error(loc, "tensor rank must be greater than or equal to 1", "", "");
 9080|      0|            return;
 9081|      0|        }
 9082|      0|    }
 9083|  1.59k|    if (publicType.isLongVector() && !isValidLongVectorElseError(loc, publicType)) {
  ------------------
  |  Branch (9083:9): [True: 0, False: 1.59k]
  |  Branch (9083:38): [True: 0, False: 0]
  ------------------
 9084|      0|        return;
 9085|      0|    }
 9086|  1.59k|}
_ZN7glslang13TParseContext15declareVariableERKNS_10TSourceLocERNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_11TPublicTypeEPNS_11TArraySizesEPNS_12TIntermTypedE:
 9454|  16.7k|{
 9455|       |    // Make a fresh type that combines the characteristics from the individual
 9456|       |    // identifier syntax and the declaration-type syntax.
 9457|  16.7k|    TType type(publicType);
 9458|  16.7k|    type.transferArraySizes(arraySizes);
 9459|  16.7k|    type.copyArrayInnerSizes(publicType.arraySizes);
 9460|  16.7k|    arrayOfArrayVersionCheck(loc, type.getArraySizes());
 9461|       |
 9462|  16.7k|    if (initializer) {
  ------------------
  |  Branch (9462:9): [True: 5.09k, False: 11.6k]
  ------------------
 9463|  5.09k|        if (type.getBasicType() == EbtRayQuery) {
  ------------------
  |  Branch (9463:13): [True: 0, False: 5.09k]
  ------------------
 9464|      0|            error(loc, "ray queries can only be initialized by using the rayQueryInitializeEXT intrinsic:", "=", identifier.c_str());
 9465|  5.09k|        } else if ((type.getBasicType() == EbtHitObjectNV) || (type.getBasicType() == EbtHitObjectEXT)) {
  ------------------
  |  Branch (9465:20): [True: 0, False: 5.09k]
  |  Branch (9465:63): [True: 0, False: 5.09k]
  ------------------
 9466|      0|            error(loc, "hit objects cannot be initialized using initializers", "=", identifier.c_str());
 9467|      0|        }
 9468|       |
 9469|  5.09k|    }
 9470|       |
 9471|  16.7k|    if (type.isCoopMatKHR()) {
  ------------------
  |  Branch (9471:9): [True: 0, False: 16.7k]
  ------------------
 9472|      0|        intermediate.setUseVulkanMemoryModel();
 9473|      0|        intermediate.setUseStorageBuffer();
 9474|       |
 9475|      0|        if (!publicType.typeParameters || !publicType.typeParameters->arraySizes ||
  ------------------
  |  Branch (9475:13): [True: 0, False: 0]
  |  Branch (9475:43): [True: 0, False: 0]
  ------------------
 9476|      0|            publicType.typeParameters->arraySizes->getNumDims() != 4) {
  ------------------
  |  Branch (9476:13): [True: 0, False: 0]
  ------------------
 9477|      0|            error(loc, "unexpected number type parameters", identifier.c_str(), "");
 9478|      0|        }
 9479|      0|        if (publicType.typeParameters) {
  ------------------
  |  Branch (9479:13): [True: 0, False: 0]
  ------------------
 9480|      0|            if (!isTypeFloat(publicType.typeParameters->basicType) &&
  ------------------
  |  Branch (9480:17): [True: 0, False: 0]
  ------------------
 9481|      0|                !isTypeInt(publicType.typeParameters->basicType) && publicType.typeParameters->basicType != EbtSpirvType) {
  ------------------
  |  Branch (9481:17): [True: 0, False: 0]
  |  Branch (9481:69): [True: 0, False: 0]
  ------------------
 9482|      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(), "");
 9483|      0|            }
 9484|      0|        }
 9485|      0|    }
 9486|  16.7k|    else if (type.isCoopMatNV()) {
  ------------------
  |  Branch (9486:14): [True: 0, False: 16.7k]
  ------------------
 9487|      0|        intermediate.setUseVulkanMemoryModel();
 9488|      0|        intermediate.setUseStorageBuffer();
 9489|       |
 9490|      0|        if (!publicType.typeParameters || !publicType.typeParameters->arraySizes || publicType.typeParameters->arraySizes->getNumDims() != 4) {
  ------------------
  |  Branch (9490:13): [True: 0, False: 0]
  |  Branch (9490:43): [True: 0, False: 0]
  |  Branch (9490:85): [True: 0, False: 0]
  ------------------
 9491|      0|            error(loc, "expected four type parameters", identifier.c_str(), "");
 9492|      0|        } else {
 9493|      0|            if (isTypeFloat(publicType.basicType) &&
  ------------------
  |  Branch (9493:17): [True: 0, False: 0]
  ------------------
 9494|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 16 &&
  ------------------
  |  Branch (9494:17): [True: 0, False: 0]
  ------------------
 9495|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 32 &&
  ------------------
  |  Branch (9495:17): [True: 0, False: 0]
  ------------------
 9496|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 64) {
  ------------------
  |  Branch (9496:17): [True: 0, False: 0]
  ------------------
 9497|      0|                error(loc, "expected 16, 32, or 64 bits for first type parameter", identifier.c_str(), "");
 9498|      0|            }
 9499|      0|            if (isTypeInt(publicType.basicType) &&
  ------------------
  |  Branch (9499:17): [True: 0, False: 0]
  ------------------
 9500|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 8 &&
  ------------------
  |  Branch (9500:17): [True: 0, False: 0]
  ------------------
 9501|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 16 &&
  ------------------
  |  Branch (9501:17): [True: 0, False: 0]
  ------------------
 9502|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 32) {
  ------------------
  |  Branch (9502:17): [True: 0, False: 0]
  ------------------
 9503|      0|                error(loc, "expected 8, 16, or 32 bits for first type parameter", identifier.c_str(), "");
 9504|      0|            }
 9505|      0|        }
 9506|  16.7k|    } else if (type.isTensorLayoutNV()) {
  ------------------
  |  Branch (9506:16): [True: 0, False: 16.7k]
  ------------------
 9507|      0|        if (!publicType.typeParameters || publicType.typeParameters->arraySizes->getNumDims() > 2) {
  ------------------
  |  Branch (9507:13): [True: 0, False: 0]
  |  Branch (9507:43): [True: 0, False: 0]
  ------------------
 9508|      0|            error(loc, "expected 1-2 type parameters", identifier.c_str(), "");
 9509|      0|        }
 9510|  16.7k|    } else if (type.isTensorViewNV()) {
  ------------------
  |  Branch (9510:16): [True: 0, False: 16.7k]
  ------------------
 9511|      0|        if (!publicType.typeParameters || publicType.typeParameters->arraySizes->getNumDims() > 7) {
  ------------------
  |  Branch (9511:13): [True: 0, False: 0]
  |  Branch (9511:43): [True: 0, False: 0]
  ------------------
 9512|      0|            error(loc, "expected 1-7 type parameters", identifier.c_str(), "");
 9513|      0|        }
 9514|  16.7k|    } else if (type.isCoopVecNV()) {
  ------------------
  |  Branch (9514:16): [True: 0, False: 16.7k]
  ------------------
 9515|      0|        intermediate.setUseVulkanMemoryModel();
 9516|      0|        intermediate.setUseStorageBuffer();
 9517|       |
 9518|      0|        if (!publicType.typeParameters || !publicType.typeParameters->arraySizes || publicType.typeParameters->arraySizes->getNumDims() != 1) {
  ------------------
  |  Branch (9518:13): [True: 0, False: 0]
  |  Branch (9518:43): [True: 0, False: 0]
  |  Branch (9518:85): [True: 0, False: 0]
  ------------------
 9519|      0|            error(loc, "expected two type parameters", identifier.c_str(), "");
 9520|      0|        } else if (publicType.typeParameters->arraySizes->getDimNode(0) == nullptr && publicType.typeParameters->arraySizes->getDimSize(0) <= 0) {
  ------------------
  |  Branch (9520:20): [True: 0, False: 0]
  |  Branch (9520:87): [True: 0, False: 0]
  ------------------
 9521|      0|            error(loc, "expected positive number of components", identifier.c_str(), "");
 9522|      0|        }
 9523|  16.7k|    } else if (type.isLongVector()) {
  ------------------
  |  Branch (9523:16): [True: 0, False: 16.7k]
  ------------------
 9524|      0|        intermediate.setUseStorageBuffer();
 9525|       |
 9526|      0|        if (!publicType.typeParameters || !publicType.typeParameters->arraySizes || publicType.typeParameters->arraySizes->getNumDims() != 1) {
  ------------------
  |  Branch (9526:13): [True: 0, False: 0]
  |  Branch (9526:43): [True: 0, False: 0]
  |  Branch (9526:85): [True: 0, False: 0]
  ------------------
 9527|      0|            error(loc, "expected two type parameters", identifier.c_str(), "");
 9528|      0|        } else if (publicType.typeParameters->arraySizes->getDimNode(0) == nullptr && publicType.typeParameters->arraySizes->getDimSize(0) <= 0) {
  ------------------
  |  Branch (9528:20): [True: 0, False: 0]
  |  Branch (9528:87): [True: 0, False: 0]
  ------------------
 9529|      0|            error(loc, "expected positive number of components", identifier.c_str(), "");
 9530|      0|        }
 9531|  16.7k|    } else if (type.isTensorARM()) {
  ------------------
  |  Branch (9531:16): [True: 0, False: 16.7k]
  ------------------
 9532|      0|        intermediate.setUseStorageBuffer();
 9533|       |
 9534|      0|        if (!publicType.typeParameters || publicType.typeParameters->arraySizes->getNumDims() != 1) {
  ------------------
  |  Branch (9534:13): [True: 0, False: 0]
  |  Branch (9534:43): [True: 0, False: 0]
  ------------------
 9535|      0|            error(loc, "expected two type parameters", identifier.c_str(), "");
 9536|      0|        }
 9537|      0|        if (publicType.typeParameters) {
  ------------------
  |  Branch (9537:13): [True: 0, False: 0]
  ------------------
 9538|      0|            if (publicType.typeParameters->basicType != EbtBool &&
  ------------------
  |  Branch (9538:17): [True: 0, False: 0]
  ------------------
 9539|      0|                publicType.typeParameters->basicType != EbtInt8 &&
  ------------------
  |  Branch (9539:17): [True: 0, False: 0]
  ------------------
 9540|      0|                publicType.typeParameters->basicType != EbtInt16 &&
  ------------------
  |  Branch (9540:17): [True: 0, False: 0]
  ------------------
 9541|      0|                publicType.typeParameters->basicType != EbtInt &&
  ------------------
  |  Branch (9541:17): [True: 0, False: 0]
  ------------------
 9542|      0|                publicType.typeParameters->basicType != EbtInt64 &&
  ------------------
  |  Branch (9542:17): [True: 0, False: 0]
  ------------------
 9543|      0|                publicType.typeParameters->basicType != EbtUint8 &&
  ------------------
  |  Branch (9543:17): [True: 0, False: 0]
  ------------------
 9544|      0|                publicType.typeParameters->basicType != EbtUint16 &&
  ------------------
  |  Branch (9544:17): [True: 0, False: 0]
  ------------------
 9545|      0|                publicType.typeParameters->basicType != EbtUint &&
  ------------------
  |  Branch (9545:17): [True: 0, False: 0]
  ------------------
 9546|      0|                publicType.typeParameters->basicType != EbtUint64 &&
  ------------------
  |  Branch (9546:17): [True: 0, False: 0]
  ------------------
 9547|      0|                publicType.typeParameters->basicType != EbtFloat16 &&
  ------------------
  |  Branch (9547:17): [True: 0, False: 0]
  ------------------
 9548|      0|                publicType.typeParameters->basicType != EbtFloat &&
  ------------------
  |  Branch (9548:17): [True: 0, False: 0]
  ------------------
 9549|      0|                publicType.typeParameters->basicType != EbtDouble &&
  ------------------
  |  Branch (9549:17): [True: 0, False: 0]
  ------------------
 9550|      0|                publicType.typeParameters->basicType != EbtBFloat16 &&
  ------------------
  |  Branch (9550:17): [True: 0, False: 0]
  ------------------
 9551|      0|                publicType.typeParameters->basicType != EbtFloatE5M2 &&
  ------------------
  |  Branch (9551:17): [True: 0, False: 0]
  ------------------
 9552|      0|                publicType.typeParameters->basicType != EbtFloatE4M3) {
  ------------------
  |  Branch (9552:17): [True: 0, False: 0]
  ------------------
 9553|      0|                error(loc, "expected bool, integer or floating point type parameter", identifier.c_str(), "");
 9554|      0|            }
 9555|       |
 9556|      0|            if (publicType.typeParameters->basicType == EbtBFloat16) {
  ------------------
  |  Branch (9556:17): [True: 0, False: 0]
  ------------------
 9557|      0|                requireExtensions(loc, 1, &E_GL_ARM_tensors_bfloat16, "tensor with bfloat16_t type");
 9558|      0|            }
 9559|       |
 9560|      0|            if (publicType.typeParameters->basicType == EbtFloatE5M2) {
  ------------------
  |  Branch (9560:17): [True: 0, False: 0]
  ------------------
 9561|      0|                requireExtensions(loc, 1, &E_GL_ARM_tensors_float_e5m2, "tensor with floate5m2_t type");
 9562|      0|            }
 9563|       |
 9564|      0|            if (publicType.typeParameters->basicType == EbtFloatE4M3) {
  ------------------
  |  Branch (9564:17): [True: 0, False: 0]
  ------------------
 9565|      0|                requireExtensions(loc, 1, &E_GL_ARM_tensors_float_e4m3, "tensor with floate4m3_t type");
 9566|      0|            }
 9567|      0|        }
 9568|  16.7k|    } else {
 9569|  16.7k|        if (publicType.typeParameters && publicType.typeParameters->arraySizes->getNumDims() != 0) {
  ------------------
  |  Branch (9569:13): [True: 0, False: 16.7k]
  |  Branch (9569:42): [True: 0, False: 0]
  ------------------
 9570|      0|            error(loc, "unexpected type parameters", identifier.c_str(), "");
 9571|      0|        }
 9572|  16.7k|    }
 9573|       |
 9574|  16.7k|    if (voidErrorCheck(loc, identifier, type.getBasicType()))
  ------------------
  |  Branch (9574:9): [True: 0, False: 16.7k]
  ------------------
 9575|      0|        return nullptr;
 9576|       |
 9577|  16.7k|    if (initializer)
  ------------------
  |  Branch (9577:9): [True: 5.09k, False: 11.6k]
  ------------------
 9578|  5.09k|        rValueErrorCheck(loc, "initializer", initializer);
 9579|  11.6k|    else
 9580|  11.6k|        nonInitConstCheck(loc, identifier, type);
 9581|       |
 9582|  16.7k|    samplerCheck(loc, type, identifier, initializer);
 9583|  16.7k|    transparentOpaqueCheck(loc, type, identifier);
 9584|  16.7k|    atomicUintCheck(loc, type, identifier);
 9585|  16.7k|    accStructCheck(loc, type, identifier);
 9586|  16.7k|    hitObjectNVCheck(loc, type, identifier);
 9587|  16.7k|    hitObjectEXTCheck(loc, type, identifier);
 9588|  16.7k|    checkAndResizeMeshViewDim(loc, type, /*isBlockMember*/ false);
 9589|  16.7k|    if (type.getQualifier().storage == EvqConst && type.containsReference()) {
  ------------------
  |  Branch (9589:9): [True: 4.85k, False: 11.8k]
  |  Branch (9589:52): [True: 0, False: 4.85k]
  ------------------
 9590|      0|        error(loc, "variables with reference type can't have qualifier 'const'", "qualifier", "");
 9591|      0|    }
 9592|       |
 9593|  16.7k|    if (type.getQualifier().storage != EvqUniform && type.getQualifier().storage != EvqBuffer) {
  ------------------
  |  Branch (9593:9): [True: 16.3k, False: 425]
  |  Branch (9593:54): [True: 16.3k, False: 0]
  ------------------
 9594|  16.3k|        if (type.contains16BitFloat())
  ------------------
  |  Branch (9594:13): [True: 0, False: 16.3k]
  ------------------
 9595|      0|            requireFloat16Arithmetic(loc, "qualifier", "float16 types can only be in uniform block or buffer storage");
 9596|  16.3k|        if (type.contains16BitInt())
  ------------------
  |  Branch (9596:13): [True: 0, False: 16.3k]
  ------------------
 9597|      0|            requireInt16Arithmetic(loc, "qualifier", "(u)int16 types can only be in uniform block or buffer storage");
 9598|  16.3k|        if (type.contains8BitInt())
  ------------------
  |  Branch (9598:13): [True: 0, False: 16.3k]
  ------------------
 9599|      0|            requireInt8Arithmetic(loc, "qualifier", "(u)int8 types can only be in uniform block or buffer storage");
 9600|  16.3k|    }
 9601|  16.7k|    if (type.getBasicType() == EbtBFloat16 &&
  ------------------
  |  Branch (9601:9): [True: 0, False: 16.7k]
  ------------------
 9602|      0|        (type.getQualifier().storage == EvqVaryingIn || type.getQualifier().storage == EvqVaryingOut))
  ------------------
  |  Branch (9602:10): [True: 0, False: 0]
  |  Branch (9602:57): [True: 0, False: 0]
  ------------------
 9603|      0|        error(loc, "qualifier", "bfloat16 types not allowed as input/output", "");
 9604|       |
 9605|  16.7k|    if ((type.getBasicType() == EbtFloatE5M2 || type.getBasicType() == EbtFloatE4M3) &&
  ------------------
  |  Branch (9605:10): [True: 0, False: 16.7k]
  |  Branch (9605:49): [True: 0, False: 16.7k]
  ------------------
 9606|      0|        (type.getQualifier().storage == EvqVaryingIn || type.getQualifier().storage == EvqVaryingOut))
  ------------------
  |  Branch (9606:10): [True: 0, False: 0]
  |  Branch (9606:57): [True: 0, False: 0]
  ------------------
 9607|      0|        error(loc, "qualifier", "fp8 types not allowed as input/output", "");
 9608|       |
 9609|  16.7k|    if (type.containsOcpMicroscalingFloat() &&
  ------------------
  |  Branch (9609:9): [True: 0, False: 16.7k]
  ------------------
 9610|      0|        (type.getQualifier().storage == EvqVaryingIn || type.getQualifier().storage == EvqVaryingOut))
  ------------------
  |  Branch (9610:10): [True: 0, False: 0]
  |  Branch (9610:57): [True: 0, False: 0]
  ------------------
 9611|      0|        error(loc, "qualifier", "microscaling types not allowed as input/output", "");
 9612|       |
 9613|  16.7k|    if (type.containsOcpMicroscalingNonByteFloat() &&
  ------------------
  |  Branch (9613:9): [True: 0, False: 16.7k]
  ------------------
 9614|      0|        (type.getQualifier().storage == EvqUniform || type.getQualifier().storage == EvqBuffer || type.getQualifier().storage == EvqShared))
  ------------------
  |  Branch (9614:10): [True: 0, False: 0]
  |  Branch (9614:55): [True: 0, False: 0]
  |  Branch (9614:99): [True: 0, False: 0]
  ------------------
 9615|      0|        error(loc, "qualifier", "sub-byte sized types not allowed in storage class", "");
 9616|       |
 9617|  16.7k|    if (type.getQualifier().storage == EvqtaskPayloadSharedEXT)
  ------------------
  |  Branch (9617:9): [True: 0, False: 16.7k]
  ------------------
 9618|      0|        intermediate.addTaskPayloadEXTCount();
 9619|  16.7k|    if (type.getQualifier().storage == EvqShared && type.containsCoopMat())
  ------------------
  |  Branch (9619:9): [True: 0, False: 16.7k]
  |  Branch (9619:53): [True: 0, False: 0]
  ------------------
 9620|      0|        error(loc, "qualifier", "Cooperative matrix types must not be used in shared memory", "");
 9621|       |
 9622|  16.7k|    if (profile == EEsProfile) {
  ------------------
  |  Branch (9622:9): [True: 0, False: 16.7k]
  ------------------
 9623|      0|        if (type.getQualifier().isPipeInput() && type.getBasicType() == EbtStruct) {
  ------------------
  |  Branch (9623:13): [True: 0, False: 0]
  |  Branch (9623:50): [True: 0, False: 0]
  ------------------
 9624|      0|            if (type.getQualifier().isArrayedIo(language)) {
  ------------------
  |  Branch (9624:17): [True: 0, False: 0]
  ------------------
 9625|      0|                TType perVertexType(type, 0);
 9626|      0|                if (perVertexType.containsArray() && perVertexType.containsBuiltIn() == false) {
  ------------------
  |  Branch (9626:21): [True: 0, False: 0]
  |  Branch (9626:54): [True: 0, False: 0]
  ------------------
 9627|      0|                    error(loc, "A per vertex structure containing an array is not allowed as input in ES", type.getTypeName().c_str(), "");
 9628|      0|                }
 9629|      0|            }
 9630|      0|            else if (type.containsArray() && type.containsBuiltIn() == false) {
  ------------------
  |  Branch (9630:22): [True: 0, False: 0]
  |  Branch (9630:46): [True: 0, False: 0]
  ------------------
 9631|      0|                error(loc, "A structure containing an array is not allowed as input in ES", type.getTypeName().c_str(), "");
 9632|      0|            }
 9633|      0|            if (type.containsStructure())
  ------------------
  |  Branch (9633:17): [True: 0, False: 0]
  ------------------
 9634|      0|                error(loc, "A structure containing an struct is not allowed as input in ES", type.getTypeName().c_str(), "");
 9635|      0|        }
 9636|      0|    }
 9637|       |
 9638|  16.7k|    if (identifier != "gl_FragCoord" && (publicType.shaderQualifiers.originUpperLeft || publicType.shaderQualifiers.pixelCenterInteger))
  ------------------
  |  Branch (9638:9): [True: 16.6k, False: 124]
  |  Branch (9638:42): [True: 0, False: 16.6k]
  |  Branch (9638:89): [True: 0, False: 16.6k]
  ------------------
 9639|      0|        error(loc, "can only apply origin_upper_left and pixel_center_origin to gl_FragCoord", "layout qualifier", "");
 9640|  16.7k|    if (identifier != "gl_FragDepth" && publicType.shaderQualifiers.getDepth() != EldNone)
  ------------------
  |  Branch (9640:9): [True: 16.6k, False: 124]
  |  Branch (9640:41): [True: 0, False: 16.6k]
  ------------------
 9641|      0|        error(loc, "can only apply depth layout to gl_FragDepth", "layout qualifier", "");
 9642|  16.7k|    if (identifier != "gl_FragStencilRefARB" && publicType.shaderQualifiers.getStencil() != ElsNone)
  ------------------
  |  Branch (9642:9): [True: 16.6k, False: 124]
  |  Branch (9642:49): [True: 0, False: 16.6k]
  ------------------
 9643|      0|        error(loc, "can only apply depth layout to gl_FragStencilRefARB", "layout qualifier", "");
 9644|       |
 9645|       |    // Check for redeclaration of built-ins and/or attempting to declare a reserved name
 9646|  16.7k|    TSymbol* symbol = redeclareBuiltinVariable(loc, identifier, type.getQualifier(), publicType.shaderQualifiers);
 9647|  16.7k|    if (symbol == nullptr)
  ------------------
  |  Branch (9647:9): [True: 16.7k, False: 0]
  ------------------
 9648|  16.7k|        reservedErrorCheck(loc, identifier);
 9649|       |
 9650|  16.7k|    if (symbol == nullptr && spvVersion.vulkan > 0 && spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (9650:9): [True: 16.7k, False: 0]
  |  Branch (9650:30): [True: 16.7k, False: 0]
  |  Branch (9650:55): [True: 0, False: 16.7k]
  ------------------
 9651|      0|        bool remapped = vkRelaxedRemapUniformVariable(loc, identifier, publicType, arraySizes, initializer, type);
 9652|       |
 9653|      0|        if (remapped) {
  ------------------
  |  Branch (9653:13): [True: 0, False: 0]
  ------------------
 9654|      0|            return nullptr;
 9655|      0|        }
 9656|      0|    }
 9657|       |
 9658|  16.7k|    inheritGlobalDefaults(type.getQualifier());
 9659|       |
 9660|       |    // Declare the variable
 9661|  16.7k|    if (type.isArray()) {
  ------------------
  |  Branch (9661:9): [True: 624, False: 16.1k]
  ------------------
 9662|       |        // Check that implicit sizing is only where allowed.
 9663|    624|        arraySizesCheck(loc, type.getQualifier(), type.getArraySizes(), initializer, false);
 9664|       |
 9665|    624|        if (! arrayQualifierError(loc, type.getQualifier()) && ! arrayError(loc, type))
  ------------------
  |  Branch (9665:13): [True: 624, False: 0]
  |  Branch (9665:64): [True: 624, False: 0]
  ------------------
 9666|    624|            declareArray(loc, identifier, type, symbol);
 9667|       |
 9668|    624|        if (initializer) {
  ------------------
  |  Branch (9668:13): [True: 9, False: 615]
  ------------------
 9669|      9|            profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, "initializer");
 9670|      9|            profileRequires(loc, EEsProfile, 300, nullptr, "initializer");
 9671|      9|        }
 9672|  16.1k|    } else {
 9673|       |        // non-array case
 9674|  16.1k|        if (symbol == nullptr)
  ------------------
  |  Branch (9674:13): [True: 16.1k, False: 0]
  ------------------
 9675|  16.1k|            symbol = declareNonArray(loc, identifier, type);
 9676|      0|        else if (type != symbol->getType())
  ------------------
  |  Branch (9676:18): [True: 0, False: 0]
  ------------------
 9677|      0|            error(loc, "cannot change the type of", "redeclaration", symbol->getName().c_str());
 9678|  16.1k|    }
 9679|       |
 9680|  16.7k|    if (symbol == nullptr)
  ------------------
  |  Branch (9680:9): [True: 0, False: 16.7k]
  ------------------
 9681|      0|        return nullptr;
 9682|       |
 9683|       |    // Deal with initializer
 9684|  16.7k|    TIntermNode* initNode = nullptr;
 9685|  16.7k|    if (symbol != nullptr && initializer) {
  ------------------
  |  Branch (9685:9): [True: 16.7k, False: 0]
  |  Branch (9685:30): [True: 5.09k, False: 11.6k]
  ------------------
 9686|  5.09k|        TVariable* variable = symbol->getAsVariable();
 9687|  5.09k|        if (! variable) {
  ------------------
  |  Branch (9687:13): [True: 0, False: 5.09k]
  ------------------
 9688|      0|            error(loc, "initializer requires a variable, not a member", identifier.c_str(), "");
 9689|      0|            return nullptr;
 9690|      0|        }
 9691|  5.09k|        initNode = executeInitializer(loc, initializer, variable);
 9692|       |
 9693|       |        // GL_EXT_opacity_micromap_ray_query_mode: capture the value of a
 9694|       |        // 'const bool gl_EnableOpacityMicromapEXT = <true|false>;' redeclaration so the back end can emit
 9695|       |        // the OpacityMicromapIdKHR execution mode operand as OpConstantTrue/OpConstantFalse. The
 9696|       |        // specialization-constant form goes through addQualifierToExisting instead.
 9697|  5.09k|        if (identifier == "gl_EnableOpacityMicromapEXT" && !variable->getType().getQualifier().hasSpecConstantId()) {
  ------------------
  |  Branch (9697:13): [True: 0, False: 5.09k]
  |  Branch (9697:60): [True: 0, False: 0]
  ------------------
 9698|      0|            const TConstUnionArray& constArray = variable->getConstArray();
 9699|      0|            if (constArray.size() > 0)
  ------------------
  |  Branch (9699:17): [True: 0, False: 0]
  ------------------
 9700|      0|                intermediate.setEnableOpacityMicromapDefault(constArray[0].getBConst());
 9701|      0|        }
 9702|  5.09k|    }
 9703|       |
 9704|       |    // EXT_descriptor_heap
 9705|  16.7k|    if (!untypedHeapCheck(symbol, type, loc, identifier.c_str())) {
  ------------------
  |  Branch (9705:9): [True: 0, False: 16.7k]
  ------------------
 9706|      0|        return nullptr;
 9707|      0|    }
 9708|       |
 9709|       |    // look for errors in layout qualifier use
 9710|  16.7k|    layoutObjectCheck(loc, *symbol);
 9711|       |
 9712|       |    // fix up
 9713|  16.7k|    fixOffset(loc, *symbol);
 9714|       |
 9715|       |    // TODO: The decl AST is turned on based on debug info right now. We should expose it as an explicit option.
 9716|  16.7k|    if (intermediate.getDebugInfo()) {
  ------------------
  |  Branch (9716:9): [True: 0, False: 16.7k]
  ------------------
 9717|      0|        TVariable* variable = symbol->getAsVariable();
 9718|      0|        if (variable) {
  ------------------
  |  Branch (9718:13): [True: 0, False: 0]
  ------------------
 9719|      0|            auto decl = new TIntermVariableDecl(intermediate.addSymbol(*variable, loc), initNode);
 9720|      0|            decl->setLoc(loc);
 9721|      0|            return decl;
 9722|      0|        }
 9723|      0|        else {
 9724|       |            // We ignore builtins redeclarations
 9725|      0|            return nullptr;
 9726|      0|        }
 9727|      0|    }
 9728|  16.7k|    else {
 9729|  16.7k|        return initNode;
 9730|  16.7k|    }
 9731|  16.7k|}
_ZNK7glslang13TParseContext21inheritGlobalDefaultsERNS_10TQualifierE:
 9735|  16.7k|{
 9736|  16.7k|    if (dst.storage == EvqVaryingOut) {
  ------------------
  |  Branch (9736:9): [True: 706, False: 16.0k]
  ------------------
 9737|    706|        if (! dst.hasStream() && language == EShLangGeometry)
  ------------------
  |  Branch (9737:13): [True: 706, False: 0]
  |  Branch (9737:34): [True: 64, False: 642]
  ------------------
 9738|     64|            dst.layoutStream = globalOutputDefaults.layoutStream;
 9739|    706|        if (! dst.hasXfbBuffer())
  ------------------
  |  Branch (9739:13): [True: 706, False: 0]
  ------------------
 9740|    706|            dst.layoutXfbBuffer = globalOutputDefaults.layoutXfbBuffer;
 9741|    706|    }
 9742|  16.7k|}
_ZN7glslang13TParseContext15declareNonArrayERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_5TTypeE:
 9766|  16.1k|{
 9767|       |    // make a new variable
 9768|  16.1k|    TVariable* variable = new TVariable(&identifier, type);
 9769|       |
 9770|  16.1k|    ioArrayCheck(loc, type, identifier);
 9771|       |
 9772|       |    // add variable to symbol table
 9773|  16.1k|    if (symbolTable.insert(*variable)) {
  ------------------
  |  Branch (9773:9): [True: 16.1k, False: 0]
  ------------------
 9774|  16.1k|        if (symbolTable.atGlobalLevel())
  ------------------
  |  Branch (9774:13): [True: 15.8k, False: 237]
  ------------------
 9775|  15.8k|            trackLinkage(*variable);
 9776|  16.1k|        return variable;
 9777|  16.1k|    }
 9778|       |
 9779|      0|    error(loc, "redefinition", variable->getName().c_str(), "");
 9780|      0|    return nullptr;
 9781|  16.1k|}
_ZN7glslang13TParseContext18executeInitializerERKNS_10TSourceLocEPNS_12TIntermTypedEPNS_9TVariableE:
 9790|  5.09k|{
 9791|       |    // A null initializer is an aggregate that hasn't had an op assigned yet
 9792|       |    // (still EOpNull, no relation to nullInit), and has no children.
 9793|  5.09k|    bool nullInit = initializer->getAsAggregate() && initializer->getAsAggregate()->getOp() == EOpNull &&
  ------------------
  |  Branch (9793:21): [True: 6, False: 5.08k]
  |  Branch (9793:54): [True: 6, False: 0]
  ------------------
 9794|      6|        initializer->getAsAggregate()->getSequence().size() == 0;
  ------------------
  |  Branch (9794:9): [True: 0, False: 6]
  ------------------
 9795|       |
 9796|       |    //
 9797|       |    // Identifier must be of type constant, a global, or a temporary, and
 9798|       |    // starting at version 120, desktop allows uniforms to have initializers.
 9799|       |    //
 9800|  5.09k|    TStorageQualifier qualifier = variable->getType().getQualifier().storage;
 9801|  5.09k|    if (! (qualifier == EvqTemporary || qualifier == EvqGlobal || qualifier == EvqConst ||
  ------------------
  |  Branch (9801:12): [True: 237, False: 4.85k]
  |  Branch (9801:41): [True: 0, False: 4.85k]
  |  Branch (9801:67): [True: 4.85k, False: 0]
  ------------------
 9802|      0|           (qualifier == EvqUniform && !isEsProfile() && version >= 120))) {
  ------------------
  |  Branch (9802:13): [True: 0, False: 0]
  |  Branch (9802:40): [True: 0, False: 0]
  |  Branch (9802:58): [True: 0, False: 0]
  ------------------
 9803|      0|        if (qualifier == EvqShared) {
  ------------------
  |  Branch (9803:13): [True: 0, False: 0]
  ------------------
 9804|       |            // GL_EXT_null_initializer allows this for shared, if it's a null initializer
 9805|      0|            if (nullInit) {
  ------------------
  |  Branch (9805:17): [True: 0, False: 0]
  ------------------
 9806|      0|                const char* feature = "initialization with shared qualifier";
 9807|      0|                profileRequires(loc, EEsProfile, 0, E_GL_EXT_null_initializer, feature);
 9808|      0|                profileRequires(loc, ~EEsProfile, 0, E_GL_EXT_null_initializer, feature);
 9809|      0|            } else {
 9810|      0|                error(loc, "initializer can only be a null initializer ('{}')", "shared", "");
 9811|      0|            }
 9812|      0|        } else {
 9813|      0|            error(loc, " cannot initialize this type of qualifier ",
 9814|      0|                  variable->getType().getStorageQualifierString(), "");
 9815|      0|            return nullptr;
 9816|      0|        }
 9817|      0|    }
 9818|       |
 9819|  5.09k|    if (nullInit) {
  ------------------
  |  Branch (9819:9): [True: 0, False: 5.09k]
  ------------------
 9820|       |        // only some types can be null initialized
 9821|      0|        if (variable->getType().containsUnsizedArray()) {
  ------------------
  |  Branch (9821:13): [True: 0, False: 0]
  ------------------
 9822|      0|            error(loc, "null initializers can't size unsized arrays", "{}", "");
 9823|      0|            return nullptr;
 9824|      0|        }
 9825|      0|        if (variable->getType().containsOpaque()) {
  ------------------
  |  Branch (9825:13): [True: 0, False: 0]
  ------------------
 9826|      0|            error(loc, "null initializers can't be used on opaque values", "{}", "");
 9827|      0|            return nullptr;
 9828|      0|        }
 9829|      0|        variable->getWritableType().getQualifier().setNullInit();
 9830|      0|        return nullptr;
 9831|      0|    }
 9832|       |
 9833|  5.09k|    arrayObjectCheck(loc, variable->getType(), "array initializer");
 9834|       |
 9835|       |    //
 9836|       |    // If the initializer was from braces { ... }, we convert the whole subtree to a
 9837|       |    // constructor-style subtree, allowing the rest of the code to operate
 9838|       |    // identically for both kinds of initializers.
 9839|       |    //
 9840|       |    // Type can't be deduced from the initializer list, so a skeletal type to
 9841|       |    // follow has to be passed in.  Constness and specialization-constness
 9842|       |    // should be deduced bottom up, not dictated by the skeletal type.
 9843|       |    //
 9844|  5.09k|    TType skeletalType;
 9845|  5.09k|    skeletalType.shallowCopy(variable->getType());
 9846|  5.09k|    skeletalType.getQualifier().makeTemporary();
 9847|  5.09k|    initializer = convertInitializerList(loc, skeletalType, initializer);
 9848|  5.09k|    if (! initializer) {
  ------------------
  |  Branch (9848:9): [True: 0, False: 5.09k]
  ------------------
 9849|       |        // error recovery; don't leave const without constant values
 9850|      0|        if (qualifier == EvqConst)
  ------------------
  |  Branch (9850:13): [True: 0, False: 0]
  ------------------
 9851|      0|            variable->getWritableType().getQualifier().makeTemporary();
 9852|      0|        return nullptr;
 9853|      0|    }
 9854|       |
 9855|       |    // Fix outer arrayness if variable is unsized, getting size from the initializer
 9856|  5.09k|    if (initializer->getType().isSizedArray() && variable->getType().isUnsizedArray())
  ------------------
  |  Branch (9856:9): [True: 9, False: 5.08k]
  |  Branch (9856:50): [True: 0, False: 9]
  ------------------
 9857|      0|        variable->getWritableType().changeOuterArraySize(initializer->getType().getOuterArraySize());
 9858|       |
 9859|       |    // Inner arrayness can also get set by an initializer
 9860|  5.09k|    if (initializer->getType().isArrayOfArrays() && variable->getType().isArrayOfArrays() &&
  ------------------
  |  Branch (9860:9): [True: 0, False: 5.09k]
  |  Branch (9860:53): [True: 0, False: 0]
  ------------------
 9861|      0|        initializer->getType().getArraySizes()->getNumDims() ==
  ------------------
  |  Branch (9861:9): [True: 0, False: 0]
  ------------------
 9862|      0|           variable->getType().getArraySizes()->getNumDims()) {
 9863|       |        // adopt unsized sizes from the initializer's sizes
 9864|      0|        for (int d = 1; d < variable->getType().getArraySizes()->getNumDims(); ++d) {
  ------------------
  |  Branch (9864:25): [True: 0, False: 0]
  ------------------
 9865|      0|            if (variable->getType().getArraySizes()->getDimSize(d) == UnsizedArraySize) {
  ------------------
  |  Branch (9865:17): [True: 0, False: 0]
  ------------------
 9866|      0|                variable->getWritableType().getArraySizes()->setDimSize(d,
 9867|      0|                    initializer->getType().getArraySizes()->getDimSize(d));
 9868|      0|            }
 9869|      0|        }
 9870|      0|    }
 9871|       |
 9872|       |    // Uniforms require a compile-time constant initializer
 9873|  5.09k|    if (qualifier == EvqUniform && ! initializer->getType().getQualifier().isFrontEndConstant()) {
  ------------------
  |  Branch (9873:9): [True: 0, False: 5.09k]
  |  Branch (9873:36): [True: 0, False: 0]
  ------------------
 9874|      0|        error(loc, "uniform initializers must be constant", "=", "'%s'",
 9875|      0|              variable->getType().getCompleteString(intermediate.getEnhancedMsgs()).c_str());
 9876|      0|        variable->getWritableType().getQualifier().makeTemporary();
 9877|      0|        return nullptr;
 9878|      0|    }
 9879|       |    // Global consts require a constant initializer (specialization constant is okay)
 9880|  5.09k|    if (qualifier == EvqConst && symbolTable.atGlobalLevel() && ! initializer->getType().getQualifier().isConstant()) {
  ------------------
  |  Branch (9880:9): [True: 4.85k, False: 237]
  |  Branch (9880:34): [True: 4.85k, False: 3]
  |  Branch (9880:65): [True: 0, False: 4.85k]
  ------------------
 9881|      0|        error(loc, "global const initializers must be constant", "=", "'%s'",
 9882|      0|              variable->getType().getCompleteString(intermediate.getEnhancedMsgs()).c_str());
 9883|      0|        variable->getWritableType().getQualifier().makeTemporary();
 9884|      0|        return nullptr;
 9885|      0|    }
 9886|       |
 9887|       |    // Const variables require a constant initializer, depending on version
 9888|  5.09k|    if (qualifier == EvqConst) {
  ------------------
  |  Branch (9888:9): [True: 4.85k, False: 237]
  ------------------
 9889|  4.85k|        if (! initializer->getType().getQualifier().isConstant()) {
  ------------------
  |  Branch (9889:13): [True: 0, False: 4.85k]
  ------------------
 9890|      0|            const char* initFeature = "non-constant initializer";
 9891|      0|            requireProfile(loc, ~EEsProfile, initFeature);
 9892|      0|            profileRequires(loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, initFeature);
 9893|      0|            variable->getWritableType().getQualifier().storage = EvqConstReadOnly;
 9894|      0|            qualifier = EvqConstReadOnly;
 9895|      0|        }
 9896|  4.85k|    } else {
 9897|       |        // Non-const global variables in ES need a const initializer.
 9898|       |        //
 9899|       |        // "In declarations of global variables with no storage qualifier or with a const
 9900|       |        // qualifier any initializer must be a constant expression."
 9901|    237|        if (symbolTable.atGlobalLevel() && ! initializer->getType().getQualifier().isConstant()) {
  ------------------
  |  Branch (9901:13): [True: 0, False: 237]
  |  Branch (9901:44): [True: 0, False: 0]
  ------------------
 9902|      0|            const char* initFeature =
 9903|      0|                "non-constant global initializer (needs GL_EXT_shader_non_constant_global_initializers)";
 9904|      0|            if (isEsProfile()) {
  ------------------
  |  Branch (9904:17): [True: 0, False: 0]
  ------------------
 9905|      0|                if (relaxedErrors() && ! extensionTurnedOn(E_GL_EXT_shader_non_constant_global_initializers))
  ------------------
  |  Branch (9905:21): [True: 0, False: 0]
  |  Branch (9905:40): [True: 0, False: 0]
  ------------------
 9906|      0|                    warn(loc, "not allowed in this version", initFeature, "");
 9907|      0|                else
 9908|      0|                    profileRequires(loc, EEsProfile, 0, E_GL_EXT_shader_non_constant_global_initializers, initFeature);
 9909|      0|            }
 9910|      0|        }
 9911|    237|    }
 9912|       |
 9913|  5.09k|    if (qualifier == EvqConst || qualifier == EvqUniform) {
  ------------------
  |  Branch (9913:9): [True: 4.85k, False: 237]
  |  Branch (9913:34): [True: 0, False: 237]
  ------------------
 9914|       |        // Compile-time tagging of the variable with its constant value...
 9915|       |
 9916|  4.85k|        initializer = intermediate.addConversion(EOpAssign, variable->getType(), initializer);
 9917|  4.85k|        if (! initializer || ! initializer->getType().getQualifier().isConstant() ||
  ------------------
  |  Branch (9917:13): [True: 0, False: 4.85k]
  |  Branch (9917:30): [True: 0, False: 4.85k]
  ------------------
 9918|  4.85k|            variable->getType() != initializer->getType()) {
  ------------------
  |  Branch (9918:13): [True: 0, False: 4.85k]
  ------------------
 9919|      0|            error(loc, "non-matching or non-convertible constant type for const initializer",
 9920|      0|                  variable->getType().getStorageQualifierString(), "");
 9921|      0|            variable->getWritableType().getQualifier().makeTemporary();
 9922|      0|            return nullptr;
 9923|      0|        }
 9924|       |
 9925|       |        // We either have a folded constant in getAsConstantUnion, or we have to use
 9926|       |        // the initializer's subtree in the AST to represent the computation of a
 9927|       |        // specialization constant.
 9928|  4.85k|        assert(initializer->getAsConstantUnion() || initializer->getType().getQualifier().isSpecConstant());
 9929|  4.85k|        if (initializer->getAsConstantUnion())
  ------------------
  |  Branch (9929:13): [True: 4.85k, False: 0]
  ------------------
 9930|  4.85k|            variable->setConstArray(initializer->getAsConstantUnion()->getConstArray());
 9931|      0|        else {
 9932|       |            // It's a specialization constant.
 9933|      0|            variable->getWritableType().getQualifier().makeSpecConstant();
 9934|       |
 9935|       |            // Keep the subtree that computes the specialization constant with the variable.
 9936|       |            // Later, a symbol node will adopt the subtree from the variable.
 9937|      0|            variable->setConstSubtree(initializer);
 9938|      0|        }
 9939|  4.85k|    } else {
 9940|       |        // normal assigning of a value to a variable...
 9941|    237|        specializationCheck(loc, initializer->getType(), "initializer");
 9942|    237|        TIntermSymbol* intermSymbol = intermediate.addSymbol(*variable, loc);
 9943|    237|        TIntermTyped* initNode = intermediate.addAssign(EOpAssign, intermSymbol, initializer, loc);
 9944|    237|        if (! initNode)
  ------------------
  |  Branch (9944:13): [True: 0, False: 237]
  ------------------
 9945|      0|            assignError(loc, "=", intermSymbol->getCompleteString(intermediate.getEnhancedMsgs()), initializer->getCompleteString(intermediate.getEnhancedMsgs()));
 9946|       |
 9947|    237|        return initNode;
 9948|    237|    }
 9949|       |
 9950|  4.85k|    return nullptr;
 9951|  5.09k|}
_ZN7glslang13TParseContext22convertInitializerListERKNS_10TSourceLocERKNS_5TTypeEPNS_12TIntermTypedE:
 9964|  5.11k|{
 9965|       |    // Will operate recursively.  Once a subtree is found that is constructor style,
 9966|       |    // everything below it is already good: Only the "top part" of the initializer
 9967|       |    // can be an initializer list, where "top part" can extend for several (or all) levels.
 9968|       |
 9969|       |    // see if we have bottomed out in the tree within the initializer-list part
 9970|  5.11k|    TIntermAggregate* initList = initializer->getAsAggregate();
 9971|  5.11k|    if (! initList || initList->getOp() != EOpNull)
  ------------------
  |  Branch (9971:9): [True: 5.11k, False: 6]
  |  Branch (9971:23): [True: 0, False: 6]
  ------------------
 9972|  5.11k|        return initializer;
 9973|       |
 9974|       |    // Of the initializer-list set of nodes, need to process bottom up,
 9975|       |    // so recurse deep, then process on the way up.
 9976|       |
 9977|       |    // Go down the tree here...
 9978|      6|    if (type.isArray()) {
  ------------------
  |  Branch (9978:9): [True: 6, False: 0]
  ------------------
 9979|       |        // The type's array might be unsized, which could be okay, so base sizes on the size of the aggregate.
 9980|       |        // Later on, initializer execution code will deal with array size logic.
 9981|      6|        TType arrayType;
 9982|      6|        arrayType.shallowCopy(type);                     // sharing struct stuff is fine
 9983|      6|        arrayType.copyArraySizes(*type.getArraySizes());  // but get a fresh copy of the array information, to edit below
 9984|       |
 9985|       |        // edit array sizes to fill in unsized dimensions
 9986|      6|        arrayType.changeOuterArraySize((int)initList->getSequence().size());
 9987|      6|        TIntermTyped* firstInit = initList->getSequence()[0]->getAsTyped();
 9988|      6|        if (arrayType.isArrayOfArrays() && firstInit->getType().isArray() &&
  ------------------
  |  Branch (9988:13): [True: 0, False: 6]
  |  Branch (9988:44): [True: 0, False: 0]
  ------------------
 9989|      0|            arrayType.getArraySizes()->getNumDims() == firstInit->getType().getArraySizes()->getNumDims() + 1) {
  ------------------
  |  Branch (9989:13): [True: 0, False: 0]
  ------------------
 9990|      0|            for (int d = 1; d < arrayType.getArraySizes()->getNumDims(); ++d) {
  ------------------
  |  Branch (9990:29): [True: 0, False: 0]
  ------------------
 9991|      0|                if (arrayType.getArraySizes()->getDimSize(d) == UnsizedArraySize)
  ------------------
  |  Branch (9991:21): [True: 0, False: 0]
  ------------------
 9992|      0|                    arrayType.getArraySizes()->setDimSize(d, firstInit->getType().getArraySizes()->getDimSize(d - 1));
 9993|      0|            }
 9994|      0|        }
 9995|       |
 9996|      6|        TType elementType(arrayType, 0); // dereferenced type
 9997|     30|        for (size_t i = 0; i < initList->getSequence().size(); ++i) {
  ------------------
  |  Branch (9997:28): [True: 24, False: 6]
  ------------------
 9998|     24|            initList->getSequence()[i] = convertInitializerList(loc, elementType, initList->getSequence()[i]->getAsTyped());
 9999|     24|            if (initList->getSequence()[i] == nullptr)
  ------------------
  |  Branch (9999:17): [True: 0, False: 24]
  ------------------
10000|      0|                return nullptr;
10001|     24|        }
10002|       |
10003|      6|        return addConstructor(loc, initList, arrayType);
10004|      6|    } else if (type.isStruct()) {
  ------------------
  |  Branch (10004:16): [True: 0, False: 0]
  ------------------
10005|      0|        if (type.getStruct()->size() != initList->getSequence().size()) {
  ------------------
  |  Branch (10005:13): [True: 0, False: 0]
  ------------------
10006|      0|            error(loc, "wrong number of structure members", "initializer list", "");
10007|      0|            return nullptr;
10008|      0|        }
10009|      0|        for (size_t i = 0; i < type.getStruct()->size(); ++i) {
  ------------------
  |  Branch (10009:28): [True: 0, False: 0]
  ------------------
10010|      0|            initList->getSequence()[i] = convertInitializerList(loc, *(*type.getStruct())[i].type, initList->getSequence()[i]->getAsTyped());
10011|      0|            if (initList->getSequence()[i] == nullptr)
  ------------------
  |  Branch (10011:17): [True: 0, False: 0]
  ------------------
10012|      0|                return nullptr;
10013|      0|        }
10014|      0|    } else if (type.isMatrix()) {
  ------------------
  |  Branch (10014:16): [True: 0, False: 0]
  ------------------
10015|      0|        if (type.getMatrixCols() != (int)initList->getSequence().size()) {
  ------------------
  |  Branch (10015:13): [True: 0, False: 0]
  ------------------
10016|      0|            error(loc, "wrong number of matrix columns:", "initializer list", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str());
10017|      0|            return nullptr;
10018|      0|        }
10019|      0|        TType vectorType(type, 0); // dereferenced type
10020|      0|        for (int i = 0; i < type.getMatrixCols(); ++i) {
  ------------------
  |  Branch (10020:25): [True: 0, False: 0]
  ------------------
10021|      0|            initList->getSequence()[i] = convertInitializerList(loc, vectorType, initList->getSequence()[i]->getAsTyped());
10022|      0|            if (initList->getSequence()[i] == nullptr)
  ------------------
  |  Branch (10022:17): [True: 0, False: 0]
  ------------------
10023|      0|                return nullptr;
10024|      0|        }
10025|      0|    } else if (type.isVector()) {
  ------------------
  |  Branch (10025:16): [True: 0, False: 0]
  ------------------
10026|      0|        if (type.getVectorSize() != (int)initList->getSequence().size()) {
  ------------------
  |  Branch (10026:13): [True: 0, False: 0]
  ------------------
10027|      0|            error(loc, "wrong vector size (or rows in a matrix column):", "initializer list", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str());
10028|      0|            return nullptr;
10029|      0|        }
10030|      0|        TBasicType destType = type.getBasicType();
10031|      0|        for (int i = 0; i < type.getVectorSize(); ++i) {
  ------------------
  |  Branch (10031:25): [True: 0, False: 0]
  ------------------
10032|      0|            TBasicType initType = initList->getSequence()[i]->getAsTyped()->getBasicType();
10033|      0|            if (destType != initType && !intermediate.canImplicitlyPromote(initType, destType)) {
  ------------------
  |  Branch (10033:17): [True: 0, False: 0]
  |  Branch (10033:41): [True: 0, False: 0]
  ------------------
10034|      0|                error(loc, "type mismatch in initializer list", "initializer list", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str());
10035|      0|                return nullptr;
10036|      0|            }
10037|       |
10038|      0|        }
10039|      0|    } else {
10040|      0|        error(loc, "unexpected initializer-list type:", "initializer list", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str());
10041|      0|        return nullptr;
10042|      0|    }
10043|       |
10044|       |    // Now that the subtree is processed, process this node as if the
10045|       |    // initializer list is a set of arguments to a constructor.
10046|      0|    TIntermNode* emulatedConstructorArguments;
10047|      0|    if (initList->getSequence().size() == 1)
  ------------------
  |  Branch (10047:9): [True: 0, False: 0]
  ------------------
10048|      0|        emulatedConstructorArguments = initList->getSequence()[0];
10049|      0|    else
10050|      0|        emulatedConstructorArguments = initList;
10051|      0|    return addConstructor(loc, emulatedConstructorArguments, type);
10052|      6|}
_ZN7glslang13TParseContext14addConstructorERKNS_10TSourceLocEP11TIntermNodeRKNS_5TTypeE:
10064|    815|{
10065|    815|    if (node == nullptr || node->getAsTyped() == nullptr)
  ------------------
  |  Branch (10065:9): [True: 0, False: 815]
  |  Branch (10065:28): [True: 0, False: 815]
  ------------------
10066|      0|        return nullptr;
10067|    815|    rValueErrorCheck(loc, "constructor", node->getAsTyped());
10068|       |
10069|    815|    TIntermAggregate* aggrNode = node->getAsAggregate();
10070|    815|    TOperator op = intermediate.mapTypeToConstructorOp(type);
10071|       |
10072|       |    // Combined texture-sampler constructors are completely semantic checked
10073|       |    // in constructorTextureSamplerError()
10074|    815|    if (op == EOpConstructTextureSampler) {
  ------------------
  |  Branch (10074:9): [True: 45, False: 770]
  ------------------
10075|     45|        if (aggrNode != nullptr) {
  ------------------
  |  Branch (10075:13): [True: 45, False: 0]
  ------------------
10076|     45|            if (aggrNode->getSequence()[1]->getAsTyped()->getType().getSampler().shadow) {
  ------------------
  |  Branch (10076:17): [True: 21, False: 24]
  ------------------
10077|       |                // Transfer depth into the texture (SPIR-V image) type, as a hint
10078|       |                // for tools to know this texture/image is a depth image.
10079|     21|                aggrNode->getSequence()[0]->getAsTyped()->getWritableType().getSampler().shadow = true;
10080|     21|            }
10081|     45|            return intermediate.setAggregateOperator(aggrNode, op, type, loc);
10082|     45|        }
10083|     45|    }
10084|       |
10085|    770|    TTypeList::const_iterator memberTypes;
10086|    770|    if (op == EOpConstructStruct)
  ------------------
  |  Branch (10086:9): [True: 0, False: 770]
  ------------------
10087|      0|        memberTypes = type.getStruct()->begin();
10088|       |
10089|    770|    TType elementType;
10090|    770|    if (type.isArray()) {
  ------------------
  |  Branch (10090:9): [True: 9, False: 761]
  ------------------
10091|      9|        TType dereferenced(type, 0);
10092|      9|        elementType.shallowCopy(dereferenced);
10093|      9|    } else
10094|    761|        elementType.shallowCopy(type);
10095|       |
10096|    770|    bool singleArg;
10097|    770|    if (aggrNode) {
  ------------------
  |  Branch (10097:9): [True: 101, False: 669]
  ------------------
10098|    101|        if (aggrNode->getOp() != EOpNull)
  ------------------
  |  Branch (10098:13): [True: 6, False: 95]
  ------------------
10099|      6|            singleArg = true;
10100|     95|        else
10101|     95|            singleArg = false;
10102|    101|    } else
10103|    669|        singleArg = true;
10104|       |
10105|    770|    TIntermTyped *newNode;
10106|    770|    if (singleArg) {
  ------------------
  |  Branch (10106:9): [True: 675, False: 95]
  ------------------
10107|       |        // If structure constructor or array constructor is being called
10108|       |        // for only one parameter inside the structure, we need to call constructAggregate function once.
10109|    675|        if (type.isArray())
  ------------------
  |  Branch (10109:13): [True: 0, False: 675]
  ------------------
10110|      0|            newNode = constructAggregate(node, elementType, 1, node->getLoc());
10111|    675|        else if (op == EOpConstructStruct)
  ------------------
  |  Branch (10111:18): [True: 0, False: 675]
  ------------------
10112|      0|            newNode = constructAggregate(node, *(*memberTypes).type, 1, node->getLoc());
10113|    675|        else
10114|    675|            newNode = constructBuiltIn(type, op, node->getAsTyped(), node->getLoc(), false);
10115|       |
10116|    675|        if (newNode && (type.isArray() || op == EOpConstructStruct))
  ------------------
  |  Branch (10116:13): [True: 675, False: 0]
  |  Branch (10116:25): [True: 0, False: 675]
  |  Branch (10116:43): [True: 0, False: 675]
  ------------------
10117|      0|            newNode = intermediate.setAggregateOperator(newNode, EOpConstructStruct, type, loc);
10118|       |
10119|    675|        return newNode;
10120|    675|    }
10121|       |
10122|       |    //
10123|       |    // Handle list of arguments.
10124|       |    //
10125|     95|    TIntermSequence &sequenceVector = aggrNode->getSequence();    // Stores the information about the parameter to the constructor
10126|       |    // if the structure constructor contains more than one parameter, then construct
10127|       |    // each parameter
10128|       |
10129|     95|    int paramCount = 0;  // keeps track of the constructor parameter number being checked
10130|       |
10131|       |    // We don't know "top down" whether type is a specialization constant,
10132|       |    // but a const becomes a specialization constant if any of its children are.
10133|     95|    bool hasSpecConst = false;
10134|     95|    bool isConstConstructor = true;
10135|       |
10136|       |    // for each parameter to the constructor call, check to see if the right type is passed or convert them
10137|       |    // to the right type if possible (and allowed).
10138|       |    // for structure constructors, just check if the right type is passed, no conversion is allowed.
10139|     95|    for (TIntermSequence::iterator p = sequenceVector.begin();
10140|    377|                                   p != sequenceVector.end(); p++, paramCount++) {
  ------------------
  |  Branch (10140:36): [True: 282, False: 95]
  ------------------
10141|    282|        if (type.isArray())
  ------------------
  |  Branch (10141:13): [True: 36, False: 246]
  ------------------
10142|     36|            newNode = constructAggregate(*p, elementType, paramCount+1, node->getLoc());
10143|    246|        else if (op == EOpConstructStruct)
  ------------------
  |  Branch (10143:18): [True: 0, False: 246]
  ------------------
10144|      0|            newNode = constructAggregate(*p, *(memberTypes[paramCount]).type, paramCount+1, node->getLoc());
10145|    246|        else
10146|    246|            newNode = constructBuiltIn(type, op, (*p)->getAsTyped(), node->getLoc(), true);
10147|       |
10148|    282|        if (newNode) {
  ------------------
  |  Branch (10148:13): [True: 282, False: 0]
  ------------------
10149|    282|            *p = newNode;
10150|    282|            if (!newNode->getType().getQualifier().isConstant())
  ------------------
  |  Branch (10150:17): [True: 0, False: 282]
  ------------------
10151|      0|                isConstConstructor = false;
10152|    282|            if (newNode->getType().getQualifier().isSpecConstant())
  ------------------
  |  Branch (10152:17): [True: 0, False: 282]
  ------------------
10153|      0|                hasSpecConst = true;
10154|    282|        } else
10155|      0|            return nullptr;
10156|    282|    }
10157|       |
10158|     95|    TIntermTyped* ret_node = intermediate.setAggregateOperator(aggrNode, op, type, loc);
10159|       |
10160|     95|    const char *specConstantCompositeExt[] = { E_GL_EXT_spec_constant_composites };
10161|     95|    if (checkExtensionsRequested(loc, 1, specConstantCompositeExt, "spec constant aggregate constructor")) {
  ------------------
  |  Branch (10161:9): [True: 0, False: 95]
  ------------------
10162|      0|        if (isConstConstructor && hasSpecConst) {
  ------------------
  |  Branch (10162:13): [True: 0, False: 0]
  |  Branch (10162:35): [True: 0, False: 0]
  ------------------
10163|      0|            ret_node->getWritableType().getQualifier().makeSpecConstant();
10164|      0|        }
10165|      0|    }
10166|       |
10167|     95|    TIntermAggregate *agg_node = ret_node->getAsAggregate();
10168|     95|    if (agg_node && (agg_node->isVector() || agg_node->isArray() || agg_node->isMatrix()))
  ------------------
  |  Branch (10168:9): [True: 0, False: 95]
  |  Branch (10168:22): [True: 0, False: 0]
  |  Branch (10168:46): [True: 0, False: 0]
  |  Branch (10168:69): [True: 0, False: 0]
  ------------------
10169|      0|        agg_node->updatePrecision();
10170|       |
10171|     95|    return ret_node;
10172|     95|}
_ZN7glslang13TParseContext16constructBuiltInERKNS_5TTypeENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocEb:
10183|    921|{
10184|       |    // If we are changing a matrix in both domain of basic type and to a non matrix,
10185|       |    // do the shape change first (by default, below, basic type is changed before shape).
10186|       |    // This avoids requesting a matrix of a new type that is going to be discarded anyway.
10187|       |    // TODO: This could be generalized to more type combinations, but that would require
10188|       |    // more extensive testing and full algorithm rework. For now, the need to do two changes makes
10189|       |    // the recursive call work, and avoids the most egregious case of creating integer matrices.
10190|    921|    if (node->getType().isMatrix() && (type.isScalar() || type.isVector()) &&
  ------------------
  |  Branch (10190:9): [True: 0, False: 921]
  |  Branch (10190:40): [True: 0, False: 0]
  |  Branch (10190:59): [True: 0, False: 0]
  ------------------
10191|      0|            type.isFloatingDomain() != node->getType().isFloatingDomain()) {
  ------------------
  |  Branch (10191:13): [True: 0, False: 0]
  ------------------
10192|      0|        TType transitionType(node->getBasicType(), glslang::EvqTemporary, type.getVectorSize(), 0, 0, node->isVector());
10193|      0|        TOperator transitionOp = intermediate.mapTypeToConstructorOp(transitionType);
10194|      0|        node = constructBuiltIn(transitionType, transitionOp, node, loc, false);
10195|      0|    }
10196|       |
10197|    921|    TIntermTyped* newNode;
10198|    921|    TOperator basicOp;
10199|       |
10200|       |    //
10201|       |    // First, convert types as needed.
10202|       |    //
10203|    921|    switch (op) {
10204|      9|    case EOpConstructVec2:
  ------------------
  |  Branch (10204:5): [True: 9, False: 912]
  ------------------
10205|      9|    case EOpConstructVec3:
  ------------------
  |  Branch (10205:5): [True: 0, False: 921]
  ------------------
10206|    225|    case EOpConstructVec4:
  ------------------
  |  Branch (10206:5): [True: 216, False: 705]
  ------------------
10207|    225|    case EOpConstructMat2x2:
  ------------------
  |  Branch (10207:5): [True: 0, False: 921]
  ------------------
10208|    225|    case EOpConstructMat2x3:
  ------------------
  |  Branch (10208:5): [True: 0, False: 921]
  ------------------
10209|    225|    case EOpConstructMat2x4:
  ------------------
  |  Branch (10209:5): [True: 0, False: 921]
  ------------------
10210|    225|    case EOpConstructMat3x2:
  ------------------
  |  Branch (10210:5): [True: 0, False: 921]
  ------------------
10211|    225|    case EOpConstructMat3x3:
  ------------------
  |  Branch (10211:5): [True: 0, False: 921]
  ------------------
10212|    225|    case EOpConstructMat3x4:
  ------------------
  |  Branch (10212:5): [True: 0, False: 921]
  ------------------
10213|    225|    case EOpConstructMat4x2:
  ------------------
  |  Branch (10213:5): [True: 0, False: 921]
  ------------------
10214|    225|    case EOpConstructMat4x3:
  ------------------
  |  Branch (10214:5): [True: 0, False: 921]
  ------------------
10215|    225|    case EOpConstructMat4x4:
  ------------------
  |  Branch (10215:5): [True: 0, False: 921]
  ------------------
10216|    225|    case EOpConstructFloat:
  ------------------
  |  Branch (10216:5): [True: 0, False: 921]
  ------------------
10217|    225|        basicOp = EOpConstructFloat;
10218|    225|        break;
10219|       |
10220|    144|    case EOpConstructIVec2:
  ------------------
  |  Branch (10220:5): [True: 144, False: 777]
  ------------------
10221|    402|    case EOpConstructIVec3:
  ------------------
  |  Branch (10221:5): [True: 258, False: 663]
  ------------------
10222|    408|    case EOpConstructIVec4:
  ------------------
  |  Branch (10222:5): [True: 6, False: 915]
  ------------------
10223|    606|    case EOpConstructInt:
  ------------------
  |  Branch (10223:5): [True: 198, False: 723]
  ------------------
10224|    606|        basicOp = EOpConstructInt;
10225|    606|        break;
10226|       |
10227|      0|    case EOpConstructUVec2:
  ------------------
  |  Branch (10227:5): [True: 0, False: 921]
  ------------------
10228|      0|        if (node->getType().getBasicType() == EbtReference) {
  ------------------
  |  Branch (10228:13): [True: 0, False: 0]
  ------------------
10229|      0|            requireExtensions(loc, 1, &E_GL_EXT_buffer_reference_uvec2, "reference conversion to uvec2");
10230|      0|            TIntermTyped* newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvPtrToUvec2, true, node,
10231|      0|                type);
10232|      0|            return newNode;
10233|      0|        } else if (node->getType().getBasicType() == EbtSampler) {
  ------------------
  |  Branch (10233:20): [True: 0, False: 0]
  ------------------
10234|      0|            requireExtensions(loc, 1, &E_GL_ARB_bindless_texture, "sampler conversion to uvec2");
10235|       |            // force the basic type of the constructor param to uvec2, otherwise spv builder will
10236|       |            // report some errors
10237|      0|            TIntermTyped* newSrcNode = intermediate.createConversion(EbtUint, node);
10238|      0|            newSrcNode->getAsTyped()->getWritableType().setVectorSize(2);
10239|       |
10240|      0|            TIntermTyped* newNode =
10241|      0|                intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConstructUVec2, false, newSrcNode, type);
10242|      0|            return newNode;
10243|      0|        }
10244|      0|        [[fallthrough]];
10245|     90|    case EOpConstructUVec3:
  ------------------
  |  Branch (10245:5): [True: 90, False: 831]
  ------------------
10246|     90|    case EOpConstructUVec4:
  ------------------
  |  Branch (10246:5): [True: 0, False: 921]
  ------------------
10247|     90|    case EOpConstructUint:
  ------------------
  |  Branch (10247:5): [True: 0, False: 921]
  ------------------
10248|     90|        basicOp = EOpConstructUint;
10249|     90|        break;
10250|       |
10251|      0|    case EOpConstructBVec2:
  ------------------
  |  Branch (10251:5): [True: 0, False: 921]
  ------------------
10252|      0|    case EOpConstructBVec3:
  ------------------
  |  Branch (10252:5): [True: 0, False: 921]
  ------------------
10253|      0|    case EOpConstructBVec4:
  ------------------
  |  Branch (10253:5): [True: 0, False: 921]
  ------------------
10254|      0|    case EOpConstructBool:
  ------------------
  |  Branch (10254:5): [True: 0, False: 921]
  ------------------
10255|      0|        basicOp = EOpConstructBool;
10256|      0|        break;
10257|      0|    case EOpConstructTextureSampler:
  ------------------
  |  Branch (10257:5): [True: 0, False: 921]
  ------------------
10258|      0|        if ((node->getType().getBasicType() == EbtUint || node->getType().getBasicType() == EbtInt) &&
  ------------------
  |  Branch (10258:14): [True: 0, False: 0]
  |  Branch (10258:59): [True: 0, False: 0]
  ------------------
10259|      0|            node->getType().getVectorSize() == 2) {
  ------------------
  |  Branch (10259:13): [True: 0, False: 0]
  ------------------
10260|      0|            requireExtensions(loc, 1, &E_GL_ARB_bindless_texture, "ivec2/uvec2 convert to texture handle");
10261|       |            // No matter ivec2 or uvec2, Set EOpPackUint2x32 just to generate an opBitcast op code
10262|      0|            TIntermTyped* newNode =
10263|      0|                intermediate.addBuiltInFunctionCall(node->getLoc(), EOpPackUint2x32, true, node, type);
10264|      0|            return newNode;
10265|      0|        }
10266|      0|        [[fallthrough]];
10267|      0|    case EOpConstructDVec2:
  ------------------
  |  Branch (10267:5): [True: 0, False: 921]
  ------------------
10268|      0|    case EOpConstructDVec3:
  ------------------
  |  Branch (10268:5): [True: 0, False: 921]
  ------------------
10269|      0|    case EOpConstructDVec4:
  ------------------
  |  Branch (10269:5): [True: 0, False: 921]
  ------------------
10270|      0|    case EOpConstructDMat2x2:
  ------------------
  |  Branch (10270:5): [True: 0, False: 921]
  ------------------
10271|      0|    case EOpConstructDMat2x3:
  ------------------
  |  Branch (10271:5): [True: 0, False: 921]
  ------------------
10272|      0|    case EOpConstructDMat2x4:
  ------------------
  |  Branch (10272:5): [True: 0, False: 921]
  ------------------
10273|      0|    case EOpConstructDMat3x2:
  ------------------
  |  Branch (10273:5): [True: 0, False: 921]
  ------------------
10274|      0|    case EOpConstructDMat3x3:
  ------------------
  |  Branch (10274:5): [True: 0, False: 921]
  ------------------
10275|      0|    case EOpConstructDMat3x4:
  ------------------
  |  Branch (10275:5): [True: 0, False: 921]
  ------------------
10276|      0|    case EOpConstructDMat4x2:
  ------------------
  |  Branch (10276:5): [True: 0, False: 921]
  ------------------
10277|      0|    case EOpConstructDMat4x3:
  ------------------
  |  Branch (10277:5): [True: 0, False: 921]
  ------------------
10278|      0|    case EOpConstructDMat4x4:
  ------------------
  |  Branch (10278:5): [True: 0, False: 921]
  ------------------
10279|      0|    case EOpConstructDouble:
  ------------------
  |  Branch (10279:5): [True: 0, False: 921]
  ------------------
10280|      0|        basicOp = EOpConstructDouble;
10281|      0|        break;
10282|       |
10283|      0|    case EOpConstructF16Vec2:
  ------------------
  |  Branch (10283:5): [True: 0, False: 921]
  ------------------
10284|      0|    case EOpConstructF16Vec3:
  ------------------
  |  Branch (10284:5): [True: 0, False: 921]
  ------------------
10285|      0|    case EOpConstructF16Vec4:
  ------------------
  |  Branch (10285:5): [True: 0, False: 921]
  ------------------
10286|      0|    case EOpConstructF16Mat2x2:
  ------------------
  |  Branch (10286:5): [True: 0, False: 921]
  ------------------
10287|      0|    case EOpConstructF16Mat2x3:
  ------------------
  |  Branch (10287:5): [True: 0, False: 921]
  ------------------
10288|      0|    case EOpConstructF16Mat2x4:
  ------------------
  |  Branch (10288:5): [True: 0, False: 921]
  ------------------
10289|      0|    case EOpConstructF16Mat3x2:
  ------------------
  |  Branch (10289:5): [True: 0, False: 921]
  ------------------
10290|      0|    case EOpConstructF16Mat3x3:
  ------------------
  |  Branch (10290:5): [True: 0, False: 921]
  ------------------
10291|      0|    case EOpConstructF16Mat3x4:
  ------------------
  |  Branch (10291:5): [True: 0, False: 921]
  ------------------
10292|      0|    case EOpConstructF16Mat4x2:
  ------------------
  |  Branch (10292:5): [True: 0, False: 921]
  ------------------
10293|      0|    case EOpConstructF16Mat4x3:
  ------------------
  |  Branch (10293:5): [True: 0, False: 921]
  ------------------
10294|      0|    case EOpConstructF16Mat4x4:
  ------------------
  |  Branch (10294:5): [True: 0, False: 921]
  ------------------
10295|      0|    case EOpConstructFloat16:
  ------------------
  |  Branch (10295:5): [True: 0, False: 921]
  ------------------
10296|      0|        basicOp = EOpConstructFloat16;
10297|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10298|       |        // so construct a 32-bit type and convert
10299|       |        // and do not generate any conversion if it is an identity conversion, i.e. float16_t(<float16_t> var)
10300|      0|        if (!intermediate.getArithemeticFloat16Enabled() && (node->getBasicType() != EbtFloat16)) {
  ------------------
  |  Branch (10300:13): [True: 0, False: 0]
  |  Branch (10300:61): [True: 0, False: 0]
  ------------------
10301|      0|            TType tempType(EbtFloat, EvqTemporary, type.getVectorSize());
10302|      0|            newNode = node;
10303|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10303:17): [True: 0, False: 0]
  ------------------
10304|      0|                TOperator aggregateOp;
10305|      0|                if (op == EOpConstructFloat16)
  ------------------
  |  Branch (10305:21): [True: 0, False: 0]
  ------------------
10306|      0|                    aggregateOp = EOpConstructFloat;
10307|      0|                else
10308|      0|                    aggregateOp = (TOperator)(EOpConstructVec2 + op - EOpConstructF16Vec2);
10309|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10310|      0|            }
10311|      0|            newNode = intermediate.addConversion(EbtFloat16, newNode);
10312|      0|            return newNode;
10313|      0|        }
10314|      0|        break;
10315|       |
10316|      0|    case EOpConstructBF16Vec2:
  ------------------
  |  Branch (10316:5): [True: 0, False: 921]
  ------------------
10317|      0|    case EOpConstructBF16Vec3:
  ------------------
  |  Branch (10317:5): [True: 0, False: 921]
  ------------------
10318|      0|    case EOpConstructBF16Vec4:
  ------------------
  |  Branch (10318:5): [True: 0, False: 921]
  ------------------
10319|      0|    case EOpConstructBFloat16:
  ------------------
  |  Branch (10319:5): [True: 0, False: 921]
  ------------------
10320|      0|        basicOp = EOpConstructBFloat16;
10321|      0|        break;
10322|       |
10323|      0|    case EOpConstructFloatE5M2Vec2:
  ------------------
  |  Branch (10323:5): [True: 0, False: 921]
  ------------------
10324|      0|    case EOpConstructFloatE5M2Vec3:
  ------------------
  |  Branch (10324:5): [True: 0, False: 921]
  ------------------
10325|      0|    case EOpConstructFloatE5M2Vec4:
  ------------------
  |  Branch (10325:5): [True: 0, False: 921]
  ------------------
10326|      0|    case EOpConstructFloatE5M2:
  ------------------
  |  Branch (10326:5): [True: 0, False: 921]
  ------------------
10327|      0|        basicOp = EOpConstructFloatE5M2;
10328|      0|        break;
10329|       |
10330|      0|    case EOpConstructFloatE4M3Vec2:
  ------------------
  |  Branch (10330:5): [True: 0, False: 921]
  ------------------
10331|      0|    case EOpConstructFloatE4M3Vec3:
  ------------------
  |  Branch (10331:5): [True: 0, False: 921]
  ------------------
10332|      0|    case EOpConstructFloatE4M3Vec4:
  ------------------
  |  Branch (10332:5): [True: 0, False: 921]
  ------------------
10333|      0|    case EOpConstructFloatE4M3:
  ------------------
  |  Branch (10333:5): [True: 0, False: 921]
  ------------------
10334|      0|        basicOp = EOpConstructFloatE4M3;
10335|      0|        break;
10336|       |
10337|      0|    case EOpConstructFloatE2M1Vec2:
  ------------------
  |  Branch (10337:5): [True: 0, False: 921]
  ------------------
10338|      0|    case EOpConstructFloatE2M1Vec3:
  ------------------
  |  Branch (10338:5): [True: 0, False: 921]
  ------------------
10339|      0|    case EOpConstructFloatE2M1Vec4:
  ------------------
  |  Branch (10339:5): [True: 0, False: 921]
  ------------------
10340|      0|    case EOpConstructFloatE2M1:
  ------------------
  |  Branch (10340:5): [True: 0, False: 921]
  ------------------
10341|      0|        basicOp = EOpConstructFloatE2M1;
10342|      0|        break;
10343|       |
10344|      0|    case EOpConstructFloatE3M2Vec2:
  ------------------
  |  Branch (10344:5): [True: 0, False: 921]
  ------------------
10345|      0|    case EOpConstructFloatE3M2Vec3:
  ------------------
  |  Branch (10345:5): [True: 0, False: 921]
  ------------------
10346|      0|    case EOpConstructFloatE3M2Vec4:
  ------------------
  |  Branch (10346:5): [True: 0, False: 921]
  ------------------
10347|      0|    case EOpConstructFloatE3M2:
  ------------------
  |  Branch (10347:5): [True: 0, False: 921]
  ------------------
10348|      0|        basicOp = EOpConstructFloatE3M2;
10349|      0|        break;
10350|       |
10351|      0|    case EOpConstructFloatE2M3Vec2:
  ------------------
  |  Branch (10351:5): [True: 0, False: 921]
  ------------------
10352|      0|    case EOpConstructFloatE2M3Vec3:
  ------------------
  |  Branch (10352:5): [True: 0, False: 921]
  ------------------
10353|      0|    case EOpConstructFloatE2M3Vec4:
  ------------------
  |  Branch (10353:5): [True: 0, False: 921]
  ------------------
10354|      0|    case EOpConstructFloatE2M3:
  ------------------
  |  Branch (10354:5): [True: 0, False: 921]
  ------------------
10355|      0|        basicOp = EOpConstructFloatE2M3;
10356|      0|        break;
10357|       |
10358|      0|    case EOpConstructFloatUE8M0Vec2:
  ------------------
  |  Branch (10358:5): [True: 0, False: 921]
  ------------------
10359|      0|    case EOpConstructFloatUE8M0Vec3:
  ------------------
  |  Branch (10359:5): [True: 0, False: 921]
  ------------------
10360|      0|    case EOpConstructFloatUE8M0Vec4:
  ------------------
  |  Branch (10360:5): [True: 0, False: 921]
  ------------------
10361|      0|    case EOpConstructFloatUE8M0:
  ------------------
  |  Branch (10361:5): [True: 0, False: 921]
  ------------------
10362|      0|        basicOp = EOpConstructFloatUE8M0;
10363|      0|        break;
10364|       |
10365|      0|    case EOpConstructFloatMXINT8Vec2:
  ------------------
  |  Branch (10365:5): [True: 0, False: 921]
  ------------------
10366|      0|    case EOpConstructFloatMXINT8Vec3:
  ------------------
  |  Branch (10366:5): [True: 0, False: 921]
  ------------------
10367|      0|    case EOpConstructFloatMXINT8Vec4:
  ------------------
  |  Branch (10367:5): [True: 0, False: 921]
  ------------------
10368|      0|    case EOpConstructFloatMXINT8:
  ------------------
  |  Branch (10368:5): [True: 0, False: 921]
  ------------------
10369|      0|        basicOp = EOpConstructFloatMXINT8;
10370|      0|        break;
10371|       |
10372|      0|    case EOpConstructI8Vec2:
  ------------------
  |  Branch (10372:5): [True: 0, False: 921]
  ------------------
10373|      0|    case EOpConstructI8Vec3:
  ------------------
  |  Branch (10373:5): [True: 0, False: 921]
  ------------------
10374|      0|    case EOpConstructI8Vec4:
  ------------------
  |  Branch (10374:5): [True: 0, False: 921]
  ------------------
10375|      0|    case EOpConstructInt8:
  ------------------
  |  Branch (10375:5): [True: 0, False: 921]
  ------------------
10376|      0|        basicOp = EOpConstructInt8;
10377|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10378|       |        // so construct a 32-bit type and convert
10379|       |        // and do not generate any conversion if it is an identity conversion, i.e. int8_t(<int8_t> var)
10380|      0|        if (!intermediate.getArithemeticInt8Enabled() && (node->getBasicType() != EbtInt8)) {
  ------------------
  |  Branch (10380:13): [True: 0, False: 0]
  |  Branch (10380:58): [True: 0, False: 0]
  ------------------
10381|      0|            TType tempType(EbtInt, EvqTemporary, type.getVectorSize());
10382|      0|            newNode = node;
10383|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10383:17): [True: 0, False: 0]
  ------------------
10384|      0|                TOperator aggregateOp;
10385|      0|                if (op == EOpConstructInt8)
  ------------------
  |  Branch (10385:21): [True: 0, False: 0]
  ------------------
10386|      0|                    aggregateOp = EOpConstructInt;
10387|      0|                else
10388|      0|                    aggregateOp = (TOperator)(EOpConstructIVec2 + op - EOpConstructI8Vec2);
10389|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10390|      0|            }
10391|      0|            newNode = intermediate.addConversion(EbtInt8, newNode);
10392|      0|            return newNode;
10393|      0|        }
10394|      0|        break;
10395|       |
10396|      0|    case EOpConstructU8Vec2:
  ------------------
  |  Branch (10396:5): [True: 0, False: 921]
  ------------------
10397|      0|    case EOpConstructU8Vec3:
  ------------------
  |  Branch (10397:5): [True: 0, False: 921]
  ------------------
10398|      0|    case EOpConstructU8Vec4:
  ------------------
  |  Branch (10398:5): [True: 0, False: 921]
  ------------------
10399|      0|    case EOpConstructUint8:
  ------------------
  |  Branch (10399:5): [True: 0, False: 921]
  ------------------
10400|      0|        basicOp = EOpConstructUint8;
10401|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10402|       |        // so construct a 32-bit type and convert
10403|       |        // and do not generate any conversion if it is an identity conversion, i.e. uint8_t(<uint8_t> var)
10404|      0|        if (!intermediate.getArithemeticInt8Enabled() && (node->getBasicType() != EbtUint8)) {
  ------------------
  |  Branch (10404:13): [True: 0, False: 0]
  |  Branch (10404:58): [True: 0, False: 0]
  ------------------
10405|      0|            TType tempType(EbtUint, EvqTemporary, type.getVectorSize());
10406|      0|            newNode = node;
10407|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10407:17): [True: 0, False: 0]
  ------------------
10408|      0|                TOperator aggregateOp;
10409|      0|                if (op == EOpConstructUint8)
  ------------------
  |  Branch (10409:21): [True: 0, False: 0]
  ------------------
10410|      0|                    aggregateOp = EOpConstructUint;
10411|      0|                else
10412|      0|                    aggregateOp = (TOperator)(EOpConstructUVec2 + op - EOpConstructU8Vec2);
10413|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10414|      0|            }
10415|      0|            newNode = intermediate.addConversion(EbtUint8, newNode);
10416|      0|            return newNode;
10417|      0|        }
10418|      0|        break;
10419|       |
10420|      0|    case EOpConstructI16Vec2:
  ------------------
  |  Branch (10420:5): [True: 0, False: 921]
  ------------------
10421|      0|    case EOpConstructI16Vec3:
  ------------------
  |  Branch (10421:5): [True: 0, False: 921]
  ------------------
10422|      0|    case EOpConstructI16Vec4:
  ------------------
  |  Branch (10422:5): [True: 0, False: 921]
  ------------------
10423|      0|    case EOpConstructInt16:
  ------------------
  |  Branch (10423:5): [True: 0, False: 921]
  ------------------
10424|      0|        basicOp = EOpConstructInt16;
10425|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10426|       |        // so construct a 32-bit type and convert
10427|       |        // and do not generate any conversion if it is an identity conversion, i.e. int16_t(<int16_t> var)
10428|      0|        if (!intermediate.getArithemeticInt16Enabled() && (node->getBasicType() != EbtInt16)) {
  ------------------
  |  Branch (10428:13): [True: 0, False: 0]
  |  Branch (10428:59): [True: 0, False: 0]
  ------------------
10429|      0|            TType tempType(EbtInt, EvqTemporary, type.getVectorSize());
10430|      0|            newNode = node;
10431|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10431:17): [True: 0, False: 0]
  ------------------
10432|      0|                TOperator aggregateOp;
10433|      0|                if (op == EOpConstructInt16)
  ------------------
  |  Branch (10433:21): [True: 0, False: 0]
  ------------------
10434|      0|                    aggregateOp = EOpConstructInt;
10435|      0|                else
10436|      0|                    aggregateOp = (TOperator)(EOpConstructIVec2 + op - EOpConstructI16Vec2);
10437|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10438|      0|            }
10439|      0|            newNode = intermediate.addConversion(EbtInt16, newNode);
10440|      0|            return newNode;
10441|      0|        }
10442|      0|        break;
10443|       |
10444|      0|    case EOpConstructU16Vec2:
  ------------------
  |  Branch (10444:5): [True: 0, False: 921]
  ------------------
10445|      0|    case EOpConstructU16Vec3:
  ------------------
  |  Branch (10445:5): [True: 0, False: 921]
  ------------------
10446|      0|    case EOpConstructU16Vec4:
  ------------------
  |  Branch (10446:5): [True: 0, False: 921]
  ------------------
10447|      0|    case EOpConstructUint16:
  ------------------
  |  Branch (10447:5): [True: 0, False: 921]
  ------------------
10448|      0|        basicOp = EOpConstructUint16;
10449|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10450|       |        // so construct a 32-bit type and convert
10451|       |        // and do not generate any conversion if it is an identity conversion, i.e. uint16_t(<uint16_t> var)
10452|      0|        if (!intermediate.getArithemeticInt16Enabled() && (node->getBasicType() != EbtUint16)) {
  ------------------
  |  Branch (10452:13): [True: 0, False: 0]
  |  Branch (10452:59): [True: 0, False: 0]
  ------------------
10453|      0|            TType tempType(EbtUint, EvqTemporary, type.getVectorSize());
10454|      0|            newNode = node;
10455|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10455:17): [True: 0, False: 0]
  ------------------
10456|      0|                TOperator aggregateOp;
10457|      0|                if (op == EOpConstructUint16)
  ------------------
  |  Branch (10457:21): [True: 0, False: 0]
  ------------------
10458|      0|                    aggregateOp = EOpConstructUint;
10459|      0|                else
10460|      0|                    aggregateOp = (TOperator)(EOpConstructUVec2 + op - EOpConstructU16Vec2);
10461|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10462|      0|            }
10463|      0|            newNode = intermediate.addConversion(EbtUint16, newNode);
10464|      0|            return newNode;
10465|      0|        }
10466|      0|        break;
10467|       |
10468|      0|    case EOpConstructI64Vec2:
  ------------------
  |  Branch (10468:5): [True: 0, False: 921]
  ------------------
10469|      0|    case EOpConstructI64Vec3:
  ------------------
  |  Branch (10469:5): [True: 0, False: 921]
  ------------------
10470|      0|    case EOpConstructI64Vec4:
  ------------------
  |  Branch (10470:5): [True: 0, False: 921]
  ------------------
10471|      0|    case EOpConstructInt64:
  ------------------
  |  Branch (10471:5): [True: 0, False: 921]
  ------------------
10472|      0|        basicOp = EOpConstructInt64;
10473|      0|        break;
10474|       |
10475|      0|    case EOpConstructUint64:
  ------------------
  |  Branch (10475:5): [True: 0, False: 921]
  ------------------
10476|      0|        if (type.isScalar() && node->getType().isReference()) {
  ------------------
  |  Branch (10476:13): [True: 0, False: 0]
  |  Branch (10476:32): [True: 0, False: 0]
  ------------------
10477|      0|            TIntermTyped* newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvPtrToUint64, true, node, type);
10478|      0|            return newNode;
10479|      0|        }
10480|      0|        [[fallthrough]];
10481|      0|    case EOpConstructU64Vec2:
  ------------------
  |  Branch (10481:5): [True: 0, False: 921]
  ------------------
10482|      0|    case EOpConstructU64Vec3:
  ------------------
  |  Branch (10482:5): [True: 0, False: 921]
  ------------------
10483|      0|    case EOpConstructU64Vec4:
  ------------------
  |  Branch (10483:5): [True: 0, False: 921]
  ------------------
10484|      0|        basicOp = EOpConstructUint64;
10485|      0|        break;
10486|       |
10487|      0|    case EOpConstructNonuniform:
  ------------------
  |  Branch (10487:5): [True: 0, False: 921]
  ------------------
10488|       |        // Make a nonuniform copy of node
10489|      0|        newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpCopyObject, true, node, type);
10490|      0|        return newNode;
10491|       |
10492|      0|    case EOpConstructReference:
  ------------------
  |  Branch (10492:5): [True: 0, False: 921]
  ------------------
10493|       |        // construct reference from reference
10494|      0|        if (node->getType().isReference()) {
  ------------------
  |  Branch (10494:13): [True: 0, False: 0]
  ------------------
10495|      0|            newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConstructReference, true, node, type);
10496|      0|            return newNode;
10497|       |        // construct reference from uint64
10498|      0|        } else if (node->getType().isScalar() && node->getType().getBasicType() == EbtUint64) {
  ------------------
  |  Branch (10498:20): [True: 0, False: 0]
  |  Branch (10498:50): [True: 0, False: 0]
  ------------------
10499|      0|            TIntermTyped* newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvUint64ToPtr, true, node,
10500|      0|                type);
10501|      0|            return newNode;
10502|       |        // construct reference from uvec2
10503|      0|        } else if (node->getType().isVector() && node->getType().getBasicType() == EbtUint &&
  ------------------
  |  Branch (10503:20): [True: 0, False: 0]
  |  Branch (10503:50): [True: 0, False: 0]
  ------------------
10504|      0|                   node->getVectorSize() == 2) {
  ------------------
  |  Branch (10504:20): [True: 0, False: 0]
  ------------------
10505|      0|            requireExtensions(loc, 1, &E_GL_EXT_buffer_reference_uvec2, "uvec2 conversion to reference");
10506|      0|            TIntermTyped* newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvUvec2ToPtr, true, node,
10507|      0|                type);
10508|      0|            return newNode;
10509|      0|        } else {
10510|      0|            return nullptr;
10511|      0|        }
10512|       |
10513|      0|    case EOpConstructCooperativeVectorNV:
  ------------------
  |  Branch (10513:5): [True: 0, False: 921]
  ------------------
10514|      0|        if (!node->getType().isCoopVecNV()) {
  ------------------
  |  Branch (10514:13): [True: 0, False: 0]
  ------------------
10515|      0|            if (type.getBasicType() != node->getType().getBasicType()) {
  ------------------
  |  Branch (10515:17): [True: 0, False: 0]
  ------------------
10516|      0|                node = intermediate.addConversion(type.getBasicType(), node);
10517|      0|                if (node == nullptr)
  ------------------
  |  Branch (10517:21): [True: 0, False: 0]
  ------------------
10518|      0|                    return nullptr;
10519|      0|            }
10520|      0|        }
10521|      0|        if (type.getBasicType() != node->getType().getBasicType()) {
  ------------------
  |  Branch (10521:13): [True: 0, False: 0]
  ------------------
10522|      0|            intermediate.buildConvertOp(type.getBasicType(), node->getType().getBasicType(), op);
10523|      0|            node = intermediate.addUnaryNode(op, node, node->getLoc(), type);
10524|      0|            return node;
10525|      0|        }
10526|      0|        if (subset) {
  ------------------
  |  Branch (10526:13): [True: 0, False: 0]
  ------------------
10527|      0|            return node;
10528|      0|        }
10529|       |
10530|      0|        node = intermediate.setAggregateOperator(node, op, type, node->getLoc());
10531|       |
10532|      0|        return node;
10533|       |
10534|      0|    case EOpConstructCooperativeMatrixNV:
  ------------------
  |  Branch (10534:5): [True: 0, False: 921]
  ------------------
10535|      0|    case EOpConstructCooperativeMatrixKHR:
  ------------------
  |  Branch (10535:5): [True: 0, False: 921]
  ------------------
10536|      0|        if (node->getType() == type) {
  ------------------
  |  Branch (10536:13): [True: 0, False: 0]
  ------------------
10537|      0|            return node;
10538|      0|        }
10539|      0|        if (!node->getType().isCoopMat()) {
  ------------------
  |  Branch (10539:13): [True: 0, False: 0]
  ------------------
10540|      0|            if (type.getBasicType() != node->getType().getBasicType()) {
  ------------------
  |  Branch (10540:17): [True: 0, False: 0]
  ------------------
10541|      0|                node = intermediate.addConversion(type.getBasicType(), node);
10542|      0|                if (node == nullptr)
  ------------------
  |  Branch (10542:21): [True: 0, False: 0]
  ------------------
10543|      0|                    return nullptr;
10544|      0|            }
10545|      0|            node = intermediate.setAggregateOperator(node, op, type, node->getLoc());
10546|      0|        } else if (type.sameCoopMatShape(node->getType()) && !type.sameCoopMatUse(node->getType()) &&
  ------------------
  |  Branch (10546:20): [True: 0, False: 0]
  |  Branch (10546:62): [True: 0, False: 0]
  ------------------
10547|      0|                   type.getBasicType() == node->getType().getBasicType()) {
  ------------------
  |  Branch (10547:20): [True: 0, False: 0]
  ------------------
10548|      0|            node = intermediate.setAggregateOperator(node, op, type, node->getLoc());
10549|      0|        } else {
10550|      0|            TOperator op = EOpConvNumeric;
10551|       |
10552|      0|            node = intermediate.addUnaryNode(op, node, node->getLoc(), type);
10553|       |            // If it's a (non-specialization) constant, it must be folded.
10554|      0|            if (node->getAsUnaryNode()->getOperand()->getAsConstantUnion())
  ------------------
  |  Branch (10554:17): [True: 0, False: 0]
  ------------------
10555|      0|                return node->getAsUnaryNode()->getOperand()->getAsConstantUnion()->fold(op, node->getType());
10556|      0|        }
10557|       |
10558|      0|        return node;
10559|       |
10560|      0|    case EOpConstructAccStruct:
  ------------------
  |  Branch (10560:5): [True: 0, False: 921]
  ------------------
10561|      0|        if ((node->getType().isScalar() && node->getType().getBasicType() == EbtUint64)) {
  ------------------
  |  Branch (10561:14): [True: 0, False: 0]
  |  Branch (10561:44): [True: 0, False: 0]
  ------------------
10562|       |            // construct acceleration structure from uint64
10563|      0|            requireExtensions(loc, Num_ray_tracing_EXTs, ray_tracing_EXTs, "uint64_t conversion to acclerationStructureEXT");
10564|      0|            return intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvUint64ToAccStruct, true, node,
10565|      0|                type);
10566|      0|        } else if (node->getType().isVector() && node->getType().getBasicType() == EbtUint && node->getVectorSize() == 2) {
  ------------------
  |  Branch (10566:20): [True: 0, False: 0]
  |  Branch (10566:50): [True: 0, False: 0]
  |  Branch (10566:95): [True: 0, False: 0]
  ------------------
10567|       |            // construct acceleration structure from uint64
10568|      0|            requireExtensions(loc, Num_ray_tracing_EXTs, ray_tracing_EXTs, "uvec2 conversion to accelerationStructureEXT");
10569|      0|            return intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvUvec2ToAccStruct, true, node,
10570|      0|                type);
10571|      0|        } else
10572|      0|            return nullptr;
10573|       |
10574|      0|    default:
  ------------------
  |  Branch (10574:5): [True: 0, False: 921]
  ------------------
10575|      0|        error(loc, "unsupported construction", "", "");
10576|       |
10577|      0|        return nullptr;
10578|    921|    }
10579|    921|    newNode = intermediate.addUnaryMath(basicOp, node, node->getLoc());
10580|    921|    if (newNode == nullptr) {
  ------------------
  |  Branch (10580:9): [True: 0, False: 921]
  ------------------
10581|      0|        error(loc, "can't convert", "constructor", "");
10582|      0|        return nullptr;
10583|      0|    }
10584|       |
10585|       |    //
10586|       |    // Now, if there still isn't an operation to do the construction, and we need one, add one.
10587|       |    //
10588|       |
10589|       |    // Otherwise, skip out early.
10590|    921|    if (subset || (newNode != node && newNode->getType() == type))
  ------------------
  |  Branch (10590:9): [True: 246, False: 675]
  |  Branch (10590:20): [True: 435, False: 240]
  |  Branch (10590:39): [True: 435, False: 0]
  ------------------
10591|    681|        return newNode;
10592|       |
10593|       |    // setAggregateOperator will insert a new node for the constructor, as needed.
10594|    240|    return intermediate.setAggregateOperator(newNode, op, type, loc);
10595|    921|}
_ZN7glslang13TParseContext12makeVariadicEPNS_9TFunctionERKNS_10TSourceLocE:
10597|    300|void TParseContext::makeVariadic(TFunction *F, const TSourceLoc &loc) {
10598|    300|    if (parsingBuiltins) {
  ------------------
  |  Branch (10598:9): [True: 300, False: 0]
  ------------------
10599|    300|        F->setVariadic();
10600|    300|    } else {
10601|      0|        error(loc, "variadic argument specifier is only available for builtins", "...", "");
10602|      0|    }
10603|    300|}
_ZN7glslang13TParseContext19getParamWithDefaultERKNS_11TPublicTypeEPNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEEPNS_12TIntermTypedERKNS_10TSourceLocE:
10607|    300|{
10608|    300|    if (!parsingBuiltins) {
  ------------------
  |  Branch (10608:9): [True: 0, False: 300]
  ------------------
10609|      0|        error(loc, "default argument values are only available for builtins", "=", "");
10610|      0|        initializer = nullptr;
10611|      0|    }
10612|    300|    if (ty.arraySizes) {
  ------------------
  |  Branch (10612:9): [True: 0, False: 300]
  ------------------
10613|      0|        error(loc, "array arguments cannot be default-initialized", identifier->c_str(), "");
10614|      0|        initializer = nullptr;
10615|      0|    }
10616|    300|    if (ty.basicType == EbtVoid) {
  ------------------
  |  Branch (10616:9): [True: 0, False: 300]
  ------------------
10617|      0|        error(loc, "illegal use of type 'void'", identifier->c_str(), "");
10618|      0|        initializer = nullptr;
10619|      0|    }
10620|    300|    reservedErrorCheck(loc, *identifier);
10621|    300|    TParameter param = {identifier, new TType(ty), initializer};
10622|    300|    return param;
10623|    300|}
_ZN7glslang13TParseContext18constructAggregateEP11TIntermNodeRKNS_5TTypeEiRKNS_10TSourceLocE:
10631|     36|{
10632|     36|    TIntermTyped* converted = intermediate.addConversion(EOpConstructStruct, type, node->getAsTyped());
10633|     36|    if (! converted || converted->getType() != type) {
  ------------------
  |  Branch (10633:9): [True: 0, False: 36]
  |  Branch (10633:24): [True: 0, False: 36]
  ------------------
10634|      0|        bool enhanced = intermediate.getEnhancedMsgs();
10635|      0|        error(loc, "", "constructor", "cannot convert parameter %d from '%s' to '%s'", paramCount,
10636|      0|              node->getAsTyped()->getType().getCompleteString(enhanced).c_str(), type.getCompleteString(enhanced).c_str());
10637|       |
10638|      0|        return nullptr;
10639|      0|    }
10640|       |
10641|     36|    return converted;
10642|     36|}
_ZN7glslang13TParseContext23inheritMemoryQualifiersERKNS_10TQualifierERS1_:
10646|    478|{
10647|    478|    if (from.isReadOnly())
  ------------------
  |  Branch (10647:9): [True: 0, False: 478]
  ------------------
10648|      0|        to.readonly = from.readonly;
10649|    478|    if (from.isWriteOnly())
  ------------------
  |  Branch (10649:9): [True: 0, False: 478]
  ------------------
10650|      0|        to.writeonly = from.writeonly;
10651|    478|    if (from.coherent)
  ------------------
  |  Branch (10651:9): [True: 0, False: 478]
  ------------------
10652|      0|        to.coherent = from.coherent;
10653|    478|    if (from.volatil)
  ------------------
  |  Branch (10653:9): [True: 0, False: 478]
  ------------------
10654|      0|        to.volatil = from.volatil;
10655|    478|    if (from.nontemporal)
  ------------------
  |  Branch (10655:9): [True: 0, False: 478]
  ------------------
10656|      0|        to.nontemporal = from.nontemporal;
10657|    478|    if (from.restrict)
  ------------------
  |  Branch (10657:9): [True: 0, False: 478]
  ------------------
10658|      0|        to.restrict = from.restrict;
10659|    478|}
_ZN7glslang13TParseContext16untypedHeapCheckEPNS_7TSymbolERKNS_5TTypeERKNS_10TSourceLocEPKc:
10734|  16.8k|{
10735|       |    // EXT_descriptor_heap
10736|  16.8k|    bool isHeapStruct =
10737|  16.8k|        (type.getQualifier().storage == EvqSamplerHeap || type.getQualifier().storage == EvqResourceHeap);
  ------------------
  |  Branch (10737:10): [True: 0, False: 16.8k]
  |  Branch (10737:59): [True: 0, False: 16.8k]
  ------------------
10738|       |
10739|  16.8k|    if (intermediate.IsRequestedExtension(E_GL_EXT_descriptor_heap) && spvVersion.vulkan > 0 &&
  ------------------
  |  Branch (10739:9): [True: 0, False: 16.8k]
  |  Branch (10739:72): [True: 0, False: 0]
  ------------------
10740|      0|        !type.getQualifier().hasSet() && !type.getQualifier().hasBinding()) {
  ------------------
  |  Branch (10740:9): [True: 0, False: 0]
  |  Branch (10740:42): [True: 0, False: 0]
  ------------------
10741|      0|        if (type.getQualifier().layoutDescriptorHeap || isHeapStruct) {
  ------------------
  |  Branch (10741:13): [True: 0, False: 0]
  |  Branch (10741:57): [True: 0, False: 0]
  ------------------
10742|      0|            if ((intermediate.isEsProfile() && intermediate.getVersion() < 310) ||
  ------------------
  |  Branch (10742:18): [True: 0, False: 0]
  |  Branch (10742:48): [True: 0, False: 0]
  ------------------
10743|      0|                (!intermediate.isEsProfile() && intermediate.getVersion() < 420)) {
  ------------------
  |  Branch (10743:18): [True: 0, False: 0]
  |  Branch (10743:49): [True: 0, False: 0]
  ------------------
10744|      0|                TString warnMsg = "layout(descriptor_heap) is turned on beyond version/profile limits.";
10745|      0|                infoSink.info.message(EPrefixWarning, warnMsg.c_str());
10746|      0|            }
10747|      0|            if (IsAnonymous(symbol->getName()) &&
  ------------------
  |  Branch (10747:17): [True: 0, False: 0]
  ------------------
10748|      0|                (type.getQualifier().isUniformOrBuffer() || type.getBasicType() == EbtBlock)) {
  ------------------
  |  Branch (10748:18): [True: 0, False: 0]
  |  Branch (10748:61): [True: 0, False: 0]
  ------------------
10749|      0|                error(loc, "layout(descriptor_heap) decorated block should be explicitly "
10750|      0|                    "declared with a run-time sized array type.", name, "");
10751|      0|                return false;
10752|      0|            }
10753|      0|            if (type.getBasicType() == EbtSampler && type.getSampler().isCombined()) {
  ------------------
  |  Branch (10753:17): [True: 0, False: 0]
  |  Branch (10753:54): [True: 0, False: 0]
  ------------------
10754|      0|                error(loc, "layout(descriptor_heap) cannot be used with combined image samplers.",
10755|      0|                      name, "");
10756|      0|                return false;
10757|      0|            }
10758|      0|            if (!type.containsHeapArray() && !isHeapStruct) {
  ------------------
  |  Branch (10758:17): [True: 0, False: 0]
  |  Branch (10758:46): [True: 0, False: 0]
  ------------------
10759|      0|                error(loc, "layout(descriptor_heap) decorated variable could only be declared as an array.",
10760|      0|                      name, "");
10761|      0|                return false;
10762|      0|            }
10763|       |
10764|      0|            if (isHeapStruct && type.isArray()) {
  ------------------
  |  Branch (10764:17): [True: 0, False: 0]
  |  Branch (10764:33): [True: 0, False: 0]
  ------------------
10765|      0|                error(loc, "resourceheap / samplerheap block cannot itself be an array.", name, "");
10766|      0|                return false;
10767|      0|            }
10768|       |
10769|      0|            descHeapBuiltinRemap(&symbol->getWritableType(), true);
10770|      0|        }
10771|      0|    }
10772|  16.8k|    return true;
10773|  16.8k|}
_ZN7glslang13TParseContext12declareBlockERKNS_10TSourceLocERNS_7TVectorINS_8TTypeLocEEEPKNSt3__112basic_stringIcNS8_11char_traitsIcEENS_14pool_allocatorIcEEEEPNS_11TArraySizesE:
10785|     98|{
10786|     98|    if (spvVersion.vulkan > 0 && spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (10786:9): [True: 98, False: 0]
  |  Branch (10786:34): [True: 0, False: 98]
  ------------------
10787|      0|        blockStorageRemap(loc, blockName, currentBlockQualifier);
10788|     98|    blockStageIoCheck(loc, currentBlockQualifier);
10789|     98|    blockQualifierCheck(loc, currentBlockQualifier, instanceName != nullptr);
10790|     98|    if (arraySizes != nullptr) {
  ------------------
  |  Branch (10790:9): [True: 55, False: 43]
  ------------------
10791|     55|        arraySizesCheck(loc, currentBlockQualifier, arraySizes, nullptr, false);
10792|     55|        arrayOfArrayVersionCheck(loc, arraySizes);
10793|     55|        if (arraySizes->getNumDims() > 1)
  ------------------
  |  Branch (10793:13): [True: 0, False: 55]
  ------------------
10794|      0|            requireProfile(loc, ~EEsProfile, "array-of-array of block");
10795|     55|    }
10796|       |
10797|       |    // Inherit and check member storage qualifiers WRT to the block-level qualifier.
10798|    576|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (10798:35): [True: 478, False: 98]
  ------------------
10799|    478|        TType& memberType = *typeList[member].type;
10800|    478|        TQualifier& memberQualifier = memberType.getQualifier();
10801|    478|        const TSourceLoc& memberLoc = typeList[member].loc;
10802|    478|        const bool heapBufferTypeMember =
10803|    478|            isResourceHeapBufferTypeMember(currentBlockQualifier, memberQualifier);
10804|    478|        const bool heapBlockMember =
10805|    478|            currentBlockQualifier.storage == EvqResourceHeap || currentBlockQualifier.storage == EvqSamplerHeap;
  ------------------
  |  Branch (10805:13): [True: 0, False: 478]
  |  Branch (10805:65): [True: 0, False: 478]
  ------------------
10806|    478|        if (memberQualifier.layoutDescriptorHeap && !heapBlockMember)
  ------------------
  |  Branch (10806:13): [True: 0, False: 478]
  |  Branch (10806:53): [True: 0, False: 0]
  ------------------
10807|      0|            error(memberLoc, "can only be used on resourceheap or samplerheap block members", "descriptor heap member", "");
10808|    478|        if (memberQualifier.storage != EvqTemporary && memberQualifier.storage != EvqGlobal &&
  ------------------
  |  Branch (10808:13): [True: 453, False: 25]
  |  Branch (10808:56): [True: 0, False: 453]
  ------------------
10809|      0|            memberQualifier.storage != currentBlockQualifier.storage && !heapBufferTypeMember)
  ------------------
  |  Branch (10809:13): [True: 0, False: 0]
  |  Branch (10809:73): [True: 0, False: 0]
  ------------------
10810|      0|            error(memberLoc, "member storage qualifier cannot contradict block storage qualifier", memberType.getFieldName().c_str(), "");
10811|    478|        if (!heapBufferTypeMember)
  ------------------
  |  Branch (10811:13): [True: 478, False: 0]
  ------------------
10812|    478|            memberQualifier.storage = currentBlockQualifier.storage;
10813|    478|        globalQualifierFixCheck(memberLoc, memberQualifier);
10814|    478|        inheritMemoryQualifiers(currentBlockQualifier, memberQualifier);
10815|    478|        if (currentBlockQualifier.perPrimitiveNV)
  ------------------
  |  Branch (10815:13): [True: 55, False: 423]
  ------------------
10816|     55|            memberQualifier.perPrimitiveNV = currentBlockQualifier.perPrimitiveNV;
10817|    478|        if (currentBlockQualifier.perViewNV)
  ------------------
  |  Branch (10817:13): [True: 0, False: 478]
  ------------------
10818|      0|            memberQualifier.perViewNV = currentBlockQualifier.perViewNV;
10819|    478|        if (currentBlockQualifier.perTaskNV)
  ------------------
  |  Branch (10819:13): [True: 0, False: 478]
  ------------------
10820|      0|            memberQualifier.perTaskNV = currentBlockQualifier.perTaskNV;
10821|    478|        if (currentBlockQualifier.storage == EvqtaskPayloadSharedEXT)
  ------------------
  |  Branch (10821:13): [True: 0, False: 478]
  ------------------
10822|      0|            memberQualifier.storage = EvqtaskPayloadSharedEXT;
10823|    478|        if (memberQualifier.storage == EvqSpirvStorageClass)
  ------------------
  |  Branch (10823:13): [True: 0, False: 478]
  ------------------
10824|      0|            error(memberLoc, "member cannot have a spirv_storage_class qualifier", memberType.getFieldName().c_str(), "");
10825|    478|        if (memberQualifier.hasSpirvDecorate() && !memberQualifier.getSpirvDecorate().decorateIds.empty())
  ------------------
  |  Branch (10825:13): [True: 0, False: 478]
  |  Branch (10825:51): [True: 0, False: 0]
  ------------------
10826|      0|            error(memberLoc, "member cannot have a spirv_decorate_id qualifier", memberType.getFieldName().c_str(), "");
10827|    478|        if ((currentBlockQualifier.storage == EvqUniform || currentBlockQualifier.storage == EvqBuffer) && (memberQualifier.isInterpolation() || memberQualifier.isAuxiliary()))
  ------------------
  |  Branch (10827:14): [True: 0, False: 478]
  |  Branch (10827:61): [True: 0, False: 478]
  |  Branch (10827:109): [True: 0, False: 0]
  |  Branch (10827:146): [True: 0, False: 0]
  ------------------
10828|      0|            error(memberLoc, "member of uniform or buffer block cannot have an auxiliary or interpolation qualifier", memberType.getFieldName().c_str(), "");
10829|    478|        if (memberType.isArray())
  ------------------
  |  Branch (10829:13): [True: 239, False: 239]
  ------------------
10830|    239|            arraySizesCheck(memberLoc, currentBlockQualifier, memberType.getArraySizes(), nullptr, member == typeList.size() - 1);
10831|    478|        if (memberQualifier.hasOffset()) {
  ------------------
  |  Branch (10831:13): [True: 0, False: 478]
  ------------------
10832|      0|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (10832:17): [True: 0, False: 0]
  ------------------
10833|      0|                profileRequires(memberLoc, ~EEsProfile, 440, E_GL_ARB_enhanced_layouts, "\"offset\" on block member");
10834|      0|                profileRequires(memberLoc, EEsProfile, 300, E_GL_ARB_enhanced_layouts, "\"offset\" on block member");
10835|      0|            }
10836|      0|        }
10837|       |
10838|    478|        if (memberQualifier.layoutDescriptorSize != TQualifier::layoutDescriptorSizeEnd && !heapBlockMember)
  ------------------
  |  Branch (10838:13): [True: 0, False: 478]
  |  Branch (10838:92): [True: 0, False: 0]
  ------------------
10839|      0|            error(memberLoc, "can only be used on resourceheap or samplerheap block members", "descriptor_size", "");
10840|       |
10841|       |        // For bindless texture, sampler can be declared as uniform/storage block member,
10842|    478|        if (memberType.containsOpaque() && !extensionTurnedOn(E_GL_EXT_structured_descriptor_heap)) {
  ------------------
  |  Branch (10842:13): [True: 0, False: 478]
  |  Branch (10842:44): [True: 0, False: 0]
  ------------------
10843|      0|            if (memberType.containsSampler() && extensionTurnedOn(E_GL_ARB_bindless_texture))
  ------------------
  |  Branch (10843:17): [True: 0, False: 0]
  |  Branch (10843:49): [True: 0, False: 0]
  ------------------
10844|      0|                updateBindlessQualifier(memberType);
10845|      0|            else
10846|      0|                error(memberLoc, "member of block cannot be or contain a sampler, image, or atomic_uint type", typeList[member].type->getFieldName().c_str(), "");
10847|      0|        }
10848|       |
10849|    478|        if (memberType.containsCoopMat())
  ------------------
  |  Branch (10849:13): [True: 0, False: 478]
  ------------------
10850|      0|            error(memberLoc, "member of block cannot be or contain a cooperative matrix type", typeList[member].type->getFieldName().c_str(), "");
10851|       |
10852|    478|        if (memberType.containsCoopVec())
  ------------------
  |  Branch (10852:13): [True: 0, False: 478]
  ------------------
10853|      0|            error(memberLoc, "member of block cannot be or contain a cooperative vector type", typeList[member].type->getFieldName().c_str(), "");
10854|       |
10855|    478|        if (memberType.containsOcpMicroscalingNonByteFloat())
  ------------------
  |  Branch (10855:13): [True: 0, False: 478]
  ------------------
10856|      0|            error(memberLoc, "member of block cannot be or contain a sub-byte type", typeList[member].type->getFieldName().c_str(), "");
10857|    478|    }
10858|       |
10859|       |    // This might be a redeclaration of a built-in block.  If so, redeclareBuiltinBlock() will
10860|       |    // do all the rest.
10861|     98|    if (! symbolTable.atBuiltInLevel() && builtInName(*blockName)) {
  ------------------
  |  Branch (10861:9): [True: 0, False: 98]
  |  Branch (10861:43): [True: 0, False: 0]
  ------------------
10862|      0|        redeclareBuiltinBlock(loc, typeList, *blockName, instanceName, arraySizes);
10863|      0|        return nullptr;
10864|      0|    }
10865|       |
10866|       |    // Not a redeclaration of a built-in; check that all names are user names.
10867|     98|    reservedErrorCheck(loc, *blockName);
10868|     98|    if (instanceName)
  ------------------
  |  Branch (10868:9): [True: 55, False: 43]
  ------------------
10869|     55|        reservedErrorCheck(loc, *instanceName);
10870|    576|    for (unsigned int member = 0; member < typeList.size(); ++member)
  ------------------
  |  Branch (10870:35): [True: 478, False: 98]
  ------------------
10871|    478|        reservedErrorCheck(typeList[member].loc, typeList[member].type->getFieldName());
10872|       |
10873|       |    // Make default block qualification, and adjust the member qualifications
10874|       |
10875|     98|    TQualifier defaultQualification;
10876|     98|    switch (currentBlockQualifier.storage) {
10877|      0|    case EvqUniform:    defaultQualification = globalUniformDefaults;    break;
  ------------------
  |  Branch (10877:5): [True: 0, False: 98]
  ------------------
10878|      0|    case EvqBuffer:     defaultQualification = globalBufferDefaults;     break;
  ------------------
  |  Branch (10878:5): [True: 0, False: 98]
  ------------------
10879|     18|    case EvqVaryingIn:  defaultQualification = globalInputDefaults;      break;
  ------------------
  |  Branch (10879:5): [True: 18, False: 80]
  ------------------
10880|     80|    case EvqVaryingOut: defaultQualification = globalOutputDefaults;     break;
  ------------------
  |  Branch (10880:5): [True: 80, False: 18]
  ------------------
10881|      0|    case EvqShared:     defaultQualification = globalSharedDefaults;     break;
  ------------------
  |  Branch (10881:5): [True: 0, False: 98]
  ------------------
10882|      0|    default:            defaultQualification.clear();                    break;
  ------------------
  |  Branch (10882:5): [True: 0, False: 98]
  ------------------
10883|     98|    }
10884|       |
10885|       |    // Special case for "push_constant uniform", which has a default of std430,
10886|       |    // contrary to normal uniform defaults, and can't have a default tracked for it.
10887|     98|    if ((currentBlockQualifier.isPushConstant() && !currentBlockQualifier.hasPacking()) ||
  ------------------
  |  Branch (10887:10): [True: 0, False: 98]
  |  Branch (10887:52): [True: 0, False: 0]
  ------------------
10888|     98|        (currentBlockQualifier.isShaderRecord() && !currentBlockQualifier.hasPacking()))
  ------------------
  |  Branch (10888:10): [True: 0, False: 98]
  |  Branch (10888:52): [True: 0, False: 0]
  ------------------
10889|      0|        currentBlockQualifier.layoutPacking = ElpStd430;
10890|       |
10891|       |    // Special case for "taskNV in/out", which has a default of std430,
10892|     98|    if (currentBlockQualifier.isTaskMemory() && !currentBlockQualifier.hasPacking())
  ------------------
  |  Branch (10892:9): [True: 0, False: 98]
  |  Branch (10892:49): [True: 0, False: 0]
  ------------------
10893|      0|        currentBlockQualifier.layoutPacking = ElpStd430;
10894|       |
10895|       |    // fix and check for member layout qualifiers
10896|       |
10897|     98|    mergeObjectLayoutQualifiers(defaultQualification, currentBlockQualifier, true);
10898|       |
10899|       |    // "The align qualifier can only be used on blocks or block members, and only for blocks declared with std140 or std430 layouts."
10900|     98|    if (currentBlockQualifier.hasAlign()) {
  ------------------
  |  Branch (10900:9): [True: 0, False: 98]
  ------------------
10901|      0|        if (defaultQualification.layoutPacking != ElpStd140 &&
  ------------------
  |  Branch (10901:13): [True: 0, False: 0]
  ------------------
10902|      0|            defaultQualification.layoutPacking != ElpStd430 &&
  ------------------
  |  Branch (10902:13): [True: 0, False: 0]
  ------------------
10903|      0|            defaultQualification.layoutPacking != ElpScalar) {
  ------------------
  |  Branch (10903:13): [True: 0, False: 0]
  ------------------
10904|      0|            error(loc, "can only be used with std140, std430, or scalar layout packing", "align", "");
10905|      0|            defaultQualification.layoutAlign = -1;
10906|      0|        }
10907|      0|    }
10908|       |
10909|     98|    bool memberWithLocation = false;
10910|     98|    bool memberWithoutLocation = false;
10911|     98|    bool memberWithPerViewQualifier = false;
10912|    576|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (10912:35): [True: 478, False: 98]
  ------------------
10913|    478|        TQualifier& memberQualifier = typeList[member].type->getQualifier();
10914|    478|        const TSourceLoc& memberLoc = typeList[member].loc;
10915|    478|        const bool heapBufferTypeMember =
10916|    478|            isResourceHeapBufferTypeMember(currentBlockQualifier, memberQualifier);
10917|    478|        if (memberQualifier.hasStream()) {
  ------------------
  |  Branch (10917:13): [True: 0, False: 478]
  ------------------
10918|      0|            if (defaultQualification.layoutStream != memberQualifier.layoutStream)
  ------------------
  |  Branch (10918:17): [True: 0, False: 0]
  ------------------
10919|      0|                error(memberLoc, "member cannot contradict block", "stream", "");
10920|      0|        }
10921|       |
10922|       |        // "This includes a block's inheritance of the
10923|       |        // current global default buffer, a block member's inheritance of the block's
10924|       |        // buffer, and the requirement that any *xfb_buffer* declared on a block
10925|       |        // member must match the buffer inherited from the block."
10926|    478|        if (memberQualifier.hasXfbBuffer()) {
  ------------------
  |  Branch (10926:13): [True: 0, False: 478]
  ------------------
10927|      0|            if (defaultQualification.layoutXfbBuffer != memberQualifier.layoutXfbBuffer)
  ------------------
  |  Branch (10927:17): [True: 0, False: 0]
  ------------------
10928|      0|                error(memberLoc, "member cannot contradict block (or what block inherited from global)", "xfb_buffer", "");
10929|      0|        }
10930|       |
10931|    478|        if (memberQualifier.hasPacking() && !heapBufferTypeMember)
  ------------------
  |  Branch (10931:13): [True: 0, False: 478]
  |  Branch (10931:45): [True: 0, False: 0]
  ------------------
10932|      0|            error(memberLoc, "member of block cannot have a packing layout qualifier", typeList[member].type->getFieldName().c_str(), "");
10933|    478|        if (memberQualifier.hasLocation()) {
  ------------------
  |  Branch (10933:13): [True: 0, False: 478]
  ------------------
10934|      0|            const char* feature = "location on block member";
10935|      0|            switch (currentBlockQualifier.storage) {
10936|      0|            case EvqVaryingIn:
  ------------------
  |  Branch (10936:13): [True: 0, False: 0]
  ------------------
10937|      0|            case EvqVaryingOut:
  ------------------
  |  Branch (10937:13): [True: 0, False: 0]
  ------------------
10938|      0|                requireProfile(memberLoc, ECoreProfile | ECompatibilityProfile | EEsProfile, feature);
10939|      0|                profileRequires(memberLoc, ECoreProfile | ECompatibilityProfile, 440, E_GL_ARB_enhanced_layouts, feature);
10940|      0|                profileRequires(memberLoc, EEsProfile, 320, Num_AEP_shader_io_blocks, AEP_shader_io_blocks, feature);
10941|      0|                memberWithLocation = true;
10942|      0|                break;
10943|      0|            default:
  ------------------
  |  Branch (10943:13): [True: 0, False: 0]
  ------------------
10944|      0|                error(memberLoc, "can only use in an in/out block", feature, "");
10945|      0|                break;
10946|      0|            }
10947|      0|        } else
10948|    478|            memberWithoutLocation = true;
10949|       |
10950|       |        // "The offset qualifier can only be used on block members of blocks declared with std140 or std430 layouts."
10951|       |        // "The align qualifier can only be used on blocks or block members, and only for blocks declared with std140 or std430 layouts."
10952|    478|        if (memberQualifier.hasAlign() || memberQualifier.hasOffset()) {
  ------------------
  |  Branch (10952:13): [True: 0, False: 478]
  |  Branch (10952:43): [True: 0, False: 478]
  ------------------
10953|      0|            if (defaultQualification.layoutPacking != ElpStd140 &&
  ------------------
  |  Branch (10953:17): [True: 0, False: 0]
  ------------------
10954|      0|                defaultQualification.layoutPacking != ElpStd430 &&
  ------------------
  |  Branch (10954:17): [True: 0, False: 0]
  ------------------
10955|      0|                defaultQualification.layoutPacking != ElpScalar)
  ------------------
  |  Branch (10955:17): [True: 0, False: 0]
  ------------------
10956|      0|                error(memberLoc, "can only be used with std140, std430, or scalar layout packing", "offset/align", "");
10957|      0|        }
10958|       |
10959|    478|        if (memberQualifier.isPerView()) {
  ------------------
  |  Branch (10959:13): [True: 25, False: 453]
  ------------------
10960|     25|            memberWithPerViewQualifier = true;
10961|     25|        }
10962|       |
10963|    478|        TQualifier newMemberQualification = defaultQualification;
10964|    478|        mergeQualifiers(memberLoc, newMemberQualification, memberQualifier, false);
10965|    478|        memberQualifier = newMemberQualification;
10966|    478|    }
10967|       |
10968|     98|    layoutMemberLocationArrayCheck(loc, memberWithLocation, arraySizes);
10969|       |
10970|       |    // Ensure that the block has an XfbBuffer assigned. This is needed
10971|       |    // because if the block has a XfbOffset assigned, then it is
10972|       |    // assumed that it has implicitly assigned the current global
10973|       |    // XfbBuffer, and because it's members need to be assigned a
10974|       |    // XfbOffset if they lack it.
10975|     98|    if (currentBlockQualifier.storage == EvqVaryingOut && globalOutputDefaults.hasXfbBuffer()) {
  ------------------
  |  Branch (10975:9): [True: 80, False: 18]
  |  Branch (10975:59): [True: 60, False: 20]
  ------------------
10976|     60|       if (!currentBlockQualifier.hasXfbBuffer() && currentBlockQualifier.hasXfbOffset())
  ------------------
  |  Branch (10976:12): [True: 60, False: 0]
  |  Branch (10976:53): [True: 0, False: 60]
  ------------------
10977|      0|          currentBlockQualifier.layoutXfbBuffer = globalOutputDefaults.layoutXfbBuffer;
10978|     60|    }
10979|       |
10980|       |    // Process the members
10981|     98|    fixBlockLocations(loc, currentBlockQualifier, typeList, memberWithLocation, memberWithoutLocation);
10982|     98|    fixXfbOffsets(currentBlockQualifier, typeList);
10983|     98|    fixBlockUniformOffsets(currentBlockQualifier, typeList);
10984|     98|    fixBlockUniformLayoutMatrix(currentBlockQualifier, &typeList, nullptr);
10985|     98|    fixBlockUniformLayoutPacking(currentBlockQualifier, &typeList, nullptr);
10986|    576|    for (unsigned int member = 0; member < typeList.size(); ++member)
  ------------------
  |  Branch (10986:35): [True: 478, False: 98]
  ------------------
10987|    478|        layoutTypeCheck(typeList[member].loc, *typeList[member].type);
10988|       |
10989|     98|    if (memberWithPerViewQualifier) {
  ------------------
  |  Branch (10989:9): [True: 10, False: 88]
  ------------------
10990|     75|        for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (10990:39): [True: 65, False: 10]
  ------------------
10991|     65|            checkAndResizeMeshViewDim(typeList[member].loc, *typeList[member].type, /*isBlockMember*/ true);
10992|     65|        }
10993|     10|    }
10994|       |
10995|       |    // reverse merge, so that currentBlockQualifier now has all layout information
10996|       |    // (can't use defaultQualification directly, it's missing other non-layout-default-class qualifiers)
10997|     98|    mergeObjectLayoutQualifiers(currentBlockQualifier, defaultQualification, true);
10998|       |
10999|       |    //
11000|       |    // Build and add the interface block as a new type named 'blockName'
11001|       |    //
11002|       |
11003|     98|    TType blockType(&typeList, *blockName, currentBlockQualifier);
11004|     98|    if (arraySizes != nullptr)
  ------------------
  |  Branch (11004:9): [True: 55, False: 43]
  ------------------
11005|     55|        blockType.transferArraySizes(arraySizes);
11006|       |
11007|     98|    if (arraySizes == nullptr)
  ------------------
  |  Branch (11007:9): [True: 43, False: 55]
  ------------------
11008|     43|        ioArrayCheck(loc, blockType, instanceName ? *instanceName : *blockName);
  ------------------
  |  Branch (11008:38): [True: 0, False: 43]
  ------------------
11009|     98|    if (currentBlockQualifier.hasBufferReference()) {
  ------------------
  |  Branch (11009:9): [True: 0, False: 98]
  ------------------
11010|       |
11011|      0|        if (currentBlockQualifier.storage != EvqBuffer)
  ------------------
  |  Branch (11011:13): [True: 0, False: 0]
  ------------------
11012|      0|            error(loc, "can only be used with buffer", "buffer_reference", "");
11013|       |
11014|       |        // Create the block reference type. If it was forward-declared, detect that
11015|       |        // as a referent struct type with no members. Replace the referent type with
11016|       |        // blockType.
11017|      0|        TType blockNameType(EbtReference, blockType, *blockName);
11018|      0|        TVariable* blockNameVar = new TVariable(blockName, blockNameType, true);
11019|      0|        if (! symbolTable.insert(*blockNameVar)) {
  ------------------
  |  Branch (11019:13): [True: 0, False: 0]
  ------------------
11020|      0|            TSymbol* existingName = symbolTable.find(*blockName);
11021|      0|            if (existingName->getType().isReference() &&
  ------------------
  |  Branch (11021:17): [True: 0, False: 0]
  ------------------
11022|      0|                existingName->getType().getReferentType()->getStruct() &&
  ------------------
  |  Branch (11022:17): [True: 0, False: 0]
  ------------------
11023|      0|                existingName->getType().getReferentType()->getStruct()->size() == 0 &&
  ------------------
  |  Branch (11023:17): [True: 0, False: 0]
  ------------------
11024|      0|                existingName->getType().getQualifier().storage == blockType.getQualifier().storage) {
  ------------------
  |  Branch (11024:17): [True: 0, False: 0]
  ------------------
11025|      0|                existingName->getType().getReferentType()->deepCopy(blockType);
11026|      0|            } else {
11027|      0|                error(loc, "block name cannot be redefined", blockName->c_str(), "");
11028|      0|            }
11029|      0|        }
11030|      0|        if (!instanceName) {
  ------------------
  |  Branch (11030:13): [True: 0, False: 0]
  ------------------
11031|      0|            return nullptr;
11032|      0|        }
11033|     98|    } else if (currentBlockQualifier.isBufferType()) {
  ------------------
  |  Branch (11033:16): [True: 0, False: 98]
  ------------------
11034|       |        // buffer_type creates an opaque type named by the block, not a global block instance.
11035|      0|        TVariable* blockNameVar = new TVariable(blockName, blockType, true);
11036|      0|        if (! symbolTable.insert(*blockNameVar)) {
  ------------------
  |  Branch (11036:13): [True: 0, False: 0]
  ------------------
11037|      0|            error(loc, "block name cannot be redefined", blockName->c_str(), "");
11038|      0|            return nullptr;
11039|      0|        }
11040|      0|        if (!instanceName)
  ------------------
  |  Branch (11040:13): [True: 0, False: 0]
  ------------------
11041|      0|            return nullptr;
11042|     98|    } else {
11043|       |        //
11044|       |        // Don't make a user-defined type out of block name; that will cause an error
11045|       |        // if the same block name gets reused in a different interface.
11046|       |        //
11047|       |        // "Block names have no other use within a shader
11048|       |        // beyond interface matching; it is a compile-time error to use a block name at global scope for anything
11049|       |        // other than as a block name (e.g., use of a block name for a global variable name or function name is
11050|       |        // currently reserved)."
11051|       |        //
11052|       |        // Use the symbol table to prevent normal reuse of the block's name, as a variable entry,
11053|       |        // whose type is EbtBlock, but without all the structure; that will come from the type
11054|       |        // the instances point to.
11055|       |        //
11056|     98|        TType blockNameType(EbtBlock, blockType.getQualifier().storage);
11057|     98|        TVariable* blockNameVar = new TVariable(blockName, blockNameType);
11058|     98|        if (! symbolTable.insert(*blockNameVar)) {
  ------------------
  |  Branch (11058:13): [True: 9, False: 89]
  ------------------
11059|      9|            TSymbol* existingName = symbolTable.find(*blockName);
11060|      9|            if (existingName->getType().getBasicType() == EbtBlock) {
  ------------------
  |  Branch (11060:17): [True: 9, False: 0]
  ------------------
11061|      9|                if (existingName->getType().getQualifier().storage == blockType.getQualifier().storage) {
  ------------------
  |  Branch (11061:21): [True: 0, False: 9]
  ------------------
11062|      0|                    error(loc, "Cannot reuse block name within the same interface:", blockName->c_str(), blockType.getStorageQualifierString());
11063|      0|                    return nullptr;
11064|      0|                }
11065|      9|            } else {
11066|      0|                error(loc, "block name cannot redefine a non-block name", blockName->c_str(), "");
11067|      0|                return nullptr;
11068|      0|            }
11069|      9|        }
11070|     98|    }
11071|       |
11072|       |    // Add the variable, as anonymous or named instanceName.
11073|       |    // Make an anonymous variable if no name was provided.
11074|     98|    if (! instanceName)
  ------------------
  |  Branch (11074:9): [True: 43, False: 55]
  ------------------
11075|     43|        instanceName = NewPoolTString("");
11076|       |
11077|     98|    TVariable& variable = *new TVariable(instanceName, blockType);
11078|     98|    if (! symbolTable.insert(variable)) {
  ------------------
  |  Branch (11078:9): [True: 0, False: 98]
  ------------------
11079|      0|        if (*instanceName == "")
  ------------------
  |  Branch (11079:13): [True: 0, False: 0]
  ------------------
11080|      0|            error(loc, "nameless block contains a member that already has a name at global scope", blockName->c_str(), "");
11081|      0|        else
11082|      0|            error(loc, "block instance name redefinition", variable.getName().c_str(), "");
11083|       |
11084|      0|        return nullptr;
11085|      0|    }
11086|       |
11087|       |    // EXT_descriptor_heap
11088|     98|    if (!untypedHeapCheck(&variable, blockType, loc, blockName->c_str())) {
  ------------------
  |  Branch (11088:9): [True: 0, False: 98]
  ------------------
11089|      0|        return nullptr;
11090|      0|    }
11091|       |
11092|       |    // Check for general layout qualifier errors
11093|     98|    layoutObjectCheck(loc, variable);
11094|       |
11095|       |    // fix up
11096|     98|    if (isIoResizeArray(blockType)) {
  ------------------
  |  Branch (11096:9): [True: 46, False: 52]
  ------------------
11097|     46|        ioArraySymbolResizeList.push_back(&variable);
11098|     46|        checkIoArraysConsistency(loc, true);
11099|     46|    } else
11100|     52|        fixIoArraySize(loc, variable.getWritableType());
11101|       |
11102|       |    // Save it in the AST for linker use.
11103|     98|    trackLinkage(variable);
11104|       |
11105|     98|    TIntermAggregate* declNode = nullptr;
11106|     98|    if (intermediate.getDebugInfo()) {
  ------------------
  |  Branch (11106:9): [True: 0, False: 98]
  ------------------
11107|      0|        auto blockDeclNode = new TIntermVariableDecl(intermediate.addSymbol(variable, loc), nullptr);
11108|      0|        blockDeclNode->setLoc(loc);
11109|       |
11110|       |        // We have to wrap the declaration with a sequence to fit the same processing logic with variables.
11111|      0|        declNode = new TIntermAggregate(EOpSequence);
11112|      0|        declNode->getSequence().push_back(blockDeclNode);
11113|      0|    }
11114|     98|    return declNode;
11115|     98|}
_ZN7glslang13TParseContext17blockStageIoCheckERKNS_10TSourceLocERKNS_10TQualifierE:
11131|     98|{
11132|     98|    const char *extsrt[2] = { E_GL_NV_ray_tracing, E_GL_EXT_ray_tracing };
11133|     98|    switch (qualifier.storage) {
11134|      0|    case EvqUniform:
  ------------------
  |  Branch (11134:5): [True: 0, False: 98]
  ------------------
11135|      0|        profileRequires(loc, EEsProfile, 300, nullptr, "uniform block");
11136|      0|        profileRequires(loc, ENoProfile, 140, E_GL_ARB_uniform_buffer_object, "uniform block");
11137|      0|        if (currentBlockQualifier.layoutPacking == ElpStd430 && ! currentBlockQualifier.isPushConstant())
  ------------------
  |  Branch (11137:13): [True: 0, False: 0]
  |  Branch (11137:65): [True: 0, False: 0]
  ------------------
11138|      0|            requireExtensions(loc, 1, &E_GL_EXT_scalar_block_layout, "std430 requires the buffer storage qualifier");
11139|      0|        break;
11140|      0|    case EvqBuffer:
  ------------------
  |  Branch (11140:5): [True: 0, False: 98]
  ------------------
11141|      0|        requireProfile(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, "buffer block");
11142|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 430, E_GL_ARB_shader_storage_buffer_object, "buffer block");
11143|      0|        profileRequires(loc, EEsProfile, 310, nullptr, "buffer block");
11144|      0|        break;
11145|     18|    case EvqVaryingIn:
  ------------------
  |  Branch (11145:5): [True: 18, False: 80]
  ------------------
11146|     18|        profileRequires(loc, ~EEsProfile, 150, E_GL_ARB_separate_shader_objects, "input block");
11147|       |        // It is a compile-time error to have an input block in a vertex shader or an output block in a fragment shader
11148|       |        // "Compute shaders do not permit user-defined input variables..."
11149|     18|        requireStage(loc, (EShLanguageMask)(EShLangTessControlMask|EShLangTessEvaluationMask|EShLangGeometryMask|
11150|     18|            EShLangFragmentMask|EShLangMeshMask), "input block");
11151|     18|        if (language == EShLangFragment) {
  ------------------
  |  Branch (11151:13): [True: 0, False: 18]
  ------------------
11152|      0|            profileRequires(loc, EEsProfile, 320, Num_AEP_shader_io_blocks, AEP_shader_io_blocks, "fragment input block");
11153|     18|        } else if (language == EShLangMesh && ! qualifier.isTaskMemory()) {
  ------------------
  |  Branch (11153:20): [True: 0, False: 18]
  |  Branch (11153:47): [True: 0, False: 0]
  ------------------
11154|      0|            error(loc, "input blocks cannot be used in a mesh shader", "out", "");
11155|      0|        }
11156|     18|        break;
11157|     80|    case EvqVaryingOut:
  ------------------
  |  Branch (11157:5): [True: 80, False: 18]
  ------------------
11158|     80|        profileRequires(loc, ~EEsProfile, 150, E_GL_ARB_separate_shader_objects, "output block");
11159|     80|        requireStage(loc, (EShLanguageMask)(EShLangVertexMask|EShLangTessControlMask|EShLangTessEvaluationMask|
11160|     80|            EShLangGeometryMask|EShLangMeshMask|EShLangTaskMask), "output block");
11161|       |        // ES 310 can have a block before shader_io is turned on, so skip this test for built-ins
11162|     80|        if (language == EShLangVertex && ! parsingBuiltins) {
  ------------------
  |  Branch (11162:13): [True: 17, False: 63]
  |  Branch (11162:42): [True: 0, False: 17]
  ------------------
11163|      0|            profileRequires(loc, EEsProfile, 320, Num_AEP_shader_io_blocks, AEP_shader_io_blocks, "vertex output block");
11164|     80|        } else if (language == EShLangMesh && qualifier.isTaskMemory()) {
  ------------------
  |  Branch (11164:20): [True: 20, False: 60]
  |  Branch (11164:47): [True: 0, False: 20]
  ------------------
11165|      0|            error(loc, "can only use on input blocks in mesh shader", "taskNV", "");
11166|     80|        } else if (language == EShLangTask && ! qualifier.isTaskMemory()) {
  ------------------
  |  Branch (11166:20): [True: 0, False: 80]
  |  Branch (11166:47): [True: 0, False: 0]
  ------------------
11167|      0|            error(loc, "output blocks cannot be used in a task shader", "out", "");
11168|      0|        }
11169|     80|        break;
11170|      0|    case EvqShared:
  ------------------
  |  Branch (11170:5): [True: 0, False: 98]
  ------------------
11171|      0|        if (spvVersion.spv > 0 && spvVersion.spv < EShTargetSpv_1_4) {
  ------------------
  |  Branch (11171:13): [True: 0, False: 0]
  |  Branch (11171:35): [True: 0, False: 0]
  ------------------
11172|      0|            error(loc, "shared block requires at least SPIR-V 1.4", "shared block", "");
11173|      0|        }
11174|      0|        profileRequires(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, 0, E_GL_EXT_shared_memory_block, "shared block");
11175|      0|        break;
11176|      0|    case EvqPayload:
  ------------------
  |  Branch (11176:5): [True: 0, False: 98]
  ------------------
11177|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "rayPayloadNV block");
11178|      0|        requireStage(loc, (EShLanguageMask)(EShLangRayGenMask | EShLangAnyHitMask | EShLangClosestHitMask | EShLangMissMask),
11179|      0|            "rayPayloadNV block");
11180|      0|        break;
11181|      0|    case EvqPayloadIn:
  ------------------
  |  Branch (11181:5): [True: 0, False: 98]
  ------------------
11182|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "rayPayloadInNV block");
11183|      0|        requireStage(loc, (EShLanguageMask)(EShLangAnyHitMask | EShLangClosestHitMask | EShLangMissMask),
11184|      0|            "rayPayloadInNV block");
11185|      0|        break;
11186|      0|    case EvqHitAttr:
  ------------------
  |  Branch (11186:5): [True: 0, False: 98]
  ------------------
11187|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "hitAttributeNV block");
11188|      0|        requireStage(loc, (EShLanguageMask)(EShLangIntersectMask | EShLangAnyHitMask | EShLangClosestHitMask), "hitAttributeNV block");
11189|      0|        break;
11190|      0|    case EvqCallableData:
  ------------------
  |  Branch (11190:5): [True: 0, False: 98]
  ------------------
11191|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "callableDataNV block");
11192|      0|        requireStage(loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask | EShLangMissMask | EShLangCallableMask),
11193|      0|            "callableDataNV block");
11194|      0|        break;
11195|      0|    case EvqCallableDataIn:
  ------------------
  |  Branch (11195:5): [True: 0, False: 98]
  ------------------
11196|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "callableDataInNV block");
11197|      0|        requireStage(loc, (EShLanguageMask)(EShLangCallableMask), "callableDataInNV block");
11198|      0|        break;
11199|      0|    case EvqHitObjectAttrNV:
  ------------------
  |  Branch (11199:5): [True: 0, False: 98]
  ------------------
11200|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_NV_shader_invocation_reorder, "hitObjectAttributeNV block");
11201|      0|        requireStage(loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask | EShLangMissMask), "hitObjectAttributeNV block");
11202|      0|        break;
11203|      0|    case EvqHitObjectAttrEXT:
  ------------------
  |  Branch (11203:5): [True: 0, False: 98]
  ------------------
11204|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_shader_invocation_reorder, "hitObjectAttributeEXT block");
11205|      0|        requireStage(loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask | EShLangMissMask), "hitObjectAttributeEXT block");
11206|      0|        break;
11207|      0|    case EvqResourceHeap:
  ------------------
  |  Branch (11207:5): [True: 0, False: 98]
  ------------------
11208|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_structured_descriptor_heap, "resourceheap block");
11209|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_descriptor_heap, "resourceheap block");
11210|      0|        break;
11211|      0|    case EvqSamplerHeap:
  ------------------
  |  Branch (11211:5): [True: 0, False: 98]
  ------------------
11212|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_structured_descriptor_heap, "samplerheap block");
11213|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_descriptor_heap, "samplerheap block");
11214|      0|        break;
11215|      0|    default:
  ------------------
  |  Branch (11215:5): [True: 0, False: 98]
  ------------------
11216|      0|        error(loc, "only uniform, buffer, in, or out blocks are supported", blockName->c_str(), "");
11217|      0|        break;
11218|     98|    }
11219|     98|}
_ZN7glslang13TParseContext19blockQualifierCheckERKNS_10TSourceLocERKNS_10TQualifierEb:
11223|     98|{
11224|       |    // The 4.5 specification says:
11225|       |    //
11226|       |    // interface-block :
11227|       |    //    layout-qualifieropt interface-qualifier  block-name { member-list } instance-nameopt ;
11228|       |    //
11229|       |    // interface-qualifier :
11230|       |    //    in
11231|       |    //    out
11232|       |    //    patch in
11233|       |    //    patch out
11234|       |    //    uniform
11235|       |    //    buffer
11236|       |    //
11237|       |    // Note however memory qualifiers aren't included, yet the specification also says
11238|       |    //
11239|       |    // "...memory qualifiers may also be used in the declaration of shader storage blocks..."
11240|       |
11241|     98|    if (qualifier.isInterpolation())
  ------------------
  |  Branch (11241:9): [True: 0, False: 98]
  ------------------
11242|      0|        error(loc, "cannot use interpolation qualifiers on an interface block", "flat/smooth/noperspective", "");
11243|     98|    if (qualifier.centroid)
  ------------------
  |  Branch (11243:9): [True: 0, False: 98]
  ------------------
11244|      0|        error(loc, "cannot use centroid qualifier on an interface block", "centroid", "");
11245|     98|    if (qualifier.isSample())
  ------------------
  |  Branch (11245:9): [True: 0, False: 98]
  ------------------
11246|      0|        error(loc, "cannot use sample qualifier on an interface block", "sample", "");
11247|     98|    if (qualifier.invariant)
  ------------------
  |  Branch (11247:9): [True: 0, False: 98]
  ------------------
11248|      0|        error(loc, "cannot use invariant qualifier on an interface block", "invariant", "");
11249|     98|    if (qualifier.isPushConstant())
  ------------------
  |  Branch (11249:9): [True: 0, False: 98]
  ------------------
11250|      0|        intermediate.addPushConstantCount();
11251|     98|    if (qualifier.isShaderRecord())
  ------------------
  |  Branch (11251:9): [True: 0, False: 98]
  ------------------
11252|      0|        intermediate.addShaderRecordCount();
11253|     98|    if (qualifier.isTaskMemory())
  ------------------
  |  Branch (11253:9): [True: 0, False: 98]
  ------------------
11254|      0|        intermediate.addTaskNVCount();
11255|     98|    if (qualifier.isBufferType()) {
  ------------------
  |  Branch (11255:9): [True: 0, False: 98]
  ------------------
11256|      0|        if (qualifier.storage != EvqUniform && qualifier.storage != EvqBuffer)
  ------------------
  |  Branch (11256:13): [True: 0, False: 0]
  |  Branch (11256:48): [True: 0, False: 0]
  ------------------
11257|      0|            error(loc, "can only be used with uniform or buffer", "buffer_type", "");
11258|      0|        if (instanceName)
  ------------------
  |  Branch (11258:13): [True: 0, False: 0]
  ------------------
11259|      0|            error(loc, "cannot have an instance name", "buffer_type", "");
11260|      0|        if (qualifier.hasSet())
  ------------------
  |  Branch (11260:13): [True: 0, False: 0]
  ------------------
11261|      0|            error(loc, "cannot be used with buffer_type", "set", "");
11262|      0|        if (qualifier.hasBinding())
  ------------------
  |  Branch (11262:13): [True: 0, False: 0]
  ------------------
11263|      0|            error(loc, "cannot be used with buffer_type", "binding", "");
11264|      0|    }
11265|     98|}
_ZN7glslang13TParseContext17fixBlockLocationsERKNS_10TSourceLocERNS_10TQualifierERNS_7TVectorINS_8TTypeLocEEEbb:
11275|     98|{
11276|       |    // "If a block has no block-level location layout qualifier, it is required that either all or none of its members
11277|       |    // have a location layout qualifier, or a compile-time error results."
11278|     98|    if (! qualifier.hasLocation() && memberWithLocation && memberWithoutLocation)
  ------------------
  |  Branch (11278:9): [True: 98, False: 0]
  |  Branch (11278:38): [True: 0, False: 98]
  |  Branch (11278:60): [True: 0, False: 0]
  ------------------
11279|      0|        error(loc, "either the block needs a location, or all members need a location, or no members have a location", "location", "");
11280|     98|    else {
11281|     98|        if (memberWithLocation) {
  ------------------
  |  Branch (11281:13): [True: 0, False: 98]
  ------------------
11282|       |            // remove any block-level location and make it per *every* member
11283|      0|            int nextLocation = 0;  // by the rule above, initial value is not relevant
11284|      0|            if (qualifier.hasAnyLocation()) {
  ------------------
  |  Branch (11284:17): [True: 0, False: 0]
  ------------------
11285|      0|                nextLocation = qualifier.layoutLocation;
11286|      0|                qualifier.layoutLocation = TQualifier::layoutLocationEnd;
11287|      0|                if (qualifier.hasComponent()) {
  ------------------
  |  Branch (11287:21): [True: 0, False: 0]
  ------------------
11288|       |                    // "It is a compile-time error to apply the *component* qualifier to a ... block"
11289|      0|                    error(loc, "cannot apply to a block", "component", "");
11290|      0|                }
11291|      0|                if (qualifier.hasIndex()) {
  ------------------
  |  Branch (11291:21): [True: 0, False: 0]
  ------------------
11292|      0|                    error(loc, "cannot apply to a block", "index", "");
11293|      0|                }
11294|      0|            }
11295|      0|            for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11295:43): [True: 0, False: 0]
  ------------------
11296|      0|                TQualifier& memberQualifier = typeList[member].type->getQualifier();
11297|      0|                const TSourceLoc& memberLoc = typeList[member].loc;
11298|      0|                if (! memberQualifier.hasLocation()) {
  ------------------
  |  Branch (11298:21): [True: 0, False: 0]
  ------------------
11299|      0|                    if (nextLocation >= (int)TQualifier::layoutLocationEnd)
  ------------------
  |  Branch (11299:25): [True: 0, False: 0]
  ------------------
11300|      0|                        error(memberLoc, "location is too large", "location", "");
11301|      0|                    memberQualifier.layoutLocation = nextLocation;
11302|      0|                    memberQualifier.layoutComponent = TQualifier::layoutComponentEnd;
11303|      0|                }
11304|      0|                nextLocation = memberQualifier.layoutLocation + intermediate.computeTypeLocationSize(
11305|      0|                                    *typeList[member].type, language);
11306|      0|            }
11307|      0|        }
11308|     98|    }
11309|     98|}
_ZN7glslang13TParseContext13fixXfbOffsetsERNS_10TQualifierERNS_7TVectorINS_8TTypeLocEEE:
11312|     98|{
11313|       |    // "If a block is qualified with xfb_offset, all its
11314|       |    // members are assigned transform feedback buffer offsets. If a block is not qualified with xfb_offset, any
11315|       |    // members of that block not qualified with an xfb_offset will not be assigned transform feedback buffer
11316|       |    // offsets."
11317|       |
11318|     98|    if (! qualifier.hasXfbBuffer() || ! qualifier.hasXfbOffset())
  ------------------
  |  Branch (11318:9): [True: 98, False: 0]
  |  Branch (11318:39): [True: 0, False: 0]
  ------------------
11319|     98|        return;
11320|       |
11321|      0|    int nextOffset = qualifier.layoutXfbOffset;
11322|      0|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11322:35): [True: 0, False: 0]
  ------------------
11323|      0|        TQualifier& memberQualifier = typeList[member].type->getQualifier();
11324|      0|        bool contains64BitType = false;
11325|      0|        bool contains32BitType = false;
11326|      0|        bool contains16BitType = false;
11327|      0|        int memberSize = intermediate.computeTypeXfbSize(*typeList[member].type, contains64BitType, contains32BitType, contains16BitType);
11328|       |        // see if we need to auto-assign an offset to this member
11329|      0|        if (! memberQualifier.hasXfbOffset()) {
  ------------------
  |  Branch (11329:13): [True: 0, False: 0]
  ------------------
11330|       |            // "if applied to an aggregate containing a double or 64-bit integer, the offset must also be a multiple of 8"
11331|      0|            if (contains64BitType)
  ------------------
  |  Branch (11331:17): [True: 0, False: 0]
  ------------------
11332|      0|                RoundToPow2(nextOffset, 8);
11333|      0|            else if (contains32BitType)
  ------------------
  |  Branch (11333:22): [True: 0, False: 0]
  ------------------
11334|      0|                RoundToPow2(nextOffset, 4);
11335|      0|            else if (contains16BitType)
  ------------------
  |  Branch (11335:22): [True: 0, False: 0]
  ------------------
11336|      0|                RoundToPow2(nextOffset, 2);
11337|      0|            memberQualifier.layoutXfbOffset = nextOffset;
11338|      0|        } else
11339|      0|            nextOffset = memberQualifier.layoutXfbOffset;
11340|      0|        nextOffset += memberSize;
11341|      0|    }
11342|       |
11343|       |    // The above gave all block members an offset, so we can take it off the block now,
11344|       |    // which will avoid double counting the offset usage.
11345|      0|    qualifier.layoutXfbOffset = TQualifier::layoutXfbOffsetEnd;
11346|      0|}
_ZN7glslang13TParseContext22fixBlockUniformOffsetsERNS_10TQualifierERNS_7TVectorINS_8TTypeLocEEE:
11355|     98|{
11356|     98|    if (!storageCanHaveLayoutInBlock(qualifier.storage) && !qualifier.isTaskMemory())
  ------------------
  |  Branch (11356:9): [True: 98, False: 0]
  |  Branch (11356:60): [True: 98, False: 0]
  ------------------
11357|     98|        return;
11358|      0|    if (qualifier.layoutPacking != ElpStd140 && qualifier.layoutPacking != ElpStd430 && qualifier.layoutPacking != ElpScalar)
  ------------------
  |  Branch (11358:9): [True: 0, False: 0]
  |  Branch (11358:49): [True: 0, False: 0]
  |  Branch (11358:89): [True: 0, False: 0]
  ------------------
11359|      0|        return;
11360|       |
11361|      0|    int offset = 0;
11362|      0|    int memberSize;
11363|      0|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11363:35): [True: 0, False: 0]
  ------------------
11364|      0|        TQualifier& memberQualifier = typeList[member].type->getQualifier();
11365|      0|        const TSourceLoc& memberLoc = typeList[member].loc;
11366|       |
11367|       |        // "When align is applied to an array, it effects only the start of the array, not the array's internal stride."
11368|       |
11369|       |        // modify just the children's view of matrix layout, if there is one for this member
11370|      0|        TLayoutMatrix subMatrixLayout = typeList[member].type->getQualifier().layoutMatrix;
11371|      0|        int dummyStride;
11372|      0|        int memberAlignment = intermediate.getMemberAlignment(*typeList[member].type, memberSize, dummyStride, qualifier.layoutPacking,
11373|      0|                                                              subMatrixLayout != ElmNone ? subMatrixLayout == ElmRowMajor : qualifier.layoutMatrix == ElmRowMajor);
  ------------------
  |  Branch (11373:63): [True: 0, False: 0]
  ------------------
11374|      0|        if (memberQualifier.hasOffset()) {
  ------------------
  |  Branch (11374:13): [True: 0, False: 0]
  ------------------
11375|       |            // "The specified offset must be a multiple
11376|       |            // of the base alignment of the type of the block member it qualifies, or a compile-time error results."
11377|      0|            if (! IsMultipleOfPow2(memberQualifier.layoutOffset, memberAlignment))
  ------------------
  |  Branch (11377:17): [True: 0, False: 0]
  ------------------
11378|      0|                error(memberLoc, "must be a multiple of the member's alignment", "offset",
11379|      0|                    "(layout offset = %d | member alignment = %d)", memberQualifier.layoutOffset, memberAlignment);
11380|       |
11381|       |            // GLSL: "It is a compile-time error to specify an offset that is smaller than the offset of the previous
11382|       |            // member in the block or that lies within the previous member of the block"
11383|      0|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (11383:17): [True: 0, False: 0]
  ------------------
11384|      0|                if (memberQualifier.layoutOffset < offset)
  ------------------
  |  Branch (11384:21): [True: 0, False: 0]
  ------------------
11385|      0|                    error(memberLoc, "cannot lie in previous members", "offset", "");
11386|       |
11387|       |                // "The offset qualifier forces the qualified member to start at or after the specified
11388|       |                // integral-constant expression, which will be its byte offset from the beginning of the buffer.
11389|       |                // "The actual offset of a member is computed as
11390|       |                // follows: If offset was declared, start with that offset, otherwise start with the next available offset."
11391|      0|                offset = std::max(offset, memberQualifier.layoutOffset);
11392|      0|            } else {
11393|       |                // TODO: Vulkan: "It is a compile-time error to have any offset, explicit or assigned,
11394|       |                // that lies within another member of the block."
11395|       |
11396|      0|                offset = memberQualifier.layoutOffset;
11397|      0|            }
11398|      0|        }
11399|       |
11400|       |        // "The actual alignment of a member will be the greater of the specified align alignment and the standard
11401|       |        // (e.g., std140) base alignment for the member's type."
11402|      0|        if (memberQualifier.hasAlign())
  ------------------
  |  Branch (11402:13): [True: 0, False: 0]
  ------------------
11403|      0|            memberAlignment = std::max(memberAlignment, memberQualifier.layoutAlign);
11404|       |
11405|       |        // "If the resulting offset is not a multiple of the actual alignment,
11406|       |        // increase it to the first offset that is a multiple of
11407|       |        // the actual alignment."
11408|      0|        RoundToPow2(offset, memberAlignment);
11409|      0|        typeList[member].type->getQualifier().layoutOffset = offset;
11410|      0|        offset += memberSize;
11411|      0|    }
11412|      0|}
_ZN7glslang13TParseContext27fixBlockUniformLayoutMatrixERNS_10TQualifierEPNS_7TVectorINS_8TTypeLocEEES6_:
11420|     98|{
11421|     98|    assert(tmpTypeList == nullptr || originTypeList->size() == tmpTypeList->size());
11422|    576|    for (unsigned int member = 0; member < originTypeList->size(); ++member) {
  ------------------
  |  Branch (11422:35): [True: 478, False: 98]
  ------------------
11423|    478|        if (qualifier.layoutPacking != ElpNone) {
  ------------------
  |  Branch (11423:13): [True: 0, False: 478]
  ------------------
11424|      0|            if (tmpTypeList == nullptr) {
  ------------------
  |  Branch (11424:17): [True: 0, False: 0]
  ------------------
11425|      0|                if (((*originTypeList)[member].type->isMatrix() ||
  ------------------
  |  Branch (11425:22): [True: 0, False: 0]
  ------------------
11426|      0|                     (*originTypeList)[member].type->getBasicType() == EbtStruct) &&
  ------------------
  |  Branch (11426:22): [True: 0, False: 0]
  ------------------
11427|      0|                    (*originTypeList)[member].type->getQualifier().layoutMatrix == ElmNone) {
  ------------------
  |  Branch (11427:21): [True: 0, False: 0]
  ------------------
11428|      0|                    (*originTypeList)[member].type->getQualifier().layoutMatrix = qualifier.layoutMatrix;
11429|      0|                }
11430|      0|            } else {
11431|      0|                if (((*tmpTypeList)[member].type->isMatrix() ||
  ------------------
  |  Branch (11431:22): [True: 0, False: 0]
  ------------------
11432|      0|                     (*tmpTypeList)[member].type->getBasicType() == EbtStruct) &&
  ------------------
  |  Branch (11432:22): [True: 0, False: 0]
  ------------------
11433|      0|                    (*tmpTypeList)[member].type->getQualifier().layoutMatrix == ElmNone) {
  ------------------
  |  Branch (11433:21): [True: 0, False: 0]
  ------------------
11434|      0|                    (*tmpTypeList)[member].type->getQualifier().layoutMatrix = qualifier.layoutMatrix;
11435|      0|                }
11436|      0|            }
11437|      0|        }
11438|       |
11439|    478|        if ((*originTypeList)[member].type->getBasicType() == EbtStruct) {
  ------------------
  |  Branch (11439:13): [True: 0, False: 478]
  ------------------
11440|      0|            TQualifier* memberQualifier = nullptr;
11441|       |            // block member can be declare a matrix style, so it should be update to the member's style
11442|      0|            if ((*originTypeList)[member].type->getQualifier().layoutMatrix == ElmNone) {
  ------------------
  |  Branch (11442:17): [True: 0, False: 0]
  ------------------
11443|      0|                memberQualifier = &qualifier;
11444|      0|            } else {
11445|      0|                memberQualifier = &((*originTypeList)[member].type->getQualifier());
11446|      0|            }
11447|       |
11448|      0|            const TType* tmpType = tmpTypeList == nullptr ?
  ------------------
  |  Branch (11448:36): [True: 0, False: 0]
  ------------------
11449|      0|                (*originTypeList)[member].type->clone() : (*tmpTypeList)[member].type;
11450|       |
11451|      0|            fixBlockUniformLayoutMatrix(*memberQualifier, (*originTypeList)[member].type->getWritableStruct(),
11452|      0|                                        tmpType->getWritableStruct());
11453|       |
11454|      0|            const TTypeList* structure = recordStructCopy(matrixFixRecord, (*originTypeList)[member].type, tmpType);
11455|       |
11456|      0|            if (tmpTypeList == nullptr) {
  ------------------
  |  Branch (11456:17): [True: 0, False: 0]
  ------------------
11457|      0|                (*originTypeList)[member].type->setStruct(const_cast<TTypeList*>(structure));
11458|      0|            }
11459|      0|            if (tmpTypeList != nullptr) {
  ------------------
  |  Branch (11459:17): [True: 0, False: 0]
  ------------------
11460|      0|                (*tmpTypeList)[member].type->setStruct(const_cast<TTypeList*>(structure));
11461|      0|            }
11462|      0|        }
11463|    478|    }
11464|     98|}
_ZN7glslang13TParseContext28fixBlockUniformLayoutPackingERNS_10TQualifierEPNS_7TVectorINS_8TTypeLocEEES6_:
11472|     98|{
11473|     98|    assert(tmpTypeList == nullptr || originTypeList->size() == tmpTypeList->size());
11474|    576|    for (unsigned int member = 0; member < originTypeList->size(); ++member) {
  ------------------
  |  Branch (11474:35): [True: 478, False: 98]
  ------------------
11475|    478|        if (qualifier.layoutPacking != ElpNone) {
  ------------------
  |  Branch (11475:13): [True: 0, False: 478]
  ------------------
11476|      0|            if (tmpTypeList == nullptr) {
  ------------------
  |  Branch (11476:17): [True: 0, False: 0]
  ------------------
11477|      0|                if ((*originTypeList)[member].type->getQualifier().layoutPacking == ElpNone &&
  ------------------
  |  Branch (11477:21): [True: 0, False: 0]
  ------------------
11478|      0|                    !(*originTypeList)[member].type->isScalarOrVector()) {
  ------------------
  |  Branch (11478:21): [True: 0, False: 0]
  ------------------
11479|      0|                    (*originTypeList)[member].type->getQualifier().layoutPacking = qualifier.layoutPacking;
11480|      0|                }
11481|      0|            } else {
11482|      0|                if ((*tmpTypeList)[member].type->getQualifier().layoutPacking == ElpNone &&
  ------------------
  |  Branch (11482:21): [True: 0, False: 0]
  ------------------
11483|      0|                    !(*tmpTypeList)[member].type->isScalarOrVector()) {
  ------------------
  |  Branch (11483:21): [True: 0, False: 0]
  ------------------
11484|      0|                    (*tmpTypeList)[member].type->getQualifier().layoutPacking = qualifier.layoutPacking;
11485|      0|                }
11486|      0|            }
11487|      0|        }
11488|       |
11489|    478|        if ((*originTypeList)[member].type->getBasicType() == EbtStruct) {
  ------------------
  |  Branch (11489:13): [True: 0, False: 478]
  ------------------
11490|       |            // Deep copy the type in pool.
11491|       |            // Because, struct use in different block may have different layout qualifier.
11492|       |            // We have to new a object to distinguish between them.
11493|      0|            const TType* tmpType = tmpTypeList == nullptr ?
  ------------------
  |  Branch (11493:36): [True: 0, False: 0]
  ------------------
11494|      0|                (*originTypeList)[member].type->clone() : (*tmpTypeList)[member].type;
11495|       |
11496|      0|            fixBlockUniformLayoutPacking(qualifier, (*originTypeList)[member].type->getWritableStruct(),
11497|      0|                                         tmpType->getWritableStruct());
11498|       |
11499|      0|            const TTypeList* structure = recordStructCopy(packingFixRecord, (*originTypeList)[member].type, tmpType);
11500|       |
11501|      0|            if (tmpTypeList == nullptr) {
  ------------------
  |  Branch (11501:17): [True: 0, False: 0]
  ------------------
11502|      0|                (*originTypeList)[member].type->setStruct(const_cast<TTypeList*>(structure));
11503|      0|            }
11504|      0|            if (tmpTypeList != nullptr) {
  ------------------
  |  Branch (11504:17): [True: 0, False: 0]
  ------------------
11505|      0|                (*tmpTypeList)[member].type->setStruct(const_cast<TTypeList*>(structure));
11506|      0|            }
11507|      0|        }
11508|    478|    }
11509|     98|}
_ZN7glslang13TParseContext14invariantCheckERKNS_10TSourceLocERKNS_10TQualifierE:
11598|  62.0k|{
11599|  62.0k|    if (! qualifier.invariant)
  ------------------
  |  Branch (11599:9): [True: 62.0k, False: 0]
  ------------------
11600|  62.0k|        return;
11601|       |
11602|      0|    bool pipeOut = qualifier.isPipeOutput();
11603|      0|    bool pipeIn = qualifier.isPipeInput();
11604|      0|    if ((version >= 300 && isEsProfile()) || (!isEsProfile() && version >= 420)) {
  ------------------
  |  Branch (11604:10): [True: 0, False: 0]
  |  Branch (11604:28): [True: 0, False: 0]
  |  Branch (11604:47): [True: 0, False: 0]
  |  Branch (11604:65): [True: 0, False: 0]
  ------------------
11605|      0|        if (! pipeOut)
  ------------------
  |  Branch (11605:13): [True: 0, False: 0]
  ------------------
11606|      0|            error(loc, "can only apply to an output", "invariant", "");
11607|      0|    } else {
11608|      0|        if ((language == EShLangVertex && pipeIn) || (! pipeOut && ! pipeIn))
  ------------------
  |  Branch (11608:14): [True: 0, False: 0]
  |  Branch (11608:43): [True: 0, False: 0]
  |  Branch (11608:55): [True: 0, False: 0]
  |  Branch (11608:68): [True: 0, False: 0]
  ------------------
11609|      0|            error(loc, "can only apply to an output, or to an input in a non-vertex stage\n", "invariant", "");
11610|      0|    }
11611|      0|}
ParseHelper.cpp:_ZN7glslangL27storageCanHaveLayoutInBlockENS_17TStorageQualifierE:
 8227|    362|{
 8228|    362|    switch (storage) {
 8229|    264|    case EvqUniform:
  ------------------
  |  Branch (8229:5): [True: 264, False: 98]
  ------------------
 8230|    264|    case EvqBuffer:
  ------------------
  |  Branch (8230:5): [True: 0, False: 362]
  ------------------
 8231|    264|    case EvqShared:
  ------------------
  |  Branch (8231:5): [True: 0, False: 362]
  ------------------
 8232|    264|    case EvqSamplerHeap:
  ------------------
  |  Branch (8232:5): [True: 0, False: 362]
  ------------------
 8233|    264|    case EvqResourceHeap:
  ------------------
  |  Branch (8233:5): [True: 0, False: 362]
  ------------------
 8234|    264|        return true;
 8235|     98|    default:
  ------------------
  |  Branch (8235:5): [True: 98, False: 264]
  ------------------
 8236|     98|        return false;
 8237|    362|    }
 8238|    362|}
ParseHelper.cpp:_ZN7glslangL30isResourceHeapBufferTypeMemberERKNS_10TQualifierES2_:
10776|    956|{
10777|    956|    return blockQualifier.storage == EvqResourceHeap && memberQualifier.isBufferType();
  ------------------
  |  Branch (10777:12): [True: 0, False: 956]
  |  Branch (10777:57): [True: 0, False: 0]
  ------------------
10778|    956|}

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

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

ShInitialize:
 1336|    166|{
 1337|    166|#ifndef DISABLE_THREAD_SUPPORT
 1338|    166|    const std::lock_guard<std::mutex> lock(init_lock);
 1339|    166|#endif
 1340|    166|    ++NumberOfClients;
 1341|       |
 1342|    166|    if (PerProcessGPA == nullptr)
  ------------------
  |  Branch (1342:9): [True: 166, False: 0]
  ------------------
 1343|    166|        PerProcessGPA = new TPoolAllocator();
 1344|       |
 1345|    166|    return 1;
 1346|    166|}
ShFinalize:
 1393|    166|{
 1394|    166|#ifndef DISABLE_THREAD_SUPPORT
 1395|    166|    const std::lock_guard<std::mutex> lock(init_lock);
 1396|    166|#endif
 1397|    166|    --NumberOfClients;
 1398|    166|    assert(NumberOfClients >= 0);
 1399|    166|    if (NumberOfClients > 0)
  ------------------
  |  Branch (1399:9): [True: 0, False: 166]
  ------------------
 1400|      0|        return 1;
 1401|       |
 1402|  2.98k|    for (int version = 0; version < VersionCount; ++version) {
  ------------------
  |  Branch (1402:27): [True: 2.82k, False: 166]
  ------------------
 1403|  14.1k|        for (int spvVersion = 0; spvVersion < SpvVersionCount; ++spvVersion) {
  ------------------
  |  Branch (1403:34): [True: 11.2k, False: 2.82k]
  ------------------
 1404|  56.4k|            for (int p = 0; p < ProfileCount; ++p) {
  ------------------
  |  Branch (1404:29): [True: 45.1k, False: 11.2k]
  ------------------
 1405|   135k|                for (int source = 0; source < SourceCount; ++source) {
  ------------------
  |  Branch (1405:38): [True: 90.3k, False: 45.1k]
  ------------------
 1406|  1.35M|                    for (int stage = 0; stage < EShLangCount; ++stage) {
  ------------------
  |  Branch (1406:41): [True: 1.26M, False: 90.3k]
  ------------------
 1407|  1.26M|                        delete SharedSymbolTables[version][spvVersion][p][source][stage];
 1408|  1.26M|                        SharedSymbolTables[version][spvVersion][p][source][stage] = nullptr;
 1409|  1.26M|                    }
 1410|  90.3k|                }
 1411|  45.1k|            }
 1412|  11.2k|        }
 1413|  2.82k|    }
 1414|       |
 1415|  2.98k|    for (int version = 0; version < VersionCount; ++version) {
  ------------------
  |  Branch (1415:27): [True: 2.82k, False: 166]
  ------------------
 1416|  14.1k|        for (int spvVersion = 0; spvVersion < SpvVersionCount; ++spvVersion) {
  ------------------
  |  Branch (1416:34): [True: 11.2k, False: 2.82k]
  ------------------
 1417|  56.4k|            for (int p = 0; p < ProfileCount; ++p) {
  ------------------
  |  Branch (1417:29): [True: 45.1k, False: 11.2k]
  ------------------
 1418|   135k|                for (int source = 0; source < SourceCount; ++source) {
  ------------------
  |  Branch (1418:38): [True: 90.3k, False: 45.1k]
  ------------------
 1419|   270k|                    for (int pc = 0; pc < EPcCount; ++pc) {
  ------------------
  |  Branch (1419:38): [True: 180k, False: 90.3k]
  ------------------
 1420|   180k|                        delete CommonSymbolTable[version][spvVersion][p][source][pc];
 1421|   180k|                        CommonSymbolTable[version][spvVersion][p][source][pc] = nullptr;
 1422|   180k|                    }
 1423|  90.3k|                }
 1424|  45.1k|            }
 1425|  11.2k|        }
 1426|  2.82k|    }
 1427|       |
 1428|    166|    if (PerProcessGPA != nullptr) {
  ------------------
  |  Branch (1428:9): [True: 166, False: 0]
  ------------------
 1429|    166|        delete PerProcessGPA;
 1430|    166|        PerProcessGPA = nullptr;
 1431|    166|    }
 1432|       |
 1433|    166|    return 1;
 1434|    166|}
_ZN7glslang17InitializeProcessEv:
 1722|    166|{
 1723|    166|    return ShInitialize() != 0;
 1724|    166|}
_ZN7glslang15FinalizeProcessEv:
 1727|    166|{
 1728|    166|    ShFinalize();
 1729|    166|}
_ZN7glslang7TShaderC2E11EShLanguage:
 1742|    288|    : stage(s), lengths(nullptr), stringNames(nullptr), preamble(""), overrideVersion(0)
 1743|    288|{
 1744|    288|    pool = new TPoolAllocator;
 1745|    288|    infoSink = new TInfoSink;
 1746|    288|    compiler = new TDeferredCompiler(stage, *infoSink);
 1747|    288|    intermediate = new TIntermediate(s);
 1748|       |
 1749|       |    // clear environment (avoid constructors in them for use in a C interface)
 1750|    288|    environment.input.languageFamily = EShSourceNone;
 1751|    288|    environment.input.dialect = EShClientNone;
 1752|    288|    environment.input.vulkanRulesRelaxed = false;
 1753|    288|    environment.client.client = EShClientNone;
 1754|    288|    environment.target.language = EShTargetNone;
 1755|    288|    environment.target.hlslFunctionality1 = false;
 1756|    288|}
_ZN7glslang7TShaderD2Ev:
 1759|    288|{
 1760|    288|    delete infoSink;
 1761|    288|    delete compiler;
 1762|    288|    delete intermediate;
 1763|    288|    delete pool;
 1764|    288|}
_ZN7glslang7TShader29setStringsWithLengthsAndNamesEPKPKcPKiS4_i:
 1782|    288|{
 1783|    288|    strings = s;
 1784|    288|    numStrings = n;
 1785|    288|    lengths = l;
 1786|    288|    stringNames = names;
 1787|    288|}
_ZN7glslang7TShader13setEntryPointEPKc:
 1790|     83|{
 1791|     83|    intermediate->setEntryPointName(entryPoint);
 1792|     83|}
_ZN7glslang7TShader10setInvertYEb:
 1817|    288|void TShader::setInvertY(bool invert)                   { intermediate->setInvertY(invert); }
_ZN7glslang7TShader17setNanMinMaxClampEb:
 1820|    288|void TShader::setNanMinMaxClamp(bool useNonNan)         { intermediate->setNanMinMaxClamp(useNonNan); }
_ZN7glslang7TShader15setShiftBindingENS_13TResourceTypeEj:
 1824|    498|void TShader::setShiftBinding(TResourceType res, unsigned int base) {
 1825|    498|    intermediate->setShiftBinding(res, base);
 1826|    498|}
_ZN7glslang7TShader22setShiftSamplerBindingEj:
 1834|     83|void TShader::setShiftSamplerBinding(unsigned int base) { setShiftBinding(EResSampler, base); }
_ZN7glslang7TShader22setShiftTextureBindingEj:
 1836|     83|void TShader::setShiftTextureBinding(unsigned int base) { setShiftBinding(EResTexture, base); }
_ZN7glslang7TShader20setShiftImageBindingEj:
 1838|     83|void TShader::setShiftImageBinding(unsigned int base)   { setShiftBinding(EResImage, base); }
_ZN7glslang7TShader18setShiftUboBindingEj:
 1840|     83|void TShader::setShiftUboBinding(unsigned int base)     { setShiftBinding(EResUbo, base); }
_ZN7glslang7TShader18setShiftUavBindingEj:
 1844|     83|void TShader::setShiftUavBinding(unsigned int base)     { setShiftBinding(EResUav, base); }
_ZN7glslang7TShader19setShiftSsboBindingEj:
 1846|     83|void TShader::setShiftSsboBinding(unsigned int base)    { setShiftBinding(EResSsbo, base); }
_ZN7glslang7TShader18setAutoMapBindingsEb:
 1848|     83|void TShader::setAutoMapBindings(bool map)              { intermediate->setAutoMapBindings(map); }
_ZN7glslang7TShader19setAutoMapLocationsEb:
 1852|     83|void TShader::setAutoMapLocations(bool map)             { intermediate->setAutoMapLocations(map); }
_ZN7glslang7TShader21setResourceSetBindingERKNSt3__16vectorINS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS6_IS8_EEEE:
 1863|     83|void TShader::setResourceSetBinding(const std::vector<std::string>& base)   { intermediate->setResourceSetBinding(base); }
_ZN7glslang7TShader16setHlslIoMappingEb:
 1880|     83|void TShader::setHlslIoMapping(bool hlslIoMap)          { intermediate->setHlslIoMapping(hlslIoMap); }
_ZN7glslang7TShader5parseEPK16TBuiltInResourcei8EProfilebb11EShMessagesRNS0_8IncluderE:
 1891|     83|{
 1892|     83|    SetThreadPoolAllocator(pool);
 1893|       |
 1894|     83|    if (! preamble)
  ------------------
  |  Branch (1894:9): [True: 0, False: 83]
  ------------------
 1895|      0|        preamble = "";
 1896|       |
 1897|     83|    return CompileDeferred(compiler, strings, numStrings, lengths, stringNames,
 1898|     83|                           preamble, EShOptNone, builtInResources, defaultVersion,
 1899|     83|                           defaultProfile, forceDefaultVersionAndProfile, overrideVersion,
 1900|     83|                           forwardCompatible, messages, *intermediate, includer, sourceEntryPointName,
 1901|     83|                           &environment, compileOnly);
 1902|     83|}
_ZN7glslang7TShader10preprocessEPK16TBuiltInResourcei8EProfilebb11EShMessagesPNSt3__112basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEERNS0_8IncluderE:
 1915|    205|{
 1916|    205|    SetThreadPoolAllocator(pool);
 1917|       |
 1918|    205|    if (! preamble)
  ------------------
  |  Branch (1918:9): [True: 0, False: 205]
  ------------------
 1919|      0|        preamble = "";
 1920|       |
 1921|    205|    return PreprocessDeferred(compiler, strings, numStrings, lengths, stringNames, preamble,
 1922|    205|                              EShOptNone, builtInResources, defaultVersion,
 1923|    205|                              defaultProfile, forceDefaultVersionAndProfile, overrideVersion,
 1924|    205|                              forwardCompatible, message, includer, *intermediate, output_string,
 1925|    205|                              &environment);
 1926|    205|}
_ZN7glslang7TShader10getInfoLogEv:
 1929|    288|{
 1930|    288|    return infoSink->info.c_str();
 1931|    288|}
ShaderLang.cpp:_ZN12_GLOBAL__N_115CompileDeferredEP9TCompilerPKPKciPKiS5_S3_20EShOptimizationLevelPK16TBuiltInResourcei8EProfilebib11EShMessagesRN7glslang13TIntermediateERNSE_7TShader8IncluderENSt3__112basic_stringIcNSK_11char_traitsIcEENSK_9allocatorIcEEEEPNSE_12TEnvironmentEb:
 1321|     83|{
 1322|     83|    DoFullParse parser;
 1323|     83|    return ProcessDeferred(compiler, shaderStrings, numStrings, inputLengths, stringNames,
 1324|     83|                           preamble, optLevel, resources, defaultVersion,
 1325|     83|                           defaultProfile, forceDefaultVersionAndProfile, overrideVersion,
 1326|     83|                           forwardCompatible, messages, intermediate, parser,
 1327|     83|                           true, includer, sourceEntryPointName, environment, compileOnly);
 1328|     83|}
ShaderLang.cpp:_ZN12_GLOBAL__N_115ProcessDeferredINS_11DoFullParseEEEbP9TCompilerPKPKciPKiS7_S5_20EShOptimizationLevelPK16TBuiltInResourcei8EProfilebib11EShMessagesRN7glslang13TIntermediateERT_bRNSG_7TShader8IncluderENSt3__112basic_stringIcNSO_11char_traitsIcEENSO_9allocatorIcEEEEPKNSG_12TEnvironmentEb:
  822|     83|{
  823|       |    // This must be undone (.pop()) by the caller, after it finishes consuming the created tree.
  824|     83|    GetThreadPoolAllocator().push();
  825|       |
  826|     83|    if (numStrings == 0)
  ------------------
  |  Branch (826:9): [True: 0, False: 83]
  ------------------
  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|     83|    const int numPre = 2;
  839|     83|    const int numPost = requireNonempty? 1 : 0;
  ------------------
  |  Branch (839:25): [True: 83, False: 0]
  ------------------
  840|     83|    const int numTotal = numPre + numStrings + numPost;
  841|     83|    std::unique_ptr<size_t[]> lengths(new size_t[numTotal]);
  842|     83|    std::unique_ptr<const char*[]> strings(new const char*[numTotal]);
  843|     83|    std::unique_ptr<const char*[]> names(new const char*[numTotal]);
  844|    166|    for (int s = 0; s < numStrings; ++s) {
  ------------------
  |  Branch (844:21): [True: 83, False: 83]
  ------------------
  845|     83|        strings[s + numPre] = shaderStrings[s];
  846|     83|        if (inputLengths == nullptr || inputLengths[s] < 0)
  ------------------
  |  Branch (846:13): [True: 0, False: 83]
  |  Branch (846:40): [True: 0, False: 83]
  ------------------
  847|      0|            lengths[s + numPre] = strlen(shaderStrings[s]);
  848|     83|        else
  849|     83|            lengths[s + numPre] = inputLengths[s];
  850|     83|    }
  851|     83|    if (stringNames != nullptr) {
  ------------------
  |  Branch (851:9): [True: 83, False: 0]
  ------------------
  852|    166|        for (int s = 0; s < numStrings; ++s)
  ------------------
  |  Branch (852:25): [True: 83, False: 83]
  ------------------
  853|     83|            names[s + numPre] = stringNames[s];
  854|     83|    } 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|     83|    EShSource sourceGuess = (messages & EShMsgReadHlsl) != 0 ? EShSourceHlsl : EShSourceGlsl;
  ------------------
  |  Branch (861:29): [True: 60, False: 23]
  ------------------
  862|     83|    SpvVersion spvVersion;
  863|     83|    EShLanguage stage = compiler->getLanguage();
  864|     83|    TranslateEnvironment(environment, messages, sourceGuess, stage, spvVersion);
  865|     83|#ifdef ENABLE_HLSL
  866|     83|    EShSource source = sourceGuess;
  867|     83|    if (environment != nullptr && environment->target.hlslFunctionality1)
  ------------------
  |  Branch (867:9): [True: 83, False: 0]
  |  Branch (867:35): [True: 44, False: 39]
  ------------------
  868|     44|        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|     83|    glslang::TInputScanner userInput(numStrings, &strings[numPre], &lengths[numPre]);
  876|     83|    int version = 0;
  877|     83|    EProfile profile = ENoProfile;
  878|     83|    bool versionNotFirstToken = false;
  879|     83|    bool versionNotFirst = (source == EShSourceHlsl)
  ------------------
  |  Branch (879:28): [True: 60, False: 23]
  ------------------
  880|     83|                                ? true
  881|     83|                                : userInput.scanVersion(version, profile, versionNotFirstToken);
  882|     83|    bool versionNotFound = version == 0;
  883|     83|    if (forceDefaultVersionAndProfile && source == EShSourceGlsl) {
  ------------------
  |  Branch (883:9): [True: 0, False: 83]
  |  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|     83|    if (source == EShSourceGlsl && overrideVersion != 0) {
  ------------------
  |  Branch (900:9): [True: 23, False: 60]
  |  Branch (900:36): [True: 0, False: 23]
  ------------------
  901|      0|        version = overrideVersion;
  902|      0|    }
  903|       |
  904|     83|    bool goodVersion = DeduceVersionProfile(compiler->infoSink, stage,
  905|     83|                                            versionNotFirst, defaultVersion, source, version, profile, spvVersion);
  906|     83|    bool versionWillBeError = (versionNotFound || (profile == EEsProfile && version >= 300 && versionNotFirst));
  ------------------
  |  Branch (906:32): [True: 77, False: 6]
  |  Branch (906:52): [True: 0, False: 6]
  |  Branch (906:77): [True: 0, False: 0]
  |  Branch (906:95): [True: 0, False: 0]
  ------------------
  907|     83|    bool warnVersionNotFirst = false;
  908|     83|    if (! versionWillBeError && versionNotFirstToken) {
  ------------------
  |  Branch (908:9): [True: 6, False: 77]
  |  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|     83|    intermediate.setSource(source);
  916|     83|    intermediate.setVersion(version);
  917|     83|    intermediate.setProfile(profile);
  918|     83|    intermediate.setSpv(spvVersion);
  919|     83|    RecordProcesses(intermediate, messages, sourceEntryPointName);
  920|     83|    if (spvVersion.vulkan > 0)
  ------------------
  |  Branch (920:9): [True: 83, False: 0]
  ------------------
  921|     83|        intermediate.setOriginUpperLeft();
  922|     83|#ifdef ENABLE_HLSL
  923|     83|    if ((messages & EShMsgHlslOffsets) || source == EShSourceHlsl)
  ------------------
  |  Branch (923:9): [True: 50, False: 33]
  |  Branch (923:43): [True: 14, False: 19]
  ------------------
  924|     64|        intermediate.setHlslOffsets();
  925|     83|#endif
  926|     83|    if (messages & EShMsgDebugInfo) {
  ------------------
  |  Branch (926:9): [True: 0, False: 83]
  ------------------
  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|     83|    if (!SetupBuiltinSymbolTable(version, profile, spvVersion, source)) {
  ------------------
  |  Branch (934:9): [True: 8, False: 75]
  ------------------
  935|      8|        return false;
  936|      8|    }
  937|       |
  938|     75|    TSymbolTable* cachedTable = SharedSymbolTables[MapVersionToIndex(version)]
  939|     75|                                                  [MapSpvVersionToIndex(spvVersion)]
  940|     75|                                                  [MapProfileToIndex(profile)]
  941|     75|                                                  [MapSourceToIndex(source)]
  942|     75|                                                  [stage];
  943|       |
  944|       |    // Dynamically allocate the symbol table so we can control when it is deallocated WRT the pool.
  945|     75|    std::unique_ptr<TSymbolTable> symbolTable(new TSymbolTable);
  946|     75|    if (cachedTable)
  ------------------
  |  Branch (946:9): [True: 75, False: 0]
  ------------------
  947|     75|        symbolTable->adoptLevels(*cachedTable);
  948|       |
  949|     75|    if (intermediate.getUniqueId() != 0)
  ------------------
  |  Branch (949:9): [True: 0, False: 75]
  ------------------
  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|     75|    if (! AddContextSpecificSymbols(resources, compiler->infoSink, *symbolTable, version, profile, spvVersion,
  ------------------
  |  Branch (954:9): [True: 0, False: 75]
  ------------------
  955|     75|                                    stage, source)) {
  956|      0|        return false;
  957|      0|    }
  958|       |
  959|     75|    if (messages & EShMsgBuiltinSymbolTable)
  ------------------
  |  Branch (959:9): [True: 0, False: 75]
  ------------------
  960|      0|        DumpBuiltinSymbolTable(compiler->infoSink, *symbolTable);
  961|       |
  962|       |    //
  963|       |    // Now we can process the full shader under proper symbols and rules.
  964|       |    //
  965|       |
  966|     75|    std::unique_ptr<TParseContextBase> parseContext(CreateParseContext(*symbolTable, intermediate, version, profile, source,
  967|     75|                                                    stage, compiler->infoSink,
  968|     75|                                                    spvVersion, forwardCompatible, messages, false, sourceEntryPointName));
  969|     75|    parseContext->compileOnly = compileOnly;
  970|     75|    TPpContext ppContext(*parseContext, names[numPre] ? names[numPre] : "", includer);
  ------------------
  |  Branch (970:41): [True: 75, False: 0]
  ------------------
  971|       |
  972|       |    // only GLSL (bison triggered, really) needs an externally set scan context
  973|     75|    glslang::TScanContext scanContext(*parseContext);
  974|     75|    if (source == EShSourceGlsl)
  ------------------
  |  Branch (974:9): [True: 15, False: 60]
  ------------------
  975|     15|        parseContext->setScanContext(&scanContext);
  976|       |
  977|     75|    parseContext->setPpContext(&ppContext);
  978|     75|    parseContext->setLimits(*resources);
  979|     75|    if (! goodVersion)
  ------------------
  |  Branch (979:9): [True: 9, False: 66]
  ------------------
  980|      9|        parseContext->addError();
  981|     75|    if (warnVersionNotFirst) {
  ------------------
  |  Branch (981:9): [True: 0, False: 75]
  ------------------
  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|     75|    parseContext->initializeExtensionBehavior();
  988|       |
  989|       |    // Fill in the strings as outlined above.
  990|     75|    std::string preamble;
  991|     75|    parseContext->getPreamble(preamble);
  992|     75|    strings[0] = preamble.c_str();
  993|     75|    lengths[0] = strlen(strings[0]);
  994|     75|    names[0] = nullptr;
  995|     75|    strings[1] = customPreamble;
  996|     75|    lengths[1] = strlen(strings[1]);
  997|     75|    names[1] = nullptr;
  998|     75|    assert(2 == numPre);
  999|     75|    if (requireNonempty) {
  ------------------
  |  Branch (999:9): [True: 75, False: 0]
  ------------------
 1000|     75|        const int postIndex = numStrings + numPre;
 1001|     75|        strings[postIndex] = "\n int;";
 1002|     75|        lengths[postIndex] = strlen(strings[numStrings + numPre]);
 1003|     75|        names[postIndex] = nullptr;
 1004|     75|    }
 1005|     75|    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|     75|    symbolTable->push();
 1009|       |
 1010|     75|    bool success = processingContext(*parseContext, ppContext, fullInput,
 1011|     75|                                     versionWillBeError, *symbolTable,
 1012|     75|                                     intermediate, optLevel, messages);
 1013|     75|    intermediate.setUniqueId(symbolTable->getMaxSymbolId());
 1014|     75|    return success;
 1015|     75|}
ShaderLang.cpp:_ZN12_GLOBAL__N_120TranslateEnvironmentEPKN7glslang12TEnvironmentER11EShMessagesRNS0_9EShSourceER11EShLanguageRNS0_10SpvVersionE:
  702|    288|{
  703|       |    // Set up environmental defaults, first ignoring 'environment'.
  704|    288|    if (messages & EShMsgSpvRules)
  ------------------
  |  Branch (704:9): [True: 288, False: 0]
  ------------------
  705|    288|        spvVersion.spv = EShTargetSpv_1_0;
  706|    288|    if (messages & EShMsgVulkanRules) {
  ------------------
  |  Branch (706:9): [True: 288, False: 0]
  ------------------
  707|    288|        spvVersion.vulkan = EShTargetVulkan_1_0;
  708|    288|        spvVersion.vulkanGlsl = 100;
  709|    288|    } 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|    288|    if (environment != nullptr) {
  ------------------
  |  Branch (715:9): [True: 288, False: 0]
  ------------------
  716|       |        // input language
  717|    288|        if (environment->input.languageFamily != EShSourceNone) {
  ------------------
  |  Branch (717:13): [True: 0, False: 288]
  ------------------
  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|    288|        switch (environment->client.client) {
  752|    288|        case EShClientVulkan:
  ------------------
  |  Branch (752:9): [True: 288, False: 0]
  ------------------
  753|    288|            spvVersion.vulkan = environment->client.version;
  754|    288|            break;
  755|      0|        default:
  ------------------
  |  Branch (755:9): [True: 0, False: 288]
  ------------------
  756|      0|            break;
  757|    288|        }
  758|       |
  759|       |        // generated code
  760|    288|        switch (environment->target.language) {
  761|     83|        case EshTargetSpv:
  ------------------
  |  Branch (761:9): [True: 83, False: 205]
  ------------------
  762|     83|            spvVersion.spv = environment->target.version;
  763|     83|            break;
  764|    205|        default:
  ------------------
  |  Branch (764:9): [True: 205, False: 83]
  ------------------
  765|    205|            break;
  766|    288|        }
  767|    288|    }
  768|    288|}
ShaderLang.cpp:_ZN12_GLOBAL__N_120DeduceVersionProfileER9TInfoSink11EShLanguagebiN7glslang9EShSourceERiR8EProfileRKNS3_10SpvVersionE:
  512|    288|{
  513|    288|    const int FirstProfileVersion = 150;
  514|    288|    bool correct = true;
  515|       |
  516|    288|    if (source == EShSourceHlsl) {
  ------------------
  |  Branch (516:9): [True: 158, False: 130]
  ------------------
  517|    158|        version = 500;          // shader model; currently a characteristic of glslang, not the input
  518|    158|        profile = ECoreProfile; // allow doubles in prototype parsing
  519|    158|        return correct;
  520|    158|    }
  521|       |
  522|       |    // Get a version...
  523|    130|    if (version == 0) {
  ------------------
  |  Branch (523:9): [True: 119, False: 11]
  ------------------
  524|    119|        version = defaultVersion;
  525|       |        // infoSink.info.message(EPrefixWarning, "#version: statement missing; use #version on first line of shader");
  526|    119|    }
  527|       |
  528|       |    // Get a good profile...
  529|    130|    if (profile == ENoProfile) {
  ------------------
  |  Branch (529:9): [True: 122, False: 8]
  ------------------
  530|    122|        if (version == 300 || version == 310 || version == 320) {
  ------------------
  |  Branch (530:13): [True: 0, False: 122]
  |  Branch (530:31): [True: 0, False: 122]
  |  Branch (530:49): [True: 0, False: 122]
  ------------------
  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|    122|        } else if (version == 100)
  ------------------
  |  Branch (534:20): [True: 0, False: 122]
  ------------------
  535|      0|            profile = EEsProfile;
  536|    122|        else if (version >= FirstProfileVersion)
  ------------------
  |  Branch (536:18): [True: 3, False: 119]
  ------------------
  537|      3|            profile = ECoreProfile;
  538|    119|        else
  539|    119|            profile = ENoProfile;
  540|    122|    } 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|    130|    switch (version) {
  570|       |    // ES versions
  571|      0|    case 100: break;
  ------------------
  |  Branch (571:5): [True: 0, False: 130]
  ------------------
  572|      0|    case 300: break;
  ------------------
  |  Branch (572:5): [True: 0, False: 130]
  ------------------
  573|      0|    case 310: break;
  ------------------
  |  Branch (573:5): [True: 0, False: 130]
  ------------------
  574|      0|    case 320: break;
  ------------------
  |  Branch (574:5): [True: 0, False: 130]
  ------------------
  575|       |
  576|       |    // desktop versions
  577|    119|    case 110: break;
  ------------------
  |  Branch (577:5): [True: 119, False: 11]
  ------------------
  578|      0|    case 120: break;
  ------------------
  |  Branch (578:5): [True: 0, False: 130]
  ------------------
  579|      0|    case 130: break;
  ------------------
  |  Branch (579:5): [True: 0, False: 130]
  ------------------
  580|      0|    case 140: break;
  ------------------
  |  Branch (580:5): [True: 0, False: 130]
  ------------------
  581|      0|    case 150: break;
  ------------------
  |  Branch (581:5): [True: 0, False: 130]
  ------------------
  582|      0|    case 330: break;
  ------------------
  |  Branch (582:5): [True: 0, False: 130]
  ------------------
  583|      0|    case 400: break;
  ------------------
  |  Branch (583:5): [True: 0, False: 130]
  ------------------
  584|      0|    case 410: break;
  ------------------
  |  Branch (584:5): [True: 0, False: 130]
  ------------------
  585|      0|    case 420: break;
  ------------------
  |  Branch (585:5): [True: 0, False: 130]
  ------------------
  586|      0|    case 430: break;
  ------------------
  |  Branch (586:5): [True: 0, False: 130]
  ------------------
  587|      0|    case 440: break;
  ------------------
  |  Branch (587:5): [True: 0, False: 130]
  ------------------
  588|     11|    case 450: break;
  ------------------
  |  Branch (588:5): [True: 11, False: 119]
  ------------------
  589|      0|    case 460: break;
  ------------------
  |  Branch (589:5): [True: 0, False: 130]
  ------------------
  590|       |
  591|       |    // unknown version
  592|      0|    default:
  ------------------
  |  Branch (592:5): [True: 0, False: 130]
  ------------------
  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|    130|    }
  603|       |
  604|       |    // Correct for stage type...
  605|    130|    switch (stage) {
  606|      1|    case EShLangGeometry:
  ------------------
  |  Branch (606:5): [True: 1, False: 129]
  ------------------
  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|      7|    case EShLangTessControl:
  ------------------
  |  Branch (616:5): [True: 7, False: 123]
  ------------------
  617|      9|    case EShLangTessEvaluation:
  ------------------
  |  Branch (617:5): [True: 2, False: 128]
  ------------------
  618|      9|        if ((profile == EEsProfile && version < 310) ||
  ------------------
  |  Branch (618:14): [True: 0, False: 9]
  |  Branch (618:39): [True: 0, False: 0]
  ------------------
  619|      9|            (profile != EEsProfile && version < 150)) {
  ------------------
  |  Branch (619:14): [True: 9, False: 0]
  |  Branch (619:39): [True: 3, False: 6]
  ------------------
  620|      3|            correct = false;
  621|      3|            infoSink.info.message(EPrefixError, "#version: tessellation shaders require es profile with version 310 or non-es profile with version 150 or above");
  622|      3|            version = (profile == EEsProfile) ? 310 : 400; // 150 supports the extension, correction is to 400 which does not
  ------------------
  |  Branch (622:23): [True: 0, False: 3]
  ------------------
  623|      3|            if (profile == EEsProfile || profile == ENoProfile)
  ------------------
  |  Branch (623:17): [True: 0, False: 3]
  |  Branch (623:42): [True: 3, False: 0]
  ------------------
  624|      3|                profile = ECoreProfile;
  625|      3|        }
  626|      9|        break;
  627|      1|    case EShLangCompute:
  ------------------
  |  Branch (627:5): [True: 1, False: 129]
  ------------------
  628|      1|        if ((profile == EEsProfile && version < 310) ||
  ------------------
  |  Branch (628:14): [True: 0, False: 1]
  |  Branch (628:39): [True: 0, False: 0]
  ------------------
  629|      1|            (profile != EEsProfile && version < 420)) {
  ------------------
  |  Branch (629:14): [True: 1, False: 0]
  |  Branch (629:39): [True: 1, False: 0]
  ------------------
  630|      1|            correct = false;
  631|      1|            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|      1|            version = profile == EEsProfile ? 310 : 420;
  ------------------
  |  Branch (632:23): [True: 0, False: 1]
  ------------------
  633|      1|        }
  634|      1|        break;
  635|      0|    case EShLangRayGen:
  ------------------
  |  Branch (635:5): [True: 0, False: 130]
  ------------------
  636|      0|    case EShLangIntersect:
  ------------------
  |  Branch (636:5): [True: 0, False: 130]
  ------------------
  637|      1|    case EShLangAnyHit:
  ------------------
  |  Branch (637:5): [True: 1, False: 129]
  ------------------
  638|      1|    case EShLangClosestHit:
  ------------------
  |  Branch (638:5): [True: 0, False: 130]
  ------------------
  639|      1|    case EShLangMiss:
  ------------------
  |  Branch (639:5): [True: 0, False: 130]
  ------------------
  640|      1|    case EShLangCallable:
  ------------------
  |  Branch (640:5): [True: 0, False: 130]
  ------------------
  641|      1|        if (profile == EEsProfile || version < 460) {
  ------------------
  |  Branch (641:13): [True: 0, False: 1]
  |  Branch (641:38): [True: 1, False: 0]
  ------------------
  642|      1|            correct = false;
  643|      1|            infoSink.info.message(EPrefixError, "#version: ray tracing shaders require non-es profile with version 460 or above");
  644|      1|            version = 460;
  645|      1|        }
  646|      1|        break;
  647|      6|    case EShLangMesh:
  ------------------
  |  Branch (647:5): [True: 6, False: 124]
  ------------------
  648|      6|    case EShLangTask:
  ------------------
  |  Branch (648:5): [True: 0, False: 130]
  ------------------
  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|    112|    default:
  ------------------
  |  Branch (656:5): [True: 112, False: 18]
  ------------------
  657|    112|        break;
  658|    130|    }
  659|       |
  660|    130|    if (profile == EEsProfile && version >= 300 && versionNotFirst) {
  ------------------
  |  Branch (660:9): [True: 0, False: 130]
  |  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|    130|    if (spvVersion.spv != 0) {
  ------------------
  |  Branch (666:9): [True: 130, False: 0]
  ------------------
  667|    130|        switch (profile) {
  668|      0|        case EEsProfile:
  ------------------
  |  Branch (668:9): [True: 0, False: 130]
  ------------------
  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: 130]
  ------------------
  676|      0|            infoSink.info.message(EPrefixError, "#version: compilation for SPIR-V does not support the compatibility profile");
  677|      0|            break;
  678|    130|        default:
  ------------------
  |  Branch (678:9): [True: 130, False: 0]
  ------------------
  679|    130|            if (spvVersion.vulkan > 0 && version < 140) {
  ------------------
  |  Branch (679:17): [True: 130, False: 0]
  |  Branch (679:42): [True: 107, False: 23]
  ------------------
  680|    107|                correct = false;
  681|    107|                infoSink.info.message(EPrefixError, "#version: Desktop shaders for Vulkan SPIR-V require version 140 or higher");
  682|    107|                version = 140;
  683|    107|            }
  684|    130|            if (spvVersion.openGl >= 100 && version < 330) {
  ------------------
  |  Branch (684:17): [True: 0, False: 130]
  |  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|    130|            break;
  690|    130|        }
  691|    130|    }
  692|       |
  693|    130|    return correct;
  694|    130|}
ShaderLang.cpp:_ZN12_GLOBAL__N_115RecordProcessesERN7glslang13TIntermediateE11EShMessagesRKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEE:
  773|    288|{
  774|    288|    if ((messages & EShMsgRelaxedErrors) != 0)
  ------------------
  |  Branch (774:9): [True: 0, False: 288]
  ------------------
  775|      0|        intermediate.addProcess("relaxed-errors");
  776|    288|    if ((messages & EShMsgSuppressWarnings) != 0)
  ------------------
  |  Branch (776:9): [True: 0, False: 288]
  ------------------
  777|      0|        intermediate.addProcess("suppress-warnings");
  778|    288|    if ((messages & EShMsgKeepUncalled) != 0)
  ------------------
  |  Branch (778:9): [True: 0, False: 288]
  ------------------
  779|      0|        intermediate.addProcess("keep-uncalled");
  780|    288|    if ((messages & EShMsgRelaxSetBindingLimits) != 0)
  ------------------
  |  Branch (780:9): [True: 0, False: 288]
  ------------------
  781|      0|        intermediate.setRelaxSetBindingLimits(true);
  782|    288|    if (sourceEntryPointName.size() > 0) {
  ------------------
  |  Branch (782:9): [True: 0, False: 288]
  ------------------
  783|      0|        intermediate.addProcess("source-entrypoint");
  784|      0|        intermediate.addProcessArgument(sourceEntryPointName);
  785|      0|    }
  786|    288|}
ShaderLang.cpp:_ZN12_GLOBAL__N_123SetupBuiltinSymbolTableEi8EProfileRKN7glslang10SpvVersionENS1_9EShSourceE:
  427|    288|{
  428|    288|    TInfoSink infoSink;
  429|    288|    bool success;
  430|       |
  431|       |    // Make sure only one thread tries to do this at a time
  432|    288|#ifndef DISABLE_THREAD_SUPPORT
  433|    288|    const std::lock_guard<std::mutex> lock(init_lock);
  434|    288|#endif
  435|       |
  436|       |    // See if it's already been done for this version/profile combination
  437|    288|    int versionIndex = MapVersionToIndex(version);
  438|    288|    int spvVersionIndex = MapSpvVersionToIndex(spvVersion);
  439|    288|    int profileIndex = MapProfileToIndex(profile);
  440|    288|    int sourceIndex = MapSourceToIndex(source);
  441|    288|    if (CommonSymbolTable[versionIndex][spvVersionIndex][profileIndex][sourceIndex][EPcGeneral]) {
  ------------------
  |  Branch (441:9): [True: 92, False: 196]
  ------------------
  442|     92|        return true;
  443|     92|    }
  444|       |
  445|       |    // Switch to a new pool
  446|    196|    TPoolAllocator& previousAllocator = GetThreadPoolAllocator();
  447|    196|    TPoolAllocator* builtInPoolAllocator = new TPoolAllocator;
  448|    196|    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|    196|    TSymbolTable* commonTable[EPcCount];
  452|    196|    TSymbolTable* stageTables[EShLangCount];
  453|    588|    for (int precClass = 0; precClass < EPcCount; ++precClass)
  ------------------
  |  Branch (453:29): [True: 392, False: 196]
  ------------------
  454|    392|        commonTable[precClass] = new TSymbolTable;
  455|  2.94k|    for (int stage = 0; stage < EShLangCount; ++stage)
  ------------------
  |  Branch (455:25): [True: 2.74k, False: 196]
  ------------------
  456|  2.74k|        stageTables[stage] = new TSymbolTable;
  457|       |
  458|       |    // Generate the local symbol tables using the new pool
  459|    196|    if (!InitializeSymbolTables(infoSink, commonTable, stageTables, version, profile, spvVersion, source)) {
  ------------------
  |  Branch (459:9): [True: 8, False: 188]
  ------------------
  460|      8|        success = false;
  461|      8|        goto cleanup;
  462|      8|    }
  463|       |
  464|       |    // Switch to the process-global pool
  465|    188|    SetThreadPoolAllocator(PerProcessGPA);
  466|       |
  467|       |    // Copy the local symbol tables from the new pool to the global tables using the process-global pool
  468|    564|    for (int precClass = 0; precClass < EPcCount; ++precClass) {
  ------------------
  |  Branch (468:29): [True: 376, False: 188]
  ------------------
  469|    376|        if (! commonTable[precClass]->isEmpty()) {
  ------------------
  |  Branch (469:13): [True: 188, False: 188]
  ------------------
  470|    188|            CommonSymbolTable[versionIndex][spvVersionIndex][profileIndex][sourceIndex][precClass] = new TSymbolTable;
  471|    188|            CommonSymbolTable[versionIndex][spvVersionIndex][profileIndex][sourceIndex][precClass]->copyTable(*commonTable[precClass]);
  472|    188|            CommonSymbolTable[versionIndex][spvVersionIndex][profileIndex][sourceIndex][precClass]->readOnly();
  473|    188|        }
  474|    376|    }
  475|  2.82k|    for (int stage = 0; stage < EShLangCount; ++stage) {
  ------------------
  |  Branch (475:25): [True: 2.63k, False: 188]
  ------------------
  476|  2.63k|        if (! stageTables[stage]->isEmpty()) {
  ------------------
  |  Branch (476:13): [True: 1.31k, False: 1.32k]
  ------------------
  477|  1.31k|            SharedSymbolTables[versionIndex][spvVersionIndex][profileIndex][sourceIndex][stage] = new TSymbolTable;
  478|  1.31k|            SharedSymbolTables[versionIndex][spvVersionIndex][profileIndex][sourceIndex][stage]->adoptLevels(*CommonSymbolTable
  479|  1.31k|                              [versionIndex][spvVersionIndex][profileIndex][sourceIndex][CommonIndex(profile, (EShLanguage)stage)]);
  480|  1.31k|            SharedSymbolTables[versionIndex][spvVersionIndex][profileIndex][sourceIndex][stage]->copyTable(*stageTables[stage]);
  481|  1.31k|            SharedSymbolTables[versionIndex][spvVersionIndex][profileIndex][sourceIndex][stage]->readOnly();
  482|  1.31k|        }
  483|  2.63k|    }
  484|    188|    success = true;
  485|       |
  486|    196|cleanup:
  487|       |    // Clean up the local tables before deleting the pool they used.
  488|    588|    for (int precClass = 0; precClass < EPcCount; ++precClass)
  ------------------
  |  Branch (488:29): [True: 392, False: 196]
  ------------------
  489|    392|        delete commonTable[precClass];
  490|  2.94k|    for (int stage = 0; stage < EShLangCount; ++stage)
  ------------------
  |  Branch (490:25): [True: 2.74k, False: 196]
  ------------------
  491|  2.74k|        delete stageTables[stage];
  492|       |
  493|    196|    delete builtInPoolAllocator;
  494|    196|    SetThreadPoolAllocator(&previousAllocator);
  495|       |
  496|    196|    return success;
  497|    188|}
ShaderLang.cpp:_ZN12_GLOBAL__N_122InitializeSymbolTablesER9TInfoSinkPPN7glslang12TSymbolTableES5_i8EProfileRKNS2_10SpvVersionENS2_9EShSourceE:
  322|    196|{
  323|    196|    bool success = true;
  324|    196|    std::unique_ptr<TBuiltInParseables> builtInParseables(CreateBuiltInParseables(infoSink, source));
  325|       |
  326|    196|    if (builtInParseables == nullptr)
  ------------------
  |  Branch (326:9): [True: 0, False: 196]
  ------------------
  327|      0|        return false;
  328|       |
  329|    196|    builtInParseables->initialize(version, profile, spvVersion);
  330|       |
  331|       |    // do the common tables
  332|    196|    success &= InitializeSymbolTable(builtInParseables->getCommonString(), version, profile, spvVersion, EShLangVertex, source,
  333|    196|                          infoSink, *commonTable[EPcGeneral]);
  334|    196|    if (profile == EEsProfile)
  ------------------
  |  Branch (334:9): [True: 0, False: 196]
  ------------------
  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|    196|    success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangVertex, source,
  342|    196|                               infoSink, commonTable, symbolTables);
  343|    196|    success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangFragment, source,
  344|    196|                               infoSink, commonTable, symbolTables);
  345|       |
  346|       |    // check for tessellation
  347|    196|    if ((profile != EEsProfile && version >= 150) ||
  ------------------
  |  Branch (347:10): [True: 196, False: 0]
  |  Branch (347:35): [True: 89, False: 107]
  ------------------
  348|    107|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (348:10): [True: 0, False: 107]
  |  Branch (348:35): [True: 0, False: 0]
  ------------------
  349|     89|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangTessControl, source,
  350|     89|                                   infoSink, commonTable, symbolTables);
  351|     89|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangTessEvaluation, source,
  352|     89|                                   infoSink, commonTable, symbolTables);
  353|     89|    }
  354|       |
  355|       |    // check for geometry
  356|    196|    if ((profile != EEsProfile && version >= 150) ||
  ------------------
  |  Branch (356:10): [True: 196, False: 0]
  |  Branch (356:35): [True: 89, False: 107]
  ------------------
  357|    107|        (profile == EEsProfile && version >= 310))
  ------------------
  |  Branch (357:10): [True: 0, False: 107]
  |  Branch (357:35): [True: 0, False: 0]
  ------------------
  358|     89|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangGeometry, source,
  359|     89|                                   infoSink, commonTable, symbolTables);
  360|       |
  361|       |    // check for compute
  362|    196|    if ((profile != EEsProfile && version >= 420) ||
  ------------------
  |  Branch (362:10): [True: 196, False: 0]
  |  Branch (362:35): [True: 85, False: 111]
  ------------------
  363|    111|        (profile == EEsProfile && version >= 310))
  ------------------
  |  Branch (363:10): [True: 0, False: 111]
  |  Branch (363:35): [True: 0, False: 0]
  ------------------
  364|     85|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangCompute, source,
  365|     85|                                   infoSink, commonTable, symbolTables);
  366|       |
  367|       |    // check for ray tracing stages
  368|    196|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (368:9): [True: 196, False: 0]
  |  Branch (368:34): [True: 84, False: 112]
  ------------------
  369|     84|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangRayGen, source,
  370|     84|            infoSink, commonTable, symbolTables);
  371|     84|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangIntersect, source,
  372|     84|            infoSink, commonTable, symbolTables);
  373|     84|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangAnyHit, source,
  374|     84|            infoSink, commonTable, symbolTables);
  375|     84|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangClosestHit, source,
  376|     84|            infoSink, commonTable, symbolTables);
  377|     84|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangMiss, source,
  378|     84|            infoSink, commonTable, symbolTables);
  379|     84|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangCallable, source,
  380|     84|            infoSink, commonTable, symbolTables);
  381|     84|    }
  382|       |
  383|       |    // check for mesh
  384|    196|    if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (384:10): [True: 196, False: 0]
  |  Branch (384:35): [True: 84, False: 112]
  ------------------
  385|    112|        (profile == EEsProfile && version >= 320))
  ------------------
  |  Branch (385:10): [True: 0, False: 112]
  |  Branch (385:35): [True: 0, False: 0]
  ------------------
  386|     84|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangMesh, source,
  387|     84|                                   infoSink, commonTable, symbolTables);
  388|       |
  389|       |    // check for task
  390|    196|    if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (390:10): [True: 196, False: 0]
  |  Branch (390:35): [True: 84, False: 112]
  ------------------
  391|    112|        (profile == EEsProfile && version >= 320))
  ------------------
  |  Branch (391:10): [True: 0, False: 112]
  |  Branch (391:35): [True: 0, False: 0]
  ------------------
  392|     84|        success &= InitializeStageSymbolTable(*builtInParseables, version, profile, spvVersion, EShLangTask, source,
  393|     84|                                   infoSink, commonTable, symbolTables);
  394|       |
  395|    196|    return success;
  396|    196|}
ShaderLang.cpp:_ZN12_GLOBAL__N_123CreateBuiltInParseablesER9TInfoSinkN7glslang9EShSourceE:
   94|    476|{
   95|    476|    switch (source) {
   96|    246|    case EShSourceGlsl: return new TBuiltIns();              // GLSL builtIns
  ------------------
  |  Branch (96:5): [True: 246, False: 230]
  ------------------
   97|      0|#ifdef ENABLE_HLSL
   98|    230|    case EShSourceHlsl: return new TBuiltInParseablesHlsl(); // HLSL intrinsics
  ------------------
  |  Branch (98:5): [True: 230, False: 246]
  ------------------
   99|      0|#endif
  100|       |
  101|      0|    default:
  ------------------
  |  Branch (101:5): [True: 0, False: 476]
  ------------------
  102|      0|        infoSink.info.message(EPrefixInternalError, "Unable to determine source language");
  103|      0|        return nullptr;
  104|    476|    }
  105|    476|}
ShaderLang.cpp:_ZN12_GLOBAL__N_121InitializeSymbolTableERKNSt3__112basic_stringIcNS0_11char_traitsIcEEN7glslang14pool_allocatorIcEEEEi8EProfileRKNS4_10SpvVersionE11EShLanguageNS4_9EShSourceER9TInfoSinkRNS4_12TSymbolTableE:
  249|  1.89k|{
  250|  1.89k|    TIntermediate intermediate(language, version, profile);
  251|       |
  252|  1.89k|    intermediate.setSource(source);
  253|       |
  254|  1.89k|    std::unique_ptr<TParseContextBase> parseContext(CreateParseContext(symbolTable, intermediate, version, profile, source,
  255|  1.89k|                                                                       language, infoSink, spvVersion, true, EShMsgDefault,
  256|  1.89k|                                                                       true));
  257|       |
  258|  1.89k|    TShader::ForbidIncluder includer;
  259|  1.89k|    TPpContext ppContext(*parseContext, "", includer);
  260|  1.89k|    TScanContext scanContext(*parseContext);
  261|  1.89k|    parseContext->setScanContext(&scanContext);
  262|  1.89k|    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.89k|    symbolTable.push();
  271|       |
  272|  1.89k|    const char* builtInShaders[2];
  273|  1.89k|    size_t builtInLengths[2];
  274|  1.89k|    builtInShaders[0] = builtIns.c_str();
  275|  1.89k|    builtInLengths[0] = builtIns.size();
  276|       |
  277|  1.89k|    if (builtInLengths[0] == 0)
  ------------------
  |  Branch (277:9): [True: 1.16k, False: 726]
  ------------------
  278|  1.16k|        return true;
  279|       |
  280|    726|    TInputScanner input(1, builtInShaders, builtInLengths);
  281|    726|    if (! parseContext->parseShaderStrings(ppContext, input) != 0) {
  ------------------
  |  Branch (281:9): [True: 15, False: 711]
  ------------------
  282|     15|        infoSink.info.message(EPrefixInternalError, "Unable to parse built-ins");
  283|     15|        printf("Unable to parse built-ins\n%s\n", infoSink.info.c_str());
  284|     15|        printf("%s\n", builtInShaders[0]);
  285|       |
  286|     15|        return false;
  287|     15|    }
  288|       |
  289|    711|    return true;
  290|    726|}
ShaderLang.cpp:_ZN12_GLOBAL__N_126InitializeStageSymbolTableERN7glslang18TBuiltInParseablesEi8EProfileRKNS0_10SpvVersionE11EShLanguageNS0_9EShSourceER9TInfoSinkPPNS0_12TSymbolTableESD_:
  303|  1.41k|{
  304|  1.41k|    (*symbolTables[language]).adoptLevels(*commonTable[CommonIndex(profile, language)]);
  305|  1.41k|    if (!InitializeSymbolTable(builtInParseables.getStageString(language), version, profile, spvVersion, language, source,
  ------------------
  |  Branch (305:9): [True: 7, False: 1.40k]
  ------------------
  306|  1.41k|                          infoSink, *symbolTables[language]))
  307|      7|        return false;
  308|  1.40k|    builtInParseables.identifyBuiltIns(version, profile, spvVersion, language, *symbolTables[language]);
  309|  1.40k|    if (profile == EEsProfile && version >= 300)
  ------------------
  |  Branch (309:9): [True: 0, False: 1.40k]
  |  Branch (309:34): [True: 0, False: 0]
  ------------------
  310|      0|        (*symbolTables[language]).setNoBuiltInRedeclarations();
  311|  1.40k|    if (version == 110)
  ------------------
  |  Branch (311:9): [True: 0, False: 1.40k]
  ------------------
  312|      0|        (*symbolTables[language]).setSeparateNameSpaces();
  313|       |
  314|  1.40k|    return true;
  315|  1.41k|}
ShaderLang.cpp:_ZN12_GLOBAL__N_111CommonIndexE8EProfile11EShLanguage:
  293|  2.72k|{
  294|  2.72k|    return (profile == EEsProfile && language == EShLangFragment) ? EPcFragment : EPcGeneral;
  ------------------
  |  Branch (294:13): [True: 0, False: 2.72k]
  |  Branch (294:38): [True: 0, False: 0]
  ------------------
  295|  2.72k|}
ShaderLang.cpp:_ZN12_GLOBAL__N_117MapVersionToIndexEi:
  138|    568|{
  139|    568|    int index = 0;
  140|       |
  141|    568|    switch (version) {
  142|      0|    case 100: index =  0; break;
  ------------------
  |  Branch (142:5): [True: 0, False: 568]
  ------------------
  143|      0|    case 110: index =  1; break;
  ------------------
  |  Branch (143:5): [True: 0, False: 568]
  ------------------
  144|      0|    case 120: index =  2; break;
  ------------------
  |  Branch (144:5): [True: 0, False: 568]
  ------------------
  145|      0|    case 130: index =  3; break;
  ------------------
  |  Branch (145:5): [True: 0, False: 568]
  ------------------
  146|    214|    case 140: index =  4; break;
  ------------------
  |  Branch (146:5): [True: 214, False: 354]
  ------------------
  147|      2|    case 150: index =  5; break;
  ------------------
  |  Branch (147:5): [True: 2, False: 566]
  ------------------
  148|      0|    case 300: index =  6; break;
  ------------------
  |  Branch (148:5): [True: 0, False: 568]
  ------------------
  149|      0|    case 330: index =  7; break;
  ------------------
  |  Branch (149:5): [True: 0, False: 568]
  ------------------
  150|      6|    case 400: index =  8; break;
  ------------------
  |  Branch (150:5): [True: 6, False: 562]
  ------------------
  151|      0|    case 410: index =  9; break;
  ------------------
  |  Branch (151:5): [True: 0, False: 568]
  ------------------
  152|      1|    case 420: index = 10; break;
  ------------------
  |  Branch (152:5): [True: 1, False: 567]
  ------------------
  153|      0|    case 430: index = 11; break;
  ------------------
  |  Branch (153:5): [True: 0, False: 568]
  ------------------
  154|      0|    case 440: index = 12; break;
  ------------------
  |  Branch (154:5): [True: 0, False: 568]
  ------------------
  155|      0|    case 310: index = 13; break;
  ------------------
  |  Branch (155:5): [True: 0, False: 568]
  ------------------
  156|     28|    case 450: index = 14; break;
  ------------------
  |  Branch (156:5): [True: 28, False: 540]
  ------------------
  157|    316|    case 500: index =  0; break; // HLSL
  ------------------
  |  Branch (157:5): [True: 316, False: 252]
  ------------------
  158|      0|    case 320: index = 15; break;
  ------------------
  |  Branch (158:5): [True: 0, False: 568]
  ------------------
  159|      1|    case 460: index = 16; break;
  ------------------
  |  Branch (159:5): [True: 1, False: 567]
  ------------------
  160|      0|    default:  assert(0);  break;
  ------------------
  |  Branch (160:5): [True: 0, False: 568]
  ------------------
  161|    568|    }
  162|       |
  163|    568|    assert(index < VersionCount);
  164|       |
  165|    568|    return index;
  166|    568|}
ShaderLang.cpp:_ZN12_GLOBAL__N_120MapSpvVersionToIndexERKN7glslang10SpvVersionE:
  171|    568|{
  172|    568|    int index = 0;
  173|       |
  174|    568|    if (spvVersion.openGl > 0)
  ------------------
  |  Branch (174:9): [True: 0, False: 568]
  ------------------
  175|      0|        index = 1;
  176|    568|    else if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (176:14): [True: 568, False: 0]
  ------------------
  177|    568|        if (!spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (177:13): [True: 568, False: 0]
  ------------------
  178|    568|            index = 2;
  179|      0|        else
  180|      0|            index = 3;
  181|    568|    }
  182|       |
  183|    568|    assert(index < SpvVersionCount);
  184|       |
  185|    568|    return index;
  186|    568|}
ShaderLang.cpp:_ZN12_GLOBAL__N_117MapProfileToIndexE8EProfile:
  191|    568|{
  192|    568|    int index = 0;
  193|       |
  194|    568|    switch (profile) {
  195|    222|    case ENoProfile:            index = 0; break;
  ------------------
  |  Branch (195:5): [True: 222, False: 346]
  ------------------
  196|    346|    case ECoreProfile:          index = 1; break;
  ------------------
  |  Branch (196:5): [True: 346, False: 222]
  ------------------
  197|      0|    case ECompatibilityProfile: index = 2; break;
  ------------------
  |  Branch (197:5): [True: 0, False: 568]
  ------------------
  198|      0|    case EEsProfile:            index = 3; break;
  ------------------
  |  Branch (198:5): [True: 0, False: 568]
  ------------------
  199|      0|    default:                               break;
  ------------------
  |  Branch (199:5): [True: 0, False: 568]
  ------------------
  200|    568|    }
  201|       |
  202|    568|    assert(index < ProfileCount);
  203|       |
  204|    568|    return index;
  205|    568|}
ShaderLang.cpp:_ZN12_GLOBAL__N_116MapSourceToIndexEN7glslang9EShSourceE:
  210|    568|{
  211|    568|    int index = 0;
  212|       |
  213|    568|    switch (source) {
  214|    252|    case EShSourceGlsl: index = 0; break;
  ------------------
  |  Branch (214:5): [True: 252, False: 316]
  ------------------
  215|    316|    case EShSourceHlsl: index = 1; break;
  ------------------
  |  Branch (215:5): [True: 316, False: 252]
  ------------------
  216|      0|    default:                       break;
  ------------------
  |  Branch (216:5): [True: 0, False: 568]
  ------------------
  217|    568|    }
  218|       |
  219|    568|    assert(index < SourceCount);
  220|       |
  221|    568|    return index;
  222|    568|}
ShaderLang.cpp:_ZN12_GLOBAL__N_125AddContextSpecificSymbolsEPK16TBuiltInResourceR9TInfoSinkRN7glslang12TSymbolTableEi8EProfileRKNS5_10SpvVersionE11EShLanguageNS5_9EShSourceE:
  400|    280|{
  401|    280|    std::unique_ptr<TBuiltInParseables> builtInParseables(CreateBuiltInParseables(infoSink, source));
  402|       |
  403|    280|    if (builtInParseables == nullptr)
  ------------------
  |  Branch (403:9): [True: 0, False: 280]
  ------------------
  404|      0|        return false;
  405|       |
  406|    280|    builtInParseables->initialize(*resources, version, profile, spvVersion, language);
  407|    280|    if (!InitializeSymbolTable(builtInParseables->getCommonString(), version, profile, spvVersion, language, source, infoSink, symbolTable))
  ------------------
  |  Branch (407:9): [True: 0, False: 280]
  ------------------
  408|      0|        return false;
  409|    280|    builtInParseables->identifyBuiltIns(version, profile, spvVersion, language, symbolTable, *resources);
  410|       |
  411|    280|    return true;
  412|    280|}
ShaderLang.cpp:_ZN12_GLOBAL__N_118CreateParseContextERN7glslang12TSymbolTableERNS0_13TIntermediateEi8EProfileNS0_9EShSourceE11EShLanguageR9TInfoSinkNS0_10SpvVersionEb11EShMessagesbNSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEE:
  113|  2.17k|{
  114|  2.17k|    switch (source) {
  115|    776|    case EShSourceGlsl: {
  ------------------
  |  Branch (115:5): [True: 776, False: 1.39k]
  ------------------
  116|    776|        if (sourceEntryPointName.size() == 0)
  ------------------
  |  Branch (116:13): [True: 776, False: 0]
  ------------------
  117|    776|            intermediate.setEntryPointName("main");
  118|    776|        TString entryPoint = sourceEntryPointName.c_str();
  119|    776|        return new TParseContext(symbolTable, intermediate, parsingBuiltIns, version, profile, spvVersion,
  120|    776|                                 language, infoSink, forwardCompatible, messages, &entryPoint);
  121|      0|    }
  122|      0|#ifdef ENABLE_HLSL
  123|  1.39k|    case EShSourceHlsl:
  ------------------
  |  Branch (123:5): [True: 1.39k, False: 776]
  ------------------
  124|  1.39k|        return new HlslParseContext(symbolTable, intermediate, parsingBuiltIns, version, profile, spvVersion,
  125|  1.39k|                                    language, infoSink, sourceEntryPointName.c_str(), forwardCompatible, messages);
  126|      0|#endif
  127|      0|    default:
  ------------------
  |  Branch (127:5): [True: 0, False: 2.17k]
  ------------------
  128|      0|        infoSink.info.message(EPrefixInternalError, "Unable to determine source language");
  129|      0|        return nullptr;
  130|  2.17k|    }
  131|  2.17k|}
ShaderLang.cpp:_ZN12_GLOBAL__N_111DoFullParseclERN7glslang17TParseContextBaseERNS1_10TPpContextERNS1_13TInputScannerEbRNS1_12TSymbolTableERNS1_13TIntermediateE20EShOptimizationLevel11EShMessages:
 1232|     75|    {
 1233|     75|        bool success = true;
 1234|       |        // Parse the full shader.
 1235|     75|        if (! parseContext.parseShaderStrings(ppContext, fullInput, versionWillBeError))
  ------------------
  |  Branch (1235:13): [True: 75, False: 0]
  ------------------
 1236|     75|            success = false;
 1237|       |
 1238|     75|        if (success && intermediate.getTreeRoot()) {
  ------------------
  |  Branch (1238:13): [True: 0, False: 75]
  |  Branch (1238:24): [True: 0, False: 0]
  ------------------
 1239|      0|            if (optLevel == EShOptNoGeneration)
  ------------------
  |  Branch (1239:17): [True: 0, False: 0]
  ------------------
 1240|      0|                parseContext.infoSink.info.message(EPrefixNone, "No errors.  No code generation or linking was requested.");
 1241|      0|            else
 1242|      0|                success = intermediate.postProcess(intermediate.getTreeRoot(), parseContext.getLanguage());
 1243|     75|        } else if (! success) {
  ------------------
  |  Branch (1243:20): [True: 75, False: 0]
  ------------------
 1244|     75|            parseContext.infoSink.info.prefix(EPrefixError);
 1245|     75|            parseContext.infoSink.info << parseContext.getNumErrors() << " compilation errors.  No code generated.\n\n";
 1246|     75|        }
 1247|       |
 1248|     75|        if (messages & EShMsgAST)
  ------------------
  |  Branch (1248:13): [True: 0, False: 75]
  ------------------
 1249|      0|            intermediate.output(parseContext.infoSink, true);
 1250|       |
 1251|     75|        return success;
 1252|     75|    }
_ZN7glslang17TDeferredCompilerC2E11EShLanguageR9TInfoSink:
 1733|    288|    TDeferredCompiler(EShLanguage s, TInfoSink& i) : TCompiler(s, i) { }
ShaderLang.cpp:_ZN12_GLOBAL__N_118PreprocessDeferredEP9TCompilerPKPKciPKiS5_S3_20EShOptimizationLevelPK16TBuiltInResourcei8EProfilebib11EShMessagesRN7glslang7TShader8IncluderERNSE_13TIntermediateEPNSt3__112basic_stringIcNSK_11char_traitsIcEENSK_9allocatorIcEEEEPNSE_12TEnvironmentE:
 1281|    205|{
 1282|    205|    DoPreprocessing parser(outputString);
 1283|    205|    return ProcessDeferred(compiler, shaderStrings, numStrings, inputLengths, stringNames,
 1284|    205|                           preamble, optLevel, resources, defaultVersion,
 1285|    205|                           defaultProfile, forceDefaultVersionAndProfile, overrideVersion,
 1286|    205|                           forwardCompatible, messages, intermediate, parser,
 1287|    205|                           false, includer, "", environment);
 1288|    205|}
ShaderLang.cpp:_ZN12_GLOBAL__N_115DoPreprocessingC2EPNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
 1087|    205|    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|    205|{
  823|       |    // This must be undone (.pop()) by the caller, after it finishes consuming the created tree.
  824|    205|    GetThreadPoolAllocator().push();
  825|       |
  826|    205|    if (numStrings == 0)
  ------------------
  |  Branch (826:9): [True: 0, False: 205]
  ------------------
  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|    205|    const int numPre = 2;
  839|    205|    const int numPost = requireNonempty? 1 : 0;
  ------------------
  |  Branch (839:25): [True: 0, False: 205]
  ------------------
  840|    205|    const int numTotal = numPre + numStrings + numPost;
  841|    205|    std::unique_ptr<size_t[]> lengths(new size_t[numTotal]);
  842|    205|    std::unique_ptr<const char*[]> strings(new const char*[numTotal]);
  843|    205|    std::unique_ptr<const char*[]> names(new const char*[numTotal]);
  844|    410|    for (int s = 0; s < numStrings; ++s) {
  ------------------
  |  Branch (844:21): [True: 205, False: 205]
  ------------------
  845|    205|        strings[s + numPre] = shaderStrings[s];
  846|    205|        if (inputLengths == nullptr || inputLengths[s] < 0)
  ------------------
  |  Branch (846:13): [True: 0, False: 205]
  |  Branch (846:40): [True: 0, False: 205]
  ------------------
  847|      0|            lengths[s + numPre] = strlen(shaderStrings[s]);
  848|    205|        else
  849|    205|            lengths[s + numPre] = inputLengths[s];
  850|    205|    }
  851|    205|    if (stringNames != nullptr) {
  ------------------
  |  Branch (851:9): [True: 205, False: 0]
  ------------------
  852|    410|        for (int s = 0; s < numStrings; ++s)
  ------------------
  |  Branch (852:25): [True: 205, False: 205]
  ------------------
  853|    205|            names[s + numPre] = stringNames[s];
  854|    205|    } 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|    205|    EShSource sourceGuess = (messages & EShMsgReadHlsl) != 0 ? EShSourceHlsl : EShSourceGlsl;
  ------------------
  |  Branch (861:29): [True: 98, False: 107]
  ------------------
  862|    205|    SpvVersion spvVersion;
  863|    205|    EShLanguage stage = compiler->getLanguage();
  864|    205|    TranslateEnvironment(environment, messages, sourceGuess, stage, spvVersion);
  865|    205|#ifdef ENABLE_HLSL
  866|    205|    EShSource source = sourceGuess;
  867|    205|    if (environment != nullptr && environment->target.hlslFunctionality1)
  ------------------
  |  Branch (867:9): [True: 205, False: 0]
  |  Branch (867:35): [True: 96, False: 109]
  ------------------
  868|     96|        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|    205|    glslang::TInputScanner userInput(numStrings, &strings[numPre], &lengths[numPre]);
  876|    205|    int version = 0;
  877|    205|    EProfile profile = ENoProfile;
  878|    205|    bool versionNotFirstToken = false;
  879|    205|    bool versionNotFirst = (source == EShSourceHlsl)
  ------------------
  |  Branch (879:28): [True: 98, False: 107]
  ------------------
  880|    205|                                ? true
  881|    205|                                : userInput.scanVersion(version, profile, versionNotFirstToken);
  882|    205|    bool versionNotFound = version == 0;
  883|    205|    if (forceDefaultVersionAndProfile && source == EShSourceGlsl) {
  ------------------
  |  Branch (883:9): [True: 0, False: 205]
  |  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|    205|    if (source == EShSourceGlsl && overrideVersion != 0) {
  ------------------
  |  Branch (900:9): [True: 107, False: 98]
  |  Branch (900:36): [True: 0, False: 107]
  ------------------
  901|      0|        version = overrideVersion;
  902|      0|    }
  903|       |
  904|    205|    bool goodVersion = DeduceVersionProfile(compiler->infoSink, stage,
  905|    205|                                            versionNotFirst, defaultVersion, source, version, profile, spvVersion);
  906|    205|    bool versionWillBeError = (versionNotFound || (profile == EEsProfile && version >= 300 && versionNotFirst));
  ------------------
  |  Branch (906:32): [True: 200, False: 5]
  |  Branch (906:52): [True: 0, False: 5]
  |  Branch (906:77): [True: 0, False: 0]
  |  Branch (906:95): [True: 0, False: 0]
  ------------------
  907|    205|    bool warnVersionNotFirst = false;
  908|    205|    if (! versionWillBeError && versionNotFirstToken) {
  ------------------
  |  Branch (908:9): [True: 5, False: 200]
  |  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|    205|    intermediate.setSource(source);
  916|    205|    intermediate.setVersion(version);
  917|    205|    intermediate.setProfile(profile);
  918|    205|    intermediate.setSpv(spvVersion);
  919|    205|    RecordProcesses(intermediate, messages, sourceEntryPointName);
  920|    205|    if (spvVersion.vulkan > 0)
  ------------------
  |  Branch (920:9): [True: 205, False: 0]
  ------------------
  921|    205|        intermediate.setOriginUpperLeft();
  922|    205|#ifdef ENABLE_HLSL
  923|    205|    if ((messages & EShMsgHlslOffsets) || source == EShSourceHlsl)
  ------------------
  |  Branch (923:9): [True: 105, False: 100]
  |  Branch (923:43): [True: 21, False: 79]
  ------------------
  924|    126|        intermediate.setHlslOffsets();
  925|    205|#endif
  926|    205|    if (messages & EShMsgDebugInfo) {
  ------------------
  |  Branch (926:9): [True: 0, False: 205]
  ------------------
  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|    205|    if (!SetupBuiltinSymbolTable(version, profile, spvVersion, source)) {
  ------------------
  |  Branch (934:9): [True: 0, False: 205]
  ------------------
  935|      0|        return false;
  936|      0|    }
  937|       |
  938|    205|    TSymbolTable* cachedTable = SharedSymbolTables[MapVersionToIndex(version)]
  939|    205|                                                  [MapSpvVersionToIndex(spvVersion)]
  940|    205|                                                  [MapProfileToIndex(profile)]
  941|    205|                                                  [MapSourceToIndex(source)]
  942|    205|                                                  [stage];
  943|       |
  944|       |    // Dynamically allocate the symbol table so we can control when it is deallocated WRT the pool.
  945|    205|    std::unique_ptr<TSymbolTable> symbolTable(new TSymbolTable);
  946|    205|    if (cachedTable)
  ------------------
  |  Branch (946:9): [True: 205, False: 0]
  ------------------
  947|    205|        symbolTable->adoptLevels(*cachedTable);
  948|       |
  949|    205|    if (intermediate.getUniqueId() != 0)
  ------------------
  |  Branch (949:9): [True: 0, False: 205]
  ------------------
  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|    205|    if (! AddContextSpecificSymbols(resources, compiler->infoSink, *symbolTable, version, profile, spvVersion,
  ------------------
  |  Branch (954:9): [True: 0, False: 205]
  ------------------
  955|    205|                                    stage, source)) {
  956|      0|        return false;
  957|      0|    }
  958|       |
  959|    205|    if (messages & EShMsgBuiltinSymbolTable)
  ------------------
  |  Branch (959:9): [True: 0, False: 205]
  ------------------
  960|      0|        DumpBuiltinSymbolTable(compiler->infoSink, *symbolTable);
  961|       |
  962|       |    //
  963|       |    // Now we can process the full shader under proper symbols and rules.
  964|       |    //
  965|       |
  966|    205|    std::unique_ptr<TParseContextBase> parseContext(CreateParseContext(*symbolTable, intermediate, version, profile, source,
  967|    205|                                                    stage, compiler->infoSink,
  968|    205|                                                    spvVersion, forwardCompatible, messages, false, sourceEntryPointName));
  969|    205|    parseContext->compileOnly = compileOnly;
  970|    205|    TPpContext ppContext(*parseContext, names[numPre] ? names[numPre] : "", includer);
  ------------------
  |  Branch (970:41): [True: 205, False: 0]
  ------------------
  971|       |
  972|       |    // only GLSL (bison triggered, really) needs an externally set scan context
  973|    205|    glslang::TScanContext scanContext(*parseContext);
  974|    205|    if (source == EShSourceGlsl)
  ------------------
  |  Branch (974:9): [True: 107, False: 98]
  ------------------
  975|    107|        parseContext->setScanContext(&scanContext);
  976|       |
  977|    205|    parseContext->setPpContext(&ppContext);
  978|    205|    parseContext->setLimits(*resources);
  979|    205|    if (! goodVersion)
  ------------------
  |  Branch (979:9): [True: 102, False: 103]
  ------------------
  980|    102|        parseContext->addError();
  981|    205|    if (warnVersionNotFirst) {
  ------------------
  |  Branch (981:9): [True: 0, False: 205]
  ------------------
  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|    205|    parseContext->initializeExtensionBehavior();
  988|       |
  989|       |    // Fill in the strings as outlined above.
  990|    205|    std::string preamble;
  991|    205|    parseContext->getPreamble(preamble);
  992|    205|    strings[0] = preamble.c_str();
  993|    205|    lengths[0] = strlen(strings[0]);
  994|    205|    names[0] = nullptr;
  995|    205|    strings[1] = customPreamble;
  996|    205|    lengths[1] = strlen(strings[1]);
  997|    205|    names[1] = nullptr;
  998|    205|    assert(2 == numPre);
  999|    205|    if (requireNonempty) {
  ------------------
  |  Branch (999:9): [True: 0, False: 205]
  ------------------
 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|    205|    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|    205|    symbolTable->push();
 1009|       |
 1010|    205|    bool success = processingContext(*parseContext, ppContext, fullInput,
 1011|    205|                                     versionWillBeError, *symbolTable,
 1012|    205|                                     intermediate, optLevel, messages);
 1013|    205|    intermediate.setUniqueId(symbolTable->getMaxSymbolId());
 1014|    205|    return success;
 1015|    205|}
ShaderLang.cpp:_ZN12_GLOBAL__N_115DoPreprocessingclERN7glslang17TParseContextBaseERNS1_10TPpContextERNS1_13TInputScannerEbRNS1_12TSymbolTableERNS1_13TIntermediateE20EShOptimizationLevel11EShMessages:
 1092|    205|    {
 1093|       |        // This is a list of tokens that do not require a space before or after.
 1094|    205|        static const std::string noNeededSpaceBeforeTokens = ";)[].,";
 1095|    205|        static const std::string noNeededSpaceAfterTokens = ".([";
 1096|    205|        glslang::TPpToken ppToken;
 1097|       |
 1098|    205|        parseContext.setScanner(&input);
 1099|    205|        ppContext.setInput(input, versionWillBeError);
 1100|       |
 1101|    205|        std::string outputBuffer;
 1102|    205|        SourceLineSynchronizer lineSync(
 1103|    205|            std::bind(&TInputScanner::getLastValidSourceIndex, &input), &outputBuffer);
 1104|       |
 1105|    205|        parseContext.setExtensionCallback([&lineSync, &outputBuffer](
 1106|    205|            int line, const char* extension, const char* behavior) {
 1107|    205|                lineSync.syncToLine(line);
 1108|    205|                outputBuffer += "#extension ";
 1109|    205|                outputBuffer += extension;
 1110|    205|                outputBuffer += " : ";
 1111|    205|                outputBuffer += behavior;
 1112|    205|        });
 1113|       |
 1114|    205|        parseContext.setLineCallback([&lineSync, &outputBuffer, &parseContext](
 1115|    205|            int curLineNum, int newLineNum, bool hasSource, int sourceNum, const char* sourceName) {
 1116|       |            // SourceNum is the number of the source-string that is being parsed.
 1117|    205|            lineSync.syncToLine(curLineNum);
 1118|    205|            outputBuffer += "#line ";
 1119|    205|            outputBuffer += std::to_string(newLineNum);
 1120|    205|            if (hasSource) {
 1121|    205|                outputBuffer += ' ';
 1122|    205|                if (sourceName != nullptr) {
 1123|    205|                    outputBuffer += '\"';
 1124|    205|                    outputBuffer += sourceName;
 1125|    205|                    outputBuffer += '\"';
 1126|    205|                } else {
 1127|    205|                    outputBuffer += std::to_string(sourceNum);
 1128|    205|                }
 1129|    205|            }
 1130|    205|            if (parseContext.lineDirectiveShouldSetNextLine()) {
 1131|       |                // newLineNum is the new line number for the line following the #line
 1132|       |                // directive. So the new line number for the current line is
 1133|    205|                newLineNum -= 1;
 1134|    205|            }
 1135|    205|            outputBuffer += '\n';
 1136|       |            // And we are at the next line of the #line directive now.
 1137|    205|            lineSync.setLineNum(newLineNum + 1);
 1138|    205|        });
 1139|       |
 1140|    205|        parseContext.setVersionCallback(
 1141|    205|            [&lineSync, &outputBuffer](int line, int version, const char* str) {
 1142|    205|                lineSync.syncToLine(line);
 1143|    205|                outputBuffer += "#version ";
 1144|    205|                outputBuffer += std::to_string(version);
 1145|    205|                if (str) {
 1146|    205|                    outputBuffer += ' ';
 1147|    205|                    outputBuffer += str;
 1148|    205|                }
 1149|    205|            });
 1150|       |
 1151|    205|        parseContext.setPragmaCallback([&lineSync, &outputBuffer](
 1152|    205|            int line, const glslang::TVector<glslang::TString>& ops) {
 1153|    205|                lineSync.syncToLine(line);
 1154|    205|                outputBuffer += "#pragma ";
 1155|    205|                for(size_t i = 0; i < ops.size(); ++i) {
 1156|    205|                    outputBuffer += ops[i].c_str();
 1157|    205|                }
 1158|    205|        });
 1159|       |
 1160|    205|        parseContext.setErrorCallback([&lineSync, &outputBuffer](
 1161|    205|            int line, const char* errorMessage) {
 1162|    205|                lineSync.syncToLine(line);
 1163|    205|                outputBuffer += "#error ";
 1164|    205|                outputBuffer += errorMessage;
 1165|    205|        });
 1166|       |
 1167|    205|        int lastToken = EndOfInput; // lastToken records the last token processed.
 1168|    205|        std::string lastTokenName;
 1169|  24.9M|        do {
 1170|  24.9M|            int token = ppContext.tokenize(ppToken);
 1171|  24.9M|            if (token == EndOfInput)
  ------------------
  |  Branch (1171:17): [True: 205, False: 24.9M]
  ------------------
 1172|    205|                break;
 1173|       |
 1174|  24.9M|            bool isNewString = lineSync.syncToMostRecentString();
 1175|  24.9M|            bool isNewLine = lineSync.syncToLine(ppToken.loc.line);
 1176|       |
 1177|  24.9M|            if (isNewLine) {
  ------------------
  |  Branch (1177:17): [True: 2.07M, False: 22.9M]
  ------------------
 1178|       |                // Don't emit whitespace onto empty lines.
 1179|       |                // Copy any whitespace characters at the start of a line
 1180|       |                // from the input to the output.
 1181|  2.07M|                outputBuffer += std::string(ppToken.loc.column - 1, ' ');
 1182|  2.07M|            }
 1183|       |
 1184|       |            // Output a space in between tokens, but not at the start of a line,
 1185|       |            // and also not around special tokens. This helps with readability
 1186|       |            // and consistency.
 1187|  24.9M|            if (!isNewString && !isNewLine && lastToken != EndOfInput) {
  ------------------
  |  Branch (1187:17): [True: 24.9M, False: 198]
  |  Branch (1187:33): [True: 22.9M, False: 2.07M]
  |  Branch (1187:47): [True: 22.9M, False: 0]
  ------------------
 1188|       |                // left parenthesis need a leading space, except it is in a function-call-like context.
 1189|       |                // examples: `for (xxx)`, `a * (b + c)`, `vec(2.0)`, `foo(x, y, z)`
 1190|  22.9M|                if (token == '(') {
  ------------------
  |  Branch (1190:21): [True: 36.7k, False: 22.8M]
  ------------------
 1191|  36.7k|                    if (lastToken != PpAtomIdentifier ||
  ------------------
  |  Branch (1191:25): [True: 28.8k, False: 7.88k]
  ------------------
 1192|  7.88k|                        lastTokenName == "if" ||
  ------------------
  |  Branch (1192:25): [True: 36, False: 7.85k]
  ------------------
 1193|  7.85k|                        lastTokenName == "for" ||
  ------------------
  |  Branch (1193:25): [True: 1, False: 7.85k]
  ------------------
 1194|  7.85k|                        lastTokenName == "while" ||
  ------------------
  |  Branch (1194:25): [True: 5, False: 7.84k]
  ------------------
 1195|  7.84k|                        lastTokenName == "switch")
  ------------------
  |  Branch (1195:25): [True: 0, False: 7.84k]
  ------------------
 1196|  28.9k|                        outputBuffer += ' ';
 1197|  22.8M|                } else if ((noNeededSpaceBeforeTokens.find((char)token) == std::string::npos) &&
  ------------------
  |  Branch (1197:28): [True: 22.6M, False: 218k]
  ------------------
 1198|  22.6M|                    (noNeededSpaceAfterTokens.find((char)lastToken) == std::string::npos)) {
  ------------------
  |  Branch (1198:21): [True: 22.6M, False: 32.7k]
  ------------------
 1199|  22.6M|                    outputBuffer += ' ';
 1200|  22.6M|                }
 1201|  22.9M|            }
 1202|  24.9M|            if (token == PpAtomIdentifier)
  ------------------
  |  Branch (1202:17): [True: 705k, False: 24.2M]
  ------------------
 1203|   705k|                lastTokenName = ppToken.name;
 1204|  24.9M|            lastToken = token;
 1205|  24.9M|            if (token == PpAtomConstString)
  ------------------
  |  Branch (1205:17): [True: 54.5k, False: 24.9M]
  ------------------
 1206|  54.5k|                outputBuffer += "\"";
 1207|  24.9M|            outputBuffer += ppToken.name;
 1208|  24.9M|            if (token == PpAtomConstString)
  ------------------
  |  Branch (1208:17): [True: 54.5k, False: 24.9M]
  ------------------
 1209|  54.5k|                outputBuffer += "\"";
 1210|  24.9M|        } while (true);
  ------------------
  |  Branch (1210:18): [True: 24.9M, Folded]
  ------------------
 1211|    205|        outputBuffer += '\n';
 1212|    205|        *outputString = std::move(outputBuffer);
 1213|       |
 1214|    205|        bool success = true;
 1215|    205|        if (parseContext.getNumErrors() > 0) {
  ------------------
  |  Branch (1215:13): [True: 147, False: 58]
  ------------------
 1216|    147|            success = false;
 1217|    147|            parseContext.infoSink.info.prefix(EPrefixError);
 1218|    147|            parseContext.infoSink.info << parseContext.getNumErrors() << " compilation errors.  No code generated.\n\n";
 1219|    147|        }
 1220|    205|        return success;
 1221|    205|    }
ShaderLang.cpp:_ZN12_GLOBAL__N_122SourceLineSynchronizerC2ERKNSt3__18functionIFivEEEPNS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
 1024|    205|      : getLastSourceIndex(lastSourceIndex), output(output), lastSource(-1), lastLine(0) {}
ShaderLang.cpp:_ZZN12_GLOBAL__N_115DoPreprocessingclERN7glslang17TParseContextBaseERNS1_10TPpContextERNS1_13TInputScannerEbRNS1_12TSymbolTableERNS1_13TIntermediateE20EShOptimizationLevel11EShMessagesENKUliPKcSF_E_clEiSF_SF_:
 1106|    225|            int line, const char* extension, const char* behavior) {
 1107|    225|                lineSync.syncToLine(line);
 1108|    225|                outputBuffer += "#extension ";
 1109|    225|                outputBuffer += extension;
 1110|    225|                outputBuffer += " : ";
 1111|    225|                outputBuffer += behavior;
 1112|    225|        });
ShaderLang.cpp:_ZZN12_GLOBAL__N_115DoPreprocessingclERN7glslang17TParseContextBaseERNS1_10TPpContextERNS1_13TInputScannerEbRNS1_12TSymbolTableERNS1_13TIntermediateE20EShOptimizationLevel11EShMessagesENKUliiPKcE_clEiiSF_:
 1141|      5|            [&lineSync, &outputBuffer](int line, int version, const char* str) {
 1142|      5|                lineSync.syncToLine(line);
 1143|      5|                outputBuffer += "#version ";
 1144|      5|                outputBuffer += std::to_string(version);
 1145|      5|                if (str) {
  ------------------
  |  Branch (1145:21): [True: 2, False: 3]
  ------------------
 1146|      2|                    outputBuffer += ' ';
 1147|      2|                    outputBuffer += str;
 1148|      2|                }
 1149|      5|            });
ShaderLang.cpp:_ZZN12_GLOBAL__N_115DoPreprocessingclERN7glslang17TParseContextBaseERNS1_10TPpContextERNS1_13TInputScannerEbRNS1_12TSymbolTableERNS1_13TIntermediateE20EShOptimizationLevel11EShMessagesENKUliPKcE_clEiSF_:
 1161|     14|            int line, const char* errorMessage) {
 1162|     14|                lineSync.syncToLine(line);
 1163|     14|                outputBuffer += "#error ";
 1164|     14|                outputBuffer += errorMessage;
 1165|     14|        });
ShaderLang.cpp:_ZN12_GLOBAL__N_122SourceLineSynchronizer22syncToMostRecentStringEv:
 1031|  49.9M|    bool syncToMostRecentString() {
 1032|  49.9M|        if (getLastSourceIndex() != lastSource) {
  ------------------
  |  Branch (1032:13): [True: 408, False: 49.9M]
  ------------------
 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|    408|            if (lastSource != -1 || lastLine != 0)
  ------------------
  |  Branch (1037:17): [True: 203, False: 205]
  |  Branch (1037:37): [True: 0, False: 205]
  ------------------
 1038|    203|                *output += '\n';
 1039|    408|            lastSource = getLastSourceIndex();
 1040|    408|            lastLine = -1;
 1041|    408|            return true;
 1042|    408|        }
 1043|  49.9M|        return false;
 1044|  49.9M|    }
ShaderLang.cpp:_ZN12_GLOBAL__N_122SourceLineSynchronizer10syncToLineEi:
 1049|  24.9M|    bool syncToLine(int tokenLine) {
 1050|  24.9M|        syncToMostRecentString();
 1051|  24.9M|        const bool newLineStarted = lastLine < tokenLine;
 1052|  33.1M|        for (; lastLine < tokenLine; ++lastLine) {
  ------------------
  |  Branch (1052:16): [True: 8.15M, False: 24.9M]
  ------------------
 1053|  8.15M|            if (lastLine > 0) *output += '\n';
  ------------------
  |  Branch (1053:17): [True: 8.15M, False: 816]
  ------------------
 1054|  8.15M|        }
 1055|  24.9M|        return newLineStarted;
 1056|  24.9M|    }

_ZNK7glslang5TType16buildMangledNameERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEE:
   57|  1.98M|{
   58|  1.98M|    if (isTensorARM())
  ------------------
  |  Branch (58:9): [True: 305, False: 1.97M]
  ------------------
   59|    305|        mangledName += 'T';
   60|  1.97M|    else if (isMatrix())
  ------------------
  |  Branch (60:14): [True: 274k, False: 1.70M]
  ------------------
   61|   274k|        mangledName += 'm';
   62|  1.70M|    else if (isVector())
  ------------------
  |  Branch (62:14): [True: 803k, False: 902k]
  ------------------
   63|   803k|        mangledName += 'v';
   64|       |
   65|  1.98M|    if (isCoopVecNV())
  ------------------
  |  Branch (65:9): [True: 3.93k, False: 1.97M]
  ------------------
   66|  3.93k|        mangledName += "coopvec";
   67|       |
   68|  1.98M|    switch (basicType) {
   69|   482k|    case EbtFloat:              mangledName += 'f';      break;
  ------------------
  |  Branch (69:5): [True: 482k, False: 1.49M]
  ------------------
   70|   495k|    case EbtInt:                mangledName += 'i';      break;
  ------------------
  |  Branch (70:5): [True: 495k, False: 1.48M]
  ------------------
   71|   388k|    case EbtUint:               mangledName += 'u';      break;
  ------------------
  |  Branch (71:5): [True: 388k, False: 1.59M]
  ------------------
   72|  29.6k|    case EbtBool:               mangledName += 'b';      break;
  ------------------
  |  Branch (72:5): [True: 29.6k, False: 1.95M]
  ------------------
   73|  23.6k|    case EbtDouble:             mangledName += 'd';      break;
  ------------------
  |  Branch (73:5): [True: 23.6k, False: 1.95M]
  ------------------
   74|  41.7k|    case EbtFloat16:            mangledName += "f16";    break;
  ------------------
  |  Branch (74:5): [True: 41.7k, False: 1.93M]
  ------------------
   75|    160|    case EbtBFloat16:           mangledName += "bf16";   break;
  ------------------
  |  Branch (75:5): [True: 160, False: 1.98M]
  ------------------
   76|    120|    case EbtFloatE5M2:          mangledName += "fe5m2";  break;
  ------------------
  |  Branch (76:5): [True: 120, False: 1.98M]
  ------------------
   77|    120|    case EbtFloatE4M3:          mangledName += "fe4m3";  break;
  ------------------
  |  Branch (77:5): [True: 120, False: 1.98M]
  ------------------
   78|     20|    case EbtFloatE2M1:          mangledName += "fe2m1";  break;
  ------------------
  |  Branch (78:5): [True: 20, False: 1.98M]
  ------------------
   79|     15|    case EbtFloatE3M2:          mangledName += "fe3m2";  break;
  ------------------
  |  Branch (79:5): [True: 15, False: 1.98M]
  ------------------
   80|     15|    case EbtFloatE2M3:          mangledName += "fe2m3";  break;
  ------------------
  |  Branch (80:5): [True: 15, False: 1.98M]
  ------------------
   81|     40|    case EbtFloatUE8M0:         mangledName += "fue8m0";  break;
  ------------------
  |  Branch (81:5): [True: 40, False: 1.98M]
  ------------------
   82|     40|    case EbtFloatMXINT8:        mangledName += "fmxint8";break;
  ------------------
  |  Branch (82:5): [True: 40, False: 1.98M]
  ------------------
   83|  30.7k|    case EbtInt8:               mangledName += "i8";     break;
  ------------------
  |  Branch (83:5): [True: 30.7k, False: 1.94M]
  ------------------
   84|  30.7k|    case EbtUint8:              mangledName += "u8";     break;
  ------------------
  |  Branch (84:5): [True: 30.7k, False: 1.94M]
  ------------------
   85|  35.9k|    case EbtInt16:              mangledName += "i16";    break;
  ------------------
  |  Branch (85:5): [True: 35.9k, False: 1.94M]
  ------------------
   86|  35.7k|    case EbtUint16:             mangledName += "u16";    break;
  ------------------
  |  Branch (86:5): [True: 35.7k, False: 1.94M]
  ------------------
   87|  37.0k|    case EbtInt64:              mangledName += "i64";    break;
  ------------------
  |  Branch (87:5): [True: 37.0k, False: 1.94M]
  ------------------
   88|  39.3k|    case EbtUint64:             mangledName += "u64";    break;
  ------------------
  |  Branch (88:5): [True: 39.3k, False: 1.94M]
  ------------------
   89|      0|    case EbtAtomicUint:         mangledName += "au";     break;
  ------------------
  |  Branch (89:5): [True: 0, False: 1.98M]
  ------------------
   90|     43|    case EbtAccStruct:          mangledName += "as";     break;
  ------------------
  |  Branch (90:5): [True: 43, False: 1.98M]
  ------------------
   91|      6|    case EbtRayQuery:           mangledName += "rq";     break;
  ------------------
  |  Branch (91:5): [True: 6, False: 1.98M]
  ------------------
   92|      0|    case EbtSpirvType:          mangledName += "spv-t";  break;
  ------------------
  |  Branch (92:5): [True: 0, False: 1.98M]
  ------------------
   93|    113|    case EbtHitObjectNV:        mangledName += "ho";     break;
  ------------------
  |  Branch (93:5): [True: 113, False: 1.98M]
  ------------------
   94|    101|    case EbtHitObjectEXT:       mangledName += "ho";     break;
  ------------------
  |  Branch (94:5): [True: 101, False: 1.98M]
  ------------------
   95|    185|    case EbtTensorLayoutNV:     mangledName += "tl";     break;
  ------------------
  |  Branch (95:5): [True: 185, False: 1.98M]
  ------------------
   96|     95|    case EbtTensorViewNV:       mangledName += "tv";     break;
  ------------------
  |  Branch (96:5): [True: 95, False: 1.98M]
  ------------------
   97|   275k|    case EbtSampler:
  ------------------
  |  Branch (97:5): [True: 275k, False: 1.70M]
  ------------------
   98|   275k|        switch (sampler.type) {
   99|  13.9k|        case EbtFloat16: mangledName += "f16"; break;
  ------------------
  |  Branch (99:9): [True: 13.9k, False: 261k]
  ------------------
  100|  73.5k|        case EbtInt:   mangledName += "i"; break;
  ------------------
  |  Branch (100:9): [True: 73.5k, False: 202k]
  ------------------
  101|  73.5k|        case EbtUint:  mangledName += "u"; break;
  ------------------
  |  Branch (101:9): [True: 73.5k, False: 202k]
  ------------------
  102|  1.30k|        case EbtInt64:   mangledName += "i64"; break;
  ------------------
  |  Branch (102:9): [True: 1.30k, False: 274k]
  ------------------
  103|  1.30k|        case EbtUint64:  mangledName += "u64"; break;
  ------------------
  |  Branch (103:9): [True: 1.30k, False: 274k]
  ------------------
  104|   112k|        default: break; // some compilers want this
  ------------------
  |  Branch (104:9): [True: 112k, False: 163k]
  ------------------
  105|   275k|        }
  106|   275k|        if (sampler.isImageClass())
  ------------------
  |  Branch (106:13): [True: 66.4k, False: 209k]
  ------------------
  107|  66.4k|            mangledName += "I";  // a normal image or subpass
  108|   209k|        else if (sampler.isPureSampler())
  ------------------
  |  Branch (108:18): [True: 44.9k, False: 164k]
  ------------------
  109|  44.9k|            mangledName += "p";  // a "pure" sampler
  110|   164k|        else if (!sampler.isCombined())
  ------------------
  |  Branch (110:18): [True: 62.6k, False: 101k]
  ------------------
  111|  62.6k|            mangledName += "t";  // a "pure" texture
  112|   101k|        else
  113|   101k|            mangledName += "s";  // traditional combined sampler
  114|   275k|        if (sampler.isArrayed())
  ------------------
  |  Branch (114:13): [True: 78.2k, False: 197k]
  ------------------
  115|  78.2k|            mangledName += "A";
  116|   275k|        if (sampler.isShadow())
  ------------------
  |  Branch (116:13): [True: 33.2k, False: 242k]
  ------------------
  117|  33.2k|            mangledName += "S";
  118|   275k|        if (sampler.isExternal())
  ------------------
  |  Branch (118:13): [True: 0, False: 275k]
  ------------------
  119|      0|            mangledName += "E";
  120|   275k|        if (sampler.isYuv())
  ------------------
  |  Branch (120:13): [True: 0, False: 275k]
  ------------------
  121|      0|            mangledName += "Y";
  122|   275k|        switch (sampler.dim) {
  123|  97.5k|        case Esd2D:       mangledName += "2";  break;
  ------------------
  |  Branch (123:9): [True: 97.5k, False: 178k]
  ------------------
  124|  21.8k|        case Esd3D:       mangledName += "3";  break;
  ------------------
  |  Branch (124:9): [True: 21.8k, False: 253k]
  ------------------
  125|  32.5k|        case EsdCube:     mangledName += "C";  break;
  ------------------
  |  Branch (125:9): [True: 32.5k, False: 243k]
  ------------------
  126|  47.8k|        case Esd1D:       mangledName += "1";  break;
  ------------------
  |  Branch (126:9): [True: 47.8k, False: 227k]
  ------------------
  127|  19.9k|        case EsdRect:     mangledName += "R2"; break;
  ------------------
  |  Branch (127:9): [True: 19.9k, False: 255k]
  ------------------
  128|  7.60k|        case EsdBuffer:   mangledName += "B";  break;
  ------------------
  |  Branch (128:9): [True: 7.60k, False: 268k]
  ------------------
  129|  2.57k|        case EsdSubpass:  mangledName += "P";  break;
  ------------------
  |  Branch (129:9): [True: 2.57k, False: 273k]
  ------------------
  130|  45.7k|        default: break; // some compilers want this
  ------------------
  |  Branch (130:9): [True: 45.7k, False: 230k]
  ------------------
  131|   275k|        }
  132|       |
  133|   275k|#ifdef ENABLE_HLSL
  134|   275k|        if (sampler.hasReturnStruct()) {
  ------------------
  |  Branch (134:13): [True: 0, False: 275k]
  ------------------
  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|   275k|        } else {
  142|   275k|            switch (sampler.getVectorSize()) {
  ------------------
  |  Branch (142:21): [True: 275k, False: 0]
  ------------------
  143|  11.2k|            case 1: mangledName += "1"; break;
  ------------------
  |  Branch (143:13): [True: 11.2k, False: 264k]
  ------------------
  144|  32.8k|            case 2: mangledName += "2"; break;
  ------------------
  |  Branch (144:13): [True: 32.8k, False: 242k]
  ------------------
  145|  4.53k|            case 3: mangledName += "3"; break;
  ------------------
  |  Branch (145:13): [True: 4.53k, False: 271k]
  ------------------
  146|   227k|            case 4: break; // default to prior name mangle behavior
  ------------------
  |  Branch (146:13): [True: 227k, False: 48.6k]
  ------------------
  147|   275k|            }
  148|   275k|        }
  149|   275k|#endif
  150|       |
  151|   275k|        if (sampler.isMultiSample())
  ------------------
  |  Branch (151:13): [True: 17.3k, False: 258k]
  ------------------
  152|  17.3k|            mangledName += "M";
  153|   275k|        break;
  154|     60|    case EbtStruct:
  ------------------
  |  Branch (154:5): [True: 60, False: 1.98M]
  ------------------
  155|     60|    case EbtBlock:
  ------------------
  |  Branch (155:5): [True: 0, False: 1.98M]
  ------------------
  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|  31.5k|    default:
  ------------------
  |  Branch (169:5): [True: 31.5k, False: 1.94M]
  ------------------
  170|  31.5k|        break;
  171|  1.98M|    }
  172|       |
  173|  1.98M|    if (getVectorSize() > 0)
  ------------------
  |  Branch (173:9): [True: 1.70M, False: 274k]
  ------------------
  174|  1.70M|        mangledName += static_cast<char>('0' + getVectorSize());
  175|   274k|    else {
  176|   274k|        mangledName += static_cast<char>('0' + getMatrixCols());
  177|   274k|        mangledName += static_cast<char>('0' + getMatrixRows());
  178|   274k|    }
  179|       |
  180|  1.98M|    if (typeParameters) {
  ------------------
  |  Branch (180:9): [True: 30, False: 1.98M]
  ------------------
  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.98M|    if (arraySizes) {
  ------------------
  |  Branch (197:9): [True: 10.2k, False: 1.96M]
  ------------------
  198|  10.2k|        const int maxSize = 11;
  199|  10.2k|        char buf[maxSize];
  200|  20.4k|        for (int i = 0; i < arraySizes->getNumDims(); ++i) {
  ------------------
  |  Branch (200:25): [True: 10.2k, False: 10.2k]
  ------------------
  201|  10.2k|            if (arraySizes->getDimNode(i)) {
  ------------------
  |  Branch (201:17): [True: 0, False: 10.2k]
  ------------------
  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|  10.2k|                snprintf(buf, maxSize, "%d", arraySizes->getDimSize(i));
  208|  10.2k|            mangledName += '[';
  209|  10.2k|            mangledName += buf;
  210|  10.2k|            mangledName += ']';
  211|  10.2k|        }
  212|  10.2k|    }
  213|  1.98M|}
_ZN7glslang9TFunctionD2Ev:
  297|  1.69M|{
  298|  5.56M|    for (TParamList::iterator i = parameters.begin(); i != parameters.end(); ++i)
  ------------------
  |  Branch (298:55): [True: 3.87M, False: 1.69M]
  ------------------
  299|  3.87M|        delete (*i).type;
  300|  1.69M|}
_ZN7glslang17TSymbolTableLevelD2Ev:
  306|  3.91k|{
  307|  1.71M|    for (tLevel::iterator it = level.begin(); it != level.end(); ++it) {
  ------------------
  |  Branch (307:47): [True: 1.71M, False: 3.91k]
  ------------------
  308|  1.71M|        const TString& name = it->first;
  309|  1.71M|        auto retargetIter = std::find_if(retargetedSymbols.begin(), retargetedSymbols.end(),
  310|  1.71M|                                      [&name](const std::pair<TString, TString>& i) { return i.first == name; });
  311|  1.71M|        if (retargetIter == retargetedSymbols.end())
  ------------------
  |  Branch (311:13): [True: 1.71M, False: 4]
  ------------------
  312|  1.71M|            delete (*it).second;
  313|  1.71M|    }
  314|       |
  315|       |
  316|  3.91k|    delete [] defaultPrecision;
  317|  3.91k|}
_ZN7glslang17TSymbolTableLevel16relateToOperatorEPKcNS_9TOperatorE:
  324|   708k|{
  325|   708k|    tLevel::const_iterator candidate = level.lower_bound(name);
  326|  6.56M|    while (candidate != level.end()) {
  ------------------
  |  Branch (326:12): [True: 6.28M, False: 278k]
  ------------------
  327|  6.28M|        const TString& candidateName = (*candidate).first;
  328|  6.28M|        TString::size_type parenAt = candidateName.find_first_of('(');
  329|  6.28M|        if (parenAt != candidateName.npos && candidateName.compare(0, parenAt, name) == 0) {
  ------------------
  |  Branch (329:13): [True: 6.25M, False: 25.5k]
  |  Branch (329:46): [True: 5.85M, False: 403k]
  ------------------
  330|  5.85M|            TFunction* function = (*candidate).second->getAsFunction();
  331|  5.85M|            function->relateToOperator(op);
  332|  5.85M|        } else
  333|   429k|            break;
  334|  5.85M|        ++candidate;
  335|  5.85M|    }
  336|   708k|}
_ZN7glslang17TSymbolTableLevel21setFunctionExtensionsEPKciPKS2_:
  341|  59.7k|{
  342|  59.7k|    tLevel::const_iterator candidate = level.lower_bound(name);
  343|   397k|    while (candidate != level.end()) {
  ------------------
  |  Branch (343:12): [True: 390k, False: 7.21k]
  ------------------
  344|   390k|        const TString& candidateName = (*candidate).first;
  345|   390k|        TString::size_type parenAt = candidateName.find_first_of('(');
  346|   390k|        if (parenAt != candidateName.npos && candidateName.compare(0, parenAt, name) == 0) {
  ------------------
  |  Branch (346:13): [True: 388k, False: 2.48k]
  |  Branch (346:46): [True: 338k, False: 50.0k]
  ------------------
  347|   338k|            TSymbol* symbol = candidate->second;
  348|   338k|            symbol->setExtensions(num, extensions);
  349|   338k|        } else
  350|  52.5k|            break;
  351|   338k|        ++candidate;
  352|   338k|    }
  353|  59.7k|}
_ZN7glslang17TSymbolTableLevel29setFunctionExtensionsCallbackEPKcRKNSt3__18functionIFNS3_6vectorIS2_NS3_9allocatorIS2_EEEES2_EEE:
  357|    260|{
  358|    260|    tLevel::const_iterator candidate = level.lower_bound(name);
  359|  3.60k|    while (candidate != level.end()) {
  ------------------
  |  Branch (359:12): [True: 3.60k, False: 0]
  ------------------
  360|  3.60k|        const TString& candidateName = (*candidate).first;
  361|  3.60k|        TString::size_type parenAt = candidateName.find_first_of('(');
  362|  3.60k|        if (parenAt != candidateName.npos && candidateName.compare(0, parenAt, name) == 0) {
  ------------------
  |  Branch (362:13): [True: 3.59k, False: 10]
  |  Branch (362:46): [True: 3.34k, False: 250]
  ------------------
  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|    260|            break;
  369|  3.34k|        ++candidate;
  370|  3.34k|    }
  371|    260|}
_ZN7glslang17TSymbolTableLevel8readOnlyEv:
  387|  2.81k|{
  388|  6.56M|    for (tLevel::iterator it = level.begin(); it != level.end(); ++it)
  ------------------
  |  Branch (388:47): [True: 6.56M, False: 2.81k]
  ------------------
  389|  6.56M|        (*it).second->makeReadOnly();
  390|  2.81k|}
_ZN7glslang7TSymbolC2ERKS0_:
  396|   843k|{
  397|   843k|    name = NewPoolTString(copyOf.name->c_str());
  398|   843k|    mangledName = NewPoolTString(copyOf.mangledName->c_str());
  399|   843k|    uniqueId = copyOf.uniqueId;
  400|   843k|    writable = true;
  401|   843k|}
_ZN7glslang9TVariableC2ERKS0_:
  403|  8.89k|TVariable::TVariable(const TVariable& copyOf) : TSymbol(copyOf)
  404|  8.89k|{
  405|  8.89k|    type.deepCopy(copyOf.type);
  406|  8.89k|    userType = copyOf.userType;
  407|       |
  408|       |    // we don't support specialization-constant subtrees in cloned tables, only extensions
  409|  8.89k|    constSubtree = nullptr;
  410|  8.89k|    extensions = nullptr;
  411|  8.89k|    memberExtensions = nullptr;
  412|  8.89k|    if (copyOf.getNumExtensions() > 0)
  ------------------
  |  Branch (412:9): [True: 6.24k, False: 2.64k]
  ------------------
  413|  6.24k|        setExtensions(copyOf.getNumExtensions(), copyOf.getExtensions());
  414|  8.89k|    if (copyOf.hasMemberExtensions()) {
  ------------------
  |  Branch (414:9): [True: 30, False: 8.86k]
  ------------------
  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.89k|    if (! copyOf.constArray.empty()) {
  ------------------
  |  Branch (421:9): [True: 565, False: 8.33k]
  ------------------
  422|       |        assert(! copyOf.type.isStruct());
  423|    565|        TConstUnionArray newArray(copyOf.constArray, 0, copyOf.constArray.size());
  424|    565|        constArray = newArray;
  425|    565|    }
  426|  8.89k|}
_ZNK7glslang9TVariable5cloneEv:
  429|  8.89k|{
  430|  8.89k|    TVariable *variable = new TVariable(*this);
  431|       |
  432|  8.89k|    return variable;
  433|  8.89k|}
_ZN7glslang9TFunctionC2ERKS0_:
  435|   834k|TFunction::TFunction(const TFunction& copyOf) : TSymbol(copyOf)
  436|   834k|{
  437|  2.73M|    for (unsigned int i = 0; i < copyOf.parameters.size(); ++i) {
  ------------------
  |  Branch (437:30): [True: 1.90M, False: 834k]
  ------------------
  438|  1.90M|        TParameter param{};
  439|  1.90M|        parameters.push_back(param);
  440|  1.90M|        (void)parameters.back().copyParam(copyOf.parameters[i]);
  441|  1.90M|    }
  442|       |
  443|   834k|    extensions = nullptr;
  444|   834k|    if (copyOf.getNumExtensions() > 0)
  ------------------
  |  Branch (444:9): [True: 336k, False: 497k]
  ------------------
  445|   336k|        setExtensions(copyOf.getNumExtensions(), copyOf.getExtensions());
  446|   834k|    returnType.deepCopy(copyOf.returnType);
  447|   834k|    mangledName = copyOf.mangledName;
  448|   834k|    op = copyOf.op;
  449|   834k|    defined = copyOf.defined;
  450|   834k|    prototyped = copyOf.prototyped;
  451|   834k|    implicitThis = copyOf.implicitThis;
  452|   834k|    variadic = copyOf.variadic;
  453|   834k|    illegalImplicitThis = copyOf.illegalImplicitThis;
  454|   834k|    defaultParamCount = copyOf.defaultParamCount;
  455|   834k|    spirvInst = copyOf.spirvInst;
  456|   834k|}
_ZNK7glslang9TFunction5cloneEv:
  459|   834k|{
  460|   834k|    TFunction *function = new TFunction(*this);
  461|       |
  462|   834k|    return function;
  463|   834k|}
_ZNK7glslang17TSymbolTableLevel5cloneEv:
  476|  1.50k|{
  477|  1.50k|    TSymbolTableLevel *symTableLevel = new TSymbolTableLevel();
  478|  1.50k|    symTableLevel->anonId = anonId;
  479|  1.50k|    symTableLevel->thisLevel = thisLevel;
  480|  1.50k|    symTableLevel->retargetedSymbols.clear();
  481|  1.50k|    for (auto &s : retargetedSymbols) {
  ------------------
  |  Branch (481:18): [True: 0, False: 1.50k]
  ------------------
  482|      0|        symTableLevel->retargetedSymbols.push_back({s.first, s.second});
  483|      0|    }
  484|  1.50k|    std::vector<bool> containerCopied(anonId, false);
  485|  1.50k|    tLevel::const_iterator iter;
  486|   845k|    for (iter = level.begin(); iter != level.end(); ++iter) {
  ------------------
  |  Branch (486:32): [True: 843k, False: 1.50k]
  ------------------
  487|   843k|        const TAnonMember* anon = iter->second->getAsAnonMember();
  488|   843k|        if (anon) {
  ------------------
  |  Branch (488:13): [True: 96, False: 843k]
  ------------------
  489|       |            // Insert all the anonymous members of this same container at once,
  490|       |            // avoid inserting the remaining members in the future, once this has been done,
  491|       |            // allowing them to all be part of the same new container.
  492|     96|            if (! containerCopied[anon->getAnonId()]) {
  ------------------
  |  Branch (492:17): [True: 27, False: 69]
  ------------------
  493|     27|                TVariable* container = anon->getAnonContainer().clone();
  494|     27|                container->changeName(NewPoolTString(""));
  495|       |                // insert the container and all its members
  496|     27|                symTableLevel->insert(*container, false);
  497|     27|                containerCopied[anon->getAnonId()] = true;
  498|     27|            }
  499|   843k|        } else {
  500|   843k|            const TString& name = iter->first;
  501|   843k|            auto retargetIter = std::find_if(retargetedSymbols.begin(), retargetedSymbols.end(),
  502|   843k|                                          [&name](const std::pair<TString, TString>& i) { return i.first == name; });
  503|   843k|            if (retargetIter != retargetedSymbols.end())
  ------------------
  |  Branch (503:17): [True: 0, False: 843k]
  ------------------
  504|      0|                continue;
  505|   843k|            symTableLevel->insert(*iter->second->clone(), false);
  506|   843k|        }
  507|   843k|    }
  508|       |    // Now point retargeted symbols to the newly created versions of them
  509|  1.50k|    for (auto &s : retargetedSymbols) {
  ------------------
  |  Branch (509:18): [True: 0, False: 1.50k]
  ------------------
  510|      0|        TSymbol* sym = symTableLevel->find(s.second);
  511|      0|        if (!sym)
  ------------------
  |  Branch (511:13): [True: 0, False: 0]
  ------------------
  512|      0|            continue;
  513|      0|        symTableLevel->insert(s.first, sym);
  514|      0|    }
  515|       |
  516|  1.50k|    return symTableLevel;
  517|  1.50k|}
_ZN7glslang12TSymbolTable9copyTableERKS0_:
  520|  1.50k|{
  521|  1.50k|    assert(adoptedLevels == copyOf.adoptedLevels);
  522|       |
  523|  1.50k|    uniqueId = copyOf.uniqueId;
  524|  1.50k|    noBuiltInRedeclarations = copyOf.noBuiltInRedeclarations;
  525|  1.50k|    separateNameSpaces = copyOf.separateNameSpaces;
  526|  3.00k|    for (unsigned int i = copyOf.adoptedLevels; i < copyOf.table.size(); ++i)
  ------------------
  |  Branch (526:49): [True: 1.50k, False: 1.50k]
  ------------------
  527|  1.50k|        table.push_back(copyOf.table[i]->clone());
  528|  1.50k|}
SymbolTable.cpp:_ZZN7glslang17TSymbolTableLevelD1EvENK3$_0clERKNSt3__14pairINS2_12basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEES9_EE:
  310|    440|                                      [&name](const std::pair<TString, TString>& i) { return i.first == name; });

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

_Z7yyparsePN7glslang13TParseContextE:
 5620|    669|{
 5621|       |/* Lookahead token kind.  */
 5622|    669|int yychar;
 5623|       |
 5624|       |
 5625|       |/* The semantic value of the lookahead symbol.  */
 5626|       |/* Default value used for initialization, for pacifying older GCCs
 5627|       |   or non-GCC compilers.  */
 5628|    669|YY_INITIAL_VALUE (static YYSTYPE yyval_default;)
  ------------------
  |  |  956|    669|# define YY_INITIAL_VALUE(Value) Value
  ------------------
 5629|    669|YYSTYPE yylval YY_INITIAL_VALUE (= yyval_default);
  ------------------
  |  |  956|    669|# define YY_INITIAL_VALUE(Value) Value
  ------------------
 5630|       |
 5631|       |    /* Number of syntax errors so far.  */
 5632|    669|    int yynerrs = 0;
 5633|       |
 5634|    669|    yy_state_fast_t yystate = 0;
 5635|       |    /* Number of tokens to shift before error messages enabled.  */
 5636|    669|    int yyerrstatus = 0;
 5637|       |
 5638|       |    /* Refer to the stacks through separate pointers, to allow yyoverflow
 5639|       |       to reallocate them elsewhere.  */
 5640|       |
 5641|       |    /* Their size.  */
 5642|    669|    YYPTRDIFF_T yystacksize = YYINITDEPTH;
  ------------------
  |  |  863|    669|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
                  YYPTRDIFF_T yystacksize = YYINITDEPTH;
  ------------------
  |  | 5304|    669|# define YYINITDEPTH 200
  ------------------
 5643|       |
 5644|       |    /* The state stack: array, bottom, top.  */
 5645|    669|    yy_state_t yyssa[YYINITDEPTH];
 5646|    669|    yy_state_t *yyss = yyssa;
 5647|    669|    yy_state_t *yyssp = yyss;
 5648|       |
 5649|       |    /* The semantic value stack: array, bottom, top.  */
 5650|    669|    YYSTYPE yyvsa[YYINITDEPTH];
 5651|    669|    YYSTYPE *yyvs = yyvsa;
 5652|    669|    YYSTYPE *yyvsp = yyvs;
 5653|       |
 5654|    669|  int yyn;
 5655|       |  /* The return value of yyparse.  */
 5656|    669|  int yyresult;
 5657|       |  /* Lookahead symbol kind.  */
 5658|    669|  yysymbol_kind_t yytoken = YYSYMBOL_YYEMPTY;
 5659|       |  /* The variables used to return semantic value and location from the
 5660|       |     action routines.  */
 5661|    669|  YYSTYPE yyval;
 5662|       |
 5663|       |  /* Buffer for error messages, and its allocated size.  */
 5664|    669|  char yymsgbuf[128];
 5665|    669|  char *yymsg = yymsgbuf;
 5666|    669|  YYPTRDIFF_T yymsg_alloc = sizeof yymsgbuf;
  ------------------
  |  |  863|    669|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5667|       |
 5668|    669|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
 5669|       |
 5670|       |  /* The number of symbols on the RHS of the reduced rule.
 5671|       |     Keep to zero when no symbol should be popped.  */
 5672|    669|  int yylen = 0;
 5673|       |
 5674|    669|  YYDPRINTF ((stderr, "Starting parse\n"));
  ------------------
  |  | 5182|    669|# define YYDPRINTF(Args)                        \
  |  | 5183|    669|do {                                            \
  |  | 5184|    669|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (5184:7): [True: 0, False: 669]
  |  |  ------------------
  |  | 5185|    669|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 5179|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5186|    669|} while (0)
  |  |  ------------------
  |  |  |  Branch (5186:10): [Folded, False: 669]
  |  |  ------------------
  ------------------
 5675|       |
 5676|    669|  yychar = YYEMPTY; /* Cause a token to be read.  */
 5677|       |
 5678|    669|  goto yysetstate;
 5679|       |
 5680|       |
 5681|       |/*------------------------------------------------------------.
 5682|       || yynewstate -- push a new state, which is found in yystate.  |
 5683|       |`------------------------------------------------------------*/
 5684|  20.7M|yynewstate:
 5685|       |  /* In all cases, when you get here, the value and location stacks
 5686|       |     have just been pushed.  So pushing a state here evens the stacks.  */
 5687|  20.7M|  yyssp++;
 5688|       |
 5689|       |
 5690|       |/*--------------------------------------------------------------------.
 5691|       || yysetstate -- set current state (the top of the stack) to yystate.  |
 5692|       |`--------------------------------------------------------------------*/
 5693|  20.7M|yysetstate:
 5694|  20.7M|  YYDPRINTF ((stderr, "Entering state %d\n", yystate));
  ------------------
  |  | 5182|  20.7M|# define YYDPRINTF(Args)                        \
  |  | 5183|  20.7M|do {                                            \
  |  | 5184|  20.7M|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (5184:7): [True: 0, False: 20.7M]
  |  |  ------------------
  |  | 5185|  20.7M|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 5179|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5186|  20.7M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5186:10): [Folded, False: 20.7M]
  |  |  ------------------
  ------------------
 5695|  20.7M|  YY_ASSERT (0 <= yystate && yystate < YYNSTATES);
  ------------------
  |  |  979|  20.7M|#define YY_ASSERT(E) ((void) (0 && (E)))
  |  |  ------------------
  |  |  |  Branch (979:31): [Folded, False: 20.7M]
  |  |  |  Branch (979:37): [True: 0, False: 0]
  |  |  |  Branch (979:37): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5696|  20.7M|  YY_IGNORE_USELESS_CAST_BEGIN
 5697|  20.7M|  *yyssp = YY_CAST (yy_state_t, yystate);
  ------------------
  |  |  100|  20.7M|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  ------------------
 5698|  20.7M|  YY_IGNORE_USELESS_CAST_END
 5699|  20.7M|  YY_STACK_PRINT (yyss, yyssp);
  ------------------
  |  | 5254|  20.7M|# define YY_STACK_PRINT(Bottom, Top)                            \
  |  | 5255|  20.7M|do {                                                            \
  |  | 5256|  20.7M|  if (yydebug)                                                  \
  |  |  ------------------
  |  |  |  Branch (5256:7): [True: 0, False: 20.7M]
  |  |  ------------------
  |  | 5257|  20.7M|    yy_stack_print ((Bottom), (Top));                           \
  |  | 5258|  20.7M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5258:10): [Folded, False: 20.7M]
  |  |  ------------------
  ------------------
 5700|       |
 5701|  20.7M|  if (yyss + yystacksize - 1 <= yyssp)
  ------------------
  |  Branch (5701:7): [True: 0, False: 20.7M]
  ------------------
 5702|       |#if !defined yyoverflow && !defined YYSTACK_RELOCATE
 5703|       |    YYNOMEM;
 5704|       |#else
 5705|      0|    {
 5706|       |      /* Get the current used size of the three stacks, in elements.  */
 5707|      0|      YYPTRDIFF_T yysize = yyssp - yyss + 1;
  ------------------
  |  |  863|      0|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5708|       |
 5709|       |# if defined yyoverflow
 5710|       |      {
 5711|       |        /* Give user a chance to reallocate the stack.  Use copies of
 5712|       |           these so that the &'s don't force the real ones into
 5713|       |           memory.  */
 5714|       |        yy_state_t *yyss1 = yyss;
 5715|       |        YYSTYPE *yyvs1 = yyvs;
 5716|       |
 5717|       |        /* Each stack pointer address is followed by the size of the
 5718|       |           data in use in that stack, in bytes.  This used to be a
 5719|       |           conditional around just the two extra args, but that might
 5720|       |           be undefined if yyoverflow is a macro.  */
 5721|       |        yyoverflow (YY_("memory exhausted"),
 5722|       |                    &yyss1, yysize * YYSIZEOF (*yyssp),
 5723|       |                    &yyvs1, yysize * YYSIZEOF (*yyvsp),
 5724|       |                    &yystacksize);
 5725|       |        yyss = yyss1;
 5726|       |        yyvs = yyvs1;
 5727|       |      }
 5728|       |# else /* defined YYSTACK_RELOCATE */
 5729|       |      /* Extend the stack our own way.  */
 5730|      0|      if (YYMAXDEPTH <= yystacksize)
  ------------------
  |  | 5315|      0|# define YYMAXDEPTH 10000
  ------------------
  |  Branch (5730:11): [True: 0, False: 0]
  ------------------
 5731|      0|        YYNOMEM;
  ------------------
  |  | 5147|      0|#define YYNOMEM         goto yyexhaustedlab
  ------------------
 5732|      0|      yystacksize *= 2;
 5733|      0|      if (YYMAXDEPTH < yystacksize)
  ------------------
  |  | 5315|      0|# define YYMAXDEPTH 10000
  ------------------
  |  Branch (5733:11): [True: 0, False: 0]
  ------------------
 5734|      0|        yystacksize = YYMAXDEPTH;
  ------------------
  |  | 5315|      0|# define YYMAXDEPTH 10000
  ------------------
 5735|       |
 5736|      0|      {
 5737|      0|        yy_state_t *yyss1 = yyss;
 5738|      0|        union yyalloc *yyptr =
 5739|      0|          YY_CAST (union yyalloc *,
  ------------------
  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  ------------------
 5740|      0|                   YYSTACK_ALLOC (YY_CAST (YYSIZE_T, YYSTACK_BYTES (yystacksize))));
 5741|      0|        if (! yyptr)
  ------------------
  |  Branch (5741:13): [True: 0, False: 0]
  ------------------
 5742|      0|          YYNOMEM;
  ------------------
  |  | 5147|      0|#define YYNOMEM         goto yyexhaustedlab
  ------------------
 5743|      0|        YYSTACK_RELOCATE (yyss_alloc, yyss);
  ------------------
  |  | 1076|      0|    do                                                                  \
  |  | 1077|      0|      {                                                                 \
  |  | 1078|      0|        YYPTRDIFF_T yynewbytes;                                         \
  |  |  ------------------
  |  |  |  |  863|      0|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  |  |  ------------------
  |  | 1079|      0|        YYCOPY (&yyptr->Stack_alloc, Stack, yysize);                    \
  |  |  ------------------
  |  |  |  | 1094|      0|      __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1080|      0|        Stack = &yyptr->Stack_alloc;                                    \
  |  | 1081|      0|        yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  |  896|      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; \
  |  |  ------------------
  |  |  |  | 1060|      0|# define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  896|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1082|      0|        yyptr += yynewbytes / YYSIZEOF (*yyptr);                        \
  |  |  ------------------
  |  |  |  |  896|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1083|      0|      }                                                                 \
  |  | 1084|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (1084:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5744|      0|        YYSTACK_RELOCATE (yyvs_alloc, yyvs);
  ------------------
  |  | 1076|      0|    do                                                                  \
  |  | 1077|      0|      {                                                                 \
  |  | 1078|      0|        YYPTRDIFF_T yynewbytes;                                         \
  |  |  ------------------
  |  |  |  |  863|      0|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  |  |  ------------------
  |  | 1079|      0|        YYCOPY (&yyptr->Stack_alloc, Stack, yysize);                    \
  |  |  ------------------
  |  |  |  | 1094|      0|      __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1080|      0|        Stack = &yyptr->Stack_alloc;                                    \
  |  | 1081|      0|        yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  |  896|      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; \
  |  |  ------------------
  |  |  |  | 1060|      0|# define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  896|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1082|      0|        yyptr += yynewbytes / YYSIZEOF (*yyptr);                        \
  |  |  ------------------
  |  |  |  |  896|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1083|      0|      }                                                                 \
  |  | 1084|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (1084:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5745|      0|#  undef YYSTACK_RELOCATE
 5746|      0|        if (yyss1 != yyssa)
  ------------------
  |  Branch (5746:13): [True: 0, False: 0]
  ------------------
 5747|      0|          YYSTACK_FREE (yyss1);
  ------------------
  |  | 1021|      0|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  | 1040|      0|#   define YYFREE free
  |  |  ------------------
  ------------------
 5748|      0|      }
 5749|      0|# endif
 5750|       |
 5751|      0|      yyssp = yyss + yysize - 1;
 5752|      0|      yyvsp = yyvs + yysize - 1;
 5753|       |
 5754|      0|      YY_IGNORE_USELESS_CAST_BEGIN
 5755|      0|      YYDPRINTF ((stderr, "Stack size increased to %ld\n",
  ------------------
  |  | 5182|      0|# define YYDPRINTF(Args)                        \
  |  | 5183|      0|do {                                            \
  |  | 5184|      0|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (5184:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 5185|      0|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 5179|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5186|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (5186:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5756|      0|                  YY_CAST (long, yystacksize)));
 5757|      0|      YY_IGNORE_USELESS_CAST_END
 5758|       |
 5759|      0|      if (yyss + yystacksize - 1 <= yyssp)
  ------------------
  |  Branch (5759:11): [True: 0, False: 0]
  ------------------
 5760|      0|        YYABORT;
  ------------------
  |  | 5145|      0|#define YYABORT         goto yyabortlab
  ------------------
 5761|      0|    }
 5762|  20.7M|#endif /* !defined yyoverflow && !defined YYSTACK_RELOCATE */
 5763|       |
 5764|       |
 5765|  20.7M|  if (yystate == YYFINAL)
  ------------------
  |  | 1109|  20.7M|#define YYFINAL  496
  ------------------
  |  Branch (5765:7): [True: 642, False: 20.7M]
  ------------------
 5766|    642|    YYACCEPT;
  ------------------
  |  | 5144|    642|#define YYACCEPT        goto yyacceptlab
  ------------------
 5767|       |
 5768|  20.7M|  goto yybackup;
 5769|       |
 5770|       |
 5771|       |/*-----------.
 5772|       || yybackup.  |
 5773|       |`-----------*/
 5774|  20.7M|yybackup:
 5775|       |  /* Do appropriate processing given the current state.  Read a
 5776|       |     lookahead token if we need one and don't already have one.  */
 5777|       |
 5778|       |  /* First try to decide what to do without reference to lookahead token.  */
 5779|  20.7M|  yyn = yypact[yystate];
 5780|  20.7M|  if (yypact_value_is_default (yyn))
  ------------------
  |  | 1488|  20.7M|  ((Yyn) == YYPACT_NINF)
  |  |  ------------------
  |  |  |  | 1485|  20.7M|#define YYPACT_NINF (-936)
  |  |  ------------------
  |  |  |  Branch (1488:3): [True: 8.65M, False: 12.1M]
  |  |  ------------------
  ------------------
 5781|  8.65M|    goto yydefault;
 5782|       |
 5783|       |  /* Not known => get a lookahead token if don't already have one.  */
 5784|       |
 5785|       |  /* YYCHAR is either empty, or end-of-input, or a valid lookahead.  */
 5786|  12.1M|  if (yychar == YYEMPTY)
  ------------------
  |  Branch (5786:7): [True: 5.54M, False: 6.57M]
  ------------------
 5787|  5.54M|    {
 5788|  5.54M|      YYDPRINTF ((stderr, "Reading a token\n"));
  ------------------
  |  | 5182|  5.54M|# define YYDPRINTF(Args)                        \
  |  | 5183|  5.54M|do {                                            \
  |  | 5184|  5.54M|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (5184:7): [True: 0, False: 5.54M]
  |  |  ------------------
  |  | 5185|  5.54M|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 5179|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5186|  5.54M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5186:10): [Folded, False: 5.54M]
  |  |  ------------------
  ------------------
 5789|  5.54M|      yychar = yylex (&yylval, parseContext);
  ------------------
  |  |  781|  5.54M|#define parseContext (*pParseContext)
  ------------------
 5790|  5.54M|    }
 5791|       |
 5792|  12.1M|  if (yychar <= YYEOF)
  ------------------
  |  Branch (5792:7): [True: 681, False: 12.1M]
  ------------------
 5793|    681|    {
 5794|    681|      yychar = YYEOF;
 5795|    681|      yytoken = YYSYMBOL_YYEOF;
 5796|    681|      YYDPRINTF ((stderr, "Now at end of input.\n"));
  ------------------
  |  | 5182|    681|# define YYDPRINTF(Args)                        \
  |  | 5183|    681|do {                                            \
  |  | 5184|    681|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (5184:7): [True: 0, False: 681]
  |  |  ------------------
  |  | 5185|    681|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 5179|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5186|    681|} while (0)
  |  |  ------------------
  |  |  |  Branch (5186:10): [Folded, False: 681]
  |  |  ------------------
  ------------------
 5797|    681|    }
 5798|  12.1M|  else if (yychar == YYerror)
  ------------------
  |  Branch (5798:12): [True: 0, False: 12.1M]
  ------------------
 5799|      0|    {
 5800|       |      /* The scanner already issued an error message, process directly
 5801|       |         to error recovery.  But do not keep the error token as
 5802|       |         lookahead, it is too special and may lead us to an endless
 5803|       |         loop in error recovery. */
 5804|      0|      yychar = YYUNDEF;
 5805|      0|      yytoken = YYSYMBOL_YYerror;
 5806|      0|      goto yyerrlab1;
 5807|      0|    }
 5808|  12.1M|  else
 5809|  12.1M|    {
 5810|  12.1M|      yytoken = YYTRANSLATE (yychar);
  ------------------
  |  | 1129|  12.1M|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  | 1123|  12.1M|#define YYMAXUTOK   767
  |  |  ------------------
  |  |  |  Branch (1129:4): [True: 12.1M, False: 0]
  |  |  |  Branch (1129:18): [True: 12.1M, False: 0]
  |  |  ------------------
  |  | 1130|  12.1M|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  100|  12.1M|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  |  | 1131|  12.1M|   : YYSYMBOL_YYUNDEF)
  ------------------
 5811|  12.1M|      YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
  ------------------
  |  | 5191|  12.1M|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 5192|  12.1M|do {                                                                      \
  |  | 5193|  12.1M|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (5193:7): [True: 0, False: 12.1M]
  |  |  ------------------
  |  | 5194|  12.1M|    {                                                                     \
  |  | 5195|      0|      YYFPRINTF (stderr, "%s ", Title);                                   \
  |  |  ------------------
  |  |  |  | 5179|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5196|      0|      yy_symbol_print (stderr,                                            \
  |  | 5197|      0|                  Kind, Value, pParseContext); \
  |  | 5198|      0|      YYFPRINTF (stderr, "\n");                                           \
  |  |  ------------------
  |  |  |  | 5179|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5199|      0|    }                                                                     \
  |  | 5200|  12.1M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5200:10): [Folded, False: 12.1M]
  |  |  ------------------
  ------------------
 5812|  12.1M|    }
 5813|       |
 5814|       |  /* If the proper action on seeing token YYTOKEN is to reduce or to
 5815|       |     detect an error, take that action.  */
 5816|  12.1M|  yyn += yytoken;
 5817|  12.1M|  if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
  ------------------
  |  | 1111|  12.1M|#define YYLAST   15542
  ------------------
  |  Branch (5817:7): [True: 32, False: 12.1M]
  |  Branch (5817:18): [True: 0, False: 12.1M]
  |  Branch (5817:34): [True: 6.56M, False: 5.54M]
  ------------------
 5818|  6.56M|    goto yydefault;
 5819|  5.54M|  yyn = yytable[yyn];
 5820|  5.54M|  if (yyn <= 0)
  ------------------
  |  Branch (5820:7): [True: 2.18k, False: 5.54M]
  ------------------
 5821|  2.18k|    {
 5822|  2.18k|      if (yytable_value_is_error (yyn))
  ------------------
  |  | 1493|  2.18k|  0
  |  |  ------------------
  |  |  |  Branch (1493:3): [Folded, False: 2.18k]
  |  |  ------------------
  ------------------
 5823|      0|        goto yyerrlab;
 5824|  2.18k|      yyn = -yyn;
 5825|  2.18k|      goto yyreduce;
 5826|  2.18k|    }
 5827|       |
 5828|       |  /* Count tokens shifted since error; after three, turn off error
 5829|       |     status.  */
 5830|  5.54M|  if (yyerrstatus)
  ------------------
  |  Branch (5830:7): [True: 0, False: 5.54M]
  ------------------
 5831|      0|    yyerrstatus--;
 5832|       |
 5833|       |  /* Shift the lookahead token.  */
 5834|  5.54M|  YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
  ------------------
  |  | 5191|  5.54M|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 5192|  5.54M|do {                                                                      \
  |  | 5193|  5.54M|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (5193:7): [True: 0, False: 5.54M]
  |  |  ------------------
  |  | 5194|  5.54M|    {                                                                     \
  |  | 5195|      0|      YYFPRINTF (stderr, "%s ", Title);                                   \
  |  |  ------------------
  |  |  |  | 5179|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5196|      0|      yy_symbol_print (stderr,                                            \
  |  | 5197|      0|                  Kind, Value, pParseContext); \
  |  | 5198|      0|      YYFPRINTF (stderr, "\n");                                           \
  |  |  ------------------
  |  |  |  | 5179|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5199|      0|    }                                                                     \
  |  | 5200|  5.54M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5200:10): [Folded, False: 5.54M]
  |  |  ------------------
  ------------------
 5835|  5.54M|  yystate = yyn;
 5836|  5.54M|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 5837|  5.54M|  *++yyvsp = yylval;
 5838|  5.54M|  YY_IGNORE_MAYBE_UNINITIALIZED_END
 5839|       |
 5840|       |  /* Discard the shifted token.  */
 5841|  5.54M|  yychar = YYEMPTY;
 5842|  5.54M|  goto yynewstate;
 5843|       |
 5844|       |
 5845|       |/*-----------------------------------------------------------.
 5846|       || yydefault -- do the default action for the current state.  |
 5847|       |`-----------------------------------------------------------*/
 5848|  15.2M|yydefault:
 5849|  15.2M|  yyn = yydefact[yystate];
 5850|  15.2M|  if (yyn == 0)
  ------------------
  |  Branch (5850:7): [True: 27, False: 15.2M]
  ------------------
 5851|     27|    goto yyerrlab;
 5852|  15.2M|  goto yyreduce;
 5853|       |
 5854|       |
 5855|       |/*-----------------------------.
 5856|       || yyreduce -- do a reduction.  |
 5857|       |`-----------------------------*/
 5858|  15.2M|yyreduce:
 5859|       |  /* yyn is the number of a rule to reduce with.  */
 5860|  15.2M|  yylen = yyr2[yyn];
 5861|       |
 5862|       |  /* If YYLEN is nonzero, implement the default value of the action:
 5863|       |     '$$ = $1'.
 5864|       |
 5865|       |     Otherwise, the following line sets YYVAL to garbage.
 5866|       |     This behavior is undocumented and Bison
 5867|       |     users should not rely upon it.  Assigning to YYVAL
 5868|       |     unconditionally makes the parser a bit smaller, and it avoids a
 5869|       |     GCC warning that YYVAL may be used uninitialized.  */
 5870|  15.2M|  yyval = yyvsp[1-yylen];
 5871|       |
 5872|       |
 5873|  15.2M|  YY_REDUCE_PRINT (yyn);
  ------------------
  |  | 5285|  15.2M|# define YY_REDUCE_PRINT(Rule)          \
  |  | 5286|  15.2M|do {                                    \
  |  | 5287|  15.2M|  if (yydebug)                          \
  |  |  ------------------
  |  |  |  Branch (5287:7): [True: 0, False: 15.2M]
  |  |  ------------------
  |  | 5288|  15.2M|    yy_reduce_print (yyssp, yyvsp, Rule, pParseContext); \
  |  | 5289|  15.2M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5289:10): [Folded, False: 15.2M]
  |  |  ------------------
  ------------------
 5874|  15.2M|  switch (yyn)
 5875|  15.2M|    {
 5876|  10.9k|  case 2: /* variable_identifier: IDENTIFIER  */
  ------------------
  |  Branch (5876:3): [True: 10.9k, False: 15.2M]
  ------------------
 5877|  10.9k|#line 370 "MachineIndependent/glslang.y"
 5878|  10.9k|                 {
 5879|  10.9k|        (yyval.interm.intermTypedNode) = parseContext.handleVariable((yyvsp[0].lex).loc, (yyvsp[0].lex).symbol, (yyvsp[0].lex).string);
  ------------------
  |  |  781|  10.9k|#define parseContext (*pParseContext)
  ------------------
 5880|  10.9k|    }
 5881|  10.9k|#line 5882 "MachineIndependent/glslang_tab.cpp"
 5882|  10.9k|    break;
 5883|       |
 5884|  10.9k|  case 3: /* primary_expression: variable_identifier  */
  ------------------
  |  Branch (5884:3): [True: 10.9k, False: 15.2M]
  ------------------
 5885|  10.9k|#line 376 "MachineIndependent/glslang.y"
 5886|  10.9k|                          {
 5887|  10.9k|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 5888|  10.9k|    }
 5889|  10.9k|#line 5890 "MachineIndependent/glslang_tab.cpp"
 5890|  10.9k|    break;
 5891|       |
 5892|      0|  case 4: /* primary_expression: LEFT_PAREN expression RIGHT_PAREN  */
  ------------------
  |  Branch (5892:3): [True: 0, False: 15.2M]
  ------------------
 5893|      0|#line 379 "MachineIndependent/glslang.y"
 5894|      0|                                        {
 5895|      0|        (yyval.interm.intermTypedNode) = (yyvsp[-1].interm.intermTypedNode);
 5896|      0|        if ((yyval.interm.intermTypedNode)->getAsConstantUnion())
  ------------------
  |  Branch (5896:13): [True: 0, False: 0]
  ------------------
 5897|      0|            (yyval.interm.intermTypedNode)->getAsConstantUnion()->setExpression();
 5898|      0|    }
 5899|      0|#line 5900 "MachineIndependent/glslang_tab.cpp"
 5900|      0|    break;
 5901|       |
 5902|    219|  case 5: /* primary_expression: FLOATCONSTANT  */
  ------------------
  |  Branch (5902:3): [True: 219, False: 15.2M]
  ------------------
 5903|    219|#line 384 "MachineIndependent/glslang.y"
 5904|    219|                    {
 5905|    219|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  781|    219|#define parseContext (*pParseContext)
  ------------------
 5906|    219|    }
 5907|    219|#line 5908 "MachineIndependent/glslang_tab.cpp"
 5908|    219|    break;
 5909|       |
 5910|  9.76k|  case 6: /* primary_expression: INTCONSTANT  */
  ------------------
  |  Branch (5910:3): [True: 9.76k, False: 15.2M]
  ------------------
 5911|  9.76k|#line 387 "MachineIndependent/glslang.y"
 5912|  9.76k|                  {
 5913|  9.76k|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  781|  9.76k|#define parseContext (*pParseContext)
  ------------------
 5914|  9.76k|    }
 5915|  9.76k|#line 5916 "MachineIndependent/glslang_tab.cpp"
 5916|  9.76k|    break;
 5917|       |
 5918|    322|  case 7: /* primary_expression: UINTCONSTANT  */
  ------------------
  |  Branch (5918:3): [True: 322, False: 15.2M]
  ------------------
 5919|    322|#line 390 "MachineIndependent/glslang.y"
 5920|    322|                   {
 5921|    322|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned literal");
  ------------------
  |  |  781|    322|#define parseContext (*pParseContext)
  ------------------
 5922|    322|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  781|    322|#define parseContext (*pParseContext)
  ------------------
 5923|    322|    }
 5924|    322|#line 5925 "MachineIndependent/glslang_tab.cpp"
 5925|    322|    break;
 5926|       |
 5927|      0|  case 8: /* primary_expression: BOOLCONSTANT  */
  ------------------
  |  Branch (5927:3): [True: 0, False: 15.2M]
  ------------------
 5928|      0|#line 394 "MachineIndependent/glslang.y"
 5929|      0|                   {
 5930|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).b, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 5931|      0|    }
 5932|      0|#line 5933 "MachineIndependent/glslang_tab.cpp"
 5933|      0|    break;
 5934|       |
 5935|      0|  case 9: /* primary_expression: STRING_LITERAL  */
  ------------------
  |  Branch (5935:3): [True: 0, False: 15.2M]
  ------------------
 5936|      0|#line 397 "MachineIndependent/glslang.y"
 5937|      0|                     {
 5938|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 5939|      0|    }
 5940|      0|#line 5941 "MachineIndependent/glslang_tab.cpp"
 5941|      0|    break;
 5942|       |
 5943|      0|  case 10: /* primary_expression: INT32CONSTANT  */
  ------------------
  |  Branch (5943:3): [True: 0, False: 15.2M]
  ------------------
 5944|      0|#line 400 "MachineIndependent/glslang.y"
 5945|      0|                    {
 5946|      0|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed literal");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 5947|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 5948|      0|    }
 5949|      0|#line 5950 "MachineIndependent/glslang_tab.cpp"
 5950|      0|    break;
 5951|       |
 5952|      0|  case 11: /* primary_expression: UINT32CONSTANT  */
  ------------------
  |  Branch (5952:3): [True: 0, False: 15.2M]
  ------------------
 5953|      0|#line 404 "MachineIndependent/glslang.y"
 5954|      0|                     {
 5955|      0|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed literal");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 5956|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 5957|      0|    }
 5958|      0|#line 5959 "MachineIndependent/glslang_tab.cpp"
 5959|      0|    break;
 5960|       |
 5961|      0|  case 12: /* primary_expression: INT64CONSTANT  */
  ------------------
  |  Branch (5961:3): [True: 0, False: 15.2M]
  ------------------
 5962|      0|#line 408 "MachineIndependent/glslang.y"
 5963|      0|                    {
 5964|      0|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer literal");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 5965|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i64, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 5966|      0|    }
 5967|      0|#line 5968 "MachineIndependent/glslang_tab.cpp"
 5968|      0|    break;
 5969|       |
 5970|      0|  case 13: /* primary_expression: UINT64CONSTANT  */
  ------------------
  |  Branch (5970:3): [True: 0, False: 15.2M]
  ------------------
 5971|      0|#line 412 "MachineIndependent/glslang.y"
 5972|      0|                     {
 5973|      0|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer literal");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 5974|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u64, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 5975|      0|    }
 5976|      0|#line 5977 "MachineIndependent/glslang_tab.cpp"
 5977|      0|    break;
 5978|       |
 5979|      0|  case 14: /* primary_expression: INT16CONSTANT  */
  ------------------
  |  Branch (5979:3): [True: 0, False: 15.2M]
  ------------------
 5980|      0|#line 416 "MachineIndependent/glslang.y"
 5981|      0|                    {
 5982|      0|        parseContext.explicitInt16Check((yyvsp[0].lex).loc, "16-bit integer literal");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 5983|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((short)(yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 5984|      0|    }
 5985|      0|#line 5986 "MachineIndependent/glslang_tab.cpp"
 5986|      0|    break;
 5987|       |
 5988|      0|  case 15: /* primary_expression: UINT16CONSTANT  */
  ------------------
  |  Branch (5988:3): [True: 0, False: 15.2M]
  ------------------
 5989|      0|#line 420 "MachineIndependent/glslang.y"
 5990|      0|                     {
 5991|      0|        parseContext.explicitInt16Check((yyvsp[0].lex).loc, "16-bit unsigned integer literal");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 5992|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((unsigned short)(yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 5993|      0|    }
 5994|      0|#line 5995 "MachineIndependent/glslang_tab.cpp"
 5995|      0|    break;
 5996|       |
 5997|      0|  case 16: /* primary_expression: DOUBLECONSTANT  */
  ------------------
  |  Branch (5997:3): [True: 0, False: 15.2M]
  ------------------
 5998|      0|#line 424 "MachineIndependent/glslang.y"
 5999|      0|                     {
 6000|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double literal");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6001|      0|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6001:13): [True: 0, False: 0]
  ------------------
 6002|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double literal");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6003|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtDouble, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6004|      0|    }
 6005|      0|#line 6006 "MachineIndependent/glslang_tab.cpp"
 6006|      0|    break;
 6007|       |
 6008|      0|  case 17: /* primary_expression: FLOAT16CONSTANT  */
  ------------------
  |  Branch (6008:3): [True: 0, False: 15.2M]
  ------------------
 6009|      0|#line 430 "MachineIndependent/glslang.y"
 6010|      0|                      {
 6011|      0|        parseContext.float16Check((yyvsp[0].lex).loc, "half float literal");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6012|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat16, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6013|      0|    }
 6014|      0|#line 6015 "MachineIndependent/glslang_tab.cpp"
 6015|      0|    break;
 6016|       |
 6017|      0|  case 18: /* primary_expression: FLOATE2M1CONSTANT  */
  ------------------
  |  Branch (6017:3): [True: 0, False: 15.2M]
  ------------------
 6018|      0|#line 434 "MachineIndependent/glslang.y"
 6019|      0|                        {
 6020|      0|        parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 literal");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6021|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloatE2M1, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6022|      0|    }
 6023|      0|#line 6024 "MachineIndependent/glslang_tab.cpp"
 6024|      0|    break;
 6025|       |
 6026|      0|  case 19: /* primary_expression: FLOATE3M2CONSTANT  */
  ------------------
  |  Branch (6026:3): [True: 0, False: 15.2M]
  ------------------
 6027|      0|#line 438 "MachineIndependent/glslang.y"
 6028|      0|                        {
 6029|      0|        parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 literal");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6030|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloatE3M2, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6031|      0|    }
 6032|      0|#line 6033 "MachineIndependent/glslang_tab.cpp"
 6033|      0|    break;
 6034|       |
 6035|      0|  case 20: /* primary_expression: FLOATE2M3CONSTANT  */
  ------------------
  |  Branch (6035:3): [True: 0, False: 15.2M]
  ------------------
 6036|      0|#line 442 "MachineIndependent/glslang.y"
 6037|      0|                        {
 6038|      0|        parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 literal");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6039|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloatE2M3, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6040|      0|    }
 6041|      0|#line 6042 "MachineIndependent/glslang_tab.cpp"
 6042|      0|    break;
 6043|       |
 6044|      0|  case 21: /* primary_expression: FLOATUE8M0CONSTANT  */
  ------------------
  |  Branch (6044:3): [True: 0, False: 15.2M]
  ------------------
 6045|      0|#line 446 "MachineIndependent/glslang.y"
 6046|      0|                         {
 6047|      0|        parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 literal");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6048|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloatUE8M0, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6049|      0|    }
 6050|      0|#line 6051 "MachineIndependent/glslang_tab.cpp"
 6051|      0|    break;
 6052|       |
 6053|      0|  case 22: /* primary_expression: FLOATMXINT8CONSTANT  */
  ------------------
  |  Branch (6053:3): [True: 0, False: 15.2M]
  ------------------
 6054|      0|#line 450 "MachineIndependent/glslang.y"
 6055|      0|                          {
 6056|      0|        parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 literal");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6057|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloatMXINT8, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6058|      0|    }
 6059|      0|#line 6060 "MachineIndependent/glslang_tab.cpp"
 6060|      0|    break;
 6061|       |
 6062|  21.2k|  case 23: /* postfix_expression: primary_expression  */
  ------------------
  |  Branch (6062:3): [True: 21.2k, False: 15.2M]
  ------------------
 6063|  21.2k|#line 457 "MachineIndependent/glslang.y"
 6064|  21.2k|                         {
 6065|  21.2k|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6066|  21.2k|    }
 6067|  21.2k|#line 6068 "MachineIndependent/glslang_tab.cpp"
 6068|  21.2k|    break;
 6069|       |
 6070|      0|  case 24: /* postfix_expression: postfix_expression LEFT_BRACKET integer_expression RIGHT_BRACKET  */
  ------------------
  |  Branch (6070:3): [True: 0, False: 15.2M]
  ------------------
 6071|      0|#line 460 "MachineIndependent/glslang.y"
 6072|      0|                                                                       {
 6073|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBracketDereference((yyvsp[-2].lex).loc, (yyvsp[-3].interm.intermTypedNode), (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6074|      0|    }
 6075|      0|#line 6076 "MachineIndependent/glslang_tab.cpp"
 6076|      0|    break;
 6077|       |
 6078|  2.99k|  case 25: /* postfix_expression: function_call  */
  ------------------
  |  Branch (6078:3): [True: 2.99k, False: 15.2M]
  ------------------
 6079|  2.99k|#line 463 "MachineIndependent/glslang.y"
 6080|  2.99k|                    {
 6081|  2.99k|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6082|  2.99k|    }
 6083|  2.99k|#line 6084 "MachineIndependent/glslang_tab.cpp"
 6084|  2.99k|    break;
 6085|       |
 6086|    582|  case 26: /* postfix_expression: postfix_expression DOT IDENTIFIER  */
  ------------------
  |  Branch (6086:3): [True: 582, False: 15.2M]
  ------------------
 6087|    582|#line 466 "MachineIndependent/glslang.y"
 6088|    582|                                        {
 6089|    582|        (yyval.interm.intermTypedNode) = parseContext.handleDotDereference((yyvsp[0].lex).loc, (yyvsp[-2].interm.intermTypedNode), *(yyvsp[0].lex).string);
  ------------------
  |  |  781|    582|#define parseContext (*pParseContext)
  ------------------
 6090|    582|    }
 6091|    582|#line 6092 "MachineIndependent/glslang_tab.cpp"
 6092|    582|    break;
 6093|       |
 6094|      0|  case 27: /* postfix_expression: postfix_expression INC_OP  */
  ------------------
  |  Branch (6094:3): [True: 0, False: 15.2M]
  ------------------
 6095|      0|#line 469 "MachineIndependent/glslang.y"
 6096|      0|                                {
 6097|      0|        parseContext.variableCheck((yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6098|      0|        parseContext.lValueErrorCheck((yyvsp[0].lex).loc, "++", (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6099|      0|        (yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[0].lex).loc, "++", EOpPostIncrement, (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6100|      0|    }
 6101|      0|#line 6102 "MachineIndependent/glslang_tab.cpp"
 6102|      0|    break;
 6103|       |
 6104|      0|  case 28: /* postfix_expression: postfix_expression DEC_OP  */
  ------------------
  |  Branch (6104:3): [True: 0, False: 15.2M]
  ------------------
 6105|      0|#line 474 "MachineIndependent/glslang.y"
 6106|      0|                                {
 6107|      0|        parseContext.variableCheck((yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6108|      0|        parseContext.lValueErrorCheck((yyvsp[0].lex).loc, "--", (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6109|      0|        (yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[0].lex).loc, "--", EOpPostDecrement, (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6110|      0|    }
 6111|      0|#line 6112 "MachineIndependent/glslang_tab.cpp"
 6112|      0|    break;
 6113|       |
 6114|      0|  case 29: /* integer_expression: expression  */
  ------------------
  |  Branch (6114:3): [True: 0, False: 15.2M]
  ------------------
 6115|      0|#line 482 "MachineIndependent/glslang.y"
 6116|      0|                 {
 6117|      0|        parseContext.arrayIndexCheck((yyvsp[0].interm.intermTypedNode), "[]");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6118|      0|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6119|      0|    }
 6120|      0|#line 6121 "MachineIndependent/glslang_tab.cpp"
 6121|      0|    break;
 6122|       |
 6123|  2.99k|  case 30: /* function_call: function_call_or_method  */
  ------------------
  |  Branch (6123:3): [True: 2.99k, False: 15.2M]
  ------------------
 6124|  2.99k|#line 489 "MachineIndependent/glslang.y"
 6125|  2.99k|                              {
 6126|  2.99k|        (yyval.interm.intermTypedNode) = parseContext.handleFunctionCall((yyvsp[0].interm).loc, (yyvsp[0].interm).function, (yyvsp[0].interm).intermNode);
  ------------------
  |  |  781|  2.99k|#define parseContext (*pParseContext)
  ------------------
 6127|  2.99k|        delete (yyvsp[0].interm).function;
 6128|  2.99k|    }
 6129|  2.99k|#line 6130 "MachineIndependent/glslang_tab.cpp"
 6130|  2.99k|    break;
 6131|       |
 6132|  2.99k|  case 31: /* function_call_or_method: function_call_generic  */
  ------------------
  |  Branch (6132:3): [True: 2.99k, False: 15.2M]
  ------------------
 6133|  2.99k|#line 496 "MachineIndependent/glslang.y"
 6134|  2.99k|                            {
 6135|  2.99k|        (yyval.interm) = (yyvsp[0].interm);
 6136|  2.99k|    }
 6137|  2.99k|#line 6138 "MachineIndependent/glslang_tab.cpp"
 6138|  2.99k|    break;
 6139|       |
 6140|  2.85k|  case 32: /* function_call_generic: function_call_header_with_parameters RIGHT_PAREN  */
  ------------------
  |  Branch (6140:3): [True: 2.85k, False: 15.2M]
  ------------------
 6141|  2.85k|#line 502 "MachineIndependent/glslang.y"
 6142|  2.85k|                                                       {
 6143|  2.85k|        (yyval.interm) = (yyvsp[-1].interm);
 6144|  2.85k|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6145|  2.85k|    }
 6146|  2.85k|#line 6147 "MachineIndependent/glslang_tab.cpp"
 6147|  2.85k|    break;
 6148|       |
 6149|    144|  case 33: /* function_call_generic: function_call_header_no_parameters RIGHT_PAREN  */
  ------------------
  |  Branch (6149:3): [True: 144, False: 15.2M]
  ------------------
 6150|    144|#line 506 "MachineIndependent/glslang.y"
 6151|    144|                                                     {
 6152|    144|        (yyval.interm) = (yyvsp[-1].interm);
 6153|    144|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6154|    144|    }
 6155|    144|#line 6156 "MachineIndependent/glslang_tab.cpp"
 6156|    144|    break;
 6157|       |
 6158|      0|  case 34: /* function_call_header_no_parameters: function_call_header VOID  */
  ------------------
  |  Branch (6158:3): [True: 0, False: 15.2M]
  ------------------
 6159|      0|#line 513 "MachineIndependent/glslang.y"
 6160|      0|                                {
 6161|      0|        (yyval.interm) = (yyvsp[-1].interm);
 6162|      0|    }
 6163|      0|#line 6164 "MachineIndependent/glslang_tab.cpp"
 6164|      0|    break;
 6165|       |
 6166|    144|  case 35: /* function_call_header_no_parameters: function_call_header  */
  ------------------
  |  Branch (6166:3): [True: 144, False: 15.2M]
  ------------------
 6167|    144|#line 516 "MachineIndependent/glslang.y"
 6168|    144|                           {
 6169|    144|        (yyval.interm) = (yyvsp[0].interm);
 6170|    144|    }
 6171|    144|#line 6172 "MachineIndependent/glslang_tab.cpp"
 6172|    144|    break;
 6173|       |
 6174|  2.85k|  case 36: /* function_call_header_with_parameters: function_call_header assignment_expression  */
  ------------------
  |  Branch (6174:3): [True: 2.85k, False: 15.2M]
  ------------------
 6175|  2.85k|#line 522 "MachineIndependent/glslang.y"
 6176|  2.85k|                                                 {
 6177|  2.85k|        if (parseContext.spvVersion.vulkan > 0
  ------------------
  |  |  781|  2.85k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6177:13): [True: 2.85k, False: 0]
  ------------------
 6178|  2.85k|            && parseContext.spvVersion.vulkanRelaxed
  ------------------
  |  |  781|  2.85k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6178:16): [True: 0, False: 2.85k]
  ------------------
 6179|      0|            && (yyvsp[0].interm.intermTypedNode)->getType().containsOpaque())
  ------------------
  |  Branch (6179:16): [True: 0, False: 0]
  ------------------
 6180|      0|        {
 6181|      0|            (yyval.interm).intermNode = parseContext.vkRelaxedRemapFunctionArgument((yyval.interm).loc, (yyvsp[-1].interm).function, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6182|      0|            (yyval.interm).function = (yyvsp[-1].interm).function;
 6183|      0|        }
 6184|  2.85k|        else
 6185|  2.85k|        {
 6186|  2.85k|            TParameter param = { 0, new TType, {} };
 6187|  2.85k|            param.type->shallowCopy((yyvsp[0].interm.intermTypedNode)->getType());
 6188|       |
 6189|  2.85k|            (yyvsp[-1].interm).function->addParameter(param);
 6190|  2.85k|            (yyval.interm).function = (yyvsp[-1].interm).function;
 6191|  2.85k|            (yyval.interm).intermNode = (yyvsp[0].interm.intermTypedNode);
 6192|  2.85k|        }
 6193|  2.85k|    }
 6194|  2.85k|#line 6195 "MachineIndependent/glslang_tab.cpp"
 6195|  2.85k|    break;
 6196|       |
 6197|  5.23k|  case 37: /* function_call_header_with_parameters: function_call_header_with_parameters COMMA assignment_expression  */
  ------------------
  |  Branch (6197:3): [True: 5.23k, False: 15.2M]
  ------------------
 6198|  5.23k|#line 540 "MachineIndependent/glslang.y"
 6199|  5.23k|                                                                       {
 6200|  5.23k|        if (parseContext.spvVersion.vulkan > 0
  ------------------
  |  |  781|  5.23k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6200:13): [True: 5.23k, False: 0]
  ------------------
 6201|  5.23k|            && parseContext.spvVersion.vulkanRelaxed
  ------------------
  |  |  781|  5.23k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6201:16): [True: 0, False: 5.23k]
  ------------------
 6202|      0|            && (yyvsp[0].interm.intermTypedNode)->getType().containsOpaque())
  ------------------
  |  Branch (6202:16): [True: 0, False: 0]
  ------------------
 6203|      0|        {
 6204|      0|            TIntermNode* remappedNode = parseContext.vkRelaxedRemapFunctionArgument((yyvsp[-1].lex).loc, (yyvsp[-2].interm).function, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6205|      0|            if (remappedNode == (yyvsp[0].interm.intermTypedNode))
  ------------------
  |  Branch (6205:17): [True: 0, False: 0]
  ------------------
 6206|      0|                (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-2].interm).intermNode, (yyvsp[0].interm.intermTypedNode), (yyvsp[-1].lex).loc);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6207|      0|            else
 6208|      0|                (yyval.interm).intermNode = parseContext.intermediate.mergeAggregate((yyvsp[-2].interm).intermNode, remappedNode, (yyvsp[-1].lex).loc);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6209|      0|            (yyval.interm).function = (yyvsp[-2].interm).function;
 6210|      0|        }
 6211|  5.23k|        else
 6212|  5.23k|        {
 6213|  5.23k|            TParameter param = { 0, new TType, {} };
 6214|  5.23k|            param.type->shallowCopy((yyvsp[0].interm.intermTypedNode)->getType());
 6215|       |
 6216|  5.23k|            (yyvsp[-2].interm).function->addParameter(param);
 6217|  5.23k|            (yyval.interm).function = (yyvsp[-2].interm).function;
 6218|  5.23k|            (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-2].interm).intermNode, (yyvsp[0].interm.intermTypedNode), (yyvsp[-1].lex).loc);
  ------------------
  |  |  781|  5.23k|#define parseContext (*pParseContext)
  ------------------
 6219|  5.23k|        }
 6220|  5.23k|    }
 6221|  5.23k|#line 6222 "MachineIndependent/glslang_tab.cpp"
 6222|  5.23k|    break;
 6223|       |
 6224|  2.99k|  case 38: /* function_call_header: function_identifier LEFT_PAREN  */
  ------------------
  |  Branch (6224:3): [True: 2.99k, False: 15.2M]
  ------------------
 6225|  2.99k|#line 565 "MachineIndependent/glslang.y"
 6226|  2.99k|                                     {
 6227|  2.99k|        (yyval.interm) = (yyvsp[-1].interm);
 6228|  2.99k|    }
 6229|  2.99k|#line 6230 "MachineIndependent/glslang_tab.cpp"
 6230|  2.99k|    break;
 6231|       |
 6232|    812|  case 39: /* function_identifier: type_specifier  */
  ------------------
  |  Branch (6232:3): [True: 812, False: 15.2M]
  ------------------
 6233|    812|#line 573 "MachineIndependent/glslang.y"
 6234|    812|                     {
 6235|       |        // Constructor
 6236|    812|        (yyval.interm).intermNode = 0;
 6237|    812|        (yyval.interm).function = parseContext.handleConstructorCall((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type));
  ------------------
  |  |  781|    812|#define parseContext (*pParseContext)
  ------------------
 6238|    812|    }
 6239|    812|#line 6240 "MachineIndependent/glslang_tab.cpp"
 6240|    812|    break;
 6241|       |
 6242|  2.18k|  case 40: /* function_identifier: postfix_expression  */
  ------------------
  |  Branch (6242:3): [True: 2.18k, False: 15.2M]
  ------------------
 6243|  2.18k|#line 578 "MachineIndependent/glslang.y"
 6244|  2.18k|                         {
 6245|       |        //
 6246|       |        // Should be a method or subroutine call, but we haven't recognized the arguments yet.
 6247|       |        //
 6248|  2.18k|        (yyval.interm).function = 0;
 6249|  2.18k|        (yyval.interm).intermNode = 0;
 6250|       |
 6251|  2.18k|        TIntermMethod* method = (yyvsp[0].interm.intermTypedNode)->getAsMethodNode();
 6252|  2.18k|        if (method) {
  ------------------
  |  Branch (6252:13): [True: 0, False: 2.18k]
  ------------------
 6253|      0|            (yyval.interm).function = new TFunction(&method->getMethodName(), method->getType(), EOpArrayLength);
 6254|      0|            (yyval.interm).intermNode = method->getObject();
 6255|  2.18k|        } else {
 6256|  2.18k|            TIntermSymbol* symbol = (yyvsp[0].interm.intermTypedNode)->getAsSymbolNode();
 6257|  2.18k|            if (symbol) {
  ------------------
  |  Branch (6257:17): [True: 2.18k, False: 0]
  ------------------
 6258|  2.18k|                parseContext.reservedErrorCheck(symbol->getLoc(), symbol->getName());
  ------------------
  |  |  781|  2.18k|#define parseContext (*pParseContext)
  ------------------
 6259|  2.18k|                TFunction *function = new TFunction(&symbol->getName(), TType(EbtVoid));
 6260|  2.18k|                (yyval.interm).function = function;
 6261|  2.18k|            } else
 6262|      0|                parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "function call, method, or subroutine call expected", "", "");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6263|  2.18k|        }
 6264|       |
 6265|  2.18k|        if ((yyval.interm).function == 0) {
  ------------------
  |  Branch (6265:13): [True: 0, False: 2.18k]
  ------------------
 6266|       |            // error recover
 6267|      0|            TString* empty = NewPoolTString("");
 6268|      0|            (yyval.interm).function = new TFunction(empty, TType(EbtVoid), EOpNull);
 6269|      0|        }
 6270|  2.18k|    }
 6271|  2.18k|#line 6272 "MachineIndependent/glslang_tab.cpp"
 6272|  2.18k|    break;
 6273|       |
 6274|      0|  case 41: /* function_identifier: non_uniform_qualifier  */
  ------------------
  |  Branch (6274:3): [True: 0, False: 15.2M]
  ------------------
 6275|      0|#line 605 "MachineIndependent/glslang.y"
 6276|      0|                            {
 6277|       |        // Constructor
 6278|      0|        (yyval.interm).intermNode = 0;
 6279|      0|        (yyval.interm).function = parseContext.handleConstructorCall((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6280|      0|    }
 6281|      0|#line 6282 "MachineIndependent/glslang_tab.cpp"
 6282|      0|    break;
 6283|       |
 6284|  22.0k|  case 42: /* unary_expression: postfix_expression  */
  ------------------
  |  Branch (6284:3): [True: 22.0k, False: 15.1M]
  ------------------
 6285|  22.0k|#line 613 "MachineIndependent/glslang.y"
 6286|  22.0k|                         {
 6287|  22.0k|        parseContext.variableCheck((yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|  22.0k|#define parseContext (*pParseContext)
  ------------------
 6288|  22.0k|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6289|  22.0k|        if (TIntermMethod* method = (yyvsp[0].interm.intermTypedNode)->getAsMethodNode())
  ------------------
  |  Branch (6289:28): [True: 0, False: 22.0k]
  ------------------
 6290|      0|            parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "incomplete method syntax", method->getMethodName().c_str(), "");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6291|  22.0k|    }
 6292|  22.0k|#line 6293 "MachineIndependent/glslang_tab.cpp"
 6293|  22.0k|    break;
 6294|       |
 6295|      0|  case 43: /* unary_expression: INC_OP unary_expression  */
  ------------------
  |  Branch (6295:3): [True: 0, False: 15.2M]
  ------------------
 6296|      0|#line 619 "MachineIndependent/glslang.y"
 6297|      0|                              {
 6298|      0|        parseContext.lValueErrorCheck((yyvsp[-1].lex).loc, "++", (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6299|      0|        (yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[-1].lex).loc, "++", EOpPreIncrement, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6300|      0|    }
 6301|      0|#line 6302 "MachineIndependent/glslang_tab.cpp"
 6302|      0|    break;
 6303|       |
 6304|      0|  case 44: /* unary_expression: DEC_OP unary_expression  */
  ------------------
  |  Branch (6304:3): [True: 0, False: 15.2M]
  ------------------
 6305|      0|#line 623 "MachineIndependent/glslang.y"
 6306|      0|                              {
 6307|      0|        parseContext.lValueErrorCheck((yyvsp[-1].lex).loc, "--", (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6308|      0|        (yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[-1].lex).loc, "--", EOpPreDecrement, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6309|      0|    }
 6310|      0|#line 6311 "MachineIndependent/glslang_tab.cpp"
 6311|      0|    break;
 6312|       |
 6313|    125|  case 45: /* unary_expression: unary_operator unary_expression  */
  ------------------
  |  Branch (6313:3): [True: 125, False: 15.2M]
  ------------------
 6314|    125|#line 627 "MachineIndependent/glslang.y"
 6315|    125|                                      {
 6316|    125|        if ((yyvsp[-1].interm).op != EOpNull) {
  ------------------
  |  Branch (6316:13): [True: 125, False: 0]
  ------------------
 6317|    125|            char errorOp[2] = {0, 0};
 6318|    125|            switch((yyvsp[-1].interm).op) {
 6319|    125|            case EOpNegative:   errorOp[0] = '-'; break;
  ------------------
  |  Branch (6319:13): [True: 125, False: 0]
  ------------------
 6320|      0|            case EOpLogicalNot: errorOp[0] = '!'; break;
  ------------------
  |  Branch (6320:13): [True: 0, False: 125]
  ------------------
 6321|      0|            case EOpBitwiseNot: errorOp[0] = '~'; break;
  ------------------
  |  Branch (6321:13): [True: 0, False: 125]
  ------------------
 6322|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (6322:13): [True: 0, False: 125]
  ------------------
 6323|    125|            }
 6324|    125|            (yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[-1].interm).loc, errorOp, (yyvsp[-1].interm).op, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|    125|#define parseContext (*pParseContext)
  ------------------
 6325|    125|        } else {
 6326|      0|            (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6327|      0|            if ((yyval.interm.intermTypedNode)->getAsConstantUnion())
  ------------------
  |  Branch (6327:17): [True: 0, False: 0]
  ------------------
 6328|      0|                (yyval.interm.intermTypedNode)->getAsConstantUnion()->setExpression();
 6329|      0|        }
 6330|    125|    }
 6331|    125|#line 6332 "MachineIndependent/glslang_tab.cpp"
 6332|    125|    break;
 6333|       |
 6334|    125|  case 46: /* unary_expression: LEFT_PAREN type_specifier_nonarray RIGHT_PAREN unary_expression  */
  ------------------
  |  Branch (6334:3): [True: 0, False: 15.2M]
  ------------------
 6335|      0|#line 643 "MachineIndependent/glslang.y"
 6336|      0|                                                                      {
 6337|      0|        (yyval.interm.intermTypedNode) = parseContext.handleTypeCast((yyvsp[-3].lex).loc, new TType((yyvsp[-2].interm.type)), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6338|      0|    }
 6339|      0|#line 6340 "MachineIndependent/glslang_tab.cpp"
 6340|      0|    break;
 6341|       |
 6342|      0|  case 47: /* unary_operator: PLUS  */
  ------------------
  |  Branch (6342:3): [True: 0, False: 15.2M]
  ------------------
 6343|      0|#line 650 "MachineIndependent/glslang.y"
 6344|      0|            { (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpNull; }
 6345|      0|#line 6346 "MachineIndependent/glslang_tab.cpp"
 6346|      0|    break;
 6347|       |
 6348|    125|  case 48: /* unary_operator: DASH  */
  ------------------
  |  Branch (6348:3): [True: 125, False: 15.2M]
  ------------------
 6349|    125|#line 651 "MachineIndependent/glslang.y"
 6350|    125|            { (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpNegative; }
 6351|    125|#line 6352 "MachineIndependent/glslang_tab.cpp"
 6352|    125|    break;
 6353|       |
 6354|      0|  case 49: /* unary_operator: BANG  */
  ------------------
  |  Branch (6354:3): [True: 0, False: 15.2M]
  ------------------
 6355|      0|#line 652 "MachineIndependent/glslang.y"
 6356|      0|            { (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpLogicalNot; }
 6357|      0|#line 6358 "MachineIndependent/glslang_tab.cpp"
 6358|      0|    break;
 6359|       |
 6360|      0|  case 50: /* unary_operator: TILDE  */
  ------------------
  |  Branch (6360:3): [True: 0, False: 15.2M]
  ------------------
 6361|      0|#line 653 "MachineIndependent/glslang.y"
 6362|      0|            { (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpBitwiseNot;
 6363|      0|              parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bitwise not"); }
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6364|      0|#line 6365 "MachineIndependent/glslang_tab.cpp"
 6365|      0|    break;
 6366|       |
 6367|  20.4k|  case 51: /* multiplicative_expression: unary_expression  */
  ------------------
  |  Branch (6367:3): [True: 20.4k, False: 15.2M]
  ------------------
 6368|  20.4k|#line 659 "MachineIndependent/glslang.y"
 6369|  20.4k|                       { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6370|  20.4k|#line 6371 "MachineIndependent/glslang_tab.cpp"
 6371|  20.4k|    break;
 6372|       |
 6373|      0|  case 52: /* multiplicative_expression: multiplicative_expression STAR unary_expression  */
  ------------------
  |  Branch (6373:3): [True: 0, False: 15.2M]
  ------------------
 6374|      0|#line 660 "MachineIndependent/glslang.y"
 6375|      0|                                                      {
 6376|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "*", EOpMul, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6377|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6377:13): [True: 0, False: 0]
  ------------------
 6378|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6379|      0|    }
 6380|      0|#line 6381 "MachineIndependent/glslang_tab.cpp"
 6381|      0|    break;
 6382|       |
 6383|      0|  case 53: /* multiplicative_expression: multiplicative_expression SLASH unary_expression  */
  ------------------
  |  Branch (6383:3): [True: 0, False: 15.2M]
  ------------------
 6384|      0|#line 665 "MachineIndependent/glslang.y"
 6385|      0|                                                       {
 6386|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "/", EOpDiv, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6387|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6387:13): [True: 0, False: 0]
  ------------------
 6388|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6389|      0|    }
 6390|      0|#line 6391 "MachineIndependent/glslang_tab.cpp"
 6391|      0|    break;
 6392|       |
 6393|      0|  case 54: /* multiplicative_expression: multiplicative_expression PERCENT unary_expression  */
  ------------------
  |  Branch (6393:3): [True: 0, False: 15.2M]
  ------------------
 6394|      0|#line 670 "MachineIndependent/glslang.y"
 6395|      0|                                                         {
 6396|      0|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "%");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6397|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "%", EOpMod, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6398|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6398:13): [True: 0, False: 0]
  ------------------
 6399|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6400|      0|    }
 6401|      0|#line 6402 "MachineIndependent/glslang_tab.cpp"
 6402|      0|    break;
 6403|       |
 6404|  20.4k|  case 55: /* additive_expression: multiplicative_expression  */
  ------------------
  |  Branch (6404:3): [True: 20.4k, False: 15.2M]
  ------------------
 6405|  20.4k|#line 679 "MachineIndependent/glslang.y"
 6406|  20.4k|                                { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6407|  20.4k|#line 6408 "MachineIndependent/glslang_tab.cpp"
 6408|  20.4k|    break;
 6409|       |
 6410|      3|  case 56: /* additive_expression: additive_expression PLUS multiplicative_expression  */
  ------------------
  |  Branch (6410:3): [True: 3, False: 15.2M]
  ------------------
 6411|      3|#line 680 "MachineIndependent/glslang.y"
 6412|      3|                                                         {
 6413|      3|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "+", EOpAdd, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|      3|#define parseContext (*pParseContext)
  ------------------
 6414|      3|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6414:13): [True: 0, False: 3]
  ------------------
 6415|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6416|      3|    }
 6417|      3|#line 6418 "MachineIndependent/glslang_tab.cpp"
 6418|      3|    break;
 6419|       |
 6420|      0|  case 57: /* additive_expression: additive_expression DASH multiplicative_expression  */
  ------------------
  |  Branch (6420:3): [True: 0, False: 15.2M]
  ------------------
 6421|      0|#line 685 "MachineIndependent/glslang.y"
 6422|      0|                                                         {
 6423|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "-", EOpSub, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6424|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6424:13): [True: 0, False: 0]
  ------------------
 6425|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6426|      0|    }
 6427|      0|#line 6428 "MachineIndependent/glslang_tab.cpp"
 6428|      0|    break;
 6429|       |
 6430|  20.4k|  case 58: /* shift_expression: additive_expression  */
  ------------------
  |  Branch (6430:3): [True: 20.4k, False: 15.2M]
  ------------------
 6431|  20.4k|#line 693 "MachineIndependent/glslang.y"
 6432|  20.4k|                          { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6433|  20.4k|#line 6434 "MachineIndependent/glslang_tab.cpp"
 6434|  20.4k|    break;
 6435|       |
 6436|      0|  case 59: /* shift_expression: shift_expression LEFT_OP additive_expression  */
  ------------------
  |  Branch (6436:3): [True: 0, False: 15.2M]
  ------------------
 6437|      0|#line 694 "MachineIndependent/glslang.y"
 6438|      0|                                                   {
 6439|      0|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "bit shift left");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6440|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "<<", EOpLeftShift, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|      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|      0|  case 60: /* shift_expression: shift_expression RIGHT_OP additive_expression  */
  ------------------
  |  Branch (6447:3): [True: 0, False: 15.2M]
  ------------------
 6448|      0|#line 700 "MachineIndependent/glslang.y"
 6449|      0|                                                    {
 6450|      0|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "bit shift right");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6451|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, ">>", EOpRightShift, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6452|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6452:13): [True: 0, False: 0]
  ------------------
 6453|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6454|      0|    }
 6455|      0|#line 6456 "MachineIndependent/glslang_tab.cpp"
 6456|      0|    break;
 6457|       |
 6458|  20.4k|  case 61: /* relational_expression: shift_expression  */
  ------------------
  |  Branch (6458:3): [True: 20.4k, False: 15.2M]
  ------------------
 6459|  20.4k|#line 709 "MachineIndependent/glslang.y"
 6460|  20.4k|                       { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6461|  20.4k|#line 6462 "MachineIndependent/glslang_tab.cpp"
 6462|  20.4k|    break;
 6463|       |
 6464|      0|  case 62: /* relational_expression: relational_expression LEFT_ANGLE shift_expression  */
  ------------------
  |  Branch (6464:3): [True: 0, False: 15.2M]
  ------------------
 6465|      0|#line 710 "MachineIndependent/glslang.y"
 6466|      0|                                                        {
 6467|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "<", EOpLessThan, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6468|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6468:13): [True: 0, False: 0]
  ------------------
 6469|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6470|      0|    }
 6471|      0|#line 6472 "MachineIndependent/glslang_tab.cpp"
 6472|      0|    break;
 6473|       |
 6474|      0|  case 63: /* relational_expression: relational_expression RIGHT_ANGLE shift_expression  */
  ------------------
  |  Branch (6474:3): [True: 0, False: 15.2M]
  ------------------
 6475|      0|#line 715 "MachineIndependent/glslang.y"
 6476|      0|                                                          {
 6477|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, ">", EOpGreaterThan, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6478|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6478:13): [True: 0, False: 0]
  ------------------
 6479|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6480|      0|    }
 6481|      0|#line 6482 "MachineIndependent/glslang_tab.cpp"
 6482|      0|    break;
 6483|       |
 6484|      0|  case 64: /* relational_expression: relational_expression LE_OP shift_expression  */
  ------------------
  |  Branch (6484:3): [True: 0, False: 15.2M]
  ------------------
 6485|      0|#line 720 "MachineIndependent/glslang.y"
 6486|      0|                                                    {
 6487|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "<=", EOpLessThanEqual, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6488|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6488:13): [True: 0, False: 0]
  ------------------
 6489|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6490|      0|    }
 6491|      0|#line 6492 "MachineIndependent/glslang_tab.cpp"
 6492|      0|    break;
 6493|       |
 6494|      0|  case 65: /* relational_expression: relational_expression GE_OP shift_expression  */
  ------------------
  |  Branch (6494:3): [True: 0, False: 15.2M]
  ------------------
 6495|      0|#line 725 "MachineIndependent/glslang.y"
 6496|      0|                                                    {
 6497|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, ">=", EOpGreaterThanEqual, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6498|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6498:13): [True: 0, False: 0]
  ------------------
 6499|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6500|      0|    }
 6501|      0|#line 6502 "MachineIndependent/glslang_tab.cpp"
 6502|      0|    break;
 6503|       |
 6504|  20.4k|  case 66: /* equality_expression: relational_expression  */
  ------------------
  |  Branch (6504:3): [True: 20.4k, False: 15.2M]
  ------------------
 6505|  20.4k|#line 733 "MachineIndependent/glslang.y"
 6506|  20.4k|                            { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6507|  20.4k|#line 6508 "MachineIndependent/glslang_tab.cpp"
 6508|  20.4k|    break;
 6509|       |
 6510|      0|  case 67: /* equality_expression: equality_expression EQ_OP relational_expression  */
  ------------------
  |  Branch (6510:3): [True: 0, False: 15.2M]
  ------------------
 6511|      0|#line 734 "MachineIndependent/glslang.y"
 6512|      0|                                                       {
 6513|      0|        parseContext.arrayObjectCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "array comparison");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6514|      0|        parseContext.opaqueCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "==");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6515|      0|        parseContext.specializationCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "==");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6516|      0|        parseContext.referenceCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "==");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6517|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "==", EOpEqual, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6518|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6518:13): [True: 0, False: 0]
  ------------------
 6519|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6520|      0|    }
 6521|      0|#line 6522 "MachineIndependent/glslang_tab.cpp"
 6522|      0|    break;
 6523|       |
 6524|      0|  case 68: /* equality_expression: equality_expression NE_OP relational_expression  */
  ------------------
  |  Branch (6524:3): [True: 0, False: 15.2M]
  ------------------
 6525|      0|#line 743 "MachineIndependent/glslang.y"
 6526|      0|                                                      {
 6527|      0|        parseContext.arrayObjectCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "array comparison");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6528|      0|        parseContext.opaqueCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "!=");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6529|      0|        parseContext.specializationCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "!=");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6530|      0|        parseContext.referenceCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "!=");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6531|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "!=", EOpNotEqual, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6532|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6532:13): [True: 0, False: 0]
  ------------------
 6533|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6534|      0|    }
 6535|      0|#line 6536 "MachineIndependent/glslang_tab.cpp"
 6536|      0|    break;
 6537|       |
 6538|  20.4k|  case 69: /* and_expression: equality_expression  */
  ------------------
  |  Branch (6538:3): [True: 20.4k, False: 15.2M]
  ------------------
 6539|  20.4k|#line 755 "MachineIndependent/glslang.y"
 6540|  20.4k|                          { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6541|  20.4k|#line 6542 "MachineIndependent/glslang_tab.cpp"
 6542|  20.4k|    break;
 6543|       |
 6544|      0|  case 70: /* and_expression: and_expression AMPERSAND equality_expression  */
  ------------------
  |  Branch (6544:3): [True: 0, False: 15.2M]
  ------------------
 6545|      0|#line 756 "MachineIndependent/glslang.y"
 6546|      0|                                                   {
 6547|      0|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "bitwise and");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6548|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "&", EOpAnd, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6549|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6549:13): [True: 0, False: 0]
  ------------------
 6550|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6551|      0|    }
 6552|      0|#line 6553 "MachineIndependent/glslang_tab.cpp"
 6553|      0|    break;
 6554|       |
 6555|  20.4k|  case 71: /* exclusive_or_expression: and_expression  */
  ------------------
  |  Branch (6555:3): [True: 20.4k, False: 15.2M]
  ------------------
 6556|  20.4k|#line 765 "MachineIndependent/glslang.y"
 6557|  20.4k|                     { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6558|  20.4k|#line 6559 "MachineIndependent/glslang_tab.cpp"
 6559|  20.4k|    break;
 6560|       |
 6561|      0|  case 72: /* exclusive_or_expression: exclusive_or_expression CARET and_expression  */
  ------------------
  |  Branch (6561:3): [True: 0, False: 15.2M]
  ------------------
 6562|      0|#line 766 "MachineIndependent/glslang.y"
 6563|      0|                                                   {
 6564|      0|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "bitwise exclusive or");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6565|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "^", EOpExclusiveOr, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|      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|  20.4k|  case 73: /* inclusive_or_expression: exclusive_or_expression  */
  ------------------
  |  Branch (6572:3): [True: 20.4k, False: 15.2M]
  ------------------
 6573|  20.4k|#line 775 "MachineIndependent/glslang.y"
 6574|  20.4k|                              { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6575|  20.4k|#line 6576 "MachineIndependent/glslang_tab.cpp"
 6576|  20.4k|    break;
 6577|       |
 6578|      0|  case 74: /* inclusive_or_expression: inclusive_or_expression VERTICAL_BAR exclusive_or_expression  */
  ------------------
  |  Branch (6578:3): [True: 0, False: 15.2M]
  ------------------
 6579|      0|#line 776 "MachineIndependent/glslang.y"
 6580|      0|                                                                   {
 6581|      0|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "bitwise inclusive or");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6582|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "|", EOpInclusiveOr, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|      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|  20.4k|  case 75: /* logical_and_expression: inclusive_or_expression  */
  ------------------
  |  Branch (6589:3): [True: 20.4k, False: 15.2M]
  ------------------
 6590|  20.4k|#line 785 "MachineIndependent/glslang.y"
 6591|  20.4k|                              { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6592|  20.4k|#line 6593 "MachineIndependent/glslang_tab.cpp"
 6593|  20.4k|    break;
 6594|       |
 6595|      0|  case 76: /* logical_and_expression: logical_and_expression AND_OP inclusive_or_expression  */
  ------------------
  |  Branch (6595:3): [True: 0, False: 15.2M]
  ------------------
 6596|      0|#line 786 "MachineIndependent/glslang.y"
 6597|      0|                                                            {
 6598|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "&&", EOpLogicalAnd, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6599|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6599:13): [True: 0, False: 0]
  ------------------
 6600|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6601|      0|    }
 6602|      0|#line 6603 "MachineIndependent/glslang_tab.cpp"
 6603|      0|    break;
 6604|       |
 6605|  20.4k|  case 77: /* logical_xor_expression: logical_and_expression  */
  ------------------
  |  Branch (6605:3): [True: 20.4k, False: 15.2M]
  ------------------
 6606|  20.4k|#line 794 "MachineIndependent/glslang.y"
 6607|  20.4k|                             { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6608|  20.4k|#line 6609 "MachineIndependent/glslang_tab.cpp"
 6609|  20.4k|    break;
 6610|       |
 6611|      0|  case 78: /* logical_xor_expression: logical_xor_expression XOR_OP logical_and_expression  */
  ------------------
  |  Branch (6611:3): [True: 0, False: 15.2M]
  ------------------
 6612|      0|#line 795 "MachineIndependent/glslang.y"
 6613|      0|                                                            {
 6614|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "^^", EOpLogicalXor, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6615|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6615:13): [True: 0, False: 0]
  ------------------
 6616|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6617|      0|    }
 6618|      0|#line 6619 "MachineIndependent/glslang_tab.cpp"
 6619|      0|    break;
 6620|       |
 6621|  20.4k|  case 79: /* logical_or_expression: logical_xor_expression  */
  ------------------
  |  Branch (6621:3): [True: 20.4k, False: 15.2M]
  ------------------
 6622|  20.4k|#line 803 "MachineIndependent/glslang.y"
 6623|  20.4k|                             { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6624|  20.4k|#line 6625 "MachineIndependent/glslang_tab.cpp"
 6625|  20.4k|    break;
 6626|       |
 6627|      0|  case 80: /* logical_or_expression: logical_or_expression OR_OP logical_xor_expression  */
  ------------------
  |  Branch (6627:3): [True: 0, False: 15.2M]
  ------------------
 6628|      0|#line 804 "MachineIndependent/glslang.y"
 6629|      0|                                                          {
 6630|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "||", EOpLogicalOr, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6631|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6631:13): [True: 0, False: 0]
  ------------------
 6632|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6633|      0|    }
 6634|      0|#line 6635 "MachineIndependent/glslang_tab.cpp"
 6635|      0|    break;
 6636|       |
 6637|  20.4k|  case 81: /* conditional_expression: logical_or_expression  */
  ------------------
  |  Branch (6637:3): [True: 20.4k, False: 15.2M]
  ------------------
 6638|  20.4k|#line 812 "MachineIndependent/glslang.y"
 6639|  20.4k|                            { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6640|  20.4k|#line 6641 "MachineIndependent/glslang_tab.cpp"
 6641|  20.4k|    break;
 6642|       |
 6643|      0|  case 82: /* $@1: %empty  */
  ------------------
  |  Branch (6643:3): [True: 0, False: 15.2M]
  ------------------
 6644|      0|#line 813 "MachineIndependent/glslang.y"
 6645|      0|                                     {
 6646|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6647|      0|    }
 6648|      0|#line 6649 "MachineIndependent/glslang_tab.cpp"
 6649|      0|    break;
 6650|       |
 6651|      0|  case 83: /* conditional_expression: logical_or_expression QUESTION $@1 expression COLON assignment_expression  */
  ------------------
  |  Branch (6651:3): [True: 0, False: 15.2M]
  ------------------
 6652|      0|#line 816 "MachineIndependent/glslang.y"
 6653|      0|                                             {
 6654|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6655|      0|        parseContext.boolCheck((yyvsp[-4].lex).loc, (yyvsp[-5].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6656|      0|        parseContext.rValueErrorCheck((yyvsp[-4].lex).loc, "?", (yyvsp[-5].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6657|      0|        parseContext.rValueErrorCheck((yyvsp[-1].lex).loc, ":", (yyvsp[-2].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6658|      0|        parseContext.rValueErrorCheck((yyvsp[-1].lex).loc, ":", (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6659|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addSelection((yyvsp[-5].interm.intermTypedNode), (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode), (yyvsp[-4].lex).loc);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6660|      0|        if ((yyval.interm.intermTypedNode) == 0) {
  ------------------
  |  Branch (6660:13): [True: 0, False: 0]
  ------------------
 6661|      0|            parseContext.binaryOpError((yyvsp[-4].lex).loc, ":", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  781|      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()));
  ------------------
  |  |  781|      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()));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6662|      0|            (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6663|      0|        }
 6664|      0|    }
 6665|      0|#line 6666 "MachineIndependent/glslang_tab.cpp"
 6666|      0|    break;
 6667|       |
 6668|  16.5k|  case 84: /* assignment_expression: conditional_expression  */
  ------------------
  |  Branch (6668:3): [True: 16.5k, False: 15.2M]
  ------------------
 6669|  16.5k|#line 831 "MachineIndependent/glslang.y"
 6670|  16.5k|                             { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6671|  16.5k|#line 6672 "MachineIndependent/glslang_tab.cpp"
 6672|  16.5k|    break;
 6673|       |
 6674|  1.62k|  case 85: /* assignment_expression: unary_expression assignment_operator assignment_expression  */
  ------------------
  |  Branch (6674:3): [True: 1.62k, False: 15.2M]
  ------------------
 6675|  1.62k|#line 832 "MachineIndependent/glslang.y"
 6676|  1.62k|                                                                 {
 6677|  1.62k|        parseContext.arrayObjectCheck((yyvsp[-1].interm).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "array assignment");
  ------------------
  |  |  781|  1.62k|#define parseContext (*pParseContext)
  ------------------
 6678|  1.62k|        parseContext.opaqueCheck((yyvsp[-1].interm).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "=");
  ------------------
  |  |  781|  1.62k|#define parseContext (*pParseContext)
  ------------------
 6679|  1.62k|        parseContext.storage16BitAssignmentCheck((yyvsp[-1].interm).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "=");
  ------------------
  |  |  781|  1.62k|#define parseContext (*pParseContext)
  ------------------
 6680|  1.62k|        parseContext.specializationCheck((yyvsp[-1].interm).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "=");
  ------------------
  |  |  781|  1.62k|#define parseContext (*pParseContext)
  ------------------
 6681|  1.62k|        parseContext.lValueErrorCheck((yyvsp[-1].interm).loc, "assign", (yyvsp[-2].interm.intermTypedNode));
  ------------------
  |  |  781|  1.62k|#define parseContext (*pParseContext)
  ------------------
 6682|  1.62k|        parseContext.rValueErrorCheck((yyvsp[-1].interm).loc, "assign", (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|  1.62k|#define parseContext (*pParseContext)
  ------------------
 6683|  1.62k|        (yyval.interm.intermTypedNode) = parseContext.addAssign((yyvsp[-1].interm).loc, (yyvsp[-1].interm).op, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|  1.62k|#define parseContext (*pParseContext)
  ------------------
 6684|  1.62k|        if ((yyval.interm.intermTypedNode) == 0) {
  ------------------
  |  Branch (6684:13): [True: 0, False: 1.62k]
  ------------------
 6685|      0|            parseContext.assignError((yyvsp[-1].interm).loc, "assign", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  781|      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()));
  ------------------
  |  |  781|      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()));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6686|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6687|      0|        }
 6688|  1.62k|    }
 6689|  1.62k|#line 6690 "MachineIndependent/glslang_tab.cpp"
 6690|  1.62k|    break;
 6691|       |
 6692|      3|  case 86: /* assignment_operator: EQUAL  */
  ------------------
  |  Branch (6692:3): [True: 3, False: 15.2M]
  ------------------
 6693|      3|#line 848 "MachineIndependent/glslang.y"
 6694|      3|            {
 6695|      3|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6696|      3|        (yyval.interm).op = EOpAssign;
 6697|      3|    }
 6698|      3|#line 6699 "MachineIndependent/glslang_tab.cpp"
 6699|      3|    break;
 6700|       |
 6701|      0|  case 87: /* assignment_operator: MUL_ASSIGN  */
  ------------------
  |  Branch (6701:3): [True: 0, False: 15.2M]
  ------------------
 6702|      0|#line 852 "MachineIndependent/glslang.y"
 6703|      0|                 {
 6704|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6705|      0|        (yyval.interm).op = EOpMulAssign;
 6706|      0|    }
 6707|      0|#line 6708 "MachineIndependent/glslang_tab.cpp"
 6708|      0|    break;
 6709|       |
 6710|      0|  case 88: /* assignment_operator: DIV_ASSIGN  */
  ------------------
  |  Branch (6710:3): [True: 0, False: 15.2M]
  ------------------
 6711|      0|#line 856 "MachineIndependent/glslang.y"
 6712|      0|                 {
 6713|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6714|      0|        (yyval.interm).op = EOpDivAssign;
 6715|      0|    }
 6716|      0|#line 6717 "MachineIndependent/glslang_tab.cpp"
 6717|      0|    break;
 6718|       |
 6719|      0|  case 89: /* assignment_operator: MOD_ASSIGN  */
  ------------------
  |  Branch (6719:3): [True: 0, False: 15.2M]
  ------------------
 6720|      0|#line 860 "MachineIndependent/glslang.y"
 6721|      0|                 {
 6722|      0|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "%=");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6723|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6724|      0|        (yyval.interm).op = EOpModAssign;
 6725|      0|    }
 6726|      0|#line 6727 "MachineIndependent/glslang_tab.cpp"
 6727|      0|    break;
 6728|       |
 6729|  1.62k|  case 90: /* assignment_operator: ADD_ASSIGN  */
  ------------------
  |  Branch (6729:3): [True: 1.62k, False: 15.2M]
  ------------------
 6730|  1.62k|#line 865 "MachineIndependent/glslang.y"
 6731|  1.62k|                 {
 6732|  1.62k|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6733|  1.62k|        (yyval.interm).op = EOpAddAssign;
 6734|  1.62k|    }
 6735|  1.62k|#line 6736 "MachineIndependent/glslang_tab.cpp"
 6736|  1.62k|    break;
 6737|       |
 6738|      0|  case 91: /* assignment_operator: SUB_ASSIGN  */
  ------------------
  |  Branch (6738:3): [True: 0, False: 15.2M]
  ------------------
 6739|      0|#line 869 "MachineIndependent/glslang.y"
 6740|      0|                 {
 6741|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6742|      0|        (yyval.interm).op = EOpSubAssign;
 6743|      0|    }
 6744|      0|#line 6745 "MachineIndependent/glslang_tab.cpp"
 6745|      0|    break;
 6746|       |
 6747|      0|  case 92: /* assignment_operator: LEFT_ASSIGN  */
  ------------------
  |  Branch (6747:3): [True: 0, False: 15.2M]
  ------------------
 6748|      0|#line 873 "MachineIndependent/glslang.y"
 6749|      0|                  {
 6750|      0|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bit-shift left assign");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6751|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpLeftShiftAssign;
 6752|      0|    }
 6753|      0|#line 6754 "MachineIndependent/glslang_tab.cpp"
 6754|      0|    break;
 6755|       |
 6756|      0|  case 93: /* assignment_operator: RIGHT_ASSIGN  */
  ------------------
  |  Branch (6756:3): [True: 0, False: 15.2M]
  ------------------
 6757|      0|#line 877 "MachineIndependent/glslang.y"
 6758|      0|                   {
 6759|      0|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bit-shift right assign");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6760|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpRightShiftAssign;
 6761|      0|    }
 6762|      0|#line 6763 "MachineIndependent/glslang_tab.cpp"
 6763|      0|    break;
 6764|       |
 6765|      0|  case 94: /* assignment_operator: AND_ASSIGN  */
  ------------------
  |  Branch (6765:3): [True: 0, False: 15.2M]
  ------------------
 6766|      0|#line 881 "MachineIndependent/glslang.y"
 6767|      0|                 {
 6768|      0|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bitwise-and assign");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6769|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpAndAssign;
 6770|      0|    }
 6771|      0|#line 6772 "MachineIndependent/glslang_tab.cpp"
 6772|      0|    break;
 6773|       |
 6774|      0|  case 95: /* assignment_operator: XOR_ASSIGN  */
  ------------------
  |  Branch (6774:3): [True: 0, False: 15.2M]
  ------------------
 6775|      0|#line 885 "MachineIndependent/glslang.y"
 6776|      0|                 {
 6777|      0|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bitwise-xor assign");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6778|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpExclusiveOrAssign;
 6779|      0|    }
 6780|      0|#line 6781 "MachineIndependent/glslang_tab.cpp"
 6781|      0|    break;
 6782|       |
 6783|      0|  case 96: /* assignment_operator: OR_ASSIGN  */
  ------------------
  |  Branch (6783:3): [True: 0, False: 15.2M]
  ------------------
 6784|      0|#line 889 "MachineIndependent/glslang.y"
 6785|      0|                {
 6786|      0|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bitwise-or assign");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6787|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpInclusiveOrAssign;
 6788|      0|    }
 6789|      0|#line 6790 "MachineIndependent/glslang_tab.cpp"
 6790|      0|    break;
 6791|       |
 6792|  2.41k|  case 97: /* expression: assignment_expression  */
  ------------------
  |  Branch (6792:3): [True: 2.41k, False: 15.2M]
  ------------------
 6793|  2.41k|#line 896 "MachineIndependent/glslang.y"
 6794|  2.41k|                            {
 6795|  2.41k|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6796|  2.41k|    }
 6797|  2.41k|#line 6798 "MachineIndependent/glslang_tab.cpp"
 6798|  2.41k|    break;
 6799|       |
 6800|      0|  case 98: /* expression: expression COMMA assignment_expression  */
  ------------------
  |  Branch (6800:3): [True: 0, False: 15.2M]
  ------------------
 6801|      0|#line 899 "MachineIndependent/glslang.y"
 6802|      0|                                             {
 6803|      0|        parseContext.samplerConstructorLocationCheck((yyvsp[-1].lex).loc, ",", (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6804|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addComma((yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode), (yyvsp[-1].lex).loc);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6805|      0|        if ((yyval.interm.intermTypedNode) == 0) {
  ------------------
  |  Branch (6805:13): [True: 0, False: 0]
  ------------------
 6806|      0|            parseContext.binaryOpError((yyvsp[-1].lex).loc, ",", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  781|      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()));
  ------------------
  |  |  781|      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()));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6807|      0|            (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6808|      0|        }
 6809|      0|    }
 6810|      0|#line 6811 "MachineIndependent/glslang_tab.cpp"
 6811|      0|    break;
 6812|       |
 6813|      0|  case 99: /* constant_expression: conditional_expression  */
  ------------------
  |  Branch (6813:3): [True: 0, False: 15.2M]
  ------------------
 6814|      0|#line 910 "MachineIndependent/glslang.y"
 6815|      0|                             {
 6816|      0|        parseContext.constantValueCheck((yyvsp[0].interm.intermTypedNode), "");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6817|      0|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6818|      0|    }
 6819|      0|#line 6820 "MachineIndependent/glslang_tab.cpp"
 6820|      0|    break;
 6821|       |
 6822|   570k|  case 100: /* declaration: function_prototype SEMICOLON  */
  ------------------
  |  Branch (6822:3): [True: 570k, False: 14.6M]
  ------------------
 6823|   570k|#line 917 "MachineIndependent/glslang.y"
 6824|   570k|                                   {
 6825|   570k|        parseContext.handleFunctionDeclarator((yyvsp[-1].interm).loc, *(yyvsp[-1].interm).function, true /* prototype */);
  ------------------
  |  |  781|   570k|#define parseContext (*pParseContext)
  ------------------
 6826|   570k|        (yyval.interm.intermNode) = 0;
 6827|       |        // TODO: 4.0 functionality: subroutines: make the identifier a user type for this signature
 6828|   570k|    }
 6829|   570k|#line 6830 "MachineIndependent/glslang_tab.cpp"
 6830|   570k|    break;
 6831|       |
 6832|      0|  case 101: /* declaration: spirv_instruction_qualifier function_prototype SEMICOLON  */
  ------------------
  |  Branch (6832:3): [True: 0, False: 15.2M]
  ------------------
 6833|      0|#line 922 "MachineIndependent/glslang.y"
 6834|      0|                                                               {
 6835|      0|        parseContext.requireExtensions((yyvsp[-1].interm).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V instruction qualifier");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6836|      0|        (yyvsp[-1].interm).function->setSpirvInstruction(*(yyvsp[-2].interm.spirvInst)); // Attach SPIR-V intruction qualifier
 6837|      0|        parseContext.handleFunctionDeclarator((yyvsp[-1].interm).loc, *(yyvsp[-1].interm).function, true /* prototype */);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6838|      0|        (yyval.interm.intermNode) = 0;
 6839|       |        // TODO: 4.0 functionality: subroutines: make the identifier a user type for this signature
 6840|      0|    }
 6841|      0|#line 6842 "MachineIndependent/glslang_tab.cpp"
 6842|      0|    break;
 6843|       |
 6844|      0|  case 102: /* declaration: spirv_execution_mode_qualifier SEMICOLON  */
  ------------------
  |  Branch (6844:3): [True: 0, False: 15.2M]
  ------------------
 6845|      0|#line 929 "MachineIndependent/glslang.y"
 6846|      0|                                               {
 6847|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "SPIR-V execution mode qualifier");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6848|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V execution mode qualifier");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6849|      0|        (yyval.interm.intermNode) = 0;
 6850|      0|    }
 6851|      0|#line 6852 "MachineIndependent/glslang_tab.cpp"
 6852|      0|    break;
 6853|       |
 6854|  16.7k|  case 103: /* declaration: init_declarator_list SEMICOLON  */
  ------------------
  |  Branch (6854:3): [True: 16.7k, False: 15.2M]
  ------------------
 6855|  16.7k|#line 934 "MachineIndependent/glslang.y"
 6856|  16.7k|                                     {
 6857|  16.7k|        if ((yyvsp[-1].interm).intermNode && (yyvsp[-1].interm).intermNode->getAsAggregate())
  ------------------
  |  Branch (6857:13): [True: 237, False: 16.5k]
  |  Branch (6857:46): [True: 237, False: 0]
  ------------------
 6858|    237|            (yyvsp[-1].interm).intermNode->getAsAggregate()->setOperator(EOpSequence);
 6859|  16.7k|        (yyval.interm.intermNode) = (yyvsp[-1].interm).intermNode;
 6860|  16.7k|    }
 6861|  16.7k|#line 6862 "MachineIndependent/glslang_tab.cpp"
 6862|  16.7k|    break;
 6863|       |
 6864|      0|  case 104: /* declaration: PRECISION precision_qualifier type_specifier SEMICOLON  */
  ------------------
  |  Branch (6864:3): [True: 0, False: 15.2M]
  ------------------
 6865|      0|#line 939 "MachineIndependent/glslang.y"
 6866|      0|                                                             {
 6867|      0|        parseContext.profileRequires((yyvsp[-3].lex).loc, ENoProfile, 130, 0, "precision statement");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6868|       |        // lazy setting of the previous scope's defaults, has effect only the first time it is called in a particular scope
 6869|      0|        parseContext.symbolTable.setPreviousDefaultPrecisions(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.setPreviousDefaultPrecisions(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6870|      0|        parseContext.setDefaultPrecision((yyvsp[-3].lex).loc, (yyvsp[-1].interm.type), (yyvsp[-2].interm.type).qualifier.precision);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6871|      0|        (yyval.interm.intermNode) = 0;
 6872|      0|    }
 6873|      0|#line 6874 "MachineIndependent/glslang_tab.cpp"
 6874|      0|    break;
 6875|       |
 6876|     43|  case 105: /* declaration: block_structure SEMICOLON  */
  ------------------
  |  Branch (6876:3): [True: 43, False: 15.2M]
  ------------------
 6877|     43|#line 946 "MachineIndependent/glslang.y"
 6878|     43|                                {
 6879|     43|        (yyval.interm.intermNode) = parseContext.declareBlock((yyvsp[-1].interm).loc, *(yyvsp[-1].interm).typeList);
  ------------------
  |  |  781|     43|#define parseContext (*pParseContext)
  ------------------
 6880|     43|    }
 6881|     43|#line 6882 "MachineIndependent/glslang_tab.cpp"
 6882|     43|    break;
 6883|       |
 6884|      0|  case 106: /* declaration: block_structure IDENTIFIER SEMICOLON  */
  ------------------
  |  Branch (6884:3): [True: 0, False: 15.2M]
  ------------------
 6885|      0|#line 949 "MachineIndependent/glslang.y"
 6886|      0|                                           {
 6887|      0|        (yyval.interm.intermNode) = parseContext.declareBlock((yyvsp[-2].interm).loc, *(yyvsp[-2].interm).typeList, (yyvsp[-1].lex).string);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6888|      0|    }
 6889|      0|#line 6890 "MachineIndependent/glslang_tab.cpp"
 6890|      0|    break;
 6891|       |
 6892|     55|  case 107: /* declaration: block_structure IDENTIFIER array_specifier SEMICOLON  */
  ------------------
  |  Branch (6892:3): [True: 55, False: 15.2M]
  ------------------
 6893|     55|#line 952 "MachineIndependent/glslang.y"
 6894|     55|                                                           {
 6895|     55|        (yyval.interm.intermNode) = parseContext.declareBlock((yyvsp[-3].interm).loc, *(yyvsp[-3].interm).typeList, (yyvsp[-2].lex).string, (yyvsp[-1].interm).arraySizes);
  ------------------
  |  |  781|     55|#define parseContext (*pParseContext)
  ------------------
 6896|     55|    }
 6897|     55|#line 6898 "MachineIndependent/glslang_tab.cpp"
 6898|     55|    break;
 6899|       |
 6900|      0|  case 108: /* declaration: type_qualifier SEMICOLON  */
  ------------------
  |  Branch (6900:3): [True: 0, False: 15.2M]
  ------------------
 6901|      0|#line 955 "MachineIndependent/glslang.y"
 6902|      0|                               {
 6903|      0|        parseContext.globalQualifierFixCheck((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6904|      0|        parseContext.updateStandaloneQualifierDefaults((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6905|      0|        (yyval.interm.intermNode) = 0;
 6906|      0|    }
 6907|      0|#line 6908 "MachineIndependent/glslang_tab.cpp"
 6908|      0|    break;
 6909|       |
 6910|      0|  case 109: /* declaration: type_qualifier identifier_list SEMICOLON  */
  ------------------
  |  Branch (6910:3): [True: 0, False: 15.2M]
  ------------------
 6911|      0|#line 960 "MachineIndependent/glslang.y"
 6912|      0|                                               {
 6913|      0|        parseContext.checkNoShaderLayouts((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).shaderQualifiers);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6914|      0|        parseContext.addQualifierToExisting((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).qualifier, *(yyvsp[-1].interm.identifierList));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6915|      0|        (yyval.interm.intermNode) = 0;
 6916|      0|    }
 6917|      0|#line 6918 "MachineIndependent/glslang_tab.cpp"
 6918|      0|    break;
 6919|       |
 6920|    105|  case 110: /* $@2: %empty  */
  ------------------
  |  Branch (6920:3): [True: 105, False: 15.2M]
  ------------------
 6921|    105|#line 968 "MachineIndependent/glslang.y"
 6922|    105|                                           { parseContext.nestedBlockCheck((yyvsp[-2].interm.type).loc); }
  ------------------
  |  |  781|    105|#define parseContext (*pParseContext)
  ------------------
 6923|    105|#line 6924 "MachineIndependent/glslang_tab.cpp"
 6924|    105|    break;
 6925|       |
 6926|     98|  case 111: /* block_structure: type_qualifier IDENTIFIER LEFT_BRACE $@2 struct_declaration_list RIGHT_BRACE  */
  ------------------
  |  Branch (6926:3): [True: 98, False: 15.2M]
  ------------------
 6927|     98|#line 968 "MachineIndependent/glslang.y"
 6928|     98|                                                                                                                          {
 6929|     98|        --parseContext.blockNestingLevel;
  ------------------
  |  |  781|     98|#define parseContext (*pParseContext)
  ------------------
 6930|     98|        parseContext.blockName = (yyvsp[-4].lex).string;
  ------------------
  |  |  781|     98|#define parseContext (*pParseContext)
  ------------------
 6931|     98|        parseContext.globalQualifierFixCheck((yyvsp[-5].interm.type).loc, (yyvsp[-5].interm.type).qualifier);
  ------------------
  |  |  781|     98|#define parseContext (*pParseContext)
  ------------------
 6932|     98|        parseContext.checkNoShaderLayouts((yyvsp[-5].interm.type).loc, (yyvsp[-5].interm.type).shaderQualifiers);
  ------------------
  |  |  781|     98|#define parseContext (*pParseContext)
  ------------------
 6933|     98|        parseContext.currentBlockQualifier = (yyvsp[-5].interm.type).qualifier;
  ------------------
  |  |  781|    196|#define parseContext (*pParseContext)
  ------------------
 6934|     98|        (yyval.interm).loc = (yyvsp[-5].interm.type).loc;
 6935|     98|        (yyval.interm).typeList = (yyvsp[-1].interm.typeList);
 6936|     98|    }
 6937|     98|#line 6938 "MachineIndependent/glslang_tab.cpp"
 6938|     98|    break;
 6939|       |
 6940|      0|  case 112: /* identifier_list: IDENTIFIER  */
  ------------------
  |  Branch (6940:3): [True: 0, False: 15.2M]
  ------------------
 6941|      0|#line 980 "MachineIndependent/glslang.y"
 6942|      0|                 {
 6943|      0|        (yyval.interm.identifierList) = new TIdentifierList;
 6944|      0|        (yyval.interm.identifierList)->push_back((yyvsp[0].lex).string);
 6945|      0|    }
 6946|      0|#line 6947 "MachineIndependent/glslang_tab.cpp"
 6947|      0|    break;
 6948|       |
 6949|      0|  case 113: /* identifier_list: identifier_list COMMA IDENTIFIER  */
  ------------------
  |  Branch (6949:3): [True: 0, False: 15.2M]
  ------------------
 6950|      0|#line 984 "MachineIndependent/glslang.y"
 6951|      0|                                       {
 6952|      0|        (yyval.interm.identifierList) = (yyvsp[-2].interm.identifierList);
 6953|      0|        (yyval.interm.identifierList)->push_back((yyvsp[0].lex).string);
 6954|      0|    }
 6955|      0|#line 6956 "MachineIndependent/glslang_tab.cpp"
 6956|      0|    break;
 6957|       |
 6958|   570k|  case 114: /* function_prototype: function_declarator RIGHT_PAREN  */
  ------------------
  |  Branch (6958:3): [True: 570k, False: 14.6M]
  ------------------
 6959|   570k|#line 991 "MachineIndependent/glslang.y"
 6960|   570k|                                       {
 6961|   570k|        (yyval.interm).function = (yyvsp[-1].interm.function);
 6962|   570k|        if (parseContext.compileOnly) (yyval.interm).function->setExport();
  ------------------
  |  |  781|   570k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6962:13): [True: 0, False: 570k]
  ------------------
 6963|   570k|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6964|   570k|    }
 6965|   570k|#line 6966 "MachineIndependent/glslang_tab.cpp"
 6966|   570k|    break;
 6967|       |
 6968|      0|  case 115: /* function_prototype: function_declarator RIGHT_PAREN attribute  */
  ------------------
  |  Branch (6968:3): [True: 0, False: 15.2M]
  ------------------
 6969|      0|#line 996 "MachineIndependent/glslang.y"
 6970|      0|                                                {
 6971|      0|        (yyval.interm).function = (yyvsp[-2].interm.function);
 6972|      0|        if (parseContext.compileOnly) (yyval.interm).function->setExport();
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6972:13): [True: 0, False: 0]
  ------------------
 6973|      0|        (yyval.interm).loc = (yyvsp[-1].lex).loc;
 6974|      0|        const char * extensions[2] = { E_GL_EXT_subgroup_uniform_control_flow, E_GL_EXT_maximal_reconvergence };
 6975|      0|        parseContext.requireExtensions((yyvsp[-1].lex).loc, 2, extensions, "attribute");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6976|      0|        parseContext.handleFunctionAttributes((yyvsp[-1].lex).loc, *(yyvsp[0].interm.attributes));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6977|      0|    }
 6978|      0|#line 6979 "MachineIndependent/glslang_tab.cpp"
 6979|      0|    break;
 6980|       |
 6981|      0|  case 116: /* function_prototype: attribute function_declarator RIGHT_PAREN  */
  ------------------
  |  Branch (6981:3): [True: 0, False: 15.2M]
  ------------------
 6982|      0|#line 1004 "MachineIndependent/glslang.y"
 6983|      0|                                                {
 6984|      0|        (yyval.interm).function = (yyvsp[-1].interm.function);
 6985|      0|        if (parseContext.compileOnly) (yyval.interm).function->setExport();
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6985:13): [True: 0, False: 0]
  ------------------
 6986|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6987|      0|        const char * extensions[2] = { E_GL_EXT_subgroup_uniform_control_flow, E_GL_EXT_maximal_reconvergence };
 6988|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 2, extensions, "attribute");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6989|      0|        parseContext.handleFunctionAttributes((yyvsp[0].lex).loc, *(yyvsp[-2].interm.attributes));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 6990|      0|    }
 6991|      0|#line 6992 "MachineIndependent/glslang_tab.cpp"
 6992|      0|    break;
 6993|       |
 6994|      0|  case 117: /* function_prototype: attribute function_declarator RIGHT_PAREN attribute  */
  ------------------
  |  Branch (6994:3): [True: 0, False: 15.2M]
  ------------------
 6995|      0|#line 1012 "MachineIndependent/glslang.y"
 6996|      0|                                                          {
 6997|      0|        (yyval.interm).function = (yyvsp[-2].interm.function);
 6998|      0|        if (parseContext.compileOnly) (yyval.interm).function->setExport();
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6998:13): [True: 0, False: 0]
  ------------------
 6999|      0|        (yyval.interm).loc = (yyvsp[-1].lex).loc;
 7000|      0|        const char * extensions[2] = { E_GL_EXT_subgroup_uniform_control_flow, E_GL_EXT_maximal_reconvergence };
 7001|      0|        parseContext.requireExtensions((yyvsp[-1].lex).loc, 2, extensions, "attribute");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7002|      0|        parseContext.handleFunctionAttributes((yyvsp[-1].lex).loc, *(yyvsp[-3].interm.attributes));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7003|      0|        parseContext.handleFunctionAttributes((yyvsp[-1].lex).loc, *(yyvsp[0].interm.attributes));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7004|      0|    }
 7005|      0|#line 7006 "MachineIndependent/glslang_tab.cpp"
 7006|      0|    break;
 7007|       |
 7008|  1.78k|  case 118: /* function_declarator: function_header  */
  ------------------
  |  Branch (7008:3): [True: 1.78k, False: 15.2M]
  ------------------
 7009|  1.78k|#line 1024 "MachineIndependent/glslang.y"
 7010|  1.78k|                      {
 7011|  1.78k|        (yyval.interm.function) = (yyvsp[0].interm.function);
 7012|  1.78k|    }
 7013|  1.78k|#line 7014 "MachineIndependent/glslang_tab.cpp"
 7014|  1.78k|    break;
 7015|       |
 7016|   569k|  case 119: /* function_declarator: function_header_with_parameters  */
  ------------------
  |  Branch (7016:3): [True: 569k, False: 14.6M]
  ------------------
 7017|   569k|#line 1027 "MachineIndependent/glslang.y"
 7018|   569k|                                      {
 7019|   569k|        (yyval.interm.function) = (yyvsp[0].interm.function);
 7020|   569k|    }
 7021|   569k|#line 7022 "MachineIndependent/glslang_tab.cpp"
 7022|   569k|    break;
 7023|       |
 7024|   569k|  case 120: /* function_header_with_parameters: function_header parameter_declaration  */
  ------------------
  |  Branch (7024:3): [True: 569k, False: 14.6M]
  ------------------
 7025|   569k|#line 1034 "MachineIndependent/glslang.y"
 7026|   569k|                                            {
 7027|       |        // Add the parameter
 7028|   569k|        (yyval.interm.function) = (yyvsp[-1].interm.function);
 7029|   569k|        if ((yyvsp[0].interm).param.type->getBasicType() != EbtVoid)
  ------------------
  |  Branch (7029:13): [True: 568k, False: 248]
  ------------------
 7030|   568k|        {
 7031|   568k|            if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
  ------------------
  |  |  781|   568k|#define parseContext (*pParseContext)
  ------------------
                          if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
  ------------------
  |  |  781|   568k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7031:19): [True: 568k, False: 0]
  |  Branch (7031:57): [True: 0, False: 568k]
  ------------------
 7032|   568k|                (yyvsp[-1].interm.function)->addParameter((yyvsp[0].interm).param);
 7033|      0|            else
 7034|      0|                parseContext.vkRelaxedRemapFunctionParameter((yyvsp[-1].interm.function), (yyvsp[0].interm).param);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7035|   568k|        }
 7036|    248|        else
 7037|    248|            delete (yyvsp[0].interm).param.type;
 7038|   569k|    }
 7039|   569k|#line 7040 "MachineIndependent/glslang_tab.cpp"
 7040|   569k|    break;
 7041|       |
 7042|   755k|  case 121: /* function_header_with_parameters: function_header_with_parameters COMMA parameter_declaration  */
  ------------------
  |  Branch (7042:3): [True: 755k, False: 14.4M]
  ------------------
 7043|   755k|#line 1047 "MachineIndependent/glslang.y"
 7044|   755k|                                                                  {
 7045|       |        //
 7046|       |        // Only first parameter of one-parameter functions can be void
 7047|       |        // The check for named parameters not being void is done in parameter_declarator
 7048|       |        //
 7049|   755k|        if ((yyvsp[0].interm).param.type->getBasicType() == EbtVoid) {
  ------------------
  |  Branch (7049:13): [True: 0, False: 755k]
  ------------------
 7050|       |            //
 7051|       |            // This parameter > first is void
 7052|       |            //
 7053|      0|            parseContext.error((yyvsp[-1].lex).loc, "cannot be an argument type except for '(void)'", "void", "");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7054|      0|            delete (yyvsp[0].interm).param.type;
 7055|   755k|        } else {
 7056|       |            // Add the parameter
 7057|   755k|            (yyval.interm.function) = (yyvsp[-2].interm.function);
 7058|   755k|            if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
  ------------------
  |  |  781|   755k|#define parseContext (*pParseContext)
  ------------------
                          if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
  ------------------
  |  |  781|   755k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7058:19): [True: 755k, False: 0]
  |  Branch (7058:57): [True: 0, False: 755k]
  ------------------
 7059|   755k|                (yyvsp[-2].interm.function)->addParameter((yyvsp[0].interm).param);
 7060|      0|            else
 7061|      0|                parseContext.vkRelaxedRemapFunctionParameter((yyvsp[-2].interm.function), (yyvsp[0].interm).param);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7062|   755k|        }
 7063|   755k|    }
 7064|   755k|#line 7065 "MachineIndependent/glslang_tab.cpp"
 7065|   755k|    break;
 7066|       |
 7067|    300|  case 122: /* function_header_with_parameters: function_header_with_parameters COMMA DOT DOT DOT  */
  ------------------
  |  Branch (7067:3): [True: 300, False: 15.2M]
  ------------------
 7068|    300|#line 1067 "MachineIndependent/glslang.y"
 7069|    300|                                                        {
 7070|    300|        (yyval.interm.function) = (yyvsp[-4].interm.function);
 7071|    300|        parseContext.makeVariadic((yyvsp[-4].interm.function), (yyvsp[-2].lex).loc);
  ------------------
  |  |  781|    300|#define parseContext (*pParseContext)
  ------------------
 7072|    300|    }
 7073|    300|#line 7074 "MachineIndependent/glslang_tab.cpp"
 7074|    300|    break;
 7075|       |
 7076|   570k|  case 123: /* function_header: fully_specified_type IDENTIFIER LEFT_PAREN  */
  ------------------
  |  Branch (7076:3): [True: 570k, False: 14.6M]
  ------------------
 7077|   570k|#line 1074 "MachineIndependent/glslang.y"
 7078|   570k|                                                 {
 7079|   570k|        if ((yyvsp[-2].interm.type).qualifier.storage != EvqGlobal && (yyvsp[-2].interm.type).qualifier.storage != EvqTemporary) {
  ------------------
  |  Branch (7079:13): [True: 0, False: 570k]
  |  Branch (7079:71): [True: 0, False: 0]
  ------------------
 7080|      0|            parseContext.error((yyvsp[-1].lex).loc, "no qualifiers allowed for function return",
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7081|      0|                               GetStorageQualifierString((yyvsp[-2].interm.type).qualifier.storage), "");
 7082|      0|        }
 7083|   570k|        if ((yyvsp[-2].interm.type).arraySizes)
  ------------------
  |  Branch (7083:13): [True: 0, False: 570k]
  ------------------
 7084|      0|            parseContext.arraySizeRequiredCheck((yyvsp[-2].interm.type).loc, *(yyvsp[-2].interm.type).arraySizes);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7085|       |
 7086|       |        // Add the function as a prototype after parsing it (we do not support recursion)
 7087|   570k|        TFunction *function;
 7088|   570k|        TType type((yyvsp[-2].interm.type));
 7089|       |
 7090|       |        // Potentially rename shader entry point function.  No-op most of the time.
 7091|   570k|        parseContext.renameShaderFunction((yyvsp[-1].lex).string);
  ------------------
  |  |  781|   570k|#define parseContext (*pParseContext)
  ------------------
 7092|       |
 7093|       |        // Make the function
 7094|   570k|        function = new TFunction((yyvsp[-1].lex).string, type);
 7095|   570k|        (yyval.interm.function) = function;
 7096|   570k|    }
 7097|   570k|#line 7098 "MachineIndependent/glslang_tab.cpp"
 7098|   570k|    break;
 7099|       |
 7100|   147k|  case 124: /* parameter_declarator: type_specifier IDENTIFIER  */
  ------------------
  |  Branch (7100:3): [True: 147k, False: 15.0M]
  ------------------
 7101|   147k|#line 1097 "MachineIndependent/glslang.y"
 7102|   147k|                                {
 7103|   147k|        if ((yyvsp[-1].interm.type).arraySizes) {
  ------------------
  |  Branch (7103:13): [True: 5.33k, False: 142k]
  ------------------
 7104|  5.33k|            parseContext.profileRequires((yyvsp[-1].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  781|  5.33k|#define parseContext (*pParseContext)
  ------------------
 7105|  5.33k|            parseContext.profileRequires((yyvsp[-1].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  781|  5.33k|#define parseContext (*pParseContext)
  ------------------
 7106|  5.33k|            parseContext.arraySizeRequiredCheck((yyvsp[-1].interm.type).loc, *(yyvsp[-1].interm.type).arraySizes);
  ------------------
  |  |  781|  5.33k|#define parseContext (*pParseContext)
  ------------------
 7107|  5.33k|        }
 7108|   147k|        if ((yyvsp[-1].interm.type).basicType == EbtVoid) {
  ------------------
  |  Branch (7108:13): [True: 0, False: 147k]
  ------------------
 7109|      0|            parseContext.error((yyvsp[0].lex).loc, "illegal use of type 'void'", (yyvsp[0].lex).string->c_str(), "");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7110|      0|        }
 7111|   147k|        parseContext.reservedErrorCheck((yyvsp[0].lex).loc, *(yyvsp[0].lex).string);
  ------------------
  |  |  781|   147k|#define parseContext (*pParseContext)
  ------------------
 7112|       |
 7113|   147k|        TParameter param = {(yyvsp[0].lex).string, new TType((yyvsp[-1].interm.type)), {}};
 7114|   147k|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 7115|   147k|        (yyval.interm).param = param;
 7116|   147k|    }
 7117|   147k|#line 7118 "MachineIndependent/glslang_tab.cpp"
 7118|   147k|    break;
 7119|       |
 7120|  1.09k|  case 125: /* parameter_declarator: type_specifier IDENTIFIER array_specifier  */
  ------------------
  |  Branch (7120:3): [True: 1.09k, False: 15.2M]
  ------------------
 7121|  1.09k|#line 1112 "MachineIndependent/glslang.y"
 7122|  1.09k|                                                {
 7123|  1.09k|        if ((yyvsp[-2].interm.type).arraySizes) {
  ------------------
  |  Branch (7123:13): [True: 0, False: 1.09k]
  ------------------
 7124|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7125|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7126|      0|            parseContext.arraySizeRequiredCheck((yyvsp[-2].interm.type).loc, *(yyvsp[-2].interm.type).arraySizes);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7127|      0|        }
 7128|  1.09k|        TType* type = new TType((yyvsp[-2].interm.type));
 7129|  1.09k|        type->transferArraySizes((yyvsp[0].interm).arraySizes);
 7130|  1.09k|        type->copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
 7131|       |
 7132|  1.09k|        parseContext.arrayOfArrayVersionCheck((yyvsp[-1].lex).loc, type->getArraySizes());
  ------------------
  |  |  781|  1.09k|#define parseContext (*pParseContext)
  ------------------
 7133|  1.09k|        parseContext.arraySizeRequiredCheck((yyvsp[0].interm).loc, *(yyvsp[0].interm).arraySizes);
  ------------------
  |  |  781|  1.09k|#define parseContext (*pParseContext)
  ------------------
 7134|  1.09k|        parseContext.reservedErrorCheck((yyvsp[-1].lex).loc, *(yyvsp[-1].lex).string);
  ------------------
  |  |  781|  1.09k|#define parseContext (*pParseContext)
  ------------------
 7135|       |
 7136|  1.09k|        TParameter param = { (yyvsp[-1].lex).string, type, {} };
 7137|       |
 7138|  1.09k|        (yyval.interm).loc = (yyvsp[-1].lex).loc;
 7139|  1.09k|        (yyval.interm).param = param;
 7140|  1.09k|    }
 7141|  1.09k|#line 7142 "MachineIndependent/glslang_tab.cpp"
 7142|  1.09k|    break;
 7143|       |
 7144|    300|  case 126: /* parameter_declarator: type_specifier IDENTIFIER EQUAL initializer  */
  ------------------
  |  Branch (7144:3): [True: 300, False: 15.2M]
  ------------------
 7145|    300|#line 1131 "MachineIndependent/glslang.y"
 7146|    300|                                                  {
 7147|    300|        TParameter param = parseContext.getParamWithDefault((yyvsp[-3].interm.type), (yyvsp[-2].lex).string, (yyvsp[0].interm.intermTypedNode), (yyvsp[-1].lex).loc);
  ------------------
  |  |  781|    300|#define parseContext (*pParseContext)
  ------------------
 7148|    300|        (yyval.interm).loc = (yyvsp[-2].lex).loc;
 7149|    300|        (yyval.interm).param = param;
 7150|    300|    }
 7151|    300|#line 7152 "MachineIndependent/glslang_tab.cpp"
 7152|    300|    break;
 7153|       |
 7154|  5.88k|  case 127: /* parameter_declaration: type_qualifier parameter_declarator  */
  ------------------
  |  Branch (7154:3): [True: 5.88k, False: 15.2M]
  ------------------
 7155|  5.88k|#line 1142 "MachineIndependent/glslang.y"
 7156|  5.88k|                                          {
 7157|  5.88k|        (yyval.interm) = (yyvsp[0].interm);
 7158|  5.88k|        if ((yyvsp[-1].interm.type).qualifier.precision != EpqNone)
  ------------------
  |  Branch (7158:13): [True: 298, False: 5.58k]
  ------------------
 7159|    298|            (yyval.interm).param.type->getQualifier().precision = (yyvsp[-1].interm.type).qualifier.precision;
 7160|  5.88k|        parseContext.precisionQualifierCheck((yyval.interm).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier(), (yyval.interm).param.type->hasTypeParameter());
  ------------------
  |  |  781|  5.88k|#define parseContext (*pParseContext)
  ------------------
 7161|       |
 7162|  5.88k|        parseContext.checkNoShaderLayouts((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).shaderQualifiers);
  ------------------
  |  |  781|  5.88k|#define parseContext (*pParseContext)
  ------------------
 7163|  5.88k|        parseContext.parameterTypeCheck((yyvsp[0].interm).loc, (yyvsp[-1].interm.type).qualifier.storage, *(yyval.interm).param.type);
  ------------------
  |  |  781|  5.88k|#define parseContext (*pParseContext)
  ------------------
 7164|  5.88k|        parseContext.paramCheckFix((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, *(yyval.interm).param.type);
  ------------------
  |  |  781|  5.88k|#define parseContext (*pParseContext)
  ------------------
 7165|       |
 7166|  5.88k|    }
 7167|  5.88k|#line 7168 "MachineIndependent/glslang_tab.cpp"
 7168|  5.88k|    break;
 7169|       |
 7170|   142k|  case 128: /* parameter_declaration: parameter_declarator  */
  ------------------
  |  Branch (7170:3): [True: 142k, False: 15.0M]
  ------------------
 7171|   142k|#line 1153 "MachineIndependent/glslang.y"
 7172|   142k|                           {
 7173|   142k|        (yyval.interm) = (yyvsp[0].interm);
 7174|       |
 7175|   142k|        parseContext.parameterTypeCheck((yyvsp[0].interm).loc, EvqIn, *(yyvsp[0].interm).param.type);
  ------------------
  |  |  781|   142k|#define parseContext (*pParseContext)
  ------------------
 7176|   142k|        parseContext.paramCheckFixStorage((yyvsp[0].interm).loc, EvqTemporary, *(yyval.interm).param.type);
  ------------------
  |  |  781|   142k|#define parseContext (*pParseContext)
  ------------------
 7177|   142k|        parseContext.precisionQualifierCheck((yyval.interm).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier(), (yyval.interm).param.type->hasTypeParameter());
  ------------------
  |  |  781|   142k|#define parseContext (*pParseContext)
  ------------------
 7178|   142k|    }
 7179|   142k|#line 7180 "MachineIndependent/glslang_tab.cpp"
 7180|   142k|    break;
 7181|       |
 7182|   121k|  case 129: /* parameter_declaration: type_qualifier parameter_type_specifier  */
  ------------------
  |  Branch (7182:3): [True: 121k, False: 15.1M]
  ------------------
 7183|   121k|#line 1163 "MachineIndependent/glslang.y"
 7184|   121k|                                              {
 7185|   121k|        (yyval.interm) = (yyvsp[0].interm);
 7186|   121k|        if ((yyvsp[-1].interm.type).qualifier.precision != EpqNone)
  ------------------
  |  Branch (7186:13): [True: 51.4k, False: 69.9k]
  ------------------
 7187|  51.4k|            (yyval.interm).param.type->getQualifier().precision = (yyvsp[-1].interm.type).qualifier.precision;
 7188|   121k|        parseContext.precisionQualifierCheck((yyvsp[-1].interm.type).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier(), (yyval.interm).param.type->hasTypeParameter());
  ------------------
  |  |  781|   121k|#define parseContext (*pParseContext)
  ------------------
 7189|       |
 7190|   121k|        parseContext.checkNoShaderLayouts((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).shaderQualifiers);
  ------------------
  |  |  781|   121k|#define parseContext (*pParseContext)
  ------------------
 7191|   121k|        parseContext.parameterTypeCheck((yyvsp[0].interm).loc, (yyvsp[-1].interm.type).qualifier.storage, *(yyval.interm).param.type);
  ------------------
  |  |  781|   121k|#define parseContext (*pParseContext)
  ------------------
 7192|   121k|        parseContext.paramCheckFix((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, *(yyval.interm).param.type);
  ------------------
  |  |  781|   121k|#define parseContext (*pParseContext)
  ------------------
 7193|   121k|    }
 7194|   121k|#line 7195 "MachineIndependent/glslang_tab.cpp"
 7195|   121k|    break;
 7196|       |
 7197|  1.05M|  case 130: /* parameter_declaration: parameter_type_specifier  */
  ------------------
  |  Branch (7197:3): [True: 1.05M, False: 14.1M]
  ------------------
 7198|  1.05M|#line 1173 "MachineIndependent/glslang.y"
 7199|  1.05M|                               {
 7200|  1.05M|        (yyval.interm) = (yyvsp[0].interm);
 7201|       |
 7202|  1.05M|        parseContext.parameterTypeCheck((yyvsp[0].interm).loc, EvqIn, *(yyvsp[0].interm).param.type);
  ------------------
  |  |  781|  1.05M|#define parseContext (*pParseContext)
  ------------------
 7203|  1.05M|        parseContext.paramCheckFixStorage((yyvsp[0].interm).loc, EvqTemporary, *(yyval.interm).param.type);
  ------------------
  |  |  781|  1.05M|#define parseContext (*pParseContext)
  ------------------
 7204|  1.05M|        parseContext.precisionQualifierCheck((yyval.interm).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier(), (yyval.interm).param.type->hasTypeParameter());
  ------------------
  |  |  781|  1.05M|#define parseContext (*pParseContext)
  ------------------
 7205|  1.05M|    }
 7206|  1.05M|#line 7207 "MachineIndependent/glslang_tab.cpp"
 7207|  1.05M|    break;
 7208|       |
 7209|  1.17M|  case 131: /* parameter_type_specifier: type_specifier  */
  ------------------
  |  Branch (7209:3): [True: 1.17M, False: 14.0M]
  ------------------
 7210|  1.17M|#line 1183 "MachineIndependent/glslang.y"
 7211|  1.17M|                     {
 7212|  1.17M|        TParameter param = { 0, new TType((yyvsp[0].interm.type)), {} };
 7213|  1.17M|        (yyval.interm).param = param;
 7214|  1.17M|        if ((yyvsp[0].interm.type).arraySizes)
  ------------------
  |  Branch (7214:13): [True: 3.75k, False: 1.17M]
  ------------------
 7215|  3.75k|            parseContext.arraySizeRequiredCheck((yyvsp[0].interm.type).loc, *(yyvsp[0].interm.type).arraySizes);
  ------------------
  |  |  781|  3.75k|#define parseContext (*pParseContext)
  ------------------
 7216|  1.17M|    }
 7217|  1.17M|#line 7218 "MachineIndependent/glslang_tab.cpp"
 7218|  1.17M|    break;
 7219|       |
 7220|  16.7k|  case 132: /* init_declarator_list: single_declaration  */
  ------------------
  |  Branch (7220:3): [True: 16.7k, False: 15.2M]
  ------------------
 7221|  16.7k|#line 1192 "MachineIndependent/glslang.y"
 7222|  16.7k|                         {
 7223|  16.7k|        (yyval.interm) = (yyvsp[0].interm);
 7224|  16.7k|    }
 7225|  16.7k|#line 7226 "MachineIndependent/glslang_tab.cpp"
 7226|  16.7k|    break;
 7227|       |
 7228|      0|  case 133: /* init_declarator_list: init_declarator_list COMMA IDENTIFIER  */
  ------------------
  |  Branch (7228:3): [True: 0, False: 15.2M]
  ------------------
 7229|      0|#line 1195 "MachineIndependent/glslang.y"
 7230|      0|                                            {
 7231|      0|        (yyval.interm) = (yyvsp[-2].interm);
 7232|      0|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[0].lex).loc, *(yyvsp[0].lex).string, (yyvsp[-2].interm).type);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7233|      0|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-2].interm).intermNode, declNode, (yyvsp[0].lex).loc);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7234|      0|    }
 7235|      0|#line 7236 "MachineIndependent/glslang_tab.cpp"
 7236|      0|    break;
 7237|       |
 7238|      0|  case 134: /* init_declarator_list: init_declarator_list COMMA IDENTIFIER array_specifier  */
  ------------------
  |  Branch (7238:3): [True: 0, False: 15.2M]
  ------------------
 7239|      0|#line 1200 "MachineIndependent/glslang.y"
 7240|      0|                                                            {
 7241|      0|        (yyval.interm) = (yyvsp[-3].interm);
 7242|      0|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-1].lex).loc, *(yyvsp[-1].lex).string, (yyvsp[-3].interm).type, (yyvsp[0].interm).arraySizes);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7243|      0|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-3].interm).intermNode, declNode, (yyvsp[-1].lex).loc);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7244|      0|    }
 7245|      0|#line 7246 "MachineIndependent/glslang_tab.cpp"
 7246|      0|    break;
 7247|       |
 7248|      0|  case 135: /* init_declarator_list: init_declarator_list COMMA IDENTIFIER array_specifier EQUAL initializer  */
  ------------------
  |  Branch (7248:3): [True: 0, False: 15.2M]
  ------------------
 7249|      0|#line 1205 "MachineIndependent/glslang.y"
 7250|      0|                                                                              {
 7251|      0|        (yyval.interm).type = (yyvsp[-5].interm).type;
 7252|      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));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7253|      0|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-5].interm).intermNode, declNode, (yyvsp[-1].lex).loc);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7254|      0|    }
 7255|      0|#line 7256 "MachineIndependent/glslang_tab.cpp"
 7256|      0|    break;
 7257|       |
 7258|      0|  case 136: /* init_declarator_list: init_declarator_list COMMA IDENTIFIER EQUAL initializer  */
  ------------------
  |  Branch (7258:3): [True: 0, False: 15.2M]
  ------------------
 7259|      0|#line 1210 "MachineIndependent/glslang.y"
 7260|      0|                                                              {
 7261|      0|        (yyval.interm).type = (yyvsp[-4].interm).type;
 7262|      0|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string, (yyvsp[-4].interm).type, 0, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7263|      0|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-4].interm).intermNode, declNode, (yyvsp[-1].lex).loc);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7264|      0|    }
 7265|      0|#line 7266 "MachineIndependent/glslang_tab.cpp"
 7266|      0|    break;
 7267|       |
 7268|     21|  case 137: /* single_declaration: fully_specified_type  */
  ------------------
  |  Branch (7268:3): [True: 21, False: 15.2M]
  ------------------
 7269|     21|#line 1218 "MachineIndependent/glslang.y"
 7270|     21|                           {
 7271|     21|        (yyval.interm).type = (yyvsp[0].interm.type);
 7272|     21|        (yyval.interm).intermNode = 0;
 7273|     21|        parseContext.declareTypeDefaults((yyval.interm).loc, (yyval.interm).type);
  ------------------
  |  |  781|     21|#define parseContext (*pParseContext)
  ------------------
 7274|     21|    }
 7275|     21|#line 7276 "MachineIndependent/glslang_tab.cpp"
 7276|     21|    break;
 7277|       |
 7278|  11.0k|  case 138: /* single_declaration: fully_specified_type IDENTIFIER  */
  ------------------
  |  Branch (7278:3): [True: 11.0k, False: 15.2M]
  ------------------
 7279|  11.0k|#line 1223 "MachineIndependent/glslang.y"
 7280|  11.0k|                                      {
 7281|  11.0k|        (yyval.interm).type = (yyvsp[-1].interm.type);
 7282|  11.0k|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[0].lex).loc, *(yyvsp[0].lex).string, (yyvsp[-1].interm.type));
  ------------------
  |  |  781|  11.0k|#define parseContext (*pParseContext)
  ------------------
 7283|  11.0k|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate(nullptr, declNode, (yyvsp[0].lex).loc);
  ------------------
  |  |  781|  11.0k|#define parseContext (*pParseContext)
  ------------------
 7284|       |
 7285|  11.0k|    }
 7286|  11.0k|#line 7287 "MachineIndependent/glslang_tab.cpp"
 7287|  11.0k|    break;
 7288|       |
 7289|    615|  case 139: /* single_declaration: fully_specified_type IDENTIFIER array_specifier  */
  ------------------
  |  Branch (7289:3): [True: 615, False: 15.2M]
  ------------------
 7290|    615|#line 1229 "MachineIndependent/glslang.y"
 7291|    615|                                                      {
 7292|    615|        (yyval.interm).type = (yyvsp[-2].interm.type);
 7293|    615|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-1].lex).loc, *(yyvsp[-1].lex).string, (yyvsp[-2].interm.type), (yyvsp[0].interm).arraySizes);
  ------------------
  |  |  781|    615|#define parseContext (*pParseContext)
  ------------------
 7294|    615|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate(nullptr, declNode, (yyvsp[-1].lex).loc);
  ------------------
  |  |  781|    615|#define parseContext (*pParseContext)
  ------------------
 7295|    615|    }
 7296|    615|#line 7297 "MachineIndependent/glslang_tab.cpp"
 7297|    615|    break;
 7298|       |
 7299|      9|  case 140: /* single_declaration: fully_specified_type IDENTIFIER array_specifier EQUAL initializer  */
  ------------------
  |  Branch (7299:3): [True: 9, False: 15.2M]
  ------------------
 7300|      9|#line 1234 "MachineIndependent/glslang.y"
 7301|      9|                                                                        {
 7302|      9|        (yyval.interm).type = (yyvsp[-4].interm.type);
 7303|      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));
  ------------------
  |  |  781|      9|#define parseContext (*pParseContext)
  ------------------
 7304|      9|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate(nullptr, declNode, (yyvsp[-3].lex).loc);
  ------------------
  |  |  781|      9|#define parseContext (*pParseContext)
  ------------------
 7305|      9|    }
 7306|      9|#line 7307 "MachineIndependent/glslang_tab.cpp"
 7307|      9|    break;
 7308|       |
 7309|  5.08k|  case 141: /* single_declaration: fully_specified_type IDENTIFIER EQUAL initializer  */
  ------------------
  |  Branch (7309:3): [True: 5.08k, False: 15.2M]
  ------------------
 7310|  5.08k|#line 1239 "MachineIndependent/glslang.y"
 7311|  5.08k|                                                        {
 7312|  5.08k|        (yyval.interm).type = (yyvsp[-3].interm.type);
 7313|  5.08k|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string, (yyvsp[-3].interm.type), 0, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|  5.08k|#define parseContext (*pParseContext)
  ------------------
 7314|  5.08k|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate(nullptr, declNode, (yyvsp[-2].lex).loc);
  ------------------
  |  |  781|  5.08k|#define parseContext (*pParseContext)
  ------------------
 7315|  5.08k|    }
 7316|  5.08k|#line 7317 "MachineIndependent/glslang_tab.cpp"
 7317|  5.08k|    break;
 7318|       |
 7319|   526k|  case 142: /* fully_specified_type: type_specifier  */
  ------------------
  |  Branch (7319:3): [True: 526k, False: 14.6M]
  ------------------
 7320|   526k|#line 1248 "MachineIndependent/glslang.y"
 7321|   526k|                     {
 7322|   526k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7323|       |
 7324|   526k|        parseContext.globalQualifierTypeCheck((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).qualifier, (yyval.interm.type));
  ------------------
  |  |  781|   526k|#define parseContext (*pParseContext)
  ------------------
 7325|   526k|        if ((yyvsp[0].interm.type).arraySizes) {
  ------------------
  |  Branch (7325:13): [True: 0, False: 526k]
  ------------------
 7326|      0|            parseContext.profileRequires((yyvsp[0].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7327|      0|            parseContext.profileRequires((yyvsp[0].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7328|      0|        }
 7329|   526k|        parseContext.precisionQualifierCheck((yyval.interm.type).loc, (yyval.interm.type).basicType, (yyval.interm.type).qualifier, (yyval.interm.type).hasTypeParameter());
  ------------------
  |  |  781|   526k|#define parseContext (*pParseContext)
  ------------------
 7330|   526k|    }
 7331|   526k|#line 7332 "MachineIndependent/glslang_tab.cpp"
 7332|   526k|    break;
 7333|       |
 7334|  61.4k|  case 143: /* fully_specified_type: type_qualifier type_specifier  */
  ------------------
  |  Branch (7334:3): [True: 61.4k, False: 15.1M]
  ------------------
 7335|  61.4k|#line 1258 "MachineIndependent/glslang.y"
 7336|  61.4k|                                     {
 7337|  61.4k|        parseContext.globalQualifierFixCheck((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, false, &(yyvsp[0].interm.type));
  ------------------
  |  |  781|  61.4k|#define parseContext (*pParseContext)
  ------------------
 7338|  61.4k|        parseContext.globalQualifierTypeCheck((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, (yyvsp[0].interm.type));
  ------------------
  |  |  781|  61.4k|#define parseContext (*pParseContext)
  ------------------
 7339|       |
 7340|  61.4k|        if ((yyvsp[0].interm.type).arraySizes) {
  ------------------
  |  Branch (7340:13): [True: 0, False: 61.4k]
  ------------------
 7341|      0|            parseContext.profileRequires((yyvsp[0].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7342|      0|            parseContext.profileRequires((yyvsp[0].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7343|      0|        }
 7344|       |
 7345|  61.4k|        if ((yyvsp[0].interm.type).arraySizes && parseContext.arrayQualifierError((yyvsp[0].interm.type).loc, (yyvsp[-1].interm.type).qualifier))
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7345:13): [True: 0, False: 61.4k]
  |  Branch (7345:50): [True: 0, False: 0]
  ------------------
 7346|      0|            (yyvsp[0].interm.type).arraySizes = nullptr;
 7347|       |
 7348|  61.4k|        parseContext.checkNoShaderLayouts((yyvsp[0].interm.type).loc, (yyvsp[-1].interm.type).shaderQualifiers);
  ------------------
  |  |  781|  61.4k|#define parseContext (*pParseContext)
  ------------------
 7349|  61.4k|        (yyvsp[0].interm.type).shaderQualifiers.merge((yyvsp[-1].interm.type).shaderQualifiers);
 7350|  61.4k|        parseContext.mergeQualifiers((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).qualifier, (yyvsp[-1].interm.type).qualifier, true);
  ------------------
  |  |  781|  61.4k|#define parseContext (*pParseContext)
  ------------------
 7351|  61.4k|        parseContext.precisionQualifierCheck((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).basicType, (yyvsp[0].interm.type).qualifier, (yyvsp[0].interm.type).hasTypeParameter());
  ------------------
  |  |  781|  61.4k|#define parseContext (*pParseContext)
  ------------------
 7352|       |
 7353|  61.4k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7354|       |
 7355|  61.4k|        if (! (yyval.interm.type).qualifier.isInterpolation() &&
  ------------------
  |  Branch (7355:13): [True: 58.8k, False: 2.56k]
  ------------------
 7356|  58.8k|            ((parseContext.language == EShLangVertex   && (yyval.interm.type).qualifier.storage == EvqVaryingOut) ||
  ------------------
  |  |  781|  58.8k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7356:15): [True: 51.6k, False: 7.25k]
  |  Branch (7356:59): [True: 205, False: 51.4k]
  ------------------
 7357|  58.6k|             (parseContext.language == EShLangFragment && (yyval.interm.type).qualifier.storage == EvqVaryingIn)))
  ------------------
  |  |  781|  58.6k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7357:15): [True: 1.20k, False: 57.4k]
  |  Branch (7357:59): [True: 404, False: 804]
  ------------------
 7358|    609|            (yyval.interm.type).qualifier.smooth = true;
 7359|  61.4k|    }
 7360|  61.4k|#line 7361 "MachineIndependent/glslang_tab.cpp"
 7361|  61.4k|    break;
 7362|       |
 7363|      0|  case 144: /* invariant_qualifier: INVARIANT  */
  ------------------
  |  Branch (7363:3): [True: 0, False: 15.2M]
  ------------------
 7364|      0|#line 1285 "MachineIndependent/glslang.y"
 7365|      0|                {
 7366|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "invariant");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7367|      0|        parseContext.profileRequires((yyval.interm.type).loc, ENoProfile, 120, 0, "invariant");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7368|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7369|      0|        (yyval.interm.type).qualifier.invariant = true;
 7370|      0|    }
 7371|      0|#line 7372 "MachineIndependent/glslang_tab.cpp"
 7372|      0|    break;
 7373|       |
 7374|      0|  case 145: /* interpolation_qualifier: SMOOTH  */
  ------------------
  |  Branch (7374:3): [True: 0, False: 15.2M]
  ------------------
 7375|      0|#line 1294 "MachineIndependent/glslang.y"
 7376|      0|             {
 7377|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "smooth");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7378|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "smooth");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7379|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 300, 0, "smooth");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7380|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7381|      0|        (yyval.interm.type).qualifier.smooth = true;
 7382|      0|    }
 7383|      0|#line 7384 "MachineIndependent/glslang_tab.cpp"
 7384|      0|    break;
 7385|       |
 7386|  2.56k|  case 146: /* interpolation_qualifier: FLAT  */
  ------------------
  |  Branch (7386:3): [True: 2.56k, False: 15.2M]
  ------------------
 7387|  2.56k|#line 1301 "MachineIndependent/glslang.y"
 7388|  2.56k|           {
 7389|  2.56k|        parseContext.globalCheck((yyvsp[0].lex).loc, "flat");
  ------------------
  |  |  781|  2.56k|#define parseContext (*pParseContext)
  ------------------
 7390|  2.56k|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "flat");
  ------------------
  |  |  781|  2.56k|#define parseContext (*pParseContext)
  ------------------
 7391|  2.56k|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 300, 0, "flat");
  ------------------
  |  |  781|  2.56k|#define parseContext (*pParseContext)
  ------------------
 7392|  2.56k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7393|  2.56k|        (yyval.interm.type).qualifier.flat = true;
 7394|  2.56k|    }
 7395|  2.56k|#line 7396 "MachineIndependent/glslang_tab.cpp"
 7396|  2.56k|    break;
 7397|       |
 7398|      0|  case 147: /* interpolation_qualifier: NOPERSPECTIVE  */
  ------------------
  |  Branch (7398:3): [True: 0, False: 15.2M]
  ------------------
 7399|      0|#line 1308 "MachineIndependent/glslang.y"
 7400|      0|                    {
 7401|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "noperspective");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7402|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 0, E_GL_NV_shader_noperspective_interpolation, "noperspective");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7403|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "noperspective");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7404|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7405|      0|        (yyval.interm.type).qualifier.nopersp = true;
 7406|      0|    }
 7407|      0|#line 7408 "MachineIndependent/glslang_tab.cpp"
 7408|      0|    break;
 7409|       |
 7410|      0|  case 148: /* interpolation_qualifier: EXPLICITINTERPAMD  */
  ------------------
  |  Branch (7410:3): [True: 0, False: 15.2M]
  ------------------
 7411|      0|#line 1315 "MachineIndependent/glslang.y"
 7412|      0|                        {
 7413|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "__explicitInterpAMD");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7414|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 450, E_GL_AMD_shader_explicit_vertex_parameter, "explicit interpolation");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7415|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECompatibilityProfile, 450, E_GL_AMD_shader_explicit_vertex_parameter, "explicit interpolation");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7416|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7417|      0|        (yyval.interm.type).qualifier.explicitInterp = true;
 7418|      0|    }
 7419|      0|#line 7420 "MachineIndependent/glslang_tab.cpp"
 7420|      0|    break;
 7421|       |
 7422|      0|  case 149: /* interpolation_qualifier: PERVERTEXNV  */
  ------------------
  |  Branch (7422:3): [True: 0, False: 15.2M]
  ------------------
 7423|      0|#line 1322 "MachineIndependent/glslang.y"
 7424|      0|                  {
 7425|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "pervertexNV");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7426|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 0, E_GL_NV_fragment_shader_barycentric, "fragment shader barycentric");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7427|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECompatibilityProfile, 0, E_GL_NV_fragment_shader_barycentric, "fragment shader barycentric");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7428|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 0, E_GL_NV_fragment_shader_barycentric, "fragment shader barycentric");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7429|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7430|      0|        (yyval.interm.type).qualifier.pervertexNV = true;
 7431|      0|    }
 7432|      0|#line 7433 "MachineIndependent/glslang_tab.cpp"
 7433|      0|    break;
 7434|       |
 7435|      0|  case 150: /* interpolation_qualifier: PERVERTEXEXT  */
  ------------------
  |  Branch (7435:3): [True: 0, False: 15.2M]
  ------------------
 7436|      0|#line 1330 "MachineIndependent/glslang.y"
 7437|      0|                   {
 7438|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "pervertexEXT");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7439|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 0, E_GL_EXT_fragment_shader_barycentric, "fragment shader barycentric");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7440|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECompatibilityProfile, 0, E_GL_EXT_fragment_shader_barycentric, "fragment shader barycentric");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7441|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 0, E_GL_EXT_fragment_shader_barycentric, "fragment shader barycentric");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7442|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7443|      0|        (yyval.interm.type).qualifier.pervertexEXT = true;
 7444|      0|    }
 7445|      0|#line 7446 "MachineIndependent/glslang_tab.cpp"
 7446|      0|    break;
 7447|       |
 7448|      5|  case 151: /* interpolation_qualifier: PERPRIMITIVENV  */
  ------------------
  |  Branch (7448:3): [True: 5, False: 15.2M]
  ------------------
 7449|      5|#line 1338 "MachineIndependent/glslang.y"
 7450|      5|                     {
 7451|       |        // No need for profile version or extension check. Shader stage already checks both.
 7452|      5|        parseContext.globalCheck((yyvsp[0].lex).loc, "perprimitiveNV");
  ------------------
  |  |  781|      5|#define parseContext (*pParseContext)
  ------------------
 7453|      5|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangFragmentMask | EShLangMeshMask), "perprimitiveNV");
  ------------------
  |  |  781|      5|#define parseContext (*pParseContext)
  ------------------
 7454|       |        // Fragment shader stage doesn't check for extension. So we explicitly add below extension check.
 7455|      5|        if (parseContext.language == EShLangFragment)
  ------------------
  |  |  781|      5|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7455:13): [True: 0, False: 5]
  ------------------
 7456|      0|            parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_NV_mesh_shader, "perprimitiveNV");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7457|      5|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7458|      5|        (yyval.interm.type).qualifier.perPrimitiveNV = true;
 7459|      5|    }
 7460|      5|#line 7461 "MachineIndependent/glslang_tab.cpp"
 7461|      5|    break;
 7462|       |
 7463|      5|  case 152: /* interpolation_qualifier: PERPRIMITIVEEXT  */
  ------------------
  |  Branch (7463:3): [True: 5, False: 15.2M]
  ------------------
 7464|      5|#line 1348 "MachineIndependent/glslang.y"
 7465|      5|                      {
 7466|       |        // No need for profile version or extension check. Shader stage already checks both.
 7467|      5|        parseContext.globalCheck((yyvsp[0].lex).loc, "perprimitiveEXT");
  ------------------
  |  |  781|      5|#define parseContext (*pParseContext)
  ------------------
 7468|      5|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangFragmentMask | EShLangMeshMask), "perprimitiveEXT");
  ------------------
  |  |  781|      5|#define parseContext (*pParseContext)
  ------------------
 7469|       |        // Fragment shader stage doesn't check for extension. So we explicitly add below extension check.
 7470|      5|        if (parseContext.language == EShLangFragment)
  ------------------
  |  |  781|      5|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7470:13): [True: 0, False: 5]
  ------------------
 7471|      0|            parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_mesh_shader, "perprimitiveEXT");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7472|      5|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7473|      5|        (yyval.interm.type).qualifier.perPrimitiveNV = true;
 7474|      5|    }
 7475|      5|#line 7476 "MachineIndependent/glslang_tab.cpp"
 7476|      5|    break;
 7477|       |
 7478|     39|  case 153: /* interpolation_qualifier: PERVIEWNV  */
  ------------------
  |  Branch (7478:3): [True: 39, False: 15.2M]
  ------------------
 7479|     39|#line 1358 "MachineIndependent/glslang.y"
 7480|     39|                {
 7481|       |        // No need for profile version or extension check. Shader stage already checks both.
 7482|     39|        parseContext.globalCheck((yyvsp[0].lex).loc, "perviewNV");
  ------------------
  |  |  781|     39|#define parseContext (*pParseContext)
  ------------------
 7483|     39|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangMesh, "perviewNV");
  ------------------
  |  |  781|     39|#define parseContext (*pParseContext)
  ------------------
 7484|     39|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7485|     39|        (yyval.interm.type).qualifier.perViewNV = true;
 7486|     39|    }
 7487|     39|#line 7488 "MachineIndependent/glslang_tab.cpp"
 7488|     39|    break;
 7489|       |
 7490|      0|  case 154: /* interpolation_qualifier: PERTASKNV  */
  ------------------
  |  Branch (7490:3): [True: 0, False: 15.2M]
  ------------------
 7491|      0|#line 1365 "MachineIndependent/glslang.y"
 7492|      0|                {
 7493|       |        // No need for profile version or extension check. Shader stage already checks both.
 7494|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "taskNV");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7495|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangTaskMask | EShLangMeshMask), "taskNV");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7496|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7497|      0|        (yyval.interm.type).qualifier.perTaskNV = true;
 7498|      0|    }
 7499|      0|#line 7500 "MachineIndependent/glslang_tab.cpp"
 7500|      0|    break;
 7501|       |
 7502|    402|  case 155: /* layout_qualifier: LAYOUT LEFT_PAREN layout_qualifier_id_list RIGHT_PAREN  */
  ------------------
  |  Branch (7502:3): [True: 402, False: 15.2M]
  ------------------
 7503|    402|#line 1375 "MachineIndependent/glslang.y"
 7504|    402|                                                             {
 7505|    402|        (yyval.interm.type) = (yyvsp[-1].interm.type);
 7506|    402|    }
 7507|    402|#line 7508 "MachineIndependent/glslang_tab.cpp"
 7508|    402|    break;
 7509|       |
 7510|    402|  case 156: /* layout_qualifier_id_list: layout_qualifier_id  */
  ------------------
  |  Branch (7510:3): [True: 402, False: 15.2M]
  ------------------
 7511|    402|#line 1381 "MachineIndependent/glslang.y"
 7512|    402|                          {
 7513|    402|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7514|    402|    }
 7515|    402|#line 7516 "MachineIndependent/glslang_tab.cpp"
 7516|    402|    break;
 7517|       |
 7518|    276|  case 157: /* layout_qualifier_id_list: layout_qualifier_id_list COMMA layout_qualifier_id  */
  ------------------
  |  Branch (7518:3): [True: 276, False: 15.2M]
  ------------------
 7519|    276|#line 1384 "MachineIndependent/glslang.y"
 7520|    276|                                                         {
 7521|    276|        (yyval.interm.type) = (yyvsp[-2].interm.type);
 7522|    276|        (yyval.interm.type).shaderQualifiers.merge((yyvsp[0].interm.type).shaderQualifiers);
 7523|    276|        parseContext.mergeObjectLayoutQualifiers((yyval.interm.type).qualifier, (yyvsp[0].interm.type).qualifier, false);
  ------------------
  |  |  781|    276|#define parseContext (*pParseContext)
  ------------------
 7524|    276|    }
 7525|    276|#line 7526 "MachineIndependent/glslang_tab.cpp"
 7526|    276|    break;
 7527|       |
 7528|     66|  case 158: /* layout_qualifier_id: IDENTIFIER  */
  ------------------
  |  Branch (7528:3): [True: 66, False: 15.2M]
  ------------------
 7529|     66|#line 1391 "MachineIndependent/glslang.y"
 7530|     66|                 {
 7531|     66|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7532|     66|        parseContext.setLayoutQualifier((yyvsp[0].lex).loc, (yyval.interm.type), *(yyvsp[0].lex).string);
  ------------------
  |  |  781|     66|#define parseContext (*pParseContext)
  ------------------
 7533|     66|    }
 7534|     66|#line 7535 "MachineIndependent/glslang_tab.cpp"
 7535|     66|    break;
 7536|       |
 7537|    612|  case 159: /* layout_qualifier_id: IDENTIFIER EQUAL assignment_expression  */
  ------------------
  |  Branch (7537:3): [True: 612, False: 15.2M]
  ------------------
 7538|    612|#line 1395 "MachineIndependent/glslang.y"
 7539|    612|                                             {
 7540|    612|        (yyval.interm.type).init((yyvsp[-2].lex).loc);
 7541|    612|        parseContext.setLayoutQualifier((yyvsp[-2].lex).loc, (yyval.interm.type), *(yyvsp[-2].lex).string, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|    612|#define parseContext (*pParseContext)
  ------------------
 7542|    612|    }
 7543|    612|#line 7544 "MachineIndependent/glslang_tab.cpp"
 7544|    612|    break;
 7545|       |
 7546|      0|  case 160: /* layout_qualifier_id: SHARED  */
  ------------------
  |  Branch (7546:3): [True: 0, False: 15.2M]
  ------------------
 7547|      0|#line 1399 "MachineIndependent/glslang.y"
 7548|      0|             { // because "shared" is both an identifier and a keyword
 7549|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7550|      0|        TString strShared("shared");
 7551|      0|        parseContext.setLayoutQualifier((yyvsp[0].lex).loc, (yyval.interm.type), strShared);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7552|      0|    }
 7553|      0|#line 7554 "MachineIndependent/glslang_tab.cpp"
 7554|      0|    break;
 7555|       |
 7556|      0|  case 161: /* precise_qualifier: PRECISE  */
  ------------------
  |  Branch (7556:3): [True: 0, False: 15.2M]
  ------------------
 7557|      0|#line 1407 "MachineIndependent/glslang.y"
 7558|      0|              {
 7559|      0|        parseContext.profileRequires((yyval.interm.type).loc, ECoreProfile | ECompatibilityProfile, 400, E_GL_ARB_gpu_shader5, "precise");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7560|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 320, Num_AEP_gpu_shader5, AEP_gpu_shader5, "precise");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7561|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7562|      0|        (yyval.interm.type).qualifier.noContraction = true;
 7563|      0|    }
 7564|      0|#line 7565 "MachineIndependent/glslang_tab.cpp"
 7565|      0|    break;
 7566|       |
 7567|   188k|  case 162: /* type_qualifier: single_type_qualifier  */
  ------------------
  |  Branch (7567:3): [True: 188k, False: 15.0M]
  ------------------
 7568|   188k|#line 1416 "MachineIndependent/glslang.y"
 7569|   188k|                            {
 7570|   188k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7571|   188k|    }
 7572|   188k|#line 7573 "MachineIndependent/glslang_tab.cpp"
 7573|   188k|    break;
 7574|       |
 7575|   147k|  case 163: /* type_qualifier: type_qualifier single_type_qualifier  */
  ------------------
  |  Branch (7575:3): [True: 147k, False: 15.0M]
  ------------------
 7576|   147k|#line 1419 "MachineIndependent/glslang.y"
 7577|   147k|                                           {
 7578|   147k|        (yyval.interm.type) = (yyvsp[-1].interm.type);
 7579|   147k|        if ((yyval.interm.type).basicType == EbtVoid)
  ------------------
  |  Branch (7579:13): [True: 147k, False: 0]
  ------------------
 7580|   147k|            (yyval.interm.type).basicType = (yyvsp[0].interm.type).basicType;
 7581|       |
 7582|   147k|        (yyval.interm.type).shaderQualifiers.merge((yyvsp[0].interm.type).shaderQualifiers);
 7583|   147k|        parseContext.mergeQualifiers((yyval.interm.type).loc, (yyval.interm.type).qualifier, (yyvsp[0].interm.type).qualifier, false);
  ------------------
  |  |  781|   147k|#define parseContext (*pParseContext)
  ------------------
 7584|   147k|    }
 7585|   147k|#line 7586 "MachineIndependent/glslang_tab.cpp"
 7586|   147k|    break;
 7587|       |
 7588|   227k|  case 164: /* single_type_qualifier: storage_qualifier  */
  ------------------
  |  Branch (7588:3): [True: 227k, False: 14.9M]
  ------------------
 7589|   227k|#line 1430 "MachineIndependent/glslang.y"
 7590|   227k|                        {
 7591|   227k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7592|   227k|    }
 7593|   227k|#line 7594 "MachineIndependent/glslang_tab.cpp"
 7594|   227k|    break;
 7595|       |
 7596|    402|  case 165: /* single_type_qualifier: layout_qualifier  */
  ------------------
  |  Branch (7596:3): [True: 402, False: 15.2M]
  ------------------
 7597|    402|#line 1433 "MachineIndependent/glslang.y"
 7598|    402|                       {
 7599|    402|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7600|    402|    }
 7601|    402|#line 7602 "MachineIndependent/glslang_tab.cpp"
 7602|    402|    break;
 7603|       |
 7604|   105k|  case 166: /* single_type_qualifier: precision_qualifier  */
  ------------------
  |  Branch (7604:3): [True: 105k, False: 15.1M]
  ------------------
 7605|   105k|#line 1436 "MachineIndependent/glslang.y"
 7606|   105k|                          {
 7607|   105k|        parseContext.checkPrecisionQualifier((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).qualifier.precision);
  ------------------
  |  |  781|   105k|#define parseContext (*pParseContext)
  ------------------
 7608|   105k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7609|   105k|    }
 7610|   105k|#line 7611 "MachineIndependent/glslang_tab.cpp"
 7611|   105k|    break;
 7612|       |
 7613|  2.61k|  case 167: /* single_type_qualifier: interpolation_qualifier  */
  ------------------
  |  Branch (7613:3): [True: 2.61k, False: 15.2M]
  ------------------
 7614|  2.61k|#line 1440 "MachineIndependent/glslang.y"
 7615|  2.61k|                              {
 7616|       |        // allow inheritance of storage qualifier from block declaration
 7617|  2.61k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7618|  2.61k|    }
 7619|  2.61k|#line 7620 "MachineIndependent/glslang_tab.cpp"
 7620|  2.61k|    break;
 7621|       |
 7622|      0|  case 168: /* single_type_qualifier: invariant_qualifier  */
  ------------------
  |  Branch (7622:3): [True: 0, False: 15.2M]
  ------------------
 7623|      0|#line 1444 "MachineIndependent/glslang.y"
 7624|      0|                          {
 7625|       |        // allow inheritance of storage qualifier from block declaration
 7626|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7627|      0|    }
 7628|      0|#line 7629 "MachineIndependent/glslang_tab.cpp"
 7629|      0|    break;
 7630|       |
 7631|      0|  case 169: /* single_type_qualifier: precise_qualifier  */
  ------------------
  |  Branch (7631:3): [True: 0, False: 15.2M]
  ------------------
 7632|      0|#line 1448 "MachineIndependent/glslang.y"
 7633|      0|                        {
 7634|       |        // allow inheritance of storage qualifier from block declaration
 7635|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7636|      0|    }
 7637|      0|#line 7638 "MachineIndependent/glslang_tab.cpp"
 7638|      0|    break;
 7639|       |
 7640|      0|  case 170: /* single_type_qualifier: non_uniform_qualifier  */
  ------------------
  |  Branch (7640:3): [True: 0, False: 15.2M]
  ------------------
 7641|      0|#line 1452 "MachineIndependent/glslang.y"
 7642|      0|                            {
 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 171: /* single_type_qualifier: spirv_storage_class_qualifier  */
  ------------------
  |  Branch (7648:3): [True: 0, False: 15.2M]
  ------------------
 7649|      0|#line 1455 "MachineIndependent/glslang.y"
 7650|      0|                                    {
 7651|      0|        parseContext.globalCheck((yyvsp[0].interm.type).loc, "spirv_storage_class");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7652|      0|        parseContext.requireExtensions((yyvsp[0].interm.type).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V storage class qualifier");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7653|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7654|      0|    }
 7655|      0|#line 7656 "MachineIndependent/glslang_tab.cpp"
 7656|      0|    break;
 7657|       |
 7658|      0|  case 172: /* single_type_qualifier: spirv_decorate_qualifier  */
  ------------------
  |  Branch (7658:3): [True: 0, False: 15.2M]
  ------------------
 7659|      0|#line 1460 "MachineIndependent/glslang.y"
 7660|      0|                               {
 7661|      0|        parseContext.requireExtensions((yyvsp[0].interm.type).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V decorate qualifier");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7662|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7663|      0|    }
 7664|      0|#line 7665 "MachineIndependent/glslang_tab.cpp"
 7665|      0|    break;
 7666|       |
 7667|      0|  case 173: /* single_type_qualifier: SPIRV_BY_REFERENCE  */
  ------------------
  |  Branch (7667:3): [True: 0, False: 15.2M]
  ------------------
 7668|      0|#line 1464 "MachineIndependent/glslang.y"
 7669|      0|                         {
 7670|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_spirv_intrinsics, "spirv_by_reference");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7671|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7672|      0|        (yyval.interm.type).qualifier.setSpirvByReference();
 7673|      0|    }
 7674|      0|#line 7675 "MachineIndependent/glslang_tab.cpp"
 7675|      0|    break;
 7676|       |
 7677|      0|  case 174: /* single_type_qualifier: SPIRV_LITERAL  */
  ------------------
  |  Branch (7677:3): [True: 0, False: 15.2M]
  ------------------
 7678|      0|#line 1469 "MachineIndependent/glslang.y"
 7679|      0|                    {
 7680|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_spirv_intrinsics, "spirv_by_literal");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7681|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7682|      0|        (yyval.interm.type).qualifier.setSpirvLiteral();
 7683|      0|    }
 7684|      0|#line 7685 "MachineIndependent/glslang_tab.cpp"
 7685|      0|    break;
 7686|       |
 7687|  4.85k|  case 175: /* storage_qualifier: CONST  */
  ------------------
  |  Branch (7687:3): [True: 4.85k, False: 15.2M]
  ------------------
 7688|  4.85k|#line 1477 "MachineIndependent/glslang.y"
 7689|  4.85k|            {
 7690|  4.85k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7691|  4.85k|        (yyval.interm.type).qualifier.storage = EvqConst;  // will later turn into EvqConstReadOnly, if the initializer is not constant
 7692|  4.85k|    }
 7693|  4.85k|#line 7694 "MachineIndependent/glslang_tab.cpp"
 7694|  4.85k|    break;
 7695|       |
 7696|    716|  case 176: /* storage_qualifier: INOUT  */
  ------------------
  |  Branch (7696:3): [True: 716, False: 15.2M]
  ------------------
 7697|    716|#line 1481 "MachineIndependent/glslang.y"
 7698|    716|            {
 7699|    716|        parseContext.globalCheck((yyvsp[0].lex).loc, "inout");
  ------------------
  |  |  781|    716|#define parseContext (*pParseContext)
  ------------------
 7700|    716|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7701|    716|        (yyval.interm.type).qualifier.storage = EvqInOut;
 7702|    716|    }
 7703|    716|#line 7704 "MachineIndependent/glslang_tab.cpp"
 7704|    716|    break;
 7705|       |
 7706|  9.75k|  case 177: /* storage_qualifier: IN  */
  ------------------
  |  Branch (7706:3): [True: 9.75k, False: 15.2M]
  ------------------
 7707|  9.75k|#line 1486 "MachineIndependent/glslang.y"
 7708|  9.75k|         {
 7709|  9.75k|        parseContext.globalCheck((yyvsp[0].lex).loc, "in");
  ------------------
  |  |  781|  9.75k|#define parseContext (*pParseContext)
  ------------------
 7710|  9.75k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7711|       |        // whether this is a parameter "in" or a pipeline "in" will get sorted out a bit later
 7712|  9.75k|        (yyval.interm.type).qualifier.storage = EvqIn;
 7713|  9.75k|    }
 7714|  9.75k|#line 7715 "MachineIndependent/glslang_tab.cpp"
 7715|  9.75k|    break;
 7716|       |
 7717|  13.8k|  case 178: /* storage_qualifier: OUT  */
  ------------------
  |  Branch (7717:3): [True: 13.8k, False: 15.2M]
  ------------------
 7718|  13.8k|#line 1492 "MachineIndependent/glslang.y"
 7719|  13.8k|          {
 7720|  13.8k|        parseContext.globalCheck((yyvsp[0].lex).loc, "out");
  ------------------
  |  |  781|  13.8k|#define parseContext (*pParseContext)
  ------------------
 7721|  13.8k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7722|       |        // whether this is a parameter "out" or a pipeline "out" will get sorted out a bit later
 7723|  13.8k|        (yyval.interm.type).qualifier.storage = EvqOut;
 7724|  13.8k|    }
 7725|  13.8k|#line 7726 "MachineIndependent/glslang_tab.cpp"
 7726|  13.8k|    break;
 7727|       |
 7728|      0|  case 179: /* storage_qualifier: CENTROID  */
  ------------------
  |  Branch (7728:3): [True: 0, False: 15.2M]
  ------------------
 7729|      0|#line 1498 "MachineIndependent/glslang.y"
 7730|      0|               {
 7731|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 120, 0, "centroid");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7732|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 300, 0, "centroid");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7733|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "centroid");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7734|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7735|      0|        (yyval.interm.type).qualifier.centroid = true;
 7736|      0|    }
 7737|      0|#line 7738 "MachineIndependent/glslang_tab.cpp"
 7738|      0|    break;
 7739|       |
 7740|    425|  case 180: /* storage_qualifier: UNIFORM  */
  ------------------
  |  Branch (7740:3): [True: 425, False: 15.2M]
  ------------------
 7741|    425|#line 1505 "MachineIndependent/glslang.y"
 7742|    425|              {
 7743|    425|        parseContext.globalCheck((yyvsp[0].lex).loc, "uniform");
  ------------------
  |  |  781|    425|#define parseContext (*pParseContext)
  ------------------
 7744|    425|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7745|    425|        (yyval.interm.type).qualifier.storage = EvqUniform;
 7746|    425|    }
 7747|    425|#line 7748 "MachineIndependent/glslang_tab.cpp"
 7748|    425|    break;
 7749|       |
 7750|      0|  case 181: /* storage_qualifier: TILEIMAGEEXT  */
  ------------------
  |  Branch (7750:3): [True: 0, False: 15.2M]
  ------------------
 7751|      0|#line 1510 "MachineIndependent/glslang.y"
 7752|      0|                   {
 7753|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "tileImageEXT");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7754|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7755|      0|        (yyval.interm.type).qualifier.storage = EvqTileImageEXT;
 7756|      0|    }
 7757|      0|#line 7758 "MachineIndependent/glslang_tab.cpp"
 7758|      0|    break;
 7759|       |
 7760|      0|  case 182: /* storage_qualifier: SHARED  */
  ------------------
  |  Branch (7760:3): [True: 0, False: 15.2M]
  ------------------
 7761|      0|#line 1515 "MachineIndependent/glslang.y"
 7762|      0|             {
 7763|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "shared");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7764|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, 430, E_GL_ARB_compute_shader, "shared");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7765|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 310, 0, "shared");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7766|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangComputeMask | EShLangMeshMask | EShLangTaskMask), "shared");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7767|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7768|      0|        (yyval.interm.type).qualifier.storage = EvqShared;
 7769|      0|    }
 7770|      0|#line 7771 "MachineIndependent/glslang_tab.cpp"
 7771|      0|    break;
 7772|       |
 7773|      0|  case 183: /* storage_qualifier: BUFFER  */
  ------------------
  |  Branch (7773:3): [True: 0, False: 15.2M]
  ------------------
 7774|      0|#line 1523 "MachineIndependent/glslang.y"
 7775|      0|             {
 7776|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "buffer");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7777|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7778|      0|        (yyval.interm.type).qualifier.storage = EvqBuffer;
 7779|      0|    }
 7780|      0|#line 7781 "MachineIndependent/glslang_tab.cpp"
 7781|      0|    break;
 7782|       |
 7783|      0|  case 184: /* storage_qualifier: ATTRIBUTE  */
  ------------------
  |  Branch (7783:3): [True: 0, False: 15.2M]
  ------------------
 7784|      0|#line 1528 "MachineIndependent/glslang.y"
 7785|      0|                {
 7786|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangVertex, "attribute");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7787|      0|        parseContext.checkDeprecated((yyvsp[0].lex).loc, ECoreProfile, 130, "attribute");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7788|      0|        parseContext.checkDeprecated((yyvsp[0].lex).loc, ENoProfile, 130, "attribute");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7789|      0|        parseContext.requireNotRemoved((yyvsp[0].lex).loc, ECoreProfile, 420, "attribute");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7790|      0|        parseContext.requireNotRemoved((yyvsp[0].lex).loc, EEsProfile, 300, "attribute");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7791|       |
 7792|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "attribute");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7793|       |
 7794|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7795|      0|        (yyval.interm.type).qualifier.storage = EvqVaryingIn;
 7796|      0|    }
 7797|      0|#line 7798 "MachineIndependent/glslang_tab.cpp"
 7798|      0|    break;
 7799|       |
 7800|      0|  case 185: /* storage_qualifier: VARYING  */
  ------------------
  |  Branch (7800:3): [True: 0, False: 15.2M]
  ------------------
 7801|      0|#line 1540 "MachineIndependent/glslang.y"
 7802|      0|              {
 7803|      0|        parseContext.checkDeprecated((yyvsp[0].lex).loc, ENoProfile, 130, "varying");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7804|      0|        parseContext.checkDeprecated((yyvsp[0].lex).loc, ECoreProfile, 130, "varying");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7805|      0|        parseContext.requireNotRemoved((yyvsp[0].lex).loc, ECoreProfile, 420, "varying");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7806|      0|        parseContext.requireNotRemoved((yyvsp[0].lex).loc, EEsProfile, 300, "varying");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7807|       |
 7808|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "varying");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7809|       |
 7810|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7811|      0|        if (parseContext.language == EShLangVertex)
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7811:13): [True: 0, False: 0]
  ------------------
 7812|      0|            (yyval.interm.type).qualifier.storage = EvqVaryingOut;
 7813|      0|        else
 7814|      0|            (yyval.interm.type).qualifier.storage = EvqVaryingIn;
 7815|      0|    }
 7816|      0|#line 7817 "MachineIndependent/glslang_tab.cpp"
 7817|      0|    break;
 7818|       |
 7819|     68|  case 186: /* storage_qualifier: PATCH  */
  ------------------
  |  Branch (7819:3): [True: 68, False: 15.2M]
  ------------------
 7820|     68|#line 1554 "MachineIndependent/glslang.y"
 7821|     68|            {
 7822|     68|        parseContext.globalCheck((yyvsp[0].lex).loc, "patch");
  ------------------
  |  |  781|     68|#define parseContext (*pParseContext)
  ------------------
 7823|     68|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangTessControlMask | EShLangTessEvaluationMask), "patch");
  ------------------
  |  |  781|     68|#define parseContext (*pParseContext)
  ------------------
 7824|     68|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7825|     68|        (yyval.interm.type).qualifier.patch = true;
 7826|     68|    }
 7827|     68|#line 7828 "MachineIndependent/glslang_tab.cpp"
 7828|     68|    break;
 7829|       |
 7830|      0|  case 187: /* storage_qualifier: SAMPLE  */
  ------------------
  |  Branch (7830:3): [True: 0, False: 15.2M]
  ------------------
 7831|      0|#line 1560 "MachineIndependent/glslang.y"
 7832|      0|             {
 7833|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "sample");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7834|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7835|      0|        (yyval.interm.type).qualifier.sample = true;
 7836|      0|    }
 7837|      0|#line 7838 "MachineIndependent/glslang_tab.cpp"
 7838|      0|    break;
 7839|       |
 7840|      0|  case 188: /* storage_qualifier: RESOURCEHEAP  */
  ------------------
  |  Branch (7840:3): [True: 0, False: 15.2M]
  ------------------
 7841|      0|#line 1565 "MachineIndependent/glslang.y"
 7842|      0|                   {
 7843|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "resourceHeap");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7844|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7845|      0|        (yyval.interm.type).qualifier.storage = EvqResourceHeap;
 7846|      0|    }
 7847|      0|#line 7848 "MachineIndependent/glslang_tab.cpp"
 7848|      0|    break;
 7849|       |
 7850|      0|  case 189: /* storage_qualifier: SAMPLERHEAP  */
  ------------------
  |  Branch (7850:3): [True: 0, False: 15.2M]
  ------------------
 7851|      0|#line 1570 "MachineIndependent/glslang.y"
 7852|      0|                  {
 7853|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "samplerHeap");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7854|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7855|      0|        (yyval.interm.type).qualifier.storage = EvqSamplerHeap;
 7856|      0|    }
 7857|      0|#line 7858 "MachineIndependent/glslang_tab.cpp"
 7858|      0|    break;
 7859|       |
 7860|      0|  case 190: /* storage_qualifier: HITATTRNV  */
  ------------------
  |  Branch (7860:3): [True: 0, False: 15.2M]
  ------------------
 7861|      0|#line 1575 "MachineIndependent/glslang.y"
 7862|      0|                {
 7863|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "hitAttributeNV");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7864|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangIntersectMask | EShLangClosestHitMask
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7865|      0|            | EShLangAnyHitMask), "hitAttributeNV");
 7866|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "hitAttributeNV");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7867|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7868|      0|        (yyval.interm.type).qualifier.storage = EvqHitAttr;
 7869|      0|    }
 7870|      0|#line 7871 "MachineIndependent/glslang_tab.cpp"
 7871|      0|    break;
 7872|       |
 7873|      0|  case 191: /* storage_qualifier: HITOBJECTATTRNV  */
  ------------------
  |  Branch (7873:3): [True: 0, False: 15.2M]
  ------------------
 7874|      0|#line 1583 "MachineIndependent/glslang.y"
 7875|      0|                      {
 7876|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "hitAttributeNV");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7877|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7878|      0|            | EShLangMissMask), "hitObjectAttributeNV");
 7879|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_shader_invocation_reorder, "hitObjectAttributeNV");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7880|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7881|      0|        (yyval.interm.type).qualifier.storage = EvqHitObjectAttrNV;
 7882|      0|    }
 7883|      0|#line 7884 "MachineIndependent/glslang_tab.cpp"
 7884|      0|    break;
 7885|       |
 7886|      0|  case 192: /* storage_qualifier: HITOBJECTATTREXT  */
  ------------------
  |  Branch (7886:3): [True: 0, False: 15.2M]
  ------------------
 7887|      0|#line 1591 "MachineIndependent/glslang.y"
 7888|      0|                       {
 7889|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "hitAttributeEXT");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7890|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7891|      0|            | EShLangMissMask), "hitObjectAttributeEXT");
 7892|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_shader_invocation_reorder, "hitObjectAttributeEXT");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7893|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7894|      0|        (yyval.interm.type).qualifier.storage = EvqHitObjectAttrEXT;
 7895|      0|    }
 7896|      0|#line 7897 "MachineIndependent/glslang_tab.cpp"
 7897|      0|    break;
 7898|       |
 7899|      0|  case 193: /* storage_qualifier: HITATTREXT  */
  ------------------
  |  Branch (7899:3): [True: 0, False: 15.2M]
  ------------------
 7900|      0|#line 1599 "MachineIndependent/glslang.y"
 7901|      0|                 {
 7902|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "hitAttributeEXT");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7903|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangIntersectMask | EShLangClosestHitMask
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7904|      0|            | EShLangAnyHitMask), "hitAttributeEXT");
 7905|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "hitAttributeNV");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7906|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7907|      0|        (yyval.interm.type).qualifier.storage = EvqHitAttr;
 7908|      0|    }
 7909|      0|#line 7910 "MachineIndependent/glslang_tab.cpp"
 7910|      0|    break;
 7911|       |
 7912|      0|  case 194: /* storage_qualifier: PAYLOADNV  */
  ------------------
  |  Branch (7912:3): [True: 0, False: 15.2M]
  ------------------
 7913|      0|#line 1607 "MachineIndependent/glslang.y"
 7914|      0|                {
 7915|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "rayPayloadNV");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7916|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask |
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7917|      0|            EShLangAnyHitMask | EShLangMissMask), "rayPayloadNV");
 7918|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "rayPayloadNV");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7919|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7920|      0|        (yyval.interm.type).qualifier.storage = EvqPayload;
 7921|      0|    }
 7922|      0|#line 7923 "MachineIndependent/glslang_tab.cpp"
 7923|      0|    break;
 7924|       |
 7925|      0|  case 195: /* storage_qualifier: PAYLOADEXT  */
  ------------------
  |  Branch (7925:3): [True: 0, False: 15.2M]
  ------------------
 7926|      0|#line 1615 "MachineIndependent/glslang.y"
 7927|      0|                 {
 7928|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "rayPayloadEXT");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7929|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask |
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7930|      0|            EShLangAnyHitMask | EShLangMissMask), "rayPayloadEXT");
 7931|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "rayPayloadEXT");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7932|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7933|      0|        (yyval.interm.type).qualifier.storage = EvqPayload;
 7934|      0|    }
 7935|      0|#line 7936 "MachineIndependent/glslang_tab.cpp"
 7936|      0|    break;
 7937|       |
 7938|      0|  case 196: /* storage_qualifier: PAYLOADINNV  */
  ------------------
  |  Branch (7938:3): [True: 0, False: 15.2M]
  ------------------
 7939|      0|#line 1623 "MachineIndependent/glslang.y"
 7940|      0|                  {
 7941|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "rayPayloadInNV");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7942|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangClosestHitMask |
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7943|      0|            EShLangAnyHitMask | EShLangMissMask), "rayPayloadInNV");
 7944|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "rayPayloadInNV");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7945|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7946|      0|        (yyval.interm.type).qualifier.storage = EvqPayloadIn;
 7947|      0|    }
 7948|      0|#line 7949 "MachineIndependent/glslang_tab.cpp"
 7949|      0|    break;
 7950|       |
 7951|      0|  case 197: /* storage_qualifier: PAYLOADINEXT  */
  ------------------
  |  Branch (7951:3): [True: 0, False: 15.2M]
  ------------------
 7952|      0|#line 1631 "MachineIndependent/glslang.y"
 7953|      0|                   {
 7954|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "rayPayloadInEXT");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7955|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangClosestHitMask |
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7956|      0|            EShLangAnyHitMask | EShLangMissMask), "rayPayloadInEXT");
 7957|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "rayPayloadInEXT");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7958|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7959|      0|        (yyval.interm.type).qualifier.storage = EvqPayloadIn;
 7960|      0|    }
 7961|      0|#line 7962 "MachineIndependent/glslang_tab.cpp"
 7962|      0|    break;
 7963|       |
 7964|      0|  case 198: /* storage_qualifier: CALLDATANV  */
  ------------------
  |  Branch (7964:3): [True: 0, False: 15.2M]
  ------------------
 7965|      0|#line 1639 "MachineIndependent/glslang.y"
 7966|      0|                 {
 7967|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "callableDataNV");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7968|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask |
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7969|      0|            EShLangClosestHitMask | EShLangMissMask | EShLangCallableMask), "callableDataNV");
 7970|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "callableDataNV");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7971|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7972|      0|        (yyval.interm.type).qualifier.storage = EvqCallableData;
 7973|      0|    }
 7974|      0|#line 7975 "MachineIndependent/glslang_tab.cpp"
 7975|      0|    break;
 7976|       |
 7977|      0|  case 199: /* storage_qualifier: CALLDATAEXT  */
  ------------------
  |  Branch (7977:3): [True: 0, False: 15.2M]
  ------------------
 7978|      0|#line 1647 "MachineIndependent/glslang.y"
 7979|      0|                  {
 7980|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "callableDataEXT");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7981|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask |
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7982|      0|            EShLangClosestHitMask | EShLangMissMask | EShLangCallableMask), "callableDataEXT");
 7983|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "callableDataEXT");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7984|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7985|      0|        (yyval.interm.type).qualifier.storage = EvqCallableData;
 7986|      0|    }
 7987|      0|#line 7988 "MachineIndependent/glslang_tab.cpp"
 7988|      0|    break;
 7989|       |
 7990|      0|  case 200: /* storage_qualifier: CALLDATAINNV  */
  ------------------
  |  Branch (7990:3): [True: 0, False: 15.2M]
  ------------------
 7991|      0|#line 1655 "MachineIndependent/glslang.y"
 7992|      0|                   {
 7993|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "callableDataInNV");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7994|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangCallableMask), "callableDataInNV");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7995|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "callableDataInNV");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 7996|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7997|      0|        (yyval.interm.type).qualifier.storage = EvqCallableDataIn;
 7998|      0|    }
 7999|      0|#line 8000 "MachineIndependent/glslang_tab.cpp"
 8000|      0|    break;
 8001|       |
 8002|      0|  case 201: /* storage_qualifier: CALLDATAINEXT  */
  ------------------
  |  Branch (8002:3): [True: 0, False: 15.2M]
  ------------------
 8003|      0|#line 1662 "MachineIndependent/glslang.y"
 8004|      0|                    {
 8005|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "callableDataInEXT");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 8006|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangCallableMask), "callableDataInEXT");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 8007|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "callableDataInEXT");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 8008|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8009|      0|        (yyval.interm.type).qualifier.storage = EvqCallableDataIn;
 8010|      0|    }
 8011|      0|#line 8012 "MachineIndependent/glslang_tab.cpp"
 8012|      0|    break;
 8013|       |
 8014|  62.3k|  case 202: /* storage_qualifier: COHERENT  */
  ------------------
  |  Branch (8014:3): [True: 62.3k, False: 15.1M]
  ------------------
 8015|  62.3k|#line 1669 "MachineIndependent/glslang.y"
 8016|  62.3k|               {
 8017|  62.3k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8018|  62.3k|        (yyval.interm.type).qualifier.coherent = true;
 8019|  62.3k|    }
 8020|  62.3k|#line 8021 "MachineIndependent/glslang_tab.cpp"
 8021|  62.3k|    break;
 8022|       |
 8023|      0|  case 203: /* storage_qualifier: DEVICECOHERENT  */
  ------------------
  |  Branch (8023:3): [True: 0, False: 15.2M]
  ------------------
 8024|      0|#line 1673 "MachineIndependent/glslang.y"
 8025|      0|                     {
 8026|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8027|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "devicecoherent");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 8028|      0|        (yyval.interm.type).qualifier.devicecoherent = true;
 8029|      0|    }
 8030|      0|#line 8031 "MachineIndependent/glslang_tab.cpp"
 8031|      0|    break;
 8032|       |
 8033|      0|  case 204: /* storage_qualifier: QUEUEFAMILYCOHERENT  */
  ------------------
  |  Branch (8033:3): [True: 0, False: 15.2M]
  ------------------
 8034|      0|#line 1678 "MachineIndependent/glslang.y"
 8035|      0|                          {
 8036|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8037|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "queuefamilycoherent");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 8038|      0|        (yyval.interm.type).qualifier.queuefamilycoherent = true;
 8039|      0|    }
 8040|      0|#line 8041 "MachineIndependent/glslang_tab.cpp"
 8041|      0|    break;
 8042|       |
 8043|      0|  case 205: /* storage_qualifier: WORKGROUPCOHERENT  */
  ------------------
  |  Branch (8043:3): [True: 0, False: 15.2M]
  ------------------
 8044|      0|#line 1683 "MachineIndependent/glslang.y"
 8045|      0|                        {
 8046|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8047|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "workgroupcoherent");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 8048|      0|        (yyval.interm.type).qualifier.workgroupcoherent = true;
 8049|      0|    }
 8050|      0|#line 8051 "MachineIndependent/glslang_tab.cpp"
 8051|      0|    break;
 8052|       |
 8053|      0|  case 206: /* storage_qualifier: SUBGROUPCOHERENT  */
  ------------------
  |  Branch (8053:3): [True: 0, False: 15.2M]
  ------------------
 8054|      0|#line 1688 "MachineIndependent/glslang.y"
 8055|      0|                       {
 8056|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8057|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "subgroupcoherent");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 8058|      0|        (yyval.interm.type).qualifier.subgroupcoherent = true;
 8059|      0|    }
 8060|      0|#line 8061 "MachineIndependent/glslang_tab.cpp"
 8061|      0|    break;
 8062|       |
 8063|      0|  case 207: /* storage_qualifier: NONPRIVATE  */
  ------------------
  |  Branch (8063:3): [True: 0, False: 15.2M]
  ------------------
 8064|      0|#line 1693 "MachineIndependent/glslang.y"
 8065|      0|                 {
 8066|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8067|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "nonprivate");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 8068|      0|        (yyval.interm.type).qualifier.nonprivate = true;
 8069|      0|    }
 8070|      0|#line 8071 "MachineIndependent/glslang_tab.cpp"
 8071|      0|    break;
 8072|       |
 8073|      0|  case 208: /* storage_qualifier: SHADERCALLCOHERENT  */
  ------------------
  |  Branch (8073:3): [True: 0, False: 15.2M]
  ------------------
 8074|      0|#line 1698 "MachineIndependent/glslang.y"
 8075|      0|                         {
 8076|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8077|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_ray_tracing, "shadercallcoherent");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 8078|      0|        (yyval.interm.type).qualifier.shadercallcoherent = true;
 8079|      0|    }
 8080|      0|#line 8081 "MachineIndependent/glslang_tab.cpp"
 8081|      0|    break;
 8082|       |
 8083|  63.3k|  case 209: /* storage_qualifier: VOLATILE  */
  ------------------
  |  Branch (8083:3): [True: 63.3k, False: 15.1M]
  ------------------
 8084|  63.3k|#line 1703 "MachineIndependent/glslang.y"
 8085|  63.3k|               {
 8086|  63.3k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8087|  63.3k|        (yyval.interm.type).qualifier.volatil = true;
 8088|  63.3k|    }
 8089|  63.3k|#line 8090 "MachineIndependent/glslang_tab.cpp"
 8090|  63.3k|    break;
 8091|       |
 8092|      0|  case 210: /* storage_qualifier: RESTRICT  */
  ------------------
  |  Branch (8092:3): [True: 0, False: 15.2M]
  ------------------
 8093|      0|#line 1707 "MachineIndependent/glslang.y"
 8094|      0|               {
 8095|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8096|      0|        (yyval.interm.type).qualifier.restrict = true;
 8097|      0|    }
 8098|      0|#line 8099 "MachineIndependent/glslang_tab.cpp"
 8099|      0|    break;
 8100|       |
 8101|  5.24k|  case 211: /* storage_qualifier: READONLY  */
  ------------------
  |  Branch (8101:3): [True: 5.24k, False: 15.2M]
  ------------------
 8102|  5.24k|#line 1711 "MachineIndependent/glslang.y"
 8103|  5.24k|               {
 8104|  5.24k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8105|  5.24k|        (yyval.interm.type).qualifier.readonly = true;
 8106|  5.24k|    }
 8107|  5.24k|#line 8108 "MachineIndependent/glslang_tab.cpp"
 8108|  5.24k|    break;
 8109|       |
 8110|  4.85k|  case 212: /* storage_qualifier: WRITEONLY  */
  ------------------
  |  Branch (8110:3): [True: 4.85k, False: 15.2M]
  ------------------
 8111|  4.85k|#line 1715 "MachineIndependent/glslang.y"
 8112|  4.85k|                {
 8113|  4.85k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8114|  4.85k|        (yyval.interm.type).qualifier.writeonly = true;
 8115|  4.85k|    }
 8116|  4.85k|#line 8117 "MachineIndependent/glslang_tab.cpp"
 8117|  4.85k|    break;
 8118|       |
 8119|  61.5k|  case 213: /* storage_qualifier: NONTEMPORAL  */
  ------------------
  |  Branch (8119:3): [True: 61.5k, False: 15.1M]
  ------------------
 8120|  61.5k|#line 1719 "MachineIndependent/glslang.y"
 8121|  61.5k|                  {
 8122|  61.5k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8123|  61.5k|        (yyval.interm.type).qualifier.nontemporal  = true;
 8124|  61.5k|    }
 8125|  61.5k|#line 8126 "MachineIndependent/glslang_tab.cpp"
 8126|  61.5k|    break;
 8127|       |
 8128|      0|  case 214: /* storage_qualifier: SUBROUTINE  */
  ------------------
  |  Branch (8128:3): [True: 0, False: 15.2M]
  ------------------
 8129|      0|#line 1723 "MachineIndependent/glslang.y"
 8130|      0|                 {
 8131|      0|        parseContext.spvRemoved((yyvsp[0].lex).loc, "subroutine");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 8132|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "subroutine");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 8133|      0|        parseContext.unimplemented((yyvsp[0].lex).loc, "subroutine");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 8134|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8135|      0|    }
 8136|      0|#line 8137 "MachineIndependent/glslang_tab.cpp"
 8137|      0|    break;
 8138|       |
 8139|      0|  case 215: /* storage_qualifier: SUBROUTINE LEFT_PAREN type_name_list RIGHT_PAREN  */
  ------------------
  |  Branch (8139:3): [True: 0, False: 15.2M]
  ------------------
 8140|      0|#line 1729 "MachineIndependent/glslang.y"
 8141|      0|                                                       {
 8142|      0|        parseContext.spvRemoved((yyvsp[-3].lex).loc, "subroutine");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 8143|      0|        parseContext.globalCheck((yyvsp[-3].lex).loc, "subroutine");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 8144|      0|        parseContext.unimplemented((yyvsp[-3].lex).loc, "subroutine");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 8145|      0|        (yyval.interm.type).init((yyvsp[-3].lex).loc);
 8146|      0|    }
 8147|      0|#line 8148 "MachineIndependent/glslang_tab.cpp"
 8148|      0|    break;
 8149|       |
 8150|      0|  case 216: /* storage_qualifier: TASKPAYLOADWORKGROUPEXT  */
  ------------------
  |  Branch (8150:3): [True: 0, False: 15.2M]
  ------------------
 8151|      0|#line 1735 "MachineIndependent/glslang.y"
 8152|      0|                              {
 8153|       |        // No need for profile version or extension check. Shader stage already checks both.
 8154|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "taskPayloadSharedEXT");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 8155|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangTaskMask | EShLangMeshMask), "taskPayloadSharedEXT  ");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 8156|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8157|      0|        (yyval.interm.type).qualifier.storage = EvqtaskPayloadSharedEXT;
 8158|      0|    }
 8159|      0|#line 8160 "MachineIndependent/glslang_tab.cpp"
 8160|      0|    break;
 8161|       |
 8162|      0|  case 217: /* non_uniform_qualifier: NONUNIFORM  */
  ------------------
  |  Branch (8162:3): [True: 0, False: 15.2M]
  ------------------
 8163|      0|#line 1745 "MachineIndependent/glslang.y"
 8164|      0|                 {
 8165|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8166|      0|        (yyval.interm.type).qualifier.nonUniform = true;
 8167|      0|    }
 8168|      0|#line 8169 "MachineIndependent/glslang_tab.cpp"
 8169|      0|    break;
 8170|       |
 8171|      0|  case 218: /* type_name_list: IDENTIFIER  */
  ------------------
  |  Branch (8171:3): [True: 0, False: 15.2M]
  ------------------
 8172|      0|#line 1752 "MachineIndependent/glslang.y"
 8173|      0|                 {
 8174|       |        // TODO
 8175|      0|    }
 8176|      0|#line 8177 "MachineIndependent/glslang_tab.cpp"
 8177|      0|    break;
 8178|       |
 8179|      0|  case 219: /* type_name_list: type_name_list COMMA IDENTIFIER  */
  ------------------
  |  Branch (8179:3): [True: 0, False: 15.2M]
  ------------------
 8180|      0|#line 1755 "MachineIndependent/glslang.y"
 8181|      0|                                      {
 8182|       |        // TODO: 4.0 semantics: subroutines
 8183|       |        // 1) make sure each identifier is a type declared earlier with SUBROUTINE
 8184|       |        // 2) save all of the identifiers for future comparison with the declared function
 8185|      0|    }
 8186|      0|#line 8187 "MachineIndependent/glslang_tab.cpp"
 8187|      0|    break;
 8188|       |
 8189|  1.90M|  case 220: /* type_specifier: type_specifier_nonarray type_parameter_specifier_opt  */
  ------------------
  |  Branch (8189:3): [True: 1.90M, False: 13.3M]
  ------------------
 8190|  1.90M|#line 1763 "MachineIndependent/glslang.y"
 8191|  1.90M|                                                           {
 8192|  1.90M|        (yyval.interm.type) = (yyvsp[-1].interm.type);
 8193|  1.90M|        (yyval.interm.type).qualifier.precision = parseContext.getDefaultPrecision((yyval.interm.type));
  ------------------
  |  |  781|  1.90M|#define parseContext (*pParseContext)
  ------------------
 8194|  1.90M|        (yyval.interm.type).typeParameters = (yyvsp[0].interm.typeParameters);
 8195|  1.90M|        parseContext.typeParametersCheck((yyvsp[-1].interm.type).loc, (yyval.interm.type));
  ------------------
  |  |  781|  1.90M|#define parseContext (*pParseContext)
  ------------------
 8196|       |
 8197|  1.90M|    }
 8198|  1.90M|#line 8199 "MachineIndependent/glslang_tab.cpp"
 8199|  1.90M|    break;
 8200|       |
 8201|  9.08k|  case 221: /* type_specifier: type_specifier_nonarray type_parameter_specifier_opt array_specifier  */
  ------------------
  |  Branch (8201:3): [True: 9.08k, False: 15.2M]
  ------------------
 8202|  9.08k|#line 1770 "MachineIndependent/glslang.y"
 8203|  9.08k|                                                                           {
 8204|  9.08k|        parseContext.arrayOfArrayVersionCheck((yyvsp[0].interm).loc, (yyvsp[0].interm).arraySizes);
  ------------------
  |  |  781|  9.08k|#define parseContext (*pParseContext)
  ------------------
 8205|  9.08k|        (yyval.interm.type) = (yyvsp[-2].interm.type);
 8206|  9.08k|        (yyval.interm.type).qualifier.precision = parseContext.getDefaultPrecision((yyval.interm.type));
  ------------------
  |  |  781|  9.08k|#define parseContext (*pParseContext)
  ------------------
 8207|  9.08k|        (yyval.interm.type).typeParameters = (yyvsp[-1].interm.typeParameters);
 8208|  9.08k|        (yyval.interm.type).arraySizes = (yyvsp[0].interm).arraySizes;
 8209|  9.08k|        parseContext.typeParametersCheck((yyvsp[-2].interm.type).loc, (yyval.interm.type));
  ------------------
  |  |  781|  9.08k|#define parseContext (*pParseContext)
  ------------------
 8210|  9.08k|    }
 8211|  9.08k|#line 8212 "MachineIndependent/glslang_tab.cpp"
 8212|  9.08k|    break;
 8213|       |
 8214|  7.25k|  case 222: /* array_specifier: LEFT_BRACKET RIGHT_BRACKET  */
  ------------------
  |  Branch (8214:3): [True: 7.25k, False: 15.2M]
  ------------------
 8215|  7.25k|#line 1781 "MachineIndependent/glslang.y"
 8216|  7.25k|                                 {
 8217|  7.25k|        (yyval.interm).loc = (yyvsp[-1].lex).loc;
 8218|  7.25k|        (yyval.interm).arraySizes = new TArraySizes;
 8219|  7.25k|        (yyval.interm).arraySizes->addInnerSize();
 8220|  7.25k|    }
 8221|  7.25k|#line 8222 "MachineIndependent/glslang_tab.cpp"
 8222|  7.25k|    break;
 8223|       |
 8224|  3.86k|  case 223: /* array_specifier: LEFT_BRACKET conditional_expression RIGHT_BRACKET  */
  ------------------
  |  Branch (8224:3): [True: 3.86k, False: 15.2M]
  ------------------
 8225|  3.86k|#line 1786 "MachineIndependent/glslang.y"
 8226|  3.86k|                                                        {
 8227|  3.86k|        (yyval.interm).loc = (yyvsp[-2].lex).loc;
 8228|  3.86k|        (yyval.interm).arraySizes = new TArraySizes;
 8229|       |
 8230|  3.86k|        TArraySize size;
 8231|  3.86k|        parseContext.arraySizeCheck((yyvsp[-1].interm.intermTypedNode)->getLoc(), (yyvsp[-1].interm.intermTypedNode), size, "array size");
  ------------------
  |  |  781|  3.86k|#define parseContext (*pParseContext)
  ------------------
 8232|  3.86k|        (yyval.interm).arraySizes->addInnerSize(size);
 8233|  3.86k|    }
 8234|  3.86k|#line 8235 "MachineIndependent/glslang_tab.cpp"
 8235|  3.86k|    break;
 8236|       |
 8237|     22|  case 224: /* array_specifier: array_specifier LEFT_BRACKET RIGHT_BRACKET  */
  ------------------
  |  Branch (8237:3): [True: 22, False: 15.2M]
  ------------------
 8238|     22|#line 1794 "MachineIndependent/glslang.y"
 8239|     22|                                                 {
 8240|     22|        (yyval.interm) = (yyvsp[-2].interm);
 8241|     22|        (yyval.interm).arraySizes->addInnerSize();
 8242|     22|    }
 8243|     22|#line 8244 "MachineIndependent/glslang_tab.cpp"
 8244|     22|    break;
 8245|       |
 8246|      0|  case 225: /* array_specifier: array_specifier LEFT_BRACKET conditional_expression RIGHT_BRACKET  */
  ------------------
  |  Branch (8246:3): [True: 0, False: 15.2M]
  ------------------
 8247|      0|#line 1798 "MachineIndependent/glslang.y"
 8248|      0|                                                                        {
 8249|      0|        (yyval.interm) = (yyvsp[-3].interm);
 8250|       |
 8251|      0|        TArraySize size;
 8252|      0|        parseContext.arraySizeCheck((yyvsp[-1].interm.intermTypedNode)->getLoc(), (yyvsp[-1].interm.intermTypedNode), size, "array size");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 8253|      0|        (yyval.interm).arraySizes->addInnerSize(size);
 8254|      0|    }
 8255|      0|#line 8256 "MachineIndependent/glslang_tab.cpp"
 8256|      0|    break;
 8257|       |
 8258|     60|  case 226: /* type_parameter_specifier_opt: type_parameter_specifier  */
  ------------------
  |  Branch (8258:3): [True: 60, False: 15.2M]
  ------------------
 8259|     60|#line 1808 "MachineIndependent/glslang.y"
 8260|     60|                               {
 8261|     60|        (yyval.interm.typeParameters) = (yyvsp[0].interm.typeParameters);
 8262|     60|    }
 8263|     60|#line 8264 "MachineIndependent/glslang_tab.cpp"
 8264|     60|    break;
 8265|       |
 8266|  1.91M|  case 227: /* type_parameter_specifier_opt: %empty  */
  ------------------
  |  Branch (8266:3): [True: 1.91M, False: 13.3M]
  ------------------
 8267|  1.91M|#line 1811 "MachineIndependent/glslang.y"
 8268|  1.91M|                        {
 8269|  1.91M|        (yyval.interm.typeParameters) = 0;
 8270|  1.91M|    }
 8271|  1.91M|#line 8272 "MachineIndependent/glslang_tab.cpp"
 8272|  1.91M|    break;
 8273|       |
 8274|     60|  case 228: /* type_parameter_specifier: LEFT_ANGLE type_parameter_specifier_list RIGHT_ANGLE  */
  ------------------
  |  Branch (8274:3): [True: 60, False: 15.2M]
  ------------------
 8275|     60|#line 1817 "MachineIndependent/glslang.y"
 8276|     60|                                                           {
 8277|     60|        (yyval.interm.typeParameters) = (yyvsp[-1].interm.typeParameters);
 8278|     60|    }
 8279|     60|#line 8280 "MachineIndependent/glslang_tab.cpp"
 8280|     60|    break;
 8281|       |
 8282|     60|  case 229: /* type_parameter_specifier_list: type_specifier  */
  ------------------
  |  Branch (8282:3): [True: 60, False: 15.2M]
  ------------------
 8283|     60|#line 1823 "MachineIndependent/glslang.y"
 8284|     60|                     {
 8285|     60|        (yyval.interm.typeParameters) = new TTypeParameters;
 8286|     60|        (yyval.interm.typeParameters)->arraySizes = new TArraySizes;
 8287|     60|        (yyval.interm.typeParameters)->spirvType = (yyvsp[0].interm.type).spirvType;
 8288|     60|        (yyval.interm.typeParameters)->basicType = (yyvsp[0].interm.type).basicType;
 8289|     60|    }
 8290|     60|#line 8291 "MachineIndependent/glslang_tab.cpp"
 8291|     60|    break;
 8292|       |
 8293|      0|  case 230: /* type_parameter_specifier_list: unary_expression  */
  ------------------
  |  Branch (8293:3): [True: 0, False: 15.2M]
  ------------------
 8294|      0|#line 1829 "MachineIndependent/glslang.y"
 8295|      0|                       {
 8296|      0|        (yyval.interm.typeParameters) = new TTypeParameters;
 8297|      0|        (yyval.interm.typeParameters)->arraySizes = new TArraySizes;
 8298|       |
 8299|      0|        TArraySize size;
 8300|      0|        parseContext.arraySizeCheck((yyvsp[0].interm.intermTypedNode)->getLoc(), (yyvsp[0].interm.intermTypedNode), size, "type parameter", true);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 8301|      0|        (yyval.interm.typeParameters)->arraySizes->addInnerSize(size);
 8302|      0|    }
 8303|      0|#line 8304 "MachineIndependent/glslang_tab.cpp"
 8304|      0|    break;
 8305|       |
 8306|     60|  case 231: /* type_parameter_specifier_list: type_parameter_specifier_list COMMA unary_expression  */
  ------------------
  |  Branch (8306:3): [True: 60, False: 15.2M]
  ------------------
 8307|     60|#line 1837 "MachineIndependent/glslang.y"
 8308|     60|                                                           {
 8309|     60|        (yyval.interm.typeParameters) = (yyvsp[-2].interm.typeParameters);
 8310|       |
 8311|     60|        TArraySize size;
 8312|     60|        parseContext.arraySizeCheck((yyvsp[0].interm.intermTypedNode)->getLoc(), (yyvsp[0].interm.intermTypedNode), size, "type parameter", true);
  ------------------
  |  |  781|     60|#define parseContext (*pParseContext)
  ------------------
 8313|     60|        (yyval.interm.typeParameters)->arraySizes->addInnerSize(size);
 8314|     60|    }
 8315|     60|#line 8316 "MachineIndependent/glslang_tab.cpp"
 8316|     60|    break;
 8317|       |
 8318|  13.9k|  case 232: /* type_specifier_nonarray: VOID  */
  ------------------
  |  Branch (8318:3): [True: 13.9k, False: 15.2M]
  ------------------
 8319|  13.9k|#line 1847 "MachineIndependent/glslang.y"
 8320|  13.9k|           {
 8321|  13.9k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  13.9k|#define parseContext (*pParseContext)
  ------------------
 8322|  13.9k|        (yyval.interm.type).basicType = EbtVoid;
 8323|  13.9k|    }
 8324|  13.9k|#line 8325 "MachineIndependent/glslang_tab.cpp"
 8325|  13.9k|    break;
 8326|       |
 8327|  98.5k|  case 233: /* type_specifier_nonarray: FLOAT  */
  ------------------
  |  Branch (8327:3): [True: 98.5k, False: 15.1M]
  ------------------
 8328|  98.5k|#line 1851 "MachineIndependent/glslang.y"
 8329|  98.5k|            {
 8330|  98.5k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  98.5k|#define parseContext (*pParseContext)
  ------------------
 8331|  98.5k|        (yyval.interm.type).basicType = EbtFloat;
 8332|  98.5k|    }
 8333|  98.5k|#line 8334 "MachineIndependent/glslang_tab.cpp"
 8334|  98.5k|    break;
 8335|       |
 8336|   251k|  case 234: /* type_specifier_nonarray: INT  */
  ------------------
  |  Branch (8336:3): [True: 251k, False: 14.9M]
  ------------------
 8337|   251k|#line 1855 "MachineIndependent/glslang.y"
 8338|   251k|          {
 8339|   251k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|   251k|#define parseContext (*pParseContext)
  ------------------
 8340|   251k|        (yyval.interm.type).basicType = EbtInt;
 8341|   251k|    }
 8342|   251k|#line 8343 "MachineIndependent/glslang_tab.cpp"
 8343|   251k|    break;
 8344|       |
 8345|   164k|  case 235: /* type_specifier_nonarray: UINT  */
  ------------------
  |  Branch (8345:3): [True: 164k, False: 15.0M]
  ------------------
 8346|   164k|#line 1859 "MachineIndependent/glslang.y"
 8347|   164k|           {
 8348|   164k|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer");
  ------------------
  |  |  781|   164k|#define parseContext (*pParseContext)
  ------------------
 8349|   164k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|   164k|#define parseContext (*pParseContext)
  ------------------
 8350|   164k|        (yyval.interm.type).basicType = EbtUint;
 8351|   164k|    }
 8352|   164k|#line 8353 "MachineIndependent/glslang_tab.cpp"
 8353|   164k|    break;
 8354|       |
 8355|  19.1k|  case 236: /* type_specifier_nonarray: BOOL  */
  ------------------
  |  Branch (8355:3): [True: 19.1k, False: 15.2M]
  ------------------
 8356|  19.1k|#line 1864 "MachineIndependent/glslang.y"
 8357|  19.1k|           {
 8358|  19.1k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  19.1k|#define parseContext (*pParseContext)
  ------------------
 8359|  19.1k|        (yyval.interm.type).basicType = EbtBool;
 8360|  19.1k|    }
 8361|  19.1k|#line 8362 "MachineIndependent/glslang_tab.cpp"
 8362|  19.1k|    break;
 8363|       |
 8364|  75.1k|  case 237: /* type_specifier_nonarray: VEC2  */
  ------------------
  |  Branch (8364:3): [True: 75.1k, False: 15.1M]
  ------------------
 8365|  75.1k|#line 1868 "MachineIndependent/glslang.y"
 8366|  75.1k|           {
 8367|  75.1k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  75.1k|#define parseContext (*pParseContext)
  ------------------
 8368|  75.1k|        (yyval.interm.type).basicType = EbtFloat;
 8369|  75.1k|        (yyval.interm.type).setVector(2);
 8370|  75.1k|    }
 8371|  75.1k|#line 8372 "MachineIndependent/glslang_tab.cpp"
 8372|  75.1k|    break;
 8373|       |
 8374|  63.9k|  case 238: /* type_specifier_nonarray: VEC3  */
  ------------------
  |  Branch (8374:3): [True: 63.9k, False: 15.1M]
  ------------------
 8375|  63.9k|#line 1873 "MachineIndependent/glslang.y"
 8376|  63.9k|           {
 8377|  63.9k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  63.9k|#define parseContext (*pParseContext)
  ------------------
 8378|  63.9k|        (yyval.interm.type).basicType = EbtFloat;
 8379|  63.9k|        (yyval.interm.type).setVector(3);
 8380|  63.9k|    }
 8381|  63.9k|#line 8382 "MachineIndependent/glslang_tab.cpp"
 8382|  63.9k|    break;
 8383|       |
 8384|  82.9k|  case 239: /* type_specifier_nonarray: VEC4  */
  ------------------
  |  Branch (8384:3): [True: 82.9k, False: 15.1M]
  ------------------
 8385|  82.9k|#line 1878 "MachineIndependent/glslang.y"
 8386|  82.9k|           {
 8387|  82.9k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  82.9k|#define parseContext (*pParseContext)
  ------------------
 8388|  82.9k|        (yyval.interm.type).basicType = EbtFloat;
 8389|  82.9k|        (yyval.interm.type).setVector(4);
 8390|  82.9k|    }
 8391|  82.9k|#line 8392 "MachineIndependent/glslang_tab.cpp"
 8392|  82.9k|    break;
 8393|       |
 8394|  12.6k|  case 240: /* type_specifier_nonarray: BVEC2  */
  ------------------
  |  Branch (8394:3): [True: 12.6k, False: 15.2M]
  ------------------
 8395|  12.6k|#line 1883 "MachineIndependent/glslang.y"
 8396|  12.6k|            {
 8397|  12.6k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  12.6k|#define parseContext (*pParseContext)
  ------------------
 8398|  12.6k|        (yyval.interm.type).basicType = EbtBool;
 8399|  12.6k|        (yyval.interm.type).setVector(2);
 8400|  12.6k|    }
 8401|  12.6k|#line 8402 "MachineIndependent/glslang_tab.cpp"
 8402|  12.6k|    break;
 8403|       |
 8404|  12.6k|  case 241: /* type_specifier_nonarray: BVEC3  */
  ------------------
  |  Branch (8404:3): [True: 12.6k, False: 15.2M]
  ------------------
 8405|  12.6k|#line 1888 "MachineIndependent/glslang.y"
 8406|  12.6k|            {
 8407|  12.6k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  12.6k|#define parseContext (*pParseContext)
  ------------------
 8408|  12.6k|        (yyval.interm.type).basicType = EbtBool;
 8409|  12.6k|        (yyval.interm.type).setVector(3);
 8410|  12.6k|    }
 8411|  12.6k|#line 8412 "MachineIndependent/glslang_tab.cpp"
 8412|  12.6k|    break;
 8413|       |
 8414|  12.6k|  case 242: /* type_specifier_nonarray: BVEC4  */
  ------------------
  |  Branch (8414:3): [True: 12.6k, False: 15.2M]
  ------------------
 8415|  12.6k|#line 1893 "MachineIndependent/glslang.y"
 8416|  12.6k|            {
 8417|  12.6k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  12.6k|#define parseContext (*pParseContext)
  ------------------
 8418|  12.6k|        (yyval.interm.type).basicType = EbtBool;
 8419|  12.6k|        (yyval.interm.type).setVector(4);
 8420|  12.6k|    }
 8421|  12.6k|#line 8422 "MachineIndependent/glslang_tab.cpp"
 8422|  12.6k|    break;
 8423|       |
 8424|  81.0k|  case 243: /* type_specifier_nonarray: IVEC2  */
  ------------------
  |  Branch (8424:3): [True: 81.0k, False: 15.1M]
  ------------------
 8425|  81.0k|#line 1898 "MachineIndependent/glslang.y"
 8426|  81.0k|            {
 8427|  81.0k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  81.0k|#define parseContext (*pParseContext)
  ------------------
 8428|  81.0k|        (yyval.interm.type).basicType = EbtInt;
 8429|  81.0k|        (yyval.interm.type).setVector(2);
 8430|  81.0k|    }
 8431|  81.0k|#line 8432 "MachineIndependent/glslang_tab.cpp"
 8432|  81.0k|    break;
 8433|       |
 8434|  64.3k|  case 244: /* type_specifier_nonarray: IVEC3  */
  ------------------
  |  Branch (8434:3): [True: 64.3k, False: 15.1M]
  ------------------
 8435|  64.3k|#line 1903 "MachineIndependent/glslang.y"
 8436|  64.3k|            {
 8437|  64.3k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  64.3k|#define parseContext (*pParseContext)
  ------------------
 8438|  64.3k|        (yyval.interm.type).basicType = EbtInt;
 8439|  64.3k|        (yyval.interm.type).setVector(3);
 8440|  64.3k|    }
 8441|  64.3k|#line 8442 "MachineIndependent/glslang_tab.cpp"
 8442|  64.3k|    break;
 8443|       |
 8444|  50.1k|  case 245: /* type_specifier_nonarray: IVEC4  */
  ------------------
  |  Branch (8444:3): [True: 50.1k, False: 15.1M]
  ------------------
 8445|  50.1k|#line 1908 "MachineIndependent/glslang.y"
 8446|  50.1k|            {
 8447|  50.1k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  50.1k|#define parseContext (*pParseContext)
  ------------------
 8448|  50.1k|        (yyval.interm.type).basicType = EbtInt;
 8449|  50.1k|        (yyval.interm.type).setVector(4);
 8450|  50.1k|    }
 8451|  50.1k|#line 8452 "MachineIndependent/glslang_tab.cpp"
 8452|  50.1k|    break;
 8453|       |
 8454|  23.7k|  case 246: /* type_specifier_nonarray: UVEC2  */
  ------------------
  |  Branch (8454:3): [True: 23.7k, False: 15.1M]
  ------------------
 8455|  23.7k|#line 1913 "MachineIndependent/glslang.y"
 8456|  23.7k|            {
 8457|  23.7k|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer vector");
  ------------------
  |  |  781|  23.7k|#define parseContext (*pParseContext)
  ------------------
 8458|  23.7k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  23.7k|#define parseContext (*pParseContext)
  ------------------
 8459|  23.7k|        (yyval.interm.type).basicType = EbtUint;
 8460|  23.7k|        (yyval.interm.type).setVector(2);
 8461|  23.7k|    }
 8462|  23.7k|#line 8463 "MachineIndependent/glslang_tab.cpp"
 8463|  23.7k|    break;
 8464|       |
 8465|  21.7k|  case 247: /* type_specifier_nonarray: UVEC3  */
  ------------------
  |  Branch (8465:3): [True: 21.7k, False: 15.1M]
  ------------------
 8466|  21.7k|#line 1919 "MachineIndependent/glslang.y"
 8467|  21.7k|            {
 8468|  21.7k|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer vector");
  ------------------
  |  |  781|  21.7k|#define parseContext (*pParseContext)
  ------------------
 8469|  21.7k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  21.7k|#define parseContext (*pParseContext)
  ------------------
 8470|  21.7k|        (yyval.interm.type).basicType = EbtUint;
 8471|  21.7k|        (yyval.interm.type).setVector(3);
 8472|  21.7k|    }
 8473|  21.7k|#line 8474 "MachineIndependent/glslang_tab.cpp"
 8474|  21.7k|    break;
 8475|       |
 8476|   153k|  case 248: /* type_specifier_nonarray: UVEC4  */
  ------------------
  |  Branch (8476:3): [True: 153k, False: 15.0M]
  ------------------
 8477|   153k|#line 1925 "MachineIndependent/glslang.y"
 8478|   153k|            {
 8479|   153k|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer vector");
  ------------------
  |  |  781|   153k|#define parseContext (*pParseContext)
  ------------------
 8480|   153k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|   153k|#define parseContext (*pParseContext)
  ------------------
 8481|   153k|        (yyval.interm.type).basicType = EbtUint;
 8482|   153k|        (yyval.interm.type).setVector(4);
 8483|   153k|    }
 8484|   153k|#line 8485 "MachineIndependent/glslang_tab.cpp"
 8485|   153k|    break;
 8486|       |
 8487|    723|  case 249: /* type_specifier_nonarray: MAT2  */
  ------------------
  |  Branch (8487:3): [True: 723, False: 15.2M]
  ------------------
 8488|    723|#line 1931 "MachineIndependent/glslang.y"
 8489|    723|           {
 8490|    723|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    723|#define parseContext (*pParseContext)
  ------------------
 8491|    723|        (yyval.interm.type).basicType = EbtFloat;
 8492|    723|        (yyval.interm.type).setMatrix(2, 2);
 8493|    723|    }
 8494|    723|#line 8495 "MachineIndependent/glslang_tab.cpp"
 8495|    723|    break;
 8496|       |
 8497|    723|  case 250: /* type_specifier_nonarray: MAT3  */
  ------------------
  |  Branch (8497:3): [True: 723, False: 15.2M]
  ------------------
 8498|    723|#line 1936 "MachineIndependent/glslang.y"
 8499|    723|           {
 8500|    723|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    723|#define parseContext (*pParseContext)
  ------------------
 8501|    723|        (yyval.interm.type).basicType = EbtFloat;
 8502|    723|        (yyval.interm.type).setMatrix(3, 3);
 8503|    723|    }
 8504|    723|#line 8505 "MachineIndependent/glslang_tab.cpp"
 8505|    723|    break;
 8506|       |
 8507|    723|  case 251: /* type_specifier_nonarray: MAT4  */
  ------------------
  |  Branch (8507:3): [True: 723, False: 15.2M]
  ------------------
 8508|    723|#line 1941 "MachineIndependent/glslang.y"
 8509|    723|           {
 8510|    723|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    723|#define parseContext (*pParseContext)
  ------------------
 8511|    723|        (yyval.interm.type).basicType = EbtFloat;
 8512|    723|        (yyval.interm.type).setMatrix(4, 4);
 8513|    723|    }
 8514|    723|#line 8515 "MachineIndependent/glslang_tab.cpp"
 8515|    723|    break;
 8516|       |
 8517|      0|  case 252: /* type_specifier_nonarray: MAT2X2  */
  ------------------
  |  Branch (8517:3): [True: 0, False: 15.2M]
  ------------------
 8518|      0|#line 1946 "MachineIndependent/glslang.y"
 8519|      0|             {
 8520|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 8521|      0|        (yyval.interm.type).basicType = EbtFloat;
 8522|      0|        (yyval.interm.type).setMatrix(2, 2);
 8523|      0|    }
 8524|      0|#line 8525 "MachineIndependent/glslang_tab.cpp"
 8525|      0|    break;
 8526|       |
 8527|    696|  case 253: /* type_specifier_nonarray: MAT2X3  */
  ------------------
  |  Branch (8527:3): [True: 696, False: 15.2M]
  ------------------
 8528|    696|#line 1951 "MachineIndependent/glslang.y"
 8529|    696|             {
 8530|    696|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    696|#define parseContext (*pParseContext)
  ------------------
 8531|    696|        (yyval.interm.type).basicType = EbtFloat;
 8532|    696|        (yyval.interm.type).setMatrix(2, 3);
 8533|    696|    }
 8534|    696|#line 8535 "MachineIndependent/glslang_tab.cpp"
 8535|    696|    break;
 8536|       |
 8537|    696|  case 254: /* type_specifier_nonarray: MAT2X4  */
  ------------------
  |  Branch (8537:3): [True: 696, False: 15.2M]
  ------------------
 8538|    696|#line 1956 "MachineIndependent/glslang.y"
 8539|    696|             {
 8540|    696|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    696|#define parseContext (*pParseContext)
  ------------------
 8541|    696|        (yyval.interm.type).basicType = EbtFloat;
 8542|    696|        (yyval.interm.type).setMatrix(2, 4);
 8543|    696|    }
 8544|    696|#line 8545 "MachineIndependent/glslang_tab.cpp"
 8545|    696|    break;
 8546|       |
 8547|    696|  case 255: /* type_specifier_nonarray: MAT3X2  */
  ------------------
  |  Branch (8547:3): [True: 696, False: 15.2M]
  ------------------
 8548|    696|#line 1961 "MachineIndependent/glslang.y"
 8549|    696|             {
 8550|    696|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    696|#define parseContext (*pParseContext)
  ------------------
 8551|    696|        (yyval.interm.type).basicType = EbtFloat;
 8552|    696|        (yyval.interm.type).setMatrix(3, 2);
 8553|    696|    }
 8554|    696|#line 8555 "MachineIndependent/glslang_tab.cpp"
 8555|    696|    break;
 8556|       |
 8557|      0|  case 256: /* type_specifier_nonarray: MAT3X3  */
  ------------------
  |  Branch (8557:3): [True: 0, False: 15.2M]
  ------------------
 8558|      0|#line 1966 "MachineIndependent/glslang.y"
 8559|      0|             {
 8560|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 8561|      0|        (yyval.interm.type).basicType = EbtFloat;
 8562|      0|        (yyval.interm.type).setMatrix(3, 3);
 8563|      0|    }
 8564|      0|#line 8565 "MachineIndependent/glslang_tab.cpp"
 8565|      0|    break;
 8566|       |
 8567|    702|  case 257: /* type_specifier_nonarray: MAT3X4  */
  ------------------
  |  Branch (8567:3): [True: 702, False: 15.2M]
  ------------------
 8568|    702|#line 1971 "MachineIndependent/glslang.y"
 8569|    702|             {
 8570|    702|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    702|#define parseContext (*pParseContext)
  ------------------
 8571|    702|        (yyval.interm.type).basicType = EbtFloat;
 8572|    702|        (yyval.interm.type).setMatrix(3, 4);
 8573|    702|    }
 8574|    702|#line 8575 "MachineIndependent/glslang_tab.cpp"
 8575|    702|    break;
 8576|       |
 8577|    696|  case 258: /* type_specifier_nonarray: MAT4X2  */
  ------------------
  |  Branch (8577:3): [True: 696, False: 15.2M]
  ------------------
 8578|    696|#line 1976 "MachineIndependent/glslang.y"
 8579|    696|             {
 8580|    696|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    696|#define parseContext (*pParseContext)
  ------------------
 8581|    696|        (yyval.interm.type).basicType = EbtFloat;
 8582|    696|        (yyval.interm.type).setMatrix(4, 2);
 8583|    696|    }
 8584|    696|#line 8585 "MachineIndependent/glslang_tab.cpp"
 8585|    696|    break;
 8586|       |
 8587|    720|  case 259: /* type_specifier_nonarray: MAT4X3  */
  ------------------
  |  Branch (8587:3): [True: 720, False: 15.2M]
  ------------------
 8588|    720|#line 1981 "MachineIndependent/glslang.y"
 8589|    720|             {
 8590|    720|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    720|#define parseContext (*pParseContext)
  ------------------
 8591|    720|        (yyval.interm.type).basicType = EbtFloat;
 8592|    720|        (yyval.interm.type).setMatrix(4, 3);
 8593|    720|    }
 8594|    720|#line 8595 "MachineIndependent/glslang_tab.cpp"
 8595|    720|    break;
 8596|       |
 8597|      0|  case 260: /* type_specifier_nonarray: MAT4X4  */
  ------------------
  |  Branch (8597:3): [True: 0, False: 15.2M]
  ------------------
 8598|      0|#line 1986 "MachineIndependent/glslang.y"
 8599|      0|             {
 8600|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 8601|      0|        (yyval.interm.type).basicType = EbtFloat;
 8602|      0|        (yyval.interm.type).setMatrix(4, 4);
 8603|      0|    }
 8604|      0|#line 8605 "MachineIndependent/glslang_tab.cpp"
 8605|      0|    break;
 8606|       |
 8607|  2.19k|  case 261: /* type_specifier_nonarray: DOUBLE  */
  ------------------
  |  Branch (8607:3): [True: 2.19k, False: 15.2M]
  ------------------
 8608|  2.19k|#line 1991 "MachineIndependent/glslang.y"
 8609|  2.19k|             {
 8610|  2.19k|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double");
  ------------------
  |  |  781|  2.19k|#define parseContext (*pParseContext)
  ------------------
 8611|  2.19k|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  781|  2.19k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8611:13): [True: 0, False: 2.19k]
  ------------------
 8612|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 8613|  2.19k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  2.19k|#define parseContext (*pParseContext)
  ------------------
 8614|  2.19k|        (yyval.interm.type).basicType = EbtDouble;
 8615|  2.19k|    }
 8616|  2.19k|#line 8617 "MachineIndependent/glslang_tab.cpp"
 8617|  2.19k|    break;
 8618|       |
 8619|     90|  case 262: /* type_specifier_nonarray: BFLOAT16_T  */
  ------------------
  |  Branch (8619:3): [True: 90, False: 15.2M]
  ------------------
 8620|     90|#line 1998 "MachineIndependent/glslang.y"
 8621|     90|                 {
 8622|     90|        parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "bfloat16_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     90|#define parseContext (*pParseContext)
  ------------------
                      parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "bfloat16_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     90|#define parseContext (*pParseContext)
  ------------------
 8623|     90|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     90|#define parseContext (*pParseContext)
  ------------------
 8624|     90|        (yyval.interm.type).basicType = EbtBFloat16;
 8625|     90|    }
 8626|     90|#line 8627 "MachineIndependent/glslang_tab.cpp"
 8627|     90|    break;
 8628|       |
 8629|     60|  case 263: /* type_specifier_nonarray: FLOATE5M2_T  */
  ------------------
  |  Branch (8629:3): [True: 60, False: 15.2M]
  ------------------
 8630|     60|#line 2003 "MachineIndependent/glslang.y"
 8631|     60|                  {
 8632|     60|        parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "floate5m2_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     60|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "floate5m2_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     60|#define parseContext (*pParseContext)
  ------------------
 8633|     60|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     60|#define parseContext (*pParseContext)
  ------------------
 8634|     60|        (yyval.interm.type).basicType = EbtFloatE5M2;
 8635|     60|    }
 8636|     60|#line 8637 "MachineIndependent/glslang_tab.cpp"
 8637|     60|    break;
 8638|       |
 8639|     60|  case 264: /* type_specifier_nonarray: FLOATE4M3_T  */
  ------------------
  |  Branch (8639:3): [True: 60, False: 15.2M]
  ------------------
 8640|     60|#line 2008 "MachineIndependent/glslang.y"
 8641|     60|                  {
 8642|     60|        parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "floate4m3_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     60|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "floate4m3_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     60|#define parseContext (*pParseContext)
  ------------------
 8643|     60|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     60|#define parseContext (*pParseContext)
  ------------------
 8644|     60|        (yyval.interm.type).basicType = EbtFloatE4M3;
 8645|     60|    }
 8646|     60|#line 8647 "MachineIndependent/glslang_tab.cpp"
 8647|     60|    break;
 8648|       |
 8649|     25|  case 265: /* type_specifier_nonarray: FLOATE2M1_T  */
  ------------------
  |  Branch (8649:3): [True: 25, False: 15.2M]
  ------------------
 8650|     25|#line 2013 "MachineIndependent/glslang.y"
 8651|     25|                  {
 8652|     25|        parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "floate2m1_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     25|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "floate2m1_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     25|#define parseContext (*pParseContext)
  ------------------
 8653|     25|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     25|#define parseContext (*pParseContext)
  ------------------
 8654|     25|        (yyval.interm.type).basicType = EbtFloatE2M1;
 8655|     25|    }
 8656|     25|#line 8657 "MachineIndependent/glslang_tab.cpp"
 8657|     25|    break;
 8658|       |
 8659|     25|  case 266: /* type_specifier_nonarray: FLOATE3M2_T  */
  ------------------
  |  Branch (8659:3): [True: 25, False: 15.2M]
  ------------------
 8660|     25|#line 2018 "MachineIndependent/glslang.y"
 8661|     25|                  {
 8662|     25|        parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "floate3m2_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     25|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "floate3m2_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     25|#define parseContext (*pParseContext)
  ------------------
 8663|     25|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     25|#define parseContext (*pParseContext)
  ------------------
 8664|     25|        (yyval.interm.type).basicType = EbtFloatE3M2;
 8665|     25|    }
 8666|     25|#line 8667 "MachineIndependent/glslang_tab.cpp"
 8667|     25|    break;
 8668|       |
 8669|     25|  case 267: /* type_specifier_nonarray: FLOATE2M3_T  */
  ------------------
  |  Branch (8669:3): [True: 25, False: 15.2M]
  ------------------
 8670|     25|#line 2023 "MachineIndependent/glslang.y"
 8671|     25|                  {
 8672|     25|        parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "floate2m3_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     25|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "floate2m3_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     25|#define parseContext (*pParseContext)
  ------------------
 8673|     25|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     25|#define parseContext (*pParseContext)
  ------------------
 8674|     25|        (yyval.interm.type).basicType = EbtFloatE2M3;
 8675|     25|    }
 8676|     25|#line 8677 "MachineIndependent/glslang_tab.cpp"
 8677|     25|    break;
 8678|       |
 8679|     20|  case 268: /* type_specifier_nonarray: FLOATUE8M0_T  */
  ------------------
  |  Branch (8679:3): [True: 20, False: 15.2M]
  ------------------
 8680|     20|#line 2028 "MachineIndependent/glslang.y"
 8681|     20|                   {
 8682|     20|        parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "floatue8m0_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "floatue8m0_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
 8683|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
 8684|     20|        (yyval.interm.type).basicType = EbtFloatUE8M0;
 8685|     20|    }
 8686|     20|#line 8687 "MachineIndependent/glslang_tab.cpp"
 8687|     20|    break;
 8688|       |
 8689|     20|  case 269: /* type_specifier_nonarray: FLOATMXINT8_T  */
  ------------------
  |  Branch (8689:3): [True: 20, False: 15.2M]
  ------------------
 8690|     20|#line 2033 "MachineIndependent/glslang.y"
 8691|     20|                    {
 8692|     20|        parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "floatmxint8_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "floatmxint8_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
 8693|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
 8694|     20|        (yyval.interm.type).basicType = EbtFloatMXINT8;
 8695|     20|    }
 8696|     20|#line 8697 "MachineIndependent/glslang_tab.cpp"
 8697|     20|    break;
 8698|       |
 8699|  20.5k|  case 270: /* type_specifier_nonarray: FLOAT16_T  */
  ------------------
  |  Branch (8699:3): [True: 20.5k, False: 15.2M]
  ------------------
 8700|  20.5k|#line 2038 "MachineIndependent/glslang.y"
 8701|  20.5k|                {
 8702|  20.5k|        parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "float16_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  20.5k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "float16_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  20.5k|#define parseContext (*pParseContext)
  ------------------
 8703|  20.5k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  20.5k|#define parseContext (*pParseContext)
  ------------------
 8704|  20.5k|        (yyval.interm.type).basicType = EbtFloat16;
 8705|  20.5k|    }
 8706|  20.5k|#line 8707 "MachineIndependent/glslang_tab.cpp"
 8707|  20.5k|    break;
 8708|       |
 8709|    380|  case 271: /* type_specifier_nonarray: FLOAT32_T  */
  ------------------
  |  Branch (8709:3): [True: 380, False: 15.2M]
  ------------------
 8710|    380|#line 2043 "MachineIndependent/glslang.y"
 8711|    380|                {
 8712|    380|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    380|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    380|#define parseContext (*pParseContext)
  ------------------
 8713|    380|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    380|#define parseContext (*pParseContext)
  ------------------
 8714|    380|        (yyval.interm.type).basicType = EbtFloat;
 8715|    380|    }
 8716|    380|#line 8717 "MachineIndependent/glslang_tab.cpp"
 8717|    380|    break;
 8718|       |
 8719|  1.25k|  case 272: /* type_specifier_nonarray: FLOAT64_T  */
  ------------------
  |  Branch (8719:3): [True: 1.25k, False: 15.2M]
  ------------------
 8720|  1.25k|#line 2048 "MachineIndependent/glslang.y"
 8721|  1.25k|                {
 8722|  1.25k|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  1.25k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  1.25k|#define parseContext (*pParseContext)
  ------------------
 8723|  1.25k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  1.25k|#define parseContext (*pParseContext)
  ------------------
 8724|  1.25k|        (yyval.interm.type).basicType = EbtDouble;
 8725|  1.25k|    }
 8726|  1.25k|#line 8727 "MachineIndependent/glslang_tab.cpp"
 8727|  1.25k|    break;
 8728|       |
 8729|  15.2k|  case 273: /* type_specifier_nonarray: INT8_T  */
  ------------------
  |  Branch (8729:3): [True: 15.2k, False: 15.2M]
  ------------------
 8730|  15.2k|#line 2053 "MachineIndependent/glslang.y"
 8731|  15.2k|             {
 8732|  15.2k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  15.2k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  15.2k|#define parseContext (*pParseContext)
  ------------------
 8733|  15.2k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  15.2k|#define parseContext (*pParseContext)
  ------------------
 8734|  15.2k|        (yyval.interm.type).basicType = EbtInt8;
 8735|  15.2k|    }
 8736|  15.2k|#line 8737 "MachineIndependent/glslang_tab.cpp"
 8737|  15.2k|    break;
 8738|       |
 8739|  15.1k|  case 274: /* type_specifier_nonarray: UINT8_T  */
  ------------------
  |  Branch (8739:3): [True: 15.1k, False: 15.2M]
  ------------------
 8740|  15.1k|#line 2058 "MachineIndependent/glslang.y"
 8741|  15.1k|              {
 8742|  15.1k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  15.1k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  15.1k|#define parseContext (*pParseContext)
  ------------------
 8743|  15.1k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  15.1k|#define parseContext (*pParseContext)
  ------------------
 8744|  15.1k|        (yyval.interm.type).basicType = EbtUint8;
 8745|  15.1k|    }
 8746|  15.1k|#line 8747 "MachineIndependent/glslang_tab.cpp"
 8747|  15.1k|    break;
 8748|       |
 8749|  17.0k|  case 275: /* type_specifier_nonarray: INT16_T  */
  ------------------
  |  Branch (8749:3): [True: 17.0k, False: 15.2M]
  ------------------
 8750|  17.0k|#line 2063 "MachineIndependent/glslang.y"
 8751|  17.0k|              {
 8752|  17.0k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  17.0k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  17.0k|#define parseContext (*pParseContext)
  ------------------
 8753|  17.0k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  17.0k|#define parseContext (*pParseContext)
  ------------------
 8754|  17.0k|        (yyval.interm.type).basicType = EbtInt16;
 8755|  17.0k|    }
 8756|  17.0k|#line 8757 "MachineIndependent/glslang_tab.cpp"
 8757|  17.0k|    break;
 8758|       |
 8759|  17.1k|  case 276: /* type_specifier_nonarray: UINT16_T  */
  ------------------
  |  Branch (8759:3): [True: 17.1k, False: 15.2M]
  ------------------
 8760|  17.1k|#line 2068 "MachineIndependent/glslang.y"
 8761|  17.1k|               {
 8762|  17.1k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  17.1k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  17.1k|#define parseContext (*pParseContext)
  ------------------
 8763|  17.1k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  17.1k|#define parseContext (*pParseContext)
  ------------------
 8764|  17.1k|        (yyval.interm.type).basicType = EbtUint16;
 8765|  17.1k|    }
 8766|  17.1k|#line 8767 "MachineIndependent/glslang_tab.cpp"
 8767|  17.1k|    break;
 8768|       |
 8769|    400|  case 277: /* type_specifier_nonarray: INT32_T  */
  ------------------
  |  Branch (8769:3): [True: 400, False: 15.2M]
  ------------------
 8770|    400|#line 2073 "MachineIndependent/glslang.y"
 8771|    400|              {
 8772|    400|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    400|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    400|#define parseContext (*pParseContext)
  ------------------
 8773|    400|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    400|#define parseContext (*pParseContext)
  ------------------
 8774|    400|        (yyval.interm.type).basicType = EbtInt;
 8775|    400|    }
 8776|    400|#line 8777 "MachineIndependent/glslang_tab.cpp"
 8777|    400|    break;
 8778|       |
 8779|    410|  case 278: /* type_specifier_nonarray: UINT32_T  */
  ------------------
  |  Branch (8779:3): [True: 410, False: 15.2M]
  ------------------
 8780|    410|#line 2078 "MachineIndependent/glslang.y"
 8781|    410|               {
 8782|    410|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    410|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    410|#define parseContext (*pParseContext)
  ------------------
 8783|    410|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    410|#define parseContext (*pParseContext)
  ------------------
 8784|    410|        (yyval.interm.type).basicType = EbtUint;
 8785|    410|    }
 8786|    410|#line 8787 "MachineIndependent/glslang_tab.cpp"
 8787|    410|    break;
 8788|       |
 8789|  19.2k|  case 279: /* type_specifier_nonarray: INT64_T  */
  ------------------
  |  Branch (8789:3): [True: 19.2k, False: 15.2M]
  ------------------
 8790|  19.2k|#line 2083 "MachineIndependent/glslang.y"
 8791|  19.2k|              {
 8792|  19.2k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  19.2k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  19.2k|#define parseContext (*pParseContext)
  ------------------
 8793|  19.2k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  19.2k|#define parseContext (*pParseContext)
  ------------------
 8794|  19.2k|        (yyval.interm.type).basicType = EbtInt64;
 8795|  19.2k|    }
 8796|  19.2k|#line 8797 "MachineIndependent/glslang_tab.cpp"
 8797|  19.2k|    break;
 8798|       |
 8799|  22.4k|  case 280: /* type_specifier_nonarray: UINT64_T  */
  ------------------
  |  Branch (8799:3): [True: 22.4k, False: 15.1M]
  ------------------
 8800|  22.4k|#line 2088 "MachineIndependent/glslang.y"
 8801|  22.4k|               {
 8802|  22.4k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  22.4k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  22.4k|#define parseContext (*pParseContext)
  ------------------
 8803|  22.4k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  22.4k|#define parseContext (*pParseContext)
  ------------------
 8804|  22.4k|        (yyval.interm.type).basicType = EbtUint64;
 8805|  22.4k|    }
 8806|  22.4k|#line 8807 "MachineIndependent/glslang_tab.cpp"
 8807|  22.4k|    break;
 8808|       |
 8809|  1.91k|  case 281: /* type_specifier_nonarray: DVEC2  */
  ------------------
  |  Branch (8809:3): [True: 1.91k, False: 15.2M]
  ------------------
 8810|  1.91k|#line 2093 "MachineIndependent/glslang.y"
 8811|  1.91k|            {
 8812|  1.91k|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double vector");
  ------------------
  |  |  781|  1.91k|#define parseContext (*pParseContext)
  ------------------
 8813|  1.91k|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  781|  1.91k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8813:13): [True: 0, False: 1.91k]
  ------------------
 8814|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double vector");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 8815|  1.91k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  1.91k|#define parseContext (*pParseContext)
  ------------------
 8816|  1.91k|        (yyval.interm.type).basicType = EbtDouble;
 8817|  1.91k|        (yyval.interm.type).setVector(2);
 8818|  1.91k|    }
 8819|  1.91k|#line 8820 "MachineIndependent/glslang_tab.cpp"
 8820|  1.91k|    break;
 8821|       |
 8822|  1.91k|  case 282: /* type_specifier_nonarray: DVEC3  */
  ------------------
  |  Branch (8822:3): [True: 1.91k, False: 15.2M]
  ------------------
 8823|  1.91k|#line 2101 "MachineIndependent/glslang.y"
 8824|  1.91k|            {
 8825|  1.91k|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double vector");
  ------------------
  |  |  781|  1.91k|#define parseContext (*pParseContext)
  ------------------
 8826|  1.91k|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  781|  1.91k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8826:13): [True: 0, False: 1.91k]
  ------------------
 8827|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double vector");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 8828|  1.91k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  1.91k|#define parseContext (*pParseContext)
  ------------------
 8829|  1.91k|        (yyval.interm.type).basicType = EbtDouble;
 8830|  1.91k|        (yyval.interm.type).setVector(3);
 8831|  1.91k|    }
 8832|  1.91k|#line 8833 "MachineIndependent/glslang_tab.cpp"
 8833|  1.91k|    break;
 8834|       |
 8835|  1.91k|  case 283: /* type_specifier_nonarray: DVEC4  */
  ------------------
  |  Branch (8835:3): [True: 1.91k, False: 15.2M]
  ------------------
 8836|  1.91k|#line 2109 "MachineIndependent/glslang.y"
 8837|  1.91k|            {
 8838|  1.91k|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double vector");
  ------------------
  |  |  781|  1.91k|#define parseContext (*pParseContext)
  ------------------
 8839|  1.91k|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  781|  1.91k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8839:13): [True: 0, False: 1.91k]
  ------------------
 8840|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double vector");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 8841|  1.91k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  1.91k|#define parseContext (*pParseContext)
  ------------------
 8842|  1.91k|        (yyval.interm.type).basicType = EbtDouble;
 8843|  1.91k|        (yyval.interm.type).setVector(4);
 8844|  1.91k|    }
 8845|  1.91k|#line 8846 "MachineIndependent/glslang_tab.cpp"
 8846|  1.91k|    break;
 8847|       |
 8848|     50|  case 284: /* type_specifier_nonarray: BF16VEC2  */
  ------------------
  |  Branch (8848:3): [True: 50, False: 15.2M]
  ------------------
 8849|     50|#line 2117 "MachineIndependent/glslang.y"
 8850|     50|               {
 8851|     50|        parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     50|#define parseContext (*pParseContext)
  ------------------
                      parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     50|#define parseContext (*pParseContext)
  ------------------
 8852|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     50|#define parseContext (*pParseContext)
  ------------------
 8853|     50|        (yyval.interm.type).basicType = EbtBFloat16;
 8854|     50|        (yyval.interm.type).setVector(2);
 8855|     50|    }
 8856|     50|#line 8857 "MachineIndependent/glslang_tab.cpp"
 8857|     50|    break;
 8858|       |
 8859|     30|  case 285: /* type_specifier_nonarray: BF16VEC3  */
  ------------------
  |  Branch (8859:3): [True: 30, False: 15.2M]
  ------------------
 8860|     30|#line 2123 "MachineIndependent/glslang.y"
 8861|     30|               {
 8862|     30|        parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
                      parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
 8863|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
 8864|     30|        (yyval.interm.type).basicType = EbtBFloat16;
 8865|     30|        (yyval.interm.type).setVector(3);
 8866|     30|    }
 8867|     30|#line 8868 "MachineIndependent/glslang_tab.cpp"
 8868|     30|    break;
 8869|       |
 8870|     50|  case 286: /* type_specifier_nonarray: BF16VEC4  */
  ------------------
  |  Branch (8870:3): [True: 50, False: 15.2M]
  ------------------
 8871|     50|#line 2129 "MachineIndependent/glslang.y"
 8872|     50|               {
 8873|     50|        parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     50|#define parseContext (*pParseContext)
  ------------------
                      parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     50|#define parseContext (*pParseContext)
  ------------------
 8874|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     50|#define parseContext (*pParseContext)
  ------------------
 8875|     50|        (yyval.interm.type).basicType = EbtBFloat16;
 8876|     50|        (yyval.interm.type).setVector(4);
 8877|     50|    }
 8878|     50|#line 8879 "MachineIndependent/glslang_tab.cpp"
 8879|     50|    break;
 8880|       |
 8881|     40|  case 287: /* type_specifier_nonarray: FE5M2VEC2  */
  ------------------
  |  Branch (8881:3): [True: 40, False: 15.2M]
  ------------------
 8882|     40|#line 2135 "MachineIndependent/glslang.y"
 8883|     40|                {
 8884|     40|        parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     40|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     40|#define parseContext (*pParseContext)
  ------------------
 8885|     40|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     40|#define parseContext (*pParseContext)
  ------------------
 8886|     40|        (yyval.interm.type).basicType = EbtFloatE5M2;
 8887|     40|        (yyval.interm.type).setVector(2);
 8888|     40|    }
 8889|     40|#line 8890 "MachineIndependent/glslang_tab.cpp"
 8890|     40|    break;
 8891|       |
 8892|     20|  case 288: /* type_specifier_nonarray: FE5M2VEC3  */
  ------------------
  |  Branch (8892:3): [True: 20, False: 15.2M]
  ------------------
 8893|     20|#line 2141 "MachineIndependent/glslang.y"
 8894|     20|                {
 8895|     20|        parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
 8896|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
 8897|     20|        (yyval.interm.type).basicType = EbtFloatE5M2;
 8898|     20|        (yyval.interm.type).setVector(3);
 8899|     20|    }
 8900|     20|#line 8901 "MachineIndependent/glslang_tab.cpp"
 8901|     20|    break;
 8902|       |
 8903|     40|  case 289: /* type_specifier_nonarray: FE5M2VEC4  */
  ------------------
  |  Branch (8903:3): [True: 40, False: 15.2M]
  ------------------
 8904|     40|#line 2147 "MachineIndependent/glslang.y"
 8905|     40|                {
 8906|     40|        parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     40|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     40|#define parseContext (*pParseContext)
  ------------------
 8907|     40|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     40|#define parseContext (*pParseContext)
  ------------------
 8908|     40|        (yyval.interm.type).basicType = EbtFloatE5M2;
 8909|     40|        (yyval.interm.type).setVector(4);
 8910|     40|    }
 8911|     40|#line 8912 "MachineIndependent/glslang_tab.cpp"
 8912|     40|    break;
 8913|       |
 8914|     40|  case 290: /* type_specifier_nonarray: FE4M3VEC2  */
  ------------------
  |  Branch (8914:3): [True: 40, False: 15.2M]
  ------------------
 8915|     40|#line 2153 "MachineIndependent/glslang.y"
 8916|     40|                {
 8917|     40|        parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     40|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     40|#define parseContext (*pParseContext)
  ------------------
 8918|     40|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     40|#define parseContext (*pParseContext)
  ------------------
 8919|     40|        (yyval.interm.type).basicType = EbtFloatE4M3;
 8920|     40|        (yyval.interm.type).setVector(2);
 8921|     40|    }
 8922|     40|#line 8923 "MachineIndependent/glslang_tab.cpp"
 8923|     40|    break;
 8924|       |
 8925|     20|  case 291: /* type_specifier_nonarray: FE4M3VEC3  */
  ------------------
  |  Branch (8925:3): [True: 20, False: 15.2M]
  ------------------
 8926|     20|#line 2159 "MachineIndependent/glslang.y"
 8927|     20|                {
 8928|     20|        parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
 8929|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
 8930|     20|        (yyval.interm.type).basicType = EbtFloatE4M3;
 8931|     20|        (yyval.interm.type).setVector(3);
 8932|     20|    }
 8933|     20|#line 8934 "MachineIndependent/glslang_tab.cpp"
 8934|     20|    break;
 8935|       |
 8936|     40|  case 292: /* type_specifier_nonarray: FE4M3VEC4  */
  ------------------
  |  Branch (8936:3): [True: 40, False: 15.2M]
  ------------------
 8937|     40|#line 2165 "MachineIndependent/glslang.y"
 8938|     40|                {
 8939|     40|        parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     40|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     40|#define parseContext (*pParseContext)
  ------------------
 8940|     40|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     40|#define parseContext (*pParseContext)
  ------------------
 8941|     40|        (yyval.interm.type).basicType = EbtFloatE4M3;
 8942|     40|        (yyval.interm.type).setVector(4);
 8943|     40|    }
 8944|     40|#line 8945 "MachineIndependent/glslang_tab.cpp"
 8945|     40|    break;
 8946|       |
 8947|     15|  case 293: /* type_specifier_nonarray: FE2M1VEC2  */
  ------------------
  |  Branch (8947:3): [True: 15, False: 15.2M]
  ------------------
 8948|     15|#line 2171 "MachineIndependent/glslang.y"
 8949|     15|                {
 8950|     15|        parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     15|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     15|#define parseContext (*pParseContext)
  ------------------
 8951|     15|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     15|#define parseContext (*pParseContext)
  ------------------
 8952|     15|        (yyval.interm.type).basicType = EbtFloatE2M1;
 8953|     15|        (yyval.interm.type).setVector(2);
 8954|     15|    }
 8955|     15|#line 8956 "MachineIndependent/glslang_tab.cpp"
 8956|     15|    break;
 8957|       |
 8958|      5|  case 294: /* type_specifier_nonarray: FE2M1VEC3  */
  ------------------
  |  Branch (8958:3): [True: 5, False: 15.2M]
  ------------------
 8959|      5|#line 2177 "MachineIndependent/glslang.y"
 8960|      5|                {
 8961|      5|        parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      5|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      5|#define parseContext (*pParseContext)
  ------------------
 8962|      5|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      5|#define parseContext (*pParseContext)
  ------------------
 8963|      5|        (yyval.interm.type).basicType = EbtFloatE2M1;
 8964|      5|        (yyval.interm.type).setVector(3);
 8965|      5|    }
 8966|      5|#line 8967 "MachineIndependent/glslang_tab.cpp"
 8967|      5|    break;
 8968|       |
 8969|     15|  case 295: /* type_specifier_nonarray: FE2M1VEC4  */
  ------------------
  |  Branch (8969:3): [True: 15, False: 15.2M]
  ------------------
 8970|     15|#line 2183 "MachineIndependent/glslang.y"
 8971|     15|                {
 8972|     15|        parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     15|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     15|#define parseContext (*pParseContext)
  ------------------
 8973|     15|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     15|#define parseContext (*pParseContext)
  ------------------
 8974|     15|        (yyval.interm.type).basicType = EbtFloatE2M1;
 8975|     15|        (yyval.interm.type).setVector(4);
 8976|     15|    }
 8977|     15|#line 8978 "MachineIndependent/glslang_tab.cpp"
 8978|     15|    break;
 8979|       |
 8980|      5|  case 296: /* type_specifier_nonarray: FE3M2VEC2  */
  ------------------
  |  Branch (8980:3): [True: 5, False: 15.2M]
  ------------------
 8981|      5|#line 2189 "MachineIndependent/glslang.y"
 8982|      5|                {
 8983|      5|        parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      5|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      5|#define parseContext (*pParseContext)
  ------------------
 8984|      5|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      5|#define parseContext (*pParseContext)
  ------------------
 8985|      5|        (yyval.interm.type).basicType = EbtFloatE3M2;
 8986|      5|        (yyval.interm.type).setVector(2);
 8987|      5|    }
 8988|      5|#line 8989 "MachineIndependent/glslang_tab.cpp"
 8989|      5|    break;
 8990|       |
 8991|      5|  case 297: /* type_specifier_nonarray: FE3M2VEC3  */
  ------------------
  |  Branch (8991:3): [True: 5, False: 15.2M]
  ------------------
 8992|      5|#line 2195 "MachineIndependent/glslang.y"
 8993|      5|                {
 8994|      5|        parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      5|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      5|#define parseContext (*pParseContext)
  ------------------
 8995|      5|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      5|#define parseContext (*pParseContext)
  ------------------
 8996|      5|        (yyval.interm.type).basicType = EbtFloatE3M2;
 8997|      5|        (yyval.interm.type).setVector(3);
 8998|      5|    }
 8999|      5|#line 9000 "MachineIndependent/glslang_tab.cpp"
 9000|      5|    break;
 9001|       |
 9002|     15|  case 298: /* type_specifier_nonarray: FE3M2VEC4  */
  ------------------
  |  Branch (9002:3): [True: 15, False: 15.2M]
  ------------------
 9003|     15|#line 2201 "MachineIndependent/glslang.y"
 9004|     15|                {
 9005|     15|        parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     15|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     15|#define parseContext (*pParseContext)
  ------------------
 9006|     15|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     15|#define parseContext (*pParseContext)
  ------------------
 9007|     15|        (yyval.interm.type).basicType = EbtFloatE3M2;
 9008|     15|        (yyval.interm.type).setVector(4);
 9009|     15|    }
 9010|     15|#line 9011 "MachineIndependent/glslang_tab.cpp"
 9011|     15|    break;
 9012|       |
 9013|      5|  case 299: /* type_specifier_nonarray: FE2M3VEC2  */
  ------------------
  |  Branch (9013:3): [True: 5, False: 15.2M]
  ------------------
 9014|      5|#line 2207 "MachineIndependent/glslang.y"
 9015|      5|                {
 9016|      5|        parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      5|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      5|#define parseContext (*pParseContext)
  ------------------
 9017|      5|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      5|#define parseContext (*pParseContext)
  ------------------
 9018|      5|        (yyval.interm.type).basicType = EbtFloatE2M3;
 9019|      5|        (yyval.interm.type).setVector(2);
 9020|      5|    }
 9021|      5|#line 9022 "MachineIndependent/glslang_tab.cpp"
 9022|      5|    break;
 9023|       |
 9024|      5|  case 300: /* type_specifier_nonarray: FE2M3VEC3  */
  ------------------
  |  Branch (9024:3): [True: 5, False: 15.2M]
  ------------------
 9025|      5|#line 2213 "MachineIndependent/glslang.y"
 9026|      5|                {
 9027|      5|        parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      5|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      5|#define parseContext (*pParseContext)
  ------------------
 9028|      5|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      5|#define parseContext (*pParseContext)
  ------------------
 9029|      5|        (yyval.interm.type).basicType = EbtFloatE2M3;
 9030|      5|        (yyval.interm.type).setVector(3);
 9031|      5|    }
 9032|      5|#line 9033 "MachineIndependent/glslang_tab.cpp"
 9033|      5|    break;
 9034|       |
 9035|     15|  case 301: /* type_specifier_nonarray: FE2M3VEC4  */
  ------------------
  |  Branch (9035:3): [True: 15, False: 15.2M]
  ------------------
 9036|     15|#line 2219 "MachineIndependent/glslang.y"
 9037|     15|                {
 9038|     15|        parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     15|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     15|#define parseContext (*pParseContext)
  ------------------
 9039|     15|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     15|#define parseContext (*pParseContext)
  ------------------
 9040|     15|        (yyval.interm.type).basicType = EbtFloatE2M3;
 9041|     15|        (yyval.interm.type).setVector(4);
 9042|     15|    }
 9043|     15|#line 9044 "MachineIndependent/glslang_tab.cpp"
 9044|     15|    break;
 9045|       |
 9046|     20|  case 302: /* type_specifier_nonarray: FUE8M0VEC2  */
  ------------------
  |  Branch (9046:3): [True: 20, False: 15.2M]
  ------------------
 9047|     20|#line 2225 "MachineIndependent/glslang.y"
 9048|     20|                 {
 9049|     20|        parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
 9050|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
 9051|     20|        (yyval.interm.type).basicType = EbtFloatUE8M0;
 9052|     20|        (yyval.interm.type).setVector(2);
 9053|     20|    }
 9054|     20|#line 9055 "MachineIndependent/glslang_tab.cpp"
 9055|     20|    break;
 9056|       |
 9057|     20|  case 303: /* type_specifier_nonarray: FUE8M0VEC3  */
  ------------------
  |  Branch (9057:3): [True: 20, False: 15.2M]
  ------------------
 9058|     20|#line 2231 "MachineIndependent/glslang.y"
 9059|     20|                 {
 9060|     20|        parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
 9061|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
 9062|     20|        (yyval.interm.type).basicType = EbtFloatUE8M0;
 9063|     20|        (yyval.interm.type).setVector(3);
 9064|     20|    }
 9065|     20|#line 9066 "MachineIndependent/glslang_tab.cpp"
 9066|     20|    break;
 9067|       |
 9068|     20|  case 304: /* type_specifier_nonarray: FUE8M0VEC4  */
  ------------------
  |  Branch (9068:3): [True: 20, False: 15.2M]
  ------------------
 9069|     20|#line 2237 "MachineIndependent/glslang.y"
 9070|     20|                 {
 9071|     20|        parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
 9072|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
 9073|     20|        (yyval.interm.type).basicType = EbtFloatUE8M0;
 9074|     20|        (yyval.interm.type).setVector(4);
 9075|     20|    }
 9076|     20|#line 9077 "MachineIndependent/glslang_tab.cpp"
 9077|     20|    break;
 9078|       |
 9079|     20|  case 305: /* type_specifier_nonarray: FMXINT8VEC2  */
  ------------------
  |  Branch (9079:3): [True: 20, False: 15.2M]
  ------------------
 9080|     20|#line 2243 "MachineIndependent/glslang.y"
 9081|     20|                  {
 9082|     20|        parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
 9083|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
 9084|     20|        (yyval.interm.type).basicType = EbtFloatMXINT8;
 9085|     20|        (yyval.interm.type).setVector(2);
 9086|     20|    }
 9087|     20|#line 9088 "MachineIndependent/glslang_tab.cpp"
 9088|     20|    break;
 9089|       |
 9090|     20|  case 306: /* type_specifier_nonarray: FMXINT8VEC3  */
  ------------------
  |  Branch (9090:3): [True: 20, False: 15.2M]
  ------------------
 9091|     20|#line 2249 "MachineIndependent/glslang.y"
 9092|     20|                  {
 9093|     20|        parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
 9094|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
 9095|     20|        (yyval.interm.type).basicType = EbtFloatMXINT8;
 9096|     20|        (yyval.interm.type).setVector(3);
 9097|     20|    }
 9098|     20|#line 9099 "MachineIndependent/glslang_tab.cpp"
 9099|     20|    break;
 9100|       |
 9101|     20|  case 307: /* type_specifier_nonarray: FMXINT8VEC4  */
  ------------------
  |  Branch (9101:3): [True: 20, False: 15.2M]
  ------------------
 9102|     20|#line 2255 "MachineIndependent/glslang.y"
 9103|     20|                  {
 9104|     20|        parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
 9105|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
 9106|     20|        (yyval.interm.type).basicType = EbtFloatMXINT8;
 9107|     20|        (yyval.interm.type).setVector(4);
 9108|     20|    }
 9109|     20|#line 9110 "MachineIndependent/glslang_tab.cpp"
 9110|     20|    break;
 9111|       |
 9112|  15.6k|  case 308: /* type_specifier_nonarray: F16VEC2  */
  ------------------
  |  Branch (9112:3): [True: 15.6k, False: 15.2M]
  ------------------
 9113|  15.6k|#line 2261 "MachineIndependent/glslang.y"
 9114|  15.6k|              {
 9115|  15.6k|        parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  15.6k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  15.6k|#define parseContext (*pParseContext)
  ------------------
 9116|  15.6k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  15.6k|#define parseContext (*pParseContext)
  ------------------
 9117|  15.6k|        (yyval.interm.type).basicType = EbtFloat16;
 9118|  15.6k|        (yyval.interm.type).setVector(2);
 9119|  15.6k|    }
 9120|  15.6k|#line 9121 "MachineIndependent/glslang_tab.cpp"
 9121|  15.6k|    break;
 9122|       |
 9123|  14.0k|  case 309: /* type_specifier_nonarray: F16VEC3  */
  ------------------
  |  Branch (9123:3): [True: 14.0k, False: 15.2M]
  ------------------
 9124|  14.0k|#line 2267 "MachineIndependent/glslang.y"
 9125|  14.0k|              {
 9126|  14.0k|        parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  14.0k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  14.0k|#define parseContext (*pParseContext)
  ------------------
 9127|  14.0k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  14.0k|#define parseContext (*pParseContext)
  ------------------
 9128|  14.0k|        (yyval.interm.type).basicType = EbtFloat16;
 9129|  14.0k|        (yyval.interm.type).setVector(3);
 9130|  14.0k|    }
 9131|  14.0k|#line 9132 "MachineIndependent/glslang_tab.cpp"
 9132|  14.0k|    break;
 9133|       |
 9134|  21.5k|  case 310: /* type_specifier_nonarray: F16VEC4  */
  ------------------
  |  Branch (9134:3): [True: 21.5k, False: 15.2M]
  ------------------
 9135|  21.5k|#line 2273 "MachineIndependent/glslang.y"
 9136|  21.5k|              {
 9137|  21.5k|        parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  21.5k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  21.5k|#define parseContext (*pParseContext)
  ------------------
 9138|  21.5k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  21.5k|#define parseContext (*pParseContext)
  ------------------
 9139|  21.5k|        (yyval.interm.type).basicType = EbtFloat16;
 9140|  21.5k|        (yyval.interm.type).setVector(4);
 9141|  21.5k|    }
 9142|  21.5k|#line 9143 "MachineIndependent/glslang_tab.cpp"
 9143|  21.5k|    break;
 9144|       |
 9145|     20|  case 311: /* type_specifier_nonarray: F32VEC2  */
  ------------------
  |  Branch (9145:3): [True: 20, False: 15.2M]
  ------------------
 9146|     20|#line 2279 "MachineIndependent/glslang.y"
 9147|     20|              {
 9148|     20|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
 9149|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
 9150|     20|        (yyval.interm.type).basicType = EbtFloat;
 9151|     20|        (yyval.interm.type).setVector(2);
 9152|     20|    }
 9153|     20|#line 9154 "MachineIndependent/glslang_tab.cpp"
 9154|     20|    break;
 9155|       |
 9156|     20|  case 312: /* type_specifier_nonarray: F32VEC3  */
  ------------------
  |  Branch (9156:3): [True: 20, False: 15.2M]
  ------------------
 9157|     20|#line 2285 "MachineIndependent/glslang.y"
 9158|     20|              {
 9159|     20|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
 9160|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
 9161|     20|        (yyval.interm.type).basicType = EbtFloat;
 9162|     20|        (yyval.interm.type).setVector(3);
 9163|     20|    }
 9164|     20|#line 9165 "MachineIndependent/glslang_tab.cpp"
 9165|     20|    break;
 9166|       |
 9167|     20|  case 313: /* type_specifier_nonarray: F32VEC4  */
  ------------------
  |  Branch (9167:3): [True: 20, False: 15.2M]
  ------------------
 9168|     20|#line 2291 "MachineIndependent/glslang.y"
 9169|     20|              {
 9170|     20|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
 9171|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
 9172|     20|        (yyval.interm.type).basicType = EbtFloat;
 9173|     20|        (yyval.interm.type).setVector(4);
 9174|     20|    }
 9175|     20|#line 9176 "MachineIndependent/glslang_tab.cpp"
 9176|     20|    break;
 9177|       |
 9178|  1.02k|  case 314: /* type_specifier_nonarray: F64VEC2  */
  ------------------
  |  Branch (9178:3): [True: 1.02k, False: 15.2M]
  ------------------
 9179|  1.02k|#line 2297 "MachineIndependent/glslang.y"
 9180|  1.02k|              {
 9181|  1.02k|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  1.02k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  1.02k|#define parseContext (*pParseContext)
  ------------------
 9182|  1.02k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  1.02k|#define parseContext (*pParseContext)
  ------------------
 9183|  1.02k|        (yyval.interm.type).basicType = EbtDouble;
 9184|  1.02k|        (yyval.interm.type).setVector(2);
 9185|  1.02k|    }
 9186|  1.02k|#line 9187 "MachineIndependent/glslang_tab.cpp"
 9187|  1.02k|    break;
 9188|       |
 9189|    976|  case 315: /* type_specifier_nonarray: F64VEC3  */
  ------------------
  |  Branch (9189:3): [True: 976, False: 15.2M]
  ------------------
 9190|    976|#line 2303 "MachineIndependent/glslang.y"
 9191|    976|              {
 9192|    976|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    976|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    976|#define parseContext (*pParseContext)
  ------------------
 9193|    976|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    976|#define parseContext (*pParseContext)
  ------------------
 9194|    976|        (yyval.interm.type).basicType = EbtDouble;
 9195|    976|        (yyval.interm.type).setVector(3);
 9196|    976|    }
 9197|    976|#line 9198 "MachineIndependent/glslang_tab.cpp"
 9198|    976|    break;
 9199|       |
 9200|    976|  case 316: /* type_specifier_nonarray: F64VEC4  */
  ------------------
  |  Branch (9200:3): [True: 976, False: 15.2M]
  ------------------
 9201|    976|#line 2309 "MachineIndependent/glslang.y"
 9202|    976|              {
 9203|    976|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    976|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    976|#define parseContext (*pParseContext)
  ------------------
 9204|    976|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    976|#define parseContext (*pParseContext)
  ------------------
 9205|    976|        (yyval.interm.type).basicType = EbtDouble;
 9206|    976|        (yyval.interm.type).setVector(4);
 9207|    976|    }
 9208|    976|#line 9209 "MachineIndependent/glslang_tab.cpp"
 9209|    976|    break;
 9210|       |
 9211|  14.7k|  case 317: /* type_specifier_nonarray: I8VEC2  */
  ------------------
  |  Branch (9211:3): [True: 14.7k, False: 15.2M]
  ------------------
 9212|  14.7k|#line 2315 "MachineIndependent/glslang.y"
 9213|  14.7k|             {
 9214|  14.7k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  14.7k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  14.7k|#define parseContext (*pParseContext)
  ------------------
 9215|  14.7k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  14.7k|#define parseContext (*pParseContext)
  ------------------
 9216|  14.7k|        (yyval.interm.type).basicType = EbtInt8;
 9217|  14.7k|        (yyval.interm.type).setVector(2);
 9218|  14.7k|    }
 9219|  14.7k|#line 9220 "MachineIndependent/glslang_tab.cpp"
 9220|  14.7k|    break;
 9221|       |
 9222|  14.7k|  case 318: /* type_specifier_nonarray: I8VEC3  */
  ------------------
  |  Branch (9222:3): [True: 14.7k, False: 15.2M]
  ------------------
 9223|  14.7k|#line 2321 "MachineIndependent/glslang.y"
 9224|  14.7k|             {
 9225|  14.7k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  14.7k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  14.7k|#define parseContext (*pParseContext)
  ------------------
 9226|  14.7k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  14.7k|#define parseContext (*pParseContext)
  ------------------
 9227|  14.7k|        (yyval.interm.type).basicType = EbtInt8;
 9228|  14.7k|        (yyval.interm.type).setVector(3);
 9229|  14.7k|    }
 9230|  14.7k|#line 9231 "MachineIndependent/glslang_tab.cpp"
 9231|  14.7k|    break;
 9232|       |
 9233|  14.7k|  case 319: /* type_specifier_nonarray: I8VEC4  */
  ------------------
  |  Branch (9233:3): [True: 14.7k, False: 15.2M]
  ------------------
 9234|  14.7k|#line 2327 "MachineIndependent/glslang.y"
 9235|  14.7k|             {
 9236|  14.7k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  14.7k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  14.7k|#define parseContext (*pParseContext)
  ------------------
 9237|  14.7k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  14.7k|#define parseContext (*pParseContext)
  ------------------
 9238|  14.7k|        (yyval.interm.type).basicType = EbtInt8;
 9239|  14.7k|        (yyval.interm.type).setVector(4);
 9240|  14.7k|    }
 9241|  14.7k|#line 9242 "MachineIndependent/glslang_tab.cpp"
 9242|  14.7k|    break;
 9243|       |
 9244|  16.6k|  case 320: /* type_specifier_nonarray: I16VEC2  */
  ------------------
  |  Branch (9244:3): [True: 16.6k, False: 15.2M]
  ------------------
 9245|  16.6k|#line 2333 "MachineIndependent/glslang.y"
 9246|  16.6k|              {
 9247|  16.6k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  16.6k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  16.6k|#define parseContext (*pParseContext)
  ------------------
 9248|  16.6k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  16.6k|#define parseContext (*pParseContext)
  ------------------
 9249|  16.6k|        (yyval.interm.type).basicType = EbtInt16;
 9250|  16.6k|        (yyval.interm.type).setVector(2);
 9251|  16.6k|    }
 9252|  16.6k|#line 9253 "MachineIndependent/glslang_tab.cpp"
 9253|  16.6k|    break;
 9254|       |
 9255|  16.6k|  case 321: /* type_specifier_nonarray: I16VEC3  */
  ------------------
  |  Branch (9255:3): [True: 16.6k, False: 15.2M]
  ------------------
 9256|  16.6k|#line 2339 "MachineIndependent/glslang.y"
 9257|  16.6k|              {
 9258|  16.6k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  16.6k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  16.6k|#define parseContext (*pParseContext)
  ------------------
 9259|  16.6k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  16.6k|#define parseContext (*pParseContext)
  ------------------
 9260|  16.6k|        (yyval.interm.type).basicType = EbtInt16;
 9261|  16.6k|        (yyval.interm.type).setVector(3);
 9262|  16.6k|    }
 9263|  16.6k|#line 9264 "MachineIndependent/glslang_tab.cpp"
 9264|  16.6k|    break;
 9265|       |
 9266|  16.6k|  case 322: /* type_specifier_nonarray: I16VEC4  */
  ------------------
  |  Branch (9266:3): [True: 16.6k, False: 15.2M]
  ------------------
 9267|  16.6k|#line 2345 "MachineIndependent/glslang.y"
 9268|  16.6k|              {
 9269|  16.6k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  16.6k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  16.6k|#define parseContext (*pParseContext)
  ------------------
 9270|  16.6k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  16.6k|#define parseContext (*pParseContext)
  ------------------
 9271|  16.6k|        (yyval.interm.type).basicType = EbtInt16;
 9272|  16.6k|        (yyval.interm.type).setVector(4);
 9273|  16.6k|    }
 9274|  16.6k|#line 9275 "MachineIndependent/glslang_tab.cpp"
 9275|  16.6k|    break;
 9276|       |
 9277|     30|  case 323: /* type_specifier_nonarray: I32VEC2  */
  ------------------
  |  Branch (9277:3): [True: 30, False: 15.2M]
  ------------------
 9278|     30|#line 2351 "MachineIndependent/glslang.y"
 9279|     30|              {
 9280|     30|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
 9281|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
 9282|     30|        (yyval.interm.type).basicType = EbtInt;
 9283|     30|        (yyval.interm.type).setVector(2);
 9284|     30|    }
 9285|     30|#line 9286 "MachineIndependent/glslang_tab.cpp"
 9286|     30|    break;
 9287|       |
 9288|     20|  case 324: /* type_specifier_nonarray: I32VEC3  */
  ------------------
  |  Branch (9288:3): [True: 20, False: 15.2M]
  ------------------
 9289|     20|#line 2357 "MachineIndependent/glslang.y"
 9290|     20|              {
 9291|     20|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
 9292|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
 9293|     20|        (yyval.interm.type).basicType = EbtInt;
 9294|     20|        (yyval.interm.type).setVector(3);
 9295|     20|    }
 9296|     20|#line 9297 "MachineIndependent/glslang_tab.cpp"
 9297|     20|    break;
 9298|       |
 9299|     20|  case 325: /* type_specifier_nonarray: I32VEC4  */
  ------------------
  |  Branch (9299:3): [True: 20, False: 15.2M]
  ------------------
 9300|     20|#line 2363 "MachineIndependent/glslang.y"
 9301|     20|              {
 9302|     20|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
 9303|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
 9304|     20|        (yyval.interm.type).basicType = EbtInt;
 9305|     20|        (yyval.interm.type).setVector(4);
 9306|     20|    }
 9307|     20|#line 9308 "MachineIndependent/glslang_tab.cpp"
 9308|     20|    break;
 9309|       |
 9310|  16.5k|  case 326: /* type_specifier_nonarray: I64VEC2  */
  ------------------
  |  Branch (9310:3): [True: 16.5k, False: 15.2M]
  ------------------
 9311|  16.5k|#line 2369 "MachineIndependent/glslang.y"
 9312|  16.5k|              {
 9313|  16.5k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  16.5k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  16.5k|#define parseContext (*pParseContext)
  ------------------
 9314|  16.5k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  16.5k|#define parseContext (*pParseContext)
  ------------------
 9315|  16.5k|        (yyval.interm.type).basicType = EbtInt64;
 9316|  16.5k|        (yyval.interm.type).setVector(2);
 9317|  16.5k|    }
 9318|  16.5k|#line 9319 "MachineIndependent/glslang_tab.cpp"
 9319|  16.5k|    break;
 9320|       |
 9321|  16.5k|  case 327: /* type_specifier_nonarray: I64VEC3  */
  ------------------
  |  Branch (9321:3): [True: 16.5k, False: 15.2M]
  ------------------
 9322|  16.5k|#line 2375 "MachineIndependent/glslang.y"
 9323|  16.5k|              {
 9324|  16.5k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  16.5k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  16.5k|#define parseContext (*pParseContext)
  ------------------
 9325|  16.5k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  16.5k|#define parseContext (*pParseContext)
  ------------------
 9326|  16.5k|        (yyval.interm.type).basicType = EbtInt64;
 9327|  16.5k|        (yyval.interm.type).setVector(3);
 9328|  16.5k|    }
 9329|  16.5k|#line 9330 "MachineIndependent/glslang_tab.cpp"
 9330|  16.5k|    break;
 9331|       |
 9332|  16.8k|  case 328: /* type_specifier_nonarray: I64VEC4  */
  ------------------
  |  Branch (9332:3): [True: 16.8k, False: 15.2M]
  ------------------
 9333|  16.8k|#line 2381 "MachineIndependent/glslang.y"
 9334|  16.8k|              {
 9335|  16.8k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  16.8k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  16.8k|#define parseContext (*pParseContext)
  ------------------
 9336|  16.8k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  16.8k|#define parseContext (*pParseContext)
  ------------------
 9337|  16.8k|        (yyval.interm.type).basicType = EbtInt64;
 9338|  16.8k|        (yyval.interm.type).setVector(4);
 9339|  16.8k|    }
 9340|  16.8k|#line 9341 "MachineIndependent/glslang_tab.cpp"
 9341|  16.8k|    break;
 9342|       |
 9343|  14.7k|  case 329: /* type_specifier_nonarray: U8VEC2  */
  ------------------
  |  Branch (9343:3): [True: 14.7k, False: 15.2M]
  ------------------
 9344|  14.7k|#line 2387 "MachineIndependent/glslang.y"
 9345|  14.7k|             {
 9346|  14.7k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  14.7k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  14.7k|#define parseContext (*pParseContext)
  ------------------
 9347|  14.7k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  14.7k|#define parseContext (*pParseContext)
  ------------------
 9348|  14.7k|        (yyval.interm.type).basicType = EbtUint8;
 9349|  14.7k|        (yyval.interm.type).setVector(2);
 9350|  14.7k|    }
 9351|  14.7k|#line 9352 "MachineIndependent/glslang_tab.cpp"
 9352|  14.7k|    break;
 9353|       |
 9354|  14.7k|  case 330: /* type_specifier_nonarray: U8VEC3  */
  ------------------
  |  Branch (9354:3): [True: 14.7k, False: 15.2M]
  ------------------
 9355|  14.7k|#line 2393 "MachineIndependent/glslang.y"
 9356|  14.7k|             {
 9357|  14.7k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  14.7k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  14.7k|#define parseContext (*pParseContext)
  ------------------
 9358|  14.7k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  14.7k|#define parseContext (*pParseContext)
  ------------------
 9359|  14.7k|        (yyval.interm.type).basicType = EbtUint8;
 9360|  14.7k|        (yyval.interm.type).setVector(3);
 9361|  14.7k|    }
 9362|  14.7k|#line 9363 "MachineIndependent/glslang_tab.cpp"
 9363|  14.7k|    break;
 9364|       |
 9365|  14.7k|  case 331: /* type_specifier_nonarray: U8VEC4  */
  ------------------
  |  Branch (9365:3): [True: 14.7k, False: 15.2M]
  ------------------
 9366|  14.7k|#line 2399 "MachineIndependent/glslang.y"
 9367|  14.7k|             {
 9368|  14.7k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  14.7k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  14.7k|#define parseContext (*pParseContext)
  ------------------
 9369|  14.7k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  14.7k|#define parseContext (*pParseContext)
  ------------------
 9370|  14.7k|        (yyval.interm.type).basicType = EbtUint8;
 9371|  14.7k|        (yyval.interm.type).setVector(4);
 9372|  14.7k|    }
 9373|  14.7k|#line 9374 "MachineIndependent/glslang_tab.cpp"
 9374|  14.7k|    break;
 9375|       |
 9376|  16.8k|  case 332: /* type_specifier_nonarray: U16VEC2  */
  ------------------
  |  Branch (9376:3): [True: 16.8k, False: 15.2M]
  ------------------
 9377|  16.8k|#line 2405 "MachineIndependent/glslang.y"
 9378|  16.8k|              {
 9379|  16.8k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  16.8k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  16.8k|#define parseContext (*pParseContext)
  ------------------
 9380|  16.8k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  16.8k|#define parseContext (*pParseContext)
  ------------------
 9381|  16.8k|        (yyval.interm.type).basicType = EbtUint16;
 9382|  16.8k|        (yyval.interm.type).setVector(2);
 9383|  16.8k|    }
 9384|  16.8k|#line 9385 "MachineIndependent/glslang_tab.cpp"
 9385|  16.8k|    break;
 9386|       |
 9387|  16.8k|  case 333: /* type_specifier_nonarray: U16VEC3  */
  ------------------
  |  Branch (9387:3): [True: 16.8k, False: 15.2M]
  ------------------
 9388|  16.8k|#line 2411 "MachineIndependent/glslang.y"
 9389|  16.8k|              {
 9390|  16.8k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  16.8k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  16.8k|#define parseContext (*pParseContext)
  ------------------
 9391|  16.8k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  16.8k|#define parseContext (*pParseContext)
  ------------------
 9392|  16.8k|        (yyval.interm.type).basicType = EbtUint16;
 9393|  16.8k|        (yyval.interm.type).setVector(3);
 9394|  16.8k|    }
 9395|  16.8k|#line 9396 "MachineIndependent/glslang_tab.cpp"
 9396|  16.8k|    break;
 9397|       |
 9398|  16.8k|  case 334: /* type_specifier_nonarray: U16VEC4  */
  ------------------
  |  Branch (9398:3): [True: 16.8k, False: 15.2M]
  ------------------
 9399|  16.8k|#line 2417 "MachineIndependent/glslang.y"
 9400|  16.8k|              {
 9401|  16.8k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  16.8k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  16.8k|#define parseContext (*pParseContext)
  ------------------
 9402|  16.8k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  16.8k|#define parseContext (*pParseContext)
  ------------------
 9403|  16.8k|        (yyval.interm.type).basicType = EbtUint16;
 9404|  16.8k|        (yyval.interm.type).setVector(4);
 9405|  16.8k|    }
 9406|  16.8k|#line 9407 "MachineIndependent/glslang_tab.cpp"
 9407|  16.8k|    break;
 9408|       |
 9409|     40|  case 335: /* type_specifier_nonarray: U32VEC2  */
  ------------------
  |  Branch (9409:3): [True: 40, False: 15.2M]
  ------------------
 9410|     40|#line 2423 "MachineIndependent/glslang.y"
 9411|     40|              {
 9412|     40|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     40|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     40|#define parseContext (*pParseContext)
  ------------------
 9413|     40|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     40|#define parseContext (*pParseContext)
  ------------------
 9414|     40|        (yyval.interm.type).basicType = EbtUint;
 9415|     40|        (yyval.interm.type).setVector(2);
 9416|     40|    }
 9417|     40|#line 9418 "MachineIndependent/glslang_tab.cpp"
 9418|     40|    break;
 9419|       |
 9420|     40|  case 336: /* type_specifier_nonarray: U32VEC3  */
  ------------------
  |  Branch (9420:3): [True: 40, False: 15.2M]
  ------------------
 9421|     40|#line 2429 "MachineIndependent/glslang.y"
 9422|     40|              {
 9423|     40|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     40|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     40|#define parseContext (*pParseContext)
  ------------------
 9424|     40|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     40|#define parseContext (*pParseContext)
  ------------------
 9425|     40|        (yyval.interm.type).basicType = EbtUint;
 9426|     40|        (yyval.interm.type).setVector(3);
 9427|     40|    }
 9428|     40|#line 9429 "MachineIndependent/glslang_tab.cpp"
 9429|     40|    break;
 9430|       |
 9431|     20|  case 337: /* type_specifier_nonarray: U32VEC4  */
  ------------------
  |  Branch (9431:3): [True: 20, False: 15.2M]
  ------------------
 9432|     20|#line 2435 "MachineIndependent/glslang.y"
 9433|     20|              {
 9434|     20|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
 9435|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     20|#define parseContext (*pParseContext)
  ------------------
 9436|     20|        (yyval.interm.type).basicType = EbtUint;
 9437|     20|        (yyval.interm.type).setVector(4);
 9438|     20|    }
 9439|     20|#line 9440 "MachineIndependent/glslang_tab.cpp"
 9440|     20|    break;
 9441|       |
 9442|  16.7k|  case 338: /* type_specifier_nonarray: U64VEC2  */
  ------------------
  |  Branch (9442:3): [True: 16.7k, False: 15.2M]
  ------------------
 9443|  16.7k|#line 2441 "MachineIndependent/glslang.y"
 9444|  16.7k|              {
 9445|  16.7k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  16.7k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  16.7k|#define parseContext (*pParseContext)
  ------------------
 9446|  16.7k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  16.7k|#define parseContext (*pParseContext)
  ------------------
 9447|  16.7k|        (yyval.interm.type).basicType = EbtUint64;
 9448|  16.7k|        (yyval.interm.type).setVector(2);
 9449|  16.7k|    }
 9450|  16.7k|#line 9451 "MachineIndependent/glslang_tab.cpp"
 9451|  16.7k|    break;
 9452|       |
 9453|  16.7k|  case 339: /* type_specifier_nonarray: U64VEC3  */
  ------------------
  |  Branch (9453:3): [True: 16.7k, False: 15.2M]
  ------------------
 9454|  16.7k|#line 2447 "MachineIndependent/glslang.y"
 9455|  16.7k|              {
 9456|  16.7k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  16.7k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  16.7k|#define parseContext (*pParseContext)
  ------------------
 9457|  16.7k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  16.7k|#define parseContext (*pParseContext)
  ------------------
 9458|  16.7k|        (yyval.interm.type).basicType = EbtUint64;
 9459|  16.7k|        (yyval.interm.type).setVector(3);
 9460|  16.7k|    }
 9461|  16.7k|#line 9462 "MachineIndependent/glslang_tab.cpp"
 9462|  16.7k|    break;
 9463|       |
 9464|  16.9k|  case 340: /* type_specifier_nonarray: U64VEC4  */
  ------------------
  |  Branch (9464:3): [True: 16.9k, False: 15.2M]
  ------------------
 9465|  16.9k|#line 2453 "MachineIndependent/glslang.y"
 9466|  16.9k|              {
 9467|  16.9k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  16.9k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  16.9k|#define parseContext (*pParseContext)
  ------------------
 9468|  16.9k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  16.9k|#define parseContext (*pParseContext)
  ------------------
 9469|  16.9k|        (yyval.interm.type).basicType = EbtUint64;
 9470|  16.9k|        (yyval.interm.type).setVector(4);
 9471|  16.9k|    }
 9472|  16.9k|#line 9473 "MachineIndependent/glslang_tab.cpp"
 9473|  16.9k|    break;
 9474|       |
 9475|     81|  case 341: /* type_specifier_nonarray: DMAT2  */
  ------------------
  |  Branch (9475:3): [True: 81, False: 15.2M]
  ------------------
 9476|     81|#line 2459 "MachineIndependent/glslang.y"
 9477|     81|            {
 9478|     81|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  781|     81|#define parseContext (*pParseContext)
  ------------------
 9479|     81|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  781|     81|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9479:13): [True: 0, False: 81]
  ------------------
 9480|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9481|     81|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     81|#define parseContext (*pParseContext)
  ------------------
 9482|     81|        (yyval.interm.type).basicType = EbtDouble;
 9483|     81|        (yyval.interm.type).setMatrix(2, 2);
 9484|     81|    }
 9485|     81|#line 9486 "MachineIndependent/glslang_tab.cpp"
 9486|     81|    break;
 9487|       |
 9488|     81|  case 342: /* type_specifier_nonarray: DMAT3  */
  ------------------
  |  Branch (9488:3): [True: 81, False: 15.2M]
  ------------------
 9489|     81|#line 2467 "MachineIndependent/glslang.y"
 9490|     81|            {
 9491|     81|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  781|     81|#define parseContext (*pParseContext)
  ------------------
 9492|     81|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  781|     81|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9492:13): [True: 0, False: 81]
  ------------------
 9493|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9494|     81|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     81|#define parseContext (*pParseContext)
  ------------------
 9495|     81|        (yyval.interm.type).basicType = EbtDouble;
 9496|     81|        (yyval.interm.type).setMatrix(3, 3);
 9497|     81|    }
 9498|     81|#line 9499 "MachineIndependent/glslang_tab.cpp"
 9499|     81|    break;
 9500|       |
 9501|     81|  case 343: /* type_specifier_nonarray: DMAT4  */
  ------------------
  |  Branch (9501:3): [True: 81, False: 15.2M]
  ------------------
 9502|     81|#line 2475 "MachineIndependent/glslang.y"
 9503|     81|            {
 9504|     81|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  781|     81|#define parseContext (*pParseContext)
  ------------------
 9505|     81|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  781|     81|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9505:13): [True: 0, False: 81]
  ------------------
 9506|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9507|     81|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     81|#define parseContext (*pParseContext)
  ------------------
 9508|     81|        (yyval.interm.type).basicType = EbtDouble;
 9509|     81|        (yyval.interm.type).setMatrix(4, 4);
 9510|     81|    }
 9511|     81|#line 9512 "MachineIndependent/glslang_tab.cpp"
 9512|     81|    break;
 9513|       |
 9514|      0|  case 344: /* type_specifier_nonarray: DMAT2X2  */
  ------------------
  |  Branch (9514:3): [True: 0, False: 15.2M]
  ------------------
 9515|      0|#line 2483 "MachineIndependent/glslang.y"
 9516|      0|              {
 9517|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9518|      0|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9518:13): [True: 0, False: 0]
  ------------------
 9519|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9520|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9521|      0|        (yyval.interm.type).basicType = EbtDouble;
 9522|      0|        (yyval.interm.type).setMatrix(2, 2);
 9523|      0|    }
 9524|      0|#line 9525 "MachineIndependent/glslang_tab.cpp"
 9525|      0|    break;
 9526|       |
 9527|     54|  case 345: /* type_specifier_nonarray: DMAT2X3  */
  ------------------
  |  Branch (9527:3): [True: 54, False: 15.2M]
  ------------------
 9528|     54|#line 2491 "MachineIndependent/glslang.y"
 9529|     54|              {
 9530|     54|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  781|     54|#define parseContext (*pParseContext)
  ------------------
 9531|     54|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  781|     54|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9531:13): [True: 0, False: 54]
  ------------------
 9532|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9533|     54|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     54|#define parseContext (*pParseContext)
  ------------------
 9534|     54|        (yyval.interm.type).basicType = EbtDouble;
 9535|     54|        (yyval.interm.type).setMatrix(2, 3);
 9536|     54|    }
 9537|     54|#line 9538 "MachineIndependent/glslang_tab.cpp"
 9538|     54|    break;
 9539|       |
 9540|     54|  case 346: /* type_specifier_nonarray: DMAT2X4  */
  ------------------
  |  Branch (9540:3): [True: 54, False: 15.2M]
  ------------------
 9541|     54|#line 2499 "MachineIndependent/glslang.y"
 9542|     54|              {
 9543|     54|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  781|     54|#define parseContext (*pParseContext)
  ------------------
 9544|     54|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  781|     54|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9544:13): [True: 0, False: 54]
  ------------------
 9545|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9546|     54|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     54|#define parseContext (*pParseContext)
  ------------------
 9547|     54|        (yyval.interm.type).basicType = EbtDouble;
 9548|     54|        (yyval.interm.type).setMatrix(2, 4);
 9549|     54|    }
 9550|     54|#line 9551 "MachineIndependent/glslang_tab.cpp"
 9551|     54|    break;
 9552|       |
 9553|     54|  case 347: /* type_specifier_nonarray: DMAT3X2  */
  ------------------
  |  Branch (9553:3): [True: 54, False: 15.2M]
  ------------------
 9554|     54|#line 2507 "MachineIndependent/glslang.y"
 9555|     54|              {
 9556|     54|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  781|     54|#define parseContext (*pParseContext)
  ------------------
 9557|     54|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  781|     54|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9557:13): [True: 0, False: 54]
  ------------------
 9558|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9559|     54|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     54|#define parseContext (*pParseContext)
  ------------------
 9560|     54|        (yyval.interm.type).basicType = EbtDouble;
 9561|     54|        (yyval.interm.type).setMatrix(3, 2);
 9562|     54|    }
 9563|     54|#line 9564 "MachineIndependent/glslang_tab.cpp"
 9564|     54|    break;
 9565|       |
 9566|      0|  case 348: /* type_specifier_nonarray: DMAT3X3  */
  ------------------
  |  Branch (9566:3): [True: 0, False: 15.2M]
  ------------------
 9567|      0|#line 2515 "MachineIndependent/glslang.y"
 9568|      0|              {
 9569|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9570|      0|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9570:13): [True: 0, False: 0]
  ------------------
 9571|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9572|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9573|      0|        (yyval.interm.type).basicType = EbtDouble;
 9574|      0|        (yyval.interm.type).setMatrix(3, 3);
 9575|      0|    }
 9576|      0|#line 9577 "MachineIndependent/glslang_tab.cpp"
 9577|      0|    break;
 9578|       |
 9579|     54|  case 349: /* type_specifier_nonarray: DMAT3X4  */
  ------------------
  |  Branch (9579:3): [True: 54, False: 15.2M]
  ------------------
 9580|     54|#line 2523 "MachineIndependent/glslang.y"
 9581|     54|              {
 9582|     54|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  781|     54|#define parseContext (*pParseContext)
  ------------------
 9583|     54|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  781|     54|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9583:13): [True: 0, False: 54]
  ------------------
 9584|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9585|     54|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     54|#define parseContext (*pParseContext)
  ------------------
 9586|     54|        (yyval.interm.type).basicType = EbtDouble;
 9587|     54|        (yyval.interm.type).setMatrix(3, 4);
 9588|     54|    }
 9589|     54|#line 9590 "MachineIndependent/glslang_tab.cpp"
 9590|     54|    break;
 9591|       |
 9592|     54|  case 350: /* type_specifier_nonarray: DMAT4X2  */
  ------------------
  |  Branch (9592:3): [True: 54, False: 15.2M]
  ------------------
 9593|     54|#line 2531 "MachineIndependent/glslang.y"
 9594|     54|              {
 9595|     54|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  781|     54|#define parseContext (*pParseContext)
  ------------------
 9596|     54|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  781|     54|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9596:13): [True: 0, False: 54]
  ------------------
 9597|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9598|     54|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     54|#define parseContext (*pParseContext)
  ------------------
 9599|     54|        (yyval.interm.type).basicType = EbtDouble;
 9600|     54|        (yyval.interm.type).setMatrix(4, 2);
 9601|     54|    }
 9602|     54|#line 9603 "MachineIndependent/glslang_tab.cpp"
 9603|     54|    break;
 9604|       |
 9605|     54|  case 351: /* type_specifier_nonarray: DMAT4X3  */
  ------------------
  |  Branch (9605:3): [True: 54, False: 15.2M]
  ------------------
 9606|     54|#line 2539 "MachineIndependent/glslang.y"
 9607|     54|              {
 9608|     54|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  781|     54|#define parseContext (*pParseContext)
  ------------------
 9609|     54|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  781|     54|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9609:13): [True: 0, False: 54]
  ------------------
 9610|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9611|     54|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     54|#define parseContext (*pParseContext)
  ------------------
 9612|     54|        (yyval.interm.type).basicType = EbtDouble;
 9613|     54|        (yyval.interm.type).setMatrix(4, 3);
 9614|     54|    }
 9615|     54|#line 9616 "MachineIndependent/glslang_tab.cpp"
 9616|     54|    break;
 9617|       |
 9618|      0|  case 352: /* type_specifier_nonarray: DMAT4X4  */
  ------------------
  |  Branch (9618:3): [True: 0, False: 15.2M]
  ------------------
 9619|      0|#line 2547 "MachineIndependent/glslang.y"
 9620|      0|              {
 9621|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9622|      0|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9622:13): [True: 0, False: 0]
  ------------------
 9623|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9624|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9625|      0|        (yyval.interm.type).basicType = EbtDouble;
 9626|      0|        (yyval.interm.type).setMatrix(4, 4);
 9627|      0|    }
 9628|      0|#line 9629 "MachineIndependent/glslang_tab.cpp"
 9629|      0|    break;
 9630|       |
 9631|     45|  case 353: /* type_specifier_nonarray: F16MAT2  */
  ------------------
  |  Branch (9631:3): [True: 45, False: 15.2M]
  ------------------
 9632|     45|#line 2555 "MachineIndependent/glslang.y"
 9633|     45|              {
 9634|     45|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     45|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     45|#define parseContext (*pParseContext)
  ------------------
 9635|     45|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     45|#define parseContext (*pParseContext)
  ------------------
 9636|     45|        (yyval.interm.type).basicType = EbtFloat16;
 9637|     45|        (yyval.interm.type).setMatrix(2, 2);
 9638|     45|    }
 9639|     45|#line 9640 "MachineIndependent/glslang_tab.cpp"
 9640|     45|    break;
 9641|       |
 9642|     45|  case 354: /* type_specifier_nonarray: F16MAT3  */
  ------------------
  |  Branch (9642:3): [True: 45, False: 15.2M]
  ------------------
 9643|     45|#line 2561 "MachineIndependent/glslang.y"
 9644|     45|              {
 9645|     45|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     45|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     45|#define parseContext (*pParseContext)
  ------------------
 9646|     45|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     45|#define parseContext (*pParseContext)
  ------------------
 9647|     45|        (yyval.interm.type).basicType = EbtFloat16;
 9648|     45|        (yyval.interm.type).setMatrix(3, 3);
 9649|     45|    }
 9650|     45|#line 9651 "MachineIndependent/glslang_tab.cpp"
 9651|     45|    break;
 9652|       |
 9653|     45|  case 355: /* type_specifier_nonarray: F16MAT4  */
  ------------------
  |  Branch (9653:3): [True: 45, False: 15.2M]
  ------------------
 9654|     45|#line 2567 "MachineIndependent/glslang.y"
 9655|     45|              {
 9656|     45|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     45|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     45|#define parseContext (*pParseContext)
  ------------------
 9657|     45|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     45|#define parseContext (*pParseContext)
  ------------------
 9658|     45|        (yyval.interm.type).basicType = EbtFloat16;
 9659|     45|        (yyval.interm.type).setMatrix(4, 4);
 9660|     45|    }
 9661|     45|#line 9662 "MachineIndependent/glslang_tab.cpp"
 9662|     45|    break;
 9663|       |
 9664|      0|  case 356: /* type_specifier_nonarray: F16MAT2X2  */
  ------------------
  |  Branch (9664:3): [True: 0, False: 15.2M]
  ------------------
 9665|      0|#line 2573 "MachineIndependent/glslang.y"
 9666|      0|                {
 9667|      0|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9668|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9669|      0|        (yyval.interm.type).basicType = EbtFloat16;
 9670|      0|        (yyval.interm.type).setMatrix(2, 2);
 9671|      0|    }
 9672|      0|#line 9673 "MachineIndependent/glslang_tab.cpp"
 9673|      0|    break;
 9674|       |
 9675|     30|  case 357: /* type_specifier_nonarray: F16MAT2X3  */
  ------------------
  |  Branch (9675:3): [True: 30, False: 15.2M]
  ------------------
 9676|     30|#line 2579 "MachineIndependent/glslang.y"
 9677|     30|                {
 9678|     30|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
 9679|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
 9680|     30|        (yyval.interm.type).basicType = EbtFloat16;
 9681|     30|        (yyval.interm.type).setMatrix(2, 3);
 9682|     30|    }
 9683|     30|#line 9684 "MachineIndependent/glslang_tab.cpp"
 9684|     30|    break;
 9685|       |
 9686|     30|  case 358: /* type_specifier_nonarray: F16MAT2X4  */
  ------------------
  |  Branch (9686:3): [True: 30, False: 15.2M]
  ------------------
 9687|     30|#line 2585 "MachineIndependent/glslang.y"
 9688|     30|                {
 9689|     30|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
 9690|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
 9691|     30|        (yyval.interm.type).basicType = EbtFloat16;
 9692|     30|        (yyval.interm.type).setMatrix(2, 4);
 9693|     30|    }
 9694|     30|#line 9695 "MachineIndependent/glslang_tab.cpp"
 9695|     30|    break;
 9696|       |
 9697|     30|  case 359: /* type_specifier_nonarray: F16MAT3X2  */
  ------------------
  |  Branch (9697:3): [True: 30, False: 15.2M]
  ------------------
 9698|     30|#line 2591 "MachineIndependent/glslang.y"
 9699|     30|                {
 9700|     30|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
 9701|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
 9702|     30|        (yyval.interm.type).basicType = EbtFloat16;
 9703|     30|        (yyval.interm.type).setMatrix(3, 2);
 9704|     30|    }
 9705|     30|#line 9706 "MachineIndependent/glslang_tab.cpp"
 9706|     30|    break;
 9707|       |
 9708|      0|  case 360: /* type_specifier_nonarray: F16MAT3X3  */
  ------------------
  |  Branch (9708:3): [True: 0, False: 15.2M]
  ------------------
 9709|      0|#line 2597 "MachineIndependent/glslang.y"
 9710|      0|                {
 9711|      0|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9712|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9713|      0|        (yyval.interm.type).basicType = EbtFloat16;
 9714|      0|        (yyval.interm.type).setMatrix(3, 3);
 9715|      0|    }
 9716|      0|#line 9717 "MachineIndependent/glslang_tab.cpp"
 9717|      0|    break;
 9718|       |
 9719|     30|  case 361: /* type_specifier_nonarray: F16MAT3X4  */
  ------------------
  |  Branch (9719:3): [True: 30, False: 15.2M]
  ------------------
 9720|     30|#line 2603 "MachineIndependent/glslang.y"
 9721|     30|                {
 9722|     30|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
 9723|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
 9724|     30|        (yyval.interm.type).basicType = EbtFloat16;
 9725|     30|        (yyval.interm.type).setMatrix(3, 4);
 9726|     30|    }
 9727|     30|#line 9728 "MachineIndependent/glslang_tab.cpp"
 9728|     30|    break;
 9729|       |
 9730|     30|  case 362: /* type_specifier_nonarray: F16MAT4X2  */
  ------------------
  |  Branch (9730:3): [True: 30, False: 15.2M]
  ------------------
 9731|     30|#line 2609 "MachineIndependent/glslang.y"
 9732|     30|                {
 9733|     30|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
 9734|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
 9735|     30|        (yyval.interm.type).basicType = EbtFloat16;
 9736|     30|        (yyval.interm.type).setMatrix(4, 2);
 9737|     30|    }
 9738|     30|#line 9739 "MachineIndependent/glslang_tab.cpp"
 9739|     30|    break;
 9740|       |
 9741|     30|  case 363: /* type_specifier_nonarray: F16MAT4X3  */
  ------------------
  |  Branch (9741:3): [True: 30, False: 15.2M]
  ------------------
 9742|     30|#line 2615 "MachineIndependent/glslang.y"
 9743|     30|                {
 9744|     30|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
 9745|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
 9746|     30|        (yyval.interm.type).basicType = EbtFloat16;
 9747|     30|        (yyval.interm.type).setMatrix(4, 3);
 9748|     30|    }
 9749|     30|#line 9750 "MachineIndependent/glslang_tab.cpp"
 9750|     30|    break;
 9751|       |
 9752|      0|  case 364: /* type_specifier_nonarray: F16MAT4X4  */
  ------------------
  |  Branch (9752:3): [True: 0, False: 15.2M]
  ------------------
 9753|      0|#line 2621 "MachineIndependent/glslang.y"
 9754|      0|                {
 9755|      0|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9756|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9757|      0|        (yyval.interm.type).basicType = EbtFloat16;
 9758|      0|        (yyval.interm.type).setMatrix(4, 4);
 9759|      0|    }
 9760|      0|#line 9761 "MachineIndependent/glslang_tab.cpp"
 9761|      0|    break;
 9762|       |
 9763|      0|  case 365: /* type_specifier_nonarray: F32MAT2  */
  ------------------
  |  Branch (9763:3): [True: 0, False: 15.2M]
  ------------------
 9764|      0|#line 2627 "MachineIndependent/glslang.y"
 9765|      0|              {
 9766|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9767|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9768|      0|        (yyval.interm.type).basicType = EbtFloat;
 9769|      0|        (yyval.interm.type).setMatrix(2, 2);
 9770|      0|    }
 9771|      0|#line 9772 "MachineIndependent/glslang_tab.cpp"
 9772|      0|    break;
 9773|       |
 9774|      0|  case 366: /* type_specifier_nonarray: F32MAT3  */
  ------------------
  |  Branch (9774:3): [True: 0, False: 15.2M]
  ------------------
 9775|      0|#line 2633 "MachineIndependent/glslang.y"
 9776|      0|              {
 9777|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9778|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9779|      0|        (yyval.interm.type).basicType = EbtFloat;
 9780|      0|        (yyval.interm.type).setMatrix(3, 3);
 9781|      0|    }
 9782|      0|#line 9783 "MachineIndependent/glslang_tab.cpp"
 9783|      0|    break;
 9784|       |
 9785|      0|  case 367: /* type_specifier_nonarray: F32MAT4  */
  ------------------
  |  Branch (9785:3): [True: 0, False: 15.2M]
  ------------------
 9786|      0|#line 2639 "MachineIndependent/glslang.y"
 9787|      0|              {
 9788|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9789|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9790|      0|        (yyval.interm.type).basicType = EbtFloat;
 9791|      0|        (yyval.interm.type).setMatrix(4, 4);
 9792|      0|    }
 9793|      0|#line 9794 "MachineIndependent/glslang_tab.cpp"
 9794|      0|    break;
 9795|       |
 9796|      0|  case 368: /* type_specifier_nonarray: F32MAT2X2  */
  ------------------
  |  Branch (9796:3): [True: 0, False: 15.2M]
  ------------------
 9797|      0|#line 2645 "MachineIndependent/glslang.y"
 9798|      0|                {
 9799|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9800|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9801|      0|        (yyval.interm.type).basicType = EbtFloat;
 9802|      0|        (yyval.interm.type).setMatrix(2, 2);
 9803|      0|    }
 9804|      0|#line 9805 "MachineIndependent/glslang_tab.cpp"
 9805|      0|    break;
 9806|       |
 9807|      0|  case 369: /* type_specifier_nonarray: F32MAT2X3  */
  ------------------
  |  Branch (9807:3): [True: 0, False: 15.2M]
  ------------------
 9808|      0|#line 2651 "MachineIndependent/glslang.y"
 9809|      0|                {
 9810|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9811|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9812|      0|        (yyval.interm.type).basicType = EbtFloat;
 9813|      0|        (yyval.interm.type).setMatrix(2, 3);
 9814|      0|    }
 9815|      0|#line 9816 "MachineIndependent/glslang_tab.cpp"
 9816|      0|    break;
 9817|       |
 9818|      0|  case 370: /* type_specifier_nonarray: F32MAT2X4  */
  ------------------
  |  Branch (9818:3): [True: 0, False: 15.2M]
  ------------------
 9819|      0|#line 2657 "MachineIndependent/glslang.y"
 9820|      0|                {
 9821|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9822|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9823|      0|        (yyval.interm.type).basicType = EbtFloat;
 9824|      0|        (yyval.interm.type).setMatrix(2, 4);
 9825|      0|    }
 9826|      0|#line 9827 "MachineIndependent/glslang_tab.cpp"
 9827|      0|    break;
 9828|       |
 9829|      0|  case 371: /* type_specifier_nonarray: F32MAT3X2  */
  ------------------
  |  Branch (9829:3): [True: 0, False: 15.2M]
  ------------------
 9830|      0|#line 2663 "MachineIndependent/glslang.y"
 9831|      0|                {
 9832|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9833|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9834|      0|        (yyval.interm.type).basicType = EbtFloat;
 9835|      0|        (yyval.interm.type).setMatrix(3, 2);
 9836|      0|    }
 9837|      0|#line 9838 "MachineIndependent/glslang_tab.cpp"
 9838|      0|    break;
 9839|       |
 9840|      0|  case 372: /* type_specifier_nonarray: F32MAT3X3  */
  ------------------
  |  Branch (9840:3): [True: 0, False: 15.2M]
  ------------------
 9841|      0|#line 2669 "MachineIndependent/glslang.y"
 9842|      0|                {
 9843|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9844|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9845|      0|        (yyval.interm.type).basicType = EbtFloat;
 9846|      0|        (yyval.interm.type).setMatrix(3, 3);
 9847|      0|    }
 9848|      0|#line 9849 "MachineIndependent/glslang_tab.cpp"
 9849|      0|    break;
 9850|       |
 9851|      0|  case 373: /* type_specifier_nonarray: F32MAT3X4  */
  ------------------
  |  Branch (9851:3): [True: 0, False: 15.2M]
  ------------------
 9852|      0|#line 2675 "MachineIndependent/glslang.y"
 9853|      0|                {
 9854|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9855|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9856|      0|        (yyval.interm.type).basicType = EbtFloat;
 9857|      0|        (yyval.interm.type).setMatrix(3, 4);
 9858|      0|    }
 9859|      0|#line 9860 "MachineIndependent/glslang_tab.cpp"
 9860|      0|    break;
 9861|       |
 9862|      0|  case 374: /* type_specifier_nonarray: F32MAT4X2  */
  ------------------
  |  Branch (9862:3): [True: 0, False: 15.2M]
  ------------------
 9863|      0|#line 2681 "MachineIndependent/glslang.y"
 9864|      0|                {
 9865|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9866|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9867|      0|        (yyval.interm.type).basicType = EbtFloat;
 9868|      0|        (yyval.interm.type).setMatrix(4, 2);
 9869|      0|    }
 9870|      0|#line 9871 "MachineIndependent/glslang_tab.cpp"
 9871|      0|    break;
 9872|       |
 9873|      0|  case 375: /* type_specifier_nonarray: F32MAT4X3  */
  ------------------
  |  Branch (9873:3): [True: 0, False: 15.2M]
  ------------------
 9874|      0|#line 2687 "MachineIndependent/glslang.y"
 9875|      0|                {
 9876|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9877|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9878|      0|        (yyval.interm.type).basicType = EbtFloat;
 9879|      0|        (yyval.interm.type).setMatrix(4, 3);
 9880|      0|    }
 9881|      0|#line 9882 "MachineIndependent/glslang_tab.cpp"
 9882|      0|    break;
 9883|       |
 9884|      0|  case 376: /* type_specifier_nonarray: F32MAT4X4  */
  ------------------
  |  Branch (9884:3): [True: 0, False: 15.2M]
  ------------------
 9885|      0|#line 2693 "MachineIndependent/glslang.y"
 9886|      0|                {
 9887|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9888|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9889|      0|        (yyval.interm.type).basicType = EbtFloat;
 9890|      0|        (yyval.interm.type).setMatrix(4, 4);
 9891|      0|    }
 9892|      0|#line 9893 "MachineIndependent/glslang_tab.cpp"
 9893|      0|    break;
 9894|       |
 9895|      0|  case 377: /* type_specifier_nonarray: F64MAT2  */
  ------------------
  |  Branch (9895:3): [True: 0, False: 15.2M]
  ------------------
 9896|      0|#line 2699 "MachineIndependent/glslang.y"
 9897|      0|              {
 9898|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9899|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9900|      0|        (yyval.interm.type).basicType = EbtDouble;
 9901|      0|        (yyval.interm.type).setMatrix(2, 2);
 9902|      0|    }
 9903|      0|#line 9904 "MachineIndependent/glslang_tab.cpp"
 9904|      0|    break;
 9905|       |
 9906|      0|  case 378: /* type_specifier_nonarray: F64MAT3  */
  ------------------
  |  Branch (9906:3): [True: 0, False: 15.2M]
  ------------------
 9907|      0|#line 2705 "MachineIndependent/glslang.y"
 9908|      0|              {
 9909|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9910|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9911|      0|        (yyval.interm.type).basicType = EbtDouble;
 9912|      0|        (yyval.interm.type).setMatrix(3, 3);
 9913|      0|    }
 9914|      0|#line 9915 "MachineIndependent/glslang_tab.cpp"
 9915|      0|    break;
 9916|       |
 9917|      0|  case 379: /* type_specifier_nonarray: F64MAT4  */
  ------------------
  |  Branch (9917:3): [True: 0, False: 15.2M]
  ------------------
 9918|      0|#line 2711 "MachineIndependent/glslang.y"
 9919|      0|              {
 9920|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9921|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9922|      0|        (yyval.interm.type).basicType = EbtDouble;
 9923|      0|        (yyval.interm.type).setMatrix(4, 4);
 9924|      0|    }
 9925|      0|#line 9926 "MachineIndependent/glslang_tab.cpp"
 9926|      0|    break;
 9927|       |
 9928|      0|  case 380: /* type_specifier_nonarray: F64MAT2X2  */
  ------------------
  |  Branch (9928:3): [True: 0, False: 15.2M]
  ------------------
 9929|      0|#line 2717 "MachineIndependent/glslang.y"
 9930|      0|                {
 9931|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9932|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9933|      0|        (yyval.interm.type).basicType = EbtDouble;
 9934|      0|        (yyval.interm.type).setMatrix(2, 2);
 9935|      0|    }
 9936|      0|#line 9937 "MachineIndependent/glslang_tab.cpp"
 9937|      0|    break;
 9938|       |
 9939|      0|  case 381: /* type_specifier_nonarray: F64MAT2X3  */
  ------------------
  |  Branch (9939:3): [True: 0, False: 15.2M]
  ------------------
 9940|      0|#line 2723 "MachineIndependent/glslang.y"
 9941|      0|                {
 9942|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9943|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9944|      0|        (yyval.interm.type).basicType = EbtDouble;
 9945|      0|        (yyval.interm.type).setMatrix(2, 3);
 9946|      0|    }
 9947|      0|#line 9948 "MachineIndependent/glslang_tab.cpp"
 9948|      0|    break;
 9949|       |
 9950|      0|  case 382: /* type_specifier_nonarray: F64MAT2X4  */
  ------------------
  |  Branch (9950:3): [True: 0, False: 15.2M]
  ------------------
 9951|      0|#line 2729 "MachineIndependent/glslang.y"
 9952|      0|                {
 9953|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9954|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9955|      0|        (yyval.interm.type).basicType = EbtDouble;
 9956|      0|        (yyval.interm.type).setMatrix(2, 4);
 9957|      0|    }
 9958|      0|#line 9959 "MachineIndependent/glslang_tab.cpp"
 9959|      0|    break;
 9960|       |
 9961|      0|  case 383: /* type_specifier_nonarray: F64MAT3X2  */
  ------------------
  |  Branch (9961:3): [True: 0, False: 15.2M]
  ------------------
 9962|      0|#line 2735 "MachineIndependent/glslang.y"
 9963|      0|                {
 9964|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9965|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9966|      0|        (yyval.interm.type).basicType = EbtDouble;
 9967|      0|        (yyval.interm.type).setMatrix(3, 2);
 9968|      0|    }
 9969|      0|#line 9970 "MachineIndependent/glslang_tab.cpp"
 9970|      0|    break;
 9971|       |
 9972|      0|  case 384: /* type_specifier_nonarray: F64MAT3X3  */
  ------------------
  |  Branch (9972:3): [True: 0, False: 15.2M]
  ------------------
 9973|      0|#line 2741 "MachineIndependent/glslang.y"
 9974|      0|                {
 9975|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9976|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9977|      0|        (yyval.interm.type).basicType = EbtDouble;
 9978|      0|        (yyval.interm.type).setMatrix(3, 3);
 9979|      0|    }
 9980|      0|#line 9981 "MachineIndependent/glslang_tab.cpp"
 9981|      0|    break;
 9982|       |
 9983|      0|  case 385: /* type_specifier_nonarray: F64MAT3X4  */
  ------------------
  |  Branch (9983:3): [True: 0, False: 15.2M]
  ------------------
 9984|      0|#line 2747 "MachineIndependent/glslang.y"
 9985|      0|                {
 9986|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9987|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9988|      0|        (yyval.interm.type).basicType = EbtDouble;
 9989|      0|        (yyval.interm.type).setMatrix(3, 4);
 9990|      0|    }
 9991|      0|#line 9992 "MachineIndependent/glslang_tab.cpp"
 9992|      0|    break;
 9993|       |
 9994|      0|  case 386: /* type_specifier_nonarray: F64MAT4X2  */
  ------------------
  |  Branch (9994:3): [True: 0, False: 15.2M]
  ------------------
 9995|      0|#line 2753 "MachineIndependent/glslang.y"
 9996|      0|                {
 9997|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9998|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
 9999|      0|        (yyval.interm.type).basicType = EbtDouble;
10000|      0|        (yyval.interm.type).setMatrix(4, 2);
10001|      0|    }
10002|      0|#line 10003 "MachineIndependent/glslang_tab.cpp"
10003|      0|    break;
10004|       |
10005|      0|  case 387: /* type_specifier_nonarray: F64MAT4X3  */
  ------------------
  |  Branch (10005:3): [True: 0, False: 15.2M]
  ------------------
10006|      0|#line 2759 "MachineIndependent/glslang.y"
10007|      0|                {
10008|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
10009|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
10010|      0|        (yyval.interm.type).basicType = EbtDouble;
10011|      0|        (yyval.interm.type).setMatrix(4, 3);
10012|      0|    }
10013|      0|#line 10014 "MachineIndependent/glslang_tab.cpp"
10014|      0|    break;
10015|       |
10016|      0|  case 388: /* type_specifier_nonarray: F64MAT4X4  */
  ------------------
  |  Branch (10016:3): [True: 0, False: 15.2M]
  ------------------
10017|      0|#line 2765 "MachineIndependent/glslang.y"
10018|      0|                {
10019|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
10020|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
10021|      0|        (yyval.interm.type).basicType = EbtDouble;
10022|      0|        (yyval.interm.type).setMatrix(4, 4);
10023|      0|    }
10024|      0|#line 10025 "MachineIndependent/glslang_tab.cpp"
10025|      0|    break;
10026|       |
10027|      6|  case 389: /* type_specifier_nonarray: ACCSTRUCTNV  */
  ------------------
  |  Branch (10027:3): [True: 6, False: 15.2M]
  ------------------
10028|      6|#line 2771 "MachineIndependent/glslang.y"
10029|      6|                  {
10030|      6|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      6|#define parseContext (*pParseContext)
  ------------------
10031|      6|       (yyval.interm.type).basicType = EbtAccStruct;
10032|      6|    }
10033|      6|#line 10034 "MachineIndependent/glslang_tab.cpp"
10034|      6|    break;
10035|       |
10036|     37|  case 390: /* type_specifier_nonarray: ACCSTRUCTEXT  */
  ------------------
  |  Branch (10036:3): [True: 37, False: 15.2M]
  ------------------
10037|     37|#line 2775 "MachineIndependent/glslang.y"
10038|     37|                   {
10039|     37|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     37|#define parseContext (*pParseContext)
  ------------------
10040|     37|       (yyval.interm.type).basicType = EbtAccStruct;
10041|     37|    }
10042|     37|#line 10043 "MachineIndependent/glslang_tab.cpp"
10043|     37|    break;
10044|       |
10045|      6|  case 391: /* type_specifier_nonarray: RAYQUERYEXT  */
  ------------------
  |  Branch (10045:3): [True: 6, False: 15.2M]
  ------------------
10046|      6|#line 2779 "MachineIndependent/glslang.y"
10047|      6|                  {
10048|      6|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      6|#define parseContext (*pParseContext)
  ------------------
10049|      6|       (yyval.interm.type).basicType = EbtRayQuery;
10050|      6|    }
10051|      6|#line 10052 "MachineIndependent/glslang_tab.cpp"
10052|      6|    break;
10053|       |
10054|      0|  case 392: /* type_specifier_nonarray: ATOMIC_UINT  */
  ------------------
  |  Branch (10054:3): [True: 0, False: 15.2M]
  ------------------
10055|      0|#line 2783 "MachineIndependent/glslang.y"
10056|      0|                  {
10057|      0|        parseContext.vulkanRemoved((yyvsp[0].lex).loc, "atomic counter types");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
10058|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
10059|      0|        (yyval.interm.type).basicType = EbtAtomicUint;
10060|      0|    }
10061|      0|#line 10062 "MachineIndependent/glslang_tab.cpp"
10062|      0|    break;
10063|       |
10064|  4.40k|  case 393: /* type_specifier_nonarray: SAMPLER1D  */
  ------------------
  |  Branch (10064:3): [True: 4.40k, False: 15.2M]
  ------------------
10065|  4.40k|#line 2788 "MachineIndependent/glslang.y"
10066|  4.40k|                {
10067|  4.40k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  4.40k|#define parseContext (*pParseContext)
  ------------------
10068|  4.40k|        (yyval.interm.type).basicType = EbtSampler;
10069|  4.40k|        (yyval.interm.type).sampler.set(EbtFloat, Esd1D);
10070|  4.40k|    }
10071|  4.40k|#line 10072 "MachineIndependent/glslang_tab.cpp"
10072|  4.40k|    break;
10073|       |
10074|  7.41k|  case 394: /* type_specifier_nonarray: SAMPLER2D  */
  ------------------
  |  Branch (10074:3): [True: 7.41k, False: 15.2M]
  ------------------
10075|  7.41k|#line 2793 "MachineIndependent/glslang.y"
10076|  7.41k|                {
10077|  7.41k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  7.41k|#define parseContext (*pParseContext)
  ------------------
10078|  7.41k|        (yyval.interm.type).basicType = EbtSampler;
10079|  7.41k|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D);
10080|  7.41k|    }
10081|  7.41k|#line 10082 "MachineIndependent/glslang_tab.cpp"
10082|  7.41k|    break;
10083|       |
10084|  3.31k|  case 395: /* type_specifier_nonarray: SAMPLER3D  */
  ------------------
  |  Branch (10084:3): [True: 3.31k, False: 15.2M]
  ------------------
10085|  3.31k|#line 2798 "MachineIndependent/glslang.y"
10086|  3.31k|                {
10087|  3.31k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  3.31k|#define parseContext (*pParseContext)
  ------------------
10088|  3.31k|        (yyval.interm.type).basicType = EbtSampler;
10089|  3.31k|        (yyval.interm.type).sampler.set(EbtFloat, Esd3D);
10090|  3.31k|    }
10091|  3.31k|#line 10092 "MachineIndependent/glslang_tab.cpp"
10092|  3.31k|    break;
10093|       |
10094|  1.19k|  case 396: /* type_specifier_nonarray: SAMPLERCUBE  */
  ------------------
  |  Branch (10094:3): [True: 1.19k, False: 15.2M]
  ------------------
10095|  1.19k|#line 2803 "MachineIndependent/glslang.y"
10096|  1.19k|                  {
10097|  1.19k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  1.19k|#define parseContext (*pParseContext)
  ------------------
10098|  1.19k|        (yyval.interm.type).basicType = EbtSampler;
10099|  1.19k|        (yyval.interm.type).sampler.set(EbtFloat, EsdCube);
10100|  1.19k|    }
10101|  1.19k|#line 10102 "MachineIndependent/glslang_tab.cpp"
10102|  1.19k|    break;
10103|       |
10104|  2.81k|  case 397: /* type_specifier_nonarray: SAMPLER2DSHADOW  */
  ------------------
  |  Branch (10104:3): [True: 2.81k, False: 15.2M]
  ------------------
10105|  2.81k|#line 2808 "MachineIndependent/glslang.y"
10106|  2.81k|                      {
10107|  2.81k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  2.81k|#define parseContext (*pParseContext)
  ------------------
10108|  2.81k|        (yyval.interm.type).basicType = EbtSampler;
10109|  2.81k|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, false, true);
10110|  2.81k|    }
10111|  2.81k|#line 10112 "MachineIndependent/glslang_tab.cpp"
10112|  2.81k|    break;
10113|       |
10114|    970|  case 398: /* type_specifier_nonarray: SAMPLERCUBESHADOW  */
  ------------------
  |  Branch (10114:3): [True: 970, False: 15.2M]
  ------------------
10115|    970|#line 2813 "MachineIndependent/glslang.y"
10116|    970|                        {
10117|    970|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    970|#define parseContext (*pParseContext)
  ------------------
10118|    970|        (yyval.interm.type).basicType = EbtSampler;
10119|    970|        (yyval.interm.type).sampler.set(EbtFloat, EsdCube, false, true);
10120|    970|    }
10121|    970|#line 10122 "MachineIndependent/glslang_tab.cpp"
10122|    970|    break;
10123|       |
10124|  3.11k|  case 399: /* type_specifier_nonarray: SAMPLER2DARRAY  */
  ------------------
  |  Branch (10124:3): [True: 3.11k, False: 15.2M]
  ------------------
10125|  3.11k|#line 2818 "MachineIndependent/glslang.y"
10126|  3.11k|                     {
10127|  3.11k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  3.11k|#define parseContext (*pParseContext)
  ------------------
10128|  3.11k|        (yyval.interm.type).basicType = EbtSampler;
10129|  3.11k|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, true);
10130|  3.11k|    }
10131|  3.11k|#line 10132 "MachineIndependent/glslang_tab.cpp"
10132|  3.11k|    break;
10133|       |
10134|  1.65k|  case 400: /* type_specifier_nonarray: SAMPLER2DARRAYSHADOW  */
  ------------------
  |  Branch (10134:3): [True: 1.65k, False: 15.2M]
  ------------------
10135|  1.65k|#line 2823 "MachineIndependent/glslang.y"
10136|  1.65k|                           {
10137|  1.65k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  1.65k|#define parseContext (*pParseContext)
  ------------------
10138|  1.65k|        (yyval.interm.type).basicType = EbtSampler;
10139|  1.65k|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, true, true);
10140|  1.65k|    }
10141|  1.65k|#line 10142 "MachineIndependent/glslang_tab.cpp"
10142|  1.65k|    break;
10143|       |
10144|  2.27k|  case 401: /* type_specifier_nonarray: SAMPLER1DSHADOW  */
  ------------------
  |  Branch (10144:3): [True: 2.27k, False: 15.2M]
  ------------------
10145|  2.27k|#line 2828 "MachineIndependent/glslang.y"
10146|  2.27k|                      {
10147|  2.27k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  2.27k|#define parseContext (*pParseContext)
  ------------------
10148|  2.27k|        (yyval.interm.type).basicType = EbtSampler;
10149|  2.27k|        (yyval.interm.type).sampler.set(EbtFloat, Esd1D, false, true);
10150|  2.27k|    }
10151|  2.27k|#line 10152 "MachineIndependent/glslang_tab.cpp"
10152|  2.27k|    break;
10153|       |
10154|  1.88k|  case 402: /* type_specifier_nonarray: SAMPLER1DARRAY  */
  ------------------
  |  Branch (10154:3): [True: 1.88k, False: 15.2M]
  ------------------
10155|  1.88k|#line 2833 "MachineIndependent/glslang.y"
10156|  1.88k|                     {
10157|  1.88k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  1.88k|#define parseContext (*pParseContext)
  ------------------
10158|  1.88k|        (yyval.interm.type).basicType = EbtSampler;
10159|  1.88k|        (yyval.interm.type).sampler.set(EbtFloat, Esd1D, true);
10160|  1.88k|    }
10161|  1.88k|#line 10162 "MachineIndependent/glslang_tab.cpp"
10162|  1.88k|    break;
10163|       |
10164|  1.30k|  case 403: /* type_specifier_nonarray: SAMPLER1DARRAYSHADOW  */
  ------------------
  |  Branch (10164:3): [True: 1.30k, False: 15.2M]
  ------------------
10165|  1.30k|#line 2838 "MachineIndependent/glslang.y"
10166|  1.30k|                           {
10167|  1.30k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  1.30k|#define parseContext (*pParseContext)
  ------------------
10168|  1.30k|        (yyval.interm.type).basicType = EbtSampler;
10169|  1.30k|        (yyval.interm.type).sampler.set(EbtFloat, Esd1D, true, true);
10170|  1.30k|    }
10171|  1.30k|#line 10172 "MachineIndependent/glslang_tab.cpp"
10172|  1.30k|    break;
10173|       |
10174|  1.19k|  case 404: /* type_specifier_nonarray: SAMPLERCUBEARRAY  */
  ------------------
  |  Branch (10174:3): [True: 1.19k, False: 15.2M]
  ------------------
10175|  1.19k|#line 2843 "MachineIndependent/glslang.y"
10176|  1.19k|                       {
10177|  1.19k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  1.19k|#define parseContext (*pParseContext)
  ------------------
10178|  1.19k|        (yyval.interm.type).basicType = EbtSampler;
10179|  1.19k|        (yyval.interm.type).sampler.set(EbtFloat, EsdCube, true);
10180|  1.19k|    }
10181|  1.19k|#line 10182 "MachineIndependent/glslang_tab.cpp"
10182|  1.19k|    break;
10183|       |
10184|    877|  case 405: /* type_specifier_nonarray: SAMPLERCUBEARRAYSHADOW  */
  ------------------
  |  Branch (10184:3): [True: 877, False: 15.2M]
  ------------------
10185|    877|#line 2848 "MachineIndependent/glslang.y"
10186|    877|                             {
10187|    877|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    877|#define parseContext (*pParseContext)
  ------------------
10188|    877|        (yyval.interm.type).basicType = EbtSampler;
10189|    877|        (yyval.interm.type).sampler.set(EbtFloat, EsdCube, true, true);
10190|    877|    }
10191|    877|#line 10192 "MachineIndependent/glslang_tab.cpp"
10192|    877|    break;
10193|       |
10194|    896|  case 406: /* type_specifier_nonarray: F16SAMPLER1D  */
  ------------------
  |  Branch (10194:3): [True: 896, False: 15.2M]
  ------------------
10195|    896|#line 2853 "MachineIndependent/glslang.y"
10196|    896|                   {
10197|    896|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    896|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    896|#define parseContext (*pParseContext)
  ------------------
10198|    896|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    896|#define parseContext (*pParseContext)
  ------------------
10199|    896|        (yyval.interm.type).basicType = EbtSampler;
10200|    896|        (yyval.interm.type).sampler.set(EbtFloat16, Esd1D);
10201|    896|    }
10202|    896|#line 10203 "MachineIndependent/glslang_tab.cpp"
10203|    896|    break;
10204|       |
10205|  2.03k|  case 407: /* type_specifier_nonarray: F16SAMPLER2D  */
  ------------------
  |  Branch (10205:3): [True: 2.03k, False: 15.2M]
  ------------------
10206|  2.03k|#line 2859 "MachineIndependent/glslang.y"
10207|  2.03k|                   {
10208|  2.03k|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  2.03k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  2.03k|#define parseContext (*pParseContext)
  ------------------
10209|  2.03k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  2.03k|#define parseContext (*pParseContext)
  ------------------
10210|  2.03k|        (yyval.interm.type).basicType = EbtSampler;
10211|  2.03k|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D);
10212|  2.03k|    }
10213|  2.03k|#line 10214 "MachineIndependent/glslang_tab.cpp"
10214|  2.03k|    break;
10215|       |
10216|  1.11k|  case 408: /* type_specifier_nonarray: F16SAMPLER3D  */
  ------------------
  |  Branch (10216:3): [True: 1.11k, False: 15.2M]
  ------------------
10217|  1.11k|#line 2865 "MachineIndependent/glslang.y"
10218|  1.11k|                   {
10219|  1.11k|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  1.11k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  1.11k|#define parseContext (*pParseContext)
  ------------------
10220|  1.11k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  1.11k|#define parseContext (*pParseContext)
  ------------------
10221|  1.11k|        (yyval.interm.type).basicType = EbtSampler;
10222|  1.11k|        (yyval.interm.type).sampler.set(EbtFloat16, Esd3D);
10223|  1.11k|    }
10224|  1.11k|#line 10225 "MachineIndependent/glslang_tab.cpp"
10225|  1.11k|    break;
10226|       |
10227|    728|  case 409: /* type_specifier_nonarray: F16SAMPLERCUBE  */
  ------------------
  |  Branch (10227:3): [True: 728, False: 15.2M]
  ------------------
10228|    728|#line 2871 "MachineIndependent/glslang.y"
10229|    728|                     {
10230|    728|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    728|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    728|#define parseContext (*pParseContext)
  ------------------
10231|    728|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    728|#define parseContext (*pParseContext)
  ------------------
10232|    728|        (yyval.interm.type).basicType = EbtSampler;
10233|    728|        (yyval.interm.type).sampler.set(EbtFloat16, EsdCube);
10234|    728|    }
10235|    728|#line 10236 "MachineIndependent/glslang_tab.cpp"
10236|    728|    break;
10237|       |
10238|    640|  case 410: /* type_specifier_nonarray: F16SAMPLER1DSHADOW  */
  ------------------
  |  Branch (10238:3): [True: 640, False: 15.2M]
  ------------------
10239|    640|#line 2877 "MachineIndependent/glslang.y"
10240|    640|                         {
10241|    640|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    640|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    640|#define parseContext (*pParseContext)
  ------------------
10242|    640|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    640|#define parseContext (*pParseContext)
  ------------------
10243|    640|        (yyval.interm.type).basicType = EbtSampler;
10244|    640|        (yyval.interm.type).sampler.set(EbtFloat16, Esd1D, false, true);
10245|    640|    }
10246|    640|#line 10247 "MachineIndependent/glslang_tab.cpp"
10247|    640|    break;
10248|       |
10249|  1.06k|  case 411: /* type_specifier_nonarray: F16SAMPLER2DSHADOW  */
  ------------------
  |  Branch (10249:3): [True: 1.06k, False: 15.2M]
  ------------------
10250|  1.06k|#line 2883 "MachineIndependent/glslang.y"
10251|  1.06k|                         {
10252|  1.06k|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  1.06k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  1.06k|#define parseContext (*pParseContext)
  ------------------
10253|  1.06k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  1.06k|#define parseContext (*pParseContext)
  ------------------
10254|  1.06k|        (yyval.interm.type).basicType = EbtSampler;
10255|  1.06k|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, false, true);
10256|  1.06k|    }
10257|  1.06k|#line 10258 "MachineIndependent/glslang_tab.cpp"
10258|  1.06k|    break;
10259|       |
10260|    484|  case 412: /* type_specifier_nonarray: F16SAMPLERCUBESHADOW  */
  ------------------
  |  Branch (10260:3): [True: 484, False: 15.2M]
  ------------------
10261|    484|#line 2889 "MachineIndependent/glslang.y"
10262|    484|                           {
10263|    484|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    484|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    484|#define parseContext (*pParseContext)
  ------------------
10264|    484|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    484|#define parseContext (*pParseContext)
  ------------------
10265|    484|        (yyval.interm.type).basicType = EbtSampler;
10266|    484|        (yyval.interm.type).sampler.set(EbtFloat16, EsdCube, false, true);
10267|    484|    }
10268|    484|#line 10269 "MachineIndependent/glslang_tab.cpp"
10269|    484|    break;
10270|       |
10271|    524|  case 413: /* type_specifier_nonarray: F16SAMPLER1DARRAY  */
  ------------------
  |  Branch (10271:3): [True: 524, False: 15.2M]
  ------------------
10272|    524|#line 2895 "MachineIndependent/glslang.y"
10273|    524|                        {
10274|    524|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    524|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    524|#define parseContext (*pParseContext)
  ------------------
10275|    524|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    524|#define parseContext (*pParseContext)
  ------------------
10276|    524|        (yyval.interm.type).basicType = EbtSampler;
10277|    524|        (yyval.interm.type).sampler.set(EbtFloat16, Esd1D, true);
10278|    524|    }
10279|    524|#line 10280 "MachineIndependent/glslang_tab.cpp"
10280|    524|    break;
10281|       |
10282|  1.66k|  case 414: /* type_specifier_nonarray: F16SAMPLER2DARRAY  */
  ------------------
  |  Branch (10282:3): [True: 1.66k, False: 15.2M]
  ------------------
10283|  1.66k|#line 2901 "MachineIndependent/glslang.y"
10284|  1.66k|                        {
10285|  1.66k|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  1.66k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  1.66k|#define parseContext (*pParseContext)
  ------------------
10286|  1.66k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  1.66k|#define parseContext (*pParseContext)
  ------------------
10287|  1.66k|        (yyval.interm.type).basicType = EbtSampler;
10288|  1.66k|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, true);
10289|  1.66k|    }
10290|  1.66k|#line 10291 "MachineIndependent/glslang_tab.cpp"
10291|  1.66k|    break;
10292|       |
10293|    484|  case 415: /* type_specifier_nonarray: F16SAMPLER1DARRAYSHADOW  */
  ------------------
  |  Branch (10293:3): [True: 484, False: 15.2M]
  ------------------
10294|    484|#line 2907 "MachineIndependent/glslang.y"
10295|    484|                              {
10296|    484|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    484|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    484|#define parseContext (*pParseContext)
  ------------------
10297|    484|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    484|#define parseContext (*pParseContext)
  ------------------
10298|    484|        (yyval.interm.type).basicType = EbtSampler;
10299|    484|        (yyval.interm.type).sampler.set(EbtFloat16, Esd1D, true, true);
10300|    484|    }
10301|    484|#line 10302 "MachineIndependent/glslang_tab.cpp"
10302|    484|    break;
10303|       |
10304|    488|  case 416: /* type_specifier_nonarray: F16SAMPLER2DARRAYSHADOW  */
  ------------------
  |  Branch (10304:3): [True: 488, False: 15.2M]
  ------------------
10305|    488|#line 2913 "MachineIndependent/glslang.y"
10306|    488|                              {
10307|    488|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    488|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    488|#define parseContext (*pParseContext)
  ------------------
10308|    488|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    488|#define parseContext (*pParseContext)
  ------------------
10309|    488|        (yyval.interm.type).basicType = EbtSampler;
10310|    488|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, true, true);
10311|    488|    }
10312|    488|#line 10313 "MachineIndependent/glslang_tab.cpp"
10313|    488|    break;
10314|       |
10315|    728|  case 417: /* type_specifier_nonarray: F16SAMPLERCUBEARRAY  */
  ------------------
  |  Branch (10315:3): [True: 728, False: 15.2M]
  ------------------
10316|    728|#line 2919 "MachineIndependent/glslang.y"
10317|    728|                          {
10318|    728|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    728|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    728|#define parseContext (*pParseContext)
  ------------------
10319|    728|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    728|#define parseContext (*pParseContext)
  ------------------
10320|    728|        (yyval.interm.type).basicType = EbtSampler;
10321|    728|        (yyval.interm.type).sampler.set(EbtFloat16, EsdCube, true);
10322|    728|    }
10323|    728|#line 10324 "MachineIndependent/glslang_tab.cpp"
10324|    728|    break;
10325|       |
10326|    292|  case 418: /* type_specifier_nonarray: F16SAMPLERCUBEARRAYSHADOW  */
  ------------------
  |  Branch (10326:3): [True: 292, False: 15.2M]
  ------------------
10327|    292|#line 2925 "MachineIndependent/glslang.y"
10328|    292|                                {
10329|    292|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    292|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    292|#define parseContext (*pParseContext)
  ------------------
10330|    292|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    292|#define parseContext (*pParseContext)
  ------------------
10331|    292|        (yyval.interm.type).basicType = EbtSampler;
10332|    292|        (yyval.interm.type).sampler.set(EbtFloat16, EsdCube, true, true);
10333|    292|    }
10334|    292|#line 10335 "MachineIndependent/glslang_tab.cpp"
10335|    292|    break;
10336|       |
10337|  4.39k|  case 419: /* type_specifier_nonarray: ISAMPLER1D  */
  ------------------
  |  Branch (10337:3): [True: 4.39k, False: 15.2M]
  ------------------
10338|  4.39k|#line 2931 "MachineIndependent/glslang.y"
10339|  4.39k|                 {
10340|  4.39k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  4.39k|#define parseContext (*pParseContext)
  ------------------
10341|  4.39k|        (yyval.interm.type).basicType = EbtSampler;
10342|  4.39k|        (yyval.interm.type).sampler.set(EbtInt, Esd1D);
10343|  4.39k|    }
10344|  4.39k|#line 10345 "MachineIndependent/glslang_tab.cpp"
10345|  4.39k|    break;
10346|       |
10347|  5.62k|  case 420: /* type_specifier_nonarray: ISAMPLER2D  */
  ------------------
  |  Branch (10347:3): [True: 5.62k, False: 15.2M]
  ------------------
10348|  5.62k|#line 2936 "MachineIndependent/glslang.y"
10349|  5.62k|                 {
10350|  5.62k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  5.62k|#define parseContext (*pParseContext)
  ------------------
10351|  5.62k|        (yyval.interm.type).basicType = EbtSampler;
10352|  5.62k|        (yyval.interm.type).sampler.set(EbtInt, Esd2D);
10353|  5.62k|    }
10354|  5.62k|#line 10355 "MachineIndependent/glslang_tab.cpp"
10355|  5.62k|    break;
10356|       |
10357|  3.27k|  case 421: /* type_specifier_nonarray: ISAMPLER3D  */
  ------------------
  |  Branch (10357:3): [True: 3.27k, False: 15.2M]
  ------------------
10358|  3.27k|#line 2941 "MachineIndependent/glslang.y"
10359|  3.27k|                 {
10360|  3.27k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  3.27k|#define parseContext (*pParseContext)
  ------------------
10361|  3.27k|        (yyval.interm.type).basicType = EbtSampler;
10362|  3.27k|        (yyval.interm.type).sampler.set(EbtInt, Esd3D);
10363|  3.27k|    }
10364|  3.27k|#line 10365 "MachineIndependent/glslang_tab.cpp"
10365|  3.27k|    break;
10366|       |
10367|  1.18k|  case 422: /* type_specifier_nonarray: ISAMPLERCUBE  */
  ------------------
  |  Branch (10367:3): [True: 1.18k, False: 15.2M]
  ------------------
10368|  1.18k|#line 2946 "MachineIndependent/glslang.y"
10369|  1.18k|                   {
10370|  1.18k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  1.18k|#define parseContext (*pParseContext)
  ------------------
10371|  1.18k|        (yyval.interm.type).basicType = EbtSampler;
10372|  1.18k|        (yyval.interm.type).sampler.set(EbtInt, EsdCube);
10373|  1.18k|    }
10374|  1.18k|#line 10375 "MachineIndependent/glslang_tab.cpp"
10375|  1.18k|    break;
10376|       |
10377|  2.99k|  case 423: /* type_specifier_nonarray: ISAMPLER2DARRAY  */
  ------------------
  |  Branch (10377:3): [True: 2.99k, False: 15.2M]
  ------------------
10378|  2.99k|#line 2951 "MachineIndependent/glslang.y"
10379|  2.99k|                      {
10380|  2.99k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  2.99k|#define parseContext (*pParseContext)
  ------------------
10381|  2.99k|        (yyval.interm.type).basicType = EbtSampler;
10382|  2.99k|        (yyval.interm.type).sampler.set(EbtInt, Esd2D, true);
10383|  2.99k|    }
10384|  2.99k|#line 10385 "MachineIndependent/glslang_tab.cpp"
10385|  2.99k|    break;
10386|       |
10387|  5.62k|  case 424: /* type_specifier_nonarray: USAMPLER2D  */
  ------------------
  |  Branch (10387:3): [True: 5.62k, False: 15.2M]
  ------------------
10388|  5.62k|#line 2956 "MachineIndependent/glslang.y"
10389|  5.62k|                 {
10390|  5.62k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  5.62k|#define parseContext (*pParseContext)
  ------------------
10391|  5.62k|        (yyval.interm.type).basicType = EbtSampler;
10392|  5.62k|        (yyval.interm.type).sampler.set(EbtUint, Esd2D);
10393|  5.62k|    }
10394|  5.62k|#line 10395 "MachineIndependent/glslang_tab.cpp"
10395|  5.62k|    break;
10396|       |
10397|  3.27k|  case 425: /* type_specifier_nonarray: USAMPLER3D  */
  ------------------
  |  Branch (10397:3): [True: 3.27k, False: 15.2M]
  ------------------
10398|  3.27k|#line 2961 "MachineIndependent/glslang.y"
10399|  3.27k|                 {
10400|  3.27k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  3.27k|#define parseContext (*pParseContext)
  ------------------
10401|  3.27k|        (yyval.interm.type).basicType = EbtSampler;
10402|  3.27k|        (yyval.interm.type).sampler.set(EbtUint, Esd3D);
10403|  3.27k|    }
10404|  3.27k|#line 10405 "MachineIndependent/glslang_tab.cpp"
10405|  3.27k|    break;
10406|       |
10407|  1.18k|  case 426: /* type_specifier_nonarray: USAMPLERCUBE  */
  ------------------
  |  Branch (10407:3): [True: 1.18k, False: 15.2M]
  ------------------
10408|  1.18k|#line 2966 "MachineIndependent/glslang.y"
10409|  1.18k|                   {
10410|  1.18k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  1.18k|#define parseContext (*pParseContext)
  ------------------
10411|  1.18k|        (yyval.interm.type).basicType = EbtSampler;
10412|  1.18k|        (yyval.interm.type).sampler.set(EbtUint, EsdCube);
10413|  1.18k|    }
10414|  1.18k|#line 10415 "MachineIndependent/glslang_tab.cpp"
10415|  1.18k|    break;
10416|       |
10417|  1.75k|  case 427: /* type_specifier_nonarray: ISAMPLER1DARRAY  */
  ------------------
  |  Branch (10417:3): [True: 1.75k, False: 15.2M]
  ------------------
10418|  1.75k|#line 2971 "MachineIndependent/glslang.y"
10419|  1.75k|                      {
10420|  1.75k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  1.75k|#define parseContext (*pParseContext)
  ------------------
10421|  1.75k|        (yyval.interm.type).basicType = EbtSampler;
10422|  1.75k|        (yyval.interm.type).sampler.set(EbtInt, Esd1D, true);
10423|  1.75k|    }
10424|  1.75k|#line 10425 "MachineIndependent/glslang_tab.cpp"
10425|  1.75k|    break;
10426|       |
10427|  1.18k|  case 428: /* type_specifier_nonarray: ISAMPLERCUBEARRAY  */
  ------------------
  |  Branch (10427:3): [True: 1.18k, False: 15.2M]
  ------------------
10428|  1.18k|#line 2976 "MachineIndependent/glslang.y"
10429|  1.18k|                        {
10430|  1.18k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  1.18k|#define parseContext (*pParseContext)
  ------------------
10431|  1.18k|        (yyval.interm.type).basicType = EbtSampler;
10432|  1.18k|        (yyval.interm.type).sampler.set(EbtInt, EsdCube, true);
10433|  1.18k|    }
10434|  1.18k|#line 10435 "MachineIndependent/glslang_tab.cpp"
10435|  1.18k|    break;
10436|       |
10437|  4.39k|  case 429: /* type_specifier_nonarray: USAMPLER1D  */
  ------------------
  |  Branch (10437:3): [True: 4.39k, False: 15.2M]
  ------------------
10438|  4.39k|#line 2981 "MachineIndependent/glslang.y"
10439|  4.39k|                 {
10440|  4.39k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  4.39k|#define parseContext (*pParseContext)
  ------------------
10441|  4.39k|        (yyval.interm.type).basicType = EbtSampler;
10442|  4.39k|        (yyval.interm.type).sampler.set(EbtUint, Esd1D);
10443|  4.39k|    }
10444|  4.39k|#line 10445 "MachineIndependent/glslang_tab.cpp"
10445|  4.39k|    break;
10446|       |
10447|  1.75k|  case 430: /* type_specifier_nonarray: USAMPLER1DARRAY  */
  ------------------
  |  Branch (10447:3): [True: 1.75k, False: 15.2M]
  ------------------
10448|  1.75k|#line 2986 "MachineIndependent/glslang.y"
10449|  1.75k|                      {
10450|  1.75k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  1.75k|#define parseContext (*pParseContext)
  ------------------
10451|  1.75k|        (yyval.interm.type).basicType = EbtSampler;
10452|  1.75k|        (yyval.interm.type).sampler.set(EbtUint, Esd1D, true);
10453|  1.75k|    }
10454|  1.75k|#line 10455 "MachineIndependent/glslang_tab.cpp"
10455|  1.75k|    break;
10456|       |
10457|  1.18k|  case 431: /* type_specifier_nonarray: USAMPLERCUBEARRAY  */
  ------------------
  |  Branch (10457:3): [True: 1.18k, False: 15.2M]
  ------------------
10458|  1.18k|#line 2991 "MachineIndependent/glslang.y"
10459|  1.18k|                        {
10460|  1.18k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  1.18k|#define parseContext (*pParseContext)
  ------------------
10461|  1.18k|        (yyval.interm.type).basicType = EbtSampler;
10462|  1.18k|        (yyval.interm.type).sampler.set(EbtUint, EsdCube, true);
10463|  1.18k|    }
10464|  1.18k|#line 10465 "MachineIndependent/glslang_tab.cpp"
10465|  1.18k|    break;
10466|       |
10467|    127|  case 432: /* type_specifier_nonarray: TEXTURECUBEARRAY  */
  ------------------
  |  Branch (10467:3): [True: 127, False: 15.2M]
  ------------------
10468|    127|#line 2996 "MachineIndependent/glslang.y"
10469|    127|                       {
10470|    127|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    127|#define parseContext (*pParseContext)
  ------------------
10471|    127|        (yyval.interm.type).basicType = EbtSampler;
10472|    127|        (yyval.interm.type).sampler.setTexture(EbtFloat, EsdCube, true);
10473|    127|    }
10474|    127|#line 10475 "MachineIndependent/glslang_tab.cpp"
10475|    127|    break;
10476|       |
10477|    121|  case 433: /* type_specifier_nonarray: ITEXTURECUBEARRAY  */
  ------------------
  |  Branch (10477:3): [True: 121, False: 15.2M]
  ------------------
10478|    121|#line 3001 "MachineIndependent/glslang.y"
10479|    121|                        {
10480|    121|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    121|#define parseContext (*pParseContext)
  ------------------
10481|    121|        (yyval.interm.type).basicType = EbtSampler;
10482|    121|        (yyval.interm.type).sampler.setTexture(EbtInt, EsdCube, true);
10483|    121|    }
10484|    121|#line 10485 "MachineIndependent/glslang_tab.cpp"
10485|    121|    break;
10486|       |
10487|    121|  case 434: /* type_specifier_nonarray: UTEXTURECUBEARRAY  */
  ------------------
  |  Branch (10487:3): [True: 121, False: 15.2M]
  ------------------
10488|    121|#line 3006 "MachineIndependent/glslang.y"
10489|    121|                        {
10490|    121|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    121|#define parseContext (*pParseContext)
  ------------------
10491|    121|        (yyval.interm.type).basicType = EbtSampler;
10492|    121|        (yyval.interm.type).sampler.setTexture(EbtUint, EsdCube, true);
10493|    121|    }
10494|    121|#line 10495 "MachineIndependent/glslang_tab.cpp"
10495|    121|    break;
10496|       |
10497|  2.99k|  case 435: /* type_specifier_nonarray: USAMPLER2DARRAY  */
  ------------------
  |  Branch (10497:3): [True: 2.99k, False: 15.2M]
  ------------------
10498|  2.99k|#line 3011 "MachineIndependent/glslang.y"
10499|  2.99k|                      {
10500|  2.99k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  2.99k|#define parseContext (*pParseContext)
  ------------------
10501|  2.99k|        (yyval.interm.type).basicType = EbtSampler;
10502|  2.99k|        (yyval.interm.type).sampler.set(EbtUint, Esd2D, true);
10503|  2.99k|    }
10504|  2.99k|#line 10505 "MachineIndependent/glslang_tab.cpp"
10505|  2.99k|    break;
10506|       |
10507|    369|  case 436: /* type_specifier_nonarray: TEXTURE2D  */
  ------------------
  |  Branch (10507:3): [True: 369, False: 15.2M]
  ------------------
10508|    369|#line 3016 "MachineIndependent/glslang.y"
10509|    369|                {
10510|    369|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    369|#define parseContext (*pParseContext)
  ------------------
10511|    369|        (yyval.interm.type).basicType = EbtSampler;
10512|    369|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D);
10513|    369|    }
10514|    369|#line 10515 "MachineIndependent/glslang_tab.cpp"
10515|    369|    break;
10516|       |
10517|    369|  case 437: /* type_specifier_nonarray: TEXTURE3D  */
  ------------------
  |  Branch (10517:3): [True: 369, False: 15.2M]
  ------------------
10518|    369|#line 3021 "MachineIndependent/glslang.y"
10519|    369|                {
10520|    369|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    369|#define parseContext (*pParseContext)
  ------------------
10521|    369|        (yyval.interm.type).basicType = EbtSampler;
10522|    369|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd3D);
10523|    369|    }
10524|    369|#line 10525 "MachineIndependent/glslang_tab.cpp"
10525|    369|    break;
10526|       |
10527|    369|  case 438: /* type_specifier_nonarray: TEXTURE2DARRAY  */
  ------------------
  |  Branch (10527:3): [True: 369, False: 15.2M]
  ------------------
10528|    369|#line 3026 "MachineIndependent/glslang.y"
10529|    369|                     {
10530|    369|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    369|#define parseContext (*pParseContext)
  ------------------
10531|    369|        (yyval.interm.type).basicType = EbtSampler;
10532|    369|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D, true);
10533|    369|    }
10534|    369|#line 10535 "MachineIndependent/glslang_tab.cpp"
10535|    369|    break;
10536|       |
10537|    127|  case 439: /* type_specifier_nonarray: TEXTURECUBE  */
  ------------------
  |  Branch (10537:3): [True: 127, False: 15.2M]
  ------------------
10538|    127|#line 3031 "MachineIndependent/glslang.y"
10539|    127|                  {
10540|    127|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    127|#define parseContext (*pParseContext)
  ------------------
10541|    127|        (yyval.interm.type).basicType = EbtSampler;
10542|    127|        (yyval.interm.type).sampler.setTexture(EbtFloat, EsdCube);
10543|    127|    }
10544|    127|#line 10545 "MachineIndependent/glslang_tab.cpp"
10545|    127|    break;
10546|       |
10547|    363|  case 440: /* type_specifier_nonarray: ITEXTURE2D  */
  ------------------
  |  Branch (10547:3): [True: 363, False: 15.2M]
  ------------------
10548|    363|#line 3036 "MachineIndependent/glslang.y"
10549|    363|                 {
10550|    363|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    363|#define parseContext (*pParseContext)
  ------------------
10551|    363|        (yyval.interm.type).basicType = EbtSampler;
10552|    363|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd2D);
10553|    363|    }
10554|    363|#line 10555 "MachineIndependent/glslang_tab.cpp"
10555|    363|    break;
10556|       |
10557|    363|  case 441: /* type_specifier_nonarray: ITEXTURE3D  */
  ------------------
  |  Branch (10557:3): [True: 363, False: 15.2M]
  ------------------
10558|    363|#line 3041 "MachineIndependent/glslang.y"
10559|    363|                 {
10560|    363|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    363|#define parseContext (*pParseContext)
  ------------------
10561|    363|        (yyval.interm.type).basicType = EbtSampler;
10562|    363|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd3D);
10563|    363|    }
10564|    363|#line 10565 "MachineIndependent/glslang_tab.cpp"
10565|    363|    break;
10566|       |
10567|    121|  case 442: /* type_specifier_nonarray: ITEXTURECUBE  */
  ------------------
  |  Branch (10567:3): [True: 121, False: 15.2M]
  ------------------
10568|    121|#line 3046 "MachineIndependent/glslang.y"
10569|    121|                   {
10570|    121|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    121|#define parseContext (*pParseContext)
  ------------------
10571|    121|        (yyval.interm.type).basicType = EbtSampler;
10572|    121|        (yyval.interm.type).sampler.setTexture(EbtInt, EsdCube);
10573|    121|    }
10574|    121|#line 10575 "MachineIndependent/glslang_tab.cpp"
10575|    121|    break;
10576|       |
10577|    363|  case 443: /* type_specifier_nonarray: ITEXTURE2DARRAY  */
  ------------------
  |  Branch (10577:3): [True: 363, False: 15.2M]
  ------------------
10578|    363|#line 3051 "MachineIndependent/glslang.y"
10579|    363|                      {
10580|    363|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    363|#define parseContext (*pParseContext)
  ------------------
10581|    363|        (yyval.interm.type).basicType = EbtSampler;
10582|    363|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd2D, true);
10583|    363|    }
10584|    363|#line 10585 "MachineIndependent/glslang_tab.cpp"
10585|    363|    break;
10586|       |
10587|    363|  case 444: /* type_specifier_nonarray: UTEXTURE2D  */
  ------------------
  |  Branch (10587:3): [True: 363, False: 15.2M]
  ------------------
10588|    363|#line 3056 "MachineIndependent/glslang.y"
10589|    363|                 {
10590|    363|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    363|#define parseContext (*pParseContext)
  ------------------
10591|    363|        (yyval.interm.type).basicType = EbtSampler;
10592|    363|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd2D);
10593|    363|    }
10594|    363|#line 10595 "MachineIndependent/glslang_tab.cpp"
10595|    363|    break;
10596|       |
10597|    363|  case 445: /* type_specifier_nonarray: UTEXTURE3D  */
  ------------------
  |  Branch (10597:3): [True: 363, False: 15.2M]
  ------------------
10598|    363|#line 3061 "MachineIndependent/glslang.y"
10599|    363|                 {
10600|    363|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    363|#define parseContext (*pParseContext)
  ------------------
10601|    363|        (yyval.interm.type).basicType = EbtSampler;
10602|    363|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd3D);
10603|    363|    }
10604|    363|#line 10605 "MachineIndependent/glslang_tab.cpp"
10605|    363|    break;
10606|       |
10607|    121|  case 446: /* type_specifier_nonarray: UTEXTURECUBE  */
  ------------------
  |  Branch (10607:3): [True: 121, False: 15.2M]
  ------------------
10608|    121|#line 3066 "MachineIndependent/glslang.y"
10609|    121|                   {
10610|    121|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    121|#define parseContext (*pParseContext)
  ------------------
10611|    121|        (yyval.interm.type).basicType = EbtSampler;
10612|    121|        (yyval.interm.type).sampler.setTexture(EbtUint, EsdCube);
10613|    121|    }
10614|    121|#line 10615 "MachineIndependent/glslang_tab.cpp"
10615|    121|    break;
10616|       |
10617|    363|  case 447: /* type_specifier_nonarray: UTEXTURE2DARRAY  */
  ------------------
  |  Branch (10617:3): [True: 363, False: 15.2M]
  ------------------
10618|    363|#line 3071 "MachineIndependent/glslang.y"
10619|    363|                      {
10620|    363|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    363|#define parseContext (*pParseContext)
  ------------------
10621|    363|        (yyval.interm.type).basicType = EbtSampler;
10622|    363|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd2D, true);
10623|    363|    }
10624|    363|#line 10625 "MachineIndependent/glslang_tab.cpp"
10625|    363|    break;
10626|       |
10627|      6|  case 448: /* type_specifier_nonarray: SAMPLER  */
  ------------------
  |  Branch (10627:3): [True: 6, False: 15.2M]
  ------------------
10628|      6|#line 3076 "MachineIndependent/glslang.y"
10629|      6|              {
10630|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      6|#define parseContext (*pParseContext)
  ------------------
10631|      6|        (yyval.interm.type).basicType = EbtSampler;
10632|      6|        (yyval.interm.type).sampler.setPureSampler(false);
10633|      6|    }
10634|      6|#line 10635 "MachineIndependent/glslang_tab.cpp"
10635|      6|    break;
10636|       |
10637|      6|  case 449: /* type_specifier_nonarray: SAMPLERSHADOW  */
  ------------------
  |  Branch (10637:3): [True: 6, False: 15.2M]
  ------------------
10638|      6|#line 3081 "MachineIndependent/glslang.y"
10639|      6|                    {
10640|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      6|#define parseContext (*pParseContext)
  ------------------
10641|      6|        (yyval.interm.type).basicType = EbtSampler;
10642|      6|        (yyval.interm.type).sampler.setPureSampler(true);
10643|      6|    }
10644|      6|#line 10645 "MachineIndependent/glslang_tab.cpp"
10645|      6|    break;
10646|       |
10647|  3.55k|  case 450: /* type_specifier_nonarray: SAMPLER2DRECT  */
  ------------------
  |  Branch (10647:3): [True: 3.55k, False: 15.2M]
  ------------------
10648|  3.55k|#line 3086 "MachineIndependent/glslang.y"
10649|  3.55k|                    {
10650|  3.55k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  3.55k|#define parseContext (*pParseContext)
  ------------------
10651|  3.55k|        (yyval.interm.type).basicType = EbtSampler;
10652|  3.55k|        (yyval.interm.type).sampler.set(EbtFloat, EsdRect);
10653|  3.55k|    }
10654|  3.55k|#line 10655 "MachineIndependent/glslang_tab.cpp"
10655|  3.55k|    break;
10656|       |
10657|  1.55k|  case 451: /* type_specifier_nonarray: SAMPLER2DRECTSHADOW  */
  ------------------
  |  Branch (10657:3): [True: 1.55k, False: 15.2M]
  ------------------
10658|  1.55k|#line 3091 "MachineIndependent/glslang.y"
10659|  1.55k|                          {
10660|  1.55k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  1.55k|#define parseContext (*pParseContext)
  ------------------
10661|  1.55k|        (yyval.interm.type).basicType = EbtSampler;
10662|  1.55k|        (yyval.interm.type).sampler.set(EbtFloat, EsdRect, false, true);
10663|  1.55k|    }
10664|  1.55k|#line 10665 "MachineIndependent/glslang_tab.cpp"
10665|  1.55k|    break;
10666|       |
10667|    657|  case 452: /* type_specifier_nonarray: F16SAMPLER2DRECT  */
  ------------------
  |  Branch (10667:3): [True: 657, False: 15.2M]
  ------------------
10668|    657|#line 3096 "MachineIndependent/glslang.y"
10669|    657|                       {
10670|    657|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    657|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    657|#define parseContext (*pParseContext)
  ------------------
10671|    657|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    657|#define parseContext (*pParseContext)
  ------------------
10672|    657|        (yyval.interm.type).basicType = EbtSampler;
10673|    657|        (yyval.interm.type).sampler.set(EbtFloat16, EsdRect);
10674|    657|    }
10675|    657|#line 10676 "MachineIndependent/glslang_tab.cpp"
10676|    657|    break;
10677|       |
10678|    417|  case 453: /* type_specifier_nonarray: F16SAMPLER2DRECTSHADOW  */
  ------------------
  |  Branch (10678:3): [True: 417, False: 15.2M]
  ------------------
10679|    417|#line 3102 "MachineIndependent/glslang.y"
10680|    417|                             {
10681|    417|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    417|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    417|#define parseContext (*pParseContext)
  ------------------
10682|    417|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    417|#define parseContext (*pParseContext)
  ------------------
10683|    417|        (yyval.interm.type).basicType = EbtSampler;
10684|    417|        (yyval.interm.type).sampler.set(EbtFloat16, EsdRect, false, true);
10685|    417|    }
10686|    417|#line 10687 "MachineIndependent/glslang_tab.cpp"
10687|    417|    break;
10688|       |
10689|  3.55k|  case 454: /* type_specifier_nonarray: ISAMPLER2DRECT  */
  ------------------
  |  Branch (10689:3): [True: 3.55k, False: 15.2M]
  ------------------
10690|  3.55k|#line 3108 "MachineIndependent/glslang.y"
10691|  3.55k|                     {
10692|  3.55k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  3.55k|#define parseContext (*pParseContext)
  ------------------
10693|  3.55k|        (yyval.interm.type).basicType = EbtSampler;
10694|  3.55k|        (yyval.interm.type).sampler.set(EbtInt, EsdRect);
10695|  3.55k|    }
10696|  3.55k|#line 10697 "MachineIndependent/glslang_tab.cpp"
10697|  3.55k|    break;
10698|       |
10699|  3.55k|  case 455: /* type_specifier_nonarray: USAMPLER2DRECT  */
  ------------------
  |  Branch (10699:3): [True: 3.55k, False: 15.2M]
  ------------------
10700|  3.55k|#line 3113 "MachineIndependent/glslang.y"
10701|  3.55k|                     {
10702|  3.55k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  3.55k|#define parseContext (*pParseContext)
  ------------------
10703|  3.55k|        (yyval.interm.type).basicType = EbtSampler;
10704|  3.55k|        (yyval.interm.type).sampler.set(EbtUint, EsdRect);
10705|  3.55k|    }
10706|  3.55k|#line 10707 "MachineIndependent/glslang_tab.cpp"
10707|  3.55k|    break;
10708|       |
10709|    238|  case 456: /* type_specifier_nonarray: SAMPLERBUFFER  */
  ------------------
  |  Branch (10709:3): [True: 238, False: 15.2M]
  ------------------
10710|    238|#line 3118 "MachineIndependent/glslang.y"
10711|    238|                    {
10712|    238|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    238|#define parseContext (*pParseContext)
  ------------------
10713|    238|        (yyval.interm.type).basicType = EbtSampler;
10714|    238|        (yyval.interm.type).sampler.set(EbtFloat, EsdBuffer);
10715|    238|    }
10716|    238|#line 10717 "MachineIndependent/glslang_tab.cpp"
10717|    238|    break;
10718|       |
10719|     15|  case 457: /* type_specifier_nonarray: F16SAMPLERBUFFER  */
  ------------------
  |  Branch (10719:3): [True: 15, False: 15.2M]
  ------------------
10720|     15|#line 3123 "MachineIndependent/glslang.y"
10721|     15|                       {
10722|     15|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     15|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     15|#define parseContext (*pParseContext)
  ------------------
10723|     15|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     15|#define parseContext (*pParseContext)
  ------------------
10724|     15|        (yyval.interm.type).basicType = EbtSampler;
10725|     15|        (yyval.interm.type).sampler.set(EbtFloat16, EsdBuffer);
10726|     15|    }
10727|     15|#line 10728 "MachineIndependent/glslang_tab.cpp"
10728|     15|    break;
10729|       |
10730|    232|  case 458: /* type_specifier_nonarray: ISAMPLERBUFFER  */
  ------------------
  |  Branch (10730:3): [True: 232, False: 15.2M]
  ------------------
10731|    232|#line 3129 "MachineIndependent/glslang.y"
10732|    232|                     {
10733|    232|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    232|#define parseContext (*pParseContext)
  ------------------
10734|    232|        (yyval.interm.type).basicType = EbtSampler;
10735|    232|        (yyval.interm.type).sampler.set(EbtInt, EsdBuffer);
10736|    232|    }
10737|    232|#line 10738 "MachineIndependent/glslang_tab.cpp"
10738|    232|    break;
10739|       |
10740|    232|  case 459: /* type_specifier_nonarray: USAMPLERBUFFER  */
  ------------------
  |  Branch (10740:3): [True: 232, False: 15.2M]
  ------------------
10741|    232|#line 3134 "MachineIndependent/glslang.y"
10742|    232|                     {
10743|    232|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    232|#define parseContext (*pParseContext)
  ------------------
10744|    232|        (yyval.interm.type).basicType = EbtSampler;
10745|    232|        (yyval.interm.type).sampler.set(EbtUint, EsdBuffer);
10746|    232|    }
10747|    232|#line 10748 "MachineIndependent/glslang_tab.cpp"
10748|    232|    break;
10749|       |
10750|    258|  case 460: /* type_specifier_nonarray: SAMPLER2DMS  */
  ------------------
  |  Branch (10750:3): [True: 258, False: 15.2M]
  ------------------
10751|    258|#line 3139 "MachineIndependent/glslang.y"
10752|    258|                  {
10753|    258|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    258|#define parseContext (*pParseContext)
  ------------------
10754|    258|        (yyval.interm.type).basicType = EbtSampler;
10755|    258|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, false, false, true);
10756|    258|    }
10757|    258|#line 10758 "MachineIndependent/glslang_tab.cpp"
10758|    258|    break;
10759|       |
10760|     30|  case 461: /* type_specifier_nonarray: F16SAMPLER2DMS  */
  ------------------
  |  Branch (10760:3): [True: 30, False: 15.2M]
  ------------------
10761|     30|#line 3144 "MachineIndependent/glslang.y"
10762|     30|                     {
10763|     30|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
10764|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
10765|     30|        (yyval.interm.type).basicType = EbtSampler;
10766|     30|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, false, false, true);
10767|     30|    }
10768|     30|#line 10769 "MachineIndependent/glslang_tab.cpp"
10769|     30|    break;
10770|       |
10771|    252|  case 462: /* type_specifier_nonarray: ISAMPLER2DMS  */
  ------------------
  |  Branch (10771:3): [True: 252, False: 15.2M]
  ------------------
10772|    252|#line 3150 "MachineIndependent/glslang.y"
10773|    252|                   {
10774|    252|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    252|#define parseContext (*pParseContext)
  ------------------
10775|    252|        (yyval.interm.type).basicType = EbtSampler;
10776|    252|        (yyval.interm.type).sampler.set(EbtInt, Esd2D, false, false, true);
10777|    252|    }
10778|    252|#line 10779 "MachineIndependent/glslang_tab.cpp"
10779|    252|    break;
10780|       |
10781|    252|  case 463: /* type_specifier_nonarray: USAMPLER2DMS  */
  ------------------
  |  Branch (10781:3): [True: 252, False: 15.2M]
  ------------------
10782|    252|#line 3155 "MachineIndependent/glslang.y"
10783|    252|                   {
10784|    252|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    252|#define parseContext (*pParseContext)
  ------------------
10785|    252|        (yyval.interm.type).basicType = EbtSampler;
10786|    252|        (yyval.interm.type).sampler.set(EbtUint, Esd2D, false, false, true);
10787|    252|    }
10788|    252|#line 10789 "MachineIndependent/glslang_tab.cpp"
10789|    252|    break;
10790|       |
10791|    258|  case 464: /* type_specifier_nonarray: SAMPLER2DMSARRAY  */
  ------------------
  |  Branch (10791:3): [True: 258, False: 15.2M]
  ------------------
10792|    258|#line 3160 "MachineIndependent/glslang.y"
10793|    258|                       {
10794|    258|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    258|#define parseContext (*pParseContext)
  ------------------
10795|    258|        (yyval.interm.type).basicType = EbtSampler;
10796|    258|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, true, false, true);
10797|    258|    }
10798|    258|#line 10799 "MachineIndependent/glslang_tab.cpp"
10799|    258|    break;
10800|       |
10801|     30|  case 465: /* type_specifier_nonarray: F16SAMPLER2DMSARRAY  */
  ------------------
  |  Branch (10801:3): [True: 30, False: 15.2M]
  ------------------
10802|     30|#line 3165 "MachineIndependent/glslang.y"
10803|     30|                          {
10804|     30|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
10805|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
10806|     30|        (yyval.interm.type).basicType = EbtSampler;
10807|     30|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, true, false, true);
10808|     30|    }
10809|     30|#line 10810 "MachineIndependent/glslang_tab.cpp"
10810|     30|    break;
10811|       |
10812|    252|  case 466: /* type_specifier_nonarray: ISAMPLER2DMSARRAY  */
  ------------------
  |  Branch (10812:3): [True: 252, False: 15.2M]
  ------------------
10813|    252|#line 3171 "MachineIndependent/glslang.y"
10814|    252|                        {
10815|    252|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    252|#define parseContext (*pParseContext)
  ------------------
10816|    252|        (yyval.interm.type).basicType = EbtSampler;
10817|    252|        (yyval.interm.type).sampler.set(EbtInt, Esd2D, true, false, true);
10818|    252|    }
10819|    252|#line 10820 "MachineIndependent/glslang_tab.cpp"
10820|    252|    break;
10821|       |
10822|    252|  case 467: /* type_specifier_nonarray: USAMPLER2DMSARRAY  */
  ------------------
  |  Branch (10822:3): [True: 252, False: 15.2M]
  ------------------
10823|    252|#line 3176 "MachineIndependent/glslang.y"
10824|    252|                        {
10825|    252|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    252|#define parseContext (*pParseContext)
  ------------------
10826|    252|        (yyval.interm.type).basicType = EbtSampler;
10827|    252|        (yyval.interm.type).sampler.set(EbtUint, Esd2D, true, false, true);
10828|    252|    }
10829|    252|#line 10830 "MachineIndependent/glslang_tab.cpp"
10830|    252|    break;
10831|       |
10832|    359|  case 468: /* type_specifier_nonarray: TEXTURE1D  */
  ------------------
  |  Branch (10832:3): [True: 359, False: 15.2M]
  ------------------
10833|    359|#line 3181 "MachineIndependent/glslang.y"
10834|    359|                {
10835|    359|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    359|#define parseContext (*pParseContext)
  ------------------
10836|    359|        (yyval.interm.type).basicType = EbtSampler;
10837|    359|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd1D);
10838|    359|    }
10839|    359|#line 10840 "MachineIndependent/glslang_tab.cpp"
10840|    359|    break;
10841|       |
10842|     30|  case 469: /* type_specifier_nonarray: F16TEXTURE1D  */
  ------------------
  |  Branch (10842:3): [True: 30, False: 15.2M]
  ------------------
10843|     30|#line 3186 "MachineIndependent/glslang.y"
10844|     30|                   {
10845|     30|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
10846|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
10847|     30|        (yyval.interm.type).basicType = EbtSampler;
10848|     30|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd1D);
10849|     30|    }
10850|     30|#line 10851 "MachineIndependent/glslang_tab.cpp"
10851|     30|    break;
10852|       |
10853|     50|  case 470: /* type_specifier_nonarray: F16TEXTURE2D  */
  ------------------
  |  Branch (10853:3): [True: 50, False: 15.2M]
  ------------------
10854|     50|#line 3192 "MachineIndependent/glslang.y"
10855|     50|                   {
10856|     50|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     50|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     50|#define parseContext (*pParseContext)
  ------------------
10857|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     50|#define parseContext (*pParseContext)
  ------------------
10858|     50|        (yyval.interm.type).basicType = EbtSampler;
10859|     50|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D);
10860|     50|    }
10861|     50|#line 10862 "MachineIndependent/glslang_tab.cpp"
10862|     50|    break;
10863|       |
10864|     50|  case 471: /* type_specifier_nonarray: F16TEXTURE3D  */
  ------------------
  |  Branch (10864:3): [True: 50, False: 15.2M]
  ------------------
10865|     50|#line 3198 "MachineIndependent/glslang.y"
10866|     50|                   {
10867|     50|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     50|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     50|#define parseContext (*pParseContext)
  ------------------
10868|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     50|#define parseContext (*pParseContext)
  ------------------
10869|     50|        (yyval.interm.type).basicType = EbtSampler;
10870|     50|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd3D);
10871|     50|    }
10872|     50|#line 10873 "MachineIndependent/glslang_tab.cpp"
10873|     50|    break;
10874|       |
10875|     10|  case 472: /* type_specifier_nonarray: F16TEXTURECUBE  */
  ------------------
  |  Branch (10875:3): [True: 10, False: 15.2M]
  ------------------
10876|     10|#line 3204 "MachineIndependent/glslang.y"
10877|     10|                     {
10878|     10|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     10|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     10|#define parseContext (*pParseContext)
  ------------------
10879|     10|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     10|#define parseContext (*pParseContext)
  ------------------
10880|     10|        (yyval.interm.type).basicType = EbtSampler;
10881|     10|        (yyval.interm.type).sampler.setTexture(EbtFloat16, EsdCube);
10882|     10|    }
10883|     10|#line 10884 "MachineIndependent/glslang_tab.cpp"
10884|     10|    break;
10885|       |
10886|    359|  case 473: /* type_specifier_nonarray: TEXTURE1DARRAY  */
  ------------------
  |  Branch (10886:3): [True: 359, False: 15.2M]
  ------------------
10887|    359|#line 3210 "MachineIndependent/glslang.y"
10888|    359|                     {
10889|    359|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    359|#define parseContext (*pParseContext)
  ------------------
10890|    359|        (yyval.interm.type).basicType = EbtSampler;
10891|    359|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd1D, true);
10892|    359|    }
10893|    359|#line 10894 "MachineIndependent/glslang_tab.cpp"
10894|    359|    break;
10895|       |
10896|     30|  case 474: /* type_specifier_nonarray: F16TEXTURE1DARRAY  */
  ------------------
  |  Branch (10896:3): [True: 30, False: 15.2M]
  ------------------
10897|     30|#line 3215 "MachineIndependent/glslang.y"
10898|     30|                        {
10899|     30|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
10900|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
10901|     30|        (yyval.interm.type).basicType = EbtSampler;
10902|     30|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd1D, true);
10903|     30|    }
10904|     30|#line 10905 "MachineIndependent/glslang_tab.cpp"
10905|     30|    break;
10906|       |
10907|     50|  case 475: /* type_specifier_nonarray: F16TEXTURE2DARRAY  */
  ------------------
  |  Branch (10907:3): [True: 50, False: 15.2M]
  ------------------
10908|     50|#line 3221 "MachineIndependent/glslang.y"
10909|     50|                        {
10910|     50|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     50|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     50|#define parseContext (*pParseContext)
  ------------------
10911|     50|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     50|#define parseContext (*pParseContext)
  ------------------
10912|     50|        (yyval.interm.type).basicType = EbtSampler;
10913|     50|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D, true);
10914|     50|    }
10915|     50|#line 10916 "MachineIndependent/glslang_tab.cpp"
10916|     50|    break;
10917|       |
10918|     10|  case 476: /* type_specifier_nonarray: F16TEXTURECUBEARRAY  */
  ------------------
  |  Branch (10918:3): [True: 10, False: 15.2M]
  ------------------
10919|     10|#line 3227 "MachineIndependent/glslang.y"
10920|     10|                          {
10921|     10|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     10|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     10|#define parseContext (*pParseContext)
  ------------------
10922|     10|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     10|#define parseContext (*pParseContext)
  ------------------
10923|     10|        (yyval.interm.type).basicType = EbtSampler;
10924|     10|        (yyval.interm.type).sampler.setTexture(EbtFloat16, EsdCube, true);
10925|     10|    }
10926|     10|#line 10927 "MachineIndependent/glslang_tab.cpp"
10927|     10|    break;
10928|       |
10929|    353|  case 477: /* type_specifier_nonarray: ITEXTURE1D  */
  ------------------
  |  Branch (10929:3): [True: 353, False: 15.2M]
  ------------------
10930|    353|#line 3233 "MachineIndependent/glslang.y"
10931|    353|                 {
10932|    353|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    353|#define parseContext (*pParseContext)
  ------------------
10933|    353|        (yyval.interm.type).basicType = EbtSampler;
10934|    353|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd1D);
10935|    353|    }
10936|    353|#line 10937 "MachineIndependent/glslang_tab.cpp"
10937|    353|    break;
10938|       |
10939|    353|  case 478: /* type_specifier_nonarray: ITEXTURE1DARRAY  */
  ------------------
  |  Branch (10939:3): [True: 353, False: 15.2M]
  ------------------
10940|    353|#line 3238 "MachineIndependent/glslang.y"
10941|    353|                      {
10942|    353|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    353|#define parseContext (*pParseContext)
  ------------------
10943|    353|        (yyval.interm.type).basicType = EbtSampler;
10944|    353|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd1D, true);
10945|    353|    }
10946|    353|#line 10947 "MachineIndependent/glslang_tab.cpp"
10947|    353|    break;
10948|       |
10949|    353|  case 479: /* type_specifier_nonarray: UTEXTURE1D  */
  ------------------
  |  Branch (10949:3): [True: 353, False: 15.2M]
  ------------------
10950|    353|#line 3243 "MachineIndependent/glslang.y"
10951|    353|                 {
10952|    353|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    353|#define parseContext (*pParseContext)
  ------------------
10953|    353|        (yyval.interm.type).basicType = EbtSampler;
10954|    353|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd1D);
10955|    353|    }
10956|    353|#line 10957 "MachineIndependent/glslang_tab.cpp"
10957|    353|    break;
10958|       |
10959|    353|  case 480: /* type_specifier_nonarray: UTEXTURE1DARRAY  */
  ------------------
  |  Branch (10959:3): [True: 353, False: 15.2M]
  ------------------
10960|    353|#line 3248 "MachineIndependent/glslang.y"
10961|    353|                      {
10962|    353|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    353|#define parseContext (*pParseContext)
  ------------------
10963|    353|        (yyval.interm.type).basicType = EbtSampler;
10964|    353|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd1D, true);
10965|    353|    }
10966|    353|#line 10967 "MachineIndependent/glslang_tab.cpp"
10967|    353|    break;
10968|       |
10969|    364|  case 481: /* type_specifier_nonarray: TEXTURE2DRECT  */
  ------------------
  |  Branch (10969:3): [True: 364, False: 15.2M]
  ------------------
10970|    364|#line 3253 "MachineIndependent/glslang.y"
10971|    364|                    {
10972|    364|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    364|#define parseContext (*pParseContext)
  ------------------
10973|    364|        (yyval.interm.type).basicType = EbtSampler;
10974|    364|        (yyval.interm.type).sampler.setTexture(EbtFloat, EsdRect);
10975|    364|    }
10976|    364|#line 10977 "MachineIndependent/glslang_tab.cpp"
10977|    364|    break;
10978|       |
10979|     45|  case 482: /* type_specifier_nonarray: F16TEXTURE2DRECT  */
  ------------------
  |  Branch (10979:3): [True: 45, False: 15.2M]
  ------------------
10980|     45|#line 3258 "MachineIndependent/glslang.y"
10981|     45|                       {
10982|     45|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     45|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     45|#define parseContext (*pParseContext)
  ------------------
10983|     45|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     45|#define parseContext (*pParseContext)
  ------------------
10984|     45|        (yyval.interm.type).basicType = EbtSampler;
10985|     45|        (yyval.interm.type).sampler.setTexture(EbtFloat16, EsdRect);
10986|     45|    }
10987|     45|#line 10988 "MachineIndependent/glslang_tab.cpp"
10988|     45|    break;
10989|       |
10990|    358|  case 483: /* type_specifier_nonarray: ITEXTURE2DRECT  */
  ------------------
  |  Branch (10990:3): [True: 358, False: 15.2M]
  ------------------
10991|    358|#line 3264 "MachineIndependent/glslang.y"
10992|    358|                     {
10993|    358|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    358|#define parseContext (*pParseContext)
  ------------------
10994|    358|        (yyval.interm.type).basicType = EbtSampler;
10995|    358|        (yyval.interm.type).sampler.setTexture(EbtInt, EsdRect);
10996|    358|    }
10997|    358|#line 10998 "MachineIndependent/glslang_tab.cpp"
10998|    358|    break;
10999|       |
11000|    358|  case 484: /* type_specifier_nonarray: UTEXTURE2DRECT  */
  ------------------
  |  Branch (11000:3): [True: 358, False: 15.2M]
  ------------------
11001|    358|#line 3269 "MachineIndependent/glslang.y"
11002|    358|                     {
11003|    358|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    358|#define parseContext (*pParseContext)
  ------------------
11004|    358|        (yyval.interm.type).basicType = EbtSampler;
11005|    358|        (yyval.interm.type).sampler.setTexture(EbtUint, EsdRect);
11006|    358|    }
11007|    358|#line 11008 "MachineIndependent/glslang_tab.cpp"
11008|    358|    break;
11009|       |
11010|    238|  case 485: /* type_specifier_nonarray: TEXTUREBUFFER  */
  ------------------
  |  Branch (11010:3): [True: 238, False: 15.2M]
  ------------------
11011|    238|#line 3274 "MachineIndependent/glslang.y"
11012|    238|                    {
11013|    238|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    238|#define parseContext (*pParseContext)
  ------------------
11014|    238|        (yyval.interm.type).basicType = EbtSampler;
11015|    238|        (yyval.interm.type).sampler.setTexture(EbtFloat, EsdBuffer);
11016|    238|    }
11017|    238|#line 11018 "MachineIndependent/glslang_tab.cpp"
11018|    238|    break;
11019|       |
11020|     15|  case 486: /* type_specifier_nonarray: F16TEXTUREBUFFER  */
  ------------------
  |  Branch (11020:3): [True: 15, False: 15.2M]
  ------------------
11021|     15|#line 3279 "MachineIndependent/glslang.y"
11022|     15|                       {
11023|     15|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     15|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     15|#define parseContext (*pParseContext)
  ------------------
11024|     15|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     15|#define parseContext (*pParseContext)
  ------------------
11025|     15|        (yyval.interm.type).basicType = EbtSampler;
11026|     15|        (yyval.interm.type).sampler.setTexture(EbtFloat16, EsdBuffer);
11027|     15|    }
11028|     15|#line 11029 "MachineIndependent/glslang_tab.cpp"
11029|     15|    break;
11030|       |
11031|    232|  case 487: /* type_specifier_nonarray: ITEXTUREBUFFER  */
  ------------------
  |  Branch (11031:3): [True: 232, False: 15.2M]
  ------------------
11032|    232|#line 3285 "MachineIndependent/glslang.y"
11033|    232|                     {
11034|    232|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    232|#define parseContext (*pParseContext)
  ------------------
11035|    232|        (yyval.interm.type).basicType = EbtSampler;
11036|    232|        (yyval.interm.type).sampler.setTexture(EbtInt, EsdBuffer);
11037|    232|    }
11038|    232|#line 11039 "MachineIndependent/glslang_tab.cpp"
11039|    232|    break;
11040|       |
11041|    232|  case 488: /* type_specifier_nonarray: UTEXTUREBUFFER  */
  ------------------
  |  Branch (11041:3): [True: 232, False: 15.2M]
  ------------------
11042|    232|#line 3290 "MachineIndependent/glslang.y"
11043|    232|                     {
11044|    232|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    232|#define parseContext (*pParseContext)
  ------------------
11045|    232|        (yyval.interm.type).basicType = EbtSampler;
11046|    232|        (yyval.interm.type).sampler.setTexture(EbtUint, EsdBuffer);
11047|    232|    }
11048|    232|#line 11049 "MachineIndependent/glslang_tab.cpp"
11049|    232|    break;
11050|       |
11051|    248|  case 489: /* type_specifier_nonarray: TEXTURE2DMS  */
  ------------------
  |  Branch (11051:3): [True: 248, False: 15.2M]
  ------------------
11052|    248|#line 3295 "MachineIndependent/glslang.y"
11053|    248|                  {
11054|    248|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    248|#define parseContext (*pParseContext)
  ------------------
11055|    248|        (yyval.interm.type).basicType = EbtSampler;
11056|    248|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D, false, false, true);
11057|    248|    }
11058|    248|#line 11059 "MachineIndependent/glslang_tab.cpp"
11059|    248|    break;
11060|       |
11061|     30|  case 490: /* type_specifier_nonarray: F16TEXTURE2DMS  */
  ------------------
  |  Branch (11061:3): [True: 30, False: 15.2M]
  ------------------
11062|     30|#line 3300 "MachineIndependent/glslang.y"
11063|     30|                     {
11064|     30|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
11065|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
11066|     30|        (yyval.interm.type).basicType = EbtSampler;
11067|     30|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D, false, false, true);
11068|     30|    }
11069|     30|#line 11070 "MachineIndependent/glslang_tab.cpp"
11070|     30|    break;
11071|       |
11072|    242|  case 491: /* type_specifier_nonarray: ITEXTURE2DMS  */
  ------------------
  |  Branch (11072:3): [True: 242, False: 15.2M]
  ------------------
11073|    242|#line 3306 "MachineIndependent/glslang.y"
11074|    242|                   {
11075|    242|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    242|#define parseContext (*pParseContext)
  ------------------
11076|    242|        (yyval.interm.type).basicType = EbtSampler;
11077|    242|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd2D, false, false, true);
11078|    242|    }
11079|    242|#line 11080 "MachineIndependent/glslang_tab.cpp"
11080|    242|    break;
11081|       |
11082|    242|  case 492: /* type_specifier_nonarray: UTEXTURE2DMS  */
  ------------------
  |  Branch (11082:3): [True: 242, False: 15.2M]
  ------------------
11083|    242|#line 3311 "MachineIndependent/glslang.y"
11084|    242|                   {
11085|    242|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    242|#define parseContext (*pParseContext)
  ------------------
11086|    242|        (yyval.interm.type).basicType = EbtSampler;
11087|    242|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd2D, false, false, true);
11088|    242|    }
11089|    242|#line 11090 "MachineIndependent/glslang_tab.cpp"
11090|    242|    break;
11091|       |
11092|    248|  case 493: /* type_specifier_nonarray: TEXTURE2DMSARRAY  */
  ------------------
  |  Branch (11092:3): [True: 248, False: 15.2M]
  ------------------
11093|    248|#line 3316 "MachineIndependent/glslang.y"
11094|    248|                       {
11095|    248|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    248|#define parseContext (*pParseContext)
  ------------------
11096|    248|        (yyval.interm.type).basicType = EbtSampler;
11097|    248|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D, true, false, true);
11098|    248|    }
11099|    248|#line 11100 "MachineIndependent/glslang_tab.cpp"
11100|    248|    break;
11101|       |
11102|     30|  case 494: /* type_specifier_nonarray: F16TEXTURE2DMSARRAY  */
  ------------------
  |  Branch (11102:3): [True: 30, False: 15.2M]
  ------------------
11103|     30|#line 3321 "MachineIndependent/glslang.y"
11104|     30|                          {
11105|     30|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
11106|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     30|#define parseContext (*pParseContext)
  ------------------
11107|     30|        (yyval.interm.type).basicType = EbtSampler;
11108|     30|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D, true, false, true);
11109|     30|    }
11110|     30|#line 11111 "MachineIndependent/glslang_tab.cpp"
11111|     30|    break;
11112|       |
11113|    242|  case 495: /* type_specifier_nonarray: ITEXTURE2DMSARRAY  */
  ------------------
  |  Branch (11113:3): [True: 242, False: 15.2M]
  ------------------
11114|    242|#line 3327 "MachineIndependent/glslang.y"
11115|    242|                        {
11116|    242|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    242|#define parseContext (*pParseContext)
  ------------------
11117|    242|        (yyval.interm.type).basicType = EbtSampler;
11118|    242|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd2D, true, false, true);
11119|    242|    }
11120|    242|#line 11121 "MachineIndependent/glslang_tab.cpp"
11121|    242|    break;
11122|       |
11123|    242|  case 496: /* type_specifier_nonarray: UTEXTURE2DMSARRAY  */
  ------------------
  |  Branch (11123:3): [True: 242, False: 15.2M]
  ------------------
11124|    242|#line 3332 "MachineIndependent/glslang.y"
11125|    242|                        {
11126|    242|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    242|#define parseContext (*pParseContext)
  ------------------
11127|    242|        (yyval.interm.type).basicType = EbtSampler;
11128|    242|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd2D, true, false, true);
11129|    242|    }
11130|    242|#line 11131 "MachineIndependent/glslang_tab.cpp"
11131|    242|    break;
11132|       |
11133|    343|  case 497: /* type_specifier_nonarray: IMAGE1D  */
  ------------------
  |  Branch (11133:3): [True: 343, False: 15.2M]
  ------------------
11134|    343|#line 3337 "MachineIndependent/glslang.y"
11135|    343|              {
11136|    343|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    343|#define parseContext (*pParseContext)
  ------------------
11137|    343|        (yyval.interm.type).basicType = EbtSampler;
11138|    343|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd1D);
11139|    343|    }
11140|    343|#line 11141 "MachineIndependent/glslang_tab.cpp"
11141|    343|    break;
11142|       |
11143|    115|  case 498: /* type_specifier_nonarray: F16IMAGE1D  */
  ------------------
  |  Branch (11143:3): [True: 115, False: 15.2M]
  ------------------
11144|    115|#line 3342 "MachineIndependent/glslang.y"
11145|    115|                 {
11146|    115|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    115|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    115|#define parseContext (*pParseContext)
  ------------------
11147|    115|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    115|#define parseContext (*pParseContext)
  ------------------
11148|    115|        (yyval.interm.type).basicType = EbtSampler;
11149|    115|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd1D);
11150|    115|    }
11151|    115|#line 11152 "MachineIndependent/glslang_tab.cpp"
11152|    115|    break;
11153|       |
11154|  2.33k|  case 499: /* type_specifier_nonarray: IIMAGE1D  */
  ------------------
  |  Branch (11154:3): [True: 2.33k, False: 15.2M]
  ------------------
11155|  2.33k|#line 3348 "MachineIndependent/glslang.y"
11156|  2.33k|               {
11157|  2.33k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  2.33k|#define parseContext (*pParseContext)
  ------------------
11158|  2.33k|        (yyval.interm.type).basicType = EbtSampler;
11159|  2.33k|        (yyval.interm.type).sampler.setImage(EbtInt, Esd1D);
11160|  2.33k|    }
11161|  2.33k|#line 11162 "MachineIndependent/glslang_tab.cpp"
11162|  2.33k|    break;
11163|       |
11164|  2.33k|  case 500: /* type_specifier_nonarray: UIMAGE1D  */
  ------------------
  |  Branch (11164:3): [True: 2.33k, False: 15.2M]
  ------------------
11165|  2.33k|#line 3353 "MachineIndependent/glslang.y"
11166|  2.33k|               {
11167|  2.33k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  2.33k|#define parseContext (*pParseContext)
  ------------------
11168|  2.33k|        (yyval.interm.type).basicType = EbtSampler;
11169|  2.33k|        (yyval.interm.type).sampler.setImage(EbtUint, Esd1D);
11170|  2.33k|    }
11171|  2.33k|#line 11172 "MachineIndependent/glslang_tab.cpp"
11172|  2.33k|    break;
11173|       |
11174|    353|  case 501: /* type_specifier_nonarray: IMAGE2D  */
  ------------------
  |  Branch (11174:3): [True: 353, False: 15.2M]
  ------------------
11175|    353|#line 3358 "MachineIndependent/glslang.y"
11176|    353|              {
11177|    353|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    353|#define parseContext (*pParseContext)
  ------------------
11178|    353|        (yyval.interm.type).basicType = EbtSampler;
11179|    353|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd2D);
11180|    353|    }
11181|    353|#line 11182 "MachineIndependent/glslang_tab.cpp"
11182|    353|    break;
11183|       |
11184|    125|  case 502: /* type_specifier_nonarray: F16IMAGE2D  */
  ------------------
  |  Branch (11184:3): [True: 125, False: 15.2M]
  ------------------
11185|    125|#line 3363 "MachineIndependent/glslang.y"
11186|    125|                 {
11187|    125|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    125|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    125|#define parseContext (*pParseContext)
  ------------------
11188|    125|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    125|#define parseContext (*pParseContext)
  ------------------
11189|    125|        (yyval.interm.type).basicType = EbtSampler;
11190|    125|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D);
11191|    125|    }
11192|    125|#line 11193 "MachineIndependent/glslang_tab.cpp"
11193|    125|    break;
11194|       |
11195|  2.34k|  case 503: /* type_specifier_nonarray: IIMAGE2D  */
  ------------------
  |  Branch (11195:3): [True: 2.34k, False: 15.2M]
  ------------------
11196|  2.34k|#line 3369 "MachineIndependent/glslang.y"
11197|  2.34k|               {
11198|  2.34k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  2.34k|#define parseContext (*pParseContext)
  ------------------
11199|  2.34k|        (yyval.interm.type).basicType = EbtSampler;
11200|  2.34k|        (yyval.interm.type).sampler.setImage(EbtInt, Esd2D);
11201|  2.34k|    }
11202|  2.34k|#line 11203 "MachineIndependent/glslang_tab.cpp"
11203|  2.34k|    break;
11204|       |
11205|  2.34k|  case 504: /* type_specifier_nonarray: UIMAGE2D  */
  ------------------
  |  Branch (11205:3): [True: 2.34k, False: 15.2M]
  ------------------
11206|  2.34k|#line 3374 "MachineIndependent/glslang.y"
11207|  2.34k|               {
11208|  2.34k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  2.34k|#define parseContext (*pParseContext)
  ------------------
11209|  2.34k|        (yyval.interm.type).basicType = EbtSampler;
11210|  2.34k|        (yyval.interm.type).sampler.setImage(EbtUint, Esd2D);
11211|  2.34k|    }
11212|  2.34k|#line 11213 "MachineIndependent/glslang_tab.cpp"
11213|  2.34k|    break;
11214|       |
11215|    353|  case 505: /* type_specifier_nonarray: IMAGE3D  */
  ------------------
  |  Branch (11215:3): [True: 353, False: 15.2M]
  ------------------
11216|    353|#line 3379 "MachineIndependent/glslang.y"
11217|    353|              {
11218|    353|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    353|#define parseContext (*pParseContext)
  ------------------
11219|    353|        (yyval.interm.type).basicType = EbtSampler;
11220|    353|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd3D);
11221|    353|    }
11222|    353|#line 11223 "MachineIndependent/glslang_tab.cpp"
11223|    353|    break;
11224|       |
11225|    125|  case 506: /* type_specifier_nonarray: F16IMAGE3D  */
  ------------------
  |  Branch (11225:3): [True: 125, False: 15.2M]
  ------------------
11226|    125|#line 3384 "MachineIndependent/glslang.y"
11227|    125|                 {
11228|    125|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    125|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    125|#define parseContext (*pParseContext)
  ------------------
11229|    125|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    125|#define parseContext (*pParseContext)
  ------------------
11230|    125|        (yyval.interm.type).basicType = EbtSampler;
11231|    125|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd3D);
11232|    125|    }
11233|    125|#line 11234 "MachineIndependent/glslang_tab.cpp"
11234|    125|    break;
11235|       |
11236|  2.34k|  case 507: /* type_specifier_nonarray: IIMAGE3D  */
  ------------------
  |  Branch (11236:3): [True: 2.34k, False: 15.2M]
  ------------------
11237|  2.34k|#line 3390 "MachineIndependent/glslang.y"
11238|  2.34k|               {
11239|  2.34k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  2.34k|#define parseContext (*pParseContext)
  ------------------
11240|  2.34k|        (yyval.interm.type).basicType = EbtSampler;
11241|  2.34k|        (yyval.interm.type).sampler.setImage(EbtInt, Esd3D);
11242|  2.34k|    }
11243|  2.34k|#line 11244 "MachineIndependent/glslang_tab.cpp"
11244|  2.34k|    break;
11245|       |
11246|  2.34k|  case 508: /* type_specifier_nonarray: UIMAGE3D  */
  ------------------
  |  Branch (11246:3): [True: 2.34k, False: 15.2M]
  ------------------
11247|  2.34k|#line 3395 "MachineIndependent/glslang.y"
11248|  2.34k|               {
11249|  2.34k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  2.34k|#define parseContext (*pParseContext)
  ------------------
11250|  2.34k|        (yyval.interm.type).basicType = EbtSampler;
11251|  2.34k|        (yyval.interm.type).sampler.setImage(EbtUint, Esd3D);
11252|  2.34k|    }
11253|  2.34k|#line 11254 "MachineIndependent/glslang_tab.cpp"
11254|  2.34k|    break;
11255|       |
11256|    338|  case 509: /* type_specifier_nonarray: IMAGE2DRECT  */
  ------------------
  |  Branch (11256:3): [True: 338, False: 15.2M]
  ------------------
11257|    338|#line 3400 "MachineIndependent/glslang.y"
11258|    338|                  {
11259|    338|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    338|#define parseContext (*pParseContext)
  ------------------
11260|    338|        (yyval.interm.type).basicType = EbtSampler;
11261|    338|        (yyval.interm.type).sampler.setImage(EbtFloat, EsdRect);
11262|    338|    }
11263|    338|#line 11264 "MachineIndependent/glslang_tab.cpp"
11264|    338|    break;
11265|       |
11266|    110|  case 510: /* type_specifier_nonarray: F16IMAGE2DRECT  */
  ------------------
  |  Branch (11266:3): [True: 110, False: 15.2M]
  ------------------
11267|    110|#line 3405 "MachineIndependent/glslang.y"
11268|    110|                     {
11269|    110|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    110|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    110|#define parseContext (*pParseContext)
  ------------------
11270|    110|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    110|#define parseContext (*pParseContext)
  ------------------
11271|    110|        (yyval.interm.type).basicType = EbtSampler;
11272|    110|        (yyval.interm.type).sampler.setImage(EbtFloat16, EsdRect);
11273|    110|    }
11274|    110|#line 11275 "MachineIndependent/glslang_tab.cpp"
11275|    110|    break;
11276|       |
11277|  2.33k|  case 511: /* type_specifier_nonarray: IIMAGE2DRECT  */
  ------------------
  |  Branch (11277:3): [True: 2.33k, False: 15.2M]
  ------------------
11278|  2.33k|#line 3411 "MachineIndependent/glslang.y"
11279|  2.33k|                   {
11280|  2.33k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  2.33k|#define parseContext (*pParseContext)
  ------------------
11281|  2.33k|        (yyval.interm.type).basicType = EbtSampler;
11282|  2.33k|        (yyval.interm.type).sampler.setImage(EbtInt, EsdRect);
11283|  2.33k|    }
11284|  2.33k|#line 11285 "MachineIndependent/glslang_tab.cpp"
11285|  2.33k|    break;
11286|       |
11287|  2.33k|  case 512: /* type_specifier_nonarray: UIMAGE2DRECT  */
  ------------------
  |  Branch (11287:3): [True: 2.33k, False: 15.2M]
  ------------------
11288|  2.33k|#line 3416 "MachineIndependent/glslang.y"
11289|  2.33k|                   {
11290|  2.33k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  2.33k|#define parseContext (*pParseContext)
  ------------------
11291|  2.33k|        (yyval.interm.type).basicType = EbtSampler;
11292|  2.33k|        (yyval.interm.type).sampler.setImage(EbtUint, EsdRect);
11293|  2.33k|    }
11294|  2.33k|#line 11295 "MachineIndependent/glslang_tab.cpp"
11295|  2.33k|    break;
11296|       |
11297|    353|  case 513: /* type_specifier_nonarray: IMAGECUBE  */
  ------------------
  |  Branch (11297:3): [True: 353, False: 15.2M]
  ------------------
11298|    353|#line 3421 "MachineIndependent/glslang.y"
11299|    353|                {
11300|    353|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    353|#define parseContext (*pParseContext)
  ------------------
11301|    353|        (yyval.interm.type).basicType = EbtSampler;
11302|    353|        (yyval.interm.type).sampler.setImage(EbtFloat, EsdCube);
11303|    353|    }
11304|    353|#line 11305 "MachineIndependent/glslang_tab.cpp"
11305|    353|    break;
11306|       |
11307|    125|  case 514: /* type_specifier_nonarray: F16IMAGECUBE  */
  ------------------
  |  Branch (11307:3): [True: 125, False: 15.2M]
  ------------------
11308|    125|#line 3426 "MachineIndependent/glslang.y"
11309|    125|                   {
11310|    125|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    125|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    125|#define parseContext (*pParseContext)
  ------------------
11311|    125|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    125|#define parseContext (*pParseContext)
  ------------------
11312|    125|        (yyval.interm.type).basicType = EbtSampler;
11313|    125|        (yyval.interm.type).sampler.setImage(EbtFloat16, EsdCube);
11314|    125|    }
11315|    125|#line 11316 "MachineIndependent/glslang_tab.cpp"
11316|    125|    break;
11317|       |
11318|  2.34k|  case 515: /* type_specifier_nonarray: IIMAGECUBE  */
  ------------------
  |  Branch (11318:3): [True: 2.34k, False: 15.2M]
  ------------------
11319|  2.34k|#line 3432 "MachineIndependent/glslang.y"
11320|  2.34k|                 {
11321|  2.34k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  2.34k|#define parseContext (*pParseContext)
  ------------------
11322|  2.34k|        (yyval.interm.type).basicType = EbtSampler;
11323|  2.34k|        (yyval.interm.type).sampler.setImage(EbtInt, EsdCube);
11324|  2.34k|    }
11325|  2.34k|#line 11326 "MachineIndependent/glslang_tab.cpp"
11326|  2.34k|    break;
11327|       |
11328|  2.34k|  case 516: /* type_specifier_nonarray: UIMAGECUBE  */
  ------------------
  |  Branch (11328:3): [True: 2.34k, False: 15.2M]
  ------------------
11329|  2.34k|#line 3437 "MachineIndependent/glslang.y"
11330|  2.34k|                 {
11331|  2.34k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  2.34k|#define parseContext (*pParseContext)
  ------------------
11332|  2.34k|        (yyval.interm.type).basicType = EbtSampler;
11333|  2.34k|        (yyval.interm.type).sampler.setImage(EbtUint, EsdCube);
11334|  2.34k|    }
11335|  2.34k|#line 11336 "MachineIndependent/glslang_tab.cpp"
11336|  2.34k|    break;
11337|       |
11338|    333|  case 517: /* type_specifier_nonarray: IMAGEBUFFER  */
  ------------------
  |  Branch (11338:3): [True: 333, False: 15.2M]
  ------------------
11339|    333|#line 3442 "MachineIndependent/glslang.y"
11340|    333|                  {
11341|    333|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    333|#define parseContext (*pParseContext)
  ------------------
11342|    333|        (yyval.interm.type).basicType = EbtSampler;
11343|    333|        (yyval.interm.type).sampler.setImage(EbtFloat, EsdBuffer);
11344|    333|    }
11345|    333|#line 11346 "MachineIndependent/glslang_tab.cpp"
11346|    333|    break;
11347|       |
11348|    105|  case 518: /* type_specifier_nonarray: F16IMAGEBUFFER  */
  ------------------
  |  Branch (11348:3): [True: 105, False: 15.2M]
  ------------------
11349|    105|#line 3447 "MachineIndependent/glslang.y"
11350|    105|                     {
11351|    105|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    105|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    105|#define parseContext (*pParseContext)
  ------------------
11352|    105|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    105|#define parseContext (*pParseContext)
  ------------------
11353|    105|        (yyval.interm.type).basicType = EbtSampler;
11354|    105|        (yyval.interm.type).sampler.setImage(EbtFloat16, EsdBuffer);
11355|    105|    }
11356|    105|#line 11357 "MachineIndependent/glslang_tab.cpp"
11357|    105|    break;
11358|       |
11359|  2.32k|  case 519: /* type_specifier_nonarray: IIMAGEBUFFER  */
  ------------------
  |  Branch (11359:3): [True: 2.32k, False: 15.2M]
  ------------------
11360|  2.32k|#line 3453 "MachineIndependent/glslang.y"
11361|  2.32k|                   {
11362|  2.32k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  2.32k|#define parseContext (*pParseContext)
  ------------------
11363|  2.32k|        (yyval.interm.type).basicType = EbtSampler;
11364|  2.32k|        (yyval.interm.type).sampler.setImage(EbtInt, EsdBuffer);
11365|  2.32k|    }
11366|  2.32k|#line 11367 "MachineIndependent/glslang_tab.cpp"
11367|  2.32k|    break;
11368|       |
11369|  2.32k|  case 520: /* type_specifier_nonarray: UIMAGEBUFFER  */
  ------------------
  |  Branch (11369:3): [True: 2.32k, False: 15.2M]
  ------------------
11370|  2.32k|#line 3458 "MachineIndependent/glslang.y"
11371|  2.32k|                   {
11372|  2.32k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  2.32k|#define parseContext (*pParseContext)
  ------------------
11373|  2.32k|        (yyval.interm.type).basicType = EbtSampler;
11374|  2.32k|        (yyval.interm.type).sampler.setImage(EbtUint, EsdBuffer);
11375|  2.32k|    }
11376|  2.32k|#line 11377 "MachineIndependent/glslang_tab.cpp"
11377|  2.32k|    break;
11378|       |
11379|    343|  case 521: /* type_specifier_nonarray: IMAGE1DARRAY  */
  ------------------
  |  Branch (11379:3): [True: 343, False: 15.2M]
  ------------------
11380|    343|#line 3463 "MachineIndependent/glslang.y"
11381|    343|                   {
11382|    343|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    343|#define parseContext (*pParseContext)
  ------------------
11383|    343|        (yyval.interm.type).basicType = EbtSampler;
11384|    343|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd1D, true);
11385|    343|    }
11386|    343|#line 11387 "MachineIndependent/glslang_tab.cpp"
11387|    343|    break;
11388|       |
11389|    115|  case 522: /* type_specifier_nonarray: F16IMAGE1DARRAY  */
  ------------------
  |  Branch (11389:3): [True: 115, False: 15.2M]
  ------------------
11390|    115|#line 3468 "MachineIndependent/glslang.y"
11391|    115|                      {
11392|    115|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    115|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    115|#define parseContext (*pParseContext)
  ------------------
11393|    115|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    115|#define parseContext (*pParseContext)
  ------------------
11394|    115|        (yyval.interm.type).basicType = EbtSampler;
11395|    115|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd1D, true);
11396|    115|    }
11397|    115|#line 11398 "MachineIndependent/glslang_tab.cpp"
11398|    115|    break;
11399|       |
11400|  2.33k|  case 523: /* type_specifier_nonarray: IIMAGE1DARRAY  */
  ------------------
  |  Branch (11400:3): [True: 2.33k, False: 15.2M]
  ------------------
11401|  2.33k|#line 3474 "MachineIndependent/glslang.y"
11402|  2.33k|                    {
11403|  2.33k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  2.33k|#define parseContext (*pParseContext)
  ------------------
11404|  2.33k|        (yyval.interm.type).basicType = EbtSampler;
11405|  2.33k|        (yyval.interm.type).sampler.setImage(EbtInt, Esd1D, true);
11406|  2.33k|    }
11407|  2.33k|#line 11408 "MachineIndependent/glslang_tab.cpp"
11408|  2.33k|    break;
11409|       |
11410|  2.33k|  case 524: /* type_specifier_nonarray: UIMAGE1DARRAY  */
  ------------------
  |  Branch (11410:3): [True: 2.33k, False: 15.2M]
  ------------------
11411|  2.33k|#line 3479 "MachineIndependent/glslang.y"
11412|  2.33k|                    {
11413|  2.33k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  2.33k|#define parseContext (*pParseContext)
  ------------------
11414|  2.33k|        (yyval.interm.type).basicType = EbtSampler;
11415|  2.33k|        (yyval.interm.type).sampler.setImage(EbtUint, Esd1D, true);
11416|  2.33k|    }
11417|  2.33k|#line 11418 "MachineIndependent/glslang_tab.cpp"
11418|  2.33k|    break;
11419|       |
11420|    353|  case 525: /* type_specifier_nonarray: IMAGE2DARRAY  */
  ------------------
  |  Branch (11420:3): [True: 353, False: 15.2M]
  ------------------
11421|    353|#line 3484 "MachineIndependent/glslang.y"
11422|    353|                   {
11423|    353|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    353|#define parseContext (*pParseContext)
  ------------------
11424|    353|        (yyval.interm.type).basicType = EbtSampler;
11425|    353|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd2D, true);
11426|    353|    }
11427|    353|#line 11428 "MachineIndependent/glslang_tab.cpp"
11428|    353|    break;
11429|       |
11430|    125|  case 526: /* type_specifier_nonarray: F16IMAGE2DARRAY  */
  ------------------
  |  Branch (11430:3): [True: 125, False: 15.2M]
  ------------------
11431|    125|#line 3489 "MachineIndependent/glslang.y"
11432|    125|                      {
11433|    125|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    125|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    125|#define parseContext (*pParseContext)
  ------------------
11434|    125|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    125|#define parseContext (*pParseContext)
  ------------------
11435|    125|        (yyval.interm.type).basicType = EbtSampler;
11436|    125|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D, true);
11437|    125|    }
11438|    125|#line 11439 "MachineIndependent/glslang_tab.cpp"
11439|    125|    break;
11440|       |
11441|  2.34k|  case 527: /* type_specifier_nonarray: IIMAGE2DARRAY  */
  ------------------
  |  Branch (11441:3): [True: 2.34k, False: 15.2M]
  ------------------
11442|  2.34k|#line 3495 "MachineIndependent/glslang.y"
11443|  2.34k|                    {
11444|  2.34k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  2.34k|#define parseContext (*pParseContext)
  ------------------
11445|  2.34k|        (yyval.interm.type).basicType = EbtSampler;
11446|  2.34k|        (yyval.interm.type).sampler.setImage(EbtInt, Esd2D, true);
11447|  2.34k|    }
11448|  2.34k|#line 11449 "MachineIndependent/glslang_tab.cpp"
11449|  2.34k|    break;
11450|       |
11451|  2.34k|  case 528: /* type_specifier_nonarray: UIMAGE2DARRAY  */
  ------------------
  |  Branch (11451:3): [True: 2.34k, False: 15.2M]
  ------------------
11452|  2.34k|#line 3500 "MachineIndependent/glslang.y"
11453|  2.34k|                    {
11454|  2.34k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  2.34k|#define parseContext (*pParseContext)
  ------------------
11455|  2.34k|        (yyval.interm.type).basicType = EbtSampler;
11456|  2.34k|        (yyval.interm.type).sampler.setImage(EbtUint, Esd2D, true);
11457|  2.34k|    }
11458|  2.34k|#line 11459 "MachineIndependent/glslang_tab.cpp"
11459|  2.34k|    break;
11460|       |
11461|    353|  case 529: /* type_specifier_nonarray: IMAGECUBEARRAY  */
  ------------------
  |  Branch (11461:3): [True: 353, False: 15.2M]
  ------------------
11462|    353|#line 3505 "MachineIndependent/glslang.y"
11463|    353|                     {
11464|    353|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    353|#define parseContext (*pParseContext)
  ------------------
11465|    353|        (yyval.interm.type).basicType = EbtSampler;
11466|    353|        (yyval.interm.type).sampler.setImage(EbtFloat, EsdCube, true);
11467|    353|    }
11468|    353|#line 11469 "MachineIndependent/glslang_tab.cpp"
11469|    353|    break;
11470|       |
11471|    125|  case 530: /* type_specifier_nonarray: F16IMAGECUBEARRAY  */
  ------------------
  |  Branch (11471:3): [True: 125, False: 15.2M]
  ------------------
11472|    125|#line 3510 "MachineIndependent/glslang.y"
11473|    125|                        {
11474|    125|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    125|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    125|#define parseContext (*pParseContext)
  ------------------
11475|    125|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    125|#define parseContext (*pParseContext)
  ------------------
11476|    125|        (yyval.interm.type).basicType = EbtSampler;
11477|    125|        (yyval.interm.type).sampler.setImage(EbtFloat16, EsdCube, true);
11478|    125|    }
11479|    125|#line 11480 "MachineIndependent/glslang_tab.cpp"
11480|    125|    break;
11481|       |
11482|  2.34k|  case 531: /* type_specifier_nonarray: IIMAGECUBEARRAY  */
  ------------------
  |  Branch (11482:3): [True: 2.34k, False: 15.2M]
  ------------------
11483|  2.34k|#line 3516 "MachineIndependent/glslang.y"
11484|  2.34k|                      {
11485|  2.34k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  2.34k|#define parseContext (*pParseContext)
  ------------------
11486|  2.34k|        (yyval.interm.type).basicType = EbtSampler;
11487|  2.34k|        (yyval.interm.type).sampler.setImage(EbtInt, EsdCube, true);
11488|  2.34k|    }
11489|  2.34k|#line 11490 "MachineIndependent/glslang_tab.cpp"
11490|  2.34k|    break;
11491|       |
11492|  2.34k|  case 532: /* type_specifier_nonarray: UIMAGECUBEARRAY  */
  ------------------
  |  Branch (11492:3): [True: 2.34k, False: 15.2M]
  ------------------
11493|  2.34k|#line 3521 "MachineIndependent/glslang.y"
11494|  2.34k|                      {
11495|  2.34k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  2.34k|#define parseContext (*pParseContext)
  ------------------
11496|  2.34k|        (yyval.interm.type).basicType = EbtSampler;
11497|  2.34k|        (yyval.interm.type).sampler.setImage(EbtUint, EsdCube, true);
11498|  2.34k|    }
11499|  2.34k|#line 11500 "MachineIndependent/glslang_tab.cpp"
11500|  2.34k|    break;
11501|       |
11502|    343|  case 533: /* type_specifier_nonarray: IMAGE2DMS  */
  ------------------
  |  Branch (11502:3): [True: 343, False: 15.2M]
  ------------------
11503|    343|#line 3526 "MachineIndependent/glslang.y"
11504|    343|                {
11505|    343|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    343|#define parseContext (*pParseContext)
  ------------------
11506|    343|        (yyval.interm.type).basicType = EbtSampler;
11507|    343|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd2D, false, false, true);
11508|    343|    }
11509|    343|#line 11510 "MachineIndependent/glslang_tab.cpp"
11510|    343|    break;
11511|       |
11512|    115|  case 534: /* type_specifier_nonarray: F16IMAGE2DMS  */
  ------------------
  |  Branch (11512:3): [True: 115, False: 15.2M]
  ------------------
11513|    115|#line 3531 "MachineIndependent/glslang.y"
11514|    115|                   {
11515|    115|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    115|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    115|#define parseContext (*pParseContext)
  ------------------
11516|    115|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    115|#define parseContext (*pParseContext)
  ------------------
11517|    115|        (yyval.interm.type).basicType = EbtSampler;
11518|    115|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D, false, false, true);
11519|    115|    }
11520|    115|#line 11521 "MachineIndependent/glslang_tab.cpp"
11521|    115|    break;
11522|       |
11523|  2.33k|  case 535: /* type_specifier_nonarray: IIMAGE2DMS  */
  ------------------
  |  Branch (11523:3): [True: 2.33k, False: 15.2M]
  ------------------
11524|  2.33k|#line 3537 "MachineIndependent/glslang.y"
11525|  2.33k|                 {
11526|  2.33k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  2.33k|#define parseContext (*pParseContext)
  ------------------
11527|  2.33k|        (yyval.interm.type).basicType = EbtSampler;
11528|  2.33k|        (yyval.interm.type).sampler.setImage(EbtInt, Esd2D, false, false, true);
11529|  2.33k|    }
11530|  2.33k|#line 11531 "MachineIndependent/glslang_tab.cpp"
11531|  2.33k|    break;
11532|       |
11533|  2.33k|  case 536: /* type_specifier_nonarray: UIMAGE2DMS  */
  ------------------
  |  Branch (11533:3): [True: 2.33k, False: 15.2M]
  ------------------
11534|  2.33k|#line 3542 "MachineIndependent/glslang.y"
11535|  2.33k|                 {
11536|  2.33k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  2.33k|#define parseContext (*pParseContext)
  ------------------
11537|  2.33k|        (yyval.interm.type).basicType = EbtSampler;
11538|  2.33k|        (yyval.interm.type).sampler.setImage(EbtUint, Esd2D, false, false, true);
11539|  2.33k|    }
11540|  2.33k|#line 11541 "MachineIndependent/glslang_tab.cpp"
11541|  2.33k|    break;
11542|       |
11543|    343|  case 537: /* type_specifier_nonarray: IMAGE2DMSARRAY  */
  ------------------
  |  Branch (11543:3): [True: 343, False: 15.2M]
  ------------------
11544|    343|#line 3547 "MachineIndependent/glslang.y"
11545|    343|                     {
11546|    343|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    343|#define parseContext (*pParseContext)
  ------------------
11547|    343|        (yyval.interm.type).basicType = EbtSampler;
11548|    343|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd2D, true, false, true);
11549|    343|    }
11550|    343|#line 11551 "MachineIndependent/glslang_tab.cpp"
11551|    343|    break;
11552|       |
11553|    115|  case 538: /* type_specifier_nonarray: F16IMAGE2DMSARRAY  */
  ------------------
  |  Branch (11553:3): [True: 115, False: 15.2M]
  ------------------
11554|    115|#line 3552 "MachineIndependent/glslang.y"
11555|    115|                        {
11556|    115|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    115|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    115|#define parseContext (*pParseContext)
  ------------------
11557|    115|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    115|#define parseContext (*pParseContext)
  ------------------
11558|    115|        (yyval.interm.type).basicType = EbtSampler;
11559|    115|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D, true, false, true);
11560|    115|    }
11561|    115|#line 11562 "MachineIndependent/glslang_tab.cpp"
11562|    115|    break;
11563|       |
11564|  2.33k|  case 539: /* type_specifier_nonarray: IIMAGE2DMSARRAY  */
  ------------------
  |  Branch (11564:3): [True: 2.33k, False: 15.2M]
  ------------------
11565|  2.33k|#line 3558 "MachineIndependent/glslang.y"
11566|  2.33k|                      {
11567|  2.33k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  2.33k|#define parseContext (*pParseContext)
  ------------------
11568|  2.33k|        (yyval.interm.type).basicType = EbtSampler;
11569|  2.33k|        (yyval.interm.type).sampler.setImage(EbtInt, Esd2D, true, false, true);
11570|  2.33k|    }
11571|  2.33k|#line 11572 "MachineIndependent/glslang_tab.cpp"
11572|  2.33k|    break;
11573|       |
11574|  2.33k|  case 540: /* type_specifier_nonarray: UIMAGE2DMSARRAY  */
  ------------------
  |  Branch (11574:3): [True: 2.33k, False: 15.2M]
  ------------------
11575|  2.33k|#line 3563 "MachineIndependent/glslang.y"
11576|  2.33k|                      {
11577|  2.33k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  2.33k|#define parseContext (*pParseContext)
  ------------------
11578|  2.33k|        (yyval.interm.type).basicType = EbtSampler;
11579|  2.33k|        (yyval.interm.type).sampler.setImage(EbtUint, Esd2D, true, false, true);
11580|  2.33k|    }
11581|  2.33k|#line 11582 "MachineIndependent/glslang_tab.cpp"
11582|  2.33k|    break;
11583|       |
11584|    115|  case 541: /* type_specifier_nonarray: I64IMAGE1D  */
  ------------------
  |  Branch (11584:3): [True: 115, False: 15.2M]
  ------------------
11585|    115|#line 3568 "MachineIndependent/glslang.y"
11586|    115|                 {
11587|    115|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    115|#define parseContext (*pParseContext)
  ------------------
11588|    115|        (yyval.interm.type).basicType = EbtSampler;
11589|    115|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd1D);
11590|    115|    }
11591|    115|#line 11592 "MachineIndependent/glslang_tab.cpp"
11592|    115|    break;
11593|       |
11594|    115|  case 542: /* type_specifier_nonarray: U64IMAGE1D  */
  ------------------
  |  Branch (11594:3): [True: 115, False: 15.2M]
  ------------------
11595|    115|#line 3573 "MachineIndependent/glslang.y"
11596|    115|                 {
11597|    115|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    115|#define parseContext (*pParseContext)
  ------------------
11598|    115|        (yyval.interm.type).basicType = EbtSampler;
11599|    115|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd1D);
11600|    115|    }
11601|    115|#line 11602 "MachineIndependent/glslang_tab.cpp"
11602|    115|    break;
11603|       |
11604|    125|  case 543: /* type_specifier_nonarray: I64IMAGE2D  */
  ------------------
  |  Branch (11604:3): [True: 125, False: 15.2M]
  ------------------
11605|    125|#line 3578 "MachineIndependent/glslang.y"
11606|    125|                 {
11607|    125|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    125|#define parseContext (*pParseContext)
  ------------------
11608|    125|        (yyval.interm.type).basicType = EbtSampler;
11609|    125|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd2D);
11610|    125|    }
11611|    125|#line 11612 "MachineIndependent/glslang_tab.cpp"
11612|    125|    break;
11613|       |
11614|    125|  case 544: /* type_specifier_nonarray: U64IMAGE2D  */
  ------------------
  |  Branch (11614:3): [True: 125, False: 15.2M]
  ------------------
11615|    125|#line 3583 "MachineIndependent/glslang.y"
11616|    125|                 {
11617|    125|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    125|#define parseContext (*pParseContext)
  ------------------
11618|    125|        (yyval.interm.type).basicType = EbtSampler;
11619|    125|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd2D);
11620|    125|    }
11621|    125|#line 11622 "MachineIndependent/glslang_tab.cpp"
11622|    125|    break;
11623|       |
11624|    125|  case 545: /* type_specifier_nonarray: I64IMAGE3D  */
  ------------------
  |  Branch (11624:3): [True: 125, False: 15.2M]
  ------------------
11625|    125|#line 3588 "MachineIndependent/glslang.y"
11626|    125|                 {
11627|    125|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    125|#define parseContext (*pParseContext)
  ------------------
11628|    125|        (yyval.interm.type).basicType = EbtSampler;
11629|    125|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd3D);
11630|    125|    }
11631|    125|#line 11632 "MachineIndependent/glslang_tab.cpp"
11632|    125|    break;
11633|       |
11634|    125|  case 546: /* type_specifier_nonarray: U64IMAGE3D  */
  ------------------
  |  Branch (11634:3): [True: 125, False: 15.2M]
  ------------------
11635|    125|#line 3593 "MachineIndependent/glslang.y"
11636|    125|                 {
11637|    125|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    125|#define parseContext (*pParseContext)
  ------------------
11638|    125|        (yyval.interm.type).basicType = EbtSampler;
11639|    125|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd3D);
11640|    125|    }
11641|    125|#line 11642 "MachineIndependent/glslang_tab.cpp"
11642|    125|    break;
11643|       |
11644|    110|  case 547: /* type_specifier_nonarray: I64IMAGE2DRECT  */
  ------------------
  |  Branch (11644:3): [True: 110, False: 15.2M]
  ------------------
11645|    110|#line 3598 "MachineIndependent/glslang.y"
11646|    110|                     {
11647|    110|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    110|#define parseContext (*pParseContext)
  ------------------
11648|    110|        (yyval.interm.type).basicType = EbtSampler;
11649|    110|        (yyval.interm.type).sampler.setImage(EbtInt64, EsdRect);
11650|    110|    }
11651|    110|#line 11652 "MachineIndependent/glslang_tab.cpp"
11652|    110|    break;
11653|       |
11654|    110|  case 548: /* type_specifier_nonarray: U64IMAGE2DRECT  */
  ------------------
  |  Branch (11654:3): [True: 110, False: 15.2M]
  ------------------
11655|    110|#line 3603 "MachineIndependent/glslang.y"
11656|    110|                     {
11657|    110|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    110|#define parseContext (*pParseContext)
  ------------------
11658|    110|        (yyval.interm.type).basicType = EbtSampler;
11659|    110|        (yyval.interm.type).sampler.setImage(EbtUint64, EsdRect);
11660|    110|    }
11661|    110|#line 11662 "MachineIndependent/glslang_tab.cpp"
11662|    110|    break;
11663|       |
11664|    125|  case 549: /* type_specifier_nonarray: I64IMAGECUBE  */
  ------------------
  |  Branch (11664:3): [True: 125, False: 15.2M]
  ------------------
11665|    125|#line 3608 "MachineIndependent/glslang.y"
11666|    125|                   {
11667|    125|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    125|#define parseContext (*pParseContext)
  ------------------
11668|    125|        (yyval.interm.type).basicType = EbtSampler;
11669|    125|        (yyval.interm.type).sampler.setImage(EbtInt64, EsdCube);
11670|    125|    }
11671|    125|#line 11672 "MachineIndependent/glslang_tab.cpp"
11672|    125|    break;
11673|       |
11674|    125|  case 550: /* type_specifier_nonarray: U64IMAGECUBE  */
  ------------------
  |  Branch (11674:3): [True: 125, False: 15.2M]
  ------------------
11675|    125|#line 3613 "MachineIndependent/glslang.y"
11676|    125|                   {
11677|    125|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    125|#define parseContext (*pParseContext)
  ------------------
11678|    125|        (yyval.interm.type).basicType = EbtSampler;
11679|    125|        (yyval.interm.type).sampler.setImage(EbtUint64, EsdCube);
11680|    125|    }
11681|    125|#line 11682 "MachineIndependent/glslang_tab.cpp"
11682|    125|    break;
11683|       |
11684|    105|  case 551: /* type_specifier_nonarray: I64IMAGEBUFFER  */
  ------------------
  |  Branch (11684:3): [True: 105, False: 15.2M]
  ------------------
11685|    105|#line 3618 "MachineIndependent/glslang.y"
11686|    105|                     {
11687|    105|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    105|#define parseContext (*pParseContext)
  ------------------
11688|    105|        (yyval.interm.type).basicType = EbtSampler;
11689|    105|        (yyval.interm.type).sampler.setImage(EbtInt64, EsdBuffer);
11690|    105|    }
11691|    105|#line 11692 "MachineIndependent/glslang_tab.cpp"
11692|    105|    break;
11693|       |
11694|    105|  case 552: /* type_specifier_nonarray: U64IMAGEBUFFER  */
  ------------------
  |  Branch (11694:3): [True: 105, False: 15.2M]
  ------------------
11695|    105|#line 3623 "MachineIndependent/glslang.y"
11696|    105|                     {
11697|    105|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    105|#define parseContext (*pParseContext)
  ------------------
11698|    105|        (yyval.interm.type).basicType = EbtSampler;
11699|    105|        (yyval.interm.type).sampler.setImage(EbtUint64, EsdBuffer);
11700|    105|    }
11701|    105|#line 11702 "MachineIndependent/glslang_tab.cpp"
11702|    105|    break;
11703|       |
11704|    115|  case 553: /* type_specifier_nonarray: I64IMAGE1DARRAY  */
  ------------------
  |  Branch (11704:3): [True: 115, False: 15.2M]
  ------------------
11705|    115|#line 3628 "MachineIndependent/glslang.y"
11706|    115|                      {
11707|    115|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    115|#define parseContext (*pParseContext)
  ------------------
11708|    115|        (yyval.interm.type).basicType = EbtSampler;
11709|    115|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd1D, true);
11710|    115|    }
11711|    115|#line 11712 "MachineIndependent/glslang_tab.cpp"
11712|    115|    break;
11713|       |
11714|    115|  case 554: /* type_specifier_nonarray: U64IMAGE1DARRAY  */
  ------------------
  |  Branch (11714:3): [True: 115, False: 15.2M]
  ------------------
11715|    115|#line 3633 "MachineIndependent/glslang.y"
11716|    115|                      {
11717|    115|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    115|#define parseContext (*pParseContext)
  ------------------
11718|    115|        (yyval.interm.type).basicType = EbtSampler;
11719|    115|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd1D, true);
11720|    115|    }
11721|    115|#line 11722 "MachineIndependent/glslang_tab.cpp"
11722|    115|    break;
11723|       |
11724|    125|  case 555: /* type_specifier_nonarray: I64IMAGE2DARRAY  */
  ------------------
  |  Branch (11724:3): [True: 125, False: 15.2M]
  ------------------
11725|    125|#line 3638 "MachineIndependent/glslang.y"
11726|    125|                      {
11727|    125|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    125|#define parseContext (*pParseContext)
  ------------------
11728|    125|        (yyval.interm.type).basicType = EbtSampler;
11729|    125|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd2D, true);
11730|    125|    }
11731|    125|#line 11732 "MachineIndependent/glslang_tab.cpp"
11732|    125|    break;
11733|       |
11734|    125|  case 556: /* type_specifier_nonarray: U64IMAGE2DARRAY  */
  ------------------
  |  Branch (11734:3): [True: 125, False: 15.2M]
  ------------------
11735|    125|#line 3643 "MachineIndependent/glslang.y"
11736|    125|                      {
11737|    125|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    125|#define parseContext (*pParseContext)
  ------------------
11738|    125|        (yyval.interm.type).basicType = EbtSampler;
11739|    125|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd2D, true);
11740|    125|    }
11741|    125|#line 11742 "MachineIndependent/glslang_tab.cpp"
11742|    125|    break;
11743|       |
11744|    125|  case 557: /* type_specifier_nonarray: I64IMAGECUBEARRAY  */
  ------------------
  |  Branch (11744:3): [True: 125, False: 15.2M]
  ------------------
11745|    125|#line 3648 "MachineIndependent/glslang.y"
11746|    125|                        {
11747|    125|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    125|#define parseContext (*pParseContext)
  ------------------
11748|    125|        (yyval.interm.type).basicType = EbtSampler;
11749|    125|        (yyval.interm.type).sampler.setImage(EbtInt64, EsdCube, true);
11750|    125|    }
11751|    125|#line 11752 "MachineIndependent/glslang_tab.cpp"
11752|    125|    break;
11753|       |
11754|    125|  case 558: /* type_specifier_nonarray: U64IMAGECUBEARRAY  */
  ------------------
  |  Branch (11754:3): [True: 125, False: 15.2M]
  ------------------
11755|    125|#line 3653 "MachineIndependent/glslang.y"
11756|    125|                        {
11757|    125|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    125|#define parseContext (*pParseContext)
  ------------------
11758|    125|        (yyval.interm.type).basicType = EbtSampler;
11759|    125|        (yyval.interm.type).sampler.setImage(EbtUint64, EsdCube, true);
11760|    125|    }
11761|    125|#line 11762 "MachineIndependent/glslang_tab.cpp"
11762|    125|    break;
11763|       |
11764|    115|  case 559: /* type_specifier_nonarray: I64IMAGE2DMS  */
  ------------------
  |  Branch (11764:3): [True: 115, False: 15.2M]
  ------------------
11765|    115|#line 3658 "MachineIndependent/glslang.y"
11766|    115|                   {
11767|    115|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    115|#define parseContext (*pParseContext)
  ------------------
11768|    115|        (yyval.interm.type).basicType = EbtSampler;
11769|    115|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd2D, false, false, true);
11770|    115|    }
11771|    115|#line 11772 "MachineIndependent/glslang_tab.cpp"
11772|    115|    break;
11773|       |
11774|    115|  case 560: /* type_specifier_nonarray: U64IMAGE2DMS  */
  ------------------
  |  Branch (11774:3): [True: 115, False: 15.2M]
  ------------------
11775|    115|#line 3663 "MachineIndependent/glslang.y"
11776|    115|                   {
11777|    115|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    115|#define parseContext (*pParseContext)
  ------------------
11778|    115|        (yyval.interm.type).basicType = EbtSampler;
11779|    115|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd2D, false, false, true);
11780|    115|    }
11781|    115|#line 11782 "MachineIndependent/glslang_tab.cpp"
11782|    115|    break;
11783|       |
11784|    115|  case 561: /* type_specifier_nonarray: I64IMAGE2DMSARRAY  */
  ------------------
  |  Branch (11784:3): [True: 115, False: 15.2M]
  ------------------
11785|    115|#line 3668 "MachineIndependent/glslang.y"
11786|    115|                        {
11787|    115|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    115|#define parseContext (*pParseContext)
  ------------------
11788|    115|        (yyval.interm.type).basicType = EbtSampler;
11789|    115|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd2D, true, false, true);
11790|    115|    }
11791|    115|#line 11792 "MachineIndependent/glslang_tab.cpp"
11792|    115|    break;
11793|       |
11794|    115|  case 562: /* type_specifier_nonarray: U64IMAGE2DMSARRAY  */
  ------------------
  |  Branch (11794:3): [True: 115, False: 15.2M]
  ------------------
11795|    115|#line 3673 "MachineIndependent/glslang.y"
11796|    115|                        {
11797|    115|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    115|#define parseContext (*pParseContext)
  ------------------
11798|    115|        (yyval.interm.type).basicType = EbtSampler;
11799|    115|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd2D, true, false, true);
11800|    115|    }
11801|    115|#line 11802 "MachineIndependent/glslang_tab.cpp"
11802|    115|    break;
11803|       |
11804|      0|  case 563: /* type_specifier_nonarray: SAMPLEREXTERNALOES  */
  ------------------
  |  Branch (11804:3): [True: 0, False: 15.2M]
  ------------------
11805|      0|#line 3678 "MachineIndependent/glslang.y"
11806|      0|                         {  // GL_OES_EGL_image_external
11807|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
11808|      0|        (yyval.interm.type).basicType = EbtSampler;
11809|      0|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D);
11810|      0|        (yyval.interm.type).sampler.external = true;
11811|      0|    }
11812|      0|#line 11813 "MachineIndependent/glslang_tab.cpp"
11813|      0|    break;
11814|       |
11815|      0|  case 564: /* type_specifier_nonarray: SAMPLEREXTERNAL2DY2YEXT  */
  ------------------
  |  Branch (11815:3): [True: 0, False: 15.2M]
  ------------------
11816|      0|#line 3684 "MachineIndependent/glslang.y"
11817|      0|                              { // GL_EXT_YUV_target
11818|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
11819|      0|        (yyval.interm.type).basicType = EbtSampler;
11820|      0|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D);
11821|      0|        (yyval.interm.type).sampler.yuv = true;
11822|      0|    }
11823|      0|#line 11824 "MachineIndependent/glslang_tab.cpp"
11824|      0|    break;
11825|       |
11826|    248|  case 565: /* type_specifier_nonarray: ATTACHMENTEXT  */
  ------------------
  |  Branch (11826:3): [True: 248, False: 15.2M]
  ------------------
11827|    248|#line 3690 "MachineIndependent/glslang.y"
11828|    248|                    {
11829|    248|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "attachmentEXT input");
  ------------------
  |  |  781|    248|#define parseContext (*pParseContext)
  ------------------
11830|    248|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    248|#define parseContext (*pParseContext)
  ------------------
11831|    248|        (yyval.interm.type).basicType = EbtSampler;
11832|    248|        (yyval.interm.type).sampler.setAttachmentEXT(EbtFloat);
11833|    248|    }
11834|    248|#line 11835 "MachineIndependent/glslang_tab.cpp"
11835|    248|    break;
11836|       |
11837|    248|  case 566: /* type_specifier_nonarray: IATTACHMENTEXT  */
  ------------------
  |  Branch (11837:3): [True: 248, False: 15.2M]
  ------------------
11838|    248|#line 3696 "MachineIndependent/glslang.y"
11839|    248|                     {
11840|    248|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "attachmentEXT input");
  ------------------
  |  |  781|    248|#define parseContext (*pParseContext)
  ------------------
11841|    248|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    248|#define parseContext (*pParseContext)
  ------------------
11842|    248|        (yyval.interm.type).basicType = EbtSampler;
11843|    248|        (yyval.interm.type).sampler.setAttachmentEXT(EbtInt);
11844|    248|    }
11845|    248|#line 11846 "MachineIndependent/glslang_tab.cpp"
11846|    248|    break;
11847|       |
11848|    248|  case 567: /* type_specifier_nonarray: UATTACHMENTEXT  */
  ------------------
  |  Branch (11848:3): [True: 248, False: 15.2M]
  ------------------
11849|    248|#line 3702 "MachineIndependent/glslang.y"
11850|    248|                     {
11851|    248|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "attachmentEXT input");
  ------------------
  |  |  781|    248|#define parseContext (*pParseContext)
  ------------------
11852|    248|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    248|#define parseContext (*pParseContext)
  ------------------
11853|    248|        (yyval.interm.type).basicType = EbtSampler;
11854|    248|        (yyval.interm.type).sampler.setAttachmentEXT(EbtUint);
11855|    248|    }
11856|    248|#line 11857 "MachineIndependent/glslang_tab.cpp"
11857|    248|    break;
11858|       |
11859|    130|  case 568: /* type_specifier_nonarray: SUBPASSINPUT  */
  ------------------
  |  Branch (11859:3): [True: 130, False: 15.2M]
  ------------------
11860|    130|#line 3708 "MachineIndependent/glslang.y"
11861|    130|                   {
11862|    130|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  781|    130|#define parseContext (*pParseContext)
  ------------------
11863|    130|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    130|#define parseContext (*pParseContext)
  ------------------
11864|    130|        (yyval.interm.type).basicType = EbtSampler;
11865|    130|        (yyval.interm.type).sampler.setSubpass(EbtFloat);
11866|    130|    }
11867|    130|#line 11868 "MachineIndependent/glslang_tab.cpp"
11868|    130|    break;
11869|       |
11870|    154|  case 569: /* type_specifier_nonarray: SUBPASSINPUTMS  */
  ------------------
  |  Branch (11870:3): [True: 154, False: 15.2M]
  ------------------
11871|    154|#line 3714 "MachineIndependent/glslang.y"
11872|    154|                     {
11873|    154|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  781|    154|#define parseContext (*pParseContext)
  ------------------
11874|    154|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    154|#define parseContext (*pParseContext)
  ------------------
11875|    154|        (yyval.interm.type).basicType = EbtSampler;
11876|    154|        (yyval.interm.type).sampler.setSubpass(EbtFloat, true);
11877|    154|    }
11878|    154|#line 11879 "MachineIndependent/glslang_tab.cpp"
11879|    154|    break;
11880|       |
11881|     12|  case 570: /* type_specifier_nonarray: F16SUBPASSINPUT  */
  ------------------
  |  Branch (11881:3): [True: 12, False: 15.2M]
  ------------------
11882|     12|#line 3720 "MachineIndependent/glslang.y"
11883|     12|                      {
11884|     12|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float subpass input", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     12|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float subpass input", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     12|#define parseContext (*pParseContext)
  ------------------
11885|     12|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  781|     12|#define parseContext (*pParseContext)
  ------------------
11886|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     12|#define parseContext (*pParseContext)
  ------------------
11887|     12|        (yyval.interm.type).basicType = EbtSampler;
11888|     12|        (yyval.interm.type).sampler.setSubpass(EbtFloat16);
11889|     12|    }
11890|     12|#line 11891 "MachineIndependent/glslang_tab.cpp"
11891|     12|    break;
11892|       |
11893|     12|  case 571: /* type_specifier_nonarray: F16SUBPASSINPUTMS  */
  ------------------
  |  Branch (11893:3): [True: 12, False: 15.2M]
  ------------------
11894|     12|#line 3727 "MachineIndependent/glslang.y"
11895|     12|                        {
11896|     12|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float subpass input", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     12|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float subpass input", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|     12|#define parseContext (*pParseContext)
  ------------------
11897|     12|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  781|     12|#define parseContext (*pParseContext)
  ------------------
11898|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     12|#define parseContext (*pParseContext)
  ------------------
11899|     12|        (yyval.interm.type).basicType = EbtSampler;
11900|     12|        (yyval.interm.type).sampler.setSubpass(EbtFloat16, true);
11901|     12|    }
11902|     12|#line 11903 "MachineIndependent/glslang_tab.cpp"
11903|     12|    break;
11904|       |
11905|    124|  case 572: /* type_specifier_nonarray: ISUBPASSINPUT  */
  ------------------
  |  Branch (11905:3): [True: 124, False: 15.2M]
  ------------------
11906|    124|#line 3734 "MachineIndependent/glslang.y"
11907|    124|                    {
11908|    124|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  781|    124|#define parseContext (*pParseContext)
  ------------------
11909|    124|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    124|#define parseContext (*pParseContext)
  ------------------
11910|    124|        (yyval.interm.type).basicType = EbtSampler;
11911|    124|        (yyval.interm.type).sampler.setSubpass(EbtInt);
11912|    124|    }
11913|    124|#line 11914 "MachineIndependent/glslang_tab.cpp"
11914|    124|    break;
11915|       |
11916|    148|  case 573: /* type_specifier_nonarray: ISUBPASSINPUTMS  */
  ------------------
  |  Branch (11916:3): [True: 148, False: 15.2M]
  ------------------
11917|    148|#line 3740 "MachineIndependent/glslang.y"
11918|    148|                      {
11919|    148|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  781|    148|#define parseContext (*pParseContext)
  ------------------
11920|    148|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    148|#define parseContext (*pParseContext)
  ------------------
11921|    148|        (yyval.interm.type).basicType = EbtSampler;
11922|    148|        (yyval.interm.type).sampler.setSubpass(EbtInt, true);
11923|    148|    }
11924|    148|#line 11925 "MachineIndependent/glslang_tab.cpp"
11925|    148|    break;
11926|       |
11927|    124|  case 574: /* type_specifier_nonarray: USUBPASSINPUT  */
  ------------------
  |  Branch (11927:3): [True: 124, False: 15.2M]
  ------------------
11928|    124|#line 3746 "MachineIndependent/glslang.y"
11929|    124|                    {
11930|    124|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  781|    124|#define parseContext (*pParseContext)
  ------------------
11931|    124|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    124|#define parseContext (*pParseContext)
  ------------------
11932|    124|        (yyval.interm.type).basicType = EbtSampler;
11933|    124|        (yyval.interm.type).sampler.setSubpass(EbtUint);
11934|    124|    }
11935|    124|#line 11936 "MachineIndependent/glslang_tab.cpp"
11936|    124|    break;
11937|       |
11938|    148|  case 575: /* type_specifier_nonarray: USUBPASSINPUTMS  */
  ------------------
  |  Branch (11938:3): [True: 148, False: 15.2M]
  ------------------
11939|    148|#line 3752 "MachineIndependent/glslang.y"
11940|    148|                      {
11941|    148|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  781|    148|#define parseContext (*pParseContext)
  ------------------
11942|    148|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    148|#define parseContext (*pParseContext)
  ------------------
11943|    148|        (yyval.interm.type).basicType = EbtSampler;
11944|    148|        (yyval.interm.type).sampler.setSubpass(EbtUint, true);
11945|    148|    }
11946|    148|#line 11947 "MachineIndependent/glslang_tab.cpp"
11947|    148|    break;
11948|       |
11949|    252|  case 576: /* type_specifier_nonarray: FCOOPMATNV  */
  ------------------
  |  Branch (11949:3): [True: 252, False: 15.2M]
  ------------------
11950|    252|#line 3758 "MachineIndependent/glslang.y"
11951|    252|                 {
11952|    252|        parseContext.fcoopmatCheckNV((yyvsp[0].lex).loc, "fcoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    252|#define parseContext (*pParseContext)
  ------------------
                      parseContext.fcoopmatCheckNV((yyvsp[0].lex).loc, "fcoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    252|#define parseContext (*pParseContext)
  ------------------
11953|    252|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    252|#define parseContext (*pParseContext)
  ------------------
11954|    252|        (yyval.interm.type).basicType = EbtFloat;
11955|    252|        (yyval.interm.type).coopmatNV = true;
11956|    252|        (yyval.interm.type).coopmatKHR = false;
11957|    252|    }
11958|    252|#line 11959 "MachineIndependent/glslang_tab.cpp"
11959|    252|    break;
11960|       |
11961|    336|  case 577: /* type_specifier_nonarray: ICOOPMATNV  */
  ------------------
  |  Branch (11961:3): [True: 336, False: 15.2M]
  ------------------
11962|    336|#line 3765 "MachineIndependent/glslang.y"
11963|    336|                 {
11964|    336|        parseContext.intcoopmatCheckNV((yyvsp[0].lex).loc, "icoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    336|#define parseContext (*pParseContext)
  ------------------
                      parseContext.intcoopmatCheckNV((yyvsp[0].lex).loc, "icoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    336|#define parseContext (*pParseContext)
  ------------------
11965|    336|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    336|#define parseContext (*pParseContext)
  ------------------
11966|    336|        (yyval.interm.type).basicType = EbtInt;
11967|    336|        (yyval.interm.type).coopmatNV = true;
11968|    336|        (yyval.interm.type).coopmatKHR = false;
11969|    336|    }
11970|    336|#line 11971 "MachineIndependent/glslang_tab.cpp"
11971|    336|    break;
11972|       |
11973|    336|  case 578: /* type_specifier_nonarray: UCOOPMATNV  */
  ------------------
  |  Branch (11973:3): [True: 336, False: 15.2M]
  ------------------
11974|    336|#line 3772 "MachineIndependent/glslang.y"
11975|    336|                 {
11976|    336|        parseContext.intcoopmatCheckNV((yyvsp[0].lex).loc, "ucoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    336|#define parseContext (*pParseContext)
  ------------------
                      parseContext.intcoopmatCheckNV((yyvsp[0].lex).loc, "ucoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    336|#define parseContext (*pParseContext)
  ------------------
11977|    336|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    336|#define parseContext (*pParseContext)
  ------------------
11978|    336|        (yyval.interm.type).basicType = EbtUint;
11979|    336|        (yyval.interm.type).coopmatNV = true;
11980|    336|        (yyval.interm.type).coopmatKHR = false;
11981|    336|    }
11982|    336|#line 11983 "MachineIndependent/glslang_tab.cpp"
11983|    336|    break;
11984|       |
11985|  1.06k|  case 579: /* type_specifier_nonarray: COOPMAT  */
  ------------------
  |  Branch (11985:3): [True: 1.06k, False: 15.2M]
  ------------------
11986|  1.06k|#line 3779 "MachineIndependent/glslang.y"
11987|  1.06k|              {
11988|  1.06k|        parseContext.coopmatCheck((yyvsp[0].lex).loc, "coopmat", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  1.06k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.coopmatCheck((yyvsp[0].lex).loc, "coopmat", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  1.06k|#define parseContext (*pParseContext)
  ------------------
11989|  1.06k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  1.06k|#define parseContext (*pParseContext)
  ------------------
11990|  1.06k|        (yyval.interm.type).basicType = EbtCoopmat;
11991|  1.06k|        (yyval.interm.type).coopmatNV = false;
11992|  1.06k|        (yyval.interm.type).coopmatKHR = true;
11993|  1.06k|    }
11994|  1.06k|#line 11995 "MachineIndependent/glslang_tab.cpp"
11995|  1.06k|    break;
11996|       |
11997|    300|  case 580: /* type_specifier_nonarray: TENSORLAYOUTNV  */
  ------------------
  |  Branch (11997:3): [True: 300, False: 15.2M]
  ------------------
11998|    300|#line 3786 "MachineIndependent/glslang.y"
11999|    300|                     {
12000|    300|        parseContext.tensorLayoutViewCheck((yyvsp[0].lex).loc, "tensorLayoutNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    300|#define parseContext (*pParseContext)
  ------------------
                      parseContext.tensorLayoutViewCheck((yyvsp[0].lex).loc, "tensorLayoutNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    300|#define parseContext (*pParseContext)
  ------------------
12001|    300|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    300|#define parseContext (*pParseContext)
  ------------------
12002|    300|        (yyval.interm.type).basicType = EbtTensorLayoutNV;
12003|    300|    }
12004|    300|#line 12005 "MachineIndependent/glslang_tab.cpp"
12005|    300|    break;
12006|       |
12007|    185|  case 581: /* type_specifier_nonarray: TENSORVIEWNV  */
  ------------------
  |  Branch (12007:3): [True: 185, False: 15.2M]
  ------------------
12008|    185|#line 3791 "MachineIndependent/glslang.y"
12009|    185|                   {
12010|    185|        parseContext.tensorLayoutViewCheck((yyvsp[0].lex).loc, "tensorViewNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    185|#define parseContext (*pParseContext)
  ------------------
                      parseContext.tensorLayoutViewCheck((yyvsp[0].lex).loc, "tensorViewNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    185|#define parseContext (*pParseContext)
  ------------------
12011|    185|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    185|#define parseContext (*pParseContext)
  ------------------
12012|    185|        (yyval.interm.type).basicType = EbtTensorViewNV;
12013|    185|    }
12014|    185|#line 12015 "MachineIndependent/glslang_tab.cpp"
12015|    185|    break;
12016|       |
12017|     65|  case 582: /* type_specifier_nonarray: FUNCTION  */
  ------------------
  |  Branch (12017:3): [True: 65, False: 15.2M]
  ------------------
12018|     65|#line 3796 "MachineIndependent/glslang.y"
12019|     65|               {
12020|     65|        (yyval.interm.type).init((yyvsp[0].lex).loc);
12021|     65|        (yyval.interm.type).basicType = EbtFunction;
12022|     65|    }
12023|     65|#line 12024 "MachineIndependent/glslang_tab.cpp"
12024|     65|    break;
12025|       |
12026|  3.97k|  case 583: /* type_specifier_nonarray: COOPVECNV  */
  ------------------
  |  Branch (12026:3): [True: 3.97k, False: 15.2M]
  ------------------
12027|  3.97k|#line 3800 "MachineIndependent/glslang.y"
12028|  3.97k|                {
12029|  3.97k|        parseContext.coopvecCheck((yyvsp[0].lex).loc, "coopvecNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  3.97k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.coopvecCheck((yyvsp[0].lex).loc, "coopvecNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  3.97k|#define parseContext (*pParseContext)
  ------------------
12030|  3.97k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  3.97k|#define parseContext (*pParseContext)
  ------------------
12031|  3.97k|        (yyval.interm.type).basicType = EbtCoopvecNV;
12032|  3.97k|        (yyval.interm.type).coopvecNV = true;
12033|  3.97k|    }
12034|  3.97k|#line 12035 "MachineIndependent/glslang_tab.cpp"
12035|  3.97k|    break;
12036|       |
12037|    305|  case 584: /* type_specifier_nonarray: TENSORARM  */
  ------------------
  |  Branch (12037:3): [True: 305, False: 15.2M]
  ------------------
12038|    305|#line 3806 "MachineIndependent/glslang.y"
12039|    305|                {
12040|    305|        parseContext.tensorCheckARM((yyvsp[0].lex).loc, "tensorARM", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    305|#define parseContext (*pParseContext)
  ------------------
                      parseContext.tensorCheckARM((yyvsp[0].lex).loc, "tensorARM", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|    305|#define parseContext (*pParseContext)
  ------------------
12041|    305|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    305|#define parseContext (*pParseContext)
  ------------------
12042|    305|        (yyval.interm.type).tensorRankARM = 1; // placeholder value
12043|    305|        (yyval.interm.type).basicType = EbtTensorARM;
12044|    305|    }
12045|    305|#line 12046 "MachineIndependent/glslang_tab.cpp"
12046|    305|    break;
12047|       |
12048|  45.1k|  case 585: /* type_specifier_nonarray: VECTOR  */
  ------------------
  |  Branch (12048:3): [True: 45.1k, False: 15.1M]
  ------------------
12049|  45.1k|#line 3812 "MachineIndependent/glslang.y"
12050|  45.1k|             {
12051|  45.1k|        parseContext.longVectorCheck((yyvsp[0].lex).loc, "vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  45.1k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.longVectorCheck((yyvsp[0].lex).loc, "vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  781|  45.1k|#define parseContext (*pParseContext)
  ------------------
12052|  45.1k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  45.1k|#define parseContext (*pParseContext)
  ------------------
12053|  45.1k|        (yyval.interm.type).basicType = EbtLongVector;
12054|  45.1k|        (yyval.interm.type).longVector = true;
12055|  45.1k|    }
12056|  45.1k|#line 12057 "MachineIndependent/glslang_tab.cpp"
12057|  45.1k|    break;
12058|       |
12059|      0|  case 586: /* type_specifier_nonarray: spirv_type_specifier  */
  ------------------
  |  Branch (12059:3): [True: 0, False: 15.2M]
  ------------------
12060|      0|#line 3818 "MachineIndependent/glslang.y"
12061|      0|                           {
12062|      0|        parseContext.requireExtensions((yyvsp[0].interm.type).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V type specifier");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12063|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
12064|      0|    }
12065|      0|#line 12066 "MachineIndependent/glslang_tab.cpp"
12066|      0|    break;
12067|       |
12068|    113|  case 587: /* type_specifier_nonarray: HITOBJECTNV  */
  ------------------
  |  Branch (12068:3): [True: 113, False: 15.2M]
  ------------------
12069|    113|#line 3822 "MachineIndependent/glslang.y"
12070|    113|                  {
12071|    113|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    113|#define parseContext (*pParseContext)
  ------------------
12072|    113|       (yyval.interm.type).basicType = EbtHitObjectNV;
12073|    113|    }
12074|    113|#line 12075 "MachineIndependent/glslang_tab.cpp"
12075|    113|    break;
12076|       |
12077|    101|  case 588: /* type_specifier_nonarray: HITOBJECTEXT  */
  ------------------
  |  Branch (12077:3): [True: 101, False: 15.2M]
  ------------------
12078|    101|#line 3826 "MachineIndependent/glslang.y"
12079|    101|                   {
12080|    101|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    101|#define parseContext (*pParseContext)
  ------------------
12081|    101|       (yyval.interm.type).basicType = EbtHitObjectEXT;
12082|    101|    }
12083|    101|#line 12084 "MachineIndependent/glslang_tab.cpp"
12084|    101|    break;
12085|       |
12086|     10|  case 589: /* type_specifier_nonarray: struct_specifier  */
  ------------------
  |  Branch (12086:3): [True: 10, False: 15.2M]
  ------------------
12087|     10|#line 3830 "MachineIndependent/glslang.y"
12088|     10|                       {
12089|     10|        (yyval.interm.type) = (yyvsp[0].interm.type);
12090|     10|        (yyval.interm.type).qualifier.storage = parseContext.symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary;
  ------------------
  |  |  781|     10|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12090:49): [True: 10, False: 0]
  ------------------
12091|     10|        parseContext.structTypeCheck((yyval.interm.type).loc, (yyval.interm.type));
  ------------------
  |  |  781|     10|#define parseContext (*pParseContext)
  ------------------
12092|     10|    }
12093|     10|#line 12094 "MachineIndependent/glslang_tab.cpp"
12094|     10|    break;
12095|       |
12096|     60|  case 590: /* type_specifier_nonarray: TYPE_NAME  */
  ------------------
  |  Branch (12096:3): [True: 60, False: 15.2M]
  ------------------
12097|     60|#line 3835 "MachineIndependent/glslang.y"
12098|     60|                {
12099|       |        //
12100|       |        // This is for user defined type names.  The lexical phase looked up the
12101|       |        // type.
12102|       |        //
12103|     60|        if (const TVariable* variable = ((yyvsp[0].lex).symbol)->getAsVariable()) {
  ------------------
  |  Branch (12103:30): [True: 60, False: 0]
  ------------------
12104|     60|            const TType& structure = variable->getType();
12105|     60|            (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|     60|#define parseContext (*pParseContext)
  ------------------
12106|     60|            (yyval.interm.type).basicType = EbtStruct;
12107|     60|            (yyval.interm.type).userDef = &structure;
12108|     60|            if (structure.getQualifier().isBufferType())
  ------------------
  |  Branch (12108:17): [True: 0, False: 60]
  ------------------
12109|      0|                (yyval.interm.type).qualifier = structure.getQualifier();
12110|     60|        } else
12111|      0|            parseContext.error((yyvsp[0].lex).loc, "expected type name", (yyvsp[0].lex).string->c_str(), "");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12112|     60|    }
12113|     60|#line 12114 "MachineIndependent/glslang_tab.cpp"
12114|     60|    break;
12115|       |
12116|   104k|  case 591: /* precision_qualifier: HIGH_PRECISION  */
  ------------------
  |  Branch (12116:3): [True: 104k, False: 15.1M]
  ------------------
12117|   104k|#line 3853 "MachineIndependent/glslang.y"
12118|   104k|                     {
12119|   104k|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "highp precision qualifier");
  ------------------
  |  |  781|   104k|#define parseContext (*pParseContext)
  ------------------
12120|   104k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|   104k|#define parseContext (*pParseContext)
  ------------------
12121|   104k|        parseContext.handlePrecisionQualifier((yyvsp[0].lex).loc, (yyval.interm.type).qualifier, EpqHigh);
  ------------------
  |  |  781|   104k|#define parseContext (*pParseContext)
  ------------------
12122|   104k|    }
12123|   104k|#line 12124 "MachineIndependent/glslang_tab.cpp"
12124|   104k|    break;
12125|       |
12126|  1.04k|  case 592: /* precision_qualifier: MEDIUM_PRECISION  */
  ------------------
  |  Branch (12126:3): [True: 1.04k, False: 15.2M]
  ------------------
12127|  1.04k|#line 3858 "MachineIndependent/glslang.y"
12128|  1.04k|                       {
12129|  1.04k|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "mediump precision qualifier");
  ------------------
  |  |  781|  1.04k|#define parseContext (*pParseContext)
  ------------------
12130|  1.04k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|  1.04k|#define parseContext (*pParseContext)
  ------------------
12131|  1.04k|        parseContext.handlePrecisionQualifier((yyvsp[0].lex).loc, (yyval.interm.type).qualifier, EpqMedium);
  ------------------
  |  |  781|  1.04k|#define parseContext (*pParseContext)
  ------------------
12132|  1.04k|    }
12133|  1.04k|#line 12134 "MachineIndependent/glslang_tab.cpp"
12134|  1.04k|    break;
12135|       |
12136|    330|  case 593: /* precision_qualifier: LOW_PRECISION  */
  ------------------
  |  Branch (12136:3): [True: 330, False: 15.2M]
  ------------------
12137|    330|#line 3863 "MachineIndependent/glslang.y"
12138|    330|                    {
12139|    330|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "lowp precision qualifier");
  ------------------
  |  |  781|    330|#define parseContext (*pParseContext)
  ------------------
12140|    330|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|    330|#define parseContext (*pParseContext)
  ------------------
12141|    330|        parseContext.handlePrecisionQualifier((yyvsp[0].lex).loc, (yyval.interm.type).qualifier, EpqLow);
  ------------------
  |  |  781|    330|#define parseContext (*pParseContext)
  ------------------
12142|    330|    }
12143|    330|#line 12144 "MachineIndependent/glslang_tab.cpp"
12144|    330|    break;
12145|       |
12146|     10|  case 594: /* $@3: %empty  */
  ------------------
  |  Branch (12146:3): [True: 10, False: 15.2M]
  ------------------
12147|     10|#line 3871 "MachineIndependent/glslang.y"
12148|     10|                                   { parseContext.nestedStructCheck((yyvsp[-2].lex).loc); }
  ------------------
  |  |  781|     10|#define parseContext (*pParseContext)
  ------------------
12149|     10|#line 12150 "MachineIndependent/glslang_tab.cpp"
12150|     10|    break;
12151|       |
12152|     10|  case 595: /* struct_specifier: STRUCT IDENTIFIER LEFT_BRACE $@3 struct_declaration_list RIGHT_BRACE  */
  ------------------
  |  Branch (12152:3): [True: 10, False: 15.2M]
  ------------------
12153|     10|#line 3871 "MachineIndependent/glslang.y"
12154|     10|                                                                                                                   {
12155|     10|        TType* structure = new TType((yyvsp[-1].interm.typeList), *(yyvsp[-4].lex).string);
12156|     10|        parseContext.structArrayCheck((yyvsp[-4].lex).loc, *structure);
  ------------------
  |  |  781|     10|#define parseContext (*pParseContext)
  ------------------
12157|       |
12158|     10|        TVariable* userTypeDef = new TVariable((yyvsp[-4].lex).string, *structure, true);
12159|     10|        if (! parseContext.symbolTable.insert(*userTypeDef))
  ------------------
  |  |  781|     10|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12159:13): [True: 0, False: 10]
  ------------------
12160|      0|            parseContext.error((yyvsp[-4].lex).loc, "redefinition", (yyvsp[-4].lex).string->c_str(), "struct");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12161|     10|        else if (parseContext.spvVersion.vulkanRelaxed
  ------------------
  |  |  781|     10|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12161:18): [True: 0, False: 10]
  ------------------
12162|      0|                 && structure->containsOpaque())
  ------------------
  |  Branch (12162:21): [True: 0, False: 0]
  ------------------
12163|      0|            parseContext.relaxedSymbols.push_back(structure->getTypeName());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12164|       |
12165|     10|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
12166|     10|        (yyval.interm.type).basicType = EbtStruct;
12167|     10|        (yyval.interm.type).userDef = structure;
12168|     10|        --parseContext.structNestingLevel;
  ------------------
  |  |  781|     10|#define parseContext (*pParseContext)
  ------------------
12169|     10|    }
12170|     10|#line 12171 "MachineIndependent/glslang_tab.cpp"
12171|     10|    break;
12172|       |
12173|      0|  case 596: /* $@4: %empty  */
  ------------------
  |  Branch (12173:3): [True: 0, False: 15.2M]
  ------------------
12174|      0|#line 3887 "MachineIndependent/glslang.y"
12175|      0|                        { parseContext.nestedStructCheck((yyvsp[-1].lex).loc); }
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12176|      0|#line 12177 "MachineIndependent/glslang_tab.cpp"
12177|      0|    break;
12178|       |
12179|      0|  case 597: /* struct_specifier: STRUCT LEFT_BRACE $@4 struct_declaration_list RIGHT_BRACE  */
  ------------------
  |  Branch (12179:3): [True: 0, False: 15.2M]
  ------------------
12180|      0|#line 3887 "MachineIndependent/glslang.y"
12181|      0|                                                                                                        {
12182|      0|        TType* structure = new TType((yyvsp[-1].interm.typeList), TString(""));
12183|      0|        (yyval.interm.type).init((yyvsp[-4].lex).loc);
12184|      0|        (yyval.interm.type).basicType = EbtStruct;
12185|      0|        (yyval.interm.type).userDef = structure;
12186|      0|        --parseContext.structNestingLevel;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12187|      0|    }
12188|      0|#line 12189 "MachineIndependent/glslang_tab.cpp"
12189|      0|    break;
12190|       |
12191|    115|  case 598: /* struct_declaration_list: struct_declaration  */
  ------------------
  |  Branch (12191:3): [True: 115, False: 15.2M]
  ------------------
12192|    115|#line 3897 "MachineIndependent/glslang.y"
12193|    115|                         {
12194|    115|        (yyval.interm.typeList) = (yyvsp[0].interm.typeList);
12195|    115|    }
12196|    115|#line 12197 "MachineIndependent/glslang_tab.cpp"
12197|    115|    break;
12198|       |
12199|    455|  case 599: /* struct_declaration_list: struct_declaration_list struct_declaration  */
  ------------------
  |  Branch (12199:3): [True: 455, False: 15.2M]
  ------------------
12200|    455|#line 3900 "MachineIndependent/glslang.y"
12201|    455|                                                 {
12202|    455|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
12203|    910|        for (unsigned int i = 0; i < (yyvsp[0].interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (12203:34): [True: 455, False: 455]
  ------------------
12204|  1.76k|            for (unsigned int j = 0; j < (yyval.interm.typeList)->size(); ++j) {
  ------------------
  |  Branch (12204:38): [True: 1.31k, False: 455]
  ------------------
12205|  1.31k|                if ((*(yyval.interm.typeList))[j].type->getFieldName() == (*(yyvsp[0].interm.typeList))[i].type->getFieldName())
  ------------------
  |  Branch (12205:21): [True: 0, False: 1.31k]
  ------------------
12206|      0|                    parseContext.error((*(yyvsp[0].interm.typeList))[i].loc, "duplicate member name:", "", (*(yyvsp[0].interm.typeList))[i].type->getFieldName().c_str());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12207|  1.31k|            }
12208|    455|            (yyval.interm.typeList)->push_back((*(yyvsp[0].interm.typeList))[i]);
12209|    455|        }
12210|    455|    }
12211|    455|#line 12212 "MachineIndependent/glslang_tab.cpp"
12212|    455|    break;
12213|       |
12214|    570|  case 600: /* struct_declaration: struct_declaration_no_inline_block  */
  ------------------
  |  Branch (12214:3): [True: 570, False: 15.2M]
  ------------------
12215|    570|#line 3913 "MachineIndependent/glslang.y"
12216|    570|                                         {
12217|    570|        (yyval.interm.typeList) = (yyvsp[0].interm.typeList);
12218|    570|    }
12219|    570|#line 12220 "MachineIndependent/glslang_tab.cpp"
12220|    570|    break;
12221|       |
12222|      0|  case 601: /* struct_declaration: block_heap_inner_structure struct_declarator_list SEMICOLON  */
  ------------------
  |  Branch (12222:3): [True: 0, False: 15.2M]
  ------------------
12223|      0|#line 3916 "MachineIndependent/glslang.y"
12224|      0|                                                                  {
12225|      0|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
12226|      0|        parseContext.voidErrorCheck((yyvsp[-2].interm.type).loc, (*(yyvsp[-1].interm.typeList))[0].type->getFieldName(), (yyvsp[-2].interm.type).basicType);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12227|      0|        parseContext.precisionQualifierCheck((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).basicType, (yyvsp[-2].interm.type).qualifier, (yyvsp[-2].interm.type).hasTypeParameter());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12228|       |
12229|      0|        for (unsigned int i = 0; i < (yyval.interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (12229:34): [True: 0, False: 0]
  ------------------
12230|      0|            TType type((yyvsp[-2].interm.type));
12231|      0|            type.setFieldName((*(yyval.interm.typeList))[i].type->getFieldName());
12232|      0|            type.transferArraySizes((*(yyval.interm.typeList))[i].type->getArraySizes());
12233|      0|            type.copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
12234|      0|            parseContext.arrayOfArrayVersionCheck((*(yyval.interm.typeList))[i].loc, type.getArraySizes());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12235|      0|            (*(yyval.interm.typeList))[i].type->shallowCopy(type);
12236|      0|        }
12237|      0|    }
12238|      0|#line 12239 "MachineIndependent/glslang_tab.cpp"
12239|      0|    break;
12240|       |
12241|      0|  case 602: /* $@5: %empty  */
  ------------------
  |  Branch (12241:3): [True: 0, False: 15.2M]
  ------------------
12242|      0|#line 3933 "MachineIndependent/glslang.y"
12243|      0|                                { parseContext.nestedBlockCheck((yyvsp[-1].interm.type).loc, true); }
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12244|      0|#line 12245 "MachineIndependent/glslang_tab.cpp"
12245|      0|    break;
12246|       |
12247|      0|  case 603: /* block_heap_inner_structure: type_qualifier LEFT_BRACE $@5 struct_declaration_no_inline_block_list RIGHT_BRACE  */
  ------------------
  |  Branch (12247:3): [True: 0, False: 15.2M]
  ------------------
12248|      0|#line 3933 "MachineIndependent/glslang.y"
12249|      0|                                                                                                                                     {
12250|      0|        --parseContext.blockNestingLevel;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12251|      0|        parseContext.globalQualifierFixCheck((yyvsp[-4].interm.type).loc, (yyvsp[-4].interm.type).qualifier);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12252|      0|        parseContext.checkNoShaderLayouts((yyvsp[-4].interm.type).loc, (yyvsp[-4].interm.type).shaderQualifiers);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12253|      0|        (yyval.interm.type).init((yyvsp[-4].interm.type).loc);
12254|      0|        TType* innerStructure = new TType((yyvsp[-1].interm.typeList), TString(""), (yyvsp[-4].interm.type).qualifier);
12255|      0|        if (! (yyvsp[-4].interm.type).qualifier.hasBufferReference())
  ------------------
  |  Branch (12255:13): [True: 0, False: 0]
  ------------------
12256|      0|            parseContext.error((yyvsp[-4].interm.type).loc, "only buffer_reference blocks can be declared inline inside a heap block", "", "");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12257|      0|        TType* referenceType = new TType(EbtReference, *innerStructure, TString(""));
12258|      0|        (yyval.interm.type).basicType = EbtReference;
12259|      0|        (yyval.interm.type).userDef = referenceType;
12260|      0|        (yyval.interm.type).qualifier.layoutDescriptorHeap = true;
12261|      0|    }
12262|      0|#line 12263 "MachineIndependent/glslang_tab.cpp"
12263|      0|    break;
12264|       |
12265|      0|  case 604: /* struct_declaration_no_inline_block_list: struct_declaration_no_inline_block  */
  ------------------
  |  Branch (12265:3): [True: 0, False: 15.2M]
  ------------------
12266|      0|#line 3949 "MachineIndependent/glslang.y"
12267|      0|                                         {
12268|      0|        (yyval.interm.typeList) = (yyvsp[0].interm.typeList);
12269|      0|    }
12270|      0|#line 12271 "MachineIndependent/glslang_tab.cpp"
12271|      0|    break;
12272|       |
12273|      0|  case 605: /* struct_declaration_no_inline_block_list: struct_declaration_no_inline_block_list struct_declaration_no_inline_block  */
  ------------------
  |  Branch (12273:3): [True: 0, False: 15.2M]
  ------------------
12274|      0|#line 3952 "MachineIndependent/glslang.y"
12275|      0|                                                                                 {
12276|      0|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
12277|      0|        for (unsigned int i = 0; i < (yyvsp[0].interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (12277:34): [True: 0, False: 0]
  ------------------
12278|      0|            for (unsigned int j = 0; j < (yyval.interm.typeList)->size(); ++j) {
  ------------------
  |  Branch (12278:38): [True: 0, False: 0]
  ------------------
12279|      0|                if ((*(yyval.interm.typeList))[j].type->getFieldName() == (*(yyvsp[0].interm.typeList))[i].type->getFieldName())
  ------------------
  |  Branch (12279:21): [True: 0, False: 0]
  ------------------
12280|      0|                    parseContext.error((*(yyvsp[0].interm.typeList))[i].loc, "duplicate member name:", "", (*(yyvsp[0].interm.typeList))[i].type->getFieldName().c_str());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12281|      0|            }
12282|      0|            (yyval.interm.typeList)->push_back((*(yyvsp[0].interm.typeList))[i]);
12283|      0|        }
12284|      0|    }
12285|      0|#line 12286 "MachineIndependent/glslang_tab.cpp"
12286|      0|    break;
12287|       |
12288|    531|  case 606: /* struct_declaration_no_inline_block: type_specifier struct_declarator_list SEMICOLON  */
  ------------------
  |  Branch (12288:3): [True: 531, False: 15.2M]
  ------------------
12289|    531|#line 3965 "MachineIndependent/glslang.y"
12290|    531|                                                      {
12291|    531|        if ((yyvsp[-2].interm.type).arraySizes) {
  ------------------
  |  Branch (12291:13): [True: 0, False: 531]
  ------------------
12292|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12293|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12294|      0|            if (parseContext.isEsProfile())
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12294:17): [True: 0, False: 0]
  ------------------
12295|      0|                parseContext.arraySizeRequiredCheck((yyvsp[-2].interm.type).loc, *(yyvsp[-2].interm.type).arraySizes);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12296|      0|        }
12297|       |
12298|    531|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
12299|       |
12300|    531|        parseContext.voidErrorCheck((yyvsp[-2].interm.type).loc, (*(yyvsp[-1].interm.typeList))[0].type->getFieldName(), (yyvsp[-2].interm.type).basicType);
  ------------------
  |  |  781|    531|#define parseContext (*pParseContext)
  ------------------
12301|    531|        parseContext.precisionQualifierCheck((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).basicType, (yyvsp[-2].interm.type).qualifier, (yyvsp[-2].interm.type).hasTypeParameter());
  ------------------
  |  |  781|    531|#define parseContext (*pParseContext)
  ------------------
12302|       |
12303|  1.06k|        for (unsigned int i = 0; i < (yyval.interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (12303:34): [True: 531, False: 531]
  ------------------
12304|    531|            TType type((yyvsp[-2].interm.type));
12305|    531|            type.setFieldName((*(yyval.interm.typeList))[i].type->getFieldName());
12306|    531|            type.transferArraySizes((*(yyval.interm.typeList))[i].type->getArraySizes());
12307|    531|            type.copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
12308|    531|            parseContext.arrayOfArrayVersionCheck((*(yyval.interm.typeList))[i].loc, type.getArraySizes());
  ------------------
  |  |  781|    531|#define parseContext (*pParseContext)
  ------------------
12309|    531|            (*(yyval.interm.typeList))[i].type->shallowCopy(type);
12310|    531|        }
12311|    531|    }
12312|    531|#line 12313 "MachineIndependent/glslang_tab.cpp"
12313|    531|    break;
12314|       |
12315|     39|  case 607: /* struct_declaration_no_inline_block: type_qualifier type_specifier struct_declarator_list SEMICOLON  */
  ------------------
  |  Branch (12315:3): [True: 39, False: 15.2M]
  ------------------
12316|     39|#line 3987 "MachineIndependent/glslang.y"
12317|     39|                                                                     {
12318|     39|        if ((yyvsp[-2].interm.type).arraySizes) {
  ------------------
  |  Branch (12318:13): [True: 0, False: 39]
  ------------------
12319|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12320|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12321|      0|            if (parseContext.isEsProfile())
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12321:17): [True: 0, False: 0]
  ------------------
12322|      0|                parseContext.arraySizeRequiredCheck((yyvsp[-2].interm.type).loc, *(yyvsp[-2].interm.type).arraySizes);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12323|      0|        }
12324|       |
12325|     39|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
12326|       |
12327|     39|        parseContext.memberQualifierCheck((yyvsp[-3].interm.type));
  ------------------
  |  |  781|     39|#define parseContext (*pParseContext)
  ------------------
12328|     39|        parseContext.voidErrorCheck((yyvsp[-2].interm.type).loc, (*(yyvsp[-1].interm.typeList))[0].type->getFieldName(), (yyvsp[-2].interm.type).basicType);
  ------------------
  |  |  781|     39|#define parseContext (*pParseContext)
  ------------------
12329|     39|        parseContext.mergeQualifiers((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).qualifier, (yyvsp[-3].interm.type).qualifier, true);
  ------------------
  |  |  781|     39|#define parseContext (*pParseContext)
  ------------------
12330|     39|        parseContext.precisionQualifierCheck((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).basicType, (yyvsp[-2].interm.type).qualifier, (yyvsp[-2].interm.type).hasTypeParameter());
  ------------------
  |  |  781|     39|#define parseContext (*pParseContext)
  ------------------
12331|       |
12332|     78|        for (unsigned int i = 0; i < (yyval.interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (12332:34): [True: 39, False: 39]
  ------------------
12333|     39|            TType type((yyvsp[-2].interm.type));
12334|     39|            type.setFieldName((*(yyval.interm.typeList))[i].type->getFieldName());
12335|     39|            type.transferArraySizes((*(yyval.interm.typeList))[i].type->getArraySizes());
12336|     39|            type.copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
12337|     39|            parseContext.arrayOfArrayVersionCheck((*(yyval.interm.typeList))[i].loc, type.getArraySizes());
  ------------------
  |  |  781|     39|#define parseContext (*pParseContext)
  ------------------
12338|     39|            (*(yyval.interm.typeList))[i].type->shallowCopy(type);
12339|     39|        }
12340|     39|    }
12341|     39|#line 12342 "MachineIndependent/glslang_tab.cpp"
12342|     39|    break;
12343|       |
12344|    570|  case 608: /* struct_declarator_list: struct_declarator  */
  ------------------
  |  Branch (12344:3): [True: 570, False: 15.2M]
  ------------------
12345|    570|#line 4014 "MachineIndependent/glslang.y"
12346|    570|                        {
12347|    570|        (yyval.interm.typeList) = new TTypeList;
12348|    570|        (yyval.interm.typeList)->push_back((yyvsp[0].interm.typeLine));
12349|    570|    }
12350|    570|#line 12351 "MachineIndependent/glslang_tab.cpp"
12351|    570|    break;
12352|       |
12353|      0|  case 609: /* struct_declarator_list: struct_declarator_list COMMA struct_declarator  */
  ------------------
  |  Branch (12353:3): [True: 0, False: 15.2M]
  ------------------
12354|      0|#line 4018 "MachineIndependent/glslang.y"
12355|      0|                                                     {
12356|      0|        (yyval.interm.typeList)->push_back((yyvsp[0].interm.typeLine));
12357|      0|    }
12358|      0|#line 12359 "MachineIndependent/glslang_tab.cpp"
12359|      0|    break;
12360|       |
12361|    303|  case 610: /* struct_declarator: IDENTIFIER  */
  ------------------
  |  Branch (12361:3): [True: 303, False: 15.2M]
  ------------------
12362|    303|#line 4024 "MachineIndependent/glslang.y"
12363|    303|                 {
12364|    303|        (yyval.interm.typeLine).type = new TType(EbtVoid);
12365|    303|        (yyval.interm.typeLine).loc = (yyvsp[0].lex).loc;
12366|    303|        (yyval.interm.typeLine).type->setFieldName(*(yyvsp[0].lex).string);
12367|    303|    }
12368|    303|#line 12369 "MachineIndependent/glslang_tab.cpp"
12369|    303|    break;
12370|       |
12371|    267|  case 611: /* struct_declarator: IDENTIFIER array_specifier  */
  ------------------
  |  Branch (12371:3): [True: 267, False: 15.2M]
  ------------------
12372|    267|#line 4029 "MachineIndependent/glslang.y"
12373|    267|                                 {
12374|    267|        parseContext.arrayOfArrayVersionCheck((yyvsp[-1].lex).loc, (yyvsp[0].interm).arraySizes);
  ------------------
  |  |  781|    267|#define parseContext (*pParseContext)
  ------------------
12375|       |
12376|    267|        (yyval.interm.typeLine).type = new TType(EbtVoid);
12377|    267|        (yyval.interm.typeLine).loc = (yyvsp[-1].lex).loc;
12378|    267|        (yyval.interm.typeLine).type->setFieldName(*(yyvsp[-1].lex).string);
12379|    267|        (yyval.interm.typeLine).type->transferArraySizes((yyvsp[0].interm).arraySizes);
12380|    267|    }
12381|    267|#line 12382 "MachineIndependent/glslang_tab.cpp"
12382|    267|    break;
12383|       |
12384|  5.41k|  case 612: /* initializer: assignment_expression  */
  ------------------
  |  Branch (12384:3): [True: 5.41k, False: 15.2M]
  ------------------
12385|  5.41k|#line 4040 "MachineIndependent/glslang.y"
12386|  5.41k|                            {
12387|  5.41k|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
12388|  5.41k|    }
12389|  5.41k|#line 12390 "MachineIndependent/glslang_tab.cpp"
12390|  5.41k|    break;
12391|       |
12392|      6|  case 613: /* initializer: LEFT_BRACE initializer_list RIGHT_BRACE  */
  ------------------
  |  Branch (12392:3): [True: 6, False: 15.2M]
  ------------------
12393|      6|#line 4043 "MachineIndependent/glslang.y"
12394|      6|                                              {
12395|      6|        const char* initFeature = "{ } style initializers";
12396|      6|        parseContext.requireProfile((yyvsp[-2].lex).loc, ~EEsProfile, initFeature);
  ------------------
  |  |  781|      6|#define parseContext (*pParseContext)
  ------------------
12397|      6|        parseContext.profileRequires((yyvsp[-2].lex).loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, initFeature);
  ------------------
  |  |  781|      6|#define parseContext (*pParseContext)
  ------------------
12398|      6|        (yyval.interm.intermTypedNode) = (yyvsp[-1].interm.intermTypedNode);
12399|      6|    }
12400|      6|#line 12401 "MachineIndependent/glslang_tab.cpp"
12401|      6|    break;
12402|       |
12403|      0|  case 614: /* initializer: LEFT_BRACE initializer_list COMMA RIGHT_BRACE  */
  ------------------
  |  Branch (12403:3): [True: 0, False: 15.2M]
  ------------------
12404|      0|#line 4049 "MachineIndependent/glslang.y"
12405|      0|                                                    {
12406|      0|        const char* initFeature = "{ } style initializers";
12407|      0|        parseContext.requireProfile((yyvsp[-3].lex).loc, ~EEsProfile, initFeature);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12408|      0|        parseContext.profileRequires((yyvsp[-3].lex).loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, initFeature);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12409|      0|        (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
12410|      0|    }
12411|      0|#line 12412 "MachineIndependent/glslang_tab.cpp"
12412|      0|    break;
12413|       |
12414|      0|  case 615: /* initializer: LEFT_BRACE RIGHT_BRACE  */
  ------------------
  |  Branch (12414:3): [True: 0, False: 15.2M]
  ------------------
12415|      0|#line 4055 "MachineIndependent/glslang.y"
12416|      0|                             {
12417|      0|        const char* initFeature = "empty { } initializer";
12418|      0|        parseContext.profileRequires((yyvsp[-1].lex).loc, EEsProfile, 0, E_GL_EXT_null_initializer, initFeature);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12419|      0|        parseContext.profileRequires((yyvsp[-1].lex).loc, ~EEsProfile, 0, E_GL_EXT_null_initializer, initFeature);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12420|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.makeAggregate((yyvsp[-1].lex).loc);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12421|      0|    }
12422|      0|#line 12423 "MachineIndependent/glslang_tab.cpp"
12423|      0|    break;
12424|       |
12425|      6|  case 616: /* initializer_list: initializer  */
  ------------------
  |  Branch (12425:3): [True: 6, False: 15.2M]
  ------------------
12426|      6|#line 4064 "MachineIndependent/glslang.y"
12427|      6|                  {
12428|      6|        (yyval.interm.intermTypedNode) = parseContext.intermediate.growAggregate(0, (yyvsp[0].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode)->getLoc());
  ------------------
  |  |  781|      6|#define parseContext (*pParseContext)
  ------------------
12429|      6|    }
12430|      6|#line 12431 "MachineIndependent/glslang_tab.cpp"
12431|      6|    break;
12432|       |
12433|     18|  case 617: /* initializer_list: initializer_list COMMA initializer  */
  ------------------
  |  Branch (12433:3): [True: 18, False: 15.2M]
  ------------------
12434|     18|#line 4067 "MachineIndependent/glslang.y"
12435|     18|                                         {
12436|     18|        (yyval.interm.intermTypedNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|     18|#define parseContext (*pParseContext)
  ------------------
12437|     18|    }
12438|     18|#line 12439 "MachineIndependent/glslang_tab.cpp"
12439|     18|    break;
12440|       |
12441|    240|  case 618: /* declaration_statement: declaration  */
  ------------------
  |  Branch (12441:3): [True: 240, False: 15.2M]
  ------------------
12442|    240|#line 4073 "MachineIndependent/glslang.y"
12443|    240|                  { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12444|    240|#line 12445 "MachineIndependent/glslang_tab.cpp"
12445|    240|    break;
12446|       |
12447|      0|  case 619: /* statement: compound_statement  */
  ------------------
  |  Branch (12447:3): [True: 0, False: 15.2M]
  ------------------
12448|      0|#line 4077 "MachineIndependent/glslang.y"
12449|      0|                          { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12450|      0|#line 12451 "MachineIndependent/glslang_tab.cpp"
12451|      0|    break;
12452|       |
12453|  2.65k|  case 620: /* statement: simple_statement  */
  ------------------
  |  Branch (12453:3): [True: 2.65k, False: 15.2M]
  ------------------
12454|  2.65k|#line 4078 "MachineIndependent/glslang.y"
12455|  2.65k|                          { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12456|  2.65k|#line 12457 "MachineIndependent/glslang_tab.cpp"
12457|  2.65k|    break;
12458|       |
12459|    240|  case 621: /* simple_statement: declaration_statement  */
  ------------------
  |  Branch (12459:3): [True: 240, False: 15.2M]
  ------------------
12460|    240|#line 4084 "MachineIndependent/glslang.y"
12461|    240|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12462|    240|#line 12463 "MachineIndependent/glslang_tab.cpp"
12463|    240|    break;
12464|       |
12465|  2.18k|  case 622: /* simple_statement: expression_statement  */
  ------------------
  |  Branch (12465:3): [True: 2.18k, False: 15.2M]
  ------------------
12466|  2.18k|#line 4085 "MachineIndependent/glslang.y"
12467|  2.18k|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12468|  2.18k|#line 12469 "MachineIndependent/glslang_tab.cpp"
12469|  2.18k|    break;
12470|       |
12471|      0|  case 623: /* simple_statement: selection_statement  */
  ------------------
  |  Branch (12471:3): [True: 0, False: 15.2M]
  ------------------
12472|      0|#line 4086 "MachineIndependent/glslang.y"
12473|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12474|      0|#line 12475 "MachineIndependent/glslang_tab.cpp"
12475|      0|    break;
12476|       |
12477|      0|  case 624: /* simple_statement: switch_statement  */
  ------------------
  |  Branch (12477:3): [True: 0, False: 15.2M]
  ------------------
12478|      0|#line 4087 "MachineIndependent/glslang.y"
12479|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12480|      0|#line 12481 "MachineIndependent/glslang_tab.cpp"
12481|      0|    break;
12482|       |
12483|      0|  case 625: /* simple_statement: case_label  */
  ------------------
  |  Branch (12483:3): [True: 0, False: 15.2M]
  ------------------
12484|      0|#line 4088 "MachineIndependent/glslang.y"
12485|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12486|      0|#line 12487 "MachineIndependent/glslang_tab.cpp"
12487|      0|    break;
12488|       |
12489|      0|  case 626: /* simple_statement: iteration_statement  */
  ------------------
  |  Branch (12489:3): [True: 0, False: 15.2M]
  ------------------
12490|      0|#line 4089 "MachineIndependent/glslang.y"
12491|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12492|      0|#line 12493 "MachineIndependent/glslang_tab.cpp"
12493|      0|    break;
12494|       |
12495|    234|  case 627: /* simple_statement: jump_statement  */
  ------------------
  |  Branch (12495:3): [True: 234, False: 15.2M]
  ------------------
12496|    234|#line 4090 "MachineIndependent/glslang.y"
12497|    234|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12498|    234|#line 12499 "MachineIndependent/glslang_tab.cpp"
12499|    234|    break;
12500|       |
12501|      0|  case 628: /* simple_statement: demote_statement  */
  ------------------
  |  Branch (12501:3): [True: 0, False: 15.2M]
  ------------------
12502|      0|#line 4091 "MachineIndependent/glslang.y"
12503|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12504|      0|#line 12505 "MachineIndependent/glslang_tab.cpp"
12505|      0|    break;
12506|       |
12507|      0|  case 629: /* demote_statement: DEMOTE SEMICOLON  */
  ------------------
  |  Branch (12507:3): [True: 0, False: 15.2M]
  ------------------
12508|      0|#line 4095 "MachineIndependent/glslang.y"
12509|      0|                       {
12510|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangFragment, "demote");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12511|      0|        parseContext.requireExtensions((yyvsp[-1].lex).loc, 1, &E_GL_EXT_demote_to_helper_invocation, "demote");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12512|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpDemote, (yyvsp[-1].lex).loc);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12513|      0|    }
12514|      0|#line 12515 "MachineIndependent/glslang_tab.cpp"
12515|      0|    break;
12516|       |
12517|      0|  case 630: /* compound_statement: LEFT_BRACE RIGHT_BRACE  */
  ------------------
  |  Branch (12517:3): [True: 0, False: 15.2M]
  ------------------
12518|      0|#line 4103 "MachineIndependent/glslang.y"
12519|      0|                             { (yyval.interm.intermNode) = 0; }
12520|      0|#line 12521 "MachineIndependent/glslang_tab.cpp"
12521|      0|    break;
12522|       |
12523|      0|  case 631: /* $@6: %empty  */
  ------------------
  |  Branch (12523:3): [True: 0, False: 15.2M]
  ------------------
12524|      0|#line 4104 "MachineIndependent/glslang.y"
12525|      0|                 {
12526|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12527|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12528|      0|    }
12529|      0|#line 12530 "MachineIndependent/glslang_tab.cpp"
12530|      0|    break;
12531|       |
12532|      0|  case 632: /* $@7: %empty  */
  ------------------
  |  Branch (12532:3): [True: 0, False: 15.2M]
  ------------------
12533|      0|#line 4108 "MachineIndependent/glslang.y"
12534|      0|                     {
12535|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12536|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12537|      0|    }
12538|      0|#line 12539 "MachineIndependent/glslang_tab.cpp"
12539|      0|    break;
12540|       |
12541|      0|  case 633: /* compound_statement: LEFT_BRACE $@6 statement_list $@7 RIGHT_BRACE  */
  ------------------
  |  Branch (12541:3): [True: 0, False: 15.2M]
  ------------------
12542|      0|#line 4112 "MachineIndependent/glslang.y"
12543|      0|                  {
12544|      0|        if ((yyvsp[-2].interm.intermNode) && (yyvsp[-2].interm.intermNode)->getAsAggregate()) {
  ------------------
  |  Branch (12544:13): [True: 0, False: 0]
  |  Branch (12544:46): [True: 0, False: 0]
  ------------------
12545|      0|            (yyvsp[-2].interm.intermNode)->getAsAggregate()->setOperator(parseContext.intermediate.getDebugInfo() ? EOpScope : EOpSequence);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12545:74): [True: 0, False: 0]
  ------------------
12546|      0|            (yyvsp[-2].interm.intermNode)->getAsAggregate()->setEndLoc((yyvsp[0].lex).loc);
12547|      0|        }
12548|      0|        (yyval.interm.intermNode) = (yyvsp[-2].interm.intermNode);
12549|      0|    }
12550|      0|#line 12551 "MachineIndependent/glslang_tab.cpp"
12551|      0|    break;
12552|       |
12553|      0|  case 634: /* statement_no_new_scope: compound_statement_no_new_scope  */
  ------------------
  |  Branch (12553:3): [True: 0, False: 15.2M]
  ------------------
12554|      0|#line 4122 "MachineIndependent/glslang.y"
12555|      0|                                      { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12556|      0|#line 12557 "MachineIndependent/glslang_tab.cpp"
12557|      0|    break;
12558|       |
12559|      0|  case 635: /* statement_no_new_scope: simple_statement  */
  ------------------
  |  Branch (12559:3): [True: 0, False: 15.2M]
  ------------------
12560|      0|#line 4123 "MachineIndependent/glslang.y"
12561|      0|                                      { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12562|      0|#line 12563 "MachineIndependent/glslang_tab.cpp"
12563|      0|    break;
12564|       |
12565|      0|  case 636: /* $@8: %empty  */
  ------------------
  |  Branch (12565:3): [True: 0, False: 15.2M]
  ------------------
12566|      0|#line 4127 "MachineIndependent/glslang.y"
12567|      0|      {
12568|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12569|      0|    }
12570|      0|#line 12571 "MachineIndependent/glslang_tab.cpp"
12571|      0|    break;
12572|       |
12573|      0|  case 637: /* statement_scoped: $@8 compound_statement  */
  ------------------
  |  Branch (12573:3): [True: 0, False: 15.2M]
  ------------------
12574|      0|#line 4130 "MachineIndependent/glslang.y"
12575|      0|                          {
12576|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12577|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12578|      0|    }
12579|      0|#line 12580 "MachineIndependent/glslang_tab.cpp"
12580|      0|    break;
12581|       |
12582|      0|  case 638: /* $@9: %empty  */
  ------------------
  |  Branch (12582:3): [True: 0, False: 15.2M]
  ------------------
12583|      0|#line 4134 "MachineIndependent/glslang.y"
12584|      0|      {
12585|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12586|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12587|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12588|      0|    }
12589|      0|#line 12590 "MachineIndependent/glslang_tab.cpp"
12590|      0|    break;
12591|       |
12592|      0|  case 639: /* statement_scoped: $@9 simple_statement  */
  ------------------
  |  Branch (12592:3): [True: 0, False: 15.2M]
  ------------------
12593|      0|#line 4139 "MachineIndependent/glslang.y"
12594|      0|                       {
12595|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12596|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12597|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12598|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12599|      0|    }
12600|      0|#line 12601 "MachineIndependent/glslang_tab.cpp"
12601|      0|    break;
12602|       |
12603|      0|  case 640: /* compound_statement_no_new_scope: LEFT_BRACE RIGHT_BRACE  */
  ------------------
  |  Branch (12603:3): [True: 0, False: 15.2M]
  ------------------
12604|      0|#line 4148 "MachineIndependent/glslang.y"
12605|      0|                             {
12606|      0|        (yyval.interm.intermNode) = 0;
12607|      0|    }
12608|      0|#line 12609 "MachineIndependent/glslang_tab.cpp"
12609|      0|    break;
12610|       |
12611|    240|  case 641: /* compound_statement_no_new_scope: LEFT_BRACE statement_list RIGHT_BRACE  */
  ------------------
  |  Branch (12611:3): [True: 240, False: 15.2M]
  ------------------
12612|    240|#line 4151 "MachineIndependent/glslang.y"
12613|    240|                                            {
12614|    240|        if ((yyvsp[-1].interm.intermNode) && (yyvsp[-1].interm.intermNode)->getAsAggregate()) {
  ------------------
  |  Branch (12614:13): [True: 240, False: 0]
  |  Branch (12614:46): [True: 240, False: 0]
  ------------------
12615|    240|            (yyvsp[-1].interm.intermNode)->getAsAggregate()->setOperator(EOpSequence);
12616|    240|            (yyvsp[-1].interm.intermNode)->getAsAggregate()->setEndLoc((yyvsp[0].lex).loc);
12617|    240|        }
12618|    240|        (yyval.interm.intermNode) = (yyvsp[-1].interm.intermNode);
12619|    240|    }
12620|    240|#line 12621 "MachineIndependent/glslang_tab.cpp"
12621|    240|    break;
12622|       |
12623|    246|  case 642: /* statement_list: statement  */
  ------------------
  |  Branch (12623:3): [True: 246, False: 15.2M]
  ------------------
12624|    246|#line 4161 "MachineIndependent/glslang.y"
12625|    246|                {
12626|    246|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermNode));
  ------------------
  |  |  781|    246|#define parseContext (*pParseContext)
  ------------------
12627|    246|        if ((yyvsp[0].interm.intermNode) && (yyvsp[0].interm.intermNode)->getAsBranchNode() && ((yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpCase ||
  ------------------
  |  Branch (12627:13): [True: 246, False: 0]
  |  Branch (12627:45): [True: 3, False: 243]
  |  Branch (12627:97): [True: 0, False: 3]
  ------------------
12628|      3|                                            (yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpDefault)) {
  ------------------
  |  Branch (12628:45): [True: 0, False: 3]
  ------------------
12629|      0|            parseContext.wrapupSwitchSubsequence(0, (yyvsp[0].interm.intermNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12630|      0|            (yyval.interm.intermNode) = 0;  // start a fresh subsequence for what's after this case
12631|      0|        }
12632|    246|    }
12633|    246|#line 12634 "MachineIndependent/glslang_tab.cpp"
12634|    246|    break;
12635|       |
12636|  2.40k|  case 643: /* statement_list: statement_list statement  */
  ------------------
  |  Branch (12636:3): [True: 2.40k, False: 15.2M]
  ------------------
12637|  2.40k|#line 4169 "MachineIndependent/glslang.y"
12638|  2.40k|                               {
12639|  2.40k|        if ((yyvsp[0].interm.intermNode) && (yyvsp[0].interm.intermNode)->getAsBranchNode() && ((yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpCase ||
  ------------------
  |  Branch (12639:13): [True: 2.40k, False: 3]
  |  Branch (12639:45): [True: 231, False: 2.17k]
  |  Branch (12639:97): [True: 0, False: 231]
  ------------------
12640|    231|                                            (yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpDefault)) {
  ------------------
  |  Branch (12640:45): [True: 0, False: 231]
  ------------------
12641|      0|            parseContext.wrapupSwitchSubsequence((yyvsp[-1].interm.intermNode) ? (yyvsp[-1].interm.intermNode)->getAsAggregate() : 0, (yyvsp[0].interm.intermNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12641:50): [True: 0, False: 0]
  ------------------
12642|      0|            (yyval.interm.intermNode) = 0;  // start a fresh subsequence for what's after this case
12643|      0|        } else
12644|  2.40k|            (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-1].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  781|  2.40k|#define parseContext (*pParseContext)
  ------------------
12645|  2.40k|    }
12646|  2.40k|#line 12647 "MachineIndependent/glslang_tab.cpp"
12647|  2.40k|    break;
12648|       |
12649|      0|  case 644: /* expression_statement: SEMICOLON  */
  ------------------
  |  Branch (12649:3): [True: 0, False: 15.2M]
  ------------------
12650|      0|#line 4180 "MachineIndependent/glslang.y"
12651|      0|                 { (yyval.interm.intermNode) = 0; }
12652|      0|#line 12653 "MachineIndependent/glslang_tab.cpp"
12653|      0|    break;
12654|       |
12655|  2.18k|  case 645: /* expression_statement: expression SEMICOLON  */
  ------------------
  |  Branch (12655:3): [True: 2.18k, False: 15.2M]
  ------------------
12656|  2.18k|#line 4181 "MachineIndependent/glslang.y"
12657|  2.18k|                            { (yyval.interm.intermNode) = static_cast<TIntermNode*>((yyvsp[-1].interm.intermTypedNode)); }
12658|  2.18k|#line 12659 "MachineIndependent/glslang_tab.cpp"
12659|  2.18k|    break;
12660|       |
12661|      0|  case 646: /* selection_statement: selection_statement_nonattributed  */
  ------------------
  |  Branch (12661:3): [True: 0, False: 15.2M]
  ------------------
12662|      0|#line 4185 "MachineIndependent/glslang.y"
12663|      0|                                        {
12664|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12665|      0|    }
12666|      0|#line 12667 "MachineIndependent/glslang_tab.cpp"
12667|      0|    break;
12668|       |
12669|      0|  case 647: /* selection_statement: attribute selection_statement_nonattributed  */
  ------------------
  |  Branch (12669:3): [True: 0, False: 15.2M]
  ------------------
12670|      0|#line 4188 "MachineIndependent/glslang.y"
12671|      0|                                                  {
12672|      0|        parseContext.requireExtensions((yyvsp[0].interm.intermNode)->getLoc(), 1, &E_GL_EXT_control_flow_attributes, "attribute");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12673|      0|        parseContext.handleSelectionAttributes(*(yyvsp[-1].interm.attributes), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12674|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12675|      0|    }
12676|      0|#line 12677 "MachineIndependent/glslang_tab.cpp"
12677|      0|    break;
12678|       |
12679|      0|  case 648: /* selection_statement_nonattributed: IF LEFT_PAREN expression RIGHT_PAREN selection_rest_statement  */
  ------------------
  |  Branch (12679:3): [True: 0, False: 15.2M]
  ------------------
12680|      0|#line 4195 "MachineIndependent/glslang.y"
12681|      0|                                                                    {
12682|      0|        parseContext.boolCheck((yyvsp[-4].lex).loc, (yyvsp[-2].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12683|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addSelection((yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.nodePair), (yyvsp[-4].lex).loc);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12684|      0|    }
12685|      0|#line 12686 "MachineIndependent/glslang_tab.cpp"
12686|      0|    break;
12687|       |
12688|      0|  case 649: /* selection_rest_statement: statement_scoped ELSE statement_scoped  */
  ------------------
  |  Branch (12688:3): [True: 0, False: 15.2M]
  ------------------
12689|      0|#line 4202 "MachineIndependent/glslang.y"
12690|      0|                                             {
12691|      0|        (yyval.interm.nodePair).node1 = (yyvsp[-2].interm.intermNode);
12692|      0|        (yyval.interm.nodePair).node2 = (yyvsp[0].interm.intermNode);
12693|      0|    }
12694|      0|#line 12695 "MachineIndependent/glslang_tab.cpp"
12695|      0|    break;
12696|       |
12697|      0|  case 650: /* selection_rest_statement: statement_scoped  */
  ------------------
  |  Branch (12697:3): [True: 0, False: 15.2M]
  ------------------
12698|      0|#line 4206 "MachineIndependent/glslang.y"
12699|      0|                       {
12700|      0|        (yyval.interm.nodePair).node1 = (yyvsp[0].interm.intermNode);
12701|      0|        (yyval.interm.nodePair).node2 = 0;
12702|      0|    }
12703|      0|#line 12704 "MachineIndependent/glslang_tab.cpp"
12704|      0|    break;
12705|       |
12706|      0|  case 651: /* condition: expression  */
  ------------------
  |  Branch (12706:3): [True: 0, False: 15.2M]
  ------------------
12707|      0|#line 4214 "MachineIndependent/glslang.y"
12708|      0|                 {
12709|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermTypedNode);
12710|      0|        parseContext.boolCheck((yyvsp[0].interm.intermTypedNode)->getLoc(), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12711|      0|    }
12712|      0|#line 12713 "MachineIndependent/glslang_tab.cpp"
12713|      0|    break;
12714|       |
12715|      0|  case 652: /* condition: fully_specified_type IDENTIFIER EQUAL initializer  */
  ------------------
  |  Branch (12715:3): [True: 0, False: 15.2M]
  ------------------
12716|      0|#line 4218 "MachineIndependent/glslang.y"
12717|      0|                                                        {
12718|      0|        parseContext.boolCheck((yyvsp[-2].lex).loc, (yyvsp[-3].interm.type));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12719|       |
12720|      0|        TType type((yyvsp[-3].interm.type));
12721|      0|        (yyval.interm.intermNode) = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string, (yyvsp[-3].interm.type), 0, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12722|      0|    }
12723|      0|#line 12724 "MachineIndependent/glslang_tab.cpp"
12724|      0|    break;
12725|       |
12726|      0|  case 653: /* switch_statement: switch_statement_nonattributed  */
  ------------------
  |  Branch (12726:3): [True: 0, False: 15.2M]
  ------------------
12727|      0|#line 4227 "MachineIndependent/glslang.y"
12728|      0|                                     {
12729|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12730|      0|    }
12731|      0|#line 12732 "MachineIndependent/glslang_tab.cpp"
12732|      0|    break;
12733|       |
12734|      0|  case 654: /* switch_statement: attribute switch_statement_nonattributed  */
  ------------------
  |  Branch (12734:3): [True: 0, False: 15.2M]
  ------------------
12735|      0|#line 4230 "MachineIndependent/glslang.y"
12736|      0|                                               {
12737|      0|        parseContext.requireExtensions((yyvsp[0].interm.intermNode)->getLoc(), 1, &E_GL_EXT_control_flow_attributes, "attribute");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12738|      0|        parseContext.handleSwitchAttributes(*(yyvsp[-1].interm.attributes), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12739|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12740|      0|    }
12741|      0|#line 12742 "MachineIndependent/glslang_tab.cpp"
12742|      0|    break;
12743|       |
12744|      0|  case 655: /* $@10: %empty  */
  ------------------
  |  Branch (12744:3): [True: 0, False: 15.2M]
  ------------------
12745|      0|#line 4237 "MachineIndependent/glslang.y"
12746|      0|                                               {
12747|       |        // start new switch sequence on the switch stack
12748|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12749|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12750|      0|        parseContext.switchSequenceStack.push_back(new TIntermSequence);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12751|      0|        parseContext.switchLevel.push_back(parseContext.statementNestingLevel);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.switchLevel.push_back(parseContext.statementNestingLevel);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12752|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12753|      0|    }
12754|      0|#line 12755 "MachineIndependent/glslang_tab.cpp"
12755|      0|    break;
12756|       |
12757|      0|  case 656: /* switch_statement_nonattributed: SWITCH LEFT_PAREN expression RIGHT_PAREN $@10 LEFT_BRACE switch_statement_list RIGHT_BRACE  */
  ------------------
  |  Branch (12757:3): [True: 0, False: 15.2M]
  ------------------
12758|      0|#line 4245 "MachineIndependent/glslang.y"
12759|      0|                                                 {
12760|      0|        (yyval.interm.intermNode) = parseContext.addSwitch((yyvsp[-7].lex).loc, (yyvsp[-5].interm.intermTypedNode), (yyvsp[-1].interm.intermNode) ? (yyvsp[-1].interm.intermNode)->getAsAggregate() : 0);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12760:117): [True: 0, False: 0]
  ------------------
12761|      0|        delete parseContext.switchSequenceStack.back();
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12762|      0|        parseContext.switchSequenceStack.pop_back();
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12763|      0|        parseContext.switchLevel.pop_back();
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12764|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12765|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12766|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12767|      0|    }
12768|      0|#line 12769 "MachineIndependent/glslang_tab.cpp"
12769|      0|    break;
12770|       |
12771|      0|  case 657: /* switch_statement_list: %empty  */
  ------------------
  |  Branch (12771:3): [True: 0, False: 15.2M]
  ------------------
12772|      0|#line 4257 "MachineIndependent/glslang.y"
12773|      0|                    {
12774|      0|        (yyval.interm.intermNode) = 0;
12775|      0|    }
12776|      0|#line 12777 "MachineIndependent/glslang_tab.cpp"
12777|      0|    break;
12778|       |
12779|      0|  case 658: /* switch_statement_list: statement_list  */
  ------------------
  |  Branch (12779:3): [True: 0, False: 15.2M]
  ------------------
12780|      0|#line 4260 "MachineIndependent/glslang.y"
12781|      0|                     {
12782|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12783|      0|    }
12784|      0|#line 12785 "MachineIndependent/glslang_tab.cpp"
12785|      0|    break;
12786|       |
12787|      0|  case 659: /* case_label: CASE expression COLON  */
  ------------------
  |  Branch (12787:3): [True: 0, False: 15.2M]
  ------------------
12788|      0|#line 4266 "MachineIndependent/glslang.y"
12789|      0|                            {
12790|      0|        (yyval.interm.intermNode) = 0;
12791|      0|        if (parseContext.switchLevel.size() == 0)
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12791:13): [True: 0, False: 0]
  ------------------
12792|      0|            parseContext.error((yyvsp[-2].lex).loc, "cannot appear outside switch statement", "case", "");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12793|      0|        else if (parseContext.switchLevel.back() != parseContext.statementNestingLevel)
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      else if (parseContext.switchLevel.back() != parseContext.statementNestingLevel)
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12793:18): [True: 0, False: 0]
  ------------------
12794|      0|            parseContext.error((yyvsp[-2].lex).loc, "cannot be nested inside control flow", "case", "");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12795|      0|        else {
12796|      0|            parseContext.constantValueCheck((yyvsp[-1].interm.intermTypedNode), "case");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12797|      0|            parseContext.integerCheck((yyvsp[-1].interm.intermTypedNode), "case");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12798|      0|            (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpCase, (yyvsp[-1].interm.intermTypedNode), (yyvsp[-2].lex).loc);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12799|      0|        }
12800|      0|    }
12801|      0|#line 12802 "MachineIndependent/glslang_tab.cpp"
12802|      0|    break;
12803|       |
12804|      0|  case 660: /* case_label: DEFAULT COLON  */
  ------------------
  |  Branch (12804:3): [True: 0, False: 15.2M]
  ------------------
12805|      0|#line 4278 "MachineIndependent/glslang.y"
12806|      0|                    {
12807|      0|        (yyval.interm.intermNode) = 0;
12808|      0|        if (parseContext.switchLevel.size() == 0)
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12808:13): [True: 0, False: 0]
  ------------------
12809|      0|            parseContext.error((yyvsp[-1].lex).loc, "cannot appear outside switch statement", "default", "");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12810|      0|        else if (parseContext.switchLevel.back() != parseContext.statementNestingLevel)
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      else if (parseContext.switchLevel.back() != parseContext.statementNestingLevel)
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12810:18): [True: 0, False: 0]
  ------------------
12811|      0|            parseContext.error((yyvsp[-1].lex).loc, "cannot be nested inside control flow", "default", "");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12812|      0|        else
12813|      0|            (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpDefault, (yyvsp[-1].lex).loc);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12814|      0|    }
12815|      0|#line 12816 "MachineIndependent/glslang_tab.cpp"
12816|      0|    break;
12817|       |
12818|      0|  case 661: /* iteration_statement: iteration_statement_nonattributed  */
  ------------------
  |  Branch (12818:3): [True: 0, False: 15.2M]
  ------------------
12819|      0|#line 4290 "MachineIndependent/glslang.y"
12820|      0|                                        {
12821|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12822|      0|    }
12823|      0|#line 12824 "MachineIndependent/glslang_tab.cpp"
12824|      0|    break;
12825|       |
12826|      0|  case 662: /* iteration_statement: attribute iteration_statement_nonattributed  */
  ------------------
  |  Branch (12826:3): [True: 0, False: 15.2M]
  ------------------
12827|      0|#line 4293 "MachineIndependent/glslang.y"
12828|      0|                                                  {
12829|      0|        const char * extensions[2] = { E_GL_EXT_control_flow_attributes, E_GL_EXT_control_flow_attributes2 };
12830|      0|        parseContext.requireExtensions((yyvsp[0].interm.intermNode)->getLoc(), 2, extensions, "attribute");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12831|      0|        parseContext.handleLoopAttributes(*(yyvsp[-1].interm.attributes), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12832|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12833|      0|    }
12834|      0|#line 12835 "MachineIndependent/glslang_tab.cpp"
12835|      0|    break;
12836|       |
12837|      0|  case 663: /* $@11: %empty  */
  ------------------
  |  Branch (12837:3): [True: 0, False: 15.2M]
  ------------------
12838|      0|#line 4301 "MachineIndependent/glslang.y"
12839|      0|                       {
12840|      0|        if (! parseContext.limits.whileLoops)
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12840:13): [True: 0, False: 0]
  ------------------
12841|      0|            parseContext.error((yyvsp[-1].lex).loc, "while loops not available", "limitation", "");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12842|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12843|      0|        ++parseContext.loopNestingLevel;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12844|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12845|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12846|      0|    }
12847|      0|#line 12848 "MachineIndependent/glslang_tab.cpp"
12848|      0|    break;
12849|       |
12850|      0|  case 664: /* iteration_statement_nonattributed: WHILE LEFT_PAREN $@11 condition RIGHT_PAREN statement_no_new_scope  */
  ------------------
  |  Branch (12850:3): [True: 0, False: 15.2M]
  ------------------
12851|      0|#line 4309 "MachineIndependent/glslang.y"
12852|      0|                                                   {
12853|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12854|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addLoop((yyvsp[0].interm.intermNode), (yyvsp[-2].interm.intermNode), 0, true, (yyvsp[-5].lex).loc);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12855|      0|        if (parseContext.intermediate.getDebugInfo()) {
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12855:13): [True: 0, False: 0]
  ------------------
12856|      0|            (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyval.interm.intermNode), (yyvsp[-5].lex).loc);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12857|      0|            (yyval.interm.intermNode)->getAsAggregate()->setOperator(EOpScope);
12858|      0|        }
12859|      0|        --parseContext.loopNestingLevel;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12860|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12861|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12862|      0|    }
12863|      0|#line 12864 "MachineIndependent/glslang_tab.cpp"
12864|      0|    break;
12865|       |
12866|      0|  case 665: /* $@12: %empty  */
  ------------------
  |  Branch (12866:3): [True: 0, False: 15.2M]
  ------------------
12867|      0|#line 4320 "MachineIndependent/glslang.y"
12868|      0|         {
12869|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12870|      0|        ++parseContext.loopNestingLevel;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12871|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12872|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12873|      0|    }
12874|      0|#line 12875 "MachineIndependent/glslang_tab.cpp"
12875|      0|    break;
12876|       |
12877|      0|  case 666: /* iteration_statement_nonattributed: DO $@12 statement WHILE LEFT_PAREN expression RIGHT_PAREN SEMICOLON  */
  ------------------
  |  Branch (12877:3): [True: 0, False: 15.2M]
  ------------------
12878|      0|#line 4326 "MachineIndependent/glslang.y"
12879|      0|                                                                  {
12880|      0|        if (! parseContext.limits.whileLoops)
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12880:13): [True: 0, False: 0]
  ------------------
12881|      0|            parseContext.error((yyvsp[-7].lex).loc, "do-while loops not available", "limitation", "");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12882|       |
12883|      0|        parseContext.boolCheck((yyvsp[0].lex).loc, (yyvsp[-2].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12884|       |
12885|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addLoop((yyvsp[-5].interm.intermNode), (yyvsp[-2].interm.intermTypedNode), 0, false, (yyvsp[-4].lex).loc);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12886|      0|        if (parseContext.intermediate.getDebugInfo()) {
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12886:13): [True: 0, False: 0]
  ------------------
12887|      0|            (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyval.interm.intermNode), (yyvsp[-4].lex).loc);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12888|      0|            (yyval.interm.intermNode)->getAsAggregate()->setOperator(EOpScope);
12889|      0|        }
12890|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12891|      0|        --parseContext.loopNestingLevel;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12892|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12893|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12894|      0|    }
12895|      0|#line 12896 "MachineIndependent/glslang_tab.cpp"
12896|      0|    break;
12897|       |
12898|      0|  case 667: /* $@13: %empty  */
  ------------------
  |  Branch (12898:3): [True: 0, False: 15.2M]
  ------------------
12899|      0|#line 4342 "MachineIndependent/glslang.y"
12900|      0|                     {
12901|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12902|      0|        ++parseContext.loopNestingLevel;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12903|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12904|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12905|      0|    }
12906|      0|#line 12907 "MachineIndependent/glslang_tab.cpp"
12907|      0|    break;
12908|       |
12909|      0|  case 668: /* iteration_statement_nonattributed: FOR LEFT_PAREN $@13 for_init_statement for_rest_statement RIGHT_PAREN statement_no_new_scope  */
  ------------------
  |  Branch (12909:3): [True: 0, False: 15.2M]
  ------------------
12910|      0|#line 4348 "MachineIndependent/glslang.y"
12911|      0|                                                                               {
12912|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12913|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[-3].interm.intermNode), (yyvsp[-5].lex).loc);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12914|      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);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12915|      0|        if (! parseContext.limits.nonInductiveForLoops)
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12915:13): [True: 0, False: 0]
  ------------------
12916|      0|            parseContext.inductiveLoopCheck((yyvsp[-6].lex).loc, (yyvsp[-3].interm.intermNode), forLoop);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12917|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyval.interm.intermNode), forLoop, (yyvsp[-6].lex).loc);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12918|      0|        (yyval.interm.intermNode)->getAsAggregate()->setOperator(parseContext.intermediate.getDebugInfo() ? EOpScope : EOpSequence);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12918:66): [True: 0, False: 0]
  ------------------
12919|      0|        --parseContext.loopNestingLevel;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12920|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12921|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12922|      0|    }
12923|      0|#line 12924 "MachineIndependent/glslang_tab.cpp"
12924|      0|    break;
12925|       |
12926|      0|  case 669: /* for_init_statement: expression_statement  */
  ------------------
  |  Branch (12926:3): [True: 0, False: 15.2M]
  ------------------
12927|      0|#line 4363 "MachineIndependent/glslang.y"
12928|      0|                           {
12929|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12930|      0|    }
12931|      0|#line 12932 "MachineIndependent/glslang_tab.cpp"
12932|      0|    break;
12933|       |
12934|      0|  case 670: /* for_init_statement: declaration_statement  */
  ------------------
  |  Branch (12934:3): [True: 0, False: 15.2M]
  ------------------
12935|      0|#line 4366 "MachineIndependent/glslang.y"
12936|      0|                            {
12937|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12938|      0|    }
12939|      0|#line 12940 "MachineIndependent/glslang_tab.cpp"
12940|      0|    break;
12941|       |
12942|      0|  case 671: /* conditionopt: condition  */
  ------------------
  |  Branch (12942:3): [True: 0, False: 15.2M]
  ------------------
12943|      0|#line 4372 "MachineIndependent/glslang.y"
12944|      0|                {
12945|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12946|      0|    }
12947|      0|#line 12948 "MachineIndependent/glslang_tab.cpp"
12948|      0|    break;
12949|       |
12950|      0|  case 672: /* conditionopt: %empty  */
  ------------------
  |  Branch (12950:3): [True: 0, False: 15.2M]
  ------------------
12951|      0|#line 4375 "MachineIndependent/glslang.y"
12952|      0|                        {
12953|      0|        (yyval.interm.intermNode) = 0;
12954|      0|    }
12955|      0|#line 12956 "MachineIndependent/glslang_tab.cpp"
12956|      0|    break;
12957|       |
12958|      0|  case 673: /* for_rest_statement: conditionopt SEMICOLON  */
  ------------------
  |  Branch (12958:3): [True: 0, False: 15.2M]
  ------------------
12959|      0|#line 4381 "MachineIndependent/glslang.y"
12960|      0|                             {
12961|      0|        (yyval.interm.nodePair).node1 = (yyvsp[-1].interm.intermNode);
12962|      0|        (yyval.interm.nodePair).node2 = 0;
12963|      0|    }
12964|      0|#line 12965 "MachineIndependent/glslang_tab.cpp"
12965|      0|    break;
12966|       |
12967|      0|  case 674: /* for_rest_statement: conditionopt SEMICOLON expression  */
  ------------------
  |  Branch (12967:3): [True: 0, False: 15.2M]
  ------------------
12968|      0|#line 4385 "MachineIndependent/glslang.y"
12969|      0|                                         {
12970|      0|        (yyval.interm.nodePair).node1 = (yyvsp[-2].interm.intermNode);
12971|      0|        (yyval.interm.nodePair).node2 = (yyvsp[0].interm.intermTypedNode);
12972|      0|    }
12973|      0|#line 12974 "MachineIndependent/glslang_tab.cpp"
12974|      0|    break;
12975|       |
12976|      0|  case 675: /* jump_statement: CONTINUE SEMICOLON  */
  ------------------
  |  Branch (12976:3): [True: 0, False: 15.2M]
  ------------------
12977|      0|#line 4392 "MachineIndependent/glslang.y"
12978|      0|                         {
12979|      0|        if (parseContext.loopNestingLevel <= 0)
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12979:13): [True: 0, False: 0]
  ------------------
12980|      0|            parseContext.error((yyvsp[-1].lex).loc, "continue statement only allowed in loops", "", "");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12981|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpContinue, (yyvsp[-1].lex).loc);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12982|      0|    }
12983|      0|#line 12984 "MachineIndependent/glslang_tab.cpp"
12984|      0|    break;
12985|       |
12986|      0|  case 676: /* jump_statement: BREAK SEMICOLON  */
  ------------------
  |  Branch (12986:3): [True: 0, False: 15.2M]
  ------------------
12987|      0|#line 4397 "MachineIndependent/glslang.y"
12988|      0|                      {
12989|      0|        if (parseContext.loopNestingLevel + parseContext.switchSequenceStack.size() <= 0)
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      if (parseContext.loopNestingLevel + parseContext.switchSequenceStack.size() <= 0)
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12989:13): [True: 0, False: 0]
  ------------------
12990|      0|            parseContext.error((yyvsp[-1].lex).loc, "break statement only allowed in switch and loops", "", "");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12991|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpBreak, (yyvsp[-1].lex).loc);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
12992|      0|    }
12993|      0|#line 12994 "MachineIndependent/glslang_tab.cpp"
12994|      0|    break;
12995|       |
12996|      0|  case 677: /* jump_statement: RETURN SEMICOLON  */
  ------------------
  |  Branch (12996:3): [True: 0, False: 15.2M]
  ------------------
12997|      0|#line 4402 "MachineIndependent/glslang.y"
12998|      0|                       {
12999|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpReturn, (yyvsp[-1].lex).loc);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13000|      0|        if (parseContext.currentFunctionType->getBasicType() != EbtVoid)
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (13000:13): [True: 0, False: 0]
  ------------------
13001|      0|            parseContext.error((yyvsp[-1].lex).loc, "non-void function must return a value", "return", "");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13002|      0|        if (parseContext.inMain)
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (13002:13): [True: 0, False: 0]
  ------------------
13003|      0|            parseContext.postEntryPointReturn = true;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13004|      0|    }
13005|      0|#line 13006 "MachineIndependent/glslang_tab.cpp"
13006|      0|    break;
13007|       |
13008|    234|  case 678: /* jump_statement: RETURN expression SEMICOLON  */
  ------------------
  |  Branch (13008:3): [True: 234, False: 15.2M]
  ------------------
13009|    234|#line 4409 "MachineIndependent/glslang.y"
13010|    234|                                  {
13011|    234|        (yyval.interm.intermNode) = parseContext.handleReturnValue((yyvsp[-2].lex).loc, (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  781|    234|#define parseContext (*pParseContext)
  ------------------
13012|    234|    }
13013|    234|#line 13014 "MachineIndependent/glslang_tab.cpp"
13014|    234|    break;
13015|       |
13016|      0|  case 679: /* jump_statement: DISCARD SEMICOLON  */
  ------------------
  |  Branch (13016:3): [True: 0, False: 15.2M]
  ------------------
13017|      0|#line 4412 "MachineIndependent/glslang.y"
13018|      0|                        {
13019|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangFragment, "discard");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13020|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpKill, (yyvsp[-1].lex).loc);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13021|      0|    }
13022|      0|#line 13023 "MachineIndependent/glslang_tab.cpp"
13023|      0|    break;
13024|       |
13025|      0|  case 680: /* jump_statement: TERMINATE_INVOCATION SEMICOLON  */
  ------------------
  |  Branch (13025:3): [True: 0, False: 15.2M]
  ------------------
13026|      0|#line 4416 "MachineIndependent/glslang.y"
13027|      0|                                     {
13028|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangFragment, "terminateInvocation");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13029|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpTerminateInvocation, (yyvsp[-1].lex).loc);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13030|      0|    }
13031|      0|#line 13032 "MachineIndependent/glslang_tab.cpp"
13032|      0|    break;
13033|       |
13034|      0|  case 681: /* jump_statement: TERMINATE_RAY SEMICOLON  */
  ------------------
  |  Branch (13034:3): [True: 0, False: 15.2M]
  ------------------
13035|      0|#line 4420 "MachineIndependent/glslang.y"
13036|      0|                              {
13037|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangAnyHit, "terminateRayEXT");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13038|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpTerminateRayKHR, (yyvsp[-1].lex).loc);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13039|      0|    }
13040|      0|#line 13041 "MachineIndependent/glslang_tab.cpp"
13041|      0|    break;
13042|       |
13043|      0|  case 682: /* jump_statement: IGNORE_INTERSECTION SEMICOLON  */
  ------------------
  |  Branch (13043:3): [True: 0, False: 15.2M]
  ------------------
13044|      0|#line 4424 "MachineIndependent/glslang.y"
13045|      0|                                    {
13046|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangAnyHit, "ignoreIntersectionEXT");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13047|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpIgnoreIntersectionKHR, (yyvsp[-1].lex).loc);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13048|      0|    }
13049|      0|#line 13050 "MachineIndependent/glslang_tab.cpp"
13050|      0|    break;
13051|       |
13052|    663|  case 683: /* translation_unit: external_declaration  */
  ------------------
  |  Branch (13052:3): [True: 663, False: 15.2M]
  ------------------
13053|    663|#line 4433 "MachineIndependent/glslang.y"
13054|    663|                           {
13055|    663|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
13056|    663|        parseContext.intermediate.setTreeRoot((yyval.interm.intermNode));
  ------------------
  |  |  781|    663|#define parseContext (*pParseContext)
  ------------------
13057|    663|    }
13058|    663|#line 13059 "MachineIndependent/glslang_tab.cpp"
13059|    663|    break;
13060|       |
13061|   586k|  case 684: /* translation_unit: translation_unit external_declaration  */
  ------------------
  |  Branch (13061:3): [True: 586k, False: 14.6M]
  ------------------
13062|   586k|#line 4437 "MachineIndependent/glslang.y"
13063|   586k|                                            {
13064|   586k|        if ((yyvsp[0].interm.intermNode) != nullptr) {
  ------------------
  |  Branch (13064:13): [True: 240, False: 586k]
  ------------------
13065|    240|            (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-1].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  781|    240|#define parseContext (*pParseContext)
  ------------------
13066|    240|            parseContext.intermediate.setTreeRoot((yyval.interm.intermNode));
  ------------------
  |  |  781|    240|#define parseContext (*pParseContext)
  ------------------
13067|    240|        }
13068|   586k|    }
13069|   586k|#line 13070 "MachineIndependent/glslang_tab.cpp"
13070|   586k|    break;
13071|       |
13072|    240|  case 685: /* external_declaration: function_definition  */
  ------------------
  |  Branch (13072:3): [True: 240, False: 15.2M]
  ------------------
13073|    240|#line 4446 "MachineIndependent/glslang.y"
13074|    240|                          {
13075|    240|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
13076|    240|    }
13077|    240|#line 13078 "MachineIndependent/glslang_tab.cpp"
13078|    240|    break;
13079|       |
13080|   587k|  case 686: /* external_declaration: declaration  */
  ------------------
  |  Branch (13080:3): [True: 587k, False: 14.6M]
  ------------------
13081|   587k|#line 4449 "MachineIndependent/glslang.y"
13082|   587k|                  {
13083|   587k|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
13084|   587k|    }
13085|   587k|#line 13086 "MachineIndependent/glslang_tab.cpp"
13086|   587k|    break;
13087|       |
13088|      0|  case 687: /* external_declaration: SEMICOLON  */
  ------------------
  |  Branch (13088:3): [True: 0, False: 15.2M]
  ------------------
13089|      0|#line 4452 "MachineIndependent/glslang.y"
13090|      0|                {
13091|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ~EEsProfile, "extraneous semicolon");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13092|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ~EEsProfile, 460, nullptr, "extraneous semicolon");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13093|      0|        (yyval.interm.intermNode) = nullptr;
13094|      0|    }
13095|      0|#line 13096 "MachineIndependent/glslang_tab.cpp"
13096|      0|    break;
13097|       |
13098|    246|  case 688: /* $@14: %empty  */
  ------------------
  |  Branch (13098:3): [True: 246, False: 15.2M]
  ------------------
13099|    246|#line 4460 "MachineIndependent/glslang.y"
13100|    246|                         {
13101|    246|        (yyvsp[0].interm).function = parseContext.handleFunctionDeclarator((yyvsp[0].interm).loc, *(yyvsp[0].interm).function, false /* not prototype */);
  ------------------
  |  |  781|    246|#define parseContext (*pParseContext)
  ------------------
13102|    246|        (yyvsp[0].interm).intermNode = parseContext.handleFunctionDefinition((yyvsp[0].interm).loc, *(yyvsp[0].interm).function);
  ------------------
  |  |  781|    246|#define parseContext (*pParseContext)
  ------------------
13103|       |
13104|       |        // For ES 100 only, according to ES shading language 100 spec: A function
13105|       |        // body has a scope nested inside the function's definition.
13106|    246|        if (parseContext.profile == EEsProfile && parseContext.version == 100)
  ------------------
  |  |  781|    246|#define parseContext (*pParseContext)
  ------------------
                      if (parseContext.profile == EEsProfile && parseContext.version == 100)
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (13106:13): [True: 0, False: 246]
  |  Branch (13106:51): [True: 0, False: 0]
  ------------------
13107|      0|        {
13108|      0|            parseContext.symbolTable.push();
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13109|      0|            ++parseContext.statementNestingLevel;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13110|      0|        }
13111|    246|    }
13112|    246|#line 13113 "MachineIndependent/glslang_tab.cpp"
13113|    246|    break;
13114|       |
13115|    240|  case 689: /* function_definition: function_prototype $@14 compound_statement_no_new_scope  */
  ------------------
  |  Branch (13115:3): [True: 240, False: 15.2M]
  ------------------
13116|    240|#line 4472 "MachineIndependent/glslang.y"
13117|    240|                                    {
13118|       |        //   May be best done as post process phase on intermediate code
13119|    240|        if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsValue)
  ------------------
  |  |  781|    240|#define parseContext (*pParseContext)
  ------------------
                      if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsValue)
  ------------------
  |  |  781|    234|#define parseContext (*pParseContext)
  ------------------
  |  Branch (13119:13): [True: 234, False: 6]
  |  Branch (13119:76): [True: 0, False: 234]
  ------------------
13120|      0|            parseContext.error((yyvsp[-2].interm).loc, "function does not return a value:", "", (yyvsp[-2].interm).function->getName().c_str());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13121|    240|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  781|    240|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  781|    240|#define parseContext (*pParseContext)
  ------------------
13122|    240|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm).intermNode, (yyvsp[0].interm.intermNode));
  ------------------
  |  |  781|    240|#define parseContext (*pParseContext)
  ------------------
13123|    240|        (yyval.interm.intermNode)->getAsAggregate()->setLinkType((yyvsp[-2].interm).function->getLinkType());
13124|    240|        parseContext.intermediate.setAggregateOperator((yyval.interm.intermNode), EOpFunction, (yyvsp[-2].interm).function->getType(), (yyvsp[-2].interm).loc);
  ------------------
  |  |  781|    240|#define parseContext (*pParseContext)
  ------------------
13125|    240|        (yyval.interm.intermNode)->getAsAggregate()->setName((yyvsp[-2].interm).function->getMangledName().c_str());
13126|       |
13127|       |        // store the pragma information for debug and optimize and other vendor specific
13128|       |        // information. This information can be queried from the parse tree
13129|    240|        (yyval.interm.intermNode)->getAsAggregate()->setOptimize(parseContext.contextPragma.optimize);
  ------------------
  |  |  781|    240|#define parseContext (*pParseContext)
  ------------------
13130|    240|        (yyval.interm.intermNode)->getAsAggregate()->setDebug(parseContext.contextPragma.debug);
  ------------------
  |  |  781|    240|#define parseContext (*pParseContext)
  ------------------
13131|    240|        (yyval.interm.intermNode)->getAsAggregate()->setPragmaTable(parseContext.contextPragma.pragmaTable);
  ------------------
  |  |  781|    240|#define parseContext (*pParseContext)
  ------------------
13132|       |
13133|       |        // Set currentFunctionType to empty pointer when goes outside of the function
13134|    240|        parseContext.currentFunctionType = nullptr;
  ------------------
  |  |  781|    240|#define parseContext (*pParseContext)
  ------------------
13135|       |
13136|       |        // For ES 100 only, according to ES shading language 100 spec: A function
13137|       |        // body has a scope nested inside the function's definition.
13138|    240|        if (parseContext.profile == EEsProfile && parseContext.version == 100)
  ------------------
  |  |  781|    240|#define parseContext (*pParseContext)
  ------------------
                      if (parseContext.profile == EEsProfile && parseContext.version == 100)
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (13138:13): [True: 0, False: 240]
  |  Branch (13138:51): [True: 0, False: 0]
  ------------------
13139|      0|        {
13140|      0|            parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                          parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13141|      0|            --parseContext.statementNestingLevel;
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13142|      0|        }
13143|    240|    }
13144|    240|#line 13145 "MachineIndependent/glslang_tab.cpp"
13145|    240|    break;
13146|       |
13147|      0|  case 690: /* attribute: LEFT_BRACKET LEFT_BRACKET attribute_list RIGHT_BRACKET RIGHT_BRACKET  */
  ------------------
  |  Branch (13147:3): [True: 0, False: 15.2M]
  ------------------
13148|      0|#line 4502 "MachineIndependent/glslang.y"
13149|      0|                                                                           {
13150|      0|        (yyval.interm.attributes) = (yyvsp[-2].interm.attributes);
13151|      0|    }
13152|      0|#line 13153 "MachineIndependent/glslang_tab.cpp"
13153|      0|    break;
13154|       |
13155|      0|  case 691: /* attribute_list: single_attribute  */
  ------------------
  |  Branch (13155:3): [True: 0, False: 15.2M]
  ------------------
13156|      0|#line 4507 "MachineIndependent/glslang.y"
13157|      0|                       {
13158|      0|        (yyval.interm.attributes) = (yyvsp[0].interm.attributes);
13159|      0|    }
13160|      0|#line 13161 "MachineIndependent/glslang_tab.cpp"
13161|      0|    break;
13162|       |
13163|      0|  case 692: /* attribute_list: attribute_list COMMA single_attribute  */
  ------------------
  |  Branch (13163:3): [True: 0, False: 15.2M]
  ------------------
13164|      0|#line 4510 "MachineIndependent/glslang.y"
13165|      0|                                            {
13166|      0|        (yyval.interm.attributes) = parseContext.mergeAttributes((yyvsp[-2].interm.attributes), (yyvsp[0].interm.attributes));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13167|      0|    }
13168|      0|#line 13169 "MachineIndependent/glslang_tab.cpp"
13169|      0|    break;
13170|       |
13171|      0|  case 693: /* single_attribute: IDENTIFIER  */
  ------------------
  |  Branch (13171:3): [True: 0, False: 15.2M]
  ------------------
13172|      0|#line 4515 "MachineIndependent/glslang.y"
13173|      0|                 {
13174|      0|        (yyval.interm.attributes) = parseContext.makeAttributes(*(yyvsp[0].lex).string);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13175|      0|    }
13176|      0|#line 13177 "MachineIndependent/glslang_tab.cpp"
13177|      0|    break;
13178|       |
13179|      0|  case 694: /* single_attribute: IDENTIFIER LEFT_PAREN constant_expression RIGHT_PAREN  */
  ------------------
  |  Branch (13179:3): [True: 0, False: 15.2M]
  ------------------
13180|      0|#line 4518 "MachineIndependent/glslang.y"
13181|      0|                                                            {
13182|      0|        (yyval.interm.attributes) = parseContext.makeAttributes(*(yyvsp[-3].lex).string, (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13183|      0|    }
13184|      0|#line 13185 "MachineIndependent/glslang_tab.cpp"
13185|      0|    break;
13186|       |
13187|      0|  case 695: /* spirv_requirements_list: spirv_requirements_parameter  */
  ------------------
  |  Branch (13187:3): [True: 0, False: 15.2M]
  ------------------
13188|      0|#line 4523 "MachineIndependent/glslang.y"
13189|      0|                                   {
13190|      0|        (yyval.interm.spirvReq) = (yyvsp[0].interm.spirvReq);
13191|      0|    }
13192|      0|#line 13193 "MachineIndependent/glslang_tab.cpp"
13193|      0|    break;
13194|       |
13195|      0|  case 696: /* spirv_requirements_list: spirv_requirements_list COMMA spirv_requirements_parameter  */
  ------------------
  |  Branch (13195:3): [True: 0, False: 15.2M]
  ------------------
13196|      0|#line 4526 "MachineIndependent/glslang.y"
13197|      0|                                                                 {
13198|      0|        (yyval.interm.spirvReq) = parseContext.mergeSpirvRequirements((yyvsp[-1].lex).loc, (yyvsp[-2].interm.spirvReq), (yyvsp[0].interm.spirvReq));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13199|      0|    }
13200|      0|#line 13201 "MachineIndependent/glslang_tab.cpp"
13201|      0|    break;
13202|       |
13203|      0|  case 697: /* spirv_requirements_parameter: IDENTIFIER EQUAL LEFT_BRACKET spirv_extension_list RIGHT_BRACKET  */
  ------------------
  |  Branch (13203:3): [True: 0, False: 15.2M]
  ------------------
13204|      0|#line 4531 "MachineIndependent/glslang.y"
13205|      0|                                                                       {
13206|      0|        (yyval.interm.spirvReq) = parseContext.makeSpirvRequirement((yyvsp[-3].lex).loc, *(yyvsp[-4].lex).string, (yyvsp[-1].interm.intermNode)->getAsAggregate(), nullptr);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13207|      0|    }
13208|      0|#line 13209 "MachineIndependent/glslang_tab.cpp"
13209|      0|    break;
13210|       |
13211|      0|  case 698: /* spirv_requirements_parameter: IDENTIFIER EQUAL LEFT_BRACKET spirv_capability_list RIGHT_BRACKET  */
  ------------------
  |  Branch (13211:3): [True: 0, False: 15.2M]
  ------------------
13212|      0|#line 4534 "MachineIndependent/glslang.y"
13213|      0|                                                                        {
13214|      0|        (yyval.interm.spirvReq) = parseContext.makeSpirvRequirement((yyvsp[-3].lex).loc, *(yyvsp[-4].lex).string, nullptr, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13215|      0|    }
13216|      0|#line 13217 "MachineIndependent/glslang_tab.cpp"
13217|      0|    break;
13218|       |
13219|      0|  case 699: /* spirv_extension_list: STRING_LITERAL  */
  ------------------
  |  Branch (13219:3): [True: 0, False: 15.2M]
  ------------------
13220|      0|#line 4539 "MachineIndependent/glslang.y"
13221|      0|                     {
13222|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13223|      0|    }
13224|      0|#line 13225 "MachineIndependent/glslang_tab.cpp"
13225|      0|    break;
13226|       |
13227|      0|  case 700: /* spirv_extension_list: spirv_extension_list COMMA STRING_LITERAL  */
  ------------------
  |  Branch (13227:3): [True: 0, False: 15.2M]
  ------------------
13228|      0|#line 4542 "MachineIndependent/glslang.y"
13229|      0|                                                {
13230|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  781|      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));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13231|      0|    }
13232|      0|#line 13233 "MachineIndependent/glslang_tab.cpp"
13233|      0|    break;
13234|       |
13235|      0|  case 701: /* spirv_capability_list: INTCONSTANT  */
  ------------------
  |  Branch (13235:3): [True: 0, False: 15.2M]
  ------------------
13236|      0|#line 4547 "MachineIndependent/glslang.y"
13237|      0|                  {
13238|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
                      (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13239|      0|    }
13240|      0|#line 13241 "MachineIndependent/glslang_tab.cpp"
13241|      0|    break;
13242|       |
13243|      0|  case 702: /* spirv_capability_list: spirv_capability_list COMMA INTCONSTANT  */
  ------------------
  |  Branch (13243:3): [True: 0, False: 15.2M]
  ------------------
13244|      0|#line 4550 "MachineIndependent/glslang.y"
13245|      0|                                              {
13246|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  781|      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));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13247|      0|    }
13248|      0|#line 13249 "MachineIndependent/glslang_tab.cpp"
13249|      0|    break;
13250|       |
13251|      0|  case 703: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE LEFT_PAREN INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (13251:3): [True: 0, False: 15.2M]
  ------------------
13252|      0|#line 4555 "MachineIndependent/glslang.y"
13253|      0|                                                              {
13254|      0|        parseContext.intermediate.insertSpirvExecutionMode((yyvsp[-1].lex).i);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13255|      0|        (yyval.interm.intermNode) = 0;
13256|      0|    }
13257|      0|#line 13258 "MachineIndependent/glslang_tab.cpp"
13258|      0|    break;
13259|       |
13260|      0|  case 704: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (13260:3): [True: 0, False: 15.2M]
  ------------------
13261|      0|#line 4559 "MachineIndependent/glslang.y"
13262|      0|                                                                                            {
13263|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13264|      0|        parseContext.intermediate.insertSpirvExecutionMode((yyvsp[-1].lex).i);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13265|      0|        (yyval.interm.intermNode) = 0;
13266|      0|    }
13267|      0|#line 13268 "MachineIndependent/glslang_tab.cpp"
13268|      0|    break;
13269|       |
13270|      0|  case 705: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE LEFT_PAREN INTCONSTANT COMMA spirv_execution_mode_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13270:3): [True: 0, False: 15.2M]
  ------------------
13271|      0|#line 4564 "MachineIndependent/glslang.y"
13272|      0|                                                                                                        {
13273|      0|        parseContext.intermediate.insertSpirvExecutionMode((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13274|      0|        (yyval.interm.intermNode) = 0;
13275|      0|    }
13276|      0|#line 13277 "MachineIndependent/glslang_tab.cpp"
13277|      0|    break;
13278|       |
13279|      0|  case 706: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_execution_mode_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13279:3): [True: 0, False: 15.2M]
  ------------------
13280|      0|#line 4568 "MachineIndependent/glslang.y"
13281|      0|                                                                                                                                      {
13282|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13283|      0|        parseContext.intermediate.insertSpirvExecutionMode((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13284|      0|        (yyval.interm.intermNode) = 0;
13285|      0|    }
13286|      0|#line 13287 "MachineIndependent/glslang_tab.cpp"
13287|      0|    break;
13288|       |
13289|      0|  case 707: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE_ID LEFT_PAREN INTCONSTANT COMMA spirv_execution_mode_id_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13289:3): [True: 0, False: 15.2M]
  ------------------
13290|      0|#line 4573 "MachineIndependent/glslang.y"
13291|      0|                                                                                                              {
13292|      0|        parseContext.intermediate.insertSpirvExecutionModeId((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13293|      0|        (yyval.interm.intermNode) = 0;
13294|      0|    }
13295|      0|#line 13296 "MachineIndependent/glslang_tab.cpp"
13296|      0|    break;
13297|       |
13298|      0|  case 708: /* 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 (13298:3): [True: 0, False: 15.2M]
  ------------------
13299|      0|#line 4577 "MachineIndependent/glslang.y"
13300|      0|                                                                                                                                            {
13301|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13302|      0|        parseContext.intermediate.insertSpirvExecutionModeId((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13303|      0|        (yyval.interm.intermNode) = 0;
13304|      0|    }
13305|      0|#line 13306 "MachineIndependent/glslang_tab.cpp"
13306|      0|    break;
13307|       |
13308|      0|  case 709: /* spirv_execution_mode_parameter_list: spirv_execution_mode_parameter  */
  ------------------
  |  Branch (13308:3): [True: 0, False: 15.2M]
  ------------------
13309|      0|#line 4584 "MachineIndependent/glslang.y"
13310|      0|                                     {
13311|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13312|      0|    }
13313|      0|#line 13314 "MachineIndependent/glslang_tab.cpp"
13314|      0|    break;
13315|       |
13316|      0|  case 710: /* spirv_execution_mode_parameter_list: spirv_execution_mode_parameter_list COMMA spirv_execution_mode_parameter  */
  ------------------
  |  Branch (13316:3): [True: 0, False: 15.2M]
  ------------------
13317|      0|#line 4587 "MachineIndependent/glslang.y"
13318|      0|                                                                               {
13319|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13320|      0|    }
13321|      0|#line 13322 "MachineIndependent/glslang_tab.cpp"
13322|      0|    break;
13323|       |
13324|      0|  case 711: /* spirv_execution_mode_parameter: FLOATCONSTANT  */
  ------------------
  |  Branch (13324:3): [True: 0, False: 15.2M]
  ------------------
13325|      0|#line 4592 "MachineIndependent/glslang.y"
13326|      0|                    {
13327|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13328|      0|    }
13329|      0|#line 13330 "MachineIndependent/glslang_tab.cpp"
13330|      0|    break;
13331|       |
13332|      0|  case 712: /* spirv_execution_mode_parameter: INTCONSTANT  */
  ------------------
  |  Branch (13332:3): [True: 0, False: 15.2M]
  ------------------
13333|      0|#line 4595 "MachineIndependent/glslang.y"
13334|      0|                  {
13335|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13336|      0|    }
13337|      0|#line 13338 "MachineIndependent/glslang_tab.cpp"
13338|      0|    break;
13339|       |
13340|      0|  case 713: /* spirv_execution_mode_parameter: UINTCONSTANT  */
  ------------------
  |  Branch (13340:3): [True: 0, False: 15.2M]
  ------------------
13341|      0|#line 4598 "MachineIndependent/glslang.y"
13342|      0|                   {
13343|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13344|      0|    }
13345|      0|#line 13346 "MachineIndependent/glslang_tab.cpp"
13346|      0|    break;
13347|       |
13348|      0|  case 714: /* spirv_execution_mode_parameter: BOOLCONSTANT  */
  ------------------
  |  Branch (13348:3): [True: 0, False: 15.2M]
  ------------------
13349|      0|#line 4601 "MachineIndependent/glslang.y"
13350|      0|                   {
13351|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).b, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13352|      0|    }
13353|      0|#line 13354 "MachineIndependent/glslang_tab.cpp"
13354|      0|    break;
13355|       |
13356|      0|  case 715: /* spirv_execution_mode_parameter: STRING_LITERAL  */
  ------------------
  |  Branch (13356:3): [True: 0, False: 15.2M]
  ------------------
13357|      0|#line 4604 "MachineIndependent/glslang.y"
13358|      0|                     {
13359|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13360|      0|    }
13361|      0|#line 13362 "MachineIndependent/glslang_tab.cpp"
13362|      0|    break;
13363|       |
13364|      0|  case 716: /* spirv_execution_mode_id_parameter_list: constant_expression  */
  ------------------
  |  Branch (13364:3): [True: 0, False: 15.2M]
  ------------------
13365|      0|#line 4609 "MachineIndependent/glslang.y"
13366|      0|                          {
13367|      0|        if ((yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtFloat &&
  ------------------
  |  Branch (13367:13): [True: 0, False: 0]
  ------------------
13368|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtInt &&
  ------------------
  |  Branch (13368:13): [True: 0, False: 0]
  ------------------
13369|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtUint &&
  ------------------
  |  Branch (13369:13): [True: 0, False: 0]
  ------------------
13370|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtBool &&
  ------------------
  |  Branch (13370:13): [True: 0, False: 0]
  ------------------
13371|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtString)
  ------------------
  |  Branch (13371:13): [True: 0, False: 0]
  ------------------
13372|      0|            parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "this type not allowed", (yyvsp[0].interm.intermTypedNode)->getType().getBasicString(), "");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13373|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13374|      0|    }
13375|      0|#line 13376 "MachineIndependent/glslang_tab.cpp"
13376|      0|    break;
13377|       |
13378|      0|  case 717: /* spirv_execution_mode_id_parameter_list: spirv_execution_mode_id_parameter_list COMMA constant_expression  */
  ------------------
  |  Branch (13378:3): [True: 0, False: 15.2M]
  ------------------
13379|      0|#line 4618 "MachineIndependent/glslang.y"
13380|      0|                                                                       {
13381|      0|        if ((yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtFloat &&
  ------------------
  |  Branch (13381:13): [True: 0, False: 0]
  ------------------
13382|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtInt &&
  ------------------
  |  Branch (13382:13): [True: 0, False: 0]
  ------------------
13383|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtUint &&
  ------------------
  |  Branch (13383:13): [True: 0, False: 0]
  ------------------
13384|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtBool &&
  ------------------
  |  Branch (13384:13): [True: 0, False: 0]
  ------------------
13385|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtString)
  ------------------
  |  Branch (13385:13): [True: 0, False: 0]
  ------------------
13386|      0|            parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "this type not allowed", (yyvsp[0].interm.intermTypedNode)->getType().getBasicString(), "");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13387|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13388|      0|    }
13389|      0|#line 13390 "MachineIndependent/glslang_tab.cpp"
13390|      0|    break;
13391|       |
13392|      0|  case 718: /* spirv_storage_class_qualifier: SPIRV_STORAGE_CLASS LEFT_PAREN INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (13392:3): [True: 0, False: 15.2M]
  ------------------
13393|      0|#line 4629 "MachineIndependent/glslang.y"
13394|      0|                                                             {
13395|      0|        (yyval.interm.type).init((yyvsp[-3].lex).loc);
13396|      0|        (yyval.interm.type).qualifier.storage = EvqSpirvStorageClass;
13397|      0|        (yyval.interm.type).qualifier.spirvStorageClass = (yyvsp[-1].lex).i;
13398|      0|    }
13399|      0|#line 13400 "MachineIndependent/glslang_tab.cpp"
13400|      0|    break;
13401|       |
13402|      0|  case 719: /* spirv_storage_class_qualifier: SPIRV_STORAGE_CLASS LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (13402:3): [True: 0, False: 15.2M]
  ------------------
13403|      0|#line 4634 "MachineIndependent/glslang.y"
13404|      0|                                                                                           {
13405|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
13406|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13407|      0|        (yyval.interm.type).qualifier.storage = EvqSpirvStorageClass;
13408|      0|        (yyval.interm.type).qualifier.spirvStorageClass = (yyvsp[-1].lex).i;
13409|      0|    }
13410|      0|#line 13411 "MachineIndependent/glslang_tab.cpp"
13411|      0|    break;
13412|       |
13413|      0|  case 720: /* spirv_decorate_qualifier: SPIRV_DECORATE LEFT_PAREN INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (13413:3): [True: 0, False: 15.2M]
  ------------------
13414|      0|#line 4642 "MachineIndependent/glslang.y"
13415|      0|                                                       {
13416|      0|        (yyval.interm.type).init((yyvsp[-3].lex).loc);
13417|      0|        (yyval.interm.type).qualifier.setSpirvDecorate((yyvsp[-1].lex).i);
13418|      0|    }
13419|      0|#line 13420 "MachineIndependent/glslang_tab.cpp"
13420|      0|    break;
13421|       |
13422|      0|  case 721: /* spirv_decorate_qualifier: SPIRV_DECORATE LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (13422:3): [True: 0, False: 15.2M]
  ------------------
13423|      0|#line 4646 "MachineIndependent/glslang.y"
13424|      0|                                                                                     {
13425|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
13426|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13427|      0|        (yyval.interm.type).qualifier.setSpirvDecorate((yyvsp[-1].lex).i);
13428|      0|    }
13429|      0|#line 13430 "MachineIndependent/glslang_tab.cpp"
13430|      0|    break;
13431|       |
13432|      0|  case 722: /* spirv_decorate_qualifier: SPIRV_DECORATE LEFT_PAREN INTCONSTANT COMMA spirv_decorate_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13432:3): [True: 0, False: 15.2M]
  ------------------
13433|      0|#line 4651 "MachineIndependent/glslang.y"
13434|      0|                                                                                            {
13435|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
13436|      0|        (yyval.interm.type).qualifier.setSpirvDecorate((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
13437|      0|    }
13438|      0|#line 13439 "MachineIndependent/glslang_tab.cpp"
13439|      0|    break;
13440|       |
13441|      0|  case 723: /* spirv_decorate_qualifier: SPIRV_DECORATE LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_decorate_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13441:3): [True: 0, False: 15.2M]
  ------------------
13442|      0|#line 4655 "MachineIndependent/glslang.y"
13443|      0|                                                                                                                          {
13444|      0|        (yyval.interm.type).init((yyvsp[-7].lex).loc);
13445|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13446|      0|        (yyval.interm.type).qualifier.setSpirvDecorate((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
13447|      0|    }
13448|      0|#line 13449 "MachineIndependent/glslang_tab.cpp"
13449|      0|    break;
13450|       |
13451|      0|  case 724: /* spirv_decorate_qualifier: SPIRV_DECORATE_ID LEFT_PAREN INTCONSTANT COMMA spirv_decorate_id_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13451:3): [True: 0, False: 15.2M]
  ------------------
13452|      0|#line 4660 "MachineIndependent/glslang.y"
13453|      0|                                                                                                  {
13454|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
13455|      0|        (yyval.interm.type).qualifier.setSpirvDecorateId((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
13456|      0|    }
13457|      0|#line 13458 "MachineIndependent/glslang_tab.cpp"
13458|      0|    break;
13459|       |
13460|      0|  case 725: /* spirv_decorate_qualifier: SPIRV_DECORATE_ID LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_decorate_id_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13460:3): [True: 0, False: 15.2M]
  ------------------
13461|      0|#line 4664 "MachineIndependent/glslang.y"
13462|      0|                                                                                                                                {
13463|      0|        (yyval.interm.type).init((yyvsp[-7].lex).loc);
13464|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13465|      0|        (yyval.interm.type).qualifier.setSpirvDecorateId((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
13466|      0|    }
13467|      0|#line 13468 "MachineIndependent/glslang_tab.cpp"
13468|      0|    break;
13469|       |
13470|      0|  case 726: /* spirv_decorate_qualifier: SPIRV_DECORATE_STRING LEFT_PAREN INTCONSTANT COMMA spirv_decorate_string_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13470:3): [True: 0, False: 15.2M]
  ------------------
13471|      0|#line 4669 "MachineIndependent/glslang.y"
13472|      0|                                                                                                          {
13473|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
13474|      0|        (yyval.interm.type).qualifier.setSpirvDecorateString((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
13475|      0|    }
13476|      0|#line 13477 "MachineIndependent/glslang_tab.cpp"
13477|      0|    break;
13478|       |
13479|      0|  case 727: /* spirv_decorate_qualifier: SPIRV_DECORATE_STRING LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_decorate_string_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13479:3): [True: 0, False: 15.2M]
  ------------------
13480|      0|#line 4673 "MachineIndependent/glslang.y"
13481|      0|                                                                                                                                        {
13482|      0|        (yyval.interm.type).init((yyvsp[-7].lex).loc);
13483|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13484|      0|        (yyval.interm.type).qualifier.setSpirvDecorateString((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
13485|      0|    }
13486|      0|#line 13487 "MachineIndependent/glslang_tab.cpp"
13487|      0|    break;
13488|       |
13489|      0|  case 728: /* spirv_decorate_parameter_list: spirv_decorate_parameter  */
  ------------------
  |  Branch (13489:3): [True: 0, False: 15.2M]
  ------------------
13490|      0|#line 4680 "MachineIndependent/glslang.y"
13491|      0|                               {
13492|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13493|      0|    }
13494|      0|#line 13495 "MachineIndependent/glslang_tab.cpp"
13495|      0|    break;
13496|       |
13497|      0|  case 729: /* spirv_decorate_parameter_list: spirv_decorate_parameter_list COMMA spirv_decorate_parameter  */
  ------------------
  |  Branch (13497:3): [True: 0, False: 15.2M]
  ------------------
13498|      0|#line 4683 "MachineIndependent/glslang.y"
13499|      0|                                                                   {
13500|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13501|      0|    }
13502|      0|#line 13503 "MachineIndependent/glslang_tab.cpp"
13503|      0|    break;
13504|       |
13505|      0|  case 730: /* spirv_decorate_parameter: FLOATCONSTANT  */
  ------------------
  |  Branch (13505:3): [True: 0, False: 15.2M]
  ------------------
13506|      0|#line 4688 "MachineIndependent/glslang.y"
13507|      0|                    {
13508|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13509|      0|    }
13510|      0|#line 13511 "MachineIndependent/glslang_tab.cpp"
13511|      0|    break;
13512|       |
13513|      0|  case 731: /* spirv_decorate_parameter: INTCONSTANT  */
  ------------------
  |  Branch (13513:3): [True: 0, False: 15.2M]
  ------------------
13514|      0|#line 4691 "MachineIndependent/glslang.y"
13515|      0|                  {
13516|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13517|      0|    }
13518|      0|#line 13519 "MachineIndependent/glslang_tab.cpp"
13519|      0|    break;
13520|       |
13521|      0|  case 732: /* spirv_decorate_parameter: UINTCONSTANT  */
  ------------------
  |  Branch (13521:3): [True: 0, False: 15.2M]
  ------------------
13522|      0|#line 4694 "MachineIndependent/glslang.y"
13523|      0|                   {
13524|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13525|      0|    }
13526|      0|#line 13527 "MachineIndependent/glslang_tab.cpp"
13527|      0|    break;
13528|       |
13529|      0|  case 733: /* spirv_decorate_parameter: BOOLCONSTANT  */
  ------------------
  |  Branch (13529:3): [True: 0, False: 15.2M]
  ------------------
13530|      0|#line 4697 "MachineIndependent/glslang.y"
13531|      0|                   {
13532|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).b, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13533|      0|    }
13534|      0|#line 13535 "MachineIndependent/glslang_tab.cpp"
13535|      0|    break;
13536|       |
13537|      0|  case 734: /* spirv_decorate_id_parameter_list: spirv_decorate_id_parameter  */
  ------------------
  |  Branch (13537:3): [True: 0, False: 15.2M]
  ------------------
13538|      0|#line 4702 "MachineIndependent/glslang.y"
13539|      0|                                  {
13540|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13541|      0|    }
13542|      0|#line 13543 "MachineIndependent/glslang_tab.cpp"
13543|      0|    break;
13544|       |
13545|      0|  case 735: /* spirv_decorate_id_parameter_list: spirv_decorate_id_parameter_list COMMA spirv_decorate_id_parameter  */
  ------------------
  |  Branch (13545:3): [True: 0, False: 15.2M]
  ------------------
13546|      0|#line 4705 "MachineIndependent/glslang.y"
13547|      0|                                                                         {
13548|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13549|      0|    }
13550|      0|#line 13551 "MachineIndependent/glslang_tab.cpp"
13551|      0|    break;
13552|       |
13553|      0|  case 736: /* spirv_decorate_id_parameter: variable_identifier  */
  ------------------
  |  Branch (13553:3): [True: 0, False: 15.2M]
  ------------------
13554|      0|#line 4710 "MachineIndependent/glslang.y"
13555|      0|                          {
13556|      0|        if ((yyvsp[0].interm.intermTypedNode)->getAsConstantUnion() || (yyvsp[0].interm.intermTypedNode)->getAsSymbolNode())
  ------------------
  |  Branch (13556:13): [True: 0, False: 0]
  |  Branch (13556:72): [True: 0, False: 0]
  ------------------
13557|      0|            (yyval.interm.intermNode) = (yyvsp[0].interm.intermTypedNode);
13558|      0|        else
13559|      0|            parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "only allow constants or variables which are not elements of a composite", "", "");
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13560|      0|    }
13561|      0|#line 13562 "MachineIndependent/glslang_tab.cpp"
13562|      0|    break;
13563|       |
13564|      0|  case 737: /* spirv_decorate_id_parameter: FLOATCONSTANT  */
  ------------------
  |  Branch (13564:3): [True: 0, False: 15.2M]
  ------------------
13565|      0|#line 4716 "MachineIndependent/glslang.y"
13566|      0|                    {
13567|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13568|      0|    }
13569|      0|#line 13570 "MachineIndependent/glslang_tab.cpp"
13570|      0|    break;
13571|       |
13572|      0|  case 738: /* spirv_decorate_id_parameter: INTCONSTANT  */
  ------------------
  |  Branch (13572:3): [True: 0, False: 15.2M]
  ------------------
13573|      0|#line 4719 "MachineIndependent/glslang.y"
13574|      0|                  {
13575|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13576|      0|    }
13577|      0|#line 13578 "MachineIndependent/glslang_tab.cpp"
13578|      0|    break;
13579|       |
13580|      0|  case 739: /* spirv_decorate_id_parameter: UINTCONSTANT  */
  ------------------
  |  Branch (13580:3): [True: 0, False: 15.2M]
  ------------------
13581|      0|#line 4722 "MachineIndependent/glslang.y"
13582|      0|                   {
13583|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13584|      0|    }
13585|      0|#line 13586 "MachineIndependent/glslang_tab.cpp"
13586|      0|    break;
13587|       |
13588|      0|  case 740: /* spirv_decorate_id_parameter: BOOLCONSTANT  */
  ------------------
  |  Branch (13588:3): [True: 0, False: 15.2M]
  ------------------
13589|      0|#line 4725 "MachineIndependent/glslang.y"
13590|      0|                   {
13591|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).b, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13592|      0|    }
13593|      0|#line 13594 "MachineIndependent/glslang_tab.cpp"
13594|      0|    break;
13595|       |
13596|      0|  case 741: /* spirv_decorate_string_parameter_list: STRING_LITERAL  */
  ------------------
  |  Branch (13596:3): [True: 0, False: 15.2M]
  ------------------
13597|      0|#line 4730 "MachineIndependent/glslang.y"
13598|      0|                     {
13599|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13600|      0|            parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13601|      0|    }
13602|      0|#line 13603 "MachineIndependent/glslang_tab.cpp"
13603|      0|    break;
13604|       |
13605|      0|  case 742: /* spirv_decorate_string_parameter_list: spirv_decorate_string_parameter_list COMMA STRING_LITERAL  */
  ------------------
  |  Branch (13605:3): [True: 0, False: 15.2M]
  ------------------
13606|      0|#line 4734 "MachineIndependent/glslang.y"
13607|      0|                                                                {
13608|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  781|      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));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13609|      0|    }
13610|      0|#line 13611 "MachineIndependent/glslang_tab.cpp"
13611|      0|    break;
13612|       |
13613|      0|  case 743: /* spirv_type_specifier: SPIRV_TYPE LEFT_PAREN spirv_instruction_qualifier_list COMMA spirv_type_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13613:3): [True: 0, False: 15.2M]
  ------------------
13614|      0|#line 4739 "MachineIndependent/glslang.y"
13615|      0|                                                                                                         {
13616|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13617|      0|        (yyval.interm.type).setSpirvType(*(yyvsp[-3].interm.spirvInst), (yyvsp[-1].interm.spirvTypeParams));
13618|      0|    }
13619|      0|#line 13620 "MachineIndependent/glslang_tab.cpp"
13620|      0|    break;
13621|       |
13622|      0|  case 744: /* spirv_type_specifier: SPIRV_TYPE LEFT_PAREN spirv_requirements_list COMMA spirv_instruction_qualifier_list COMMA spirv_type_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13622:3): [True: 0, False: 15.2M]
  ------------------
13623|      0|#line 4743 "MachineIndependent/glslang.y"
13624|      0|                                                                                                                                       {
13625|      0|        (yyval.interm.type).init((yyvsp[-7].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13626|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13627|      0|        (yyval.interm.type).setSpirvType(*(yyvsp[-3].interm.spirvInst), (yyvsp[-1].interm.spirvTypeParams));
13628|      0|    }
13629|      0|#line 13630 "MachineIndependent/glslang_tab.cpp"
13630|      0|    break;
13631|       |
13632|      0|  case 745: /* spirv_type_specifier: SPIRV_TYPE LEFT_PAREN spirv_instruction_qualifier_list RIGHT_PAREN  */
  ------------------
  |  Branch (13632:3): [True: 0, False: 15.2M]
  ------------------
13633|      0|#line 4748 "MachineIndependent/glslang.y"
13634|      0|                                                                         {
13635|      0|        (yyval.interm.type).init((yyvsp[-3].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13636|      0|        (yyval.interm.type).setSpirvType(*(yyvsp[-1].interm.spirvInst));
13637|      0|    }
13638|      0|#line 13639 "MachineIndependent/glslang_tab.cpp"
13639|      0|    break;
13640|       |
13641|      0|  case 746: /* spirv_type_specifier: SPIRV_TYPE LEFT_PAREN spirv_requirements_list COMMA spirv_instruction_qualifier_list RIGHT_PAREN  */
  ------------------
  |  Branch (13641:3): [True: 0, False: 15.2M]
  ------------------
13642|      0|#line 4752 "MachineIndependent/glslang.y"
13643|      0|                                                                                                       {
13644|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13645|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13646|      0|        (yyval.interm.type).setSpirvType(*(yyvsp[-1].interm.spirvInst));
13647|      0|    }
13648|      0|#line 13649 "MachineIndependent/glslang_tab.cpp"
13649|      0|    break;
13650|       |
13651|      0|  case 747: /* spirv_type_parameter_list: spirv_type_parameter  */
  ------------------
  |  Branch (13651:3): [True: 0, False: 15.2M]
  ------------------
13652|      0|#line 4759 "MachineIndependent/glslang.y"
13653|      0|                           {
13654|      0|        (yyval.interm.spirvTypeParams) = (yyvsp[0].interm.spirvTypeParams);
13655|      0|    }
13656|      0|#line 13657 "MachineIndependent/glslang_tab.cpp"
13657|      0|    break;
13658|       |
13659|      0|  case 748: /* spirv_type_parameter_list: spirv_type_parameter_list COMMA spirv_type_parameter  */
  ------------------
  |  Branch (13659:3): [True: 0, False: 15.2M]
  ------------------
13660|      0|#line 4762 "MachineIndependent/glslang.y"
13661|      0|                                                           {
13662|      0|        (yyval.interm.spirvTypeParams) = parseContext.mergeSpirvTypeParameters((yyvsp[-2].interm.spirvTypeParams), (yyvsp[0].interm.spirvTypeParams));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13663|      0|    }
13664|      0|#line 13665 "MachineIndependent/glslang_tab.cpp"
13665|      0|    break;
13666|       |
13667|      0|  case 749: /* spirv_type_parameter: constant_expression  */
  ------------------
  |  Branch (13667:3): [True: 0, False: 15.2M]
  ------------------
13668|      0|#line 4767 "MachineIndependent/glslang.y"
13669|      0|                          {
13670|      0|        (yyval.interm.spirvTypeParams) = parseContext.makeSpirvTypeParameters((yyvsp[0].interm.intermTypedNode)->getLoc(), (yyvsp[0].interm.intermTypedNode)->getAsConstantUnion());
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13671|      0|    }
13672|      0|#line 13673 "MachineIndependent/glslang_tab.cpp"
13673|      0|    break;
13674|       |
13675|      0|  case 750: /* spirv_type_parameter: type_specifier_nonarray  */
  ------------------
  |  Branch (13675:3): [True: 0, False: 15.2M]
  ------------------
13676|      0|#line 4770 "MachineIndependent/glslang.y"
13677|      0|                              {
13678|      0|        (yyval.interm.spirvTypeParams) = parseContext.makeSpirvTypeParameters((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13679|      0|    }
13680|      0|#line 13681 "MachineIndependent/glslang_tab.cpp"
13681|      0|    break;
13682|       |
13683|      0|  case 751: /* spirv_instruction_qualifier: SPIRV_INSTRUCTION LEFT_PAREN spirv_instruction_qualifier_list RIGHT_PAREN  */
  ------------------
  |  Branch (13683:3): [True: 0, False: 15.2M]
  ------------------
13684|      0|#line 4775 "MachineIndependent/glslang.y"
13685|      0|                                                                                {
13686|      0|        (yyval.interm.spirvInst) = (yyvsp[-1].interm.spirvInst);
13687|      0|    }
13688|      0|#line 13689 "MachineIndependent/glslang_tab.cpp"
13689|      0|    break;
13690|       |
13691|      0|  case 752: /* spirv_instruction_qualifier: SPIRV_INSTRUCTION LEFT_PAREN spirv_requirements_list COMMA spirv_instruction_qualifier_list RIGHT_PAREN  */
  ------------------
  |  Branch (13691:3): [True: 0, False: 15.2M]
  ------------------
13692|      0|#line 4778 "MachineIndependent/glslang.y"
13693|      0|                                                                                                              {
13694|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13695|      0|        (yyval.interm.spirvInst) = (yyvsp[-1].interm.spirvInst);
13696|      0|    }
13697|      0|#line 13698 "MachineIndependent/glslang_tab.cpp"
13698|      0|    break;
13699|       |
13700|      0|  case 753: /* spirv_instruction_qualifier_list: spirv_instruction_qualifier_id  */
  ------------------
  |  Branch (13700:3): [True: 0, False: 15.2M]
  ------------------
13701|      0|#line 4784 "MachineIndependent/glslang.y"
13702|      0|                                     {
13703|      0|        (yyval.interm.spirvInst) = (yyvsp[0].interm.spirvInst);
13704|      0|    }
13705|      0|#line 13706 "MachineIndependent/glslang_tab.cpp"
13706|      0|    break;
13707|       |
13708|      0|  case 754: /* spirv_instruction_qualifier_list: spirv_instruction_qualifier_list COMMA spirv_instruction_qualifier_id  */
  ------------------
  |  Branch (13708:3): [True: 0, False: 15.2M]
  ------------------
13709|      0|#line 4787 "MachineIndependent/glslang.y"
13710|      0|                                                                            {
13711|      0|        (yyval.interm.spirvInst) = parseContext.mergeSpirvInstruction((yyvsp[-1].lex).loc, (yyvsp[-2].interm.spirvInst), (yyvsp[0].interm.spirvInst));
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13712|      0|    }
13713|      0|#line 13714 "MachineIndependent/glslang_tab.cpp"
13714|      0|    break;
13715|       |
13716|      0|  case 755: /* spirv_instruction_qualifier_id: IDENTIFIER EQUAL STRING_LITERAL  */
  ------------------
  |  Branch (13716:3): [True: 0, False: 15.2M]
  ------------------
13717|      0|#line 4792 "MachineIndependent/glslang.y"
13718|      0|                                      {
13719|      0|        (yyval.interm.spirvInst) = parseContext.makeSpirvInstruction((yyvsp[-1].lex).loc, *(yyvsp[-2].lex).string, *(yyvsp[0].lex).string);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13720|      0|    }
13721|      0|#line 13722 "MachineIndependent/glslang_tab.cpp"
13722|      0|    break;
13723|       |
13724|      0|  case 756: /* spirv_instruction_qualifier_id: IDENTIFIER EQUAL INTCONSTANT  */
  ------------------
  |  Branch (13724:3): [True: 0, False: 15.2M]
  ------------------
13725|      0|#line 4795 "MachineIndependent/glslang.y"
13726|      0|                                   {
13727|      0|        (yyval.interm.spirvInst) = parseContext.makeSpirvInstruction((yyvsp[-1].lex).loc, *(yyvsp[-2].lex).string, (yyvsp[0].lex).i);
  ------------------
  |  |  781|      0|#define parseContext (*pParseContext)
  ------------------
13728|      0|    }
13729|      0|#line 13730 "MachineIndependent/glslang_tab.cpp"
13730|      0|    break;
13731|       |
13732|       |
13733|      0|#line 13734 "MachineIndependent/glslang_tab.cpp"
13734|       |
13735|      0|      default: break;
  ------------------
  |  Branch (13735:7): [True: 0, False: 15.2M]
  ------------------
13736|  15.2M|    }
13737|       |  /* User semantic actions sometimes alter yychar, and that requires
13738|       |     that yytoken be updated with the new translation.  We take the
13739|       |     approach of translating immediately before every use of yytoken.
13740|       |     One alternative is translating here after every semantic action,
13741|       |     but that translation would be missed if the semantic action invokes
13742|       |     YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or
13743|       |     if it invokes YYBACKUP.  In the case of YYABORT or YYACCEPT, an
13744|       |     incorrect destructor might then be invoked immediately.  In the
13745|       |     case of YYERROR or YYBACKUP, subsequent parser actions might lead
13746|       |     to an incorrect destructor call or verbose syntax error message
13747|       |     before the lookahead is translated.  */
13748|  15.2M|  YY_SYMBOL_PRINT ("-> $$ =", YY_CAST (yysymbol_kind_t, yyr1[yyn]), &yyval, &yyloc);
  ------------------
  |  | 5191|  15.2M|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 5192|  15.2M|do {                                                                      \
  |  | 5193|  15.2M|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (5193:7): [True: 0, False: 15.2M]
  |  |  ------------------
  |  | 5194|  15.2M|    {                                                                     \
  |  | 5195|      0|      YYFPRINTF (stderr, "%s ", Title);                                   \
  |  |  ------------------
  |  |  |  | 5179|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5196|      0|      yy_symbol_print (stderr,                                            \
  |  | 5197|      0|                  Kind, Value, pParseContext); \
  |  | 5198|      0|      YYFPRINTF (stderr, "\n");                                           \
  |  |  ------------------
  |  |  |  | 5179|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5199|      0|    }                                                                     \
  |  | 5200|  15.2M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5200:10): [Folded, False: 15.2M]
  |  |  ------------------
  ------------------
13749|       |
13750|  15.2M|  YYPOPSTACK (yylen);
  ------------------
  |  | 5668|  15.2M|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13751|  15.2M|  yylen = 0;
13752|       |
13753|  15.2M|  *++yyvsp = yyval;
13754|       |
13755|       |  /* Now 'shift' the result of the reduction.  Determine what state
13756|       |     that goes to, based on the state we popped back to and the rule
13757|       |     number reduced by.  */
13758|  15.2M|  {
13759|  15.2M|    const int yylhs = yyr1[yyn] - YYNTOKENS;
  ------------------
  |  | 1114|  15.2M|#define YYNTOKENS  513
  ------------------
13760|  15.2M|    const int yyi = yypgoto[yylhs] + *yyssp;
13761|  15.2M|    yystate = (0 <= yyi && yyi <= YYLAST && yycheck[yyi] == *yyssp
  ------------------
  |  | 1111|  23.1M|#define YYLAST   15542
  ------------------
  |  Branch (13761:16): [True: 7.88M, False: 7.33M]
  |  Branch (13761:28): [True: 7.88M, False: 0]
  |  Branch (13761:45): [True: 4.98M, False: 2.90M]
  ------------------
13762|  15.2M|               ? yytable[yyi]
13763|  15.2M|               : yydefgoto[yylhs]);
13764|  15.2M|  }
13765|       |
13766|  15.2M|  goto yynewstate;
13767|       |
13768|       |
13769|       |/*--------------------------------------.
13770|       || yyerrlab -- here on detecting error.  |
13771|       |`--------------------------------------*/
13772|     27|yyerrlab:
13773|       |  /* Make sure we have latest lookahead translation.  See comments at
13774|       |     user semantic actions for why this is necessary.  */
13775|     27|  yytoken = yychar == YYEMPTY ? YYSYMBOL_YYEMPTY : YYTRANSLATE (yychar);
  ------------------
  |  | 1129|     54|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  | 1123|     27|#define YYMAXUTOK   767
  |  |  ------------------
  |  |  |  Branch (1129:4): [True: 27, False: 0]
  |  |  |  Branch (1129:18): [True: 27, False: 0]
  |  |  ------------------
  |  | 1130|     54|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  100|     27|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  |  | 1131|     54|   : YYSYMBOL_YYUNDEF)
  ------------------
  |  Branch (13775:13): [True: 0, False: 27]
  ------------------
13776|       |  /* If not already recovering from an error, report this error.  */
13777|     27|  if (!yyerrstatus)
  ------------------
  |  Branch (13777:7): [True: 27, False: 0]
  ------------------
13778|     27|    {
13779|     27|      ++yynerrs;
13780|     27|      {
13781|     27|        yypcontext_t yyctx
13782|     27|          = {yyssp, yytoken};
13783|     27|        char const *yymsgp = YY_("syntax error");
  ------------------
  |  |  913|     27|#  define YY_(Msgid) Msgid
  ------------------
13784|     27|        int yysyntax_error_status;
13785|     27|        yysyntax_error_status = yysyntax_error (&yymsg_alloc, &yymsg, &yyctx);
13786|     27|        if (yysyntax_error_status == 0)
  ------------------
  |  Branch (13786:13): [True: 27, False: 0]
  ------------------
13787|     27|          yymsgp = yymsg;
13788|      0|        else if (yysyntax_error_status == -1)
  ------------------
  |  Branch (13788:18): [True: 0, False: 0]
  ------------------
13789|      0|          {
13790|      0|            if (yymsg != yymsgbuf)
  ------------------
  |  Branch (13790:17): [True: 0, False: 0]
  ------------------
13791|      0|              YYSTACK_FREE (yymsg);
  ------------------
  |  | 1021|      0|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  | 1040|      0|#   define YYFREE free
  |  |  ------------------
  ------------------
13792|      0|            yymsg = YY_CAST (char *,
  ------------------
  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  ------------------
13793|      0|                             YYSTACK_ALLOC (YY_CAST (YYSIZE_T, yymsg_alloc)));
13794|      0|            if (yymsg)
  ------------------
  |  Branch (13794:17): [True: 0, False: 0]
  ------------------
13795|      0|              {
13796|      0|                yysyntax_error_status
13797|      0|                  = yysyntax_error (&yymsg_alloc, &yymsg, &yyctx);
13798|      0|                yymsgp = yymsg;
13799|      0|              }
13800|      0|            else
13801|      0|              {
13802|      0|                yymsg = yymsgbuf;
13803|      0|                yymsg_alloc = sizeof yymsgbuf;
13804|      0|                yysyntax_error_status = YYENOMEM;
13805|      0|              }
13806|      0|          }
13807|     27|        yyerror (pParseContext, yymsgp);
  ------------------
  |  |  782|     27|#define yyerror(context, msg) context->parserError(msg)
  ------------------
13808|     27|        if (yysyntax_error_status == YYENOMEM)
  ------------------
  |  Branch (13808:13): [True: 0, False: 27]
  ------------------
13809|      0|          YYNOMEM;
  ------------------
  |  | 5147|      0|#define YYNOMEM         goto yyexhaustedlab
  ------------------
13810|     27|      }
13811|     27|    }
13812|       |
13813|     27|  if (yyerrstatus == 3)
  ------------------
  |  Branch (13813:7): [True: 0, False: 27]
  ------------------
13814|      0|    {
13815|       |      /* If just tried and failed to reuse lookahead token after an
13816|       |         error, discard it.  */
13817|       |
13818|      0|      if (yychar <= YYEOF)
  ------------------
  |  Branch (13818:11): [True: 0, False: 0]
  ------------------
13819|      0|        {
13820|       |          /* Return failure if at end of input.  */
13821|      0|          if (yychar == YYEOF)
  ------------------
  |  Branch (13821:15): [True: 0, False: 0]
  ------------------
13822|      0|            YYABORT;
  ------------------
  |  | 5145|      0|#define YYABORT         goto yyabortlab
  ------------------
13823|      0|        }
13824|      0|      else
13825|      0|        {
13826|      0|          yydestruct ("Error: discarding",
13827|      0|                      yytoken, &yylval, pParseContext);
13828|      0|          yychar = YYEMPTY;
13829|      0|        }
13830|      0|    }
13831|       |
13832|       |  /* Else will try to reuse lookahead token after shifting the error
13833|       |     token.  */
13834|     27|  goto yyerrlab1;
13835|       |
13836|       |
13837|       |/*---------------------------------------------------.
13838|       || yyerrorlab -- error raised explicitly by YYERROR.  |
13839|       |`---------------------------------------------------*/
13840|     27|yyerrorlab:
13841|       |  /* Pacify compilers when the user code never invokes YYERROR and the
13842|       |     label yyerrorlab therefore never appears in user code.  */
13843|      0|  if (0)
  ------------------
  |  Branch (13843:7): [Folded, False: 0]
  ------------------
13844|      0|    YYERROR;
  ------------------
  |  | 5146|      0|#define YYERROR         goto yyerrorlab
  ------------------
13845|      0|  ++yynerrs;
13846|       |
13847|       |  /* Do not reclaim the symbols of the rule whose action triggered
13848|       |     this YYERROR.  */
13849|      0|  YYPOPSTACK (yylen);
  ------------------
  |  | 5668|      0|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13850|      0|  yylen = 0;
13851|      0|  YY_STACK_PRINT (yyss, yyssp);
  ------------------
  |  | 5254|      0|# define YY_STACK_PRINT(Bottom, Top)                            \
  |  | 5255|      0|do {                                                            \
  |  | 5256|      0|  if (yydebug)                                                  \
  |  |  ------------------
  |  |  |  Branch (5256:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 5257|      0|    yy_stack_print ((Bottom), (Top));                           \
  |  | 5258|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (5258:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
13852|      0|  yystate = *yyssp;
13853|      0|  goto yyerrlab1;
13854|       |
13855|       |
13856|       |/*-------------------------------------------------------------.
13857|       || yyerrlab1 -- common code for both syntax error and YYERROR.  |
13858|       |`-------------------------------------------------------------*/
13859|     27|yyerrlab1:
13860|     27|  yyerrstatus = 3;      /* Each real token shifted decrements this.  */
13861|       |
13862|       |  /* Pop stack until we find a state that shifts the error token.  */
13863|     27|  for (;;)
13864|    127|    {
13865|    127|      yyn = yypact[yystate];
13866|    127|      if (!yypact_value_is_default (yyn))
  ------------------
  |  | 1488|    127|  ((Yyn) == YYPACT_NINF)
  |  |  ------------------
  |  |  |  | 1485|    127|#define YYPACT_NINF (-936)
  |  |  ------------------
  ------------------
  |  Branch (13866:11): [True: 120, False: 7]
  ------------------
13867|    120|        {
13868|    120|          yyn += YYSYMBOL_YYerror;
13869|    120|          if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror)
  ------------------
  |  | 1111|    204|#define YYLAST   15542
  ------------------
  |  Branch (13869:15): [True: 84, False: 36]
  |  Branch (13869:27): [True: 84, False: 0]
  |  Branch (13869:44): [True: 0, False: 84]
  ------------------
13870|      0|            {
13871|      0|              yyn = yytable[yyn];
13872|      0|              if (0 < yyn)
  ------------------
  |  Branch (13872:19): [True: 0, False: 0]
  ------------------
13873|      0|                break;
13874|      0|            }
13875|    120|        }
13876|       |
13877|       |      /* Pop the current state because it cannot handle the error token.  */
13878|    127|      if (yyssp == yyss)
  ------------------
  |  Branch (13878:11): [True: 27, False: 100]
  ------------------
13879|     27|        YYABORT;
  ------------------
  |  | 5145|     27|#define YYABORT         goto yyabortlab
  ------------------
13880|       |
13881|       |
13882|    100|      yydestruct ("Error: popping",
13883|    100|                  YY_ACCESSING_SYMBOL (yystate), yyvsp, pParseContext);
  ------------------
  |  | 1300|    100|#define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State])
  |  |  ------------------
  |  |  |  |  100|    100|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  ------------------
13884|    100|      YYPOPSTACK (1);
  ------------------
  |  | 5668|    100|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13885|    100|      yystate = *yyssp;
13886|    100|      YY_STACK_PRINT (yyss, yyssp);
  ------------------
  |  | 5254|    100|# define YY_STACK_PRINT(Bottom, Top)                            \
  |  | 5255|    100|do {                                                            \
  |  | 5256|    100|  if (yydebug)                                                  \
  |  |  ------------------
  |  |  |  Branch (5256:7): [True: 0, False: 100]
  |  |  ------------------
  |  | 5257|    100|    yy_stack_print ((Bottom), (Top));                           \
  |  | 5258|    100|} while (0)
  |  |  ------------------
  |  |  |  Branch (5258:10): [Folded, False: 100]
  |  |  ------------------
  ------------------
13887|    100|    }
13888|       |
13889|      0|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
13890|      0|  *++yyvsp = yylval;
13891|      0|  YY_IGNORE_MAYBE_UNINITIALIZED_END
13892|       |
13893|       |
13894|       |  /* Shift the error token.  */
13895|      0|  YY_SYMBOL_PRINT ("Shifting", YY_ACCESSING_SYMBOL (yyn), yyvsp, yylsp);
  ------------------
  |  | 5191|      0|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 5192|      0|do {                                                                      \
  |  | 5193|      0|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (5193:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 5194|      0|    {                                                                     \
  |  | 5195|      0|      YYFPRINTF (stderr, "%s ", Title);                                   \
  |  |  ------------------
  |  |  |  | 5179|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5196|      0|      yy_symbol_print (stderr,                                            \
  |  | 5197|      0|                  Kind, Value, pParseContext); \
  |  | 5198|      0|      YYFPRINTF (stderr, "\n");                                           \
  |  |  ------------------
  |  |  |  | 5179|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5199|      0|    }                                                                     \
  |  | 5200|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (5200:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
13896|       |
13897|      0|  yystate = yyn;
13898|      0|  goto yynewstate;
13899|       |
13900|       |
13901|       |/*-------------------------------------.
13902|       || yyacceptlab -- YYACCEPT comes here.  |
13903|       |`-------------------------------------*/
13904|    642|yyacceptlab:
13905|    642|  yyresult = 0;
13906|    642|  goto yyreturnlab;
13907|       |
13908|       |
13909|       |/*-----------------------------------.
13910|       || yyabortlab -- YYABORT comes here.  |
13911|       |`-----------------------------------*/
13912|     27|yyabortlab:
13913|     27|  yyresult = 1;
13914|     27|  goto yyreturnlab;
13915|       |
13916|       |
13917|       |/*-----------------------------------------------------------.
13918|       || yyexhaustedlab -- YYNOMEM (memory exhaustion) comes here.  |
13919|       |`-----------------------------------------------------------*/
13920|      0|yyexhaustedlab:
13921|      0|  yyerror (pParseContext, YY_("memory exhausted"));
  ------------------
  |  |  782|      0|#define yyerror(context, msg) context->parserError(msg)
  ------------------
13922|      0|  yyresult = 2;
13923|      0|  goto yyreturnlab;
13924|       |
13925|       |
13926|       |/*----------------------------------------------------------.
13927|       || yyreturnlab -- parsing is finished, clean up and return.  |
13928|       |`----------------------------------------------------------*/
13929|    669|yyreturnlab:
13930|    669|  if (yychar != YYEMPTY)
  ------------------
  |  Branch (13930:7): [True: 27, False: 642]
  ------------------
13931|     27|    {
13932|       |      /* Make sure we have latest lookahead translation.  See comments at
13933|       |         user semantic actions for why this is necessary.  */
13934|     27|      yytoken = YYTRANSLATE (yychar);
  ------------------
  |  | 1129|     27|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  | 1123|     27|#define YYMAXUTOK   767
  |  |  ------------------
  |  |  |  Branch (1129:4): [True: 27, False: 0]
  |  |  |  Branch (1129:18): [True: 27, False: 0]
  |  |  ------------------
  |  | 1130|     27|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  100|     27|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  |  | 1131|     27|   : YYSYMBOL_YYUNDEF)
  ------------------
13935|     27|      yydestruct ("Cleanup: discarding lookahead",
13936|     27|                  yytoken, &yylval, pParseContext);
13937|     27|    }
13938|       |  /* Do not reclaim the symbols of the rule whose action triggered
13939|       |     this YYABORT or YYACCEPT.  */
13940|    669|  YYPOPSTACK (yylen);
  ------------------
  |  | 5668|    669|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13941|    669|  YY_STACK_PRINT (yyss, yyssp);
  ------------------
  |  | 5254|    669|# define YY_STACK_PRINT(Bottom, Top)                            \
  |  | 5255|    669|do {                                                            \
  |  | 5256|    669|  if (yydebug)                                                  \
  |  |  ------------------
  |  |  |  Branch (5256:7): [True: 0, False: 669]
  |  |  ------------------
  |  | 5257|    669|    yy_stack_print ((Bottom), (Top));                           \
  |  | 5258|    669|} while (0)
  |  |  ------------------
  |  |  |  Branch (5258:10): [Folded, False: 669]
  |  |  ------------------
  ------------------
13942|  1.95k|  while (yyssp != yyss)
  ------------------
  |  Branch (13942:10): [True: 1.28k, False: 669]
  ------------------
13943|  1.28k|    {
13944|  1.28k|      yydestruct ("Cleanup: popping",
13945|  1.28k|                  YY_ACCESSING_SYMBOL (+*yyssp), yyvsp, pParseContext);
  ------------------
  |  | 1300|  1.28k|#define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State])
  |  |  ------------------
  |  |  |  |  100|  1.28k|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  ------------------
13946|  1.28k|      YYPOPSTACK (1);
  ------------------
  |  | 5668|  1.28k|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13947|  1.28k|    }
13948|    669|#ifndef yyoverflow
13949|    669|  if (yyss != yyssa)
  ------------------
  |  Branch (13949:7): [True: 0, False: 669]
  ------------------
13950|      0|    YYSTACK_FREE (yyss);
  ------------------
  |  | 1021|      0|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  | 1040|      0|#   define YYFREE free
  |  |  ------------------
  ------------------
13951|    669|#endif
13952|    669|  if (yymsg != yymsgbuf)
  ------------------
  |  Branch (13952:7): [True: 0, False: 669]
  ------------------
13953|      0|    YYSTACK_FREE (yymsg);
  ------------------
  |  | 1021|      0|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  | 1040|      0|#   define YYFREE free
  |  |  ------------------
  ------------------
13954|    669|  return yyresult;
13955|     27|}
glslang_tab.cpp:_ZL14yysyntax_errorPlPPcPK12yypcontext_t:
 5512|     27|{
 5513|     27|  enum { YYARGS_MAX = 5 };
 5514|       |  /* Internationalized format string. */
 5515|     27|  const char *yyformat = YY_NULLPTR;
  ------------------
  |  |  110|     27|#    define YY_NULLPTR nullptr
  ------------------
 5516|       |  /* Arguments of yyformat: reported tokens (one for the "unexpected",
 5517|       |     one per "expected"). */
 5518|     27|  yysymbol_kind_t yyarg[YYARGS_MAX];
 5519|       |  /* Cumulated lengths of YYARG.  */
 5520|     27|  YYPTRDIFF_T yysize = 0;
  ------------------
  |  |  863|     27|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5521|       |
 5522|       |  /* Actual size of YYARG. */
 5523|     27|  int yycount = yy_syntax_error_arguments (yyctx, yyarg, YYARGS_MAX);
 5524|     27|  if (yycount == YYENOMEM)
  ------------------
  |  Branch (5524:7): [True: 0, False: 27]
  ------------------
 5525|      0|    return YYENOMEM;
 5526|       |
 5527|     27|  switch (yycount)
 5528|     27|    {
 5529|      0|#define YYCASE_(N, S)                       \
 5530|      0|      case N:                               \
 5531|      0|        yyformat = S;                       \
 5532|      0|        break
 5533|      0|    default: /* Avoid compiler warnings. */
  ------------------
  |  Branch (5533:5): [True: 0, False: 27]
  ------------------
 5534|      0|      YYCASE_(0, YY_("syntax error"));
  ------------------
  |  | 5530|      0|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5530:7): [True: 0, False: 27]
  |  |  ------------------
  |  | 5531|      0|        yyformat = S;                       \
  |  | 5532|      0|        break
  ------------------
 5535|     13|      YYCASE_(1, YY_("syntax error, unexpected %s"));
  ------------------
  |  | 5530|     13|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5530:7): [True: 13, False: 14]
  |  |  ------------------
  |  | 5531|     13|        yyformat = S;                       \
  |  | 5532|     13|        break
  ------------------
 5536|      3|      YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s"));
  ------------------
  |  | 5530|      3|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5530:7): [True: 3, False: 24]
  |  |  ------------------
  |  | 5531|      3|        yyformat = S;                       \
  |  | 5532|      3|        break
  ------------------
 5537|     11|      YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s"));
  ------------------
  |  | 5530|     11|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5530:7): [True: 11, False: 16]
  |  |  ------------------
  |  | 5531|     11|        yyformat = S;                       \
  |  | 5532|     11|        break
  ------------------
 5538|      0|      YYCASE_(4, YY_("syntax error, unexpected %s, expecting %s or %s or %s"));
  ------------------
  |  | 5530|      0|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5530:7): [True: 0, False: 27]
  |  |  ------------------
  |  | 5531|      0|        yyformat = S;                       \
  |  | 5532|      0|        break
  ------------------
 5539|     27|      YYCASE_(5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"));
  ------------------
  |  | 5530|      0|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5530:7): [True: 0, False: 27]
  |  |  ------------------
  |  | 5531|      0|        yyformat = S;                       \
  |  | 5532|      0|        break
  ------------------
 5540|     27|#undef YYCASE_
 5541|     27|    }
 5542|       |
 5543|       |  /* Compute error message size.  Don't count the "%s"s, but reserve
 5544|       |     room for the terminator.  */
 5545|     27|  yysize = yystrlen (yyformat) - 2 * yycount + 1;
  ------------------
  |  | 5371|     27|#  define yystrlen(S) (YY_CAST (YYPTRDIFF_T, strlen (S)))
  |  |  ------------------
  |  |  |  |  100|     27|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  ------------------
 5546|     27|  {
 5547|     27|    int yyi;
 5548|     79|    for (yyi = 0; yyi < yycount; ++yyi)
  ------------------
  |  Branch (5548:19): [True: 52, False: 27]
  ------------------
 5549|     52|      {
 5550|     52|        YYPTRDIFF_T yysize1
  ------------------
  |  |  863|     52|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5551|     52|          = yysize + yytnamerr (YY_NULLPTR, yytname[yyarg[yyi]]);
  ------------------
  |  |  110|     52|#    define YY_NULLPTR nullptr
  ------------------
 5552|     52|        if (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM)
  ------------------
  |  | 1023|     52|#   define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
  |  |  ------------------
  |  |  |  |  891|     52|  YY_CAST (YYPTRDIFF_T,                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|    104|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (100:50): [True: 52, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5552:13): [True: 52, False: 0]
  |  Branch (5552:34): [True: 52, False: 0]
  ------------------
 5553|     52|          yysize = yysize1;
 5554|      0|        else
 5555|      0|          return YYENOMEM;
 5556|     52|      }
 5557|     27|  }
 5558|       |
 5559|     27|  if (*yymsg_alloc < yysize)
  ------------------
  |  Branch (5559:7): [True: 0, False: 27]
  ------------------
 5560|      0|    {
 5561|      0|      *yymsg_alloc = 2 * yysize;
 5562|      0|      if (! (yysize <= *yymsg_alloc
  ------------------
  |  Branch (5562:14): [True: 0, False: 0]
  ------------------
 5563|      0|             && *yymsg_alloc <= YYSTACK_ALLOC_MAXIMUM))
  ------------------
  |  | 1023|      0|#   define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
  |  |  ------------------
  |  |  |  |  891|      0|  YY_CAST (YYPTRDIFF_T,                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (100:50): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5563:17): [True: 0, False: 0]
  ------------------
 5564|      0|        *yymsg_alloc = YYSTACK_ALLOC_MAXIMUM;
  ------------------
  |  | 1023|      0|#   define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
  |  |  ------------------
  |  |  |  |  891|      0|  YY_CAST (YYPTRDIFF_T,                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (100:50): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5565|      0|      return -1;
 5566|      0|    }
 5567|       |
 5568|       |  /* Avoid sprintf, as that infringes on the user's name space.
 5569|       |     Don't have undefined behavior even if the translation
 5570|       |     produced a string with the wrong number of "%s"s.  */
 5571|     27|  {
 5572|     27|    char *yyp = *yymsg;
 5573|     27|    int yyi = 0;
 5574|    966|    while ((*yyp = *yyformat) != '\0')
  ------------------
  |  Branch (5574:12): [True: 939, False: 27]
  ------------------
 5575|    939|      if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount)
  ------------------
  |  Branch (5575:11): [True: 52, False: 887]
  |  Branch (5575:26): [True: 52, False: 0]
  |  Branch (5575:48): [True: 52, False: 0]
  ------------------
 5576|     52|        {
 5577|     52|          yyp += yytnamerr (yyp, yytname[yyarg[yyi++]]);
 5578|     52|          yyformat += 2;
 5579|     52|        }
 5580|    887|      else
 5581|    887|        {
 5582|    887|          ++yyp;
 5583|    887|          ++yyformat;
 5584|    887|        }
 5585|     27|  }
 5586|     27|  return 0;
 5587|     27|}
glslang_tab.cpp:_ZL25yy_syntax_error_argumentsPK12yypcontext_tP15yysymbol_kind_ti:
 5459|     27|{
 5460|       |  /* Actual size of YYARG. */
 5461|     27|  int yycount = 0;
 5462|       |  /* There are many possibilities here to consider:
 5463|       |     - If this state is a consistent state with a default action, then
 5464|       |       the only way this function was invoked is if the default action
 5465|       |       is an error action.  In that case, don't check for expected
 5466|       |       tokens because there are none.
 5467|       |     - The only way there can be no lookahead present (in yychar) is if
 5468|       |       this state is a consistent state with a default action.  Thus,
 5469|       |       detecting the absence of a lookahead is sufficient to determine
 5470|       |       that there is no unexpected or expected token to report.  In that
 5471|       |       case, just report a simple "syntax error".
 5472|       |     - Don't assume there isn't a lookahead just because this state is a
 5473|       |       consistent state with a default action.  There might have been a
 5474|       |       previous inconsistent state, consistent state with a non-default
 5475|       |       action, or user semantic action that manipulated yychar.
 5476|       |     - Of course, the expected token list depends on states to have
 5477|       |       correct lookahead information, and it depends on the parser not
 5478|       |       to perform extra reductions after fetching a lookahead from the
 5479|       |       scanner and before detecting a syntax error.  Thus, state merging
 5480|       |       (from LALR or IELR) and default reductions corrupt the expected
 5481|       |       token list.  However, the list is correct for canonical LR with
 5482|       |       one exception: it will still contain any token that will not be
 5483|       |       accepted due to an error action in a later state.
 5484|       |  */
 5485|     27|  if (yyctx->yytoken != YYSYMBOL_YYEMPTY)
  ------------------
  |  Branch (5485:7): [True: 27, False: 0]
  ------------------
 5486|     27|    {
 5487|     27|      int yyn;
 5488|     27|      if (yyarg)
  ------------------
  |  Branch (5488:11): [True: 27, False: 0]
  ------------------
 5489|     27|        yyarg[yycount] = yyctx->yytoken;
 5490|     27|      ++yycount;
 5491|     27|      yyn = yypcontext_expected_tokens (yyctx,
 5492|     27|                                        yyarg ? yyarg + 1 : yyarg, yyargn - 1);
  ------------------
  |  Branch (5492:41): [True: 27, False: 0]
  ------------------
 5493|     27|      if (yyn == YYENOMEM)
  ------------------
  |  Branch (5493:11): [True: 0, False: 27]
  ------------------
 5494|      0|        return YYENOMEM;
 5495|     27|      else
 5496|     27|        yycount += yyn;
 5497|     27|    }
 5498|     27|  return yycount;
 5499|     27|}
glslang_tab.cpp:_ZL26yypcontext_expected_tokensPK12yypcontext_tP15yysymbol_kind_ti:
 5335|     27|{
 5336|       |  /* Actual size of YYARG. */
 5337|     27|  int yycount = 0;
 5338|     27|  int yyn = yypact[+*yyctx->yyssp];
 5339|     27|  if (!yypact_value_is_default (yyn))
  ------------------
  |  | 1488|     27|  ((Yyn) == YYPACT_NINF)
  |  |  ------------------
  |  |  |  | 1485|     27|#define YYPACT_NINF (-936)
  |  |  ------------------
  ------------------
  |  Branch (5339:7): [True: 27, False: 0]
  ------------------
 5340|     27|    {
 5341|       |      /* Start YYX at -YYN if negative to avoid negative indexes in
 5342|       |         YYCHECK.  In other words, skip the first -YYN actions for
 5343|       |         this state because they are default actions.  */
 5344|     27|      int yyxbegin = yyn < 0 ? -yyn : 0;
  ------------------
  |  Branch (5344:22): [True: 14, False: 13]
  ------------------
 5345|       |      /* Stay within bounds of both yycheck and yytname.  */
 5346|     27|      int yychecklim = YYLAST - yyn + 1;
  ------------------
  |  | 1111|     27|#define YYLAST   15542
  ------------------
 5347|     27|      int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
  ------------------
  |  | 1114|     27|#define YYNTOKENS  513
  ------------------
                    int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
  ------------------
  |  | 1114|     27|#define YYNTOKENS  513
  ------------------
  |  Branch (5347:20): [True: 0, False: 27]
  ------------------
 5348|     27|      int yyx;
 5349|  4.19k|      for (yyx = yyxbegin; yyx < yyxend; ++yyx)
  ------------------
  |  Branch (5349:28): [True: 4.18k, False: 14]
  ------------------
 5350|  4.18k|        if (yycheck[yyx + yyn] == yyx && yyx != YYSYMBOL_YYerror
  ------------------
  |  Branch (5350:13): [True: 90, False: 4.09k]
  |  Branch (5350:42): [True: 90, False: 0]
  ------------------
 5351|      0|            && !yytable_value_is_error (yytable[yyx + yyn]))
  ------------------
  |  | 1493|      0|  0
  ------------------
  |  Branch (5351:16): [True: 0, Folded]
  ------------------
 5352|     90|          {
 5353|     90|            if (!yyarg)
  ------------------
  |  Branch (5353:17): [True: 0, False: 90]
  ------------------
 5354|      0|              ++yycount;
 5355|     90|            else if (yycount == yyargn)
  ------------------
  |  Branch (5355:22): [True: 13, False: 77]
  ------------------
 5356|     13|              return 0;
 5357|     77|            else
 5358|     77|              yyarg[yycount++] = YY_CAST (yysymbol_kind_t, yyx);
  ------------------
  |  |  100|     77|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  ------------------
 5359|     90|          }
 5360|     27|    }
 5361|     14|  if (yyarg && yycount == 0 && 0 < yyargn)
  ------------------
  |  Branch (5361:7): [True: 14, False: 0]
  |  Branch (5361:16): [True: 0, False: 14]
  |  Branch (5361:32): [True: 0, False: 0]
  ------------------
 5362|      0|    yyarg[0] = YYSYMBOL_YYEMPTY;
 5363|     14|  return yycount;
 5364|     27|}
glslang_tab.cpp:_ZL9yytnamerrPcPKc:
 5415|    104|{
 5416|    104|  if (*yystr == '"')
  ------------------
  |  Branch (5416:7): [True: 30, False: 74]
  ------------------
 5417|     30|    {
 5418|     30|      YYPTRDIFF_T yyn = 0;
  ------------------
  |  |  863|     30|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5419|     30|      char const *yyp = yystr;
 5420|     30|      for (;;)
 5421|    360|        switch (*++yyp)
 5422|    360|          {
 5423|      0|          case '\'':
  ------------------
  |  Branch (5423:11): [True: 0, False: 360]
  ------------------
 5424|      0|          case ',':
  ------------------
  |  Branch (5424:11): [True: 0, False: 360]
  ------------------
 5425|      0|            goto do_not_strip_quotes;
 5426|       |
 5427|      0|          case '\\':
  ------------------
  |  Branch (5427:11): [True: 0, False: 360]
  ------------------
 5428|      0|            if (*++yyp != '\\')
  ------------------
  |  Branch (5428:17): [True: 0, False: 0]
  ------------------
 5429|      0|              goto do_not_strip_quotes;
 5430|      0|            else
 5431|      0|              goto append;
 5432|       |
 5433|      0|          append:
 5434|    330|          default:
  ------------------
  |  Branch (5434:11): [True: 330, False: 30]
  ------------------
 5435|    330|            if (yyres)
  ------------------
  |  Branch (5435:17): [True: 165, False: 165]
  ------------------
 5436|    165|              yyres[yyn] = *yyp;
 5437|    330|            yyn++;
 5438|    330|            break;
 5439|       |
 5440|     30|          case '"':
  ------------------
  |  Branch (5440:11): [True: 30, False: 330]
  ------------------
 5441|     30|            if (yyres)
  ------------------
  |  Branch (5441:17): [True: 15, False: 15]
  ------------------
 5442|     15|              yyres[yyn] = '\0';
 5443|     30|            return yyn;
 5444|    360|          }
 5445|      0|    do_not_strip_quotes: ;
 5446|      0|    }
 5447|       |
 5448|     74|  if (yyres)
  ------------------
  |  Branch (5448:7): [True: 37, False: 37]
  ------------------
 5449|     37|    return yystpcpy (yyres, yystr) - yyres;
  ------------------
  |  | 5387|     37|#  define yystpcpy stpcpy
  ------------------
 5450|     37|  else
 5451|     37|    return yystrlen (yystr);
  ------------------
  |  | 5371|     37|#  define yystrlen(S) (YY_CAST (YYPTRDIFF_T, strlen (S)))
  |  |  ------------------
  |  |  |  |  100|     37|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  ------------------
 5452|     74|}
glslang_tab.cpp:_ZL10yydestructPKc15yysymbol_kind_tP7YYSTYPEPN7glslang13TParseContextE:
 5597|  1.41k|{
 5598|  1.41k|  YY_USE (yyvaluep);
  ------------------
  |  |  936|  1.41k|# define YY_USE(E) ((void) (E))
  ------------------
 5599|  1.41k|  YY_USE (pParseContext);
  ------------------
  |  |  936|  1.41k|# define YY_USE(E) ((void) (E))
  ------------------
 5600|  1.41k|  if (!yymsg)
  ------------------
  |  Branch (5600:7): [True: 0, False: 1.41k]
  ------------------
 5601|      0|    yymsg = "Deleting";
 5602|  1.41k|  YY_SYMBOL_PRINT (yymsg, yykind, yyvaluep, yylocationp);
  ------------------
  |  | 5191|  1.41k|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 5192|  1.41k|do {                                                                      \
  |  | 5193|  1.41k|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (5193:7): [True: 0, False: 1.41k]
  |  |  ------------------
  |  | 5194|  1.41k|    {                                                                     \
  |  | 5195|      0|      YYFPRINTF (stderr, "%s ", Title);                                   \
  |  |  ------------------
  |  |  |  | 5179|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5196|      0|      yy_symbol_print (stderr,                                            \
  |  | 5197|      0|                  Kind, Value, pParseContext); \
  |  | 5198|      0|      YYFPRINTF (stderr, "\n");                                           \
  |  |  ------------------
  |  |  |  | 5179|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5199|      0|    }                                                                     \
  |  | 5200|  1.41k|} while (0)
  |  |  ------------------
  |  |  |  Branch (5200:10): [Folded, False: 1.41k]
  |  |  ------------------
  ------------------
 5603|       |
 5604|  1.41k|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 5605|  1.41k|  YY_USE (yykind);
  ------------------
  |  |  936|  1.41k|# define YY_USE(E) ((void) (E))
  ------------------
 5606|  1.41k|  YY_IGNORE_MAYBE_UNINITIALIZED_END
 5607|  1.41k|}

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

_ZN7glslang10TPpContext9CPPdefineEPNS_8TPpTokenE:
   96|  46.4k|{
   97|  46.4k|    MacroSymbol mac;
   98|       |
   99|       |    // get the macro name
  100|  46.4k|    int token = scanToken(ppToken);
  101|  46.4k|    if (token != PpAtomIdentifier) {
  ------------------
  |  Branch (101:9): [True: 0, False: 46.4k]
  ------------------
  102|      0|        parseContext.ppError(ppToken->loc, "must be followed by macro name", "#define", "");
  103|      0|        return token;
  104|      0|    }
  105|  46.4k|    if (ppToken->loc.string >= 0) {
  ------------------
  |  Branch (105:9): [True: 41, False: 46.3k]
  ------------------
  106|       |        // We are in user code; check for reserved name use:
  107|     41|        parseContext.reservedPpErrorCheck(ppToken->loc, ppToken->name, "#define");
  108|     41|    }
  109|       |
  110|       |    // save the macro name
  111|  46.4k|    const int defAtom = atomStrings.getAddAtom(ppToken->name);
  112|  46.4k|    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|  46.4k|    token = scanToken(ppToken);
  116|  46.4k|    if (token == '(' && !ppToken->space) {
  ------------------
  |  Branch (116:9): [True: 23, False: 46.4k]
  |  Branch (116:25): [True: 22, False: 1]
  ------------------
  117|     22|        mac.functionLike = 1;
  118|     42|        do {
  119|     42|            token = scanToken(ppToken);
  120|     42|            if (mac.args.size() == 0 && token == ')')
  ------------------
  |  Branch (120:17): [True: 22, False: 20]
  |  Branch (120:41): [True: 0, False: 22]
  ------------------
  121|      0|                break;
  122|     42|            if (token != PpAtomIdentifier) {
  ------------------
  |  Branch (122:17): [True: 0, False: 42]
  ------------------
  123|      0|                parseContext.ppError(ppToken->loc, "bad argument", "#define", "");
  124|       |
  125|      0|                return token;
  126|      0|            }
  127|     42|            const int argAtom = atomStrings.getAddAtom(ppToken->name);
  128|       |
  129|       |            // check for duplication of parameter name
  130|     42|            bool duplicate = false;
  131|     62|            for (size_t a = 0; a < mac.args.size(); ++a) {
  ------------------
  |  Branch (131:32): [True: 20, False: 42]
  ------------------
  132|     20|                if (mac.args[a] == argAtom) {
  ------------------
  |  Branch (132:21): [True: 0, False: 20]
  ------------------
  133|      0|                    parseContext.ppError(ppToken->loc, "duplicate macro parameter", "#define", "");
  134|      0|                    duplicate = true;
  135|      0|                    break;
  136|      0|                }
  137|     20|            }
  138|     42|            if (! duplicate)
  ------------------
  |  Branch (138:17): [True: 42, False: 0]
  ------------------
  139|     42|                mac.args.push_back(argAtom);
  140|     42|            token = scanToken(ppToken);
  141|     42|        } while (token == ',');
  ------------------
  |  Branch (141:18): [True: 20, False: 22]
  ------------------
  142|     22|        if (token != ')') {
  ------------------
  |  Branch (142:13): [True: 0, False: 22]
  ------------------
  143|      0|            parseContext.ppError(ppToken->loc, "missing parenthesis", "#define", "");
  144|       |
  145|      0|            return token;
  146|      0|        }
  147|       |
  148|     22|        token = scanToken(ppToken);
  149|  46.4k|    } else if (token != '\n' && token != EndOfInput && !ppToken->space) {
  ------------------
  |  Branch (149:16): [True: 46.4k, False: 4]
  |  Branch (149:33): [True: 46.4k, False: 1]
  |  Branch (149:56): [True: 0, False: 46.4k]
  ------------------
  150|      0|        parseContext.ppWarn(ppToken->loc, "missing space after macro name", "#define", "");
  151|       |
  152|      0|        return token;
  153|      0|    }
  154|       |
  155|  46.4k|    int pendingPoundSymbols = 0;
  156|  46.4k|    TPpToken savePound;
  157|       |    // record the definition of the macro
  158|  92.9k|    while (token != '\n' && token != EndOfInput) {
  ------------------
  |  Branch (158:12): [True: 46.5k, False: 46.4k]
  |  Branch (158:29): [True: 46.5k, False: 1]
  ------------------
  159|  46.5k|        if (token == '#') {
  ------------------
  |  Branch (159:13): [True: 0, False: 46.5k]
  ------------------
  160|      0|            pendingPoundSymbols++;
  161|      0|            if (pendingPoundSymbols == 0) {
  ------------------
  |  Branch (161:17): [True: 0, False: 0]
  ------------------
  162|      0|                savePound = *ppToken;
  163|      0|            }
  164|  46.5k|        } else if (pendingPoundSymbols == 0) {
  ------------------
  |  Branch (164:20): [True: 46.5k, False: 0]
  ------------------
  165|  46.5k|            mac.body.putToken(token, ppToken);
  166|  46.5k|        } else if (pendingPoundSymbols == 1) {
  ------------------
  |  Branch (166:20): [True: 0, False: 0]
  ------------------
  167|       |            // A single #: stringify
  168|      0|            parseContext.requireProfile(ppToken->loc, ~EEsProfile, "stringify (#)");
  169|      0|            parseContext.profileRequires(ppToken->loc, ~EEsProfile, 130, nullptr, "stringify (#)");
  170|      0|            bool isArg = false;
  171|      0|            if (token == PpAtomIdentifier) {
  ------------------
  |  Branch (171:17): [True: 0, False: 0]
  ------------------
  172|      0|                for (int i = (int)mac.args.size() - 1; i >= 0; i--) {
  ------------------
  |  Branch (172:56): [True: 0, False: 0]
  ------------------
  173|      0|                    if (strcmp(atomStrings.getString(mac.args[i]), ppToken->name) == 0) {
  ------------------
  |  Branch (173:25): [True: 0, False: 0]
  ------------------
  174|      0|                        isArg = true;
  175|      0|                        break;
  176|      0|                    }
  177|      0|                }
  178|      0|            }
  179|      0|            if (!isArg) {
  ------------------
  |  Branch (179:17): [True: 0, False: 0]
  ------------------
  180|      0|                parseContext.ppError(ppToken->loc, "'#' is not followed by a macro parameter.", "#", "");
  181|      0|                return token;
  182|      0|            }
  183|      0|            mac.body.putToken(tStringifyLevelInput::PUSH, ppToken);
  184|      0|            mac.body.putToken(token, ppToken);
  185|      0|            mac.body.putToken(tStringifyLevelInput::POP, ppToken);
  186|      0|            pendingPoundSymbols = 0;
  187|      0|        } else if (pendingPoundSymbols % 2 == 0) {
  ------------------
  |  Branch (187:20): [True: 0, False: 0]
  ------------------
  188|       |            // Any number of pastes '##' in a row: idempotent, just becomes one paste
  189|      0|            parseContext.requireProfile(ppToken->loc, ~EEsProfile, "token pasting (##)");
  190|      0|            parseContext.profileRequires(ppToken->loc, ~EEsProfile, 130, nullptr, "token pasting (##)");
  191|      0|            for (int i = 0; i < pendingPoundSymbols / 2; i++) {
  ------------------
  |  Branch (191:29): [True: 0, False: 0]
  ------------------
  192|      0|                mac.body.putToken(PpAtomPaste, &savePound);
  193|      0|            }
  194|      0|            mac.body.putToken(token, ppToken);
  195|      0|            pendingPoundSymbols = 0;
  196|      0|        } else {
  197|       |            // An odd number of '#' i.e., mix of paste and stringify: does not give valid preprocessing token
  198|      0|            parseContext.ppError(ppToken->loc, "Illegal sequence of paste (##) and stringify (#).", "#", "");
  199|      0|            return token;
  200|      0|        }
  201|       |
  202|  46.5k|        token = scanToken(ppToken);
  203|  46.5k|    }
  204|  46.4k|    if (pendingPoundSymbols != 0) {
  ------------------
  |  Branch (204:9): [True: 0, False: 46.4k]
  ------------------
  205|      0|        parseContext.ppError(ppToken->loc, "Macro ended with incomplete '#' paste/stringify operators", "#", "");
  206|      0|    }
  207|       |
  208|       |    // check for duplicate definition
  209|  46.4k|    MacroSymbol* existing = lookupMacroDef(defAtom);
  210|  46.4k|    if (existing != nullptr) {
  ------------------
  |  Branch (210:9): [True: 25, False: 46.4k]
  ------------------
  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|  46.4k|        addMacroDef(defAtom, mac);
  255|       |
  256|  46.4k|    return '\n';
  257|  46.4k|}
_ZN7glslang10TPpContext7CPPelseEiPNS_8TPpTokenE:
  287|     26|{
  288|     26|    inElseSkip = true;
  289|     26|    int depth = 0;
  290|     26|    int token = scanToken(ppToken);
  291|       |
  292|  22.0k|    while (token != EndOfInput) {
  ------------------
  |  Branch (292:12): [True: 22.0k, False: 6]
  ------------------
  293|  22.0k|        if (token != '#') {
  ------------------
  |  Branch (293:13): [True: 21.9k, False: 122]
  ------------------
  294|   181k|            while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (294:20): [True: 160k, False: 21.9k]
  |  Branch (294:37): [True: 160k, False: 1]
  ------------------
  295|   160k|                token = scanToken(ppToken);
  296|       |
  297|  21.9k|            if (token == EndOfInput)
  ------------------
  |  Branch (297:17): [True: 1, False: 21.9k]
  ------------------
  298|      1|                return token;
  299|       |
  300|  21.9k|            token = scanToken(ppToken);
  301|  21.9k|            continue;
  302|  21.9k|        }
  303|       |
  304|    122|        if ((token = scanToken(ppToken)) != PpAtomIdentifier)
  ------------------
  |  Branch (304:13): [True: 0, False: 122]
  ------------------
  305|      0|            continue;
  306|       |
  307|    122|        int nextAtom = atomStrings.getAtom(ppToken->name);
  308|    122|        if (nextAtom == PpAtomIf || nextAtom == PpAtomIfdef || nextAtom == PpAtomIfndef) {
  ------------------
  |  Branch (308:13): [True: 6, False: 116]
  |  Branch (308:37): [True: 11, False: 105]
  |  Branch (308:64): [True: 5, False: 100]
  ------------------
  309|     22|            depth++;
  310|     22|            if (ifdepth >= maxIfNesting || elsetracker >= maxIfNesting) {
  ------------------
  |  Branch (310:17): [True: 0, False: 22]
  |  Branch (310:44): [True: 0, False: 22]
  ------------------
  311|      0|                parseContext.ppError(ppToken->loc, "maximum nesting depth exceeded", "#if/#ifdef/#ifndef", "");
  312|      0|                return EndOfInput;
  313|     22|            } else {
  314|     22|                ifdepth++;
  315|     22|                elsetracker++;
  316|     22|            }
  317|    100|        } else if (nextAtom == PpAtomEndif) {
  ------------------
  |  Branch (317:20): [True: 32, False: 68]
  ------------------
  318|     32|            token = extraTokenCheck(nextAtom, ppToken, scanToken(ppToken));
  319|     32|            elseSeen[elsetracker] = false;
  320|     32|            --elsetracker;
  321|     32|            if (depth == 0) {
  ------------------
  |  Branch (321:17): [True: 14, False: 18]
  ------------------
  322|       |                // found the #endif we are looking for
  323|     14|                if (ifdepth > 0)
  ------------------
  |  Branch (323:21): [True: 12, False: 2]
  ------------------
  324|     12|                    --ifdepth;
  325|     14|                break;
  326|     14|            }
  327|     18|            --depth;
  328|     18|            --ifdepth;
  329|     68|        } else if (matchelse && depth == 0) {
  ------------------
  |  Branch (329:20): [True: 64, False: 4]
  |  Branch (329:33): [True: 40, False: 24]
  ------------------
  330|     40|            if (nextAtom == PpAtomElse) {
  ------------------
  |  Branch (330:17): [True: 3, False: 37]
  ------------------
  331|      3|                elseSeen[elsetracker] = true;
  332|      3|                token = extraTokenCheck(nextAtom, ppToken, scanToken(ppToken));
  333|       |                // found the #else we are looking for
  334|      3|                break;
  335|     37|            } else if (nextAtom == PpAtomElif) {
  ------------------
  |  Branch (335:24): [True: 2, False: 35]
  ------------------
  336|      2|                if (elseSeen[elsetracker])
  ------------------
  |  Branch (336:21): [True: 0, False: 2]
  ------------------
  337|      0|                    parseContext.ppError(ppToken->loc, "#elif after #else", "#elif", "");
  338|       |                /* we decrement ifdepth here, because CPPif will increment
  339|       |                * it and we really want to leave it alone */
  340|      2|                if (ifdepth > 0) {
  ------------------
  |  Branch (340:21): [True: 2, False: 0]
  ------------------
  341|      2|                    --ifdepth;
  342|      2|                    elseSeen[elsetracker] = false;
  343|      2|                    --elsetracker;
  344|      2|                }
  345|      2|                inElseSkip = false;
  346|      2|                return CPPif(ppToken);
  347|      2|            }
  348|     40|        } else if (nextAtom == PpAtomElse) {
  ------------------
  |  Branch (348:20): [True: 4, False: 24]
  ------------------
  349|      4|            if (elseSeen[elsetracker])
  ------------------
  |  Branch (349:17): [True: 1, False: 3]
  ------------------
  350|      1|                parseContext.ppError(ppToken->loc, "#else after #else", "#else", "");
  351|      3|            else
  352|      3|                elseSeen[elsetracker] = true;
  353|      4|            token = extraTokenCheck(nextAtom, ppToken, scanToken(ppToken));
  354|     24|        } else if (nextAtom == PpAtomElif) {
  ------------------
  |  Branch (354:20): [True: 0, False: 24]
  ------------------
  355|      0|            if (elseSeen[elsetracker])
  ------------------
  |  Branch (355:17): [True: 0, False: 0]
  ------------------
  356|      0|                parseContext.ppError(ppToken->loc, "#elif after #else", "#elif", "");
  357|      0|        }
  358|    122|    }
  359|       |    
  360|     23|    inElseSkip = false;
  361|     23|    return token;
  362|     26|}
_ZN7glslang10TPpContext15extraTokenCheckEiPNS_8TPpTokenEi:
  366|     74|{
  367|     74|    if (token != '\n' && token != EndOfInput) {
  ------------------
  |  Branch (367:9): [True: 12, False: 62]
  |  Branch (367:26): [True: 12, False: 0]
  ------------------
  368|     12|        static const char* message = "unexpected tokens following directive";
  369|       |
  370|     12|        const char* label;
  371|     12|        if (contextAtom == PpAtomElse)
  ------------------
  |  Branch (371:13): [True: 0, False: 12]
  ------------------
  372|      0|            label = "#else";
  373|     12|        else if (contextAtom == PpAtomElif)
  ------------------
  |  Branch (373:18): [True: 0, False: 12]
  ------------------
  374|      0|            label = "#elif";
  375|     12|        else if (contextAtom == PpAtomEndif)
  ------------------
  |  Branch (375:18): [True: 5, False: 7]
  ------------------
  376|      5|            label = "#endif";
  377|      7|        else if (contextAtom == PpAtomIf)
  ------------------
  |  Branch (377:18): [True: 7, False: 0]
  ------------------
  378|      7|            label = "#if";
  379|      0|        else if (contextAtom == PpAtomLine)
  ------------------
  |  Branch (379:18): [True: 0, False: 0]
  ------------------
  380|      0|            label = "#line";
  381|      0|        else
  382|      0|            label = "";
  383|       |
  384|     12|        if (parseContext.relaxedErrors())
  ------------------
  |  Branch (384:13): [True: 0, False: 12]
  ------------------
  385|      0|            parseContext.ppWarn(ppToken->loc, message, label, "");
  386|     12|        else
  387|     12|            parseContext.ppError(ppToken->loc, message, label, "");
  388|       |
  389|  35.8k|        while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (389:16): [True: 35.8k, False: 11]
  |  Branch (389:33): [True: 35.7k, False: 1]
  ------------------
  390|  35.7k|            token = scanToken(ppToken);
  391|     12|    }
  392|       |
  393|     74|    return token;
  394|     74|}
_ZN7glslang10TPpContext4evalEiibRiRbPNS_8TPpTokenE:
  464|     44|{
  465|     44|    TSourceLoc loc = ppToken->loc;  // because we sometimes read the newline before reporting the error
  466|     44|    if (token == PpAtomIdentifier) {
  ------------------
  |  Branch (466:9): [True: 13, False: 31]
  ------------------
  467|     13|        if (strcmp("defined", ppToken->name) == 0) {
  ------------------
  |  Branch (467:13): [True: 10, False: 3]
  ------------------
  468|     10|            if (! parseContext.isReadingHLSL() && isMacroInput()) {
  ------------------
  |  Branch (468:17): [True: 6, False: 4]
  |  Branch (468:51): [True: 0, False: 6]
  ------------------
  469|      0|                if (parseContext.relaxedErrors())
  ------------------
  |  Branch (469:21): [True: 0, False: 0]
  ------------------
  470|      0|                    parseContext.ppWarn(ppToken->loc, "nonportable when expanded from macros for preprocessor expression",
  471|      0|                        "defined", "");
  472|      0|                else
  473|      0|                    parseContext.ppError(ppToken->loc, "cannot use in preprocessor expression when expanded from macros",
  474|      0|                        "defined", "");
  475|      0|            }
  476|     10|            bool needclose = 0;
  477|     10|            token = scanToken(ppToken);
  478|     10|            if (token == '(') {
  ------------------
  |  Branch (478:17): [True: 10, False: 0]
  ------------------
  479|     10|                needclose = true;
  480|     10|                token = scanToken(ppToken);
  481|     10|            }
  482|     10|            if (token != PpAtomIdentifier) {
  ------------------
  |  Branch (482:17): [True: 0, False: 10]
  ------------------
  483|      0|                parseContext.ppError(loc, "incorrect directive, expected identifier", "preprocessor evaluation", "");
  484|      0|                err = true;
  485|      0|                res = 0;
  486|       |
  487|      0|                return token;
  488|      0|            }
  489|       |
  490|     10|            MacroSymbol* macro = lookupMacroDef(atomStrings.getAtom(ppToken->name));
  491|     10|            res = macro != nullptr ? !macro->undef : 0;
  ------------------
  |  Branch (491:19): [True: 0, False: 10]
  ------------------
  492|     10|            token = scanToken(ppToken);
  493|     10|            if (needclose) {
  ------------------
  |  Branch (493:17): [True: 10, False: 0]
  ------------------
  494|     10|                if (token != ')') {
  ------------------
  |  Branch (494:21): [True: 0, False: 10]
  ------------------
  495|      0|                    parseContext.ppError(loc, "expected ')'", "preprocessor evaluation", "");
  496|      0|                    err = true;
  497|      0|                    res = 0;
  498|       |
  499|      0|                    return token;
  500|      0|                }
  501|     10|                token = scanToken(ppToken);
  502|     10|            }
  503|     10|        } else {
  504|      3|            token = tokenPaste(token, *ppToken);
  505|      3|            token = evalToToken(token, shortCircuit, res, err, ppToken);
  506|      3|            return eval(token, precedence, shortCircuit, res, err, ppToken);
  507|      3|        }
  508|     31|    } else if (token == PpAtomConstInt) {
  ------------------
  |  Branch (508:16): [True: 6, False: 25]
  ------------------
  509|      6|        res = ppToken->ival;
  510|      6|        token = scanToken(ppToken);
  511|     25|    } else if (token == '(') {
  ------------------
  |  Branch (511:16): [True: 7, False: 18]
  ------------------
  512|      7|        token = scanToken(ppToken);
  513|      7|        token = eval(token, MIN_PRECEDENCE, shortCircuit, res, err, ppToken);
  514|      7|        if (! err) {
  ------------------
  |  Branch (514:13): [True: 0, False: 7]
  ------------------
  515|      0|            if (token != ')') {
  ------------------
  |  Branch (515:17): [True: 0, False: 0]
  ------------------
  516|      0|                parseContext.ppError(loc, "expected ')'", "preprocessor evaluation", "");
  517|      0|                err = true;
  518|      0|                res = 0;
  519|       |
  520|      0|                return token;
  521|      0|            }
  522|      0|            token = scanToken(ppToken);
  523|      0|        }
  524|     18|    } else {
  525|     18|        int op = NUM_ELEMENTS(unop) - 1;
  ------------------
  |  |  461|     18|#define NUM_ELEMENTS(A) (sizeof(A) / sizeof(A[0]))
  ------------------
  526|     60|        for (; op >= 0; op--) {
  ------------------
  |  Branch (526:16): [True: 53, False: 7]
  ------------------
  527|     53|            if (unop[op].token == token)
  ------------------
  |  Branch (527:17): [True: 11, False: 42]
  ------------------
  528|     11|                break;
  529|     53|        }
  530|     18|        if (op >= 0) {
  ------------------
  |  Branch (530:13): [True: 11, False: 7]
  ------------------
  531|     11|            token = scanToken(ppToken);
  532|     11|            token = eval(token, UNARY, shortCircuit, res, err, ppToken);
  533|     11|            res = unop[op].op(res);
  534|     11|        } else {
  535|      7|            parseContext.ppError(loc, "bad expression", "preprocessor evaluation", "");
  536|      7|            err = true;
  537|      7|            res = 0;
  538|       |
  539|      7|            return token;
  540|      7|        }
  541|     18|    }
  542|       |
  543|     34|    token = evalToToken(token, shortCircuit, res, err, ppToken);
  544|       |
  545|       |    // Perform evaluation of binary operation, if there is one, otherwise we are done.
  546|     41|    while (! err) {
  ------------------
  |  Branch (546:12): [True: 27, False: 14]
  ------------------
  547|     27|        if (token == ')' || token == '\n')
  ------------------
  |  Branch (547:13): [True: 0, False: 27]
  |  Branch (547:29): [True: 20, False: 7]
  ------------------
  548|     20|            break;
  549|      7|        int op;
  550|    107|        for (op = NUM_ELEMENTS(binop) - 1; op >= 0; op--) {
  ------------------
  |  |  461|      7|#define NUM_ELEMENTS(A) (sizeof(A) / sizeof(A[0]))
  ------------------
  |  Branch (550:44): [True: 107, False: 0]
  ------------------
  551|    107|            if (binop[op].token == token)
  ------------------
  |  Branch (551:17): [True: 7, False: 100]
  ------------------
  552|      7|                break;
  553|    107|        }
  554|      7|        if (op < 0 || binop[op].precedence <= precedence)
  ------------------
  |  Branch (554:13): [True: 0, False: 7]
  |  Branch (554:23): [True: 0, False: 7]
  ------------------
  555|      0|            break;
  556|      7|        int leftSide = res;
  557|       |
  558|       |        // Setup short-circuiting, needed for ES, unless already in a short circuit.
  559|       |        // (Once in a short-circuit, can't turn off again, until that whole subexpression is done.
  560|      7|        if (! shortCircuit) {
  ------------------
  |  Branch (560:13): [True: 7, False: 0]
  ------------------
  561|      7|            if ((token == PpAtomOr  && leftSide == 1) ||
  ------------------
  |  Branch (561:18): [True: 0, False: 7]
  |  Branch (561:40): [True: 0, False: 0]
  ------------------
  562|      7|                (token == PpAtomAnd && leftSide == 0))
  ------------------
  |  Branch (562:18): [True: 4, False: 3]
  |  Branch (562:40): [True: 4, False: 0]
  ------------------
  563|      4|                shortCircuit = true;
  564|      7|        }
  565|       |
  566|      7|        token = scanToken(ppToken);
  567|      7|        token = eval(token, binop[op].precedence, shortCircuit, res, err, ppToken);
  568|       |
  569|      7|        if (binop[op].op == op_div || binop[op].op == op_mod) {
  ------------------
  |  Branch (569:13): [True: 0, False: 7]
  |  Branch (569:39): [True: 0, False: 7]
  ------------------
  570|      0|            if (res == 0) {
  ------------------
  |  Branch (570:17): [True: 0, False: 0]
  ------------------
  571|      0|                parseContext.ppError(loc, "division by 0", "preprocessor evaluation", "");
  572|      0|                res = 1;
  573|      0|            }
  574|      0|        }
  575|      7|        res = binop[op].op(leftSide, res);
  576|      7|    }
  577|       |
  578|     34|    return token;
  579|     44|}
_ZN7glslang10TPpContext11evalToTokenEibRiRbPNS_8TPpTokenE:
  583|     37|{
  584|     40|    while (token == PpAtomIdentifier && strcmp("defined", ppToken->name) != 0) {
  ------------------
  |  Branch (584:12): [True: 3, False: 37]
  |  Branch (584:41): [True: 3, False: 0]
  ------------------
  585|      3|        switch (MacroExpand(ppToken, true, false)) {
  ------------------
  |  Branch (585:17): [True: 3, False: 0]
  ------------------
  586|      0|        case MacroExpandNotStarted:
  ------------------
  |  Branch (586:9): [True: 0, False: 3]
  ------------------
  587|      0|        case MacroExpandError:
  ------------------
  |  Branch (587:9): [True: 0, False: 3]
  ------------------
  588|      0|            parseContext.ppError(ppToken->loc, "can't evaluate expression", "preprocessor evaluation", "");
  589|      0|            err = true;
  590|      0|            res = 0;
  591|      0|            break;
  592|      0|        case MacroExpandStarted:
  ------------------
  |  Branch (592:9): [True: 0, False: 3]
  ------------------
  593|      0|            break;
  594|      3|        case MacroExpandUndef:
  ------------------
  |  Branch (594:9): [True: 3, False: 0]
  ------------------
  595|      3|            if (! shortCircuit && parseContext.isEsProfile()) {
  ------------------
  |  Branch (595:17): [True: 3, False: 0]
  |  Branch (595:35): [True: 0, False: 3]
  ------------------
  596|      0|                const char* message = "undefined macro in expression not allowed in es profile";
  597|      0|                if (parseContext.relaxedErrors())
  ------------------
  |  Branch (597:21): [True: 0, False: 0]
  ------------------
  598|      0|                    parseContext.ppWarn(ppToken->loc, message, "preprocessor evaluation", ppToken->name);
  599|      0|                else
  600|      0|                    parseContext.ppError(ppToken->loc, message, "preprocessor evaluation", ppToken->name);
  601|      0|            }
  602|      3|            break;
  603|      3|        }
  604|      3|        token = scanToken(ppToken);
  605|      3|        if (err)
  ------------------
  |  Branch (605:13): [True: 0, False: 3]
  ------------------
  606|      0|            break;
  607|      3|    }
  608|       |
  609|     37|    return token;
  610|     37|}
_ZN7glslang10TPpContext5CPPifEPNS_8TPpTokenE:
  614|     16|{
  615|     16|    int token = scanToken(ppToken);
  616|     16|    if (ifdepth >= maxIfNesting || elsetracker >= maxIfNesting) {
  ------------------
  |  Branch (616:9): [True: 0, False: 16]
  |  Branch (616:36): [True: 0, False: 16]
  ------------------
  617|      0|        parseContext.ppError(ppToken->loc, "maximum nesting depth exceeded", "#if", "");
  618|      0|        return EndOfInput;
  619|     16|    } else {
  620|     16|        elsetracker++;
  621|     16|        ifdepth++;
  622|     16|    }
  623|     16|    int res = 0;
  624|     16|    bool err = false;
  625|     16|    token = eval(token, MIN_PRECEDENCE, false, res, err, ppToken);
  626|     16|    token = extraTokenCheck(PpAtomIf, ppToken, token);
  627|     16|    if (!res && !err)
  ------------------
  |  Branch (627:9): [True: 16, False: 0]
  |  Branch (627:17): [True: 9, False: 7]
  ------------------
  628|      9|        token = CPPelse(1, ppToken);
  629|       |
  630|     16|    return token;
  631|     16|}
_ZN7glslang10TPpContext8CPPifdefEiPNS_8TPpTokenE:
  635|     24|{
  636|     24|    int token = scanToken(ppToken);
  637|     24|    if (ifdepth >= maxIfNesting || elsetracker >= maxIfNesting) {
  ------------------
  |  Branch (637:9): [True: 0, False: 24]
  |  Branch (637:36): [True: 0, False: 24]
  ------------------
  638|      0|        parseContext.ppError(ppToken->loc, "maximum nesting depth exceeded", "#ifdef", "");
  639|      0|        return EndOfInput;
  640|     24|    } else {
  641|     24|        elsetracker++;
  642|     24|        ifdepth++;
  643|     24|    }
  644|       |
  645|     24|    if (token != PpAtomIdentifier) {
  ------------------
  |  Branch (645:9): [True: 0, False: 24]
  ------------------
  646|      0|        if (defined)
  ------------------
  |  Branch (646:13): [True: 0, False: 0]
  ------------------
  647|      0|            parseContext.ppError(ppToken->loc, "must be followed by macro name", "#ifdef", "");
  648|      0|        else
  649|      0|            parseContext.ppError(ppToken->loc, "must be followed by macro name", "#ifndef", "");
  650|     24|    } else {
  651|     24|        MacroSymbol* macro = lookupMacroDef(atomStrings.getAtom(ppToken->name));
  652|     24|        token = scanToken(ppToken);
  653|     24|        if (token != '\n') {
  ------------------
  |  Branch (653:13): [True: 4, False: 20]
  ------------------
  654|      4|            parseContext.ppError(ppToken->loc, "unexpected tokens following #ifdef directive - expected a newline", "#ifdef", "");
  655|     76|            while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (655:20): [True: 72, False: 4]
  |  Branch (655:37): [True: 72, False: 0]
  ------------------
  656|     72|                token = scanToken(ppToken);
  657|      4|        }
  658|     24|        if (((macro != nullptr && !macro->undef) ? 1 : 0) != defined)
  ------------------
  |  Branch (658:13): [True: 13, False: 11]
  |  Branch (658:15): [True: 0, False: 24]
  |  Branch (658:35): [True: 0, False: 0]
  ------------------
  659|     13|            token = CPPelse(1, ppToken);
  660|     24|    }
  661|       |
  662|     24|    return token;
  663|     24|}
_ZN7glslang10TPpContext10CPPincludeEPNS_8TPpTokenE:
  668|     14|{
  669|     14|    const TSourceLoc directiveLoc = ppToken->loc;
  670|     14|    bool startWithLocalSearch = true; // to additionally include the extra "" paths
  671|     14|    int token;
  672|       |
  673|       |    // Find the first non-whitespace char after #include
  674|     14|    int ch = getChar();
  675|     28|    while (ch == ' ' || ch == '\t') {
  ------------------
  |  Branch (675:12): [True: 14, False: 14]
  |  Branch (675:25): [True: 0, False: 14]
  ------------------
  676|     14|        ch = getChar();
  677|     14|    }
  678|     14|    if (ch == '<') {
  ------------------
  |  Branch (678:9): [True: 3, False: 11]
  ------------------
  679|       |        // <header-name> style
  680|      3|        startWithLocalSearch = false;
  681|      3|        token = scanHeaderName(ppToken, '>');
  682|     11|    } else if (ch == '"') {
  ------------------
  |  Branch (682:16): [True: 9, False: 2]
  ------------------
  683|       |        // "header-name" style
  684|      9|        token = scanHeaderName(ppToken, '"');
  685|      9|    } else {
  686|       |        // unexpected, get the full token to generate the error
  687|      2|        ungetChar();
  688|      2|        token = scanToken(ppToken);
  689|      2|    }
  690|       |
  691|     14|    if (token != PpAtomConstString) {
  ------------------
  |  Branch (691:9): [True: 2, False: 12]
  ------------------
  692|      2|        parseContext.ppError(directiveLoc, "must be followed by a header name", "#include", "");
  693|      2|        return token;
  694|      2|    }
  695|       |
  696|       |    // Make a copy of the name because it will be overwritten by the next token scan.
  697|     12|    const std::string filename = ppToken->name;
  698|       |
  699|       |    // See if the directive was well formed
  700|     12|    token = scanToken(ppToken);
  701|     12|    if (token != '\n') {
  ------------------
  |  Branch (701:9): [True: 0, False: 12]
  ------------------
  702|      0|        if (token == EndOfInput)
  ------------------
  |  Branch (702:13): [True: 0, False: 0]
  ------------------
  703|      0|            parseContext.ppError(ppToken->loc, "expected newline after header name:", "#include", "%s", filename.c_str());
  704|      0|        else
  705|      0|            parseContext.ppError(ppToken->loc, "extra content after header name:", "#include", "%s", filename.c_str());
  706|      0|        return token;
  707|      0|    }
  708|       |
  709|       |    // Process well-formed directive
  710|       |
  711|       |    // Find the inclusion, first look in "Local" ("") paths, if requested,
  712|       |    // otherwise, only search the "System" (<>) paths.
  713|     12|    TShader::Includer::IncludeResult* res = nullptr;
  714|     12|    if (startWithLocalSearch)
  ------------------
  |  Branch (714:9): [True: 9, False: 3]
  ------------------
  715|      9|        res = includer.includeLocal(filename.c_str(), currentSourceFile.c_str(), includeStack.size() + 1);
  716|     12|    if (res == nullptr || res->headerName.empty()) {
  ------------------
  |  Branch (716:9): [True: 3, False: 9]
  |  Branch (716:27): [True: 9, False: 0]
  ------------------
  717|     12|        includer.releaseInclude(res);
  718|     12|        res = includer.includeSystem(filename.c_str(), currentSourceFile.c_str(), includeStack.size() + 1);
  719|     12|    }
  720|       |
  721|       |    // Process the results
  722|     12|    if (res != nullptr && !res->headerName.empty()) {
  ------------------
  |  Branch (722:9): [True: 12, False: 0]
  |  Branch (722:27): [True: 0, False: 12]
  ------------------
  723|      0|        if (res->headerData != nullptr && res->headerLength > 0) {
  ------------------
  |  Branch (723:13): [True: 0, False: 0]
  |  Branch (723:43): [True: 0, False: 0]
  ------------------
  724|       |            // path for processing one or more tokens from an included header, hand off 'res'
  725|      0|            const bool forNextLine = parseContext.lineDirectiveShouldSetNextLine();
  726|      0|            std::string prologue = "#line " + std::to_string((int)forNextLine) + " \"" + res->headerName + "\"\n";
  727|      0|            std::string epilogue = (res->headerData[res->headerLength - 1] == '\n' ? "" : "\n") +
  ------------------
  |  Branch (727:37): [True: 0, False: 0]
  ------------------
  728|      0|                                       std::string("#line ") + std::to_string(directiveLoc.line + forNextLine) + " " +
  729|      0|                                       directiveLoc.getStringNameOrNum() + "\n";
  730|      0|            pushInput(new TokenizableIncludeFile(directiveLoc, prologue, res, epilogue, this));
  731|      0|            parseContext.intermediate.addIncludeText(res->headerName.c_str(), res->headerData, res->headerLength);
  732|       |            // There's no "current" location anymore.
  733|      0|            parseContext.setCurrentColumn(0);
  734|      0|        } else {
  735|       |            // things are okay, but there is nothing to process
  736|      0|            includer.releaseInclude(res);
  737|      0|        }
  738|     12|    } else {
  739|       |        // error path, clean up
  740|     12|        std::string message =
  741|     12|            res != nullptr ? std::string(res->headerData, res->headerLength)
  ------------------
  |  Branch (741:13): [True: 12, False: 0]
  ------------------
  742|     12|                           : std::string("Could not process include directive");
  743|     12|        parseContext.ppError(directiveLoc, message.c_str(), "#include", "for header name: %s", filename.c_str());
  744|     12|        includer.releaseInclude(res);
  745|     12|    }
  746|       |
  747|     12|    return token;
  748|     12|}
_ZN7glslang10TPpContext8CPPerrorEPNS_8TPpTokenE:
  812|     14|{
  813|     14|    disableEscapeSequences = true;
  814|     14|    int token = scanToken(ppToken);
  815|     14|    disableEscapeSequences = false;
  816|     14|    std::string message;
  817|     14|    TSourceLoc loc = ppToken->loc;
  818|       |
  819|   565k|    while (token != '\n' && token != EndOfInput) {
  ------------------
  |  Branch (819:12): [True: 565k, False: 8]
  |  Branch (819:29): [True: 565k, False: 6]
  ------------------
  820|   565k|        if (token == PpAtomConstInt16 || token == PpAtomConstUint16 ||
  ------------------
  |  Branch (820:13): [True: 0, False: 565k]
  |  Branch (820:42): [True: 0, False: 565k]
  ------------------
  821|   565k|            token == PpAtomConstInt   || token == PpAtomConstUint   ||
  ------------------
  |  Branch (821:13): [True: 16.1k, False: 549k]
  |  Branch (821:42): [True: 0, False: 549k]
  ------------------
  822|   549k|            token == PpAtomConstInt64 || token == PpAtomConstUint64 ||
  ------------------
  |  Branch (822:13): [True: 0, False: 549k]
  |  Branch (822:42): [True: 0, False: 549k]
  ------------------
  823|   549k|            token == PpAtomConstFloat16 ||
  ------------------
  |  Branch (823:13): [True: 0, False: 549k]
  ------------------
  824|   549k|            token == PpAtomConstFloatE2M1 ||
  ------------------
  |  Branch (824:13): [True: 0, False: 549k]
  ------------------
  825|   549k|            token == PpAtomConstFloatE3M2 ||
  ------------------
  |  Branch (825:13): [True: 0, False: 549k]
  ------------------
  826|   549k|            token == PpAtomConstFloatE2M3 ||
  ------------------
  |  Branch (826:13): [True: 0, False: 549k]
  ------------------
  827|   549k|            token == PpAtomConstFloatUE8M0 ||
  ------------------
  |  Branch (827:13): [True: 0, False: 549k]
  ------------------
  828|   549k|            token == PpAtomConstFloatMXINT8 ||
  ------------------
  |  Branch (828:13): [True: 0, False: 549k]
  ------------------
  829|   549k|            token == PpAtomConstFloat || token == PpAtomConstDouble) {
  ------------------
  |  Branch (829:13): [True: 0, False: 549k]
  |  Branch (829:42): [True: 0, False: 549k]
  ------------------
  830|  16.1k|                message.append(ppToken->name);
  831|   549k|        } else if (token == PpAtomIdentifier || token == PpAtomConstString) {
  ------------------
  |  Branch (831:20): [True: 115k, False: 434k]
  |  Branch (831:49): [True: 0, False: 434k]
  ------------------
  832|   115k|            message.append(ppToken->name);
  833|   434k|        } else {
  834|   434k|            message.append(atomStrings.getString(token));
  835|   434k|        }
  836|   565k|        message.append(" ");
  837|   565k|        token = scanToken(ppToken);
  838|   565k|    }
  839|     14|    parseContext.notifyErrorDirective(loc.line, message.c_str());
  840|       |    // store this msg into the shader's information log..set the Compile Error flag!!!!
  841|     14|    parseContext.ppError(loc, message.c_str(), "#error", "");
  842|       |
  843|     14|    return '\n';
  844|     14|}
_ZN7glslang10TPpContext10CPPversionEPNS_8TPpTokenE:
  891|     11|{
  892|     11|    int token = scanToken(ppToken);
  893|       |
  894|     11|    if (errorOnVersion || versionSeen) {
  ------------------
  |  Branch (894:9): [True: 0, False: 11]
  |  Branch (894:27): [True: 0, False: 11]
  ------------------
  895|      0|        if (parseContext.isReadingHLSL())
  ------------------
  |  Branch (895:13): [True: 0, False: 0]
  ------------------
  896|      0|            parseContext.ppError(ppToken->loc, "invalid preprocessor command", "#version", "");
  897|      0|        else
  898|      0|            parseContext.ppError(ppToken->loc, "must occur first in shader", "#version", "");
  899|      0|    }
  900|     11|    versionSeen = true;
  901|       |
  902|     11|    if (token == '\n') {
  ------------------
  |  Branch (902:9): [True: 0, False: 11]
  ------------------
  903|      0|        parseContext.ppError(ppToken->loc, "must be followed by version number", "#version", "");
  904|       |
  905|      0|        return token;
  906|      0|    }
  907|       |
  908|     11|    if (token != PpAtomConstInt)
  ------------------
  |  Branch (908:9): [True: 0, False: 11]
  ------------------
  909|      0|        parseContext.ppError(ppToken->loc, "must be followed by version number", "#version", "");
  910|       |
  911|     11|    ppToken->ival = atoi(ppToken->name);
  912|     11|    int versionNumber = ppToken->ival;
  913|     11|    int line = ppToken->loc.line;
  914|     11|    token = scanToken(ppToken);
  915|       |
  916|     11|    if (token == '\n') {
  ------------------
  |  Branch (916:9): [True: 3, False: 8]
  ------------------
  917|      3|        parseContext.notifyVersion(line, versionNumber, nullptr);
  918|      3|        return token;
  919|      8|    } else {
  920|      8|        int profileAtom = atomStrings.getAtom(ppToken->name);
  921|      8|        if (profileAtom != PpAtomCore &&
  ------------------
  |  Branch (921:13): [True: 0, False: 8]
  ------------------
  922|      0|            profileAtom != PpAtomCompatibility &&
  ------------------
  |  Branch (922:13): [True: 0, False: 0]
  ------------------
  923|      0|            profileAtom != PpAtomEs)
  ------------------
  |  Branch (923:13): [True: 0, False: 0]
  ------------------
  924|      0|            parseContext.ppError(ppToken->loc, "bad profile name; use es, core, or compatibility", "#version", "");
  925|      8|        parseContext.notifyVersion(line, versionNumber, ppToken->name);
  926|      8|        token = scanToken(ppToken);
  927|       |
  928|      8|        if (token == '\n')
  ------------------
  |  Branch (928:13): [True: 8, False: 0]
  ------------------
  929|      8|            return token;
  930|      0|        else
  931|      0|            parseContext.ppError(ppToken->loc, "bad tokens following profile -- expected newline", "#version", "");
  932|      8|    }
  933|       |
  934|      0|    return token;
  935|     11|}
_ZN7glslang10TPpContext12CPPextensionEPNS_8TPpTokenE:
  939|    318|{
  940|    318|    int line = ppToken->loc.line;
  941|    318|    int token = scanToken(ppToken);
  942|    318|    char extensionName[MaxTokenLength + 1];
  943|       |
  944|    318|    if (token=='\n') {
  ------------------
  |  Branch (944:9): [True: 0, False: 318]
  ------------------
  945|      0|        parseContext.ppError(ppToken->loc, "extension name not specified", "#extension", "");
  946|      0|        return token;
  947|      0|    }
  948|       |
  949|    318|    if (token != PpAtomIdentifier)
  ------------------
  |  Branch (949:9): [True: 0, False: 318]
  ------------------
  950|      0|        parseContext.ppError(ppToken->loc, "extension name expected", "#extension", "");
  951|       |
  952|    318|    snprintf(extensionName, sizeof(extensionName), "%s", ppToken->name);
  953|       |
  954|    318|    token = scanToken(ppToken);
  955|    318|    if (token != ':') {
  ------------------
  |  Branch (955:9): [True: 0, False: 318]
  ------------------
  956|      0|        parseContext.ppError(ppToken->loc, "':' missing after extension name", "#extension", "");
  957|      0|        return token;
  958|      0|    }
  959|       |
  960|    318|    token = scanToken(ppToken);
  961|    318|    if (token != PpAtomIdentifier) {
  ------------------
  |  Branch (961:9): [True: 0, False: 318]
  ------------------
  962|      0|        parseContext.ppError(ppToken->loc, "behavior for extension not specified", "#extension", "");
  963|      0|        return token;
  964|      0|    }
  965|       |
  966|    318|    parseContext.updateExtensionBehavior(line, extensionName, ppToken->name);
  967|    318|    parseContext.notifyExtensionDirective(line, extensionName, ppToken->name);
  968|       |
  969|    318|    token = scanToken(ppToken);
  970|    318|    if (token == '\n')
  ------------------
  |  Branch (970:9): [True: 318, False: 0]
  ------------------
  971|    318|        return token;
  972|      0|    else
  973|      0|        parseContext.ppError(ppToken->loc,  "extra tokens -- expected newline", "#extension","");
  974|       |
  975|      0|    return token;
  976|    318|}
_ZN7glslang10TPpContext11readCPPlineEPNS_8TPpTokenE:
  979|   175k|{
  980|   175k|    int token = scanToken(ppToken);
  981|       |
  982|   175k|    if (token == PpAtomIdentifier) {
  ------------------
  |  Branch (982:9): [True: 46.9k, False: 128k]
  ------------------
  983|  46.9k|        switch (atomStrings.getAtom(ppToken->name)) {
  984|  46.4k|        case PpAtomDefine:
  ------------------
  |  Branch (984:9): [True: 46.4k, False: 475]
  ------------------
  985|  46.4k|            token = CPPdefine(ppToken);
  986|  46.4k|            break;
  987|      4|        case PpAtomElse:
  ------------------
  |  Branch (987:9): [True: 4, False: 46.8k]
  ------------------
  988|      4|            if (elseSeen[elsetracker])
  ------------------
  |  Branch (988:17): [True: 0, False: 4]
  ------------------
  989|      0|                parseContext.ppError(ppToken->loc, "#else after #else", "#else", "");
  990|      4|            elseSeen[elsetracker] = true;
  991|      4|            if (ifdepth == 0)
  ------------------
  |  Branch (991:17): [True: 3, False: 1]
  ------------------
  992|      3|                parseContext.ppError(ppToken->loc, "mismatched statements", "#else", "");
  993|      4|            token = extraTokenCheck(PpAtomElse, ppToken, scanToken(ppToken));
  994|      4|            token = CPPelse(0, ppToken);
  995|      4|            break;
  996|      0|        case PpAtomElif:
  ------------------
  |  Branch (996:9): [True: 0, False: 46.9k]
  ------------------
  997|      0|            if (ifdepth == 0)
  ------------------
  |  Branch (997:17): [True: 0, False: 0]
  ------------------
  998|      0|                parseContext.ppError(ppToken->loc, "mismatched statements", "#elif", "");
  999|      0|            if (elseSeen[elsetracker])
  ------------------
  |  Branch (999:17): [True: 0, False: 0]
  ------------------
 1000|      0|                parseContext.ppError(ppToken->loc, "#elif after #else", "#elif", "");
 1001|       |            // this token is really a dont care, but we still need to eat the tokens
 1002|      0|            token = scanToken(ppToken);
 1003|      0|            while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (1003:20): [True: 0, False: 0]
  |  Branch (1003:37): [True: 0, False: 0]
  ------------------
 1004|      0|                token = scanToken(ppToken);
 1005|      0|            token = CPPelse(0, ppToken);
 1006|      0|            break;
 1007|     15|        case PpAtomEndif:
  ------------------
  |  Branch (1007:9): [True: 15, False: 46.8k]
  ------------------
 1008|     15|            if (ifdepth == 0)
  ------------------
  |  Branch (1008:17): [True: 3, False: 12]
  ------------------
 1009|      3|                parseContext.ppError(ppToken->loc, "mismatched statements", "#endif", "");
 1010|     12|            else {
 1011|     12|                elseSeen[elsetracker] = false;
 1012|     12|                --elsetracker;
 1013|     12|                --ifdepth;
 1014|     12|            }
 1015|     15|            token = extraTokenCheck(PpAtomEndif, ppToken, scanToken(ppToken));
 1016|     15|            break;
 1017|     14|        case PpAtomIf:
  ------------------
  |  Branch (1017:9): [True: 14, False: 46.8k]
  ------------------
 1018|     14|            token = CPPif(ppToken);
 1019|     14|            break;
 1020|     13|        case PpAtomIfdef:
  ------------------
  |  Branch (1020:9): [True: 13, False: 46.8k]
  ------------------
 1021|     13|            token = CPPifdef(1, ppToken);
 1022|     13|            break;
 1023|     11|        case PpAtomIfndef:
  ------------------
  |  Branch (1023:9): [True: 11, False: 46.8k]
  ------------------
 1024|     11|            token = CPPifdef(0, ppToken);
 1025|     11|            break;
 1026|      0|        case PpAtomLine:
  ------------------
  |  Branch (1026:9): [True: 0, False: 46.9k]
  ------------------
 1027|      0|            token = CPPline(ppToken);
 1028|      0|            break;
 1029|     14|        case PpAtomInclude:
  ------------------
  |  Branch (1029:9): [True: 14, False: 46.8k]
  ------------------
 1030|     14|            if(!parseContext.isReadingHLSL()) {
  ------------------
  |  Branch (1030:16): [True: 6, False: 8]
  ------------------
 1031|      6|                const std::array exts = { E_GL_GOOGLE_include_directive, E_GL_ARB_shading_language_include };
 1032|      6|                parseContext.ppRequireExtensions(ppToken->loc, exts, "#include");
 1033|      6|            }
 1034|     14|            token = CPPinclude(ppToken);
 1035|     14|            break;
 1036|      0|        case PpAtomPragma:
  ------------------
  |  Branch (1036:9): [True: 0, False: 46.9k]
  ------------------
 1037|      0|            token = CPPpragma(ppToken);
 1038|      0|            break;
 1039|      0|        case PpAtomUndef:
  ------------------
  |  Branch (1039:9): [True: 0, False: 46.9k]
  ------------------
 1040|      0|            token = CPPundef(ppToken);
 1041|      0|            break;
 1042|     14|        case PpAtomError:
  ------------------
  |  Branch (1042:9): [True: 14, False: 46.8k]
  ------------------
 1043|     14|            token = CPPerror(ppToken);
 1044|     14|            break;
 1045|     11|        case PpAtomVersion:
  ------------------
  |  Branch (1045:9): [True: 11, False: 46.8k]
  ------------------
 1046|     11|            token = CPPversion(ppToken);
 1047|     11|            break;
 1048|    318|        case PpAtomExtension:
  ------------------
  |  Branch (1048:9): [True: 318, False: 46.5k]
  ------------------
 1049|    318|            token = CPPextension(ppToken);
 1050|    318|            break;
 1051|     61|        default:
  ------------------
  |  Branch (1051:9): [True: 61, False: 46.8k]
  ------------------
 1052|     61|            parseContext.ppError(ppToken->loc, "invalid directive:", "#", ppToken->name);
 1053|     61|            break;
 1054|  46.9k|        }
 1055|   128k|    } else if (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (1055:16): [True: 439, False: 128k]
  |  Branch (1055:33): [True: 437, False: 2]
  ------------------
 1056|    437|        parseContext.ppError(ppToken->loc, "invalid directive", "#", "");
 1057|       |
 1058|   184k|    while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (1058:12): [True: 9.17k, False: 175k]
  |  Branch (1058:29): [True: 9.16k, False: 10]
  ------------------
 1059|  9.16k|        token = scanToken(ppToken);
 1060|       |
 1061|   175k|    return token;
 1062|   175k|}
_ZN7glslang10TPpContext14scanHeaderNameEPNS_8TPpTokenEc:
 1068|     12|{
 1069|     12|    bool tooLong = false;
 1070|       |
 1071|     12|    if (inputStack.empty())
  ------------------
  |  Branch (1071:9): [True: 0, False: 12]
  ------------------
 1072|      0|        return EndOfInput;
 1073|       |
 1074|     12|    int len = 0;
 1075|     12|    ppToken->name[0] = '\0';
 1076|    123|    do {
 1077|    123|        int ch = inputStack.back()->getch();
 1078|       |
 1079|       |        // done yet?
 1080|    123|        if (ch == delimit) {
  ------------------
  |  Branch (1080:13): [True: 12, False: 111]
  ------------------
 1081|     12|            ppToken->name[len] = '\0';
 1082|     12|            if (tooLong)
  ------------------
  |  Branch (1082:17): [True: 0, False: 12]
  ------------------
 1083|      0|                parseContext.ppError(ppToken->loc, "header name too long", "", "");
 1084|     12|            return PpAtomConstString;
 1085|    111|        } else if (ch == EndOfInput)
  ------------------
  |  Branch (1085:20): [True: 0, False: 111]
  ------------------
 1086|      0|            return EndOfInput;
 1087|       |
 1088|       |        // found a character to expand the name with
 1089|    111|        if (len < MaxTokenLength)
  ------------------
  |  Branch (1089:13): [True: 111, False: 0]
  ------------------
 1090|    111|            ppToken->name[len++] = (char)ch;
 1091|      0|        else
 1092|      0|            tooLong = true;
 1093|    111|    } while (true);
  ------------------
  |  Branch (1093:14): [True: 111, Folded]
  ------------------
 1094|     12|}
_ZN7glslang10TPpContext15PrescanMacroArgERNS0_11TokenStreamEPNS_8TPpTokenEb:
 1100|    199|{
 1101|       |    // expand the argument
 1102|    199|    TokenStream* expandedArg = new TokenStream;
 1103|    199|    pushInput(new tMarkerInput(this));
 1104|    199|    pushTokenStreamInput(arg);
 1105|    199|    int token;
 1106|  2.43k|    while ((token = scanToken(ppToken)) != tMarkerInput::marker && token != EndOfInput) {
  ------------------
  |  Branch (1106:12): [True: 2.23k, False: 199]
  |  Branch (1106:68): [True: 2.23k, False: 0]
  ------------------
 1107|  2.23k|        token = tokenPaste(token, *ppToken);
 1108|  2.23k|        if (token == PpAtomIdentifier) {
  ------------------
  |  Branch (1108:13): [True: 17, False: 2.21k]
  ------------------
 1109|     17|            switch (MacroExpand(ppToken, false, newLineOkay)) {
  ------------------
  |  Branch (1109:21): [True: 17, False: 0]
  ------------------
 1110|     17|            case MacroExpandNotStarted:
  ------------------
  |  Branch (1110:13): [True: 17, False: 0]
  ------------------
 1111|     17|                break;
 1112|      0|            case MacroExpandError:
  ------------------
  |  Branch (1112:13): [True: 0, False: 17]
  ------------------
 1113|       |                // toss the rest of the pushed-input argument by scanning until tMarkerInput
 1114|      0|                while ((token = scanToken(ppToken)) != tMarkerInput::marker && token != EndOfInput)
  ------------------
  |  Branch (1114:24): [True: 0, False: 0]
  |  Branch (1114:80): [True: 0, False: 0]
  ------------------
 1115|      0|                    ;
 1116|      0|                break;
 1117|      0|            case MacroExpandStarted:
  ------------------
  |  Branch (1117:13): [True: 0, False: 17]
  ------------------
 1118|      0|            case MacroExpandUndef:
  ------------------
  |  Branch (1118:13): [True: 0, False: 17]
  ------------------
 1119|      0|                continue;
 1120|     17|            }
 1121|     17|        }
 1122|  2.23k|        if (token == tMarkerInput::marker || token == EndOfInput)
  ------------------
  |  Branch (1122:13): [True: 0, False: 2.23k]
  |  Branch (1122:46): [True: 0, False: 2.23k]
  ------------------
 1123|      0|            break;
 1124|  2.23k|        expandedArg->putToken(token, ppToken);
 1125|  2.23k|    }
 1126|       |
 1127|    199|    if (token != tMarkerInput::marker) {
  ------------------
  |  Branch (1127:9): [True: 0, False: 199]
  ------------------
 1128|       |        // Error, or MacroExpand ate the marker, so had bad input, recover
 1129|      0|        delete expandedArg;
 1130|      0|        expandedArg = nullptr;
 1131|      0|    }
 1132|       |
 1133|    199|    return expandedArg;
 1134|    199|}
_ZN7glslang10TPpContext11tMacroInput4scanEPNS_8TPpTokenE:
 1141|    346|{
 1142|    346|    int token;
 1143|    346|    do {
 1144|    346|        token = mac->body.getToken(pp->parseContext, ppToken);
 1145|    346|    } while (token == ' ');  // handle white space in macro
  ------------------
  |  Branch (1145:14): [True: 0, False: 346]
  ------------------
 1146|       |
 1147|       |    // Hash operators basically turn off a round of macro substitution
 1148|       |    // (the round done on the argument before the round done on the RHS of the
 1149|       |    // macro definition):
 1150|       |    //
 1151|       |    // "A parameter in the replacement list, unless preceded by a # or ##
 1152|       |    // preprocessing token or followed by a ## preprocessing token (see below),
 1153|       |    // is replaced by the corresponding argument after all macros contained
 1154|       |    // therein have been expanded."
 1155|       |    //
 1156|       |    // "If, in the replacement list, a parameter is immediately preceded or
 1157|       |    // followed by a ## preprocessing token, the parameter is replaced by the
 1158|       |    // corresponding argument's preprocessing token sequence."
 1159|       |
 1160|    346|    bool pasting = false;
 1161|    346|    if (postpaste) {
  ------------------
  |  Branch (1161:9): [True: 0, False: 346]
  ------------------
 1162|       |        // don't expand next token
 1163|      0|        pasting = true;
 1164|      0|        postpaste = false;
 1165|      0|    }
 1166|       |
 1167|    346|    if (prepaste) {
  ------------------
  |  Branch (1167:9): [True: 0, False: 346]
  ------------------
 1168|       |        // already know we should be on a ##, verify
 1169|      0|        assert(token == PpAtomPaste);
 1170|      0|        prepaste = false;
 1171|      0|        postpaste = true;
 1172|      0|    }
 1173|       |
 1174|       |    // see if are preceding a ##
 1175|    346|    if (mac->body.peekTokenizedPasting(false)) {
  ------------------
  |  Branch (1175:9): [True: 0, False: 346]
  ------------------
 1176|      0|        prepaste = true;
 1177|      0|        pasting = true;
 1178|      0|    }
 1179|       |
 1180|       |
 1181|       |    // TODO: preprocessor:  properly handle whitespace (or lack of it) between tokens when expanding
 1182|    346|    if (token == PpAtomIdentifier) {
  ------------------
  |  Branch (1182:9): [True: 106, False: 240]
  ------------------
 1183|    106|        int i;
 1184|    160|        for (i = (int)mac->args.size() - 1; i >= 0; i--)
  ------------------
  |  Branch (1184:45): [True: 156, False: 4]
  ------------------
 1185|    156|            if (strcmp(pp->atomStrings.getString(mac->args[i]), ppToken->name) == 0)
  ------------------
  |  Branch (1185:17): [True: 102, False: 54]
  ------------------
 1186|    102|                break;
 1187|    106|        if (i >= 0) {
  ------------------
  |  Branch (1187:13): [True: 102, False: 4]
  ------------------
 1188|    102|            TokenStream* arg = expandedArgs[i];
 1189|    102|            bool expanded = !!arg && !pasting;
  ------------------
  |  Branch (1189:29): [True: 102, False: 0]
  |  Branch (1189:38): [True: 102, False: 0]
  ------------------
 1190|       |            // HLSL does expand macros before concatenation
 1191|    102|            if (arg == nullptr || (pasting && !pp->parseContext.isReadingHLSL()) ) {
  ------------------
  |  Branch (1191:17): [True: 0, False: 102]
  |  Branch (1191:36): [True: 0, False: 102]
  |  Branch (1191:47): [True: 0, False: 0]
  ------------------
 1192|      0|                arg = args[i];
 1193|      0|            }
 1194|    102|            pp->pushTokenStreamInput(*arg, prepaste, expanded);
 1195|       |
 1196|    102|            return pp->scanToken(ppToken);
 1197|    102|        }
 1198|    106|    }
 1199|       |
 1200|    244|    if (token == EndOfInput)
  ------------------
  |  Branch (1200:9): [True: 114, False: 130]
  ------------------
 1201|    114|        mac->busy = 0;
 1202|       |
 1203|    244|    return token;
 1204|    346|}
_ZN7glslang10TPpContext10tZeroInput4scanEPNS_8TPpTokenE:
 1208|      6|{
 1209|      6|    if (done)
  ------------------
  |  Branch (1209:9): [True: 3, False: 3]
  ------------------
 1210|      3|        return EndOfInput;
 1211|       |
 1212|      3|    ppToken->name[0] = '0';
 1213|      3|    ppToken->name[1] = 0;
 1214|      3|    ppToken->ival = 0;
 1215|      3|    ppToken->space = false;
 1216|      3|    done = true;
 1217|       |
 1218|      3|    return PpAtomConstInt;
 1219|      6|}
_ZN7glslang10TPpContext11MacroExpandEPNS_8TPpTokenEbb:
 1234|  5.05M|{
 1235|  5.05M|    ppToken->space = false;
 1236|  5.05M|    int macroAtom = atomStrings.getAtom(ppToken->name);
 1237|  5.05M|    if (ppToken->fullyExpanded)
  ------------------
  |  Branch (1237:9): [True: 17, False: 5.05M]
  ------------------
 1238|     17|        return MacroExpandNotStarted;
 1239|       |
 1240|  5.05M|    switch (macroAtom) {
 1241|      0|    case PpAtomLineMacro:
  ------------------
  |  Branch (1241:5): [True: 0, False: 5.05M]
  ------------------
 1242|       |        // Arguments which are macro have been replaced in the first stage.
 1243|      0|        if (ppToken->ival == 0)
  ------------------
  |  Branch (1243:13): [True: 0, False: 0]
  ------------------
 1244|      0|            ppToken->ival = parseContext.getCurrentLoc().line;
 1245|      0|        snprintf(ppToken->name, sizeof(ppToken->name), "%d", ppToken->ival);
 1246|      0|        UngetToken(PpAtomConstInt, ppToken);
 1247|      0|        return MacroExpandStarted;
 1248|       |
 1249|      0|    case PpAtomFileMacro: {
  ------------------
  |  Branch (1249:5): [True: 0, False: 5.05M]
  ------------------
 1250|      0|        if (parseContext.getCurrentLoc().name)
  ------------------
  |  Branch (1250:13): [True: 0, False: 0]
  ------------------
 1251|      0|            parseContext.ppRequireExtensions(ppToken->loc, 1, &E_GL_GOOGLE_cpp_style_line_directive, "filename-based __FILE__");
 1252|      0|        ppToken->ival = parseContext.getCurrentLoc().string;
 1253|      0|        snprintf(ppToken->name, sizeof(ppToken->name), "%s", ppToken->loc.getStringNameOrNum().c_str());
 1254|      0|        UngetToken(PpAtomConstInt, ppToken);
 1255|      0|        return MacroExpandStarted;
 1256|      0|    }
 1257|       |
 1258|      0|    case PpAtomVersionMacro:
  ------------------
  |  Branch (1258:5): [True: 0, False: 5.05M]
  ------------------
 1259|      0|        ppToken->ival = parseContext.version;
 1260|      0|        snprintf(ppToken->name, sizeof(ppToken->name), "%d", ppToken->ival);
 1261|      0|        UngetToken(PpAtomConstInt, ppToken);
 1262|      0|        return MacroExpandStarted;
 1263|       |
 1264|  5.05M|    default:
  ------------------
  |  Branch (1264:5): [True: 5.05M, False: 0]
  ------------------
 1265|  5.05M|        break;
 1266|  5.05M|    }
 1267|       |
 1268|  5.05M|    MacroSymbol* macro = macroAtom == 0 ? nullptr : lookupMacroDef(macroAtom);
  ------------------
  |  Branch (1268:26): [True: 5.05M, False: 355]
  ------------------
 1269|       |
 1270|       |    // no recursive expansions
 1271|  5.05M|    if (macro != nullptr && macro->busy) {
  ------------------
  |  Branch (1271:9): [True: 116, False: 5.05M]
  |  Branch (1271:29): [True: 0, False: 116]
  ------------------
 1272|      0|        ppToken->fullyExpanded = true;
 1273|      0|        return MacroExpandNotStarted;
 1274|      0|    }
 1275|       |
 1276|       |    // not expanding undefined macros
 1277|  5.05M|    if ((macro == nullptr || macro->undef) && ! expandUndef)
  ------------------
  |  Branch (1277:10): [True: 5.05M, False: 116]
  |  Branch (1277:30): [True: 0, False: 116]
  |  Branch (1277:47): [True: 5.05M, False: 3]
  ------------------
 1278|  5.05M|        return MacroExpandNotStarted;
 1279|       |
 1280|       |    // 0 is the value of an undefined macro
 1281|    119|    if ((macro == nullptr || macro->undef) && expandUndef) {
  ------------------
  |  Branch (1281:10): [True: 3, False: 116]
  |  Branch (1281:30): [True: 0, False: 116]
  |  Branch (1281:47): [True: 3, False: 0]
  ------------------
 1282|      3|        pushInput(new tZeroInput(this));
 1283|      3|        return MacroExpandUndef;
 1284|      3|    }
 1285|       |
 1286|    116|    tMacroInput *in = new tMacroInput(this);
 1287|       |
 1288|    116|    TSourceLoc loc = ppToken->loc;  // in case we go to the next line before discovering the error
 1289|    116|    in->mac = macro;
 1290|    116|    if (macro->functionLike) {
  ------------------
  |  Branch (1290:9): [True: 102, False: 14]
  ------------------
 1291|       |        // We don't know yet if this will be a successful call of a
 1292|       |        // function-like macro; need to look for a '(', but without trashing
 1293|       |        // the passed in ppToken, until we know we are no longer speculative.
 1294|    102|        TPpToken parenToken;
 1295|    102|        int token = scanToken(&parenToken);
 1296|    102|        if (newLineOkay) {
  ------------------
  |  Branch (1296:13): [True: 102, False: 0]
  ------------------
 1297|    102|            while (token == '\n')
  ------------------
  |  Branch (1297:20): [True: 0, False: 102]
  ------------------
 1298|      0|                token = scanToken(&parenToken);
 1299|    102|        }
 1300|    102|        if (token != '(') {
  ------------------
  |  Branch (1300:13): [True: 2, False: 100]
  ------------------
 1301|       |            // Function-like macro called with object-like syntax: okay, don't expand.
 1302|       |            // (We ate exactly one token that might not be white space; put it back.
 1303|      2|            UngetToken(token, &parenToken);
 1304|      2|            delete in;
 1305|      2|            return MacroExpandNotStarted;
 1306|      2|        }
 1307|    100|        in->args.resize(in->mac->args.size());
 1308|    299|        for (size_t i = 0; i < in->mac->args.size(); i++)
  ------------------
  |  Branch (1308:28): [True: 199, False: 100]
  ------------------
 1309|    199|            in->args[i] = new TokenStream;
 1310|    100|        in->expandedArgs.resize(in->mac->args.size());
 1311|    299|        for (size_t i = 0; i < in->mac->args.size(); i++)
  ------------------
  |  Branch (1311:28): [True: 199, False: 100]
  ------------------
 1312|    199|            in->expandedArgs[i] = nullptr;
 1313|    100|        size_t arg = 0;
 1314|    100|        bool tokenRecorded = false;
 1315|    199|        do {
 1316|    199|            TVector<char> nestStack;
 1317|  2.43k|            while (true) {
  ------------------
  |  Branch (1317:20): [True: 2.43k, Folded]
  ------------------
 1318|  2.43k|                token = scanToken(ppToken);
 1319|  2.43k|                if (token == EndOfInput || token == tMarkerInput::marker) {
  ------------------
  |  Branch (1319:21): [True: 0, False: 2.43k]
  |  Branch (1319:44): [True: 0, False: 2.43k]
  ------------------
 1320|      0|                    parseContext.ppError(loc, "End of input in macro", "macro expansion", atomStrings.getString(macroAtom));
 1321|      0|                    delete in;
 1322|      0|                    return MacroExpandError;
 1323|      0|                }
 1324|  2.43k|                if (token == '\n') {
  ------------------
  |  Branch (1324:21): [True: 0, False: 2.43k]
  ------------------
 1325|      0|                    if (! newLineOkay) {
  ------------------
  |  Branch (1325:25): [True: 0, False: 0]
  ------------------
 1326|      0|                        parseContext.ppError(loc, "End of line in macro substitution:", "macro expansion", atomStrings.getString(macroAtom));
 1327|      0|                        delete in;
 1328|      0|                        return MacroExpandError;
 1329|      0|                    }
 1330|      0|                    continue;
 1331|      0|                }
 1332|  2.43k|                if (token == '#') {
  ------------------
  |  Branch (1332:21): [True: 0, False: 2.43k]
  ------------------
 1333|      0|                    parseContext.ppError(ppToken->loc, "unexpected '#'", "macro expansion", atomStrings.getString(macroAtom));
 1334|      0|                    delete in;
 1335|      0|                    return MacroExpandError;
 1336|      0|                }
 1337|  2.43k|                if (in->mac->args.size() == 0 && token != ')')
  ------------------
  |  Branch (1337:21): [True: 0, False: 2.43k]
  |  Branch (1337:50): [True: 0, False: 0]
  ------------------
 1338|      0|                    break;
 1339|  2.43k|                if (nestStack.size() == 0 && (token == ',' || token == ')'))
  ------------------
  |  Branch (1339:21): [True: 796, False: 1.63k]
  |  Branch (1339:47): [True: 190, False: 606]
  |  Branch (1339:63): [True: 9, False: 597]
  ------------------
 1340|    199|                    break;
 1341|  2.23k|                if (token == '(')
  ------------------
  |  Branch (1341:21): [True: 273, False: 1.96k]
  ------------------
 1342|    273|                    nestStack.push_back(')');
 1343|  1.96k|                else if (token == '{' && parseContext.isReadingHLSL())
  ------------------
  |  Branch (1343:26): [True: 532, False: 1.43k]
  |  Branch (1343:42): [True: 0, False: 532]
  ------------------
 1344|      0|                    nestStack.push_back('}');
 1345|  1.96k|                else if (nestStack.size() > 0 && token == nestStack.back())
  ------------------
  |  Branch (1345:26): [True: 1.45k, False: 506]
  |  Branch (1345:50): [True: 273, False: 1.18k]
  ------------------
 1346|    273|                    nestStack.pop_back();
 1347|       |
 1348|       |                //Macro replacement list is expanded in the last stage.
 1349|  2.23k|                if (atomStrings.getAtom(ppToken->name) == PpAtomLineMacro)
  ------------------
  |  Branch (1349:21): [True: 0, False: 2.23k]
  ------------------
 1350|      0|                    ppToken->ival = parseContext.getCurrentLoc().line;
 1351|       |
 1352|  2.23k|                in->args[arg]->putToken(token, ppToken);
 1353|  2.23k|                tokenRecorded = true;
 1354|  2.23k|            }
 1355|       |            // end of single argument scan
 1356|       |
 1357|    199|            if (token == ')') {
  ------------------
  |  Branch (1357:17): [True: 9, False: 190]
  ------------------
 1358|       |                // closing paren of call
 1359|      9|                if (in->mac->args.size() == 1 && !tokenRecorded)
  ------------------
  |  Branch (1359:21): [True: 1, False: 8]
  |  Branch (1359:50): [True: 0, False: 1]
  ------------------
 1360|      0|                    break;
 1361|      9|                arg++;
 1362|      9|                break;
 1363|      9|            }
 1364|    190|            arg++;
 1365|    190|        } while (arg < in->mac->args.size());
  ------------------
  |  Branch (1365:18): [True: 99, False: 91]
  ------------------
 1366|       |        // end of all arguments scan
 1367|       |
 1368|    100|        if (arg < in->mac->args.size())
  ------------------
  |  Branch (1368:13): [True: 0, False: 100]
  ------------------
 1369|      0|            parseContext.ppError(loc, "Too few args in Macro", "macro expansion", atomStrings.getString(macroAtom));
 1370|    100|        else if (token != ')') {
  ------------------
  |  Branch (1370:18): [True: 91, False: 9]
  ------------------
 1371|       |            // Error recover code; find end of call, if possible
 1372|     91|            int depth = 0;
 1373|  1.66k|            while (token != EndOfInput && (depth > 0 || token != ')')) {
  ------------------
  |  Branch (1373:20): [True: 1.66k, False: 0]
  |  Branch (1373:44): [True: 107, False: 1.55k]
  |  Branch (1373:57): [True: 1.46k, False: 91]
  ------------------
 1374|  1.57k|                if (token == ')' || token == '}')
  ------------------
  |  Branch (1374:21): [True: 4, False: 1.57k]
  |  Branch (1374:37): [True: 195, False: 1.37k]
  ------------------
 1375|    199|                    depth--;
 1376|  1.57k|                token = scanToken(ppToken);
 1377|  1.57k|                if (token == '(' || token == '{')
  ------------------
  |  Branch (1377:21): [True: 13, False: 1.56k]
  |  Branch (1377:37): [True: 22, False: 1.53k]
  ------------------
 1378|     35|                    depth++;
 1379|  1.57k|            }
 1380|       |
 1381|     91|            if (token == EndOfInput) {
  ------------------
  |  Branch (1381:17): [True: 0, False: 91]
  ------------------
 1382|      0|                parseContext.ppError(loc, "End of input in macro", "macro expansion", atomStrings.getString(macroAtom));
 1383|      0|                delete in;
 1384|      0|                return MacroExpandError;
 1385|      0|            }
 1386|     91|            parseContext.ppError(loc, "Too many args in macro", "macro expansion", atomStrings.getString(macroAtom));
 1387|     91|        }
 1388|       |
 1389|       |        // We need both expanded and non-expanded forms of the argument, for whether or
 1390|       |        // not token pasting will be applied later when the argument is consumed next to ##.
 1391|    299|        for (size_t i = 0; i < in->mac->args.size(); i++)
  ------------------
  |  Branch (1391:28): [True: 199, False: 100]
  ------------------
 1392|    199|            in->expandedArgs[i] = PrescanMacroArg(*in->args[i], ppToken, newLineOkay);
 1393|    100|    }
 1394|       |
 1395|    114|    pushInput(in);
 1396|    114|    macro->busy = 1;
 1397|    114|    macro->body.reset();
 1398|       |
 1399|    114|    return MacroExpandStarted;
 1400|    116|}
Pp.cpp:_ZN7glslang12_GLOBAL__N_16op_negEi:
  423|      7|    int op_neg(int a) { return a == INT_MIN ? INT_MIN : -a; }
  ------------------
  |  Branch (423:32): [True: 0, False: 7]
  ------------------
Pp.cpp:_ZN7glslang12_GLOBAL__N_16op_notEi:
  425|      4|    int op_not(int a) { return !a; }
Pp.cpp:_ZN7glslang12_GLOBAL__N_19op_logandEii:
  405|      4|    int op_logand(int a, int b) { return a && b; }
  ------------------
  |  Branch (405:42): [True: 0, False: 4]
  |  Branch (405:47): [True: 0, False: 0]
  ------------------
Pp.cpp:_ZN7glslang12_GLOBAL__N_15op_eqEii:
  409|      3|    int op_eq(int a, int b) { return a == b; }

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

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

_ZN7glslang8TPpTokenC2Ev:
   93|  46.2M|    TPpToken() { clear(); }
_ZN7glslang8TPpToken5clearEv:
   95|  99.4M|    {
   96|  99.4M|        space = false;
   97|  99.4M|        i64val = 0;
   98|  99.4M|        loc.init();
   99|  99.4M|        name[0] = 0;
  100|  99.4M|        fullyExpanded = false;
  101|  99.4M|    }
_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.14M|    {
  142|  5.14M|        auto it = atomMap.find(s);
  143|  5.14M|        return it == atomMap.end() ? 0 : it->second;
  ------------------
  |  Branch (143:16): [True: 5.10M, False: 47.4k]
  ------------------
  144|  5.14M|    }
_ZN7glslang14TStringAtomMap10getAddAtomEPKc:
  148|  46.4k|    {
  149|  46.4k|        int atom = getAtom(s);
  150|  46.4k|        if (atom == 0) {
  ------------------
  |  Branch (150:13): [True: 46.4k, False: 61]
  ------------------
  151|  46.4k|            atom = nextAtom++;
  152|  46.4k|            addAtomFixed(s, atom);
  153|  46.4k|        }
  154|  46.4k|        return atom;
  155|  46.4k|    }
_ZNK7glslang14TStringAtomMap9getStringEi:
  158|  30.0M|    const char* getString(int atom) const { return stringMap[atom]->c_str(); }
_ZN7glslang14TStringAtomMap12addAtomFixedEPKci:
  176|   194k|    {
  177|   194k|        auto it = atomMap.insert(std::pair<TString, int>(s, atom)).first;
  178|   194k|        if (stringMap.size() < (size_t)atom + 1)
  ------------------
  |  Branch (178:13): [True: 2.73k, False: 191k]
  ------------------
  179|  2.73k|            stringMap.resize(atom + 100, &badToken);
  180|   194k|        stringMap[atom] = &it->first;
  181|   194k|    }
_ZN7glslang10TPpContext6tInputC2EPS0_:
  208|  1.62k|        tInput(TPpContext* p) : done(false), pp(p) { }
_ZN7glslang10TPpContext6tInputD2Ev:
  209|  1.62k|        virtual ~tInput() { }
_ZN7glslang10TPpContext6tInput11peekPastingEv:
  214|  52.1M|        virtual bool peekPasting() { return false; }             // true when about to see ##
_ZN7glslang10TPpContext6tInput12isMacroInputEv:
  217|      6|        virtual bool isMacroInput() { return false; }
_ZN7glslang10TPpContext6tInput13isStringInputEv:
  218|  3.69k|        virtual bool isStringInput() { return false; }
_ZN7glslang10TPpContext6tInput15notifyActivatedEv:
  221|  1.62k|        virtual void notifyActivated() {}
_ZN7glslang10TPpContext6tInput13notifyDeletedEv:
  223|  1.62k|        virtual void notifyDeleted() {}
_ZN7glslang10TPpContext9pushInputEPNS0_6tInputE:
  232|  1.62k|    {
  233|  1.62k|        inputStack.push_back(in);
  234|  1.62k|        in->notifyActivated();
  235|  1.62k|    }
_ZN7glslang10TPpContext8popInputEv:
  237|  1.62k|    {
  238|  1.62k|        inputStack.back()->notifyDeleted();
  239|  1.62k|        delete inputStack.back();
  240|  1.62k|        inputStack.pop_back();
  241|  1.62k|    }
_ZN7glslang10TPpContext11TokenStream5TokenC2EiRKNS_8TPpTokenE:
  255|  50.9k|                atom(atom),
  256|  50.9k|                space(ppToken.space),
  257|  50.9k|                i64val(ppToken.i64val),
  258|  50.9k|                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|  93.2k|        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|  92.8k|        MacroSymbol() : functionLike(0), busy(0), undef(0) { }
_ZN7glslang10TPpContext14lookupMacroDefEi:
  342|  46.8k|    {
  343|  46.8k|        auto existingMacroIt = macroDefs.find(atom);
  344|  46.8k|        return (existingMacroIt == macroDefs.end()) ? nullptr : &(existingMacroIt->second);
  ------------------
  |  Branch (344:16): [True: 46.7k, False: 141]
  ------------------
  345|  46.8k|    }
_ZN7glslang10TPpContext11addMacroDefEiRNS0_11MacroSymbolE:
  346|  46.4k|    void addMacroDef(int atom, MacroSymbol& macroDef) { macroDefs[atom] = macroDef; }
_ZN7glslang10TPpContext9scanTokenEPNS_8TPpTokenE:
  369|  53.2M|    {
  370|  53.2M|        int token = EndOfInput;
  371|       |
  372|  53.2M|        while (! inputStack.empty()) {
  ------------------
  |  Branch (372:16): [True: 53.2M, False: 936]
  ------------------
  373|  53.2M|            token = inputStack.back()->scan(ppToken);
  374|  53.2M|            if (token != EndOfInput || inputStack.empty())
  ------------------
  |  Branch (374:17): [True: 53.2M, False: 1.54k]
  |  Branch (374:40): [True: 0, False: 1.54k]
  ------------------
  375|  53.2M|                break;
  376|  1.54k|            popInput();
  377|  1.54k|        }
  378|  53.2M|        if (!inputStack.empty() && inputStack.back()->isStringInput() && !inElseSkip) {
  ------------------
  |  Branch (378:13): [True: 53.2M, False: 936]
  |  Branch (378:36): [True: 53.2M, False: 3.69k]
  |  Branch (378:74): [True: 53.0M, False: 182k]
  ------------------
  379|  53.0M|            if (token == '\n') {
  ------------------
  |  Branch (379:17): [True: 16.4M, False: 36.6M]
  ------------------
  380|  16.4M|                lastLineTokens.clear();
  381|  16.4M|                lastLineTokenLocs.clear();
  382|  36.6M|            } else {
  383|  36.6M|                lastLineTokens.push_back(token);
  384|  36.6M|                lastLineTokenLocs.push_back(ppToken->loc);
  385|  36.6M|            }
  386|  53.0M|        }
  387|  53.2M|        return token;
  388|  53.2M|    }
_ZN7glslang10TPpContext7getCharEv:
  389|  2.09M|    int  getChar() { return inputStack.back()->getch(); }
_ZN7glslang10TPpContext9ungetCharEv:
  390|  38.2k|    void ungetChar() { inputStack.back()->ungetch(); }
_ZN7glslang10TPpContext11peekPastingEv:
  391|  52.1M|    bool peekPasting() { return !inputStack.empty() && inputStack.back()->peekPasting(); }
  ------------------
  |  Branch (391:33): [True: 52.1M, False: 919]
  |  Branch (391:56): [True: 0, False: 52.1M]
  ------------------
_ZN7glslang10TPpContext12isMacroInputEv:
  397|      6|    bool isMacroInput() { return inputStack.size() > 0 && inputStack.back()->isMacroInput(); }
  ------------------
  |  Branch (397:34): [True: 6, False: 0]
  |  Branch (397:59): [True: 0, False: 6]
  ------------------
_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_:
  483|      3|        tZeroInput(TPpContext* pp) : tInput(pp) { }
_ZN7glslang10TPpContext11tTokenInputC2EPS0_PNS0_11TokenStreamEbb:
  528|    301|            tInput(pp),
  529|    301|            tokens(t),
  530|    301|            lastTokenPastes(prepasting),
  531|    301|            preExpanded(expanded) { }
_ZN7glslang10TPpContext11tTokenInput4scanEPNS_8TPpTokenE:
  532|  3.56k|        virtual int scan(TPpToken *ppToken) override {
  533|  3.56k|            int token = tokens->getToken(pp->parseContext, ppToken);
  534|  3.56k|            ppToken->fullyExpanded = preExpanded;
  535|  3.56k|            if (tokens->atEnd() && token == PpAtomIdentifier) {
  ------------------
  |  Branch (535:17): [True: 602, False: 2.96k]
  |  Branch (535:36): [True: 34, False: 568]
  ------------------
  536|     34|                int macroAtom = pp->atomStrings.getAtom(ppToken->name);
  537|     34|                MacroSymbol* macro = macroAtom == 0 ? nullptr : pp->lookupMacroDef(macroAtom);
  ------------------
  |  Branch (537:38): [True: 2, False: 32]
  ------------------
  538|     34|                if (macro && macro->functionLike)
  ------------------
  |  Branch (538:21): [True: 0, False: 34]
  |  Branch (538:30): [True: 0, False: 0]
  ------------------
  539|      0|                    ppToken->fullyExpanded = false;
  540|     34|            }
  541|  3.56k|            return token;
  542|  3.56k|        }
_ZN7glslang10TPpContext11tTokenInput11peekPastingEv:
  545|  3.26k|        virtual bool peekPasting() override { return tokens->peekTokenizedPasting(lastTokenPastes); }
_ZN7glslang10TPpContext16tUngotTokenInputC2EPS0_iPNS_8TPpTokenE:
  555|      2|        tUngotTokenInput(TPpContext* pp, int t, TPpToken* p) : tInput(pp), token(t), lval(*p) { }
_ZN7glslang10TPpContext12tStringInputC2EPS0_RNS_13TInputScannerE:
  569|  1.00k|        tStringInput(TPpContext* pp, TInputScanner& i) : tInput(pp), input(&i) { }
_ZN7glslang10TPpContext12tStringInput13isStringInputEv:
  571|  53.2M|        bool isStringInput() override { return true; }
_ZN7glslang10TPpContext12tStringInput5getchEv:
  576|   109M|        {
  577|   109M|            int ch = input->get();
  578|       |
  579|   109M|            if (ch == '\\') {
  ------------------
  |  Branch (579:17): [True: 2.63k, False: 109M]
  ------------------
  580|       |                // Move past escaped newlines, as many as sequentially exist
  581|  2.63k|                do {
  582|  2.63k|                    if (input->peek() == '\r' || input->peek() == '\n') {
  ------------------
  |  Branch (582:25): [True: 0, False: 2.63k]
  |  Branch (582:50): [True: 2, False: 2.63k]
  ------------------
  583|      2|                        bool allowed = pp->parseContext.lineContinuationCheck(input->getSourceLoc(), pp->inComment);
  584|      2|                        if (! allowed && pp->inComment)
  ------------------
  |  Branch (584:29): [True: 0, False: 2]
  |  Branch (584:42): [True: 0, False: 0]
  ------------------
  585|      0|                            return '\\';
  586|       |
  587|       |                        // escape one newline now
  588|      2|                        ch = input->get();
  589|      2|                        int nextch = input->get();
  590|      2|                        if (ch == '\r' && nextch == '\n')
  ------------------
  |  Branch (590:29): [True: 0, False: 2]
  |  Branch (590:43): [True: 0, False: 0]
  ------------------
  591|      0|                            ch = input->get();
  592|      2|                        else
  593|      2|                            ch = nextch;
  594|      2|                    } else
  595|  2.63k|                        return '\\';
  596|  2.63k|                } while (ch == '\\');
  ------------------
  |  Branch (596:26): [True: 0, False: 2]
  ------------------
  597|  2.63k|            }
  598|       |
  599|       |            // handle any non-escaped newline
  600|   109M|            if (ch == '\r' || ch == '\n') {
  ------------------
  |  Branch (600:17): [True: 7.33M, False: 102M]
  |  Branch (600:31): [True: 10.6M, False: 91.7M]
  ------------------
  601|  17.9M|                if (ch == '\r' && input->peek() == '\n')
  ------------------
  |  Branch (601:21): [True: 7.33M, False: 10.6M]
  |  Branch (601:35): [True: 23.9k, False: 7.30M]
  ------------------
  602|  23.9k|                    input->get();
  603|  17.9M|                return '\n';
  604|  17.9M|            }
  605|       |
  606|  91.7M|            return ch;
  607|   109M|        }
_ZN7glslang10TPpContext12tStringInput7ungetchEv:
  614|  8.39M|        {
  615|  8.39M|            input->unget();
  616|       |
  617|  8.39M|            do {
  618|  8.39M|                int ch = input->peek();
  619|  8.39M|                if (ch == '\r' || ch == '\n') {
  ------------------
  |  Branch (619:21): [True: 41.3k, False: 8.35M]
  |  Branch (619:35): [True: 1.46M, False: 6.88M]
  ------------------
  620|  1.50M|                    if (ch == '\n') {
  ------------------
  |  Branch (620:25): [True: 1.46M, False: 41.3k]
  ------------------
  621|       |                        // correct for two-character newline
  622|  1.46M|                        input->unget();
  623|  1.46M|                        if (input->peek() != '\r')
  ------------------
  |  Branch (623:29): [True: 1.45M, False: 9.87k]
  ------------------
  624|  1.45M|                            input->get();
  625|  1.46M|                    }
  626|       |                    // now in front of a complete newline, move past an escape character
  627|  1.50M|                    input->unget();
  628|  1.50M|                    if (input->peek() == '\\')
  ------------------
  |  Branch (628:25): [True: 0, False: 1.50M]
  ------------------
  629|      0|                        input->unget();
  630|  1.50M|                    else {
  631|  1.50M|                        input->get();
  632|  1.50M|                        break;
  633|  1.50M|                    }
  634|  1.50M|                } else
  635|  6.88M|                    break;
  636|  8.39M|            } while (true);
  ------------------
  |  Branch (636:22): [True: 0, Folded]
  ------------------
  637|  8.39M|        }

_ZN7glslang10TPpContext11lFloatConstEiiPNS_8TPpTokenE:
  113|  36.9k|{
  114|  36.9k|    const auto saveName = [&](int ch) {
  115|  36.9k|        if (len <= MaxTokenLength)
  116|  36.9k|            ppToken->name[len++] = static_cast<char>(ch);
  117|  36.9k|    };
  118|       |
  119|       |    // find the range of non-zero digits before the decimal point
  120|  36.9k|    int startNonZero = 0;
  121|  50.3k|    while (startNonZero < len && ppToken->name[startNonZero] == '0')
  ------------------
  |  Branch (121:12): [True: 39.4k, False: 10.9k]
  |  Branch (121:34): [True: 13.4k, False: 26.0k]
  ------------------
  122|  13.4k|        ++startNonZero;
  123|  36.9k|    int endNonZero = len;
  124|  42.1k|    while (endNonZero > startNonZero && ppToken->name[endNonZero-1] == '0')
  ------------------
  |  Branch (124:12): [True: 31.2k, False: 10.9k]
  |  Branch (124:41): [True: 5.17k, False: 26.0k]
  ------------------
  125|  5.17k|        --endNonZero;
  126|  36.9k|    int numWholeNumberDigits = endNonZero - startNonZero;
  127|       |
  128|       |    // accumulate the range's value
  129|  36.9k|    bool fastPath = numWholeNumberDigits <= 15;  // when the number gets too complex, set to false
  130|  36.9k|    unsigned long long wholeNumber = 0;
  131|  36.9k|    if (fastPath) {
  ------------------
  |  Branch (131:9): [True: 36.1k, False: 848]
  ------------------
  132|   110k|        for (int i = startNonZero; i < endNonZero; ++i)
  ------------------
  |  Branch (132:36): [True: 74.4k, False: 36.1k]
  ------------------
  133|  74.4k|            wholeNumber = wholeNumber * 10 + (ppToken->name[i] - '0');
  134|  36.1k|    }
  135|  36.9k|    int decimalShift = len - endNonZero;
  136|       |
  137|       |    // Decimal point:
  138|  36.9k|    bool hasDecimalOrExponent = false;
  139|  36.9k|    if (ch == '.') {
  ------------------
  |  Branch (139:9): [True: 16.1k, False: 20.8k]
  ------------------
  140|  16.1k|        hasDecimalOrExponent = true;
  141|  16.1k|        saveName(ch);
  142|  16.1k|        ch = getChar();
  143|  16.1k|        int firstDecimal = len;
  144|       |
  145|  16.1k|#ifdef ENABLE_HLSL
  146|       |        // 1.#INF or -1.#INF
  147|  16.1k|        if (ch == '#' && (ifdepth > 0 || parseContext.intermediate.getSource() == EShSourceHlsl)) {
  ------------------
  |  Branch (147:13): [True: 0, False: 16.1k]
  |  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.1k|#endif
  174|       |
  175|       |        // Consume leading-zero digits after the decimal point
  176|   142k|        while (ch == '0') {
  ------------------
  |  Branch (176:16): [True: 125k, False: 16.1k]
  ------------------
  177|   125k|            saveName(ch);
  178|   125k|            ch = getChar();
  179|   125k|        }
  180|  16.1k|        int startNonZeroDecimal = len;
  181|  16.1k|        int endNonZeroDecimal = len;
  182|       |
  183|       |        // Consume remaining digits, up to the exponent
  184|   290k|        while (ch >= '0' && ch <= '9') {
  ------------------
  |  Branch (184:16): [True: 282k, False: 8.15k]
  |  Branch (184:29): [True: 274k, False: 7.95k]
  ------------------
  185|   274k|            saveName(ch);
  186|   274k|            if (ch != '0')
  ------------------
  |  Branch (186:17): [True: 71.4k, False: 202k]
  ------------------
  187|  71.4k|                endNonZeroDecimal = len;
  188|   274k|            ch = getChar();
  189|   274k|        }
  190|       |
  191|       |        // Compute accumulation up to the last non-zero digit
  192|  16.1k|        if (endNonZeroDecimal > startNonZeroDecimal) {
  ------------------
  |  Branch (192:13): [True: 12.9k, False: 3.12k]
  ------------------
  193|  12.9k|            numWholeNumberDigits += endNonZeroDecimal - endNonZero - 1; // don't include the "."
  194|  12.9k|            if (numWholeNumberDigits > 15)
  ------------------
  |  Branch (194:17): [True: 3.00k, False: 9.98k]
  ------------------
  195|  3.00k|                fastPath = false;
  196|  12.9k|            if (fastPath) {
  ------------------
  |  Branch (196:17): [True: 9.98k, False: 3.00k]
  ------------------
  197|  58.2k|                for (int i = endNonZero; i < endNonZeroDecimal; ++i) {
  ------------------
  |  Branch (197:42): [True: 48.2k, False: 9.98k]
  ------------------
  198|  48.2k|                    if (ppToken->name[i] != '.')
  ------------------
  |  Branch (198:25): [True: 38.2k, False: 9.98k]
  ------------------
  199|  38.2k|                        wholeNumber = wholeNumber * 10 + (ppToken->name[i] - '0');
  200|  48.2k|                }
  201|  9.98k|            }
  202|  12.9k|            decimalShift = firstDecimal - endNonZeroDecimal;
  203|  12.9k|        }
  204|  16.1k|    }
  205|       |
  206|       |    // Exponent:
  207|  36.9k|    bool negativeExponent = false;
  208|  36.9k|    double exponentValue = 0.0;
  209|  36.9k|    int exponent = 0;
  210|  36.9k|    {
  211|  36.9k|        if (ch == 'e' || ch == 'E') {
  ------------------
  |  Branch (211:13): [True: 1.90k, False: 35.0k]
  |  Branch (211:26): [True: 18.4k, False: 16.5k]
  ------------------
  212|  20.3k|            hasDecimalOrExponent = true;
  213|  20.3k|            saveName(ch);
  214|  20.3k|            ch = getChar();
  215|  20.3k|            if (ch == '+' || ch == '-') {
  ------------------
  |  Branch (215:17): [True: 215, False: 20.1k]
  |  Branch (215:30): [True: 174, False: 19.9k]
  ------------------
  216|    389|                negativeExponent = ch == '-';
  217|    389|                saveName(ch);
  218|    389|                ch = getChar();
  219|    389|            }
  220|  20.3k|            if (ch >= '0' && ch <= '9') {
  ------------------
  |  Branch (220:17): [True: 6.97k, False: 13.3k]
  |  Branch (220:30): [True: 2.19k, False: 4.78k]
  ------------------
  221|  1.00M|                while (ch >= '0' && ch <= '9') {
  ------------------
  |  Branch (221:24): [True: 1.00M, False: 1.25k]
  |  Branch (221:37): [True: 1.00M, False: 943]
  ------------------
  222|  1.00M|                    if (exponent < 500) {
  ------------------
  |  Branch (222:25): [True: 83.8k, False: 916k]
  ------------------
  223|  83.8k|                        exponent = exponent * 10 + (ch - '0');
  224|  83.8k|                    }
  225|  1.00M|                    saveName(ch);
  226|  1.00M|                    ch = getChar();
  227|  1.00M|                }
  228|  18.1k|            } else {
  229|  18.1k|                parseContext.ppError(ppToken->loc, "bad character in float exponent", "", "");
  230|  18.1k|            }
  231|  20.3k|        }
  232|       |
  233|       |        // Compensate for location of decimal
  234|  36.9k|        if (negativeExponent)
  ------------------
  |  Branch (234:13): [True: 174, False: 36.7k]
  ------------------
  235|    174|            exponent -= decimalShift;
  236|  36.7k|        else {
  237|  36.7k|            exponent += decimalShift;
  238|  36.7k|            if (exponent < 0) {
  ------------------
  |  Branch (238:17): [True: 12.4k, False: 24.3k]
  ------------------
  239|  12.4k|                negativeExponent = true;
  240|  12.4k|                exponent = -exponent;
  241|  12.4k|            }
  242|  36.7k|        }
  243|  36.9k|        if (exponent > 22)
  ------------------
  |  Branch (243:13): [True: 1.67k, False: 35.2k]
  ------------------
  244|  1.67k|            fastPath = false;
  245|       |
  246|  36.9k|        if (fastPath) {
  ------------------
  |  Branch (246:13): [True: 32.2k, False: 4.70k]
  ------------------
  247|       |            // Compute the floating-point value of the exponent
  248|  32.2k|            exponentValue = 1.0;
  249|  32.2k|            if (exponent > 0) {
  ------------------
  |  Branch (249:17): [True: 13.6k, False: 18.6k]
  ------------------
  250|  13.6k|                double expFactor = 10;
  251|  40.4k|                while (exponent > 0) {
  ------------------
  |  Branch (251:24): [True: 26.7k, False: 13.6k]
  ------------------
  252|  26.7k|                    if (exponent & 0x1)
  ------------------
  |  Branch (252:25): [True: 18.2k, False: 8.56k]
  ------------------
  253|  18.2k|                        exponentValue *= expFactor;
  254|  26.7k|                    expFactor *= expFactor;
  255|  26.7k|                    exponent >>= 1;
  256|  26.7k|                }
  257|  13.6k|            }
  258|  32.2k|        }
  259|  36.9k|    }
  260|       |
  261|       |    // Suffix:
  262|  36.9k|    bool isDouble = false;
  263|  36.9k|    bool isFloat16 = false;
  264|  36.9k|    bool isFE2M1 = false;
  265|  36.9k|    bool isFE3M2 = false;
  266|  36.9k|    bool isFE2M3 = false;
  267|  36.9k|    bool isFUE8M0 = false;
  268|  36.9k|    bool isFMXINT8 = false;
  269|  36.9k|    if (ch == 'l' || ch == 'L') {
  ------------------
  |  Branch (269:9): [True: 1, False: 36.9k]
  |  Branch (269:22): [True: 8, False: 36.9k]
  ------------------
  270|      9|        if (ifdepth == 0 && parseContext.intermediate.getSource() == EShSourceGlsl)
  ------------------
  |  Branch (270:13): [True: 9, False: 0]
  |  Branch (270:29): [True: 3, False: 6]
  ------------------
  271|      3|            parseContext.doubleCheck(ppToken->loc, "double floating-point suffix");
  272|      9|        if (ifdepth == 0 && !hasDecimalOrExponent)
  ------------------
  |  Branch (272:13): [True: 9, False: 0]
  |  Branch (272:29): [True: 0, False: 9]
  ------------------
  273|      0|            parseContext.ppError(ppToken->loc, "float literal needs a decimal point or exponent", "", "");
  274|      9|        if (parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (274:13): [True: 3, False: 6]
  ------------------
  275|      3|            int ch2 = getChar();
  276|      3|            if (ch2 != 'f' && ch2 != 'F') {
  ------------------
  |  Branch (276:17): [True: 3, False: 0]
  |  Branch (276:31): [True: 3, False: 0]
  ------------------
  277|      3|                ungetChar();
  278|      3|                ungetChar();
  279|      3|            } else {
  280|      0|                saveName(ch);
  281|      0|                saveName(ch2);
  282|      0|                isDouble = true;
  283|      0|            }
  284|      6|        } else if (parseContext.intermediate.getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (284:20): [True: 6, False: 0]
  ------------------
  285|      6|            saveName(ch);
  286|      6|            isDouble = true;
  287|      6|        }
  288|  36.9k|    } else if (ch == 'h' || ch == 'H') {
  ------------------
  |  Branch (288:16): [True: 1.25k, False: 35.7k]
  |  Branch (288:29): [True: 224, False: 35.4k]
  ------------------
  289|  1.48k|        if (ifdepth == 0 && parseContext.intermediate.getSource() == EShSourceGlsl)
  ------------------
  |  Branch (289:13): [True: 1.48k, False: 0]
  |  Branch (289:29): [True: 1.25k, False: 225]
  ------------------
  290|  1.25k|            parseContext.float16Check(ppToken->loc, "half floating-point suffix");
  291|  1.48k|        if (ifdepth == 0 && !hasDecimalOrExponent)
  ------------------
  |  Branch (291:13): [True: 1.48k, False: 0]
  |  Branch (291:29): [True: 1.48k, False: 0]
  ------------------
  292|  1.48k|            parseContext.ppError(ppToken->loc, "float literal needs a decimal point or exponent", "", "");
  293|  1.48k|        if (parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (293:13): [True: 1.25k, False: 225]
  ------------------
  294|  1.25k|            int ch2 = getChar();
  295|  1.25k|            if (ch2 != 'f' && ch2 != 'F') {
  ------------------
  |  Branch (295:17): [True: 1.25k, False: 0]
  |  Branch (295:31): [True: 1.25k, False: 0]
  ------------------
  296|  1.25k|                ungetChar();
  297|  1.25k|                ungetChar();
  298|  1.25k|            } else {
  299|      0|                saveName(ch);
  300|      0|                saveName(ch2);
  301|      0|                isFloat16 = true;
  302|      0|            }
  303|  1.25k|        } else if (parseContext.intermediate.getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (303:20): [True: 225, False: 0]
  ------------------
  304|    225|            saveName(ch);
  305|    225|            isFloat16 = true;
  306|    225|        }
  307|  1.48k|    } else
  308|  35.4k|    if (ch == 'f' || ch == 'F') {
  ------------------
  |  Branch (308:9): [True: 189, False: 35.2k]
  |  Branch (308:22): [True: 530, False: 34.7k]
  ------------------
  309|    719|        if (ifdepth == 0)
  ------------------
  |  Branch (309:13): [True: 717, False: 2]
  ------------------
  310|    717|            parseContext.profileRequires(ppToken->loc,  EEsProfile, 300, nullptr, "floating-point suffix");
  311|    719|        if (ifdepth == 0 && !parseContext.relaxedErrors())
  ------------------
  |  Branch (311:13): [True: 717, False: 2]
  |  Branch (311:29): [True: 717, False: 0]
  ------------------
  312|    717|            parseContext.profileRequires(ppToken->loc, ~EEsProfile, 120, nullptr, "floating-point suffix");
  313|    719|        if (ifdepth == 0 && !hasDecimalOrExponent)
  ------------------
  |  Branch (313:13): [True: 717, False: 2]
  |  Branch (313:29): [True: 683, False: 34]
  ------------------
  314|    683|            parseContext.ppError(ppToken->loc, "float literal needs a decimal point or exponent", "", "");
  315|    719|        saveName(ch);
  316|       |
  317|    719|        auto const &try_str = [&](const char *str, size_t numChar) {
  318|    719|            size_t counter = 0;
  319|    719|            for (size_t i = 0; i < numChar; ++i) {
  320|    719|                if (getChar() != str[i]) {
  321|    719|                    break;
  322|    719|                }
  323|    719|                counter++;
  324|    719|            }
  325|    719|            if (counter == numChar) {
  326|    719|                for (size_t i = 0; i < numChar; ++i) {
  327|    719|                    saveName(str[i]);
  328|    719|                }
  329|    719|                return true;
  330|    719|            } else {
  331|       |                // called getChar one more than counter times
  332|    719|                counter++;
  333|    719|                while (counter) {
  334|    719|                    ungetChar();
  335|    719|                    counter--;
  336|    719|                }
  337|    719|                return false;
  338|    719|            }
  339|    719|        };
  340|       |
  341|    719|        if (ch == 'f') {
  ------------------
  |  Branch (341:13): [True: 189, False: 530]
  ------------------
  342|    189|            if (try_str("e2m1", 4)) {
  ------------------
  |  Branch (342:17): [True: 0, False: 189]
  ------------------
  343|      0|                isFE2M1 = true;
  344|    189|            } else if (try_str("e3m2", 4)) {
  ------------------
  |  Branch (344:24): [True: 0, False: 189]
  ------------------
  345|      0|                isFE3M2 = true;
  346|    189|            } else if (try_str("e2m3", 4)) {
  ------------------
  |  Branch (346:24): [True: 0, False: 189]
  ------------------
  347|      0|                isFE2M3 = true;
  348|    189|            } else if (try_str("ue8m0", 5)) {
  ------------------
  |  Branch (348:24): [True: 0, False: 189]
  ------------------
  349|      0|                isFUE8M0 = true;
  350|    189|            } else if (try_str("mxint8", 6)) {
  ------------------
  |  Branch (350:24): [True: 0, False: 189]
  ------------------
  351|      0|                isFMXINT8 = true;
  352|      0|            }
  353|    189|        }
  354|    719|    } else
  355|  34.7k|        ungetChar();
  356|       |
  357|       |    // Patch up the name and length for overflow
  358|       |
  359|  36.9k|    if (len > MaxTokenLength) {
  ------------------
  |  Branch (359:9): [True: 20, False: 36.9k]
  ------------------
  360|     20|        len = MaxTokenLength;
  361|     20|        parseContext.ppError(ppToken->loc, "float literal too long", "", "");
  362|     20|    }
  363|  36.9k|    ppToken->name[len] = '\0';
  364|       |
  365|       |    // Compute the numerical value
  366|  36.9k|    if (fastPath) {
  ------------------
  |  Branch (366:9): [True: 32.2k, False: 4.70k]
  ------------------
  367|       |        // compute the floating-point value of the exponent
  368|  32.2k|        if (exponentValue == 0.0)
  ------------------
  |  Branch (368:13): [True: 0, False: 32.2k]
  ------------------
  369|      0|            ppToken->dval = (double)wholeNumber;
  370|  32.2k|        else if (negativeExponent)
  ------------------
  |  Branch (370:18): [True: 9.53k, False: 22.7k]
  ------------------
  371|  9.53k|            ppToken->dval = (double)wholeNumber / exponentValue;
  372|  22.7k|        else
  373|  22.7k|            ppToken->dval = (double)wholeNumber * exponentValue;
  374|  32.2k|    } else {
  375|       |        // slow path
  376|  4.70k|        ppToken->dval = 0.0;
  377|       |
  378|       |        // remove suffix
  379|  4.70k|        TString numstr(ppToken->name);
  380|  4.70k|        if (numstr.back() == 'f' || numstr.back() == 'F')
  ------------------
  |  Branch (380:13): [True: 23, False: 4.68k]
  |  Branch (380:37): [True: 297, False: 4.38k]
  ------------------
  381|    320|            numstr.pop_back();
  382|  4.70k|        if (numstr.back() == 'h' || numstr.back() == 'H')
  ------------------
  |  Branch (382:13): [True: 1, False: 4.70k]
  |  Branch (382:37): [True: 0, False: 4.70k]
  ------------------
  383|      1|            numstr.pop_back();
  384|  4.70k|        if (numstr.back() == 'l' || numstr.back() == 'L')
  ------------------
  |  Branch (384:13): [True: 0, False: 4.70k]
  |  Branch (384:37): [True: 0, False: 4.70k]
  ------------------
  385|      0|            numstr.pop_back();
  386|       |
  387|       |        // use platform library
  388|  4.70k|        strtodStream.clear();
  389|  4.70k|        strtodStream.str(numstr.c_str());
  390|  4.70k|        strtodStream >> ppToken->dval;
  391|  4.70k|        if (strtodStream.fail()) {
  ------------------
  |  Branch (391:13): [True: 553, False: 4.15k]
  ------------------
  392|       |            // Assume failure combined with a large exponent was overflow, in
  393|       |            // an attempt to set INF.
  394|    553|            if (!negativeExponent && exponent + numWholeNumberDigits > 300)
  ------------------
  |  Branch (394:17): [True: 500, False: 53]
  |  Branch (394:38): [True: 404, False: 96]
  ------------------
  395|    404|                ppToken->i64val = 0x7ff0000000000000; // +Infinity
  396|       |            // Assume failure combined with a small exponent was overflow.
  397|    553|            if (negativeExponent && exponent + numWholeNumberDigits > 300)
  ------------------
  |  Branch (397:17): [True: 53, False: 500]
  |  Branch (397:37): [True: 47, False: 6]
  ------------------
  398|     47|                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|    553|        }
  403|  4.70k|    }
  404|       |
  405|       |    // Return the right token type
  406|  36.9k|    if (isDouble)
  ------------------
  |  Branch (406:9): [True: 6, False: 36.9k]
  ------------------
  407|      6|        return PpAtomConstDouble;
  408|  36.9k|    else if (isFloat16)
  ------------------
  |  Branch (408:14): [True: 225, False: 36.7k]
  ------------------
  409|    225|        return PpAtomConstFloat16;
  410|  36.7k|    else if (isFE2M1)
  ------------------
  |  Branch (410:14): [True: 0, False: 36.7k]
  ------------------
  411|      0|        return PpAtomConstFloatE2M1;
  412|  36.7k|    else if (isFE3M2)
  ------------------
  |  Branch (412:14): [True: 0, False: 36.7k]
  ------------------
  413|      0|        return PpAtomConstFloatE3M2;
  414|  36.7k|    else if (isFE2M3)
  ------------------
  |  Branch (414:14): [True: 0, False: 36.7k]
  ------------------
  415|      0|        return PpAtomConstFloatE2M3;
  416|  36.7k|    else if (isFUE8M0)
  ------------------
  |  Branch (416:14): [True: 0, False: 36.7k]
  ------------------
  417|      0|        return PpAtomConstFloatUE8M0;
  418|  36.7k|    else if (isFMXINT8)
  ------------------
  |  Branch (418:14): [True: 0, False: 36.7k]
  ------------------
  419|      0|        return PpAtomConstFloatMXINT8;
  420|  36.7k|    else
  421|  36.7k|        return PpAtomConstFloat;
  422|  36.9k|}
_ZN7glslang10TPpContext16characterLiteralEPNS_8TPpTokenE:
  431|   186k|{
  432|   186k|    ppToken->name[0] = 0;
  433|   186k|    ppToken->ival = 0;
  434|       |
  435|   186k|    if (parseContext.intermediate.getSource() != EShSourceHlsl) {
  ------------------
  |  Branch (435:9): [True: 49.2k, False: 137k]
  ------------------
  436|       |        // illegal, except in macro definition, for which case we report the character
  437|  49.2k|        return '\'';
  438|  49.2k|    }
  439|       |
  440|   137k|    int ch = getChar();
  441|   137k|    switch (ch) {
  442|  99.5k|    case '\'':
  ------------------
  |  Branch (442:5): [True: 99.5k, False: 37.9k]
  ------------------
  443|       |        // As empty sequence:  ''
  444|  99.5k|        parseContext.ppError(ppToken->loc, "unexpected", "\'", "");
  445|  99.5k|        return PpAtomConstInt;
  446|      0|    case '\\':
  ------------------
  |  Branch (446:5): [True: 0, False: 137k]
  ------------------
  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|  37.9k|    default:
  ------------------
  |  Branch (482:5): [True: 37.9k, False: 99.5k]
  ------------------
  483|  37.9k|        ppToken->ival = ch;
  484|  37.9k|        break;
  485|   137k|    }
  486|  37.9k|    ppToken->name[0] = (char)ppToken->ival;
  487|  37.9k|    ppToken->name[1] = '\0';
  488|  37.9k|    ch = getChar();
  489|  37.9k|    if (ch != '\'') {
  ------------------
  |  Branch (489:9): [True: 28.2k, False: 9.69k]
  ------------------
  490|  28.2k|        parseContext.ppError(ppToken->loc, "expected", "\'", "");
  491|       |        // Look ahead for a closing '
  492|   483k|        do {
  493|   483k|            ch = getChar();
  494|   483k|        } while (ch != '\'' && ch != EndOfInput && ch != '\n');
  ------------------
  |  Branch (494:18): [True: 455k, False: 27.9k]
  |  Branch (494:32): [True: 455k, False: 3]
  |  Branch (494:52): [True: 455k, False: 271]
  ------------------
  495|  28.2k|    }
  496|       |
  497|  37.9k|    return PpAtomConstInt;
  498|   137k|}
_ZN7glslang10TPpContext12tStringInput4scanEPNS_8TPpTokenE:
  512|  53.2M|{
  513|  53.2M|    int AlreadyComplained = 0;
  514|  53.2M|    int len = 0;
  515|  53.2M|    int ch = 0;
  516|  53.2M|    int ii = 0;
  517|  53.2M|    unsigned long long ival = 0;
  518|  53.2M|    const auto floatingPointChar = [&](int ch) { return ch == '.' || ch == 'e' || ch == 'E' ||
  519|  53.2M|                                                                     ch == 'f' || ch == 'F' ||
  520|  53.2M|                                                                     ch == 'h' || ch == 'H'; };
  521|       |
  522|  53.2M|    static const char* const Int64_Extensions[] = {
  523|  53.2M|        E_GL_ARB_gpu_shader_int64,
  524|  53.2M|        E_GL_EXT_shader_explicit_arithmetic_types,
  525|  53.2M|        E_GL_NV_gpu_shader5,
  526|  53.2M|        E_GL_EXT_shader_explicit_arithmetic_types_int64 };
  527|  53.2M|    static const int Num_Int64_Extensions = sizeof(Int64_Extensions) / sizeof(Int64_Extensions[0]);
  528|       |
  529|  53.2M|    static const char* const Int16_Extensions[] = {
  530|  53.2M|        E_GL_AMD_gpu_shader_int16,
  531|  53.2M|        E_GL_EXT_shader_explicit_arithmetic_types,
  532|  53.2M|        E_GL_EXT_shader_explicit_arithmetic_types_int16 };
  533|  53.2M|    static const int Num_Int16_Extensions = sizeof(Int16_Extensions) / sizeof(Int16_Extensions[0]);
  534|       |
  535|  53.2M|    ppToken->clear();
  536|  53.2M|    ch = getch();
  537|  53.2M|    for (;;) {
  538|  58.0M|        while (ch == ' ' || ch == '\t') {
  ------------------
  |  Branch (538:16): [True: 4.38M, False: 53.7M]
  |  Branch (538:29): [True: 449k, False: 53.2M]
  ------------------
  539|  4.83M|            ppToken->space = true;
  540|  4.83M|            ch = getch();
  541|  4.83M|        }
  542|       |
  543|  53.2M|        ppToken->loc = pp->parseContext.getCurrentLoc();
  544|  53.2M|        len = 0;
  545|  53.2M|        switch (ch) {
  546|  44.4M|        default:
  ------------------
  |  Branch (546:9): [True: 44.4M, False: 8.84M]
  ------------------
  547|       |            // Single character token, including EndOfInput, '#' and '\' (escaped newlines are handled at a lower level, so this is just a '\' token)
  548|  44.4M|            if (ch > PpAtomMaxSingle)
  ------------------
  |  Branch (548:17): [True: 9.55M, False: 34.8M]
  ------------------
  549|  9.55M|                ch = PpAtomBadToken;
  550|  44.4M|            return ch;
  551|       |
  552|   116k|        case 'A': case 'B': case 'C': case 'D': case 'E':
  ------------------
  |  Branch (552:9): [True: 14.8k, False: 53.2M]
  |  Branch (552:19): [True: 6.86k, False: 53.2M]
  |  Branch (552:29): [True: 75.2k, False: 53.1M]
  |  Branch (552:39): [True: 5.80k, False: 53.2M]
  |  Branch (552:49): [True: 13.8k, False: 53.2M]
  ------------------
  553|   303k|        case 'F': case 'G': case 'H': case 'I': case 'J':
  ------------------
  |  Branch (553:9): [True: 13.1k, False: 53.2M]
  |  Branch (553:19): [True: 47.9k, False: 53.2M]
  |  Branch (553:29): [True: 9.91k, False: 53.2M]
  |  Branch (553:39): [True: 114k, False: 53.1M]
  |  Branch (553:49): [True: 857, False: 53.2M]
  ------------------
  554|   329k|        case 'K': case 'L': case 'M': case 'N': case 'O':
  ------------------
  |  Branch (554:9): [True: 2.95k, False: 53.2M]
  |  Branch (554:19): [True: 3.33k, False: 53.2M]
  |  Branch (554:29): [True: 13.3k, False: 53.2M]
  |  Branch (554:39): [True: 5.59k, False: 53.2M]
  |  Branch (554:49): [True: 1.07k, False: 53.2M]
  ------------------
  555|   440k|        case 'P': case 'Q': case 'R': case 'S': case 'T':
  ------------------
  |  Branch (555:9): [True: 6.26k, False: 53.2M]
  |  Branch (555:19): [True: 8.93k, False: 53.2M]
  |  Branch (555:29): [True: 11.0k, False: 53.2M]
  |  Branch (555:39): [True: 23.5k, False: 53.2M]
  |  Branch (555:49): [True: 60.7k, False: 53.1M]
  ------------------
  556|   482k|        case 'U': case 'V': case 'W': case 'X': case 'Y':
  ------------------
  |  Branch (556:9): [True: 4.49k, False: 53.2M]
  |  Branch (556:19): [True: 12.9k, False: 53.2M]
  |  Branch (556:29): [True: 17.6k, False: 53.2M]
  |  Branch (556:39): [True: 1.84k, False: 53.2M]
  |  Branch (556:49): [True: 5.81k, False: 53.2M]
  ------------------
  557|   549k|        case 'Z': case '_':
  ------------------
  |  Branch (557:9): [True: 4.13k, False: 53.2M]
  |  Branch (557:19): [True: 62.2k, False: 53.1M]
  ------------------
  558|  1.23M|        case 'a': case 'b': case 'c': case 'd': case 'e':
  ------------------
  |  Branch (558:9): [True: 151k, False: 53.0M]
  |  Branch (558:19): [True: 189k, False: 53.0M]
  |  Branch (558:29): [True: 190k, False: 53.0M]
  |  Branch (558:39): [True: 117k, False: 53.1M]
  |  Branch (558:49): [True: 33.6k, False: 53.2M]
  ------------------
  559|  2.99M|        case 'f': case 'g': case 'h': case 'i': case 'j':
  ------------------
  |  Branch (559:9): [True: 602k, False: 52.6M]
  |  Branch (559:19): [True: 26.6k, False: 53.2M]
  |  Branch (559:29): [True: 120k, False: 53.1M]
  |  Branch (559:39): [True: 1.01M, False: 52.2M]
  |  Branch (559:49): [True: 1.93k, False: 53.2M]
  ------------------
  560|  3.34M|        case 'k': case 'l': case 'm': case 'n': case 'o':
  ------------------
  |  Branch (560:9): [True: 1.63k, False: 53.2M]
  |  Branch (560:19): [True: 22.3k, False: 53.2M]
  |  Branch (560:29): [True: 73.1k, False: 53.1M]
  |  Branch (560:39): [True: 153k, False: 53.0M]
  |  Branch (560:49): [True: 91.0k, False: 53.1M]
  ------------------
  561|  4.04M|        case 'p': case 'q': case 'r': case 's': case 't':
  ------------------
  |  Branch (561:9): [True: 72.0k, False: 53.1M]
  |  Branch (561:19): [True: 9.87k, False: 53.2M]
  |  Branch (561:29): [True: 62.8k, False: 53.1M]
  |  Branch (561:39): [True: 424k, False: 52.8M]
  |  Branch (561:49): [True: 133k, False: 53.1M]
  ------------------
  562|  5.29M|        case 'u': case 'v': case 'w': case 'x': case 'y':
  ------------------
  |  Branch (562:9): [True: 801k, False: 52.4M]
  |  Branch (562:19): [True: 417k, False: 52.8M]
  |  Branch (562:29): [True: 10.4k, False: 53.2M]
  |  Branch (562:39): [True: 3.59k, False: 53.2M]
  |  Branch (562:49): [True: 19.0k, False: 53.2M]
  ------------------
  563|  5.30M|        case 'z':
  ------------------
  |  Branch (563:9): [True: 11.9k, False: 53.2M]
  ------------------
  564|  41.7M|            do {
  565|  41.7M|                if (len < MaxTokenLength) {
  ------------------
  |  Branch (565:21): [True: 40.0M, False: 1.71M]
  ------------------
  566|  40.0M|                    ppToken->name[len++] = (char)ch;
  567|  40.0M|                    ch = getch();
  568|  40.0M|                } else {
  569|  1.71M|                    if (! AlreadyComplained) {
  ------------------
  |  Branch (569:25): [True: 494, False: 1.71M]
  ------------------
  570|    494|                        pp->parseContext.ppError(ppToken->loc, "name too long", "", "");
  571|    494|                        AlreadyComplained = 1;
  572|    494|                    }
  573|  1.71M|                    ch = getch();
  574|  1.71M|                }
  575|  41.7M|            } while ((ch >= 'a' && ch <= 'z') ||
  ------------------
  |  Branch (575:23): [True: 28.1M, False: 13.5M]
  |  Branch (575:36): [True: 28.0M, False: 104k]
  ------------------
  576|  13.6M|                     (ch >= 'A' && ch <= 'Z') ||
  ------------------
  |  Branch (576:23): [True: 4.12M, False: 9.54M]
  |  Branch (576:36): [True: 3.39M, False: 726k]
  ------------------
  577|  10.2M|                     (ch >= '0' && ch <= '9') ||
  ------------------
  |  Branch (577:23): [True: 5.44M, False: 4.81M]
  |  Branch (577:36): [True: 4.35M, False: 1.09M]
  ------------------
  578|  5.91M|                     ch == '_');
  ------------------
  |  Branch (578:22): [True: 607k, False: 5.30M]
  ------------------
  579|       |
  580|       |            // line continuation with no token before or after makes len == 0, and need to start over skipping white space, etc.
  581|  5.30M|            if (len == 0)
  ------------------
  |  Branch (581:17): [True: 0, False: 5.30M]
  ------------------
  582|      0|                continue;
  583|       |
  584|  5.30M|            ppToken->name[len] = '\0';
  585|  5.30M|            ungetch();
  586|  5.30M|            return PpAtomIdentifier;
  587|  74.2k|        case '0':
  ------------------
  |  Branch (587:9): [True: 74.2k, False: 53.1M]
  ------------------
  588|  74.2k|            ppToken->name[len++] = (char)ch;
  589|  74.2k|            ch = getch();
  590|  74.2k|            if (ch == 'x' || ch == 'X') {
  ------------------
  |  Branch (590:17): [True: 7.20k, False: 67.0k]
  |  Branch (590:30): [True: 108, False: 66.9k]
  ------------------
  591|       |                // must be hexadecimal
  592|       |
  593|  7.31k|                bool isUnsigned = false;
  594|  7.31k|                bool isInt64 = false;
  595|  7.31k|                bool isInt16 = false;
  596|  7.31k|                ppToken->name[len++] = (char)ch;
  597|  7.31k|                ch = getch();
  598|  7.31k|                if ((ch >= '0' && ch <= '9') ||
  ------------------
  |  Branch (598:22): [True: 6.93k, False: 380]
  |  Branch (598:35): [True: 3.96k, False: 2.97k]
  ------------------
  599|  3.35k|                    (ch >= 'A' && ch <= 'F') ||
  ------------------
  |  Branch (599:22): [True: 2.90k, False: 445]
  |  Branch (599:35): [True: 742, False: 2.16k]
  ------------------
  600|  6.85k|                    (ch >= 'a' && ch <= 'f')) {
  ------------------
  |  Branch (600:22): [True: 2.15k, False: 453]
  |  Branch (600:35): [True: 2.15k, False: 4]
  ------------------
  601|       |
  602|  6.85k|                    ival = 0;
  603|  51.1k|                    do {
  604|  51.1k|                        if (len < MaxTokenLength && ival <= 0x7fffffffffffffffull) {
  ------------------
  |  Branch (604:29): [True: 51.1k, False: 0]
  |  Branch (604:53): [True: 51.0k, False: 23]
  ------------------
  605|  51.0k|                            ppToken->name[len++] = (char)ch;
  606|  51.0k|                            if (ch >= '0' && ch <= '9') {
  ------------------
  |  Branch (606:33): [True: 51.0k, False: 0]
  |  Branch (606:46): [True: 32.9k, False: 18.1k]
  ------------------
  607|  32.9k|                                ii = ch - '0';
  608|  32.9k|                            } else if (ch >= 'A' && ch <= 'F') {
  ------------------
  |  Branch (608:40): [True: 18.1k, False: 0]
  |  Branch (608:53): [True: 923, False: 17.2k]
  ------------------
  609|    923|                                ii = ch - 'A' + 10;
  610|  17.2k|                            } else if (ch >= 'a' && ch <= 'f') {
  ------------------
  |  Branch (610:40): [True: 17.2k, False: 0]
  |  Branch (610:53): [True: 17.2k, False: 0]
  ------------------
  611|  17.2k|                                ii = ch - 'a' + 10;
  612|  17.2k|                            } else
  613|      0|                                pp->parseContext.ppError(ppToken->loc, "bad digit in hexadecimal literal", "", "");
  614|  51.0k|                            ival = (ival << 4) | ii;
  615|  51.0k|                        } else {
  616|     23|                            if (! AlreadyComplained) {
  ------------------
  |  Branch (616:33): [True: 1, False: 22]
  ------------------
  617|      1|                                if(len < MaxTokenLength)
  ------------------
  |  Branch (617:36): [True: 1, False: 0]
  ------------------
  618|      1|                                    pp->parseContext.ppError(ppToken->loc, "hexadecimal literal too big", "", "");
  619|      0|                                else
  620|      0|                                    pp->parseContext.ppError(ppToken->loc, "hexadecimal literal too long", "", "");
  621|      1|                                AlreadyComplained = 1;
  622|      1|                            }
  623|     23|                            ival = 0xffffffffffffffffull;
  624|     23|                        }
  625|  51.1k|                        ch = getch();
  626|  51.1k|                    } while ((ch >= '0' && ch <= '9') ||
  ------------------
  |  Branch (626:31): [True: 44.8k, False: 6.27k]
  |  Branch (626:44): [True: 29.0k, False: 15.8k]
  ------------------
  627|  22.1k|                             (ch >= 'A' && ch <= 'F') ||
  ------------------
  |  Branch (627:31): [True: 15.4k, False: 6.61k]
  |  Branch (627:44): [True: 181, False: 15.3k]
  ------------------
  628|  21.9k|                             (ch >= 'a' && ch <= 'f'));
  ------------------
  |  Branch (628:31): [True: 15.2k, False: 6.64k]
  |  Branch (628:44): [True: 15.0k, False: 210]
  ------------------
  629|  6.85k|                } else {
  630|    457|                    pp->parseContext.ppError(ppToken->loc, "bad digit in hexadecimal literal", "", "");
  631|    457|                }
  632|  7.31k|                if (ch == 'u' || ch == 'U') {
  ------------------
  |  Branch (632:21): [True: 2, False: 7.31k]
  |  Branch (632:34): [True: 22, False: 7.29k]
  ------------------
  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|  7.29k|                } else if (ch == 'l' || ch == 'L') {
  ------------------
  |  Branch (653:28): [True: 5, False: 7.28k]
  |  Branch (653:41): [True: 0, False: 7.28k]
  ------------------
  654|      5|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (654:25): [True: 5, False: 0]
  ------------------
  655|      5|                        ppToken->name[len++] = (char)ch;
  656|      5|                    isInt64 = true;
  657|  7.28k|                } else if ((ch == 's' || ch == 'S') &&
  ------------------
  |  Branch (657:29): [True: 0, False: 7.28k]
  |  Branch (657:42): [True: 6, False: 7.27k]
  ------------------
  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|  7.28k|                    ungetch();
  664|  7.31k|                ppToken->name[len] = '\0';
  665|       |
  666|  7.31k|                if (isInt64 && pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (666:21): [True: 7, False: 7.30k]
  |  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|  7.31k|                } else if (isInt16) {
  ------------------
  |  Branch (675:28): [True: 0, False: 7.31k]
  ------------------
  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|  7.31k|                } else {
  687|  7.31k|                    if (ival > 0xffffffffu && !AlreadyComplained)
  ------------------
  |  Branch (687:25): [True: 499, False: 6.81k]
  |  Branch (687:47): [True: 498, False: 1]
  ------------------
  688|    498|                        pp->parseContext.ppError(ppToken->loc, "hexadecimal literal too big", "", "");
  689|  7.31k|                    ppToken->ival = (int)ival;
  690|  7.31k|                    return isUnsigned ? PpAtomConstUint : PpAtomConstInt;
  ------------------
  |  Branch (690:28): [True: 22, False: 7.28k]
  ------------------
  691|  7.31k|                }
  692|  66.9k|            } else if ((ch == 'b' || ch == 'B') && pp->parseContext.intermediate.getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (692:25): [True: 8, False: 66.9k]
  |  Branch (692:38): [True: 0, False: 66.9k]
  |  Branch (692:52): [True: 2, False: 6]
  ------------------
  693|       |                // must be binary
  694|      2|                bool isUnsigned = false;
  695|      2|                bool isInt64 = false;
  696|      2|                bool isInt16 = false;
  697|      2|                ppToken->name[len++] = (char)ch;
  698|      2|                ch = getch();
  699|       |
  700|       |                // Check value
  701|      2|                if ((ch == '0' || ch == '1'))
  ------------------
  |  Branch (701:22): [True: 0, False: 2]
  |  Branch (701:35): [True: 1, False: 1]
  ------------------
  702|      1|                {
  703|      1|                    ival = 0;
  704|      1|                    do {
  705|      1|                        if (len < MaxTokenLength && ival <= 0x7fffffffffffffffull) {
  ------------------
  |  Branch (705:29): [True: 1, False: 0]
  |  Branch (705:53): [True: 1, False: 0]
  ------------------
  706|      1|                            ppToken->name[len++] = (char)ch;
  707|      1|                            if (ch == '0' || ch == '1') {
  ------------------
  |  Branch (707:33): [True: 0, False: 1]
  |  Branch (707:46): [True: 1, False: 0]
  ------------------
  708|      1|                                ii = ch - '0';
  709|      1|                            } else {
  710|      0|                                pp->parseContext.ppError(ppToken->loc, "bad digit in binary literal", "", "");
  711|      0|                            }
  712|      1|                            ival = (ival << 1) | ii;
  713|      1|                        }
  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|      1|                        ch = getch();
  726|      1|                    } while (ch == '0' || ch == '1');
  ------------------
  |  Branch (726:30): [True: 0, False: 1]
  |  Branch (726:43): [True: 0, False: 1]
  ------------------
  727|      1|                }
  728|      1|                else
  729|      1|                {
  730|      1|                   pp->parseContext.ppError(ppToken->loc, "bad digit in binary literal", "", "");
  731|      1|                }
  732|       |
  733|       |                // check type
  734|      2|                if (ch == 'u' || ch == 'U') {
  ------------------
  |  Branch (734:21): [True: 0, False: 2]
  |  Branch (734:34): [True: 0, False: 2]
  ------------------
  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|      2|                } else if (ch == 'l' || ch == 'L') {
  ------------------
  |  Branch (755:28): [True: 0, False: 2]
  |  Branch (755:41): [True: 0, False: 2]
  ------------------
  756|      0|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (756:25): [True: 0, False: 0]
  ------------------
  757|      0|                        ppToken->name[len++] = (char)ch;
  758|      0|                    isInt64 = true;
  759|      2|                } else if ((ch == 's' || ch == 'S') &&
  ------------------
  |  Branch (759:29): [True: 0, False: 2]
  |  Branch (759:42): [True: 0, False: 2]
  ------------------
  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|      2|                } else {
  765|      2|                    ungetch();
  766|      2|                }
  767|      2|                ppToken->name[len] = '\0';
  768|       |
  769|       |                // Assign value
  770|      2|                if (isInt64 && pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (770:21): [True: 0, False: 2]
  |  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|      2|                } else if (isInt16) {
  ------------------
  |  Branch (779:28): [True: 0, False: 2]
  ------------------
  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|      2|                } else {
  791|      2|                    ppToken->ival = (int)ival;
  792|      2|                    return isUnsigned ? PpAtomConstUint : PpAtomConstInt;
  ------------------
  |  Branch (792:28): [True: 0, False: 2]
  ------------------
  793|      2|                }
  794|  66.9k|            } else {
  795|       |                // could be octal integer or floating point, speculative pursue octal until it must be floating point
  796|       |
  797|  66.9k|                bool isUnsigned = false;
  798|  66.9k|                bool isInt64 = false;
  799|  66.9k|                bool isInt16 = false;
  800|  66.9k|                bool octalOverflow = false;
  801|  66.9k|                bool nonOctal = false;
  802|  66.9k|                ival = 0;
  803|       |
  804|       |                // see how much octal-like stuff we can read
  805|  1.54M|                while (ch >= '0' && ch <= '7') {
  ------------------
  |  Branch (805:24): [True: 1.50M, False: 45.3k]
  |  Branch (805:37): [True: 1.48M, False: 21.6k]
  ------------------
  806|  1.48M|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (806:25): [True: 326k, False: 1.15M]
  ------------------
  807|   326k|                        ppToken->name[len++] = (char)ch;
  808|  1.15M|                    else if (! AlreadyComplained) {
  ------------------
  |  Branch (808:30): [True: 186, False: 1.15M]
  ------------------
  809|    186|                        pp->parseContext.ppError(ppToken->loc, "numeric literal too long", "", "");
  810|    186|                        AlreadyComplained = 1;
  811|    186|                    }
  812|  1.48M|                    if (ival <= 0x1fffffffffffffffull) {
  ------------------
  |  Branch (812:25): [True: 1.42M, False: 57.0k]
  ------------------
  813|  1.42M|                        ii = ch - '0';
  814|  1.42M|                        ival = (ival << 3) | ii;
  815|  1.42M|                    } else
  816|  57.0k|                        octalOverflow = true;
  817|  1.48M|                    ch = getch();
  818|  1.48M|                }
  819|       |
  820|       |                // could be part of a float...
  821|  66.9k|                if (ch == '8' || ch == '9') {
  ------------------
  |  Branch (821:21): [True: 1.50k, False: 65.4k]
  |  Branch (821:34): [True: 1.01k, False: 64.4k]
  ------------------
  822|  2.52k|                    nonOctal = true;
  823|   181k|                    do {
  824|   181k|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (824:29): [True: 63.7k, False: 117k]
  ------------------
  825|  63.7k|                            ppToken->name[len++] = (char)ch;
  826|   117k|                        else if (! AlreadyComplained) {
  ------------------
  |  Branch (826:34): [True: 45, False: 117k]
  ------------------
  827|     45|                            pp->parseContext.ppError(ppToken->loc, "numeric literal too long", "", "");
  828|     45|                            AlreadyComplained = 1;
  829|     45|                        }
  830|   181k|                        ch = getch();
  831|   181k|                    } while (ch >= '0' && ch <= '9');
  ------------------
  |  Branch (831:30): [True: 179k, False: 1.85k]
  |  Branch (831:43): [True: 178k, False: 663]
  ------------------
  832|  2.52k|                }
  833|  66.9k|                if (floatingPointChar(ch))
  ------------------
  |  Branch (833:21): [True: 2.85k, False: 64.1k]
  ------------------
  834|  2.85k|                    return pp->lFloatConst(len, ch, ppToken);
  835|       |
  836|       |                // wasn't a float, so must be octal...
  837|  64.1k|                if (nonOctal)
  ------------------
  |  Branch (837:21): [True: 1.95k, False: 62.1k]
  ------------------
  838|  1.95k|                    pp->parseContext.ppError(ppToken->loc, "octal literal digit too large", "", "");
  839|       |
  840|  64.1k|                if (ch == 'u' || ch == 'U') {
  ------------------
  |  Branch (840:21): [True: 2, False: 64.1k]
  |  Branch (840:34): [True: 479, False: 63.6k]
  ------------------
  841|    481|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (841:25): [True: 469, False: 12]
  ------------------
  842|    469|                        ppToken->name[len++] = (char)ch;
  843|    481|                    isUnsigned = true;
  844|       |
  845|    481|                    int nextCh = getch();
  846|    481|                    if (nextCh == 'l' || nextCh == 'L') {
  ------------------
  |  Branch (846:25): [True: 4, False: 477]
  |  Branch (846:42): [True: 1, False: 476]
  ------------------
  847|      5|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (847:29): [True: 5, False: 0]
  ------------------
  848|      5|                            ppToken->name[len++] = (char)nextCh;
  849|      5|                        isInt64 = true;
  850|      5|                    } else
  851|    476|                        ungetch();
  852|       |
  853|    481|                    nextCh = getch();
  854|    481|                    if ((nextCh == 's' || nextCh == 'S') && 
  ------------------
  |  Branch (854:26): [True: 0, False: 481]
  |  Branch (854:43): [True: 3, False: 478]
  ------------------
  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|    481|                        ungetch();
  861|  63.6k|                } else if (ch == 'l' || ch == 'L') {
  ------------------
  |  Branch (861:28): [True: 156, False: 63.4k]
  |  Branch (861:41): [True: 6, False: 63.4k]
  ------------------
  862|    162|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (862:25): [True: 162, False: 0]
  ------------------
  863|    162|                        ppToken->name[len++] = (char)ch;
  864|    162|                    isInt64 = true;
  865|  63.4k|                } else if ((ch == 's' || ch == 'S') && 
  ------------------
  |  Branch (865:29): [True: 143, False: 63.3k]
  |  Branch (865:42): [True: 799, False: 62.5k]
  ------------------
  866|    942|                                pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (866:33): [True: 518, False: 424]
  ------------------
  867|    518|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (867:25): [True: 518, False: 0]
  ------------------
  868|    518|                        ppToken->name[len++] = (char)ch;
  869|    518|                    isInt16 = true;
  870|    518|                } else
  871|  62.9k|                    ungetch();
  872|  64.1k|                ppToken->name[len] = '\0';
  873|       |
  874|  64.1k|                if (!isInt64 && ival > 0xffffffffu)
  ------------------
  |  Branch (874:21): [True: 63.9k, False: 167]
  |  Branch (874:33): [True: 156, False: 63.7k]
  ------------------
  875|    156|                    octalOverflow = true;
  876|       |
  877|  64.1k|                if (octalOverflow)
  ------------------
  |  Branch (877:21): [True: 156, False: 63.9k]
  ------------------
  878|    156|                    pp->parseContext.ppError(ppToken->loc, "octal literal too big", "", "");
  879|       |
  880|  64.1k|                if (isInt64 && pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (880:21): [True: 167, False: 63.9k]
  |  Branch (880:32): [True: 22, False: 145]
  ------------------
  881|     22|                    if (pp->ifdepth == 0) {
  ------------------
  |  Branch (881:25): [True: 22, False: 0]
  ------------------
  882|     22|                        pp->parseContext.requireProfile(ppToken->loc, ~EEsProfile,
  883|     22|                                                        "64-bit octal literal");
  884|     22|                        pp->parseContext.profileRequires(ppToken->loc, ~EEsProfile, 0,
  885|     22|                            Num_Int64_Extensions, Int64_Extensions, "64-bit octal literal");
  886|     22|                    }
  887|     22|                    ppToken->i64val = ival;
  888|     22|                    return isUnsigned ? PpAtomConstUint64 : PpAtomConstInt64;
  ------------------
  |  Branch (888:28): [True: 5, False: 17]
  ------------------
  889|  64.0k|                } else if (isInt16) {
  ------------------
  |  Branch (889:28): [True: 518, False: 63.5k]
  ------------------
  890|    518|                    if (pp->ifdepth == 0) {
  ------------------
  |  Branch (890:25): [True: 518, False: 0]
  ------------------
  891|    518|                        if (pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (891:29): [True: 518, False: 0]
  ------------------
  892|    518|                            pp->parseContext.requireProfile(ppToken->loc, ~EEsProfile,
  893|    518|                                                            "16-bit octal literal");
  894|    518|                            pp->parseContext.profileRequires(ppToken->loc, ~EEsProfile, 0,
  895|    518|                                Num_Int16_Extensions, Int16_Extensions, "16-bit octal literal");
  896|    518|                        }
  897|    518|                    }
  898|    518|                    ppToken->ival = (int)ival;
  899|    518|                    return isUnsigned ? PpAtomConstUint16 : PpAtomConstInt16;
  ------------------
  |  Branch (899:28): [True: 0, False: 518]
  ------------------
  900|  63.5k|                } else {
  901|  63.5k|                    ppToken->ival = (int)ival;
  902|  63.5k|                    return isUnsigned ? PpAtomConstUint : PpAtomConstInt;
  ------------------
  |  Branch (902:28): [True: 476, False: 63.0k]
  ------------------
  903|  63.5k|                }
  904|  64.1k|            }
  905|      0|            break;
  906|   708k|        case '1': case '2': case '3': case '4':
  ------------------
  |  Branch (906:9): [True: 547k, False: 52.7M]
  |  Branch (906:19): [True: 112k, False: 53.1M]
  |  Branch (906:29): [True: 20.7k, False: 53.2M]
  |  Branch (906:39): [True: 27.6k, False: 53.2M]
  ------------------
  907|   842k|        case '5': case '6': case '7': case '8': case '9':
  ------------------
  |  Branch (907:9): [True: 13.0k, False: 53.2M]
  |  Branch (907:19): [True: 7.73k, False: 53.2M]
  |  Branch (907:29): [True: 92.3k, False: 53.1M]
  |  Branch (907:39): [True: 11.2k, False: 53.2M]
  |  Branch (907:49): [True: 10.0k, False: 53.2M]
  ------------------
  908|       |            // can't be hexadecimal or octal, is either decimal or floating point
  909|       |
  910|  2.06M|            do {
  911|  2.06M|                if (len < MaxTokenLength)
  ------------------
  |  Branch (911:21): [True: 1.58M, False: 486k]
  ------------------
  912|  1.58M|                    ppToken->name[len++] = (char)ch;
  913|   486k|                else if (! AlreadyComplained) {
  ------------------
  |  Branch (913:26): [True: 209, False: 486k]
  ------------------
  914|    209|                    pp->parseContext.ppError(ppToken->loc, "numeric literal too long", "", "");
  915|    209|                    AlreadyComplained = 1;
  916|    209|                }
  917|  2.06M|                ch = getch();
  918|  2.06M|            } while (ch >= '0' && ch <= '9');
  ------------------
  |  Branch (918:22): [True: 1.35M, False: 714k]
  |  Branch (918:35): [True: 1.22M, False: 128k]
  ------------------
  919|   842k|            if (floatingPointChar(ch))
  ------------------
  |  Branch (919:17): [True: 25.4k, False: 817k]
  ------------------
  920|  25.4k|                return pp->lFloatConst(len, ch, ppToken);
  921|   817k|            else {
  922|       |                // Finish handling signed and unsigned integers
  923|   817k|                int numericLen = len;
  924|   817k|                bool isUnsigned = false;
  925|   817k|                bool isInt64 = false;
  926|   817k|                bool isInt16 = false;
  927|   817k|                if (ch == 'u' || ch == 'U') {
  ------------------
  |  Branch (927:21): [True: 47, False: 817k]
  |  Branch (927:34): [True: 5.52k, False: 811k]
  ------------------
  928|  5.56k|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (928:25): [True: 5.56k, False: 7]
  ------------------
  929|  5.56k|                        ppToken->name[len++] = (char)ch;
  930|  5.56k|                    isUnsigned = true;
  931|       |
  932|  5.56k|                    int nextCh = getch();
  933|  5.56k|                    if (nextCh == 'l' || nextCh == 'L') {
  ------------------
  |  Branch (933:25): [True: 9, False: 5.55k]
  |  Branch (933:42): [True: 3, False: 5.55k]
  ------------------
  934|     12|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (934:29): [True: 12, False: 0]
  ------------------
  935|     12|                            ppToken->name[len++] = (char)nextCh;
  936|     12|                        isInt64 = true;
  937|     12|                    } else
  938|  5.55k|                        ungetch();
  939|       |
  940|  5.56k|                    nextCh = getch();
  941|  5.56k|                    if ((nextCh == 's' || nextCh == 'S') &&
  ------------------
  |  Branch (941:26): [True: 0, False: 5.56k]
  |  Branch (941:43): [True: 9, False: 5.55k]
  ------------------
  942|      9|                                pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (942:33): [True: 0, False: 9]
  ------------------
  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.56k|                        ungetch();
  948|   811k|                } else if (ch == 'l' || ch == 'L') {
  ------------------
  |  Branch (948:28): [True: 226, False: 811k]
  |  Branch (948:41): [True: 321, False: 811k]
  ------------------
  949|    547|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (949:25): [True: 547, False: 0]
  ------------------
  950|    547|                        ppToken->name[len++] = (char)ch;
  951|    547|                    isInt64 = true;
  952|   811k|                } else if ((ch == 's' || ch == 'S') &&
  ------------------
  |  Branch (952:29): [True: 166, False: 811k]
  |  Branch (952:42): [True: 893, False: 810k]
  ------------------
  953|  1.05k|                                pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (953:33): [True: 1.02k, False: 37]
  ------------------
  954|  1.02k|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (954:25): [True: 1.02k, False: 0]
  ------------------
  955|  1.02k|                        ppToken->name[len++] = (char)ch;
  956|  1.02k|                    isInt16 = true;
  957|  1.02k|                } else
  958|   810k|                    ungetch();
  959|       |
  960|   817k|                ppToken->name[len] = '\0';
  961|   817k|                ival = 0;
  962|   817k|                const unsigned oneTenthMaxInt  = 0xFFFFFFFFu / 10;
  963|   817k|                const unsigned remainderMaxInt = 0xFFFFFFFFu - 10 * oneTenthMaxInt;
  964|   817k|                const unsigned long long oneTenthMaxInt64  = 0xFFFFFFFFFFFFFFFFull / 10;
  965|   817k|                const unsigned long long remainderMaxInt64 = 0xFFFFFFFFFFFFFFFFull - 10 * oneTenthMaxInt64;
  966|   817k|                const unsigned short oneTenthMaxInt16  = 0xFFFFu / 10;
  967|   817k|                const unsigned short remainderMaxInt16 = 0xFFFFu - 10 * oneTenthMaxInt16;
  968|  1.98M|                for (int i = 0; i < numericLen; i++) {
  ------------------
  |  Branch (968:33): [True: 1.17M, False: 812k]
  ------------------
  969|  1.17M|                    ch = ppToken->name[i] - '0';
  970|  1.17M|                    bool overflow = false;
  971|  1.17M|                    if (isInt64)
  ------------------
  |  Branch (971:25): [True: 912, False: 1.17M]
  ------------------
  972|    912|                        overflow = (ival > oneTenthMaxInt64 || (ival == oneTenthMaxInt64 && (unsigned long long)ch > remainderMaxInt64));
  ------------------
  |  Branch (972:37): [True: 1, False: 911]
  |  Branch (972:65): [True: 9, False: 902]
  |  Branch (972:93): [True: 0, False: 9]
  ------------------
  973|  1.17M|                    else if (isInt16)
  ------------------
  |  Branch (973:30): [True: 4.85k, False: 1.17M]
  ------------------
  974|  4.85k|                        overflow = (ival > oneTenthMaxInt16 || (ival == oneTenthMaxInt16 && (unsigned short)ch > remainderMaxInt16));
  ------------------
  |  Branch (974:37): [True: 531, False: 4.32k]
  |  Branch (974:65): [True: 0, False: 4.32k]
  |  Branch (974:93): [True: 0, False: 0]
  ------------------
  975|  1.17M|                    else
  976|  1.17M|                        overflow = (ival > oneTenthMaxInt || (ival == oneTenthMaxInt && (unsigned)ch > remainderMaxInt));
  ------------------
  |  Branch (976:37): [True: 3.97k, False: 1.16M]
  |  Branch (976:63): [True: 284, False: 1.16M]
  |  Branch (976:89): [True: 277, False: 7]
  ------------------
  977|  1.17M|                    if (overflow) {
  ------------------
  |  Branch (977:25): [True: 4.78k, False: 1.17M]
  ------------------
  978|  4.78k|                        pp->parseContext.ppError(ppToken->loc, "numeric literal too big", "", "");
  979|  4.78k|                        ival = 0xFFFFFFFFFFFFFFFFull;
  980|  4.78k|                        break;
  981|  4.78k|                    } else
  982|  1.17M|                        ival = ival * 10 + ch;
  983|  1.17M|                }
  984|       |
  985|   817k|                if (isInt64 && pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (985:21): [True: 559, False: 816k]
  |  Branch (985:32): [True: 138, False: 421]
  ------------------
  986|    138|                    if (pp->ifdepth == 0) {
  ------------------
  |  Branch (986:25): [True: 138, False: 0]
  ------------------
  987|    138|                        pp->parseContext.requireProfile(ppToken->loc, ~EEsProfile,
  988|    138|                                                        "64-bit literal");
  989|    138|                        pp->parseContext.profileRequires(ppToken->loc, ~EEsProfile, 0,
  990|    138|                            Num_Int64_Extensions, Int64_Extensions, "64-bit literal");
  991|    138|                    }
  992|    138|                    ppToken->i64val = ival;
  993|    138|                    return isUnsigned ? PpAtomConstUint64 : PpAtomConstInt64;
  ------------------
  |  Branch (993:28): [True: 12, False: 126]
  ------------------
  994|   817k|                } else if (isInt16) {
  ------------------
  |  Branch (994:28): [True: 1.02k, False: 816k]
  ------------------
  995|  1.02k|                    if (pp->ifdepth == 0 && pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (995:25): [True: 1.02k, False: 0]
  |  Branch (995:45): [True: 1.02k, False: 0]
  ------------------
  996|  1.02k|                        pp->parseContext.requireProfile(ppToken->loc, ~EEsProfile,
  997|  1.02k|                                                        "16-bit  literal");
  998|  1.02k|                        pp->parseContext.profileRequires(ppToken->loc, ~EEsProfile, 0,
  999|  1.02k|                            Num_Int16_Extensions, Int16_Extensions, "16-bit literal");
 1000|  1.02k|                    }
 1001|  1.02k|                    ppToken->ival = (int)ival;
 1002|  1.02k|                    return isUnsigned ? PpAtomConstUint16 : PpAtomConstInt16;
  ------------------
  |  Branch (1002:28): [True: 0, False: 1.02k]
  ------------------
 1003|   816k|                } else {
 1004|   816k|                    ppToken->ival = (int)ival;
 1005|   816k|                    return isUnsigned ? PpAtomConstUint : PpAtomConstInt;
  ------------------
  |  Branch (1005:28): [True: 5.55k, False: 810k]
  ------------------
 1006|   816k|                }
 1007|   817k|            }
 1008|      0|            break;
 1009|   143k|        case '-':
  ------------------
  |  Branch (1009:9): [True: 143k, False: 53.1M]
  ------------------
 1010|   143k|            ch = getch();
 1011|   143k|            if (ch == '-') {
  ------------------
  |  Branch (1011:17): [True: 2.28k, False: 140k]
  ------------------
 1012|  2.28k|                return PpAtomDecrement;
 1013|   140k|            } else if (ch == '=') {
  ------------------
  |  Branch (1013:24): [True: 23.7k, False: 117k]
  ------------------
 1014|  23.7k|                return PPAtomSubAssign;
 1015|   117k|            } else {
 1016|   117k|                ungetch();
 1017|   117k|                return '-';
 1018|   117k|            }
 1019|  14.0k|        case '+':
  ------------------
  |  Branch (1019:9): [True: 14.0k, False: 53.2M]
  ------------------
 1020|  14.0k|            ch = getch();
 1021|  14.0k|            if (ch == '+') {
  ------------------
  |  Branch (1021:17): [True: 297, False: 13.7k]
  ------------------
 1022|    297|                return PpAtomIncrement;
 1023|  13.7k|            } else if (ch == '=') {
  ------------------
  |  Branch (1023:24): [True: 2.61k, False: 11.1k]
  ------------------
 1024|  2.61k|                return PPAtomAddAssign;
 1025|  11.1k|            } else {
 1026|  11.1k|                ungetch();
 1027|  11.1k|                return '+';
 1028|  11.1k|            }
 1029|  11.5k|        case '*':
  ------------------
  |  Branch (1029:9): [True: 11.5k, False: 53.2M]
  ------------------
 1030|  11.5k|            ch = getch();
 1031|  11.5k|            if (ch == '=') {
  ------------------
  |  Branch (1031:17): [True: 13, False: 11.4k]
  ------------------
 1032|     13|                return PPAtomMulAssign;
 1033|  11.4k|            } else {
 1034|  11.4k|                ungetch();
 1035|  11.4k|                return '*';
 1036|  11.4k|            }
 1037|  40.8k|        case '%':
  ------------------
  |  Branch (1037:9): [True: 40.8k, False: 53.2M]
  ------------------
 1038|  40.8k|            ch = getch();
 1039|  40.8k|            if (ch == '=') {
  ------------------
  |  Branch (1039:17): [True: 249, False: 40.5k]
  ------------------
 1040|    249|                return PPAtomModAssign;
 1041|  40.5k|            } else {
 1042|  40.5k|                ungetch();
 1043|  40.5k|                return '%';
 1044|  40.5k|            }
 1045|    247|        case '^':
  ------------------
  |  Branch (1045:9): [True: 247, False: 53.2M]
  ------------------
 1046|    247|            ch = getch();
 1047|    247|            if (ch == '^') {
  ------------------
  |  Branch (1047:17): [True: 17, False: 230]
  ------------------
 1048|     17|                return PpAtomXor;
 1049|    230|            } else {
 1050|    230|                if (ch == '=')
  ------------------
  |  Branch (1050:21): [True: 3, False: 227]
  ------------------
 1051|      3|                    return PpAtomXorAssign;
 1052|    227|                else{
 1053|    227|                    ungetch();
 1054|    227|                    return '^';
 1055|    227|                }
 1056|    230|            }
 1057|       |
 1058|   148k|        case '=':
  ------------------
  |  Branch (1058:9): [True: 148k, False: 53.1M]
  ------------------
 1059|   148k|            ch = getch();
 1060|   148k|            if (ch == '=') {
  ------------------
  |  Branch (1060:17): [True: 1.88k, False: 146k]
  ------------------
 1061|  1.88k|                return PpAtomEQ;
 1062|   146k|            } else {
 1063|   146k|                ungetch();
 1064|   146k|                return '=';
 1065|   146k|            }
 1066|   169k|        case '!':
  ------------------
  |  Branch (1066:9): [True: 169k, False: 53.0M]
  ------------------
 1067|   169k|            ch = getch();
 1068|   169k|            if (ch == '=') {
  ------------------
  |  Branch (1068:17): [True: 1.02k, False: 168k]
  ------------------
 1069|  1.02k|                return PpAtomNE;
 1070|   168k|            } else {
 1071|   168k|                ungetch();
 1072|   168k|                return '!';
 1073|   168k|            }
 1074|  2.45k|        case '|':
  ------------------
  |  Branch (1074:9): [True: 2.45k, False: 53.2M]
  ------------------
 1075|  2.45k|            ch = getch();
 1076|  2.45k|            if (ch == '|') {
  ------------------
  |  Branch (1076:17): [True: 736, False: 1.71k]
  ------------------
 1077|    736|                return PpAtomOr;
 1078|  1.71k|            } else if (ch == '=') {
  ------------------
  |  Branch (1078:24): [True: 3, False: 1.71k]
  ------------------
 1079|      3|                return PpAtomOrAssign;
 1080|  1.71k|            } else {
 1081|  1.71k|                ungetch();
 1082|  1.71k|                return '|';
 1083|  1.71k|            }
 1084|   146k|        case '&':
  ------------------
  |  Branch (1084:9): [True: 146k, False: 53.1M]
  ------------------
 1085|   146k|            ch = getch();
 1086|   146k|            if (ch == '&') {
  ------------------
  |  Branch (1086:17): [True: 1.63k, False: 145k]
  ------------------
 1087|  1.63k|                return PpAtomAnd;
 1088|   145k|            } else if (ch == '=') {
  ------------------
  |  Branch (1088:24): [True: 143k, False: 1.43k]
  ------------------
 1089|   143k|                return PpAtomAndAssign;
 1090|   143k|            } else {
 1091|  1.43k|                ungetch();
 1092|  1.43k|                return '&';
 1093|  1.43k|            }
 1094|  84.4k|        case '<':
  ------------------
  |  Branch (1094:9): [True: 84.4k, False: 53.1M]
  ------------------
 1095|  84.4k|            ch = getch();
 1096|  84.4k|            if (ch == '<') {
  ------------------
  |  Branch (1096:17): [True: 3.56k, False: 80.8k]
  ------------------
 1097|  3.56k|                ch = getch();
 1098|  3.56k|                if (ch == '=')
  ------------------
  |  Branch (1098:21): [True: 116, False: 3.44k]
  ------------------
 1099|    116|                    return PpAtomLeftAssign;
 1100|  3.44k|                else {
 1101|  3.44k|                    ungetch();
 1102|  3.44k|                    return PpAtomLeft;
 1103|  3.44k|                }
 1104|  80.8k|            } else if (ch == '=') {
  ------------------
  |  Branch (1104:24): [True: 136, False: 80.7k]
  ------------------
 1105|    136|                return PpAtomLE;
 1106|  80.7k|            } else {
 1107|  80.7k|                ungetch();
 1108|  80.7k|                return '<';
 1109|  80.7k|            }
 1110|   157k|        case '>':
  ------------------
  |  Branch (1110:9): [True: 157k, False: 53.0M]
  ------------------
 1111|   157k|            ch = getch();
 1112|   157k|            if (ch == '>') {
  ------------------
  |  Branch (1112:17): [True: 4.85k, False: 153k]
  ------------------
 1113|  4.85k|                ch = getch();
 1114|  4.85k|                if (ch == '=')
  ------------------
  |  Branch (1114:21): [True: 15, False: 4.84k]
  ------------------
 1115|     15|                    return PpAtomRightAssign;
 1116|  4.84k|                else {
 1117|  4.84k|                    ungetch();
 1118|  4.84k|                    return PpAtomRight;
 1119|  4.84k|                }
 1120|   153k|            } else if (ch == '=') {
  ------------------
  |  Branch (1120:24): [True: 97, False: 152k]
  ------------------
 1121|     97|                return PpAtomGE;
 1122|   152k|            } else {
 1123|   152k|                ungetch();
 1124|   152k|                return '>';
 1125|   152k|            }
 1126|  30.4k|        case '.':
  ------------------
  |  Branch (1126:9): [True: 30.4k, False: 53.2M]
  ------------------
 1127|  30.4k|            ch = getch();
 1128|  30.4k|            if (ch >= '0' && ch <= '9') {
  ------------------
  |  Branch (1128:17): [True: 19.9k, False: 10.4k]
  |  Branch (1128:30): [True: 8.70k, False: 11.2k]
  ------------------
 1129|  8.70k|                ungetch();
 1130|  8.70k|                return pp->lFloatConst(0, '.', ppToken);
 1131|  21.7k|            } else {
 1132|  21.7k|                ungetch();
 1133|  21.7k|                return '.';
 1134|  21.7k|            }
 1135|  33.3k|        case '/':
  ------------------
  |  Branch (1135:9): [True: 33.3k, False: 53.2M]
  ------------------
 1136|  33.3k|            ch = getch();
 1137|  33.3k|            if (ch == '/') {
  ------------------
  |  Branch (1137:17): [True: 2.03k, False: 31.3k]
  ------------------
 1138|  2.03k|                pp->inComment = true;
 1139|   601k|                do {
 1140|   601k|                    ch = getch();
 1141|   601k|                } while (ch != '\n' && ch != EndOfInput);
  ------------------
  |  Branch (1141:26): [True: 599k, False: 2.03k]
  |  Branch (1141:40): [True: 599k, False: 3]
  ------------------
 1142|  2.03k|                ppToken->space = true;
 1143|  2.03k|                pp->inComment = false;
 1144|       |
 1145|  2.03k|                return ch;
 1146|  31.3k|            } else if (ch == '*') {
  ------------------
  |  Branch (1146:24): [True: 3.06k, False: 28.2k]
  ------------------
 1147|  3.06k|                ch = getch();
 1148|  3.31k|                do {
 1149|   317k|                    while (ch != '*') {
  ------------------
  |  Branch (1149:28): [True: 314k, False: 3.31k]
  ------------------
 1150|   314k|                        if (ch == EndOfInput) {
  ------------------
  |  Branch (1150:29): [True: 2, False: 314k]
  ------------------
 1151|      2|                            pp->parseContext.ppError(ppToken->loc, "End of input in comment", "comment", "");
 1152|      2|                            return ch;
 1153|      2|                        }
 1154|   314k|                        ch = getch();
 1155|   314k|                    }
 1156|  3.31k|                    ch = getch();
 1157|  3.31k|                    if (ch == EndOfInput) {
  ------------------
  |  Branch (1157:25): [True: 0, False: 3.31k]
  ------------------
 1158|      0|                        pp->parseContext.ppError(ppToken->loc, "End of input in comment", "comment", "");
 1159|      0|                        return ch;
 1160|      0|                    }
 1161|  3.31k|                } while (ch != '/');
  ------------------
  |  Branch (1161:26): [True: 257, False: 3.05k]
  ------------------
 1162|  3.05k|                ppToken->space = true;
 1163|       |                // loop again to get the next token...
 1164|  3.05k|                break;
 1165|  28.2k|            } else if (ch == '=') {
  ------------------
  |  Branch (1165:24): [True: 2, False: 28.2k]
  ------------------
 1166|      2|                return PPAtomDivAssign;
 1167|  28.2k|            } else {
 1168|  28.2k|                ungetch();
 1169|  28.2k|                return '/';
 1170|  28.2k|            }
 1171|      0|            break;
 1172|   186k|        case '\'':
  ------------------
  |  Branch (1172:9): [True: 186k, False: 53.0M]
  ------------------
 1173|   186k|            return pp->characterLiteral(ppToken);
 1174|  91.8k|        case '"':
  ------------------
  |  Branch (1174:9): [True: 91.8k, False: 53.1M]
  ------------------
 1175|       |            // #include uses scanHeaderName() to ignore these escape sequences.
 1176|  91.8k|            ch = getch();
 1177|   631k|            while (ch != '"' && ch != '\n' && ch != EndOfInput) {
  ------------------
  |  Branch (1177:20): [True: 540k, False: 90.2k]
  |  Branch (1177:33): [True: 539k, False: 1.28k]
  |  Branch (1177:47): [True: 539k, False: 3]
  ------------------
 1178|   539k|                if (len < MaxTokenLength) {
  ------------------
  |  Branch (1178:21): [True: 539k, False: 309]
  ------------------
 1179|   539k|                    if (ch == '\\' && !pp->disableEscapeSequences) {
  ------------------
  |  Branch (1179:25): [True: 1.02k, False: 538k]
  |  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|   539k|                    ppToken->name[len] = (char)ch;
 1250|   539k|                    len++;
 1251|   539k|                    ch = getch();
 1252|   539k|                } else
 1253|    309|                    break;
 1254|   539k|            };
 1255|  91.8k|            ppToken->name[len] = '\0';
 1256|  91.8k|            if (ch != '"') {
  ------------------
  |  Branch (1256:17): [True: 1.59k, False: 90.2k]
  ------------------
 1257|  1.59k|                ungetch();
 1258|  1.59k|                pp->parseContext.ppError(ppToken->loc, "End of line in string", "string", "");
 1259|  1.59k|            }
 1260|  91.8k|            return PpAtomConstString;
 1261|  1.35M|        case ':':
  ------------------
  |  Branch (1261:9): [True: 1.35M, False: 51.8M]
  ------------------
 1262|  1.35M|            ch = getch();
 1263|  1.35M|            if (ch == ':')
  ------------------
  |  Branch (1263:17): [True: 1.97k, False: 1.35M]
  ------------------
 1264|  1.97k|                return PpAtomColonColon;
 1265|  1.35M|            ungetch();
 1266|  1.35M|            return ':';
 1267|  53.2M|        }
 1268|       |
 1269|  3.05k|        ch = getch();
 1270|  3.05k|    }
 1271|  53.2M|}
_ZN7glslang10TPpContext8tokenizeERNS_8TPpTokenE:
 1280|  35.5M|{
 1281|  35.5M|    int stringifyDepth = 0;
 1282|  35.5M|    TPpToken stringifiedToken; // Tokens are appended to this as they come in
 1283|  52.1M|    for (;;) {
 1284|  52.1M|        int token = scanToken(&ppToken);
 1285|       |
 1286|       |        // Handle token-pasting logic
 1287|  52.1M|        token = tokenPaste(token, ppToken);
 1288|       |
 1289|  52.1M|        if (token == EndOfInput) {
  ------------------
  |  Branch (1289:13): [True: 919, False: 52.1M]
  ------------------
 1290|    919|            missingEndifCheck();
 1291|    919|            return EndOfInput;
 1292|    919|        }
 1293|  52.1M|        if (token == '#') {
  ------------------
  |  Branch (1293:13): [True: 175k, False: 51.9M]
  ------------------
 1294|   175k|            if (previous_token == '\n') {
  ------------------
  |  Branch (1294:17): [True: 175k, False: 15]
  ------------------
 1295|   175k|                token = readCPPline(&ppToken);
 1296|   175k|                if (token == EndOfInput) {
  ------------------
  |  Branch (1296:21): [True: 10, False: 175k]
  ------------------
 1297|     10|                    missingEndifCheck();
 1298|     10|                    return EndOfInput;
 1299|     10|                }
 1300|   175k|                continue;
 1301|   175k|            } else {
 1302|     15|                parseContext.ppError(ppToken.loc, "preprocessor directive cannot be preceded by another token", "#", "");
 1303|     15|                return EndOfInput;
 1304|     15|            }
 1305|   175k|        }
 1306|  51.9M|        previous_token = token;
 1307|       |
 1308|  51.9M|        if (token == '\n')
  ------------------
  |  Branch (1308:13): [True: 16.2M, False: 35.7M]
  ------------------
 1309|  16.2M|            continue;
 1310|       |
 1311|  35.7M|        if (token == tStringifyLevelInput::PUSH) {
  ------------------
  |  Branch (1311:13): [True: 0, False: 35.7M]
  ------------------
 1312|      0|            stringifyDepth++;
 1313|      0|            continue;
 1314|      0|        }
 1315|  35.7M|        if (token == tStringifyLevelInput::POP) {
  ------------------
  |  Branch (1315:13): [True: 0, False: 35.7M]
  ------------------
 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|  35.7M|        if (token == PpAtomIdentifier) {
  ------------------
  |  Branch (1326:13): [True: 5.05M, False: 30.6M]
  ------------------
 1327|  5.05M|            switch (MacroExpand(&ppToken, false, true)) {
  ------------------
  |  Branch (1327:21): [True: 5.05M, False: 0]
  ------------------
 1328|  5.05M|            case MacroExpandNotStarted:
  ------------------
  |  Branch (1328:13): [True: 5.05M, False: 114]
  ------------------
 1329|  5.05M|                break;
 1330|      0|            case MacroExpandError:
  ------------------
  |  Branch (1330:13): [True: 0, False: 5.05M]
  ------------------
 1331|      0|                return EndOfInput;
 1332|    114|            case MacroExpandStarted:
  ------------------
  |  Branch (1332:13): [True: 114, False: 5.05M]
  ------------------
 1333|    114|            case MacroExpandUndef:
  ------------------
  |  Branch (1333:13): [True: 0, False: 5.05M]
  ------------------
 1334|    114|                continue;
 1335|  5.05M|            }
 1336|  5.05M|        }
 1337|       |
 1338|  35.7M|        bool needStringSupport = ifdepth == 0 && (token == PpAtomConstString || stringifyDepth > 0);
  ------------------
  |  Branch (1338:34): [True: 35.4M, False: 216k]
  |  Branch (1338:51): [True: 91.5k, False: 35.4M]
  |  Branch (1338:81): [True: 0, False: 35.4M]
  ------------------
 1339|  35.7M|        if (needStringSupport && parseContext.intermediate.getSource() != EShSourceHlsl) {
  ------------------
  |  Branch (1339:13): [True: 91.5k, False: 35.6M]
  |  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|  35.6M|        switch (token) {
 1352|  54.5k|        case PpAtomConstString:
  ------------------
  |  Branch (1352:9): [True: 54.5k, False: 35.6M]
  ------------------
 1353|  54.5k|            break;
 1354|  5.05M|        case PpAtomIdentifier:
  ------------------
  |  Branch (1354:9): [True: 5.05M, False: 30.6M]
  ------------------
 1355|  5.96M|        case PpAtomConstInt:
  ------------------
  |  Branch (1355:9): [True: 909k, False: 34.7M]
  ------------------
 1356|  5.96M|        case PpAtomConstUint:
  ------------------
  |  Branch (1356:9): [True: 6.04k, False: 35.6M]
  ------------------
 1357|  6.00M|        case PpAtomConstFloat:
  ------------------
  |  Branch (1357:9): [True: 36.6k, False: 35.6M]
  ------------------
 1358|  6.00M|        case PpAtomConstInt64:
  ------------------
  |  Branch (1358:9): [True: 145, False: 35.6M]
  ------------------
 1359|  6.00M|        case PpAtomConstUint64:
  ------------------
  |  Branch (1359:9): [True: 19, False: 35.6M]
  ------------------
 1360|  6.00M|        case PpAtomConstInt16:
  ------------------
  |  Branch (1360:9): [True: 1.54k, False: 35.6M]
  ------------------
 1361|  6.00M|        case PpAtomConstUint16:
  ------------------
  |  Branch (1361:9): [True: 0, False: 35.6M]
  ------------------
 1362|  6.00M|        case PpAtomConstDouble:
  ------------------
  |  Branch (1362:9): [True: 6, False: 35.6M]
  ------------------
 1363|  6.00M|        case PpAtomConstFloat16:
  ------------------
  |  Branch (1363:9): [True: 225, False: 35.6M]
  ------------------
 1364|  6.00M|        case PpAtomConstFloatE2M1:
  ------------------
  |  Branch (1364:9): [True: 0, False: 35.6M]
  ------------------
 1365|  6.00M|        case PpAtomConstFloatE3M2:
  ------------------
  |  Branch (1365:9): [True: 0, False: 35.6M]
  ------------------
 1366|  6.00M|        case PpAtomConstFloatE2M3:
  ------------------
  |  Branch (1366:9): [True: 0, False: 35.6M]
  ------------------
 1367|  6.00M|        case PpAtomConstFloatUE8M0:
  ------------------
  |  Branch (1367:9): [True: 0, False: 35.6M]
  ------------------
 1368|  6.00M|        case PpAtomConstFloatMXINT8:
  ------------------
  |  Branch (1368:9): [True: 0, False: 35.6M]
  ------------------
 1369|  6.00M|            if (ppToken.name[0] == '\0')
  ------------------
  |  Branch (1369:17): [True: 99.5k, False: 5.90M]
  ------------------
 1370|  99.5k|                continue;
 1371|  5.90M|            break;
 1372|  5.90M|        case '\'':
  ------------------
  |  Branch (1372:9): [True: 9.62k, False: 35.6M]
  ------------------
 1373|  9.62k|            parseContext.ppError(ppToken.loc, "character literals not supported", "\'", "");
 1374|  9.62k|            continue;
 1375|  29.6M|        default:
  ------------------
  |  Branch (1375:9): [True: 29.6M, False: 6.07M]
  ------------------
 1376|  29.6M|            snprintf(ppToken.name, sizeof(ppToken.name), "%s", atomStrings.getString(token));
 1377|  29.6M|            break;
 1378|  35.6M|        }
 1379|  35.5M|        if (stringifyDepth > 0) {
  ------------------
  |  Branch (1379:13): [True: 0, False: 35.5M]
  ------------------
 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|  35.5M|        return token;
 1392|  35.5M|    }
 1393|  35.5M|}
_ZN7glslang10TPpContext10tokenPasteEiRNS_8TPpTokenE:
 1401|  52.1M|{
 1402|       |    // starting with ## is illegal, skip to next token
 1403|  52.1M|    if (token == PpAtomPaste) {
  ------------------
  |  Branch (1403:9): [True: 0, False: 52.1M]
  ------------------
 1404|      0|        parseContext.ppError(ppToken.loc, "unexpected location", "##", "");
 1405|      0|        return scanToken(&ppToken);
 1406|      0|    }
 1407|       |
 1408|  52.1M|    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|  52.1M|    while (peekPasting()) {
  ------------------
  |  Branch (1411:12): [True: 0, False: 52.1M]
  ------------------
 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|  52.1M|    return resultToken;
 1491|  52.1M|}
_ZN7glslang10TPpContext17missingEndifCheckEv:
 1495|    929|{
 1496|    929|    if (ifdepth > 0)
  ------------------
  |  Branch (1496:9): [True: 14, False: 915]
  ------------------
 1497|     14|        parseContext.ppError(parseContext.getCurrentLoc(), "missing #endif", "", "");
 1498|    929|}
PpScanner.cpp:_ZZN7glslang10TPpContext11lFloatConstEiiPNS_8TPpTokenEENK3$_0clEi:
  114|  1.43M|    const auto saveName = [&](int ch) {
  115|  1.43M|        if (len <= MaxTokenLength)
  ------------------
  |  Branch (115:13): [True: 159k, False: 1.27M]
  ------------------
  116|   159k|            ppToken->name[len++] = static_cast<char>(ch);
  117|  1.43M|    };
PpScanner.cpp:_ZZN7glslang10TPpContext11lFloatConstEiiPNS_8TPpTokenEENK3$_1clEPKcm:
  317|    945|        auto const &try_str = [&](const char *str, size_t numChar) {
  318|    945|            size_t counter = 0;
  319|    968|            for (size_t i = 0; i < numChar; ++i) {
  ------------------
  |  Branch (319:32): [True: 968, False: 0]
  ------------------
  320|    968|                if (getChar() != str[i]) {
  ------------------
  |  Branch (320:21): [True: 945, False: 23]
  ------------------
  321|    945|                    break;
  322|    945|                }
  323|     23|                counter++;
  324|     23|            }
  325|    945|            if (counter == numChar) {
  ------------------
  |  Branch (325:17): [True: 0, False: 945]
  ------------------
  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|    945|            } else {
  331|       |                // called getChar one more than counter times
  332|    945|                counter++;
  333|  1.91k|                while (counter) {
  ------------------
  |  Branch (333:24): [True: 968, False: 945]
  ------------------
  334|    968|                    ungetChar();
  335|    968|                    counter--;
  336|    968|                }
  337|    945|                return false;
  338|    945|            }
  339|    945|        };
PpScanner.cpp:_ZZN7glslang10TPpContext12tStringInput4scanEPNS_8TPpTokenEENK3$_0clEi:
  518|   909k|    const auto floatingPointChar = [&](int ch) { return ch == '.' || ch == 'e' || ch == 'E' ||
  ------------------
  |  Branch (518:57): [True: 7.40k, False: 902k]
  |  Branch (518:70): [True: 787, False: 901k]
  |  Branch (518:83): [True: 17.9k, False: 883k]
  ------------------
  519|   883k|                                                                     ch == 'f' || ch == 'F' ||
  ------------------
  |  Branch (519:70): [True: 153, False: 883k]
  |  Branch (519:83): [True: 530, False: 882k]
  ------------------
  520|   882k|                                                                     ch == 'h' || ch == 'H'; };
  ------------------
  |  Branch (520:70): [True: 1.25k, False: 881k]
  |  Branch (520:83): [True: 224, False: 881k]
  ------------------

_ZN7glslang10TPpContext11TokenStream8putTokenEiPNS_8TPpTokenE:
  102|  50.9k|{
  103|  50.9k|    TokenStream::Token streamToken(atom, *ppToken);
  104|  50.9k|    stream.push_back(streamToken);
  105|  50.9k|}
_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|    260|    const_iterator begin() const { return data_; }
Initialize.cpp:_ZNK4spanIKN7glslang12_GLOBAL__N_115BuiltInFunctionEE3endEv:
   61|    260|    const_iterator end() const { return data_ + count_; }
Initialize.cpp:_ZNK4spanIKN7glslang12_GLOBAL__N_110VersioningEE5emptyEv:
   73|  10.2k|    bool empty() const { return count_ == 0; }
Initialize.cpp:_ZNK4spanIKN7glslang12_GLOBAL__N_110VersioningEE5beginEv:
   58|  4.21k|    const_iterator begin() const { return data_; }
Initialize.cpp:_ZNK4spanIKN7glslang12_GLOBAL__N_110VersioningEE3endEv:
   61|  4.21k|    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|    124|    span(Container &c) : data_(c.data()), count_(c.size()) {}
Initialize.cpp:_ZN4spanIKN7glslang12_GLOBAL__N_115BuiltInFunctionEEC2IKNSt3__15arrayIS2_Lm3EEEEERT_:
   55|    136|    span(Container &c) : data_(c.data()), count_(c.size()) {}

_ZN7glslang7TShader8IncluderD2Ev:
  664|    262|        virtual ~Includer() {}
_ZN7glslang7TShader8Includer13IncludeResultC2ERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEPKcmPv:
  611|     21|                headerName(headerName), headerData(headerData), headerLength(headerLength), userData(userData) { }
_ZN7glslang7TShader11setPreambleEPKc:
  479|    288|    void setPreamble(const char* s) { preamble = s; }
_ZN7glslang7TShader12setEnvClientENS_9EShClientENS_22EShTargetClientVersionE:
  565|    288|    {
  566|    288|        environment.client.client = client;
  567|    288|        environment.client.version = version;
  568|    288|    }
_ZN7glslang7TShader12setEnvTargetENS_17EShTargetLanguageENS_24EShTargetLanguageVersionE:
  570|     83|    {
  571|     83|        environment.target.language = lang;
  572|     83|        environment.target.version = version;
  573|     83|    }
_ZN7glslang7TShader30setEnvTargetHlslFunctionality1Ev:
  578|    140|    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|    166|extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
   88|    166|  FuzzedDataProvider fdp(data, size);
   89|       |
   90|       |  // Prepare GLSL shader content with valid version
   91|    166|  shaderc_shader_kind kind = fdp.PickValueInArray(KindArray);
   92|       |
   93|       |  // Prepare Compiler and options
   94|    166|  shaderc::Compiler compiler;
   95|    166|  shaderc::CompileOptions options;
   96|    166|  options.SetOptimizationLevel(fdp.PickValueInArray(OptArray));
   97|       |
   98|    166|  options.SetHlslFunctionality1(fdp.ConsumeBool());
   99|    166|  options.SetHlsl16BitTypes(fdp.ConsumeBool());
  100|    166|  options.SetInvertY(fdp.ConsumeBool());
  101|    166|  options.SetNanClamp(fdp.ConsumeBool());
  102|    166|  options.SetPreserveBindings(fdp.ConsumeBool());
  103|    166|  options.SetAutoMapLocations(fdp.ConsumeBool());
  104|    166|  options.SetHlslOffsets(fdp.ConsumeBool());
  105|    166|  options.SetAutoBindUniforms(fdp.ConsumeBool());
  106|    166|  options.SetSourceLanguage(fdp.PickValueInArray(LangArray));
  107|       |
  108|       |  // Get the actual content
  109|    166|  std::string shader_content = fdp.ConsumeRandomLengthString();
  110|       |
  111|       |  // Preprocessing
  112|    166|  shaderc::PreprocessedSourceCompilationResult preprocess_result =
  113|    166|      compiler.PreprocessGlsl(shader_content, kind, "input.glsl", options);
  114|    166|  if (preprocess_result.GetCompilationStatus() ==
  ------------------
  |  Branch (114:7): [True: 32, False: 134]
  ------------------
  115|    166|      shaderc_compilation_status_success) {
  116|     32|    std::string preprocessed_code(preprocess_result.cbegin(),
  117|     32|                                  preprocess_result.cend());
  118|    134|  } else {
  119|    134|    return 0;
  120|    134|  }
  121|       |
  122|       |  // Compile to SPIR-V binary
  123|     32|  shaderc::SpvCompilationResult binary_result =
  124|     32|      compiler.CompileGlslToSpv(shader_content, kind, "input.glsl", options);
  125|     32|  if (binary_result.GetCompilationStatus() ==
  ------------------
  |  Branch (125:7): [True: 0, False: 32]
  ------------------
  126|     32|      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|     32|  shaderc::AssemblyCompilationResult assembly_result =
  133|     32|      compiler.CompileGlslToSpvAssembly(shader_content, kind, "input.glsl",
  134|     32|                                        options);
  135|     32|  if (assembly_result.GetCompilationStatus() ==
  ------------------
  |  Branch (135:7): [True: 0, False: 32]
  ------------------
  136|     32|      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|     32|  shaderc_compiler_t c_compiler = shaderc_compiler_initialize();
  143|     32|  shaderc_compilation_result_t c_result = shaderc_compile_into_spv(
  144|     32|      c_compiler, shader_content.c_str(), shader_content.size(), kind,
  145|     32|      "main.vert", "main", nullptr);
  146|       |
  147|     32|  if (shaderc_result_get_compilation_status(c_result) ==
  ------------------
  |  Branch (147:7): [True: 0, False: 32]
  ------------------
  148|     32|      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|     32|  shaderc_result_release(c_result);
  155|     32|  shaderc_compiler_release(c_compiler);
  156|       |
  157|     32|  return 0;
  158|    166|}

