mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-06 12:15:43 +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>
13 lines
136 B
HLSL
13 lines
136 B
HLSL
void main() {
|
|
while (true) {
|
|
if (false) {
|
|
} else {
|
|
break;
|
|
}
|
|
{
|
|
if (false) { break; }
|
|
}
|
|
}
|
|
return;
|
|
}
|