Lines Matching refs:cmdLine
68 static void writeShaderProgram (const CommandLine& cmdLine, const std::string& casePath, const xe::… in writeShaderProgram() argument
70 …const string basePath = string(de::FilePath::join(cmdLine.dstPath, casePath).getPath()) + "." + de… in writeShaderProgram()
99 static void extractShaderPrograms (const CommandLine& cmdLine, const std::string& casePath, const x… in extractShaderPrograms() argument
117 …writeShaderProgram(cmdLine, casePath, static_cast<const xe::ri::ShaderProgram&>(curItem), programN… in extractShaderPrograms()
134 ShaderProgramExtractHandler (const CommandLine& cmdLine) in ShaderProgramExtractHandler() argument
135 : m_cmdLine(cmdLine) in ShaderProgramExtractHandler()
174 static void extractShaderProgramsFromLogFile (const CommandLine& cmdLine) in extractShaderProgramsFromLogFile() argument
176 std::ifstream in (cmdLine.filename.c_str(), std::ifstream::binary|std::ifstream::in); in extractShaderProgramsFromLogFile()
177 ShaderProgramExtractHandler resultHandler (cmdLine); in extractShaderProgramsFromLogFile()
183 throw std::runtime_error(string("Failed to open '") + cmdLine.filename + "'"); in extractShaderProgramsFromLogFile()
204 static bool parseCommandLine (CommandLine& cmdLine, int argc, const char* const* argv) in parseCommandLine() argument
212 if (cmdLine.filename.empty()) in parseCommandLine()
213 cmdLine.filename = arg; in parseCommandLine()
214 else if (cmdLine.dstPath.empty()) in parseCommandLine()
215 cmdLine.dstPath = arg; in parseCommandLine()
223 if (cmdLine.filename.empty()) in parseCommandLine()
233 CommandLine cmdLine; in main() local
235 if (!parseCommandLine(cmdLine, argc, argv)) in main()
241 extractShaderProgramsFromLogFile(cmdLine); in main()