2021-11-19 21:52:13 +00:00
|
|
|
fn modf_180fed() {
|
2021-07-23 16:43:01 +00:00
|
|
|
var res = modf(1.0);
|
|
|
|
}
|
|
|
|
|
2022-06-07 13:55:34 +00:00
|
|
|
@vertex
|
2022-01-19 22:46:57 +00:00
|
|
|
fn vertex_main() -> @builtin(position) vec4<f32> {
|
2021-11-19 21:52:13 +00:00
|
|
|
modf_180fed();
|
2021-07-23 16:43:01 +00:00
|
|
|
return vec4<f32>();
|
|
|
|
}
|
|
|
|
|
2022-06-07 13:55:34 +00:00
|
|
|
@fragment
|
2021-07-23 16:43:01 +00:00
|
|
|
fn fragment_main() {
|
2021-11-19 21:52:13 +00:00
|
|
|
modf_180fed();
|
2021-07-23 16:43:01 +00:00
|
|
|
}
|
|
|
|
|
2022-06-07 13:55:34 +00:00
|
|
|
@compute @workgroup_size(1)
|
2021-07-23 16:43:01 +00:00
|
|
|
fn compute_main() {
|
2021-11-19 21:52:13 +00:00
|
|
|
modf_180fed();
|
2021-07-23 16:43:01 +00:00
|
|
|
}
|