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
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
fb895169ba
Code cleanup
2024-11-23 16:01:23 +01:00
Sascha Willems
fb6c95381e
Minor code cleanup
2024-11-02 12:44:10 +01:00
Sascha Willems
ffe83aee08
Fix spelling. minor adjustments
2024-10-11 16:36:47 +02:00
Sascha Willems
128b096b6e
Set firstInstance to zero
...
Fixes #1159
2024-10-10 17:26:25 +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
a9ae9eafaa
Code cleanup
2024-03-19 21:51:27 +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
f6e77be11f
Mutiple frames in fight
...
Fixes #1093
2023-12-26 18:49:39 +01:00
Sascha Willems
f03f454af4
Destroy command pool
2023-11-02 07:48:45 +01:00
Mike Gorchak
8458f21123
Add basic QNX support.
2023-09-01 11:12:08 -04:00
Sascha Willems
93fb200fe6
Minor code cleanup
2023-07-17 20:32:27 +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
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
Stephen Saunders
62f6dcf767
Move macOS benchmarking to NSApp rendering loop, makes example windows visible vs. headless
2022-08-01 16:52:06 -04:00
Stephen Saunders
c89d4eb776
Code Review: a) revert TinyGLTF #defines, b) call vkDeviceWaitIdle() in macOS/iOS termination handlers, c) remove OpenMP target_compile_options() in CMakeLists
2022-07-27 01:21:20 -04:00
Stephen Saunders
46b2027dd1
Handle Vulkan / memory cleanup on shutdown for macOS benchmarking case
2022-07-20 12:00:14 -04:00
Stephen Saunders
279c95422d
Implement viewChanged() in multiple examples for proper window resize handling, fix triangle example resizing on macOS
2022-07-07 09:57:01 -04:00
Stephen Saunders
121612857c
Fixes in examples: support swapchain image count change on resize, fix multiple validation layer errors on resize and quit, multiview now supports resize/fullscreen, computecloth deltaT now based on frame time, multisampling recreates attachments on resize, P key now pauses computeparticles, descriptorsets, and pushdescriptors
2022-07-07 09:57:01 -04:00
Stephen Saunders
2810087752
Fix glTF build & settings issues for macOS, fix triangle example resizing, update macOS examples.h file
...
(cherry picked from commit 47061ff99446d8826ebe7fe187467ba638236a70)
2022-07-07 09:57:01 -04:00
Rajnesh Kanwal
b228c1adbf
Don't set VK_IMAGE_ASPECT_STENCIL_BIT bit if format is depth only
2022-03-06 18:36:11 +00:00
JJCUBER
e427c87664
Fixed typos in comments of triangle.cpp
2021-12-30 22:58:53 -05:00
Longer Long
a78f139563
[Minor] Remove small duplication in triangle.cpp
...
Remove a line of duplication in `void preparePipelines()` of triangle.cpp.
2021-12-06 10:40:07 -05:00
Sascha Willems
e79634e4da
Disable UI overlay for triangle sample
...
Fixes validation layer errors
Refs #876
2021-10-24 13:19:05 +02:00
Per Inge Mathisen
45ba247b55
Add support for rendering for the headless extension
2021-04-27 13:53:07 +02:00
Nicolas Caramelli
c13a715ead
Add DirectFB WSI support ( #761 )
2020-09-13 10:12:33 +02:00
daemyung jang
ad6e36023f
Run on MacOS ( #762 )
...
* Run on MacOS
* Update BUILD.md
2020-09-11 20:19:28 +02:00
Francesco
2210ca22a9
add FreeBSD support ( #752 )
...
Signed-off-by: Lucas Francesco <uramekus@cirno.dev>
2020-08-21 16:23:01 +02:00
Sascha Willems
810efdae27
Merge pull request #749 from setoye/patch-1
...
fix typo
2020-08-09 18:12:02 +02:00
Sascha Willems
a465bad5aa
Cleaned up includes
...
Fixed typos
2020-08-09 13:16:35 +02:00
Sascha Willems
5539991ca5
Fixed typos
2020-08-08 18:13:29 +02:00
YuTArrUsO
117641ebfb
fix typo
...
line 751, ttachment -> attachment, transitionss -> transitions
2020-08-02 16:21:57 +08:00
Ben Clayton
ca884587a4
Move shaders into glsl and hlsl directories
...
Move `data/shaders` to `data/shaders/glsl`
Move `data/hlsl` to `data/shaders/hlsl`
Fix up shader paths in the cpp files to point to the new glsl location.
`data/shaders/hlsl/compile.py` still overwrites the glsl .spv files (for
now).
Issue: #723
2020-06-01 12:22:28 +01:00
Sascha Willems
ab38f8b150
Code-Cleanup: All samples now use the camera class and it's matrices
...
Cleaned up base class
2020-04-22 20:58:24 +02:00
Petr Kraus
3e8c6e952f
Tweak Triangle subpass dependencies
2020-03-05 21:20:48 +01:00
Petr Kraus
2a986b6a87
Fix some whitespace
2020-03-05 21:20:42 +01:00
Sascha Willems
b3749a90ad
Merge pull request #653 from httpdigest/master
...
Fix typos
2020-02-14 07:00:18 +01:00
Sascha Willems
498066749d
Removed unused usage flags on depth stencil image
2020-01-24 09:45:48 +01:00
httpdigest
5029e15ec6
Fix typos
...
http://its-not-its.info/
2020-01-12 12:56:16 +01:00
Hugues Evrard
05bf2105f4
Be robust to queuePresent returning VK_SUBOPTIMAL_KHR
2019-11-20 18:42:30 -08:00
Sascha Willems
c9f9d3fccb
Merge pull request #488 from bioglaze/master
...
Fix using a potentially uninitialized variable in triangle.cpp
2018-08-26 09:56:48 +02:00
Sascha Willems
4be9e1bf38
Merge pull request #474 from elect86/master
...
Dead code
2018-08-26 09:53:23 +02:00
Timo Wiren
0b2104b272
Fix using a potentially uninitialized variable in triangle.cpp
2018-05-20 15:32:13 +03:00
Giuseppe Barbieri
51fe3eee02
Update triangle.cpp
2018-05-02 14:22:54 +02:00
saschawillems
1227f1e7f4
Removed deprecated call to app_dummy
2018-04-30 22:21:24 +02:00
saschawillems
603fdb8a16
Disable validation by default
2017-12-26 10:38:09 +01:00
saschawillems
94a076e1ae
Moved example source files into sub folder
2017-11-12 19:32:09 +01:00