Commit graph

669 commits

Author SHA1 Message Date
Sascha Willems
be3d9275ce Remove outdated comment 2024-05-23 22:12:55 +02:00
Sascha Willems
fb881ab76f Code cleanup, rename ui overlay property 2024-05-23 21:56:42 +02:00
Sascha Willems
9a8710a57c Cap UI overlay rate
No need to update each frame, esp. for samples with high frame rates
2024-05-23 21:52:24 +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
dc3ed003db Code cleanup 2024-04-17 18:36:06 +02:00
Sascha Willems
52779a1bd1 Base class code cleanup 2024-03-20 07:49:06 +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
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
5ea1d80e43 Rework subpass dependencies for ray tracing samples
Fixes sync validation
2024-02-19 20:17:41 +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
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
f6abda6cca Only signal camera update when something actually changed 2024-01-13 19:14:30 +01:00
Sascha Willems
c23027d687 Minor code cleanup 2024-01-01 16:41:38 +01:00
Sascha Willems
9b52fb76d8 Use references in for loops 2023-12-30 13:30:16 +01:00
Sascha Willems
d0211d1f14 Replaced per-sample validation define with global define in base class
Toggling validation via command line arguments is the preferred way anyway
Define was also added as a CMake option
2023-12-30 13:15:37 +01:00
Sascha Willems
165e20db9e Code cleanup
Comments
2023-12-28 20:37:39 +01:00
Sascha Willems
ac957ef8af Code cleanup
Fixed remaining warnings (MSVC VS2022)
2023-12-27 19:58:33 +01:00
Sascha Willems
485bc7550a Code cleanup
Fixed compiler warnings
2023-12-24 15:58:23 +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
f685be3445 Minor best practices related fixes 2023-09-17 14:13:03 +02:00
Mike Gorchak
8458f21123 Add basic QNX support. 2023-09-01 11:12:08 -04:00
Gadgeteer
2d2746c01d Remove xcode/examples.h 2023-07-19 16:19:15 +01:00
Sascha Willems
208739f401 Updated swap chain format selection 2023-07-17 21:44:08 +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
Gadgeteer
af6869a0d3 Correct path for assets 2023-07-16 18:14:36 +01:00
Sascha Willems
b64c31357f Removed no longer used header file 2023-07-16 15:42:57 +02:00
Sascha Willems
df55238b11 Fix typo
Fixes #1052
2023-07-16 13:44:46 +02:00
Gadgeteer
b1d2777ad0 First Version of MacOS test 2023-07-15 10:44:22 +01:00
Yuan Tian
b82c3c83c6 Fix an error in benchmark mode using wayland 2023-06-13 14:53:31 +08:00
Sascha Willems
10031d4cca Changed references to the asset pack 2023-05-10 21:29:33 +02:00
Sascha Willems
a124271b7e Changed shader path lookup 2023-05-10 20:34:09 +02:00
Sascha Willems
c13ba757b7 Changed assets and shader path functions, removed asset download script 2023-05-09 21:05:01 +02:00
Sascha Willems
ed8be7e92d Replaced debug marker with debug utils in framework 2023-05-09 20:04:34 +02:00
Sascha Willems
3c9aca3fcb Add stencil format require toggle
Fixes #1031
2023-05-09 18:03:51 +02:00
Sascha Willems
0afa517a68 Error code translation for shader objects 2023-05-09 17:33:59 +02:00
Sascha Willems
cd6e3b9a23 Ray tracing texturing and alpha mapping sample 2023-04-09 13:40:12 +02:00
Sascha Willems
cca1c865d9 Added keyboard input handling
Windows only
2023-02-25 09:37:08 +01:00
Sascha Willems
5017d380af Code cleanup and fixes
Added color picker for clear color
2023-02-24 16:13:31 +01:00
Sascha Willems
288503390d Clean up debug setup 2023-01-22 10:07:29 +01:00
Sascha Willems
938e97661c Merge branch 'master' of https://github.com/SaschaWillems/Vulkan 2023-01-22 09:52:39 +01:00
Sascha Willems
8e5ebd6deb Minor cleanup 2023-01-22 09:51:47 +01:00
Per Mathisen
580008ee5a Fix for base subpass depedencies had uninitialized dependency flags.
This consistently crashed all the examples on my linux laptop with
Intel GPU in it.

Ref #665
2023-01-05 13:28:40 +01:00
Sascha Willems
9b624451cb Fix base subpass depedencies
Fixes #665
2023-01-01 09:14:25 +01:00
Sascha Willems
e0a49c20e8 Pass down arguments to glTF child nodes
Refs #824
2022-12-31 14:12:26 +01:00
Sascha Willems
72e8083b7c Removed unnecessary component swizzle assignments
Fixes #160
2022-12-31 12:31:27 +01:00