Commit 8ff30514 authored by Marek Olšák's avatar Marek Olšák

fbo-generatemipmap-formats: test ATI_texture_compression_3dc

parent 2844ce82
......@@ -1089,6 +1089,7 @@ add_texwrap_test2(ext_texture_compression_s3tc, '2D', 'GL_COMPRESSED_RGBA_S3TC_D
ati_texture_compression_3dc = Group()
spec['ATI_texture_compression_3dc'] = ati_texture_compression_3dc
add_fbo_generatemipmap_extension(ati_texture_compression_3dc, 'GL_ATI_texture_compression_3dc', 'fbo-generatemipmap-formats')
add_texwrap_test2(ati_texture_compression_3dc, '2D', 'GL_COMPRESSED_LUMINANCE_ALPHA_3DC')
ext_packed_float = Group()
......
......@@ -241,6 +241,10 @@ static const struct format_desc arb_texture_float[] = {
FORMAT(GL_INTENSITY32F_ARB)
};
static const struct format_desc ati_texture_compression_3dc[] = {
FORMAT(GL_COMPRESSED_LUMINANCE_ALPHA_3DC_ATI)
};
struct test_desc {
const struct format_desc *format;
unsigned num_formats;
......@@ -360,4 +364,10 @@ static const struct test_desc test_sets[] = {
"GL_ARB_texture_float",
{"GL_ARB_texture_float"}
},
{
ati_texture_compression_3dc,
ARRAY_SIZE(ati_texture_compression_3dc),
"GL_ATI_texture_compression_3dc",
{"GL_ATI_texture_compression_3dc"}
},
};
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