Sign in
dawn
/
tint
/
1c6c6b19ab9c4a357f11f32bce4c3cbe17ada13e
/
.
/
test
/
layout
/
storage
/
mat2x2
/
f32.wgsl
blob: 3b2c0bf32f04fd879074588701d6186fa721f9b6 [
file
] [
log
] [
blame
]
struct
SSBO
{
m
:
mat2x2
<f32>
;
};
@group
(
0
)
@binding
(
0
)
var
<
storage
,
read_write
>
ssbo
:
SSBO
;
@stage
(
compute
)
@workgroup_size
(
1
)
fn f
()
{
let
v
=
ssbo
.
m
;
ssbo
.
m
=
v
;
}