anv/cmd_buffer: Take bo_offset into account in fast clear state addresses
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 11 Nov 2017 19:52:41 +0000 (11:52 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 17 Nov 2017 19:32:21 +0000 (11:32 -0800)
commita07f7b26198ce0f5c8799481a673754968ac5daf
tree5e309878f599ca5e3f3575b00a01336d0da5cb6e
parenta6cc361e5fd2450249847d5ee8093d26ed7ff545
anv/cmd_buffer: Take bo_offset into account in fast clear state addresses

Otherwise, if the image is not bound to the start of the buffer, we're
going to be reading and writing its fast clear state in the wrong spot.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: mesa-stable@lists.freedesktop.org
src/intel/vulkan/genX_cmd_buffer.c