How to solve Vulkan Android PreTransform issue in Unreal Engine 4.27?

Hey guys, I think I need some help in the Vulkan pre-rotation issue on Android inside Unreal Engine.

In the Unreal Engine Vulkan RHI, I found that the QCOM extension was written inside the Vulkan SwapChain to handle this issue, once this extension is detected the Unreal Engine will swap the width and height of the current swapchain.

image

But when I tested it’s functionality on phone , it is buggy.
Enabling this extension will cause the image keep swapping between horizontal and vertical constantly instead of showing a stable image on phone screen.
And since it only works for phones with QualComm chips, I want to modify it to provide a general solution for the preRotation problem.

I have read the document of the QualComm Extension and the Android pre-rotation implement guidance, only to find that I may have to modify many parts of the Unreal Vulkan implementation.

Hoping someone can give me some instructions and helps on how to make this!

Thanks!