[Piglit] [PATCH 6/6] MSAA tests: only require GL2.1 with ARB_fbo and ARB_vao
Marek Olšák
maraeo at gmail.com
Sun Jan 6 06:12:19 PST 2013
---
tests/spec/ext_framebuffer_multisample/accuracy.cpp | 5 +++--
.../alpha-to-coverage-no-draw-buffer-zero.cpp | 4 +++-
.../ext_framebuffer_multisample/alpha-to-one-msaa-disabled.cpp | 4 +++-
.../alpha-to-one-single-sample-buffer.cpp | 4 +++-
tests/spec/ext_framebuffer_multisample/bitmap.cpp | 5 ++++-
tests/spec/ext_framebuffer_multisample/blit-flipped.cpp | 4 +++-
.../spec/ext_framebuffer_multisample/blit-mismatched-formats.cpp | 4 +++-
.../spec/ext_framebuffer_multisample/blit-mismatched-samples.cpp | 5 ++++-
tests/spec/ext_framebuffer_multisample/blit-mismatched-sizes.cpp | 4 +++-
tests/spec/ext_framebuffer_multisample/clear.cpp | 4 +++-
tests/spec/ext_framebuffer_multisample/clip-and-scissor-blit.cpp | 5 +++--
.../draw-buffers-alpha-to-coverage.cpp | 4 +++-
.../ext_framebuffer_multisample/draw-buffers-alpha-to-one.cpp | 4 +++-
tests/spec/ext_framebuffer_multisample/enable-flag.cpp | 4 +++-
tests/spec/ext_framebuffer_multisample/formats.cpp | 4 +++-
tests/spec/ext_framebuffer_multisample/interpolation.cpp | 4 +++-
tests/spec/ext_framebuffer_multisample/line-smooth.cpp | 5 ++++-
tests/spec/ext_framebuffer_multisample/multisample-blit.cpp | 5 +++--
tests/spec/ext_framebuffer_multisample/no-color.cpp | 5 +++--
tests/spec/ext_framebuffer_multisample/point-smooth.cpp | 5 ++++-
tests/spec/ext_framebuffer_multisample/polygon-smooth.cpp | 4 +++-
tests/spec/ext_framebuffer_multisample/polygon-stipple.cpp | 5 ++++-
.../ext_framebuffer_multisample/sample-alpha-to-coverage.cpp | 6 +++++-
tests/spec/ext_framebuffer_multisample/sample-alpha-to-one.cpp | 4 +++-
tests/spec/ext_framebuffer_multisample/sample-coverage.cpp | 5 ++++-
tests/spec/ext_framebuffer_multisample/turn-on-off.cpp | 4 +++-
tests/spec/ext_framebuffer_multisample/unaligned-blit.cpp | 4 +++-
tests/spec/ext_framebuffer_multisample/upsample.cpp | 5 +++--
28 files changed, 92 insertions(+), 33 deletions(-)
diff --git a/tests/spec/ext_framebuffer_multisample/accuracy.cpp b/tests/spec/ext_framebuffer_multisample/accuracy.cpp
index 126a090..3b2205b 100644
--- a/tests/spec/ext_framebuffer_multisample/accuracy.cpp
+++ b/tests/spec/ext_framebuffer_multisample/accuracy.cpp
@@ -103,8 +103,9 @@ piglit_init(int argc, char **argv)
}
}
- piglit_require_gl_version(30);
- piglit_require_GLSL_version(130);
+ piglit_require_gl_version(21);
+ piglit_require_extension("GL_ARB_framebuffer_object");
+ piglit_require_extension("GL_ARB_vertex_array_object");
/* Skip the test if num_samples > GL_MAX_SAMPLES */
glGetIntegerv(GL_MAX_SAMPLES, &max_samples);
diff --git a/tests/spec/ext_framebuffer_multisample/alpha-to-coverage-no-draw-buffer-zero.cpp b/tests/spec/ext_framebuffer_multisample/alpha-to-coverage-no-draw-buffer-zero.cpp
index 30ff811..cad6bfc 100644
--- a/tests/spec/ext_framebuffer_multisample/alpha-to-coverage-no-draw-buffer-zero.cpp
+++ b/tests/spec/ext_framebuffer_multisample/alpha-to-coverage-no-draw-buffer-zero.cpp
@@ -81,7 +81,9 @@ piglit_init(int argc, char **argv)
print_usage_and_exit(argv[0]);
}
- piglit_require_gl_version(30);
+ piglit_require_gl_version(21);
+ piglit_require_extension("GL_ARB_framebuffer_object");
+ piglit_require_extension("GL_ARB_vertex_array_object");
int pattern_width = piglit_width / 2;
int pattern_height = piglit_height / num_attachments;
diff --git a/tests/spec/ext_framebuffer_multisample/alpha-to-one-msaa-disabled.cpp b/tests/spec/ext_framebuffer_multisample/alpha-to-one-msaa-disabled.cpp
index 80c159f..043f9b6 100644
--- a/tests/spec/ext_framebuffer_multisample/alpha-to-one-msaa-disabled.cpp
+++ b/tests/spec/ext_framebuffer_multisample/alpha-to-one-msaa-disabled.cpp
@@ -71,7 +71,9 @@ piglit_init(int argc, char **argv)
print_usage_and_exit(argv[0]);
}
- piglit_require_gl_version(30);
+ piglit_require_gl_version(21);
+ piglit_require_extension("GL_ARB_framebuffer_object");
+ piglit_require_extension("GL_ARB_vertex_array_object");
int pattern_width = piglit_width / 2;
int pattern_height = piglit_height / num_attachments;
diff --git a/tests/spec/ext_framebuffer_multisample/alpha-to-one-single-sample-buffer.cpp b/tests/spec/ext_framebuffer_multisample/alpha-to-one-single-sample-buffer.cpp
index f297cea..83e75ad 100644
--- a/tests/spec/ext_framebuffer_multisample/alpha-to-one-single-sample-buffer.cpp
+++ b/tests/spec/ext_framebuffer_multisample/alpha-to-one-single-sample-buffer.cpp
@@ -56,7 +56,9 @@ piglit_init(int argc, char **argv)
/* For single sample buffer */
const int samples = 0;
- piglit_require_gl_version(30);
+ piglit_require_gl_version(21);
+ piglit_require_extension("GL_ARB_framebuffer_object");
+ piglit_require_extension("GL_ARB_vertex_array_object");
int pattern_width = piglit_width / 2;
int pattern_height = piglit_height / num_attachments;
diff --git a/tests/spec/ext_framebuffer_multisample/bitmap.cpp b/tests/spec/ext_framebuffer_multisample/bitmap.cpp
index 7a82e55..ec49f01 100644
--- a/tests/spec/ext_framebuffer_multisample/bitmap.cpp
+++ b/tests/spec/ext_framebuffer_multisample/bitmap.cpp
@@ -148,7 +148,10 @@ piglit_init(int argc, char **argv)
print_usage_and_exit(argv[0]);
}
- piglit_require_gl_version(30);
+ piglit_require_gl_version(21);
+ piglit_require_extension("GL_ARB_framebuffer_object");
+ piglit_require_extension("GL_ARB_vertex_array_object");
+
piglit_ortho_projection(pattern_width, pattern_height, GL_TRUE);
/* Skip the test if num_samples > GL_MAX_SAMPLES */
diff --git a/tests/spec/ext_framebuffer_multisample/blit-flipped.cpp b/tests/spec/ext_framebuffer_multisample/blit-flipped.cpp
index 26f918f..1f2cf7f 100644
--- a/tests/spec/ext_framebuffer_multisample/blit-flipped.cpp
+++ b/tests/spec/ext_framebuffer_multisample/blit-flipped.cpp
@@ -102,7 +102,9 @@ piglit_init(int argc, char **argv)
print_usage_and_exit(argv[0]);
}
- piglit_require_gl_version(30);
+ piglit_require_gl_version(21);
+ piglit_require_extension("GL_ARB_framebuffer_object");
+ piglit_require_extension("GL_ARB_vertex_array_object");
/* Skip the test if num_samples > GL_MAX_SAMPLES */
GLint max_samples;
diff --git a/tests/spec/ext_framebuffer_multisample/blit-mismatched-formats.cpp b/tests/spec/ext_framebuffer_multisample/blit-mismatched-formats.cpp
index 5162de1..017e5f0 100644
--- a/tests/spec/ext_framebuffer_multisample/blit-mismatched-formats.cpp
+++ b/tests/spec/ext_framebuffer_multisample/blit-mismatched-formats.cpp
@@ -92,7 +92,9 @@ piglit_display()
void
piglit_init(int argc, char **argv)
{
- piglit_require_gl_version(30);
+ piglit_require_gl_version(21);
+ piglit_require_extension("GL_ARB_framebuffer_object");
+ piglit_require_extension("GL_ARB_vertex_array_object");
/* Passing sample count = 1 will create the FBOs with minimum supported
* sample count. Both FBOs are created with GL_RGBA format by default.
diff --git a/tests/spec/ext_framebuffer_multisample/blit-mismatched-samples.cpp b/tests/spec/ext_framebuffer_multisample/blit-mismatched-samples.cpp
index 3154720..dfbfa8a 100644
--- a/tests/spec/ext_framebuffer_multisample/blit-mismatched-samples.cpp
+++ b/tests/spec/ext_framebuffer_multisample/blit-mismatched-samples.cpp
@@ -70,7 +70,10 @@ void
piglit_init(int argc, char **argv)
{
GLint samples, max_samples;
- piglit_require_gl_version(30);
+
+ piglit_require_gl_version(21);
+ piglit_require_extension("GL_ARB_framebuffer_object");
+ piglit_require_extension("GL_ARB_vertex_array_object");
/* OpenGL driver is supposed to round up the specified sample count to
* the next available sample count. So, this will create the FBO with
diff --git a/tests/spec/ext_framebuffer_multisample/blit-mismatched-sizes.cpp b/tests/spec/ext_framebuffer_multisample/blit-mismatched-sizes.cpp
index 02b1305..22ea0da 100644
--- a/tests/spec/ext_framebuffer_multisample/blit-mismatched-sizes.cpp
+++ b/tests/spec/ext_framebuffer_multisample/blit-mismatched-sizes.cpp
@@ -71,7 +71,9 @@ piglit_display()
void
piglit_init(int argc, char **argv)
{
- piglit_require_gl_version(30);
+ piglit_require_gl_version(21);
+ piglit_require_extension("GL_ARB_framebuffer_object");
+ piglit_require_extension("GL_ARB_vertex_array_object");
/* Passing sample count = 1 will create the FBOs with minimum supported
* sample count.
diff --git a/tests/spec/ext_framebuffer_multisample/clear.cpp b/tests/spec/ext_framebuffer_multisample/clear.cpp
index 1038812..2ba701e 100644
--- a/tests/spec/ext_framebuffer_multisample/clear.cpp
+++ b/tests/spec/ext_framebuffer_multisample/clear.cpp
@@ -117,7 +117,9 @@ piglit_init(int argc, char **argv)
print_usage_and_exit(argv[0]);
}
- piglit_require_gl_version(30);
+ piglit_require_gl_version(21);
+ piglit_require_extension("GL_ARB_framebuffer_object");
+ piglit_require_extension("GL_ARB_vertex_array_object");
/* Skip the test if num_samples > GL_MAX_SAMPLES */
GLint max_samples;
diff --git a/tests/spec/ext_framebuffer_multisample/clip-and-scissor-blit.cpp b/tests/spec/ext_framebuffer_multisample/clip-and-scissor-blit.cpp
index 4ad4c2d..fc4310a 100644
--- a/tests/spec/ext_framebuffer_multisample/clip-and-scissor-blit.cpp
+++ b/tests/spec/ext_framebuffer_multisample/clip-and-scissor-blit.cpp
@@ -327,8 +327,9 @@ print_usage_and_exit(char *prog_name)
extern "C" void
piglit_init(int argc, char **argv)
{
- piglit_require_gl_version(30);
- piglit_require_GLSL_version(130);
+ piglit_require_gl_version(21);
+ piglit_require_extension("GL_ARB_framebuffer_object");
+ piglit_require_extension("GL_ARB_vertex_array_object");
if (argc < 3)
print_usage_and_exit(argv[0]);
diff --git a/tests/spec/ext_framebuffer_multisample/draw-buffers-alpha-to-coverage.cpp b/tests/spec/ext_framebuffer_multisample/draw-buffers-alpha-to-coverage.cpp
index aab156f..4587630 100644
--- a/tests/spec/ext_framebuffer_multisample/draw-buffers-alpha-to-coverage.cpp
+++ b/tests/spec/ext_framebuffer_multisample/draw-buffers-alpha-to-coverage.cpp
@@ -79,7 +79,9 @@ piglit_init(int argc, char **argv)
print_usage_and_exit(argv[0]);
}
- piglit_require_gl_version(30);
+ piglit_require_gl_version(21);
+ piglit_require_extension("GL_ARB_framebuffer_object");
+ piglit_require_extension("GL_ARB_vertex_array_object");
int pattern_width = piglit_width / 2;
int pattern_height = piglit_height / num_attachments;
diff --git a/tests/spec/ext_framebuffer_multisample/draw-buffers-alpha-to-one.cpp b/tests/spec/ext_framebuffer_multisample/draw-buffers-alpha-to-one.cpp
index 5256fc9..bd574db 100644
--- a/tests/spec/ext_framebuffer_multisample/draw-buffers-alpha-to-one.cpp
+++ b/tests/spec/ext_framebuffer_multisample/draw-buffers-alpha-to-one.cpp
@@ -100,7 +100,9 @@ piglit_init(int argc, char **argv)
print_usage_and_exit(argv[0]);
}
- piglit_require_gl_version(30);
+ piglit_require_gl_version(21);
+ piglit_require_extension("GL_ARB_framebuffer_object");
+ piglit_require_extension("GL_ARB_vertex_array_object");
int pattern_width = piglit_width / 2;
int pattern_height = piglit_height / num_attachments;
diff --git a/tests/spec/ext_framebuffer_multisample/enable-flag.cpp b/tests/spec/ext_framebuffer_multisample/enable-flag.cpp
index edf0d9a..05a8064 100644
--- a/tests/spec/ext_framebuffer_multisample/enable-flag.cpp
+++ b/tests/spec/ext_framebuffer_multisample/enable-flag.cpp
@@ -84,7 +84,9 @@ Triangles triangles;
extern "C" void
piglit_init(int argc, char **argv)
{
- piglit_require_gl_version(30);
+ piglit_require_gl_version(21);
+ piglit_require_extension("GL_ARB_framebuffer_object");
+ piglit_require_extension("GL_ARB_vertex_array_object");
GLint max_samples;
glGetIntegerv(GL_MAX_SAMPLES, &max_samples);
diff --git a/tests/spec/ext_framebuffer_multisample/formats.cpp b/tests/spec/ext_framebuffer_multisample/formats.cpp
index 8ef6c7f..7d73949 100644
--- a/tests/spec/ext_framebuffer_multisample/formats.cpp
+++ b/tests/spec/ext_framebuffer_multisample/formats.cpp
@@ -581,7 +581,9 @@ piglit_init(int argc, char **argv)
if (argc == 3)
test_set = fbo_lookup_test_set(argv[2]);
- piglit_require_gl_version(30);
+ piglit_require_gl_version(21);
+ piglit_require_extension("GL_ARB_framebuffer_object");
+ piglit_require_extension("GL_ARB_vertex_array_object");
/* Skip the test if num_samples > GL_MAX_SAMPLES */
GLint max_samples;
diff --git a/tests/spec/ext_framebuffer_multisample/interpolation.cpp b/tests/spec/ext_framebuffer_multisample/interpolation.cpp
index c54491b..559487d 100644
--- a/tests/spec/ext_framebuffer_multisample/interpolation.cpp
+++ b/tests/spec/ext_framebuffer_multisample/interpolation.cpp
@@ -359,7 +359,9 @@ piglit_init(int argc, char **argv)
print_usage_and_exit(argv[0]);
}
- piglit_require_gl_version(30);
+ piglit_require_gl_version(21);
+ piglit_require_extension("GL_ARB_framebuffer_object");
+ piglit_require_extension("GL_ARB_vertex_array_object");
/* Skip the test if num_samples > GL_MAX_SAMPLES */
GLint max_samples;
diff --git a/tests/spec/ext_framebuffer_multisample/line-smooth.cpp b/tests/spec/ext_framebuffer_multisample/line-smooth.cpp
index 4fe9554..2fb1b68 100644
--- a/tests/spec/ext_framebuffer_multisample/line-smooth.cpp
+++ b/tests/spec/ext_framebuffer_multisample/line-smooth.cpp
@@ -81,7 +81,10 @@ piglit_init(int argc, char **argv)
print_usage_and_exit(argv[0]);
}
- piglit_require_gl_version(30);
+ piglit_require_gl_version(21);
+ piglit_require_extension("GL_ARB_framebuffer_object");
+ piglit_require_extension("GL_ARB_vertex_array_object");
+
glClear(GL_COLOR_BUFFER_BIT);
/* Skip the test if num_samples > GL_MAX_SAMPLES */
diff --git a/tests/spec/ext_framebuffer_multisample/multisample-blit.cpp b/tests/spec/ext_framebuffer_multisample/multisample-blit.cpp
index a693562..ed54798 100644
--- a/tests/spec/ext_framebuffer_multisample/multisample-blit.cpp
+++ b/tests/spec/ext_framebuffer_multisample/multisample-blit.cpp
@@ -79,8 +79,9 @@ piglit_init(int argc, char **argv)
print_usage_and_exit(argv[0]);
}
- piglit_require_gl_version(30);
- piglit_require_GLSL_version(130);
+ piglit_require_gl_version(21);
+ piglit_require_extension("GL_ARB_framebuffer_object");
+ piglit_require_extension("GL_ARB_vertex_array_object");
/* Skip the test if num_samples > GL_MAX_SAMPLES */
GLint max_samples;
diff --git a/tests/spec/ext_framebuffer_multisample/no-color.cpp b/tests/spec/ext_framebuffer_multisample/no-color.cpp
index 7ebdcbd..df796fc 100644
--- a/tests/spec/ext_framebuffer_multisample/no-color.cpp
+++ b/tests/spec/ext_framebuffer_multisample/no-color.cpp
@@ -155,8 +155,9 @@ piglit_init(int argc, char **argv)
print_usage_and_exit(argv[0]);
}
- piglit_require_gl_version(30);
- piglit_require_GLSL_version(130);
+ piglit_require_gl_version(21);
+ piglit_require_extension("GL_ARB_framebuffer_object");
+ piglit_require_extension("GL_ARB_vertex_array_object");
/* Skip the test if num_samples > GL_MAX_SAMPLES */
GLint max_samples;
diff --git a/tests/spec/ext_framebuffer_multisample/point-smooth.cpp b/tests/spec/ext_framebuffer_multisample/point-smooth.cpp
index a596b80..2164389 100644
--- a/tests/spec/ext_framebuffer_multisample/point-smooth.cpp
+++ b/tests/spec/ext_framebuffer_multisample/point-smooth.cpp
@@ -81,7 +81,10 @@ piglit_init(int argc, char **argv)
print_usage_and_exit(argv[0]);
}
- piglit_require_gl_version(30);
+ piglit_require_gl_version(21);
+ piglit_require_extension("GL_ARB_framebuffer_object");
+ piglit_require_extension("GL_ARB_vertex_array_object");
+
glClear (GL_COLOR_BUFFER_BIT);
/* Skip the test if num_samples > GL_MAX_SAMPLES */
diff --git a/tests/spec/ext_framebuffer_multisample/polygon-smooth.cpp b/tests/spec/ext_framebuffer_multisample/polygon-smooth.cpp
index b8b018b..fe197fa 100644
--- a/tests/spec/ext_framebuffer_multisample/polygon-smooth.cpp
+++ b/tests/spec/ext_framebuffer_multisample/polygon-smooth.cpp
@@ -81,7 +81,9 @@ piglit_init(int argc, char **argv)
print_usage_and_exit(argv[0]);
}
- piglit_require_gl_version(30);
+ piglit_require_gl_version(21);
+ piglit_require_extension("GL_ARB_framebuffer_object");
+ piglit_require_extension("GL_ARB_vertex_array_object");
/* Skip the test if num_samples > GL_MAX_SAMPLES */
GLint max_samples;
diff --git a/tests/spec/ext_framebuffer_multisample/polygon-stipple.cpp b/tests/spec/ext_framebuffer_multisample/polygon-stipple.cpp
index 3394695..947829f 100644
--- a/tests/spec/ext_framebuffer_multisample/polygon-stipple.cpp
+++ b/tests/spec/ext_framebuffer_multisample/polygon-stipple.cpp
@@ -224,7 +224,10 @@ piglit_init(int argc, char **argv)
print_usage_and_exit(argv[0]);
}
- piglit_require_gl_version(30);
+ piglit_require_gl_version(21);
+ piglit_require_extension("GL_ARB_framebuffer_object");
+ piglit_require_extension("GL_ARB_vertex_array_object");
+
piglit_ortho_projection(pattern_width, pattern_height, GL_TRUE);
/* Skip the test if num_samples > GL_MAX_SAMPLES */
diff --git a/tests/spec/ext_framebuffer_multisample/sample-alpha-to-coverage.cpp b/tests/spec/ext_framebuffer_multisample/sample-alpha-to-coverage.cpp
index a0b4377..3301c3a 100644
--- a/tests/spec/ext_framebuffer_multisample/sample-alpha-to-coverage.cpp
+++ b/tests/spec/ext_framebuffer_multisample/sample-alpha-to-coverage.cpp
@@ -71,7 +71,11 @@ piglit_init(int argc, char **argv)
{
const int num_attachments = 1;
int samples;
- piglit_require_gl_version(30);
+
+ piglit_require_gl_version(21);
+ piglit_require_extension("GL_ARB_framebuffer_object");
+ piglit_require_extension("GL_ARB_vertex_array_object");
+
if (argc < 3)
print_usage_and_exit(argv[0]);
{
diff --git a/tests/spec/ext_framebuffer_multisample/sample-alpha-to-one.cpp b/tests/spec/ext_framebuffer_multisample/sample-alpha-to-one.cpp
index 100e288..9ccc394 100644
--- a/tests/spec/ext_framebuffer_multisample/sample-alpha-to-one.cpp
+++ b/tests/spec/ext_framebuffer_multisample/sample-alpha-to-one.cpp
@@ -71,7 +71,9 @@ piglit_init(int argc, char **argv)
print_usage_and_exit(argv[0]);
}
- piglit_require_gl_version(30);
+ piglit_require_gl_version(21);
+ piglit_require_extension("GL_ARB_framebuffer_object");
+ piglit_require_extension("GL_ARB_vertex_array_object");
int pattern_width = piglit_width / 2;
int pattern_height = piglit_height / num_attachments;
diff --git a/tests/spec/ext_framebuffer_multisample/sample-coverage.cpp b/tests/spec/ext_framebuffer_multisample/sample-coverage.cpp
index d0ce4a0..b0d5ebd 100644
--- a/tests/spec/ext_framebuffer_multisample/sample-coverage.cpp
+++ b/tests/spec/ext_framebuffer_multisample/sample-coverage.cpp
@@ -369,7 +369,10 @@ piglit_init(int argc, char **argv)
coverage_invert = false;
}
- piglit_require_gl_version(30);
+ piglit_require_gl_version(21);
+ piglit_require_extension("GL_ARB_framebuffer_object");
+ piglit_require_extension("GL_ARB_vertex_array_object");
+
piglit_ortho_projection(pattern_width, pattern_height, GL_TRUE);
/* Skip the test if samples > GL_MAX_SAMPLES */
diff --git a/tests/spec/ext_framebuffer_multisample/turn-on-off.cpp b/tests/spec/ext_framebuffer_multisample/turn-on-off.cpp
index 8d5ed9e..4a2b558 100644
--- a/tests/spec/ext_framebuffer_multisample/turn-on-off.cpp
+++ b/tests/spec/ext_framebuffer_multisample/turn-on-off.cpp
@@ -136,7 +136,9 @@ piglit_init(int argc, char **argv)
print_usage_and_exit(argv[0]);
}
- piglit_require_gl_version(30);
+ piglit_require_gl_version(21);
+ piglit_require_extension("GL_ARB_framebuffer_object");
+ piglit_require_extension("GL_ARB_vertex_array_object");
/* Skip the test if num_samples > GL_MAX_SAMPLES */
glGetIntegerv(GL_MAX_SAMPLES, &max_samples);
diff --git a/tests/spec/ext_framebuffer_multisample/unaligned-blit.cpp b/tests/spec/ext_framebuffer_multisample/unaligned-blit.cpp
index ad4c944..d322799 100644
--- a/tests/spec/ext_framebuffer_multisample/unaligned-blit.cpp
+++ b/tests/spec/ext_framebuffer_multisample/unaligned-blit.cpp
@@ -125,7 +125,9 @@ piglit_init(int argc, char **argv)
if (endptr != argv[1] + strlen(argv[1]))
print_usage_and_exit(argv[0]);
- piglit_require_gl_version(30);
+ piglit_require_gl_version(21);
+ piglit_require_extension("GL_ARB_framebuffer_object");
+ piglit_require_extension("GL_ARB_vertex_array_object");
/* Skip the test if num_samples > GL_MAX_SAMPLES */
GLint max_samples;
diff --git a/tests/spec/ext_framebuffer_multisample/upsample.cpp b/tests/spec/ext_framebuffer_multisample/upsample.cpp
index 48f436b..4a01e7e 100644
--- a/tests/spec/ext_framebuffer_multisample/upsample.cpp
+++ b/tests/spec/ext_framebuffer_multisample/upsample.cpp
@@ -94,8 +94,9 @@ piglit_init(int argc, char **argv)
print_usage_and_exit(argv[0]);
}
- piglit_require_gl_version(30);
- piglit_require_GLSL_version(130);
+ piglit_require_gl_version(21);
+ piglit_require_extension("GL_ARB_framebuffer_object");
+ piglit_require_extension("GL_ARB_vertex_array_object");
/* Skip the test if num_samples > GL_MAX_SAMPLES */
GLint max_samples;
--
1.7.10.4
More information about the Piglit
mailing list