• Home
  • Raw
  • Download

Lines Matching refs:cmdLine

75 static void writeShaderProgram (const CommandLine& cmdLine, const std::string& casePath, const xe::…  in writeShaderProgram()  argument
77 …const string basePath = string(de::FilePath::join(cmdLine.dstPath, casePath).getPath()) + "." + de… in writeShaderProgram()
106 static void extractShaderPrograms (const CommandLine& cmdLine, const std::string& casePath, const x… in extractShaderPrograms() argument
124 …writeShaderProgram(cmdLine, casePath, static_cast<const xe::ri::ShaderProgram&>(curItem), programN… in extractShaderPrograms()
141 ShaderProgramExtractHandler (const CommandLine& cmdLine) in ShaderProgramExtractHandler() argument
142 : m_cmdLine(cmdLine) in ShaderProgramExtractHandler()
181 static void extractShaderProgramsFromLogFile (const CommandLine& cmdLine) in extractShaderProgramsFromLogFile() argument
183 std::ifstream in (cmdLine.filename.c_str(), std::ifstream::binary|std::ifstream::in); in extractShaderProgramsFromLogFile()
184 ShaderProgramExtractHandler resultHandler (cmdLine); in extractShaderProgramsFromLogFile()
190 throw std::runtime_error(string("Failed to open '") + cmdLine.filename + "'"); in extractShaderProgramsFromLogFile()
211 static bool parseCommandLine (CommandLine& cmdLine, int argc, const char* const* argv) in parseCommandLine() argument
219 if (cmdLine.filename.empty()) in parseCommandLine()
220 cmdLine.filename = arg; in parseCommandLine()
221 else if (cmdLine.dstPath.empty()) in parseCommandLine()
222 cmdLine.dstPath = arg; in parseCommandLine()
230 if (cmdLine.filename.empty()) in parseCommandLine()
240 CommandLine cmdLine; in main() local
242 if (!parseCommandLine(cmdLine, argc, argv)) in main()
248 extractShaderProgramsFromLogFile(cmdLine); in main()