Commit graph

909 commits

Author SHA1 Message Date
saschawillems
3ae4f26901 Updated compute shader particle system with point sprites and gradient coloring 2016-05-14 23:09:17 +02:00
saschawillems
72af27a49a Use vulkan result check macro 2016-05-14 21:40:58 +02:00
saschawillems
fb053a5011 Added gl_PerVertex outputs 2016-05-14 21:23:09 +02:00
saschawillems
7087d7d14e Skinned mesh stuff moved to class, added resources 2016-05-14 21:19:52 +02:00
saschawillems
26b02736d5 Updated sekeletal animation example 2016-05-14 20:03:29 +02:00
saschawillems
bbce1bd743 Use vulkan result check macro 2016-05-14 19:27:23 +02:00
saschawillems
2a05de5882 Use temporary command buffers for submitting image layout transitions 2016-05-14 19:19:12 +02:00
saschawillems
d7ea2c2ef8 Use additional semaphore to synchronize between offscreen rendering and offscreen target usage in final render pass (Refs #70), set attachment flags to zero (Validation warning) 2016-05-14 19:12:10 +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
69e85e155d Updated screen shot for texture example 2016-05-14 16:20:25 +02:00
saschawillems
cb96eaf6bd Updated texture example using different texture and lighting (diffuse + specular) 2016-05-14 15:54:20 +02:00
saschawillems
a72df2bec9 Initial layout barrier was not submitted 2016-05-14 15:49:01 +02:00
saschawillems
779739fa45 Replaced some textures 2016-05-14 15:35:29 +02:00
saschawillems
45fe43c0c8 Use buffers as copy sources for texutre loading functions (Fixes #140) 2016-05-14 13:50:44 +02:00
saschawillems
ab54c8d49d Use vulkan result check macro 2016-05-14 13:50:10 +02:00
saschawillems
47a6dee065 Use a single buffer to image copy for the cube map (Refs #140) 2016-05-14 12:22:07 +02:00
saschawillems
d3e1718f28 Copy array texture layers from host visible buffer instead of linear image (Refs #140), only use one copy if all array layer dimensions are equal 2016-05-14 12:19:18 +02:00
saschawillems
c7a0d67448 Copy cube map texture faces from host visible buffer instead of linear image (Refs #140) 2016-05-14 11:46:56 +02:00
saschawillems
ebff829030 Removed note about API versions 2016-05-11 20:44:43 +02:00
saschawillems
4a124d75a3 Triangle example code cleanup, use VK_CHECK_RESULT macro instead of asserts, added more comments 2016-05-11 20:39:22 +02:00
saschawillems
a9f280016f Overload for getMemoryType (return type index) 2016-05-11 20:19:01 +02:00
Sascha Willems
59fbf41e31 Merge pull request #147 from TheBB/multisampling-voyager-ext
Fix asset filename in multisampling
2016-05-10 20:51:47 +02:00
Eivind Fonn
d4cded472e multisampling: fix asset path 2016-05-10 20:40:54 +02:00
saschawillems
9fef8fa042 Use result check macro instead of function 2016-05-08 11:40:25 +02:00
saschawillems
ea084fccc3 Staging, optimizations and code cleanup for mesh loading example 2016-05-08 11:30:04 +02:00
saschawillems
035a5ab560 Macro for checking and displaying Vulkan results 2016-05-08 11:18:39 +02:00
saschawillems
63900a9e06 Added text overlay example to readme 2016-05-07 16:29:56 +02:00
saschawillems
4bef4ca134 Added text overlay example to cmake and android build 2016-05-07 15:59:08 +02:00
saschawillems
8de82e8d0c Coordinates for unit cube text overlay display 2016-05-07 15:36: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
baldurk
6362d7c216 Add utility functions to wrap up use of VK_EXT_debug_marker
* vkDebug::DebugMarkerRegion adds automatically scoped region markers
* vkDebug::insertDebugMarker() inserts a label in a command buffer
* vkDebug::SetObjectName() names any vulkan object with a friendly name
2016-05-07 14:05:56 +02:00
baldurk
8753041974 Add latest vulkan header, with VK_EXT_debug_marker
* From revision 648049f625c956068495192447e3ef99772c8947 (2016-05-07)
  File src/vulkan/vulkan.h in KhronosGroup/Vulkan-Docs
2016-05-07 14:03:46 +02:00
saschawillems
b39d589c86 Added backgdrop, object and more text to text overlay example 2016-05-07 12:37:12 +02:00
saschawillems
99ad677339 Corrected text char positioning, added text alignment 2016-05-05 20:52:46 +02:00
saschawillems
1d87aac565 Clean up Vulkan resources used by text overlay 2016-05-05 18:54:17 +02:00
saschawillems
b501b915ac Android function pointers 2016-05-05 15:32:21 +02:00
saschawillems
6c2e04d1b0 Stage font image to optimal tiling 2016-05-05 14:42:41 +02:00
saschawillems
77d72742ea Pass references framebuffers and sizes as references to the text overlay, recreate command buffers on resize 2016-05-05 13:03:56 +02:00
Sascha Willems
381cd1c733 Updated example base header (Fixes #144) 2016-05-04 11:44:27 +02:00
saschawillems
bb0924480d Started work on a text overlay rendering example using a separate render pass for drawing on top of the current framebuffer 2016-05-03 22:38:57 +02:00
saschawillems
908ef3765c Assign destWidth and destHeight before starting render loop to avoid unnecessary resize on windows, store last fps count 2016-05-03 21:22:45 +02:00
saschawillems
ede809ec31 Removed unnecessary duplicate vertex attribute binding point index (Fixes #143) 2016-05-02 19:11:12 +02:00
saschawillems
edb5cc794e Delete meshes in destructor (Fixes #122) 2016-04-30 12:02:48 +02:00
saschawillems
a774cda58d Set vertex input state flags to zero 2016-04-30 11:51:35 +02:00
saschawillems
8ee2687ced Initializers for attachment descriptions 2016-04-30 10:45:39 +02:00
Sascha Willems
81af6fe108 Merge pull request #139 from baldurk/multithreading-race-condition-fix
Fix race condition where 'visible' result is checked before job finishes
2016-04-29 22:03:29 +02:00
saschawillems
ab26d105da Copy texture data from buffer instead of linear image and some small fixes and code cleanups (#140) 2016-04-29 21:49:37 +02:00
baldurk
34292dd547 Fix race condition where 'visible' result is checked before job finishes 2016-04-24 13:14:48 +02:00
saschawillems
23a15ca52b Explicitly set line width for rasterization state create info (validation error with newer layers) 2016-04-24 13:00:48 +02:00