aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2013-01-06 05:36:32 +0100
committerMarek Olšák <maraeo@gmail.com>2013-01-15 17:22:51 +0100
commitfb8977b0e53ef2233e4936b2ade1b66d335732d0 (patch)
tree5df1a3c2f4b968e36abbbf3f04d1ea342e0df6f5
parentb8ca04e0caa92a04f911f4d50d78aa5c7c785dde (diff)
ext_framebuffer_multisample/formats: don't try invalid renderbuffer formats
Reviewed-by: Paul Berry <stereotype441@gmail.com>
-rw-r--r--tests/spec/ext_framebuffer_multisample/formats.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/spec/ext_framebuffer_multisample/formats.cpp b/tests/spec/ext_framebuffer_multisample/formats.cpp
index 13840e1d..8ef6c7f3 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.
*/