diff options
author | Jerome Glisse <[email protected]> | 2010-10-05 15:23:07 -0400 |
---|---|---|
committer | Jerome Glisse <[email protected]> | 2010-10-05 15:23:07 -0400 |
commit | 2cf3199ee3b0014bc426bc3163dfa279c00eabb3 (patch) | |
tree | 44c77c596395483ee1d01883b0a420be9eae7650 /src/gallium/drivers | |
parent | ac8a1ebe55b08180945ffaebcff6b3bed336c9ec (diff) |
r600g: simplify block relocation
Since flush rework there could be only one relocation per
register in a block.
Signed-off-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/r600/r600.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/drivers/r600/r600.h b/src/gallium/drivers/r600/r600.h index acacec0c413..630177d6add 100644 --- a/src/gallium/drivers/r600/r600.h +++ b/src/gallium/drivers/r600/r600.h @@ -152,11 +152,10 @@ static inline void r600_pipe_state_add_reg(struct r600_pipe_state *state, #define R600_BLOCK_STATUS_DIRTY (1 << 1) struct r600_block_reloc { - struct r600_bo *bo; - unsigned nreloc; + struct r600_bo *bo; unsigned flush_flags; unsigned flush_mask; - unsigned bo_pm4_index[R600_BLOCK_MAX_BO]; + unsigned bo_pm4_index; }; struct r600_block { |