summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-10-23 12:30:36 -0600
committerBrian Paul <[email protected]>2013-10-23 13:42:51 -0600
commitef98e2ee618f9452a3d16b8fb884d0318f7896fc (patch)
tree542eb97fe75e4fbd02ca1a179575cc7950c940a0
parenta3ed98f7aa85636579a5696bf036ec13e5c9104a (diff)
radeonsi: remove unused si_set_cs_sampler_view()
Fixes build breakage. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70804 Tested-by: Vinson Lee <[email protected]>
-rw-r--r--src/gallium/drivers/radeonsi/radeonsi_compute.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/drivers/radeonsi/radeonsi_compute.c b/src/gallium/drivers/radeonsi/radeonsi_compute.c
index d3f5a238bc0..265dbd7ab59 100644
--- a/src/gallium/drivers/radeonsi/radeonsi_compute.c
+++ b/src/gallium/drivers/radeonsi/radeonsi_compute.c
@@ -240,9 +240,6 @@ static void si_delete_compute_state(struct pipe_context *ctx, void* state){}
static void si_set_compute_resources(struct pipe_context * ctx_,
unsigned start, unsigned count,
struct pipe_surface ** surfaces) { }
-static void si_set_cs_sampler_view(struct pipe_context *ctx_,
- unsigned start_slot, unsigned count,
- struct pipe_sampler_view **views) { }
void si_init_compute_functions(struct r600_context *rctx)
{
@@ -251,7 +248,6 @@ void si_init_compute_functions(struct r600_context *rctx)
rctx->b.b.bind_compute_state = radeonsi_bind_compute_state;
/* ctx->context.create_sampler_view = evergreen_compute_create_sampler_view; */
rctx->b.b.set_compute_resources = si_set_compute_resources;
- rctx->b.b.set_compute_sampler_views = si_set_cs_sampler_view;
rctx->b.b.set_global_binding = radeonsi_set_global_binding;
rctx->b.b.launch_grid = radeonsi_launch_grid;
}