mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-08 13:14:56 +00:00
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:
committed by
Commit Bot service account
parent
fae0aa6e72
commit
571f2b7363
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user