dawn-cmake/test/tint/builtins/gen/literal/cosh/f67ff1.wgsl.expected.wgsl

20 lines
270 B
WebGPU Shading Language

fn cosh_f67ff1() {
var res = cosh(vec3(0.0));
}
@vertex
fn vertex_main() -> @builtin(position) vec4<f32> {
cosh_f67ff1();
return vec4<f32>();
}
@fragment
fn fragment_main() {
cosh_f67ff1();
}
@compute @workgroup_size(1)
fn compute_main() {
cosh_f67ff1();
}