Moving light sources on mobile?

The thing that should work on every device with at full ES2 support is this:

And then, as a function to find 1 closest light you do this:

Works beautifully on Adreno 330 phone (Xperia Z1 Compact: 50-40 fps).