Commit graph

2414 commits

Author SHA1 Message Date
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
Sascha Willems
b481b63c78 Removed no longer required pipeline duplicatiion 2023-10-14 14:31:59 +02:00
Sascha Willems
f27a032570 Updated shading rate sample to KHR extension 2023-10-13 18:53:51 +02:00
Sascha Willems
66dce3c991 Fixed HLSL shaders (mostly ray tracing related)
Updated HLSL compile script
2023-10-13 17:26:51 +02:00
Sascha Willems
cb836dd6d0 Merge branch 'master' of https://github.com/SaschaWillems/Vulkan 2023-10-13 17:02:13 +02:00
Sascha Willems
f0d94313b8 Updated HLSL compile script
Recompile mesh shader with EXT instead of NV SPIR-V extension
Fixes #1078
2023-10-13 17:02:04 +02:00
Lorenzo Tamer
48c6aaaccd
Removed function double definition (#1073) 2023-10-02 17:23:34 +02:00
Sascha Willems
f685be3445 Minor best practices related fixes 2023-09-17 14:13:03 +02:00
Sascha Willems
3532ea8696 Fixed left/right offsets 2023-09-14 22:43:37 +02:00
omar
5868234f4f
Fix incorrect left/right viewport locations (#1064) 2023-09-14 22:40:19 +02:00
Sascha Willems
1447348e09
RT fix (#1069)
* Create bin directory

* Fix values for maxVertex

Fixes #1068
2023-09-09 11:33:32 +02:00
Sascha Willems
bb81bbd535
Trying to fix MacOS CI (#1063)
Fix MacOS CI
2023-09-02 19:24:20 +02:00
Sascha Willems
2aeb000d4e
Merge pull request #1058 from ZaOniRinku/master
Fix a comment in shadowmappingcascade example
2023-09-02 11:35:32 +02:00
Sascha Willems
34740cf6c4
Merge pull request #1061 from mgorchak-blackberry/master
Add basic QNX support.
2023-09-02 11:35:18 +02:00
Mike Gorchak
8458f21123 Add basic QNX support. 2023-09-01 11:12:08 -04:00
ZaOniRinku
d584b5a52b
Fix a comment in shadowmappingcascade example 2023-08-22 11:14:42 +02:00
Sascha Willems
e38d201415 Remove unused variables 2023-08-18 20:48:19 +02:00
Sascha Willems
bc39dd58fa Destroy buffers 2023-08-05 13:32:17 +02:00
Sascha Willems
99f25527cc Fix query count and dateaSize/stride calculation
Fixes #874
2023-08-04 20:04:15 +02:00