zink: avoid overflow when clamping bufferviews
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 7 Sep 2022 17:21:28 +0000 (13:21 -0400)
committerMarge Bot <emma+marge@anholt.net>
Mon, 26 Sep 2022 21:58:58 +0000 (21:58 +0000)
commit084f3b6664116c2da4dc458d8a13e957a9331b4a
tree33e138d1fea49fc67334d174904dc61fda685446
parent55d6847d220fc2562b9384e0874283a02c61ff49
zink: avoid overflow when clamping bufferviews

cc: mesa-stable

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18784>
src/gallium/drivers/zink/zink_context.c