Commit graph

2414 commits

Author SHA1 Message Date
Sascha Willems
570ba6da47 Only apply stencil flag if selected format has a stencil part
Refs #947
2022-05-14 11:44:57 +02:00
Sascha Willems
8c376121c3 Pass depth range to depth map visualization shader
Fixes #895
2022-05-08 11:43:06 +02:00
Sascha Willems
8e98d10f74
Merge pull request #938 from Chris-F5/fix-deferred-typo
Fix typo in deferred.cpp
2022-05-08 09:36:34 +02:00
Sascha Willems
56b6978a6c Descriptor setup
Fixes #941
2022-05-08 09:30:15 +02:00
Sascha Willems
63c3e7eadd Added thread include 2022-04-22 08:05:28 +02:00
Sascha Willems
f45cf03608 Added graphics pipeline library sample to readme 2022-04-22 07:52:11 +02:00
Sascha Willems
e8596963b3 Merge branch 'master' of https://github.com/SaschaWillems/Vulkan 2022-04-21 07:35:01 +02:00
Sascha Willems
5bc82e9f02 Updated graphics pipeline library sample 2022-04-21 07:34:44 +02:00
Sascha Willems
11db901ecc
Merge pull request #939 from jonnxie/master
Fixed potential memory leak bug.
2022-04-18 21:22:30 +02:00
jonnxie
fc5ef968cc Fixed potential memory leak bug. 2022-04-18 16:54:21 +08:00
Christopher Lang
26c8e2c520 Fix typo in deferred.cpp 2022-04-16 10:22:10 +01:00
Sascha Willems
5aa182b604
Merge pull request #937 from JoseEmilio-ARM/patch-1
Ray Query example: shader optimization
2022-04-10 09:36:30 +02:00
JoseEmilio-ARM
3394928112
Update scene.frag
Ray Query example: shader optimization

Calling rayQueryProceedEXT in a loop can prevent certain shader optimizations. By setting the TerminateOnFirstHit and SkipAABB flags, there is no scenario where rayQueryProceedEXT will return true, hence the loop can be removed. 

This way the implementation has a guarantee that the traversal can be completed without returning control to the shader, which improves performance.
2022-04-07 15:35:38 +01:00
Sascha Willems
4e6b4fe021 Renaming things 2022-04-04 10:22:54 +02:00
Sascha Willems
483671815f Reworked shader loading
Shader module creation is no longer necessary with graphics pipeline library
2022-04-04 09:58:46 +02:00
Sascha Willems
4e75890f84 Added vertex input and fragment output state
First working version
Still work-in-progress
2022-04-03 20:15:50 +02:00
Sascha Willems
a23742dba2 Started working on sample for VK_EXT_graphics_pipeline_library 2022-04-03 18:22:53 +02:00
Sascha Willems
de22ec64b0 Updated Vulkan headers to 1.3.210 2022-04-03 12:05:09 +02:00
Sascha Willems
4b8c2d39c2
Merge pull request #936 from jonnxie/master
Fixed GLTF memory leak
2022-03-24 21:24:22 +01:00
jonnxie
6b316e694f Fixed Mesh class and Model class memory leak. 2022-03-22 11:08:38 +08:00
jonnxie
c15d44e855 Fixed loadNode function memory leak bug. 2022-03-22 10:59:03 +08:00
jonnxie
27325de13b Merge remote-tracking branch 'origin/master' 2022-03-22 10:58:32 +08:00
jonnxie
baa2c16464 Fixed loadAnimation function memory leak bug. 2022-03-22 09:38:39 +08:00
Sascha Willems
ec7c76d812
Merge pull request #934 from jonnxie/jonnxie
Fixed loadAnimation function memory leak bug.
2022-03-21 21:15:08 +01:00
jonnxie
14c70d3082 Fixed loadAnimation function memory leak bug. 2022-03-21 14:57:59 +08:00
Sascha Willems
b43a27cb4b
Merge pull request #932 from rajnesh-kanwal/fix_aspect_mask
Don't set VK_IMAGE_ASPECT_STENCIL_BIT bit if format is depth only
2022-03-19 09:10:46 +01:00
Rajnesh Kanwal
b228c1adbf Don't set VK_IMAGE_ASPECT_STENCIL_BIT bit if format is depth only 2022-03-06 18:36:11 +00:00
Sascha Willems
c22a733f3d
Merge pull request #928 from SaschaWillems/sample_vertexattributes
Added note on sync
2022-02-27 14:20:03 +01:00
Sascha Willems
8cf07e4685 Added note on sync 2022-02-27 14:19:33 +01:00
galaxysailing
b46b52ab81 delete a part of redundant code 2022-01-25 18:01:31 +08:00
Sascha Willems
821a0659a7
Merge pull request #924 from SaschaWillems/sample_vertexattributes
Add vertex attributes sample
2022-01-22 10:19:24 +01:00
Sascha Willems
843f28cdb2
Merge pull request #923 from robotchaoX/master
fix example oit build for Android failed
2022-01-22 10:15:31 +01:00
Sascha Willems
807d11387d Added vertex attributes sample to the readme 2022-01-22 10:09:25 +01:00
Sascha Willems
704aeec6b0 Simplified glTF buffer code
Added Android build files
2022-01-22 10:03:39 +01:00
Sascha Willems
aad5a7dd81 Code cleanup 2022-01-21 21:07:16 +01:00
Sascha Willems
6b0bc52a1b Code cleanup and readme for vertex attributes sample 2022-01-21 13:35:06 +01:00
Sascha Willems
e34634c266 Corrected vertex attribute formats 2022-01-21 11:42:50 +01:00
Sascha Willems
0dc34c3375 Code restructuring 2022-01-21 09:59:30 +01:00
Sascha Willems
15124e8232 Code restructuring, cleanup and simplification 2022-01-21 08:17:07 +01:00
robotchaoX
60ec305bdc fix example oit build for Android failed 2022-01-21 14:13:21 +08:00
Sascha Willems
76bda56784 Updated Vulkan Headers to 1.2.203 2022-01-20 07:29:38 +01:00
Sascha Willems
ba93671922
Merge pull request #919 from JJCUBER/patch-1
Fixed typos in comments of triangle.cpp
2022-01-05 20:49:00 +01:00
JJCUBER
e427c87664
Fixed typos in comments of triangle.cpp 2021-12-30 22:58:53 -05:00
Sascha Willems
5f1aac61ca Started working on sample showing comparing separate/interleaved vertex attributes 2021-12-26 18:42:03 +01:00
Sascha Willems
91958acad2 Only destroy ImGui context of != null
Fixes #911
2021-12-15 19:32:47 +01:00
Sascha Willems
48de215d0b
Merge pull request #907 from rajnesh-kanwal/fix_memory_leak
Fixes memory leak due to ImGui context not being destroyed.
2021-12-11 11:00:13 +01:00
Sascha Willems
92187b0c48
Merge pull request #908 from LongerZrLong/master
[Minor] Remove small duplication in triangle.cpp
2021-12-11 10:59:58 +01:00
Longer Long
a78f139563
[Minor] Remove small duplication in triangle.cpp
Remove a line of duplication in `void preparePipelines()` of triangle.cpp.
2021-12-06 10:40:07 -05:00
Rajnesh Kanwal
774bb42ceb Fixes memory leak due to ImGui context not being destroyed. 2021-12-04 15:35:07 +00:00
Sascha Willems
313ac10de4 Removed unused texture 2021-12-04 10:10:38 +01:00