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

22 lines
317 B
WebGPU Shading Language
Raw Normal View History

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