wgsl: Deprecate 'const' for 'let'

Renamed with:
https://github.com/gpuweb/gpuweb/pull/1574

Bug: tint:699
Change-Id: I4dda868abe4c5bc0cba46bc81d9eb297a0663717
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/47141
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: David Neto <dneto@google.com>
This commit is contained in:
Ben Clayton
2021-04-08 15:46:17 +00:00
committed by Commit Bot service account
parent fae0aa6e72
commit 571f2b7363
29 changed files with 232 additions and 179 deletions

View File

@@ -13,7 +13,7 @@
// limitations under the License.
// Vertex shader
const pos : array<vec2<f32>, 3> = array<vec2<f32>, 3>(
let pos : array<vec2<f32>, 3> = array<vec2<f32>, 3>(
vec2<f32>(0.0, 0.5),
vec2<f32>(-0.5, -0.5),
vec2<f32>(0.5, -0.5));