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