Sign in
dawn
/
tint
/
5923803f7e84fe006be5de0e7e2d8090f910f430
/
.
/
test
/
layout
/
storage
/
mat2x2
/
f32.wgsl
blob: 2be17c3f45707dc62fdcf4dc00699f3169f6d7db [
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
;
}