Read nonStrictWideLinesUseParallelogram from the maintenance5 properties

The profile reader took VkPhysicalDeviceMaintenance5Properties' members
only through VkPhysicalDeviceVulkan14Properties, so a capture of a
Vulkan 1.3 device exposing VK_KHR_maintenance5, which carries only the
extension's structure, read nonStrictWideLinesUseParallelogram as false,
and the runtime would announce or band wide lines its device draws as
Metal's parallelogram. PROPERTY_STRUCTS now lists
VkPhysicalDeviceMaintenance5Properties and its KHR name; the member is
still read only where maintenance5 is exposed (the extension or 1.4).
The profile generator's EXTENSION_PROPERTIES states the member at the
value the reader takes when a requirements document lists the extension
and omits it (false).

Nothing moves: every committed capture that carries the extension
structure also carries the Vulkan 1.4 one, with the same value
(golden_hashes passes unblessed). The runtime-sources pin, which hashes
this file, is rewritten in the next commit.

Verified: nextest device::tests::description (23 pass), among them the
new wide_line_parallelograms_read_the_maintenance5_structure (a 1.3
document with the extension and either structure name reads true,
without the extension false, a 1.4 document's Vulkan 1.4 block true);
negative control: with the two names left out of PROPERTY_STRUCTS the
test fails; golden_hashes and fast_paths pass; scripts/regen-device-
profiles test_device_profiles.py and check_device_profiles.py clean.

(Carried to development from steelbrain/reims-graphics-kext 5651992284.)
This commit is contained in:
Anees Iqbal committed 2026-11-01 21:26:21 -08:00
1 parent eb41a55e82
commit bbc7866fa0
3 files changed
+47

No files matched your search

@@ -238,6 +238,7 @@ EXTENSION_PROPERTIES = {
"requiredSubgroupSizeStages": [],
},
"VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT": {"maxVertexAttribDivisor": 0},
"VkPhysicalDeviceMaintenance5Properties": {"nonStrictWideLinesUseParallelogram": False},
"VkPhysicalDeviceSampleLocationsPropertiesEXT": {
"sampleLocationSampleCounts": [],
"variableSampleLocations": False,