anv: Set alignments on UBO/SSBO root derefs
authorJason Ekstrand <jason@jlekstrand.net>
Fri, 28 Aug 2020 20:42:45 +0000 (15:42 -0500)
committerMarge Bot <eric+marge@anholt.net>
Thu, 3 Sep 2020 18:02:51 +0000 (18:02 +0000)
commit21fbffc5425e7ee2912285737ef68398bb156732
treeed6b93ae0e971323b0de0ab22f3d254ef4d97d59
parentc7dec0548af8374328fe459d25838d50790e629e
anv: Set alignments on UBO/SSBO root derefs

This doesn't really do anything for us today.  One day, I suppose we
could use it to do something with wide loads with non-uniform offsets.
The big reason to do this is to get better testing to make sure that NIR
doesn't blow up on the deref paths.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6472>
src/intel/vulkan/anv_device.c
src/intel/vulkan/anv_nir_apply_pipeline_layout.c
src/intel/vulkan/anv_private.h