platform/upstream/Vulkan-Hpp.git
7 months agoUpgrade to 1.3.268 tizen
Xuelian Bai [Tue, 30 Jan 2024 06:09:54 +0000 (14:09 +0800)]
Upgrade to 1.3.268

Update tinyxml libs

Change-Id: I8e81ce5c35013ec1a4959ae8b4aba060b2b524ce
Signed-Off-by: Xuelian Bai <xuelian.bai@samsung.com>
8 months agoUpgrade to v1.3.208
Xuelian Bai [Tue, 15 Mar 2022 07:45:48 +0000 (15:45 +0800)]
Upgrade to v1.3.208

Add manifest and LICENSE in spec file

Change-Id: I544ad99b061eb58aef80bee93e7d761421a195e4
Signed-Off-by: Xuelian Bai <xuelian.bai@samsung.com>
8 months agoAdd build support for Tizen
Xuelian Bai [Wed, 26 May 2021 18:01:31 +0000 (02:01 +0800)]
Add build support for Tizen

1. Only VulkanHppGenerator is generated.
2. Since no clang.format, include/vulkan/*.hpp is not formatted, just
copy them from source file
3. Sample and test only support XCB, so SAMPLES_BUILD and
TESTS_BUILD are not enabled

Change-Id: I408721e76d5cade015d194080e49e849f1d2933f
Signed-Off-by: Xuelian Bai <xuelian.bai@samsung.com>
11 months agoUpdate Vulkan-Headers to v1.3.268 (#1696) upstream upstream/1.3.268
github-actions[bot] [Mon, 16 Oct 2023 10:10:45 +0000 (12:10 +0200)]
Update Vulkan-Headers to v1.3.268 (#1696)

Co-authored-by: GitHub <noreply@github.com>
11 months agoUpdate README.md (#1675)
tom-huntington [Thu, 12 Oct 2023 11:35:33 +0000 (00:35 +1300)]
Update README.md (#1675)

* Update README.md

Update readme cmake commands

* Update README.md

11 months agoAdd FlagBits type as required if it is not listed where the corresponding Flags type...
Andreas Süßenbach [Tue, 10 Oct 2023 19:54:36 +0000 (21:54 +0200)]
Add FlagBits type as required if it is not listed where the corresponding Flags type is required (#1689)

11 months agoFix documentation on existance of some copyable vk::raii classes (#1687)
Andreas Süßenbach [Tue, 10 Oct 2023 06:38:18 +0000 (08:38 +0200)]
Fix documentation on existance of some copyable vk::raii classes (#1687)

11 months agoUse add_subdirectory-friendly CMAKE variables (#1679)
Anton Shangareev [Mon, 9 Oct 2023 14:05:13 +0000 (18:05 +0400)]
Use add_subdirectory-friendly CMAKE variables (#1679)

11 months agoExtend not on module usage with Visual Studio. (#1684)
Andreas Süßenbach [Mon, 9 Oct 2023 11:37:36 +0000 (13:37 +0200)]
Extend not on module usage with Visual Studio. (#1684)

11 months agoFix C++20 module build with -DVULKAN_HPP_NO_SMART_HANDLE (#1678)
Anton Shangareev [Mon, 9 Oct 2023 10:25:01 +0000 (14:25 +0400)]
Fix C++20 module build with -DVULKAN_HPP_NO_SMART_HANDLE (#1678)

* Move SharedHandle and UniqueHandle under correct preprocessor guard in .cppm

* Fix VulkanHppGenerator

11 months agoAdd some note in README.md, that our modules are not working with VS 2022. (#1683)
Andreas Süßenbach [Mon, 9 Oct 2023 09:56:47 +0000 (11:56 +0200)]
Add some note in README.md, that our modules are not working with VS 2022. (#1683)

11 months agoUpdate Vulkan-Headers to v1.3.267 (#1681)
github-actions[bot] [Mon, 9 Oct 2023 08:15:08 +0000 (10:15 +0200)]
Update Vulkan-Headers to v1.3.267 (#1681)

Co-authored-by: GitHub <noreply@github.com>
11 months agoIntroduce using CppType type-trait for raii-classes, add two helper functions to...
Andreas Süßenbach [Thu, 5 Oct 2023 13:19:16 +0000 (15:19 +0200)]
Introduce using CppType type-trait for raii-classes, add two helper functions to filter the cpp-types out of a vector of raii-types. (#1672)

11 months agoExtend command generation to support not returning some return stuff and not templati...
Andreas Süßenbach [Mon, 2 Oct 2023 12:57:52 +0000 (14:57 +0200)]
Extend command generation to support not returning some return stuff and not templatizing a void pointer. (#1666)

11 months agoAdd support of hex numbers for enum values (#1671)
Andreas Süßenbach [Mon, 2 Oct 2023 12:56:27 +0000 (14:56 +0200)]
Add support of hex numbers for enum values (#1671)

11 months agoUpdate Vulkan-Headers to v1.3.266 (#1670)
github-actions[bot] [Mon, 2 Oct 2023 08:43:10 +0000 (10:43 +0200)]
Update Vulkan-Headers to v1.3.266 (#1670)

Co-authored-by: GitHub <noreply@github.com>
11 months agoUpdate workflow deps (#1667)
Stephan Seitz [Thu, 28 Sep 2023 14:39:48 +0000 (16:39 +0200)]
Update workflow deps (#1667)

* ci: update workflow versions

This should avoid deprecation warnings shown for example in
https://github.com/KhronosGroup/Vulkan-Hpp/actions/runs/6319631419

* ci: set correct CMake options in update-header-pr workflow

11 months agoAdd support of attribute "type" for a enums in an extension, storing them as a consta...
Andreas Süßenbach [Thu, 28 Sep 2023 11:23:31 +0000 (13:23 +0200)]
Add support of attribute "type" for a enums in an extension, storing them as a constant. (#1668)

11 months agoRemove clang++12 from the Ubuntu CI. (#1669)
Andreas Süßenbach [Thu, 28 Sep 2023 08:32:26 +0000 (10:32 +0200)]
Remove clang++12 from the Ubuntu CI. (#1669)

12 months agoUpdate Vulkan-Headers to v1.3.265 (#1665)
github-actions[bot] [Wed, 27 Sep 2023 07:30:15 +0000 (09:30 +0200)]
Update Vulkan-Headers to v1.3.265 (#1665)

Co-authored-by: GitHub <noreply@github.com>
12 months agoReduced listing of unused VkStructureType value from error to warning. (#1664)
Andreas Süßenbach [Tue, 26 Sep 2023 13:05:54 +0000 (15:05 +0200)]
Reduced listing of unused VkStructureType value from error to warning. (#1664)

12 months agoAdd support of commands returning void and getting two simple data type values. ...
Andreas Süßenbach [Tue, 26 Sep 2023 10:02:43 +0000 (12:02 +0200)]
Add support of commands returning void and getting two simple data type values. (#1663)

12 months agoRevert "Update Vulkan-Headers to v1.3.265 (#1661)" (#1662)
Andreas Süßenbach [Mon, 25 Sep 2023 13:28:32 +0000 (15:28 +0200)]
Revert "Update Vulkan-Headers to v1.3.265 (#1661)" (#1662)

This reverts commit 205758299bc129ed1d2943d5d7ce7098bca876d9.

12 months agoUpdate Vulkan-Headers to v1.3.265 (#1661)
Andreas Süßenbach [Mon, 25 Sep 2023 09:56:48 +0000 (11:56 +0200)]
Update Vulkan-Headers to v1.3.265 (#1661)

12 months agoAdd missing header in vulkan.cppm. (#1659)
Andreas Süßenbach [Tue, 19 Sep 2023 15:40:35 +0000 (17:40 +0200)]
Add missing header in vulkan.cppm. (#1659)

12 months agoShared Handles (#1619)
Ilya Doroshenko [Tue, 19 Sep 2023 11:04:36 +0000 (13:04 +0200)]
Shared Handles (#1619)

* stage 1: added shared handles and all traits

* moved deleter to the shared part, now Shared handle weights 2 pointers

* Fixed Destroy Function

* generated headers

* At least no errors.

TODO: get image overload of shared handle back
make an example

* fixed all SFINAE issues, moved image specialization

* Added a sample

* made better example, added specialization for swapchain, added shared handles to readme

* Major update:
Fixed all wishes
Made std::shared_ptr do heavy lifting
Reduced code complexity
Added ParentType to basic handles
Added put and put_native for cross-abi usage

* more readme

* safer release()
removed put() for now

* better synchronization
inspired by STL shared_ptr implementation

* removed test shared pointer

* added forward type for better interop with VMA
added parent checking

* fixed getParent()

* added non-deleting overloads for Queue, DisplayKHR and PhysicalDevice

* Shared non-destoyed type now have handles

* using constructors are made to comply standard

* fixed leak

* shared handles migrated to own header,
made module entries

* header is independent now

* rebased repo, updated the example

* fixed most of the stuff

* renamed parent of, added guide to make shared handles

* vulkansc

* moved destructor to shared handle traits

* resolved issues with CI

* more relaxed memory ordering for release operation

* trying to remove submodule

* renamed to destructorType

* suppressed function cast warning

* only GCC should be affected

12 months agoIntroduce hard-coded default values for some structure members. (#1658)
Andreas Süßenbach [Tue, 19 Sep 2023 10:05:06 +0000 (12:05 +0200)]
Introduce hard-coded default values for some structure members. (#1658)

12 months agoMake the tag on constants uppercase. (#1657)
Andreas Süßenbach [Mon, 18 Sep 2023 16:03:18 +0000 (18:03 +0200)]
Make the tag on constants uppercase. (#1657)

12 months agoMove Flags<> and FlagTraits<> from vulkan.hpp to vulkan_enums.hpp (#1654)
Andreas Süßenbach [Thu, 7 Sep 2023 16:42:46 +0000 (18:42 +0200)]
Move Flags<> and FlagTraits<> from vulkan.hpp to vulkan_enums.hpp (#1654)

12 months agoMake C++20 modules work with the defaultDispatchLoaderDynamic. (#1651)
Andreas Süßenbach [Thu, 7 Sep 2023 13:20:10 +0000 (15:20 +0200)]
Make C++20 modules work with the defaultDispatchLoaderDynamic. (#1651)

* Make C++20 modules work with the defaultDispatchLoaderDynamic.

* Add vulkan_hpp_macros.hpp to list of installed files.

* Adjust the text on module in the readme.

* Rename module from vulkan to vulkan_hpp

* Adjust some comments.

* Add a little disclaimer to vulkan.cppm.

12 months agoRelax check for constants as array size: also allow potentially externally defined...
Andreas Süßenbach [Mon, 4 Sep 2023 10:31:50 +0000 (12:31 +0200)]
Relax check for constants as array size: also allow potentially externally defined constants (#1652)

12 months agoSwitch __QNXNTO__ macro check to __QNX__ (#1646)
Mike Gorchak [Wed, 30 Aug 2023 10:26:18 +0000 (06:26 -0400)]
Switch __QNXNTO__ macro check to __QNX__ (#1646)

During last 23 years the QNX Neutrino microkernel was active,
__QNXNTO__ macro belongs to it. Now QNX Muon microkernel is
under development, so __QNX__ macro covers both versions:
Neutrino and Muon.

First public announce of QNX Muon was here: https://blogs.blackberry.com/en/2023/04/get-in-the-sdv-podcast-from-blackberry-season-2-episode-3

13 months agoGuard vk::raii names in vulkan.cppm just as in vulkan_raii.hpp. (#1650)
Andreas Süßenbach [Mon, 28 Aug 2023 11:30:00 +0000 (13:30 +0200)]
Guard vk::raii names in vulkan.cppm just as in vulkan_raii.hpp. (#1650)

13 months agoUpdate Vulkan-Headers to v1.3.262 (#1647)
github-actions[bot] [Mon, 28 Aug 2023 09:05:58 +0000 (11:05 +0200)]
Update Vulkan-Headers to v1.3.262 (#1647)

Co-authored-by: GitHub <noreply@github.com>
13 months agoCorrect includes in vulkansc-headers. (#1645)
Andreas Süßenbach [Mon, 28 Aug 2023 08:21:34 +0000 (10:21 +0200)]
Correct includes in vulkansc-headers. (#1645)

13 months agoResolve synchronization issue in [RAII_]Samples/InputAttachment. (#1644)
Andreas Süßenbach [Thu, 24 Aug 2023 06:32:15 +0000 (08:32 +0200)]
Resolve synchronization issue in [RAII_]Samples/InputAttachment. (#1644)

13 months agoResolve some more validation layer issues. (#1643)
Andreas Süßenbach [Wed, 23 Aug 2023 11:58:54 +0000 (13:58 +0200)]
Resolve some more validation layer issues. (#1643)

13 months agoReorder some object instantiations to get valid destruction sequence. (#1641)
Andreas Süßenbach [Mon, 21 Aug 2023 09:35:17 +0000 (11:35 +0200)]
Reorder some object instantiations to get valid destruction sequence. (#1641)

13 months agoResolve some validation layer warnings in some samples. (#1640)
Andreas Süßenbach [Thu, 17 Aug 2023 12:28:39 +0000 (14:28 +0200)]
Resolve some validation layer warnings in some samples. (#1640)

13 months agoIntroduce a helper function to dynamically map from vk::ObjectType to vk::DebugReport...
Andreas Süßenbach [Wed, 16 Aug 2023 06:37:43 +0000 (08:37 +0200)]
Introduce a helper function to dynamically map from vk::ObjectType to vk::DebugReportObjectTypeEXT. (#1639)

13 months agoChange samples from resetting command buffers to resetting command pool (#1638)
Andreas Süßenbach [Mon, 14 Aug 2023 14:09:11 +0000 (16:09 +0200)]
Change samples from resetting command buffers to resetting command pool (#1638)

13 months agoRelax check on "depends" for extension requires. (#1637)
Andreas Süßenbach [Thu, 10 Aug 2023 08:35:19 +0000 (10:35 +0200)]
Relax check on "depends" for extension requires. (#1637)

13 months agoResolve a validation layer warnings on destruction order of Image/Buffer and bound...
Andreas Süßenbach [Tue, 8 Aug 2023 11:40:56 +0000 (13:40 +0200)]
Resolve a validation layer warnings on destruction order of Image/Buffer and bound DeviceMemory. (#1636)

13 months agoExtend the depends-handling in readExtension. (#1635)
Andreas Süßenbach [Mon, 7 Aug 2023 11:34:43 +0000 (13:34 +0200)]
Extend the depends-handling in readExtension. (#1635)

13 months agoFix validation layer warning on minImageCount of 2. (#1634)
Andreas Süßenbach [Mon, 7 Aug 2023 10:00:11 +0000 (12:00 +0200)]
Fix validation layer warning on minImageCount of 2. (#1634)

13 months agoUpdate Vulkan-Headers to v1.3.261 (#1633)
github-actions[bot] [Mon, 7 Aug 2023 08:44:04 +0000 (10:44 +0200)]
Update Vulkan-Headers to v1.3.261 (#1633)

Co-authored-by: GitHub <noreply@github.com>
13 months agofix: add support for C++20 modules for CMake 3.27.0/3.27.1 (#1632)
Stephan Seitz [Mon, 7 Aug 2023 06:56:36 +0000 (23:56 -0700)]
fix: add support for C++20 modules for CMake 3.27.0/3.27.1 (#1632)

When using VULKAN_HPP_ENABLE_EXPERIMENTAL_CPP20_MODULES=ON with CMake 3.27.0 or 3.27.1,
you will get a very confusing error message:
```
CMake Error at CMakeLists.txt:346 (target_sources):
  target_sources File set TYPE may only be "HEADERS"
```

This is because the value of `CMAKE_EXPERIMENTAL_CXX_MODULE_CMAKE_API`
is not update to the correct value, disabling all experimental CMake
features.

This PR adds the value for 3.27.X and triggers an error for higher CMake
versions where this feature needs to be revised and
CMAKE_EXPERIMENTAL_CXX_MODULE_CMAKE_API if the feature is still
experimental.

The error message will look similar to this one (simulated for CMake
3.27.1)
```
CMake Error at CMakeLists.txt:30 (message):
  VULKAN_HPP_ENABLE_EXPERIMENTAL_CPP20_MODULES is currently not supported for
  CMake version 3.27.1! To add support inform yourself about the state of the
  feature at
  https://github.com/Kitware/CMake/blob/master/Help/dev/experimental.rst and
  add the corresponding value of CMAKE_EXPERIMENTAL_CXX_MODULE_CMAKE_API to
  Vulkan-Hpp's CMakeLists.txt
```

13 months agoUpdate Vulkan-Headers to v1.3.260 (#1629)
github-actions[bot] [Mon, 31 Jul 2023 11:37:47 +0000 (13:37 +0200)]
Update Vulkan-Headers to v1.3.260 (#1629)

Co-authored-by: GitHub <noreply@github.com>
14 months agoSort constants by feature and extension. (#1628)
Andreas Süßenbach [Wed, 26 Jul 2023 20:12:40 +0000 (22:12 +0200)]
Sort constants by feature and extension. (#1628)

14 months agoAdd support of alias'ed enums for IndexType/CppType traits generation (#1627)
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)

14 months agoUpdate Vulkan-Headers to v1.3.259 (#1626)
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>
14 months agoUpdate utils.cpp (#1625)
Codotaku [Wed, 19 Jul 2023 13:33:22 +0000 (14:33 +0100)]
Update utils.cpp (#1625)

14 months agoUpdate in README.md (#1624)
Andreas Süßenbach [Wed, 19 Jul 2023 09:39:48 +0000 (11:39 +0200)]
Update in README.md (#1624)

14 months agoChanged calls to std::map<>::find() to std::map<>::contains(), when appropriate....
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)

14 months agochange calls to std::find, std::find_if, and std::find_if_not to functionally identic...
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)

14 months agoIntroduce VideoHppGenerator. (#1618)
Andreas Süßenbach [Tue, 11 Jul 2023 13:39:17 +0000 (15:39 +0200)]
Introduce VideoHppGenerator. (#1618)

14 months agoUpdate Vulkan-Headers to v1.3.257 (#1617)
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>
14 months agoBug fixes for `vulkan.cppm` (#1616)
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

14 months agoMoved check on enum aliases from readTypeEnum to checkEnumCorrectness. (#1613)
Andreas Süßenbach [Tue, 4 Jul 2023 11:53:21 +0000 (13:53 +0200)]
Moved check on enum aliases from readTypeEnum to checkEnumCorrectness. (#1613)

14 months agoUndef True/False in case they are defined and introduce some constexpr True/False...
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)

14 months agoUpdate Vulkan-Headers to v1.3.256 (#1609)
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>
15 months agoChange move assignment operators of vk::raii handles from using std::exchange to...
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)

15 months agoAdd C++20 module interface file and tests (#1582)
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>
15 months agoMark vk::ResultValue::asTuple() & as deprecated, introduce vk::ResultValue::asTuple...
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)

15 months agoUpdate Vulkan-Headers to v1.3.255 (#1604)
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>
15 months agoAdd specializations of std::tuple_element and std::tuple_size for vk::StructureChain...
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)

15 months agoIntroduce operator==() and operator!=() to compare vk-handles with nullptr. (#1600)
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)

15 months agoFix some formatting. (#1599)
Andreas Süßenbach [Wed, 21 Jun 2023 11:33:29 +0000 (13:33 +0200)]
Fix some formatting. (#1599)

15 months agoUpdate StructureChain.cpp
Andreas Süßenbach [Wed, 21 Jun 2023 07:19:40 +0000 (09:19 +0200)]
Update StructureChain.cpp

15 months agoUpdate StructureChain.hpp
Andreas Süßenbach [Wed, 21 Jun 2023 07:17:06 +0000 (09:17 +0200)]
Update StructureChain.hpp

15 months agoFix defines in workflow files to enable compilation of tests and samples in CI. ...
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)

15 months agoUpdate Vulkan-Headers to v1.3.254 (#1596)
Andreas Süßenbach [Mon, 19 Jun 2023 13:02:19 +0000 (15:02 +0200)]
Update Vulkan-Headers to v1.3.254 (#1596)

15 months agoFix wrong usage of 'structureChains' in generating functions returning a StructureCha...
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)

15 months agoAdd support for new element <sync> in vk.xml (#1590)
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.

15 months agoFix determination of StructureChainAllocater usage for returned parameters. (#1591)
Andreas Süßenbach [Tue, 13 Jun 2023 12:24:10 +0000 (14:24 +0200)]
Fix determination of StructureChainAllocater usage for returned parameters. (#1591)

15 months agoUpdate Vulkan-Headers to v1.3.253
GitHub [Sun, 11 Jun 2023 00:11:41 +0000 (00:11 +0000)]
Update Vulkan-Headers to v1.3.253

15 months agoUpdate Vulkan-Headers to v1.3.252
GitHub [Sat, 3 Jun 2023 00:20:41 +0000 (00:20 +0000)]
Update Vulkan-Headers to v1.3.252

15 months agoUpdate Vulkan-Headers to v1.3.251
GitHub [Mon, 29 May 2023 00:12:09 +0000 (00:12 +0000)]
Update Vulkan-Headers to v1.3.251

16 months agoUpdate vk_raii_ProgrammingGuide.md (#1581)
riven [Thu, 25 May 2023 11:46:38 +0000 (13:46 +0200)]
Update vk_raii_ProgrammingGuide.md (#1581)

fixed typo (CommanPool -> CommandPool)

16 months agoExtent extension dependency inspection to allow multiple sets of dependencies per...
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)

16 months agoCleanup in CMakeLists.txt (#1572)
Andreas Süßenbach [Mon, 8 May 2023 09:54:57 +0000 (11:54 +0200)]
Cleanup in CMakeLists.txt (#1572)

16 months agoUpdate Vulkan-Headers to v1.3.250 (#1574)
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>
16 months agoCleanup work on enum value handling. (#1573)
Andreas Süßenbach [Thu, 4 May 2023 11:35:50 +0000 (13:35 +0200)]
Cleanup work on enum value handling. (#1573)

16 months agoExpose the dispatch member of deleters (#1569)
Michael Ferrari [Wed, 3 May 2023 10:03:28 +0000 (12:03 +0200)]
Expose the dispatch member of deleters (#1569)

16 months agoUpdate Vulkan-Headers to v1.3.249 (#1571)
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>
17 months agoCleanup in CMakeLists.txt (#1566)
Andreas Süßenbach [Thu, 27 Apr 2023 14:16:10 +0000 (16:16 +0200)]
Cleanup in CMakeLists.txt (#1566)

17 months agoAdd support for a new class of functions (#1570)
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

17 months agoExtend support of some special type of functions. (#1567)
Andreas Süßenbach [Mon, 24 Apr 2023 16:06:06 +0000 (18:06 +0200)]
Extend support of some special type of functions. (#1567)

17 months agoUpdate Vulkan-Headers to v1.3.248 (#1565)
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>
17 months agoCleanup up on CMakeLists.txt (#1564)
Andreas Süßenbach [Thu, 20 Apr 2023 14:50:26 +0000 (16:50 +0200)]
Cleanup up on CMakeLists.txt (#1564)

17 months agoAdd support of new extension attribute "ratified". (#1563)
Andreas Süßenbach [Mon, 17 Apr 2023 11:51:24 +0000 (13:51 +0200)]
Add support of new extension attribute "ratified". (#1563)

17 months agoAdd some words on the new extension inspection functions to the README.md. (#1562)
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)

17 months agoUpdate Vulkan-Headers to v1.3.247 (#1560)
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>
17 months agoIntroduce overload of getExtensionDepends to get availability and dependencies by...
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)

17 months agoIntroduce extension inspection function vk::getExtensionDepends. (#1558)
Andreas Süßenbach [Tue, 11 Apr 2023 15:49:02 +0000 (17:49 +0200)]
Introduce extension inspection function vk::getExtensionDepends. (#1558)

17 months agoIntroduce extension inspection functions get[Device|Instance|Deprecated|Promoted...
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)

17 months agoAdd new extension inspection functions getExtensionObsoletedBy() and isExtensionObsol...
Andreas Süßenbach [Wed, 5 Apr 2023 11:37:34 +0000 (13:37 +0200)]
Add new extension inspection functions getExtensionObsoletedBy() and isExtensionObsoleted() (#1555)

17 months agoMark all projects as C++-only. (#1554)
Andreas Süßenbach [Wed, 5 Apr 2023 07:50:26 +0000 (09:50 +0200)]
Mark all projects as C++-only. (#1554)

17 months agoAdd new extension inspection functions getExtensionPromotedTo() and isExtensionPromot...
Andreas Süßenbach [Tue, 4 Apr 2023 08:45:15 +0000 (10:45 +0200)]
Add new extension inspection functions getExtensionPromotedTo() and isExtensionPromoted() (#1553)

17 months agoUpdate Vulkan-Headers to v1.3.246 (#1551)
Andreas Süßenbach [Mon, 3 Apr 2023 11:29:44 +0000 (13:29 +0200)]
Update Vulkan-Headers to v1.3.246 (#1551)