hasvk: remove useless uint >= 0 check

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31214>
This commit is contained in:
Dylan Baker 2024-09-17 12:07:45 -07:00 committed by Marge Bot
parent 27dd9fd677
commit 67bcdbf4a1

View file

@ -2154,8 +2154,7 @@ anv_queue_exec_locked(struct anv_queue *queue,
if (result != VK_SUCCESS)
goto error;
const bool has_perf_query =
perf_query_pool && perf_query_pass >= 0 && cmd_buffer_count;
const bool has_perf_query = perf_query_pool && cmd_buffer_count;
if (INTEL_DEBUG(DEBUG_SUBMIT)) {
fprintf(stderr, "Batch offset=0x%x len=0x%x on queue 0\n",