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