diff options
author | Marek Olšák <maraeo@gmail.com> | 2011-02-17 05:29:28 +0100 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2011-02-17 05:29:28 +0100 |
commit | 86184439dc7ade38512c7472bef1d077a26c5473 (patch) | |
tree | c5423c06f01d816d4bb1c246f0d5d12ade3aaeac | |
parent | da61d9a0c9e633fde4744fc1e2c616741e7103b8 (diff) |
texwrap: test ARB_depth_buffer_float
-rw-r--r-- | tests/all.tests | 2 | ||||
-rw-r--r-- | tests/texturing/texwrap.c | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/all.tests b/tests/all.tests index 621052186..103057425 100644 --- a/tests/all.tests +++ b/tests/all.tests @@ -1044,6 +1044,8 @@ add_fbo_depth_test(arb_depth_buffer_float, 'GL_DEPTH_COMPONENT32F') add_fbo_depth_test(arb_depth_buffer_float, 'GL_DEPTH32F_STENCIL8') # depth support not added to test yet #add_fbo_clear_extension(arb_depth_buffer_float, 'GL_ARB_depth_buffer_float', 'fbo-clear-formats') +add_texwrap_test2(arb_depth_buffer_float, '2D', 'GL_DEPTH_COMPONENT32F') +add_texwrap_test2(arb_depth_buffer_float, '2D', 'GL_DEPTH32F_STENCIL8') arb_texture_compression = Group() spec['ARB_texture_compression'] = arb_texture_compression diff --git a/tests/texturing/texwrap.c b/tests/texturing/texwrap.c index 60c0c0ae7..5d5c7a754 100644 --- a/tests/texturing/texwrap.c +++ b/tests/texturing/texwrap.c @@ -146,6 +146,12 @@ struct format { {FORMAT(GL_DEPTH_COMPONENT32), 0, 0, 0, 0, 0, 0, 32, 0, 0, 1.4, {"GL_ARB_depth_texture"}}, + /* ARB_depth_buffer_float */ + {FORMAT(GL_DEPTH32F_STENCIL8), 0, 0, 0, 0, 0, 0, 32, 0, 0, 3.0, + {"GL_ARB_depth_buffer_float"}}, + {FORMAT(GL_DEPTH_COMPONENT32F), 0, 0, 0, 0, 0, 0, 32, 0, 0, 3.0, + {"GL_ARB_depth_buffer_float"}}, + /* ARB_texture_compression_rgtc */ {FORMAT(GL_COMPRESSED_RED_RGTC1), 4, 0, 0, 0, 0, 0, 0, 0, 1, 3.0, {"GL_ARB_texture_compression_rgtc", "GL_EXT_texture_compression_rgtc"}}, |