zink: more accurately clamp 3d fb surfaces to corresponding 2d target
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 22 Feb 2022 21:10:05 +0000 (16:10 -0500)
committerMarge Bot <emma+marge@anholt.net>
Mon, 28 Feb 2022 17:42:58 +0000 (17:42 +0000)
commit8e67928862de069d3e6892a1ecbb7ca8d1a648b6
tree51dd95495c84df111d57af81fd29ba577b14a1f1
parent59b0105e658b757b152a55dc6f062b16b7324ef4
zink: more accurately clamp 3d fb surfaces to corresponding 2d target

if more than 1 layer is being bound, this is an array, otherwise it's just
regular 2d

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