Sign in
dawn
/
dawn
/
c223ae26ec19db3a1b3a5ce0c8c19e234037da1d
/
.
/
test
/
tint
/
buffer
/
uniform
/
std140
/
array
/
mat2x4_f16
/
to_workgroup.wgsl
blob: 50ba4dac5730c8a13f92ee793f8bb1918413423e [
file
] [
log
] [
blame
]
enable f16
;
@group
(
0
)
@binding
(
0
)
var
<uniform>
u
:
array
<
mat2x4
<f16>
,
4
>;
var
<workgroup>
w
:
array
<
mat2x4
<f16>
,
4
>;
@compute
@workgroup_size
(
1
)
fn f
()
{
w
=
u
;
w
[
1
]
=
u
[
2
];
w
[
1
][
0
]
=
u
[
0
][
1
].
ywxz
;
w
[
1
][
0
].
x
=
u
[
0
][
1
].
x
;
}