summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_texture.c
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2014-11-29 19:21:33 -0500
committerIlia Mirkin <[email protected]>2014-11-30 13:04:28 -0500
commit8e336ef55bacae58fc099a8b8a4b7d3d007c4434 (patch)
treeb36870f63fe90fcf1dfd8ca7408605ee1c809b18 /src/gallium/drivers/freedreno/freedreno_texture.c
parent618ff11457f477ce1d30ecfbcee469287760838b (diff)
freedreno: allow each generation to hook into sampler view setting
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_texture.c')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_texture.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_texture.c b/src/gallium/drivers/freedreno/freedreno_texture.c
index e61bf8a612d..eaa6629f2b8 100644
--- a/src/gallium/drivers/freedreno/freedreno_texture.c
+++ b/src/gallium/drivers/freedreno/freedreno_texture.c
@@ -137,7 +137,7 @@ fd_verttex_set_sampler_views(struct pipe_context *pctx, unsigned nr,
ctx->dirty |= FD_DIRTY_VERTTEX;
}
-static void
+void
fd_set_sampler_views(struct pipe_context *pctx, unsigned shader,
unsigned start, unsigned nr,
struct pipe_sampler_view **views)
@@ -161,6 +161,4 @@ fd_texture_init(struct pipe_context *pctx)
pctx->delete_sampler_state = fd_sampler_state_delete;
pctx->sampler_view_destroy = fd_sampler_view_destroy;
-
- pctx->set_sampler_views = fd_set_sampler_views;
}