Sign in
dawn
/
dawn
/
c94696afdd69e12498cc026d7b47178cd0c68721
/
.
/
test
/
tint
/
buffer
/
uniform
/
std140
/
unnested
/
mat4x2
/
to_storage.wgsl.expected.wgsl
blob: e2489511a0fb11452116967441d69f08d26b859a [
file
] [
log
] [
blame
]
@group
(
0
)
@binding
(
0
)
var
<uniform>
u
:
mat4x2
<f32>
;
@group
(
0
)
@binding
(
1
)
var
<
storage
,
read_write
>
s
:
mat4x2
<f32>
;
@compute
@workgroup_size
(
1
)
fn f
()
{
s
=
u
;
s
[
1
]
=
u
[
0
];
s
[
1
]
=
u
[
0
].
yx
;
s
[
0
][
1
]
=
u
[
1
][
0
];
}