mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 15:50:17 +01:00
intel/perf: Fix unused var warning in release builds.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5829>
This commit is contained in:
parent
afe07c7fa7
commit
d4e56930c2
1 changed files with 1 additions and 1 deletions
|
|
@ -866,7 +866,7 @@ gen_perf_get_counters_passes(struct gen_perf_config *perf,
|
|||
struct gen_perf_counter_pass *counter_pass)
|
||||
{
|
||||
uint64_t queries_mask = get_passes_mask(perf, counter_indices, counter_indices_count);
|
||||
uint32_t n_passes = __builtin_popcount(queries_mask);
|
||||
ASSERTED uint32_t n_passes = __builtin_popcount(queries_mask);
|
||||
|
||||
for (uint32_t i = 0; i < counter_indices_count; i++) {
|
||||
assert(counter_indices[i] < perf->n_counters);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue