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

This commit is contained in:
cosmonaut
2025-12-03 15:03:25 -08:00
committed by Sam Lantinga
parent 70c2f576c8
commit aae2f74ae6
-2
View File
@@ -10810,8 +10810,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,