Commit Graph

2061 Commits

Author SHA1 Message Date
Andreas Süßenbach
56fdc0b070
Generate only the standard version for commands that would require vector-operations inside a struct. (#1970)
Some checks failed
Set Version Tag / set-version-tag (push) Has been cancelled
2024-10-09 16:06:13 +02:00
Andreas Süßenbach
00dac1bd21
Add check on <syncstage> <syncsupport> "queues" being specified with at least one command. (#1968)
Some checks are pending
Set Version Tag / set-version-tag (push) Waiting to run
2024-10-08 13:25:37 +02:00
Andreas Süßenbach
b8e4e70adf
Add "BOOL" as accepted value for attribute <numericFormat> for the <component> of a <format> (#1967)
Some checks are pending
Set Version Tag / set-version-tag (push) Waiting to run
2024-10-07 17:58:00 +02:00
Andreas Süßenbach
3b9d6cced3
Upgraded check on required feature name being member of the required struct from warning to error. (#1966) 2024-10-07 17:57:38 +02:00
GitHub
26cf5590cb Update Vulkan-Headers to v1.3.297
Some checks failed
Set Version Tag / set-version-tag (push) Has been cancelled
2024-10-05 21:26:32 +02:00
Andreas Süßenbach
2af53173c8
Reshaped samples [RAII_]PhysicalDeviceProperties (#1961)
Some checks failed
Set Version Tag / set-version-tag (push) Has been cancelled
2024-09-26 09:14:35 +02:00
Andreas Süßenbach
31aac24adb
Move correctness checks on syncstage and syncaccess to checkCorrectness (#1960)
Some checks failed
Set Version Tag / set-version-tag (push) Has been cancelled
2024-09-23 13:47:05 +02:00
Andreas Süßenbach
e12c05d628
Add support for multiple top-level tags <types>, <commands>, and <extensions> (#1959)
Some checks failed
Set Version Tag / set-version-tag (push) Has been cancelled
2024-09-17 15:03:34 +02:00
Andreas Süßenbach
4e6e8d3fda
Add support for multiply aliased structs in <require>-<feature> tags. (#1958)
Some checks failed
Set Version Tag / set-version-tag (push) Has been cancelled
2024-09-05 17:44:31 +02:00
Sharadh Rajaraman
6abd3f42a8
Use import std; guarded by macro (#1932)
Some checks are pending
Set Version Tag / set-version-tag (push) Waiting to run
* Initial build and tests setup

* Enable the `CppStdModule` test

* Snippets and generator changes

* Generated files changes

* Enable std module with macro

* Unconditionally use `import std` with C++23

* Add support for external `import std` control with `VULKAN_HPP_ENABLE_STD_MODULE`

- Rewrite `includes.hpp` and `macros.hpp`
- Unconditionally set `VULKAN_HPP_ENABLE_STD_MODULE` for `vulkan.cppm` to bug-fix
- Generated necessary files again

* Top-level CMake changes

* Reorganise logic, and propagate external macro correctly

* RAII: vulkan_hpp before ifdef

* Define `VK_USE_64_BIT_PTR_DEFINES` in `vulkan_hpp_macros.hpp`

* Generate the `VK_USE_64_BIT_PTR_DEFINES` clause from the XML instead of hardcoding it

* Refactored handling for `VK_USE_64_BIT_PTR_DEFINES`

- Updated condition to positive test for `#ifndef VK_USE_64_BIT_PTR_DEFINES` in `completeMacro`

* Added `#include <string.h>` to resolve `strnlen` missing in the module

* Use only `std.compat`

* FIx after rebase
2024-09-05 08:48:19 +02:00
Andreas Süßenbach
7d423e64bf
Extend CI to run on ubuntu-20.04 (#1956)
Some checks are pending
Set Version Tag / set-version-tag (push) Waiting to run
2024-09-04 15:37:01 +02:00
Andreas Süßenbach
fbb62163a0
Mark deprecated enum values as deprecated (#1955)
Some checks are pending
Set Version Tag / set-version-tag (push) Waiting to run
2024-09-03 08:53:36 +02:00
github-actions[bot]
2fcbcfbefe
Update Vulkan-Headers to v1.3.295 (#1954)
Some checks are pending
Set Version Tag / set-version-tag (push) Waiting to run
Co-authored-by: GitHub <noreply@github.com>
2024-09-02 12:39:56 +02:00
Andreas Süßenbach
0262bef5cd
Add support for new <feature> tags. (#1953) 2024-08-27 13:33:57 +02:00
Andreas Süßenbach
98ea600e1f
Removed special handling for enumerating commands with complex size information via a struct, generating just the standard function in such cases (#1952) 2024-08-26 16:21:45 +02:00
github-actions[bot]
bd70384cd4
Update Vulkan-Headers to v1.3.294 (#1951)
Co-authored-by: GitHub <noreply@github.com>
2024-08-26 16:06:58 +02:00
Andreas Süßenbach
ecd4b59328
Remove move-constructor and deleted move-assignment of vk::StructureChain. (#1949) 2024-08-26 09:45:57 +02:00
Andreas Süßenbach
1069a086a6
Add g++-14 to MacOS workflow (#1948) 2024-08-21 18:06:26 +02:00
Andreas Süßenbach
3ab9238e91
Add g++-12 to MacOS workflow. (#1945) 2024-08-20 17:34:34 +02:00
Andreas Süßenbach
d86b49ca04
Update Vulkan-Headers to v1.3.293 (#1944) 2024-08-19 16:23:55 +02:00
Andreas Süßenbach
61bc93f955
Remove gcc-11 for builds on macos (#1942) 2024-08-19 12:31:21 +02:00
Andreas Süßenbach
b2c409dd31
Add IWYU pragmas to let code-completers use vulkan.hpp. (#1939) 2024-08-07 15:04:06 +02:00
Andreas Süßenbach
fde7e0fc84
Remove deprecation message on promoted extensions. (#1938) 2024-08-07 12:09:39 +02:00
Andreas Süßenbach
6a11b182e1
Extend support of video format properties (no code generated) (#1937) 2024-08-06 09:22:31 +02:00
github-actions[bot]
dd0785dbc1
Update Vulkan-Headers to v1.3.292 (#1934)
Co-authored-by: GitHub <noreply@github.com>
2024-08-05 14:58:22 +02:00
Sharadh Rajaraman
003cf8e090
Don't export symbols in vk::detail namespace (#1931) 2024-08-05 14:26:29 +02:00
Ilya Doroshenko
0f4e59bd95
Fix for shared handles for pool deleter (#1925)
* Fix for shared handles for pool deleter

* added pool type traits,
added special constructor for pool types

* return of assert
2024-08-05 14:21:44 +02:00
Andreas Süßenbach
763e5bf88f
Use clang++-13 with C++23 on ubuntu-latest (#1930) 2024-07-23 14:46:51 +02:00
Nikolai Siukosev
ae1eb5f449
Non raii handles move exchange (#1929)
* Add move semantics for non-raii hpp handles. (#1919)

* Updated generated vulkan/* files
2024-07-23 09:55:09 +02:00
Andreas Süßenbach
cdcde2bd0b
Parse <videocodecs> section (no code generated from) (#1926) 2024-07-23 09:47:41 +02:00
github-actions[bot]
f7f0d8ccaa
Update Vulkan-Headers to v1.3.291 (#1924)
Co-authored-by: GitHub <noreply@github.com>
2024-07-22 13:20:20 +02:00
Andreas Süßenbach
77f6a638a7
Use clang++14 with Cpp-23 on ubuntu-latest (#1921) 2024-07-17 13:18:25 +02:00
Andreas Süßenbach
a4cbf9c027
Use clang++-15 with Cpp-23 on ubuntu-latest (#1920) 2024-07-16 14:43:05 +02:00
github-actions[bot]
e3b0737d57
Update Vulkan-Headers to v1.3.290 (#1918)
Co-authored-by: GitHub <noreply@github.com>
2024-07-15 12:43:47 +02:00
Janeczko Jakub
096e555640
Add alias bitmasks to module interface (#1917)
* add alias bitmasks to c++ module

* generate code

* format
2024-07-15 12:39:19 +02:00
Andreas Süßenbach
6f72ceca51
Add g++12 for ubuntu builds. (#1914) 2024-07-11 09:36:14 +02:00
github-actions[bot]
630d8da8c6
Update Vulkan-Headers to v1.3.289 (#1912)
Co-authored-by: GitHub <noreply@github.com>
2024-07-01 14:11:05 +02:00
Andreas Süßenbach
620cf05ac2
Improve IndexTypeTraits determination. (#1911) 2024-06-28 09:41:13 +02:00
Andreas Süßenbach
3b0d995a82
Introduce some special handlings for structure VkLayerSettingEXT. (#1910) 2024-06-27 13:32:31 +02:00
Andreas Süßenbach
aac0b4d3ac
Simplify helper class vk::ArrayProxyNoTemporaries. (#1908) 2024-06-25 17:43:55 +02:00
Bohdan Soproniuk
dceddb7e31
Update the instance extensions list for WSI (#1875)
The VK_MVK_ios_surface and VK_MVK_macos_surface extensions have been
deprecated by the VK_EXT_metal_surface extension.
The VK_KHR_mir_surface extension has been removed from the Vulkan
specification and, therefore, should not be used.
2024-06-19 09:04:07 +02:00
Andreas Süßenbach
6604f5a1d9
Make generated headers resistant to missing definition of NOMINMAX for windows builds. (#1906) 2024-06-17 14:51:12 +02:00
Andreas Süßenbach
3be51fe651
Remove superfluous const in casts of function arguments by value. (#1905) 2024-06-17 14:40:59 +02:00
github-actions[bot]
bfb16c9781
Update Vulkan-Headers to v1.3.288 (#1904)
Co-authored-by: GitHub <noreply@github.com>
2024-06-17 14:13:31 +02:00
Andreas Süßenbach
b7b92b1e45
Remove an outdated assertion (#1903) 2024-06-13 15:30:49 +02:00
Andreas Süßenbach
842406f2a6
Try to workaround a possible bug with clang and gcc... (#1902) 2024-06-13 14:07:04 +02:00
Andreas Süßenbach
45d90067ee
Add missing cast from VkResult to vk::Result. (#1901) 2024-06-13 13:45:46 +02:00
Andreas Süßenbach
66af8942cb
Fix command sequence for enumerating commands with just one success code. (#1900) 2024-06-13 10:08:18 +02:00
Andreas Süßenbach
235b1a2f85
Reorganized alias handling of constants. (#1899) 2024-06-13 09:47:27 +02:00
Andreas Süßenbach
71031df10a
Fix generation of the standard version of commands to only use the member handle for the first argument. (#1898) 2024-06-12 17:31:32 +02:00