Commit Graph

15 Commits

Author SHA1 Message Date
asuessenbach
5fe410279a Change ColumnLimit with clang-format from 120 to 160. 2022-02-28 10:11:04 +01:00
asuessenbach
9142bea37e Change type of loop variables from uint8_t to uint32_t. 2022-02-09 08:32:42 +01:00
Stephan Seitz
bc37592747 Fix release build of samples: suppress warnings about unused variables 2021-09-06 10:48:52 +02:00
asuessenbach
cb87566cdd Resolve issues with release build. 2021-05-25 16:14:56 +02:00
asuessenbach
2cb1c19c7f Introduce raii-compliant handle wrapper classes. 2021-02-22 16:19:12 +01:00
asuessenbach
d86303c0e4 Introduce structure constructors using ArrayProxyNoTemporaries 2020-07-09 12:03:03 +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
590fc89fb5 [samples] Add missing VKAPI_ATTR and VKAPI_CALL for debug callback functions 2020-03-20 03:56:18 +09:00
mocabe
1572c0b1ba Clean EOF of some files 2020-02-06 10:12:08 +01:00
mocabe
a7e2cf152e CMake: Add SAMPLES_BUILD_ONLY_DYNAMIC option 2020-02-06 10:12:08 +01: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
takiyu
7fc627d6b9 Fix lableName typo. (#440) 2019-11-26 11:28:57 +01:00
Andreas Süßenbach
becef43315 Change (most of) the samples to use the DispatchLoaderDynamic by default. (#392) 2019-09-26 09:55:15 +02: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