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