venus: add cs helper stubs to be used by protocol

Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15495>
This commit is contained in:
Yiwei Zhang 2022-03-22 20:34:41 +00:00 committed by Marge Bot
parent 2223f13b26
commit 0de968f71c

View file

@ -81,6 +81,18 @@ struct vn_cs_decoder {
const void *end;
};
static inline bool
vn_cs_renderer_protocol_has_api_version(UNUSED uint32_t api_version)
{
return true;
}
static inline bool
vn_cs_renderer_protocol_has_extension(UNUSED uint32_t ext_number)
{
return true;
}
void
vn_cs_encoder_init(struct vn_cs_encoder *enc,
struct vn_instance *instance,