summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan/vk_update_descriptor.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* vk_update_descriptor: Inline and improve code for binding buffersReinUsesLisp2021-02-131-5/+5
| | | | Allow compilers with our settings inline hot code.
* renderer_vulkan: Move device abstraction to vulkan_commonReinUsesLisp2021-01-041-1/+1
|
* renderer_vulkan: Rename VKDevice to DeviceReinUsesLisp2021-01-031-1/+1
| | | | | | | The "VK" prefix predates the "Vulkan" namespace. It was carried around the codebase for consistency. "VKDevice" currently is a bad alias with "VkDevice" (only an upcase character of difference) that can cause confusion. Rename all instances of it.
* vulkan_common: Rename renderer_vulkan/wrapper.h to vulkan_common/vulkan_wrapper.hReinUsesLisp2020-12-311-1/+1
| | | | Allows sharing Vulkan wrapper code between different rendering backends.
* video_core: Resolve more variable shadowing scenarios pt.2Lioncash2020-12-051-2/+2
| | | | | | | Migrates the video core code closer to enabling variable shadowing warnings as errors. This primarily sorts out shadowing occurrences within the Vulkan code.
* vk_update_descriptor: Upload descriptor sets data directlyReinUsesLisp2020-06-181-23/+13
| | | | | Instead of copying to a temporary payload before sending the update task to the worker thread, insert elements to the payload directly.
* buffer_cache: Return handles instead of pointer to handlesReinUsesLisp2020-04-161-2/+3
| | | | | | | | | | | The original idea of returning pointers is that handles can be moved. The problem is that the implementation didn't take that in mind and made everything harder to work with. This commit drops pointer to handles and returns the handles themselves. While it is still true that handles can be invalidated, this way we get an old handle instead of a dangling pointer. This problem can be solved in the future with sparse buffers.
* renderer_vulkan: Drop Vulkan-HppReinUsesLisp2020-04-111-9/+9
|
* vk_update_descriptor: Initial implementationReinUsesLisp2020-01-061-0/+57
The update descriptor is used to store in flat memory a large chunk of staging data used to update descriptor sets through templates. It provides a push interface to easily insert descriptors following the current pipeline. The order used in the descriptor update template has to be implicitly followed. We can catch bugs here using validation layers.