Fixes crash for ARB shaders because they don't provide actual locations, triggered after rP26117.
Reported By: nwtour