Lines Matching defs:binary
867 log << TestLog::Message << "Fail, link status may only change as a result of linking or loading a program binary." << TestLog::EndMessage;
1076 // Program binary utilities
1097 // Base class for program binary cases
1109 void loadProgramBinary (ProgramBinary& binary, GLuint program);
1111 void verifyProgramBinary (ProgramBinary& binary);
1173 void ProgramBinaryCase::loadProgramBinary (ProgramBinary& binary, GLuint program)
1175 glProgramBinary(program, binary.format, &binary.data[0], (GLsizei)binary.data.size());
1176 GLU_CHECK_MSG("Failed to load program binary.");
1179 void ProgramBinaryCase::verifyProgramBinary (ProgramBinary& binary)
1183 if (!isFormatSupported(binary.format))
1185 log << TestLog::Message << "Program binary format " << binary.format << " is not among the supported formats reported by the platform." << TestLog::EndMessage;
1202 log << TestLog::Message << "No program binary formats are supported." << TestLog::EndMessage;
1217 // Simple program binary case
1242 ProgramBinary binary;
1244 getProgramBinary(binary, program.getProgram());
1245 verifyProgramBinary(binary);
1250 // Program binary uniform reset case
1370 ProgramBinary binary;
1372 getProgramBinary(binary, program.getProgram());
1373 verifyProgramBinary(binary);
1377 log << TestLog::Message << "Rendering test image and reloading binary" << TestLog::EndMessage;
1380 loadProgramBinary(binary, program.getProgram());
1402 virtual void verify (glu::Program& program, const ProgramBinary& binary);
1434 void ProgramBinaryPersistenceCase::verify (glu::Program& program, const ProgramBinary& binary)
1441 if (!programBinariesEqual(binary, currentBinary))
1443 log << TestLog::Message << "Fail, program binary may only change as a result of linking or loading." << TestLog::EndMessage;
1444 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Program binary changed");
1462 ProgramBinary binary;
1463 getProgramBinary(binary, program.getProgram());
1467 verify(program, binary);
1734 // program binary
1736 TestCaseGroup* programBinaryGroup = new TestCaseGroup(m_context, "program_binary", "Program binary API tests");
1743 simpleCaseGroup->addChild(new ProgramBinarySimpleCase (m_context, "get_program_binary_vertex_fragment", "Get vertex and fragment shader program binary"));
1744 simpleCaseGroup->addChild(new ProgramBinaryUniformResetCase (m_context, "uniform_reset_on_binary_load", "Verify uniform reset on successful load of program binary"));
1748 TestCaseGroup* binaryPersistenceGroup = new TestCaseGroup(m_context, "binary_persistence", "Program binary persistence tests");