Home
last modified time | relevance | path

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

1234567

/external/vulkan-validation-layers/build-android/cmake/layerlib/
DCMakeLists.txt6 # The file structure for glslang spir-V is different, adding BUILD_IN_NDK variable
12 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Werror \
13 -Wno-unused-function -Wno-unused-const-variable \
14 -Wno-c++98-compat-pedantic -DVK_PROTOTYPES \
15 -DVK_USE_PLATFORM_ANDROID_KHR")
21 # shaderc/third_party (for glslang & spirv-tools )
22 # this build uses combined lib libshaderc.a for libSPIRV-Tools.a purpose
33 # ${SRC_DIR}/build-android/external (for glslang, spirv-tools & shaderc )
35 set(EXTERNAL_DIR "${SRC_DIR}/build-android/third_party/shaderc/third_party")
37 …"${SRC_DIR}/build-android/third_party/shaderc/android_test/obj/local/${ANDROID_ABI}/libSPIRV-Tools
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/
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 …= "$(location //:generate_registry_tables) --xml=$(location @spirv_headers//:spirv_xml_registry) -…
85 tools = [":generate_registry_tables"],
96 outs = ["build-version.inc"],
97 …E_DATE_EPOCH=0 $(location update_build_version) $(location CHANGES) $(location build-version.inc)",
98 …EPOCH=0 && $(location //:update_build_version) $(location CHANGES) $(location build-version.inc)",
[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 …]
/external/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 …= "$(location //:generate_registry_tables) --xml=$(location @spirv_headers//:spirv_xml_registry) -…
85 tools = [":generate_registry_tables"],
96 outs = ["build-version.inc"],
97 …=0 $(location update_build_version) $$(dirname $(location CHANGES)) $(location build-version.inc)",
98 … && $(location //:update_build_version) \"$(location CHANGES)\\..\" $(location build-version.inc)",
[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 …]
/external/deqp-deps/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 …]
/external/angle/third_party/vulkan-deps/glslang/src/.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 …]
/external/deqp-deps/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 …]
/external/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()
/external/angle/third_party/vulkan-deps/spirv-tools/src/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()
/external/deqp-deps/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()
/external/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
/external/deqp-deps/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
/external/angle/third_party/vulkan-deps/spirv-tools/src/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
/external/deqp-deps/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 …]
Dpass_manager.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
15 #include "source/opt/pass_manager.h"
21 #include "source/opt/ir_context.h"
23 #include "spirv-tools/libspirv.hpp"
27 namespace opt { namespace
37 context->module()->ToBinary(&binary, false); in Run()
41 std::string pass_name = (pass ? pass->name() : ""); in Run()
57 SPIRV_TIMER_SCOPED(time_report_stream_, (pass ? pass->name() : ""), true); in Run()
58 const auto one_status = pass->Run(context); in Run()
63 spvtools::SpirvTools tools(target_env_); in Run() local
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/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 …]
/external/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 …]
Dpass_manager.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
15 #include "source/opt/pass_manager.h"
21 #include "source/opt/ir_context.h"
23 #include "spirv-tools/libspirv.hpp"
27 namespace opt { namespace
37 context->module()->ToBinary(&binary, false); in Run()
41 std::string pass_name = (pass ? pass->name() : ""); in Run()
57 SPIRV_TIMER_SCOPED(time_report_stream_, (pass ? pass->name() : ""), true); in Run()
58 const auto one_status = pass->Run(context); in Run()
63 spvtools::SpirvTools tools(target_env_); in Run() local
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/diff/
Ddiff_test_utils.cpp7 // 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()
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/diff/
Ddiff_test_utils.cpp7 // 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()
/external/deqp-deps/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()
/external/angle/third_party/vulkan-deps/spirv-tools/src/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()
/external/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()

1234567