diff options
author | Brian Paul <[email protected]> | 2013-09-12 18:14:02 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-10-03 14:05:28 -0600 |
commit | 7478236da95953c3d491567505048933fc7a2b3c (patch) | |
tree | a2eed72ddc295f1eb378ee26ffde1337c92a6218 /src/gallium/drivers/nouveau/nvc0/nvc0_state.c | |
parent | 1446600d1a878450b08310d2728b01ad04e9e8cd (diff) |
nouveau: remove old bind_*_sampler_states() functions
Diffstat (limited to 'src/gallium/drivers/nouveau/nvc0/nvc0_state.c')
-rw-r--r-- | src/gallium/drivers/nouveau/nvc0/nvc0_state.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_state.c b/src/gallium/drivers/nouveau/nvc0/nvc0_state.c index e3117d443a2..e0e6e135258 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_state.c +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_state.c @@ -472,24 +472,6 @@ nvc0_stage_sampler_states_bind(struct nvc0_context *nvc0, int s, } static void -nvc0_vp_sampler_states_bind(struct pipe_context *pipe, unsigned nr, void **s) -{ - nvc0_stage_sampler_states_bind(nvc0_context(pipe), 0, nr, s); -} - -static void -nvc0_fp_sampler_states_bind(struct pipe_context *pipe, unsigned nr, void **s) -{ - nvc0_stage_sampler_states_bind(nvc0_context(pipe), 4, nr, s); -} - -static void -nvc0_gp_sampler_states_bind(struct pipe_context *pipe, unsigned nr, void **s) -{ - nvc0_stage_sampler_states_bind(nvc0_context(pipe), 3, nr, s); -} - -static void nvc0_stage_sampler_states_bind_range(struct nvc0_context *nvc0, const unsigned s, unsigned start, unsigned nr, void **cso) @@ -532,15 +514,6 @@ nvc0_stage_sampler_states_bind_range(struct nvc0_context *nvc0, } static void -nvc0_cp_sampler_states_bind(struct pipe_context *pipe, - unsigned start, unsigned nr, void **cso) -{ - nvc0_stage_sampler_states_bind_range(nvc0_context(pipe), 5, start, nr, cso); - - nvc0_context(pipe)->dirty_cp |= NVC0_NEW_CP_SAMPLERS; -} - -static void nvc0_bind_sampler_states(struct pipe_context *pipe, unsigned shader, unsigned start, unsigned nr, void **s) { @@ -1221,10 +1194,6 @@ nvc0_init_state_functions(struct nvc0_context *nvc0) pipe->create_sampler_state = nv50_sampler_state_create; pipe->delete_sampler_state = nvc0_sampler_state_delete; pipe->bind_sampler_states = nvc0_bind_sampler_states; - pipe->bind_vertex_sampler_states = nvc0_vp_sampler_states_bind; - pipe->bind_fragment_sampler_states = nvc0_fp_sampler_states_bind; - pipe->bind_geometry_sampler_states = nvc0_gp_sampler_states_bind; - pipe->bind_compute_sampler_states = nvc0_cp_sampler_states_bind; pipe->create_sampler_view = nvc0_create_sampler_view; pipe->sampler_view_destroy = nvc0_sampler_view_destroy; |