diff options
author | Chris Forbes <[email protected]> | 2014-10-12 12:28:43 +1300 |
---|---|---|
committer | Chris Forbes <[email protected]> | 2014-10-16 22:31:44 +1300 |
commit | 2883aff3becbb5a71b0bd270266e58114c98ef12 (patch) | |
tree | 71fed4a264029aa013b5354e6c702a185fb6b648 /src | |
parent | 7bd6dfe93401ad6d6ba5018cbe167be8ce29d09d (diff) |
i965: Flag BRW_ATOMIC_COUNTER_BUFFER when a possible ABO is respecified
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/intel_buffer_objects.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_buffer_objects.c b/src/mesa/drivers/dri/i965/intel_buffer_objects.c index 9298e247b34..50523fee317 100644 --- a/src/mesa/drivers/dri/i965/intel_buffer_objects.c +++ b/src/mesa/drivers/dri/i965/intel_buffer_objects.c @@ -114,6 +114,8 @@ intel_bufferobj_alloc_buffer(struct brw_context *brw, brw->state.dirty.brw |= BRW_NEW_UNIFORM_BUFFER; if (intel_obj->Base.UsageHistory & USAGE_TEXTURE_BUFFER) brw->state.dirty.brw |= BRW_NEW_TEXTURE_BUFFER; + if (intel_obj->Base.UsageHistory & USAGE_ATOMIC_COUNTER_BUFFER) + brw->state.dirty.brw |= BRW_NEW_ATOMIC_BUFFER; intel_bufferobj_mark_inactive(intel_obj); } |