Commit Graph

834 Commits

Author SHA1 Message Date
Andreas Süßenbach
7fc9c190e2
Merge pull request #766 from asuessenbach/refactor
Refactor functions returning a vector of handles.
2020-10-08 12:56:32 +02:00
asuessenbach
0783f19332 Add some words on the type traits provided by vulkan.hpp 2020-10-08 11:49:01 +02:00
asuessenbach
45c187997b Refactor functions returning a vector of handles. 2020-10-08 11:44:50 +02:00
Andreas Süßenbach
637d6f77ef
Merge pull request #764 from asuessenbach/refactor
Refactor handle getting functions
2020-10-07 13:31:45 +02:00
asuessenbach
9dec09ac6e Refactor handle getting functions 2020-10-07 11:54:52 +02:00
Andreas Süßenbach
e280c5b8c4
Merge pull request #763 from asuessenbach/refactor
Refactor command classification code.
2020-10-06 10:43:42 +02:00
asuessenbach
b8b620b118 Refactor command classification code. 2020-10-06 09:54:18 +02:00
Andreas Süßenbach
0884cf31c7
Merge pull request #762 from asuessenbach/refactor
Refactor simple functions getting a single value
2020-10-05 23:06:42 +02:00
asuessenbach
87fc3571c6 Refactor simple functions getting a single value 2020-10-05 15:55:13 +02:00
Andreas Süßenbach
30bf7bf8a4
Merge pull request #761 from asuessenbach/156
Update to VK_HEADER_VERSION 156.
2020-10-05 13:31:58 +02:00
asuessenbach
1629bf53e2 Update to VK_HEADER_VERSION 156. 2020-10-05 10:10:39 +02:00
Andreas Süßenbach
28a18d49cb
Merge pull request #758 from asuessenbach/noexcept
Correct usage of noexcept on functions that need to check vector sizes.
2020-09-30 11:29:18 +02:00
Andreas Süßenbach
f7dce6bc5b
Merge pull request #757 from asuessenbach/refactor
Refactor simple functions with more than one success code.
2020-09-30 10:58:09 +02:00
Andreas Süßenbach
d9f768874c
Merge pull request #756 from asuessenbach/allocator
Correct actual name of vectorAllocator in generated function bodies.
2020-09-30 10:16:19 +02:00
asuessenbach
152353da3e Correct usage of noexcept on functions that need to check vector sizes. 2020-09-30 10:13:51 +02:00
asuessenbach
bb0de4db93 Refactor simple functions with more than one success code. 2020-09-30 09:32:02 +02:00
Andreas Süßenbach
5fd780c189
Merge pull request #755 from mtavenrath/clang10
Fix clang 10 related compile time issues
2020-09-30 09:15:30 +02:00
asuessenbach
a77b68ce05 Correct actual name of vectorAllocator in generated function bodies. 2020-09-30 09:13:44 +02:00
Andreas Süßenbach
2c1050518a
Merge pull request #754 from asuessenbach/refactor
Refactor generation of simple commands with up to one vector parameter
2020-09-29 14:03:08 +02:00
Markus Tavenrath
46a80d0a07 Fix clang 10 related compile time issues 2020-09-29 13:55:57 +02:00
asuessenbach
8219ca081d Refactor generation of simple commands with up to one vector parameter 2020-09-29 12:21:27 +02:00
Andreas Süßenbach
ea0498def9
Merge pull request #753 from asuessenbach/refactor
Refactor function generation of void-functions enumerating a single vector of data.
2020-09-29 09:37:58 +02:00
asuessenbach
b6e6294fb9 Refactor function generation of void-functions enumerating a single vector of data. 2020-09-28 16:34:50 +02:00
Andreas Süßenbach
d8c299104b
Merge pull request #751 from asuessenbach/155
Update to VK_HEADER_VERSION 155.
2020-09-28 11:46:39 +02:00
asuessenbach
3b30cb3a9c Update to VK_HEADER_VERSION 155. 2020-09-28 10:30:55 +02:00
Andreas Süßenbach
1db89137bc
Merge pull request #750 from asuessenbach/arraySizes
Improve handling of function parameters with array sizes.
2020-09-27 17:47:12 +02:00
asuessenbach
63aa7ede28 Improved handling of function parameters with array sizes. 2020-09-27 00:33:38 +02:00
Andreas Süßenbach
bb7485b238
Merge pull request #749 from asuessenbach/hotfix
correct value-check of parameters
2020-09-26 18:52:59 +02:00
asuessenbach
865069ccc3 correct value-check of parameters
+ add missing array sizes for parameters
2020-09-25 23:45:55 +02:00
Andreas Süßenbach
557434e037
Merge pull request #747 from asuessenbach/refactor
Refactor some trivial functions
2020-09-25 09:53:23 +02:00
asuessenbach
1f31648973 Refactor some trivial functions 2020-09-25 09:02:37 +02:00
Andreas Süßenbach
3c2966157c
Merge pull request #746 from asuessenbach/refactor
refactor more functions into the simple void case.
2020-09-24 14:24:36 +02:00
asuessenbach
0d02918ce8 refactor more functions into the simple void case. 2020-09-24 11:47:18 +02:00
Andreas Süßenbach
745e1342bd
Merge pull request #745 from asuessenbach/154
Update to VK_HEADER_VERSION 154.
2020-09-23 11:52:18 +02:00
Andreas Süßenbach
f7272855c9
Merge pull request #744 from asuessenbach/refactor
refactor command generation of two-vector getting functions returning…
2020-09-23 11:51:03 +02:00
asuessenbach
6d89283b79 Update to VK_HEADER_VERSION 154. 2020-09-23 10:00:13 +02:00
asuessenbach
4d21e2b210 refactor command generation of two-vector getting functions returning void 2020-09-23 09:52:21 +02:00
Andreas Süßenbach
2fe1356b5a
Merge pull request #743 from asuessenbach/refactor
refactor generation of trivial void functions
2020-09-22 11:18:55 +02:00
asuessenbach
5f5ce584ac refactor generation of trivial void functions 2020-09-22 10:22:19 +02:00
Andreas Süßenbach
1c6a7b81ea
Merge pull request #742 from asuessenbach/refactor
refactor generation of simple void-functions
2020-09-22 08:40:45 +02:00
asuessenbach
542d2903f4 refactor generation of simple void-functions 2020-09-21 23:18:24 +02:00
Andreas Süßenbach
2b00a4010d
Merge pull request #741 from asuessenbach/cleanup
refactored generation of simple commands
2020-09-21 13:33:01 +02:00
asuessenbach
860c2b1d4b refactored generation of simple commands 2020-09-21 12:26:54 +02:00
Andreas Süßenbach
50cfd53e61
Merge pull request #740 from asuessenbach/AppVeyor
Add C++14, C++17, and C++20 builds with VS2019.
2020-09-17 12:10:04 +02:00
asuessenbach
3248cee671 Add C++14, C++17, and C++20 builds with VS2019. 2020-09-17 08:17:44 +02:00
Andreas Süßenbach
49ea9d2c55
Merge pull request #739 from asuessenbach/2019
Add VS2019 to AppVeyor build
2020-09-16 10:32:18 +02:00
Andreas Süßenbach
dd6eb12aef
Merge pull request #737 from asuessenbach/asTuple
Introduce helper function ResultValue<UniqueHandle<Type, Dispatch>>::asTuple()
2020-09-16 10:01:29 +02:00
asuessenbach
ecaeb91e9a Add VS2019 to AppVeyor build 2020-09-16 09:50:02 +02:00
asuessenbach
0b8e4cb938 Introduce helper function ResultValue<UniqueHandle<Type, Dispatch>>::asTuple()
Allows coding like this:

    vk::Result         result;
    vk::UniquePipeline pipeline;
    std::tie( result, pipeline ) =
      device->createGraphicsPipelineUnique( nullptr, graphicsPipelineCreateInfo ).asTuple();
2020-09-16 09:36:37 +02:00
Andreas Süßenbach
0bacbdd449
Merge pull request #736 from asuessenbach/discard
Correct version of two-step function returning two vectors of data
2020-09-16 08:57:39 +02:00