2022-09-13 22:57:52 +00:00
|
|
|
enable f16;
|
|
|
|
|
|
|
|
fn saturate_462535() {
|
2022-11-10 00:32:12 +00:00
|
|
|
var res : vec3<f16> = saturate(vec3<f16>(2.0h));
|
2022-09-13 22:57:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@vertex
|
|
|
|
fn vertex_main() -> @builtin(position) vec4<f32> {
|
|
|
|
saturate_462535();
|
|
|
|
return vec4<f32>();
|
|
|
|
}
|
|
|
|
|
|
|
|
@fragment
|
|
|
|
fn fragment_main() {
|
|
|
|
saturate_462535();
|
|
|
|
}
|
|
|
|
|
|
|
|
@compute @workgroup_size(1)
|
|
|
|
fn compute_main() {
|
|
|
|
saturate_462535();
|
|
|
|
}
|