dawn-cmake/test/tint/builtins/gen/var/tanh/c48aa6.wgsl.expected.wgsl

21 lines
293 B
WebGPU Shading Language
Raw Normal View History

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