dawn-cmake/test/tint/builtins/gen/literal/asin/11dfda.wgsl.expected.wgsl

22 lines
292 B
WebGPU Shading Language
Raw Normal View History

enable f16;
fn asin_11dfda() {
var res : f16 = asin(0.479248047h);
}
@vertex
fn vertex_main() -> @builtin(position) vec4<f32> {
asin_11dfda();
return vec4<f32>();
}
@fragment
fn fragment_main() {
asin_11dfda();
}
@compute @workgroup_size(1)
fn compute_main() {
asin_11dfda();
}