gpu: Request all VkImageUsageFlags for VkImages that alias GL textures
Different VkImageUsageFlags may create VkImages with different characteristics. glTexStorageMem2DEXTFn doesn't accept a usage flag argument, instead the spec requires us to request all supported flags for allocations that will alias GL textures. This fixes ExternalVkImageFactory to comply this requirement. It's an issue on ARM where VK_IMAGE_USAGE_STORAGE_BIT affects VkImage memory requirements. Bug: 1058958 Change-Id: I711f8463f709e9c77811325e004018c87bcd0626 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2090454Reviewed-by:Peng Huang <penghuang@chromium.org> Reviewed-by:
Zhenyao Mo <zmo@chromium.org> Commit-Queue: Michael Spang <spang@chromium.org> Cr-Commit-Position: refs/heads/master@{#747826}
Showing
Please register or sign in to comment