Commit graph

149 commits

Author SHA1 Message Date
saschawillems
8ff0ad57ba No longer enable validation layers at device level, deprecated since SDK 1.0.17.0 (refs #189) 2016-06-25 19:52:50 +02:00
saschawillems
c26e1b7918 Fixed compiler type cast warning 2016-06-25 13:27:18 +02:00
saschawillems
a9de176d12 Added tessellation evaluation shader frustum culling and pipeline stats for dynamic terrain tessellation example 2016-06-23 22:01:48 +02:00
saschawillems
00560f06b5 Use undefined initial image layout (refs #187), request coherent host visible memory types 2016-06-21 23:10:04 +02:00
saschawillems
8f76a24e53 Build command buffers for pre and post present barriers only once (instead of every frame) 2016-06-21 23:07:16 +02:00
saschawillems
d944af8604 Transform swap chain image from undefined instead of present (fixes #156) 2016-06-21 22:23:14 +02:00
saschawillems
1b376da279 Cleaned up image layout transition function, comments (refs #187) 2016-06-21 21:05:38 +02:00
saschawillems
2e101fdd1e First person gamepad camera for Android (move with LT, look around with RT) 2016-06-20 22:08:50 +02:00
saschawillems
d3f79ea07e Fixed typo in camera class 2016-06-20 20:17:46 +02:00
saschawillems
4ba4d67935 Load mip levels for cube maps and texture arrays (TextureLoader) 2016-06-18 17:42:33 +02:00
saschawillems
b7dae92ed8 Added descriptor info to texture struct 2016-06-14 19:01:29 +02:00
saschawillems
2425797ca7 Force V-Sync via command line (windows) 2016-06-12 17:20:42 +02:00
saschawillems
8b08d01157 Parameter to force V-Sync at swap chain creation 2016-06-12 17:13:46 +02:00
saschawillems
5e528cb9a3 Persitent mapped buffer for text overlay, fixed compiler warnings 2016-06-12 13:16:15 +02:00
saschawillems
73e18a4c05 Added basic camera class with firs-person view (wip!) 2016-06-11 15:54:16 +02:00
saschawillems
830e9b75ea Set image usage flags from function parameter (fixex #175) 2016-06-08 22:53:31 +02:00
saschawillems
a8d3e74734 Updated debug callback, added more message prefixes and some comments (also fixes 2016-06-08 22:41:29 +02:00
saschawillems
7ae45a5157 Added vkResetFences function pointer (Android) 2016-06-06 17:09:32 +02:00
saschawillems
f7f5f57e2c Explicit depth/stencil attachment setup in triangle example, code cleanup 2016-06-03 13:15:55 +02:00
saschawillems
767a5c4b30 Get image memory requirements before allocating image memory (Fixes #172) 2016-06-03 09:38:34 +02:00
saschawillems
3a1d443e52 Wait for device to become idle after exiting render loop 2016-06-02 20:56:13 +02:00
saschawillems
75a6f46c4a Use Vulkan result check macro, removed unused functionality from tools and base class 2016-05-30 20:57:38 +02:00
saschawillems
a85dca7a15 Use Vulkan result check macro, compiler warnings 2016-05-30 20:44:49 +02:00
saschawillems
50a806130e Added debug marker region to text overlay command buffer 2016-05-28 12:35:20 +02:00
saschawillems
4dabec717b Debug marker functions naming 2016-05-28 12:00:43 +02:00
saschawillems
86d286b46e Replaced template for debug marker with functions (would not build with Android NDK and clang) 2016-05-22 20:29:03 +02:00
saschawillems
ae8f38d099 Use Vulkan result check macro, code cleanup, removed some warnings 2016-05-22 20:27:06 +02:00
saschawillems
dcca2db9df Partial merge branch 'add-debug-marker-use' of https://github.com/baldurk/Vulkan into baldurk-add-debug-marker-use (Refs #146) 2016-05-22 12:44:29 +02:00
saschawillems
3f06ef81fb Fixed Android gamepad dead zone check (avoids constant view updateds) 2016-05-21 15:20:07 +02:00
saschawillems
66f006b783 Mesh loader now does staging to device local memory by default (Refs #84) 2016-05-20 23:15:31 +02:00
saschawillems
d365b7ccd5 Overload for creating buffers with descriptor sets and passing memory type properties, use Vulkan result check macro 2016-05-20 21:19:43 +02:00
saschawillems
96df99f1f2 Fixing Android build error and warnings 2016-05-20 20:21:06 +02:00
saschawillems
a7a1a8aed4 Destroy debug callback (Fixes #15) 2016-05-19 22:21:57 +02:00
saschawillems
f78bd0dcd4 Win32: PostQuitMessage instead of exit on VK_ESCAPE 2016-05-19 20:25:09 +02:00
saschawillems
f601b35229 Display occlusion query stats on text overlay 2016-05-18 19:44:24 +02:00
saschawillems
05b920cf01 Callback for adding custom text to text overlay 2016-05-18 19:33:15 +02:00
saschawillems
19e108165c Reset wait stage masks for submit info after submitting text overlay, disable depth writes and reads , optimize load and store ops for attachments 2016-05-17 23:26:08 +02:00
saschawillems
52f6f3228d Initializer for event create info 2016-05-16 09:23:49 +02:00
saschawillems
1b335ad2c8 Added wrapper for frame preparation and submission, including semaphore selection and text overlay 2016-05-15 20:11:28 +02:00
saschawillems
5266c25c33 Added text overlay to the example base (by default off) 2016-05-15 18:31:31 +02:00
saschawillems
99b9ff220d Text overlay class 2016-05-15 16:14:32 +02:00
saschawillems
33915ac557 Added text overlay class to base folder 2016-05-15 13:24:48 +02:00
saschawillems
de0c29b586 Pass Android gamepad key press to virtual key function of example 2016-05-15 11:13:14 +02:00
saschawillems
7087d7d14e Skinned mesh stuff moved to class, added resources 2016-05-14 21:19:52 +02:00
saschawillems
7203b0cebd Binary shader memory deallocation, new and free instead of malloc (Fixes #118) 2016-05-14 17:11:39 +02:00
saschawillems
45fe43c0c8 Use buffers as copy sources for texutre loading functions (Fixes #140) 2016-05-14 13:50:44 +02:00
saschawillems
a9f280016f Overload for getMemoryType (return type index) 2016-05-11 20:19:01 +02:00
saschawillems
035a5ab560 Macro for checking and displaying Vulkan results 2016-05-08 11:18:39 +02:00
baldurk
a1d8558b89 Add object naming and debug marker/regions to bloom sample 2016-05-07 14:08:40 +02:00
baldurk
d223dfa72b Check for VK_EXT_debug_marker being present and enable it if so 2016-05-07 14:06:47 +02:00