Commit graph

2627 commits

Author SHA1 Message Date
Sascha Willems
746fb337bd Add option to save validation messages to a text file 2025-05-29 19:32:50 +02:00
Sascha Willems
82a4cdcdc5 Correct assert
Fixes #1204
2025-05-24 13:48:50 +02:00
Sascha Willems
74be818cc6 Minor cleanup 2025-04-13 18:19:36 +02:00
Sascha Willems
d1bdb1ec65 Update CMake minimum version
#1199
2025-04-11 19:52:01 +02:00
Sascha Willems
b56067bd03 Enable drawIndirectFirstInstance feature
Code cleanup
Fixes #1198
2025-04-04 17:12:30 +02:00
SRSaunders
9a562a5426
Macos ios fixes (#1192)
* Configure MoltenVK to use a dedicated compute queue for compute[*] examples with sync barriers

* Modify descriptorindexing example for iOS and variable descriptor count limitations on MoltenVK

* Remove obsolete macOS #ifdefs no longer needed for modern MoltenVK versions

* Update iOS project to fix missing vkloader.c reference and revise example list

* Set required features and API version for VVL in debugprintf example

* Remove unnecessary Apple-specific code from descriptorindexing example

* Add Layer Settings capability to VulkanExampleBase::createInstance()

* Replace setenv() in examples with Layer Settings configuration for macOS/iOS

* Update comments in examples.h and fix missing initializer in computeraytracing example

* Update imgui overlay and example to support iOS Simulator

* Update more comments in examples.h and remove redundant initializers in deferred* examples

* Separate variable descriptor count declarations for apple and non-apple platforms

* Consolidate variable descriptor count declarations for apple vs. non-apple platforms

* Configure MoltenVK with a dedicated compute queue in VulkanExampleBase() and remove from samples
2025-03-29 16:21:37 +01:00
Sascha Willems
e1c962289f Recompile shaders for mesh shading sample with updated shader compilers
Fixes validation errors with GLSL and HLSL
Fixes triangles not displaying with HLSL
Fixes #1196
2025-03-13 18:07:31 +01:00
SRSaunders
d14be3b787
Fix a few compiler warnings and startup/validation issues at runtime (#1193)
* Add error recovery to trianglevulkan13 and fix missing "override" compiler warnings

* Look for vkGetPhysicalDeviceFormatProperties2KHR in hostimagecopy example

* Enable fragmentStoresAndAtomics feature to avoid VVL warning in subpasses example
2025-03-09 12:48:00 +01:00
Sascha Willems
02ed0eebb3 Add missing asset to host image copy sample
Minor code cleanup
2025-03-01 18:00:58 +01:00
Sascha Willems
d68ec09f22 Fi UI scaling on Android
Was always using smallest scaling factor due to wrong code ordering
2025-03-01 17:27:24 +01:00
Sascha Willems
1fd45647d7 Code cleanup
Mostly android related
2025-02-28 18:18:49 +01:00
Sascha Willems
42fc44114a
Android changes (#1194)
* Update to latest MacOS image

* Minor android cleanup

Removed no longer required std functionality
2025-02-28 18:02:15 +01:00
Sascha Willems
495a135c64
Update to latest MacOS image (#1188) 2025-02-19 07:05:43 +01:00
Sascha Willems
e14c55c4d3
Fix MacOS CI. (#1187)
Use brew instead of SDK downloads
2025-02-18 19:26:36 +01:00
Sascha Willems
e4cf8a6116 Use only one intermediate image 2025-02-16 18:27:23 +01:00
Sascha Willems
1cd72f3d07 New dynamic rendering multi sampling example
Work-in-progress
2025-02-16 12:07:15 +01:00
Sascha Willems
a87dfde9cc Add support for loading compiled Slang shaders 2025-02-06 21:25:43 +01:00
Sascha Willems
3ecc0d2e1f Adjust clipping planes
Fixes #1183
2025-02-01 15:35:19 +01:00
Sascha Willems
6c7f72f0bd Code cleanup 2025-01-24 10:14:40 +01:00
Sascha Willems
5bd19de100 Merge branch 'master' of https://github.com/SaschaWillems/Vulkan 2025-01-24 09:53:36 +01:00
Sascha Willems
e847c44e26 Update C++ requirement to C++20 2025-01-24 09:53:06 +01:00
SRSaunders
affe2609c5
computecloth: Optimize barriers and add compute queue double buffering (#1128)
* Optimize compute-to-compute barriers and adjust access masks for buffer queue transfers

* Add compute queue double buffering for in-parallel compute / graphics queue processing
2025-01-24 09:18:03 +01:00
scottchou007
bd7fd79bb8
Fix potential resource dependency problem. (#1079) 2025-01-24 09:15:26 +01:00
Sascha Willems
59b7217cbc Initialize cubes, clamp y instead of x for second cube
Fixes #1178
2025-01-17 19:03:08 +01:00
Sascha Willems
c69ef9b659 Adjust ordering
Fixes #1176
2025-01-17 13:55:30 +01:00
Sascha Willems
27c8c36ebe Update shaders
Fixes #1177
2025-01-17 13:49:42 +01:00
Sascha Willems
02dfaf29e8 Update readme 2025-01-12 11:53:27 +01:00
Sascha Willems
6f07d042b6 Fix potential crash in benchmark mode with no console attached
Fixes #1175
2025-01-04 14:27:03 +01:00
Sascha Willems
025394453d Trying to fix Linux CI 2024-12-19 21:51:48 +01:00
Sascha Willems
ec639606ca Trying to fix Linux CI 2024-12-19 21:49:15 +01:00
Sascha Willems
e9270580b8 Adjust samples to recent swap chain class changes 2024-12-19 21:40:42 +01:00
Sascha Willems
dcec337fa9 Swapchain code cleanup
Use references instead of pointers
2024-12-19 21:29:22 +01:00
Sascha Willems
372cab5779 Update Vulkan headers to 1.4.303 2024-12-08 17:45:43 +01:00
Sascha Willems
c754a4f3ec Code cleanup
Consistent naming
2024-11-30 21:21:07 +01:00
Sascha Willems
04cc268ec3
Rework and update list of samples (#1169) 2024-11-24 16:30:48 +01:00
Sascha Willems
cf50ec568f Update command line arguments 2024-11-24 14:55:17 +01:00
Sascha Willems
fb895169ba Code cleanup 2024-11-23 16:01:23 +01:00
Sascha Willems
0f56b8270d Code cleanup 2024-11-23 15:37:57 +01:00
Sascha Willems
4d91720ccc Minor code cleanup 2024-11-23 15:09:18 +01:00
quic-sagrahar
49f380ea1f
Adding-Command-Line-Argument-rp-for-Non-Mac-iOS-platforms helping in (#1166)
dynamically locating directory where shaders and assets folders present.

Co-authored-by: Shivank Agrahari <sagrahar@qti.qualcomm.com>
2024-11-23 15:01:17 +01:00
Sascha Willems
2871b76a0f Fix Android builds
Recent changes to ktx integration were missing
Fixes #1168
2024-11-22 17:44:31 +01:00
Sascha Willems
d184cf64c5 Use correct size for index data copy
Fixes #1167
2024-11-20 17:39:41 +01:00
Sascha Willems
fb6c95381e Minor code cleanup 2024-11-02 12:44:10 +01:00
Sascha Willems
29e939b1e4 Remove accidentally added files 2024-11-02 12:26:43 +01:00
Sascha Willems
d53f6f3622 Stage geometry nodes to device 2024-10-31 19:20:26 +01:00
Sascha Willems
c5c7398b3b Disable iOS builds
No idea how to fix this
2024-10-31 18:57:25 +01:00
Sascha Willems
3e2350c075 Update iOS CI 2024-10-31 18:49:30 +01:00
Sascha Willems
aa7985cec8 Trying to fix release builds
Missing define in ktx library
2024-10-30 21:48:58 +01:00
Sascha Willems
7aaf42fcb6 Read image format from ktx instead of hard coding it 2024-10-30 21:25:01 +01:00
Sascha Willems
5d89216db5 Fix descriptor leak on resize 2024-10-29 22:10:14 +01:00