Compare commits

..

2 commits

Author SHA1 Message Date
squidbus
99db834f5c
Merge f581e40c71 into 990d03b28a 2025-08-09 10:53:25 +00:00
squidbus
f581e40c71 MSL shader support
Co-authored-by: Isaac Marovitz <isaacryu@icloud.com>
2025-08-09 03:53:19 -07:00

View file

@ -54,7 +54,7 @@ std::vector<uint8_t> AirCompiler::compile(const std::string& shaderSource)
}
const char* compileCommand[] = {
"/usr/bin/xcrun", "-sdk", "macosx", "metal", "-o", irPath.path.c_str(), "-c", sourcePath.path.c_str(), "-Wno-unused-variable", "-frecord-sources", "-gline-tables-only", "-fmetal-math-mode=relaxed", "-D__air__",
"/usr/bin/xcrun", "-sdk", "macosx", "metal", "-o", irPath.path.c_str(), "-c", sourcePath.path.c_str(), "-Wno-unused-variable", "-frecord-sources", "-gline-tables-only", "-D__air__",
#ifdef UNLEASHED_RECOMP
"-DUNLEASHED_RECOMP",
#endif