st/mesa: turn on OES_viewport_array when dependencies are met
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 16 Sep 2016 19:43:31 +0000 (15:43 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 23 Sep 2016 00:42:30 +0000 (20:42 -0400)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
docs/features.txt
docs/relnotes/12.1.0.html
src/mesa/state_tracker/st_extensions.c

index cb6228693fbacb0e3c8ba45a4df85709776e2641..fbb3952b3c7aceaabd601a990c185f0a91dae9bc 100644 (file)
@@ -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
index fb1d714bac0d4b7e9cabbcc7e589c64e33b66935..cdd89092f539f7aab5445d63d338f814e9b202d2 100644 (file)
@@ -65,6 +65,7 @@ Note: some of the new features are only available with certain drivers.
 <li>GL_OES_primitive_bounding_box on i965/gen7+, nvc0, radeonsi</li>
 <li>GL_OES_texture_cube_map_array on i965/gen8+, nvc0, radeonsi</li>
 <li>GL_OES_tessellation_shader on i965/gen7+, nvc0, radeonsi</li>
+<li>GL_OES_viewport_array on nvc0, radeonsi</li>
 <li>GL_ANDROID_extension_pack_es31a on i965/gen9+</li>
 </ul>
 
index 807fbfbc1f61358275e3bff800ef6f82402b883c..ef17aba321edf4377e8c0f0d274fde20f2e7f43a 100644 (file)
@@ -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;
 }