virgl: move new added field to the end.

This field was introduced 2 months ago and it breaks virgl
compatibility between guest/host. Switch the new added field
to the end. We will still have compatibility issue but the
"bug window" is much smaller.

Fixes: e778aceaae ("virgl: update headers")

Signed-off-by: Lepton Wu <lepton@chromium.org>
Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10333>
(cherry picked from commit 5322572c78)
This commit is contained in:
Lepton Wu 2021-04-19 14:18:58 -07:00 committed by Eric Engestrom
parent 7359a3cc1a
commit 3bf3eb13cb
2 changed files with 2 additions and 2 deletions

View file

@ -472,7 +472,7 @@
"description": "virgl: move new added field to the end.",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"master_sha": null,
"because_sha": "e778aceaae0505e4d3bc322f689338f18d662090"
},

View file

@ -593,8 +593,8 @@ struct virgl_caps_v2 {
uint32_t host_feature_check_version;
struct virgl_supported_format_mask supported_readback_formats;
struct virgl_supported_format_mask scanout;
uint32_t max_video_memory;
uint32_t capability_bits_v2;
uint32_t max_video_memory;
};
union virgl_caps {