[Piglit] [PATCH 3/9] all.py: Everything in MSAA_SAMPLE_COUNTS is already even

Ian Romanick idr at freedesktop.org
Thu Nov 19 20:00:09 PST 2015


From: Ian Romanick <ian.d.romanick at intel.com>

If this test has problems with odd sample counts, the test should detect
that and SKIP.

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
---
 tests/all.py | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/tests/all.py b/tests/all.py
index 1038e07..abe7da2 100644
--- a/tests/all.py
+++ b/tests/all.py
@@ -2758,12 +2758,10 @@ with profile.group_manager(
       'alpha-blending slow_cc')
     g(['ext_framebuffer_multisample-fast-clear'], 'fast-clear')
 
-    for num_samples in MSAA_SAMPLE_COUNTS:
-        if num_samples % 2 != 0:
-            continue
+    for sample_count in (str(x) for x in MSAA_SAMPLE_COUNTS):
         g(['ext_framebuffer_multisample-alpha-blending-after-rendering',
-           str(num_samples)],
-          'alpha-blending-after-rendering {}'.format(num_samples))
+           sample_count],
+          'alpha-blending-after-rendering {}'.format(sample_count))
 
     for num_samples in ('all_samples', ) + MSAA_SAMPLE_COUNTS:
         g(['ext_framebuffer_multisample-formats', str(num_samples)],
-- 
2.1.0



More information about the Piglit mailing list