mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 20:58:04 +02:00
gallium: added draw_flush() call in softpipe_bind_sampler_state()
This commit is contained in:
parent
76dc41765f
commit
184054fea1
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue