diff options
author | Marek Olšák <[email protected]> | 2019-02-27 17:19:53 -0500 |
---|---|---|
committer | Leo Liu <[email protected]> | 2019-03-15 11:53:08 -0400 |
commit | b9e02fe138ef181f02fd739129517fbe70604af6 (patch) | |
tree | 1573ab19b98a9be476b425efe8609dcee45b5042 /src/gallium/drivers/radeonsi/si_compute.c | |
parent | 34b3b92bbee1f68a9c121cd26e30e113c8cd39a8 (diff) |
gallium: add pipe_grid_info::last_block
The OpenMAX state tracker will use this.
RadeonSI is adapted to use pipe_grid_info::last_block instead of its
internal state.
Acked-by: Leo Liu <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_compute.c')
-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 87addd53976..6c2269d903a 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 = sctx->compute_last_block; + 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); |