fix for mixed STORAGE_STORE and STORAGE_LOAD

This commit is contained in:
Dávid Kocsis 2020-08-28 07:23:38 +02:00 committed by Dzmitry Malyshau
parent 10ed72d400
commit f8b5c639e3

View File

@ -1953,9 +1953,9 @@ impl<G: GlobalIdentityHandlerFactory> Global<G> {
} => (
wgt::BufferUsage::STORAGE,
if readonly {
resource::BufferUse::STORAGE_STORE
} else {
resource::BufferUse::STORAGE_LOAD
} else {
resource::BufferUse::STORAGE_STORE
},
min_binding_size,
dynamic,