From: Ian Romanick <[email protected]> All of these tests fail when run on implementations that support ARB_framebuffer_object but not ARB_depth_texture.
Signed-off-by: Ian Romanick <[email protected]> --- tests/fbo/fbo-depth-tex1d.c | 1 + tests/fbo/fbo-incomplete-invalid-texture.c | 2 +- ...same-attachment-glFramebufferTexture2D-GL_DEPTH_STENCIL_ATTACHMENT.c | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/fbo/fbo-depth-tex1d.c b/tests/fbo/fbo-depth-tex1d.c index 51acd9a..e0810e3 100644 --- a/tests/fbo/fbo-depth-tex1d.c +++ b/tests/fbo/fbo-depth-tex1d.c @@ -211,6 +211,7 @@ void piglit_init(int argc, char **argv) unsigned i, p; piglit_require_extension("GL_EXT_framebuffer_object"); + piglit_require_extension("GL_ARB_depth_texture"); for (p = 1; p < argc; p++) { for (i = 0; i < sizeof(formats)/sizeof(*formats); i++) { diff --git a/tests/fbo/fbo-incomplete-invalid-texture.c b/tests/fbo/fbo-incomplete-invalid-texture.c index ac183b4..48d6c86 100644 --- a/tests/fbo/fbo-incomplete-invalid-texture.c +++ b/tests/fbo/fbo-incomplete-invalid-texture.c @@ -52,7 +52,7 @@ piglit_init(int argc, char **argv) GLenum status; piglit_require_extension("GL_ARB_framebuffer_object"); - + piglit_require_extension("GL_ARB_depth_texture"); glGenTextures(1, &tex); glBindTexture(GL_TEXTURE_2D, tex); diff --git a/tests/spec/arb_framebuffer_object/same-attachment-glFramebufferTexture2D-GL_DEPTH_STENCIL_ATTACHMENT.c b/tests/spec/arb_framebuffer_object/same-attachment-glFramebufferTexture2D-GL_DEPTH_STENCIL_ATTACHMENT.c index 389f92c..fb0e59f 100644 --- a/tests/spec/arb_framebuffer_object/same-attachment-glFramebufferTexture2D-GL_DEPTH_STENCIL_ATTACHMENT.c +++ b/tests/spec/arb_framebuffer_object/same-attachment-glFramebufferTexture2D-GL_DEPTH_STENCIL_ATTACHMENT.c @@ -143,6 +143,7 @@ void piglit_init(int argc, char **argv) GLuint tex; piglit_require_extension("GL_ARB_framebuffer_object"); + piglit_require_extension("GL_ARB_depth_texture"); glGenTextures(1, &tex); glGenFramebuffers(1, &fb); -- 2.9.4 _______________________________________________ Piglit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/piglit
