radeonsi/compute: fix bind_compute_sampler_states() breakage
authorBrian Paul <brianp@vmware.com>
Thu, 3 Oct 2013 23:31:49 +0000 (17:31 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 3 Oct 2013 23:32:40 +0000 (17:32 -0600)
Remove the assignment and the no-op function.

src/gallium/drivers/radeonsi/radeonsi_compute.c

index 41354806434eaf49aa9b4e71e9368c793cd442de..d3f5a238bc06402ac8a2e6adb1a3b5f53b67c939 100644 (file)
@@ -244,11 +244,6 @@ static void si_set_cs_sampler_view(struct pipe_context *ctx_,
                unsigned start_slot, unsigned count,
                struct pipe_sampler_view **views) { }
 
-static void si_bind_compute_sampler_states(
-       struct pipe_context *ctx_,
-       unsigned start_slot,
-       unsigned num_samplers,
-       void **samplers_) { }
 void si_init_compute_functions(struct r600_context *rctx)
 {
        rctx->b.b.create_compute_state = radeonsi_create_compute_state;
@@ -257,7 +252,6 @@ void si_init_compute_functions(struct r600_context *rctx)
 /*      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.bind_compute_sampler_states = si_bind_compute_sampler_states;
        rctx->b.b.set_global_binding = radeonsi_set_global_binding;
        rctx->b.b.launch_grid = radeonsi_launch_grid;
 }