summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorMerryMage <MerryMage@users.noreply.github.com>2020-06-17 13:26:17 +0200
committerMerryMage <MerryMage@users.noreply.github.com>2020-06-18 16:47:44 +0200
commit69f38355ed04b337a49c55690e2e05e98dc86de6 (patch)
treeb10f5638fa924f6e5b0021e6978156f3ee29b25b /src/video_core
parentrenderer_vulkan: Fix macOS GetBundleDirectory reference (diff)
downloadyuzu-69f38355ed04b337a49c55690e2e05e98dc86de6.tar
yuzu-69f38355ed04b337a49c55690e2e05e98dc86de6.tar.gz
yuzu-69f38355ed04b337a49c55690e2e05e98dc86de6.tar.bz2
yuzu-69f38355ed04b337a49c55690e2e05e98dc86de6.tar.lz
yuzu-69f38355ed04b337a49c55690e2e05e98dc86de6.tar.xz
yuzu-69f38355ed04b337a49c55690e2e05e98dc86de6.tar.zst
yuzu-69f38355ed04b337a49c55690e2e05e98dc86de6.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_vulkan/vk_rasterizer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.cpp b/src/video_core/renderer_vulkan/vk_rasterizer.cpp
index 184b2238a..a77fa35c3 100644
--- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp
+++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp
@@ -870,7 +870,7 @@ void RasterizerVulkan::BeginTransformFeedback() {
UNIMPLEMENTED_IF(binding.buffer_offset != 0);
const GPUVAddr gpu_addr = binding.Address();
- const std::size_t size = binding.buffer_size;
+ const auto size = static_cast<VkDeviceSize>(binding.buffer_size);
const auto [buffer, offset] = buffer_cache.UploadMemory(gpu_addr, size, 4, true);
scheduler.Record([buffer = buffer, offset = offset, size](vk::CommandBuffer cmdbuf) {