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