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

11 lines
146 B
WebGPU Shading Language
Raw Normal View History

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