This replaces var<storage, write> in shader code with var<storage, read_write>. This is required because write is not supported (anymore?) for variables in the storage address space, but read_write is. In particular the Google Chrome (Tint) compiler complains about this. For more information see https://www.w3.org/TR/WGSL/#address-space.
This replaces
var<storage, write>
in shader code withvar<storage, read_write>
. This is required becausewrite
is not supported (anymore?) for variables in thestorage
address space, butread_write
is. In particular the Google Chrome (Tint) compiler complains about this. For more information see https://www.w3.org/TR/WGSL/#address-space.This PR makes the Squeeze WebAssembly demo work again. See https://pixelspark.nl/wp-content/public/squeeze/