| /external/vulkan-validation-layers/ |
| D | BUILD.gn | 1 # Copyright (C) 2018-2019 The ANGLE Project Authors. 8 # https://www.apache.org/licenses/LICENSE-2.0 18 # Fuchsia has non-upstream changes to the vulkan layers, so we don't want 40 script = "build-gn/remove_files.py" 44 "layers/gpu_validation.cpp", 60 "API_NAME=\"Vulkan\"", 63 cflags = [ "-Wno-unused-function" ] 74 # The validation layers 75 # --------------------- 79 "layers", [all …]
|
| D | README.md | 1 # Vulkan Ecosystem Components 3 This project provides the Khronos official Vulkan validation layers for Windows, Linux, Android, an… 7 |:--------:|:------------:| 8 … Status](https://travis-ci.org/KhronosGroup/Vulkan-ValidationLayers.svg?branch=master)](https://tr… 9 …q4r5d9j8nhdv?svg=true)](https://ci.appveyor.com/project/Khronoswebmaster/vulkan-validationlayers/b… 14 Vulkan is an Explicit API, enabling direct control over how GPUs actually work. By design, minimal … 15 a Vulkan driver. Applications have full control and responsibility for correct operation. Any error… 16 how Vulkan is used can result in a crash. This project provides Vulkan validation layers that can b… 17 to assist development by enabling developers to verify their applications correct use of the Vulkan… 20 - [*Validation Layers*](layers/) [all …]
|
| D | BUILD.md | 8 1. [Contributing](#contributing-to-the-repository) 9 1. [Repository Content](#repository-content) 10 1. [Repository Set-Up](#repository-set-up) 11 1. [Windows Build](#building-on-windows) 12 1. [Linux Build](#building-on-linux) 13 1. [Android Build](#building-on-android) 14 1. [MacOS build](#building-on-macos) 25 This repository contains the source code necessary to build the Vulkan 26 validation layers and their tests. 33 - *install_dir*`/lib` : The Vulkan validation layer libraries [all …]
|
| D | CMakeLists.txt | 2 # Copyright (c) 2014-2019 Valve Corporation 3 # Copyright (c) 2014-2019 LunarG, Inc. 9 # http://www.apache.org/licenses/LICENSE-2.0 18 …ake project initialization -----------------------------------------------------------------------… 19 # This section contains pre-project() initialization, and ends with the project() command. 26 project(Vulkan-ValidationLayers) 30 # User-interface declarations ---------------------------------------------------------------------… 34 …ming builds to avoid conflicts with installed SDKs. It is referenced by layers/vk_loader_platform… 35 set(API_NAME "Vulkan" CACHE STRING "API name to use when building") 37 add_definitions(-DAPI_NAME="${API_NAME}") [all …]
|
| D | CONTRIBUTING.md | 1 # How to Contribute to Vulkan Source Repositories 5 The source code for The Vulkan-ValidationLayer components is sponsored by Khronos and LunarG. 6 * [Khronos Vulkan-ValidationLayers](https://github.com/KhronosGroup/Vulkan-ValidationLayers) 9 ### **The Vulkan Ecosystem Needs Your Help** 11 The Vulkan validation layers are one of the larger and more important components in this repository. 17 * Examine the [issues list](https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues) 19 * Alternatively, run the `vk_validation_stats.py` script (in the scripts directory) with the `-todo` 20 command line argument to see a list of as-yet unimplemented validation checks. 28 Please see the [section about Validation Layers](#special-considerations-for-validation-layers) 36 * _Enhancement_: These issues refer to ideas for extending or improving the validation layers. [all …]
|
| D | GOVERNANCE.md | 1 ## Vulkan Validation Layers Repository Management 5 * Alignment with the Vulkan Specification 6 …- The goal is for validation layer behavior to enforce the vulkan specification on applications. Q… 7 interpretations may require consulting with the Khronos Vulkan Workgroup for resolution 8 - [Core Specification](https://www.khronos.org/registry/vulkan/specs/1.0/html/vkspec.html) 9 - [Header Files](https://www.khronos.org/registry/vulkan/#headers) 10 - [SDK Resources](https://vulkan.lunarg.com) 12 - Updates of validation layer functionality should be available in a timely fashion 13 - Every effort will be made to be responsive to ISV issues with validation layers 15 - Google and LunarG collaboration: [all …]
|
| /external/angle/third_party/vulkan-validation-layers/ |
| D | README.chromium | 1 Name: Khronos Vulkan Validation Layers Components 2 Short Name: Vulkan Validation Layers 4 URL: https://github.com/KhronosGroup/Vulkan-ValidationLayers 5 SOURCE CODE: git clone https://github.com/KhronosGroup/Vulkan-ValidationLayers.git 13 The Khronos Vulkan Validation Layers Components consist of the Vulkan 14 Validation Layers. The layers help validate Vulkan programs at runtime 15 for development. When enabled the Vulkan loader will hook the layers 16 into the Vulkan APIs so that they evaluate Vulkan API calls and flag 17 the incorrect use of the API with callbacks. The layers are essential 18 for developing Vulkan applications.
|
| /external/vulkan-validation-layers/tests/ |
| D | CMakeLists.txt | 2 # Copyright (c) 2014-2019 Valve Corporation 3 # Copyright (c) 2014-2019 LunarG, Inc. 9 # http://www.apache.org/licenses/LICENSE-2.0 19 add_definitions(-DNV_EXTENSIONS -DAMD_EXTENSIONS) 22 add_definitions(-DVK_USE_PLATFORM_WIN32_KHR -DWIN32_LEAN_AND_MEAN) 24 add_definitions(-D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING) 26 add_definitions(-DVK_USE_PLATFORM_ANDROID_KHR) 28 add_definitions(-DVK_USE_PLATFORM_MACOS_MVK) 31 add_definitions(-DVK_USE_PLATFORM_XCB_KHR) 35 add_definitions(-DVK_USE_PLATFORM_XLIB_KHR) [all …]
|
| /external/vulkan-validation-layers/docs/ |
| D | unique_objects_layer.md | 1 <!-- markdownlint-disable MD041 --> 2 [![Khronos Vulkan][1]][2] 4 [1]: https://vulkan.lunarg.com/img/Vulkan_100px_Dec16.png "https://www.khronos.org/vulkan/" 5 [2]: https://www.khronos.org/vulkan/ 10 [3]: https://i.creativecommons.org/l/by-nd/4.0/88x31.png "Creative Commons License" 11 [4]: https://creativecommons.org/licenses/by-nd/4.0/ 13 …-supporting utility layer which enables consistent and coherent validation in addition to proper o… 18 …Vulkan extensions which include new APIs taking one or more Vulkan dispatchable objects as paramet…
|
| /external/vulkan-validation-layers/build-android/jni/ |
| D | Android.mk | 8 # http://www.apache.org/licenses/LICENSE-2.0 16 LOCAL_PATH := $(call my-dir) 25 LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 28 LOCAL_SRC_FILES += $(SRC_DIR)/layers/vk_layer_config.cpp 29 LOCAL_SRC_FILES += $(SRC_DIR)/layers/vk_layer_extension_utils.cpp 30 LOCAL_SRC_FILES += $(SRC_DIR)/layers/vk_layer_utils.cpp 31 LOCAL_SRC_FILES += $(SRC_DIR)/layers/vk_format_utils.cpp 33 $(LOCAL_PATH)/$(SRC_DIR)/layers/generated \ 34 $(LOCAL_PATH)/$(SRC_DIR)/layers 35 LOCAL_CPPFLAGS += -std=c++11 -Wall -Werror -Wno-unused-function -Wno-unused-const-variable [all …]
|
| /external/angle/src/third_party/volk/ |
| D | README.md | 1 # volk [](https://travis-ci.or… 13 volk is a meta-loader for Vulkan. It allows you to dynamically load entrypoints required to use Vul… 14 without linking to vulkan-1.dll or statically linking Vulkan loader. Additionally, volk simplifies … 15 Vulkan entrypoints directly from the driver which can increase performance by skipping loader dispa… 23 …build system. Note that the usual preprocessor defines that enable Vulkan's platform-specific func… 24 2. You can use volk in header-only fashion. Include `volk.h` whereever you want to use Vulkan funct… 29 To use volk, you have to include `volk.h` instead of `vulkan/vulkan.h`; this is necessary to use fu… 30 …vulkan/vulkan.h` and don't include `volk.h`, this can result in symbol conflicts; consider definin… 38 This will attempt to load Vulkan loader from the system; if this function returns `VK_SUCCESS` you … 39 If this function fails, this means Vulkan loader isn't installed on your system. [all …]
|
| /external/mesa3d/docs/drivers/ |
| D | zink.rst | 5 -------- 7 The Zink driver is a Gallium driver that emits Vulkan API calls instead 9 desktop OpenGL support on devices that only support Vulkan. 12 -------- 14 The feature-level of Zink depends on two things; what's implemented in Zink, 15 as well as the capabilities of the Vulkan driver. 17 The feature-levels implemented by Zink are exposed by `Vulkan Profiles 18 <https://dev.vulkan.org/tools#vulkan-profiles>`__ in the 21 Used with the `Vulkan Profiles tools <https://github.com/KhronosGroup/Vulkan-Profiles>`__, 22 we can compare the ZINK profiles with Vulkan devices profiles generated with [all …]
|
| /external/vulkan-validation-layers/build-android/ |
| D | build.py | 9 # http://www.apache.org/licenses/LICENSE-2.0 72 # According to vk_platform.h, armeabi is not supported for Vulkan 75 'armeabi-v7a', 76 'arm64-v8a', 82 return '-j{}'.format(multiprocessing.cpu_count() * 2) 86 'arm': ['armeabi-v7a'], 87 'arm64': ['arm64-v8a'], 97 '--out-dir', help='Directory to place temporary build files.', 101 '--arch', choices=ALL_ARCHITECTURES, 104 self.add_argument('--installdir', dest='installdir', required=True, [all …]
|
| /external/skia/tools/gpu/vk/ |
| D | VkTestUtils.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 16 #define SK_GPU_TOOLS_VK_LIBRARY_NAME vulkan-1.dll 53 …// https://github.com/KhronosGroup/Vulkan-Tools/blob/078d44e4664b7efa0b6c96ebced1995c4425d57a/vulk… in LoadVkLibraryAndGetProcAddrFuncs() 74 // Helper code to set up Vulkan context objects 90 // Returns the index into layers array for the layer we want. Returns -1 if not supported. 92 uint32_t layerCount, VkLayerProperties* layers, in should_include_debug_layer() argument 95 if (!strcmp(layerName, layers[i].layerName)) { in should_include_debug_layer() 96 // Since the layers intercept the vulkan calls and forward them on, we need to make sure in should_include_debug_layer() 97 // layer was written against a version that isn't older than the version of Vulkan we're in should_include_debug_layer() 99 if (version <= remove_patch_version(layers[i].specVersion)) { in should_include_debug_layer() [all …]
|
| /external/deqp/external/vulkancts/ |
| D | README.md | 1 Vulkan CTS README 4 This document describes how to build and run Vulkan Conformance Test suite. 6 Vulkan CTS is built on the dEQP framework. 7 Up-to-date documentation for dEQP is available at: 9 * [The VK-GL-CTS wiki for Khronos members](https://gitlab.khronos.org/Tracker/vk-gl-cts/wikis/home) 10 * [The VK-GL-CTS wiki for non-Khronos members](https://github.com/KhronosGroup/VK-GL-CTS/wiki) 14 ------------ 33 * You can get this from the `mesa-common-dev` Ubuntu package. 39 Vulkan SDK for macOS includes a MoltenVK runtime library which is recommended method for 40 developing a Vulkan application. [all …]
|
| /external/vulkan-validation-layers/layers/ |
| D | README.md | 8 [`LoaderAndLayerInterface.md`]: ../loader/LoaderAndLayerInterface.md#layer-library-interface 17 available layers and their properties. Layers can intercept all Vulkan commands 20 vkXXXXGetProcAddr is used internally by the Layers and Loader to initialize dispatch tables. 21 Layers can also be activated via the VK_INSTANCE_LAYERS environment variable. 23 All validation layers work with the DEBUG_REPORT extension to provide validation feedback. 25 Layers" section below for more details) to define its logging behavior, which can include 35 Note that some layers are code-generated and will therefore exist in the directory `(build_dir)/lay… 37 `include/vkLayer.h` - header file for layer code. 40 NOTE: This meta-layer is being deprecated -- users should load the Khronos validation layer (name =… 41 …-layer managed by the loader. (name = `VK_LAYER_LUNARG_standard_validation`) - specifying this lay… [all …]
|
| /external/angle/third_party/vulkan-loader/ |
| D | README.chromium | 1 Name: Vulkan Loader Components 2 Short Name: Vulkan Loader 4 URL: https://github.com/KhronosGroup/Vulkan-Loader 5 SOURCE CODE: git clone https://github.com/KhronosGroup/Vulkan-Loader.git 13 The Vulkan Loader Components are used to build the open-source desktop Vulkan loader. The loader 14 is a library that loads the Vulkan entry points and hooks them into the correct layers and the 15 client driver (ICD). This is required for using Vulkan layers and applications.
|
| /external/rust/crates/vulkano/src/instance/ |
| D | mod.rs | 3 // <LICENSE-APACHE or 4 // https://www.apache.org/licenses/LICENSE-2.0> or the MIT 5 // license <LICENSE-MIT or https://opensource.org/licenses/MIT>, 12 //! The first thing to do after loading the Vulkan library is to create an `Instance` object. 23 //! .unwrap_or_else(|err| panic!("Couldn't load Vulkan library: {:?}", err)); 29 //! ie. all the Vulkan implementations that are available on the system. 59 //! Certain devices, currently those on MacOS and iOS systems, do not fully conform to the Vulkan 61 //! is required; some mandatory parts of Vulkan are missing. These are known as 67 //! automatically enable it when creating the device. When it is enabled, some parts of Vulkan that 68 //! are available in standard Vulkan will not be available by default, but they can be used by [all …]
|
| /external/vulkan-validation-layers/build-android/cmake/layerlib/ |
| D | CMakeLists.txt | 3 # Validation layers could be built with code from 6 # The file structure for glslang spir-V is different, adding BUILD_IN_NDK variable 8 if (CMAKE_CURRENT_SOURCE_DIR MATCHES "sources/third_party/vulkan/src") 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") 20 # vulkan/src 21 # shaderc/third_party (for glslang & spirv-tools ) 22 # this build uses combined lib libshaderc.a for libSPIRV-Tools.a purpose [all …]
|
| /external/angle/src/common/vulkan/ |
| D | vulkan_icd.cpp | 3 // Use of this source code is governed by a BSD-style license that can be 7 // vulkan_icd.cpp : Helper for creating vulkan instances & selecting physical device. 9 #include "common/vulkan/vulkan_icd.h" 70 constexpr char kMockDeviceName[] = "Vulkan Mock Device"; 106 // If we're loading the validation layers, we could be running from any random directory. 107 // Change to the executable directory so we can find the layers, then change back to the 118 // Android Vulkan loader doesn't need this either. in ScopedVkLoaderEnvironment() 143 ERR() << "Error getting CWD for Vulkan layers init."; in ScopedVkLoaderEnvironment() 154 ERR() << "Error setting CWD for Vulkan layers init."; in ScopedVkLoaderEnvironment() 162 // Override environment variable to use the ANGLE layers. in ScopedVkLoaderEnvironment() [all …]
|
| /external/rust/crates/vulkano/src/ |
| D | library.rs | 3 // <LICENSE-APACHE or 4 // https://www.apache.org/licenses/LICENSE-2.0> or the MIT 5 // license <LICENSE-MIT or https://opensource.org/licenses/MIT>, 10 //! Vulkan library loading system. 13 //! of Vulkan. A Vulkan implementation is defined as a single `vkGetInstanceProcAddr` function, 38 /// A loaded library containing a valid Vulkan implementation. 50 /// Loads the default Vulkan library for this system. 51 pub fn new() -> Result<Arc<Self>, LoadingError> { in new() 54 fn def_loader_impl() -> Result<Box<dyn Loader>, LoadingError> { in new() 61 fn def_loader_impl() -> Result<Box<dyn Loader>, LoadingError> { in new() [all …]
|
| /external/deqp-deps/amber/ |
| D | README.md | 3 Amber is a multi-API shader test framework. 9 * Supports Vulkan graphics API 16 * Shaders can be expressed in binary form (as hex), in SPIR-V assembly, or in a 94 * CMake (version 3.7+ enables automatic discovery of an installed Vulkan SDK) 96 * Python, for fetching dependencies and building Vulkan wrappers 103 ./tools/git-sync-deps 104 mkdir -p out/Debug 106 cmake -GNinja ../.. 114 `-DAMBER_ENABLE_SHARED_CRT`. 123 `tools/build-amber-sample.sh`. [all …]
|
| /external/angle/gni/ |
| D | angle.gni | 2 # Use of this source code is governed by a BSD-style license that can be 13 # Display mode for ANGLE vulkan display, could be 'simple' or 'headless', default is 'simple'. 39 # has more functionality implemented, we can re-enable this. 132 # be pre-processed before being used. 137 # By default we enable debug layers when asserts are turned on. 148 # Vulkan loader is statically linked on Mac. http://anglebug.com/4477 164 # Currently Windows on Arm doesn't support OpenGL or Vulkan. 197 # extensions. Content can be rendered only off-screen. 207 # Enables the OpenCL pass-through back end 219 # ASTC emulation is only built on standalone non-android builds [all …]
|
| /external/deqp/scripts/ |
| D | check_swiftshader_runtime.py | 8 # https://www.apache.org/licenses/LICENSE-2.0 17 # - Python3 (apt-get install -y python3.x) 18 # - GO (apt-get install -y golang-go) 19 # - cmake (version 3.13 or later) 20 # - ninja (apt-get install -y ninja-build) 21 # - git (sudo apt-get install -y git) 24 # - crypto/openpgp (go get -u golang.org/x/crypto/openpgp...) 43 "-d", 44 "--directory", 48 default=str(Path(tempfile.gettempdir()) / "deqp-swiftshader") [all …]
|
| /external/angle/scripts/ |
| D | export_targets.py | 5 To update ANGLE in Gecko, use Windows with git-bash, and setup depot_tools, python2, and 12 It has branches like 'firefox-60' which is the branch we use for pulling into 15 This script leaves a record of the merge-base and cherry-picks that we pull into 18 ANGLE<->Chrome version mappings are here: https://omahaproxy.appspot.com/ 41 /path/to/gecko/gfx/angle/update-angle.py origin/chromium/XXXX 42 git push moz # Push the firefox-XX branch to github.com/mozilla/angle 59 # We need to set DEPOT_TOOLS_WIN_TOOLCHAIN to 0 for non-Googlers, but otherwise 75 # ------------------------------------------------------------------------------ 113 # ------------------------------------------------------------------------------ 118 p = run_checked('gn', 'desc', '--format=json', str(OUT_DIR), '*', stdout=subprocess.PIPE, [all …]
|