General refactoring and improvements to bulk snow implementation

Also reverts some recent changes to layer state handling which were causing type instability/allocations.

Merge request reports

Loading