dawn-cmake/test/tint/builtins/gen/literal/saturate/78b37c.wgsl.expected.wgsl

20 lines
282 B
WebGPU Shading Language
Raw Normal View History

fn saturate_78b37c() {
var res = saturate(2);
}
@vertex
fn vertex_main() -> @builtin(position) vec4<f32> {
saturate_78b37c();
return vec4<f32>();
}
@fragment
fn fragment_main() {
saturate_78b37c();
}
@compute @workgroup_size(1)
fn compute_main() {
saturate_78b37c();
}