Commit Graph

1814 Commits

Author SHA1 Message Date
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
Andreas Süßenbach
ecc6d37d91
Merge pull request #1257 from asuessenbach/constructor
Introduce copy constructor and assignment operator for vk::raii classes that hold handles without a destructor.
2022-03-23 08:17:47 +01:00
Andreas Süßenbach
368092cf22
Merge pull request #1253 from theHamsta/second-try-fix-libc++
fix: include `<algorithm>` in VulkanHppGenerator.cpp
2022-03-22 15:19:12 +01:00
asuessenbach
23c11fe38d Introduce copy constructor and assignment operator for vk::raii classes that hold handles without a destructor. 2022-03-22 13:53:21 +01:00
Stephan Seitz
5a8532b0f7 fix: include <algorithm> in VulkanHppGenerator.cpp
This fixes the build on Clang with `-stdlib=libc++` (if you disable -Werror as there are a lot of warnings)

```
/home/stephan/projects/Vulkan-Hpp/VulkanHppGenerator.cpp:781:28: error: no member named 'find_if_not' in namespace 'std'
      auto endDigit = std::find_if_not( beginDigit, valueName.end(), []( std::string::value_type c ) { return isdigit( c ); } );
                      ~~~~~^
/home/stephan/projects/Vulkan-Hpp/VulkanHppGenerator.cpp:1261:15: error: no member named 'find_if_not' in namespace 'std'
  return std::find_if_not( vectorParams.begin(),
         ~~~~~^
/home/stephan/projects/Vulkan-Hpp/VulkanHppGenerator.cpp:2041:24: error: no member named 'find_if_not' in namespace 'std'
        valid = ( std::find_if_not( destructorIt->second.params.begin(), destructorIt->second.params.end(), isConstructorCandidateParam ) ==
                  ~~~~~^
/home/stephan/projects/Vulkan-Hpp/VulkanHppGenerator.cpp:2145:21: error: no member named 'find_if_not' in namespace 'std'
             ( std::find_if_not( sd.second.members.begin(), sd.second.members.end(), isMember ) == sd.second.members.end() );
               ~~~~~^
/home/stephan/projects/Vulkan-Hpp/VulkanHppGenerator.cpp:6047:17: error: no member named 'count_if' in namespace 'std'
         ( std::count_if( arrayIt->type.postfix.begin(), arrayIt->type.postfix.end(), []( char c ) { return c == '*'; } ) < 2 ) )
           ~~~~~^
5 errors generated.
```

Fixes #1175 together with the optional inclusion of vulkan_hash.hpp
2022-03-22 13:43:38 +01:00
Andreas Süßenbach
3740f14c38
Merge pull request #1256 from asuessenbach/ci
Replace build os windows-2016 by windows-2019.
2022-03-22 13:41:16 +01:00
asuessenbach
c7037f6551 Replace build os windows-2016 by windows-2019. 2022-03-22 11:10:06 +01:00
Andreas Süßenbach
eda82d8695
Merge pull request #1251 from asuessenbach/function
Combine two types of commands into one generation function.
2022-03-16 15:40:54 +01:00
asuessenbach
a104fd65d3 Combine two types of commands into one generation function. 2022-03-16 13:51:43 +01:00
Andreas Süßenbach
f58e6ad301
Merge pull request #1249 from asuessenbach/ignore
Add some error handling for a std::system call.
2022-03-16 13:50:31 +01:00
Andreas Süßenbach
351e667468
Merge pull request #1250 from asuessenbach/208
Update Vulkan-Headers to v1.3.208
2022-03-16 13:46:48 +01:00
asuessenbach
dfffc95731 Update Vulkan-Headers to v1.3.208 2022-03-16 12:19:09 +01:00
Andreas Süßenbach
20238138e7
Merge pull request #1248 from asuessenbach/207
Update Vulkan-Headers to v1.3.207
2022-03-16 12:07:47 +01:00
asuessenbach
aca9dd319e Add some error handling for a std::system call. 2022-03-16 09:35:26 +01:00
asuessenbach
c761497d36 Update Vulkan-Headers to v1.3.207 2022-03-16 09:09:01 +01:00
Andreas Süßenbach
c4153f741a
Merge pull request #1246 from asuessenbach/clang_format_11
Revert some changes in .clang_format_11, that in fact are version 12 features.
2022-03-15 19:09:19 +01:00
asuessenbach
3362287273 Revert some changes in .clang_format_11, that in fact are version 12 features. 2022-03-15 17:53:25 +01:00