Backport shader-varying-packing-restrictions.html cleanup to 1.0.2

This fix does not change test behavior.