Sign in
dawn
/
dawn
/
2a7005f4161fe3088544faa6557aaaa85a9cbf77
/
.
/
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
;
}