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