Drop unused upload allocation metadata

This commit is contained in:
DieMitchell committed 2026-10-11 14:33:45 +02:00
1 parent f1c075c140
commit cbad4abb99
1 file changed
+1 -2
@@ -557,12 +557,11 @@ void Scheduler::BeginRendering(const RenderState& new_state) {
new_state.width, new_state.height, foveation->texel_size.width,
foveation->texel_size.height, Core::Vr::Runtime::Instance().TitleFov(), gaze);
VideoCore::UniqueBuffer upload{instance.GetDevice(), instance.GetAllocator()};
VmaAllocationInfo allocation_info{};
upload.Create(vk::BufferCreateInfo{
.size = rates.size(),
.usage = vk::BufferUsageFlagBits::eTransferSrc,
},
VideoCore::MemoryUsage::Upload, &allocation_info);
VideoCore::MemoryUsage::Upload, nullptr);
void* mapped{};
ASSERT_MSG(vmaMapMemory(instance.GetAllocator(), upload.allocation, &mapped) ==
VK_SUCCESS,