blob: 3f14c8892564f7d44a7b6accea59c66344794085 [file] [log] [blame]
enable f16;
fn degrees_dfe8f4() {
var res : vec3<f16> = degrees(vec3<f16>(1.0h));
prevent_dce = res;
}
@group(2) @binding(0) var<storage, read_write> prevent_dce : vec3<f16>;
@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();
}