anv: Align UBO sizes to 32B
authorJason Ekstrand <jason@jlekstrand.net>
Tue, 11 Feb 2020 16:12:06 +0000 (10:12 -0600)
committerMarge Bot <eric+marge@anholt.net>
Sat, 7 Mar 2020 04:51:28 +0000 (04:51 +0000)
commit61ac8cf08381f7df05b477cfc6854b3b4b88f03f
treee7af4c3f9642bcd27e8f90ec020cfc123245592b
parent4610d69e37fd9472b88fcc7f1bad6530242aa105
anv: Align UBO sizes to 32B

This makes all of our bounds checking consistent with the block loads we
do for constant offset UBO accesses.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3777>
src/intel/vulkan/anv_descriptor_set.c
src/intel/vulkan/anv_private.h
src/intel/vulkan/genX_cmd_buffer.c