mirror of
https://github.com/yuzu-emu/yuzu-mainline
synced 2024-11-26 14:58:20 +00:00
vk_rasterizer: BindTransformFeedbackBuffersEXT accepts a size of type VkDeviceSize
This commit is contained in:
parent
b1eada6079
commit
69f38355ed
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue