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