Squash merge of 1.4 vulkan headers Upstream repo: [email protected]:vulkan/Vulkan-Headers.git command: git merge --squash khronos/versions/1.4 Done as a squash because the upstream 1.4 history isn't yet visible to our gerrit. Bug: b/370568136 Squashed commit of the following: commit 88569311950dc581229537159441f9dbcc9aab2d Author: Mike Schuchardt <[email protected]> Date: Fri Sep 6 16:38:48 2024 -0700 Sync with vulkan/vulkan 1.4 commit e56a4c3f3d5905d07a56b975abdd405511e5f7ce Author: Mike Schuchardt <[email protected]> Date: Thu Jul 11 22:44:59 2024 -0700 Update for vulkan/vulkan 1.4 commit 78a92e2c7c5aa1c7b7e6f9c475bd9009977ea8f9 Author: Charles Giessen <[email protected]> Date: Wed Jul 10 11:08:19 2024 -0500 build: Require MSVC 17.11 for module support 17.10 and before has a bug that prevents the vulkan.cppm module from compiling. The module support wont be enabled unless the MSVC version contains the fix. commit 6c539b2ed2dba2997cdedeac0b376ff2fe382595 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Jul 8 17:24:36 2024 +0000 build(deps): bump fsfe/reuse-action from 3 to 4 Bumps [fsfe/reuse-action](https://github.com/fsfe/reuse-action) from 3 to 4. - [Release notes](https://github.com/fsfe/reuse-action/releases) - [Commits](https://github.com/fsfe/reuse-action/compare/v3...v4) --- updated-dependencies: - dependency-name: fsfe/reuse-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> commit 4b9ea26d48f23e260c57bece311660d9e5c7ff23 Author: Jon Leech <[email protected]> Date: Sun Jul 7 02:40:44 2024 -0700 Change name of update to Makefile.release Per https://github.com/KhronosGroup/Vulkan-Headers/pull/487#issuecomment-2187478137 commit 67dcf5647c697a3a21fc6fa4976b1ec57338fb51 Author: Jon Leech <[email protected]> Date: Sat Jun 22 01:14:54 2024 -0700 Makefile to import generated scripts and headers when doing a spec update Motivated by recent problems building the SC 1.0.15 spec update - will import to VulkanSC-Headers and tweak once it's proven out for Vulkan-Headers. The Makefile may need to be modified when directory structure is changed or new files are added. commit 190d2cb24e90e5bf2bec0a75604a9b3586485b6d Author: Jon Leech <[email protected]> Date: Fri Jun 28 02:48:52 2024 -0700 Update for Vulkan-Docs 1.3.289 commit e3c37e6e184a232e10b01dff5a065ce48c047f88 Author: Charles Giessen <[email protected]> Date: Tue Jun 18 14:32:15 2024 -0500 cmake: Workaround MSVC module support compiler bug Adds the VULKAN_HEADERS_ENABLE_MODULE option to control whether to build the Vulkan-Hpp module. This is necessary to allow CI to pass while waiting for the MSVC version 17.11, which fixes an internal compiler bug, to be added to github actions runners. commit cde27c9456aed7117385e7469c4fc5ea3e1baa7f Author: Charles Giessen <[email protected]> Date: Tue Jun 18 13:18:54 2024 -0500 ci: Add explicit build step This tests the Vulkan Module building without needing to run inside an integration test. While theoretically the integration tests will exercise the build, the nature of running the build inside of a test makes it more difficult to diagnose if the test is poorly setup or if the build itself isn't working. commit 7dacb97fbace2f102d65aa3a49bff3cfe316b515 Author: Charles Giessen <[email protected]> Date: Tue Jun 18 12:57:48 2024 -0500 cmake: Remove explicit install of Vulkan-Module Installing a C++ module in CMake isn't something which is well defined currently. Rather than add code which behaves poorly or flat out wrong, it is better to not try to install a binary module for the time being. The vulkan.cppm file is still included in the install so downstream users can still create a module from it. commit a692a9c939e1cafbf30ecdfb561a4ff179504fa6 Author: Charles Giessen <[email protected]> Date: Tue Jun 18 12:32:04 2024 -0500 ci: Add install step commit 85256c712ce9ee9755ae74faacc3e6a1d2c5eddf Author: Sharadh Rajaraman <[email protected]> Date: Fri Jun 14 23:53:27 2024 +0100 Add `vulkan.cppm` as a separate library: `Vulkan::VulkanHppModule` - Guarded behind `if()` version and compiler test - Linked to `Vulkan-Headers` as a dependency - Also added `CXX` to the `LANGUAGES` property of the project commit 8f034f6b48fd2d30f711396a021e1dc050c8941c Author: David Neto <[email protected]> Date: Tue Feb 13 19:17:22 2024 +0000 cmake: Allow external control of whether to test or install This makes the project more composable: It can be built and tested as part of a larger set of projects, from source. commit 05fe2cc910a68c9ba5dac07db46ef78573acee72 Author: Jon Leech <[email protected]> Date: Fri Jun 14 05:43:27 2024 -0700 Update for Vulkan-Docs 1.3.288 commit d192041a2fc9c9fd8ae67d8ae3f32c5511541f04 Author: Jon Leech <[email protected]> Date: Fri Jun 7 04:57:34 2024 -0700 Update for Vulkan-Docs 1.3.287 commit 192d051db3382e213f8bd9d8048fc9eaa78ed6ab Author: Jon Leech <[email protected]> Date: Fri May 31 03:02:48 2024 -0700 Update for Vulkan-Docs 1.3.286 commit 5677bafb820e476441e9e1f745371b72133407d3 Author: Jon Leech <[email protected]> Date: Fri May 10 01:34:47 2024 -0700 Update for Vulkan-Docs 1.3.285 commit 4bc77c26ff9ce89cf4a4f79e1c24a44604132d53 Author: Jon Leech <[email protected]> Date: Sun May 5 22:30:49 2024 -0700 Update for Vulkan-Docs 1.3.284 commit eaa319dade959cb61ed2229c8ea42e307cc8f8b3 Author: Jon Leech <[email protected]> Date: Thu Apr 18 23:53:01 2024 -0700 Update for Vulkan-Docs 1.3.283 commit 1e7b8a6d03d30c9254b5f533b561d62bba8c3199 Author: Jon Leech <[email protected]> Date: Sun Apr 14 00:25:31 2024 -0700 Update for Vulkan-Docs 1.3.282 commit cfebfc96b2b0bce93da7d12f2c14cc01793ae25c Author: Jon Leech <[email protected]> Date: Fri Mar 22 03:58:54 2024 -0700 Update for Vulkan-Docs 1.3.281 commit 577baa05033cf1d9236b3d078ca4b3269ed87a2b Author: Jon Leech <[email protected]> Date: Fri Mar 8 05:12:01 2024 -0800 Update for Vulkan-Docs 1.3.280 commit f030d9dd8ca297b84b10330cee87f72acc3b0aab Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Mar 4 17:33:18 2024 +0000 build(deps): bump fsfe/reuse-action from 2 to 3 Bumps [fsfe/reuse-action](https://github.com/fsfe/reuse-action) from 2 to 3. - [Release notes](https://github.com/fsfe/reuse-action/releases) - [Commits](https://github.com/fsfe/reuse-action/compare/v2...v3) --- updated-dependencies: - dependency-name: fsfe/reuse-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> commit 46dc0f6e514f5730784bb2cac2a7c731636839e8 Author: Jon Leech <[email protected]> Date: Fri Mar 1 06:25:39 2024 -0800 Update for Vulkan-Docs 1.3.279 commit 31aa7f634b052d87ede4664053e85f3f4d1d50d3 Author: Jon Leech <[email protected]> Date: Fri Feb 16 02:32:27 2024 -0800 Update for Vulkan-Docs 1.3.278 commit 5ac36269f50381bdd92a5e1973d8eb041771e59e Author: unknown <[email protected]> Date: Fri Feb 9 10:05:03 2024 -0600 build: Update build.gn with AV1 headers av1std_decode.h & av1std.h were added recently and needed adding to the build.gn build. commit 5a5c9a643484d888873e32c5d7d484fae8e71d3d Author: Jon Leech <[email protected]> Date: Thu Feb 1 05:48:32 2024 -0800 Update for Vulkan-Docs 1.3.277 commit ea45703effcb01df0856628286f8a890dd313ecd Author: Jon Leech <[email protected]> Date: Thu Jan 25 03:50:31 2024 -0800 Fix REUSE commit 170cde531f13bb367f6eaa6a392c0058a73bda03 Author: Jon Leech <[email protected]> Date: Thu Jan 25 03:38:43 2024 -0800 Update for Vulkan-Docs 1.3.276 Note that `registry/profiles/VP_KHR_roadmap.json` was renamed from `registry/profiles/VP_KHR_roadmap_2022.json`, now that the file contains multiple roadmap profiles. Change-Id: I13201957071623679847bcd7380762b739d02c10
Vulkan header files and API registry
This repository contains Vulkan header files, include files for C and C++, and related scripts and tests.
Most of the files in this repository are sourced from, or generated from, other repositories as described in CONTRIBUTING.md. Vulkan-Headers exists as a staging area for these files, most of which are then consumed by downstream repositories used to build SDK components such as the Vulkan Validation Layers and Conformance Test Suite.
Developers normally obtain headers from the official Vulkan-SDK. They can also use headers from, or packaged from, this repository.
In most cases, developers should only need the headers, not the scripts and other material in this repository. If you need to run the scripts, please use them from their canonical source in the Vulkan Specification repository.
See the CONTRIBUTING.md
See BUILD.md
Vulkan-Headers are shipped as part of the official Vulkan-SDK
Vulkan-Headers are also supported by both conan & vcpkg.
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.