22 lines
281 B
WebGPU Shading Language
22 lines
281 B
WebGPU Shading Language
enable f16;
|
|
|
|
fn modf_8dbbbf() {
|
|
var res = modf(-(1.5h));
|
|
}
|
|
|
|
@vertex
|
|
fn vertex_main() -> @builtin(position) vec4<f32> {
|
|
modf_8dbbbf();
|
|
return vec4<f32>();
|
|
}
|
|
|
|
@fragment
|
|
fn fragment_main() {
|
|
modf_8dbbbf();
|
|
}
|
|
|
|
@compute @workgroup_size(1)
|
|
fn compute_main() {
|
|
modf_8dbbbf();
|
|
}
|