summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/indices/u_primconvert.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-12-19 16:44:52 +0100
committerMarek Olšák <[email protected]>2016-01-02 15:15:44 +0100
commitffc4716e9730ca162ce5dfcf0298125269c6d908 (patch)
tree37571ed7bcc236998dc969ab82e11529a9c1871e /src/gallium/auxiliary/indices/u_primconvert.c
parent36c93a6fae275614b6004ec5ab085774d527e1bc (diff)
u_upload_mgr: rework the application of alignment
The function only aligned the size, but not the offset. The offset was aligned only when the previous suballocation was aligned. That yielded the correct offset alignment if the alignment was constant for all suballocations. Instead, directly align the offset, but allow an unaligned size. There is no change in behavior, because the alignment is constant at the moment. This a prerequisite for allowing a variable alignment for suballocations. Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/indices/u_primconvert.c')
0 files changed, 0 insertions, 0 deletions