Sign in
skia
/
skia
/
3c1917983bdb516599ec8e24634b0d03d9eb36f5
/
.
/
tests
/
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
);
}
}