tu: Add maintenance5 properties

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25001>
This commit is contained in:
Connor Abbott 2023-09-01 19:10:39 +02:00 committed by Marge Bot
parent a86f2132b3
commit e7d4bc6095

View file

@ -1375,6 +1375,17 @@ tu_GetPhysicalDeviceProperties2(VkPhysicalDevice physicalDevice,
properties->fragmentDensityInvocations = false;
break;
}
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_5_PROPERTIES_KHR: {
VkPhysicalDeviceMaintenance5PropertiesKHR *properties =
(VkPhysicalDeviceMaintenance5PropertiesKHR *)ext;
properties->earlyFragmentMultisampleCoverageAfterSampleCounting = true;
properties->earlyFragmentSampleMaskTestBeforeSampleCounting = true;
properties->depthStencilSwizzleOneSupport = true;
properties->polygonModePointSize = true;
properties->nonStrictWideLinesUseParallelogram = false;
properties->nonStrictSinglePixelWideLinesUseParallelogram = false;
break;
}
default:
break;
}