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
6cb055b6aa
dawn-cmake
/
test
/
tint
/
shadowing
/
short_names
/
var.wgsl.expected.wgsl
11 lines
109 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
(
)
{
{
var
vec3f
=
1
;
var
b
=
vec3f
;
}
var
c
=
a
(
)
;
var
d
=
vec3f
(
)
;
}