diff options
author | Alex Deucher <[email protected]> | 2012-11-08 19:00:59 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2013-06-28 15:16:03 -0400 |
commit | 59e4fe0b7506432bb81cbe524a7e930a25d03c4e (patch) | |
tree | 0bd8e3bd7ce2ff339e294b54d41561dfa62b13fa | |
parent | b363a45c545e161e986bd438b6be2bdabe56d446 (diff) |
radeonsi: emit TA_BC_BASE_ADDR_HI for border color on CIK
Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index 0dc74bc2c82..7df38e9fde8 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -2472,6 +2472,8 @@ static struct si_pm4_state *si_bind_sampler(struct r600_context *rctx, unsigned (void*)rctx->border_color_table); si_pm4_set_reg(pm4, R_028080_TA_BC_BASE_ADDR, va_offset >> 8); + if (rctx->chip_class >= CIK) + si_pm4_set_reg(pm4, R_028084_TA_BC_BASE_ADDR_HI, va_offset >> 40); rctx->ws->buffer_unmap(rctx->border_color_table->cs_buf); si_pm4_add_bo(pm4, rctx->border_color_table, RADEON_USAGE_READ); } |