commit | 8bf2b5db786b8608ddd7c83fffa695ae011bf6b3 | [log] [tgz] |
---|---|---|
author | Erico Nunes <nunes.erico@gmail.com> | Sat Dec 07 04:38:03 2019 +0100 |
committer | Erico Nunes <nunes.erico@gmail.com> | Sat Dec 14 07:44:43 2019 +0100 |
tree | f71cb27c5e05fd2441fc826236d67cb1db407a69 | |
parent | 9fb45c5bbd11fa54c0777021a236114e414207f8 [diff] |
gallium/util: add alignment parameter to util_upload_index_buffer At least on Mali Utgard, index buffers need to be aligned on 0x40. To avoid duplicating this, add an alignment parameter. Keep the previous default for the other existing users. Signed-off-by: Erico Nunes <nunes.erico@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2445>