Module: Mesa
Branch: gallium-0.2
Commit: abcd28b0b3fb77d3f99da957faa94e21ed54cae6
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=abcd28b0b3fb77d3f99da957faa94e21ed54cae6

Author: Brian Paul <[EMAIL PROTECTED]>
Date:   Wed Oct 15 10:43:53 2008 -0600

cell: need to flush draw module when constants change

---

 src/gallium/drivers/cell/ppu/cell_state_shader.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/cell/ppu/cell_state_shader.c 
b/src/gallium/drivers/cell/ppu/cell_state_shader.c
index 54a17ea..cda39f8 100644
--- a/src/gallium/drivers/cell/ppu/cell_state_shader.c
+++ b/src/gallium/drivers/cell/ppu/cell_state_shader.c
@@ -191,6 +191,8 @@ cell_set_constant_buffer(struct pipe_context *pipe,
    assert(shader < PIPE_SHADER_TYPES);
    assert(index == 0);
 
+   draw_flush(cell->draw);
+
    /* note: reference counting */
    winsys_buffer_reference(ws,
                         &cell->constants[shader].buffer,

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to