commit | d09491f173c4b3b9d3fff59adcb1393ff702fdb5 | [log] [tgz] |
---|---|---|
author | Yilong Li <liyl@google.com> | Sun Jan 02 02:08:35 2022 -0800 |
committer | Yilong Li <liyl@google.com> | Mon Jan 03 11:17:13 2022 -0800 |
tree | f564249d8f453b42be388c59b64fd2d92a019e3e | |
parent | 35a203fe65d5f52f254b35818b28b62366bf8d34 [diff] |
layers: Set up QUEUE_STATE when getting device queue A previous change (https://github.com/KhronosGroup/ Vulkan-ValidationLayers/pull/3370) makes state tracker only set up the queue state objects on vkCreateDevice() instead of on each vkGetDeviceQueue() call. However, this breaks some devices (e.g. goldfish-vulkan virtual ICD which is used for Android and Fuchsia emulator) where it could possibly return different queue handles on vkGetDeviceQueue(). In order to handle this case, state tracker should still try to update the queue map on each vkGetDeviceQueue() call. TEST: vkreadback (on Fuchsia emulator) Change-Id: Ib7a3f3b9808b5a7067bbcf0d1d97f7d7869dfd84
This project provides the Khronos official Vulkan validation layers for Windows, Linux, Android, and MacOS.
Build Status |
---|
Vulkan is an Explicit API, enabling direct control over how GPUs actually work. By design, minimal error checking is done inside a Vulkan driver. Applications have full control and responsibility for correct operation. Any errors in how Vulkan is used can result in a crash. This project provides Vulkan validation layers that can be enabled to assist development by enabling developers to verify their applications correct use of the Vulkan API.
The following components are available in this repository:
Please see the CONTRIBUTING.md file in this repository for more details. Please see the GOVERNANCE.md file in this repository for repository management details.
BUILD.md Includes directions for building all components as well as running validation tests.
Information on how to enable the various Validation layers is in LAYER_CONFIGURATION.md.
Updates to the Vulkan-ValidationLayers
repository which correspond to a new Vulkan specification release are tagged using the following format: v<
version
>
(e.g., v1.1.96
).
Note: Marked version releases have undergone thorough testing but do not imply the same quality level as SDK tags. SDK tags follow the sdk-<
version
>.<
patch
>
format (e.g., sdk-1.1.92.0
).
This scheme was adopted following the 1.1.96 Vulkan specification release.
This work is released as open source under a Apache-style license from Khronos including a Khronos copyright.
See LICENSE.txt for a full list of licenses used in this repository.
While this project has been developed primarily by LunarG, Inc., there are many other companies and individuals making this possible: Valve Corporation, funding project development; Google providing significant contributions to the validation layers; Khronos providing oversight and hosting of the project.