Sign in
dawn
/
tint
/
8ebff3dc85e7997e39592c52e20a4e134baffca8
/
.
/
test
/
unittest
/
reader
/
spirv
/
SpvParserFunctionVarTest_EmitStatement_Hoist_UsedAsNonPtrArg.spvasm.expected.wgsl
blob: 99f2a9a1d18651fc2f16dbbae8167970ccf9a98c [
file
] [
log
] [
blame
]
struct
S
{
field0
:
u32
;
field1
:
f32
;
field2
:
array
<
u32
,
2
>;
};
fn x_500
(
x_501
:
i32
)
{
return
;
}
fn main_1
()
{
var
x_200
:
i32
;
if
(
true
)
{
x_200
=
1
;
}
else
{
return
;
}
x_500
(
x_200
);
return
;
}
[[
stage
(
fragment
)]]
fn main
()
{
main_1
();
}