Is it not allowed to set the “storageTexture : texture_storage_2d” to “read_write” in the WebGPU ShaderMaterial. When I change it to “read_write”, the console shows the warnning message: “The layout’s binding access (StorageTextureAccess::WriteOnly) isn’t compatible with the shader’s binding access (StorageTextureAccess::ReadWrite)”.
I want to use “textureLoad” to get color data from “storageTexture : texture_storage_2d”, is it not allowed?
Or I can only use “storageBuffer” instead of "storageTexture " for data reading?