Andreas Süßenbach [Wed, 26 Jul 2023 08:17:13 +0000 (10:17 +0200)]
Add support of alias'ed enums for IndexType/CppType traits generation (#1627)
github-actions[bot] [Mon, 24 Jul 2023 08:39:52 +0000 (10:39 +0200)]
Update Vulkan-Headers to v1.3.259 (#1626)
Co-authored-by: GitHub <noreply@github.com>
Codotaku [Wed, 19 Jul 2023 13:33:22 +0000 (14:33 +0100)]
Update utils.cpp (#1625)
Andreas Süßenbach [Wed, 19 Jul 2023 09:39:48 +0000 (11:39 +0200)]
Update in README.md (#1624)
Andreas Süßenbach [Mon, 17 Jul 2023 07:48:44 +0000 (09:48 +0200)]
Changed calls to std::map<>::find() to std::map<>::contains(), when appropriate. (#1623)
Andreas Süßenbach [Thu, 13 Jul 2023 09:26:01 +0000 (11:26 +0200)]
change calls to std::find, std::find_if, and std::find_if_not to functionally identical calls to std::any_of, std::all_of, and std::none_of, when appropriate (#1621)
Andreas Süßenbach [Tue, 11 Jul 2023 13:39:17 +0000 (15:39 +0200)]
Introduce VideoHppGenerator. (#1618)
github-actions[bot] [Mon, 10 Jul 2023 09:45:53 +0000 (11:45 +0200)]
Update Vulkan-Headers to v1.3.257 (#1617)
Co-authored-by: GitHub <noreply@github.com>
Sharadh Rajaraman [Mon, 10 Jul 2023 06:46:50 +0000 (14:46 +0800)]
Bug fixes for `vulkan.cppm` (#1616)
* Bug fixes for C++20 module
- Removed nested `export` keyword for `vk::raii` namespace in C++ module file
- Fixed macro in `vulkan.cppm` for `vk::DynamicLoader`: changed from `VULKAN_HPP_DYNAMIC_LOADER_TOOL` to `VULKAN_HPP_ENABLE_DYNAMIC_LOADER_TOOL`
- Moved VulkanHppModule declaration before generator
- Fixed `CMakeLists.txt` for `Cpp20Modules` executable target
* Use `VULKAN_HPP_CONSTEXPR_INLINE` for constants in `vulkan.hpp`
- Added VULKAN_HPP_CONSTEXPR_INLINE macro definition
- Allow external linkage for these constants in C++17 and later
Andreas Süßenbach [Tue, 4 Jul 2023 11:53:21 +0000 (13:53 +0200)]
Moved check on enum aliases from readTypeEnum to checkEnumCorrectness. (#1613)
Andreas Süßenbach [Mon, 3 Jul 2023 12:34:21 +0000 (14:34 +0200)]
Undef True/False in case they are defined and introduce some constexpr True/False to replace them. (#1610)
github-actions[bot] [Mon, 3 Jul 2023 10:07:37 +0000 (12:07 +0200)]
Update Vulkan-Headers to v1.3.256 (#1609)
Co-authored-by: GitHub <noreply@github.com>
Andreas Süßenbach [Wed, 28 Jun 2023 15:03:08 +0000 (17:03 +0200)]
Change move assignment operators of vk::raii handles from using std::exchange to using std::swap (#1607)
Sharadh Rajaraman [Wed, 28 Jun 2023 12:10:51 +0000 (20:10 +0800)]
Add C++20 module interface file and tests (#1582)
* feat: exported vk::raii types in vulkan.ixx, with a small test
* feat: *almost* complete vulkan.ixx; missing functions in vulkan_funcs.hpp and constexpr auto defines
* Exported free functions in `vulkan_funcs.hpp` in `vulkan.ixx`
* Completed vulkan.ixx
Exported all types, structs, functions; need to handle anonymous namespace and getDispatchLoaderStatic()
* Moved `vk::anon-namespace::throwResultException` to `vk::detail::throwResultException` to solve linking errors
* Made `vk::getDispatchLoaderStatic` not `static`
`static`in namespace/global scope has to do with internal/external linkage, and not lifetime
* Fixed debug assert fail in `generateCppModuleStructUsings`
* Removed references to `.cppm`
* Formatting and versioning changes
- CMake version handling simplified
- vulkan.ixx includes new structs from new versions
- vulkan.hpp and vulkan_raii.hpp reformatted with clang-format 14
* Removed extraneous includes
- std::optional -> std::string::empty
- std::filesystem was unused
* Fixed constexpr function and value generation
- 'c' prefix removed
- Constants casing fixed
- Types for constants fixed
- Constants assigned to macros
- Ordering of constants and consteval functions fixed
* Moved constexprs to `vulkan.hpp`
- Added corresponding `using` statements to `vulkan.ixx`
- Changed `consteval auto(auto)` functions into templated SFINAE `constexpr` functions
* Formatting, signposting, misc fixes
- Added newlines around macro guards
- Added signposting comments for relevant groups of `using`-statements in `vulkan.ixx`
- Guarded createInstanceUnique with macro guard
- Use m_handles.at("").commands for Funcs
* Changed module file extension to `.cppm`
- It follows the rest of the project convention; `ixx` looks really weird next to `.hpp` and `.cpp`
- CMake transparently handles any extension anyway
* Added `VULKAN_HPP_DEFAULT_DISPATCH_LOADER_DYNAMIC_STORAGE` to `vulkan.cppm`
* Added format traits and extension inspections
- Straightforward, since everything is hard-coded
* Added documentation about Vulkan-Hpp C++ module
- Compiler requirements
- CMake compilation
- Command-line examples
* Added vulkan_hash.hpp
- No need for `using`, since all declarations are template specialisations of existing `std` objects
* Documentation and comment fixes
- Removed extraneous CMake version comments
- Documentation about default dynamic dispatcher with the module
- Comment updates in the source code
* Moved constexpr defines and using statements
- Moved to after resultUsings in both vulkan.hpp and vulkan.cppm
- Also split up constexprDefinesAndUsings
- Used const_cast for constexprDefines()
* Used std::string instead of std::stringstream
- Some changes also in previous commit
- Also removed overly-clever ranges algorithms
* Simplified protection generation
- Removed `generateNotProtection`
- Added optional `bool` parameter to `generateProtection` for `#if !defined( ... )`
* Simplified Cpp20Modules CMakeLists
- Made C++ standard and libraries into parameters
- Removed FindVulkan call; already done
* `constexpr` generation fixed
- Made all generating functions `const`
- Removed typos and extra comments
- Extracted out filtering functionality into separate functions
* Simplified defines partition generation
- Added `DefinesPartition` struct as a member variable
- Added non-const function to write to the above in `readTypeDefines`
- Removed previous implementation that made many copies
* Added `generateUsingsAndProtection` lambda to RAII name generation
* Moved around `partitionDefines` to make more sense
- called once at the end of the constructor
- edited comments
* Updated headers to 1.3.255
* Removed std::ranges and ranges view adaptors
- CI isn't passing with them
* Fixed constexpr functions for C++11 and C++14
- Removed `enable_if_t` and `is_integral_v`
- Changed `auto` return type into `uint32_t`
---------
Co-authored-by: Sharadh Rajaraman <r.sharadh@yahoo.com.sg>
Andreas Süßenbach [Tue, 27 Jun 2023 09:31:29 +0000 (11:31 +0200)]
Mark vk::ResultValue::asTuple() & as deprecated, introduce vk::ResultValue::asTuple() && (#1605)
github-actions[bot] [Mon, 26 Jun 2023 12:12:49 +0000 (14:12 +0200)]
Update Vulkan-Headers to v1.3.255 (#1604)
Co-authored-by: GitHub <noreply@github.com>
Andreas Süßenbach [Thu, 22 Jun 2023 12:02:39 +0000 (14:02 +0200)]
Add specializations of std::tuple_element and std::tuple_size for vk::StructureChain. (#1602)
Andreas Süßenbach [Thu, 22 Jun 2023 07:07:26 +0000 (09:07 +0200)]
Introduce operator==() and operator!=() to compare vk-handles with nullptr. (#1600)
Andreas Süßenbach [Wed, 21 Jun 2023 11:33:29 +0000 (13:33 +0200)]
Fix some formatting. (#1599)
Andreas Süßenbach [Wed, 21 Jun 2023 07:19:40 +0000 (09:19 +0200)]
Update StructureChain.cpp
Andreas Süßenbach [Wed, 21 Jun 2023 07:17:06 +0000 (09:17 +0200)]
Update StructureChain.hpp
Andreas Süßenbach [Tue, 20 Jun 2023 12:43:35 +0000 (14:43 +0200)]
Fix defines in workflow files to enable compilation of tests and samples in CI. (#1595)
Andreas Süßenbach [Mon, 19 Jun 2023 13:02:19 +0000 (15:02 +0200)]
Update Vulkan-Headers to v1.3.254 (#1596)
Andreas Süßenbach [Mon, 19 Jun 2023 10:46:04 +0000 (12:46 +0200)]
Fix wrong usage of 'structureChains' in generating functions returning a StructureChain and a vector of data. (#1594)
Andreas Süßenbach [Tue, 13 Jun 2023 12:25:23 +0000 (14:25 +0200)]
Add support for new element <sync> in vk.xml (#1590)
That element tree is just parsed and some checks are done.
Andreas Süßenbach [Tue, 13 Jun 2023 12:24:10 +0000 (14:24 +0200)]
Fix determination of StructureChainAllocater usage for returned parameters. (#1591)
GitHub [Sun, 11 Jun 2023 00:11:41 +0000 (00:11 +0000)]
Update Vulkan-Headers to v1.3.253
GitHub [Sat, 3 Jun 2023 00:20:41 +0000 (00:20 +0000)]
Update Vulkan-Headers to v1.3.252
GitHub [Mon, 29 May 2023 00:12:09 +0000 (00:12 +0000)]
Update Vulkan-Headers to v1.3.251
riven [Thu, 25 May 2023 11:46:38 +0000 (13:46 +0200)]
Update vk_raii_ProgrammingGuide.md (#1581)
fixed typo (CommanPool -> CommandPool)
Andreas Süßenbach [Wed, 17 May 2023 08:23:27 +0000 (10:23 +0200)]
Extent extension dependency inspection to allow multiple sets of dependencies per version. (#1578)
Andreas Süßenbach [Mon, 8 May 2023 09:54:57 +0000 (11:54 +0200)]
Cleanup in CMakeLists.txt (#1572)
github-actions[bot] [Mon, 8 May 2023 09:07:25 +0000 (11:07 +0200)]
Update Vulkan-Headers to v1.3.250 (#1574)
Co-authored-by: GitHub <noreply@github.com>
Andreas Süßenbach [Thu, 4 May 2023 11:35:50 +0000 (13:35 +0200)]
Cleanup work on enum value handling. (#1573)
Michael Ferrari [Wed, 3 May 2023 10:03:28 +0000 (12:03 +0200)]
Expose the dispatch member of deleters (#1569)
github-actions[bot] [Tue, 2 May 2023 11:31:35 +0000 (13:31 +0200)]
Update Vulkan-Headers to v1.3.249 (#1571)
Co-authored-by: GitHub <noreply@github.com>
Andreas Süßenbach [Thu, 27 Apr 2023 14:16:10 +0000 (16:16 +0200)]
Cleanup in CMakeLists.txt (#1566)
Andreas Süßenbach [Wed, 26 Apr 2023 08:56:57 +0000 (10:56 +0200)]
Add support for a new class of functions (#1570)
plus refactor returnType generation
Andreas Süßenbach [Mon, 24 Apr 2023 16:06:06 +0000 (18:06 +0200)]
Extend support of some special type of functions. (#1567)
github-actions[bot] [Mon, 24 Apr 2023 09:04:14 +0000 (11:04 +0200)]
Update Vulkan-Headers to v1.3.248 (#1565)
Co-authored-by: GitHub <noreply@github.com>
Andreas Süßenbach [Thu, 20 Apr 2023 14:50:26 +0000 (16:50 +0200)]
Cleanup up on CMakeLists.txt (#1564)
Andreas Süßenbach [Mon, 17 Apr 2023 11:51:24 +0000 (13:51 +0200)]
Add support of new extension attribute "ratified". (#1563)
Andreas Süßenbach [Mon, 17 Apr 2023 11:25:41 +0000 (13:25 +0200)]
Add some words on the new extension inspection functions to the README.md. (#1562)
github-actions[bot] [Mon, 17 Apr 2023 09:55:11 +0000 (11:55 +0200)]
Update Vulkan-Headers to v1.3.247 (#1560)
Co-authored-by: GitHub <noreply@github.com>
Andreas Süßenbach [Wed, 12 Apr 2023 09:48:59 +0000 (11:48 +0200)]
Introduce overload of getExtensionDepends to get availability and dependencies by vulkan version. (#1559)
Andreas Süßenbach [Tue, 11 Apr 2023 15:49:02 +0000 (17:49 +0200)]
Introduce extension inspection function vk::getExtensionDepends. (#1558)
Andreas Süßenbach [Tue, 11 Apr 2023 07:14:50 +0000 (09:14 +0200)]
Introduce extension inspection functions get[Device|Instance|Deprecated|Promoted|Obsoleted]Extension; renamed some of the previous extension inspection functions (#1556)
Andreas Süßenbach [Wed, 5 Apr 2023 11:37:34 +0000 (13:37 +0200)]
Add new extension inspection functions getExtensionObsoletedBy() and isExtensionObsoleted() (#1555)
Andreas Süßenbach [Wed, 5 Apr 2023 07:50:26 +0000 (09:50 +0200)]
Mark all projects as C++-only. (#1554)
Andreas Süßenbach [Tue, 4 Apr 2023 08:45:15 +0000 (10:45 +0200)]
Add new extension inspection functions getExtensionPromotedTo() and isExtensionPromoted() (#1553)
Andreas Süßenbach [Mon, 3 Apr 2023 11:29:44 +0000 (13:29 +0200)]
Update Vulkan-Headers to v1.3.246 (#1551)
Andreas Süßenbach [Mon, 3 Apr 2023 10:10:39 +0000 (12:10 +0200)]
Fix handling of multiple vs. single success codes on handle creation with vulkan_raii.hpp. (#1550)
Andreas Süßenbach [Thu, 30 Mar 2023 11:25:09 +0000 (13:25 +0200)]
Add functions isExtensionDeprecated() and getExtensionDeprecatedBy() to extension_inspection. (#1547)
Andreas Süßenbach [Wed, 29 Mar 2023 11:33:42 +0000 (13:33 +0200)]
Improved tokenizing of extension attribute "depends" (#1546)
Andreas Süßenbach [Tue, 28 Mar 2023 15:33:11 +0000 (17:33 +0200)]
First set of extension inspection helper functions: isDeviceExtension and isInstanceExtension (#1545)
Andreas Süßenbach [Mon, 27 Mar 2023 10:31:14 +0000 (12:31 +0200)]
Extend default case in throwResultException to also get the actual message. (#1544)
Andreas Süßenbach [Mon, 27 Mar 2023 09:06:47 +0000 (11:06 +0200)]
Resolve warning on a struct with multiple array members with the same len. (#1543)
github-actions[bot] [Mon, 27 Mar 2023 07:46:47 +0000 (09:46 +0200)]
Update Vulkan-Headers to v1.3.245 (#1540)
Co-authored-by: GitHub <noreply@github.com>
Andreas Süßenbach [Wed, 22 Mar 2023 07:52:35 +0000 (08:52 +0100)]
Minor cleanup work. (#1539)
Andreas Süßenbach [Tue, 21 Mar 2023 10:22:48 +0000 (11:22 +0100)]
Simplified and corrected structure alias handling. (#1538)
Andreas Süßenbach [Tue, 21 Mar 2023 07:10:00 +0000 (08:10 +0100)]
Minor cleanup on supported/unsupported features/extensions. (#1537)
github-actions[bot] [Mon, 20 Mar 2023 09:03:08 +0000 (10:03 +0100)]
Update Vulkan-Headers to v1.3.244 (#1535)
Co-authored-by: GitHub <noreply@github.com>
Andreas Süßenbach [Thu, 16 Mar 2023 16:16:12 +0000 (17:16 +0100)]
Removed an invalid assertion in readRequireEnum. (#1534)
Andreas Süßenbach [Wed, 15 Mar 2023 12:02:48 +0000 (13:02 +0100)]
Add support for a new class of commands. (#1533)
Andreas Süßenbach [Mon, 13 Mar 2023 13:48:55 +0000 (14:48 +0100)]
Improve handling of attribute "stride" (#1532)
github-actions[bot] [Mon, 13 Mar 2023 09:38:56 +0000 (10:38 +0100)]
Update Vulkan-Headers to v1.3.243 (#1531)
Co-authored-by: GitHub <noreply@github.com>
Andreas Süßenbach [Mon, 13 Mar 2023 08:08:01 +0000 (09:08 +0100)]
Second step in generalizing handling of attribute "altLen" (#1529)
Andreas Süßenbach [Thu, 9 Mar 2023 09:04:33 +0000 (10:04 +0100)]
First step in generalizing handling of attribute "altLen". (#1528)
Andreas Süßenbach [Wed, 8 Mar 2023 09:10:54 +0000 (10:10 +0100)]
Adjust name of included vulkan header. (#1527)
Andreas Süßenbach [Tue, 7 Mar 2023 16:32:10 +0000 (17:32 +0100)]
Adjust include snippet of vulkan[sc].hpp to actually use vulkan[sc]. (#1526)
Andreas Süßenbach [Tue, 7 Mar 2023 13:07:16 +0000 (14:07 +0100)]
extend workflow run to generate vulkansc*.hpp (#1525)
Andreas Süßenbach [Tue, 7 Mar 2023 07:23:14 +0000 (08:23 +0100)]
First version to support both, "vulkan" and "vulkansc". (#1524)
The files set generated is controlled by command line argument -api [vulkan|vulkansc]
Andreas Süßenbach [Mon, 6 Mar 2023 07:37:40 +0000 (08:37 +0100)]
Simplify enum value alias handling. (#1523)
* Simplify enum value handling.
* Simplified enum value generation
Andreas Süßenbach [Thu, 2 Mar 2023 21:14:37 +0000 (22:14 +0100)]
Simplified enum value handling (#1522)
Andreas Süßenbach [Wed, 1 Mar 2023 09:17:02 +0000 (10:17 +0100)]
Refactor reading procedures (#1521)
github-actions[bot] [Mon, 27 Feb 2023 12:35:15 +0000 (13:35 +0100)]
Update Vulkan-Headers to v1.3.242 (#1520)
Co-authored-by: GitHub <noreply@github.com>
Andreas Süßenbach [Thu, 23 Feb 2023 09:07:26 +0000 (10:07 +0100)]
Change assertion to condition on generating the vector size check. (#1518)
Andreas Süßenbach [Wed, 22 Feb 2023 15:20:44 +0000 (16:20 +0100)]
Corrected handling of attribute "depends" of <require> sections on extending enums. (#1517)
github-actions[bot] [Tue, 21 Feb 2023 10:20:28 +0000 (11:20 +0100)]
Update Vulkan-Headers to v1.3.241 (#1516)
Co-authored-by: GitHub <noreply@github.com>
Andreas Süßenbach [Mon, 20 Feb 2023 19:01:34 +0000 (20:01 +0100)]
Change requiredIn in TypeData from std::string to std::set<std::string> (#1514)
+ some member data renaming
Stephan Seitz [Mon, 20 Feb 2023 16:48:47 +0000 (08:48 -0800)]
ci: bump setup-msvc-dev to v2 (#1513)
This avoids a deprecation warning about Node.js 12 as shown here
https://github.com/KhronosGroup/Vulkan-Hpp/actions/runs/
4222600167
Andreas Süßenbach [Mon, 20 Feb 2023 14:58:14 +0000 (15:58 +0100)]
Change referencedIn in CommandData from std::string to std::set<std::string> (#1512)
Stephan Seitz [Mon, 20 Feb 2023 14:57:53 +0000 (06:57 -0800)]
ci: fix update-header-pr (tags were not fetched) (#1510)
Run without `git fetch --all --tags`: https://github.com/theHamsta/Vulkan-Hpp/actions/runs/
4221771719/jobs/
7329463344
Run with `git fetch --all --tags`: https://github.com/theHamsta/Vulkan-Hpp/actions/runs/
4221781287/jobs/
7329484407
resulting in this PR https://github.com/theHamsta/Vulkan-Hpp/pull/19
Stephan Seitz [Mon, 20 Feb 2023 10:51:44 +0000 (02:51 -0800)]
ci: only run ci-macos on PRs (like ci-ubuntu/ci-windows) (#1511)
Andreas Süßenbach [Thu, 16 Feb 2023 15:07:33 +0000 (16:07 +0100)]
Adjust handling of attribute "depends" in <extension> (#1508)
Andreas Süßenbach [Thu, 16 Feb 2023 12:12:55 +0000 (13:12 +0100)]
Add handling of attribute "deprecated", extend handling of attribute "api" (#1506)
Andreas Süßenbach [Thu, 16 Feb 2023 07:24:33 +0000 (08:24 +0100)]
Renamed member functions and variables from "skipped" to "removed". (#1505)
Andreas Süßenbach [Wed, 15 Feb 2023 16:13:02 +0000 (17:13 +0100)]
Added missing support of attribute "comment" in require clause of extensions. (#1504)
Andreas Süßenbach [Mon, 13 Feb 2023 12:36:43 +0000 (13:36 +0100)]
Add test for vk::Flags. (#1502)
Andreas Süßenbach [Wed, 8 Feb 2023 16:21:03 +0000 (17:21 +0100)]
Sort handle classes by feature and extension. (#1500)
Andreas Süßenbach [Thu, 2 Feb 2023 13:09:45 +0000 (14:09 +0100)]
Unify detection logic for raii- and non-raii-command-generation (#1499)
github-actions[bot] [Mon, 30 Jan 2023 08:40:19 +0000 (09:40 +0100)]
Update Vulkan-Headers to v1.3.240 (#1497)
Co-authored-by: GitHub <noreply@github.com>
Andreas Süßenbach [Thu, 26 Jan 2023 16:12:29 +0000 (17:12 +0100)]
Add support for filtering out vulkansc stuff. (#1496)
Andreas Süßenbach [Mon, 23 Jan 2023 15:41:43 +0000 (16:41 +0100)]
Add support for a new type of functions. (#1492)
Stephan Seitz [Mon, 23 Jan 2023 13:38:48 +0000 (14:38 +0100)]
ci: fix usage of tee to add llvm-snapshot (#1491)
Stephan Seitz [Mon, 23 Jan 2023 10:46:28 +0000 (11:46 +0100)]
ci: fix failing clang-format-15 via apt.llvm.org (#1490)
Andreas Süßenbach [Mon, 23 Jan 2023 09:37:51 +0000 (10:37 +0100)]
Update Vulkan-Headers to v1.3.239 (#1489)
Andreas Süßenbach [Fri, 20 Jan 2023 19:41:26 +0000 (20:41 +0100)]
Add support for a new class of commands. (#1481)
Andreas Süßenbach [Fri, 20 Jan 2023 17:51:43 +0000 (18:51 +0100)]
Change the CI workflow to work on main branch. (#1484)
scribam [Thu, 19 Jan 2023 07:11:46 +0000 (08:11 +0100)]
Update actions/checkout in GitHub Actions (#1482)