[Piglit] [PATCH] glean: Skip multisample configs

Chad Versace chad.versace at linux.intel.com
Thu Aug 9 16:03:21 PDT 2012


Many tests do not adjust their expectations for mutlisampling and hence
incorrectly fail.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=53275
Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
---
 tests/glean/tbase.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/glean/tbase.h b/tests/glean/tbase.h
index f0ec272..b16cc20 100644
--- a/tests/glean/tbase.h
+++ b/tests/glean/tbase.h
@@ -305,6 +305,12 @@ public:
 				     p = configs.begin();
 			     p < configs.end();
 			     ++p) {
+				// Many tests do not adjust their expectations
+				// for mutlisampling and hence incorrectly
+				// fail.
+				if ((*p)->samples > 0)
+					continue;
+
 				Window w(ws, **p, fWidth, fHeight);
 				RenderingContext rc(ws, **p);
 				if (!ws.makeCurrent(rc, w)) {
-- 
1.7.11.4



More information about the Piglit mailing list