2022-02-02 23:07:11 +00:00
|
|
|
builtins/gen/isNan/e4978e.wgsl:28:19 warning: use of deprecated builtin
|
2021-11-23 18:57:57 +00:00
|
|
|
var res: bool = isNan(1.0);
|
|
|
|
^^^^^
|
|
|
|
|
2021-06-03 11:26:17 +00:00
|
|
|
fn isNan_e4978e() {
|
|
|
|
var res : bool = isNan(1.0);
|
|
|
|
}
|
|
|
|
|
2022-01-19 22:46:57 +00:00
|
|
|
@stage(vertex)
|
|
|
|
fn vertex_main() -> @builtin(position) vec4<f32> {
|
2021-06-03 11:26:17 +00:00
|
|
|
isNan_e4978e();
|
2021-06-04 17:31:48 +00:00
|
|
|
return vec4<f32>();
|
2021-06-03 11:26:17 +00:00
|
|
|
}
|
|
|
|
|
2022-01-19 22:46:57 +00:00
|
|
|
@stage(fragment)
|
2021-06-03 11:26:17 +00:00
|
|
|
fn fragment_main() {
|
|
|
|
isNan_e4978e();
|
|
|
|
}
|
|
|
|
|
2022-01-19 22:46:57 +00:00
|
|
|
@stage(compute) @workgroup_size(1)
|
2021-06-03 11:26:17 +00:00
|
|
|
fn compute_main() {
|
|
|
|
isNan_e4978e();
|
|
|
|
}
|