Commit Graph

1442 Commits

Author SHA1 Message Date
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
asuessenbach
ee38444318 Simplified assignment operator of structs 2020-09-01 10:32:05 +02:00
Andreas Süßenbach
27d4d78ea8
Merge pull request #726 from asuessenbach/152
Update to VK_HEADER_VERSION 152.
2020-08-27 10:28:55 +02:00
asuessenbach
9aaa6481e5 Update to VK_HEADER_VERSION 152. 2020-08-27 09:03:06 +02:00
Andreas Süßenbach
9c1882c9bc
Merge pull request #725 from asuessenbach/readme
Add list of all defines used to configure vulkan.hpp to README.md
2020-08-27 08:49:37 +02:00
asuessenbach
2a5d8f9dd9 Add list of all defines used to configure vulkan.hpp to README.md 2020-08-26 11:32:53 +02:00
Andreas Süßenbach
724bbb2a0f
Merge pull request #723 from dj2/cmake
Fixup usage of CMake variables.
2020-08-25 09:19:47 +02:00
dan sinclair
35507a5648 Fixup usage of CMake variables.
This CL fixes the VULKAN_HPP_VULKAN_HEADERS_SRC_DIR and VULKAN_HPP_PATH
usages to use the values of the variables instead of the text strings.
2020-08-24 09:58:53 -04:00
Andreas Süßenbach
920e1d2f66
Merge pull request #722 from asuessenbach/DebugReportObjectType
Introduce mapping between DebugReportObjectType enum value and the corresponding cpp handle type.
2020-08-24 10:58:06 +02:00
asuessenbach
fa613080a7 Introduce mapping between DebugReportObjectType enum value and the corresponding cpp handle type.
+ new type trait isVulkanHandleType<>
2020-08-24 10:30:05 +02:00
Andreas Süßenbach
5a366111a2
Merge pull request #720 from asuessenbach/alias
[DispatchLoaderDynamic] get aliases of functions if getting the function pointer failed
2020-08-19 13:35:14 +02:00
asuessenbach
2af32d03e0 [DispatchLoaderDynamic] get aliases of functions if getting the function pointer failed 2020-08-19 11:54:25 +02:00
Andreas Süßenbach
24e03938c5
Merge pull request #719 from asuessenbach/assert
Remove superfluous assertion.
2020-08-19 09:21:03 +02:00
asuessenbach
f168fe6931 Remove superfluous assertion. 2020-08-19 09:00:10 +02:00
Andreas Süßenbach
f6baa59a76
Merge pull request #718 from asuessenbach/cleanup
cleanup on helper class PoolFree.
2020-08-17 21:52:32 +02:00
asuessenbach
e2f7065c5d cleanup on helper class PoolFree. 2020-08-17 16:54:45 +02:00
Andreas Süßenbach
654a6b4e09
Merge pull request #717 from asuessenbach/cleanup
Cleanup on helper classes ObjectDestroy and ObjectFree
2020-08-17 16:45:00 +02:00
asuessenbach
b9a1af5aa1 Cleanup on helper classes ObjectDestroy and ObjectFree 2020-08-17 14:26:25 +02:00
Andreas Süßenbach
987fbd8ee1
Merge pull request #716 from asuessenbach/151
Update to VK_HEADER_VERSION 151.
2020-08-17 13:52:26 +02:00
Andreas Süßenbach
803110efef
Merge pull request #715 from asuessenbach/localVariable
Improve handling of local Variables in enhanced simple functions.
2020-08-17 13:50:16 +02:00
Andreas Süßenbach
7894f9b45c
Merge pull request #712 from asuessenbach/Dispatcher
Introduce VULKAN_HPP_NO_DEFAULT_DISPATCHER to not have a default argument for the last argument of each function.
2020-08-17 10:32:30 +02:00
asuessenbach
e76b61e2e0 Update to VK_HEADER_VERSION 151. 2020-08-17 10:29:59 +02:00
asuessenbach
03eb851f81 Improve handling of local Variables in enhanced simple functions. 2020-08-17 10:21:39 +02:00
asuessenbach
ee389e42e3 Introduce VULKAN_HPP_NO_DEFAULT_DISPATCHER to not have a default argument for the last argument of each function. 2020-08-13 16:46:42 +02:00
Andreas Süßenbach
1eaee05676
Merge pull request #711 from mtavenrath/docu_build
Add documentation on how to build the generator, tests, and samples.
2020-08-13 14:30:32 +02:00
Markus Tavenrath
6f4e1e41a7 Add documentation on how to build the generator, tests, and samples. 2020-08-13 11:38:21 +02:00
Andreas Süßenbach
6082e868ad
Merge pull request #710 from mtavenrath/clang-format
Don't fail setting up a CMake build environment generation if clang-f…
2020-08-12 16:38:20 +02:00
Markus Tavenrath
df2bd3329c Don't fail setting up a CMake build environment generation if clang-format is not available 2020-08-12 15:27:05 +02:00
Andreas Süßenbach
777a0afeb7
Merge pull request #709 from asuessenbach/RayTracing
[Samples][Ray Tracing] Correct offsets/sizes in the shader binding table
2020-08-12 13:56:29 +02:00
asuessenbach
2571778a4e [Samples][Ray Tracing] Correct offsets/sizes in the shader binding table. 2020-08-12 11:38:42 +02:00
Andreas Süßenbach
13fb2b59e0
Merge pull request #705 from asuessenbach/150
Update to VK_HEADER_VERSION 150
2020-08-11 09:07:08 +02:00