diff --git a/client/src/graphics/voxels/surface_extraction.rs b/client/src/graphics/voxels/surface_extraction.rs index 68ba0878..89dfd4a8 100644 --- a/client/src/graphics/voxels/surface_extraction.rs +++ b/client/src/graphics/voxels/surface_extraction.rs @@ -442,7 +442,9 @@ impl ScratchBuffer { Default::default(), &[vk::MemoryBarrier { src_access_mask: vk::AccessFlags::TRANSFER_WRITE, - dst_access_mask: vk::AccessFlags::SHADER_READ | vk::AccessFlags::UNIFORM_READ, + dst_access_mask: vk::AccessFlags::SHADER_READ + | vk::AccessFlags::SHADER_WRITE + | vk::AccessFlags::UNIFORM_READ, ..Default::default() }], &[],