Sign in
dawn
/
dawn
/
f4686675192881b3f18a8c6f708ba67edf442543
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
private
/
i32_in_struct.wgsl.expected.dxc.hlsl
blob: a2027f172acb3fb3edafb8b5213f21af50907cab [
file
] [
log
] [
blame
]
struct
str
{
int
i
;
};
int
func
(
inout
int
pointer
)
{
return
pointer
;
}
static
str P
=
(
str
)
0
;
[
numthreads
(
1
,
1
,
1
)]
void
main
()
{
const
int
r
=
func
(
P
.
i
);
return
;
}