Commit Graph

972 Commits

Author SHA1 Message Date
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
asuessenbach
d6dfdb547e Correct version of two-step function returning two vectors of data
+ mark wrong version as deprecated (C++14)
2020-09-15 22:54:44 +02:00
Andreas Süßenbach
f4b4e0eba9
Merge pull request #735 from asuessenbach/153
Update to VK_HEADER_VERSION 153.
2020-09-15 10:57:12 +02:00
asuessenbach
45813fe9c8 Update to VK_HEADER_VERSION 153. 2020-09-15 10:31:32 +02:00
Andreas Süßenbach
a10771c7d5
Merge pull request #733 from asuessenbach/len
Reintroduce support of separator '::' for len attributes.
2020-09-03 17:31:07 +02:00
asuessenbach
ae88e94ab4 Reintroduce support of separator '::' for len attributes. 2020-09-03 16:36:39 +02:00
Andreas Süßenbach
8f09a023b9
Merge pull request #732 from asuessenbach/vkGetQueryPoolResults
correct enhanced version of vkGetQueryPoolResults
2020-09-03 16:01:08 +02:00
asuessenbach
77b401d4a9 correct enhanced version of vkGetQueryPoolResults
- mark wrong version as deprecated (C++14)
- introduce new version returning ResultValue<vector<T,Allocator>>
- introduce new singular version returning ResultValue<T>
2020-09-03 14:20:32 +02:00
Andreas Süßenbach
51dbd32515
Merge pull request #731 from asuessenbach/single
Make the name of the singular version in appendCommandFixedSizeVector singular.
2020-09-02 22:19:03 +02:00
asuessenbach
587833bb5d Make the name of the singular version in appendCommandFixedSizeVector singular. 2020-09-02 17:22:26 +02:00
Andreas Süßenbach
6c39ce3f65
Merge pull request #729 from asuessenbach/appendCommand
Special handling for commands that get a size and a void-pointer to write data to
2020-09-02 15:29:26 +02:00
asuessenbach
0db791c687 Special handling for commands that get a size and a void-pointer to write data into
- marked previous function that got an ArrayProxy as deprecated (C++14)
- introduce a new function returning a std::vector of the given size
- introduce a new function returning a single value
2020-09-02 15:00:06 +02:00
Andreas Süßenbach
33b7dc8167
Merge pull request #728 from asuessenbach/assignment
Simplified assignment operator of structs
2020-09-01 11:13:17 +02:00