diff options
author | Marek Olšák <[email protected]> | 2018-04-01 16:40:30 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-04-05 15:34:58 -0400 |
commit | 95bc30275b3de7b856ffac9a1e438f7d246550dc (patch) | |
tree | db394a5a458870e63a4057934844d03d9789b4b3 /src/gallium/drivers/radeonsi/si_pm4.c | |
parent | e5053060ebe1362b8aa6cdf60184a6fae49e025e (diff) |
radeonsi: switch radeon_add_to_buffer_list parameter to si_context
Acked-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pm4.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pm4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pm4.c b/src/gallium/drivers/radeonsi/si_pm4.c index 0705b99cdd2..73c8f315348 100644 --- a/src/gallium/drivers/radeonsi/si_pm4.c +++ b/src/gallium/drivers/radeonsi/si_pm4.c @@ -126,7 +126,7 @@ void si_pm4_emit(struct si_context *sctx, struct si_pm4_state *state) struct radeon_winsys_cs *cs = sctx->b.gfx_cs; for (int i = 0; i < state->nbo; ++i) { - radeon_add_to_buffer_list(&sctx->b, sctx->b.gfx_cs, state->bo[i], + radeon_add_to_buffer_list(sctx, sctx->b.gfx_cs, state->bo[i], state->bo_usage[i], state->bo_priority[i]); } @@ -135,7 +135,7 @@ void si_pm4_emit(struct si_context *sctx, struct si_pm4_state *state) } else { struct r600_resource *ib = state->indirect_buffer; - radeon_add_to_buffer_list(&sctx->b, sctx->b.gfx_cs, ib, + radeon_add_to_buffer_list(sctx, sctx->b.gfx_cs, ib, RADEON_USAGE_READ, RADEON_PRIO_IB2); |