Lines Matching refs:testCtx
77 …virtual void verifyFloat (tcu::TestContext& testCtx, GLenum name, GLfloat reference) …
80 …virtual void verifyFloatExpanded (tcu::TestContext& testCtx, GLenum name, GLfloat reference) …
81 …virtual void verifyFloat2Expanded (tcu::TestContext& testCtx, GLenum name, GLfloat reference0, …
82 …virtual void verifyFloat4Color (tcu::TestContext& testCtx, GLenum name, GLfloat reference0, GL…
85 …virtual void verifyFloatRange (tcu::TestContext& testCtx, GLenum name, GLfloat min, GLfloat ma…
86 …virtual void verifyFloatGreaterOrEqual (tcu::TestContext& testCtx, GLenum name, GLfloat referenc…
114 void verifyFloat (tcu::TestContext& testCtx, GLenum name, GLfloat reference);
115 void verifyFloatExpanded (tcu::TestContext& testCtx, GLenum name, GLfloat reference);
116 …void verifyFloat2Expanded (tcu::TestContext& testCtx, GLenum name, GLfloat reference0, GLfloat r…
117 …void verifyFloat4Color (tcu::TestContext& testCtx, GLenum name, GLfloat reference0, GLfloat ref…
118 void verifyFloatRange (tcu::TestContext& testCtx, GLenum name, GLfloat min, GLfloat max);
119 void verifyFloatGreaterOrEqual (tcu::TestContext& testCtx, GLenum name, GLfloat reference);
127 void GetBooleanVerifier::verifyFloat (tcu::TestContext& testCtx, GLenum name, GLfloat reference) in verifyFloat() argument
134 if (!state.verifyValidity(testCtx)) in verifyFloat()
141 …testCtx.getLog() << TestLog::Message << "// ERROR: expected " << (expectedGLState==GL_TRUE ? "GL_T… in verifyFloat()
142 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyFloat()
143 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid boolean value"); in verifyFloat()
147 void GetBooleanVerifier::verifyFloatExpanded (tcu::TestContext& testCtx, GLenum name, GLfloat refer… in verifyFloatExpanded() argument
150 verifyFloat(testCtx, name, reference); in verifyFloatExpanded()
153 void GetBooleanVerifier::verifyFloat2Expanded (tcu::TestContext& testCtx, GLenum name, GLfloat refe… in verifyFloat2Expanded() argument
163 if (!boolVector2.verifyValidity(testCtx)) in verifyFloat2Expanded()
175 testCtx.getLog() << TestLog::Message << "// ERROR: expected " in verifyFloat2Expanded()
180 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyFloat2Expanded()
181 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid boolean value"); in verifyFloat2Expanded()
185 void GetBooleanVerifier::verifyFloat4Color (tcu::TestContext& testCtx, GLenum name, GLfloat referen… in verifyFloat4Color() argument
192 if (!boolVector4.verifyValidity(testCtx)) in verifyFloat4Color()
208 testCtx.getLog() << TestLog::Message << "// ERROR: expected " in verifyFloat4Color()
214 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyFloat4Color()
215 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid boolean value"); in verifyFloat4Color()
219 void GetBooleanVerifier::verifyFloatRange (tcu::TestContext& testCtx, GLenum name, GLfloat min, GLf… in verifyFloatRange() argument
226 if (!range.verifyValidity(testCtx)) in verifyFloatRange()
233 …testCtx.getLog() << TestLog::Message << "// ERROR: range [" << min << ", " << max << "] is not in … in verifyFloatRange()
234 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyFloatRange()
235 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid boolean range"); in verifyFloatRange()
243 …testCtx.getLog() << TestLog::Message << "// ERROR: range [" << min << ", " << max << "] is not in … in verifyFloatRange()
244 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyFloatRange()
245 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid boolean range"); in verifyFloatRange()
251 void GetBooleanVerifier::verifyFloatGreaterOrEqual (tcu::TestContext& testCtx, GLenum name, GLfloat… in verifyFloatGreaterOrEqual() argument
258 if (!state.verifyValidity(testCtx)) in verifyFloatGreaterOrEqual()
268 testCtx.getLog() << TestLog::Message << "// ERROR: expected GL_TRUE" << TestLog::EndMessage; in verifyFloatGreaterOrEqual()
269 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyFloatGreaterOrEqual()
270 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid boolean value"); in verifyFloatGreaterOrEqual()
275 …testCtx.getLog() << TestLog::Message << "// ERROR: expected GL_TRUE or GL_FALSE" << TestLog::EndMe… in verifyFloatGreaterOrEqual()
276 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyFloatGreaterOrEqual()
277 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid boolean value"); in verifyFloatGreaterOrEqual()
287 void verifyFloat (tcu::TestContext& testCtx, GLenum name, GLfloat reference);
288 void verifyFloatExpanded (tcu::TestContext& testCtx, GLenum name, GLfloat reference);
289 …void verifyFloat2Expanded (tcu::TestContext& testCtx, GLenum name, GLfloat reference0, GLfloat r…
290 …void verifyFloat4Color (tcu::TestContext& testCtx, GLenum name, GLfloat reference0, GLfloat ref…
291 void verifyFloatRange (tcu::TestContext& testCtx, GLenum name, GLfloat min, GLfloat max);
292 void verifyFloatGreaterOrEqual (tcu::TestContext& testCtx, GLenum name, GLfloat reference);
300 void GetIntegerVerifier::verifyFloat (tcu::TestContext& testCtx, GLenum name, GLfloat reference) in verifyFloat() argument
310 if (!state.verifyValidity(testCtx)) in verifyFloat()
315 …testCtx.getLog() << TestLog::Message << "// ERROR: expected rounding to the nearest integer, valid… in verifyFloat()
316 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyFloat()
317 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid integer value"); in verifyFloat()
321 void GetIntegerVerifier::verifyFloatExpanded (tcu::TestContext& testCtx, GLenum name, GLfloat refer… in verifyFloatExpanded() argument
331 if (!state.verifyValidity(testCtx)) in verifyFloatExpanded()
339 …testCtx.getLog() << TestLog::Message << "// ERROR: expected in range [" << toHex(expectedGLStateMi… in verifyFloatExpanded()
340 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyFloatExpanded()
341 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid integer value"); in verifyFloatExpanded()
345 void GetIntegerVerifier::verifyFloat2Expanded (tcu::TestContext& testCtx, GLenum name, GLfloat refe… in verifyFloat2Expanded() argument
356 if (!floatVector2.verifyValidity(testCtx)) in verifyFloat2Expanded()
373 testCtx.getLog() << TestLog::Message in verifyFloat2Expanded()
381 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyFloat2Expanded()
382 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid integer value"); in verifyFloat2Expanded()
386 void GetIntegerVerifier::verifyFloat4Color (tcu::TestContext& testCtx, GLenum name, GLfloat referen… in verifyFloat4Color() argument
394 if (!floatVector4.verifyValidity(testCtx)) in verifyFloat4Color()
417 testCtx.getLog() << TestLog::Message in verifyFloat4Color()
429 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyFloat4Color()
430 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid integer value"); in verifyFloat4Color()
434 void GetIntegerVerifier::verifyFloatRange (tcu::TestContext& testCtx, GLenum name, GLfloat min, GLf… in verifyFloatRange() argument
441 if (!range.verifyValidity(testCtx)) in verifyFloatRange()
454 testCtx.getLog() << TestLog::Message in verifyFloatRange()
462 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyFloatRange()
463 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid integer range"); in verifyFloatRange()
467 void GetIntegerVerifier::verifyFloatGreaterOrEqual (tcu::TestContext& testCtx, GLenum name, GLfloat… in verifyFloatGreaterOrEqual() argument
474 if (!state.verifyValidity(testCtx)) in verifyFloatGreaterOrEqual()
481 …testCtx.getLog() << TestLog::Message << "// ERROR: expected expected greater or equal to " << refe… in verifyFloatGreaterOrEqual()
482 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyFloatGreaterOrEqual()
483 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid integer value"); in verifyFloatGreaterOrEqual()
493 void verifyFloat (tcu::TestContext& testCtx, GLenum name, GLfloat reference);
494 void verifyFloatExpanded (tcu::TestContext& testCtx, GLenum name, GLfloat reference);
495 …void verifyFloat2Expanded (tcu::TestContext& testCtx, GLenum name, GLfloat reference0, GLfloat r…
496 …void verifyFloat4Color (tcu::TestContext& testCtx, GLenum name, GLfloat reference0, GLfloat ref…
497 void verifyFloatRange (tcu::TestContext& testCtx, GLenum name, GLfloat min, GLfloat max);
498 void verifyFloatGreaterOrEqual (tcu::TestContext& testCtx, GLenum name, GLfloat reference);
506 void GetInteger64Verifier::verifyFloat (tcu::TestContext& testCtx, GLenum name, GLfloat reference) in verifyFloat() argument
516 if (!state.verifyValidity(testCtx)) in verifyFloat()
521 …testCtx.getLog() << TestLog::Message << "// ERROR: expected rounding to the nearest integer, valid… in verifyFloat()
522 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyFloat()
523 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid integer value"); in verifyFloat()
527 void GetInteger64Verifier::verifyFloatExpanded (tcu::TestContext& testCtx, GLenum name, GLfloat ref… in verifyFloatExpanded() argument
537 if (!state.verifyValidity(testCtx)) in verifyFloatExpanded()
545 …testCtx.getLog() << TestLog::Message << "// ERROR: expected in range [" << toHex(expectedGLStateMi… in verifyFloatExpanded()
546 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyFloatExpanded()
547 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid integer value"); in verifyFloatExpanded()
551 void GetInteger64Verifier::verifyFloat2Expanded (tcu::TestContext& testCtx, GLenum name, GLfloat re… in verifyFloat2Expanded() argument
562 if (!floatVector2.verifyValidity(testCtx)) in verifyFloat2Expanded()
579 testCtx.getLog() << TestLog::Message in verifyFloat2Expanded()
587 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyFloat2Expanded()
588 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid integer value"); in verifyFloat2Expanded()
592 void GetInteger64Verifier::verifyFloat4Color (tcu::TestContext& testCtx, GLenum name, GLfloat refer… in verifyFloat4Color() argument
600 if (!floatVector4.verifyValidity(testCtx)) in verifyFloat4Color()
623 testCtx.getLog() << TestLog::Message in verifyFloat4Color()
635 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyFloat4Color()
636 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid integer value"); in verifyFloat4Color()
640 void GetInteger64Verifier::verifyFloatRange (tcu::TestContext& testCtx, GLenum name, GLfloat min, G… in verifyFloatRange() argument
647 if (!range.verifyValidity(testCtx)) in verifyFloatRange()
660 testCtx.getLog() << TestLog::Message in verifyFloatRange()
668 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyFloatRange()
669 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid integer range"); in verifyFloatRange()
673 void GetInteger64Verifier::verifyFloatGreaterOrEqual (tcu::TestContext& testCtx, GLenum name, GLflo… in verifyFloatGreaterOrEqual() argument
680 if (!state.verifyValidity(testCtx)) in verifyFloatGreaterOrEqual()
687 …testCtx.getLog() << TestLog::Message << "// ERROR: expected expected greater or equal to " << refe… in verifyFloatGreaterOrEqual()
688 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyFloatGreaterOrEqual()
689 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid integer value"); in verifyFloatGreaterOrEqual()
699 void verifyFloat (tcu::TestContext& testCtx, GLenum name, GLfloat reference);
700 void verifyFloatExpanded (tcu::TestContext& testCtx, GLenum name, GLfloat reference);
701 …void verifyFloat2Expanded (tcu::TestContext& testCtx, GLenum name, GLfloat reference0, GLfloat r…
702 …void verifyFloat4Color (tcu::TestContext& testCtx, GLenum name, GLfloat reference0, GLfloat ref…
703 void verifyFloatRange (tcu::TestContext& testCtx, GLenum name, GLfloat min, GLfloat max);
704 void verifyFloatGreaterOrEqual (tcu::TestContext& testCtx, GLenum name, GLfloat reference);
712 void GetFloatVerifier::verifyFloat (tcu::TestContext& testCtx, GLenum name, GLfloat reference) in verifyFloat() argument
719 if (!state.verifyValidity(testCtx)) in verifyFloat()
724 …testCtx.getLog() << TestLog::Message << "// ERROR: expected " << reference << "; got " << state <<… in verifyFloat()
725 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyFloat()
726 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid float value"); in verifyFloat()
730 void GetFloatVerifier::verifyFloatExpanded (tcu::TestContext& testCtx, GLenum name, GLfloat referen… in verifyFloatExpanded() argument
733 verifyFloat(testCtx, name, reference); in verifyFloatExpanded()
736 void GetFloatVerifier::verifyFloat2Expanded (tcu::TestContext& testCtx, GLenum name, GLfloat refere… in verifyFloat2Expanded() argument
746 if (!floatVector2.verifyValidity(testCtx)) in verifyFloat2Expanded()
752 …testCtx.getLog() << TestLog::Message << "// ERROR: expected " << reference0 << ", " << reference1 … in verifyFloat2Expanded()
754 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyFloat2Expanded()
755 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid float value"); in verifyFloat2Expanded()
759 void GetFloatVerifier::verifyFloat4Color (tcu::TestContext& testCtx, GLenum name, GLfloat reference… in verifyFloat4Color() argument
766 if (!floatVector4.verifyValidity(testCtx)) in verifyFloat4Color()
774 testCtx.getLog() << TestLog::Message in verifyFloat4Color()
779 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyFloat4Color()
780 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid float value"); in verifyFloat4Color()
784 void GetFloatVerifier::verifyFloatRange (tcu::TestContext& testCtx, GLenum name, GLfloat min, GLflo… in verifyFloatRange() argument
791 if (!floatVector2.verifyValidity(testCtx)) in verifyFloatRange()
797 …testCtx.getLog() << TestLog::Message << "// ERROR: expected in range [" << min << ", " << max << "… in verifyFloatRange()
799 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyFloatRange()
800 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid float range"); in verifyFloatRange()
804 void GetFloatVerifier::verifyFloatGreaterOrEqual (tcu::TestContext& testCtx, GLenum name, GLfloat r… in verifyFloatGreaterOrEqual() argument
811 if (!state.verifyValidity(testCtx)) in verifyFloatGreaterOrEqual()
816 …testCtx.getLog() << TestLog::Message << "// ERROR: expected greater or equal to " << reference << … in verifyFloatGreaterOrEqual()
817 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyFloatGreaterOrEqual()
818 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid float value"); in verifyFloatGreaterOrEqual()