Add SHADER_READ usage bit to non-readonly buffers
@@ -594,7 +594,7 @@ pub(crate) fn map_buffer_state(usage: resource::BufferUse) -> hal::buffer::State
access |= A::SHADER_READ;
}
if usage.contains(W::STORAGE_STORE) {
- access |= A::SHADER_WRITE;
+ access |= A::SHADER_READ | A::SHADER_WRITE;
}
if usage.contains(W::INDIRECT) {
access |= A::INDIRECT_COMMAND_READ;
