mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 03:48:06 +02:00
venus: sync to latest protocol for ring status enum
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21542>
This commit is contained in:
parent
b96019f82b
commit
0b45893823
3 changed files with 30 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* This file is generated by venus-protocol git-67c7fc39. */
|
||||
/* This file is generated by venus-protocol git-b8ca40bb. */
|
||||
|
||||
/*
|
||||
* Copyright 2020 Google LLC
|
||||
|
|
|
|||
|
|
@ -359,6 +359,12 @@ typedef enum VkCommandFlagBitsEXT {
|
|||
VK_COMMAND_GENERATE_REPLY_BIT_EXT = 0x00000001,
|
||||
} VkCommandFlagBitsEXT;
|
||||
|
||||
typedef enum VkRingStatusFlagBitsMESA {
|
||||
VK_RING_STATUS_NONE_MESA = 0,
|
||||
VK_RING_STATUS_IDLE_BIT_MESA = 0x00000001,
|
||||
VK_RING_STATUS_FATAL_BIT_MESA = 0x00000002,
|
||||
} VkRingStatusFlagBitsMESA;
|
||||
|
||||
typedef VkFlags VkCommandFlagsEXT;
|
||||
|
||||
typedef VkFlags VkCommandStreamExecutionFlagsMESA;
|
||||
|
|
@ -367,6 +373,8 @@ typedef VkFlags VkRingCreateFlagsMESA;
|
|||
|
||||
typedef VkFlags VkRingNotifyFlagsMESA;
|
||||
|
||||
typedef VkFlags VkRingStatusFlagsMESA;
|
||||
|
||||
typedef struct VkCommandStreamDescriptionMESA {
|
||||
uint32_t resourceId;
|
||||
size_t offset;
|
||||
|
|
|
|||
|
|
@ -3256,4 +3256,25 @@ vn_decode_VkCommandTypeEXT(struct vn_cs_decoder *dec, VkCommandTypeEXT *val)
|
|||
vn_decode_int32_t(dec, (int32_t *)val);
|
||||
}
|
||||
|
||||
/* enum VkRingStatusFlagBitsMESA */
|
||||
|
||||
static inline size_t
|
||||
vn_sizeof_VkRingStatusFlagBitsMESA(const VkRingStatusFlagBitsMESA *val)
|
||||
{
|
||||
assert(sizeof(*val) == sizeof(int32_t));
|
||||
return vn_sizeof_int32_t((const int32_t *)val);
|
||||
}
|
||||
|
||||
static inline void
|
||||
vn_encode_VkRingStatusFlagBitsMESA(struct vn_cs_encoder *enc, const VkRingStatusFlagBitsMESA *val)
|
||||
{
|
||||
vn_encode_int32_t(enc, (const int32_t *)val);
|
||||
}
|
||||
|
||||
static inline void
|
||||
vn_decode_VkRingStatusFlagBitsMESA(struct vn_cs_decoder *dec, VkRingStatusFlagBitsMESA *val)
|
||||
{
|
||||
vn_decode_int32_t(dec, (int32_t *)val);
|
||||
}
|
||||
|
||||
#endif /* VN_PROTOCOL_DRIVER_TYPES_H */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue