22 lines
321 B
WebGPU Shading Language
22 lines
321 B
WebGPU Shading Language
|
enable f16;
|
||
|
|
||
|
fn ldexp_7485ce() {
|
||
|
var res : vec3<f16> = ldexp(vec3<f16>(f16()), vec3<i32>(1));
|
||
|
}
|
||
|
|
||
|
@vertex
|
||
|
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||
|
ldexp_7485ce();
|
||
|
return vec4<f32>();
|
||
|
}
|
||
|
|
||
|
@fragment
|
||
|
fn fragment_main() {
|
||
|
ldexp_7485ce();
|
||
|
}
|
||
|
|
||
|
@compute @workgroup_size(1)
|
||
|
fn compute_main() {
|
||
|
ldexp_7485ce();
|
||
|
}
|