mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
fix for mixed STORAGE_STORE and STORAGE_LOAD
This commit is contained in:
@@ -2009,9 +2009,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,
|
||||
|
||||
Reference in New Issue
Block a user