Merge pull request #604 from billhollings/master

Fixes to Metal renderpass layered rendering settings.