dawn-cmake/test/tint/builtins/gen/var/smoothstep/0c4ffc.wgsl.expected.wgsl

23 lines
391 B
WebGPU Shading Language
Raw Normal View History

fn smoothstep_0c4ffc() {
const arg_0 = vec4(2.0);
const arg_1 = vec4(4.0);
const arg_2 = vec4(3.0);
var res = smoothstep(arg_0, arg_1, arg_2);
}
@vertex
fn vertex_main() -> @builtin(position) vec4<f32> {
smoothstep_0c4ffc();
return vec4<f32>();
}
@fragment
fn fragment_main() {
smoothstep_0c4ffc();
}
@compute @workgroup_size(1)
fn compute_main() {
smoothstep_0c4ffc();
}