Vulkan-Hpp/samples
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
..
01_InitInstance Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
02_EnumerateDevices Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
03_InitDevice Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
04_InitCommandBuffer Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
05_InitSwapchain Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
06_InitDepthBuffer Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
07_InitUniformBuffer Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
08_InitPipelineLayout Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
09_InitDescriptorSet Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
10_InitRenderPass Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
11_InitShaders Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
12_InitFrameBuffers Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
13_InitVertexBuffer Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
14_InitPipeline Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
15_DrawCube Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
16_Vulkan_1_1 Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
CopyBlitImage Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
CreateDebugUtilsMessenger Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
DrawTexturedCube Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
DynamicUniform Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
EnableValidationWithCallback Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
EnumerateDevicesAdvanced Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
Events Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
ImmutableSampler Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
InitTexture Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
InputAttachment Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
InstanceExtensionProperties Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
InstanceLayerExtensionProperties Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
InstanceLayerProperties Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
InstanceVersion Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
MultipleSets Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
OcclusionQuery Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
PhysicalDeviceExtensions Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
PhysicalDeviceFeatures Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
PhysicalDeviceGroups Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
PhysicalDeviceMemoryProperties Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
PhysicalDeviceProperties Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
PhysicalDeviceQueueFamilyProperties Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
PipelineCache Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
PipelineDerivative Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
PushConstants Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
PushDescriptors Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
RayTracing Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
SecondaryCommandBuffer Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
SeparateImageSampler Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
SurfaceCapabilities Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
SurfaceFormats Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
Template Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
TexelBuffer Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
utils Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00
CMakeLists.txt Building samples for Linux (#491) 2020-01-28 10:16:10 +01:00