mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 08:40:11 +01:00
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:
parent
e87a04c6c1
commit
3613b9c4f7
1 changed files with 3 additions and 3 deletions
|
|
@ -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 &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue