Andreas Süßenbach
fee04df943
Resolve some more validation layer issues. ( #1643 )
2023-08-23 13:58:54 +02:00
Andreas Süßenbach
a6b2199409
Change samples from resetting command buffers to resetting command pool ( #1638 )
2023-08-14 16:09:11 +02:00
Andreas Süßenbach
4bc9d80d82
Fix validation layer warning on minImageCount of 2. ( #1634 )
2023-08-07 12:00:11 +02:00
Codotaku
ce1aacec06
Update utils.cpp ( #1625 )
2023-07-19 15:33:22 +02:00
Andreas Süßenbach
207031caa4
change calls to std::find, std::find_if, and std::find_if_not to functionally identical calls to std::any_of, std::all_of, and std::none_of, when appropriate ( #1621 )
2023-07-13 11:26:01 +02:00
asuessenbach
2611c34aa5
Minor cleanup in utils.cpp: remove helper function createDebugUtilsMessengerEXT.
2022-08-04 08:49:12 +02:00
asuessenbach
e8bf9bed9a
Move all the static_assertions from vulkan_handles.hpp and vulkan_structs.hpp into the new header vulkan_static_assertions.hpp
2022-08-03 11:53:57 +02:00
asuessenbach
3aae157e5b
Move the vk::to_string functions into a separate header vulkan_to_string.hpp.
2022-07-26 11:19:42 +02:00
asuessenbach
527e52a1bd
Introduce VULKAN_HPP_NO_TO_STRING to optionally remove the various vk::to_string functions.
...
Also extend the samples to hold some local version of the needed to_string functions in case VULKAN_HPP_NO_TO_STRING is defined.
2022-07-25 17:11:30 +02:00
asuessenbach
0fb855a4a2
Resolve validation layer issues with some samples.
2022-05-02 11:36:36 +02:00
asuessenbach
d90c6cbbfc
Add pNext as optional last argument to constructors of structs that hold a pNext.
2022-03-23 17:08:19 +01:00
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
asuessenbach
6fdeaa8001
Make struct cast operators explicit.
2021-12-07 10:39:23 +01:00
asuessenbach
9b7adb35ee
Removed explicit setting of the ComponentMapping for ImageViews in samples to RGBA, as the default of Identity does the same.
2021-11-11 11:49:07 +01:00
asuessenbach
2a55e8ef2f
Minor cleanup work.
2021-11-09 08:40:53 +01:00
asuessenbach
69e8e5bf84
Refactor RAII-samples to use std::unique_ptr only if needed.
2021-06-23 10:15:56 +02:00
asuessenbach
cb87566cdd
Resolve issues with release build.
2021-05-25 16:14:56 +02:00
asuessenbach
af54ea22a8
Update to VK_HEADER_VERSION 175.
2021-04-15 15:40:22 +02:00
asuessenbach
3a776dd1d8
Update to VK_HEADER_VERSION 172.
2021-03-09 09:13:32 +01:00
asuessenbach
2cb1c19c7f
Introduce raii-compliant handle wrapper classes.
2021-02-22 16:19:12 +01:00
asuessenbach
5fc91db38d
Prepare usage of BestPractices validation layer.
...
Still disabled by default due to yet to be resolved issues.
2021-01-25 13:34:30 +01:00
asuessenbach
2e95313c1d
fix some warnings (errors) on release build.
2020-10-20 10:05:18 +02:00
asuessenbach
8d1c84b3f5
Set warnings as errors for the generator, the samples, and the tests.
2020-10-14 17:44:16 +02:00
asuessenbach
4cdc51ba0f
Introduce usage of [[nodiscard]] with C++17
2020-07-22 10:59:12 +02: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
asuessenbach
a5e8a7ccb8
Update to and adjustments for VK_HEADER_VERSION 136.
2020-03-30 12:13:07 +02:00
mocabe
62667a6b4b
[samples] Add missing explicit casts
2020-03-20 03:59:14 +09:00
mocabe
590fc89fb5
[samples] Add missing VKAPI_ATTR and VKAPI_CALL for debug callback functions
2020-03-20 03:56:18 +09:00
mocabe
32d0bc6843
samples: Remove C++14 codes
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
nvaara
196de24461
fixed vertexBindingDescription ( #465 )
2020-01-06 12:12:12 +01:00
Andreas Süßenbach
18febd6237
Add usage of DebugUtilsMessenger in vk::su::createInstance ( #461 )
2019-12-19 14:00:51 +01:00
Andreas Süßenbach
0280efc78c
Corrected image layout and descriptor set handling in RayTracing sample. ( #460 )
2019-12-19 13:59:48 +01:00
Andreas Süßenbach
7da1c8baf0
Samples: Explicitly set vk::PipelineMultisampleStateCreateInfo::rasterizationSamples ( #459 )
2019-12-16 14:51:29 +01:00
Andreas Süßenbach
0b01a8a74c
Introduce default initializers for member variables, simplify default values for constructor arguments ( #455 )
2019-12-12 11:40:21 +01:00
takiyu
7fc627d6b9
Fix lableName typo. ( #440 )
2019-11-26 11:28:57 +01:00
Andreas Süßenbach
c06a3300f6
Add a couple of new samples, improved some others: ( #414 )
...
new:
- InstanceVersion: print out the instance version
- PhysicalDeviceExtensions: print out the device specific extensions
- PhysicalDeviceFeatures: print out the device specific features
- PhysicalDeviceGroups: print out the device groups (interesting with SLI)
- PhysicalDeviceMemoryProperties: print out the device specific memory properties
- PhysicalDeviceQueueFamilyProperties: print out the device specific queue family properties
- SurfaceCapabilities: print out the surface specific capabilities
- SurfaceFormats: print out the supported surface specific formats
improved:
- InstanceExtensionProperties: print out the instance extensions alphabetically
- InstanceLayerProperties: removed an unused local function
- RayTracing: improved fence usage
2019-10-28 15:36:21 +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
Andreas Süßenbach
ecfaf9a0df
Add sample RayTracing. ( #361 )
2019-07-25 13:52:09 +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
5414a2e232
Add sample TexelBuffer; adjust vk::su::updateDescriptorSets ( #352 )
2019-07-03 09:23:56 +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
5ce8ae7fd0
Add samples OcclusionQuery, PipelineCache, PipelineDerivative, PushConstants, and PushDescriptors. ( #325 )
...
+ some minor changes in some samples, math, shaders, and utils.
2019-05-09 15:25:40 +02:00
Andreas Süßenbach
39d204839d
[VulkanHpp] changed to "VK_LAYER_KHRONOS_validation" as validation layer ( #324 )
...
+ fixed one issue caught by that layer in InputAttachment.
2019-04-30 17:03:26 +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
d965a74cc0
Add samples ImmutableSampler, InitTexture, InputAttachment ( #315 )
...
+ slightly adjust some other samples.
2019-04-09 15:19:18 +02:00