2022-06-01 19:49:50 +00:00
|
|
|
builtins/gen/literal/smoothstep/5f615b.wgsl:28:24 warning: use of deprecated builtin
|
2022-03-30 17:57:39 +00:00
|
|
|
var res: vec4<f32> = smoothStep(vec4<f32>(), vec4<f32>(), vec4<f32>());
|
|
|
|
^^^^^^^^^^
|
|
|
|
|
2021-06-03 11:26:17 +00:00
|
|
|
fn smoothStep_5f615b() {
|
|
|
|
var res : vec4<f32> = smoothStep(vec4<f32>(), vec4<f32>(), vec4<f32>());
|
|
|
|
}
|
|
|
|
|
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
|
|
|
smoothStep_5f615b();
|
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() {
|
|
|
|
smoothStep_5f615b();
|
|
|
|
}
|
|
|
|
|
2022-01-19 22:46:57 +00:00
|
|
|
@stage(compute) @workgroup_size(1)
|
2021-06-03 11:26:17 +00:00
|
|
|
fn compute_main() {
|
|
|
|
smoothStep_5f615b();
|
|
|
|
}
|