n8vm
3a4ea2b697
updating sbt record data example to also cover miss sbt data
2022-09-26 20:28:08 -06:00
Sascha Willems
8730b2b266
Merge branch 'master' of https://github.com/SaschaWillems/Vulkan
2022-09-26 17:48:09 +02:00
Sascha Willems
38213eb2a5
Removed unused combined sampler from layout
...
Refs #995
2022-09-26 17:47:59 +02:00
Sascha Willems
2b76a9a974
Merge pull request #993 from MTCoster/dev/pipelines-fixes
...
Fixes to dynamic state behavior in pipelines demo
2022-09-26 17:27:54 +02:00
n8vm
e8270a7b38
Merge branch 'sascha_master'
2022-09-25 13:43:24 -06:00
Matt Coster
1e57057798
Fixes to dynamic state behavior in pipelines demo
...
This patch includes three fixes:
- Allow wideLines to be enabled when fillModeNotSolid isn't,
- Check against enabledFeatures for runtime conditionals instead
of the theoretical values in deviceFeatures, and
- Always call vkCmdSetLineWidth() before any draw command occurs.
This is required by the spec, since any state declared as dynamic
is explicitly not initialized by VkPipeline*StateCreateInfo.
Signed-off-by: Matt Coster <matt.coster@imgtec.com>
2022-09-14 15:06:17 +01:00
Sascha Willems
42b7f547a2
Fix descriptor pool sizes
...
Fixes #989
2022-09-10 09:05:07 +02:00
Sascha Willems
011f3484c7
Remove unnecessary flag
...
Fixes #988
2022-09-10 08:29:50 +02:00
n8vm
ac56858f2e
updating example, fixing some buffer sizes
2022-09-09 11:54:26 -06:00
n8vm
9e58ad5377
Adding a simple example demonstrating how to use SBT record data
2022-09-08 12:57:00 -06:00
Sascha Willems
d02a039188
Remove requirement for shaderResourceMinLod
...
Fixes #984
2022-08-21 16:19:44 +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
Sascha Willems
20775d9f3d
Merge branch 'master' of https://github.com/SaschaWillems/Vulkan
2022-08-19 17:50:18 +02:00
Sascha Willems
afab3c1624
Remove duplicate code
...
Fixes #985
2022-08-19 17:50:10 +02:00
Sascha Willems
154a734db0
Merge pull request #978 from SRSaunders/macos-example-fixes
...
Example-specific fixes for: MoltenVK config, OpenMP build, UBO size alignment, descriptorindexing memory bounds error
2022-08-14 16:12:45 +02:00
Sascha Willems
5e7b5e6b0b
Merge pull request #981 from arufus/master
...
Fix hlsl pixel shader in multisampling demo
2022-08-14 16:07:15 +02:00
Sascha Willems
0b0aa2ddb7
Reset resize flag after resize is handled
...
Fixes #980
2022-08-11 15:31:41 +02:00
Sascha Willems
408f57c761
Reset resize flag after resize is handled
...
Fixes #980
2022-08-11 13:37:06 +02:00
arufus
a867ca2809
Merge branch 'SaschaWillems:master' into master
2022-08-11 17:27:36 +08:00
arufus
310a9ec6f9
Fix hlsl pixel shader in multisampling demo
2022-08-11 17:26:26 +08:00
Stephen Saunders
f103389d03
Align UBO sizes between code and shaders for computeraytracing, ssao, & texturearray examples
2022-08-08 13:46:30 -04:00
Stephen Saunders
b60f404b0e
Fix cube count & indices logic error in descriptorindexing example
2022-08-08 02:15:03 -04:00
Sascha Willems
f084d6093c
Slightly reworked glTF samples
...
Parent matrices are now applied (where available)
Now more in line with the base code glTF loader
Refs #964
2022-08-06 10:16:54 +02:00
Stephen Saunders
10fb7f99bb
MoltenVK-specific config for computeraytracing and specializationconstants examples
2022-08-05 14:54:25 -04:00
Stephen Saunders
fc2f6af491
CMakeLists optimization: find OpenMP package only for relevant examples (texture3d)
2022-08-05 00:33:48 -04:00
Stephen Saunders
ef02a20d5d
MoltenVK-specific fixes for descriptorindexing and oit examples
2022-08-05 00:27:58 -04:00
Sascha Willems
465c18862c
Clean up vertex inputs
...
Fixes #766
2022-08-04 17:24:11 +02:00
Sascha Willems
0f8a349f0c
Get sampler index from UBO instead of passing from VS to FS
...
Fixes #826
2022-08-03 20:11:40 +02:00
Sascha Willems
79ec9b126b
Added comment for required extensions
2022-08-02 10:19:49 +02:00
Sascha Willems
81cb55e214
Merge pull request #974 from SRSaunders/uioverlay-fixes
...
UI Overlay: Fix F1 on/off toggle for all examples, Implement overlay for dynamicrendering example
2022-08-02 10:10:45 +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
Sascha Willems
5c2aaaf693
Code cleanup
...
Fixes #962
2022-07-30 09:27:50 +02:00
Sascha Willems
05fa98f26b
Change light pos
2022-07-30 09:16:36 +02:00
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