summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan/vk_stream_buffer.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* vk_stream_buffer: Remove copy code pathReinUsesLisp2019-02-261-43/+9
|
* vk_stream_buffer: Implement a stream bufferReinUsesLisp2019-02-241-0/+124
This manages two kinds of streaming buffers: one for unified memory models and one for dedicated GPUs. The first one skips the copy from the staging buffer to the real buffer, since it creates an unified buffer. This implementation waits for all fences to finish their operation before "invalidating". This is suboptimal since it should allocate another buffer or start searching from the beginning. There is room for improvement here. This could also handle AMD's "pinned" memory (a heap with 256 MiB) that seems to be designed for buffer streaming.