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