Commit graph

479 commits

Author SHA1 Message Date
dependabot[bot]
f864bc6dfe build(deps): bump fsfe/reuse-action from 4 to 5
Some checks failed
ci / cmake-unix (3.15, macos-latest) (push) Has been cancelled
ci / cmake-unix (3.15, ubuntu-latest) (push) Has been cancelled
ci / cmake-unix (latest, macos-latest) (push) Has been cancelled
ci / cmake-unix (latest, ubuntu-latest) (push) Has been cancelled
ci / cmake-windows (3.15) (push) Has been cancelled
ci / cmake-windows (latest) (push) Has been cancelled
ci / windows_clang (clang) (push) Has been cancelled
ci / windows_clang (clang-cl) (push) Has been cancelled
ci / reuse (push) Has been cancelled
Bumps [fsfe/reuse-action](https://github.com/fsfe/reuse-action) from 4 to 5.
- [Release notes](https://github.com/fsfe/reuse-action/releases)
- [Commits](https://github.com/fsfe/reuse-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: fsfe/reuse-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-19 12:56:41 -07:00
Jon Leech
cbcad3c058 Update for Vulkan-Docs 1.3.301
Some checks failed
ci / cmake-unix (3.15, macos-latest) (push) Has been cancelled
ci / cmake-unix (3.15, ubuntu-latest) (push) Has been cancelled
ci / cmake-unix (latest, macos-latest) (push) Has been cancelled
ci / cmake-unix (latest, ubuntu-latest) (push) Has been cancelled
ci / cmake-windows (3.15) (push) Has been cancelled
ci / cmake-windows (latest) (push) Has been cancelled
ci / windows_clang (clang) (push) Has been cancelled
ci / windows_clang (clang-cl) (push) Has been cancelled
ci / reuse (push) Has been cancelled
2024-11-01 19:52:35 -07:00
Charles Giessen
f2eb740f3f build: Disable Vulkan-Module by default
Some checks failed
ci / cmake-unix (3.15, macos-latest) (push) Has been cancelled
ci / cmake-unix (3.15, ubuntu-latest) (push) Has been cancelled
ci / cmake-unix (latest, macos-latest) (push) Has been cancelled
ci / cmake-unix (latest, ubuntu-latest) (push) Has been cancelled
ci / cmake-windows (3.15) (push) Has been cancelled
ci / cmake-windows (latest) (push) Has been cancelled
ci / windows_clang (clang) (push) Has been cancelled
ci / windows_clang (clang-cl) (push) Has been cancelled
ci / reuse (push) Has been cancelled
After numerous reports of builds being broken due to the addition of the
Vulkan-Module support code in CMake, the option is being set to OFF by
default. This prevents projects which do not use the module from not being
able to build due to compiler, build system, and platform issues. Projects
wishing to enable modules can set the cmake option
VULKAN_HEADERS_ENABLE_MODULE=ON to re-enable the module support.

Add a warning in case a user decides to enable the module but the platform
doesn't support modules.
2024-10-29 13:14:06 -06:00
Jon Leech
ab1ea9059d Update for Vulkan-Docs 1.3.300
Some checks failed
ci / cmake-unix (3.15, macos-latest) (push) Has been cancelled
ci / cmake-unix (3.15, ubuntu-latest) (push) Has been cancelled
ci / cmake-unix (latest, macos-latest) (push) Has been cancelled
ci / cmake-unix (latest, ubuntu-latest) (push) Has been cancelled
ci / cmake-windows (3.15) (push) Has been cancelled
ci / cmake-windows (latest) (push) Has been cancelled
ci / windows_clang (clang) (push) Has been cancelled
ci / windows_clang (clang-cl) (push) Has been cancelled
ci / reuse (push) Has been cancelled
2024-10-25 07:05:29 -07:00
Charles Giessen
e271cfd480 ci: Only run once if pushing to main repo branch
Some checks failed
ci / cmake-unix (3.15, macos-latest) (push) Has been cancelled
ci / cmake-unix (3.15, ubuntu-latest) (push) Has been cancelled
ci / cmake-unix (latest, macos-latest) (push) Has been cancelled
ci / cmake-unix (latest, ubuntu-latest) (push) Has been cancelled
ci / cmake-windows (3.15) (push) Has been cancelled
ci / cmake-windows (latest) (push) Has been cancelled
ci / windows_clang (clang) (push) Has been cancelled
ci / windows_clang (clang-cl) (push) Has been cancelled
ci / reuse (push) Has been cancelled
2024-10-22 10:42:45 -06:00
Jon Leech
b955ae0edb Update for Vulkan-Docs 1.3.299
Some checks failed
ci / cmake-unix (3.15, macos-latest) (push) Has been cancelled
ci / cmake-unix (3.15, ubuntu-latest) (push) Has been cancelled
ci / cmake-unix (latest, macos-latest) (push) Has been cancelled
ci / cmake-unix (latest, ubuntu-latest) (push) Has been cancelled
ci / cmake-windows (3.15) (push) Has been cancelled
ci / cmake-windows (latest) (push) Has been cancelled
ci / windows_clang (clang) (push) Has been cancelled
ci / windows_clang (clang-cl) (push) Has been cancelled
ci / reuse (push) Has been cancelled
2024-10-18 04:46:17 -07:00
Jon Leech
d91597a82f Update for Vulkan-Docs 1.3.298
Some checks failed
ci / cmake-unix (3.15, macos-latest) (push) Has been cancelled
ci / cmake-unix (3.15, ubuntu-latest) (push) Has been cancelled
ci / cmake-unix (latest, macos-latest) (push) Has been cancelled
ci / cmake-unix (latest, ubuntu-latest) (push) Has been cancelled
ci / cmake-windows (3.15) (push) Has been cancelled
ci / cmake-windows (latest) (push) Has been cancelled
ci / windows_clang (clang) (push) Has been cancelled
ci / windows_clang (clang-cl) (push) Has been cancelled
ci / reuse (push) Has been cancelled
2024-10-11 01:41:38 -07:00
Jon Leech
14345dab23 Update for Vulkan-Docs 1.3.297
Some checks failed
ci / cmake-unix (3.15, macos-latest) (push) Has been cancelled
ci / cmake-unix (3.15, ubuntu-latest) (push) Has been cancelled
ci / cmake-unix (latest, macos-latest) (push) Has been cancelled
ci / cmake-unix (latest, ubuntu-latest) (push) Has been cancelled
ci / cmake-windows (3.15) (push) Has been cancelled
ci / cmake-windows (latest) (push) Has been cancelled
ci / windows_clang (clang) (push) Has been cancelled
ci / windows_clang (clang-cl) (push) Has been cancelled
ci / reuse (push) Has been cancelled
2024-10-04 07:10:10 -07:00
Jon Leech
29f979ee5a Update for Vulkan-Docs 1.3.296
Some checks failed
ci / cmake-unix (3.15, macos-latest) (push) Has been cancelled
ci / cmake-unix (3.15, ubuntu-latest) (push) Has been cancelled
ci / cmake-unix (latest, macos-latest) (push) Has been cancelled
ci / cmake-unix (latest, ubuntu-latest) (push) Has been cancelled
ci / cmake-windows (3.15) (push) Has been cancelled
ci / cmake-windows (latest) (push) Has been cancelled
ci / windows_clang (clang) (push) Has been cancelled
ci / windows_clang (clang-cl) (push) Has been cancelled
ci / reuse (push) Has been cancelled
2024-09-26 00:50:55 -07:00
Mike Schuchardt
c6391a7b8c Fix MSVC identification for modules support
Some checks failed
ci / cmake-unix (3.15, macos-latest) (push) Has been cancelled
ci / cmake-unix (3.15, ubuntu-latest) (push) Has been cancelled
ci / cmake-unix (latest, macos-latest) (push) Has been cancelled
ci / cmake-unix (latest, ubuntu-latest) (push) Has been cancelled
ci / cmake-windows (3.15) (push) Has been cancelled
ci / cmake-windows (latest) (push) Has been cancelled
ci / windows_clang (clang) (push) Has been cancelled
ci / windows_clang (clang-cl) (push) Has been cancelled
ci / reuse (push) Has been cancelled
Can't use `MSVC` var because it is also true for clang-cl. Fixes #500.
2024-08-30 10:54:22 -06:00
Jon Leech
fbda05468e Update for Vulkan-Docs 1.3.295
Some checks are pending
ci / cmake-unix (3.15, macos-latest) (push) Waiting to run
ci / cmake-unix (3.15, ubuntu-latest) (push) Waiting to run
ci / cmake-unix (latest, macos-latest) (push) Waiting to run
ci / cmake-unix (latest, ubuntu-latest) (push) Waiting to run
ci / cmake-windows (3.15) (push) Waiting to run
ci / cmake-windows (latest) (push) Waiting to run
ci / windows_clang (clang) (push) Waiting to run
ci / windows_clang (clang-cl) (push) Waiting to run
ci / reuse (push) Waiting to run
2024-08-30 02:52:20 -07:00
Jon Leech
a6a5dc0d07 Update for Vulkan-Docs 1.3.294
Some checks failed
ci / cmake-unix (3.15, macos-latest) (push) Has been cancelled
ci / cmake-unix (3.15, ubuntu-latest) (push) Has been cancelled
ci / cmake-unix (latest, macos-latest) (push) Has been cancelled
ci / cmake-unix (latest, ubuntu-latest) (push) Has been cancelled
ci / cmake-windows (3.15) (push) Has been cancelled
ci / cmake-windows (latest) (push) Has been cancelled
ci / windows_clang (clang) (push) Has been cancelled
ci / windows_clang (clang-cl) (push) Has been cancelled
ci / reuse (push) Has been cancelled
2024-08-23 04:06:14 -07:00
Jon Leech
d205aff40b Update for Vulkan-Docs 1.3.293
Some checks failed
ci / cmake-unix (3.15, macos-latest) (push) Has been cancelled
ci / cmake-unix (3.15, ubuntu-latest) (push) Has been cancelled
ci / cmake-unix (latest, macos-latest) (push) Has been cancelled
ci / cmake-unix (latest, ubuntu-latest) (push) Has been cancelled
ci / cmake-windows (3.15) (push) Has been cancelled
ci / cmake-windows (latest) (push) Has been cancelled
ci / windows_clang (clang) (push) Has been cancelled
ci / windows_clang (clang-cl) (push) Has been cancelled
ci / reuse (push) Has been cancelled
2024-08-16 04:12:03 -07:00
Jon Leech
595c8d4794 Update for Vulkan-Docs 1.3.292
Some checks failed
ci / cmake-unix (3.15, macos-latest) (push) Has been cancelled
ci / cmake-unix (3.15, ubuntu-latest) (push) Has been cancelled
ci / cmake-unix (latest, macos-latest) (push) Has been cancelled
ci / cmake-unix (latest, ubuntu-latest) (push) Has been cancelled
ci / cmake-windows (3.15) (push) Has been cancelled
ci / cmake-windows (latest) (push) Has been cancelled
ci / windows_clang (clang) (push) Has been cancelled
ci / windows_clang (clang-cl) (push) Has been cancelled
ci / reuse (push) Has been cancelled
2024-07-27 05:26:27 -07:00
Jon Leech
fabe9e2672 Update for Vulkan-Docs 1.3.291
Some checks failed
ci / cmake-unix (3.15, macos-latest) (push) Has been cancelled
ci / cmake-unix (3.15, ubuntu-latest) (push) Has been cancelled
ci / cmake-unix (latest, macos-latest) (push) Has been cancelled
ci / cmake-unix (latest, ubuntu-latest) (push) Has been cancelled
ci / cmake-windows (3.15) (push) Has been cancelled
ci / cmake-windows (latest) (push) Has been cancelled
ci / windows_clang (clang) (push) Has been cancelled
ci / windows_clang (clang-cl) (push) Has been cancelled
ci / reuse (push) Has been cancelled
2024-07-19 02:38:51 -07:00
Charles Giessen
b379292b2a cmake: Disable modules if clang-scan-deps is missing
Some checks failed
ci / cmake-unix (3.15, macos-latest) (push) Has been cancelled
ci / cmake-unix (3.15, ubuntu-latest) (push) Has been cancelled
ci / cmake-unix (latest, macos-latest) (push) Has been cancelled
ci / cmake-unix (latest, ubuntu-latest) (push) Has been cancelled
ci / cmake-windows (3.15) (push) Has been cancelled
ci / cmake-windows (latest) (push) Has been cancelled
ci / windows_clang (clang) (push) Has been cancelled
ci / windows_clang (clang-cl) (push) Has been cancelled
ci / reuse (push) Has been cancelled
clang ships the clang-scan-deps tool separately from the compiler, making it possible
that the clang compiler supports modules but cannot be used by CMake for VulkanHppModule.

The straightforward solution is to, when using clang, check that the scan deps tools was
located. This prevents people who are using clang but not the modules from being unable
to use Vulkan-Headers when the clang-scan-deps tools is missing.
2024-07-16 01:13:21 -05:00
Charles Giessen
fc6c06ac52 Disable VulkanHppModule support in clang-cl
Some checks failed
ci / cmake-unix (3.15, macos-latest) (push) Has been cancelled
ci / cmake-unix (3.15, ubuntu-latest) (push) Has been cancelled
ci / cmake-unix (latest, macos-latest) (push) Has been cancelled
ci / cmake-unix (latest, ubuntu-latest) (push) Has been cancelled
ci / cmake-windows (3.15) (push) Has been cancelled
ci / cmake-windows (latest) (push) Has been cancelled
ci / windows_clang (clang) (push) Has been cancelled
ci / windows_clang (clang-cl) (push) Has been cancelled
ci / reuse (push) Has been cancelled
The current released versions of clang-cl does not work with CMakes
module implementation. Rather than break downstream users, just disable
the module support for the time being.
2024-07-12 14:13:48 -05:00
Charles Giessen
5952791798 Add windows clang & clang-cl CI jobs 2024-07-12 14:13:48 -05:00
Jon Leech
f41928bd4a Update for Vulkan-Docs 1.3.290
Some checks are pending
ci / cmake-unix (3.15, macos-latest) (push) Waiting to run
ci / cmake-unix (3.15, ubuntu-latest) (push) Waiting to run
ci / cmake-unix (latest, macos-latest) (push) Waiting to run
ci / cmake-unix (latest, ubuntu-latest) (push) Waiting to run
ci / cmake-windows (3.15) (push) Waiting to run
ci / cmake-windows (latest) (push) Waiting to run
ci / reuse (push) Waiting to run
2024-07-12 00:13:36 -07:00
Charles Giessen
78a92e2c7c build: Require MSVC 17.11 for module support
Some checks failed
ci / cmake-unix (3.15, macos-latest) (push) Has been cancelled
ci / cmake-unix (3.15, ubuntu-latest) (push) Has been cancelled
ci / cmake-unix (latest, macos-latest) (push) Has been cancelled
ci / cmake-unix (latest, ubuntu-latest) (push) Has been cancelled
ci / cmake-windows (3.15) (push) Has been cancelled
ci / cmake-windows (latest) (push) Has been cancelled
ci / reuse (push) Has been cancelled
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.
2024-07-10 11:12:48 -05:00
dependabot[bot]
6c539b2ed2 build(deps): bump fsfe/reuse-action from 3 to 4
Some checks failed
ci / cmake-unix (3.15, macos-latest) (push) Has been cancelled
ci / cmake-unix (3.15, ubuntu-latest) (push) Has been cancelled
ci / cmake-unix (latest, macos-latest) (push) Has been cancelled
ci / cmake-unix (latest, ubuntu-latest) (push) Has been cancelled
ci / cmake-windows (3.15) (push) Has been cancelled
ci / cmake-windows (latest) (push) Has been cancelled
ci / reuse (push) Has been cancelled
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] <support@github.com>
2024-07-08 13:11:15 -05:00
Jon Leech
4b9ea26d48 Change name of update to Makefile.release
Some checks failed
ci / cmake-unix (3.15, macos-latest) (push) Has been cancelled
ci / cmake-unix (3.15, ubuntu-latest) (push) Has been cancelled
ci / cmake-unix (latest, macos-latest) (push) Has been cancelled
ci / cmake-unix (latest, ubuntu-latest) (push) Has been cancelled
ci / cmake-windows (3.15) (push) Has been cancelled
ci / cmake-windows (latest) (push) Has been cancelled
ci / reuse (push) Has been cancelled
Per https://github.com/KhronosGroup/Vulkan-Headers/pull/487#issuecomment-2187478137
2024-07-07 14:05:33 -05:00
Jon Leech
67dcf5647c 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.
2024-07-07 14:05:33 -05:00
Jon Leech
190d2cb24e Update for Vulkan-Docs 1.3.289
Some checks failed
ci / cmake-unix (3.15, macos-latest) (push) Has been cancelled
ci / cmake-unix (3.15, ubuntu-latest) (push) Has been cancelled
ci / cmake-unix (latest, macos-latest) (push) Has been cancelled
ci / cmake-unix (latest, ubuntu-latest) (push) Has been cancelled
ci / cmake-windows (3.15) (push) Has been cancelled
ci / cmake-windows (latest) (push) Has been cancelled
ci / reuse (push) Has been cancelled
2024-06-28 02:50:56 -07:00
Charles Giessen
e3c37e6e18 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.
2024-06-18 14:25:22 -06:00
Charles Giessen
cde27c9456 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.
2024-06-18 14:25:22 -06:00
Charles Giessen
7dacb97fba 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.
2024-06-18 14:25:22 -06:00
Charles Giessen
a692a9c939 ci: Add install step 2024-06-18 14:25:22 -06:00
Sharadh Rajaraman
85256c712c 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
2024-06-18 14:25:22 -06:00
David Neto
8f034f6b48 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.
2024-06-14 14:42:51 -06:00
Jon Leech
05fe2cc910 Update for Vulkan-Docs 1.3.288 2024-06-14 05:46:24 -07:00
Jon Leech
d192041a2f Update for Vulkan-Docs 1.3.287 2024-06-07 05:09:34 -07:00
Jon Leech
192d051db3 Update for Vulkan-Docs 1.3.286 2024-05-31 03:06:51 -07:00
Jon Leech
5677bafb82 Update for Vulkan-Docs 1.3.285 2024-05-10 01:39:29 -07:00
Jon Leech
4bc77c26ff Update for Vulkan-Docs 1.3.284 2024-05-05 22:35:37 -07:00
Jon Leech
eaa319dade Update for Vulkan-Docs 1.3.283 2024-04-18 23:54:17 -07:00
Jon Leech
1e7b8a6d03 Update for Vulkan-Docs 1.3.282 2024-04-14 00:28:51 -07:00
Jon Leech
cfebfc96b2 Update for Vulkan-Docs 1.3.281 2024-03-22 04:06:02 -07:00
Jon Leech
577baa0503 Update for Vulkan-Docs 1.3.280 2024-03-08 05:16:31 -08:00
dependabot[bot]
f030d9dd8c 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] <support@github.com>
2024-03-04 10:37:11 -07:00
Jon Leech
46dc0f6e51 Update for Vulkan-Docs 1.3.279 2024-03-01 06:26:07 -08:00
Jon Leech
31aa7f634b Update for Vulkan-Docs 1.3.278 2024-02-16 02:34:38 -08:00
unknown
5ac36269f5 build: Update build.gn with AV1 headers
av1std_decode.h & av1std.h were added recently and needed adding to the
build.gn build.
2024-02-09 08:18:46 -08:00
Jon Leech
5a5c9a6434 Update for Vulkan-Docs 1.3.277 2024-02-01 05:51:47 -08:00
Jon Leech
ea45703eff Fix REUSE 2024-01-25 03:53:51 -08:00
Jon Leech
170cde531f 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.
2024-01-25 03:53:51 -08:00
Jon Leech
217e93c664 Update for Vulkan-Docs 1.3.275 2024-01-05 05:16:23 -08:00
Jon Leech
80207f9da8 Update for Vulkan-Docs 1.3.274 2023-12-19 03:17:29 -08:00
Jon Leech
41263fc5aa Update for Vulkan-Docs 1.3.273 2023-12-08 06:36:27 -08:00
Jon Leech
19a863ccce Update for Vulkan-Docs 1.3.272 2023-12-01 03:22:54 -08:00