Commit graph

2153 commits

Author SHA1 Message Date
Sascha Willems
3066f15e18 Bugfix for graphics pipeline library sample 2022-07-30 09:14:11 +02:00
Sascha Willems
6dec0d7ce3
Merge pull request #959 from itoral/fix_depth_stencil_aspects
Fix various cases of image views with incorrect stencil aspect
2022-07-30 08:56:32 +02:00
Sascha Willems
857f028686
Merge pull request #965 from SRSaunders/master
Update macOS/iOS implementations, fix queue family transfers, implement window resizing for all examples
2022-07-30 07:33:29 +02:00
Stephen Saunders
6ef16905ce Headless examples: update validation layer name & implement macOS VK_KHR_portability_subset / VK_KHR_portability_enumeration 2022-07-27 13:43:52 -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
7f5aa150d6 Update benchmark-all.py script to include current examples and support macOS 2022-07-15 10:33:57 -04:00
Stephen Saunders
d9d3e8c1fb ImGui example now shows Vulkan API and driver info, ImGui+TextOverlay+ConditionalRender+gltfSceneRendering examples now support macOS retina displays 2022-07-13 12:24:26 -04:00
Stephen Saunders
bb4281ac24 Update VK_KHR_portability_subset + VK_KHR_portability_enumeration implementations for iOS/macOS support with runtime checks 2022-07-09 11:13:27 -04:00
Stephen Saunders
a184bd7007 Set viewUpdated=true for macOS scroll wheel, open vulkanExamples window in front of Xcode, accept mouse click-through on macOS 2022-07-07 09:57:01 -04:00
Stephen Saunders
8bc8d14cf2 macOS retina scaling fixes, M1 Vulkan vsync workaround, CMakeLists OpenMP path fix for Apple 2022-07-07 09:57:01 -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
b2f501dc98 Fix queue family transfer operations between graphics <-> compute queues, generalize getQueueFamilyIndex() to support VkQueueFlags vs. VkQueueFlagBits, computecloth deltaT now based on frameTimer 2022-07-07 09:57:01 -04:00
Stephen Saunders
17aaa7305b Revert to original tDiff calculation, make frame-based tDiff calculation specific to iOS/macOS xcode examples project 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
cb343c329a Fixes for vulkanExample: frame timing now equals diff between frames for Win & macOS portability, support vsync off rendering on macOS, support swapchain image count change on resize, handle macOS fullscreen; Fixes for xcode example: use PanGestureRecognizer on iOS, add macOS cursor tracking, cleanup Vulkan on shutdown 2022-07-07 09:57:01 -04:00
Stephen Saunders
a1e19ea5de Fix iOS/macOS keycode handling regression for textoverlay example, update and use keycodes.hpp defines for iOS/macOS 2022-07-07 09:57:01 -04:00
Stephen Saunders
8080b7a91b Support iOS touch gestures and iOS Simulator target, reduce translate sensitivity, use key chars vs. key codes in Xcode examples project 2022-07-07 09:57:01 -04:00
Stephen Saunders
ae8ad09f6e Fix VK_KHR_portability_subset validation errors on macOS, fix OpenMP build issues on macOS
(cherry picked from commit d2f6713c418ea5bdd2c3fcee922def5854e534d4)
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
Stephen Saunders
b1f10d7393 Fix CMakeLists.txt for vulkanExamples.xcodeproj build, fix macOS storyboard for resizable window, set animation rate based on display refresh period 2022-07-07 09:57:01 -04:00
Stephen Saunders
d1975e91ee Updated examples.h with sample classification and comments 2022-07-07 09:57:01 -04:00
Stephen Saunders
f908adac68 Add all examples (with status comments) to examples.h for macOS & iOS 2022-07-07 09:57:01 -04:00
Stephen Saunders
57e650b653 Support right & middle mouse dragging, set macOS frameTimer based on vsync refresh period 2022-07-07 09:57:01 -04:00
Stephen Saunders
3941a5becd Restore keyPressed() function to support MVK_textoverlay sample 2022-07-07 09:57:01 -04:00
Stephen Saunders
a74afb20fc Handle keyboard and mouse events, adjust frameTimer scaling for macOS 2022-07-07 09:57:01 -04:00
Stephen Saunders
28d98b9ee7 Revert changes to vulkanexamplebase.h and expose displayLinkOutputCb() to DemoViewController 2022-07-07 09:57:01 -04:00
Stephen Saunders
2349738013 Changes to build on macOS and animate frames 2022-07-07 09:57:01 -04:00
Sascha Willems
0dc33496df
Merge pull request #960 from itoral/fix_depth_stencil_format_deferred_shadows
Don't require D32S8 format for deferred shadows sample
2022-07-03 19:14:02 +02:00
Iago Toral Quiroga
6322010be2 Don't require D32S8 format for deferred shadows sample
The format is not mandatory by the spec and the sample doesn't
require stencil, so just choose a supported depth/stencil format
instead to allow this to run on more platforms.
2022-06-30 10:24:29 +02:00
Iago Toral Quiroga
9fef899e42 Fix various cases of image views with incorrect stencil aspect 2022-06-30 09:40:18 +02:00
Sascha Willems
397c2e6d9b
Merge pull request #957 from Radagan/fix_portability
Updated to include VK_HEADER_VERSION check.
2022-06-25 10:23:34 +02:00
Rolf Hunt
cb869a3e9a Updated to include VK_HEADER_VERSION check. 2022-06-24 16:44:30 -05:00
Sascha Willems
678c63e338 Updated Vulkan headers to 1.3.218 2022-06-24 20:39:59 +02:00
Sascha Willems
cb95d4164a
Merge pull request #956 from Radagan/fix_portability
Config changes to support Vulkan 1.3.216.0 and later on macOS
2022-06-24 15:37:14 +02:00
Rolf Hunt
753b2614f6 Added config changes to support Vulkan 1.3.216.0 and later with portability bit set on macOS 2022-06-23 15:21:14 -05:00
Sascha Willems
4390eb0ff8 Fixed BRDF LUT generation
Refs #953
2022-06-17 07:27:17 +02:00
Sascha Willems
27411eb02c Fixed BRDF LUT generation
Fixes #953
2022-06-16 20:34:05 +02:00
Sascha Willems
e367464c3e Removed unused code 2022-06-16 19:24:17 +02:00
Sascha Willems
af57abddff Update build instructions
Refs #952
2022-06-04 22:57:28 +02:00
Sascha Willems
dc8e662b34 Missing include for std::find 2022-05-14 11:47:37 +02:00
Sascha Willems
13d8fc6526 Format selection list 2022-05-14 11:45:44 +02:00
Sascha Willems
570ba6da47 Only apply stencil flag if selected format has a stencil part
Refs #947
2022-05-14 11:44:57 +02:00
Sascha Willems
8c376121c3 Pass depth range to depth map visualization shader
Fixes #895
2022-05-08 11:43:06 +02:00
Sascha Willems
8e98d10f74
Merge pull request #938 from Chris-F5/fix-deferred-typo
Fix typo in deferred.cpp
2022-05-08 09:36:34 +02:00
Sascha Willems
56b6978a6c Descriptor setup
Fixes #941
2022-05-08 09:30:15 +02:00
Sascha Willems
63c3e7eadd Added thread include 2022-04-22 08:05:28 +02:00
Sascha Willems
f45cf03608 Added graphics pipeline library sample to readme 2022-04-22 07:52:11 +02:00
Sascha Willems
e8596963b3 Merge branch 'master' of https://github.com/SaschaWillems/Vulkan 2022-04-21 07:35:01 +02:00
Sascha Willems
5bc82e9f02 Updated graphics pipeline library sample 2022-04-21 07:34:44 +02:00