Andreas Süßenbach
ce84c37abf
Reorganized enum value alias handling. ( #1830 )
2024-03-21 08:05:15 +01:00
Andreas Süßenbach
194708b54c
Extent type trait vk::CppType to map from VkHandle to vk::Handle ( #1829 )
2024-03-19 14:07:03 +01:00
Andreas Süßenbach
19f90f043f
Removed an invalid error check on structs. ( #1828 )
2024-03-18 12:11:31 +01:00
Andreas Süßenbach
695de1bc3a
Fix messages in checkExtensionCorrectness ( #1826 )
2024-03-11 11:56:56 +01:00
David Ryskalczyk
17226363e7
Fix for VULKAN_HPP_TYPESAFE_CONVERSION defined to 0 ( #1806 )
...
* Fix for VULKAN_HPP_TYPESAFE_CONVERSION defined to 0
* Remove the check if VULKAN_HPP_TYPESAFE_CONVERSION actually is defined, just check if it's 1.
---------
Co-authored-by: asuessenbach <asuessenbach@nvidia.com>
2024-03-11 09:39:39 +01:00
Andreas Süßenbach
2b35399a73
Remove unnecessary static_casts on vk::Results. ( #1822 )
2024-03-06 08:54:20 +01:00
Andreas Süßenbach
5e7649dcb5
Simplified generation of lists of arguments or initializers ( #1821 )
2024-03-05 08:16:22 +01:00
Andreas Süßenbach
85daa22a04
Relax requirements on FlagBits types. ( #1817 )
2024-02-29 08:26:01 +01:00
Andreas Süßenbach
73f210a604
Three fixes: ( #1816 )
...
- do not create enhanced struct constructors, if the length of an array is determined by a member of that struct that is a pointer;
- check for error if a command parameter has a len attribute, but is not a pointer
- accept sync access and sync stage to be multiply aliased.
2024-02-28 13:04:56 +01:00
Andreas Süßenbach
789c215e74
Accept multiple XML <formats> tags. ( #1814 )
2024-02-26 15:38:33 +01:00
Andreas Süßenbach
29723f90a1
Update Vulkan-Headers to v1.3.278 ( #1810 )
2024-02-19 22:00:57 +01:00
Andreas Süßenbach
4c130b9051
Switch from using strncpy to strncpy_s. ( #1809 )
2024-02-19 16:06:28 +01:00
Andreas Süßenbach
38e3e8f800
Fix ordering determination of structs. ( #1807 )
2024-02-19 12:35:54 +01:00
Nikolai Siukosev
f1a38ff729
Disabled vk::raii::exchange()
implementation for C++14 or newer ( #1803 )
...
* Disabled `vk::raii::exchange()` implementation for C++14 or newer. Replaced with `using std::exchange`
* Regenerated raii headers
2024-02-15 08:35:02 +01:00
Andreas Süßenbach
982afd2929
Special handling for command vkGetDeviceFaultInfoEXT: changed return type from ResultValue to ResultValueType ( #1800 )
2024-02-08 15:30:36 +01:00
Andreas Süßenbach
c74c22fb77
Use some special handling for struct vk::DeviceFaultInfoEXT ( #1796 )
2024-02-08 11:40:27 +01:00
Andreas Süßenbach
1b6ea3c295
Resolve warning on multiple len usage in struct VkVideoDecodeAV1PictureInfoKHR ( #1791 )
2024-02-06 13:16:16 +01:00
Andreas Süßenbach
9fa4459c50
Add special handling for call sequence in commands for vkGetDeviceFaultInfoEXT ( #1790 )
2024-02-05 15:44:40 +01:00
Andreas Süßenbach
6bdba3ef31
Add support for command argument attribute "len" with value "1". ( #1789 )
2024-02-05 13:13:38 +01:00
Andreas Süßenbach
bba05939b9
Extend the noDeleterFunction list by vkReleaseCapturedPipelineDataKHR. ( #1784 )
2024-02-02 21:52:35 +01:00
Andreas Süßenbach
81be6ce248
Add missing brace. ( #1783 )
2024-02-02 21:34:43 +01:00
Andreas Süßenbach
3a946ddfa1
Specify std::min to work on type size_t for copy operations in struct constructors. ( #1782 )
2024-02-02 21:22:52 +01:00
Andreas Süßenbach
7bd7372016
Refactored gathering initializers for enhanced struct constructors. ( #1781 )
2024-02-02 18:22:51 +01:00
Andreas Süßenbach
78bfb316aa
Add support of attribute "len" for array-sized structure members. ( #1779 )
2024-02-02 12:53:29 +01:00
Andreas Süßenbach
fa020b9bb5
Resolved some code analysis warnings. ( #1774 )
2024-01-23 14:10:52 +01:00
Andreas Süßenbach
3e6fed9492
Introduce implicit cast operators for vk::UniqueHandles, vk::SharedHandles and vk::raii::Handles ( #1771 )
2024-01-16 13:48:53 +01:00
Andreas Süßenbach
e4ea505027
Simplified typename checks on allocator template types ( #1770 )
2024-01-10 13:30:04 +01:00
Andreas Süßenbach
9eab68eb5d
Add function pointer check when using DispatchLoaderDynamic. ( #1769 )
2024-01-08 12:19:28 +01:00
Andreas Süßenbach
db5c141013
Downgrade error on multiple identical "depends" attributes for "require" sections for an extension to a warning. ( #1765 )
2024-01-04 11:37:46 +01:00
Andreas Süßenbach
d2f13e2f7f
Include <memory> in vulkan_raii.hpp to have std::unique_ptr available. ( #1762 )
2024-01-03 11:49:10 +01:00
Andreas Süßenbach
52666b03f5
Resolve warning on struct with multiple members referencing the same member for len. ( #1759 )
2024-01-02 14:52:16 +01:00
Andreas Süßenbach
197017ef20
Add support of noexcept-path for vk::raii classes ( #1742 )
2024-01-02 13:47:01 +01:00
Andreas Süßenbach
6b132a4628
Fix usage of wrong command name when determining the skip count for that command ( #1747 )
2023-12-11 14:46:16 +01:00
Andreas Süßenbach
84b77d1406
Add support for a new class of commands. ( #1741 )
2023-11-29 19:21:22 +01:00
Andreas Süßenbach
5bd1e56054
Explicitly ignore new limittype "not". ( #1740 )
2023-11-29 19:20:27 +01:00
Patrick O'Connell
6453966415
Add missing includes ( #1730 )
2023-11-16 08:55:30 +01:00
Andreas Süßenbach
846ac99cee
Remove warning on "ratified" and "supported" being different for an extension. ( #1728 )
2023-11-14 16:50:41 +01:00
Sharadh Rajaraman
26664a38a4
Add extension macros as constexpr ( #1710 )
...
* Initial implementation
* Reordered prefixes, added SPEC_VERSION macro
- And added using statements to module file
* Actually add changes to .hpp and .cppm files
* Fixes for extension constexpr macros
- renamed some vars
- simplified logic and control flow
* Grouped by extension name rather than macro guards
- And added titles to all extension constexprs
* Syntax changes
- Removed the structured binding and fixed asserts
- Used C++20 functions
- Added another assert to check that extension and specversion macros exist
* Remove `std::ranges` usage
2023-10-26 14:59:13 +02:00
Andreas Süßenbach
962979c679
Identify delete commands starting with "vkRelease" ( #1697 )
2023-10-16 16:01:35 +02:00
Andreas Süßenbach
c8cf030fe9
Add FlagBits type as required if it is not listed where the corresponding Flags type is required ( #1689 )
2023-10-10 21:54:36 +02:00
Anton Shangareev
b961a1a4c2
Fix C++20 module build with -DVULKAN_HPP_NO_SMART_HANDLE ( #1678 )
...
* Move SharedHandle and UniqueHandle under correct preprocessor guard in .cppm
* Fix VulkanHppGenerator
2023-10-09 12:25:01 +02:00
Andreas Süßenbach
f76ce52df5
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 )
2023-10-05 15:19:16 +02:00
Andreas Süßenbach
f97633a220
Extend command generation to support not returning some return stuff and not templatizing a void pointer. ( #1666 )
2023-10-02 14:57:52 +02:00
Andreas Süßenbach
eccf541cd4
Add support of hex numbers for enum values ( #1671 )
2023-10-02 14:56:27 +02:00
Andreas Süßenbach
9aa679e5e8
Add support of attribute "type" for a enums in an extension, storing them as a constant. ( #1668 )
2023-09-28 13:23:31 +02:00
Andreas Süßenbach
f1b8af1157
Reduced listing of unused VkStructureType value from error to warning. ( #1664 )
2023-09-26 15:05:54 +02:00
Andreas Süßenbach
3e1e9b4653
Add support of commands returning void and getting two simple data type values. ( #1663 )
2023-09-26 12:02:43 +02:00
Andreas Süßenbach
37b50fa9ef
Revert "Update Vulkan-Headers to v1.3.265 ( #1661 )" ( #1662 )
...
This reverts commit 205758299b
.
2023-09-25 15:28:32 +02:00
Andreas Süßenbach
205758299b
Update Vulkan-Headers to v1.3.265 ( #1661 )
2023-09-25 11:56:48 +02:00
Andreas Süßenbach
128261aa45
Add missing header in vulkan.cppm. ( #1659 )
2023-09-19 17:40:35 +02:00