Sign in
dawn
/
dawn
/
7efe4860c97b491c8bb2480ca4fcff3f8372cab9
/
.
/
test
/
tint
/
buffer
/
uniform
/
std140
/
unnested
/
mat2x4_f32
/
to_fn.wgsl
blob: 227b46c3ccc7c95b55f4769eb465feb4276189c0 [
file
] [
log
] [
blame
]
@group
(
0
)
@binding
(
0
)
var
<uniform>
u
:
mat2x4
<f32>
;
fn a
(
m
:
mat2x4
<f32>
)
{}
fn b
(
v
:
vec4
<f32>
)
{}
fn c
(
f
:
f32
)
{}
@compute
@workgroup_size
(
1
)
fn f
()
{
a
(
u
);
b
(
u
[
1
]);
b
(
u
[
1
].
ywxz
);
c
(
u
[
1
].
x
);
c
(
u
[
1
].
ywxz
.
x
);
}