freedreno/pps: Fix a signed/unsigned complaint.

../src/freedreno/ds/fd_pps_driver.cc:656:44: error: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} and 'const unsigned int' [-Werror=sign-compare]
  656 |             assert(d->assigned_counters[i] < g->num_counters);
cc1plus: all warnings being treated as errors

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20660>
This commit is contained in:
Emma Anholt 2023-01-11 16:32:00 -08:00 committed by Marge Bot
parent 302858c48c
commit 64455dc32b

View file

@ -59,7 +59,7 @@ private:
* The number of counters assigned per perfcntr group, the index
* into this matches the index into perfcntrs
*/
std::vector<int> assigned_counters;
std::vector<unsigned> assigned_counters;
/*
* Values that can be used by derived counters evaluation