d3d8: Only test pixel shaders if they are supported.