dawn-cmake/test/tint/builtins/gen/var/acos/15d35b.wgsl.expected.wgsl

21 lines
309 B
WebGPU Shading Language

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