From aea4ed41ed9b4d0442d1090ac1f01231a9859796 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Tue, 8 Mar 2011 11:32:35 +0100 Subject: gallium: add texture barrier support to the interface and st/mesa (v2) v2: change the gallium entry point to texture_barrier. --- src/mesa/state_tracker/st_extensions.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mesa/state_tracker/st_extensions.c') diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index e34f90f41e1..bbcae3b02e9 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -522,4 +522,8 @@ void st_init_extensions(struct st_context *st) if (screen->fence_finish) { ctx->Extensions.ARB_sync = GL_TRUE; } + + if (st->pipe->texture_barrier) { + ctx->Extensions.NV_texture_barrier = GL_TRUE; + } } -- cgit v1.2.3