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_zscan.c | |
parent | 3925e521d65e43da90dd8ee3e3fc239602d0ab9b (diff) |
vl: remove old bind_fragment_sampler_states() calls
Diffstat (limited to 'src/gallium/auxiliary/vl/vl_zscan.c')
-rw-r--r-- | src/gallium/auxiliary/vl/vl_zscan.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/gallium/auxiliary/vl/vl_zscan.c b/src/gallium/auxiliary/vl/vl_zscan.c index 706a8094703..2d616d57c7a 100644 --- a/src/gallium/auxiliary/vl/vl_zscan.c +++ b/src/gallium/auxiliary/vl/vl_zscan.c @@ -574,12 +574,8 @@ vl_zscan_render(struct vl_zscan *zscan, struct vl_zscan_buffer *buffer, unsigned zscan->pipe->bind_rasterizer_state(zscan->pipe, zscan->rs_state); zscan->pipe->bind_blend_state(zscan->pipe, zscan->blend); - if (zscan->pipe->bind_sampler_states) - zscan->pipe->bind_sampler_states(zscan->pipe, PIPE_SHADER_FRAGMENT, - 0, 3, zscan->samplers); - else - zscan->pipe->bind_fragment_sampler_states(zscan->pipe, 3, - zscan->samplers); + zscan->pipe->bind_sampler_states(zscan->pipe, PIPE_SHADER_FRAGMENT, + 0, 3, zscan->samplers); zscan->pipe->set_framebuffer_state(zscan->pipe, &buffer->fb_state); zscan->pipe->set_viewport_states(zscan->pipe, 0, 1, &buffer->viewport); zscan->pipe->set_fragment_sampler_views(zscan->pipe, 3, &buffer->src); |