mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-13 08:36:08 +00:00
This patch fixes a wrong buffer type declaration in the shader used in BufferZeroInitTest.BoundAsReadonlyStorageBuffer. In this test the buffer should be bound as a read-only storage buffer, so it should be declared as var<storage, read> instead of var<storage, read_write>. BUG: none Change-Id: Ib85bf199f64e205b944b7233aae31323cbec1819 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/56042 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>