anv: Add an align_down_u32 helper
authorJason Ekstrand <jason@jlekstrand.net>
Fri, 7 Feb 2020 10:33:19 +0000 (04:33 -0600)
committerMarge Bot <eric+marge@anholt.net>
Sat, 7 Mar 2020 04:51:29 +0000 (04:51 +0000)
commitfaea84e2540810feb66ac88359b50cf69f2b3cc6
tree25d9d9e794e254df4cfd2cef4b6f496ab12f9b17
parent61ac8cf08381f7df05b477cfc6854b3b4b88f03f
anv: Add an align_down_u32 helper

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