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