Commit Graph

1980 Commits

Author SHA1 Message Date
asuessenbach
90afc89e66 Combine two types of commands into one generation function 2022-04-21 11:27:39 +02:00
Andreas Süßenbach
828ac8e246
Merge pull request #1288 from phantom10111/array-proxy-with-raw-arrays
Add ArrayProxy constructors with support for raw array with size
2022-04-19 17:38:31 +02:00
Andreas Süßenbach
e9c343c402
Merge pull request #1289 from asuessenbach/function
Combine two types of commands into one generation function
2022-04-19 13:34:44 +02:00
Andreas Süßenbach
f134e1ad46
Merge pull request #1287 from phantom10111/dispatchable-handles-conversion
Make type conversions implicit for dispatchable handles
2022-04-19 12:01:16 +02:00
asuessenbach
769827ed3d Combine two types of commands into one generation function 2022-04-19 11:59:33 +02:00
phantom10111
1bc663f851 Add tests for ArrayProxy constructors with raw arrays with size
Add tests for new ArrayProxy and ArrayProxyNoTemporaries constructors.
Also add more size assertions, to verify that ArrayProxy size is correct
after construction.
2022-04-19 11:49:17 +02:00
phantom10111
5df998c0d6 Add ArrayProxy constructors with support for raw array with size
There's a little known C language family feature, which makes it
possible to take a pointer or reference to an array with size. Use this
feature to add constructors to ArrayProxy and ArrayProxyNoTemporaries
which can wrap raw arrays and deduce their size automatically.
2022-04-19 11:49:09 +02:00
phantom10111
9e95c0072d Make type conversions implicit for dispatchable handles
Vulkan handles are not typesafe on 32-bit platforms, but only for
non-dispachable handles. Dispatchable handles are opaque struct pointers
on all platforms, and thus typesafe.

This commit makes all conversions for dispatchable handles implicit,
regardless of VULKAN_HPP_TYPESAFE_CONVERSION setting.
2022-04-15 11:24:30 +02:00
Andreas Süßenbach
25256d1d59
Merge pull request #1286 from asuessenbach/function
Combine two types of commands into one generation function
2022-04-14 09:40:22 +02:00
asuessenbach
9c99d1b2ce Combine two types of commands into one generation function 2022-04-14 08:03:15 +02:00
Andreas Süßenbach
ef2327004a
Merge pull request #1285 from asuessenbach/function
Combine two types of commands into one generation function.
2022-04-13 13:37:39 +02:00
asuessenbach
4ba01be8d1 Combine two types of commands into one generation function. 2022-04-13 09:45:31 +02:00
Andreas Süßenbach
104aee2fd9
Merge pull request #1284 from asuessenbach/function
Combine two types of commands into one generation function.
2022-04-12 15:25:30 +02:00
asuessenbach
956cda998b Combine two types of commands into one generation function. 2022-04-12 13:56:21 +02:00
Andreas Süßenbach
dbd8462d45
Merge pull request #1283 from simait/patch-1
Update README.md
2022-04-11 15:04:35 +02:00
Andreas Süßenbach
02a87844c3
Merge pull request #1282 from asuessenbach/function
Combine two types of commands into one generation function.
2022-04-11 08:54:30 +02:00
Simon Aittamaa
c0c4b32d02
Update README.md
Fix invalid markdown.
2022-04-08 11:18:43 +02:00
asuessenbach
26e2fc42c8 Combine two types of commands into one generation function. 2022-04-07 16:04:26 +02:00
Andreas Süßenbach
b3612a19be
Merge pull request #1280 from asuessenbach/function
Combine two types of commands into one generation function.
2022-04-07 15:38:57 +02:00
asuessenbach
d50485c5c7 Combine two types of commands into one generation function. 2022-04-07 08:48:55 +02:00
Andreas Süßenbach
1739c1d0e1
Merge pull request #1279 from KhronosGroup/update-vulkan-headers-pr
Update Vulkan-Headers to v1.3.211
2022-04-06 10:33:31 +02:00
GitHub
da42600e06 Update Vulkan-Headers to v1.3.211 2022-04-06 00:09:05 +00:00
Andreas Süßenbach
dfde8cfbb6
Merge pull request #1278 from asuessenbach/function
Combine two types of commands into one generation function.
2022-04-05 13:26:09 +02:00
asuessenbach
45e5418332 Combine two types of commands into one generation function. 2022-04-05 10:02:00 +02:00
Andreas Süßenbach
3381dddc1c
Merge pull request #1277 from asuessenbach/function
Add support for commands returning void and getting you a single opaque object represented by a size and a void-pointer
2022-04-04 13:31:38 +02:00
asuessenbach
0328693bba Add support for commands returning void and getting you a single opaque object represented by a size and a void-pointer 2022-04-04 11:58:06 +02:00
Andreas Süßenbach
23e13c1a9a
Merge pull request #1276 from asuessenbach/allocator
Add missing allocator template argument in createResultValue helper functions working on std::vector<UniqueHandle> types.
2022-04-04 11:57:15 +02:00
asuessenbach
dd6deccf52 Add missing allocator template argument in createResultValue helper functions working on std::vector<UniqueHandle> types. 2022-04-04 10:00:13 +02:00
Andreas Süßenbach
e05bbdc555
Merge pull request #1274 from asuessenbach/fix
Remove surplus closing brace in command generation template.
2022-03-31 22:17:41 +02:00
asuessenbach
d966e4e3ac Remove surplus closing brace in command generation template. 2022-03-31 21:02:32 +02:00
Andreas Süßenbach
7f4cbd2a2b
Merge pull request #1273 from asuessenbach/function
Add support of commands returning void and getting a vector of data.
2022-03-31 20:53:46 +02:00
asuessenbach
6fca13eaba Add support of commands returning void and getting a vector of data. 2022-03-31 17:52:32 +02:00
Andreas Süßenbach
94dd2f6e02
Merge pull request #1272 from asuessenbach/function
Combine two types of commands into one generation function.
2022-03-31 11:45:01 +02:00
asuessenbach
333083e44e Combine two types of commands into one generation function. 2022-03-31 09:52:06 +02:00
Andreas Süßenbach
055ca54ffc
Merge pull request #1271 from asuessenbach/210
Update Vulkan-Headers to v1.3.210
2022-03-30 13:34:24 +02:00
asuessenbach
5190cd09ff Update Vulkan-Headers to v1.3.210 2022-03-30 11:52:35 +02:00
Andreas Süßenbach
3fa7e57d54
Merge pull request #1270 from asuessenbach/createResultValue
Re-add accidentally removed version of createResultValue
2022-03-30 10:56:29 +02:00
asuessenbach
16a44bb94f Re-add accidentally removed version of createResultValue
+ add test project for UniqueHandles.
2022-03-30 09:45:51 +02:00
Andreas Süßenbach
91cd6b0443
Merge pull request #1267 from asuessenbach/assert
Resolved an assertion in readTypesTypeStruct.
2022-03-29 09:51:50 +02:00
asuessenbach
f60264fee5 Resolved an assertion in readTypesTypeStruct. 2022-03-29 08:41:49 +02:00
Andreas Süßenbach
7d0c4c8754
Merge pull request #1266 from asuessenbach/function
Combine two types of commands into one generation function.
2022-03-29 08:33:02 +02:00
asuessenbach
a8d47f4694 Combine two types of commands into one generation function. 2022-03-28 17:52:45 +02:00
Andreas Süßenbach
e064832a08
Merge pull request #1265 from asuessenbach/support
Add support for commands enumerating some stuff, without any error codes.
2022-03-28 11:24:18 +02:00
asuessenbach
aad66ebe1c Add support for commands enumerating some stuff, without any error codes. 2022-03-28 09:58:37 +02:00
Andreas Süßenbach
098db76000
Merge pull request #1264 from asuessenbach/209
Update Vulkan-Headers to v1.3.209
2022-03-24 10:51:40 +01:00
asuessenbach
439ac7fe26 Update Vulkan-Headers to v1.3.209 2022-03-24 09:51:10 +01:00
Andreas Süßenbach
3db8c6af8b
Merge pull request #1262 from asuessenbach/pNext
Add pNext as optional last argument to constructors of structs that hold a pNext.
2022-03-24 09:38:33 +01:00
asuessenbach
d90c6cbbfc Add pNext as optional last argument to constructors of structs that hold a pNext. 2022-03-23 17:08:19 +01:00
Andreas Süßenbach
efcb07a591
Merge pull request #1261 from asuessenbach/function
Add support for commands getting two values.
2022-03-23 11:18:20 +01:00
asuessenbach
5e8fb94890 Add support for commands getting two values. 2022-03-23 10:00:40 +01:00