Sign in
cobalt
/
cobalt
/
25902c6cb1ab9cfd8ae2ee6b0fb52953f73deda5
/
.
/
third_party
/
skia
/
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
;
}