Commit graph

475 commits

Author SHA1 Message Date
Sascha Willems
10a1ecaf7b Re-Added missing shaders
Fixes #703
2020-04-29 18:39:15 +02:00
Igor Ostrowski
f3a65f298d Deferred*: Fix incorrect command pool in deinitialization 2020-04-28 19:30:58 +02:00
Sascha Willems
d28d9279f5 Merge branch 'master' of https://github.com/SaschaWillems/Vulkan 2020-04-25 08:23:39 +02:00
Sascha Willems
107aa35b9e Extracted vertex into separate class with easy component to Vulkan vertex attribute mappings
Load vertex colors if present
Added flag to pre-transform vertices
2020-04-25 08:23:32 +02:00
丛越
60d17d43a5 fix:Inputattachment demo crash on Adreno 640 GPU
Issue #696
Close #696
2020-04-24 11:55:38 +08:00
Sascha Willems
cb50a95547
Merge pull request #626 from VZout/master
Cleaned up the createShaderBindingTable for the raytracing examples
2020-04-23 07:45:26 +02:00
Sascha Willems
424de5fab3 Validation fixes 2020-04-22 21:01:33 +02:00
Sascha Willems
48e7952fbf Code-Cleanup: All samples now use the camera class and it's matrices
Cleaned up base class
2020-04-22 21:01:17 +02:00
Sascha Willems
ab38f8b150 Code-Cleanup: All samples now use the camera class and it's matrices
Cleaned up base class
2020-04-22 20:58:24 +02:00
Sascha Willems
53846d8b1d Code cleanup 2020-04-20 22:13:51 +02:00
Sascha Willems
458c149c71 Code cleanup 2020-04-20 20:29:15 +02:00
Sascha Willems
9fc8b0032c Error handling 2020-04-19 18:55:51 +02:00
Sascha Willems
2d636eda2c Android asset loading 2020-04-19 16:43:25 +02:00
Sascha Willems
e0c15f62da Renamed mesh example to glTF scene 2020-04-19 11:50:46 +02:00
Sascha Willems
3ae053d005 Code-Cleanup
Use flight helmet glTF 2.0 sample model
2020-04-19 10:59:16 +02:00
Sascha Willems
e9b9332d04 glTF model loading and rendering sample uses default frame submit function from base class 2020-04-19 09:18:48 +02:00
Sascha Willems
c5e8c178c2 Free glTF model resources in destructor 2020-04-13 18:58:02 +02:00
Sascha Willems
579c7d086f Calculate matrices from node-hierarchy and pass via push constant 2020-04-13 16:26:40 +02:00
Sascha Willems
374ee215bb User camera class 2020-04-12 22:12:44 +02:00
Sascha Willems
2966d0ee5d Move drawing into dedicated VulkanglTF class
Comments, code-cleanup
2020-04-12 22:07:54 +02:00
Sascha Willems
9fa9a4b46b Move loading into dedicated VulkanglTF class 2020-04-12 21:59:26 +02:00
Sascha Willems
9f7d13d5e0 Mesh loading and rendering now properly displaying glTF mesh
Added textures, modified structure to be more in line with glTF layout
Split matrices and material descriptor set
2020-04-12 21:24:33 +02:00
Sascha Willems
d50a5d0f40 Replace ASSIMP with glTF
Initial version of mesh loading and rendering example withouth ASSIMP (mainly due to Android build woes)
2020-04-12 18:37:25 +02:00
Sascha Willems
3763e001dc Apply vertex offset to indices
Fixes rendering for other models like sponza
Refs #677
2020-04-10 18:01:04 +02:00
Sascha Willems
942c4e12ae Deprecation notice for VK_EXT_debug_report sample
Link to updated sample for VK_EXT_debug_utils in Khronos sample repo
2020-04-02 19:14:32 +02:00
Sascha Willems
78b25ebd71
Merge pull request #681 from krOoze/triangle_dependencies
Tweak Triangle subpass dependencies
2020-04-01 18:15:30 +02:00
Yunju Lee
7bd8b0753d Fixed #682 2020-03-15 11:04:13 -04:00
Petr Kraus
3e8c6e952f Tweak Triangle subpass dependencies 2020-03-05 21:20:48 +01:00
Petr Kraus
2a986b6a87 Fix some whitespace 2020-03-05 21:20:42 +01:00
Sascha Willems
215b07bafa Rework synchronization for compute particles sample
Add proper cross-queue-barriers
Replace fence with semaphores
Fixes #649
Fixes #670
Fixes #406
2020-02-22 14:38:53 +01:00
Sascha Willems
780cfee8ab Get compute command buffer via device function 2020-02-22 12:32:17 +01:00
Sascha Willems
acdec3e127 Add proper queue family ownership transfer barriers between compute and graphics (for separate queue families)
Refs #544
2020-02-22 12:20:30 +01:00
Sascha Willems
d1fbf8d00a
Skeletalanimation fix (#671)
* Fixed anc code cleanup for skeletal animation

Refs #669

* Fix android build
2020-02-20 14:25:29 +01:00
Sascha Willems
662d2b3464 Centralize asset path handling
Refs #470
Refs #627
2020-02-17 21:09:27 +01:00
Sascha Willems
b3d333d1b8
Merge pull request #658 from hhsaez/hernan/fix-assets-paths
Fix asset path for some examples
2020-02-17 20:23:52 +01:00
Sascha Willems
b3749a90ad
Merge pull request #653 from httpdigest/master
Fix typos
2020-02-14 07:00:18 +01:00
Sascha Willems
3977935d94 Properly resize attachments and update descriptor sets
Refs #414
Refs #659
2020-02-05 20:49:18 +01:00
Sascha Willems
825227a067 Single submission 2020-02-05 19:48:49 +01:00
Sascha Willems
7ef09ae2a8 Use correct image layout for descriptor
Fixes validation
2020-02-05 19:15:37 +01:00
Hernan Saez
49bfc20673 Fix asset path for examples 2020-01-25 09:32:48 -03:00
Sascha Willems
498066749d Removed unused usage flags on depth stencil image 2020-01-24 09:45:48 +01:00
Sascha Willems
652fc3ab00 Code cleanup
Fixes #657
2020-01-24 09:16:52 +01:00
Sascha Willems
8acc59a2e1 Code cleanup
Fixes #593
2020-01-18 10:13:14 +01:00
Sascha Willems
e75f2ae739 Merge branch 'master' of https://github.com/SaschaWillems/Vulkan 2020-01-18 10:03:09 +01:00
Sascha Willems
c28adea2f7 Code cleanup
Fixes #643
2020-01-18 10:02:55 +01:00
Sascha Willems
6bc9f95e5d
Merge pull request #652 from NotCamelCase/master
Fix uninitialized variable used in vkCmdCopyBufferToImage().
2020-01-18 09:45:09 +01:00
Sascha Willems
339986642f
Merge pull request #634 from hevrard/triangle_present
Be robust to queuePresent returning VK_SUBOPTIMAL_KHR
2020-01-16 20:19:16 +01:00
Hugues Evrard
4e48b38928 Fix Android build of computecloth demo
The NDK compiler currently fails with:

```
examples/computecloth/computecloth.cpp:71:23: error: cannot
initialize a member subobject of type 'VkSemaphore' (aka 'unsigned
long long') with an rvalue of type 'nullptr_t'
                          VkSemaphore ready{ nullptr };
```
2020-01-15 16:29:47 +00:00
httpdigest
5029e15ec6 Fix typos
http://its-not-its.info/
2020-01-12 12:56:16 +01:00
Tayfun Kayhan
2843f4f03b Fix uninitialized variable used in vkCmdCopyBufferToImage(). 2020-01-10 13:28:56 +01:00