dawn-cmake/test/tint/builtins/gen/literal/radians/6b0ff2.wgsl.expected.wgsl

20 lines
306 B
WebGPU Shading Language
Raw Normal View History

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