Henrik Rydgård
60f350056c
Vulkan: Optimize away a barrier in case of no depth buffer
2024-04-07 21:43:06 +02:00
Henrik Rydgård
7769bf06f1
Add a simplified wrapper for Transition*ImageAuto that takes a VKRImage
2024-04-07 21:14:45 +02:00
Henrik Rydgård
58fea04b8a
Split the auto image layout transition function (color/depth-stencil)
2024-04-07 21:14:45 +02:00
Henrik Rydgård
6ac5a21846
Update the layout from within TransitionImageAuto
2024-04-07 21:14:45 +02:00
Henrik Rydgård
a66affe5db
Delete the function TransitionImageLayout2
2024-04-06 17:12:40 +02:00
Henrik Rydgård
4ea58b64d4
Merge our two different Vulkan barrier batch implementations
2024-04-04 15:32:48 +02:00
Henrik Rydgård
9f9881dfe3
Move some code, minor cleanup.
...
See #18987
2024-04-04 12:30:41 +02:00
Henrik Rydgård
d4a71a2268
More fixes
2024-02-03 00:20:08 +01:00
Henrik Rydgård
6de05f13f1
More barrier batching
2023-12-30 10:41:59 +01:00
Henrik Rydgård
b2f2e7356a
Add new VulkanBarrierBatch
2023-12-30 10:41:59 +01:00
Henrik Rydgård
86ed9a9b89
Move code to cpp
2023-12-30 10:41:59 +01:00
Henrik Rydgård
484fbeb4cb
Add end-of-init barrier
2023-12-30 10:41:59 +01:00
Henrik Rydgård
dde13b448f
Use FastVec in VulkanBarrier
2023-12-07 17:30:18 +01:00
Henrik Rydgård
0de12f5ca9
Some refactoring of framebuffer views, layer issues, more work.
2022-10-27 11:05:58 +02:00
Henrik Rydgård
753fd13494
Vulkan: Avoid allocating depth images for stuff like temp copies, depal buffers etc.
...
Pretty small impact, but good to do.
An interesting extension of this would upconvert framebuffers in the
FramebufferManager to have a depth buffer the first time depth is used on them,
but this doesn't do that yet.
2022-09-24 23:21:48 +02:00
Henrik Rydgård
ce82fce8de
Use subpass dependencies to implement shader framebuffer read in Vulkan.
2022-09-16 19:19:42 +02:00
Henrik Rydgård
9d0eaff48a
Convert some barriers to use the new barrier framework.
2022-05-01 11:34:29 +02:00
Henrik Rydgård
3b9ab88b21
Add utility class VulkanBarrier
2022-05-01 10:20:11 +02:00