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
Sascha Willems
8c05c74746
Command line parser fix
2022-12-31 09:53:17 +01:00
Sascha Willems
e52a9342f4
Add command line arguments to headless samples
...
Those samples can now toggle between glsl and hlsl shaders
Moved command line parster to a separate header
2022-12-31 09:45:01 +01:00
Sascha Willems
727d351b42
Added virtual function to enable extension based on extension list from physical device
2022-10-02 15:46:06 +02:00
Sascha Willems
9bfb3c5559
Enable VK_KHR_Deferred_Host_Operationgs for all samples
...
Inlcuding rayQueries
Fixes #987
2022-08-21 16:04:49 +02:00
Stephen Saunders
54d0b27e4a
Fix ImGui overlay and add extension dependencies for dynamicrendering example
2022-08-01 19:05:37 -04: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
1b3fe76cdb
Fix F1 on/off toggle for ImGui overlay (all platforms), clean up keycode handling (mostly macOS/iOS)
2022-08-01 16:11:57 -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
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
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
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
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
57e650b653
Support right & middle mouse dragging, set macOS frameTimer based on vsync refresh period
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
Rolf Hunt
cb869a3e9a
Updated to include VK_HEADER_VERSION check.
2022-06-24 16:44:30 -05: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
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
jonnxie
fc5ef968cc
Fixed potential memory leak bug.
2022-04-18 16:54:21 +08:00
jonnxie
6b316e694f
Fixed Mesh class and Model class memory leak.
2022-03-22 11:08:38 +08:00
jonnxie
c15d44e855
Fixed loadNode function memory leak bug.
2022-03-22 10:59:03 +08:00
jonnxie
baa2c16464
Fixed loadAnimation function memory leak bug.
2022-03-22 09:38:39 +08:00
Sascha Willems
821a0659a7
Merge pull request #924 from SaschaWillems/sample_vertexattributes
...
Add vertex attributes sample
2022-01-22 10:19:24 +01:00
robotchaoX
60ec305bdc
fix example oit build for Android failed
2022-01-21 14:13:21 +08:00
Sascha Willems
5f1aac61ca
Started working on sample showing comparing separate/interleaved vertex attributes
2021-12-26 18:42:03 +01:00
Sascha Willems
91958acad2
Only destroy ImGui context of != null
...
Fixes #911
2021-12-15 19:32:47 +01:00
Rajnesh Kanwal
774bb42ceb
Fixes memory leak due to ImGui context not being destroyed.
2021-12-04 15:35:07 +00:00
Sascha Willems
3e55366434
Added sample fro dynamic rendering using VK_KHR_dynamic_rendering
2021-11-06 19:45:22 +01:00
Christian Forfang
13ff9e5019
dstAccessMask should be VK_ACCESS_SHADER_READ_BIT
2021-10-16 16:38:55 +02:00
Christian Forfang
33cb572058
Minor fix to access mask
...
- Given newLayout = LAYOUT_SHADER_READ_ONLY_OPTIMAL, upcoming
usage is unlikely to be TRANSFER_READ_BIT.
- dstAccessMask = FRAGMENT_SHADER makes more sense
2021-09-05 12:17:12 +02:00
Sascha Willems
3b1ff1eece
Ray tracing samples can now also use the UI overlay
...
General cleanup, changed default settings.overlay value
2021-08-28 12:59:10 +02:00
Sascha Willems
ab2d4060d2
Merge pull request #860 from per-mathisen-arm/benchmark1frame
...
Add option to only render a given number of frames.
2021-07-31 13:05:35 +02:00