Please, could you add attribute for type of light, that will be sent to shader? Something like this...
uniform lowp int lightTypes[8];
For me is impossible to solve this problem in another way...
I wrote per-pixel spotlight, but I can't use point light and spotlight together...
edit: oh, and of course it's needs next attribute like light direction, spot cut off and spot exp... so maybe add some user variable?