radeonsi: fix a typo at CS_PARTIAL_FLUSH
authorMarek Olšák <marek.olsak@amd.com>
Fri, 21 Sep 2018 07:37:16 +0000 (03:37 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Sun, 7 Oct 2018 01:50:52 +0000 (21:50 -0400)
harmless

src/gallium/drivers/radeonsi/si_state_draw.c

index fceb9debc474248d2f5791cd499282779a9514c7..c9fb97d27e3ff64e0b46dbdfe712d0f1adc28b7b 100644 (file)
@@ -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;
        }