From 4d5bb1b9877aecaefec53fca231a3df25e101e9a Mon Sep 17 00:00:00 2001 From: Nicolai Hähnle Date: Mon, 12 Jun 2017 21:31:43 +0200 Subject: r600: fix off-by-one in egd_tables.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Port of the corresponding fix in sid_tables.py. Reviewed-by: Marek Olšák --- src/gallium/drivers/r600/egd_tables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' % ( -- cgit v1.2.3