nir: Set UBO alignments in lower_uniforms_to_ubo
authorJason Ekstrand <jason@jlekstrand.net>
Fri, 27 Mar 2020 04:56:57 +0000 (23:56 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 30 Mar 2020 19:18:17 +0000 (19:18 +0000)
commitf5b14d983e5afa1b8f75e6f3692830a1ee46d1df
treec5d93ba469dcfcaeaaffc992ebd4ba98597187eb
parent4a909068ade7125e32e626c870d2197e1f5896c2
nir: Set UBO alignments in lower_uniforms_to_ubo

Fixes: fb64954d9dd "nir: Validate that memory load/store ops work on..."
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4378>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4378>
src/compiler/nir/nir_lower_uniforms_to_ubo.c