mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
radeonsi: remove CE offset alignment restriction
This was only needed by LOAD_CONST_RAM, which is now only used to load whole CE. Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
a7f098fb76
commit
1cde473ec0
1 changed files with 1 additions and 2 deletions
|
|
@ -113,8 +113,7 @@ static void si_init_descriptors(struct si_descriptors *desc,
|
|||
desc->uses_ce = true;
|
||||
desc->ce_offset = *ce_offset;
|
||||
|
||||
/* make sure that ce_offset stays 32 byte aligned */
|
||||
*ce_offset += align(element_dw_size * num_elements * 4, 32);
|
||||
*ce_offset += element_dw_size * num_elements * 4;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue