Sign in
skia
/
skia
/
97be28c4cc05231fe6e70dc32662c24700e731cc
/
.
/
tests
/
sksl
/
shared
/
DependentInitializers.glsl
blob: e8a9583d70584797f0e4615a42bf25f53348d947 [
file
] [
log
] [
blame
]
out
vec4 sk_FragColor
;
uniform vec4 colorGreen
;
uniform vec4 colorRed
;
vec4 main
()
{
float
x
=
0.5
;
float
y
=
x
*
2.0
;
return
y
==
1.0
?
colorGreen
:
colorRed
;
}