util/format: Change the pointer offset.
authorSergii Melikhov <sergii.v.melikhov@globallogic.com>
Thu, 27 May 2021 11:46:04 +0000 (14:46 +0300)
committerMarge Bot <eric+marge@anholt.net>
Thu, 3 Jun 2021 04:44:24 +0000 (04:44 +0000)
commit8251bd216e7ff300b93788cd1e2d49c301f5fe49
tree5a41cddef5b4dad21f5086f720f7aaa35c197741
parent447e80ac9ba5be2bda665f55d6acb9f52f1e34e7
util/format: Change the pointer offset.

Changed the pointer offset to 2 to account for the second structure variable.

Fixes: 90f98b56f85 ("mesa: Deduplicate _mesa_pack_uint_z_row().")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4685
Signed-off-by: Sergii Melikhov <sergii.v.melikhov@globallogic.com>
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11060>
src/util/format/u_format_zs.c