gallium/u_suballoc: allow different alignment for each allocation
authorMarek Olšák <marek.olsak@amd.com>
Tue, 31 May 2016 17:06:45 +0000 (19:06 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 4 Jun 2016 13:42:33 +0000 (15:42 +0200)
commitada3d8f31ef3aeeb73d6d365738a2d1968ced596
treeb697854ee678eee668cc14c3a88baac544d1c51f
parent441194edd91c2ca9d2b219f7e16ba2c7783396df
gallium/u_suballoc: allow different alignment for each allocation

Just move the alignment parameter from u_suballocator_create
to u_suballocator_alloc.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Tested-by: Grazvydas Ignotas <notasas@gmail.com>
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
src/gallium/auxiliary/util/u_suballoc.c
src/gallium/auxiliary/util/u_suballoc.h
src/gallium/drivers/r600/r600_asm.c
src/gallium/drivers/r600/r600_pipe.c
src/gallium/drivers/radeon/r600_pipe_common.c
src/gallium/drivers/radeon/r600_streamout.c
src/gallium/drivers/radeonsi/si_descriptors.c
src/gallium/drivers/radeonsi/si_pipe.c