Commit Graph

32 Commits

Author SHA1 Message Date
takiyu
7fc627d6b9 Fix lableName typo. (#440) 2019-11-26 11:28:57 +01:00
Andreas Süßenbach
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)
Fixes #400
2019-11-13 10:04:50 +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
7f51d1a724
Correct error message usage in CMakeLists.txt. (#404) 2019-10-08 10:35:51 +02: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
a6ad0f1eff Re-introduce vulkan/vulkan.hpp; adjust include order to use that header in samples and tests (#340) 2019-06-11 13:25:36 +02:00
Markus Tavenrath
50e0a941e9
Use new Vulkan-Headers repository. Don't generate createReturnValue function call if the return type is void. (#335) 2019-06-06 13:13:38 +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
Andreas Süßenbach
f7ec6041b3 Add samples DynamicUniform, EnableValidationWithCallback, EnumerateDevicesAdvanced, Events (#313)
+ slightly adjust some other samples.
2019-04-01 10:06:49 +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
Andreas Süßenbach
f0dc8d6f38 Cleanup on Samples (#295)
- introduced samples/utils functions in namespace vk::su (vulkan sample utils)
- introduced usage of debugReportCallback
2019-03-05 08:59:40 +01:00
Andreas Süßenbach
65e1f8ac31 Add sample 11_InitShaders (#288)
+ add submodule glslang
2019-02-13 12:17:22 +01:00
Andreas Süßenbach
05497cb191
Changed from using outdated environment variable VK_SDK_PATH to VULKAN_SDK. (#286) 2019-01-28 14:47:13 +01:00
Andreas Süßenbach
d53fdf3bce samples/10_InitRenderPass: added missing device extensions on device creation. (#281) 2019-01-14 10:08:38 +01:00
Andreas Süßenbach
a9b5b68572 Switch to warning level 4 (#240) 2018-08-17 17:47:48 +02:00
Andreas Süßenbach
4c9b1f87b3 Samples on vulkan.hpp: 09_InitDescriptorSet.cpp, 10_InitRenderPass. (#211)
+ add some missing exit code to some samples.
2018-05-07 14:28:11 +02:00
Andreas Süßenbach
9efc002efd Sample on vulkan.hpp: 08_InitPipelineLayout. (#210) 2018-04-25 07:53:09 -04:00
Markus Tavenrath
4b179131e6
When using local version of vulkan.hpp use local version of vulkan.h … (#207)
* When using local version of vulkan.hpp use local version of vulkan.h too so that the headers do match.
* Update to Vulkan 1.1.74
2018-04-23 15:16:32 +02:00
Andreas Süßenbach
33c7954b6e Sample on vulkan.hpp: 07_InitUniformBuffer. (#203) 2018-04-09 10:53:55 +02:00
Andreas Süßenbach
bbaa5956c6 First samples on using vulkan.hpp: 01_InitInstance, 02_EnumerateDevices, 03_InitDevice, 04_InitCommandBuffer, 05_InitSwapchain, 06_InitDepthBuffer. (#197) 2018-03-31 01:09:50 -07:00