Home
last modified time | relevance | path

Searched refs:spirv (Results 1 – 25 of 111) sorted by relevance

12345

/external/skia/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",
19 rebase_path("$root_out_dir/spirv-tools/core.insts-$version.inc",
22 rebase_path("$root_out_dir/spirv-tools/operand.kinds-$version.inc",
36 script = "../externals/spirv-tools/utils/generate_grammar_tables.py"
38 "../externals/spirv-headers/include/spirv/1.0/extinst.glsl.std.450.grammar.json",
[all …]
/external/spirv-llvm/test/SPIRV/
DCreatePipeFromPipeStorage.ll2 ; RUN: llvm-spirv %t.bc -spirv-text -o %t.txt
4 ; RUN: llvm-spirv %t.bc -o %t.spv
5 ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc
9 ; CHECK-LLVM: %"[[CL_PIPE_STORAGE_NAME:[^"]+]]" = type { %spirv.PipeStorage addrspace(1)* }
10 ; CHECK-LLVM: %"[[CL_READ_PIPE_NAME:[^"]+read>]]" = type { %spirv.Pipe._0 addrspace(1)* }
11 ; CHECK-LLVM: %spirv.Pipe._0 = type opaque
12 ; CHECK-LLVM: %"[[CL_WRITE_PIPE_NAME:[^"]+write>]]" = type { %spirv.Pipe._1 addrspace(1)* }
13 ; CHECK-LLVM: %spirv.Pipe._1 = type opaque
40 %spirv.ConstantPipeStorage = type { i32, i32, i32 }
41 %"class.cl::pipe_storage<int __attribute__((ext_vector_type(4))), 1>" = type { %spirv.PipeStorage a…
[all …]
DPipeStorage.ll2 ; RUN: llvm-spirv %t.bc -spirv-text -o %t.txt
4 ; RUN: llvm-spirv %t.bc -o %t.spv
5 ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc
8 ; CHECK-LLVM: %spirv.ConstantPipeStorage = type { i32, i32, i32 }
9 ; CHECK-LLVM: %"[[CL_PIPE_STORAGE_NAME:[^"]+]]" = type { %spirv.PipeStorage addrspace(1)* }
10 ; CHECK-LLVM: %spirv.PipeStorage = type opaque
11 ; CHECK-LLVM: [[CREATOR_NAME:[^ ]+]] = linkonce_odr addrspace(1) global %spirv.ConstantPipeStorage …
12 …PE_STORAGE_NAME]]" { %spirv.PipeStorage addrspace(1)* bitcast (%spirv.ConstantPipeStorage addrspac…
31 %spirv.ConstantPipeStorage = type { i32, i32, i32 }
32 %"class.cl::pipe_storage<int __attribute__((ext_vector_type(4))), 1>" = type { %spirv.PipeStorage a…
[all …]
Dspirv.Queue.ll1 ; RUN: llvm-as < %s | llvm-spirv -spirv-text -o - | FileCheck %s --check-prefix=CHECK-SPIRV
9 %spirv.Queue = type opaque
12 define spir_func void @enqueue_simple_block(%spirv.Queue* addrspace(3)* nocapture %q) #0 {
DSPIRVVersionAutodetect_1_1.ll1 ; RUN: llvm-as < %s | llvm-spirv -spirv-text -o %t
18 !spirv.ExecutionMode = !{!0}
26 !spirv.Source = !{!10}
DSPIRVVersionAutodetect_1_0.ll1 ; RUN: llvm-as < %s | llvm-spirv -spirv-text -o %t
25 !spirv.Source = !{!10}
DExecutionMode_SPIR_to_SPIRV.ll2 ; RUN: llvm-spirv %t.bc -spirv-text -o %t.txt
4 ; RUN: llvm-spirv %t.bc -o %t.spv
5 ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc
/external/spirv-llvm/test/SPIRV/transcoding/
Dspirv-types.ll4 ; RUN: llvm-spirv %t.bc -spirv-text -o %t.spv.txt
6 ; RUN: llvm-spirv %t.bc -o %t.from-llvm.spv
7 ; RUN: llvm-spirv -to-binary %t.spv.txt -o %t.from-text.spv
9 ; RUN: llvm-spirv %t.bc -o %t.spv
10 ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc
57 %spirv.Pipe._0 = type opaque ; read_only pipe
58 %spirv.Pipe._1 = type opaque ; write_only pipe
59 %spirv.Image._void_0_0_0_0_0_0_0 = type opaque ; read_only image1d_t
60 %spirv.Image._int_1_0_0_0_0_0_0 = type opaque ; read_only image2d_t
61 %spirv.Image._uint_2_0_0_0_0_0_0 = type opaque ; read_only image3d_t
[all …]
DDecorationMaxByteOffset.ll2 ; RUN: llvm-spirv %t.bc -spirv-text -o %t.txt
4 ; RUN: llvm-spirv %t.bc -o %t.spv
5 ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc
46 !spirv.Source = !{!4}
47 !spirv.String = !{}
Doptional-core-features-multiple.ll8 ; RUN: llvm-spirv %t.bc -spirv-text -o %t.txt
10 ; RUN: llvm-spirv %t.bc -o %t.spv
11 ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc
Dcheck_wo_qualifier.ll2 ; RUN: llvm-spirv %t.bc -o %t.spv
3 ; RUN: llvm-spirv -r -spirv-gen-image-type-acc-postfix %t.spv -o %t.rev.bc
45 !spirv.Source = !{!6}
50 !spirv.Generator = !{!10}
Dcheck_ro_qualifier.ll2 ; RUN: llvm-spirv %t.bc -o %t.spv
3 ; RUN: llvm-spirv -r -spirv-gen-image-type-acc-postfix %t.spv -o %t.rev.bc
44 !spirv.Source = !{!6}
49 !spirv.Generator = !{!10}
DOpDot.ll2 ; RUN: llvm-spirv %t.bc -spirv-text -o %t.txt
4 ; RUN: llvm-spirv %t.bc -o %t.spv
5 ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc
DOpConstantBool.ll2 ; RUN: llvm-spirv %t.bc -spirv-text -o %t.txt
4 ; RUN: llvm-spirv %t.bc -o %t.spv
5 ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc
DOpMin.ll2 ; RUN: llvm-spirv %t.bc -spirv-text -o %t.txt
4 ; RUN: llvm-spirv %t.bc -o %t.spv
5 ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc
DOpGroupAllAny.ll2 ; RUN: llvm-spirv %t.bc -spirv-text -o %t.txt
4 ; RUN: llvm-spirv %t.bc -o %t.spv
5 ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc
/external/vulkan-validation-layers/
Dupdate_external_sources.sh7 SPIRV_TOOLS_REVISION=$(cat "${PWD}"/spirv-tools_revision)
8 SPIRV_HEADERS_REVISION=$(cat "${PWD}"/spirv-headers_revision)
33 rm -rf "${BASEDIR}"/spirv-tools
35 mkdir -p "${BASEDIR}"/spirv-tools
36 cd "${BASEDIR}"/spirv-tools
39 mkdir -p "${BASEDIR}"/spirv-tools/external/spirv-headers
40 cd "${BASEDIR}"/spirv-tools/external/spirv-headers
47 cd "${BASEDIR}"/spirv-tools
51 mkdir -p "${BASEDIR}"/spirv-tools/external/spirv-headers
52 cd "${BASEDIR}"/spirv-tools/external/spirv-headers
[all …]
Dupdate_external_sources.bat2 REM Update source for glslang, spirv-tools
18 set SPIRV_TOOLS_DIR=%BASE_DIR%\spirv-tools
27 echo --sync-spirv-tools just pull spirv-tools_revision
29 … echo --build-spirv-tools pulls spirv-tools_revision, configures CMake, builds Release and Debug
30 echo --all sync and build glslang, LunarGLASS, spirv-tools
35 set sync-spirv-tools=0
37 set build-spirv-tools=0
50 if "%1" == "--sync-spirv-tools" (
51 set sync-spirv-tools=1
64 if "%1" == "--build-spirv-tools" (
[all …]
DCMakeLists.txt157 …set (SPIRV_TOOLS_SEARCH_PATH "${EXTERNAL_SOURCE_ROOT}/spirv-tools/${BUILDTGT_DIR}/source/${RELEASE…
158 …set (SPIRV_TOOLS_DEBUG_SEARCH_PATH "${EXTERNAL_SOURCE_ROOT}/spirv-tools/${BUILDTGT_DIR}/source/${D…
177 …_SEARCH_PATH "${EXTERNAL_SOURCE_ROOT}/spirv-tools/${BUILDTGT_DIR}/source" "${CMAKE_SOURCE_DIR}/../…
186 find_path(GLSLANG_SPIRV_INCLUDE_DIR SPIRV/spirv.hpp HINTS "${EXTERNAL_SOURCE_ROOT}/glslang"
188 DOC "Path to SPIRV/spirv.hpp")
190 find_path(SPIRV_TOOLS_INCLUDE_DIR spirv-tools/libspirv.h HINTS "${EXTERNAL_SOURCE_ROOT}/spirv-tools…
192 "${CMAKE_SOURCE_DIR}/../spirv-tools/include"
194 … "${EXTERNAL_SOURCE_ROOT}/source/spirv-tools/external/include"
195 DOC "Path to spirv-tools/libspirv.h")
/external/vulkan-validation-layers/build-android/
Dupdate_external_sources_android.sh27 SPIRV_TOOLS_REVISION=$(cat $ANDROIDBUILDDIR/spirv-tools_revision_android)
28 SPIRV_HEADERS_REVISION=$(cat $ANDROIDBUILDDIR/spirv-headers_revision_android)
52 rm -rf $SHADERCTHIRDPARTY/spirv-tools
54 mkdir -p $SHADERCTHIRDPARTY/spirv-tools
55 cd $SHADERCTHIRDPARTY/spirv-tools
56 git clone persistent-https://android.git.corp.google.com/platform/external/shaderc/spirv-tools .
62 cd $SHADERCTHIRDPARTY/spirv-tools
68 rm -rf $SHADERCTHIRDPARTY/spirv-tools/external/spirv-headers
70 mkdir -p $SHADERCTHIRDPARTY/spirv-tools/external/spirv-headers
71 cd $SHADERCTHIRDPARTY/spirv-tools/external/spirv-headers
[all …]
Dupdate_external_sources_android.bat2 REM Update source for glslang, spirv-tools, and shaderc
29 set SPIRV_TOOLS_DIR=%SHADERC_THIRD_PARTH%\spirv-tools
30 set SPIRV_HEADERS_DIR=%SHADERC_THIRD_PARTH%\spirv-tools\external\spirv-headers
76 if not exist %ANDROID_BUILD_DIR%\spirv-tools_revision_android (
78 echo Missing spirv-tools_revision_android file. Place it in %ANDROID_BUILD_DIR%
83 if not exist %ANDROID_BUILD_DIR%\spirv-headers_revision_android (
85 echo Missing spirv-headers_revision_android file. Place it in %ANDROID_BUILD_DIR%
98 set /p SPIRV_TOOLS_REVISION= < spirv-tools_revision_android
99 set /p SPIRV_HEADERS_REVISION= < spirv-headers_revision_android
107 echo Creating and/or updating glslang, spirv-tools, spirv-headers, shaderc in %BASE_DIR%
[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 …SPIRV_HEADERS_SRC_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../spirv-headers/src CACHE STRING "Path to spir…
28 EXISTS ${SPIRV_HEADERS_ABS_PATH}/include/spirv/1.0/spirv.h)
29 message(STATUS "spirv-tools found; building with DEQP_HAVE_SPIRV_TOOLS")
38 add_subdirectory(${SPIRV_TOOLS_ABS_PATH} spirv-tools)
40 message(STATUS "spirv-tools not found; SPIR-V assembly not available")
/external/mesa3d/src/compiler/
DMakefile.sources272 spirv/GLSL.std.450.h \
273 spirv/nir_spirv.h \
274 spirv/spirv.h \
275 spirv/spirv_info.h \
276 spirv/spirv_info.c \
277 spirv/spirv_to_nir.c \
278 spirv/vtn_alu.c \
279 spirv/vtn_cfg.c \
280 spirv/vtn_glsl450.c \
281 spirv/vtn_private.h \
[all …]
/external/vulkan-validation-layers/demos/smoke/android/
Dbuild-and-install27 ( cd ..; python3 glsl-to-spirv Smoke.frag Smoke.frag.h ${glslang} )
28 ( cd ..; python3 glsl-to-spirv Smoke.vert Smoke.vert.h ${glslang} )
29 ( cd ..; python3 glsl-to-spirv Smoke.push_constant.vert Smoke.push_constant.vert.h ${glslang} )
/external/skia/third_party/spirv-headers/
DBUILD.gn6 third_party("spirv-headers") {
7 public_include_dirs = [ "../externals/spirv-headers/include" ]

12345