2022-06-01 19:49:50 +00:00
|
|
|
builtins/gen/literal/smoothstep/c11eef.wgsl:28:24 warning: use of deprecated builtin
|
2022-03-30 17:57:39 +00:00
|
|
|
var res: vec2<f32> = smoothStep(vec2<f32>(), vec2<f32>(), vec2<f32>());
|
|
|
|
^^^^^^^^^^
|
|
|
|
|
2021-06-03 11:26:17 +00:00
|
|
|
fn smoothStep_c11eef() {
|
|
|
|
var res : vec2<f32> = smoothStep(vec2<f32>(), vec2<f32>(), vec2<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_c11eef();
|
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_c11eef();
|
|
|
|
}
|
|
|
|
|
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_c11eef();
|
|
|
|
}
|