Sign in
dawn
/
dawn
/
adaa316da8417eba6b63f981351c2908341b67dc
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
function
/
struct_in_array.wgsl.expected.ir.glsl
blob: f49a0a78f5dd93fbf1bfa833be088f4731e1f943 [
file
] [
log
] [
blame
]
#version 310 es
struct
str
{
int
i
;
};
str func
(
inout str pointer
)
{
return
pointer
;
}
layout
(
local_size_x
=
1
,
local_size_y
=
1
,
local_size_z
=
1
)
in
;
void
main
()
{
str F
[
4
]
=
str
[
4
](
str
(
0
),
str
(
0
),
str
(
0
),
str
(
0
));
str r
=
func
(
F
[
2
]);
}