nir/linking: fix issue with two compact variables in a row.

Merged Dave Airlie requested to merge airlied/mesa:nir-linking-helpers-fix-compact into master

If we have a clip dist float[1] compact followed by a tess factor float[2] we don't want to overlap them, but the partial check only happens for non-compact vars.

This fixes some issues seen with my sw vulkan layer with dEQP-VK.clipping.user_defined.clip_distance*

Merge request reports