zink: respect ubo buffer alignment requirement
authorDuncan Hopkins <duncan@thefoundry.co.uk>
Thu, 11 Jul 2019 10:51:08 +0000 (11:51 +0100)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 28 Oct 2019 08:51:48 +0000 (08:51 +0000)
commit5cf93985a00b80b27ea19a8dae0d77e6dae3331a
tree91c3ee3dfda34f2dbb1a6cd21e7618dbfe62f5b1
parent108ba81c959021ba894553b2c409593c7c51b7bd
zink: respect ubo buffer alignment requirement

The driver can report a minimum alignment for UBOs, and that can be
larger than 64, which we've currently been using. Let's play ball, and
use the reported value instead.

Acked-by: Jordan Justen <jordan.l.justen@intel.com>
src/gallium/drivers/zink/zink_context.c