Sign in
dawn
/
dawn
/
efda280eda8096c31cb7fbc7a5b895773559a8bb
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
function
/
i32_in_struct.wgsl.expected.fxc.hlsl
blob: f7260640ff756fb08a547f9388293476f13ed2b1 [
file
] [
log
] [
blame
]
struct
str
{
int
i
;
};
int
func
(
inout
int
pointer
)
{
return
pointer
;
}
[
numthreads
(
1
,
1
,
1
)]
void
main
()
{
str F
=
(
str
)
0
;
const
int
r
=
func
(
F
.
i
);
return
;
}