Commit Graph

16 Commits

Author SHA1 Message Date
Markus Tavenrath
160dc916f9 Change structure member sType to non-const to allow default assignment operator. Make copy constructor and copy assignment default. The latter is required for C++20 designated initializers. Delegate the constructor from C-type to the copy constructor by casting rhs accordingly. Fix warnings on gcc/clang. 2021-01-18 12:25:50 +01:00
asuessenbach
8d1c84b3f5 Set warnings as errors for the generator, the samples, and the tests. 2020-10-14 17:44:16 +02:00
asuessenbach
d86303c0e4 Introduce structure constructors using ArrayProxyNoTemporaries 2020-07-09 12:03:03 +02:00
Markus Tavenrath
57555edfb2 Fix warnings and errors on clang-3.9 2020-05-18 14:05:51 +02:00
asuessenbach
f5e59484a6 Introduce usage of clang-format to format vulkan.hpp and the other sources. 2020-04-23 10:55:02 +02:00
mocabe
b6a190f4a2 Building samples for Linux (#491)
* CMake: Fix SAMPLES_BUILD and TESTS_BUILD

* CMake: Enable sample build on linux

* samples: Use glfw for window creation

* samples: Fix include order

* samples: Support new window handling

* samples: Add build target for util

* samples: Update CMake scripts to use util target

* samples: Add WindowData to manage unique window

* samples: Surface handling using WIndowData

* sampels: Remove call for vk::su::destroyWindow()

* CMake: FIx more options

* samples: Build SurfaceCapabilities only on WIN32

* samples: Fixed RayTracing sample to build on Linux

* samples: Fix wrong check on SurfaceProtectedCapabilitiesKHR

This also fixes compilation with MinGW gcc/clang

* CMake: check CMAKE_SYSTEM_NAME for Linux samples

* CMake: Add source group for utils

* samples: Fix potential bugs

* samples: Reduce warnings on gcc/clang

* samples: Fix missmatched new/free() which is UB

* samples: Add missing initialization for dynamic dispatcher

* samples: Remove unnecessary  dispacther construct

Co-authored-by: Andreas Süßenbach <asuessenbach@nvidia.com>
2020-01-28 10:16:10 +01:00
Andreas Süßenbach
021c7499a0 Cleanup on usage of static vs. dynamic loading (#462) 2019-12-23 08:45:40 +01:00
Andreas Süßenbach
9df0fac638 Use VK_EXT_debug_utils instead of deprecated VK_EXT_debug_report. (#389) 2019-09-25 11:56:46 +02:00
Andreas Süßenbach
36691e4946 Add sample ValidationCache; slightly adjust vk::su::createInstance. (#357) 2019-07-09 09:25:48 +02:00
Andreas Süßenbach
d811c3a7e2 Add sample Template; some generalization in utils; some minor improvements in some samples. (#349)
* Add samples SecondaryCommandBuffer and SeparateImageSampler.

+ made some helper functions more explicit.

* Add sample Template, some generalizations in utils, some minor improvements in various samples.
2019-06-25 09:47:27 +02:00
Andreas Süßenbach
7900c655f3 Add samples SecondaryCommandBuffer and SeparateImageSampler. (#331)
+ made some helper functions more explicit.
2019-05-21 15:44:52 +02:00
Andreas Süßenbach
1a7779e75b Add samples InstanceExtensionProperties, InstanceLayerExtensionProperties, InstanceLayerProperties, MultipleSets (#320)
+ slightly adjust some other files.
2019-04-15 10:18:58 +02:00
Andreas Süßenbach
fba738079a Use CMake's find_package to locate vulkan for samples and tests. (#308) 2019-04-01 08:52:22 +02:00
Andreas Süßenbach
2d8483e06f Add samples 16_Vulkan_1_1, CopyBlitImage, CreateDebugReportCallback, DrawTexturedCube (#304)
+ slightly adjust some other samples.
2019-03-26 12:24:36 +01:00
Andreas Süßenbach
45590a9bd7 Change include paths and argument type on main functions to ease linux adoption (#307) 2019-03-19 15:35:08 +01:00
Andreas Süßenbach
cd8e5283c3 Extend set of samples (#296)
+ 12_InitFrameBuffers, 13_InitVertexBuffer, 14_InitPipeline, 15_DrawCube;
+ extend utilities and add utilities on geometries, math, and shaders
+ slightly adjust some other samples
2019-03-15 10:40:45 +01:00