mirror of https://github.com/AxioDL/metaforce.git
Debug mode for metal shaders
This commit is contained in:
parent
23a6d66a8c
commit
d88c9cc21b
|
@ -1 +1 @@
|
|||
Subproject commit 2135f4e4dc6ee7fa5a2b6398b97632dc5af9c822
|
||||
Subproject commit 3e1da36f390b4ddbc3a48977906c1f69f009614a
|
|
@ -177,7 +177,11 @@ struct ShaderCompiler<PlatformType::Metal> {
|
|||
close(compilerIn[1]);
|
||||
|
||||
execlp("xcrun", "xcrun", "-sdk", "macosx", "metal", "-o", "/dev/stdout", "-Wno-unused-variable",
|
||||
"-Wno-unused-const-variable", "-Wno-unused-function", "-c", "-x", "metal", "-", NULL);
|
||||
"-Wno-unused-const-variable", "-Wno-unused-function", "-c", "-x", "metal",
|
||||
#ifndef NDEBUG
|
||||
"-gline-tables-only", "-MO",
|
||||
#endif
|
||||
"-", NULL);
|
||||
fprintf(stderr, "execlp fail %s\n", strerror(errno));
|
||||
exit(1);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue