22 lines
322 B
WebGPU Shading Language
22 lines
322 B
WebGPU Shading Language
|
enable f16;
|
||
|
|
||
|
fn saturate_462535() {
|
||
|
var res : vec3<f16> = saturate(vec3<f16>(f16()));
|
||
|
}
|
||
|
|
||
|
@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();
|
||
|
}
|