11 lines
149 B
WebGPU Shading Language
11 lines
149 B
WebGPU Shading Language
|
fn call_discard() -> bool {
|
||
|
discard;
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
[[stage(fragment)]]
|
||
|
fn f() {
|
||
|
var v = call_discard();
|
||
|
var also_unreachable : bool;
|
||
|
}
|