Henri Verbeet : wined3d: Explicitly check the shader type in shader_generate_glsl_declarations().