2022-02-02 23:07:11 +00:00
|
|
|
builtins/gen/isFinite/426f9f.wgsl:28:19 warning: use of deprecated builtin
|
2021-11-23 18:57:57 +00:00
|
|
|
var res: bool = isFinite(1.0);
|
|
|
|
^^^^^^^^
|
|
|
|
|
2021-06-03 11:26:17 +00:00
|
|
|
fn isFinite_426f9f() {
|
|
|
|
var res : bool = isFinite(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
|
|
|
isFinite_426f9f();
|
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() {
|
|
|
|
isFinite_426f9f();
|
|
|
|
}
|
|
|
|
|
2022-01-19 22:46:57 +00:00
|
|
|
@stage(compute) @workgroup_size(1)
|
2021-06-03 11:26:17 +00:00
|
|
|
fn compute_main() {
|
|
|
|
isFinite_426f9f();
|
|
|
|
}
|