MoltenVK Rendering Upgrade for C++ Vulkan PyQ

Замовник: AI | Опубліковано: 15.11.2025

I have an existing C++17 code-base that embeds a Vulkan renderer inside a PyQt6 window. The Windows and Linux paths already work; the missing piece is a MoltenVK path so the same application starts and renders correctly on macOS. What I need you to do • Replace / extend the current surface-creation code so that a Metal-backed VkSurfaceKHR is set up through MoltenVK while keeping the Windows and Linux logic intact. • Update the CMake project (and any Python build hooks) with the necessary MoltenVK / Metal frameworks and compile flags. • Adjust swap-chain, image-view, and render-pass creation only where required; the majority of the renderer should stay unchanged. • Provide a minimal demo scene and a short README that shows the build steps and the Python side needed to open the PyQt window and present a frame. Acceptance criteria – Application starts on macOS 11+ and shows the demo scene at >60 FPS without validation-layer errors. – Existing Windows / Linux builds still compile untouched. – README builds the project from a clean checkout on Apple Clang with the MoltenVK SDK. Tools already in place: Qt 5.15, Python 3.10, Vulkan 1.3 headers, CMake 3.22, and a continuous-integration pipeline (GitHub Actions). Feel free to suggest tweaks, but please keep external dependencies minimal. If you have shipped MoltenVK or Metal apps before and are comfortable threading C++ and PyQt together, you should find the task straightforward. Let me know the rough timeline you expect for delivery of the working branch and documentation.