v3dv: fix copying v3dv_end_query_info into primaries from secondaries
We had missed copying the count field. Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27978>
This commit is contained in:
committed by
Marge Bot
parent
93f9f2bcbb
commit
e1b52e3052
@@ -2014,8 +2014,7 @@ cmd_buffer_copy_secondary_end_query_state(struct v3dv_cmd_buffer *primary,
|
||||
struct v3dv_end_query_info *p_qstate =
|
||||
&p_state->query.end.states[p_state->query.end.used_count++];
|
||||
|
||||
p_qstate->pool = s_qstate->pool;
|
||||
p_qstate->query = s_qstate->query;
|
||||
memcpy(p_qstate, s_qstate, sizeof(struct v3dv_end_query_info));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user