Sascha Willems
f441a3e0b3
Set api base line to 1.1 when using slang and enable SPIRV 1.4
2025-04-23 19:32:14 +02:00
Sascha Willems
702066e8af
Add slang shader for compute particles sample
2025-04-23 19:20:48 +02:00
Sascha Willems
b3c4af6f49
Merge branch 'master' into slang_shaders
2025-04-23 08:00:43 +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
Sascha Willems
2285f69055
Add ray tracing stages
2025-03-30 15:24:07 +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
c120051814
Slang shaders for descriptor indexing sample
2025-03-29 13:22:09 +01:00
Sascha Willems
9b25dbce53
Cleen up shader
2025-03-29 12:50:05 +01:00
Sascha Willems
c4556374c3
Replace separate slang files per stage with single slang files containing multiple stages
2025-03-29 10:31:46 +01:00
Sascha Willems
cf3700cb2f
Support for multiple shader stages
2025-03-29 09:56:42 +01:00
Sascha Willems
7327a9f4ab
Slang shader compilation script can now handle multiple stages in one file
2025-03-29 09:52:21 +01:00
Sascha Willems
22ae3726e6
Slang shaders for push constants sample
2025-03-28 17:43:10 +01:00
Sascha Willems
880b48485f
Slang shaders for buffer device address example
2025-03-28 15:16:45 +01:00
Sascha Willems
bc3c41e89a
Add notes on slang support
2025-03-23 18:52:23 +01:00
Sascha Willems
2593d70794
Use SPIR-V profile
2025-03-19 21:36:06 +01:00
Sascha Willems
02559cd99a
Merge branch 'master' into slang_shaders
2025-03-19 21:19:28 +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
fdbe262769
Merge branch 'master' into slang_shaders
2025-02-18 19:29:45 +01:00
Sascha Willems
fc42739429
Merge branch 'master' into slang_shaders
2025-02-18 19:29:06 +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
2846c73db0
Add slang shaders for triangle samples
2025-02-10 19:09:19 +01:00
Sascha Willems
d8edd92034
Fix shader type
2025-02-09 20:00:44 +01:00
Sascha Willems
9f38b820cc
Adjust compiled spv file name
2025-02-09 19:59:27 +01:00
Sascha Willems
e9673f1ac3
Add slang shaders for UI overlay
2025-02-09 19:17:10 +01:00
Sascha Willems
6912366c45
Add slang compilation script
2025-02-09 19:16:56 +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