MoltenVK is a Vulkan Portability implementation. It layers a subset of the high-performance, industry-standard Vulkan graphics and compute API over Apple's Metal graphics framework, enabling Vulkan applications to run on macOS, iOS and tvOS.
For native MSAA on the GPU, Metal uses the equivalent of AVERAGE. For simplicity, MoltenVK uses SAMPLE_ZERO in the compute kernel when native MSAA is not supported.
As an enhancement, we could add support to the kernel function to resolve the other resolve modes. We could also run the compute kernel anytime a resolution mode other than AVERAGE is requested.
For native MSAA on the GPU, Metal uses the equivalent of
AVERAGE
. For simplicity, MoltenVK usesSAMPLE_ZERO
in the compute kernel when native MSAA is not supported.As an enhancement, we could add support to the kernel function to resolve the other resolve modes. We could also run the compute kernel anytime a resolution mode other than
AVERAGE
is requested.