From: Ian Romanick <[email protected]>

This test could be made to work without ARB_texture_non_power_of_two.
However, it has a bunch of hardcoded pixel locations that would need to
be updated for a new size.  I was lazy.  The only driver that I could
find that supports the other requirements of this test (i.e.,
ARB_fragment_program) and not ARB_texture_non_power_of_two is NV30.

This /should/ make this test go from FAIL to SKIP on NV30, but I have
not tested.  It should not affect any other driver.

Signed-off-by: Ian Romanick <[email protected]>
Cc: Ilia Mirkin <[email protected]>
---
 tests/fbo/fbo-depthtex.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/fbo/fbo-depthtex.c b/tests/fbo/fbo-depthtex.c
index e60a532..e70c227 100644
--- a/tests/fbo/fbo-depthtex.c
+++ b/tests/fbo/fbo-depthtex.c
@@ -160,4 +160,5 @@ void piglit_init(int argc, char **argv)
 {
        piglit_require_extension("GL_EXT_framebuffer_object");
        piglit_require_extension("GL_ARB_fragment_program");
+       piglit_require_extension("GL_ARB_texture_non_power_of_two");
 }
-- 
2.5.5

_______________________________________________
Piglit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to