Sign in
dawn
/
tint
/
9360046a86f67db1794f05ad33655e3305bfa695
/
.
/
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
;
}