http://bugs.winehq.org/show_bug.cgi?id=16444
--- Comment #14 from Stefan Dösinger stefandoesinger@gmx.at 2008-12-15 05:51:13 --- This check is mostly correct. One thing only: instead of checking if shaders are supported at all, we should check if the shader version of the shader passed in is supported.
So far we didn't check this because (a) we were too lazy to do this, and (b) ARBvp and ARBfp *almost* support 2.0 shaders, but not 100%. That way we got away with running some 2.0-requiring apps with ARB.
Still we should probably add such checks. Please write a test case showing that they are correct too.