Sign in
skia
/
skia.git
/
81fc1fc3bfe6112429f98abbdb07d71350827bfc
/
.
/
tests
/
sksl
/
workarounds
/
AbsInt.sksl
blob: e89bbd94048f94622c067a0472163184035140ec [
file
] [
log
] [
blame
]
/*#pragma settings EmulateAbsIntFunction*/
uniform
int
i
;
uniform
float
f
;
void
main
()
{
float
output
=
abs
(
f
)
+
abs
(
i
);
sk_FragColor
=
half4
(
half
(
output
));
}