summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/vl/vl_mc.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-09-12 15:34:02 -0600
committerBrian Paul <[email protected]>2013-10-03 14:05:28 -0600
commitd0520d5bf6fb8dec8434d6b68dd014227a1bdaa3 (patch)
tree0105b0ae5b1361806fb86a13d39c8f845d110c65 /src/gallium/auxiliary/vl/vl_mc.c
parent3925e521d65e43da90dd8ee3e3fc239602d0ab9b (diff)
vl: remove old bind_fragment_sampler_states() calls
Diffstat (limited to 'src/gallium/auxiliary/vl/vl_mc.c')
-rw-r--r--src/gallium/auxiliary/vl/vl_mc.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/gallium/auxiliary/vl/vl_mc.c b/src/gallium/auxiliary/vl/vl_mc.c
index b864b210476..bd75df164ab 100644
--- a/src/gallium/auxiliary/vl/vl_mc.c
+++ b/src/gallium/auxiliary/vl/vl_mc.c
@@ -614,12 +614,8 @@ vl_mc_render_ref(struct vl_mc *renderer, struct vl_mc_buffer *buffer, struct pip
renderer->pipe->bind_fs_state(renderer->pipe, renderer->fs_ref);
renderer->pipe->set_fragment_sampler_views(renderer->pipe, 1, &ref);
- if (renderer->pipe->bind_sampler_states)
- renderer->pipe->bind_sampler_states(renderer->pipe, PIPE_SHADER_FRAGMENT,
- 0, 1, &renderer->sampler_ref);
- else
- renderer->pipe->bind_fragment_sampler_states(renderer->pipe,
- 1, &renderer->sampler_ref);
+ renderer->pipe->bind_sampler_states(renderer->pipe, PIPE_SHADER_FRAGMENT,
+ 0, 1, &renderer->sampler_ref);
util_draw_arrays_instanced(renderer->pipe, PIPE_PRIM_QUADS, 0, 4, 0,
renderer->buffer_width / VL_MACROBLOCK_WIDTH *