Home
last modified time | relevance | path

Searched +full:spirv +full:- +full:tools (Results 1 – 25 of 683) sorted by relevance

12345678910>>...28

/external/skqp/third_party/spirv-tools/
DBUILD.gn6 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/deqp-deps/SPIRV-Tools/
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://storag…
26 …://storage.googleapis.com/spirv-tools/badges/build_status_macos_clang_release.svg)](https://storag…
27 …ps://storage.googleapis.com/spirv-tools/badges/build_status_windows_release.svg)](https://storage.…
[all …]
DCMakeLists.txt1 # Copyright (c) 2015-2016 The Khronos Group Inc.
7 # http://www.apache.org/licenses/LICENSE-2.0
27 project(spirv-tools) project
29 set(SPIRV_TOOLS "SPIRV-Tools")
39 add_definitions(-DSPIRV_LINUX)
42 add_definitions(-DSPIRV_EMSCRIPTEN)
44 add_definitions(-DSPIRV_WINDOWS)
46 add_definitions(-DSPIRV_WINDOWS)
48 add_definitions(-DSPIRV_MAC)
50 add_definitions(-DSPIRV_IOS)
[all …]
/external/swiftshader/third_party/SPIRV-Tools/
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://storag…
26 …://storage.googleapis.com/spirv-tools/badges/build_status_macos_clang_release.svg)](https://storag…
27 …ps://storage.googleapis.com/spirv-tools/badges/build_status_windows_release.svg)](https://storage.…
[all …]
DCMakeLists.txt1 # Copyright (c) 2015-2016 The Khronos Group Inc.
7 # http://www.apache.org/licenses/LICENSE-2.0
27 project(spirv-tools) project
29 set(SPIRV_TOOLS "SPIRV-Tools")
39 add_definitions(-DSPIRV_LINUX)
42 add_definitions(-DSPIRV_EMSCRIPTEN)
44 add_definitions(-DSPIRV_WINDOWS)
46 add_definitions(-DSPIRV_WINDOWS)
48 add_definitions(-DSPIRV_MAC)
50 add_definitions(-DSPIRV_IOS)
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/link/
DCMakeLists.txt7 # http://www.apache.org/licenses/LICENSE-2.0
14 add_library(SPIRV-Tools-link ${SPIRV_TOOLS_LIBRARY_TYPE}
18 spvtools_default_compile_options(SPIRV-Tools-link)
19 target_include_directories(SPIRV-Tools-link
21 $<BUILD_INTERFACE:${spirv-tools_SOURCE_DIR}/include>
24 PRIVATE ${spirv-tools_BINARY_DIR}
27 target_link_libraries(SPIRV-Tools-link
28 PUBLIC SPIRV-Tools-opt)
30 set_property(TARGET SPIRV-Tools-link PROPERTY FOLDER "SPIRV-Tools libraries")
31 spvtools_check_symbol_exports(SPIRV-Tools-link)
[all …]
/external/deqp-deps/SPIRV-Tools/source/link/
DCMakeLists.txt7 # http://www.apache.org/licenses/LICENSE-2.0
14 add_library(SPIRV-Tools-link ${SPIRV_TOOLS_LIBRARY_TYPE}
18 spvtools_default_compile_options(SPIRV-Tools-link)
19 target_include_directories(SPIRV-Tools-link
21 $<BUILD_INTERFACE:${spirv-tools_SOURCE_DIR}/include>
24 PRIVATE ${spirv-tools_BINARY_DIR}
27 target_link_libraries(SPIRV-Tools-link
28 PUBLIC SPIRV-Tools-opt)
30 set_property(TARGET SPIRV-Tools-link PROPERTY FOLDER "SPIRV-Tools libraries")
31 spvtools_check_symbol_exports(SPIRV-Tools-link)
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/reduce/
DCMakeLists.txt7 # http://www.apache.org/licenses/LICENSE-2.0
81 add_library(SPIRV-Tools-reduce ${SPIRV_TOOLS_LIBRARY_TYPE} ${SPIRV_TOOLS_REDUCE_SOURCES})
83 spvtools_default_compile_options(SPIRV-Tools-reduce)
84 target_include_directories(SPIRV-Tools-reduce
86 $<BUILD_INTERFACE:${spirv-tools_SOURCE_DIR}/include>
89 PRIVATE ${spirv-tools_BINARY_DIR}
91 # The reducer reuses a lot of functionality from the SPIRV-Tools library.
92 target_link_libraries(SPIRV-Tools-reduce
94 PUBLIC SPIRV-Tools-opt)
96 set_property(TARGET SPIRV-Tools-reduce PROPERTY FOLDER "SPIRV-Tools libraries")
[all …]
/external/deqp-deps/SPIRV-Tools/source/reduce/
DCMakeLists.txt7 # http://www.apache.org/licenses/LICENSE-2.0
81 add_library(SPIRV-Tools-reduce ${SPIRV_TOOLS_LIBRARY_TYPE} ${SPIRV_TOOLS_REDUCE_SOURCES})
83 spvtools_default_compile_options(SPIRV-Tools-reduce)
84 target_include_directories(SPIRV-Tools-reduce
86 $<BUILD_INTERFACE:${spirv-tools_SOURCE_DIR}/include>
89 PRIVATE ${spirv-tools_BINARY_DIR}
91 # The reducer reuses a lot of functionality from the SPIRV-Tools library.
92 target_link_libraries(SPIRV-Tools-reduce
94 PUBLIC SPIRV-Tools-opt)
96 set_property(TARGET SPIRV-Tools-reduce PROPERTY FOLDER "SPIRV-Tools libraries")
[all …]
/external/deqp-deps/SPIRV-Tools/test/scripts/
Dtest_compact_ids.py8 # http://www.apache.org/licenses/LICENSE-2.0
15 """Tests correctness of opt pass tools/opt --compact-ids."""
27 os.system('tools/spirv-opt ' + path + ' -o ' + optimized_spv_path +
28 ' --compact-ids')
29 os.system('tools/spirv-dis ' + optimized_spv_path + ' -o ' +
32 os.system('tools/spirv-dis ' + path + ' -o ' + converted_dis_path)
33 os.system('tools/spirv-as ' + converted_dis_path + ' -o ' +
35 os.system('tools/spirv-dis ' + converted_spv_path + ' -o ' +
48 """{script} tests correctness of opt pass tools/opt --compact-ids
52 Requires tools/spirv-dis, tools/spirv-as and tools/spirv-opt to be in path
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/scripts/
Dtest_compact_ids.py8 # http://www.apache.org/licenses/LICENSE-2.0
15 """Tests correctness of opt pass tools/opt --compact-ids."""
27 os.system('tools/spirv-opt ' + path + ' -o ' + optimized_spv_path +
28 ' --compact-ids')
29 os.system('tools/spirv-dis ' + optimized_spv_path + ' -o ' +
32 os.system('tools/spirv-dis ' + path + ' -o ' + converted_dis_path)
33 os.system('tools/spirv-as ' + converted_dis_path + ' -o ' +
35 os.system('tools/spirv-dis ' + converted_spv_path + ' -o ' +
48 """{script} tests correctness of opt pass tools/opt --compact-ids
52 Requires tools/spirv-dis, tools/spirv-as and tools/spirv-opt to be in path
[all …]
/external/swiftshader/src/Pipeline/
DCMakeLists.txt7 # http://www.apache.org/licenses/LICENSE-2.0
58 # Add SPIRV-Tools dep
59 if (NOT TARGET SPIRV-Tools)
60 message(FATAL_ERROR "Missing required target: SPIRV-Tools")
63 set_target_properties(core_tables PROPERTIES FOLDER "SPIRV-Tools build")
64 set_target_properties(enum_string_mapping PROPERTIES FOLDER "SPIRV-Tools build")
65 set_target_properties(extinst_tables PROPERTIES FOLDER "SPIRV-Tools build")
66 set_target_properties(spirv-tools-pkg-config PROPERTIES FOLDER "SPIRV-Tools build")
67 set_target_properties(spirv-tools-shared-pkg-config PROPERTIES FOLDER "SPIRV-Tools build")
78 "${SPIRV-Headers_SOURCE_DIR}/include"
[all …]
/external/deqp-deps/SPIRV-Tools/source/opt/
DCMakeLists.txt7 # http://www.apache.org/licenses/LICENSE-2.0
226 add_library(SPIRV-Tools-opt ${SPIRV_TOOLS_LIBRARY_TYPE} ${SPIRV_TOOLS_OPT_SOURCES})
228 spvtools_default_compile_options(SPIRV-Tools-opt)
229 target_include_directories(SPIRV-Tools-opt
231 $<BUILD_INTERFACE:${spirv-tools_SOURCE_DIR}/include>
234 PRIVATE ${spirv-tools_BINARY_DIR}
237 target_link_libraries(SPIRV-Tools-opt
240 set_property(TARGET SPIRV-Tools-opt PROPERTY FOLDER "SPIRV-Tools libraries")
241 spvtools_check_symbol_exports(SPIRV-Tools-opt)
244 install(TARGETS SPIRV-Tools-opt EXPORT SPIRV-Tools-optTargets
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
DCMakeLists.txt7 # http://www.apache.org/licenses/LICENSE-2.0
226 add_library(SPIRV-Tools-opt ${SPIRV_TOOLS_LIBRARY_TYPE} ${SPIRV_TOOLS_OPT_SOURCES})
228 spvtools_default_compile_options(SPIRV-Tools-opt)
229 target_include_directories(SPIRV-Tools-opt
231 $<BUILD_INTERFACE:${spirv-tools_SOURCE_DIR}/include>
234 PRIVATE ${spirv-tools_BINARY_DIR}
237 target_link_libraries(SPIRV-Tools-opt
240 set_property(TARGET SPIRV-Tools-opt PROPERTY FOLDER "SPIRV-Tools libraries")
241 spvtools_check_symbol_exports(SPIRV-Tools-opt)
244 install(TARGETS SPIRV-Tools-opt EXPORT SPIRV-Tools-optTargets
[all …]
/external/deqp/external/spirv-tools/
DCMakeLists.txt1 # cmake file for spirv-tools
7 if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/src/include/spirv-tools/libspirv.h")
10 set(DEFAULT_SPIRV_TOOLS_SRC_PATH "../spirv-tools")
13 set(SPIRV_TOOLS_SRC_PATH ${DEFAULT_SPIRV_TOOLS_SRC_PATH} CACHE STRING "Path to spirv-tools source t…
20 …PIRV_HEADERS_SRC_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../spirv-headers/src CACHE STRING "Path to spirv…
28 EXISTS ${SPIRV_HEADERS_ABS_PATH}/include/spirv/1.0/spirv.h)
29 message(STATUS "spirv-tools found")
33 # SPIR-V tools requires SPIRV-Headers
34 set(SPIRV-Headers_SOURCE_DIR ${SPIRV_HEADERS_ABS_PATH})
37 add_subdirectory(${SPIRV_TOOLS_ABS_PATH} spirv-tools)
[all …]
/external/swiftshader/third_party/SPIRV-Tools/tools/
DCMakeLists.txt1 # Copyright (c) 2015-2016 The Khronos Group Inc.
7 # http://www.apache.org/licenses/LICENSE-2.0
20 # Add a SPIR-V Tools command line tool. Signature:
36 ${spirv-tools_SOURCE_DIR}
37 ${spirv-tools_BINARY_DIR}
39 set_property(TARGET ${ARG_TARGET} PROPERTY FOLDER "SPIRV-Tools executables")
43 add_spvtools_tool(TARGET spirv-as SRCS as/as.cpp LIBS ${SPIRV_TOOLS_FULL_VISIBILITY})
44 add_spvtools_tool(TARGET spirv-dis SRCS dis/dis.cpp LIBS ${SPIRV_TOOLS_FULL_VISIBILITY})
45 …add_spvtools_tool(TARGET spirv-val SRCS val/val.cpp util/cli_consumer.cpp LIBS ${SPIRV_TOOLS_FULL_…
46 …add_spvtools_tool(TARGET spirv-opt SRCS opt/opt.cpp util/cli_consumer.cpp LIBS SPIRV-Tools-opt ${S…
[all …]
/external/deqp-deps/SPIRV-Tools/tools/
DCMakeLists.txt1 # Copyright (c) 2015-2016 The Khronos Group Inc.
7 # http://www.apache.org/licenses/LICENSE-2.0
20 # Add a SPIR-V Tools command line tool. Signature:
36 ${spirv-tools_SOURCE_DIR}
37 ${spirv-tools_BINARY_DIR}
39 set_property(TARGET ${ARG_TARGET} PROPERTY FOLDER "SPIRV-Tools executables")
43 add_spvtools_tool(TARGET spirv-as SRCS as/as.cpp LIBS ${SPIRV_TOOLS_FULL_VISIBILITY})
44 add_spvtools_tool(TARGET spirv-dis SRCS dis/dis.cpp LIBS ${SPIRV_TOOLS_FULL_VISIBILITY})
45 …add_spvtools_tool(TARGET spirv-val SRCS val/val.cpp util/cli_consumer.cpp LIBS ${SPIRV_TOOLS_FULL_…
46 …add_spvtools_tool(TARGET spirv-opt SRCS opt/opt.cpp util/cli_consumer.cpp LIBS SPIRV-Tools-opt ${S…
[all …]
/external/deqp-deps/SPIRV-Tools/source/fuzz/
DCMakeLists.txt7 # http://www.apache.org/licenses/LICENSE-2.0
26 …it is the protobufs::protoc CMake target. It should be overridden when cross-compiling, such as fo…
31 -I=${CMAKE_CURRENT_SOURCE_DIR}/protobufs
32 --cpp_out=protobufs
427 add_library(SPIRV-Tools-fuzz ${SPIRV_TOOLS_FUZZ_SOURCES})
429 spvtools_default_compile_options(SPIRV-Tools-fuzz)
431 # Compilation of the auto-generated protobuf source file will yield warnings,
434 …es_properties(${CMAKE_CURRENT_BINARY_DIR}/protobufs/spvtoolsfuzz.pb.cc PROPERTIES COMPILE_FLAGS -w)
440 target_include_directories(SPIRV-Tools-fuzz
442 $<BUILD_INTERFACE:${spirv-tools_SOURCE_DIR}/include>
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
DCMakeLists.txt7 # http://www.apache.org/licenses/LICENSE-2.0
26 …it is the protobufs::protoc CMake target. It should be overridden when cross-compiling, such as fo…
31 -I=${CMAKE_CURRENT_SOURCE_DIR}/protobufs
32 --cpp_out=protobufs
427 add_library(SPIRV-Tools-fuzz ${SPIRV_TOOLS_FUZZ_SOURCES})
429 spvtools_default_compile_options(SPIRV-Tools-fuzz)
431 # Compilation of the auto-generated protobuf source file will yield warnings,
434 …es_properties(${CMAKE_CURRENT_BINARY_DIR}/protobufs/spvtoolsfuzz.pb.cc PROPERTIES COMPILE_FLAGS -w)
440 target_include_directories(SPIRV-Tools-fuzz
442 $<BUILD_INTERFACE:${spirv-tools_SOURCE_DIR}/include>
[all …]
/external/deqp-deps/SPIRV-Tools/source/
DCMakeLists.txt1 # Copyright (c) 2015-2016 The Khronos Group Inc.
7 # http://www.apache.org/licenses/LICENSE-2.0
15 set(GRAMMAR_PROCESSING_SCRIPT "${spirv-tools_SOURCE_DIR}/utils/generate_grammar_tables.py")
16 set(VIMSYNTAX_PROCESSING_SCRIPT "${spirv-tools_SOURCE_DIR}/utils/generate_vim_syntax.py")
17 set(XML_REGISTRY_PROCESSING_SCRIPT "${spirv-tools_SOURCE_DIR}/utils/generate_registry_tables.py")
18 set(LANG_HEADER_PROCESSING_SCRIPT "${spirv-tools_SOURCE_DIR}/utils/generate_language_headers.py")
21 # It might migrate to SPIRV-Headers.
22 set(DEBUGINFO_GRAMMAR_JSON_FILE "${SPIRV_HEADER_INCLUDE_DIR}/spirv/unified1/extinst.debuginfo.gramm…
23 set(CLDEBUGINFO100_GRAMMAR_JSON_FILE "${SPIRV_HEADER_INCLUDE_DIR}/spirv/unified1/extinst.opencl.deb…
30 …set(GRAMMAR_JSON_FILE "${SPIRV_HEADER_INCLUDE_DIR}/spirv/${CONFIG_VERSION}/spirv.core.grammar.json…
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/
DCMakeLists.txt1 # Copyright (c) 2015-2016 The Khronos Group Inc.
7 # http://www.apache.org/licenses/LICENSE-2.0
15 set(GRAMMAR_PROCESSING_SCRIPT "${spirv-tools_SOURCE_DIR}/utils/generate_grammar_tables.py")
16 set(VIMSYNTAX_PROCESSING_SCRIPT "${spirv-tools_SOURCE_DIR}/utils/generate_vim_syntax.py")
17 set(XML_REGISTRY_PROCESSING_SCRIPT "${spirv-tools_SOURCE_DIR}/utils/generate_registry_tables.py")
18 set(LANG_HEADER_PROCESSING_SCRIPT "${spirv-tools_SOURCE_DIR}/utils/generate_language_headers.py")
21 # It might migrate to SPIRV-Headers.
22 set(DEBUGINFO_GRAMMAR_JSON_FILE "${SPIRV_HEADER_INCLUDE_DIR}/spirv/unified1/extinst.debuginfo.gramm…
23 set(CLDEBUGINFO100_GRAMMAR_JSON_FILE "${SPIRV_HEADER_INCLUDE_DIR}/spirv/unified1/extinst.opencl.deb…
30 …set(GRAMMAR_JSON_FILE "${SPIRV_HEADER_INCLUDE_DIR}/spirv/${CONFIG_VERSION}/spirv.core.grammar.json…
[all …]
/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/oss-fuzz/projects/graphicsfuzz-spirv/
DDockerfile7 # http://www.apache.org/licenses/LICENSE-2.0
17 FROM gcr.io/oss-fuzz-base/base-builder
18 RUN apt-get update && apt-get install -y cmake ninja-build
20 RUN mkdir -p graphicsfuzz-spirv
22 RUN git clone --depth=1 https://github.com/KhronosGroup/glslang.git graphicsfuzz-spirv/glslang
23 RUN git clone --depth=1 https://github.com/KhronosGroup/SPIRV-Cross.git graphicsfuzz-spirv/SPIRV-Cr…
25 RUN git clone --depth=1 https://github.com/KhronosGroup/SPIRV-Tools.git graphicsfuzz-spirv/SPIRV-To…
26 RUN git clone --depth=1 https://github.com/KhronosGroup/SPIRV-Headers graphicsfuzz-spirv/SPIRV-Tool…
27 RUN git clone --depth=1 https://github.com/google/effcee graphicsfuzz-spirv/SPIRV-Tools/external/ef…
28 RUN git clone --depth=1 https://github.com/google/re2 graphicsfuzz-spirv/SPIRV-Tools/external/re2
[all …]
/external/deqp-deps/glslang/
Dknown_good_khr.json4 "name" : "spirv-tools",
6 "subrepo" : "spirv/spirv-tools",
7 "subdir" : "External/spirv-tools",
11 "name" : "spirv-tools/external/spirv-headers",
13 "subrepo" : "spirv/SPIRV-Headers",
14 "subdir" : "External/spirv-tools/external/spirv-headers",
15 "commit" : "gitlab-prelim-rc4"
/external/deqp-deps/glslang/SPIRV/
DSpvTools.cpp2 // Copyright (C) 2014-2016 LunarG, Inc.
3 // Copyright (C) 2018-2020 Google, Inc.
37 // Call into SPIRV-Tools to disassemble, validate, and optimize.
46 #include "spirv-tools/optimizer.hpp"
50 // Translate glslang's view of target versioning to what SPIRV-Tools uses.
66 logger->missingFunctionality("Target version for SPIRV-Tools validator"); in MapToSpirvToolsEnv()
78 logger->missingFunctionality("Target version for SPIRV-Tools validator"); in MapToSpirvToolsEnv()
116 // Use the SPIRV-Tools disassembler to print SPIR-V using a SPV_ENV_UNIVERSAL_1_3 environment.
117 void SpirvToolsDisassemble(std::ostream& out, const std::vector<unsigned int>& spirv) in SpirvToolsDisassemble() argument
119 SpirvToolsDisassemble(out, spirv, spv_target_env::SPV_ENV_UNIVERSAL_1_3); in SpirvToolsDisassemble()
[all …]

12345678910>>...28