fix fd.o bug #12217, recalcuate urb when clip plane size change

This commit is contained in:
Zou Nan hai 2007-09-24 16:48:55 +08:00 committed by Brian
parent f40ca444f5
commit 925ff408a6

View file

@ -90,7 +90,7 @@ static void calculate_curbe_offsets( struct brw_context *brw )
*/
if (nr_fp_regs > brw->curbe.wm_size ||
nr_vp_regs > brw->curbe.vs_size ||
nr_clip_regs > brw->curbe.clip_size ||
nr_clip_regs != brw->curbe.clip_size ||
(total_regs < brw->curbe.total_size / 4 &&
brw->curbe.total_size > 16)) {