Commit graph

302 commits

Author SHA1 Message Date
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
Sascha Willems
7a2dac7e30
Merge pull request #646 from jherico/computecloth
Fix validation and improve sync for computecloth
2020-01-06 20:27:01 +01:00
Sascha Willems
712ae27f87 Remove unused queue create info
Fixes #647
2020-01-06 20:25:02 +01:00
Brad Davis
e0b557606c Forcing tabs 2020-01-03 09:39:28 -08:00
Brad Davis
19f80fe423 Fix submit wait stages, support same family for graphics & compute 2020-01-03 09:25:24 -08:00
Brad Davis
055d90ea30 Fix validation and improve sync for computecloth 2020-01-02 13:04:03 -08:00
Sascha Willems
e18d428249
Merge pull request #580 from ardrabczyk/typo
Fix typo: Dsiplay->Display
2019-12-21 13:49:13 +01:00
Sascha Willems
bb3b336e53
Merge pull request #637 from SaschaWillems/libktx
Replace gli with libktx
2019-12-08 10:04:25 +01:00
Sascha Willems
af3ae38bd2 ktx loading fixes 2019-12-08 08:58:35 +01:00
Sascha Willems
3537d2cca2 Merge branch 'master' into libktx
# Conflicts:
#	examples/texturemipmapgen/texturemipmapgen.cpp
2019-12-07 16:04:45 +01:00
Sascha Willems
6d63dc32c3
Merge pull request #632 from chrisforbes/fix-displacement
Fix displacement sample blindly enabling BC compression feature
2019-12-05 20:18:57 +01:00
Sascha Willems
99fa99ff37 Added function for getting best-fit depth format to device
Refs #607
2019-12-01 18:13:22 +01:00
Robin Liu
6eefd7a5b6 Fix the validation error that there's not enough descriptors left in the pool. 2019-11-28 16:44:13 -05:00
Sascha Willems
144b58a253 Put image memory barrier in proper command buffer 2019-11-23 14:00:24 +01:00
Sascha Willems
9a727ccc43 Put image memory barrier in proper command buffer 2019-11-23 13:59:11 +01:00
Hugues Evrard
05bf2105f4 Be robust to queuePresent returning VK_SUBOPTIMAL_KHR 2019-11-20 18:42:30 -08:00
Chris Forbes
60a459552e Fix displacement sample blindly enabling BC compression feature 2019-11-20 17:34:01 -08:00
Sascha Willems
7086684979 Fix image memory barriers
Use proper stages and access masks
This fixes image memory barrier validation
Refs #631
2019-11-19 19:07:03 +01:00
Sascha Willems
f544895708 Use proper type for scratch buffer memory requirements
Explicitly set type for top and botom level AS memory requirements
Fixes #622
2019-11-09 10:47:31 +01:00
Sascha Willems
40c5e64faf Updated comments
Refs #622
2019-11-09 10:35:49 +01:00
VZout
a74849668b Removed unnessessary increment to the shader binding table data 2019-11-01 16:13:23 +01:00
VZout
cd2ec54f7f Cleaned up the createShaderBindingTable for the raytracing examples 2019-11-01 16:01:48 +01:00
Sascha Willems
e1e348ac7a Merge branch 'master' of github.com:SaschaWillems/Vulkan 2019-10-27 17:53:51 +01:00