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