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 e5f6612 commit 5c91dc6Copy full SHA for 5c91dc6
tools/nsc/main.cpp
@@ -138,6 +138,14 @@ class ShaderCompiler final : public system::IApplicationFramework
138
std::fstream output_file(output_filepath, std::ios::out | std::ios::binary);
139
output_file.write((const char*)compilation_result->getContent()->getPointer(), compilation_result->getContent()->getSize());
140
output_file.close();
141
+
142
+ // TODO: remove it
143
+ {
144
+ std::fstream output_file("C:/temp.spv", std::ios::out | std::ios::binary);
145
+ output_file.write((const char*)compilation_result->getContent()->getPointer(), compilation_result->getContent()->getSize());
146
+ output_file.close();
147
+ }
148
149
m_logger->log("Shader compilation successful.");
150
return true;
151
}
0 commit comments