From: Ilia Mirkin Date: Fri, 16 Sep 2016 19:43:31 +0000 (-0400) Subject: st/mesa: turn on OES_viewport_array when dependencies are met X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c0a7e931e36e7d8a244da5947ec6de023b58b0a5;p=mesa.git st/mesa: turn on OES_viewport_array when dependencies are met Signed-off-by: Ilia Mirkin --- diff --git a/docs/features.txt b/docs/features.txt index cb6228693fb..fbb3952b3c7 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -319,7 +319,7 @@ Khronos, ARB, and OES extensions that are not part of any OpenGL or OpenGL ES ve GL_OES_texture_half_float DONE (i965, r300, r600, radeonsi, nv30, nv50, nvc0, softpipe, llvmpipe) GL_OES_texture_half_float_linear DONE (i965, r300, r600, radeonsi, nv30, nv50, nvc0, softpipe, llvmpipe) GL_OES_texture_view not started - based on GL_ARB_texture_view - GL_OES_viewport_array not started - based on GL_ARB_viewport_array and GL_ARB_fragment_layer_viewport + GL_OES_viewport_array DONE (nvc0, radeonsi) GLX_ARB_context_flush_control not started GLX_ARB_robustness_application_isolation not started GLX_ARB_robustness_share_group_isolation not started diff --git a/docs/relnotes/12.1.0.html b/docs/relnotes/12.1.0.html index fb1d714bac0..cdd89092f53 100644 --- a/docs/relnotes/12.1.0.html +++ b/docs/relnotes/12.1.0.html @@ -65,6 +65,7 @@ Note: some of the new features are only available with certain drivers.
  • GL_OES_primitive_bounding_box on i965/gen7+, nvc0, radeonsi
  • GL_OES_texture_cube_map_array on i965/gen8+, nvc0, radeonsi
  • GL_OES_tessellation_shader on i965/gen7+, nvc0, radeonsi
  • +
  • GL_OES_viewport_array on nvc0, radeonsi
  • GL_ANDROID_extension_pack_es31a on i965/gen9+
  • diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index 807fbfbc1f6..ef17aba321e 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -1226,6 +1226,11 @@ void st_init_extensions(struct pipe_screen *screen, extensions->OES_geometry_shader && extensions->ARB_texture_cube_map_array; + extensions->OES_viewport_array = + extensions->ARB_ES3_1_compatibility && + extensions->OES_geometry_shader && + extensions->ARB_viewport_array; + extensions->OES_primitive_bounding_box = extensions->ARB_ES3_1_compatibility; consts->NoPrimitiveBoundingBoxOutput = true; }