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