diff --git a/gapis/api/vulkan/state_rebuilder.go b/gapis/api/vulkan/state_rebuilder.go index cb6acdc7f1..3a1435f7b0 100644 --- a/gapis/api/vulkan/state_rebuilder.go +++ b/gapis/api/vulkan/state_rebuilder.go @@ -836,7 +836,7 @@ func (sb *stateBuilder) allocAndFillScratchBuffer(device *DeviceObject, data []u size, }).Ptr(), VkResult_VK_SUCCESS, - ).AddWrite(dat.Data())) + ).AddRead(dat.Data())) sb.write(sb.cb.VkUnmapMemory( device.VulkanHandle,