From a39fecd82b5c7f0ace2b52d22fbe1f42e5e72f51 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 23 Oct 2013 12:30:36 -0600 Subject: [PATCH] radeonsi: remove unused si_set_cs_sampler_view() Fixes build breakage. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70804 --- src/gallium/drivers/radeonsi/radeonsi_compute.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/gallium/drivers/radeonsi/radeonsi_compute.c b/src/gallium/drivers/radeonsi/radeonsi_compute.c index d3f5a23..265dbd7 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; } -- 1.7.10.4