mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
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:
parent
25189c72ce
commit
0dc56600aa
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue