Mesa (master): radeonsi/compute: fix bind_compute_sampler_states() breakage

Brian Paul brianp at kemper.freedesktop.org
Thu Oct 3 23:33:07 UTC 2013


Module: Mesa
Branch: master
Commit: 99a471c67bd0de1aad69b0219c056a7345ea0a33
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=99a471c67bd0de1aad69b0219c056a7345ea0a33

Author: Brian Paul <brianp at vmware.com>
Date:   Thu Oct  3 17:31:49 2013 -0600

radeonsi/compute: fix bind_compute_sampler_states() breakage

Remove the assignment and the no-op function.

---

 src/gallium/drivers/radeonsi/radeonsi_compute.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/src/gallium/drivers/radeonsi/radeonsi_compute.c b/src/gallium/drivers/radeonsi/radeonsi_compute.c
index 4135480..d3f5a23 100644
--- a/src/gallium/drivers/radeonsi/radeonsi_compute.c
+++ b/src/gallium/drivers/radeonsi/radeonsi_compute.c
@@ -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;
 }




More information about the mesa-commit mailing list