Commit 86184439 authored by Marek Olšák's avatar Marek Olšák

texwrap: test ARB_depth_buffer_float

parent da61d9a0
......@@ -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
......
......@@ -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"}},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment