dawn-cmake/test/tint/builtins/gen/literal/smoothstep/392c19.wgsl.expected.wgsl

20 lines
361 B
WebGPU Shading Language

fn smoothstep_392c19() {
var res : vec2<f32> = smoothstep(vec2<f32>(), vec2<f32>(), vec2<f32>());
}
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
smoothstep_392c19();
return vec4<f32>();
}
@stage(fragment)
fn fragment_main() {
smoothstep_392c19();
}
@stage(compute) @workgroup_size(1)
fn compute_main() {
smoothstep_392c19();
}