From: Brian Date: Fri, 8 Feb 2008 21:46:47 +0000 (-0700) Subject: gallium: added draw_flush() call in softpipe_bind_sampler_state() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=864abce57d3b81d0f92673472959b71e09c4f245;p=mesa.git gallium: added draw_flush() call in softpipe_bind_sampler_state() --- diff --git a/src/mesa/pipe/softpipe/sp_state_sampler.c b/src/mesa/pipe/softpipe/sp_state_sampler.c index 51b4b782873..291bbc40ad0 100644 --- a/src/mesa/pipe/softpipe/sp_state_sampler.c +++ b/src/mesa/pipe/softpipe/sp_state_sampler.c @@ -49,6 +49,8 @@ softpipe_bind_sampler_state(struct pipe_context *pipe, { struct softpipe_context *softpipe = softpipe_context(pipe); + draw_flush(softpipe->draw); + assert(unit < PIPE_MAX_SAMPLERS); softpipe->sampler[unit] = (struct pipe_sampler_state *)sampler;