mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
pan/perf: Don't count on category definition order in the XML
This commit is contained in:
parent
5c32d45ede
commit
34131f71de
1 changed files with 1 additions and 1 deletions
|
|
@ -154,7 +154,7 @@ def main():
|
|||
for i in range(0, len(prod.categories)):
|
||||
category = prod.categories[i]
|
||||
|
||||
c.write("{")
|
||||
c.write("[%s] = {" % CATEGORY_IDX_REMAP[category.name])
|
||||
c.indent(tab_size)
|
||||
c.write(".name = \"%s\"," % (category.name))
|
||||
c.write(".n_counters = %u," % (len(category.counters)))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue