diff options
author | Matt Turner <[email protected]> | 2020-01-21 15:07:24 -0800 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-01-23 01:52:43 +0000 |
commit | 4413537c80b58978f61f468a5a36d1d75756d6b3 (patch) | |
tree | 67363cae1c92d1d406bee03f5016318bc55b5c78 /src/mesa/state_tracker | |
parent | d3eb2a0951ede3c7dcce891c3a153f3ebbb59bae (diff) |
util: Remove tmp argument from BITSET_FOREACH_SET macro
Reviewed-by: Jason Ekstrand <[email protected]>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3499>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3499>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_cb_perfmon.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_cb_perfmon.c b/src/mesa/state_tracker/st_cb_perfmon.c index 914831f3d03..8025cb4a452 100644 --- a/src/mesa/state_tracker/st_cb_perfmon.c +++ b/src/mesa/state_tracker/st_cb_perfmon.c @@ -88,9 +88,8 @@ init_perf_monitor(struct gl_context *ctx, struct gl_perf_monitor_object *m) for (gid = 0; gid < ctx->PerfMonitor.NumGroups; gid++) { const struct gl_perf_monitor_group *g = &ctx->PerfMonitor.Groups[gid]; const struct st_perf_monitor_group *stg = &st->perfmon[gid]; - BITSET_WORD tmp; - BITSET_FOREACH_SET(cid, tmp, m->ActiveCounters[gid], g->NumCounters) { + BITSET_FOREACH_SET(cid, m->ActiveCounters[gid], g->NumCounters) { const struct st_perf_monitor_counter *stc = &stg->counters[cid]; struct st_perf_counter_object *cntr = &stm->active_counters[stm->num_active_counters]; |