dawn-cmake/test/tint/bug/tint/1369.wgsl.expected.wgsl

11 lines
135 B
WebGPU Shading Language

fn call_discard() -> bool {
discard;
return true;
}
@fragment
fn f() {
var v = call_discard();
var also_unreachable : bool;
}