Commit Graph

1427 Commits

Author SHA1 Message Date
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
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
Andreas Süßenbach
60b8b4cf1d
Merge pull request #1244 from asuessenbach/function
Combine two types of commands into one generation function.
2022-03-15 13:42:54 +01:00
Andreas Süßenbach
f61d7d117f
Merge pull request #1243 from theHamsta/fix-update-header-pr
ci: fix bash command to retrieve latest Vulkan-Headers commit
2022-03-15 12:03:46 +01:00
asuessenbach
ae11e13e0b Combine two types of commands into one generation function.
Generation of functions that return a VkResult and either get some data or not are combined into one function.

+ some minor cleanup
2022-03-15 11:58:55 +01:00
Stephan Seitz
88ec13796d ci: fix bash command to retrieve latest Vulkan-Headers commit 2022-03-15 10:19:49 +01:00
Andreas Süßenbach
582bade14d
Merge pull request #1242 from asuessenbach/deprecated
Remove deprecated cpp_type.
2022-03-15 08:52:49 +01:00
Andreas Süßenbach
f759596be8
Merge pull request #1241 from asuessenbach/cleanup
Combine two types of commands into one generation function.
2022-03-14 17:32:33 +01:00
asuessenbach
cf5ecd7cc6 Remove deprecated cpp_type. 2022-03-14 15:13:33 +01:00
Andreas Süßenbach
96b7bde8d4
Merge pull request #1240 from asuessenbach/void
Explicitly ignore the result of a call to std::system().
2022-03-14 14:55:44 +01:00
asuessenbach
f58ffe385f Combine two types of commands into one generation function.
Generation of functions that get a StructureChain or some value are combined into one function.
2022-03-14 14:54:56 +01:00
asuessenbach
8a921fc90c Explicitly mark a call to std::system() as void. 2022-03-14 10:56:20 +01:00
Andreas Süßenbach
e02d19207b
Merge pull request #1237 from asuessenbach/cleanup
Minor cleanup work in command generation.
2022-03-14 10:27:27 +01:00
asuessenbach
2148249e0f Minor cleanup work in command generation. 2022-03-10 17:41:47 +01:00
Andreas Süßenbach
1b0576e151
Merge pull request #1238 from asuessenbach/ci
add "sudo apt update" to the ci-ubuntu.yml.
2022-03-10 17:40:37 +01:00
asuessenbach
fecd9d68e6 add "sudo apt update" to the ci-ubuntu.yml. 2022-03-10 16:30:59 +01:00
Andreas Süßenbach
8226bb3aa0
Merge pull request #1236 from asuessenbach/format
Updated clang_format options
2022-03-09 13:35:06 +01:00
asuessenbach
611365b986 Updated clang_format options 2022-03-09 12:28:52 +01:00
Andreas Süßenbach
c3546368b7
Merge pull request #1235 from asuessenbach/cleanup
Minor cleanup work in command generation.
2022-03-09 12:21:25 +01:00
asuessenbach
4fd8ad4baa Minor cleanup work in command generation. 2022-03-09 10:13:51 +01:00
Andreas Süßenbach
5f649a999b
Merge pull request #1233 from theHamsta/dont-repeat-update
ci: only create a header update PR if tag does not yet exist
2022-03-08 15:14:58 +01:00
Andreas Süßenbach
d493aa4ab6
Merge pull request #1234 from theHamsta/fix-warnings
chore(warnings): fix warnings about unused variables in Release mode
2022-03-08 13:57:29 +01:00
Stephan Seitz
bafe3240d7 ci: only create a header update PR if tag does not yet exist 2022-03-08 13:43:23 +01:00
Stephan Seitz
c747ca4588 chore(warnings): fix warnings about unused variables in Release mode
```
/home/stephan/projects/Vulkan-Hpp/VulkanHppGenerator.cpp:9105:12: error: unused variable 'constructorCommandIt' [-Werror,-Wunused-variable]
      auto constructorCommandIt = m_commands.find( handle.second.constructorIts.front()->first );
           ^
/home/stephan/projects/Vulkan-Hpp/VulkanHppGenerator.cpp:9732:12: error: unused variable 'handleIt' [-Werror,-Wunused-variable]
      auto handleIt = m_handles.find( "Vk" + parentType );
```
2022-03-08 11:46:03 +01:00
Andreas Süßenbach
9df5974983
Merge pull request #1232 from asuessenbach/cleanup
Add template parameter support to generateCommandVoidGetChain.
2022-03-08 11:06:14 +01:00
asuessenbach
7be761b203 Add template parameter support to generateCommandVoidGetChain. 2022-03-08 09:11:11 +01:00
Andreas Süßenbach
2d5c2f44cc
Merge pull request #1230 from asuessenbach/cleanup
Add template parameter support to generateCommandVoidGetValue.
2022-03-07 14:58:10 +01:00
Andreas Süßenbach
e8c6a3c682
Merge pull request #1229 from asuessenbach/format
Make test/FormatTraits.cpp valid for C++11.
2022-03-07 12:20:16 +01:00
asuessenbach
04cca4cfbc Add template parameter support to generateCommandVoidGetValue. 2022-03-07 12:19:32 +01:00
asuessenbach
7e6083e5b2 Make test/FormatTraits.cpp valid for C++11. 2022-03-07 10:15:27 +01:00
Andreas Süßenbach
1f697d86cb
Merge pull request #1225 from asuessenbach/function
Combine two types of commands into one generation function.
2022-03-07 09:20:38 +01:00
Andreas Süßenbach
64f290be71
Merge pull request #1224 from asuessenbach/warning
Disable init-list-lifetime warning with tests in ArrayProxyNoTemporaries.cpp
2022-03-02 17:58:10 +01:00
asuessenbach
02cd5ee1c9 Combine two types of commands into one generation function. 2022-03-02 17:57:36 +01:00
asuessenbach
bde88d1c87 Disable init-list-lifetime warning with tests in ArrayProxyNoTemporaries.cpp 2022-03-02 16:26:09 +01:00
Andreas Süßenbach
9cdca0a90d
Merge pull request #1222 from theHamsta/fix-update-pr-xml
fix(ci): filter out publications of Vulkan SC on header update
2022-03-02 13:44:38 +01:00
Andreas Süßenbach
511b913daf
Merge pull request #1221 from asuessenbach/altlen
Add some support of attribute "altlen" on command parameters.
2022-03-02 13:26:15 +01:00
Stephan Seitz
86b93be4e6 fix(ci): filter out publications of Vulkan SC on update
The publication of Vulkan SC (https://www.khronos.org/news/press/khronos-releases-vulkan-safety-critical-1.0-specification-to-deliver-safety-critical-graphics-compute)
confused the update job since it was the most recent tag.

Preliminary solution: only accept tags that match `v1\.`.
2022-03-02 10:51:16 +01:00
asuessenbach
ffead3984d Add some support of attribute "altlen" on command parameters. 2022-03-02 09:51:12 +01:00
Andreas Süßenbach
7638a1ec6c
Merge pull request #1220 from asuessenbach/function
Add support of functions getting a pointer to void.
2022-03-01 11:21:56 +01:00