diff options
author | Bas Nieuwenhuizen <[email protected]> | 2019-03-16 22:58:38 +0100 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2019-03-17 00:07:38 +0100 |
commit | 213de3ea99e8d83c6a8b8c03ebdf6babd8de3011 (patch) | |
tree | 53010b86cc1a7684c802a6362c4f13c1212c79f9 /src | |
parent | 158d45db0c2c953dc858b8746adf5ef9ccae9af0 (diff) |
radeonsi: Remove implicit const cast.
Fixes: b9e02fe138e "gallium: add pipe_grid_info::last_block"
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_compute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_compute.c b/src/gallium/drivers/radeonsi/si_compute.c index 6c2269d903a..729dc4e325f 100644 --- a/src/gallium/drivers/radeonsi/si_compute.c +++ b/src/gallium/drivers/radeonsi/si_compute.c @@ -804,7 +804,7 @@ static void si_emit_dispatch_packets(struct si_context *sctx, * allow launching waves out-of-order. (same as Vulkan) */ S_00B800_ORDER_MODE(sctx->chip_class >= CIK); - uint *last_block = info->last_block; + const uint *last_block = info->last_block; bool partial_block_en = last_block[0] || last_block[1] || last_block[2]; radeon_set_sh_reg_seq(cs, R_00B81C_COMPUTE_NUM_THREAD_X, 3); |