| commit | 8a47ae456cbae85508ec8bff73c9ec0020edd552 | [log] [tgz] |
|---|---|---|
| author | John Anthony <john.anthony@arm.com> | Wed Mar 12 10:21:21 2025 +0100 |
| committer | Marge Bot <emma+marge@anholt.net> | Wed Mar 12 14:22:39 2025 +0000 |
| tree | a4fb8cbe627313dd3abf0448f3266931ffcc166b | |
| parent | 43c99d3928b31e7b2b0fc25250b45fade83f8a06 [diff] |
panvk: Avoid division by zero for vkCmdCopyQueryPoolResults
Stride can be zero if there are less than two queries to copy.
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Fixes: 7755c41b3ef ("panvk/csf: Rework the occlusion query logic to avoid draw flushes")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34020>