• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*#pragma settings MustForceNegatedLdexpParamToMultiply*/
2
3uniform float unknownFloat;
4uniform int unknownInt;
5
6void main() {
7    float m = unknownFloat;
8    int x = unknownInt;
9    sk_FragColor.r = half(ldexp(m, -x));
10    sk_FragColor.g = half(ldexp(m, -(x + 1)));
11    sk_FragColor.b = half(ldexp(m, -x - 1));
12}
13