GPU Vulkan: set correct destination usage mode for storage buffer read/write bindings (#13009)

This commit is contained in:
Dominic Bolin 2025-05-11 16:11:45 -07:00 committed by GitHub
parent c6e9d6cc79
commit 2ae3418260
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8157,7 +8157,7 @@ static void VULKAN_BeginComputePass(
vulkanCommandBuffer,
bufferContainer,
storageBufferBindings[i].cycle,
VULKAN_BUFFER_USAGE_MODE_COMPUTE_STORAGE_READ);
VULKAN_BUFFER_USAGE_MODE_COMPUTE_STORAGE_READ_WRITE);
vulkanCommandBuffer->readWriteComputeStorageBuffers[i] = buffer;