dawn-cmake/test/tint/builtins/gen/var/ldexp/db8b49.wgsl.expected.wgsl

22 lines
321 B
WebGPU Shading Language
Raw Permalink Normal View History

fn ldexp_db8b49() {
var arg_0 = 1.0f;
var arg_1 = 1;
var res : f32 = ldexp(arg_0, arg_1);
}
@vertex
fn vertex_main() -> @builtin(position) vec4<f32> {
ldexp_db8b49();
return vec4<f32>();
}
@fragment
fn fragment_main() {
ldexp_db8b49();
}
@compute @workgroup_size(1)
fn compute_main() {
ldexp_db8b49();
}