summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/r600/egd_tables.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/egd_tables.py b/src/gallium/drivers/r600/egd_tables.py
index 4c606025ba7..d7b78c7fb16 100644
--- a/src/gallium/drivers/r600/egd_tables.py
+++ b/src/gallium/drivers/r600/egd_tables.py
@@ -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' % (