gallium/util: add new helpers for user index buffer uploading
authorMarek Olšák <marek.olsak@amd.com>
Wed, 22 Feb 2017 19:52:49 +0000 (20:52 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 24 Feb 2017 23:03:09 +0000 (00:03 +0100)
commitf139b6fb4fc2d06a1df9dce3dc37ddf336bc64b3
tree44f936ecd31b8f31f70994cf9ebc2181747a47df
parentb10197e3a44d25962e517b7b7f16b587bb698a49
gallium/util: add new helpers for user index buffer uploading

v3: split from the etnaviv patch; fix new_ib.buffer leak

Reviewed-by: Brian Paul <brianp@vmware.com>
Tested-by: Brian Paul <brianp@vmware.com> (VMware driver only)
src/gallium/auxiliary/util/u_helpers.c
src/gallium/auxiliary/util/u_helpers.h