Xcode: Add file type for Metal shader files

This commit is contained in:
Sean James 2015-04-01 15:02:42 -04:00 committed by Brad King
parent 0de7807c36
commit 078c732185
1 changed files with 4 additions and 0 deletions

View File

@ -865,6 +865,10 @@ GetSourcecodeValueFromFileExtension(const std::string& _ext,
{ {
sourcecode += ".asm"; sourcecode += ".asm";
} }
else if (ext == "metal")
{
sourcecode += ".metal";
}
//else //else
// { // {
// // Already specialized above or we leave sourcecode == "sourcecode" // // Already specialized above or we leave sourcecode == "sourcecode"