Commit Graph

1679 Commits

Author SHA1 Message Date
Andreas Süßenbach
34e07e9e39
Merge pull request #791 from xantares/patch-1
Fix T & ArrayWrapper1D::operator[](int index)
2020-10-21 10:28:16 +02:00
asuessenbach
dc4777a206 Refactor commands that enumerate handles (no unique versions) 2020-10-21 10:14:51 +02:00
asuessenbach
33020857b4 Add release builds for the latest gcc and clang version 2020-10-21 09:13:54 +02:00
xantares
2cb33d744a
Fix T & ArrayWrapper1D::operator[](int index)
With MinGW I get the following error, because constexpr clashes with const:
vulkan.hpp:544:30: error: ‘constexpr T& vk::ArrayWrapper1D<T, N>::operator const’
cannot be overloaded with ‘constexpr const T& vk::ArrayWrapper1D<T, N>::operator const’
544 | VULKAN_HPP_CONSTEXPR T & operator[](int index) VULKAN_HPP_NOEXCEPT
2020-10-21 09:11:26 +02:00
Andreas Süßenbach
ffafec88ca
Merge pull request #790 from asuessenbach/refactor
Refactor commands that enumerate some oqaque data behind a void pointer.
2020-10-21 08:47:52 +02:00
Andreas Süßenbach
3dce283fa7
Merge pull request #789 from asuessenbach/StructureChain
Introduce default template type for functions StructureChain::get<T,Which>
2020-10-21 08:47:26 +02:00
Andreas Süßenbach
9708c8629b
Merge pull request #788 from asuessenbach/release
Add one release build to appveyor builds.
2020-10-21 08:46:40 +02:00
asuessenbach
1da76e4b4a Refactor commands that enumerate some oqaque data behind a void pointer. 2020-10-20 23:30:53 +02:00
Andreas Süßenbach
55a27c7dfa
Merge pull request #787 from asuessenbach/refactor
Refactor commands enumerating some non-handle, non-StructureChain data type.
2020-10-20 23:03:37 +02:00
asuessenbach
80fa34bfb5 Introduce default template type for functions StructureChain::get<T,Which>
allows
    auto root = structureChain.get();
instead of
    auto root = structureChain.get<RootStructure>();
2020-10-20 15:47:57 +02:00
asuessenbach
94962e2dff Add one release build to appveyor builds. 2020-10-20 14:35:22 +02:00
Andreas Süßenbach
2ccc36b26b
Merge pull request #785 from asuessenbach/release
fix some warnings (errors) on release build.
2020-10-20 14:25:44 +02:00
asuessenbach
75ce35813d Refactor commands enumerating some non-handle, non-StructureChain data type. 2020-10-20 14:24:39 +02:00
asuessenbach
2e95313c1d fix some warnings (errors) on release build. 2020-10-20 10:05:18 +02:00
Andreas Süßenbach
32c994335a
Merge pull request #783 from asuessenbach/refactor
Refactor commands that get a handle which has no create or destroy function.
2020-10-20 09:26:21 +02:00
Andreas Süßenbach
9bea192d1a
Merge pull request #782 from dj2/build
Fixup build errors.
2020-10-19 23:19:29 +02:00
asuessenbach
53fe4d445f Refactor commands that get a handle which has no create or destroy function. 2020-10-19 23:13:57 +02:00
dan sinclair
2b7f7c32ef fix non-release build 2020-10-19 12:03:49 -04:00
dan sinclair
88e0bc07f7 Fixup build errors.
When building in Release mode there are several build errors due to use
`-Wall -Werror` and having undefined variables. This CL wraps the
various variables which are only used in `assert` calls to be behind
`#if !defined(NDEBUG)` preprocessor checks.
2020-10-19 11:59:16 -04:00
Andreas Süßenbach
16df6e50d1
Merge pull request #781 from asuessenbach/refactor
Refactor commands returning some value with no enhancements available.
2020-10-19 17:57:54 +02:00
asuessenbach
57de549b73 Refactor commands returning some value with no enhancements available. 2020-10-19 15:43:29 +02:00
Andreas Süßenbach
d0717c5a48
Merge pull request #780 from asuessenbach/158
Update to VK_HEADER_VERSION 158.
2020-10-19 15:10:39 +02:00
asuessenbach
32a21fb4ed Update to VK_HEADER_VERSION 158. 2020-10-19 13:53:34 +02:00
Andreas Süßenbach
04afa4c949
Merge pull request #779 from asuessenbach/refactor
Refactor command that returns a vector of values and a single value.
2020-10-19 12:02:19 +02:00
asuessenbach
2b47c6f9e5 Refactor command that returns a vector of values and a single value. 2020-10-19 10:15:50 +02:00
Andreas Süßenbach
cb6b61fd66
Merge pull request #776 from asuessenbach/refactor
Refactor commands returning some value
2020-10-15 23:18:46 +02:00
asuessenbach
1a851d00af Refactor commands returning some value 2020-10-15 14:50:52 +02:00
Andreas Süßenbach
b7f58f87b9
Merge pull request #775 from asuessenbach/refactor
Refactor commands returning a StructureChain and a Result.
2020-10-15 11:07:28 +02:00
Andreas Süßenbach
677225de28
Merge pull request #759 from asuessenbach/errors
Set warnings as errors for the generator, the samples, and the tests.
2020-10-15 09:19:21 +02:00
asuessenbach
74498b2b9e Refactor commands returning a StructureChain and a Result. 2020-10-15 09:09:35 +02:00
asuessenbach
8d1c84b3f5 Set warnings as errors for the generator, the samples, and the tests. 2020-10-14 17:44:16 +02:00
Andreas Süßenbach
5ecb57bdc5
Merge pull request #774 from asuessenbach/refactor
Refactor commands potentially returning a StructureChain.
2020-10-14 13:36:50 +02:00
asuessenbach
85e17d053b Refactor commands potentially returning a StructureChain. 2020-10-14 12:24:02 +02:00
Andreas Süßenbach
9af818b180
Merge pull request #773 from asuessenbach/refactor
Refactor simple functions returning some value.
2020-10-13 19:31:32 +02:00
asuessenbach
28cc3e6ae7 Refactor simple functions returning some value. 2020-10-13 14:39:12 +02:00
Andreas Süßenbach
045a9f0417
Merge pull request #772 from asuessenbach/157
Update to VK_HEADER_VERSION 157
2020-10-13 12:12:43 +02:00
asuessenbach
3c19a37922 Update to VK_HEADER_VERSION 157
+ Turn warning on never used VkStructureType enum value into an error.
2020-10-13 10:13:57 +02:00
Andreas Süßenbach
5150165d94
Merge pull request #771 from asuessenbach/refactor
Refactor trivial functions returning a VkResult.
2020-10-13 09:58:33 +02:00
asuessenbach
c77158525b Refactor trivial functions returning a VkResult. 2020-10-12 23:09:07 +02:00
Andreas Süßenbach
c3f83db9d1
Merge pull request #770 from asuessenbach/refactor
Refactor functions returning a vector of handles, that might as well …
2020-10-12 22:51:36 +02:00
asuessenbach
1050424e85 Refactor functions returning a vector of handles, that might as well be just one. 2020-10-12 17:06:55 +02:00
Andreas Süßenbach
6f38e39e4d
Merge pull request #768 from kiroma/master
Remove m_success from vk::DynamicLoader
2020-10-12 09:35:18 +02:00
Krzysztof Kurek
66ae5c7419
Remove m_success from vk::DynamicLoader 2020-10-09 21:55:38 +02:00
Andreas Süßenbach
976ed77a8a
Merge pull request #767 from asuessenbach/refactor
Refactor command consuming two vectors.
2020-10-08 22:52:21 +02:00
asuessenbach
d1c03d5ba8 Refactor command consuming two vectors. 2020-10-08 17:05:14 +02:00
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