mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 14:01:08 +01:00
hal/vk: fix indirect stage flag
This commit is contained in:
1 parent
782a5bc831
commit
2efccb2bf8
1 file changed
+1
-1
@@ -523,7 +523,7 @@ pub fn map_buffer_usage_to_barrier(
|
||||
access |= vk::AccessFlags::VERTEX_ATTRIBUTE_READ;
|
||||
}
|
||||
if usage.contains(crate::BufferUses::INDIRECT) {
|
||||
stages |= vk::PipelineStageFlags::VERTEX_INPUT;
|
||||
stages |= vk::PipelineStageFlags::DRAW_INDIRECT;
|
||||
access |= vk::AccessFlags::INDIRECT_COMMAND_READ;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user