I upgraded my graphics card recently to a GTX 1070 - https://www.newegg.com/Product/Product.aspx?Item=N82E16814125871 - and I have a problem trying to use optifine shaders. Everything graphically bugs out completely. Optifine seems to work fine as long shaders aren't active.
It says it's an OpenGL Error - 1282
Some packs like Wisdom Shaders have flickering and a lot of transparent stuff while other packs show everything as a solid color.