Sign in
skia
/
skia
/
1d910efd245866af7dd9285419a179312ba69b47
/
.
/
resources
/
sksl
/
shared
/
StackingVectorCasts.sksl
blob: 84620a86f8caacde5b1a677f0dc4e249f3237b29 [
file
] [
log
] [
blame
]
uniform half4 colorGreen
,
colorRed
;
half4 main
(
float2 coords
)
{
if
(
half4
(
0
,
0
,
1
,
1
)
==
half4
(
int4
(
0
,
0
,
1
,
1
)))
return
colorGreen
;
else
return
colorRed
;
}