Commit graph

2732 commits

Author SHA1 Message Date
Sascha Willems
2e566fa549 Fixed barrier 2024-01-04 17:09:53 +01:00
Sascha Willems
a63d2e0168 Code cleanup, comments 2024-01-03 20:16:41 +01:00
Sascha Willems
d8a3379e0b Code cleanup 2024-01-03 18:31:23 +01:00
Sascha Willems
8f1a5e38f2 Code cleanup 2024-01-02 20:00:06 +01:00
Sascha Willems
7935025c2d Code cleanup
Comments
2024-01-01 17:41:48 +01:00
Sascha Willems
61cdecf1c3 Merge branch 'master' of https://github.com/SaschaWillems/Vulkan 2024-01-01 16:41:43 +01:00
Sascha Willems
c23027d687 Minor code cleanup 2024-01-01 16:41:38 +01:00
dustContributor
3fe41db07c
Fixed image link (#1095) 2023-12-31 10:49:49 +01:00
Sascha Willems
9b52fb76d8 Use references in for loops 2023-12-30 13:30:16 +01:00
Sascha Willems
d0211d1f14 Replaced per-sample validation define with global define in base class
Toggling validation via command line arguments is the preferred way anyway
Define was also added as a CMake option
2023-12-30 13:15:37 +01:00
Sascha Willems
a04a506353 Code cleanup, additional comments 2023-12-30 12:03:46 +01:00
Sascha Willems
5d56d40cdf Code cleanup
Additional/better commnets
2023-12-29 19:00:35 +01:00
Sascha Willems
165e20db9e Code cleanup
Comments
2023-12-28 20:37:39 +01:00
Sascha Willems
ac957ef8af Code cleanup
Fixed remaining warnings (MSVC VS2022)
2023-12-27 19:58:33 +01:00
Sascha Willems
f6e77be11f Mutiple frames in fight
Fixes #1093
2023-12-26 18:49:39 +01:00
Sascha Willems
99d6cce6b5 Code cleanup 2023-12-25 16:06:52 +01:00
Sascha Willems
24a13f18dc Type conversion, Code cleanup
Fixes compiler warnings
2023-12-25 11:20:04 +01:00
Sascha Willems
4561f05cf0 Float conversion fix 2023-12-25 11:04:55 +01:00
Sascha Willems
485bc7550a Code cleanup
Fixed compiler warnings
2023-12-24 15:58:23 +01:00
Sascha Willems
3187478c99 Minor code cleanup 2023-12-24 15:02:35 +01:00
Sascha Willems
b8959f76db Added sample for shader debugprintf 2023-12-24 14:50:29 +01:00
Sascha Willems
efae5d64b5 Remove outdated todo 2023-12-24 14:09:45 +01:00
Sascha Willems
ed4c4684c5 Code cleanup. fixes warnings 2023-12-22 14:30:18 +01:00
Sascha Willems
3a15ec4eb9 Replaced the deprecated debug marker sample with debug utils 2023-12-22 12:04:50 +01:00
Sascha Willems
17e2abb036 Code cleanup, remove warnings 2023-12-21 19:02:07 +01:00
Sascha Willems
6c385af8fd Update CMake to C++14 (to be in line with Android) 2023-12-21 18:37:16 +01:00
Sascha Willems
781f18990b Code cleanup
Fixed several warnings
2023-12-20 20:14:36 +01:00
Sascha Willems
0610d401d0 Updated Vulkan headers to 1.3.273 2023-12-18 20:59:49 +01:00
Sascha Willems
1a635f16ab Use shader storage buffer to pass lights to shader 2023-12-13 18:31:49 +01:00
Sascha Willems
a467d94159 Code comments 2023-11-28 20:01:12 +01:00
Sascha Willems
b77417e7c8 Added new CMake option to use relative paths for shaders and assets (USE_RELATIVE_ASSET_PATH)
See BUILD.md for details
Refs #1090
2023-11-28 19:33:14 +01:00
Sascha Willems
3c0f3e18cd Code cleanup 2023-11-25 15:35:54 +01:00
Sascha Willems
4d0d96e0af Removed unused variable 2023-11-25 11:11:16 +01:00
Sascha Willems
46f360d401 Tweaked sub pass dependencies for color and depth attachments 2023-11-25 10:44:55 +01:00
Sascha Willems
27c88be38e Added Android build files for Ray tracing glTF sample 2023-11-24 13:11:24 +01:00
Sascha Willems
ef50bf9b8f Fix descriptor set
Fix pNext chaining
Code cleanupFixes #1088
Fixes #1089
2023-11-19 11:15:21 +01:00
Sascha Willems
1201b8d10c Remove unnecessary buffer map and unmap
Code cleanup
2023-11-11 15:25:30 +01:00
Sascha Willems
5693fc0b6e Merge branch 'master' of https://github.com/SaschaWillems/Vulkan 2023-11-03 15:07:12 +01:00
Sascha Willems
8d74bdbc7c Set additional dynamic states
As required per spec (validation is clean)
2023-11-03 15:06:50 +01:00
robotchaoX
88824b7c8e
Fix parallaxmapping asset missing on Android (#1085)
[Why]
Asset name plane.gltf is not corrected in gradle copyTask on Android.

[How]
Correct the sample parallaxmapping's asset name plane.gltf in build.gradle.
2023-11-02 21:13:21 +01:00
Sascha Willems
b20bca6201 Enabled VK_KHR_get_physical_device_properties2
Fixes validation messages
2023-11-02 20:02:42 +01:00
Sascha Willems
409961b9c2 Enabled VK_KHR_get_physical_device_properties2
Fixes validation messages
2023-11-02 19:57:56 +01:00
robotchaoX
be035bf268
Add example variablerateshading for Android (#1084)
[Why]
Example variablerateshading was not compiled for Android.

[How]
Generate Android version example variablerateshading from android/examples/_template.
2023-11-02 18:46:13 +01:00
Sascha Willems
f03f454af4 Destroy command pool 2023-11-02 07:48:45 +01:00
Sascha Willems
59a0a09bf9 Added ray traced glTF sample to readm 2023-11-02 07:27:30 +01:00
Sascha Willems
2bd998556f Slightly reformat validation messages and add color codes (windows only) 2023-11-01 11:38:28 +01:00
Sascha Willems
5962189427
Add ray traced glTF sample (#1083)
* Started working on a ray tracing glTF sample

* Started working on a ray tracing glTF sample

Added textures using descriptor indexing

* Frame accumulation

Pass glTF node transforms to BLAS build

* Shader cleanup

* Code cleanup, flip Y using TLAS transform matrix

* Create AS for all primitives in the gltf scene

* Remove unused variables

* Added missing shaders

* Minor cleanup
2023-11-01 10:55:33 +01:00
Sascha Willems
e006185ca0 Rework offset and size calculations
Refs #1045
2023-10-29 18:11:08 +01:00
Sascha Willems
94198a7548 Fixed shader links 2023-10-14 16:47:29 +02:00
Sascha Willems
60321d465a Proper resize handling 2023-10-14 16:35:41 +02:00