Home
last modified time | relevance | path

Searched refs:infoLog (Results 1 – 25 of 41) sorted by relevance

12

/external/deqp/framework/opengl/
DgluShaderProgram.cpp82 m_info.infoLog.clear(); in compile()
116 std::vector<char> infoLog(infoLogLen + 3, '\0'); in compile() local
119 m_gl.getShaderInfoLog(m_shader, (int)infoLog.size() - 1, &unusedLen, &infoLog[0]); in compile()
121 if (infoLog[(int)(infoLog.size()) - 1] != '\0') in compile()
124 m_info.infoLog = std::string(&infoLog[0], infoLog.size()); in compile()
129 m_info.infoLog = std::string(&infoLog[0]); in compile()
160 std::vector<char> infoLog(infoLogLen + 3, '\0'); in getProgramInfoLog() local
163 gl.getProgramInfoLog(program, (int)infoLog.size() - 1, &unusedLen, &infoLog[0]); in getProgramInfoLog()
166 if (infoLog[(int)(infoLog.size()) - 1] != '\0') in getProgramInfoLog()
167 return std::string(&infoLog[0], infoLog.size()); in getProgramInfoLog()
[all …]
DgluShaderProgram.hpp50 std::string infoLog; //!< Compile info log. member
62 std::string infoLog; //!< Link info log. member
97 const std::string& getInfoLog (void) const { return getInfo().infoLog; } in getInfoLog()
133 const std::string& getInfoLog (void) const { return getInfo().infoLog; } in getInfoLog()
/external/skia/bench/
DGLBench.cpp74 GrGLchar infoLog[512]; in CompileShader() local
77 GR_GL_CALL(gl, GetShaderInfoLog(shader, 512, nullptr, infoLog)); in CompileShader()
78 SkDebugf("ERROR::SHADER::COMPLIATION_FAILED: %s\n", infoLog); in CompileShader()
97 GrGLchar infoLog[512]; in CreateProgram() local
100 GR_GL_CALL(gl, GetProgramInfoLog(shaderProgram, 512, nullptr, infoLog)); in CreateProgram()
101 SkDebugf("Linker Error: %s\n", infoLog); in CreateProgram()
/external/autotest/client/site_tests/graphics_SanAngeles/src/
Dshader.c30 char *infoLog; in printShaderLog() local
32 infoLog = malloc(infoLogSize); in printShaderLog()
33 glGetShaderInfoLog(shader, infoLogSize, &infoWritten, infoLog); in printShaderLog()
34 fprintf(stderr, "Error: glCompileShader failed: %s\n", infoLog); in printShaderLog()
35 free(infoLog); in printShaderLog()
/external/deqp/external/vulkancts/framework/vulkan/
DvkSpirVAsm.cpp58 …buildInfo->infoLog = diagnostic? diagnostic->error : ""; // \todo [2015-07-13 pyry] Include debu… in assembleSpirV()
113 bool validateSpirV (size_t binarySizeInWords, const deUint32* binary, std::ostream* infoLog) in validateSpirV() argument
124 *infoLog << diagnostic->error; in validateSpirV()
DvkPrograms.cpp123 buildInfo->program.infoLog += "\n" + validationLog.str(); in buildProgram()
150 buildInfo->infoLog += "\n" + validationLog.str(); in assembleProgram()
DvkSpirVAsm.hpp41 bool validateSpirV (size_t binarySizeInWords, const deUint32* binary, std::ostream* infoLog);
DvkSpirVProgram.cpp33 log << tcu::TestLog::ShaderProgram(shaderInfo.compileOk , shaderInfo.infoLog) in operator <<()
DvkSpirVProgram.hpp58 std::string infoLog; member
DvkGlslToSpirV.cpp243 shaderBuildInfo.infoLog = shader.getInfoLog(); // \todo [2015-07-13 pyry] Include debug log? in compileGlslToSpirV()
256 …buildInfo->program.infoLog = program.getInfoLog(); // \todo [2015-11-05 scygan] Include debug log? in compileGlslToSpirV()
/external/deqp/modules/gles2/functional/
Des2fNegativeStateApiTests.cpp188 char infoLog[128]; in init()
190 deMemset(&infoLog[0], 0, sizeof(infoLog)); in init()
193 glGetShaderInfoLog(-1, 128, &length[0], &infoLog[0]); in init()
198 glGetShaderInfoLog(program, 128, &length[0], &infoLog[0]); in init()
203 glGetShaderInfoLog(shader, -1, &length[0], &infoLog[0]); in init()
295 char infoLog[1] = { 0 }; in init()
298 glGetProgramInfoLog (-1, 1, &length[0], &infoLog[0]); in init()
303 glGetProgramInfoLog (shader, 1, &length[0], &infoLog[0]); in init()
308 glGetProgramInfoLog (program, -1, &length[0], &infoLog[0]); in init()
Des2fShaderApiTests.cpp137 info.infoLog.clear(); in queryShaderInfo()
162 std::vector<char> infoLog(infoLogLen); in queryShaderInfo() local
163 gl.getShaderInfoLog(shader, (int)infoLog.size(), &unusedLen, &infoLog[0]); in queryShaderInfo()
164 info.infoLog = std::string(&infoLog[0], infoLogLen); in queryShaderInfo()
291 … << TestLog::Shader(getLogShaderType(shader.getType()), info.source, info.compileOk, info.infoLog); in logShader()
817 if (programInfo.infoLog != reference.infoLog) in verify()
/external/eigen/unsupported/test/
Dopenglsupport.cpp60 GLchar *infoLog; in printInfoLog() local
64 infoLog = new GLchar[infologLength]; in printInfoLog()
65 glGetProgramInfoLog(objectID, infologLength, &charsWritten, infoLog); in printInfoLog()
67 std::cerr << "Shader info : \n" << infoLog << std::endl; in printInfoLog()
68 delete[] infoLog; in printInfoLog()
/external/mesa3d/src/mesa/main/
Dshaderapi.c646 GLsizei *length, GLchar *infoLog) in get_program_info_log() argument
654 _mesa_copy_string(infoLog, bufSize, length, shProg->InfoLog); in get_program_info_log()
660 GLsizei *length, GLchar *infoLog) in get_shader_info_log() argument
667 _mesa_copy_string(infoLog, bufSize, length, sh->InfoLog); in get_shader_info_log()
1153 GLcharARB * infoLog) in _mesa_GetInfoLogARB() argument
1157 get_program_info_log(ctx, object, maxLength, length, infoLog); in _mesa_GetInfoLogARB()
1160 get_shader_info_log(ctx, object, maxLength, length, infoLog); in _mesa_GetInfoLogARB()
1223 GLsizei *length, GLchar *infoLog) in _mesa_GetProgramInfoLog() argument
1226 get_program_info_log(ctx, program, bufSize, length, infoLog); in _mesa_GetProgramInfoLog()
1232 GLsizei *length, GLchar *infoLog) in _mesa_GetShaderInfoLog() argument
[all …]
Dshaderapi.h171 GLsizei *length, GLchar *infoLog);
178 GLsizei *length, GLchar *infoLog);
/external/deqp/framework/qphelper/
DqpTestLog.h217 …r (qpTestLog* log, qpShaderType type, const char* source, deBool compileOk, const char* infoLog);
221 …(qpTestLog* log, const char* name, const char* description, deBool compileOk, const char* infoLog);
/external/deqp/framework/common/
DtcuTestLog.hpp148 …void writeShader (qpShaderType type, const char* source, bool compileOk, const char* infoLog
151 …writeCompileInfo (const char* name, const char* description, bool compileOk, const char* infoLog);
307 …ogShader (qpShaderType type, const std::string& source, bool compileOk, const std::string& infoLog) in LogShader() argument
311 , m_infoLog (infoLog) in LogShader()
DtcuTestLog.cpp390 …d TestLog::writeShader (qpShaderType type, const char* source, bool compileOk, const char* infoLog) in writeShader() argument
392 if (qpTestLog_writeShader(m_log, type, source, compileOk?DE_TRUE:DE_FALSE, infoLog) == DE_FALSE) in writeShader()
408 …::writeCompileInfo (const char* name, const char* description, bool compileOk, const char* infoLog) in writeCompileInfo() argument
410 …if (qpTestLog_writeCompileInfo(m_log, name, description, compileOk ? DE_TRUE : DE_FALSE, infoLog) … in writeCompileInfo()
/external/deqp/modules/gles3/functional/
Des3fNegativeStateApiTests.cpp240 char infoLog[128] = { 0 }; in init()
243 glGetShaderInfoLog(-1, 128, &length[0], &infoLog[0]); in init()
248 glGetShaderInfoLog(program, 128, &length[0], &infoLog[0]); in init()
253 glGetShaderInfoLog(shader, -1, &length[0], &infoLog[0]); in init()
338 char infoLog[1] = { 0 }; in init()
341 glGetProgramInfoLog (-1, 1, &length[0], &infoLog[0]); in init()
346 glGetProgramInfoLog (shader, 1, &length[0], &infoLog[0]); in init()
351 glGetProgramInfoLog (program, -1, &length[0], &infoLog[0]); in init()
Des3fShaderApiTests.cpp154 info.infoLog.clear(); in queryShaderInfo()
179 std::vector<char> infoLog(infoLogLen); in queryShaderInfo() local
180 gl.getShaderInfoLog(shader, (int)infoLog.size(), &unusedLen, &infoLog[0]); in queryShaderInfo()
181 info.infoLog = std::string(&infoLog[0], infoLogLen); in queryShaderInfo()
345 … << TestLog::Shader(getLogShaderType(shader.getType()), info.source, info.compileOk, info.infoLog); in logShader()
877 if (programInfo.infoLog != reference.infoLog) in verify()
/external/deqp/executor/tools/
DxeCommandLineExecutor.cpp600 xe::InfoLog infoLog; in runExecutor() local
609 …:BatchExecutor executor(cmdLine.targetCfg, commLink.get(), &root, testSet, &batchResult, &infoLog); in runExecutor()
629 writeInfoLog(infoLog, cmdLine.infoFile.c_str()); in runExecutor()
647 writeInfoLog(infoLog, cmdLine.infoFile.c_str()); in runExecutor()
/external/deqp/modules/glshared/
DglsAttributeLocationTests.cpp310 string infoLog; in getShaderInfoLog() local
315 infoLog.resize(length, '\0'); in getShaderInfoLog()
317 gl.getShaderInfoLog(shader, (glw::GLsizei)infoLog.length(), DE_NULL, &(infoLog[0])); in getShaderInfoLog()
320 return infoLog; in getShaderInfoLog()
336 string infoLog; in getProgramInfoLog() local
341 infoLog.resize(length, '\0'); in getProgramInfoLog()
343 gl.getProgramInfoLog(program, (glw::GLsizei)infoLog.length(), DE_NULL, &(infoLog[0])); in getProgramInfoLog()
346 return infoLog; in getProgramInfoLog()
DglsLongStressCase.cpp261 vector<char> infoLog; in getShaderInfoLog() local
263 infoLog.resize(infoLogLen+1); in getShaderInfoLog()
264 glGetShaderInfoLog(shaderGL, (int)infoLog.size(), DE_NULL, &infoLog[0]); in getShaderInfoLog()
265 return &infoLog[0]; in getShaderInfoLog()
271 vector<char> infoLog; in getProgramInfoLog() local
273 infoLog.resize(infoLogLen+1); in getProgramInfoLog()
274 glGetProgramInfoLog(programGL, (int)infoLog.size(), DE_NULL, &infoLog[0]); in getProgramInfoLog()
275 return &infoLog[0]; in getProgramInfoLog()
/external/deqp/external/vulkancts/modules/vulkan/
DvktBuildPrograms.cpp85 << shaderInfo.infoLog << "\n" in writeBuildLogs()
91 << buildInfo.program.infoLog << "\n" in writeBuildLogs()
/external/deqp/executor/
DxeBatchExecutor.hpp70 …ommLink, const TestNode* root, const TestSet& testSet, BatchResult* batchResult, InfoLog* infoLog);

12