[Piglit] [PATCH 0/3] replace MSAA sample counts with strings

baker.dylan.c at gmail.com baker.dylan.c at gmail.com
Wed Dec 2 14:36:16 PST 2015


From: Dylan Baker <baker.dylan.c at gmail.com>

The current implementation is a tuple of ints, and this series changes
that to a list of strs.

In nearly every case the ints were being either explicitly converted to
str, or implicitly (using str.format). In the couple of cases that it
wasn't being converted it's easy to convert the str to an int (there are
only 1 or 2 cases where this is necessary).

Dylan Baker (3):
  tests/all.py: hide some pylint warnings that can't be (easily) fixed.
  tests/all.py: Make MSAA_SAMPLE_COUNTS contain str() instead of int()
  tests/all.py: Make MSAA_SAMPLE_COUNTS a list instead of a tuple

 tests/all.py | 67 +++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 35 insertions(+), 32 deletions(-)

-- 
2.6.2



More information about the Piglit mailing list