Sign in
dawn
/
dawn
/
2a7005f4161fe3088544faa6557aaaa85a9cbf77
/
.
/
test
/
tint
/
buffer
/
uniform
/
std140
/
unnested
/
mat4x2_f32
/
to_private.wgsl
blob: 49dd6168c22e02578a7416516c6944995c3a9e1c [
file
] [
log
] [
blame
]
@group
(
0
)
@binding
(
0
)
var
<uniform>
u
:
mat4x2
<f32>
;
var
<private>
p
:
mat4x2
<f32>
;
@compute
@workgroup_size
(
1
)
fn f
()
{
p
=
u
;
p
[
1
]
=
u
[
0
];
p
[
1
]
=
u
[
0
].
yx
;
p
[
0
][
1
]
=
u
[
1
][
0
];
}