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