Sign in
dawn
/
dawn
/
fb981c813468be14c415c0de132ad7c9f8b08aef
/
.
/
test
/
tint
/
buffer
/
uniform
/
std140
/
unnested
/
mat3x3_f32
/
to_storage.wgsl
blob: 21b61b284ae88a51f2f7c6459805b09d4b4ba2d1 [
file
] [
log
] [
blame
]
@group
(
0
)
@binding
(
0
)
var
<uniform>
u
:
mat3x3
<f32>
;
@group
(
0
)
@binding
(
1
)
var
<
storage
,
read_write
>
s
:
mat3x3
<f32>
;
@compute
@workgroup_size
(
1
)
fn f
()
{
s
=
u
;
s
[
1
]
=
u
[
0
];
s
[
1
]
=
u
[
0
].
zxy
;
s
[
0
][
1
]
=
u
[
1
][
0
];
}