cell: need to flush draw module when constants change

This commit is contained in:
Brian Paul
2008-10-15 10:43:53 -06:00
parent b261ed1f61
commit abcd28b0b3
@@ -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,