Ensure shader reads as many samplers as AS3 sets