Sign in
skia
/
skia
/
97be28c4cc05231fe6e70dc32662c24700e731cc
/
.
/
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
);
}