zink: further improve bo sizing
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 24 Jun 2022 15:19:14 +0000 (11:19 -0400)
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 5 Jul 2022 20:01:01 +0000 (16:01 -0400)
commitea8a0654f5bb171904b17fcd1ba8228c50343837
tree88bd592fe9f6a1662799bbc1611fa6f98456999b
parente241bbe1ce1a99ad778bc7c8eeec48d5652c8caf
zink: further improve bo sizing

using the attribute slot size isn't sufficient in this case, as the layout
rules may have additional effects upon sizing

instead, just use the explicit size

cc: mesa-stable

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