Lines Matching refs:GLint64

54 GLint64 expandGLFloatToInteger (GLfloat f)
56 const GLuint64 referenceValue = (GLint64)(f * 2147483647.0);
60 GLint clampToGLint (GLint64 val)
62 return (GLint)de::clamp<GLint64>(val, std::numeric_limits<GLint>::min(), std::numeric_limits<GLint>::max());
510 const GLint64 expectedGLStateMax = StateQueryUtil::roundGLfloatToNearestIntegerHalfUp<GLint64>(reference);
511 const GLint64 expectedGLStateMin = StateQueryUtil::roundGLfloatToNearestIntegerHalfDown<GLint64>(reference);
513 StateQueryMemoryWriteGuard<GLint64> state;
534 StateQueryMemoryWriteGuard<GLint64> state;
540 const GLint64 expectedGLStateMax = expandGLFloatToInteger(reference) + FLOAT_EXPANSION_E_64;
541 const GLint64 expectedGLStateMin = expandGLFloatToInteger(reference) - FLOAT_EXPANSION_E_64;
545 testCtx.getLog() << TestLog::Message << "// ERROR: expected in range [" << toHex(expectedGLStateMin) << "," << toHex(expectedGLStateMax) << "]; got " << toHex((GLint64)state) << TestLog::EndMessage;
559 StateQueryMemoryWriteGuard<GLint64[2]> floatVector2;
565 const GLint64 referenceAsGLintMin[] =
570 const GLint64 referenceAsGLintMax[] =
597 StateQueryMemoryWriteGuard<GLint64[4]> floatVector4;
603 const GLint64 referenceAsGLintMin[] =
610 const GLint64 referenceAsGLintMax[] =
644 StateQueryMemoryWriteGuard<GLint64[2]> range;
650 const GLint64 testRangeAsGLint[] =
652 StateQueryUtil::roundGLfloatToNearestIntegerHalfUp<GLint64>(min),
653 StateQueryUtil::roundGLfloatToNearestIntegerHalfDown<GLint64>(max)
677 StateQueryMemoryWriteGuard<GLint64> state;
683 const GLint64 referenceAsInt = StateQueryUtil::roundGLfloatToNearestIntegerHalfDown<GLint64>(reference);