GPU: Remove erroneous buffer usage flag from defrag process
Build (All) / Create test plan (push) Has been cancelled
Build (All) / level1 (push) Has been cancelled
Build (All) / level2 (push) Has been cancelled

(cherry picked from commit aae2f74ae6)
This commit is contained in:
cosmonaut
2025-12-03 15:03:53 -08:00
committed by Sam Lantinga
parent ddb497e815
commit b8618dd405
-2
View File
@@ -10787,8 +10787,6 @@ static bool VULKAN_INTERNAL_DefragmentMemory(
VulkanMemoryUsedRegion *currentRegion = allocation->usedRegions[i];
if (currentRegion->isBuffer && !currentRegion->vulkanBuffer->markedForDestroy) {
currentRegion->vulkanBuffer->usage |= VK_BUFFER_USAGE_TRANSFER_DST_BIT;
VulkanBuffer *newBuffer = VULKAN_INTERNAL_CreateBuffer(
renderer,
currentRegion->vulkanBuffer->size,