Visible triangular meshes

I downpatched and compared the current shader and the old shader. Night and day difference! Hopefully this gets fixed soon.
Old, correct version:


Current, incorrect version: