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

22 lines
316 B
WebGPU Shading Language

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