Files
mesa/src
Kevin Chuang f8ccf70c99 anv: Properly fetch partial results in vkGetQueryPoolResults
Currently for an "unavailable" query, if VK_QUERY_RESULT_PARTIAL_BIT is
set, anv will return (slot.end - slot.begin). This can cause underflow
because slot.end might still be at the initial value of 0.

This commit fixes the issue by returning 0 in that situation.

Cc: mesa-stable
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29447>
2024-05-29 18:03:28 +00:00
..
2024-05-21 11:57:55 +00:00
2024-05-10 18:49:38 +00:00
2024-05-01 00:47:59 +02:00
2024-05-29 06:41:03 +00:00
2024-05-28 15:04:14 +00:00
2024-05-24 02:34:45 +00:00