Commit graph

2518 commits

Author SHA1 Message Date
Sascha Willems
fee8bcb434 Post PR clean up
Removed script (don't want to maintain it)
2024-05-04 13:54:28 +02:00
SRSaunders
bdfd4709ff
macOS/iOS fixes plus other generic fixes for clang and validation warnings (#1117)
* Fix clang Objective-C++ flags for macOS command line builds

* Fix getAssetPath() and getShaderBasePath() for macOS command line builds

* Protect debugUtilsMessageCallback() from failing when pMessageIdName is NULL

* Fix a few clang function override and mismatched type warnings

* Fix validation layer warnings on exit for computeraytracing example

* Fix regression in text visibility toggle for textOverlay example

* Support VK_USE_PLATFORM_METAL_EXT vs. deprecated VK_USE_PLATFORM_MACOS_MVK / DVK_USE_PLATFORM_IOS_MVK

* Check dynamic state features before enabling capabilities in dynamicstate example

* Fix vkCmdDraw() vertexCount argument (PARTICLE_COUNT) in particlesystem example

* Update examples list and restore benchmarking script (to top level)

* Fix validation warning in descriptorindexing example

* Fix device max recursion depth validation warnings in ray tracing examples

* Fix OpenMP build settings for texture3d example on all platforms

* Update and simplify build instructions for macOS

* Update CI script with correct library path for libomp on macOS x86_64

* Update CI scipt to install libomp prior to macOS builds

* Trying one more time to get the CI script working for macOS libomp

* Fix vertexCount argument using calculated size in particlesystem example

* Fix combined image descriptor offset calculation in descriptorbuffer example

* macOS: Support non-system level Vulkan SDK installs, with fallback to MoltenVK library
2024-05-04 13:53:08 +02:00
Sascha Willems
4a0c8b8f23 Code cleanup, better naming, moved comments to header 2024-05-02 20:17:00 +02:00
Sascha Willems
0b5281d087 Updated HLSL readme 2024-05-01 18:33:27 +02:00
Sascha Willems
2cb468dd84 Minor code cleanup 2024-05-01 18:29:52 +02:00
Sascha Willems
3d641ac5cd Use combined image descriptor size instead of (wrong) uniform descriptor sizes
Fixes #1091
Fixes #1118
2024-04-26 17:15:33 +02:00
Sascha Willems
eedfcc6b74 Fixed closesthit shader 2024-04-19 10:34:12 +02:00
Sascha Willems
dc3ed003db Code cleanup 2024-04-17 18:36:06 +02:00
Sascha Willems
41e1788fcc Updated Vulkan headers to 1.3.282 2024-04-17 17:44:24 +02:00
Sascha Willems
035f299ed5 Skip fragment shader when discard is enabled
Fixes #1101
2024-04-14 09:43:16 +02:00
Danylo
90054f660f
Remove rayTracingPipeline requirement from rayquery (#1115)
rayquery test doesn't use ray tracing pipelines so it shouldn't
enable this feature.

See: https://github.com/SaschaWillems/Vulkan/issues/1004

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
2024-04-06 19:39:14 +02:00
Oni
2f8b5c92ad
Remove redefined variable in same scope (#1114) 2024-03-23 19:05:40 +01:00
Sascha Willems
52779a1bd1 Base class code cleanup 2024-03-20 07:49:06 +01:00
Sascha Willems
c6cd406c6f Remove compilier warnings 2024-03-19 22:07:26 +01:00
Sascha Willems
259222054e Enable UI overlay for additional ray tracing samples 2024-03-19 21:59:25 +01:00
Sascha Willems
a9ae9eafaa Code cleanup 2024-03-19 21:51:27 +01:00
takayhan-AMD
720afde027
Allow setting benchmarking warmup time to 0 seconds to skip warmup phase (#1112)
Sometimes it's desired to render exactly N (--c N) frames.
2024-03-19 21:28:19 +01:00
Sascha Willems
5b792b056d Cleanup, fix comment typos 2024-03-19 21:17:36 +01:00
Sascha Willems
6511d9d802 Added HLSL shaders 2024-03-19 18:29:43 +01:00
Sascha Willems
642f481c21 Fix renderpass and framebuffer setup for ray tracing samples
Using the UI overlay triggered some validation errors due to a mismatch between render passes
2024-03-16 15:35:39 +01:00
Sascha Willems
055d70dc30 Documentation 2024-03-16 10:34:29 +01:00
Sascha Willems
85018e6b09 Added sample for VK_KHR_ray_tracing_position_fetch 2024-03-16 10:29:44 +01:00
Sascha Willems
a0940b2a55 Updated Vulkan Headrs to 1.3.280 2024-03-15 12:56:23 +01:00
Sascha Willems
6f863c2fd9 Update build instructions
Fixes #1109
2024-03-04 22:09:21 +01:00
Sascha Willems
ba8fea35ac Adjust subpass barriers
Fixes sync val
2024-02-19 21:33:16 +01:00
Sascha Willems
5ea1d80e43 Rework subpass dependencies for ray tracing samples
Fixes sync validation
2024-02-19 20:17:41 +01:00
robotchaoX
f373ae9aa4
Fix debugutils load Shaders failed for Android (#1107)
[Why]
Sample debugutils's shaders path is incorrected in build.gradle for Android.
Missing shaders will cause sample debugutils crash.

[How]
Correct sample debugutils's shaders path for Android.
2024-02-19 17:18:56 +01:00
Sascha Willems
eda68d2421 Adjust descriptor pool
Fixes #1105
2024-02-18 14:53:16 +01:00
Sascha Willems
12892a87c2 Use no. of model images for pool size 2024-02-12 10:23:56 +01:00
Sascha Willems
679d099987 Updated Vulkan headers to 13.276 2024-01-30 06:58:12 +01:00
MuWu
e7834f48d1
fix a small bug in pbr-ibl (#1099) 2024-01-21 14:15:20 +01:00
Bradley Austin Davis
e37a333b0d
Use debug utils during instance creation (#1098)
* Use debug utils during instance creation

* fixup! Use debug utils during instance creation
2024-01-21 14:07:35 +01:00
Sascha Willems
213bf850d5 Removed outdated todos 2024-01-21 13:58:37 +01:00
Sascha Willems
afde90dcfd Code cleanup 2024-01-21 13:19:40 +01:00
Sascha Willems
91ab6a517f Code cleanup 2024-01-21 13:15:56 +01:00
Sascha Willems
a546f466c1 Code cleanup 2024-01-21 12:52:14 +01:00
Sascha Willems
922dbd4827 Code cleanup 2024-01-21 11:09:15 +01:00
Sascha Willems
91b85e41cf Code cleanup, radial blur parameters can now be changed from the UI 2024-01-21 10:51:13 +01:00
Sascha Willems
d641086a29 Code cleanup, comments 2024-01-20 19:41:53 +01:00
Sascha Willems
93a873c678 Code cleanup 2024-01-20 19:02:26 +01:00
Sascha Willems
f703f746b3 Updated readme to match sample 2024-01-20 19:02:07 +01:00
Sascha Willems
b0719fc5a0 Code cleanup, additional comments 2024-01-20 18:48:55 +01:00
Sascha Willems
df24608511 Code cleanup, better variable naming, comments 2024-01-20 18:38:53 +01:00
Sascha Willems
d26aed277c Removed viewChanged callback
Preparation for reworking sync, such a callback would make it hard to find a proper sync point
2024-01-20 14:27:31 +01:00
Sascha Willems
5b8f09302e Code cleanup, simplified the sample 2024-01-20 14:04:23 +01:00
Sascha Willems
dfcc55b6d5 Updated hlsl shaders 2024-01-20 13:06:04 +01:00
Sascha Willems
b92e210bbe Code cleanup, simplification 2024-01-20 13:05:02 +01:00
Sascha Willems
3dd195fe35 Code cleanup 2024-01-19 14:49:21 +01:00
Sascha Willems
54f25af1d4 Code cleanup 2024-01-19 13:38:29 +01:00
Sascha Willems
9ac41c788d Code cleanup 2024-01-19 12:07:53 +01:00