[Piglit] [PATCH] fbo: Require GL_ARB_texture_cube_map

Ian Romanick idr at freedesktop.org
Wed Jun 7 08:20:45 UTC 2017


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

...because the tests always use cube maps.

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
---
 tests/fbo/fbo-incomplete-texture-02.c | 1 +
 tests/fbo/fbo-incomplete-texture-03.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/tests/fbo/fbo-incomplete-texture-02.c b/tests/fbo/fbo-incomplete-texture-02.c
index 08c5c68..73cad64 100644
--- a/tests/fbo/fbo-incomplete-texture-02.c
+++ b/tests/fbo/fbo-incomplete-texture-02.c
@@ -60,6 +60,7 @@ piglit_init(int argc, char **argv)
 	piglit_ortho_projection(piglit_width, piglit_height, GL_FALSE);
 
 	piglit_require_extension("GL_ARB_framebuffer_object");
+	piglit_require_extension("GL_ARB_texture_cube_map");
 
 	/* This texture will be incomplete because one of the cubemap faces
 	 * has not been specified.
diff --git a/tests/fbo/fbo-incomplete-texture-03.c b/tests/fbo/fbo-incomplete-texture-03.c
index 136e07a..d51b603 100644
--- a/tests/fbo/fbo-incomplete-texture-03.c
+++ b/tests/fbo/fbo-incomplete-texture-03.c
@@ -59,6 +59,7 @@ piglit_init(int argc, char **argv)
 	piglit_ortho_projection(piglit_width, piglit_height, GL_FALSE);
 
 	piglit_require_extension("GL_ARB_framebuffer_object");
+	piglit_require_extension("GL_ARB_texture_cube_map");
 
 	/* This texture will be incomplete because one of the cubemap faces
 	 * has the wrong size.
-- 
2.9.4



More information about the Piglit mailing list