Skip to content

Commit 2ae3418

Browse files
authored
GPU Vulkan: set correct destination usage mode for storage buffer read/write bindings (#13009)
1 parent c6e9d6c commit 2ae3418

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gpu/vulkan/SDL_gpu_vulkan.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8157,7 +8157,7 @@ static void VULKAN_BeginComputePass(
81578157
vulkanCommandBuffer,
81588158
bufferContainer,
81598159
storageBufferBindings[i].cycle,
8160-
VULKAN_BUFFER_USAGE_MODE_COMPUTE_STORAGE_READ);
8160+
VULKAN_BUFFER_USAGE_MODE_COMPUTE_STORAGE_READ_WRITE);
81618161

81628162
vulkanCommandBuffer->readWriteComputeStorageBuffers[i] = buffer;
81638163

0 commit comments

Comments
 (0)