Merge pull request #1415 from billhollings/renderpass-testing-fixes

Fix pipeline barriers not working inside self-dependent subpasses on Apple GPUs.