This PR ensures the ClosureLightStack is only accessed with constant indices. This reduces compiler spill and allows furhter constant folding, improving the deferred lighting evaluation performance by 30%. Authored by Apple: Michael Parkin-White Pull Request: https://projects.blender.org/blender/blender/pulls/121124