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