diff options
author | José Fonseca <jfonseca@vmware.com> | 2011-02-18 14:33:55 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2011-02-18 16:43:59 +0000 |
commit | 0ced789a0b56256891a2a26342befe645f4fa46d (patch) | |
tree | 74633fa9f75bf81288d6a9b4cd2699d57c2958e4 /src/gallium/drivers/svga/svga_pipe_misc.c | |
parent | f9b48678463e926571ab5e547bb5ced5f4a6896a (diff) |
svga: Ensure pending drawing commands other surface operations are emitted before DMAs.
This behavior was last when moving the transfers to the contexts.
This fixes several piglit failures, which were reading the color renderbuffer
before the draw operations were emitted.
Diffstat (limited to 'src/gallium/drivers/svga/svga_pipe_misc.c')
-rw-r--r-- | src/gallium/drivers/svga/svga_pipe_misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_pipe_misc.c b/src/gallium/drivers/svga/svga_pipe_misc.c index 8c24fb302f..440919c626 100644 --- a/src/gallium/drivers/svga/svga_pipe_misc.c +++ b/src/gallium/drivers/svga/svga_pipe_misc.c @@ -94,7 +94,7 @@ static void svga_set_framebuffer_state(struct pipe_context *pipe, for (i = 0; i < PIPE_MAX_COLOR_BUFS; i++) if (dst->cbufs[i] && dst->cbufs[i] != fb->cbufs[i]) - svga_propagate_surface(pipe, dst->cbufs[i]); + svga_propagate_surface(svga, dst->cbufs[i]); } /* XXX: Actually the virtual hardware may support rendertargets with |