Sign in
skia
/
skia
/
97be28c4cc05231fe6e70dc32662c24700e731cc
/
.
/
tests
/
sksl
/
shared
/
ConstantIf.glsl
blob: 34040b91e0947fd0dcb0eba175a5479ed5f18179 [
file
] [
log
] [
blame
]
out
vec4 sk_FragColor
;
uniform vec4 colorGreen
;
uniform vec4 colorRed
;
vec4 main
()
{
int
a
=
0
;
int
b
=
0
;
int
c
=
0
;
int
d
=
0
;
a
=
1
;
b
=
2
;
c
=
5
;
return
((
a
==
1
&&
b
==
2
)
&&
c
==
5
)
&&
d
==
0
?
colorGreen
:
colorRed
;
}