Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
skia
/
7a3f5506b65ca3a05eed8c07cf341bc334cab121
/
.
/
tests
/
sksl
/
workarounds
/
MinAndAbsTogether.glsl
blob: 226d103a96793e05f25846df76cc019987db88a8 [
file
] [
log
] [
blame
]
#version 400
out
vec4 sk_FragColor
;
void
main
()
{
float
minAbsHackVar0
;
float
minAbsHackVar1
;
float
x
=
-
5.0
;
sk_FragColor
.
x
=
((
minAbsHackVar0
=
abs
(
x
))
<
(
minAbsHackVar1
=
6.0
)
?
minAbsHackVar0
:
minAbsHackVar1
);
}