Commit graph

855 commits

Author SHA1 Message Date
saschawillems
a5034c53c3 Code cleanup, comments and overloads 2017-01-19 19:32:42 +01:00
saschawillems
839fc84d69 Moved android_app object to global scope 2017-01-18 19:21:40 +01:00
saschawillems
3dfb17c89a Started on reworked sleeker model loader [skip ci] 2017-01-17 20:25:16 +01:00
saschawillems
3472e6be9d Android fix for shader loading [skip ci] 2017-01-15 10:20:53 +01:00
saschawillems
3cba04fb76 Added subpass example Android build [skip ci] 2017-01-14 17:14:09 +01:00
saschawillems
79d9f0bde3 Pass proper VK_NULL_HANDLE for descriptor image info initializer 2017-01-14 17:07:43 +01:00
saschawillems
864beb0472 Missing android function pointer for vkCmdNextSubpass 2017-01-14 17:07:20 +01:00
saschawillems
405c76737c Use new sample building scene for subpass example, added transparent texture 2017-01-14 16:06:44 +01:00
saschawillems
81885abeb6 Pass depth test for forward transparent geometry for texel without depth from deferred pass [skip ci] 2017-01-12 20:02:55 +01:00
saschawillems
b57f74012f Added transparent forward pass as third subpass, demonstrate preserve attachment 2017-01-11 21:25:53 +01:00
saschawillems
1634ed065e Mesh loader code cleanup 2017-01-10 21:04:12 +01:00
saschawillems
96ffb2bac3 Corrected shader file names for instancing examples 2017-01-09 20:24:16 +01:00
saschawillems
826a4ba44a Disable missing switch statements warning for clang 2017-01-09 20:24:16 +01:00
Sascha Willems
9b8e5658ef Merge pull request #264 from lamikr/master_lamikr
allow bundled Vulkan lib also with newer cmakes
2017-01-08 20:29:13 +01:00
saschawillems
8ee3bdca4d Screenshot for cull and lod example [skip ci] 2017-01-08 20:24:31 +01:00
saschawillems
d1ffdbb968 Reorganized readme, added some missing examples [skip ci] 2017-01-08 20:22:12 +01:00
saschawillems
bb9310b94a Added starfield backdrop to instancing example 2017-01-08 12:27:03 +01:00
saschawillems
d335e7be29 Updated screenshot and description for revised instancing example 2017-01-08 12:25:34 +01:00
saschawillems
094ed4bccf Revised instancing example 2017-01-08 11:13:21 +01:00
Mika Laitio
67383cb444 allow bundled Vulkan lib also with newer cmakes
Remove REQUIRED flag for the Vulkan library
search that are used if CMake version > 3.7.

This will allow the configuration and build fall back
of searching the internal vulkan library versions that
are bundled within this repo. (In case that the user
has not installed vulkan libraries under /usr)

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
2017-01-08 02:04:23 -08:00
saschawillems
93bdd86917 Vulkan resource deallocation function for texture class 2017-01-07 21:52:59 +01:00
saschawillems
ebd614439f Removed buffer creation functions from example base class (no longer used) 2017-01-07 20:50:43 +01:00
saschawillems
3acaa6b4a2 Replaced model for specialization constants example 2017-01-07 20:50:16 +01:00
saschawillems
e573a4c244 Use createBuffer function from Vulkan device class 2017-01-07 20:46:28 +01:00
saschawillems
927660680d Updated bloom example shaders 2017-01-07 20:45:17 +01:00
saschawillems
bfd0a2e0b4 Generate quad for final composition pass in vertex shader 2017-01-07 20:40:35 +01:00
saschawillems
89f82e328c Added PCF filtering toggle (second pipeline using specialization constants), use createBuffer from Vulkan device class 2017-01-07 20:20:40 +01:00
saschawillems
80da11e964 Enable pipeline statistics feature (validation) 2017-01-07 19:52:54 +01:00
saschawillems
a7a174f389 Use createBuffer function from Vulkan device class 2017-01-07 19:42:00 +01:00
saschawillems
1fa3364513 Use createBuffer function from Vulkan device class 2017-01-07 19:37:36 +01:00
saschawillems
6e19ea926a Use specialization consts for blur direction, full screen quad generated by vertex shader, code cleanup 2017-01-07 19:25:04 +01:00
saschawillems
c4e50f76ee Moved initializers to separate header, code cleanup in general for initializers 2017-01-06 22:48:37 +01:00
saschawillems
b2f224341f Use actual texture image layouts for descriptor image infos (instead of always GENERAL), initial image layout as optional parameters for texture loading functions 2017-01-04 22:08:31 +01:00
saschawillems
251560845c Proper image layout for descriptor image infos (instead of always GENERAL), code cleanup, comments 2017-01-04 21:49:26 +01:00
saschawillems
5485e77d30 travis linux build badge 2017-01-03 21:11:15 +01:00
saschawillems
cde6aff885 travis linux build configuration file 2017-01-03 20:59:26 +01:00
saschawillems
286618735b travis linux build configuration file 2017-01-03 20:49:30 +01:00
saschawillems
bf8cc5307d travis linux build configuration file 2017-01-03 20:47:00 +01:00
saschawillems
57cb81af90 appveyor Windows build badge 2017-01-03 20:00:16 +01:00
saschawillems
5ade5e3a36 appveyor build configuration file 2017-01-03 19:50:04 +01:00
saschawillems
e9a9507c90 MINGW defines for aligned allocations 2017-01-02 20:55:19 +01:00
saschawillems
3d9350d960 Added Android and CMake builds for specialization constants example 2017-01-01 15:56:44 +01:00
saschawillems
00b5ea453f Code cleanup, additional specialization constant as parameter for one lighting path 2017-01-01 15:41:23 +01:00
saschawillems
668ad24830 Pipeline stage masks for shadow map generation subpass dependencies 2016-12-31 11:28:08 +01:00
saschawillems
35e76fe576 Correct image descriptor layouts, removed command buffer for layout transitions (no longer used), code cleanup 2016-12-30 20:33:29 +01:00
saschawillems
c7729f7634 Corrected image layouts for shadow mapping depth reads (Fixes #253), fixed typo 2016-12-29 23:16:29 +01:00
saschawillems
34ca943ac5 Started work on specialization constants example 2016-12-26 19:08:03 +01:00
saschawillems
7d581050ec Note on maxDescriptorSetUniformBuffersDynamic 2016-12-25 13:19:42 +01:00
saschawillems
fbbb63d245 Removed unused functions and members of Vulkan example base class 2016-12-25 13:05:40 +01:00
saschawillems
ed35ba7b71 Code cleanup 2016-12-25 13:05:35 +01:00