Sign in
skia
/
skia
/
db2326b46a47edeeec7ebf38cd8e3732c1f494c3
/
.
/
resources
/
sksl
/
fp
/
GrConditionalInUniform.fp
blob: f89e8f9c81273fd62db39a1f82ee70e467870a55 [
file
] [
log
] [
blame
]
layout
(
key
)
in
bool
test
;
layout
(
ctype
=
SkPMColor4f
,
tracked
,
when
=
test
)
in
uniform half4 color
;
half4 main
()
{
if
(
test
)
{
return
color
;
}
else
{
return
half4
(
1
);
}
}