Commit graph

44 commits

Author SHA1 Message Date
saschawillems
06af4a0cee Android shader loading bugfix 2017-01-23 13:56:40 +01:00
saschawillems
792d8347be Window size as arguments (Fixes #270) 2017-01-22 12:29:27 +01:00
saschawillems
c7303e4e67 Moved vertex input state setup to pipeline creation 2017-01-21 22:05:21 +01:00
saschawillems
3472e6be9d Android fix for shader loading [skip ci] 2017-01-15 10:20:53 +01:00
saschawillems
9bdf72ca00 UBO naming 2016-12-24 12:43:37 +01:00
saschawillems
9981799b02 Explicit shader loading in triangle example with comments 2016-12-23 17:18:53 +01:00
saschawillems
d24f8ec8b7 Explicit call to vulkan initialization 2016-12-14 08:34:45 +01: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
f4cc6bf5a4 Moved fence wait to make it more clear, create fences in signaled state 2016-08-14 10:18:43 +02:00
Florian Hänel
adf78eab4f queue submitted twice
It looks like the queue is submitted twice and synchronized once with wait idle and once with a fence.
2016-08-14 00:11:41 -07:00
saschawillems
26fa796517 Changed queue submission pipeline wait stages to color_attachment 2016-08-11 19:29:40 +02:00
saschawillems
a56f2b2c6f Correct fence count 2016-08-09 23:53:36 +02:00
saschawillems
fdd9594221 Replace explicit attachment image transitions with implicit subpass dependencies (Refs #155), heavy refactoring, clean up and lots of added/enhanced comments 2016-08-09 23:52:06 +02:00
saschawillems
563d7c4b9c Removed redundant depth attachment layout transition and wrong comment 2016-08-04 21:18:05 +02:00
saschawillems
574287f210 Request host coherent memory types for index and vertex staging buffers (Fixes #203), example uses own getMemoryTypeIndex function for clarification, enabled exceptions for Android build 2016-07-18 20:32:25 +02:00
saschawillems
cd13e69622 Removed memset on indices in non-staging path for index upload (Fixex #206) 2016-07-18 19:59:57 +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
2aefecfb9a Transform swap chain image from undefined instead of present (refs #156) 2016-06-21 22:17:05 +02:00
saschawillems
875f4a93ea Fix for command buffer flush (Fixes #176) 2016-06-06 09:41:58 +02:00
saschawillems
f7f5f57e2c Explicit depth/stencil attachment setup in triangle example, code cleanup 2016-06-03 13:15:55 +02:00
saschawillems
176513be2d Additional comments for the different Vulkan objects used, fixed some compiler warnings 2016-06-03 12:19:53 +02:00
saschawillems
f67c77fb6e Added renderpass and framebuffer creation to triangle example along with extensive comments 2016-06-02 20:58:25 +02:00
saschawillems
cae5db72ec Host coherent uniform buffers, removed device wait idles 2016-06-02 19:12:36 +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
ede809ec31 Removed unnecessary duplicate vertex attribute binding point index (Fixes #143) 2016-05-02 19:11:12 +02:00
saschawillems
a774cda58d Set vertex input state flags to zero 2016-04-30 11:51:35 +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
saschawillems
eb428db92d Feee copy command buffer (Fixes #135) 2016-04-18 20:52:29 +02:00
saschawillems
4e689f3fee Call example destructor on Android (Fixes #97) 2016-03-26 13:21:19 +01:00
saschawillems
786e43384d Android support for texture example (#97) 2016-03-21 22:41:27 +01:00
saschawillems
e3c26e01ac Shader loading 2016-03-21 20:10:21 +01:00
saschawillems
d7bbb0c7a2 Added basic android gamepad support (#97) 2016-03-20 21:46:49 +01:00
saschawillems
bc71f44c75 Android main entry point, shader loading (#97) 2016-03-20 20:04:59 +01:00
saschawillems
deccc3ada0 Use staging buffers for vertex and index data for uploading to device local memory 2016-03-17 22:32:15 +01:00
saschawillems
30fc2ae77b Submit post present barrier after acquiring next swap chain image (old spot was wrong due to missing image ownership) 2016-03-13 12:17:57 +01:00
saschawillems
403d851d63 Force glm clip space to 0..1 (Fixes #18, Fixes #45) 2016-03-08 21:52:40 +01:00
Samuele Panzeri
0a431b6be5 Fixed a missed error return check and removed a redudant assert in VulkanExample::prepareVertices 2016-03-07 01:23:01 +00:00
saschawillems
1868b4fb8e Semaphore naming (#65) 2016-03-06 17:37:33 +01:00
saschawillems
fe7d1d799d glm's radians instead of deg_to_rad(#37), define for Vulkan clip space (#17) 2016-03-06 17:33:50 +01:00
saschawillems
79158399d7 Added submit signal wait semaphore (#65) and pipeline stage flags to submit info (#66) 2016-03-06 17:28:26 +01:00
saschawillems
60abe8c9f2 Reuse present complete semaphore (#60), removed GLSL shader path (#62) 2016-03-06 12:16:04 +01:00
Justin Li
311f223e10 Don't set flags on VkSemaphoreCreateInfo 2016-03-06 01:20:03 -05:00
Sascha Willems
5029b8fd07 Pass correct buffer create info reference for index buffer (Fixes #17) 2016-02-18 11:20:45 +01:00
saschawillems
c91341813c Added Vulkan examples sources! 2016-02-16 15:07:25 +01:00