Merge pull request #1649 from billhollings/mtldevice-barycentric-support

Check MTLDevice for barycentric coordinate support.