Commit Graph

1318 Commits

Author SHA1 Message Date
asuessenbach
cc77b67bb8 Provide std::hash<vk::HandleType> to make handles hashable. 2020-04-06 10:41:42 +02:00
asuessenbach
407542705f Change allocation of vectors of UniqueHandles to not rely on std::vector<>::data() returning a valid pointer after calling std::vector<>::reserve(). 2020-04-06 10:14:20 +02:00
asuessenbach
a5e8a7ccb8 Update to and adjustments for VK_HEADER_VERSION 136. 2020-03-30 12:13:07 +02:00
asuessenbach
732274919b Correct actual function called by aliased member functions 2020-03-25 17:13:03 +01:00
asuessenbach
0ea8a527ba Introduce ArrayWrapper?D, replacing ConstExpression?DArrayCopy
+ no explicit copy constructor of structs needed any more
+ removed assignment operator of structs that don't hold a const sType member (for those, we still need the assignment operator!)
+ simplified operator==() of structs (pre C++20)
+ resolved some 32bit warnings
2020-03-25 12:35:35 +01:00
Andreas Süßenbach
b7310d6c19
Merge pull request #552 from asuessenbach/AppVeyor
[AppVeyor] Remove usage of VS2019 due to an internal compiler error.
2020-03-24 13:25:43 +01:00
asuessenbach
0e5e1dcda7 [AppVeyor] Remove usage of VS2019 due to an internal compiler error. 2020-03-24 10:54:50 +01:00
Andreas Süßenbach
2e9cfdd3bf
Merge pull request #551 from asuessenbach/returnType
Relax criterion on determining enhanced return type.
2020-03-24 10:20:34 +01:00
asuessenbach
8c6ac21d27 Relax criterion on determining enhanced return type. 2020-03-24 09:43:50 +01:00
Andreas Süßenbach
c7b71cca0c
Merge pull request #548 from mocabe/appveyor-samples
Enable samples on AppVeyor builds
2020-03-23 15:36:04 +01:00
mocabe
9f5885ea52 [CMake] Disable tests in external libraries 2020-03-20 05:12:25 +09:00
mocabe
fcd272c442 [CI] Enable samples on Appveyor 2020-03-20 04:00:07 +09:00
mocabe
62667a6b4b [samples] Add missing explicit casts 2020-03-20 03:59:14 +09:00
mocabe
2f4ca1d168 [samples][PhysicalDeviceGroups] Fix device name output 2020-03-20 03:57:46 +09:00
mocabe
590fc89fb5 [samples] Add missing VKAPI_ATTR and VKAPI_CALL for debug callback functions 2020-03-20 03:56:18 +09:00
Andreas Süßenbach
56c430fe85
Merge pull request #547 from asuessenbach/135
Update to VK_HEADER_VERSION 135
2020-03-19 09:55:27 +01:00
asuessenbach
bebb3a86bd Update to VK_HEADER_VERSION 135 2020-03-19 09:13:41 +01:00
mocabe
47ed832c06 [CI] Fix llvm-toolchain dependency 2020-03-16 10:48:37 +01:00
Andreas Süßenbach
ce7f49f4c0
Merge pull request #543 from asuessenbach/union
Add missing handling of unions in readExtensionRequireType.
2020-03-13 09:04:36 +01:00
asuessenbach
7826e58909 Add missing handling of unions in readExtensionRequireType. 2020-03-13 08:54:54 +01:00
Andreas Süßenbach
7d5c399cd7
Merge pull request #533 from asuessenbach/disabled
Improve handling of disabled extensions.
2020-03-12 10:18:44 +01:00
Andreas Süßenbach
784ce5d12c
Merge pull request #541 from asuessenbach/check
Add a check on having a valid value for struct members sType.
2020-03-10 16:56:16 +01:00
asuessenbach
402816919b Add a check on having a valid value for struct members sType. 2020-03-10 16:19:37 +01:00
Andreas Süßenbach
97b2a52d4f
Merge pull request #540 from asuessenbach/arraySize
Add support of array-sized function arguments
2020-03-10 15:46:50 +01:00
asuessenbach
8be8282458 Add support of array-sized function arguments 2020-03-10 15:40:05 +01:00
Andreas Süßenbach
2a8d8e3ca4
Merge pull request #539 from asuessenbach/enum
Yet another correction on braces for arrays of enums.
2020-03-10 14:36:18 +01:00
asuessenbach
41cece140e Yet another correction on braces for arrays of enums. 2020-03-10 14:26:36 +01:00
Andreas Süßenbach
0ee54e1249
Merge pull request #538 from asuessenbach/enum
Correct braces around array of enum initializers.
2020-03-10 14:06:43 +01:00
asuessenbach
d5dba659b4 Correct braces around array of enum initializers. 2020-03-10 12:46:45 +01:00
asuessenbach
434c0326f4 Support arrays of enums in structures. 2020-03-10 11:47:09 +01:00
asuessenbach
594acb2ecd Improve handling of disabled extensions.
(Partly) resolves #531
2020-03-10 10:06:33 +01:00
asuessenbach
87cecae683 Update of vk.xml to version 134; resolve warnings
Resolves #535
2020-03-10 10:00:06 +01:00
asuessenbach
cd554ce9e0 Introduce support of VkFlags64
+ add support of structExtends via alias'ed structures
+ add support of alias'ed commands via already alias'ed commands
2020-03-04 15:29:06 +01:00
asuessenbach
1b22ac9658 Introduce spaceship operator<=> on Flags with C++20, replacing all the relational operators
+ replace variables/struct members named "requires" with "requirements"
2020-03-03 14:02:32 +01:00
Andreas Süßenbach
8983df9269
Merge pull request #530 from mbarriault/master
Add const versions of StructureChain::get
2020-03-03 08:56:56 +01:00
Mike Barriault
4f56a424c6 Add const versions of StructureChain::get 2020-03-02 21:32:06 +00:00
asuessenbach
f43626d8a1 Move aliased platform specific stuff out of the platform protection. 2020-03-02 14:09:47 +01:00
Andreas Süßenbach
53805727d2
Merge pull request #526 from asuessenbach/check
Correct filtering of struct elements.
2020-02-27 10:02:09 +01:00
asuessenbach
862c0abdc7 Correct filtering of struct elements. 2020-02-27 09:50:28 +01:00
Andreas Süßenbach
9bc920a8c9
Merge pull request #525 from asuessenbach/check
Reduced exception on encountering an unknown element to a warning.
2020-02-27 09:37:02 +01:00
asuessenbach
0d65f6a142 Reduced exception on encountering an unknown element to a warning. 2020-02-27 08:58:57 +01:00
Andreas Süßenbach
a1f8fb13cd
Merge pull request #523 from asuessenbach/supported
Add "enabled" as accepted value for attribute "supported" in extension element
2020-02-26 08:54:32 +01:00
asuessenbach
5d124b6d4a Add "enabled" as accepted value for attribute "supported" in extension element 2020-02-26 08:43:29 +01:00
Andreas Süßenbach
c1de6026b4
Merge pull request #522 from asuessenbach/check
Extend check for attributes "deprecatedby" and "obsoletedby" to include features as well
2020-02-25 14:06:13 +01:00
asuessenbach
28d6e3e665 Extend check for attributes "deprecatedby" and "obsoletedby" to include features as well 2020-02-25 13:53:27 +01:00
asuessenbach
947583a1e5 Replace explicit template parameter MaskType for Flags types by std::underlying_type<BitType>::type and specify the underlying type for the FlagBits types
Resolves #507
2020-02-25 13:36:05 +01:00
asuessenbach
cbff9067dc Define VULKAN_HPP_NO_SMART_HANDLE if VULKAN_HPP_DISABLE_ENHANCED_MODE is defined.
Resolves #509.
2020-02-25 10:30:41 +01:00
Andreas Süßenbach
f9d90dfd1c Some more checks 2020-02-25 10:29:13 +01:00
Andreas Süßenbach
f256f73b82
Merge pull request #521 from asuessenbach/CopyArray
Correct ConstExpression2DArrayCopy
2020-02-24 18:04:45 +01:00
asuessenbach
241e70e9cd Correct ConstExpression2DArrayCopy
+ introduce new test ArrayCopy
2020-02-24 12:05:49 +01:00