Sign in
cobalt
/
cobalt
/
25902c6cb1ab9cfd8ae2ee6b0fb52953f73deda5
/
.
/
third_party
/
skia
/
tests
/
sksl
/
workarounds
/
NegatedLdexpStandaloneSettings.glsl
blob: 1180f3d121f8bbefae030ade7ea819f7b5c34f66 [
file
] [
log
] [
blame
]
out
vec4 sk_FragColor
;
uniform
float
unknownFloat
;
uniform
int
unknownInt
;
void
main
()
{
float
m
=
unknownFloat
;
int
x
=
unknownInt
;
sk_FragColor
.
x
=
ldexp
(
m
,
-
x
);
sk_FragColor
.
y
=
ldexp
(
m
,
-(
x
+
1
));
sk_FragColor
.
z
=
ldexp
(
m
,
-
x
-
1
);
}