[Mesa-dev] [PATCH 1/2] st/mesa: enable GL_ANDROID_extension_pack_es31a when available
Ilia Mirkin
imirkin at alum.mit.edu
Wed Sep 14 00:54:58 UTC 2016
For now that's never since advanced blend hasn't been piped through.
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
src/mesa/state_tracker/st_extensions.c | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c
index 807fbfb..4d54928 100644
--- a/src/mesa/state_tracker/st_extensions.c
+++ b/src/mesa/state_tracker/st_extensions.c
@@ -1228,4 +1228,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;
}
--
2.7.3
More information about the mesa-dev
mailing list