From: Brian Paul Date: Wed, 15 Oct 2008 16:43:53 +0000 (-0600) Subject: cell: need to flush draw module when constants change X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=abcd28b0b3fb77d3f99da957faa94e21ed54cae6;p=mesa.git cell: need to flush draw module when constants change --- diff --git a/src/gallium/drivers/cell/ppu/cell_state_shader.c b/src/gallium/drivers/cell/ppu/cell_state_shader.c index 54a17eaf2b7..cda39f8d592 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,