| /third_party/glslang/.github/workflows/ |
| D | continuous_deployment.yml | 9 # Github github-script action: https://github.com/actions/github-script 11 # Octokit front-end to the GitHub REST API: https://octokit.github.io/rest.js/v18 12 # Octokit endpoint methods: https://github.com/octokit/plugin-rest-endpoint-methods.js/tree/master/… 14 # TODO: Use actions/upload-artifact and actions/download-artifact to simplify deployment. 23 - master 27 runs-on: ${{matrix.os.genus}} 29 fail-fast: false 31 os: [{genus: ubuntu-20.04, family: linux}] 35 - uses: actions/checkout@v2 36 - uses: actions/setup-python@v2 [all …]
|
| /third_party/flutter/skia/third_party/externals/spirv-tools/ |
| D | README.md | 1 # SPIR-V Tools 3 …uild Status](https://travis-ci.org/KhronosGroup/SPIRV-Tools.svg?branch=master)](https://travis-ci.… 4 …ranch/master?svg=true)](https://ci.appveyor.com/project/Khronoswebmaster/spirv-tools/branch/master) 8 The SPIR-V Tools project provides an API and commands for processing SPIR-V 12 validator, and optimizer for SPIR-V. Except for the optimizer, all are based 14 details, and is used in the standalone tools whilst also enabling integration 23 feature](https://help.github.com/articles/tracking-the-progress-of-your-work-with-projects/) 24 to organize planned and in-progress work. 26 SPIR-V is defined by the Khronos Group Inc. 27 See the [SPIR-V Registry][spirv-registry] for the SPIR-V specification, [all …]
|
| /third_party/flutter/skia/third_party/externals/spirv-tools/source/ |
| D | disassemble.cpp | 1 // Copyright (c) 2015-2016 The Khronos Group Inc. 7 // http://www.apache.org/licenses/LICENSE-2.0 15 // This file contains a disassembler: It converts a SPIR-V binary 33 #include "spirv-tools/libspirv.h" 40 // A Disassembler instance converts a SPIR-V binary to its assembly 44 Disassembler(const libspirv::AssemblyGrammar& grammar, uint32_t options, in Disassembler() 45 libspirv::NameMapper name_mapper) in Disassembler() 64 // is either big-endian or little-endian. 78 using out_stream = libspirv::out_stream; 90 if (color_) out_.get() << libspirv::clr::reset(); in ResetColor() [all …]
|
| D | extensions.h | 7 // http://www.apache.org/licenses/LICENSE-2.0 21 #include "spirv-tools/libspirv.h" 23 namespace libspirv { 25 // The known SPIR-V extensions. 38 } // namespace libspirv
|
| D | parsed_operand.h | 7 // http://www.apache.org/licenses/LICENSE-2.0 19 #include "spirv-tools/libspirv.h" 21 namespace libspirv { 30 } // namespace libspirv
|
| D | table.h | 1 // Copyright (c) 2015-2016 The Khronos Group Inc. 7 // http://www.apache.org/licenses/LICENSE-2.0 22 #include "spirv-tools/libspirv.hpp" 27 const libspirv::CapabilitySet capabilities; 28 // operandTypes[0..numTypes-1] describe logical operands for the instruction. 29 // The operand types include result id and result-type id, followed by 40 const libspirv::CapabilitySet capabilities; 45 const libspirv::ExtensionSet extensions; 58 const libspirv::CapabilitySet capabilities;
|
| D | validate_layout.cpp | 1 // Copyright (c) 2015-2016 The Khronos Group Inc. 7 // http://www.apache.org/licenses/LICENSE-2.0 24 #include "spirv-tools/libspirv.h" 28 using libspirv::ValidationState_t; 29 using libspirv::kLayoutMemoryModel; 30 using libspirv::kLayoutFunctionDeclarations; 31 using libspirv::kLayoutFunctionDefinitions; 32 using libspirv::FunctionDecl; 55 return libspirv::ModuleLayoutPass(_, inst); in ModuleScopedInstructions() 79 inst->words[inst->operands[2].offset]); in FunctionScopedInstructions() [all …]
|
| D | spirv_stats.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 31 #include "spirv-tools/libspirv.h" 38 using libspirv::Instruction; 39 using libspirv::SpirvStats; 40 using libspirv::ValidationState_t; 59 vstate_->setIdBound(id_bound); in ProcessHeader() 60 ++stats_->version_hist[version]; in ProcessHeader() 61 ++stats_->generator_hist[generator]; in ProcessHeader() 86 ++stats_->capability_hist[capability]; in ProcessCapability() 93 const std::string extension = libspirv::GetExtensionString(&inst.c_inst()); in ProcessExtension() [all …]
|
| D | diagnostic.h | 1 // Copyright (c) 2015-2016 The Khronos Group Inc. 7 // http://www.apache.org/licenses/LICENSE-2.0 21 #include "spirv-tools/libspirv.hpp" 23 namespace libspirv { 26 // code, and captures diagnostic messages via the left-shift operator. 71 } // namespace libspirv
|
| D | validate.cpp | 1 // Copyright (c) 2015-2016 The Khronos Group Inc. 7 // http://www.apache.org/licenses/LICENSE-2.0 35 #include "spirv-tools/libspirv.h" 51 using libspirv::CfgPass; 52 using libspirv::Extension; 53 using libspirv::InstructionPass; 54 using libspirv::ModuleLayoutPass; 55 using libspirv::DataRulesPass; 56 using libspirv::IdPass; 57 using libspirv::ValidationState_t; [all …]
|
| D | validate.h | 1 // Copyright (c) 2015-2016 The Khronos Group Inc. 7 // http://www.apache.org/licenses/LICENSE-2.0 24 #include "spirv-tools/libspirv.h" 27 namespace libspirv { 83 /// Performs logical layout validation as described in section 2.4 of the SPIR-V 119 } // namespace libspirv 127 /// @param[in] usedefs use-def info from module parsing 136 const libspirv::ValidationState_t& state, 139 /// @brief Validate the ID's within a SPIR-V binary 159 // Performs validation for the SPIRV-V module binary. [all …]
|
| D | spirv_stats.h | 7 // http://www.apache.org/licenses/LICENSE-2.0 22 #include "spirv-tools/libspirv.hpp" 24 namespace libspirv { 27 // Version histogram, version_word -> count. 30 // Generator histogram, generator_word -> count. 33 // Capability histogram, SpvCapabilityXXX -> count. 36 // Extension histogram, extension_string -> count. 39 // Opcode histogram, SpvOpXXX -> count. 42 // OpConstant u16 histogram, value -> count. 45 // OpConstant u32 histogram, value -> count. [all …]
|
| D | name_mapper.h | 7 // http://www.apache.org/licenses/LICENSE-2.0 23 #include "spirv-tools/libspirv.h" 26 namespace libspirv { 28 // A NameMapper maps SPIR-V Id values to names. Each name is valid to use in 29 // SPIR-V assembly. The mapping is one-to-one, i.e. no two Ids map to the same 41 // - If an Id has a debug name (via OpName), then that will be used when 43 // - Well known scalar types map to friendly names. For example, 46 // - unsigned integer type of n bits map to "u" followed by n 47 // - signed integer type of n bits map to "i" followed by n 48 // - floating point type of n bits map to "fp" followed by n [all …]
|
| /third_party/spirv-tools/ |
| D | README.md | 1 # SPIR-V Tools 5 The SPIR-V Tools project provides an API and commands for processing SPIR-V 9 validator, and optimizer for SPIR-V. Except for the optimizer, all are based 11 details, and is used in the standalone tools whilst also enabling integration 18 SPIR-V is defined by the Khronos Group Inc. 19 See the [SPIR-V Registry][spirv-registry] for the SPIR-V specification, 24 …ranch/master?svg=true)](https://ci.appveyor.com/project/Khronoswebmaster/spirv-tools/branch/master) 25 …/storage.googleapis.com/spirv-tools/badges/build_status_linux_clang_release.svg)](https://storage.… 26 …/storage.googleapis.com/spirv-tools/badges/build_status_macos_clang_release.svg)](https://storage.… 27 …://storage.googleapis.com/spirv-tools/badges/build_status_windows_release.svg)](https://storage.go… [all …]
|
| D | BUILD.bazel | 50 generate_vendor_tables("spv-amd-shader-explicit-vertex-parameter") 52 generate_vendor_tables("spv-amd-shader-trinary-minmax") 54 generate_vendor_tables("spv-amd-gcn-shader") 56 generate_vendor_tables("spv-amd-shader-ballot") 77 …md = "$(location generate_registry_tables) --xml=$(location @spirv_headers//:spirv_xml_registry) -… 78 tools = [":generate_registry_tables"], 89 outs = ["build-version.inc"], 90 …=0 $(location update_build_version) $$(dirname $(location CHANGES)) $(location build-version.inc)", 91 tools = [":update_build_version"], 121 "include/spirv-tools/libspirv.h", [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/ |
| D | README.md | 1 # SPIR-V Tools 5 The SPIR-V Tools project provides an API and commands for processing SPIR-V 9 validator, and optimizer for SPIR-V. Except for the optimizer, all are based 11 details, and is used in the standalone tools whilst also enabling integration 18 SPIR-V is defined by the Khronos Group Inc. 19 See the [SPIR-V Registry][spirv-registry] for the SPIR-V specification, 24 …/storage.googleapis.com/spirv-tools/badges/build_status_linux_clang_release.svg)](https://storage.… 25 …/storage.googleapis.com/spirv-tools/badges/build_status_macos_clang_release.svg)](https://storage.… 26 …://storage.googleapis.com/spirv-tools/badges/build_status_windows_release.svg)](https://storage.go… 30 ## Versioning SPIRV-Tools [all …]
|
| D | BUILD.bazel | 52 generate_vendor_tables("spv-amd-shader-explicit-vertex-parameter") 54 generate_vendor_tables("spv-amd-shader-trinary-minmax") 56 generate_vendor_tables("spv-amd-gcn-shader") 58 generate_vendor_tables("spv-amd-shader-ballot") 83 …md = "$(location generate_registry_tables) --xml=$(location @spirv_headers//:spirv_xml_registry) -… 84 tools = [":generate_registry_tables"], 95 outs = ["build-version.inc"], 96 …=0 $(location update_build_version) $$(dirname $(location CHANGES)) $(location build-version.inc)", 97 tools = [":update_build_version"], 129 "include/spirv-tools/libspirv.h", [all …]
|
| /third_party/skia/third_party/externals/spirv-tools/ |
| D | README.md | 1 # SPIR-V Tools 5 The SPIR-V Tools project provides an API and commands for processing SPIR-V 9 validator, and optimizer for SPIR-V. Except for the optimizer, all are based 11 details, and is used in the standalone tools whilst also enabling integration 18 SPIR-V is defined by the Khronos Group Inc. 19 See the [SPIR-V Registry][spirv-registry] for the SPIR-V specification, 24 …/storage.googleapis.com/spirv-tools/badges/build_status_linux_clang_release.svg)](https://storage.… 25 …/storage.googleapis.com/spirv-tools/badges/build_status_macos_clang_release.svg)](https://storage.… 26 …://storage.googleapis.com/spirv-tools/badges/build_status_windows_release.svg)](https://storage.go… 30 ## Versioning SPIRV-Tools [all …]
|
| D | BUILD.bazel | 52 generate_vendor_tables("spv-amd-shader-explicit-vertex-parameter") 54 generate_vendor_tables("spv-amd-shader-trinary-minmax") 56 generate_vendor_tables("spv-amd-gcn-shader") 58 generate_vendor_tables("spv-amd-shader-ballot") 83 …md = "$(location generate_registry_tables) --xml=$(location @spirv_headers//:spirv_xml_registry) -… 84 tools = [":generate_registry_tables"], 95 outs = ["build-version.inc"], 96 …=0 $(location update_build_version) $$(dirname $(location CHANGES)) $(location build-version.inc)", 97 tools = [":update_build_version"], 129 "include/spirv-tools/libspirv.h", [all …]
|
| /third_party/flutter/skia/third_party/externals/spirv-tools/tools/stats/ |
| D | stats.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 22 #include "spirv-tools/libspirv.h" 24 #include "tools/io.h" 26 using libspirv::SpirvStats; 38 R"(%s - Collect statistics from one or more SPIR-V binary file(s). in PrintUsage() 43 find . -name "*.spv" -print0 | xargs -0 -s 2000000 %s in PrintUsage() 46 -h, --help Print this help. in PrintUsage() 47 -v, --verbose Print additional info to stderr. in PrintUsage() 86 if ('-' == cur_arg[0]) { in main() 87 if (0 == strcmp(cur_arg, "--help") || 0 == strcmp(cur_arg, "-h")) { in main() [all …]
|
| /third_party/skia/third_party/externals/spirv-tools/source/lint/ |
| D | linter.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 15 #include "spirv-tools/linter.hpp" 20 #include "spirv-tools/libspirv.h" 21 #include "spirv-tools/libspirv.hpp" 42 impl_->message_consumer = std::move(consumer); in SetMessageConsumer() 46 return impl_->message_consumer; in Consumer()
|
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/lint/ |
| D | linter.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 15 #include "spirv-tools/linter.hpp" 20 #include "spirv-tools/libspirv.h" 21 #include "spirv-tools/libspirv.hpp" 42 impl_->message_consumer = std::move(consumer); in SetMessageConsumer() 46 return impl_->message_consumer; in Consumer()
|
| /third_party/flutter/skia/third_party/externals/spirv-tools/source/val/ |
| D | instruction.h | 1 // Copyright (c) 2015-2016 The Khronos Group Inc. 7 // http://www.apache.org/licenses/LICENSE-2.0 24 #include "spirv-tools/libspirv.h" 27 namespace libspirv { 114 } // namespace libspirv 119 struct hash<libspirv::Instruction> { 120 typedef libspirv::Instruction argument_type;
|
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/ |
| D | spirv_constant.h | 1 // Copyright (c) 2015-2016 The Khronos Group Inc. 7 // http://www.apache.org/licenses/LICENSE-2.0 19 #include "spirv-tools/libspirv.h" 23 // Evaluates to a well-formed version header word, given valid 24 // SPIR-V version major and minor version numbers. 43 // SPIR-V 1.0 limits 47 // A single Unicode character in UTF-8 encoding can take 55 // libspirv limits. 72 // Values mapping to registered tools. See the registry at 73 // https://www.khronos.org/registry/spir-v/api/spir-v.xml [all …]
|
| /third_party/skia/third_party/externals/spirv-tools/source/ |
| D | spirv_constant.h | 1 // Copyright (c) 2015-2016 The Khronos Group Inc. 7 // http://www.apache.org/licenses/LICENSE-2.0 19 #include "spirv-tools/libspirv.h" 23 // Evaluates to a well-formed version header word, given valid 24 // SPIR-V version major and minor version numbers. 43 // SPIR-V 1.0 limits 47 // A single Unicode character in UTF-8 encoding can take 55 // libspirv limits. 72 // Values mapping to registered tools. See the registry at 73 // https://www.khronos.org/registry/spir-v/api/spir-v.xml [all …]
|