mirror of
https://github.com/mitch030504/AstroQuest-Frame.git
synced 2026-10-26 08:01:32 +01:00
Drop unused upload allocation metadata
This commit is contained in:
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,
|
||||
|
||||
Reference in new issue
Block a user