From: Marek Olšák Date: Wed, 17 May 2017 00:45:25 +0000 (+0200) Subject: radeonsi: remove CE offset alignment restriction X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1cde473ec08e9aa60f474d460df1b4c3ba6d3c70;p=mesa.git 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 --- diff --git a/src/gallium/drivers/radeonsi/si_descriptors.c b/src/gallium/drivers/radeonsi/si_descriptors.c index b514961925f..5086a33969a 100644 --- a/src/gallium/drivers/radeonsi/si_descriptors.c +++ b/src/gallium/drivers/radeonsi/si_descriptors.c @@ -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; } }