Tessellated landscape material stops compiling when more displacement layers are added

Quite possible that you are just hitting 16 sampler limit per landscape component. Try using Shared texture samplers.