Sign in
skia
/
skia
/
3658238492093ca6039e939c34e8e721f5cbbc85
/
.
/
resources
/
sksl
/
inliner
/
TypeShadowing.sksl
blob: f0f69257c86e75549e3dac362f366b9b74b93b2c [
file
] [
log
] [
blame
]
uniform half4 colorRed
,
colorGreen
;
struct
S
{
int
c
;
};
bool
inner_test
()
{
S x
=
S
(
1
);
S y
=
S
(
1
);
return
x
==
y
;
}
bool
test
(
bool
S
)
{
return
inner_test
();
}
half4 main
(
float2 S
)
{
return
test
(
true
)
?
colorGreen
:
colorRed
;
}