[Mesa-dev] [PATCH 2/2] i965: Enable the GL_OES_texture_buffer extension.

Kenneth Graunke kenneth at whitecape.org
Sun Apr 3 08:37:54 UTC 2016


Ilia Mirkin did all the hard work here.  We can just enable it.

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
---
 src/mesa/drivers/dri/i965/intel_extensions.c | 1 +
 1 file changed, 1 insertion(+)

ES31-CTS.texture_buffer.texture_buffer_texture_buffer_range failed
when I originally enabled this extension, but it turned out to be an
unrelated transform feedback bug.  Patch 1/2 in this series fixed it.

With that fix in place, all newly run tests seem to be passing.

diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
index 60ac124..6a20bd6 100644
--- a/src/mesa/drivers/dri/i965/intel_extensions.c
+++ b/src/mesa/drivers/dri/i965/intel_extensions.c
@@ -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;
-- 
2.7.4



More information about the mesa-dev mailing list