[build][c++23] Allow deprecations in Vulkan validation layers There's a use of a std::aligned_union which is deprecated in C++23, but this is gone in newer upstream versions of the code. But the upstream code has changed significantly, so patching our version would make updating harder, and updating to the latest upstream code may be non-trivial. Bug: 459923005 Change-Id: Ibc8a98536f195010a89d32fd5dc6534ce8628641 Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/Vulkan-ValidationLayers/+/1577879 Commit-Queue: Ian McKellar <ianloic@google.com> Fuchsia-Auto-Submit: Ian McKellar <ianloic@google.com> Reviewed-by: Craig Stout <cstout@google.com>
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.
For those who don't want to build from source, there are few ways to get working binaries to use
Before submitting an issue to the validation layers or reaching out to the developers it may be prudent to reach out to the community first. These resources can be helpful to refine your issue, work out an application/driver bug, etc.
The Validation Layers are broken up as many smaller internal “Validation Objects” each tasked with their own job. Core Checks is what is enabled by default, but there are other validation objects that can be additionally enabled, such as Synchronization Validation, GPU Assisted Validation, and more. There are also a few limitations stemming from the Validation layers being a Vulkan layer.
Updates to this repository which correspond to a new Vulkan specification release are tagged using the following format: v<version> (e.g., v1.3.266).
Note: Marked version releases have undergone thorough testing but do not imply the same quality level as SDK tags. SDK tags follow the vulkan-sdk-<version>.<patch> format (e.g., vulkan-sdk-1.3.266.0).
This scheme was adopted following the 1.3.266 Vulkan specification release.
Weekly automated (and untested) tags are generated with the following format: snapshot-<year>wk<week-number>, eg. snapshot-2024wk06.
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.