[Piglit] [PATCH 5/6] ext_framebuffer_multisample/formats: don't try invalid renderbuffer formats

Marek Olšák maraeo at gmail.com
Sun Jan 6 06:12:18 PST 2013


---
 tests/spec/ext_framebuffer_multisample/formats.cpp |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/spec/ext_framebuffer_multisample/formats.cpp b/tests/spec/ext_framebuffer_multisample/formats.cpp
index 13840e1..8ef6c7f 100644
--- a/tests/spec/ext_framebuffer_multisample/formats.cpp
+++ b/tests/spec/ext_framebuffer_multisample/formats.cpp
@@ -455,6 +455,11 @@ test_format(const struct format_desc *format)
 {
 	bool pass = true;
 
+	if (format->internalformat == 3 ||
+	    format->internalformat == 4) {
+		return PIGLIT_SKIP;
+	}
+
 	/* Caller messes with the clear color.  Reset it to the
 	 * default.
 	 */
-- 
1.7.10.4



More information about the Piglit mailing list