dawn-cmake/test/tint/builtins/gen/literal/pow/46e029.wgsl.expected.wgsl

20 lines
272 B
WebGPU Shading Language
Raw Permalink Normal View History

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