Matteo Bruni : wined3d: When creating a new shader, check shader type and version.