/external/deqp-deps/SPIRV-Tools/ |
D | README.md | 1 # SPIR-V Tools 3 …ranch/master?svg=true)](https://ci.appveyor.com/project/Khronoswebmaster/spirv-tools/branch/master) 4 … hspace="2px"/>![Linux Build Status](https://storage.googleapis.com/spirv-tools/badges/build_statu… 5 … hspace="2px"/>![MacOS Build Status](https://storage.googleapis.com/spirv-tools/badges/build_statu… 6 …space="2px"/>![Windows Build Status](https://storage.googleapis.com/spirv-tools/badges/build_statu… 10 The SPIR-V Tools project provides an API and commands for processing SPIR-V 14 validator, and optimizer for SPIR-V. Except for the optimizer, all are based 16 details, and is used in the standalone tools whilst also enabling integration 23 SPIR-V is defined by the Khronos Group Inc. 24 See the [SPIR-V Registry][spirv-registry] for the SPIR-V specification, [all …]
|
D | BUILD.gn | 7 # http://www.apache.org/licenses/LICENSE-2.0 32 core_insts_file = "${target_gen_dir}/core.insts-$version.inc" 33 operand_kinds_file = "${target_gen_dir}/operand.kinds-$version.inc" 44 "--spirv-core-grammar", 46 "--core-insts-output", 48 "--extinst-debuginfo-grammar", 50 "--operand-kinds-output", 71 "--spirv-core-grammar", 73 "--extinst-debuginfo-grammar", 75 "--extension-enum-output", [all …]
|
D | CMakeLists.txt | 1 # Copyright (c) 2015-2016 The Khronos Group Inc. 7 # http://www.apache.org/licenses/LICENSE-2.0 27 project(spirv-tools) 29 set(SPIRV_TOOLS "SPIRV-Tools") 40 add_definitions(-DSPIRV_LINUX) 43 add_definitions(-DSPIRV_WINDOWS) 45 add_definitions(-DSPIRV_WINDOWS) 47 add_definitions(-DSPIRV_MAC) 49 add_definitions(-DSPIRV_ANDROID) 52 add_definitions(-DSPIRV_FREEBSD) [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/ |
D | README.md | 1 # SPIR-V Tools 3 …ranch/master?svg=true)](https://ci.appveyor.com/project/Khronoswebmaster/spirv-tools/branch/master) 4 … hspace="2px"/>![Linux Build Status](https://storage.googleapis.com/spirv-tools/badges/build_statu… 5 … hspace="2px"/>![MacOS Build Status](https://storage.googleapis.com/spirv-tools/badges/build_statu… 6 …space="2px"/>![Windows Build Status](https://storage.googleapis.com/spirv-tools/badges/build_statu… 10 The SPIR-V Tools project provides an API and commands for processing SPIR-V 14 validator, and optimizer for SPIR-V. Except for the optimizer, all are based 16 details, and is used in the standalone tools whilst also enabling integration 23 SPIR-V is defined by the Khronos Group Inc. 24 See the [SPIR-V Registry][spirv-registry] for the SPIR-V specification, [all …]
|
D | BUILD.gn | 7 # http://www.apache.org/licenses/LICENSE-2.0 32 core_insts_file = "${target_gen_dir}/core.insts-$version.inc" 33 operand_kinds_file = "${target_gen_dir}/operand.kinds-$version.inc" 44 "--spirv-core-grammar", 46 "--core-insts-output", 48 "--extinst-debuginfo-grammar", 50 "--operand-kinds-output", 71 "--spirv-core-grammar", 73 "--extinst-debuginfo-grammar", 75 "--extension-enum-output", [all …]
|
D | CMakeLists.txt | 1 # Copyright (c) 2015-2016 The Khronos Group Inc. 7 # http://www.apache.org/licenses/LICENSE-2.0 27 project(spirv-tools) 29 set(SPIRV_TOOLS "SPIRV-Tools") 40 add_definitions(-DSPIRV_LINUX) 43 add_definitions(-DSPIRV_WINDOWS) 45 add_definitions(-DSPIRV_WINDOWS) 47 add_definitions(-DSPIRV_MAC) 49 add_definitions(-DSPIRV_ANDROID) 52 add_definitions(-DSPIRV_FREEBSD) [all …]
|
/external/vulkan-validation-layers/build-android/cmake/layerlib/ |
D | CMakeLists.txt | 6 # 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/deqp-deps/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
|
D | optimizer_test.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 19 #include "spirv-tools/libspirv.hpp" 20 #include "spirv-tools/optimizer.hpp" 21 #include "test/opt/pass_fixture.h" 24 namespace opt { namespace 39 SpirvTools tools(SPV_ENV_UNIVERSAL_1_0); in TEST() local 41 tools.Assemble(Header() + "OpName %foo \"foo\"\n%foo = OpTypeVoid", in TEST() 44 Optimizer opt(SPV_ENV_UNIVERSAL_1_0); in TEST() local 45 opt.RegisterPass(CreateNullPass()); in TEST() 47 opt.Run(binary_in.data(), binary_in.size(), &binary_out); in TEST() [all …]
|
/external/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
|
D | optimizer_test.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 19 #include "spirv-tools/libspirv.hpp" 20 #include "spirv-tools/optimizer.hpp" 21 #include "test/opt/pass_fixture.h" 24 namespace opt { namespace 39 SpirvTools tools(SPV_ENV_UNIVERSAL_1_0); in TEST() local 41 tools.Assemble(Header() + "OpName %foo \"foo\"\n%foo = OpTypeVoid", in TEST() 44 Optimizer opt(SPV_ENV_UNIVERSAL_1_0); in TEST() local 45 opt.RegisterPass(CreateNullPass()); in TEST() 47 opt.Run(binary_in.data(), binary_in.size(), &binary_out); in TEST() [all …]
|
/external/deqp-deps/glslang/ |
D | .travis.yml | 6 - 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/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 …]
|
D | build_module.h | 7 // http://www.apache.org/licenses/LICENSE-2.0 21 #include "source/opt/ir_context.h" 22 #include "source/opt/module.h" 23 #include "spirv-tools/libspirv.hpp" 27 // Builds an Module returns the owning IRContext from the given SPIR-V 31 std::unique_ptr<opt::IRContext> BuildModule(spv_target_env env, 37 // SPIR-V assembly |text|. The |text| will be encoded according to the given 40 std::unique_ptr<opt::IRContext> BuildModule(
|
/external/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 …]
|
D | build_module.h | 7 // http://www.apache.org/licenses/LICENSE-2.0 21 #include "source/opt/ir_context.h" 22 #include "source/opt/module.h" 23 #include "spirv-tools/libspirv.hpp" 27 // Builds an Module returns the owning IRContext from the given SPIR-V 31 std::unique_ptr<opt::IRContext> BuildModule(spv_target_env env, 37 // SPIR-V assembly |text|. The |text| will be encoded according to the given 40 std::unique_ptr<opt::IRContext> BuildModule(
|
/external/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" 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()
|
/external/deqp-deps/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" 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()
|
/external/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_;
|
D | reduction_util.h | 7 // http://www.apache.org/licenses/LICENSE-2.0 18 #include "spirv-tools/libspirv.hpp" 20 #include "source/opt/ir_context.h" 28 uint32_t FindOrCreateGlobalUndef(opt::IRContext* context, uint32_t type_id);
|
D | change_operand_reduction_opportunity.h | 7 // http://www.apache.org/licenses/LICENSE-2.0 19 #include "source/opt/instruction.h" 20 #include "spirv-tools/libspirv.h" 25 using namespace opt; variable 36 original_id_(inst->GetOperand(operand_index).words[0]), in ChangeOperandReductionOpportunity() 37 original_type_(inst->GetOperand(operand_index).type), in ChangeOperandReductionOpportunity()
|
/external/swiftshader/third_party/SPIRV-Tools/tools/util/ |
D | cli_consumer.h | 7 // http://www.apache.org/licenses/LICENSE-2.0 18 #include <include/spirv-tools/libspirv.h> 23 // A message consumer that can be used by command line tools like spirv-opt and 24 // spirv-val to display messages.
|
/external/deqp-deps/SPIRV-Tools/tools/util/ |
D | cli_consumer.h | 7 // http://www.apache.org/licenses/LICENSE-2.0 18 #include <include/spirv-tools/libspirv.h> 23 // A message consumer that can be used by command line tools like spirv-opt and 24 // spirv-val to display messages.
|
/external/skia/third_party/spirv-tools/ |
D | BUILD.gn | 6 script = "../externals/spirv-tools/utils/generate_grammar_tables.py" 8 "../externals/spirv-headers/include/spirv/$version/spirv.core.grammar.json", 11 "$root_out_dir/spirv-tools/core.insts-$version.inc", 12 "$root_out_dir/spirv-tools/operand.kinds-$version.inc", 15 "--spirv-core-grammar=" + rebase_path( 16 "../externals/spirv-headers/include/spirv/$version/spirv.core.grammar.json", 18 "--core-insts-output=" + 19 rebase_path("$root_out_dir/spirv-tools/core.insts-$version.inc", 21 "--operand-kinds-output=" + 22 rebase_path("$root_out_dir/spirv-tools/operand.kinds-$version.inc", [all …]
|
/external/skqp/third_party/spirv-tools/ |
D | BUILD.gn | 6 script = "../externals/spirv-tools/utils/generate_grammar_tables.py" 8 "../externals/spirv-headers/include/spirv/$version/spirv.core.grammar.json", 11 "$root_out_dir/spirv-tools/core.insts-$version.inc", 12 "$root_out_dir/spirv-tools/operand.kinds-$version.inc", 15 "--spirv-core-grammar=" + rebase_path( 16 "../externals/spirv-headers/include/spirv/$version/spirv.core.grammar.json", 18 "--core-insts-output=" + 19 rebase_path("$root_out_dir/spirv-tools/core.insts-$version.inc", 21 "--operand-kinds-output=" + 22 rebase_path("$root_out_dir/spirv-tools/operand.kinds-$version.inc", [all …]
|