Commit Graph

24 Commits

Author SHA1 Message Date
nyronium
96299b3a1f Rename variables named 'requires' which is a keyword in c++20 (#336) 2019-06-11 10:12:37 +02:00
Frank Richter
0e76bc68e3 Support compilation with VK_NO_PROTOTYPES defined (#328)
* Add checks for VK_NO_PROTOTYPES so the can still compile if that is defined
2019-05-21 14:57:52 +02:00
Andreas Süßenbach
bcc02a1cb0 Cleanup on platform protection handling. (#312) 2019-04-01 09:30:06 +02:00
Andreas Süßenbach
7905145361 Get the to_string function of an enum inside of the corresponding platform protection (#311) 2019-03-21 11:53:30 +01:00
Andreas Süßenbach
fe614bd960 Add platform specific protection for enum classes listed in a platform-protected extension. (#310) 2019-03-20 17:39:51 +01:00
Andreas Süßenbach
3f20016ba9 Make the default value on "other" types dynamic by reading those types from <type> "requires" in vk.xml. (#306) 2019-03-19 15:34:00 +01:00
Andreas Süßenbach
48ceca69f3 Improve alias handling of enums and structs: (#305)
- Extend and unify alias handling on feature and extension enums
- Extend aliases of enums handling to accept two levels of aliasing
- Extend aliases of structures to allow mulitple aliases of the same structure
- Simplify forward declarations to just declare all structures and aliases
2019-03-18 20:48:10 +01:00
Andreas Süßenbach
efe676ab66 Handle aliased enum values with different extension tag as their base value. (#290)
+ update Vulkan-Docs to version 1.1.100.
2019-02-13 12:18:49 +01:00
Andreas Süßenbach
e3f096bc7c Cleanup on reading structure members and command arguments. (#282) 2019-01-14 10:09:19 +01:00
Andreas Süßenbach
a147b07737 Cleanup code generation with focus on removing the need to sort all dependencies before writing them. 2019-01-09 11:55:11 +01:00
Andreas Süßenbach
e765318a3d Correct usage of platform/protect information. (#276)
+ update to version 1.1.94
2018-12-03 14:33:37 +01:00
Andreas Süßenbach
c02200ce37 Add support for stateful allocators used with functions returning a std::vector. (#263)
+ update Vulkan-Docs
2018-10-26 09:07:25 +02:00
Andreas Süßenbach
605ff24487 Add an error check on functions returning VkResult but not specifying success codes. (#262) 2018-10-15 14:27:42 +02:00
Andreas Süßenbach
a9b5b68572 Switch to warning level 4 (#240) 2018-08-17 17:47:48 +02:00
Markus Tavenrath
eaf0fda6de
List out default ctor parameters in separate lines (#225)
It's often useful to browse through vulkan.hpp to check what the default values
for various info structs are, but having them on a single line makes it hard to
read.

This change puts each ctor argument on a different line, which makes the
default values more visible.
2018-06-12 09:58:52 +02:00
Andreas Süßenbach
b075d67fbc Add constructor for structures which kind of extends some other structures (like Offset3D extending Offset2D) (#213) 2018-05-07 16:44:32 +02:00
Markus Tavenrath
8dbe1fa9d4 Don't create destroy functions for alias commands (#191) 2018-03-01 11:51:30 +01:00
Andreas Süßenbach
818dc27d06 Introduce overloads for destroy* and free* functions (#180) 2018-02-14 02:49:48 -08:00
Andreas Süßenbach
75cb7d14f1 Correct usage of Allocator in functions returning a vector of UniqueObjects (#178) 2018-02-01 14:45:30 +01:00
Markus Tavenrath
4b77709e49 Add Vulkan function dispatcher which queries pointers through vkGet*ProcAddress (#176) 2018-01-29 16:39:35 +01:00
Markus Tavenrath
e97e34675d Add support for Vulkan call delegation to support custom loaders. (#174) 2018-01-22 15:36:15 +01:00
Andreas Süßenbach
d74e5f6199 Change functions returning a UniqueHandle to returning a ResultValue<UniqueHandle>::type, making VULKAN_HPP_NO_SMART_HANDLE and VULKAN_HPP_NO_EXCEPTIONS really independent. (#173) 2018-01-16 14:59:54 +01:00
Andreas Süßenbach
c4fcc08e95 Reshape alias handling according to new alias usage in vk.xml. (#167) 2018-01-04 10:51:17 +01:00
Andreas Süßenbach
15ac21442d Refactor into the newly introduced class VulkanHppGenerator. (#164) 2017-12-21 07:40:48 -04:00