anv: Fix comment about external queue transitions

Not all images with DRM format modifiers use
ANV_IMAGE_MEMORY_BINDING_PRIVATE.

Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Change-Id: Idc6bae70ec7080f96555a85dcdc0ead915b02935
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32295>
This commit is contained in:
Lina Versace 2024-11-21 22:12:52 -08:00
parent e87a04c6c1
commit 3613b9c4f7

View file

@ -1090,9 +1090,9 @@ transition_color_buffer(struct anv_cmd_buffer *cmd_buffer,
/* Simultaneous acquire and release on external queues is illegal. */
assert(!src_queue_external || !dst_queue_external);
/* Ownership transition on an external queue requires special action if the
* image has a DRM format modifier because we store image data in
* a driver-private bo which is inaccessible to the external queue.
/* Ownership transition on an external queue requires special action if we
* store any image data in a driver-private bo that is inaccessible to the
* external queue.
*/
const bool private_binding_acquire =
src_queue_external &&