diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-17 10:13:35 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-17 23:12:48 +0200 |
commit | a7b6bd56d79f462bb1ca39da91b1bb3d4226fe24 (patch) | |
tree | b3af324d3ef4eb262a709b14d89f63362505c653 /src/video_core/renderer_vulkan/vk_stream_buffer.h | |
parent | Merge pull request #3703 from yuzu-emu/revert-3656-glsl-full-decompile (diff) | |
download | yuzu-a7b6bd56d79f462bb1ca39da91b1bb3d4226fe24.tar yuzu-a7b6bd56d79f462bb1ca39da91b1bb3d4226fe24.tar.gz yuzu-a7b6bd56d79f462bb1ca39da91b1bb3d4226fe24.tar.bz2 yuzu-a7b6bd56d79f462bb1ca39da91b1bb3d4226fe24.tar.lz yuzu-a7b6bd56d79f462bb1ca39da91b1bb3d4226fe24.tar.xz yuzu-a7b6bd56d79f462bb1ca39da91b1bb3d4226fe24.tar.zst yuzu-a7b6bd56d79f462bb1ca39da91b1bb3d4226fe24.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_stream_buffer.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/video_core/renderer_vulkan/vk_stream_buffer.h b/src/video_core/renderer_vulkan/vk_stream_buffer.h index 58ce8b973..dfddf7ad6 100644 --- a/src/video_core/renderer_vulkan/vk_stream_buffer.h +++ b/src/video_core/renderer_vulkan/vk_stream_buffer.h @@ -56,8 +56,9 @@ private: const VKDevice& device; ///< Vulkan device manager. VKScheduler& scheduler; ///< Command scheduler. - vk::Buffer buffer; ///< Mapped buffer. - vk::DeviceMemory memory; ///< Memory allocation. + vk::Buffer buffer; ///< Mapped buffer. + vk::DeviceMemory memory; ///< Memory allocation. + u64 stream_buffer_size{}; ///< Stream buffer size. u64 offset{}; ///< Buffer iterator. u64 mapped_size{}; ///< Size reserved for the current copy. |