anv: use main image address to determine ccs compatibility
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 22 Nov 2023 14:26:38 +0000 (16:26 +0200)
committerEric Engestrom <eric@engestrom.ch>
Sun, 3 Dec 2023 08:05:30 +0000 (08:05 +0000)
commitd0993405a4078ef86d05753c9ac4e03c9cff2fa3
treedb436ffa47f4a64be667ad857fc41260f89f8304
parentd8bb6fb2dc3c06d8e6b7abd891e5115d740e5b9a
anv: use main image address to determine ccs compatibility

The BO address is not really a good criteria since we can bind an
image at an offset inside a BO.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: ee6e2bc4a3 ("anv: Place images into the aux-map when safe to do so")
Tested-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26335>
(cherry picked from commit b09db9d823638ccccb0898736024e69f25c321a0)
.pick_status.json
src/intel/vulkan/anv_image.c
src/intel/vulkan/anv_private.h