Files
metal2vulkan/scripts
Anees Iqbal 02e3c4825e State strictLines false in the Vulkan 1.2 floor profile's unrequired properties
VP_LUNARG_minimum_requirements_1_2 states no strictLines, and vk.xml gives
it limittype max, so VK_LAYER_KHRONOS_profiles kept the device's own value
for a run restricted to vk12-floor, while the product's reader takes false
for the absent member. On the NVIDIA RTX 5080 Laptop (strictLines true) the
restriction check refused both vk12-floor runtime lanes (absent_reads and
barycentric_weights: "limits.strict_lines: expected false, queried true").
The M3 (MoltenVK, false) never saw it.

strictLines is the property the generator's m2v_unrequired_properties block
exists for: one the product reads and the layer sets, that the base leaves
open, at the weakest value the specification permits. The block now states
it, and the generator's check that the base does not state a block member
reads VkPhysicalDeviceProperties' nested limits (before, any base limit
would have read as a restatement of limits itself). The product's reading
of vk12-floor is unchanged (false either way).

Verified: python3 -m unittest test_device_profiles (34 tests OK; with the
flattening reverted, the new test_a_limit_is_told_apart_from_the_limits_a_base_states
errors), check_device_profiles.py 19 profiles 0 findings. The 5080 lanes:
expected (run pending).

(cherry picked from commit 47d84ac2719daedeef2cf74751334d826d6fb905)
2026-11-05 05:10:39 -08:00
..