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

20 lines
271 B
WebGPU Shading Language

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