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
38f1e9c75c
dawn-cmake
/
test
/
bug
/
tint
/
1064.wgsl
17 lines
176 B
WebGPU Shading Language
Raw
Normal View
History
Unescape
Escape
wgsl: Replace [[decoration]] with @decoration Deprecate the old syntax. Migrate everything to the new syntax. Bug: tint:1382 Change-Id: Ide12b2e927b17dc93b9714c7049090864cc568d3 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/77260 Reviewed-by: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: David Neto <dneto@google.com> Commit-Queue: David Neto <dneto@google.com>
2022-01-19 22:46:57 +00:00
@
stage
(
fragment
)
transform: LoopToForLoop - fix bad emission For loops only support assignments or function calls for the continuing statement. Fixed: tint:1064 Change-Id: I07065b2119e7b9f97ca7e46b1464fd72333ca429 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/60212 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: David Neto <dneto@google.com>
2021-07-29 18:05:19 +00:00
fn
main
(
)
{
loop
{
if
(
false
)
{
}
else
{
break
;
}
continuing
{
if
(
true
)
{
}
else
{
break
;
}
}
}
}