r600: fix off-by-one in egd_tables.py
Port of the corresponding fix in sid_tables.py. Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
67e49a7f65
commit
4d5bb1b987
|
@ -110,7 +110,7 @@ class IntTable:
|
|||
[static] const typename name[] = { ... };
|
||||
to filp.
|
||||
"""
|
||||
idxs = sorted(self.idxs) + [-1]
|
||||
idxs = sorted(self.idxs) + [len(self.table)]
|
||||
|
||||
fragments = [
|
||||
('\t/* %s */ %s' % (
|
||||
|
|
Loading…
Reference in New Issue