mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-26 01:11:22 +01:00
fix for mixed STORAGE_STORE and STORAGE_LOAD
This commit is contained in:
1 parent
4de1d24bc6
commit
5ea3ea7b55
1 file changed
+2
-2
@@ -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