Sign in
dawn
/
dawn
/
7efe4860c97b491c8bb2480ca4fcff3f8372cab9
/
.
/
test
/
tint
/
buffer
/
uniform
/
std140
/
unnested
/
mat3x2_f32
/
to_private.wgsl
blob: a8872a4aa29547315cfee4d582f3bd71d6e2df1b [
file
] [
log
] [
blame
]
@group
(
0
)
@binding
(
0
)
var
<uniform>
u
:
mat3x2
<f32>
;
var
<private>
p
:
mat3x2
<f32>
;
@compute
@workgroup_size
(
1
)
fn f
()
{
p
=
u
;
p
[
1
]
=
u
[
0
];
p
[
1
]
=
u
[
0
].
yx
;
p
[
0
][
1
]
=
u
[
1
][
0
];
}