On Sun, Apr 3, 2016 at 4:37 AM, Kenneth Graunke <[email protected]> wrote: > Ilia Mirkin did all the hard work here. We can just enable it.
In fairness, the *hard* work was done by the people who added texture and image buffers support to mesa. Anyways, mind also updating GL3.txt and perhaps relnotes? This was the version I had sent earlier in the week: https://patchwork.freedesktop.org/patch/78631/ [I also took the opportunity to show that it's done on radeonsi, but you can leave that out if you like.] > > Signed-off-by: Kenneth Graunke <[email protected]> > --- > 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 > > _______________________________________________ > mesa-dev mailing list > [email protected] > https://lists.freedesktop.org/mailman/listinfo/mesa-dev _______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
