bb40388d34
CMake: Set CMAKE_CXX_STANDARD to 11
mocabe
2020-01-29 15:11:11 +09:00
dcb6e7be42
Update submodules used in samples
mocabe
2020-01-29 15:10:43 +09:00
cf39cd4f0c
Introduce helper function check() to ease throwing on spec error detection. (#502)
Andreas Süßenbach
2020-02-04 10:35:33 +01:00
4d53dac22b
Replace usage of std::forward_as_tuple by std::tie. (#501)
Andreas Süßenbach
2020-02-03 15:55:06 +01:00
8c9e881dfe
Change init functions of DispatchLoaderDynamic to use a DynamicLoader specified by a template argument. (#503)
Andreas Süßenbach
2020-02-03 15:52:53 +01:00
d0e3b3a5e1
Merge pull request #499 from tomilov/master
Andreas Süßenbach
2020-02-03 10:20:13 +01:00
7efe3d096b
use VULKAN_HPP_ASSERT instead of raw assert in generated code (#498)
Anatoliy V. Tomilov
2020-01-30 13:57:51 +05:00
bca5adc12d
Change return of StructureChain::get() from tuple of values to tuple of references (#495)
Andreas Süßenbach
2020-01-29 10:00:41 +01:00
b6a190f4a2
Building samples for Linux (#491)
mocabe
2020-01-28 18:16:10 +09:00
f1668a6e28
Remove template parameter defaultValue from Flags. (#492)
Andreas Süßenbach
2020-01-21 12:01:35 +01:00
33b244859b
Add specific initialization of Flags and FlagBits. (#489)
Andreas Süßenbach
2020-01-16 12:12:31 +01:00
bb5b19deda
Fix regression in ObjectDestroy default argument (#485)
Alex Hirsch
2020-01-16 08:50:50 +01:00
7e81c7bddf
Improve construction of success check and return type of enhanced functions returning a vector of UniqueHandles (#484)
Andreas Süßenbach
2020-01-15 16:54:55 +01:00
129f82dd90
Extend check to determine the returnParameterIndex. (#482)
Andreas Süßenbach
2020-01-14 16:06:50 +01:00
a75cf874c7
Filter aliases of enum values that originally belong to aliases of the enum class. (#483)
Andreas Süßenbach
2020-01-14 16:05:05 +01:00
e49f02013a
Mark every non-enhanced function with VULKAN_HPP_NOEXCEPT. (#481)
Andreas Süßenbach
2020-01-14 10:37:54 +01:00
65450515ee
Added a couple of features: (#480)
Andreas Süßenbach
2020-01-13 15:00:59 +01:00
979af1b46e
Added test on existence of ObjectType enum value corresponding to handle type in extensions. (#477)
Andreas Süßenbach
2020-01-10 10:18:55 +01:00
8d62969b4d
Fix arraySize for array-valued return parameter. (#476)
Andreas Süßenbach
2020-01-09 16:21:41 +01:00
1911d18790
Completed set of operators on Flags (#475)
Andreas Süßenbach
2020-01-09 09:44:41 +01:00
55517484be
Add optional attribute "specialuse", currently ignored. (#474)
Andreas Süßenbach
2020-01-08 14:29:26 +01:00
d5f58e07dd
Add error message when referencing undefined type requirements (#473)
Markus Tavenrath
2020-01-07 16:50:46 +01:00
4ee2d61ef6
Improve operator==() of structs (#472)
Andreas Süßenbach
2020-01-07 16:28:50 +01:00
0b3af1ee76
Add is_error_code_enum only if VULKAN_HPP_NO_EXCEPTIONS is not defined. (#471)
Andreas Süßenbach
2020-01-06 15:55:31 +01:00
4320950db1
Update EnableValidationWithCallback.cpp (#466)
Arthur Brainville
2020-01-06 12:16:35 +01:00
499d4bb33d
Bring back default arguments to ObjectDestroy class. Update header to Vulkan 1.130 (#468)
Markus Tavenrath
2020-01-03 10:59:59 +01:00
021c7499a0
Cleanup on usage of static vs. dynamic loading (#462)
Andreas Süßenbach
2019-12-23 08:45:40 +01:00
18febd6237
Add usage of DebugUtilsMessenger in vk::su::createInstance (#461)
Andreas Süßenbach
2019-12-19 14:00:51 +01:00
0280efc78c
Corrected image layout and descriptor set handling in RayTracing sample. (#460)
Andreas Süßenbach
2019-12-19 13:59:48 +01:00
7da1c8baf0
Samples: Explicitly set vk::PipelineMultisampleStateCreateInfo::rasterizationSamples (#459)
Andreas Süßenbach
2019-12-16 14:51:29 +01:00
0b01a8a74c
Introduce default initializers for member variables, simplify default values for constructor arguments (#455)
Andreas Süßenbach
2019-12-12 11:40:21 +01:00
3f82338d9f
Fix ambiguous constructor of ObjectDestroy with vk::NoParent. (#451)
Andreas Süßenbach
2019-12-04 08:34:58 +01:00
afe4e6b03f
Extent readme on samples and tests. (#449)
Andreas Süßenbach
2019-12-03 10:15:06 +01:00
2a05d74c23
Change every occurance of vk:: to VULKAN_HPP_NAMESPACE:: (#448)
Andreas Süßenbach
2019-12-02 10:06:44 +01:00
07edfc45d6
Introduce default constructors for UniqueHandle, ObjectDestroy, and ObjectFree (#446)
Andreas Süßenbach
2019-11-28 16:01:22 +01:00
f2058303cb
Introduce functions vk::StructureChain::unlink<ClassType>() and vk::StructureChain::relink<ClassType>(). (#441)
Andreas Süßenbach
2019-11-28 15:58:15 +01:00
e40eb90980
Remove not needed operator==() and operator!=() on *FlagBits (#442)
Andreas Süßenbach
2019-11-27 11:41:21 +01:00
d2a116b57f
Correct operator=() by using offsetof instead of sizeof to determine size of memory to copy. (#437)
Andreas Süßenbach
2019-11-19 17:44:16 +01:00
2bd8e403e8
Add option to install vulkan.hpp header (#429)
dan sinclair
2019-11-14 04:07:27 -05:00
e850963599
Extend functions returning a std::vector<vk::StructureChain> to use an additional local vector for getting the information, and then copy the heads of the StructureChains over to the return vector (#432)
Andreas Süßenbach
2019-11-13 10:04:50 +01:00
661d2a9a7c
Include windows.h on windows platforms in case the DynamicLoader is enabled. (#431)
Markus Tavenrath
2019-11-11 17:23:35 +01:00
581b7cb227
Add [[noreturn]] and remove VULKAN_HPP_INLINE to/from function throwResultException (#430)
Andreas Süßenbach
2019-11-07 15:42:10 +01:00
3fc2ea47fd
Replace namespace layout stuff by a simple const for the sType member of the structures (#428)
Andreas Süßenbach
2019-11-07 08:22:47 +01:00
10aa543b7e
Use existing tests for appveyor. (#426)
Markus Tavenrath
2019-11-06 16:56:52 +01:00
8f3b1d6f01
Add CMakeList target to run generator (#424)
dan sinclair
2019-11-06 08:48:21 -05:00
dc43cf795f
Update README.md (#418)
Andreas Süßenbach
2019-11-06 14:45:41 +01:00
cea5d7fae3
Add unique-versions of "Register"-functions (currently just registerEventEXTUnique and registerDisplayEventEXTUnique) (#421)
Andreas Süßenbach
2019-11-06 14:45:13 +01:00
5512f6df92
Implement support for unicode in Windows projects using vk::DynamicLoader. (#422)
Warpten
2019-11-06 14:44:33 +01:00
96b0bfdf0d
Fix DynamicLoader on 32-bit platforms (#427)
Markus Tavenrath
2019-11-06 13:52:41 +01:00
c06a3300f6
Add a couple of new samples, improved some others: (#414)
Andreas Süßenbach
2019-10-28 15:36:21 +01:00
178bf4ded7
Fix typo when calling operator==(enum, enum) (#415)
Markus Tavenrath
2019-10-28 15:27:48 +01:00
3976a4cc75
Fix msvc 2015 issue with operator== being ambigious and incorrect constexpr in ResultValue (#412)
Markus Tavenrath
2019-10-25 13:21:49 +02:00
07ed47ab53
Update to Vulkan-Headers 1.1.126 (#411)
Markus Tavenrath
2019-10-25 12:51:49 +02:00
6da60c59dc
Added noexcept on all correct locations (RAII, internal classes, free functions, trivial cases) (#338)
nyronium
2019-10-23 10:52:29 +02:00
65af859e4d
build: Add MacOS Specific Code to DynamicLoader (#409)
jeremyk-lunarg
2019-10-17 01:59:35 -06:00
f379a11a69
Make logical operators on flags constexpr. (#407)
Andreas Süßenbach
2019-10-10 13:29:59 +02:00
7f51d1a724
Correct error message usage in CMakeLists.txt. (#404)
Andreas Süßenbach
2019-10-08 10:35:51 +02:00
89c9c91efd
Add define VULKAN_HPP_ENABLE_DYNAMIC_LOADER_TOOL to allow hiding the helper class vk::DynamicLoader. (#396)
Andreas Süßenbach
2019-10-01 03:14:22 +02:00
702ff6f982
Mention the new proposed handling of DispatchLoaderDynamic as the default in the README.md. (#397)
Andreas Süßenbach
2019-10-01 03:13:10 +02:00
cdfb290dc1
Make ConstExpressionArrayCopy::copy() a constexpr with C++14 earliest. (#394)
Andreas Süßenbach
2019-09-27 08:59:59 +02:00
becef43315
Change (most of) the samples to use the DispatchLoaderDynamic by default. (#392)
Andreas Süßenbach
2019-09-26 09:55:15 +02:00
5ceb4d2801
Add missing extern declaration of defaultDispatchLoaderDynamic (#391)
Andreas Süßenbach
2019-09-25 15:01:29 +02:00
a5d14b5c16
Correct indexing in ConstExpressionArrayCopy. (#388)
Andreas Süßenbach
2019-09-25 12:05:31 +02:00
e26cb8113a
Add support for a full volk replacement by supporting a global DispatchLoaderDynamic. The global dynamic dispatcher will be available if either the define VULKAN_HPP_DISPATCH_LOADER_DYNAMIC is set to 1 or if VK_NO_PROTOTYPES is defined. In those cases it is required to add VULKAN_HPP_DEFAULT_DISPATCH_LOADER_DYNAMIC_STORAGE; to any compilation unit of the project to allocate storage for the dispatcher. (#390)
Markus Tavenrath
2019-09-25 11:59:39 +02:00
9df0fac638
Use VK_EXT_debug_utils instead of deprecated VK_EXT_debug_report. (#389)
Andreas Süßenbach
2019-09-25 11:56:46 +02:00
48d540a23d
Add vk::DynamicLoader and simplify usage of vk::DispatchLoaderDynamic. Update Vulkan-Headers to 1.1.123 (#387)
Markus Tavenrath
2019-09-24 12:12:49 +02:00
e2268eadb6
Introduce usage of constexpr for constructors of structs. (#385)
Andreas Süßenbach
2019-09-23 15:57:48 +02:00
720c8aec77
Mention the samples in the readme. (#384)
Andreas Süßenbach
2019-09-18 08:47:37 +02:00
a9a4860591
Resolve instantiation issue with structures that are flagged as returnedonly (#382)
Andreas Süßenbach
2019-09-18 08:47:17 +02:00
a12c3807de
cleanup on stringstream usage. (#376)
Andreas Süßenbach
2019-08-27 09:02:49 +02:00
6f80427c41
Move check for redundant aliased enum values from read to write. (#375)
Andreas Süßenbach
2019-08-19 15:40:22 +02:00