This website requires JavaScript.
Explore
Help
Sign In
encounter
/
dawn-cmake
mirror of
https://github.com/encounter/dawn-cmake.git
Watch
1
Star
0
Fork
You've already forked dawn-cmake
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
dec0c62997
dawn-cmake
/
test
/
tint
/
shadowing
/
alias
/
const.wgsl
11 lines
111 B
WebGPU Shading Language
Raw
Normal View
History
Unescape
Escape
tint: Rename 'type' to 'alias' Bug: tint:1812 Change-Id: I50bd8b036b47b4ec223a81eda53bd658d19645e9 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/117211 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Commit-Queue: Ben Clayton <bclayton@google.com>
2023-01-24 14:55:17 +00:00
alias
a
=
i32
;
tint: Deprecated module-scope 'let' for 'const' Enable the parsing of 'const'. Warn on use of module-scope 'let', and automatically replace with 'const'. Fixed: tint:1580 Change-Id: I214aabca80686dc6b60ae21a7a57fbfb4898ea83 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/93786 Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com>
2022-06-29 00:55:36 +00:00
fn
f
(
)
{
{
const
a
:
a
=
a
(
)
;
const
b
=
a
;
}
const
a
:
a
=
a
(
)
;
const
b
=
a
;
}