summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_cb_texturebarrier.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/state_tracker/st_cb_texturebarrier.c')
-rw-r--r--src/mesa/state_tracker/st_cb_texturebarrier.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/mesa/state_tracker/st_cb_texturebarrier.c b/src/mesa/state_tracker/st_cb_texturebarrier.c
index a790a7f649d..e1e50da9b23 100644
--- a/src/mesa/state_tracker/st_cb_texturebarrier.c
+++ b/src/mesa/state_tracker/st_cb_texturebarrier.c
@@ -45,7 +45,7 @@
/**
* Called via ctx->Driver.TextureBarrier()
*/
-static void
+void
st_TextureBarrier(struct gl_context *ctx)
{
struct pipe_context *pipe = st_context(ctx)->pipe;
@@ -57,7 +57,7 @@ st_TextureBarrier(struct gl_context *ctx)
/**
* Called via ctx->Driver.FramebufferFetchBarrier()
*/
-static void
+void
st_FramebufferFetchBarrier(struct gl_context *ctx)
{
struct pipe_context *pipe = st_context(ctx)->pipe;
@@ -69,7 +69,7 @@ st_FramebufferFetchBarrier(struct gl_context *ctx)
/**
* Called via ctx->Driver.MemoryBarrier()
*/
-static void
+void
st_MemoryBarrier(struct gl_context *ctx, GLbitfield barriers)
{
struct pipe_context *pipe = st_context(ctx)->pipe;
@@ -130,10 +130,3 @@ st_MemoryBarrier(struct gl_context *ctx, GLbitfield barriers)
if (flags && pipe->memory_barrier)
pipe->memory_barrier(pipe, flags);
}
-
-void st_init_texture_barrier_functions(struct dd_function_table *functions)
-{
- functions->TextureBarrier = st_TextureBarrier;
- functions->FramebufferFetchBarrier = st_FramebufferFetchBarrier;
- functions->MemoryBarrier = st_MemoryBarrier;
-}