Commit graph

503 commits

Author SHA1 Message Date
Jon Leech
5ceb9ed481 Update for Vulkan-Docs 1.4.312 2025-04-04 04:45:22 -07:00
Jan Kuhlmann
2ac81691ba adjusted fnc name 2025-03-31 09:52:53 -06:00
Jan Kuhlmann
a523083f72 simplified cpp module to not require function loading 2025-03-31 09:52:53 -06:00
Jan Kuhlmann
cb28cd1819 replaced minimal example for modules 2025-03-31 09:52:53 -06:00
Jan Kuhlmann
24ce771ec1 fixed linewrap on windows and CXX compiler on ubuntu 2025-03-31 09:52:53 -06:00
Jan Kuhlmann
cafcda9360 Added licenses and used included headers in minimal examples
Co-authored-by: jpr42 <109434725+jpr42@users.noreply.github.com>
2025-03-31 09:52:53 -06:00
Jan Kuhlmann
2b1e9e7409 added c++20 workflows for modules in ubuntu and windows 2025-03-31 09:52:53 -06:00
Jan Kuhlmann
a72b4466b3 minimal compilation setups for Vulkan::Hpp and Vulkan::HppModule 2025-03-31 09:52:53 -06:00
Jan Kuhlmann
fdc7404466 merged subdirectory tests 2025-03-31 09:52:53 -06:00
Jan Kuhlmann
9417d66dcf integration tests for cxx modules 2025-03-31 09:52:53 -06:00
Jon Leech
78c359741d Update for Vulkan-Docs 1.4.311 2025-03-20 23:33:08 -07:00
Jan Kuhlmann
d64e9e156a cmake: Rename Vulkan-Module to Vulkan-HppModule
The new name better indicates that the target is for Vulkan-Hpp.
The old Vulkan-Module and Vulkan::Module targets are now
deprecated and users should switch to Vulkan-HppModule.

Vulkan-HppModule now supports `import std` when available.

The commit disables cxx_extensions when using clang-16 due to
known issues.
2025-03-17 15:44:30 -06:00
Jon Leech
cacef3039d Update for Vulkan-Docs 1.4.310 2025-03-07 05:15:59 -08:00
Tom Anderson
0f0cfd88d7 GN build: Define VK_USE_PLATFORM_XLIB_KHR
This is required to define vkCreateXlibSurfaceKHR, which is required
by GTK4.

Depends on Dawn CL:
https://dawn-review.googlesource.com/c/dawn/+/229494

Needed to fix this Chromium issue:
https://g-issues.chromium.org/issues/345261080
2025-03-06 15:49:41 -06:00
Jon Leech
952f776f65 Update for Vulkan-Docs 1.4.309 2025-02-21 03:24:08 -08:00
Juan Ramos
234c4b7370 cmake: Update minimum version to 3.22.1
Matches Vulkan Validation Layers and SPIRV-Tools.
2025-02-04 16:44:38 -07:00
Jon Leech
39f924b810 Update for Vulkan-Docs 1.4.307 2025-01-30 01:57:39 -08:00
Jon Leech
e43027aa41 Update for Vulkan-Docs 1.4.306 2025-01-24 05:52:25 -08:00
Jon Leech
a03d2f6d57 Update for Vulkan-Docs 1.4.305 2025-01-17 03:16:54 -08:00
Jon Leech
d4a196d8c8 Update for Vulkan-Docs 1.4.304 2024-12-19 21:43:52 -08:00
Jon Leech
6a74a7d65c Add missing validusage.json and fix Makefile.release for new registry structure 2024-12-04 00:19:07 -08:00
Jon Leech
49af1bfe46 Update for Vulkan-Docs 1.4.303 2024-12-02 01:48:54 -08:00
Shahbaz Youssefi
9dff1f571c Fix GN include checks 2024-11-28 09:13:14 -07:00
Jon Leech
36872f9062 Update for Vulkan-Docs 1.3.302 2024-11-20 22:40:11 -08:00
dependabot[bot]
f864bc6dfe build(deps): bump fsfe/reuse-action from 4 to 5
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 2024-11-01 19:52:35 -07:00
Charles Giessen
f2eb740f3f build: Disable Vulkan-Module by default
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 2024-10-25 07:05:29 -07:00
Charles Giessen
e271cfd480 ci: Only run once if pushing to main repo branch 2024-10-22 10:42:45 -06:00
Jon Leech
b955ae0edb Update for Vulkan-Docs 1.3.299 2024-10-18 04:46:17 -07:00
Jon Leech
d91597a82f Update for Vulkan-Docs 1.3.298 2024-10-11 01:41:38 -07:00
Jon Leech
14345dab23 Update for Vulkan-Docs 1.3.297 2024-10-04 07:10:10 -07:00
Jon Leech
29f979ee5a Update for Vulkan-Docs 1.3.296 2024-09-26 00:50:55 -07:00
Mike Schuchardt
c6391a7b8c Fix MSVC identification for modules support
Can't use `MSVC` var because it is also true for clang-cl. Fixes .
2024-08-30 10:54:22 -06:00
Jon Leech
fbda05468e Update for Vulkan-Docs 1.3.295 2024-08-30 02:52:20 -07:00
Jon Leech
a6a5dc0d07 Update for Vulkan-Docs 1.3.294 2024-08-23 04:06:14 -07:00
Jon Leech
d205aff40b Update for Vulkan-Docs 1.3.293 2024-08-16 04:12:03 -07:00
Jon Leech
595c8d4794 Update for Vulkan-Docs 1.3.292 2024-07-27 05:26:27 -07:00
Jon Leech
fabe9e2672 Update for Vulkan-Docs 1.3.291 2024-07-19 02:38:51 -07:00
Charles Giessen
b379292b2a cmake: Disable modules if clang-scan-deps is missing
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
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 2024-07-12 00:13:36 -07:00
Charles Giessen
78a92e2c7c 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.
2024-07-10 11:12:48 -05:00
dependabot[bot]
6c539b2ed2 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] <support@github.com>
2024-07-08 13:11:15 -05:00
Jon Leech
4b9ea26d48 Change name of update to Makefile.release
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 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