So I searched all over the internet for this, and haven't found many answers. I'm using ARB shaders in my code for pure convenience, I don't work much with more expensive shading and for compatibility reasons I want to stick to it, but after switching to an AMD graphics card, more specifically an AMD Raden HD 5480 model, my shadow mapping shaders stopped functioning.

While ARB_shadow works fine with fixed pipeline, the shader version does not want to. I'm wondering, is there a way to solve this without having to do the compare in the shader code?