Sign in
dawn
/
dawn
/
32718a5527fd85255ff4eb2d905517187ef3132b
/
.
/
test
/
tint
/
buffer
/
uniform
/
std140
/
struct
/
mat4x2
/
to_builtin.wgsl.expected.wgsl
blob: 59bf43d5de45a70354d9df202c8d0027ce95600e [
file
] [
log
] [
blame
]
struct
S
{
before
:
i32
,
m
:
mat4x2
<f32>
,
after
:
i32
,
}
@group
(
0
)
@binding
(
0
)
var
<uniform>
u
:
array
<
S
,
4
>;
@compute
@workgroup_size
(
1
)
fn f
()
{
let
t
=
transpose
(
u
[
2
].
m
);
let
l
=
length
(
u
[
0
].
m
[
1
].
yx
);
let
a
=
abs
(
u
[
0
].
m
[
1
].
yx
.
x
);
}