i965: Set dirty state for brw_draw_upload.c when num_instances changes.
authorEric Anholt <eric@anholt.net>
Wed, 31 Oct 2012 20:36:16 +0000 (13:36 -0700)
committerEric Anholt <eric@anholt.net>
Sun, 4 Nov 2012 19:15:44 +0000 (11:15 -0800)
commit29a6307e12e132104ce42ad3b83e377ca34880a7
tree028cdd8c25384b60541405698b0e2e3743a29c4c
parent13170321f6a5d1d8bd1b4b312323fd2c733dd568
i965: Set dirty state for brw_draw_upload.c when num_instances changes.

Otherwise, if we had a set of prims passed in with a num_instances varying
between them, we wouldn't upload enough (or too much!) from user vertex
arrays.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_draw.c