turnip: change emit_ibo to be like emit_textures
authorJonathan Marek <jonathan@marek.ca>
Sun, 15 Dec 2019 16:57:40 +0000 (11:57 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 16 Dec 2019 21:04:42 +0000 (21:04 +0000)
commit2d3492bc623a97edf9011e655d74612ebaf4b0e9
tree254b6addb6ecff89077098940b001ea30e7cd1f6
parent718bd4f8b4239443c06d94e3a80368f4c27a53d9
turnip: change emit_ibo to be like emit_textures

Adds missing alignment and error checking.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3104>
src/freedreno/vulkan/tu_cmd_buffer.c