From 67fbaa587359badb94f4bbc8b6a89c5128e46e1b Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Sun, 28 Aug 2016 15:55:44 -0400 Subject: st/mesa: enable GL_ANDROID_extension_pack_es31a when available MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For now that's never since advanced blend hasn't been piped through. Signed-off-by: Ilia Mirkin Acked-by: Marek Olšák --- src/mesa/state_tracker/st_extensions.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src') diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index ef17aba321e..9b603759003 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -1233,4 +1233,22 @@ void st_init_extensions(struct pipe_screen *screen, extensions->OES_primitive_bounding_box = extensions->ARB_ES3_1_compatibility; consts->NoPrimitiveBoundingBoxOutput = true; + + extensions->ANDROID_extension_pack_es31a = + extensions->KHR_texture_compression_astc_ldr && + extensions->KHR_blend_equation_advanced && + extensions->OES_sample_variables && + extensions->ARB_shader_image_load_store && + extensions->ARB_texture_stencil8 && + extensions->ARB_texture_multisample && + extensions->OES_copy_image && + extensions->ARB_draw_buffers_blend && + extensions->OES_geometry_shader && + extensions->ARB_gpu_shader5 && + extensions->OES_primitive_bounding_box && + extensions->ARB_tessellation_shader && + extensions->ARB_texture_border_clamp && + extensions->OES_texture_buffer && + extensions->OES_texture_cube_map_array && + extensions->EXT_texture_sRGB_decode; } -- cgit v1.2.3