24 lines
410 B
Plaintext
24 lines
410 B
Plaintext
bug/tint/1064.wgsl:12:9 warning: use of deprecated language feature: `break` must not be used to exit from a continuing block. Use `break-if` instead.
|
|
break;
|
|
^^^^^
|
|
|
|
#include <metal_stdlib>
|
|
|
|
using namespace metal;
|
|
fragment void tint_symbol() {
|
|
while (true) {
|
|
if (false) {
|
|
} else {
|
|
break;
|
|
}
|
|
{
|
|
if (true) {
|
|
} else {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
return;
|
|
}
|
|
|