This is a cleanup / refactor to avoid using more LDS and introduces 2 `barrier` calls instead. All access to LDS are guarded behind accessor function instead of Macro for readability. This somehow fixes a GPU hang inside `tree_creature.blend` when overlays (hdri sphere) are enabled + DoF. Pull Request: https://projects.blender.org/blender/blender/pulls/120704