mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-29 10:13:34 +00:00
fix for mixed STORAGE_STORE and STORAGE_LOAD
This commit is contained in:
parent
10ed72d400
commit
f8b5c639e3
@ -1953,9 +1953,9 @@ impl<G: GlobalIdentityHandlerFactory> Global<G> {
|
|||||||
} => (
|
} => (
|
||||||
wgt::BufferUsage::STORAGE,
|
wgt::BufferUsage::STORAGE,
|
||||||
if readonly {
|
if readonly {
|
||||||
resource::BufferUse::STORAGE_STORE
|
|
||||||
} else {
|
|
||||||
resource::BufferUse::STORAGE_LOAD
|
resource::BufferUse::STORAGE_LOAD
|
||||||
|
} else {
|
||||||
|
resource::BufferUse::STORAGE_STORE
|
||||||
},
|
},
|
||||||
min_binding_size,
|
min_binding_size,
|
||||||
dynamic,
|
dynamic,
|
||||||
|
Loading…
Reference in New Issue
Block a user