Skip to content

Commit

Permalink
Fix access mask for draw uniforms write barrier
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralith committed May 5, 2024
1 parent d025108 commit 7850a81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/graphics/draw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ impl Draw {
self.buffer_barriers.push(
vk::BufferMemoryBarrier::default()
.src_access_mask(vk::AccessFlags::TRANSFER_WRITE)
.dst_access_mask(vk::AccessFlags::SHADER_READ)
.dst_access_mask(vk::AccessFlags::UNIFORM_READ)
.buffer(state.uniforms.buffer())
.size(vk::WHOLE_SIZE),
);
Expand Down

0 comments on commit 7850a81

Please sign in to comment.