Commit Graph

1391 Commits

Author SHA1 Message Date
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
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
Andreas Süßenbach
63d437f639
Merge pull request #1219 from KhronosGroup/update-vulkan-headers-pr
Update Vulkan-Headers to v1.3.206
2022-03-01 09:53:31 +01:00
asuessenbach
eb9aa3d948 Add support of functions getting a pointer to void. 2022-03-01 09:21:33 +01:00
GitHub
eccc252a98 Update Vulkan-Headers to v1.3.206 2022-03-01 00:09:13 +00:00
Andreas Süßenbach
417991599d
Merge pull request #1217 from asuessenbach/160
Change ColumnLimit with clang-format from 120 to 160.
2022-02-28 13:01:14 +01:00
asuessenbach
5fe410279a Change ColumnLimit with clang-format from 120 to 160. 2022-02-28 10:11:04 +01:00
Andreas Süßenbach
89e4213296
Merge pull request #1215 from asuessenbach/cleanup
Combine two types of commands into one generation function.
2022-02-24 12:38:57 +01:00
asuessenbach
85510bf12c Combine two types of commands into one generation function. 2022-02-24 09:09:45 +01:00
Andreas Süßenbach
96b367bad3
Merge pull request #1214 from asuessenbach/cleanup
Combine two types of commands into one generation function.
2022-02-23 09:37:51 +01:00
asuessenbach
fe8fad5d96 Combine two types of commands into one generation function. 2022-02-23 08:31:36 +01:00
Andreas Süßenbach
e50b24f280
Merge pull request #1213 from asuessenbach/cleanup
Combine two types of command into one generation function.
2022-02-22 11:22:48 +01:00
asuessenbach
7f58864c78 Combine two types of command into one generation function. 2022-02-22 10:03:17 +01:00
Andreas Süßenbach
cccf0a62b7
Merge pull request #1212 from asuessenbach/formatTraits
Extract trait functions on vk::Format into the additional header vulkan_format_traits.hpp.
2022-02-21 11:35:53 +01:00
Andreas Süßenbach
db14393615
Merge pull request #1211 from KhronosGroup/update-vulkan-headers-pr
Update Vulkan-Headers to v1.3.206
2022-02-21 11:33:49 +01:00
asuessenbach
1c39502170 Extract trait functions on vk::Format into the additional header vulkan_format_traits.hpp. 2022-02-21 10:11:25 +01:00
GitHub
47520a1025 Update Vulkan-Headers to v1.3.206 2022-02-19 00:07:27 +00:00
Andreas Süßenbach
5de7d1d341
Merge pull request #1210 from asuessenbach/reflect
Hide functions reflect() behind VULKAN_HPP_USE_REFLECT.
2022-02-17 11:30:19 +01:00
asuessenbach
3e1e23914e Hide functions reflect() behind VULKAN_HPP_USE_REFLECT. 2022-02-17 09:53:32 +01:00
Andreas Süßenbach
12dac7ffaa
Merge pull request #1208 from asuessenbach/vector
Introduce explicit default construction on nullptr_t for vector-based raii-classes.
2022-02-16 14:08:24 +01:00
Andreas Süßenbach
77ba1eeb27
Merge pull request #1207 from asuessenbach/format
Introduce trait function componentName() and componentNumericFormat() on vk::Format.
2022-02-16 11:51:15 +01:00
asuessenbach
782c4aa46c Introduce explicit default construction on nullptr_t for vector-based raii-classes. 2022-02-16 09:51:18 +01:00
asuessenbach
815afe1f70 Introduce trait function componentName() and componentNumericFormat() on vk::Format. 2022-02-15 14:47:38 +01:00
Andreas Süßenbach
083c13a33f
Merge pull request #1206 from asuessenbach/clear
Introduce member function clear() for raii-classes.
2022-02-15 13:36:19 +01:00
asuessenbach
b8522e483c Introduce member function clear() for raii-classes. 2022-02-15 10:50:52 +01:00
Andreas Süßenbach
e367563e7c
Merge pull request #1204 from asuessenbach/swap
Introduce member function swap() for raii-classes.
2022-02-15 08:25:33 +01:00
asuessenbach
b1a822983d Introduce member function swap() for raii-classes. 2022-02-14 15:11:46 +01:00
Andreas Süßenbach
7642e30f13
Merge pull request #1201 from asuessenbach/free
Enclose "free" in parenthesis to prevent interference with MSVC's debug free
2022-02-10 12:59:25 +01:00
asuessenbach
1b12dd8cbb Enclose "free" in parenthesis to prevent interference with MSVC's debug free 2022-02-10 09:49:24 +01:00
Andreas Süßenbach
20e2594743
Merge pull request #1199 from asuessenbach/cleanup
Unified generation of a special type of commands.
2022-02-09 17:30:19 +01:00
Andreas Süßenbach
9755e112fa
Merge pull request #1198 from asuessenbach/loop
Change type of loop variables from uint8_t to uint32_t.
2022-02-09 12:13:36 +01:00
asuessenbach
6f2dd058a0 Unified generation of a special type of commands.
Commands returning a VkResult with one or more error codes specified, getting no non-const pointer and zero or more vectors are combined into one function, no matter if it is specified to have one or more success codes.
2022-02-09 09:27:30 +01:00
asuessenbach
9142bea37e Change type of loop variables from uint8_t to uint32_t. 2022-02-09 08:32:42 +01:00
Andreas Süßenbach
8507dba945
Merge pull request #1196 from asuessenbach/deprecated
Remove support of all functions marked as deprecated.
2022-02-07 15:41:40 +01:00
Andreas Süßenbach
bc5b7fb5fe
Merge pull request #1194 from KhronosGroup/update-vulkan-headers-pr
Update Vulkan-Headers to v1.3.205
2022-02-07 13:56:40 +01:00
asuessenbach
c25e890527 Remove support of all functions marked as deprecated. 2022-02-07 10:09:46 +01:00
Andreas Süßenbach
8a1d42ee55
Merge pull request #1193 from asuessenbach/FlagTraits
Remove the 'allFlags' from the general FlagTraits struct to catch unintentional usage with something different than a supported FlagBitsType.
2022-02-07 09:06:00 +01:00
Andreas Süßenbach
193dc66c67
Merge pull request #1191 from asuessenbach/samples
Update samples on PhysicalDeviceMemoryProperties
2022-02-07 09:03:18 +01:00