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

20 lines
285 B
WebGPU Shading Language
Raw Normal View History

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