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