Note Metal requirement in UserGuide.md
This commit is contained in:
parent
5e03632d69
commit
9b1194afba
@ -271,7 +271,7 @@ In addition to core *Vulkan* functionality, **MoltenVK** also supports the foll
|
||||
- `VK_KHR_device_group_creation`
|
||||
- `VK_KHR_driver_properties`
|
||||
- `VK_KHR_dynamic_rendering`
|
||||
- `VK_KHR_fragment_shader_barycentric`
|
||||
- `VK_KHR_fragment_shader_barycentric` *(requires Metal 2.2 on Mac or Metal 2.3 on iOS)*
|
||||
- `VK_KHR_get_memory_requirements2`
|
||||
- `VK_KHR_get_physical_device_properties2`
|
||||
- `VK_KHR_get_surface_capabilities2`
|
||||
|
@ -289,7 +289,7 @@ void MVKPhysicalDevice::getFeatures(VkPhysicalDeviceFeatures2* features) {
|
||||
}
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_FEATURES_KHR: {
|
||||
auto* barycentricProperties = (VkPhysicalDeviceFragmentShaderBarycentricFeaturesKHR*)next;
|
||||
barycentricProperties->fragmentShaderBarycentric = true;
|
||||
barycentricProperties->fragmentShaderBarycentric = [_mtlDevice barycentricCoordsSupported];
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user