lavapipe: Change lvp_cmd_type to anonymous enum

Fixes a build failure when using -Wenum-conversion.

Signed-off-by: Corentin Noël <corentin.noel@collabora.com>
Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33713>
This commit is contained in:
Corentin Noël 2025-02-24 15:56:51 +01:00 committed by Marge Bot
parent 1befb22ebb
commit a17d286dc4

View file

@ -845,7 +845,7 @@ struct lvp_cmd_encode_as {
VkGeometryTypeKHR geometry_type;
};
enum lvp_cmd_type {
enum {
LVP_CMD_WRITE_BUFFER_CP = VK_CMD_TYPE_COUNT,
LVP_CMD_DISPATCH_UNALIGNED,
LVP_CMD_FILL_BUFFER_ADDR,