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