mesa: add offset_is_int32 param into _mesa_bind_vertex_buffer for glthread
authorMarek Olšák <marek.olsak@amd.com>
Sat, 7 Mar 2020 02:23:11 +0000 (21:23 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 27 Apr 2020 11:56:06 +0000 (11:56 +0000)
commite9afe045cf5382993da7d31c0bf340def7b97107
tree70228ede45619a7f2bd12c3a156c1243509414e8
parentb8223244c38ad1c433b33b37bff3f19e7a9d2cfc
mesa: add offset_is_int32 param into _mesa_bind_vertex_buffer for glthread

glthread will pass signed integer offsets, so don't reset negative offsets
to 0 there.

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4758>
src/mesa/drivers/common/meta.c
src/mesa/main/bufferobj.c
src/mesa/main/varray.c
src/mesa/main/varray.h
src/mesa/vbo/vbo_exec_draw.c
src/mesa/vbo/vbo_save_api.c