zink: rewrite zink_query_start struct

making the non-pool members easier to zero

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21534>
This commit is contained in:
Mike Blumenkrantz 2023-02-22 13:12:34 -05:00 committed by Marge Bot
parent ed9909e3a0
commit 2a938c3e22

View file

@ -40,10 +40,15 @@ struct zink_vk_query {
};
struct zink_query_start {
union {
struct {
bool have_gs;
bool have_xfb;
bool was_line_loop;
};
uint32_t data;
};
struct zink_vk_query *vkq[PIPE_MAX_VERTEX_STREAMS];
bool have_gs;
bool have_xfb;
bool was_line_loop;
};
struct zink_query {