diff options
author | Marek Olšák <[email protected]> | 2012-09-10 01:04:47 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-09-13 20:18:44 +0200 |
commit | 48de30e760516c981d0902556c5055981ec51594 (patch) | |
tree | af2196e3476105a12a47130769faaa742bc3ebf3 /src/gallium/drivers/r600/r600_state.c | |
parent | 1bce17ee01fb2ad77e37a600c2cacda57d0067ef (diff) |
r600g: consolidate set_sampler_views functions
Reviewed-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_state.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_state.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/gallium/drivers/r600/r600_state.c b/src/gallium/drivers/r600/r600_state.c index 9a9d8276102..add0d7d2231 100644 --- a/src/gallium/drivers/r600/r600_state.c +++ b/src/gallium/drivers/r600/r600_state.c @@ -1120,18 +1120,6 @@ static struct pipe_sampler_view *r600_create_sampler_view(struct pipe_context *c return &view->base; } -static void r600_set_vs_sampler_views(struct pipe_context *ctx, unsigned count, - struct pipe_sampler_view **views) -{ - r600_set_sampler_views(ctx, PIPE_SHADER_VERTEX, 0, count, views); -} - -static void r600_set_ps_sampler_views(struct pipe_context *ctx, unsigned count, - struct pipe_sampler_view **views) -{ - r600_set_sampler_views(ctx, PIPE_SHADER_FRAGMENT, 0, count, views); -} - static void r600_set_clip_state(struct pipe_context *ctx, const struct pipe_clip_state *state) { @@ -2089,11 +2077,9 @@ void r600_init_state_functions(struct r600_context *rctx) rctx->context.create_sampler_state = r600_create_sampler_state; rctx->context.create_sampler_view = r600_create_sampler_view; rctx->context.set_clip_state = r600_set_clip_state; - rctx->context.set_fragment_sampler_views = r600_set_ps_sampler_views; rctx->context.set_framebuffer_state = r600_set_framebuffer_state; rctx->context.set_polygon_stipple = r600_set_polygon_stipple; rctx->context.set_scissor_state = r600_pipe_set_scissor_state; - rctx->context.set_vertex_sampler_views = r600_set_vs_sampler_views; rctx->context.set_viewport_state = r600_set_viewport_state; } |