venus: fix view format for ahb image
There's below AHB VU on the image view:
VUID-VkImageViewCreateInfo-image-02399
If image has an external format, format must be VK_FORMAT_UNDEFINED
This is well hidden and completely missed from the original venus ahb implementation.
Test atop turnip
:
-
android.graphics.cts.BasicVulkanGpuTest
passes with 10/10 -
android.graphics.cts.MediaVulkanGpuTest
passes with 1/1
Edited by Yiwei Zhang