forked from ShuriZma/suyu
1
0
Fork 0

vk_rasterizer: BindTransformFeedbackBuffersEXT accepts a size of type VkDeviceSize

This commit is contained in:
MerryMage 2020-06-17 12:26:17 +01:00
parent b1eada6079
commit 69f38355ed
1 changed files with 1 additions and 1 deletions

View File

@ -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) {