Addressing a number of small issues and OOB reads/writes occuring in EEVEE Next shadows + lighting passes. Improving correctness for unit tests. Shadows are not yet working overall, but this unblocks progress towards unit tests. Authored by Apple: Michael Parkin-White Pull Request: https://projects.blender.org/blender/blender/pulls/108768