dawn-cmake/test/tint/builtins/gen/literal/degrees/d43a49.wgsl.expected.wgsl

20 lines
285 B
WebGPU Shading Language

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