dawn-cmake/test/tint/builtins/gen/literal/frexp/5257dd.wgsl.expected.wgsl

22 lines
283 B
WebGPU Shading Language
Raw Normal View History

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