/external/deqp-deps/glslang/StandAlone/ |
D | CMakeLists.txt | 34 add_library(glslang-default-resource-limits 37 set_property(TARGET glslang-default-resource-limits PROPERTY FOLDER glslang) 38 set_property(TARGET glslang-default-resource-limits PROPERTY POSITION_INDEPENDENT_CODE ON) 40 target_include_directories(glslang-default-resource-limits 52 SPIRV 53 glslang-default-resource-limits) 74 PRIVATE ${spirv-tools_SOURCE_DIR}/include 79 set(REMAPPER_SOURCES spirv-remap.cpp) 80 add_executable(spirv-remap ${REMAPPER_SOURCES}) target 81 set_property(TARGET spirv-remap PROPERTY FOLDER tools) [all …]
|
/external/deqp-deps/glslang/ |
D | README-spirv-remap.txt | 3 -------------------------------------------------------------------------------- 4 spirv-remap 0.97 7 -------------------------------------------------------------------------------- 8 spirv-remap is a utility to improve compression of SPIR-V binary files via 10 load/store optimization. It transforms SPIR-V to SPIR-V, remapping IDs. The 25 spirv-remap is currently in an alpha state. Although there are no known 31 -------------------------------------------------------------------------------- 37 -------------------------------------------------------------------------------- 38 Examples are given with a verbosity of one (-v), but more verbosity can be 39 had via -vv, -vvv, etc, or an integer parameter to --verbose, such as [all …]
|
D | .appveyor.yml | 2 # http://www.appveyor.com/docs/appveyor-yml 10 - x64 13 - Debug 14 - Release 18 - master 23 - README.md 24 - README-spirv-remap.txt 25 - LICENSE.txt 26 - CODE_OF_CONDUCT.md 27 - BUILD.* [all …]
|
D | BUILD.bazel | 40 # Khronos reference front-end for GLSL and ESSL, and sample SPIR-V generator. 56 …"$(location build_info) $$(dirname $(location CHANGES.md)) -i $(location build_info.h.tmpl) -o $(l… 63 "-Wall", 64 "-Wuninitialized", 65 "-Wunused", 66 "-Wunused-local-typedefs", 67 "-Wunused-parameter", 68 "-Wunused-value", 69 "-Wunused-variable", 70 "-Wno-reorder", [all …]
|
D | BUILD.gn | 38 # typically appended after |cflags|, overriding target-specific 65 "-i", 67 "-o", 80 cflags = [ "-Wno-conversion" ] 99 "SPIRV/GLSL.ext.AMD.h", 100 "SPIRV/GLSL.ext.EXT.h", 101 "SPIRV/GLSL.ext.KHR.h", 102 "SPIRV/GLSL.ext.NV.h", 103 "SPIRV/GLSL.std.450.h", 104 "SPIRV/GlslangToSpv.cpp", [all …]
|
D | license-checker.cfg | 4 "Apache-2.0", 5 "Apache-2.0-Header", 6 "BSD-2-Clause", 7 "BSD-3-Clause", 8 "MIT-0", 22 "make-revision", 23 "README-spirv-remap.txt", 33 "External/spirv-tools/**", 35 "SPIRV/GLSL.*.h", 36 "SPIRV/NonSemanticDebugPrintf.h", [all …]
|
D | CMakeLists.txt | 64 # This logic inside SPIRV-Tools, which can upset build target dependencies 77 option(ENABLE_GLSLANG_BINARIES "Builds glslangValidator and spirv-remap" ON) 80 …"If using Emscripten, build glslang.js. Otherwise, builds a sample executable for binary-size test… 105 option(ENABLE_OPT "Enables spirv-opt capability if present" ON) 126 add_definitions(-DENABLE_HLSL) 130 add_definitions(-DGLSLANG_WEB) 132 add_definitions(-DGLSLANG_WEB_DEVEL) 141 add_definitions(-DGLSLANG_OSINCLUDE_WIN32) 143 add_definitions(-DGLSLANG_OSINCLUDE_UNIX) 149 add_compile_options(-Wall -Wmaybe-uninitialized -Wuninitialized -Wunused -Wunused-local-typedefs [all …]
|
/external/deqp-deps/glslang/Test/ |
D | runtests | 4 # 1- TargetDirectory, where to write test results and intermediary files 5 # 2- Path to glslangValidator 6 # 3- Path to spirv-remap 8 TARGETDIR=${1:-localResults} 10 EXE=${2:-../build/install/bin/glslangValidator} 11 REMAPEXE=${3:-../build/install/bin/spirv-remap} 13 mkdir -p $TARGETDIR 16 if [ -d "${LIBPATH}" ]; then 24 [0-6]) # Valid success and error codes 33 if [ -a localtestlist ] [all …]
|
/external/skqp/src/compute/hs/vk/intel/gen8/u32/ |
D | gen.sh | 6 ## Use of this source code is governed by a BSD-style license that can 14 ## set -e 30 ## --- 32-bit keys --- 32 $HS_GEN -v -a "glsl" -D HS_INTEL_GEN8 -t 1 -w 16 -r 8 -s 21504 -S 65536 -b 16 -B 48 -m 1 -M 1 -f 0 … 38 sed -i 's/[[:space:]]*$//' hs_config.h 39 sed -i 's/[[:space:]]*$//' hs_modules.h 48 ## FIXME -- convert this to a bash script 56 clang-format -style=Mozilla -i $f 57 cpp -P -I ../.. -I ../../.. $f > ${f%%.*}.pre.comp 58 clang-format -style=Mozilla -i ${f%%.*}.pre.comp [all …]
|
D | gen.bat | 4 :: Use of this source code is governed by a BSD-style license that can 31 %HS_GEN% -v -a "glsl" -D HS_INTEL_GEN8 -t 1 -w 16 -r 8 -s 21504 -S 65536 -b 16 -B 48 -m 1 -M 1 -f 0… 36 :: %HS_GEN% -v -a "glsl" -D HS_INTEL_GEN8 -t 1 -w 8 -r 32 -s 32768 -S 65536 -b 28 -B 56 -m 1 -M 1 -… 43 sed -i 's/[[:space:]]*$//' hs_config.h 44 sed -i 's/[[:space:]]*$//' hs_modules.h 53 :: FIXME -- convert this to a bash script 60 clang-format -style=Mozilla -i %%f || goto :error 61 cl -I ../.. -I ../../.. -EP %%f -P -Fi%%~nf.pre.comp || goto :error 62 clang-format -style=Mozilla -i %%~nf.pre.comp || goto :error 63 glslangValidator --target-env vulkan1.1 -o %%~nf.spv %%~nf.pre.comp || goto :error [all …]
|
/external/skqp/src/compute/hs/vk/intel/gen8/u64/ |
D | gen.sh | 6 ## Use of this source code is governed by a BSD-style license that can 14 ## set -e 30 ## --- 64-bit keys --- 32 $HS_GEN -v -a "glsl" -D HS_INTEL_GEN8 -t 2 -w 8 -r 16 -s 21504 -S 65536 -b 16 -B 48 -m 1 -M 1 -f 1 … 38 sed -i 's/[[:space:]]*$//' hs_config.h 39 sed -i 's/[[:space:]]*$//' hs_modules.h 48 ## FIXME -- convert this to a bash script 56 clang-format -style=Mozilla -i $f 57 cpp -P -I ../.. -I ../../.. $f > ${f%%.*}.pre.comp 58 clang-format -style=Mozilla -i ${f%%.*}.pre.comp [all …]
|
D | gen.bat | 4 :: Use of this source code is governed by a BSD-style license that can 28 %HS_GEN% -v -a "glsl" -D HS_INTEL_GEN8 -t 2 -w 8 -r 16 -s 21504 -S 65536 -b 16 -B 48 -m 1 -M 1 -f 1… 33 :: %HS_GEN% -v -a "glsl" -D HS_INTEL_GEN8 -t 2 -w 8 -r 16 -s 32768 -S 65536 -b 28 -B 56 -m 1 -M 1 -… 40 sed -i 's/[[:space:]]*$//' hs_config.h 41 sed -i 's/[[:space:]]*$//' hs_modules.h 50 :: FIXME -- convert this to a bash script 57 clang-format -style=Mozilla -i %%f || goto :error 58 cl -I ../.. -I ../../.. -EP %%f -P -Fi%%~nf.pre.comp || goto :error 59 clang-format -style=Mozilla -i %%~nf.pre.comp || goto :error 60 glslangValidator --target-env vulkan1.1 -o %%~nf.spv %%~nf.pre.comp || goto :error [all …]
|
/external/skqp/src/compute/hs/vk/amd/gcn/u32/ |
D | gen.sh | 6 ## Use of this source code is governed by a BSD-style license that can 14 ## set -e 30 ## --- 32-bit keys --- 32 $HS_GEN -v -a "glsl" -D HS_AMD_GCN -t 1 -w 64 -r 16 -s 32768 -S 32768 -b 16 -m 1 -M 1 -f 1 -F 1 -c … 38 sed -i 's/[[:space:]]*$//' hs_config.h 39 sed -i 's/[[:space:]]*$//' hs_modules.h 48 ## FIXME -- convert this to a bash script 56 clang-format -style=Mozilla -i $f 57 cpp -P -I ../.. -I ../../.. $f > ${f%%.*}.pre.comp 58 clang-format -style=Mozilla -i ${f%%.*}.pre.comp [all …]
|
D | gen.bat | 4 :: Use of this source code is governed by a BSD-style license that can 24 :: --- 32-bit keys --- 26 %HS_GEN% -v -a "glsl" -D HS_AMD_GCN -t 1 -w 64 -r 16 -s 32768 -S 32768 -b 16 -m 1 -M 1 -f 1 -F 1 -c… 32 sed -i 's/[[:space:]]*$//' hs_config.h 33 sed -i 's/[[:space:]]*$//' hs_modules.h 42 :: FIXME -- convert this to a bash script 49 clang-format -style=Mozilla -i %%f || goto :error 50 cl -I ../.. -I ../../.. -EP %%f -P -Fi%%~nf.pre.comp || goto :error 51 clang-format -style=Mozilla -i %%~nf.pre.comp || goto :error 52 glslangValidator --target-env vulkan1.1 -o %%~nf.spv %%~nf.pre.comp || goto :error [all …]
|
/external/skqp/src/compute/hs/vk/amd/gcn/u64/ |
D | gen.sh | 6 ## Use of this source code is governed by a BSD-style license that can 14 ## set -e 30 ## --- 64-bit keys 32 $HS_GEN -v -a "glsl" -D HS_AMD_GCN -t 2 -w 64 -r 8 -s 32768 -S 32768 -b 16 -m 1 -M 1 -f 1 -F 1 -c 1… 38 sed -i 's/[[:space:]]*$//' hs_config.h 39 sed -i 's/[[:space:]]*$//' hs_modules.h 48 ## FIXME -- convert this to a bash script 56 clang-format -style=Mozilla -i $f 57 cpp -P -I ../.. -I ../../.. $f > ${f%%.*}.pre.comp 58 clang-format -style=Mozilla -i ${f%%.*}.pre.comp [all …]
|
D | gen.bat | 4 :: Use of this source code is governed by a BSD-style license that can 24 :: --- 64-bit keys 26 %HS_GEN% -v -a "glsl" -D HS_AMD_GCN -t 2 -w 64 -r 8 -s 32768 -S 32768 -b 16 -m 1 -M 1 -f 1 -F 1 -c … 32 sed -i 's/[[:space:]]*$//' hs_config.h 33 sed -i 's/[[:space:]]*$//' hs_modules.h 42 :: FIXME -- convert this to a bash script 49 clang-format -style=Mozilla -i %%f || goto :error 50 cl -I ../.. -I ../../.. -EP %%f -P -Fi%%~nf.pre.comp || goto :error 51 clang-format -style=Mozilla -i %%~nf.pre.comp || goto :error 52 glslangValidator --target-env vulkan1.1 -o %%~nf.spv %%~nf.pre.comp || goto :error [all …]
|
/external/skqp/src/compute/hs/vk/nvidia/sm_35/u64/ |
D | gen.sh | 6 ## Use of this source code is governed by a BSD-style license that can 14 ## set -e 30 ## --- 64-bit keys --- 32 ## $HS_GEN -v -a "glsl" -D HS_NVIDIA_SM35 -t 2 -w 32 -r 32 -s 49152 -S 65536 -b 16 -m 1 -M 1 -f 1 -… 33 $HS_GEN -v -a "glsl" -D HS_NVIDIA_SM35 -t 2 -w 32 -r 8 -s 32768 -S 32768 -b 16 -m 1 -M 1 -p 1 -P 1 … 39 sed -i 's/[[:space:]]*$//' hs_config.h 40 sed -i 's/[[:space:]]*$//' hs_modules.h 49 ## FIXME -- convert this to a bash script 57 clang-format -style=Mozilla -i $f 58 cpp -P -I ../.. -I ../../.. $f > ${f%%.*}.pre.comp [all …]
|
D | gen.bat | 4 :: Use of this source code is governed by a BSD-style license that can 24 :: --- 64-bit keys 26 :: %HS_GEN% -v -a "glsl" -D HS_NVIDIA_SM35 -t 2 -w 32 -r 32 -s 49152 -S 65536 -b 16 -m 1 -M 1 -f 1 … 27 %HS_GEN% -v -a "glsl" -D HS_NVIDIA_SM35 -t 2 -w 32 -r 8 -s 32768 -S 32768 -b 16 -m 1 -M 1 -p 1 -P 1… 33 sed -i 's/[[:space:]]*$//' hs_config.h 34 sed -i 's/[[:space:]]*$//' hs_modules.h 43 :: FIXME -- convert this to a bash script 50 clang-format -style=Mozilla -i %%f || goto :error 51 cl -I ../.. -I ../../.. -EP %%f -P -Fi%%~nf.pre.comp || goto :error 52 clang-format -style=Mozilla -i %%~nf.pre.comp || goto :error [all …]
|
/external/skqp/src/compute/hs/vk/nvidia/sm_35/u32/ |
D | gen.sh | 6 ## Use of this source code is governed by a BSD-style license that can 14 ## set -e 30 ## --- 32-bit keys --- 32 ## $HS_GEN -v -a "glsl" -D HS_NVIDIA_SM35 -t 1 -w 32 -r 32 -s 49152 -S 65536 -b 32 -m 1 -M 1 -f 1 -… 33 $HS_GEN -v -a "glsl" -D HS_NVIDIA_SM35 -t 1 -w 32 -r 16 -s 32768 -S 32768 -b 16 -m 1 -M 1 -p 1 -P 1… 39 sed -i 's/[[:space:]]*$//' hs_config.h 40 sed -i 's/[[:space:]]*$//' hs_modules.h 49 ## FIXME -- convert this to a bash script 57 clang-format -style=Mozilla -i $f 58 cpp -P -I ../.. -I ../../.. $f > ${f%%.*}.pre.comp [all …]
|
D | gen.bat | 4 :: Use of this source code is governed by a BSD-style license that can 24 :: --- 32-bit keys --- 26 :: %HS_GEN% -v -a "glsl" -D HS_NVIDIA_SM35 -t 1 -w 32 -r 32 -s 49152 -S 65536 -b 32 -m 1 -M 1 -f 1 … 27 %HS_GEN% -v -a "glsl" -D HS_NVIDIA_SM35 -t 1 -w 32 -r 16 -s 32768 -S 32768 -b 16 -m 1 -M 1 -p 1 -P … 33 sed -i 's/[[:space:]]*$//' hs_config.h 34 sed -i 's/[[:space:]]*$//' hs_modules.h 43 :: FIXME -- convert this to a bash script 50 clang-format -style=Mozilla -i %%f || goto :error 51 cl -I ../.. -I ../../.. -EP %%f -P -Fi%%~nf.pre.comp || goto :error 52 clang-format -style=Mozilla -i %%~nf.pre.comp || goto :error [all …]
|
/external/deqp-deps/glslang/gtests/ |
D | TestFixture.h | 47 #include "SPIRV/GlslangToSpv.h" 48 #include "SPIRV/disassemble.h" 49 #include "SPIRV/doc.h" 50 #include "SPIRV/SPVRemapper.h" 99 // Base class for glslang integration tests. It contains many handy utility-like 100 // methods such as reading shader source files, compiling into AST/SPIR-V, and 103 // To write value-Parameterized tests: 150 ? ("Mismatch found and update mode turned on - " 179 std::string spirv; // Optional SPIR-V disassembly text. member 195 shaderNames = shaderName->data(); [all …]
|
D | CMakeLists.txt | 36 message(STATUS "Google Mock found - building tests") 60 ${CMAKE_CURRENT_SOURCE_DIR}/Remap.FromFile.cpp) 76 # doesn't have to specify the --test-root option in the normal 88 PRIVATE ${spirv-tools_SOURCE_DIR}/include 94 SPIRV glslang-default-resource-limits) 105 add_test(NAME glslang-gtests 106 COMMAND glslangtests --test-root "${GLSLANG_TEST_DIRECTORY}")
|
/external/angle/src/libANGLE/renderer/metal/ |
D | mtl_glslang_utils.mm | 3 // Use of this source code is governed by a BSD-style license that can be 39 // by spirv-cross. 40 programInterfaceInfo->uniformsAndXfbDescriptorSetIndex = kGlslangDefaultUniformAndXfbDescSet; 41 programInterfaceInfo->currentUniformBindingIndex = 0; 42 programInterfaceInfo->textureDescriptorSetIndex = kGlslangTextureDescSet; 43 programInterfaceInfo->currentTextureBindingIndex = 0; 44 programInterfaceInfo->driverUniformsDescriptorSetIndex = kGlslangDriverUniformsDescSet; 45 programInterfaceInfo->shaderResourceDescriptorSetIndex = kGlslangShaderResourceDescSet; 46 programInterfaceInfo->currentShaderResourceBindingIndex = 0; 47 programInterfaceInfo->locationsUsedForXfbExtension = 0; [all …]
|
/external/deqp-deps/amber/src/ |
D | clspv_helper.cc | 7 // http://www.apache.org/licenses/LICENSE-2.0 23 #include "spirv-tools/libspirv.hpp" 24 #include "spirv-tools/optimizer.hpp" 25 #include "spirv/unified1/NonSemanticClspvReflection.h" 26 #include "spirv/unified1/spirv.hpp" 70 auto ext_inst = inst->words[inst->operands[3].offset]; in ParseExtendedInst() 73 // Remap the name string to the declaration's result id. in ParseExtendedInst() 74 const auto& name = helper->strings[inst->words[inst->operands[5].offset]]; in ParseExtendedInst() 75 helper->strings[inst->result_id] = name; in ParseExtendedInst() 79 // Remap the name string to the info's result id. in ParseExtendedInst() [all …]
|
/external/deqp-deps/glslang/SPIRV/ |
D | SPVRemapper.h | 65 OPT_FWD_LS = (1<<8), // EXPERIMENTAL: PRODUCES INVALID SCHEMA-0 SPIRV 87 void remap(std::vector<std::uint32_t>& /*spv*/, unsigned int /*opts = 0*/) in remap() function 89 printf("Tool not compiled for C++11, which is required for SPIR-V remapping.\n"); in remap() 106 #include "spirv.hpp" 111 // class to hold SPIR-V binary data for remapping, DCE, and debug stripping 120 // remap on an existing binary in memory 121 void remap(std::vector<std::uint32_t>& spv, std::uint32_t opts = DO_EVERYTHING); 141 void remap(std::uint32_t opts = DO_EVERYTHING); 244 void applyMap(); // remap per local name map 247 void stripDeadRefs(); // strips debug info for now-dead references after DCE
|