diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2016-10-08 16:42:51 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2016-10-14 11:29:57 -0700 |
commit | b500710813cce948a712d59a74f41feaffeed3eb (patch) | |
tree | 61792c9f74a3a0fe2a3db375eeb8d1345bb9a9f2 /tests/fbo | |
parent | 69b71d81337b90c5ff56c1b59dbe86c8bd90c76b (diff) |
fbo: Require ARB_texture_non_power_of_two in a test that doesn't strictly need it
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. Ilia says that the
test already skips on NV30 with the output "FBO incomplete (status =
0x8cd6)".
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'tests/fbo')
-rw-r--r-- | tests/fbo/fbo-depthtex.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/fbo/fbo-depthtex.c b/tests/fbo/fbo-depthtex.c index e60a5327c..e70c22754 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"); } |