i965: Correctly use ABO count to trigger flagging of new surfaces.

This would have *almost never* actually been an issue, since other state
tends to get flagged at the same time as new ABOs -- but still bogus.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
This commit is contained in:
Chris Forbes 2014-09-23 22:16:21 +12:00
parent 25189c72ce
commit 0dc56600aa

View file

@ -919,7 +919,7 @@ brw_upload_abo_surfaces(struct brw_context *brw,
&surf_offsets[i], true);
}
if (prog->NumUniformBlocks)
if (prog->NumAtomicBuffers)
brw->state.dirty.brw |= BRW_NEW_SURFACES;
}