Sign in
skia
/
skia
/
67c3ee616fb5014d483c5314900eea663f10f1e3
/
.
/
tests
/
sksl
/
workarounds
/
AbsIntStandaloneSettings.glsl
blob: 71c04ac3117bbeda754141c0bdeefc6abb518da6 [
file
] [
log
] [
blame
]
out
vec4 sk_FragColor
;
uniform
int
ui
;
uniform
float
uf
;
void
main
()
{
int
i
=
abs
(
ui
);
float
f
=
abs
(
uf
);
sk_FragColor
.
x
=
float
(
i
);
sk_FragColor
.
y
=
f
;
}