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
b4c5e0d32a
dawn-cmake
/
test
/
tint
/
shadowing
/
short_names
/
const.wgsl
11 lines
117 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
=
vec3f
;
tint: Add builtin type aliases (vec3f, etc) Fixed: tint:1772 Change-Id: I4bed36ded91ca5288875ed6ea819ff4bbb432186 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/112340 Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: James Price <jrprice@google.com>
2022-12-01 13:41:56 +00:00
fn
f
(
)
{
{
const
vec3f
=
1
;
const
b
=
vec3f
;
}
const
c
=
a
(
)
;
const
d
=
vec3f
(
)
;
}