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
6a123a11de
dawn-cmake
/
test
/
tint
/
bug
/
chromium
/
1360925.wgsl.expected.wgsl
7 lines
101 B
WebGPU Shading Language
Raw
Normal View
History
Unescape
Escape
tint: Fix transform errors when calling arrayLength() as a statement Bug: chromium:1360925 Change-Id: If60fa4bb1cf4981c10dd15f8814c0aed70c0066e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101780 Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: Antonio Maiorano <amaiorano@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
2022-09-09 20:42:29 +00:00
@
group
(
0
)
@
binding
(
0
)
var
<
storage
>
G
:
array
<
i32
>
;
fn
n
(
)
{
let
p
=
&
(
G
)
;
tint: Validate @must_use on functions and builtins Fixed: tint:1844 Change-Id: I812dd338925c1dccaa3029a46e10a0ea34a8ed54 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/120960 Commit-Queue: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Commit-Queue: Ben Clayton <bclayton@chromium.org>
2023-02-22 16:18:22 +00:00
_
=
arrayLength
(
p
)
;
tint: Fix transform errors when calling arrayLength() as a statement Bug: chromium:1360925 Change-Id: If60fa4bb1cf4981c10dd15f8814c0aed70c0066e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101780 Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: Antonio Maiorano <amaiorano@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
2022-09-09 20:42:29 +00:00
}