summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-09-21 03:37:16 -0400
committerMarek Olšák <[email protected]>2018-10-06 21:50:52 -0400
commit066aa44fc56d277b3932d124c4962106c6962863 (patch)
tree8309c9f62f5d03c20258370cca80073d8f1a012d /src/gallium/drivers/radeonsi
parent77903c8cfbaa609d132ea5e5fbca062e0b2f0808 (diff)
radeonsi: fix a typo at CS_PARTIAL_FLUSH
harmless
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r--src/gallium/drivers/radeonsi/si_state_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state_draw.c b/src/gallium/drivers/radeonsi/si_state_draw.c
index fceb9debc47..c9fb97d27e3 100644
--- a/src/gallium/drivers/radeonsi/si_state_draw.c
+++ b/src/gallium/drivers/radeonsi/si_state_draw.c
@@ -962,7 +962,7 @@ void si_emit_cache_flush(struct si_context *sctx)
if (flags & SI_CONTEXT_CS_PARTIAL_FLUSH &&
sctx->compute_is_busy) {
radeon_emit(cs, PKT3(PKT3_EVENT_WRITE, 0, 0));
- radeon_emit(cs, EVENT_TYPE(V_028A90_CS_PARTIAL_FLUSH | EVENT_INDEX(4)));
+ radeon_emit(cs, EVENT_TYPE(V_028A90_CS_PARTIAL_FLUSH) | EVENT_INDEX(4));
sctx->num_cs_flushes++;
sctx->compute_is_busy = false;
}