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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user