iris: Fix downcast of bound_vertex_buffers from uint64_t to int
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 28 Apr 2020 21:04:58 +0000 (14:04 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Apr 2020 06:50:54 +0000 (06:50 +0000)
commit506414e837da4b806c6fba1fdb4fe9efedbed94a
tree63f184e02d7f2a0033d7af61a805f493417c65f6
parent5e2a7e11b460adab4555d3d16a49968fc5542441
iris: Fix downcast of bound_vertex_buffers from uint64_t to int

This is the wrong data type, the original field - and the values we're
adding in - are both 64-bit unsigned.  Keep the original data type.

Thanks to Dave Airlie for finding this while reading the code.

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4802>
src/gallium/drivers/iris/iris_state.c