summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/r600_streamout.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2014-12-29 13:27:46 +0100
committerMarek Olšák <[email protected]>2015-01-07 12:06:43 +0100
commitd14f2ab4ad34536d46d0033117a859c53db0c976 (patch)
treefbc8583a35b6d07af8aa6d5b86ecddd1f6309b3a /src/gallium/drivers/radeon/r600_streamout.c
parent0543630d0b0d9d9f6eefbc14fbd3385d4de37ba0 (diff)
r600g: move r6xx-specific streamout flush flagging into r600g
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/r600_streamout.c')
-rw-r--r--src/gallium/drivers/radeon/r600_streamout.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gallium/drivers/radeon/r600_streamout.c b/src/gallium/drivers/radeon/r600_streamout.c
index e2413c250ea..c44f0f2171d 100644
--- a/src/gallium/drivers/radeon/r600_streamout.c
+++ b/src/gallium/drivers/radeon/r600_streamout.c
@@ -305,12 +305,7 @@ void r600_emit_streamout_end(struct r600_common_context *rctx)
}
rctx->streamout.begin_emitted = false;
-
- if (rctx->chip_class >= R700) {
- rctx->flags |= R600_CONTEXT_STREAMOUT_FLUSH;
- } else {
- rctx->flags |= R600_CONTEXT_FLUSH_AND_INV;
- }
+ rctx->flags |= R600_CONTEXT_STREAMOUT_FLUSH;
}
/* STREAMOUT CONFIG DERIVED STATE