diff options
author | Chris Forbes <[email protected]> | 2014-09-23 22:16:21 +1200 |
---|---|---|
committer | Chris Forbes <[email protected]> | 2014-10-16 22:31:43 +1300 |
commit | 0dc56600aa0fae509b60da09f57d1f649125be04 (patch) | |
tree | b4237d00b586f0e23cd4f3e992345efb3d9b344d /src | |
parent | 25189c72ce49a4af81a270e11f3a987669727406 (diff) |
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 <[email protected]>
Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c index d35dee0e470..ef46dd78b9e 100644 --- a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c +++ b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c @@ -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; } |