[Feat] (MG_Backend/DirectVulkan): properly handle Vulkan surface transform (pre-rotation)

This commit is contained in:
2026-02-21 20:32:25 +08:00
parent d5940f40be
commit 6540c2eec1
5 changed files with 54 additions and 6 deletions
@@ -20,6 +20,9 @@ namespace MobileGL::MG_Backend::DirectVulkan {
None = 0,
PositionYFlip = 1 << 0,
PositionZRemap = 1 << 1,
SurfaceRotate90 = 1 << 2,
SurfaceRotate180 = 1 << 3,
SurfaceRotate270 = 1 << 4,
};
using CompileOptionFlags = Flags<CompileOptionBit>;
using HashType = Uint64;