Sign in
dawn
/
dawn
/
fb981c813468be14c415c0de132ad7c9f8b08aef
/
.
/
test
/
tint
/
buffer
/
uniform
/
std140
/
unnested
/
mat2x4_f32
/
to_workgroup.wgsl
blob: 6d92e5a12239f4ba21da8c66690df279941780c6 [
file
] [
log
] [
blame
]
@group
(
0
)
@binding
(
0
)
var
<uniform>
u
:
mat2x4
<f32>
;
var
<workgroup>
w
:
mat2x4
<f32>
;
@compute
@workgroup_size
(
1
)
fn f
()
{
w
=
u
;
w
[
1
]
=
u
[
0
];
w
[
1
]
=
u
[
0
].
ywxz
;
w
[
0
][
1
]
=
u
[
1
][
0
];
}