anv: Allow aliasing with modifiers for WSI images
Ignore ALIAS_BIT when format comes from WSI because we have the ability to bind the MEMORY_BINDING_PRIVATE from the other WSI image. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7019 Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18347>
This commit is contained in:

committed by
Marge Bot

parent
949edb7ffa
commit
f350b78b73
@@ -3301,6 +3301,11 @@ struct anv_image {
|
||||
*/
|
||||
bool disjoint;
|
||||
|
||||
/**
|
||||
* Image is a WSI image
|
||||
*/
|
||||
bool from_wsi;
|
||||
|
||||
/**
|
||||
* Image was imported from an struct AHardwareBuffer. We have to delay
|
||||
* final image creation until bind time.
|
||||
|
Reference in New Issue
Block a user