i965: enable OES_texture_buffer on gen7+
authorIlia Mirkin <imirkin@alum.mit.edu>
Tue, 29 Mar 2016 23:30:31 +0000 (19:30 -0400)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 11 Apr 2016 03:24:26 +0000 (20:24 -0700)
It will only end up getting exposed on gen8+ since it requires GL ES
3.1, but it should be ready to go on gen7 when support for GL ES 3.1 is
completed there.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Tested-by: Kenneth Graunke <kenneth@whitecape.org>
docs/GL3.txt
docs/relnotes/11.3.0.html
src/mesa/drivers/dri/i965/intel_extensions.c

index e6bb7529a2e8b4048a61b4ff6c8e70f52bda8b48..7267de3a4336f107c30effee7d3c36e11ef8b8a6 100644 (file)
@@ -269,7 +269,7 @@ GLES3.2, GLSL ES 3.2
   GL_OES_shader_multisample_interpolation               DONE (nvc0, r600, radeonsi)
   GL_OES_tessellation_shader                            not started (based on GL_ARB_tessellation_shader, which is done for some drivers)
   GL_OES_texture_border_clamp                           DONE (all drivers)
-  GL_OES_texture_buffer                                 DONE (core only)
+  GL_OES_texture_buffer                                 DONE (i965, radeonsi)
   GL_OES_texture_cube_map_array                         not started (based on GL_ARB_texture_cube_map_array, which is done for all drivers)
   GL_OES_texture_stencil8                               DONE (all drivers that support GL_ARB_texture_stencil8)
   GL_OES_texture_storage_multisample_2d_array           DONE (all drivers that support GL_ARB_texture_multisample)
index 97c83a36cf790d467dc9b9873b6f821c0ec1af17..2474f386bd9b6d9f71e74d56a65f8d05a60c5758 100644 (file)
@@ -54,6 +54,7 @@ Note: some of the new features are only available with certain drivers.
 <li>GL_OES_draw_buffers_indexed and GL_EXT_draw_buffers_indexed on all drivers that support GL_ARB_draw_buffers_blend</li>
 <li>GL_OES_shader_image_atomic on all drivers that support GL_ARB_shader_image_load_store</li>
 <li>GL_OES_texture_border_clamp and GL_EXT_texture_border_clamp on all drivers that support GL_ARB_texture_border_clamp</li>
+<li>GL_OES_texture_buffer and GL_EXT_texture_buffer on i965, radeonsi</li>
 <li>EGL_KHR_reusable_sync on all drivers</li>
 </ul>
 
index 60ac124ecd0e33fa31348788cb4d342a42f6e5d1..6a20bd6d9256dee388c8548aedd1c1688bd2a51c 100644 (file)
@@ -340,6 +340,7 @@ intelInitExtensions(struct gl_context *ctx)
       ctx->Extensions.ARB_texture_view = true;
       ctx->Extensions.ARB_shader_storage_buffer_object = true;
       ctx->Extensions.EXT_shader_samples_identical = true;
+      ctx->Extensions.OES_texture_buffer = true;
 
       if (brw->can_do_pipelined_register_writes) {
          ctx->Extensions.ARB_draw_indirect = true;