Files
metal2vulkan/crates
Anees Iqbal e2750b6723 rt test: a portability device gives the translator each portability feature it states (red)
The floor's PORTABILITY table enables only the four portability features it requires
(imageViewFormatSwizzle, mutableComparisonSamplers, multisampleArrayImage, imageView2DOn3DImage),
so on a device that lists VK_KHR_portability_subset, shader_enables passes the translator none of
the six other portability features it names (constantAlphaColorBlendFactors,
vertexAttributeAccessBeyondStride, samplerMipLodBias, shaderSampleRateInterpolationFunctions,
separateStencilMaskRef, pointPolygons). The translator then refuses what they carry (sample-rate
interpolation in census 65547 on MoltenVK) though the device states them.

A unit test on the floor's queries: a device at the floor listing the subset and stating every
portability feature; it asks that each portability feature the translator names reach
shader_enables. Expected red until creation enables them where the device states them.
2026-12-02 10:19:41 -08:00
..