mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 20:50:09 +01:00
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:
parent
ed9909e3a0
commit
2a938c3e22
1 changed files with 8 additions and 3 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue