Lines Matching refs:logLength
734 StateQueryMemoryWriteGuard<GLint> logLength; in test() local
735 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &logLength); in test()
736 if (!logLength.verifyValidity(m_testCtx)) in test()
741 if (logLength == 0) in test()
755 if (logLength <= DE_LENGTH_OF_ARRAY(buffer)) in test()
757 if (written != logLength-1) in test()
759 …m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected length " << logLength-1 << "; got " … in test()
767 if (logLength < DE_LENGTH_OF_ARRAY(buffer)) in test()
1247 StateQueryMemoryWriteGuard<GLint> logLength; in test() local
1248 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &logLength); in test()
1249 logLength.verifyValidity(m_testCtx); in test()
1259 if (logLength != 0 && written+1 != logLength) // INFO_LOG_LENGTH contains 0-terminator in test()
1261 …ge << "// ERROR: Expected INFO_LOG_LENGTH " << written+1 << "; got " << logLength << TestLog::EndM… in test()
1265 else if (logLength != 0 && buffer[written] != '\0') in test()
1274 if (BUF_SIZE > logLength) in test()
1280 glGetProgramInfoLog(program, logLength, &written, buffer); in test()
1282 if (logLength != 0 && written+1 != logLength) // INFO_LOG_LENGTH contains 0-terminator in test()
1284 …ge << "// ERROR: Expected INFO_LOG_LENGTH " << written+1 << "; got " << logLength << TestLog::EndM… in test()
1288 else if (logLength != 0 && buffer[written] != '\0') in test()