Sign in
dawn
/
dawn
/
5cc118bde79d652a1cebab96cd8b8f198be8aaa9
/
.
/
test
/
tint
/
buffer
/
uniform
/
std140
/
array
/
mat4x4_f32
/
to_private.wgsl.expected.wgsl
blob: b309aadc79d84f62bd62ccb6a9a2c714f1c92e1a [
file
] [
log
] [
blame
]
@group
(
0
)
@binding
(
0
)
var
<uniform>
u
:
array
<
mat4x4
<f32>
,
4
>;
var
<private>
p
:
array
<
mat4x4
<f32>
,
4
>;
@compute
@workgroup_size
(
1
)
fn f
()
{
p
=
u
;
p
[
1
]
=
u
[
2
];
p
[
1
][
0
]
=
u
[
0
][
1
].
ywxz
;
p
[
1
][
0
].
x
=
u
[
0
][
1
].
x
;
}