blob: 2d601f339d3713858ae1281f2ddaddcd98263b8b [file] [log] [blame]
<dawn>/test/tint/bug/tint/2202.wgsl:7:9 warning: code is unreachable
let _e9 = (vec3<i32>().y >= vec3<i32>().y);
^^^^^^^
#include <metal_stdlib>
using namespace metal;
#define TINT_ISOLATE_UB(VOLATILE_NAME) \
volatile bool VOLATILE_NAME = true; \
if (VOLATILE_NAME)
kernel void tint_symbol() {
TINT_ISOLATE_UB(tint_volatile_true) while(true) {
TINT_ISOLATE_UB(tint_volatile_true_1) while(true) {
return;
}
bool const _e9 = true;
{
if ((_e9 || _e9)) { break; }
}
}
return;
}