Sign in
dawn
/
tint
/
fb91e3c8f378a4a5d709e45667f3b22d500b15eb
/
.
/
test
/
layout
/
storage
/
mat2x2
/
f32.wgsl
blob: c0cdb0187880b902e3344e0dd06a0c37b84c2088 [
file
] [
log
] [
blame
]
[[
block
]]
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
;
}