Skip to content

Commit

Permalink
Fix racy surface extraction uniform read
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralith committed May 5, 2024
1 parent 00ef28a commit d025108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/graphics/voxels/surface_extraction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ impl ScratchBuffer {
Default::default(),
&[vk::MemoryBarrier {
src_access_mask: vk::AccessFlags::TRANSFER_WRITE,
dst_access_mask: vk::AccessFlags::SHADER_READ,
dst_access_mask: vk::AccessFlags::SHADER_READ | vk::AccessFlags::UNIFORM_READ,
..Default::default()
}],
&[],
Expand Down

0 comments on commit d025108

Please sign in to comment.