Module: Mesa
Branch: master
Commit: d54bc5d2278c70b0ac9e782009748ccfc91f138c
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d54bc5d2278c70b0ac9e782009748ccfc91f138c

Author: Alex Deucher <[email protected]>
Date:   Thu Feb 21 18:43:46 2013 -0500

r600g: synchronize streamout buffers on r6xx too (v3)

Streamout buffers need to be synchronized on r6xx as
well.

v2: Add DEST flush as well.
v3: drop DEST flush

Signed-off-by: Alex Deucher <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>

---

 src/gallium/drivers/r600/r600_hw_context.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/r600/r600_hw_context.c 
b/src/gallium/drivers/r600/r600_hw_context.c
index 7309fc7..9a93edd 100644
--- a/src/gallium/drivers/r600/r600_hw_context.c
+++ b/src/gallium/drivers/r600/r600_hw_context.c
@@ -689,7 +689,7 @@ void r600_flush_emit(struct r600_context *rctx)
                emit_flush = 1;
        }
 
-       if (rctx->family >= CHIP_RV770 && rctx->flags & 
R600_CONTEXT_STREAMOUT_FLUSH) {
+       if (rctx->flags & R600_CONTEXT_STREAMOUT_FLUSH) {
                cp_coher_cntl |= S_0085F0_SO0_DEST_BASE_ENA(1) |
                                S_0085F0_SO1_DEST_BASE_ENA(1) |
                                S_0085F0_SO2_DEST_BASE_ENA(1) |

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to