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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user