aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2016-08-28 15:55:44 -0400
committerIlia Mirkin <[email protected]>2016-09-27 00:20:41 -0400
commit67fbaa587359badb94f4bbc8b6a89c5128e46e1b (patch)
treeb5c514a139e7d28f179357be3b34471e25fae399 /src/mesa/state_tracker
parent63e822157498356e5c777aee7000e9ee925df47b (diff)
st/mesa: enable GL_ANDROID_extension_pack_es31a when available
For now that's never since advanced blend hasn't been piped through. Signed-off-by: Ilia Mirkin <[email protected]> Acked-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_extensions.c18
1 files changed, 18 insertions, 0 deletions
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;
}