Merge topic 'xcode-source-type-metal'

078c7321 Xcode: Add file type for Metal shader files
This commit is contained in:
Brad King 2015-04-02 12:57:18 -04:00 committed by CMake Topic Stage
commit 1a775917a5
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"