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