Sign in
dawn
/
dawn
/
2c4c3a10f47c7be432bcd4e00661be340fb226bb
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
function
/
struct_in_array.wgsl.expected.ir.glsl
blob: 35a00512a909a07aea91e71c99881a55aad65395 [
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
]);
}