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

21 lines
293 B
WebGPU Shading Language

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