r600g: add missing emit_flush for R600_CONTEXT_FLUSH_AND_INV case
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 22 Feb 2013 14:21:30 +0000 (09:21 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Feb 2013 15:30:26 +0000 (10:30 -0500)
We set the cp_coher_cntl bits but never emit them.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Reviewed-by: Marek Olšák <maraeo@gmail.com>
src/gallium/drivers/r600/r600_hw_context.c

index 9a93edd2209593c9c47318d570a3704edaf7fdfd..ec098c1f7cfa5fdc44cf43e8ad235eea47ba6ac9 100644 (file)
@@ -680,6 +680,7 @@ void r600_flush_emit(struct r600_context *rctx)
                                        S_0085F0_TC_ACTION_ENA(1) |
                                        S_0085F0_FULL_CACHE_ENA(1);
                }
+               emit_flush = 1;
        }
 
        if (rctx->flags & R600_CONTEXT_INVAL_READ_CACHES) {