anv: set MOCS on push constants
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 6 Feb 2020 08:13:36 +0000 (10:13 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 6 Feb 2020 10:10:11 +0000 (10:10 +0000)
commitf9febfae416e9fdf39a501ceb53a65c99ca78eed
treeb58e66684ca67031348bb67f3940b42de677ac3d
parenta140ea1cedc5b979410796b13f33031c7b20671d
anv: set MOCS on push constants

v2: Also set MOCS on 3DSTATE_CONSTANT_ALL (Ken)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 67d2cb3e9367 ("anv: Add get_push_range_address() helper.")
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3732>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3732>
src/intel/vulkan/genX_cmd_buffer.c