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