Home
last modified time | relevance | path

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

123456

/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 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 …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 …]
/external/deqp-deps/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 …]
/external/swiftshader/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 …]
/external/angle/third_party/vulkan-deps/glslang/src/
D.travis.yml6 - linux
7 - osx
15- secure: aGFrgzyKp+84hKrGkxVWg8cHV61uqrKEHT38gfSQK6+WS4GfLOyH83p7WnsEBb7AMhzU7LMNFdvOFr6+NaMpVnqR…
17 - GLSLANG_BUILD_TYPE=Release
18 - GLSLANG_BUILD_TYPE=Debug
21 - clang
22 - gcc
28 - os: osx
32 - env: BUILD_NDK=ON
39 - master
[all …]
/external/deqp-deps/glslang/
D.travis.yml6 - linux
7 - osx
15- secure: aGFrgzyKp+84hKrGkxVWg8cHV61uqrKEHT38gfSQK6+WS4GfLOyH83p7WnsEBb7AMhzU7LMNFdvOFr6+NaMpVnqR…
17 - GLSLANG_BUILD_TYPE=Release
18 - GLSLANG_BUILD_TYPE=Debug
21 - clang
22 - gcc
28 - os: osx
32 - env: BUILD_NDK=ON
39 - master
[all …]
/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/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/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 *print_all_stream_ << preamble << (pass ? pass->name() : "") << "\n" in Run()
49 SPIRV_TIMER_SCOPED(time_report_stream_, (pass ? pass->name() : ""), true); in Run()
50 const auto one_status = pass->Run(context); in Run()
55 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 …]
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 *print_all_stream_ << preamble << (pass ? pass->name() : "") << "\n" in Run()
49 SPIRV_TIMER_SCOPED(time_report_stream_, (pass ? pass->name() : ""), true); in Run()
50 const auto one_status = pass->Run(context); in Run()
55 spvtools::SpirvTools tools(target_env_); in Run() local
[all …]
/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 *print_all_stream_ << preamble << (pass ? pass->name() : "") << "\n" in Run()
49 SPIRV_TIMER_SCOPED(time_report_stream_, (pass ? pass->name() : ""), true); in Run()
50 const auto one_status = pass->Run(context); in Run()
55 spvtools::SpirvTools tools(target_env_); in Run() local
[all …]
/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()
/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/angle/third_party/vulkan-deps/spirv-tools/src/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_;
/external/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_;
/external/deqp-deps/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_;
Dreduction_util.h7 // http://www.apache.org/licenses/LICENSE-2.0
18 #include "spirv-tools/libspirv.hpp"
20 #include "source/opt/ir_context.h"
31 uint32_t FindOrCreateGlobalVariable(opt::IRContext* context,
36 uint32_t FindOrCreateFunctionVariable(opt::IRContext* context, opt::Function*,
41 uint32_t FindOrCreateGlobalUndef(opt::IRContext* context, uint32_t type_id);
46 opt::BasicBlock* to_block);

123456