st/mesa: enable AoA for gallium drivers reporting GLSL 1.30
authorDave Airlie <airlied@redhat.com>
Thu, 4 Feb 2016 07:38:54 +0000 (17:38 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 9 Feb 2016 00:52:09 +0000 (10:52 +1000)
Acked-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
docs/GL3.txt
docs/relnotes/11.2.0.html
src/mesa/state_tracker/st_extensions.c

index 257fc73225c297a1cce289181105519c866f1d93..e2aa52cc3889794cfa31f0e2d8f0b9771a588141 100644 (file)
@@ -149,7 +149,7 @@ GL 4.2, GLSL 4.20:
 
 GL 4.3, GLSL 4.30:
 
-  GL_ARB_arrays_of_arrays                              DONE (i965)
+  GL_ARB_arrays_of_arrays                              DONE (all drivers that support GLSL 1.30)
   GL_ARB_ES3_compatibility                             DONE (all drivers that support GLSL 3.30)
   GL_ARB_clear_buffer_object                           DONE (all drivers)
   GL_ARB_compute_shader                                DONE (i965)
@@ -209,7 +209,7 @@ GL 4.5, GLSL 4.50:
 
 These are the extensions cherry-picked to make GLES 3.1
 GLES3.1, GLSL ES 3.1
-  GL_ARB_arrays_of_arrays                              DONE (i965)
+  GL_ARB_arrays_of_arrays                              DONE (all drivers that support GLSL 1.30)
   GL_ARB_compute_shader                                DONE (i965)
   GL_ARB_draw_indirect                                 DONE (i965, nvc0, r600, radeonsi, llvmpipe, softpipe)
   GL_ARB_explicit_uniform_location                     DONE (all drivers that support GLSL)
index 0d92ed41ee8c204e17de6d9b96021b10ee89e779..069eca2b70cdfc20c51ab7fef29367b58e0ce82e 100644 (file)
@@ -44,6 +44,7 @@ Note: some of the new features are only available with certain drivers.
 </p>
 
 <ul>
+<li>GL_ARB_arrays_of_arrays on all gallium drivers that provide GLSL 1.30</li>
 <li>GL_ARB_base_instance on freedreno/a4xx</li>
 <li>GL_ARB_compute_shader on i965</li>
 <li>GL_ARB_copy_image on r600</li>
index f25bd742f79e16c7be5512276d2e66dd20a7dfc1..feabe6290eb8c8fbb7001c9439419487fc3566a6 100644 (file)
@@ -808,6 +808,7 @@ void st_init_extensions(struct pipe_screen *screen,
       }
 
       extensions->EXT_shader_integer_mix = GL_TRUE;
+      extensions->ARB_arrays_of_arrays = GL_TRUE;
    } else {
       /* Optional integer support for GLSL 1.2. */
       if (screen->get_shader_param(screen, PIPE_SHADER_VERTEX,