anv/image: Do not override lower bits of dword.
authorRafael Antognolli <rafael.antognolli@intel.com>
Thu, 18 Jan 2018 22:12:08 +0000 (14:12 -0800)
committerRafael Antognolli <rafael.antognolli@intel.com>
Thu, 5 Apr 2018 14:42:45 +0000 (07:42 -0700)
commitf421a3163751f482818958d8745701ec3174ff83
tree5b6c2660c76eef6c88e3a69c1c28c3c19136b266
parent942fdfe35725c95728bb6a854d9191125c2002b8
anv/image: Do not override lower bits of dword.

The lower bits seem to have extra fields in every platform but gen8
(even though we don't use them in gen9). So just go ahead and avoid
using them for the address.

v4: Use Jason's suggestion for comment explaining the change.
v5: Fix aux_address comment in anv_private.h (Jason)

Signed-off-by: Rafael Antognolli <rafael.antognolli@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/intel/vulkan/anv_image.c
src/intel/vulkan/anv_private.h