21 lines
333 B
WebGPU Shading Language
21 lines
333 B
WebGPU Shading Language
fn modf_c82e3f() {
|
|
var arg_1 : vec4<f32>;
|
|
var res : vec4<f32> = modf(vec4<f32>(), &(arg_1));
|
|
}
|
|
|
|
[[stage(vertex)]]
|
|
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
|
modf_c82e3f();
|
|
return vec4<f32>();
|
|
}
|
|
|
|
[[stage(fragment)]]
|
|
fn fragment_main() {
|
|
modf_c82e3f();
|
|
}
|
|
|
|
[[stage(compute)]]
|
|
fn compute_main() {
|
|
modf_c82e3f();
|
|
}
|