diff options
author | Brian Paul <[email protected]> | 2013-09-12 15:34:02 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-10-03 14:05:28 -0600 |
commit | d0520d5bf6fb8dec8434d6b68dd014227a1bdaa3 (patch) | |
tree | 0105b0ae5b1361806fb86a13d39c8f845d110c65 /src/gallium/auxiliary/vl/vl_idct.c | |
parent | 3925e521d65e43da90dd8ee3e3fc239602d0ab9b (diff) |
vl: remove old bind_fragment_sampler_states() calls
Diffstat (limited to 'src/gallium/auxiliary/vl/vl_idct.c')
-rw-r--r-- | src/gallium/auxiliary/vl/vl_idct.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/gallium/auxiliary/vl/vl_idct.c b/src/gallium/auxiliary/vl/vl_idct.c index d31bf4120e9..dc14bb71b46 100644 --- a/src/gallium/auxiliary/vl/vl_idct.c +++ b/src/gallium/auxiliary/vl/vl_idct.c @@ -826,11 +826,8 @@ vl_idct_flush(struct vl_idct *idct, struct vl_idct_buffer *buffer, unsigned num_ idct->pipe->bind_rasterizer_state(idct->pipe, idct->rs_state); idct->pipe->bind_blend_state(idct->pipe, idct->blend); - if (idct->pipe->bind_sampler_states) - idct->pipe->bind_sampler_states(idct->pipe, PIPE_SHADER_FRAGMENT, - 0, 2, idct->samplers); - else - idct->pipe->bind_fragment_sampler_states(idct->pipe, 2, idct->samplers); + idct->pipe->bind_sampler_states(idct->pipe, PIPE_SHADER_FRAGMENT, + 0, 2, idct->samplers); idct->pipe->set_fragment_sampler_views(idct->pipe, 2, buffer->sampler_views.stage[0]); @@ -856,11 +853,8 @@ vl_idct_prepare_stage2(struct vl_idct *idct, struct vl_idct_buffer *buffer) /* second stage */ idct->pipe->bind_rasterizer_state(idct->pipe, idct->rs_state); - if (idct->pipe->bind_sampler_states) - idct->pipe->bind_sampler_states(idct->pipe, PIPE_SHADER_FRAGMENT, - 0, 2, idct->samplers); - else - idct->pipe->bind_fragment_sampler_states(idct->pipe, 2, idct->samplers); + idct->pipe->bind_sampler_states(idct->pipe, PIPE_SHADER_FRAGMENT, + 0, 2, idct->samplers); idct->pipe->set_fragment_sampler_views(idct->pipe, 2, buffer->sampler_views.stage[1]); } |