projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76dc417
)
gallium: added draw_flush() call in softpipe_bind_sampler_state()
author
Brian
<brian.paul@tungstengraphics.com>
Fri, 8 Feb 2008 21:46:47 +0000
(14:46 -0700)
committer
Ben Skeggs
<skeggsb@gmail.com>
Fri, 15 Feb 2008 02:50:33 +0000
(13:50 +1100)
src/mesa/pipe/softpipe/sp_state_sampler.c
patch
|
blob
|
history
diff --git
a/src/mesa/pipe/softpipe/sp_state_sampler.c
b/src/mesa/pipe/softpipe/sp_state_sampler.c
index 51b4b782873b86b80be1c4b01bb82b38f0250404..291bbc40ad07ee5fdf6efe34baf038e5aa86341d 100644
(file)
--- 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;