diff options
author | Bas Nieuwenhuizen <[email protected]> | 2018-12-05 11:28:12 +0100 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2019-01-07 15:20:55 +0100 |
commit | 110564fdecd0948e7aa9b1a607af7631430092ff (patch) | |
tree | 20501accf58d426747e87f2982ad8f51bd8f55e8 /include | |
parent | 9a45a190ad22849a492506389413046948e0b093 (diff) |
anv/android: Do not reject storage images.
We do the ImageFormatProperties check already, and rejecting an usage
flag when both ImageFormatProperties and the WSI (which is Android)
support it is not allowed.
Intel does support storage for some of the support WSI formats, such
as R8G8B8A8_UNORM, and looking at the ISL_SURF_USAGE_DISABLE_AUX_BIT,
the imported images do not have any form of compression that would
prevent this fix.
v2: Also consider STORAGE bit for Gralloc usage bits.
(From Kevin Strasser <[email protected]>)
Fixes: 053d4c328fa "anv: Implement VK_ANDROID_native_buffer (v9)"
Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions