Commit graph

1233 commits

Author SHA1 Message Date
saschawillems
401369f716 Removed function to get enabled features, features can be set directly in derived constructor due to new explicit Vulkan initialization 2016-12-14 21:38:45 +01:00
saschawillems
ca27585ee6 Enabled required features for displacement example, recompiled tessellation shaders with recent glslang compiler 2016-12-14 20:49:30 +01:00
saschawillems
a6a6702bd2 Enabled required features for tessellation example, recompiled tessellation shaders with recent glslang compiler 2016-12-14 20:35:03 +01:00
saschawillems
a872fafe4e Enabled required features for terrain tessellation example, recompiled tessellation shaders with recent glslang compiler 2016-12-14 20:32:46 +01:00
saschawillems
00ed23db98 Virtual function for enabling physical device features (instead of function pointer in constructor) 2016-12-14 20:17:15 +01:00
saschawillems
d24f8ec8b7 Explicit call to vulkan initialization 2016-12-14 08:34:45 +01:00
saschawillems
65a8043087 Properly enable validation 2016-12-13 20:07:55 +01:00
saschawillems
17e3313b53 Move Vulkan initialization out of example constructor to allow overriding initialization functins (e.g. instance creation) 2016-12-13 19:59:15 +01:00
saschawillems
fac6524564 Replaced main entry points with macro from example base 2016-12-13 19:25:56 +01:00
saschawillems
f5d774d5cf Use additional semaphore to synchronize compute and graphics (Refs #257) 2016-12-10 13:37:58 +01:00
saschawillems
a376f2d695 Clamp particle size (Fixes #256) 2016-12-10 12:04:41 +01:00
Sascha Willems
40f481f9fd Added missing include for std::find (Fixes #255) 2016-12-08 08:07:43 +01:00
saschawillems
f421d17814 Added function for checking extension support at device level 2016-12-07 21:54:04 +01:00
saschawillems
100d8e40e9 Updated Vulkan headers to 1.0.35 2016-11-30 11:09:24 +01:00
saschawillems
8a22dd4c68 Changed global and local compute work group sizes (Fixes #251) 2016-11-29 20:45:38 +01:00
Sascha Willems
87e314947e Merge pull request #252 from cdwfs/typos
Fixed assorted typos in comments and function names
2016-11-29 18:38:31 +01:00
Cort
d5b03d26a5 Fixed assorted typos in comments and function names 2016-11-28 23:33:50 -08:00
saschawillems
fda21f96c9 Added compute N-Body Android build files 2016-11-27 13:44:10 +01:00
saschawillems
7f1c8c516b Don't start paused 2016-11-27 13:27:45 +01:00
saschawillems
2f79c852c0 Fix for shared data size calculation 2016-11-27 13:27:11 +01:00
Sascha Willems
69de141249 Merge pull request #250 from jherico/subpass_store
Don't tell the GPU to store attachments we don't care about
2016-11-27 11:02:11 +01:00
Brad Davis
5df916cfbb Don't tell the GPU to store attachments we don't care about 2016-11-26 20:48:16 -08:00
saschawillems
8db5b0868f Scale point size to match camera distance, base point size on particle mass 2016-11-26 14:43:24 +01:00
saschawillems
8baddd5f74 Parameter tweaking 2016-11-26 13:56:17 +01:00
saschawillems
2674c7c404 Added compute shader n-body particle simulation demonstrating the use of shared compute shader memory 2016-11-26 13:52:22 +01:00
saschawillems
7cd95fc8c8 Use FindVulkan CMake module if version >= 3.7.0 (refs #225) 2016-11-12 13:33:21 +01:00
saschawillems
9462a24421 platform agnostic argument handling 2016-11-10 22:56:15 +01:00
saschawillems
db66e81721 platform agnostic argument handling 2016-11-10 22:31:06 +01:00
Sascha Willems
ddaf4943e3 Added Linux lib from SDK 1.0.30 (refs #225) 2016-11-05 17:21:14 +01:00
Sascha Willems
f8766d8ce7 Prefer lib from installed SDK if present, update Linux library 2016-11-05 17:17:46 +01:00
saschawillems
a4df583cd5 define around surface creation function for direct2display 2016-11-05 11:21:51 +01:00
saschawillems
57de00b759 Replace C-style struct initialization 2016-11-05 11:03:45 +01:00
Sascha Willems
e7d855ef50 Merge pull request #246 from shi-yan/master
add direct to display wsi swapchain option
2016-11-05 10:55:02 +01:00
Shi Yan
6989e12f2a add README for using Direct to Display swapchain and fix a typo. 2016-11-04 15:40:22 -07:00
Shi Yan
9b5127f894 add direct to display wsi swapchain option
direct to display swapchain needs to be enabled at compile time with option -DUSE_D2D_WSI=ON

currently tested under linux
2016-11-04 14:04:34 -07:00
saschawillems
6f75370240 Don't start paused 2016-11-04 11:44:42 +01:00
saschawillems
10d89eb0df gitignore 2016-11-04 10:42:00 +01:00
saschawillems
10b9331299 Updated Vulkan headers to 1.0.32 2016-11-04 10:39:36 +01:00
Sascha Willems
d387407426 Merge pull request #243 from MattGuerrette/master
Added CMAKE_SOURCE_DIR to runtime output directory
2016-11-03 09:01:15 +01:00
MattGuerrette
67fbbbf10d prefixed runtime output directory with CMAKE_SOURCE_DIR to be more explicit. 2016-11-01 17:43:38 -04:00
saschawillems
3983cbd732 Set SSAO shader constants via specialization 2016-11-01 15:39:54 +01:00
saschawillems
1713a968d4 Removed unused vertex shader input location 2016-11-01 13:45:46 +01:00
saschawillems
cd57ec7a32 Return value for sparse info initializer 2016-10-31 22:31:22 +01:00
saschawillems
a33ea8ed4b Added initializers for specialization constants 2016-10-31 22:23:19 +01:00
saschawillems
55f16c2340 Added missing examples to CMakeLists 2016-10-31 21:32:54 +01:00
saschawillems
1359058d24 Skeletal animation example shaders, code cleanup, etc. 2016-10-30 18:13:49 +01:00
saschawillems
54ddca7c08 Added Android build files and seettings for SSAO example 2016-10-30 13:49:30 +01:00
saschawillems
06369fc72e Added lighting to SSAO example. small changes and fixes 2016-10-29 13:18:20 +02:00
saschawillems
9212a9e3cb Added SSAO example (wip) 2016-10-28 21:16:21 +02:00
saschawillems
ad26540e4f Method to copy data to mapped buffer 2016-10-28 19:57:59 +02:00