2021-06-09 14:32:14 +00:00
|
|
|
fn transpose_31d679() {
|
|
|
|
var res : mat2x2<f32> = transpose(mat2x2<f32>());
|
|
|
|
}
|
|
|
|
|
|
|
|
[[stage(vertex)]]
|
|
|
|
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
|
|
|
transpose_31d679();
|
|
|
|
return vec4<f32>();
|
|
|
|
}
|
|
|
|
|
|
|
|
[[stage(fragment)]]
|
|
|
|
fn fragment_main() {
|
|
|
|
transpose_31d679();
|
|
|
|
}
|
|
|
|
|
2021-06-29 18:39:44 +00:00
|
|
|
[[stage(compute), workgroup_size(1)]]
|
2021-06-09 14:32:14 +00:00
|
|
|
fn compute_main() {
|
|
|
|
transpose_31d679();
|
|
|
|
}
|