dawn-cmake/test/tint/builtins/gen/literal/tanh/6289fd.wgsl.expected.wgsl

20 lines
270 B
WebGPU Shading Language
Raw Normal View History

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