dawn-cmake/test/tint/builtins/gen/var/exp2/f4f0f1.wgsl.expected.wgsl

21 lines
287 B
WebGPU Shading Language
Raw Normal View History

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