Home
last modified time | relevance | path

Searched +full:libspirv +full:- +full:tools +full:- +full:opt (Results 1 – 25 of 172) sorted by relevance

1234567

/third_party/spirv-tools/
DBUILD.bazel50 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 …]
DREADME.md1 # 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 …]
/third_party/flutter/skia/third_party/externals/spirv-tools/
DREADME.md1 # 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/skia/third_party/externals/spirv-tools/
DBUILD.bazel52 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 …]
DREADME.md1 # 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/swiftshader/third_party/SPIRV-Tools/
DBUILD.bazel52 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 …]
DREADME.md1 # 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/
Dlinter.cpp7 // 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/
Dlinter.cpp7 // 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/glslang/.github/workflows/
Dcontinuous_deployment.yml9 # 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/opt/
Dir_loader.h7 // 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/
Dir_loader.h7 // 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/
Dir_loader.h7 // 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/flutter/skia/third_party/dawn/third_party/
DBUILD.gn2 spirv_cross = "${dawn_thirdparty_root}/spirv-cross"
11 configs -= [ "//gn:warnings" ]
68 spirv_tools = "$dawn_thirdparty_root/SPIRV-Tools"
69 spirv_tools_spirv_headers_dir = "$dawn_thirdparty_root/spirv-headers"
87 core_insts_file = "${target_gen_dir}/core.insts-$version.inc"
88 operand_kinds_file = "${target_gen_dir}/operand.kinds-$version.inc"
97 "--spirv-core-grammar",
99 "--core-insts-output",
101 "--extinst-debuginfo-grammar",
103 "--operand-kinds-output",
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Dpass_utils.h7 // 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/opt/
Dpass_utils.h7 // 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/
Dpass_utils.h7 // 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/flutter/skia/third_party/externals/spirv-tools/test/opt/
Doptimizer_test.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
17 #include "spirv-tools/libspirv.hpp"
18 #include "spirv-tools/optimizer.hpp"
31 SpirvTools tools(SPV_ENV_UNIVERSAL_1_0); in TEST() local
33 tools.Assemble("OpName %foo \"foo\"\n%foo = OpTypeVoid", &binary_in); in TEST()
35 Optimizer opt(SPV_ENV_UNIVERSAL_1_0); in TEST() local
36 opt.RegisterPass(CreateNullPass()); in TEST()
38 opt.Run(binary_in.data(), binary_in.size(), &binary_out); in TEST()
41 tools.Disassemble(binary_out.data(), binary_out.size(), &disassembly); in TEST()
46 SpirvTools tools(SPV_ENV_UNIVERSAL_1_0); in TEST() local
[all …]
/third_party/flutter/skia/third_party/externals/spirv-tools/examples/cpp-interface/
Dmain.cpp7 // 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"
40 spvtools::Optimizer opt(SPV_ENV_VULKAN_1_0); in main() local
47 opt.SetMessageConsumer(print_msg_to_stderr); in main()
53 opt.RegisterPass(spvtools::CreateSetSpecConstantDefaultValuePass({{1, "42"}})) in main()
57 if (!opt.Run(spirv.data(), spirv.size(), &spirv)) return 1; in main()
/third_party/spirv-tools/examples/cpp-interface/
Dmain.cpp7 // 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/
Dmain.cpp7 // 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/
Dmain.cpp7 // 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/source/reduce/
Dchange_operand_to_undef_reduction_opportunity.h7 // 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/
Dchange_operand_to_undef_reduction_opportunity.h7 // 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/spirv-tools/source/reduce/
Dchange_operand_to_undef_reduction_opportunity.h7 // 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_;

1234567