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
847cfa07c5
dawn-cmake
/
test
/
tint
/
bug
/
chromium
/
1273451.wgsl
12 lines
87 B
WebGPU Shading Language
Raw
Normal View
History
Unescape
Escape
resolver: Fix bug in dep graph SortGlobals() If we encounter a global twice, the stack vector was not popped, which could trigger false cyclic-dependency errors. Because the cyclic dependency did not actually exist, later logic could break, expecting to find a global->global edge which did not exist. Fixed: chromium:1273451 Change-Id: I9d99f1aeeaea042d9ed847a878c4717803122240 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/70980 Reviewed-by: David Neto <dneto@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
2021-11-25 18:07:57 +00:00
struct
A
{
wgsl: Separate struct members with commas Use of semicolons is still supported, but deprecated. Also updates the parsing methods for structures to better match the WGSL grammar. Bug: tint:1475 Change-Id: I7675ba42c13f91080b0ac173c352e0092021f80b Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/84380 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: James Price <jrprice@google.com>
2022-03-28 14:31:22 +00:00
a
:
i32
,
resolver: Fix bug in dep graph SortGlobals() If we encounter a global twice, the stack vector was not popped, which could trigger false cyclic-dependency errors. Because the cyclic dependency did not actually exist, later logic could break, expecting to find a global->global edge which did not exist. Fixed: chromium:1273451 Change-Id: I9d99f1aeeaea042d9ed847a878c4717803122240 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/70980 Reviewed-by: David Neto <dneto@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
2021-11-25 18:07:57 +00:00
}
;
struct
B
{
wgsl: Separate struct members with commas Use of semicolons is still supported, but deprecated. Also updates the parsing methods for structures to better match the WGSL grammar. Bug: tint:1475 Change-Id: I7675ba42c13f91080b0ac173c352e0092021f80b Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/84380 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: James Price <jrprice@google.com>
2022-03-28 14:31:22 +00:00
b
:
i32
,
resolver: Fix bug in dep graph SortGlobals() If we encounter a global twice, the stack vector was not popped, which could trigger false cyclic-dependency errors. Because the cyclic dependency did not actually exist, later logic could break, expecting to find a global->global edge which did not exist. Fixed: chromium:1273451 Change-Id: I9d99f1aeeaea042d9ed847a878c4717803122240 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/70980 Reviewed-by: David Neto <dneto@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
2021-11-25 18:07:57 +00:00
}
;
fn
f
(
a
:
A
)
->
B
{
return
B
(
)
;
}