mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 07:10:15 +01:00
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:
parent
27dd9fd677
commit
67bcdbf4a1
1 changed files with 1 additions and 2 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue