Henri Verbeet : wined3d: Take the layer index into account in wined3d_shader_resource_view_gl_generate_mipmap().