Commit graph

2401 commits

Author SHA1 Message Date
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
Sascha Willems
fc27e4d98d Fixed buffer sizes and recompiled shaders
Validation is clean now
Fixes #1017
2023-08-04 19:49:42 +02:00
Sascha Willems
cc89bdb4a5 Destroy shaders
Fixes validation
2023-08-04 19:27:49 +02:00
Sascha Willems
19d5f83d0b Merge branch 'master' of https://github.com/SaschaWillems/Vulkan 2023-08-01 18:07:34 +02:00
Sascha Willems
65ca947d0e Updated Vulkan headers 2023-08-01 18:07:27 +02:00
Sascha Willems
1ba7e58f93
Merge pull request #1054 from Gadgeteering/master
Fix 'Build failed on Xcode, m1 Mac: Undefined symbol: getShaderBasePath()' #1046
2023-07-19 19:27:22 +02:00
Gadgeteer
2d2746c01d Remove xcode/examples.h 2023-07-19 16:19:15 +01:00
Gadgeteer
8d25bba50f Remove Xcode directory and add .h files to glm directory 2023-07-19 16:16:07 +01:00
Sascha Willems
ae4ed5f9ad Minor cleanup 2023-07-18 19:23:43 +02:00
Gadgeteer
0a4587fa6f Remove Xcode Directory and add glm libraries 2023-07-18 09:16:28 +01:00
Sascha Willems
208739f401 Updated swap chain format selection 2023-07-17 21:44:08 +02:00
Sascha Willems
93fb200fe6 Minor code cleanup 2023-07-17 20:32:27 +02:00
Sascha Willems
922eaecdc0 Use swap chain functions provided by the loader instead of manually loading them
Exception is android
2023-07-16 21:18:59 +02:00
Sascha Willems
31973df69b Reworked triangle sample
Now uses proper sync and multiple concurrent frames
Better and more consistent naming
Additional comments
Refs #871
2023-07-16 19:25:55 +02:00