anv: Pass buffer addresses into emit_push_constant*
authorJason Ekstrand <jason@jlekstrand.net>
Tue, 11 Feb 2020 13:40:05 +0000 (07:40 -0600)
committerMarge Bot <eric+marge@anholt.net>
Sat, 7 Mar 2020 04:51:28 +0000 (04:51 +0000)
commit28c243e9ece55d0dda0cf065b2496c9f1ff05c79
tree5bf27cac6ab95804e0244ba13b41c7443c5758d3
parentff5de35127d788584be56b047cb609effca5c80b
anv: Pass buffer addresses into emit_push_constant*

While we're here, we add an assert that bind_map::push_ranges is tightly
packed.  If it isn't, it breaks assumptions in the emit_push_constant*
functions.

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