I'm trying to implement window scaling with a dynamic viewport in MoltenVK, by creating oversized swapchain images and calling vkCmdSetViewport. But the entire swapchain image is being scaled down to fit the window, rather than kept at 100% scale and clipped. Where is this scaling happening, and how can I disable it?
If it helps, I'm using the Rust crates winit
to create a window and raw-window-metal
to create a Metal layer.