mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-18 07:41:45 +00:00
GPU Vulkan: set correct destination usage mode for storage buffer read/write bindings (#13009)
This commit is contained in:

committed by
Evan Hemsley

parent
3498412611
commit
c18aa99358
@@ -8158,7 +8158,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;
|
||||
|
||||
|
Reference in New Issue
Block a user