mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-03 10:45:36 +00:00
This CL removes support or if-break and requires the use of break-if. Bug: tint:1724 Change-Id: I8311de2f0ce11b5af7fada71d258ae441f9e42f8 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/111100 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
14 lines
133 B
WebGPU Shading Language
14 lines
133 B
WebGPU Shading Language
@fragment
|
|
fn main() {
|
|
loop {
|
|
if (false) {
|
|
} else {
|
|
break;
|
|
}
|
|
|
|
continuing {
|
|
break if !true;
|
|
}
|
|
}
|
|
}
|