gallium: add texture barrier support to the interface and st/mesa (v2)

v2: change the gallium entry point to texture_barrier.
This commit is contained in:
Marek Olšák
2011-03-08 11:32:35 +01:00
parent 9a9c1e1ae1
commit aea4ed41ed
8 changed files with 120 additions and 0 deletions

View File

@@ -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;
}
}