Sign in
dawn
/
dawn
/
fb981c813468be14c415c0de132ad7c9f8b08aef
/
.
/
test
/
tint
/
buffer
/
uniform
/
std140
/
unnested
/
mat4x4_f32
/
to_fn.wgsl
blob: f149495dc383296ec531d85415df6e3419c23394 [
file
] [
log
] [
blame
]
@group
(
0
)
@binding
(
0
)
var
<uniform>
u
:
mat4x4
<f32>
;
fn a
(
m
:
mat4x4
<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
);
}