Henri Verbeet : wined3d: Get resource info from the texture in wined3d_volume_upload_data().