dawn-cmake/test/intrinsics/gen/cosh/da92dd.wgsl.expected.wgsl

20 lines
291 B
WebGPU Shading Language

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