2021-06-09 14:32:14 +00:00
|
|
|
fn transpose_2585cd() {
|
|
|
|
var res : mat3x4<f32> = transpose(mat4x3<f32>());
|
|
|
|
}
|
|
|
|
|
|
|
|
[[stage(vertex)]]
|
|
|
|
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
|
|
|
transpose_2585cd();
|
|
|
|
return vec4<f32>();
|
|
|
|
}
|
|
|
|
|
|
|
|
[[stage(fragment)]]
|
|
|
|
fn fragment_main() {
|
|
|
|
transpose_2585cd();
|
|
|
|
}
|
|
|
|
|
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_2585cd();
|
|
|
|
}
|