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