Andreas Süßenbach
f1668a6e28
Remove template parameter defaultValue from Flags. ( #492 )
...
Flags always default to just no FlagBits set.
2020-01-21 12:01:35 +01:00
Andreas Süßenbach
33b244859b
Add specific initialization of Flags and FlagBits. ( #489 )
...
Resolves #488 .
2020-01-16 12:12:31 +01:00
Alex Hirsch
bb5b19deda
Fix regression in ObjectDestroy default argument ( #485 )
2020-01-16 08:50:50 +01:00
Andreas Süßenbach
7e81c7bddf
Improve construction of success check and return type of enhanced functions returning a vector of UniqueHandles ( #484 )
2020-01-15 16:54:55 +01:00
Andreas Süßenbach
129f82dd90
Extend check to determine the returnParameterIndex. ( #482 )
2020-01-14 16:06:50 +01:00
Andreas Süßenbach
a75cf874c7
Filter aliases of enum values that originally belong to aliases of the enum class. ( #483 )
2020-01-14 16:05:05 +01:00
Andreas Süßenbach
e49f02013a
Mark every non-enhanced function with VULKAN_HPP_NOEXCEPT. ( #481 )
2020-01-14 10:37:54 +01:00
Andreas Süßenbach
65450515ee
Added a couple of features: ( #480 )
...
+ support for 2D arrays
+ support for bitfield members in a structure (slightly restricted: no default member initializers and for any vk::*FlagBits member Vk*FlagBits would be used)
+ aliases to enums are listed by using declarations
+ for aliases to handle types, an aliased Unique handle type is added by a using declaration
+ a check in determining an enhanced return type is extended
2020-01-13 15:00:59 +01:00
Andreas Süßenbach
979af1b46e
Added test on existence of ObjectType enum value corresponding to handle type in extensions. ( #477 )
2020-01-10 10:18:55 +01:00
Andreas Süßenbach
8d62969b4d
Fix arraySize for array-valued return parameter. ( #476 )
2020-01-09 16:21:41 +01:00
Andreas Süßenbach
1911d18790
Completed set of operators on Flags ( #475 )
2020-01-09 09:44:41 +01:00
Andreas Süßenbach
55517484be
Add optional attribute "specialuse", currently ignored. ( #474 )
2020-01-08 14:29:26 +01:00
Markus Tavenrath
d5f58e07dd
Add error message when referencing undefined type requirements ( #473 )
2020-01-07 16:50:46 +01:00
Andreas Süßenbach
4ee2d61ef6
Improve operator==() of structs ( #472 )
...
When a struct holds a fixed size array of stuff, and the member variable right before that array is the count (determined by its specific name) for that array, we now only compare that number of stuff.
Resolves #456
2020-01-07 16:28:50 +01:00
Andreas Süßenbach
0b3af1ee76
Add is_error_code_enum only if VULKAN_HPP_NO_EXCEPTIONS is not defined. ( #471 )
2020-01-06 15:55:31 +01:00
Arthur Brainville
4320950db1
Update EnableValidationWithCallback.cpp ( #466 )
...
Quick patch that fixes the `EnableValidationWithCallback` sample:
There's no `str()` method here, should use `c_str()`;
*but* also, you can print the std::string directly to `std::cout`.
Patches remove `.str()` from printing line when WIN32 is not defined.
2020-01-06 12:16:35 +01:00
nvaara
196de24461
fixed vertexBindingDescription ( #465 )
2020-01-06 12:12:12 +01:00
Markus Tavenrath
499d4bb33d
Bring back default arguments to ObjectDestroy class. Update header to Vulkan 1.130 ( #468 )
...
Fix issue #467
2020-01-03 10:59:59 +01:00
Andreas Süßenbach
021c7499a0
Cleanup on usage of static vs. dynamic loading ( #462 )
2019-12-23 08:45:40 +01:00
Andreas Süßenbach
18febd6237
Add usage of DebugUtilsMessenger in vk::su::createInstance ( #461 )
2019-12-19 14:00:51 +01:00
Andreas Süßenbach
0280efc78c
Corrected image layout and descriptor set handling in RayTracing sample. ( #460 )
2019-12-19 13:59:48 +01:00
Andreas Süßenbach
7da1c8baf0
Samples: Explicitly set vk::PipelineMultisampleStateCreateInfo::rasterizationSamples ( #459 )
2019-12-16 14:51:29 +01:00
Andreas Süßenbach
0b01a8a74c
Introduce default initializers for member variables, simplify default values for constructor arguments ( #455 )
2019-12-12 11:40:21 +01:00
Andreas Süßenbach
3f82338d9f
Fix ambiguous constructor of ObjectDestroy with vk::NoParent. ( #451 )
...
Resolves #450
2019-12-04 08:34:58 +01:00
Andreas Süßenbach
afe4e6b03f
Extent readme on samples and tests. ( #449 )
2019-12-03 10:15:06 +01:00
Andreas Süßenbach
2a05d74c23
Change every occurance of vk:: to VULKAN_HPP_NAMESPACE:: ( #448 )
...
Resolves #447
2019-12-02 10:06:44 +01:00
Andreas Süßenbach
07edfc45d6
Introduce default constructors for UniqueHandle, ObjectDestroy, and ObjectFree ( #446 )
2019-11-28 16:01:22 +01:00
Andreas Süßenbach
f2058303cb
Introduce functions vk::StructureChain::unlink<ClassType>() and vk::StructureChain::relink<ClassType>(). ( #441 )
...
Resolves #439 .
2019-11-28 15:58:15 +01:00
Andreas Süßenbach
e40eb90980
Remove not needed operator==() and operator!=() on *FlagBits ( #442 )
...
Resolves #436
2019-11-27 11:41:21 +01:00
takiyu
7fc627d6b9
Fix lableName typo. ( #440 )
2019-11-26 11:28:57 +01:00
Andreas Süßenbach
d2a116b57f
Correct operator=() by using offsetof instead of sizeof to determine size of memory to copy. ( #437 )
2019-11-19 17:44:16 +01:00
dan sinclair
2bd8e403e8
Add option to install vulkan.hpp header ( #429 )
2019-11-14 10:07:27 +01:00
Andreas Süßenbach
e850963599
Extend functions returning a std::vector<vk::StructureChain> to use an additional local vector for getting the information, and then copy the heads of the StructureChains over to the return vector ( #432 )
...
Fixes #400
2019-11-13 10:04:50 +01:00
Markus Tavenrath
661d2a9a7c
Include windows.h on windows platforms in case the DynamicLoader is enabled. ( #431 )
2019-11-11 17:23:35 +01:00
Andreas Süßenbach
581b7cb227
Add [[noreturn]] and remove VULKAN_HPP_INLINE to/from function throwResultException ( #430 )
...
Resolves issue #406
2019-11-07 15:42:10 +01:00
Andreas Süßenbach
3fc2ea47fd
Replace namespace layout stuff by a simple const for the sType member of the structures ( #428 )
...
+ reshape of constructors and assignment operators of structs.
2019-11-07 08:22:47 +01:00
Markus Tavenrath
10aa543b7e
Use existing tests for appveyor. ( #426 )
2019-11-06 16:56:52 +01:00
dan sinclair
8f3b1d6f01
Add CMakeList target to run generator ( #424 )
...
This CL adds the VULKAN_HPP_RUN_GENERATOR option which will run the
vulkan hpp generator from CMake if enabled.
2019-11-06 14:48:21 +01:00
Andreas Süßenbach
dc43cf795f
Update README.md ( #418 )
2019-11-06 14:45:41 +01:00
Andreas Süßenbach
cea5d7fae3
Add unique-versions of "Register"-functions (currently just registerEventEXTUnique and registerDisplayEventEXTUnique) ( #421 )
2019-11-06 14:45:13 +01:00
Warpten
5512f6df92
Implement support for unicode in Windows projects using vk::DynamicLoader
. ( #422 )
2019-11-06 14:44:33 +01:00
Markus Tavenrath
96b0bfdf0d
Fix DynamicLoader on 32-bit platforms ( #427 )
2019-11-06 13:52:41 +01:00
dan sinclair
fe0c9e1c14
Allow setting vulkan paths. ( #419 )
...
This CL adds VULKAN_HPP_VULKAN_HEADERS_SRC_DIR and VULKAN_HPP_PATH
variables to the CMakeLists file.
2019-11-05 10:47:42 +01:00
Frank Richter
d8513f1b7f
Add an appveyor config ( #347 )
2019-11-05 06:41:51 +01:00
dan sinclair
42d348f969
Allow setting tinyxml2 source directory ( #417 )
...
* Allow setting tinyxml2 source directory
This CL adds a build flag to allow the tinyxml2 source directory to
exist outside the Vulkan-HPP source tree.
* Add quotes around path
2019-10-31 10:06:22 +01:00
Andreas Süßenbach
9f7b06cbd1
Remove VULKAN_HPP_NOEXCEPT from functions that throw a LogicError. ( #416 )
2019-10-30 10:10:32 +01:00
mocabe
68b11f1e90
Disable CTAD on ArrayProxy's constructors ( #405 )
...
* Disable CTAD on ArrayProxy's reference constructor
* Disable CTAD on ArrayProxy's initializer_list ctor
2019-10-29 16:00:03 +01:00
Andreas Süßenbach
c06a3300f6
Add a couple of new samples, improved some others: ( #414 )
...
new:
- InstanceVersion: print out the instance version
- PhysicalDeviceExtensions: print out the device specific extensions
- PhysicalDeviceFeatures: print out the device specific features
- PhysicalDeviceGroups: print out the device groups (interesting with SLI)
- PhysicalDeviceMemoryProperties: print out the device specific memory properties
- PhysicalDeviceQueueFamilyProperties: print out the device specific queue family properties
- SurfaceCapabilities: print out the surface specific capabilities
- SurfaceFormats: print out the supported surface specific formats
improved:
- InstanceExtensionProperties: print out the instance extensions alphabetically
- InstanceLayerProperties: removed an unused local function
- RayTracing: improved fence usage
2019-10-28 15:36:21 +01:00
Markus Tavenrath
178bf4ded7
Fix typo when calling operator==(enum, enum) ( #415 )
2019-10-28 15:27:48 +01:00
Markus Tavenrath
3976a4cc75
Fix msvc 2015 issue with operator== being ambigious and incorrect constexpr in ResultValue ( #412 )
2019-10-25 13:21:49 +02:00