20 lines
308 B
WebGPU Shading Language
20 lines
308 B
WebGPU Shading Language
fn any_0e3e58() {
|
|
var res : bool = any(vec2<bool>());
|
|
}
|
|
|
|
[[stage(vertex)]]
|
|
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
|
any_0e3e58();
|
|
return vec4<f32>();
|
|
}
|
|
|
|
[[stage(fragment)]]
|
|
fn fragment_main() {
|
|
any_0e3e58();
|
|
}
|
|
|
|
[[stage(compute), workgroup_size(1)]]
|
|
fn compute_main() {
|
|
any_0e3e58();
|
|
}
|