| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/ |
| 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 …]
|
| 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 …]
|
| /third_party/skia/third_party/externals/spirv-tools/ |
| 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 …]
|
| 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 …]
|
| /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" 18 #include "source/opt/build_module.h" 19 #include "source/opt/ir_context.h" 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() 50 std::unique_ptr<opt::IRContext> context = in Run()
|
| /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" 18 #include "source/opt/build_module.h" 19 #include "source/opt/ir_context.h" 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() 50 std::unique_ptr<opt::IRContext> context = in Run()
|
| /third_party/spirv-tools/source/lint/ |
| D | linter.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 15 #include "spirv-tools/linter.hpp" 18 #include "source/opt/build_module.h" 19 #include "source/opt/ir_context.h" 20 #include "spirv-tools/libspirv.h" 21 #include "spirv-tools/libspirv.hpp" 41 impl_->message_consumer = std::move(consumer); in SetMessageConsumer() 45 return impl_->message_consumer; in Consumer() 49 std::unique_ptr<opt::IRContext> context = in Run()
|
| /third_party/spirv-tools/ |
| D | BUILD.bazel | 49 generate_vendor_tables(extension = "spv-amd-shader-explicit-vertex-parameter") 51 generate_vendor_tables(extension = "spv-amd-shader-trinary-minmax") 53 generate_vendor_tables(extension = "spv-amd-gcn-shader") 55 generate_vendor_tables(extension = "spv-amd-shader-ballot") 95 …d = "$(location :generate_registry_tables) --xml=$(location @spirv_headers//:spirv_xml_registry) -… 96 …t = "$(location :generate_registry_tables) --xml=$(location @spirv_headers//:spirv_xml_registry) -… 97 tools = [":generate_registry_tables"], 108 outs = ["build-version.inc"], 109 …_DATE_EPOCH=0 $(location :update_build_version) $(location CHANGES) $(location build-version.inc)", 110 …E_EPOCH=0 && $(location :update_build_version) $(location CHANGES) $(location build-version.inc)", [all …]
|
| D | README.md | 1 # SPIR-V Tools 2 …/github.com/KhronosGroup/SPIRV-Tools/badge)](https://securityscorecards.dev/viewer/?uri=github.com… 4 NEWS 2023-01-11: Development occurs on the `main` branch. 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 21 SPIR-V is defined by the Khronos Group Inc. 22 See the [SPIR-V Registry][spirv-registry] for the SPIR-V specification, 27 …/storage.googleapis.com/spirv-tools/badges/build_status_linux_clang_release.svg)](https://storage.… 28 …/storage.googleapis.com/spirv-tools/badges/build_status_macos_clang_release.svg)](https://storage.… [all …]
|
| D | BUILD.gn | 26 import("//third_party/vk-gl-cts/vk_gl_cts.gni") 31 # SPIRV-Tools may be part of multiple projects in the Chromium tree. 35 abspath == "//third_party/vulkan-deps/spirv-tools/src/" 40 # TODO(b/158002593): Avoid the use of dependent-specific variables. 71 "-ftemplate-depth=1024", 72 "-Wno-switch", 93 core_json_file = "//third_party/spirv-headers/include/spirv/$version/spirv.core.grammar.json" 94 …core_insts_file = "//third_party/vk-gl-cts/build/external/spirv-tools/spirv-tools/core.insts-$vers… 95 …operand_kinds_file = "//third_party/vk-gl-cts/build/external/spirv-tools/spirv-tools/operand.kinds… 96 …debuginfo_insts_file = "//third_party/spirv-headers/include/spirv/unified1/extinst.debuginfo.gramm… [all …]
|
| /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/spirv-tools/source/link/ |
| D | BUILD.gn | 6 # http://www.apache.org/licenses/LICENSE-2.0 15 import("//third_party/vk-gl-cts/vk_gl_cts.gni") 19 cflags_cc += [ "-ftemplate-depth=1024" ] 40 "//third_party/spirv-headers/include", 51 "-Wno-implicit-fallthrough", 52 "-Wno-newline-eof", 53 "-Wno-unreachable-code-break", 54 "-Wno-unreachable-code-return", 57 # Work around a false-positive on a Skia GCC 10 builder. 58 cflags += [ "-Wno-format-truncation" ] [all …]
|
| /third_party/spirv-tools/source/opt/ |
| D | ir_loader.h | 7 // http://www.apache.org/licenses/LICENSE-2.0 22 #include "source/opt/basic_block.h" 23 #include "source/opt/instruction.h" 24 #include "source/opt/module.h" 25 #include "spirv-tools/libspirv.hpp" 28 namespace opt { 30 // Loader class for constructing SPIR-V in-memory IR representation. Methods in 32 // libspirv.h so that we can leverage the syntax checks implemented behind it. 37 // by AddInstruction() should comprise a valid SPIR-V module. 54 module_->SetHeader({magic, version, generator, bound, reserved}); in SetModuleHeader() [all …]
|
| /third_party/skia/third_party/externals/spirv-tools/source/opt/ |
| D | ir_loader.h | 7 // http://www.apache.org/licenses/LICENSE-2.0 22 #include "source/opt/basic_block.h" 23 #include "source/opt/instruction.h" 24 #include "source/opt/module.h" 25 #include "spirv-tools/libspirv.hpp" 28 namespace opt { 30 // Loader class for constructing SPIR-V in-memory IR representation. Methods in 32 // libspirv.h so that we can leverage the syntax checks implemented behind it. 37 // by AddInstruction() should comprise a valid SPIR-V module. 54 module_->SetHeader({magic, version, generator, bound, reserved}); in SetModuleHeader() [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
| D | ir_loader.h | 7 // http://www.apache.org/licenses/LICENSE-2.0 22 #include "source/opt/basic_block.h" 23 #include "source/opt/instruction.h" 24 #include "source/opt/module.h" 25 #include "spirv-tools/libspirv.hpp" 28 namespace opt { 30 // Loader class for constructing SPIR-V in-memory IR representation. Methods in 32 // libspirv.h so that we can leverage the syntax checks implemented behind it. 37 // by AddInstruction() should comprise a valid SPIR-V module. 54 module_->SetHeader({magic, version, generator, bound, reserved}); in SetModuleHeader() [all …]
|
| /third_party/spirv-tools/test/opt/ |
| D | pass_utils.h | 7 // http://www.apache.org/licenses/LICENSE-2.0 25 #include "include/spirv-tools/libspirv.h" 26 #include "include/spirv-tools/libspirv.hpp" 29 namespace opt { 43 // In-place substring replacement. Finds the |find_str| in the |process_str| 81 } // namespace opt
|
| /third_party/skia/third_party/externals/spirv-tools/test/opt/ |
| D | pass_utils.h | 7 // http://www.apache.org/licenses/LICENSE-2.0 25 #include "include/spirv-tools/libspirv.h" 26 #include "include/spirv-tools/libspirv.hpp" 29 namespace opt { 43 // In-place substring replacement. Finds the |find_str| in the |process_str| 81 } // namespace opt
|
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
| D | pass_utils.h | 7 // http://www.apache.org/licenses/LICENSE-2.0 25 #include "include/spirv-tools/libspirv.h" 26 #include "include/spirv-tools/libspirv.hpp" 29 namespace opt { 43 // In-place substring replacement. Finds the |find_str| in the |process_str| 81 } // namespace opt
|
| /third_party/spirv-tools/test/diff/ |
| D | diff_test_utils.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 17 #include "source/opt/build_module.h" 18 #include "source/opt/ir_context.h" 20 #include "spirv-tools/libspirv.hpp" 21 #include "tools/io.h" 22 #include "tools/util/cli_consumer.h" 35 std::unique_ptr<spvtools::opt::IRContext> src = spvtools::BuildModule( in DoStringDiffTest() 41 std::unique_ptr<spvtools::opt::IRContext> dst = spvtools::BuildModule( in DoStringDiffTest()
|
| /third_party/spirv-tools/examples/cpp-interface/ |
| D | main.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 15 // This program demonstrates basic SPIR-V module processing using 16 // SPIRV-Tools C++ API: 26 #include "spirv-tools/libspirv.hpp" 27 #include "spirv-tools/optimizer.hpp" 41 spvtools::Optimizer opt(SPV_ENV_UNIVERSAL_1_3); in main() local 48 opt.SetMessageConsumer(print_msg_to_stderr); in main() 54 opt.RegisterPass(spvtools::CreateSetSpecConstantDefaultValuePass({{1, "42"}})) in main() 58 if (!opt.Run(spirv.data(), spirv.size(), &spirv)) return 1; in main()
|
| /third_party/skia/third_party/externals/spirv-tools/examples/cpp-interface/ |
| D | main.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 15 // This program demonstrates basic SPIR-V module processing using 16 // SPIRV-Tools C++ API: 26 #include "spirv-tools/libspirv.hpp" 27 #include "spirv-tools/optimizer.hpp" 41 spvtools::Optimizer opt(SPV_ENV_UNIVERSAL_1_3); in main() local 48 opt.SetMessageConsumer(print_msg_to_stderr); in main() 54 opt.RegisterPass(spvtools::CreateSetSpecConstantDefaultValuePass({{1, "42"}})) in main() 58 if (!opt.Run(spirv.data(), spirv.size(), &spirv)) return 1; in main()
|
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/examples/cpp-interface/ |
| D | main.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 15 // This program demonstrates basic SPIR-V module processing using 16 // SPIRV-Tools C++ API: 26 #include "spirv-tools/libspirv.hpp" 27 #include "spirv-tools/optimizer.hpp" 41 spvtools::Optimizer opt(SPV_ENV_UNIVERSAL_1_3); in main() local 48 opt.SetMessageConsumer(print_msg_to_stderr); in main() 54 opt.RegisterPass(spvtools::CreateSetSpecConstantDefaultValuePass({{1, "42"}})) in main() 58 if (!opt.Run(spirv.data(), spirv.size(), &spirv)) return 1; in main()
|
| /third_party/spirv-tools/source/reduce/ |
| D | change_operand_to_undef_reduction_opportunity.h | 7 // http://www.apache.org/licenses/LICENSE-2.0 18 #include "source/opt/instruction.h" 20 #include "spirv-tools/libspirv.h" 30 ChangeOperandToUndefReductionOpportunity(opt::IRContext* context, in ChangeOperandToUndefReductionOpportunity() 31 opt::Instruction* inst, in ChangeOperandToUndefReductionOpportunity() 36 original_id_(inst->GetOperand(operand_index).words[0]) {} in ChangeOperandToUndefReductionOpportunity() 44 opt::IRContext* context_; 45 opt::Instruction* const inst_;
|
| /third_party/skia/third_party/externals/spirv-tools/source/reduce/ |
| D | change_operand_to_undef_reduction_opportunity.h | 7 // http://www.apache.org/licenses/LICENSE-2.0 18 #include "source/opt/instruction.h" 20 #include "spirv-tools/libspirv.h" 30 ChangeOperandToUndefReductionOpportunity(opt::IRContext* context, in ChangeOperandToUndefReductionOpportunity() 31 opt::Instruction* inst, in ChangeOperandToUndefReductionOpportunity() 36 original_id_(inst->GetOperand(operand_index).words[0]) {} in ChangeOperandToUndefReductionOpportunity() 44 opt::IRContext* context_; 45 opt::Instruction* const inst_;
|
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/ |
| D | change_operand_to_undef_reduction_opportunity.h | 7 // http://www.apache.org/licenses/LICENSE-2.0 18 #include "source/opt/instruction.h" 20 #include "spirv-tools/libspirv.h" 30 ChangeOperandToUndefReductionOpportunity(opt::IRContext* context, in ChangeOperandToUndefReductionOpportunity() 31 opt::Instruction* inst, in ChangeOperandToUndefReductionOpportunity() 36 original_id_(inst->GetOperand(operand_index).words[0]) {} in ChangeOperandToUndefReductionOpportunity() 44 opt::IRContext* context_; 45 opt::Instruction* const inst_;
|