summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Vulkan/CommandBufferManager.cpp
AgeCommit message (Collapse)Author
2024-10-02VideoBackends:Vulkan: Don't try to present if swapchain acquire failedTellowKrinkle
2023-06-28VideoBackends: support multiple compute images for some backends (D3D, OGL, ↵iwubcode
Vulkan)
2023-03-20VideoBackends:Vulkan: Use WorkQueueThreadRobin Kertels
2023-03-20VideoBackends:Vulkan: Clean up submission thread BlockingLoop usageRobin Kertels
2023-02-10VideoCommon: add constant value to set the allowed maximum number of pixel ↵iwubcode
samplers
2022-11-07VideoBackends:Vulkan: Synchronize presentationRobin Kertels
Synchronize with the submission thread if the last present is not done yet.
2022-10-25Merge pull request #10977 from tellowkrinkle/FixBackendMultithreadingJMC47
VideoBackends:Vulkan: Improve backend multithreading
2022-10-23VideoBackends:Vulkan: Clean up unused memory allocation codeRobin Kertels
2022-10-23VideoBackends:Vulkan: Use VMA for stream bufferRobin Kertels
2022-10-23VideoBackends:Vulkan: Use VMA for staging buffersRobin Kertels
2022-10-17VideoBackends:Vulkan: Improve backend multithreadingTellowKrinkle
Makes the multiple threads actually able to run at the same time
2022-10-17Merge pull request #11122 from K0bin/descriptor-overhaulAdmiral H. Curtiss
VideoBackends:Vulkan: Allocate descriptor pools as needed
2022-10-16VideoBackends:Vulkan: Allocate descriptor pools as neededRobin Kertels
2022-10-08VideoBackends:Vulkan: Fix command buffer cleanupRobin Kertels
2022-10-04Vulkan/CommandBufferManager: Show error code in PanicAlerts.Admiral H. Curtiss
2022-10-01VideoBackends:Vulkan: Associate descriptor pool with frame rather than ↵Robin Kertels
command buffer
2022-10-01VideoBackends:Vulkan: Decouple available command buffers from frames in flightRobin Kertels
2022-10-01VideoBackends:Vulkan: Only synchronize with submission thread when necessaryRobin Kertels
We only need to synchronize with the submission thread when submitting on the GPU thread or when waiting for a command buffer.
2021-07-05treewide: convert GPLv2+ license info to SPDX tagsPierre Bourdon
SPDX standardizes how source code conveys its copyright and licensing information. See https://spdx.github.io/spdx-spec/1-rationale/ . SPDX tags are adopted in many large projects, including things like the Linux kernel.
2020-12-02General: Convert PanicAlerts over to fmt equivalentLioncash
Converts lingering panic alert calls over to the fmt-capable ones.
2020-08-22name some threadsShawn Hoffman
2020-01-31Vulkan: Treat VK_SUBOPTIMAL_KHR as VK_SUCCESS on AndroidStenzek
Android 10 seems to expect a prerotated/transformed swap chain for optimal presentation. For now, until we implement that, just ignore the hint.
2019-10-31Vulkan: Exclusive fullscreen support via VK_EXT_full_screen_exclusiveStenzek
2019-06-01Common/CommonFuncs: Remove now-unneccessary ArraySize functionLioncash
Since C++17, non-member std::size() is present in the standard library which also operates on regular C arrays. Given that, we can just replace usages of ArraySize with that where applicable. In many cases, we can just change the actual C array ArraySize() was called on into a std::array and just use its .size() member function instead. In some other cases, we can collapse the loops they were used in, into a ranged-for loop, eliminating the need for en explicit bounds query.
2019-05-09bbox minor fxweihuoya
2019-03-29Vulkan: Simplify command buffer fence trackingStenzek
2019-02-19Move most backend functionality to VideoCommonStenzek
2019-01-27Vulkan: Don't execute command buffer before shutting downStenzek
We don't need to, and this was causing occasional crashes on Adreno.
2018-03-14Assert: Uppercase assertion macrosLioncash
Macros should be all upper-cased. This is also kind of a wart that's been sticking out for quite a while now (we avoid prefixing underscores).
2018-01-26Vulkan: Fix waiting on non-existant fence when reading backStenzek
2017-11-22VideoBackends: Add AbstractStagingTexture classStenzek
Can be used for asynchronous readback or upload of textures.
2017-10-10Vulkan: Set a flag to resize the swap chain when presenting failsStenzek
Drivers can return VK_ERROR_OUT_OF_DATE_KHR from vkQueuePresentKHR, and we should resize the image in this case, as well as when getting it back from vkAcquireNextImageKHR.
2017-09-05Vulkan: Use a separate queue for presenting.spxtr
Before this change, we simply fail if the device does not expose one queue family that supports both graphics and present. Currently this is fine, since devices tend to lay out their queues in this way. NV, for instance, tends to have one queue family for all graphics operations and one more for transfer only. However, it's not a hard requirement, and it is cheap to use a separate queue, so we might as well.
2017-04-14Vulkan: Raise the number of texel buffer/storage image descriptorsStenzek
Running with GPU texture decoding enabled could cause us to run out of descriptors within a single frame.
2017-04-01Vulkan: Compute shader supportStenzek
2016-11-15Vulkan: Use multiple command pools, one per frameStenzek
Instead of resetting two command buffers, now we only have to call vkResetCommandPool once at the start of a frame. NV's recommends using one pool per frame/thread. May offer a very small boost in performance on some systems.
2016-10-03Vulkan: Fix compilation on 32-bit targetsStenzek
2016-10-01Vulkan: Only submit init/upload command buffer when it has commandsStenzek
This way we're not submitting empty buffers when it's unnecessary.
2016-10-01Implement experimental Vulkan backendStenzek