We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94b8ee4 commit 93ad78aCopy full SHA for 93ad78a
tools/matc/src/matc/MaterialCompiler.cpp
@@ -70,6 +70,12 @@ bool MaterialCompiler::run(const matp::Config& config) {
70
return false;
71
}
72
73
+ // If we're reflecting parameters, the MaterialParser will have handled it inside of parse().
74
+ // We should return here to avoid actually building a material.
75
+ if (config.getReflectionTarget() != matp::Config::Metadata::NONE) {
76
+ return true;
77
+ }
78
+
79
JobSystem js;
80
js.adopt();
81
0 commit comments