Fix a Metal linker error in the UI test target.
Fix a Metal support detection bug.
iPhone 3Gs fix.
Merge branch 'v3.3' into develop